:root{--bg:#fbf6f0;--surface:#fff;--surface-2:#f5ede4;--ink:#2a221d;--ink-2:#5c5048;--muted:#857669;--border:#eadfd3;--accent:#d95f2e;--accent-ink:#fff;--accent-soft:#fbe3d6;--teal:#2f6f62;--teal-soft:#dcefe9;--danger:#b3261e;--danger-soft:#fbe2df;--warn-soft:#fff1cc;--warn-ink:#6b4d00;--focus:#1f6feb;--shadow:0 1px 2px #3c28140f, 0 6px 20px #3c281412;--radius:18px;--radius-sm:12px;--tabbar-h:68px;--player-h:0px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#1c1815;--surface:#26201c;--surface-2:#302823;--ink:#f4ece5;--ink-2:#d6c9be;--muted:#a8988b;--border:#3b322c;--accent:#f08254;--accent-ink:#1c1815;--accent-soft:#4a2c1f;--teal:#7cc7b5;--teal-soft:#1f3a34;--danger:#ff8a80;--danger-soft:#4a2420;--warn-soft:#4a3b12;--warn-ink:#ffe08a;--focus:#8ab4ff;--shadow:0 1px 2px #0000004d, 0 6px 20px #00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;margin:0;font-family:ui-rounded,SF Pro Rounded,Segoe UI Variable Text,Segoe UI,system-ui,-apple-system,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:8px}.sr-only{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.shell{min-height:100dvh;display:flex}.sidebar{display:none}.main{min-width:0;padding:0 16px calc(var(--tabbar-h) + var(--player-h) + 32px + env(safe-area-inset-bottom));flex:1}.page{max-width:760px;margin:0 auto}.topbar{padding:18px 0 8px;padding-top:max(18px, env(safe-area-inset-top));justify-content:space-between;align-items:center;gap:12px;display:flex}.brand{letter-spacing:-.01em;align-items:center;gap:10px;font-size:1.1rem;font-weight:700;display:flex}.brand img{width:32px;height:32px}h1{letter-spacing:-.02em;margin:12px 0 4px;font-size:1.7rem;line-height:1.2}h2{margin:0 0 6px;font-size:1.15rem}h3{margin:0 0 4px;font-size:1rem}p{margin:0 0 10px}.lede{color:var(--ink-2);margin-bottom:18px}.muted{color:var(--muted)}.small{font-size:.875rem}.section{margin:22px 0}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.card+.card{margin-top:12px}.hero{background:linear-gradient(135deg, var(--accent-soft), var(--teal-soft));border:none;padding:22px}.hero h2{font-size:1.3rem}.stack{flex-direction:column;gap:10px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.spacer{flex:1}.btn{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:10px 18px;font-weight:600;text-decoration:none;transition:transform 80ms,background .15s;display:inline-flex}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn-teal{background:var(--teal);border-color:var(--teal);color:#fff}@media (prefers-color-scheme:dark){.btn-teal{color:#10201c}}.btn-ghost{background:0 0;border-color:#0000}.btn-danger{color:var(--danger);border-color:var(--danger);background:0 0}.btn-lg{min-height:54px;padding:14px 24px;font-size:1.08rem}.btn-sm{min-height:36px;padding:6px 12px;font-size:.9rem}.btn-block{width:100%}.icon-btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.icon-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);width:52px;height:52px}svg.icon{flex-shrink:0;width:22px;height:22px}.badge{background:var(--surface-2);color:var(--ink-2);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:2px 10px;font-size:.8rem;font-weight:600;display:inline-flex}.badge .dot{border-radius:50%;width:8px;height:8px}.badge-ai{background:var(--teal-soft);color:var(--teal)}.badge-demo{background:var(--warn-soft);color:var(--warn-ink)}.notice{border-radius:var(--radius-sm);background:var(--surface-2);color:var(--ink-2);padding:12px 14px;font-size:.95rem}.notice-warn{background:var(--warn-soft);color:var(--warn-ink)}.notice-error{background:var(--danger-soft);color:var(--danger)}.notice-ok{background:var(--teal-soft);color:var(--teal)}.notice strong{margin-bottom:2px;display:block}.mail-list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);margin:0;padding:0;list-style:none;overflow:hidden}.mail-row{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;gap:12px;width:100%;padding:14px 16px;display:flex}.mail-list li:last-child .mail-row{border-bottom:0}.mail-row:hover{background:var(--surface-2)}.avatar{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-weight:700;display:flex}.mail-body{flex:1;min-width:0}.mail-top{align-items:baseline;gap:8px;display:flex}.mail-from{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.unread .mail-from,.unread .mail-subject{font-weight:800}.mail-time{color:var(--muted);flex-shrink:0;font-size:.85rem}.mail-subject{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mail-snippet{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.mail-meta{margin-top:4px}.chips{scrollbar-width:none;gap:8px;padding:2px 2px 8px;display:flex;overflow-x:auto}.chip{border:1px solid var(--border);background:var(--surface);cursor:pointer;white-space:nowrap;border-radius:999px;align-items:center;gap:8px;min-height:40px;padding:8px 14px;font-weight:600;display:inline-flex}.chip[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}.chip .count{font-variant-numeric:tabular-nums;opacity:.75}.cat-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.cat-tile{text-align:left;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);cursor:pointer;flex-direction:column;gap:4px;min-height:84px;padding:14px;display:flex}.cat-tile[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:-1px}.cat-tile .n{font-variant-numeric:tabular-nums;font-size:1.6rem;font-weight:800;line-height:1}label.field{flex-direction:column;gap:6px;font-weight:600;display:flex}.input,textarea.input{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;padding:10px 14px}textarea.input{resize:vertical;min-height:70px}.check{cursor:pointer;align-items:flex-start;gap:12px;padding:10px 0;display:flex}.check input{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0;margin-top:2px}.toggle-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.toggle-row:last-child{border-bottom:0}.switch{appearance:none;background:var(--border);cursor:pointer;border-radius:999px;flex-shrink:0;width:52px;height:32px;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:26px;height:26px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}.switch:checked{background:var(--teal)}.switch:checked:after{transform:translate(20px)}.segmented{border:1px solid var(--border);background:var(--surface-2);border-radius:999px;padding:3px;display:inline-flex}.segmented button{cursor:pointer;background:0 0;border:0;border-radius:999px;min-height:36px;padding:6px 14px;font-weight:600}.segmented button[aria-pressed=true]{background:var(--surface);box-shadow:var(--shadow)}input[type=range]{accent-color:var(--accent);width:100%}.voice-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.voice-item{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);align-items:center;gap:12px;padding:12px 14px;display:flex}.voice-item.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.voice-item .info{flex:1;min-width:0}.voice-item .name{font-weight:700}.voice-item .desc{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.script{background:var(--surface-2);border-radius:var(--radius-sm);max-height:260px;padding:16px;font-size:1.08rem;line-height:1.7;overflow-y:auto}.rec-panel{flex-direction:column;align-items:center;gap:12px;padding:18px 0 8px;display:flex}.rec-time{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:2.4rem;font-weight:800}.rec-button{background:var(--accent);width:84px;height:84px;color:var(--accent-ink);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;display:flex;box-shadow:0 6px 18px #d95f2e59}.rec-button.recording{background:var(--danger);animation:1.6s infinite pulse}@keyframes pulse{0%,to{box-shadow:0 0 #b3261e66}50%{box-shadow:0 0 0 14px #b3261e00}}.meter{background:var(--surface-2);border-radius:999px;width:100%;max-width:320px;height:8px;overflow:hidden}.meter>div{background:var(--teal);height:100%;transition:width 80ms linear}.progress{background:var(--surface-2);border-radius:999px;width:100%;height:8px;overflow:hidden}.progress>div{background:var(--accent);height:100%;transition:width .2s}.progress.indeterminate>div{width:35%;animation:1.2s ease-in-out infinite slide}@keyframes slide{0%{transform:translate(-100%)}to{transform:translate(300%)}}.steps{gap:6px;margin:8px 0 16px;display:flex}.steps span{background:var(--border);border-radius:999px;flex:1;height:5px}.steps span.on{background:var(--accent)}.player{left:0;right:0;bottom:calc(var(--tabbar-h) + env(safe-area-inset-bottom));z-index:60;pointer-events:none;padding:0 10px 10px;position:fixed}.player-inner{pointer-events:auto;background:var(--surface);border:1px solid var(--border);border-radius:22px;max-width:760px;margin:0 auto;padding:12px 14px;box-shadow:0 10px 40px #28190a38}.player-top{align-items:center;gap:12px;display:flex}.player-title{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.player-status{color:var(--muted);font-size:.875rem}.player-meta{flex:1;min-width:0}.player-scrub{color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;gap:10px;margin-top:8px;font-size:.8rem;display:flex}.transcript{background:var(--surface-2);border-radius:var(--radius-sm);white-space:pre-wrap;max-height:34vh;margin-top:10px;padding:12px 14px;font-size:.98rem;overflow-y:auto}.tabbar{height:calc(var(--tabbar-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);z-index:30;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar button{color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.78rem;font-weight:600;display:flex}.tabbar button[aria-current=page]{color:var(--accent)}.overlay{z-index:50;background:#140c0673;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);width:100%;max-width:640px;max-height:92dvh;padding:20px 18px calc(24px + var(--player-h) + var(--tabbar-h) + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;overflow-y:auto;box-shadow:0 -10px 40px #0003}.sheet-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;display:flex}.message-body{white-space:pre-wrap;word-wrap:break-word;line-height:1.6}.skeleton{background:linear-gradient(90deg, var(--surface-2), var(--border), var(--surface-2));background-size:200% 100%;border-radius:8px;height:14px;animation:1.3s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.signin{justify-content:center;align-items:center;min-height:100dvh;padding:24px 16px;display:flex}.signin .card{width:100%;max-width:440px;padding:28px 24px}.signin-logo{width:64px;height:64px;margin-bottom:8px}.google-btn{color:#1f1f1f;background:#fff;border:1px solid #dadce0}.status-grid{grid-template-columns:auto 1fr;align-items:center;gap:6px 14px;display:grid}.hero-top{margin-top:4px}.hero-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.hero-titles{min-width:0}.hero-greeting{margin:0;font-size:1.55rem}.hero-sub{color:var(--ink-2);margin:2px 0 0}.hero-cta{flex-shrink:0}.hero-help{color:var(--ink-2);margin:12px 0 14px;font-size:.95rem}@media (width<=520px){.hero-cta{width:100%}}.voice-picker{flex-direction:column;gap:6px;display:flex}.voice-picker-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.voice-picker-label{white-space:nowrap;align-items:center;gap:6px;font-weight:600;display:inline-flex}.voice-picker select{flex:1;width:auto;min-width:180px}.voice-picker .btn-ghost{align-self:flex-start;padding-left:0}.demo-steps{gap:8px;margin:10px 0 0;padding-left:22px;display:grid}.demo-steps li{padding-left:4px}.demo-steps li>span{margin-right:8px}.page.page-wide{max-width:1240px}.mail-frame{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.mf-top{border-bottom:1px solid var(--border);background:var(--surface-2);align-items:center;gap:12px;padding:10px 14px;display:flex}.mf-flat{background:0 0;border:0}.mf-wordmark{letter-spacing:-.02em;color:var(--ink-2);font-size:1.2rem;font-weight:800}.mf-search{background:var(--surface);border-radius:999px;flex:1;max-width:560px}.mf-avatar{width:34px;height:34px;margin-left:auto;font-size:.85rem}.mf-body{grid-template-columns:1fr;display:grid}.mf-rail{display:none}.mf-main{border-bottom:1px solid var(--border);min-width:0}.mf-toolbar{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:6px 10px;display:flex}.mf-list{margin:0;padding:0;list-style:none}.mf-row{border:0;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;background:0 0;grid-template-columns:1fr auto;grid-template-areas:"from time""subject subject";gap:2px 10px;width:100%;padding:10px 14px;display:grid}.mf-row:hover{background:var(--surface-2)}.mf-from{text-overflow:ellipsis;white-space:nowrap;grid-area:from;overflow:hidden}.mf-time{color:var(--muted);grid-area:time;font-size:.85rem}.mf-subject{text-overflow:ellipsis;white-space:nowrap;grid-area:subject;min-width:0;overflow:hidden}.mf-row.unread .mf-from,.mf-row.unread .mf-subject-text{font-weight:800}.mf-snippet{color:var(--muted)}.mf-label{margin-right:6px;padding:0 8px;font-size:.72rem}.mf-empty{color:var(--muted);padding:24px}.mf-read{padding:14px 18px 22px}.mf-read-subject{margin-top:8px;font-size:1.35rem}.mf-addon{background:var(--bg);flex-direction:column;gap:14px;padding:16px;display:flex}.mf-addon-head{align-items:center;gap:8px;font-weight:800;display:flex}.mf-addon-head img{width:26px;height:26px}.mf-addon .voice-picker-row{flex-direction:column;align-items:stretch;gap:6px}.mf-addon .voice-picker select{width:100%;min-width:0}.mf-panel-player{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px}.mf-transcript{max-height:220px;font-size:.92rem}.mf-panel-hint{margin:0}.mf-rail-item .dot,.mf-label .dot{border-radius:50%;width:8px;height:8px;display:inline-block}@media (width>=1100px){.mf-body{grid-template-columns:180px minmax(0,1fr) 300px;min-height:560px}.mf-main{border-bottom:0;border-right:1px solid var(--border)}.mf-rail{border-right:1px solid var(--border);flex-direction:column;gap:2px;padding:12px 8px;display:flex}.mf-compose{background:var(--accent-soft);cursor:default;border-color:#0000;align-self:flex-start;margin:0 6px 10px}.mf-rail-item{cursor:pointer;text-align:left;color:var(--ink-2);background:0 0;border:0;border-radius:0 999px 999px 0;align-items:center;gap:10px;padding:7px 10px;font-size:.92rem;display:flex}.mf-rail-item svg.icon{width:18px;height:18px}.mf-rail-item.on{background:var(--accent-soft);color:var(--accent);font-weight:700}.mf-rail-item.off{cursor:default;opacity:.6}.mf-count{font-variant-numeric:tabular-nums;margin-left:auto;font-size:.8rem}.mf-rail-head{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:14px 10px 4px;font-size:.78rem;font-weight:700}.mf-row{grid-template-columns:130px minmax(0,1fr) auto;grid-template-areas:"from subject time";align-items:center}.mf-addon{border-left:0}}@media (width>=900px){:root{--tabbar-h:0px}.tabbar{display:none}.sidebar{border-right:1px solid var(--border);flex-direction:column;gap:6px;width:232px;height:100dvh;padding:22px 14px;display:flex;position:sticky;top:0}.sidebar .brand{padding:0 10px 18px}.sidebar button{color:var(--ink-2);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;font-weight:600;display:flex}.sidebar button[aria-current=page]{background:var(--accent-soft);color:var(--accent)}.main{padding-left:32px;padding-right:32px}.topbar .brand{display:none}.player{padding-bottom:16px;bottom:0;left:232px}.overlay{align-items:center}.sheet{border-radius:24px;max-height:86dvh;padding-bottom:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
