/* Tab prototype · app interiors (微信-style, 飞书-style, Mail, Safari, Finder, Terminal, Settings,
   Reminders, Tab main window, widgets). Fictional data only. */

/* shared: floating Tahoe sidebar */
.glassy { position: relative; flex: none; margin: 8px 0 8px 8px; padding: 44px 10px 10px; border-radius: 12px; background: rgba(238, 238, 243, .94); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .05); }
.glassy > .tl { position: absolute; left: 14px; top: 14px; }
.fd-sec { margin: 12px 8px 4px; font-size: 11px; font-weight: 600; color: rgba(60, 60, 67, .45); }
.fd-nav { display: flex; gap: 12px; color: rgba(0, 0, 0, .38); }
.fd-nav svg.ic { width: 15px; height: 15px; stroke-width: 2; }

/* ================================================================ 微信-style */
.wx { display: flex; height: 100%; background: #f5f5f5; }
.wx-rail { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 68px; flex: none; padding-top: 44px; background: #ebebeb; }
.wx-rail .tl { position: absolute; left: 14px; top: 15px; }
.wx-me { margin: 6px 0 12px; }
.wx-ri { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: rgba(0, 0, 0, .42); }
.wx-ri svg.ic { width: 22px; height: 22px; stroke-width: 1.6; }
.wx-ri.on { color: #07c160; }
.wx-ri.bottom { margin-top: auto; margin-bottom: 12px; }
.wx-list { width: 250px; flex: none; background: #f7f7f7; box-shadow: inset -1px 0 0 #e8e8e8; }
.wx-search { display: flex; gap: 8px; padding: 18px 12px 10px; }
.wx-search span { display: flex; flex: 1; align-items: center; gap: 5px; height: 28px; padding: 0 9px; border-radius: 7px; background: #e6e6e6; font-size: 12.5px; color: rgba(0, 0, 0, .38); }
.wx-search svg.ic { width: 13px; height: 13px; }
.wx-search b { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 7px; background: #e6e6e6; color: rgba(0, 0, 0, .5); }
.wx-search b svg.ic { width: 14px; height: 14px; }
.wx-c { position: relative; display: flex; align-items: center; gap: 10px; height: 66px; padding: 0 12px; }
.wx-c.sel { background: #dcdcdc; }
.wx-ct { flex: 1; min-width: 0; }
.wx-cn { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.wx-cn b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 500; color: #191919; }
.wx-cn span { flex: none; font-size: 11px; color: rgba(0, 0, 0, .34); }
.wx-cp { margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: rgba(0, 0, 0, .4); }
.wx-badge { position: absolute; left: 40px; top: 9px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #fa5151; color: #fff; font: 600 10.5px/17px var(--font); text-align: center; font-style: normal; box-shadow: 0 0 0 1.5px #f7f7f7; }
.wx-main { display: flex; flex-direction: column; flex: 1; min-width: 0; background: #f5f5f5; }
.wx-hd { display: flex; align-items: center; justify-content: space-between; height: 60px; flex: none; padding: 0 20px 0 24px; box-shadow: inset 0 -1px 0 #e6e6e6; }
.wx-hd b { font-size: 16px; font-weight: 600; color: #191919; }
.wx-hd span { margin-left: 8px; font-size: 12px; color: rgba(0, 0, 0, .38); }
.wx-hi { display: flex; color: rgba(0, 0, 0, .5); }
.wx-hi svg.ic { width: 20px; height: 20px; }
.wx-msgs { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 16px 24px 18px; overflow: hidden; }
.wx-time { align-self: center; font-size: 11.5px; color: rgba(0, 0, 0, .34); }
.wx-m { display: flex; align-items: flex-start; gap: 10px; }
.wx-m.me { flex-direction: row-reverse; }
.wx-m.in { animation: msgIn .5s var(--spring) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.wx-mb { display: flex; flex-direction: column; gap: 3px; max-width: 440px; }
.wx-m.me .wx-mb { align-items: flex-end; }
.wx-nm { font-size: 11.5px; color: rgba(0, 0, 0, .4); }
.wx-b { position: relative; padding: 9px 12px; border-radius: 8px; background: #fff; font-size: 14px; line-height: 1.55; color: #191919; white-space: pre-wrap; }
.wx-b::before { content: ""; position: absolute; top: 13px; left: -4px; width: 9px; height: 9px; border-radius: 1.5px; background: inherit; transform: rotate(45deg); }
.wx-m.me .wx-b { background: #95ec69; }
.wx-m.me .wx-b::before { left: auto; right: -4px; }
.wx-b .q { display: block; }
.wx-b .mark { border-radius: 3px; transition: background .4s, box-shadow .4s; }
.wx-b .mark.m-on { background: rgba(255, 159, 10, .2); box-shadow: 0 0 0 2px rgba(255, 159, 10, .2); }
.wx-b .mark.m-ok { background: rgba(52, 199, 89, .16); box-shadow: 0 0 0 2px rgba(52, 199, 89, .14); }
.wx-in { display: flex; flex-direction: column; height: 150px; flex: none; background: #fff; box-shadow: inset 0 1px 0 #e9e9e9; }
.wx-tools { display: flex; gap: 17px; padding: 11px 20px 4px; color: rgba(0, 0, 0, .55); }
.wx-tools svg.ic { width: 20px; height: 20px; stroke-width: 1.5; }
.wx-field { flex: 1; padding: 4px 22px; overflow: hidden; font-size: 14px; line-height: 1.62; color: #191919; }
.wx-send { display: flex; justify-content: flex-end; padding: 0 18px 14px; }
.wx-send span { height: 30px; padding: 0 18px; border-radius: 6px; background: #ededed; font-size: 13.5px; line-height: 30px; color: #b2b2b2; transition: background .2s, color .2s; }
.wx-in:has(.fld.has) .wx-send span { background: #07c160; color: #fff; }
.wx-img { display: inline-block; width: 120px; height: 86px; margin: 2px 4px 2px 0; overflow: hidden; vertical-align: top; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .1); }
.wx-img .mshot { font-size: 5px; padding: 4px 5px; }
.wx-file { display: flex; align-items: center; gap: 10px; width: 230px; padding: 10px 12px; border-radius: 8px; background: #fff; }
.wx-file b { display: block; font-size: 13px; font-weight: 500; }
.wx-file span { display: block; font-size: 11px; color: rgba(0, 0, 0, .4); }

/* ================================================================ 飞书-style */
.fs { display: flex; height: 100%; background: #fff; color: #1f2329; }
.fs-nav { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 74px; flex: none; padding-top: 46px; background: #f2f3f5; }
.fs-nav .tl { position: absolute; left: 15px; top: 15px; }
.fs-me { margin: 4px 0 10px; }
.fs-ni { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 58px; padding: 7px 0 6px; border-radius: 10px; color: #646a73; }
.fs-ni svg.ic { width: 20px; height: 20px; stroke-width: 1.6; }
.fs-ni small { font-size: 10.5px; }
.fs-ni.on { background: #e1eaff; color: #3370ff; }
.fs-list { width: 262px; flex: none; background: #fff; box-shadow: inset -1px 0 0 #eff0f1; }
.fs-search { display: flex; align-items: center; gap: 6px; height: 30px; margin: 16px 12px 8px; padding: 0 10px; border-radius: 8px; background: #f2f3f5; font-size: 12.5px; color: #8f959e; }
.fs-search svg.ic { width: 13px; height: 13px; }
.fs-c { display: flex; align-items: center; gap: 10px; height: 64px; margin: 0 6px; padding: 0 8px; border-radius: 8px; }
.fs-c.sel { background: #e1eaff; }
.fs-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.fs-hd { display: flex; align-items: center; gap: 8px; height: 56px; flex: none; padding: 0 20px 0 24px; box-shadow: inset 0 -1px 0 #eff0f1; color: #646a73; }
.fs-hd b { font-size: 15.5px; font-weight: 600; color: #1f2329; }
.fs-hd svg.ic { width: 18px; height: 18px; margin-left: 8px; }
.fs-tag { height: 18px; padding: 0 6px; border-radius: 4px; background: #e1eaff; font-size: 11px; font-weight: 500; line-height: 18px; color: #3370ff; }
.fs-cnt { display: flex; align-items: center; gap: 2px; font-size: 12px; }
.fs-cnt svg.ic { width: 13px; height: 13px; margin: 0; }
.fs-msgs { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 16px 26px; overflow: hidden; }
.fs-m { display: flex; gap: 10px; }
.fs-m.me { flex-direction: row-reverse; }
.fs-m.me > div { display: flex; flex-direction: column; align-items: flex-end; }
.fs-mn { margin-bottom: 4px; font-size: 12px; color: #646a73; }
.fs-mn span { margin-left: 8px; color: #8f959e; }
.fs-b { display: inline-block; max-width: 440px; padding: 9px 12px; border-radius: 4px 12px 12px 12px; background: #f2f3f5; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.fs-m.me .fs-b { border-radius: 12px 4px 12px 12px; background: #e1eaff; }
.fs-in { padding: 0 22px 18px; }
.fs-box { padding: 11px 14px 8px; border-radius: 12px; box-shadow: 0 0 0 1px #dee0e3; }
.fs-box:has(.fld.focus) { box-shadow: 0 0 0 1.5px #3370ff, 0 0 0 4px rgba(51, 112, 255, .1); }
.fs-field { min-height: 70px; font-size: 14px; line-height: 1.66; }
.fs-tools { display: flex; align-items: center; gap: 15px; margin-top: 4px; color: #646a73; }
.fs-tools svg.ic { width: 18px; height: 18px; stroke-width: 1.6; }
.fs-send { display: flex; align-items: center; justify-content: center; width: 32px; height: 28px; border-radius: 7px; color: #bbbfc4; }
.fs-box:has(.fld.has) .fs-send { background: #3370ff; color: #fff; }

.fs-doc .fd-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.fd-hd { display: flex; align-items: center; gap: 10px; height: 52px; flex: none; padding: 0 16px 0 22px; box-shadow: inset 0 -1px 0 #eff0f1; font-size: 12.5px; color: #646a73; }
.fd-hd > svg.ic { width: 18px; height: 18px; }
.fd-crumb { display: flex; align-items: center; gap: 6px; }
.fd-crumb svg.ic { width: 15px; height: 15px; color: #3370ff; }
.fd-crumb i { font-style: normal; color: #bbbfc4; }
.fd-crumb b { font-weight: 500; color: #1f2329; }
.fd-st { font-size: 12px; color: #8f959e; }
.fd-av { display: flex; }
.fd-av .av + .av { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.fd-share { height: 28px; padding: 0 14px; border-radius: 6px; background: #3370ff; font-weight: 500; line-height: 28px; color: #fff; }
.fd-page { flex: 1; padding: 36px 0 0; overflow: hidden; }
.doc { width: 660px; margin: 0 auto; color: #1f2329; }
.doc h1 { margin: 0 0 10px; font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.doc .meta { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 12.5px; color: #8f959e; }
.doc h2 { margin: 24px 0 10px; font-size: 17px; font-weight: 600; }
.doc p, .doc li { margin: 0 0 8px; font-size: 14.5px; line-height: 1.75; }
.doc ul { margin: 0; padding-left: 20px; }
.doc .callout { display: flex; gap: 10px; padding: 12px 14px; border-radius: 8px; background: #f0f4ff; font-size: 13.5px; line-height: 1.65; }
.dtable { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; border-radius: 8px; box-shadow: 0 0 0 1px #dee0e3; font-size: 14px; }
.dtable th, .dtable td { height: 42px; padding: 0 14px; box-shadow: inset -1px -1px 0 #eff0f1; text-align: left; }
.dtable tr:last-child th, .dtable tr:last-child td { box-shadow: inset -1px 0 0 #eff0f1; }
.dtable th { width: 150px; background: #f5f6f7; font-weight: 500; color: #646a73; }
.dtable td b { font-weight: 600; }
.dtable .empty { color: #bbbfc4; }
.dtable .filled { color: #1f2329; animation: insIn .9s var(--soft) both; }
.scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
/* 读页面：一条细的蓝色扫描线自上而下，不用流光渐变 */
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(10, 132, 255, .55); box-shadow: 0 0 0 4px rgba(10, 132, 255, .08); }
.scan.on { animation: scan 1.5s var(--soft) both; }
.scan.on::after { animation: scanLine 1.5s var(--soft) both; }
@keyframes scan { 0%, 85% { opacity: 1; background: rgba(10, 132, 255, .04); } 100% { opacity: 0; } }
@keyframes scanLine { from { top: 0; } to { top: calc(100% - 2px); } }

/* ================================================================ Mail */
.ml { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; }
.ml .tb { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .05); }
.ml-sendb { display: flex; align-items: center; justify-content: center; width: 36px; height: 30px; margin-left: 4px; border-radius: 15px; background: rgba(118, 118, 128, .1); color: rgba(0, 0, 0, .3); transition: background .25s, color .25s; }
.ml-sendb svg.ic { width: 16px; height: 16px; }
.ml:has(.fld.has) .ml-sendb { background: var(--accent); color: #fff; }
.ml-fields { padding: 0 22px; }
.ml-f { display: flex; align-items: center; gap: 6px; height: 38px; box-shadow: inset 0 -1px 0 rgba(60, 60, 67, .09); font-size: 13px; }
.ml-k { width: 54px; color: rgba(60, 60, 67, .55); }
.ml-addr { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; background: rgba(0, 122, 255, .1); font-weight: 500; color: var(--accent); }
.ml-mail { font-size: 12px; color: var(--ink3); }
.ml-body { flex: 1; padding: 18px 24px; overflow: hidden; font-size: 14px; line-height: 1.72; }
.ml-pre { color: var(--ink); }
.ml-text { min-height: 24px; }
.ml-att { display: flex; gap: 10px; margin: 12px 0 4px; }
.ml-att:empty { margin: 0; }
.att { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 10px; border-radius: 12px; background: rgba(118, 118, 128, .08); }
.att b { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; }
.att span { display: block; font-size: 11.5px; line-height: 1.3; color: var(--ink2); }
.ml-sig { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--ink2); }
.ml-quote { margin-top: 16px; padding-left: 12px; box-shadow: inset 2px 0 0 rgba(0, 122, 255, .35); font-size: 12.5px; line-height: 1.6; color: var(--ink2); }
.ml-sent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, .97); opacity: 0; pointer-events: none; transition: opacity .45s; }
.ml-sent b { font-size: 17px; font-weight: 600; }
.ml-sent span { font-size: 12.5px; color: var(--ink2); }
.ml-sent-ic { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; }
.ml-sent-ic svg.ic { width: 26px; height: 26px; }
.ml.sent .ml-sent { opacity: 1; }
.ml.sent .ml-sent-ic { animation: sendIc .7s var(--spring) both; }
@keyframes sendIc { from { transform: scale(.4) translate(-20px, 20px); opacity: 0; } }

/* ================================================================ Safari-style */
.sf { display: flex; flex-direction: column; height: 100%; background: #fff; }
.sf-tb { display: flex; align-items: center; gap: 10px; height: 52px; flex: none; padding: 0 12px 0 20px; }
.sf-nav { display: flex; gap: 10px; color: rgba(0, 0, 0, .38); }
.sf-nav svg.ic { width: 16px; height: 16px; stroke-width: 2; }
.sf-url { display: flex; align-items: center; justify-content: center; gap: 6px; width: 400px; height: 32px; margin-left: 20px; border-radius: 16px; background: rgba(118, 118, 128, .1); font-size: 13px; color: rgba(0, 0, 0, .78); }
.sf-url svg.ic { width: 12px; height: 12px; color: rgba(0, 0, 0, .45); }
.sf-tabs { display: flex; gap: 6px; flex: none; padding: 0 12px 8px; }
.sf-tab { display: flex; flex: 1; align-items: center; justify-content: center; gap: 6px; height: 28px; border-radius: 14px; background: rgba(118, 118, 128, .06); font-size: 12px; color: rgba(0, 0, 0, .5); }
.sf-tab svg.ic { width: 13px; height: 13px; }
.sf-tab.on { background: rgba(118, 118, 128, .15); font-weight: 500; color: rgba(0, 0, 0, .85); }
.sf-page { flex: 1; padding: 30px 60px; overflow: hidden; background: #fbfbfa; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .06); font-family: "New York", "Iowan Old Style", Georgia, "Songti SC", serif; color: #232323; }
.lg h1 { margin: 0 0 6px; font: 700 25px/1.25 var(--font); letter-spacing: -.015em; }
.lg .sub { margin-bottom: 22px; font: 12.5px var(--font); color: #8a8a8e; }
.lg h3 { margin: 22px 0 6px; font: 600 14.5px var(--font); }
.lg p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.72; }
.lg .hs { border-radius: 2px; transition: background .25s; }
.lg .hs.on { background: rgba(0, 122, 255, .22); }

/* ================================================================ Finder */
.fd { display: flex; height: 100%; background: #fff; }
.fd-side { width: 190px; }
.fd-si { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 7px; font-size: 13px; color: rgba(0, 0, 0, .82); transition: background .3s; }
.fd-si svg.ic { width: 16px; height: 16px; color: var(--accent); }
.fd-si.sel { background: rgba(0, 0, 0, .075); }
.fd-si.flash { animation: siFlash 1.1s var(--soft); }
@keyframes siFlash { 25% { background: rgba(0, 122, 255, .24); transform: scale(1.03); } }
.tagdot { width: 10px; height: 10px; margin: 0 3px; border-radius: 50%; }
.fd-main2 { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.fd-tb { padding-left: 18px; }
.fd-tb .tbb.glassy { margin: 0; padding: 0 10px; gap: 10px; height: 30px; border-radius: 15px; display: inline-flex; }
.fd-grid { display: grid; flex: 1; grid-template-columns: repeat(auto-fill, 108px); grid-auto-rows: 108px; align-content: start; gap: 4px; padding: 10px 18px; }
.fi-item { display: flex; flex-direction: column; align-items: center; gap: 5px; padding-top: 6px; transition: transform .6s var(--soft), opacity .5s; }
.fi-item > svg { padding: 3px; border-radius: 7px; }
.fi-item.sel > svg { background: rgba(0, 0, 0, .075); }
.fi-n { max-width: 100px; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; line-height: 1.32; text-align: center; word-break: break-all; color: #1d1d1f; }
.fi-item.sel .fi-n { background: var(--accent); color: #fff; }
.fi-item.new { animation: fileDrop .7s var(--spring) both; }
@keyframes fileDrop { from { opacity: 0; transform: translateY(-26px) scale(.7); } }
.fi-item.renamed .fi-n { animation: insIn 1s var(--soft); }
.fd-foot { display: flex; align-items: center; justify-content: center; height: 28px; flex: none; box-shadow: inset 0 1px 0 rgba(0, 0, 0, .05); font-size: 11.5px; color: var(--ink2); }
.dl-badge { position: absolute; }

/* ================================================================ Terminal */
.win.dark { background: rgba(26, 26, 29, .96); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .6), inset 0 0 0 .5px rgba(255, 255, 255, .12), 0 30px 70px -14px rgba(10, 15, 40, .5); }
.term { display: flex; flex-direction: column; height: 100%; color: #e4e4e7; }
.term-tb { position: relative; display: flex; align-items: center; justify-content: center; height: 36px; flex: none; }
.term-tb .tl { position: absolute; left: 14px; top: 12px; }
.term-title { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.term-body { flex: 1; padding: 6px 18px; overflow: hidden; font: 12.5px/1.66 var(--mono); white-space: pre-wrap; }
.term-body .fld .caret, .term-body .tcur { display: inline-block; width: .6em; height: 1.2em; margin: 0; vertical-align: -.22em; border-radius: 0; background: rgba(255, 255, 255, .8); }
.t-p { color: #6fd18f; }
.t-b { color: #b48ef0; }
.t-e { color: #ff7b72; }
.t-u { color: #ff7b72; }
.t-d, .dim { color: rgba(255, 255, 255, .42); }
.t-y { color: #f2cc60; }
.t-sel { border-radius: 2px; transition: background .25s; }
.t-sel.on { background: rgba(70, 130, 255, .5); }
.term .gh { color: rgba(255, 255, 255, .34); }
.term .gh .kh-g { background: rgba(255, 255, 255, .14); }
.term .gh .kh-g svg.ic { color: rgba(255, 255, 255, .7); }
.term .ins.flash { animation: insInD .9s var(--soft) both; }
@keyframes insInD { from { color: rgba(255, 255, 255, .35); background: rgba(10, 132, 255, .3); } }
.term.agent .term-body { padding-top: 14px; font-size: 13px; line-height: 1.7; white-space: normal; }
.term.agent .ag-l, .term.agent .ag-ans { white-space: pre-wrap; }
.ag-box { display: inline-block; margin: 8px 0 10px; padding: 10px 18px 10px 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px #c96f52; }
.ag-star { color: #d97757; }
.t-ok { color: #6fd18f; }
.ag-in { margin-top: 14px; padding: 8px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.ag-in .t-d { margin-right: 6px; }
.ag-l { min-height: 1.7em; }
.ag-tool b { font-weight: 600; color: #fff; }
.ag-dot { color: #6fd18f; }
.ag-res { margin: 2px 0 6px 6px; padding-left: 14px; box-shadow: inset 2px 0 0 rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .78); }
.ag-k { display: inline-block; width: 74px; color: #82aaff; }
.ag-ans { margin-top: 8px; color: #f0f0f2; }
.ag-ans b { color: #fff; }
.ag-l.in, .ag-res.in { animation: fadeUp .4s var(--soft) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } }

/* ================================================================ System Settings */
.st { display: flex; height: 100%; background: #fff; }
.st-side { width: 226px; overflow: hidden; }
.st-search { display: flex; align-items: center; gap: 6px; height: 28px; margin-bottom: 10px; padding: 0 9px; border-radius: 8px; background: rgba(118, 118, 128, .12); font-size: 12.5px; color: var(--ink2); }
.st-search svg.ic { width: 13px; height: 13px; }
.st-acct { display: flex; align-items: center; gap: 9px; padding: 4px 6px 10px; }
.st-acct div b { display: block; font-size: 13px; }
.st-acct div span { display: block; font-size: 11px; color: var(--ink2); }
.st-si { display: flex; align-items: center; gap: 8px; height: 27px; padding: 0 6px; border-radius: 7px; font-size: 13px; }
.st-si.sel { background: var(--accent); color: #fff; }
.st-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; border-radius: 5.5px; color: #fff; }
.st-ic svg.ic { width: 13px; height: 13px; stroke-width: 1.9; }
.st-ic.sm { width: 22px; height: 22px; border-radius: 6px; }
.st-ic.big { width: 56px; height: 56px; border-radius: 14px; }
.st-ic.big svg.ic { width: 32px; height: 32px; stroke-width: 1.5; }
.st-ic.big2 { width: 44px; height: 44px; border-radius: 11px; }
.st-ic.big2 svg.ic { width: 24px; height: 24px; }
.st-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.st-main.in { animation: slideL .4s var(--soft); }
.st-hd { display: flex; align-items: center; gap: 14px; height: 52px; flex: none; padding: 0 22px; }
.st-hd b { font-size: 15px; }
.st-pane { flex: 1; padding: 4px 28px 20px; overflow: hidden; }
.st-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 40px 18px; text-align: center; }
.st-hero b { font-size: 17px; }
.st-hero p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink2); }
.st-grp { margin-bottom: 14px; padding: 0 12px; border-radius: 10px; background: rgba(118, 118, 128, .07); }
.st-row { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 7px 0; box-shadow: inset 0 -1px 0 rgba(60, 60, 67, .08); font-size: 13px; }
.st-row:last-child { box-shadow: none; }
.st-row > span:first-of-type, .st-row > div { flex: 1; }
.st-row > svg.ic { width: 13px; height: 13px; color: var(--ink3); stroke-width: 2.2; }
.st-row.tall { min-height: 64px; }
.st-row b { display: block; font-size: 13.5px; }
.st-row small, .st-row div > span + span { display: block; margin-top: 1px; font-size: 11.5px; color: var(--ink2); }
.st-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); font: 600 11px/18px var(--font); text-align: center; color: #fff; font-style: normal; flex: none !important; }
.st-btn { flex: none !important; height: 26px; padding: 0 12px; border-radius: 13px; background: rgba(118, 118, 128, .14); font-size: 12.5px; font-weight: 500; line-height: 26px; }
.st-val { flex: none !important; color: var(--ink2); }
.st-note { margin: 0; text-align: center; font-size: 11.5px; color: var(--ink3); }
.tgl { position: relative; flex: none !important; width: 38px; height: 22px; border-radius: 11px; background: rgba(120, 120, 128, .26); transition: background .25s; }
.tgl i { position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .28); transition: transform .35s var(--spring); }
.tgl.on { background: var(--accent); }
.tgl.on i { transform: translateX(16px); }

/* ================================================================ Reminders */
.rm { display: flex; height: 100%; background: #fff; }
.rm-side { width: 214px; }
.rm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 4px; }
.rm-tile { position: relative; height: 58px; padding: 7px 8px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .05); }
.rm-tile i, .rm-li i { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; }
.rm-tile i svg.ic, .rm-li i svg.ic { width: 12px; height: 12px; stroke-width: 2.2; }
.rm-tile b { position: absolute; right: 9px; top: 6px; font-size: 18px; font-weight: 700; }
.rm-tile span { display: block; margin-top: 5px; font-size: 11.5px; font-weight: 600; color: var(--ink2); }
.rm-li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px; border-radius: 7px; font-size: 13px; }
.rm-li em { margin-left: auto; font-style: normal; color: var(--ink2); }
.rm-li.sel { background: rgba(0, 0, 0, .07); }
.rm-main { flex: 1; min-width: 0; padding: 18px 26px; }
.rm-main h2 { margin: 26px 0 10px; font-size: 26px; font-weight: 700; color: #ff9500; }
.rm-it { display: flex; gap: 10px; padding: 9px 0; box-shadow: inset 0 -1px 0 rgba(60, 60, 67, .08); }
.rm-c { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(60, 60, 67, .3); }
.rm-t { min-height: 20px; font-size: 13.5px; }
.rm-d { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 11.5px; color: var(--ink2); }
.rm-d .due { color: var(--red); }
.rm-it.new { animation: popIn .45s var(--spring) both; }
.rm-it.done .rm-c { background: #ff9500; box-shadow: none; }
.rm-it.done .rm-t { color: var(--ink2); }

/* ================================================================ Tab main window */
.th { display: flex; height: 100%; background: #f6f6f8; }
.th-side { display: flex; flex-direction: column; width: 206px; padding-top: 46px; }
.th-brand { display: flex; align-items: center; gap: 8px; padding: 2px 6px 14px; }
.th-brand .appic { width: 28px; height: 28px; }
.th-brand b { font-size: 15px; }
.th-ni { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 8px; border-radius: 8px; font-size: 13.5px; color: rgba(0, 0, 0, .8); }
.th-ni svg.ic { color: var(--accent); }
.th-ni svg.ic path[fill] { fill: currentColor; }
.th-ni.sel { background: rgba(0, 0, 0, .07); font-weight: 500; }
.th-priv { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 8px; font-size: 11.5px; color: var(--ink2); }
.th-priv i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(52, 199, 89, .2); }
.th-main { flex: 1; min-width: 0; padding: 18px 28px; overflow: hidden; }
.th-hd { display: flex; align-items: flex-end; justify-content: space-between; margin: 16px 0 18px; }
.th-hd h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.015em; }
.th-hd p { margin: 4px 0 0; font-size: 13px; color: var(--ink2); }
.th-week { height: 26px; padding: 0 12px; border-radius: 13px; background: rgba(118, 118, 128, .1); font-size: 12px; font-weight: 500; line-height: 26px; color: var(--ink2); }
.th-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.th-st, .th-card { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .05), 0 1px 3px rgba(0, 0, 0, .04); }
.th-st span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink2); }
.th-st span svg.ic { width: 14px; height: 14px; color: var(--accent); }
.th-st b { display: block; margin: 10px 0 5px; font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.th-st b em { font-style: normal; }
.th-st b i { margin-left: 3px; font-size: 15px; font-weight: 600; font-style: normal; color: var(--ink2); }
.th-st small { font-size: 11.5px; color: var(--ink2); }
.th-st.acc b, .th-st.acc b i { color: var(--accent); }
.th-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; margin-bottom: 12px; }
.th-ct { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.th-ct b { font-size: 13.5px; }
.th-ct > span svg.ic { width: 14px; height: 14px; color: var(--ink3); }
.th-sample { height: 20px; padding: 0 8px; border-radius: 10px; background: rgba(255, 149, 0, .12); font-size: 11px; font-weight: 500; line-height: 20px; color: #b25f00; }
.th-learn .th-sample { background: rgba(118, 118, 128, .1); color: var(--ink2); }
.th-svg { display: block; width: 100%; height: 196px; overflow: visible; }
.th-svg .gl { stroke: rgba(60, 60, 67, .09); stroke-width: 1; }
.th-svg .ax { font-size: 10.5px; fill: rgba(60, 60, 67, .4); }
.th-svg .ax.mid { text-anchor: middle; }
.th-svg .line { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: var(--draw, 0); }
.th-svg .area { opacity: var(--area, 1); }
.th-svg .pt { fill: #fff; stroke: var(--accent); stroke-width: 2; opacity: var(--area, 1); }
.th-svg .pt.last { fill: var(--accent); }
.th-svg .lb { font-size: 12px; font-weight: 600; fill: rgba(60, 60, 67, .55); }
.th-svg .lb.acc { fill: var(--accent); opacity: var(--area, 1); }
.th-p { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.th-p div b { display: block; font-size: 13px; }
.th-p div span { display: block; font-size: 11.5px; color: var(--ink2); }
.th-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; }

/* ================================================================ widgets */
.wg-t { font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #ff3b30; }
.wg-day { margin: 2px 0 8px; font-size: 30px; font-weight: 300; line-height: 1; }
.ev { display: flex; gap: 8px; padding: 4px 0; }
.ev i { flex: none; width: 3px; border-radius: 2px; background: var(--c); }
.ev b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.ev span { display: block; font-size: 11px; line-height: 1.3; color: var(--ink2); }
.wg-w { color: #fff; background: #4a83e6 !important; }
.wg-w .city { font-size: 13px; font-weight: 600; }
.wg-w .deg { margin: 2px 0 10px; font-size: 40px; font-weight: 300; line-height: 1; }
.wg-w small { display: block; font-size: 11.5px; opacity: .9; }

/* ================================================================ mini screenshot (clipboard image card) */
.mshot { height: 100%; padding: 6px 7px; background: #f5f5f5; font-size: 7.6px; line-height: 1.35; color: #191919; }
.ms-hd { margin-bottom: 5px; padding-bottom: 4px; box-shadow: inset 0 -.5px 0 #ddd; font-weight: 600; }
.ms-m { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 5px; }
.ms-m i { width: 11px; height: 11px; flex: none; border-radius: 2.5px; background: #4f8ff7; }
.ms-m span { padding: 3px 5px; border-radius: 3px; background: #fff; }
.ms-m.me { justify-content: flex-end; }
.ms-m.me span { background: #95ec69; }
.ms-m.me i { background: #6e7cf5; }
