/* Skins share the same routes and controls. Five light skins (晨雾 mist · 石墨
   graphite · 青瓷 celadon · 墨蓝 ink · 暖纸 paper) share one block of structural
   refinements and differ in palette, sidebar, cards and tabs; the sketch skin
   keeps its paper-and-sticker language. Register new skins in theme.js. */

/* ======== 共用外观精修（除卡通外的所有皮肤；尺寸与布局都在 style.css） ======== */
[data-theme]:where(:not([data-theme=sketch])){--display:inherit;--display-weight:600;--accent:var(--primary)}
[data-theme]:where(:not([data-theme=sketch])) ::selection{background:color-mix(in srgb,var(--primary) 18%,#fff)}
[data-theme]:where(:not([data-theme=sketch])) ::-webkit-scrollbar{width:8px;height:8px}
[data-theme]:where(:not([data-theme=sketch])) ::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:8px;background:color-mix(in srgb,var(--muted) 40%,transparent) padding-box}
[data-theme]:where(:not([data-theme=sketch])) :is(.stat strong,.quota strong,.count,.meta){font-variant-numeric:tabular-nums}
[data-theme]:where(:not([data-theme=sketch])) h2{font-weight:600}
[data-theme]:where(:not([data-theme=sketch])) .page-head{border-radius:0}
[data-theme]:where(:not([data-theme=sketch])) .section-head .link{font-weight:500;color:var(--muted)}
[data-theme]:where(:not([data-theme=sketch])) .section-head .link:hover{color:var(--primary)}
[data-theme]:where(:not([data-theme=sketch])) .page{animation:none}
[data-theme]:where(:not([data-theme=sketch])) .page-location>span[aria-hidden]{color:var(--faint)}
[data-theme]:where(:not([data-theme=sketch])) .workspace-signature svg{color:var(--accent)}
/* Controls */
[data-theme]:where(:not([data-theme=sketch])) :where(button,.btn):not(.skin-option){border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);color:var(--ink-2);font-weight:500;box-shadow:none;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
[data-theme]:where(:not([data-theme=sketch])) :where(button,.btn):not(.skin-option):hover{background:var(--surface-2);border-color:color-mix(in srgb,var(--line-strong) 60%,var(--muted))}
[data-theme]:where(:not([data-theme=sketch])) :is(button,.btn).primary{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--on-primary);box-shadow:var(--btn-shadow)}
[data-theme]:where(:not([data-theme=sketch])) :is(button,.btn).primary:hover{background:var(--btn-hover);border-color:var(--btn-hover);filter:none}
[data-theme]:where(:not([data-theme=sketch])) :is(button,.btn).small{border-radius:calc(var(--radius) - 2px)}
[data-theme]:where(:not([data-theme=sketch])) button.danger{color:var(--red);border-color:color-mix(in srgb,var(--red) 30%,transparent)}
[data-theme]:where(:not([data-theme=sketch])) :is(.link,button.link){min-height:0;padding:0;background:none;border:0;box-shadow:none;color:var(--primary);font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) :is(.link,button.link):hover{background:none;border-color:transparent}
[data-theme]:where(:not([data-theme=sketch])) :is(.icon-btn,button.icon-btn){padding:0;border:1px solid transparent;background:transparent;color:var(--muted);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .icon-btn:hover{background:var(--surface-2);color:var(--ink);border-color:transparent}
[data-theme]:where(:not([data-theme=sketch])) :is(input:not([type=checkbox],[type=radio]),textarea,select){border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) :is(input:not([type=checkbox],[type=radio]),textarea,select):hover{border-color:color-mix(in srgb,var(--line-strong) 50%,var(--muted))}
[data-theme]:where(:not([data-theme=sketch])) :is(input:not([type=checkbox],[type=radio]),textarea,select):focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus)}
[data-theme]:where(:not([data-theme=sketch])) .search{border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .search:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus)}
[data-theme]:where(:not([data-theme=sketch])) .search input,[data-theme]:where(:not([data-theme=sketch])) .search input:hover,[data-theme]:where(:not([data-theme=sketch])) .search input:focus{border:0;background:transparent;box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .search.large{border-radius:var(--radius-lg)}
[data-theme]:where(:not([data-theme=sketch])) .mono-area{font-size:12px;line-height:1.8}
[data-theme]:where(:not([data-theme=sketch])) .toggle{justify-content:space-between;flex-direction:row-reverse;align-items:center;gap:14px}
[data-theme]:where(:not([data-theme=sketch])) .toggle input{appearance:none;-webkit-appearance:none;flex-shrink:0;width:34px;height:20px;margin:0;border:1px solid var(--line-strong);border-radius:20px;cursor:pointer;background:var(--surface-3) radial-gradient(circle,#fff 6px,transparent 6.5px) no-repeat 0 0/18px 18px;transition:background-position .18s,background-color .18s}
[data-theme]:where(:not([data-theme=sketch])) .toggle input:checked{background-color:var(--primary);border-color:var(--primary);background-position:14px 0}
[data-theme]:where(:not([data-theme=sketch])) .chip{border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .chip.active,[data-theme]:where(:not([data-theme=sketch])) .chip.active:hover{background:var(--primary-soft);border-color:color-mix(in srgb,var(--primary) 30%,transparent);color:var(--primary)}
/* Surfaces */
[data-theme]:where(:not([data-theme=sketch])) :is(.card,.table-wrap,.task-card){border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
[data-theme]:where(:not([data-theme=sketch])) .card>h2 svg{color:var(--accent);stroke-width:1.6}
[data-theme]:where(:not([data-theme=sketch])) .badge{border:1px solid var(--line);border-radius:999px;background:var(--surface-2);color:var(--muted);font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .badge.green{border-color:color-mix(in srgb,var(--green) 22%,transparent);background:var(--green-soft);color:var(--green)}
[data-theme]:where(:not([data-theme=sketch])) .badge.blue{border-color:color-mix(in srgb,var(--primary) 22%,transparent);background:var(--primary-soft);color:var(--primary)}
[data-theme]:where(:not([data-theme=sketch])) .badge.orange{border-color:color-mix(in srgb,var(--orange) 22%,transparent);background:var(--orange-soft);color:var(--orange)}
[data-theme]:where(:not([data-theme=sketch])) .badge::before{width:5px;height:5px}
[data-theme]:where(:not([data-theme=sketch])) .count{background:var(--surface-3);color:var(--muted);font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .avatar{background:var(--surface-3);color:var(--ink-2);border:1px solid var(--line);font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .tile{border-radius:calc(var(--radius) + 1px);background:var(--tone-soft,var(--primary-soft));color:var(--tone,var(--primary));box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .tile svg{stroke-width:1.6}
[data-theme]:where(:not([data-theme=sketch])) .stat strong{font-weight:600}
[data-theme]:where(:not([data-theme=sketch])) .list-row strong{font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .table th{background:var(--surface-2);font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .table .person strong{font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .table tbody tr:hover{background:var(--surface-2)}
[data-theme]:where(:not([data-theme=sketch])) .notice{border:1px solid color-mix(in srgb,var(--primary) 18%,transparent);border-radius:var(--radius)}
[data-theme]:where(:not([data-theme=sketch])) .notice.warn{border-color:color-mix(in srgb,var(--orange) 22%,transparent)}
[data-theme]:where(:not([data-theme=sketch])) .notice.error{border-color:color-mix(in srgb,var(--red) 22%,transparent)}
[data-theme]:where(:not([data-theme=sketch])) .empty{border:1px dashed var(--line-strong);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--surface) 60%,transparent);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .empty-icon{border-radius:var(--radius-lg);background:var(--primary-soft);color:var(--primary);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .empty strong{font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .step-num{border-radius:var(--radius);background:var(--primary-soft);color:var(--primary);font-weight:600}
[data-theme]:where(:not([data-theme=sketch])) .swatch{border-radius:7px}
[data-theme]:where(:not([data-theme=sketch])) .assist-bar{border-radius:var(--radius);background:var(--primary-soft);border:1px solid color-mix(in srgb,var(--primary) 14%,transparent)}
/* Task cards */
[data-theme]:where(:not([data-theme=sketch])) .task-card{transition:border-color .18s,box-shadow .18s,transform .18s}
[data-theme]:where(:not([data-theme=sketch])) .task-card:hover{transform:translateY(-2px);border-color:var(--line-strong);box-shadow:var(--shadow)}
[data-theme]:where(:not([data-theme=sketch])) .cover{background:linear-gradient(120deg,var(--tone-soft),var(--surface) 90%);border:0}
[data-theme]:where(:not([data-theme=sketch])) .cover>:is(svg,img.task-icon){border-radius:calc(var(--radius) + 1px);background:var(--surface);color:var(--tone);border:1px solid color-mix(in srgb,var(--tone) 18%,var(--surface));box-shadow:none;stroke-width:1.6}
[data-theme]:where(:not([data-theme=sketch])) .cover-state .badge{box-shadow:none;background:color-mix(in srgb,var(--surface) 85%,transparent)}
[data-theme]:where(:not([data-theme=sketch])) .task-body .label{color:var(--tone-ink,var(--tone))}
[data-theme]:where(:not([data-theme=sketch])) .task-body h3{font-weight:600}
[data-theme]:where(:not([data-theme=sketch])) .task-foot button{border:0;background:var(--primary-soft);color:var(--primary);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .task-foot button:hover{background:color-mix(in srgb,var(--primary) 16%,var(--surface))}
[data-theme]:where(:not([data-theme=sketch])) .task-foot button.primary{background:var(--btn-bg);color:var(--on-primary)}
[data-theme]:where(:not([data-theme=sketch])) .task-foot button.primary:hover{background:var(--btn-hover)}
[data-theme]:where(:not([data-theme=sketch])) .meta svg{stroke-width:1.6}
/* Workspace studio */
[data-theme]:where(:not([data-theme=sketch])) .ws{height:100dvh;background:var(--bg)}
[data-theme]:where(:not([data-theme=sketch])) .ws-head{background:var(--surface);color:var(--ink);border-bottom:1px solid var(--line);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .ws-head .icon-btn{color:var(--muted)}
[data-theme]:where(:not([data-theme=sketch])) .ws-head .icon-btn:hover{background:var(--surface-2);color:var(--ink)}
[data-theme]:where(:not([data-theme=sketch])) .ws-title h1{font-weight:600}
[data-theme]:where(:not([data-theme=sketch])) .ws-title p{color:var(--muted)}
[data-theme]:where(:not([data-theme=sketch])) .ws-brief{background:var(--surface-2);border-right:1px solid var(--line)}
[data-theme]:where(:not([data-theme=sketch])) .ws-brief section{padding:0 0 20px;border-bottom:1px solid var(--line)}
[data-theme]:where(:not([data-theme=sketch])) .ws-brief p,[data-theme]:where(:not([data-theme=sketch])) .ws-brief li{color:var(--ink-2)}
[data-theme]:where(:not([data-theme=sketch])) .ws-brief .tip{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
[data-theme]:where(:not([data-theme=sketch])) .quota{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface)}
[data-theme]:where(:not([data-theme=sketch])) .quota strong{font-weight:600}
[data-theme]:where(:not([data-theme=sketch])) .bar{background:var(--surface-3)}
[data-theme]:where(:not([data-theme=sketch])) .bar i{background:var(--accent)}
[data-theme]:where(:not([data-theme=sketch])) .ws-chat{background:var(--surface)}
[data-theme]:where(:not([data-theme=sketch])) .msg-who{font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .msg-body{border:1px solid var(--line);background:var(--surface-2);box-shadow:none;color:var(--ink)}
[data-theme]:where(:not([data-theme=sketch])) .msg.user .msg-body{background:var(--bubble-user);border-color:transparent;color:var(--bubble-user-ink)}
[data-theme]:where(:not([data-theme=sketch])) .ai-avatar{border:1px solid color-mix(in srgb,var(--accent) 25%,transparent);background:var(--primary-soft);color:var(--accent);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .ai-avatar svg{stroke-width:1.5}
[data-theme]:where(:not([data-theme=sketch])) .welcome-icon{border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);background:var(--primary-soft);color:var(--accent);box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .welcome-icon svg{stroke-width:1.4}
[data-theme]:where(:not([data-theme=sketch])) .welcome h2{font-weight:600;letter-spacing:-.4px}
[data-theme]:where(:not([data-theme=sketch])) .welcome p{line-height:1.9}
[data-theme]:where(:not([data-theme=sketch])) .suggestions button{background:var(--surface);border-color:var(--line);color:var(--ink-2);font-weight:400;border-radius:var(--radius)}
[data-theme]:where(:not([data-theme=sketch])) .suggestions button:hover{background:var(--primary-soft);border-color:color-mix(in srgb,var(--primary) 30%,transparent);color:var(--primary)}
[data-theme]:where(:not([data-theme=sketch])) .composer{border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow)}
[data-theme]:where(:not([data-theme=sketch])) .composer:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--focus)}
[data-theme]:where(:not([data-theme=sketch])) .composer textarea,[data-theme]:where(:not([data-theme=sketch])) .composer textarea:hover,[data-theme]:where(:not([data-theme=sketch])) .composer textarea:focus{border:0;background:transparent;box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .composer button.stop{background:var(--red-soft);color:var(--red);border-color:transparent}
[data-theme]:where(:not([data-theme=sketch])) .run-activity:not(:empty){border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2)}
[data-theme]:where(:not([data-theme=sketch])) .ws-preview{background:var(--surface-2);border-left:1px solid var(--line)}
[data-theme]:where(:not([data-theme=sketch])) .preview-bar{background:var(--surface);border-bottom:1px solid var(--line)}
[data-theme]:where(:not([data-theme=sketch])) .runtime{border-bottom:0}
[data-theme]:where(:not([data-theme=sketch])) .frame-wrap{background:var(--surface-2)}
[data-theme]:where(:not([data-theme=sketch])) .frame-wrap iframe{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
[data-theme]:where(:not([data-theme=sketch])) .ws-tabs{background:var(--surface);border-bottom:1px solid var(--line)}
[data-theme]:where(:not([data-theme=sketch])) .ws-tabs button{border:0;border-radius:0;background:none;color:var(--muted);font-weight:500;box-shadow:none}
[data-theme]:where(:not([data-theme=sketch])) .ws-tabs button.active{color:var(--primary);box-shadow:inset 0 -2px var(--accent)}
/* Auth, public, modal */
[data-theme]:where(:not([data-theme=sketch])) .auth-card{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-lg);backdrop-filter:none}
[data-theme]:where(:not([data-theme=sketch])) .auth-card h1{font-weight:600}
[data-theme]:where(:not([data-theme=sketch])) .public-head{background:var(--glass);border-bottom:1px solid var(--line)}
[data-theme]:where(:not([data-theme=sketch])) .public-hero{border-bottom:1px solid var(--line);background:var(--head-art),var(--head-bg)}
[data-theme]:where(:not([data-theme=sketch])) .public-hero h1{font-weight:600;letter-spacing:-1px}
[data-theme]:where(:not([data-theme=sketch])) .public-hero p{color:var(--muted);opacity:1}
[data-theme]:where(:not([data-theme=sketch])) dialog{border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:0 24px 80px #0f1b3333}
[data-theme]:where(:not([data-theme=sketch])) #toast{border-radius:var(--radius);font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .skin-option[aria-pressed=true]{outline:2px solid var(--primary);outline-offset:2px}
/* Sidebar */
[data-theme]:where(:not([data-theme=sketch])) .brand strong{font-weight:600}
[data-theme]:where(:not([data-theme=sketch])) .side .brand small{opacity:1;color:var(--side-muted)}
[data-theme]:where(:not([data-theme=sketch])) .side-nav a{font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .side-nav a svg{stroke-width:1.6;opacity:.8}
[data-theme]:where(:not([data-theme=sketch])) .side-nav a.active svg{opacity:1}
[data-theme]:where(:not([data-theme=sketch])) .me-name strong{font-weight:500}
[data-theme]:where(:not([data-theme=sketch])) .me-row .icon-btn{border:0}
[data-theme]:where(:not([data-theme=sketch])) .demo-flag{font-weight:500;border-radius:var(--radius)}
/* Tab styles: underline (graphite / celadon / ink) */
[data-theme=graphite] .tabs,[data-theme=celadon] .tabs,[data-theme=ink] .tabs{gap:22px;padding:0;border:0;border-radius:0;background:none;box-shadow:inset 0 -1px var(--line)}
:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .tabs button,:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .tabs button:hover{min-height:40px;padding:6px 1px 10px;border:0;border-radius:0;background:transparent;color:var(--muted);box-shadow:none;font-size:13px;font-weight:500}
:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .tabs button.active{color:var(--ink);box-shadow:inset 0 -2px var(--accent)}
:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .preview-bar .tabs{box-shadow:none;gap:18px}
:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .preview-bar .tabs button{min-height:30px;padding:3px 0;font-size:12px}
/* Tab styles: segmented (mist / paper) */
:is([data-theme=mist],[data-theme=paper]) .tabs{gap:2px;padding:3px;border-radius:calc(var(--radius) + 3px);background:var(--surface-3)}
:is([data-theme=mist],[data-theme=paper]) .tabs button,:is([data-theme=mist],[data-theme=paper]) .tabs button:hover{min-height:32px;padding:4px 14px;border:0;border-radius:var(--radius);background:transparent;color:var(--muted);box-shadow:none;font-size:13px}
:is([data-theme=mist],[data-theme=paper]) .tabs button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #0003}
/* Stats: one bar (graphite / celadon / ink) */
:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .stats{gap:0;padding:18px 0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .stat{padding:0 24px;gap:16px;border:0;border-radius:0;border-right:1px solid var(--line);background:none;box-shadow:none}
:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .stat:last-child{border-right:0}
:is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .stat .tile{order:2;margin-left:auto;width:36px;height:36px;background:var(--surface-2);color:var(--muted)}
/* Stats: cards (mist / paper) */
:is([data-theme=mist],[data-theme=paper]) .stats{gap:16px}
:is([data-theme=mist],[data-theme=paper]) .stat{padding:18px 20px;gap:14px;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
:is([data-theme=mist],[data-theme=paper]) .stat .tile{width:44px;height:44px;border-radius:var(--radius-lg)}

/* ================================ 晨雾 mist ================================
   浅灰蓝画布、近白色侧栏、靛蓝主色；卡片不描边只用柔和阴影，圆角较大。 */
[data-theme=mist]{
  --bg:#f2f4f8;--bg-art:none;--surface:#fff;--surface-2:#f5f7fa;--surface-3:#eaedf3;--glass:#fffffff0;
  --ink:#1b2332;--ink-2:#3c4657;--muted:#6d7788;--faint:#9ca5b5;--line:#e7eaf0;--line-strong:#d6dbe5;--divider:#eceff4;
  --primary:#4361ee;--primary-soft:#edf0fe;--on-primary:#fff;--focus:#4361ee26;--accent:#4361ee;
  --grad:linear-gradient(135deg,#4361ee,#6a86f7);--btn-bg:#4361ee;--btn-hover:#3550d4;--btn-shadow:0 1px 2px #4361ee2e;
  --green:#15803d;--green-soft:#e8f6ee;--orange:#b45309;--orange-soft:#fdf3e3;--red:#c92a2a;--red-soft:#fdeeee;
  --bw:1px;--radius:10px;--radius-lg:14px;--radius-xl:20px;
  --shadow-sm:0 1px 2px #1b233208,0 2px 8px -2px #1b23320a;--shadow:0 1px 2px #1b233208,0 10px 28px -12px #1b233224;--shadow-lg:0 20px 50px -16px #1b233233;
  --side-bg:#fafbfd;--side-ink:#1b2332;--side-muted:#5f6979;--side-hover:#eef1f6;--side-active:#e6ebfd;--side-active-ink:#2f4bd6;--side-line:#e7eaf0;
  --head-bg:transparent;--head-art:none;--head-ink:var(--ink);--head-pad:0;
  --bubble-user:#4361ee;--bubble-user-ink:#fff;--code-bg:#f1f3f8;--toast:#1b2332;--backdrop:#1b233266;
}
[data-theme=mist] .blue{--tone:#4361ee;--tone-ink:#3550d4;--tone-soft:#edf0fe;--tone-grad:#edf0fe}
[data-theme=mist] .purple{--tone:#7c5cdc;--tone-ink:#6a4bc9;--tone-soft:#f1edfc;--tone-grad:#f1edfc}
[data-theme=mist] .orange{--tone:#d97a1f;--tone-ink:#b8650f;--tone-soft:#fef1e4;--tone-grad:#fef1e4}
[data-theme=mist] .green{--tone:#1f9a63;--tone-ink:#187e50;--tone-soft:#e7f7ef;--tone-grad:#e7f7ef}
[data-theme=mist] .side{border-right:1px solid var(--side-line)}
[data-theme=mist] .side-nav a.active{background:var(--side-active);color:var(--side-active-ink)}
[data-theme=mist] .me-row .avatar{background:#e6ebfd;color:#2f4bd6;border-color:#d7defb}
[data-theme=mist] .demo-flag{background:#fdf3e3;color:#b45309}
[data-theme=mist] :is(.card,.table-wrap,.task-card,.stat){border-color:transparent;box-shadow:var(--shadow-sm)}
[data-theme=mist] .task-card:hover{border-color:transparent;box-shadow:var(--shadow)}
[data-theme=mist] .page-topbar{border-bottom:0}
[data-theme=mist] .stat .tile{background:var(--tone-soft);color:var(--tone)}
[data-theme=mist] .cover{background:linear-gradient(120deg,var(--tone-soft),#fff 95%)}
[data-theme=mist] .avatar{background:#e6ebfd;color:#2f4bd6;border:0}
[data-theme=mist] .auth{background:radial-gradient(ellipse at 15% 0,#e4e9fb 0,transparent 55%),radial-gradient(ellipse at 100% 100%,#eaf4f0 0,transparent 45%),#f2f4f8}
[data-theme=mist] .public-hero{background:linear-gradient(110deg,#eceff9,#f2f4f8 70%);border-bottom:0}
[data-theme=mist] .msg-body{border-color:transparent}
[data-theme=mist] :where(button,.btn):not(.skin-option,.icon-btn,.tabs button,.composer button,.swatch){border-radius:999px;padding-inline:16px}
[data-theme=mist] :is(button,.btn).small{border-radius:999px;padding-inline:13px}
[data-theme=mist] .composer button{border-radius:999px}
[data-theme=mist] .tabs{border-radius:999px}
[data-theme=mist] .tabs button{border-radius:999px}
[data-theme=mist] .search{border-radius:999px;padding-inline:14px}
[data-theme=mist] .side-nav a{border-radius:999px;padding-inline:14px}
[data-theme=mist] .side-nav a.active{box-shadow:0 1px 2px #2f4bd614}

/* ============================== 石墨 graphite ==============================
   近乎单色：黑色主按钮、细线、白色侧栏；颜色只留给状态，排版紧凑精确。 */
[data-theme=graphite]{
  --bg:#fafafa;--bg-art:none;--surface:#fff;--surface-2:#f4f4f5;--surface-3:#e9e9ec;--glass:#fffffff0;
  --ink:#121417;--ink-2:#393e47;--muted:#6f7580;--faint:#a1a6b0;--line:#e6e7ea;--line-strong:#d3d5da;--divider:#ececee;
  --primary:#18181b;--primary-soft:#f0f0f2;--on-primary:#fff;--focus:#18181b1f;--accent:#18181b;
  --grad:linear-gradient(135deg,#27272a,#18181b);--btn-bg:#18181b;--btn-hover:#000;--btn-shadow:none;
  --green:#1f7a4d;--green-soft:#e8f5ee;--orange:#a65f0c;--orange-soft:#fbf1e2;--red:#c4303a;--red-soft:#fcebec;
  --bw:1px;--radius:6px;--radius-lg:8px;--radius-xl:10px;
  --shadow-sm:none;--shadow:0 4px 14px -6px #12141722;--shadow-lg:0 16px 40px -14px #12141733;
  --side-bg:#fff;--side-ink:#121417;--side-muted:#5c616b;--side-hover:#f4f4f5;--side-active:#ececee;--side-active-ink:#121417;--side-line:#e6e7ea;
  --head-bg:transparent;--head-art:none;--head-ink:var(--ink);--head-pad:0;
  --bubble-user:#18181b;--bubble-user-ink:#fff;--code-bg:#f4f4f5;--toast:#18181b;--backdrop:#12141766;
  letter-spacing:-.1px;
}
[data-theme=graphite] .blue{--tone:#3f5fc9;--tone-ink:#3451b3;--tone-soft:#eef1fb;--tone-grad:#eef1fb}
[data-theme=graphite] .purple{--tone:#7a5fb0;--tone-ink:#67509a;--tone-soft:#f2eff9;--tone-grad:#f2eff9}
[data-theme=graphite] .orange{--tone:#c2692c;--tone-ink:#a65722;--tone-soft:#fbf0e7;--tone-grad:#fbf0e7}
[data-theme=graphite] .green{--tone:#2e8b62;--tone-ink:#257452;--tone-soft:#e9f5ef;--tone-grad:#e9f5ef}
[data-theme=graphite] h1{letter-spacing:-.6px}
[data-theme=graphite] .side{border-right:1px solid var(--side-line)}
[data-theme=graphite] .side-nav a.active{background:var(--side-active);color:var(--side-active-ink);font-weight:600}
[data-theme=graphite] .me-row .avatar{background:#121417;color:#fff;border:0}
[data-theme=graphite] .avatar{background:#121417;color:#fff;border:0}
[data-theme=graphite] .demo-flag{background:#fbf1e2;color:#a65f0c}
[data-theme=graphite] :is(.card,.table-wrap,.task-card){box-shadow:none}
[data-theme=graphite] .cover{background:var(--surface)}
[data-theme=graphite] .cover>:is(svg,img.task-icon){background:var(--tone-soft);border-color:transparent}
[data-theme=graphite] .task-foot button{background:var(--surface-2);color:var(--ink)}
[data-theme=graphite] .task-foot button:hover{background:var(--surface-3)}
[data-theme=graphite] .stat .tile{display:none}
[data-theme=graphite] .badge{border-radius:4px}
[data-theme=graphite] .chip{border-radius:5px}
[data-theme=graphite] .notice{background:var(--surface-2);border-color:var(--line);color:var(--ink-2)}
[data-theme=graphite] .msg-body{background:var(--surface);border-color:var(--line);border-radius:2px 8px 8px 8px}
[data-theme=graphite] .msg.user .msg-body{border-radius:8px 2px 8px 8px}
[data-theme=graphite] .ai-avatar,[data-theme=graphite] .welcome-icon{background:#121417;color:#fff;border-color:transparent}
[data-theme=graphite] .composer{box-shadow:none}
[data-theme=graphite] .auth{background:#fafafa}
[data-theme=graphite] .auth-card{box-shadow:none}
[data-theme=graphite] .public-hero{background:#fff}
[data-theme=graphite] .empty-icon,[data-theme=graphite] .step-num{background:#121417;color:#fff}

/* ============================== 青瓷 celadon ==============================
   淡青灰画布、青瓷绿主色、浅灰绿侧栏；细边卡片，温和安静，适合课堂长时间使用。 */
[data-theme=celadon]{
  --bg:#f4f7f6;--bg-art:none;--surface:#fff;--surface-2:#f1f5f3;--surface-3:#e5ece9;--glass:#fffffff0;
  --ink:#1a2a27;--ink-2:#374a45;--muted:#66776f;--faint:#9aa9a2;--line:#e1e8e5;--line-strong:#cad6d1;--divider:#e8eeeb;
  --primary:#0f766e;--primary-soft:#e4f3f0;--on-primary:#fff;--focus:#0f766e26;--accent:#0f766e;
  --grad:linear-gradient(135deg,#0f766e,#2a9d8f);--btn-bg:#0f766e;--btn-hover:#0b5f59;--btn-shadow:0 1px 2px #0f766e26;
  --green:#2f7d4f;--green-soft:#e8f4ec;--orange:#b2611a;--orange-soft:#fbf0e3;--red:#b83a3a;--red-soft:#fbecec;
  --bw:1px;--radius:9px;--radius-lg:13px;--radius-xl:18px;
  --shadow-sm:0 1px 2px #1a2a2708;--shadow:0 8px 24px -10px #1a2a2722;--shadow-lg:0 18px 50px -16px #1a2a2733;
  --side-bg:#edf2f0;--side-ink:#1a2a27;--side-muted:#55665f;--side-hover:#e3ebe7;--side-active:#d2e7e1;--side-active-ink:#0b5f59;--side-line:#dae3df;
  --head-bg:transparent;--head-art:none;--head-ink:var(--ink);--head-pad:0;
  --bubble-user:#0f766e;--bubble-user-ink:#fff;--code-bg:#eef3f1;--toast:#1a2a27;--backdrop:#1a2a2766;
}
[data-theme=celadon] .blue{--tone:#3f6fa8;--tone-ink:#355f91;--tone-soft:#ecf2f9;--tone-grad:#ecf2f9}
[data-theme=celadon] .purple{--tone:#7a6aa8;--tone-ink:#685993;--tone-soft:#f1eef8;--tone-grad:#f1eef8}
[data-theme=celadon] .orange{--tone:#c27a3a;--tone-ink:#a5652c;--tone-soft:#fbf1e6;--tone-grad:#fbf1e6}
[data-theme=celadon] .green{--tone:#2f8f6b;--tone-ink:#277958;--tone-soft:#e7f4ee;--tone-grad:#e7f4ee}
[data-theme=celadon] .side{border-right:1px solid var(--side-line)}
[data-theme=celadon] .side-nav a.active{background:var(--side-active);color:var(--side-active-ink)}
[data-theme=celadon] .side-nav a.active svg{color:#0f766e}
[data-theme=celadon] .me-row .avatar{background:#d2e7e1;color:#0b5f59;border-color:#c0ddd5}
[data-theme=celadon] .demo-flag{background:#fbf0e3;color:#b2611a}
[data-theme=celadon] .avatar{background:#e4f3f0;color:#0b5f59;border-color:#cfe7e1}
[data-theme=celadon] .stat .tile{background:var(--tone-soft);color:var(--tone)}
[data-theme=celadon] .auth{background:radial-gradient(ellipse at 20% 0,#e1efeb 0,transparent 55%),#f4f7f6}
[data-theme=celadon] .public-hero{background:linear-gradient(110deg,#e9f2ef,#f4f7f6 70%)}
[data-theme=celadon] .ws-brief{background:#f3f7f5}
[data-theme=celadon] .task-card{border-top:3px solid var(--tone)}
[data-theme=celadon] .cover{background:var(--surface)}
[data-theme=celadon] .cover>:is(svg,img.task-icon){background:var(--tone-soft);border-color:transparent}
[data-theme=celadon] .stat .tile{border-radius:50%}
[data-theme=celadon] .tile{border-radius:50%}
[data-theme=celadon] .ws-head .tile{border-radius:50%}

/* ================================ 墨蓝 ink ================================
   现方案的精修版：深蓝侧栏、冷白内容区，青色作为活动指示与 AI 元素的点缀。 */
[data-theme=ink]{
  --bg:#f5f7fa;--bg-art:none;--surface:#fff;--surface-2:#f1f4f8;--surface-3:#e6ebf2;--glass:#fffffff0;
  --ink:#111c2e;--ink-2:#32425a;--muted:#64728a;--faint:#98a4b8;--line:#e3e8ef;--line-strong:#ccd5e1;--divider:#e9edf3;
  --primary:#1f4e8c;--primary-soft:#e8f0fb;--on-primary:#fff;--focus:#1f4e8c26;--accent:#1797ad;
  --grad:linear-gradient(135deg,#1f4e8c,#1797ad);--btn-bg:#1f4e8c;--btn-hover:#163d70;--btn-shadow:0 1px 2px #1f4e8c26;
  --green:#1e7a52;--green-soft:#e6f5ed;--orange:#a8611a;--orange-soft:#fbf1e3;--red:#bf3b45;--red-soft:#fcecee;
  --bw:1px;--radius:8px;--radius-lg:12px;--radius-xl:16px;
  --shadow-sm:0 1px 2px #111c2e08;--shadow:0 8px 24px -10px #111c2e26;--shadow-lg:0 18px 50px -16px #111c2e3a;
  --side-bg:#0f1e36;--side-ink:#e8eef8;--side-muted:#9fb0cb;--side-hover:#ffffff0c;--side-active:#1c3356;--side-active-ink:#fff;--side-line:#ffffff14;
  --head-bg:transparent;--head-art:none;--head-ink:var(--ink);--head-pad:0;
  --bubble-user:#e8f0fb;--bubble-user-ink:#1b3a66;--code-bg:#f1f4f8;--toast:#1a2d4d;--backdrop:#0f1e3666;
}
[data-theme=ink] .blue{--tone:#2c62a8;--tone-ink:#25538f;--tone-soft:#e8f0fb;--tone-grad:#e8f0fb}
[data-theme=ink] .purple{--tone:#6a5fb3;--tone-ink:#5a509a;--tone-soft:#efedf9;--tone-grad:#efedf9}
[data-theme=ink] .orange{--tone:#bf6c23;--tone-ink:#a35b1b;--tone-soft:#fbf0e4;--tone-grad:#fbf0e4}
[data-theme=ink] .green{--tone:#1f8a62;--tone-ink:#1a7351;--tone-soft:#e6f5ee;--tone-grad:#e6f5ee}
[data-theme=ink] .side{background:linear-gradient(180deg,#13254a,#0e1b32);border-right:0}
[data-theme=ink] .side .brand small{color:#9fb0cb}
[data-theme=ink] .side-nav a{position:relative;border:1px solid transparent}
[data-theme=ink] .side-nav a.active{background:var(--side-active);border-color:#9ab4e11f;color:#fff}
[data-theme=ink] .side-nav a.active::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:2px;border-radius:2px;background:#5fd3e6}
[data-theme=ink] .side-nav a.active svg{color:#8fe0ee}
[data-theme=ink] .side-nav a:focus-visible{outline-color:#8fe0ee}
[data-theme=ink] .side-note{color:#8fa0bd}
[data-theme=ink] .me-row .avatar{background:#2a4068;color:#dbe6fa;border:1px solid #ffffff14}
[data-theme=ink] .me-row .icon-btn{color:var(--side-muted)}
[data-theme=ink] .me-row .icon-btn:hover{color:#fff;background:var(--side-hover)}
[data-theme=ink] .demo-flag{background:#ffffff0d;color:#d8c48f}
[data-theme=ink] .avatar{background:#e8f0fb;color:#25538f;border-color:#d4e1f5}
[data-theme=ink] .ai-avatar,[data-theme=ink] .welcome-icon{background:#e5f6f9;color:#117f93;border-color:#bfe6ee}
[data-theme=ink] .link,[data-theme=ink] button.link{color:#1f4e8c}
[data-theme=ink] .stat .tile{background:var(--tone-soft);color:var(--tone)}
[data-theme=ink] .auth{background:radial-gradient(ellipse at 20% 0,#e3ecf7 0,transparent 55%),#f5f7fa}
[data-theme=ink] .public-hero{background:linear-gradient(110deg,#eaf0f8,#f5f7fa 70%)}
[data-theme=ink] .public-head .brand,[data-theme=ink] .auth-brand{color:var(--ink)}

/* ================================ 暖纸 paper ================================
   暖米白画布、沙色侧栏、森林绿主色；圆角更大，亲切自然，像一本手边的练习册。 */
[data-theme=paper]{
  --bg:#faf8f4;--bg-art:none;--surface:#fffefb;--surface-2:#f5f2ec;--surface-3:#ebe7de;--glass:#fffefbf0;
  --ink:#2a2622;--ink-2:#4a443d;--muted:#79716a;--faint:#a9a199;--line:#e9e4da;--line-strong:#d7d0c3;--divider:#eee9e0;
  --primary:#2f6b4f;--primary-soft:#e6f1ea;--on-primary:#fff;--focus:#2f6b4f26;--accent:#2f6b4f;
  --grad:linear-gradient(135deg,#2f6b4f,#4b9070);--btn-bg:#2f6b4f;--btn-hover:#255740;--btn-shadow:0 1px 2px #2f6b4f26;
  --green:#2f6b4f;--green-soft:#e6f1ea;--orange:#b4631a;--orange-soft:#faeedf;--red:#b43c3c;--red-soft:#fbeceb;
  --bw:1px;--radius:12px;--radius-lg:16px;--radius-xl:20px;
  --shadow-sm:0 1px 2px #2a262208;--shadow:0 8px 24px -10px #2a262226;--shadow-lg:0 18px 50px -16px #2a262233;
  --side-bg:#f3efe7;--side-ink:#2a2622;--side-muted:#6f675c;--side-hover:#ebe5da;--side-active:#dfeae2;--side-active-ink:#255740;--side-line:#e3dccf;
  --head-bg:transparent;--head-art:none;--head-ink:var(--ink);--head-pad:0;
  --bubble-user:#2f6b4f;--bubble-user-ink:#fff;--code-bg:#f3efe7;--toast:#2a2622;--backdrop:#2a262266;
}
[data-theme=paper] .blue{--tone:#3f6aa3;--tone-ink:#355a8b;--tone-soft:#eaf0f8;--tone-grad:#eaf0f8}
[data-theme=paper] .purple{--tone:#7d63a6;--tone-ink:#6a5490;--tone-soft:#f1ecf7;--tone-grad:#f1ecf7}
[data-theme=paper] .orange{--tone:#c66e2a;--tone-ink:#a95c21;--tone-soft:#fbeee2;--tone-grad:#fbeee2}
[data-theme=paper] .green{--tone:#3b8a62;--tone-ink:#2f7452;--tone-soft:#e6f2ea;--tone-grad:#e6f2ea}
[data-theme=paper] .side{border-right:1px solid var(--side-line)}
[data-theme=paper] .side-nav a{border-radius:12px}
[data-theme=paper] .side-nav a.active{background:var(--side-active);color:var(--side-active-ink)}
[data-theme=paper] .me-row .avatar{background:#dfeae2;color:#255740;border-color:#cfdfd4}
[data-theme=paper] .demo-flag{background:#faeedf;color:#b4631a}
[data-theme=paper] .avatar{background:#e6f1ea;color:#255740;border-color:#d3e3d8}
[data-theme=paper] .page-topbar{border-bottom:0}
[data-theme=paper] .stat .tile{background:var(--tone-soft);color:var(--tone)}
[data-theme=paper] .cover{background:linear-gradient(120deg,var(--tone-soft),var(--surface) 95%)}
[data-theme=paper] .msg-body{border-color:transparent;background:#f5f2ec}
[data-theme=paper] .auth{background:radial-gradient(ellipse at 15% 0,#eef1e6 0,transparent 55%),radial-gradient(ellipse at 100% 100%,#f6ebdd 0,transparent 45%),#faf8f4}
[data-theme=paper] .public-hero{background:linear-gradient(110deg,#f3efe7,#faf8f4 70%);border-bottom:0}
[data-theme=paper] .ws-brief{background:#f7f4ee}
[data-theme=paper]{--display:"Songti SC","Noto Serif CJK SC","Source Han Serif SC",Georgia,"Times New Roman",serif}
[data-theme=paper] :is(h1,.page-head h1,.auth-card h1,.public-hero h1,.section-head h2,.brand strong,.ws-brief h2,.welcome h2){font-family:var(--display);font-weight:700;letter-spacing:0}
[data-theme=paper] .task-body h3{font-family:var(--display);font-weight:700;letter-spacing:0}
[data-theme=paper] .stat strong{font-family:var(--display);font-weight:700}

/* Responsive (shared) */
@media(max-width:760px){
  [data-theme]:where(:not([data-theme=sketch])) .side{border-right:0;border-bottom:1px solid var(--side-line)}
  [data-theme=ink] .side-nav a.active::before{display:none}
  :is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .stat{padding:0 14px;flex-direction:column;align-items:flex-start;gap:0}
  :is([data-theme=graphite],[data-theme=celadon],[data-theme=ink]) .stat .tile{display:none}
}

/* =============================== 卡通 sketch ==============================
   Cream paper with dot grid, soft pastels, ink outlines, sticker shadows,
   washi tape and marker highlights. Playful but not loud. */
[data-theme=sketch]{
  --bg:#faf6ee;--bg-art:radial-gradient(#e8ddc9 1px,transparent 1.2px) 0 0/24px 24px;
  --surface:#fffdf9;--surface-2:#f6f0e5;--surface-3:#efe7d8;--glass:#fffdf9;
  --ink:#3b3548;--ink-2:#4b4559;--muted:#827b8f;--faint:#b5aebf;--line:#3b3548;--line-strong:#3b3548;--divider:#3b35481f;
  --primary:#5470b8;--primary-soft:#e5ebf6;--focus:#f0d9a07a;--tape:#f1d48fcc;--marker:#f5e1a4;
  --grad:linear-gradient(135deg,#6b84c2,#8f84bf);--btn-bg:#5470b8;--btn-shadow:2px 2px 0 #3b3548;
  --green:#3f7d5f;--green-soft:#dcefe3;--orange:#9a6232;--orange-soft:#f6e6d2;--red:#b5485a;--red-soft:#f6dde1;
  --bw:1.5px;--radius:12px;--radius-lg:18px;--radius-xl:22px;
  --shadow-sm:2px 2px 0 #3b354826;--shadow:3px 3px 0 #3b354833;--shadow-lg:5px 5px 0 #3b354840;
  --side-bg:#f4ebda;--side-ink:#3b3548;--side-muted:#6f6656;--side-hover:#fffdf999;--side-active:#fffdf9;--side-active-ink:#3b3548;--side-line:#3b354826;
  --head-bg:#e4edf5;--head-ink:#3b3548;--head-pad:28px 32px;
  --head-art:radial-gradient(circle at 93% 30%,#fffdf9 0 30px,transparent 31px),radial-gradient(circle at 86% 78%,#efd3dc 0 14px,transparent 15px),radial-gradient(circle at 77% 22%,#efdca8 0 9px,transparent 10px),radial-gradient(circle at 99% 105%,#cfe0ee 0 60px,transparent 61px);
  --bubble-user:#5470b8;--code-bg:#f6f0e5;--toast:#3b3548;--backdrop:#3b354866;
  --display:ui-rounded,"SF Pro Rounded","PingFang SC","Hiragino Maru Gothic ProN","Microsoft YaHei",sans-serif;--display-weight:800;
}
[data-theme=sketch] .blue{--tone:#5470b8;--tone-soft:#e3eaf5;--tone-grad:#dbe6f2}
[data-theme=sketch] .purple{--tone:#7a66a8;--tone-soft:#ebe6f3;--tone-grad:#e4ddef}
[data-theme=sketch] .orange{--tone:#b0703a;--tone-soft:#f6e8d8;--tone-grad:#f2e0cb}
[data-theme=sketch] .green{--tone:#3f8a66;--tone-soft:#e0efe6;--tone-grad:#d7eadc}
/* Buttons press like stickers. */
[data-theme=sketch] :is(button,.btn):not(.link,.icon-btn,.chip,.skin-option):hover{transform:translate(-1px,-1px);box-shadow:3px 3px 0 #3b3548}
[data-theme=sketch] :is(button,.btn):not(.link,.icon-btn,.skin-option):active{transform:translate(1px,1px);box-shadow:none}
[data-theme=sketch] :is(.tabs,.ws-tabs) button:hover{transform:none;box-shadow:none}
[data-theme=sketch] :is(button,.btn).primary{border:1.5px solid #3b3548}
[data-theme=sketch] .brand-mark{transform:rotate(-4deg)}
[data-theme=sketch] :is(.avatar,.step-num,.empty-icon,.welcome-icon,.ai-avatar){border:1.5px solid #3b3548;box-shadow:2px 2px 0 #3b354840}
/* Banner with washi tape and a marker-highlighted title. */
[data-theme=sketch] .page-head{overflow:visible;border:1.5px solid #3b3548;box-shadow:var(--shadow)}
[data-theme=sketch] .page-head::before{content:"";position:absolute;top:-11px;left:36px;width:92px;height:22px;background:var(--tape);transform:rotate(-3deg);box-shadow:0 1px 2px #3b354826}
[data-theme=sketch] :is(.page-head,.public-hero) h1{width:fit-content;padding:0 4px;background:linear-gradient(transparent 58%,var(--marker) 58% 92%,transparent 92%)}
[data-theme=sketch] .section-head h2{text-decoration:underline wavy #e2bf63;text-decoration-thickness:2px;text-underline-offset:7px}
[data-theme=sketch] .public-hero{border-bottom:1.5px solid #3b354833}
[data-theme=sketch] .side{border-right:1.5px solid #3b354826}
[data-theme=sketch] .side-nav a.active{box-shadow:inset 0 0 0 1.5px #3b3548,2px 2px 0 #3b354833}
[data-theme=sketch] .badge{border:1px solid #3b354859}
[data-theme=sketch] .badge::before{display:none}
[data-theme=sketch] .count{border:1px solid #3b354859;background:var(--surface);color:var(--ink-2)}
[data-theme=sketch] .chip.active{background:var(--marker);border-color:#3b3548;color:#3b3548}
[data-theme=sketch] .tabs{border:1.5px solid #3b354840;background:var(--surface-2)}
[data-theme=sketch] .tabs button.active{background:var(--surface);box-shadow:inset 0 0 0 1.5px #3b3548}
/* Cover: pastel card with a tilted sticker icon. */
[data-theme=sketch] .cover{border-bottom:1.5px solid #3b3548;background:radial-gradient(circle at 88% 18%,#fffdf9cc 0 16px,transparent 17px),radial-gradient(circle at 10% 100%,#fffdf980 0 40px,transparent 41px),radial-gradient(circle at 70% 85%,#fffdf966 0 6px,transparent 7px),var(--tone-grad)}
[data-theme=sketch] .cover>:is(svg,img.task-icon){background:var(--surface);color:var(--tone);border:1.5px solid #3b3548;box-shadow:3px 3px 0 #3b354859;transform:rotate(-5deg)}
[data-theme=sketch] .task-card:nth-child(even) .cover>:is(svg,img.task-icon){transform:rotate(4deg)}
[data-theme=sketch] .task-card:hover{transform:translate(-2px,-3px);box-shadow:5px 6px 0 #3b354840}
[data-theme=sketch] :is(.stat .tile,.tile){background:var(--tone-grad,#dbe6f2);border:1.5px solid #3b3548}
[data-theme=sketch] .stat:nth-child(2){transform:rotate(.4deg)}
[data-theme=sketch] .stat:nth-child(3){transform:rotate(-.4deg)}
[data-theme=sketch] .ws-head{border-bottom:1.5px solid #3b354833}
[data-theme=sketch] .msg-body{border-color:#3b3548cc}
[data-theme=sketch] .composer:focus-within{box-shadow:3px 3px 0 var(--marker),0 0 0 1.5px #3b3548}
[data-theme=sketch] :is(input,textarea,select):focus{box-shadow:3px 3px 0 var(--marker)}
[data-theme=sketch] .auth{background:radial-gradient(circle at 12% 18%,#efd3dc 0 56px,transparent 57px),radial-gradient(circle at 88% 82%,#dbe6f2 0 100px,transparent 101px),radial-gradient(circle at 82% 14%,#efdca8 0 36px,transparent 37px)}
[data-theme=sketch] .auth-card{border:1.5px solid #3b3548;box-shadow:6px 6px 0 #3b354833}
[data-theme=sketch] .auth-card::before{content:"";position:absolute;top:-12px;left:50%;width:110px;height:24px;background:var(--tape);transform:translateX(-50%) rotate(-2deg);box-shadow:0 1px 2px #3b354826}
[data-theme=sketch] dialog{border:1.5px solid #3b3548;box-shadow:6px 6px 0 #3b354840}
