@font-face {
  font-family: "Jianyiji Kai";
  src: url("../../assets/fonts/lxgw-wenkai-lite-brand.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #66716b;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --line: #ded9cd;
  --jade: #406f66;
  --persimmon: #a44e43;
  --gold: #b28a48;
  --mist: #e9f0ec;
  --shadow: 0 18px 60px rgba(40, 46, 42, 0.14);
  --radius: 8px;
  --brand-kai-font: "Jianyiji Kai", "Kaiti SC", "STKaiti", "KaiTi", "SimKai", "Songti SC", "Noto Serif CJK SC", serif;
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(251, 250, 245, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(64, 111, 102, 0.16), transparent 30rem),
    var(--paper);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

#app {
  min-height: 100vh;
}

.landing-shell,
.app-shell {
  width: min(100%, 1160px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 14px max(22px, env(safe-area-inset-bottom));
}

.topbar,
.workbench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo-sign {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-logo-sign + span {
  font-family: var(--brand-kai-font);
  font-size: 17px;
  font-weight: 600;
}

.brand-seal {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--persimmon);
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

h1,
h2,
h3,
p {
  margin: 0;
}

@media (min-width: 760px) {
  .landing-shell,
  .app-shell {
    padding: 24px;
  }
}
