@font-face {
  font-family: 'Steppe';
  src: url('fonts/steppe-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* the font's own metrics put letters above the centre of the line box */
  ascent-override: 76%;
  descent-override: 14%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Steppe';
  src: url('fonts/steppe-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  /* the font's own metrics put letters above the centre of the line box */
  ascent-override: 76%;
  descent-override: 14%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Steppe';
  src: url('fonts/steppe-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  /* the font's own metrics put letters above the centre of the line box */
  ascent-override: 76%;
  descent-override: 14%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Steppe';
  src: url('fonts/steppe-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  /* the font's own metrics put letters above the centre of the line box */
  ascent-override: 76%;
  descent-override: 14%;
  line-gap-override: 0%;
}

/* Layout: pill menu on top, big page title, white cards, red as the only accent. */
:root {
  --bg: #f7f6f3; --surface: #fbfaf8; --card: #ffffff; --line: #eeebe7; --line-2: #e0dcd7;
  --ink: #1e1b1a; --ink-2: #5a5552; --muted: #a29c97; --faint: #cfc9c4;
  --red: #e8322b; --red-ink: #c52520; --red-soft: #fbe6e3;
  --ok: #2f8156; --ok-soft: #e2f1e8; --yellow: #f7cd55; --yellow-ink: #6e4f00; --yellow-soft: #fdf2cf;
  --grad: linear-gradient(140deg, #d92a23 0%, #e8322b 55%, #f25549 100%);
  --shadow: 0 1px 2px rgba(36, 32, 30, 0.05), 0 10px 30px rgba(36, 32, 30, 0.07);
  --font: 'Steppe', 'Helvetica Neue', Arial, sans-serif;
  --z: 1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121010; --surface: #181514; --card: #1e1a19; --line: #2c2725; --line-2: #3a3331;
    --ink: #f3ede9; --ink-2: #cfc5bf; --muted: #968b85; --faint: #5c534f;
    --red: #ff4d45; --red-ink: #ff6d66; --red-soft: #3a1b19;
    --ok: #5cc48a; --ok-soft: #16301f; --yellow: #e8b93c; --yellow-ink: #2b1f00; --yellow-soft: #3a3016;
    --grad: linear-gradient(140deg, #b81f19 0%, #d92a23 55%, #ee4a3f 100%);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
html[data-density="compact"] { --z: 0.9; }
html[data-density="large"] { --z: 1.16; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.5; font-synthesis: none; }
.zoom { zoom: var(--z); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: normal; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.grow { flex: 1; }
.plus { color: var(--ok); }

/* shell */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 14px 28px; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand svg { height: 22px; width: auto; color: var(--red); display: block; }
.pnav { display: flex; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 auto; min-width: 0; }
.pnav a { padding: 7px 13px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 13.5px; white-space: nowrap; }
.pnav a:hover { background: var(--bg); color: var(--ink); }
.pnav a.on { background: var(--ink); color: var(--card); }
.ava { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 13px; flex-shrink: 0; text-decoration: none; }
.ava.s { width: 26px; height: 26px; font-size: 11px; }
.page-h { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 22px 28px 4px; max-width: 1480px; }
.page-h h1 { font-size: 42px; letter-spacing: -0.035em; line-height: 1.02; }
.page-h .sub { color: var(--muted); font-size: 13px; margin-top: 8px; }
.pa { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.content { padding: 16px 28px 80px; display: flex; flex-direction: column; gap: 16px; max-width: 1480px; }

/* pieces */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; min-width: 0; }
.card-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; }
.card-h h2 { font-size: 13px; color: var(--ink-2); }
.card-b { padding: 0 16px 16px; }
.btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: 13px; white-space: nowrap; text-decoration: none; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--card); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.sm { padding: 4px 10px; font-size: 12px; }
.btn.block { width: 100%; justify-content: center; padding: 11px 14px; font-size: 14px; }
.pill { display: inline-flex; align-items: center; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.st-new { color: #fff; background: var(--red); }
.st-done { color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.st-wait { color: var(--yellow-ink); background: var(--yellow-soft); }
.st-ok { color: var(--ok); background: var(--ok-soft); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > label { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); width: 100%; }
.fields { display: grid; gap: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { color: var(--red-ink); font-size: 12.5px; }
.msgs { display: flex; flex-direction: column; gap: 8px; }
.msg { padding: 10px 14px; border-radius: 14px; font-size: 13.5px; background: var(--card); border: 1px solid var(--line); }
.msg.error { border-color: var(--red); color: var(--red-ink); }
.msg.success { border-color: var(--ok); }
.msg.warning { border-color: var(--yellow); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.stat { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.stat .sh { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.stat .sv { font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.stat .ss { font-size: 12px; color: var(--muted); }
.stat.grad { background: var(--grad); border-color: transparent; color: #fff; }
.stat.grad .sh, .stat.grad .ss { color: rgba(255, 255, 255, 0.82); }
.feed-i { display: flex; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); align-items: baseline; font-size: 13.5px; }
.feed-i .t { color: var(--muted); font-size: 12px; width: 108px; flex-shrink: 0; }
.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th { text-align: left; font-weight: normal; color: var(--muted); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; padding: 9px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
th.c, td.c { text-align: center; }
.matrix input, .extra input, .check input { width: 17px; height: 17px; accent-color: var(--red); cursor: pointer; }
.matrix input:disabled { cursor: not-allowed; }
.extra label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-top: 1px solid var(--line); cursor: pointer; }
.extra b { font-weight: normal; display: block; }
.extra small { color: var(--muted); font-size: 12.5px; }
.ucards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.uc { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.uc.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.uc b { font-weight: normal; font-size: 14.5px; display: block; }
.uc small { color: var(--muted); font-size: 12px; }
.sec-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.sec-row .t { flex: 1; min-width: 200px; }
.sec-row .t b { font-weight: normal; display: block; }
.sec-row .t small { color: var(--muted); font-size: 12.5px; }
.sec-row form { display: inline; }
.link-box { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 12.5px; min-width: 0; }
.link-box code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.role-edit { display: flex; gap: 6px; align-items: center; }
.role-edit input { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; width: 200px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: none; background: transparent; padding: 5px 13px; border-radius: 999px; cursor: pointer; font-size: 12.5px; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; background: var(--ink); color: var(--card); padding: 11px 18px; border-radius: 12px; font-size: 13.5px; z-index: 60; box-shadow: var(--shadow); }

/* sign-in */
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.login-art { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; color: #fff; background: radial-gradient(70% 60% at 22% 18%, #f25549, transparent 70%), linear-gradient(160deg, #e8322b 0%, #c81f1f 100%); }
.login-art .big svg { width: min(170px, 38vw); height: auto; display: block; color: #fff; }
.login-art .word { font-size: clamp(26px, 2.6vw, 34px); line-height: 1; margin-top: 18px; }
.login-art .foot { color: rgba(255, 255, 255, 0.82); font-size: 13px; max-width: 360px; }
.login-form-wrap { display: grid; place-items: center; padding: 40px 24px; }
.login-form { width: min(380px, 100%); display: flex; flex-direction: column; gap: 18px; }
.login-form h1 { font-size: 30px; letter-spacing: -0.02em; }
.login-form .lead { color: var(--muted); font-size: 13.5px; margin-top: -8px; }
.code-in { font-size: 26px; letter-spacing: 0.4em; text-align: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); width: 100%; font-variant-numeric: tabular-nums; }
.hint-box { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.qr { width: 170px; height: 170px; background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 8px; flex-shrink: 0; }
.qr svg { width: 100%; height: 100%; display: block; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font-family: 'SFMono-Regular', Consolas, monospace; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.steps-mini { display: flex; gap: 6px; }
.steps-mini i { height: 4px; flex: 1; border-radius: 999px; background: var(--line); }
.steps-mini i.on { background: var(--red); }

@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .pnav { order: 3; width: 100%; margin: 0; }
  .page-h { padding: 14px 16px 0; }
  .page-h h1 { font-size: 30px; }
  .content { padding: 12px 16px 60px; }
  .pa { margin-left: 0; width: 100%; }
  .grid2, .row2 { grid-template-columns: minmax(0, 1fr); }
  .login { grid-template-columns: minmax(0, 1fr); }
  .login-art { padding: 28px 16px; min-height: 180px; }
}

/* support */
.seg a { padding: 5px 13px; border-radius: 999px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.seg a.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; cursor: pointer; color: var(--ink-2); text-decoration: none; }
.chip.on { background: var(--ink); color: var(--card); border-color: var(--ink); }
.chip .n { color: var(--muted); margin-left: 4px; }
.chip.on .n { color: inherit; opacity: 0.65; }
.search-in { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); width: 240px; max-width: 100%; }
.stat.link { color: inherit; }
.stat.link:hover { border-color: var(--line-2); }
.stat .sv.big { font-size: 40px; letter-spacing: -0.04em; line-height: 1; }
.stat.hot .sv { color: var(--red); }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--surface); }
td a { text-decoration: none; }
.empty { padding: 30px 16px; text-align: center; color: var(--muted); }
.st-verify { color: var(--yellow-ink); background: var(--yellow); }
.st-approved { color: var(--yellow-ink); background: var(--yellow-soft); }
.st-rejected { color: var(--muted); background: var(--bg); }
.tagchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tagchips span { background: var(--bg); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; }
.tagchips span.oth { background: var(--red-soft); color: var(--red-ink); }
.rboard { display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.col { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col-h { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 2px 4px 4px; }
.rcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.rcard:hover { border-color: var(--line-2); }
.rcard b { font-weight: normal; font-size: 14px; }
.rcard .rm { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--muted); }
.req-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.col-stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fsec { padding: 6px 0; border-top: 1px solid var(--line); }
.fsec:first-child { border-top: none; }
.fsec h3 { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 12px 18px 4px; }
.frow { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; padding: 8px 18px; font-size: 14px; }
.frow > span:first-child { color: var(--muted); font-size: 13px; }
.frow input[type=text], .frow input[type=number], .frow input[type=date], .frow input[type=email], .frow textarea { width: 100%; padding: 8px 11px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); }
.story { white-space: pre-line; line-height: 1.6; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; cursor: pointer; background: var(--card); }
.opt input { accent-color: var(--red); margin: 0; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--bg); }
.checks { display: flex; flex-direction: column; gap: 6px; }
.check-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; }
.check-row form { margin-left: auto; }
.hist { display: flex; flex-direction: column; padding: 4px 16px 14px; }
.hi { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; position: relative; padding-bottom: 14px; }
.hi::before { content: ''; position: absolute; left: 6px; top: 14px; bottom: 0; width: 1px; background: var(--line-2); }
.hi:last-child::before { display: none; }
.hi i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line-2); margin-top: 3px; background: var(--faint); }
.hi.red i { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.hi small { display: block; color: var(--muted); font-size: 12px; }
.note { background: var(--surface); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; white-space: pre-line; }
.note .who { font-size: 12px; color: var(--muted); margin-bottom: 2px; white-space: normal; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form input, .inline-form select, .inline-form textarea { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); }
@media (max-width: 1000px) { .req-grid { grid-template-columns: minmax(0, 1fr); } .frow { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* documents */
.subtabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.subtabs a { padding: 6px 0 12px; font-size: 17px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none; }
.subtabs a:hover { color: var(--ink); }
.subtabs a.on { color: var(--ink); border-bottom-color: var(--red); }
.haze { border-radius: 22px; padding: 22px; background: radial-gradient(45% 60% at 15% 20%, #f9d0cb, transparent 70%), radial-gradient(40% 55% at 85% 30%, #fdeceb, transparent 70%), radial-gradient(50% 60% at 55% 95%, #f6b8b1, transparent 70%), var(--bg); }
@media (prefers-color-scheme: dark) { .haze { background: radial-gradient(45% 60% at 15% 20%, #4a1d1b, transparent 70%), radial-gradient(50% 60% at 55% 95%, #5c2421, transparent 70%), var(--bg); } }
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.folder-card { position: relative; height: 250px; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, 0.42); border: 1px solid rgba(255, 255, 255, 0.75); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 18px; display: flex; flex-direction: column; }
@media (prefers-color-scheme: dark) { .folder-card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); } }
.folder-card .fh { display: flex; align-items: flex-start; gap: 8px; position: relative; z-index: 3; }
.folder-card .fh b { font-weight: normal; font-size: 18px; letter-spacing: -0.01em; line-height: 1.2; display: block; }
.folder-card .fh small { color: var(--muted); font-size: 11.5px; }
.folder-card .cnt { margin-left: auto; min-width: 30px; height: 30px; border-radius: 9px; background: var(--card); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); flex-shrink: 0; }
.sheets { position: absolute; left: 13%; right: 13%; top: 84px; height: 170px; z-index: 1; }
.sheet-card { position: absolute; inset: 0; background: #fff; color: #3a3431; border-radius: 12px; padding: 14px; font-size: 11.5px; line-height: 1.45; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); transition: transform 0.25s ease; overflow: hidden; display: flex; flex-direction: column; gap: 4px; }
.sheet-card:nth-child(1) { transform: rotate(5deg) translate(14px, 6px); }
.sheet-card:nth-child(2) { transform: rotate(-3deg) translate(-4px, 0); }
.sheet-card .sd { opacity: 0.7; }
.folder-card:hover .sheet-card:nth-child(2) { transform: rotate(-3deg) translate(-4px, -14px); }
.folder-card:hover .sheet-card:nth-child(1) { transform: rotate(6deg) translate(18px, -6px); }
.pocket { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 2; background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, 0.75); }
@media (prefers-color-scheme: dark) { .pocket { background: rgba(30, 26, 25, 0.55); border-top-color: rgba(255, 255, 255, 0.12); } }
.folder-card.add { align-items: center; justify-content: center; border-style: dashed; }
.add-in { display: flex; flex-direction: column; gap: 8px; align-items: stretch; width: 100%; padding: 0 10px; }
.add-in b { font-weight: normal; text-align: center; color: var(--muted); }
.add-in input { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); }
.file-row { display: flex; align-items: center; gap: 12px; }
.ftype { display: inline-grid; place-items: center; width: 34px; height: 42px; border-radius: 7px; font-size: 9.5px; letter-spacing: 0.05em; color: #fff; background: var(--red); flex-shrink: 0; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.tag { font-size: 11px; color: var(--ink-2); background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.docstate { display: inline-flex; gap: 4px; }
.ds { display: inline-flex; align-items: center; font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.ds.yes { border-color: transparent; background: var(--ok-soft); color: var(--ok); }
.ds.print.yes { background: #e3ecf7; color: #33649a; }
.nb { font-weight: normal; color: var(--ink-2); }
.drop { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; }
.blanks { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 20px; align-items: start; }
.tpls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tpl { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); text-decoration: none; color: var(--ink); }
.tpl.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tpl b { font-weight: normal; font-size: 13.5px; }
.tpl small { color: var(--muted); font-size: 11.5px; }
.paper-wrap { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 16px; position: sticky; top: 80px; overflow: hidden; }
.paper-scale { --k: 0.7; width: 100%; }
.paper-scale .paper { zoom: var(--k); margin: 0 auto; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 0 14px 40px rgba(0, 0, 0, 0.08); }
.hy-in { font-family: 'Segoe UI', 'Noto Sans Armenian', Arial, sans-serif; }
@media (max-width: 1100px) { .blanks { grid-template-columns: minmax(0, 1fr); } .paper-wrap { position: static; } }
