@charset "UTF-8";
:root { color-scheme: light; --bg: #fafaf9; --surface: #fff; --sidebar: #f7f7f5; --ink: #252525; --muted: #858580; --line: #e5e5e1; --soft: #f0f0ed; --art-edge: #949490; --art-dim: #d2d2cc; --art-hi: #44443f; }
:root[data-theme="dark"] { color-scheme: dark; --bg: #101112; --surface: #141516; --sidebar: #0e0f10; --ink: #e5e5df; --muted: #898b87; --line: #2b2d2d; --soft: #202222; --art-edge: #747872; --art-dim: #383d37; --art-hi: #e2e5dc; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
main:focus { outline: none; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.skip-link { position: fixed; top: -70px; left: 20px; padding: 12px 18px; background: var(--ink); color: var(--surface); z-index: 100; }
.skip-link:focus { top: 10px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 236px; background: var(--sidebar); border-right: 1px solid var(--line); padding: 38px 22px 0; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; padding: 0 12px; font-size: 31px; font-weight: 600; letter-spacing: -1.8px; }
.brand-dot { color: var(--muted); }
.brand-mark { display: grid; place-items: center; width: 30px; height: 32px; transform: rotate(-6deg); }
.brand-mark .icon { width: 29px; height: 29px; stroke-width: 1; }
.sidebar-caption { margin: 49px 13px 18px; font-size: 9px; letter-spacing: 1.65px; color: var(--muted); }
nav { display: grid; gap: 8px; }
.nav-link { display: flex; align-items: center; gap: 13px; height: 47px; padding: 0 13px; color: var(--muted); border: 1px solid transparent; border-radius: 5px; transition: background .2s, color .2s; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link:hover { color: var(--ink); background: var(--soft); }
.nav-link.active { border-color: var(--line); color: var(--ink); background: var(--surface); }
.nav-number { margin-left: auto; font-size: 10px; font-family: Consolas, monospace; color: var(--muted); }
.sidebar-note { margin-top: auto; padding: 45px 13px 32px; }
.small-cross { display: inline-block; color: var(--muted); font-size: 23px; font-weight: 200; margin-bottom: 5px; }
.sidebar-note p { font-size: 12px; line-height: 2; }
.sidebar-note p span { color: var(--muted); }
.sidebar-footer { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); min-height: 88px; padding: 15px 8px; font-size: 12px; }
.avatar { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.sidebar-footer small { display: block; font-size: 10px; margin-top: 5px; color: var(--muted); }
.status-dot { width: 5px; height: 5px; background: var(--muted); border-radius: 50%; margin-left: auto; }
.workspace { margin-left: 236px; }
.topbar { height: 76px; border-bottom: 1px solid var(--line); padding: 0 48px; display: flex; align-items: center; justify-content: space-between; }
.breadcrumb, .topbar-actions { display: flex; align-items: center; gap: 18px; font-size: 12px; }
.sync-control { display:flex; align-items:center; gap:10px; min-width:0; }
.sync-control[hidden], .sync-next[hidden] { display:none; }
.sync-indicator { display:grid; gap:3px; line-height:1.4; white-space:nowrap; }
.sync-indicator:hover { color:var(--muted); }
.sync-next { color:var(--muted); font-size:10px; font-variant-numeric:tabular-nums; }
.sync-now { display:inline-flex; align-items:center; justify-content:center; gap:5px; height:30px; padding:0 9px; border:1px solid var(--line); border-radius:5px; background:transparent; font-size:11px; white-space:nowrap; }
.sync-now:hover { background:var(--soft); }
.sync-now:disabled { opacity:.5; cursor:wait; }
.sync-now .icon { width:14px; height:14px; }
@media(max-width:600px) {
  .topbar:has(.sync-control:not([hidden])) .topbar-actions { gap:10px; }
  .topbar:has(.sync-control:not([hidden])) .breadcrumb { gap:8px; }
  .sync-control { gap:8px; }
  .sync-now { width:28px; padding:0; }
  .sync-now > span { display:none; }
}
.workspace-name, .breadcrumb-slash, .topbar-note { color: var(--muted); }
.breadcrumb-slash { font-weight: 200; }
.topbar-note { font-size: 11px; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.icon-button:hover { background: var(--soft); }
.icon-button .icon { width: 16px; height: 16px; }
.mobile-menu { display: none; }
main { max-width: 1300px; margin: 0 auto; padding: 46px 48px 22px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.eyebrow { font-size: 9px; letter-spacing: 1.8px; color: var(--muted); margin-bottom: 13px; }
h1 { font-size: 24px; letter-spacing: -.7px; font-weight: 500; margin: 0; }
.date-label { font-size: 11px; color: var(--muted); white-space: nowrap; padding-bottom: 3px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 338px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.hero-copy { padding: 37px 0 32px 36px; position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted); }
.tiny-line { width: 15px; height: 1px; background: var(--art-hi); }
.hero h2 { margin: 22px 0 16px; font-size: clamp(24px, 2.5vw, 33px); line-height: 1.6; font-weight: 400; letter-spacing: -.8px; }
.hero p { color: var(--muted); font-size: 12px; line-height: 2; margin: 0 0 24px; }
.primary-link { display: inline-flex; align-items: center; gap: 24px; padding: 11px 15px; background: var(--ink); color: var(--surface); border: 1px solid var(--ink); border-radius: 4px; font-size: 12px; transition: transform .2s; }
.primary-link:hover { transform: translateY(-2px); }
.primary-link .icon { width: 16px; height: 16px; }
.hero-footnote { display: block; font-size: 10px; color: var(--muted); margin-top: 18px; }
.hero-drawing { align-self: center; padding: 15px 24px 17px 0; min-width: 0; }
.desk-art { display: block; width: 100%; max-height: 280px; overflow: visible; }
.desk-art path, .desk-art ellipse, .empty-art path, .empty-art ellipse { fill: var(--surface); stroke: var(--art-edge); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.desk-art .art-dim, .empty-art .art-dim { stroke: var(--art-dim); fill: none; }
.desk-art .art-accent, .empty-art .art-accent { stroke: var(--art-hi); fill: none; }
.desk-art .art-guide { stroke: var(--art-dim); stroke-dasharray: 3 5; fill: none; }
.art-ground path { fill: none; stroke: var(--art-dim); }
.art-notes { transition: transform .65s cubic-bezier(.32,.72,0,1); }
.hero-drawing:hover .art-notes { transform: translateY(-7px); }
.drawing-caption { display: block; text-align: center; font-size: 10px; color: var(--muted); margin-top: 5px; }
.drawing-caption span { font-size: 9px; letter-spacing: 1.3px; margin-right: 13px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 16px; }
.section-heading h2 { font-size: 14px; font-weight: 500; margin: 0; }
.section-heading > span { color: var(--muted); font-size: 11px; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.module-card { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.card-heading { display: flex; justify-content: space-between; align-items: center; padding: 19px 22px; border-bottom: 1px solid var(--line); }
.card-title { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.card-title .icon { width: 17px; height: 17px; color: var(--muted); }
.card-index { color: var(--muted); font-size: 9px; letter-spacing: .9px; font-family: Consolas, monospace; }
.empty-state { text-align: center; padding: 20px 12px 22px; }
.empty-art { width: 87px; height: 66px; display: block; margin: 0 auto 11px; }
.empty-state h3 { font-size: 12px; font-weight: 400; margin: 0 0 9px; }
.empty-state p { font-size: 11px; color: var(--muted); line-height: 1.9; margin: 0; }
.card-link { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; font-size: 11px; }
.card-link:hover { background: var(--soft); }
.card-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.card-link:hover .icon { transform: translateX(3px); }
.page-footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 28px; font-size: 10px; color: var(--muted); }
.page-footer span:last-child { font-size: 9px; letter-spacing: 1.1px; }
.development-badge { border: 1px solid var(--line); padding: 5px 10px; border-radius: 4px; color: var(--muted); font-size: 11px; }
.placeholder { border: 1px solid var(--line); border-radius: 7px; background: var(--surface); min-height: 420px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 40px; text-align: center; }
.placeholder .empty-art { width: 140px; height: 108px; }
.placeholder h2 { font-size: 21px; font-weight: 400; margin: 20px 0 12px; }
.placeholder p { max-width: 360px; color: var(--muted); font-size: 12px; line-height: 2; }
.secondary-link { display: flex; gap: 22px; border: 1px solid var(--line); padding: 10px 17px; font-size: 12px; border-radius: 4px; margin-top: 15px; }
.secondary-link:hover { background: var(--soft); }
.nav-backdrop { display: none; }
@media (min-width: 1450px) { main { padding-top: 58px; } .hero { min-height: 380px; } .hero-copy { padding: 42px; } .desk-art { max-height: 310px; } }
@media (max-width: 1100px) { .sidebar { width: 205px; padding-inline: 16px; } .workspace { margin-left: 205px; } main { padding: 34px 28px 22px; } .topbar { padding: 0 28px; } .hero-copy { padding-left: 26px; } .hero h2 { font-size: 25px; } .hero-drawing { padding-right: 10px; } .date-label { font-size: 10px; } h1 { font-size: 22px; } }
@media (max-width: 760px) { .sidebar { transform: translateX(-100%); transition: transform .25s; width: 236px; } .workspace { margin-left: 0; } .mobile-menu { display: grid; } .topbar { height: 64px; padding: 0 20px; } .breadcrumb { gap: 12px; } .topbar-note { display: none; } main { padding: 30px 20px 24px; } .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; } h1 { font-size: 23px; } .hero { grid-template-columns: 1fr; } .hero-copy { padding: 28px 28px 0; } .hero h2 { font-size: 29px; } .hero-drawing { padding: 0 25px 23px; } .desk-art { max-height: 235px; } .hero-footnote { margin-top: 15px; } .module-grid { gap: 16px; } .card-heading { padding: 16px; } .card-index { display: none; } .card-link { padding: 14px 16px; } .page-footer { flex-direction: column; gap: 10px; } .menu-open .sidebar { transform: translateX(0); } .menu-open { overflow: hidden; } .nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; border: 0; background: #0005; z-index: 15; } }
@media (max-width: 440px) { .module-grid { grid-template-columns: 1fr; } .hero h2 { font-size: 27px; } .empty-state { padding-block: 16px 20px; } .placeholder { padding: 25px; } }
@media (max-width: 760px) { .sidebar { visibility: hidden; } .menu-open .sidebar { visibility: visible; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } .hero-drawing:hover .art-notes { transform: none; } }
