:root,[data-theme=black-cherry-blossom]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0e0e11;--color-surface:#17171b;--color-surface-elevated:#1f1f24;--color-text-primary:#f5f3f4;--color-text-secondary:#9c97a0;--color-accent:#f0a8c4;--color-accent-hover:#e88fb3;--color-border:#2a2a30;--color-accent-fill:#f0a8c4;--color-accent-fill-hover:#e88fb3;--color-accent-on:#0e0e11;--color-border-strong:#69666e}[data-theme=black-redstone]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0e0e11;--color-surface:#17171b;--color-surface-elevated:#1f1f24;--color-text-primary:#f5f3f2;--color-text-secondary:#9c9490;--color-accent:#d14b33;--color-accent-hover:#b93e29;--color-border:#2a2a30;--color-accent-fill:#b93e29;--color-accent-fill-hover:#9d3523;--color-accent-on:#fff;--color-border-strong:#696465}[data-theme=white-emerald]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#fafaf8;--color-surface:#fff;--color-surface-elevated:#f1f3f0;--color-text-primary:#17191a;--color-text-secondary:#5c6360;--color-accent:#1f9d6e;--color-accent-hover:#18845c;--color-border:#e2e5e1;--color-accent-fill:#18845c;--color-accent-fill-hover:#14704e;--color-accent-on:#fff;--color-border-strong:#989e9a;--color-error-text:#b73a3e;--color-success-text:#22734c}[data-theme=black-amethyst]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0e0e12;--color-surface:#18171c;--color-surface-elevated:#201f26;--color-text-primary:#f4f3f6;--color-text-secondary:#9a96a3;--color-accent:#9b72d6;--color-accent-hover:#8459c4;--color-border:#2a2930;--color-accent-fill:#8459c4;--color-accent-fill-hover:#704ca7;--color-accent-on:#fff;--color-border-strong:#68656f}[data-theme=white-sapphire]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#f9fafb;--color-surface:#fff;--color-surface-elevated:#eff3f8;--color-text-primary:#16191d;--color-text-secondary:#5b636c;--color-accent:#2e67d6;--color-accent-hover:#2554b3;--color-border:#e0e5eb;--color-accent-fill:#2e67d6;--color-accent-fill-hover:#2554b3;--color-accent-on:#fff;--color-border-strong:#979ea5;--color-error-text:#b73a3e;--color-success-text:#22734c}[data-theme=black-marigold]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#100e0d;--color-surface:#1a1715;--color-surface-elevated:#221e1b;--color-text-primary:#f6f2ed;--color-text-secondary:#a39a8f;--color-accent:#e8a43d;--color-accent-hover:#cc8e2e;--color-border:#2e2a25;--color-accent-fill:#e8a43d;--color-accent-fill-hover:#cc8e2e;--color-accent-on:#100e0d;--color-border-strong:#6e685f}[data-theme=white-rosewood]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#faf8f8;--color-surface:#fff;--color-surface-elevated:#f3ecec;--color-text-primary:#1b1516;--color-text-secondary:#665b5c;--color-accent:#9c4a5c;--color-accent-hover:#833c4b;--color-border:#e7dddd;--color-accent-fill:#9c4a5c;--color-accent-fill-hover:#833c4b;--color-accent-on:#fff;--color-border-strong:#a09696;--color-error-text:#b73a3e;--color-success-text:#22734c}[data-theme=black-glacier]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0c1012;--color-surface:#151a1d;--color-surface-elevated:#1c2226;--color-text-primary:#f1f6f7;--color-text-secondary:#93a3a8;--color-accent:#57c7d0;--color-accent-hover:#43adb6;--color-border:#263135;--color-accent-fill:#57c7d0;--color-accent-fill-hover:#43adb6;--color-accent-on:#0c1012;--color-border-strong:#627074}[data-theme=white-obsidian]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#fbfbfb;--color-surface:#fff;--color-surface-elevated:#ededed;--color-text-primary:#141414;--color-text-secondary:#5e5e5e;--color-accent:#2b2b33;--color-accent-hover:#1c1c22;--color-border:#e4e4e4;--color-accent-fill:#2b2b33;--color-accent-fill-hover:#1c1c22;--color-accent-on:#fff;--color-border-strong:#9a9a9a;--color-error-text:#b73a3e;--color-success-text:#22734c}[data-theme=black-gold]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0f0e0a;--color-surface:#19170f;--color-surface-elevated:#211e14;--color-text-primary:#f7f3e8;--color-text-secondary:#a69f87;--color-accent:#d4af37;--color-accent-hover:#b9962c;--color-border:#2e2a1d;--color-accent-fill:#d4af37;--color-accent-fill-hover:#b9962c;--color-accent-on:#0f0e0a;--color-border-strong:#706a57}[data-theme=black-greyscale]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0e0e0e;--color-surface:#171717;--color-surface-elevated:#1f1f1f;--color-text-primary:#f4f4f4;--color-text-secondary:#9b9b9b;--color-accent:#e6e6e6;--color-accent-hover:#cfcfcf;--color-border:#2a2a2a;--color-accent-fill:#e6e6e6;--color-accent-fill-hover:#cfcfcf;--color-accent-on:#0e0e0e;--color-border-strong:#686868}:root{--color-error:#e5484d;--color-success:#30a46c;--color-error-text:#e85a5f;--color-success-text:#30a46c;--color-error-fill:#c33d41;--color-error-on:#fff;--bg:var(--color-bg);--surface:var(--color-surface);--surface-raised:var(--color-surface-elevated);--border:var(--color-border);--border-strong:var(--color-border-strong);--text:var(--color-text-primary);--text-muted:var(--color-text-secondary);--metal:var(--color-accent);--metal-lo:var(--color-accent-fill-hover);--metal-hi:var(--color-accent-hover);--metal-surface:var(--color-accent-fill);--metal-surface-hi:var(--color-accent-fill-hover);--metal-edge:var(--color-accent-fill-hover);--metal-on:var(--color-accent-on);--accent:var(--color-accent);--accent-text:var(--color-accent-on);--bubble-assistant:var(--surface);--radius-sm:8px;--radius:12px;--radius-lg:18px;--radius-pill:999px;--brushed:repeating-linear-gradient(90deg, #ffffff0e 0px, #ffffff0e 1px, #00000008 1px, #00000008 2px);font-variant-ligatures:none;font-variant-numeric:tabular-nums;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Cascadia Mono,Menlo,Consolas,monospace}*{box-sizing:border-box}button,input,textarea,select{font-variant-numeric:inherit;font-family:inherit}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0}::selection{background:var(--color-accent-fill);color:var(--color-accent-on)}.auth-screen{justify-content:center;align-items:center;height:100%;padding:1rem;display:flex}.auth-card{text-align:center;border:1px solid var(--border);border-top:2px solid var(--metal);background:var(--surface);border-radius:var(--radius);flex-direction:column;align-items:center;gap:.75rem;max-width:340px;padding:2.5rem 2rem;display:flex}.auth-card h1{letter-spacing:.24em;text-transform:uppercase;text-indent:.24em;margin:0;font-size:1.5rem;font-weight:700}.auth-card p{color:var(--text-muted);margin:0 0 .75rem;font-size:.8rem;line-height:1.6}.google-btn{border-radius:var(--radius-pill);border:1px solid var(--metal-edge);background-color:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);letter-spacing:.06em;cursor:pointer;padding:.7rem 1.5rem;font-size:.8rem;transition:background-color .12s}.google-btn:hover{background-color:var(--metal-surface-hi)}.app-shell{flex-direction:column;height:100%;display:flex}.app-header{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;padding:.7rem 1.25rem;display:flex}.app-title{letter-spacing:.22em;text-transform:uppercase;font-size:.8rem;font-weight:700}.app-header-right{align-items:center;gap:.85rem;display:flex}.app-user-email{color:var(--text-muted);font-size:.72rem}.switch{color:var(--text-muted);letter-spacing:.14em;text-transform:uppercase;cursor:pointer;background:0 0;border:none;align-items:center;gap:.5rem;padding:0;font-size:.66rem;transition:color .12s;display:inline-flex}.switch:hover,.switch.on{color:var(--text)}.switch-track{border:1px solid var(--border-strong);border-radius:var(--radius-pill);background-color:var(--bg);flex-shrink:0;width:30px;height:16px;transition:background-color .14s,border-color .14s;position:relative}.switch.on .switch-track{background-color:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge)}.switch-knob{border-radius:var(--radius-pill);background:var(--border-strong);width:12px;height:12px;transition:transform .14s,background-color .14s;position:absolute;top:1px;left:1px}.switch.on .switch-knob{background:var(--metal-on);transform:translate(14px)}.switch:focus-visible{outline:1px solid var(--metal);outline-offset:3px}@media (prefers-reduced-motion:reduce){.switch-track,.switch-knob{transition:none}}.signout-btn{border-radius:var(--radius-pill);border:1px solid var(--metal-edge);background-color:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);cursor:pointer;letter-spacing:.08em;text-transform:uppercase;padding:.35rem .75rem;font-size:.7rem;transition:background-color .12s}.signout-btn:hover{background-color:var(--metal-surface-hi)}.app-body{flex:1;min-height:0;display:flex}.sidebar-title{text-transform:uppercase;letter-spacing:.16em;color:var(--text-muted);margin:0;font-size:.66rem;font-weight:700}.history-sidebar,.memory-sidebar{background:var(--surface);flex-shrink:0;width:246px;padding:1rem .85rem;overflow-y:auto}.history-sidebar{border-right:1px solid var(--border)}.memory-sidebar{border-left:1px solid var(--border);flex-direction:column;gap:1.25rem;animation:.16s ease-out panel-in;display:flex}@keyframes panel-in{0%{opacity:0;transform:translate(10px)}}@media (prefers-reduced-motion:reduce){.memory-sidebar{animation:none}}.history-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:.85rem;padding-bottom:.6rem;display:flex}.new-chat-btn{border-radius:var(--radius-pill);border:1px solid var(--metal-edge);background-color:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);cursor:pointer;letter-spacing:.06em;padding:.25rem .55rem;font-size:.68rem;transition:background-color .12s}.new-chat-btn:hover{background-color:var(--metal-surface-hi)}.history-list{flex-direction:column;gap:.2rem;margin:0;padding:0;list-style:none;display:flex}.history-row{align-items:stretch;gap:.2rem;display:flex}.history-delete-btn{border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;opacity:0;background:0 0;border:1px solid #0000;flex-shrink:0;align-self:center;padding:.2rem .35rem;font-size:.8rem;line-height:1;transition:opacity .12s,color .12s,border-color .12s}.history-row:hover .history-delete-btn,.history-delete-btn:focus-visible{opacity:1}.history-delete-btn:hover{color:var(--text);border-color:var(--border-strong)}.history-delete-btn.armed{opacity:1;letter-spacing:.08em;color:var(--metal-on);background-color:var(--metal-surface);border-color:var(--metal-edge);font-size:.58rem}.history-item{border-radius:var(--radius-sm);width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-left-width:2px;flex-direction:column;flex:1;align-items:flex-start;gap:.2rem;padding:.5rem .6rem;transition:background .12s,border-color .12s;display:flex}.history-item:hover{background:var(--surface-raised)}.history-item.active{background:var(--bg);border-color:var(--border);border-left-color:var(--metal)}.history-item-title{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.76rem;overflow:hidden}.history-item-modes{align-items:center;gap:.4rem;display:flex}.history-item-modes .history-item-mode+.history-item-mode{border-left:1px solid var(--border-strong);padding-left:.4rem}.history-item-mode{color:var(--text-muted);text-transform:uppercase;letter-spacing:.12em;font-size:.6rem}.history-item-mode.mode-production{color:var(--text);font-weight:700}.memory-section{flex-direction:column;gap:.5rem;display:flex}.memory-section-title{color:var(--text-muted);text-transform:uppercase;letter-spacing:.14em;margin:0;font-size:.64rem;font-weight:700}.memory-add-form{gap:.35rem;display:flex}.memory-add-input{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);min-width:0;color:var(--text);flex:1;padding:.4rem .5rem;font-size:.72rem}.memory-add-input:focus,.memory-import-textarea:focus{border-color:var(--metal);outline:none}.memory-add-btn{border-radius:var(--radius-sm);border:1px solid var(--metal-edge);background-color:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);letter-spacing:.06em;cursor:pointer;padding:.4rem .6rem;font-size:.7rem;transition:background-color .12s}.memory-add-btn:hover:not(:disabled){background-color:var(--metal-surface-hi)}.memory-add-btn.full-width{width:100%}.memory-add-btn:disabled{opacity:.4;cursor:not-allowed}.memory-hint{color:var(--text-muted);margin:0;font-size:.68rem;line-height:1.55}.memory-import-textarea{resize:vertical;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);box-sizing:border-box;padding:.5rem;font-size:.72rem;line-height:1.5}.memory-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.memory-toggle-btn{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);color:var(--text-muted);cursor:pointer;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;padding:.2rem .5rem;font-size:.62rem;transition:color .12s,border-color .12s}.memory-toggle-btn:hover{color:var(--text);border-color:var(--metal)}.memory-text{cursor:pointer;overflow-wrap:anywhere;flex:1;min-width:0}.memory-text.masked{color:var(--text-muted);letter-spacing:.08em;-webkit-user-select:none;user-select:none;opacity:.75}.memory-empty{color:var(--text-muted);margin:0;font-size:.7rem}.memory-list{flex-direction:column;gap:.3rem;margin:0;padding:0;list-style:none;display:flex}.memory-item{border-radius:var(--radius-sm);background:var(--bg);border:1px solid var(--border);border-left:2px solid var(--border-strong);justify-content:space-between;align-items:flex-start;gap:.4rem;padding:.45rem .55rem;font-size:.72rem;line-height:1.5;display:flex}.memory-remove-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;flex-shrink:0;padding:0;font-size:.9rem;line-height:1}.memory-remove-btn:hover{color:var(--text)}.mode-toggle{align-items:center;gap:0;padding:.85rem 0 0;display:flex}.research-switch{margin-left:.9rem}.research-switch.locked .switch-label{color:var(--text-muted)}.mode-toggle-btn{border:1px solid var(--border);background:var(--bg);color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;border-radius:0;padding:.35rem .9rem;font-size:.68rem;transition:color .12s,background-color .12s}.mode-toggle-btn:first-child{border-radius:var(--radius-pill) 0 0 var(--radius-pill);padding-left:1.05rem}.mode-toggle-btn:last-child{border-radius:0 var(--radius-pill) var(--radius-pill) 0;border-left:none;padding-right:1.05rem}.mode-toggle-btn:hover:not(.active){color:var(--text);background:var(--surface-raised)}.mode-toggle-btn.active{background-color:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge);color:var(--metal-on);font-weight:500}.chat-window{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;padding:0 1.25rem;display:flex}.message-list{flex-direction:column;flex:1;gap:.55rem;padding:1.25rem 0;display:flex;overflow-y:auto}.empty-state{color:var(--text-muted);text-align:center;letter-spacing:.06em;margin-top:2rem;font-size:.76rem}.message{border-radius:var(--radius-lg);white-space:pre-wrap;word-break:break-word;min-width:0;max-width:100%;padding:.6rem .85rem;font-size:.8rem;line-height:1.6;animation:.14s ease-out msg-in}@keyframes msg-in{0%{opacity:0;transform:translateY(2px)}}@media (prefers-reduced-motion:reduce){.message{animation:none}}.message-user{background-color:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);border:1px solid var(--metal-edge);align-self:flex-end}.message-assistant{background:var(--bubble-assistant);border:1px solid var(--border);border-left:2px solid var(--border-strong);align-self:flex-start}.message-pending{color:var(--text-muted);border-left-color:var(--color-accent);align-items:center;gap:.1rem;display:flex}.pending-word{letter-spacing:.18em;text-transform:uppercase;font-size:.66rem}.pending-dots{align-items:center;gap:.2rem;margin-left:.35rem;display:inline-flex}.pending-dots i{background:var(--color-accent);opacity:.25;border-radius:50%;width:3px;height:3px;animation:1.15s ease-in-out infinite pending-dot}.pending-dots i:nth-child(2){animation-delay:.16s}.pending-dots i:nth-child(3){animation-delay:.32s}@keyframes pending-dot{0%,70%,to{opacity:.25}35%{opacity:1}}@media (prefers-reduced-motion:reduce){.pending-dots i{opacity:.55;animation:none}}.production-error{border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);border-left:2px solid var(--metal);color:var(--text-muted);margin:0 0 .5rem;padding:.55rem .75rem;font-size:.74rem;line-height:1.55}.composer{border-top:1px solid var(--border);gap:.5rem;padding:.85rem 0 1.25rem;display:flex}.composer-input{resize:none;border-radius:var(--radius-lg);border:1px solid var(--border);background:var(--surface);color:var(--text);flex:1;max-height:8rem;padding:.65rem .75rem;font-size:.8rem;line-height:1.5;transition:border-color .12s}.composer-input:focus{border-color:var(--metal);background:var(--bg);outline:none}.composer-input:disabled{opacity:.55;cursor:not-allowed}.send-btn{border-radius:var(--radius-pill);border:1px solid var(--metal-edge);background-color:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);letter-spacing:.14em;text-transform:uppercase;cursor:pointer;padding:0 1.4rem;font-size:.72rem;font-weight:500;transition:background-color .12s}.send-btn:hover:not(:disabled){background-color:var(--metal-surface-hi)}.send-btn:disabled{opacity:.4;cursor:not-allowed}*{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border-strong);border:3px solid var(--bg);border-radius:99px}.app-tokens{letter-spacing:.08em;color:var(--text-muted);border:1px solid var(--border);border-radius:var(--radius-sm);white-space:nowrap;cursor:pointer;background:0 0;padding:.2rem .45rem;font-size:.7rem;transition:border-color .12s,color .12s}.app-tokens:hover{border-color:var(--metal);color:var(--text)}.dock{border-left:1px solid var(--border);background:var(--surface);flex-direction:column;flex-shrink:0;width:340px;animation:.16s ease-out panel-in;display:flex;overflow:hidden}.dock-tabs{border-bottom:1px solid var(--border);background:var(--surface-raised);flex-shrink:0;display:flex}.dock-tab{border:0;border-right:1px solid var(--border);color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;cursor:pointer;background:0 0;flex:1;padding:.6rem .3rem;font-size:.66rem}.dock-tab:last-child{border-right:0}.dock-tab:hover{color:var(--text);background:var(--bg)}.dock-tab.active{color:var(--metal-on);background:var(--metal-surface);background-image:var(--brushed)}.panel-body{flex-direction:column;flex:1;gap:.7rem;padding:.9rem .85rem;display:flex;overflow-y:auto}.panel-empty,.panel-hint{color:var(--text-muted);margin:0;font-size:.72rem;line-height:1.55}.panel-error{color:var(--color-error-text);margin:0;font-size:.72rem;line-height:1.5}.panel-primary-btn{border:1px solid var(--metal-edge);border-radius:var(--radius-sm);background:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;padding:.55rem .7rem;font-size:.72rem}.panel-primary-btn:hover:not(:disabled){background:var(--metal-surface-hi)}.panel-primary-btn:disabled{opacity:.45;cursor:not-allowed}.message-row{flex-direction:column;gap:.3rem;display:flex}.message-line{align-items:flex-start;gap:.5rem;max-width:78%;display:flex}.echo-mark{flex-shrink:0;place-items:center;width:24px;height:24px;margin-top:3px;display:grid;position:relative}.echo-mark-hub{z-index:1;background:var(--color-accent);border-radius:50%;width:7px;height:7px;transition:width .2s,height .2s,opacity .2s;position:relative}.echo-mark-dial{opacity:0;border:1px solid var(--color-border-strong);border-radius:50%;transition:opacity .2s,transform .2s;position:absolute;inset:0;transform:scale(.55)}.echo-mark.is-thinking .echo-mark-hub{width:5px;height:5px;animation:1.6s ease-in-out infinite mark-pulse}.echo-mark.is-thinking .echo-mark-dial{opacity:1;transform:scale(1)}.echo-mark.is-thinking .echo-mark-dial:after{content:"";background:conic-gradient(from 0deg, transparent 0deg, transparent 90deg, var(--color-accent) 355deg, var(--color-accent) 360deg);border-radius:50%;animation:1.15s linear infinite mark-sweep;position:absolute;inset:-1px;-webkit-mask:radial-gradient(circle,#0000 0 10px,#000 11px);mask:radial-gradient(circle,#0000 0 10px,#000 11px)}@keyframes mark-sweep{to{transform:rotate(1turn)}}@keyframes mark-pulse{0%,to{opacity:1}50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.echo-mark.is-thinking .echo-mark-hub,.echo-mark.is-thinking .echo-mark-dial:after{animation:none}.echo-mark.is-thinking .echo-mark-dial:after{background:conic-gradient(from 0deg, var(--color-accent) 0deg 90deg, transparent 90deg 360deg)}}.message-row-assistant .message-actions{padding-left:calc(24px + .5rem)}.message-row-user{align-items:flex-end}.message-row-assistant{align-items:flex-start}.message-actions{opacity:0;flex-wrap:wrap;align-items:center;gap:.4rem;max-width:100%;transition:opacity .12s ease-out;display:flex}.message-row:hover .message-actions,.message-actions:focus-within{opacity:1}.message-action-btn{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;background:0 0;padding:.2rem .45rem;font-size:.64rem}.message-action-btn:hover:not(:disabled){color:var(--text);border-color:var(--border-strong)}.message-action-btn:disabled{opacity:.5;cursor:default}.message-share-link{color:var(--text-muted);word-break:break-all;font-size:.64rem}.message-action-error{color:var(--color-error-text);font-size:.64rem}.composer-field{flex:1;display:flex;position:relative}.composer-interim{border:1px dashed var(--border-strong);border-radius:var(--radius-sm);background:var(--bg);color:var(--text-muted);pointer-events:none;padding:.3rem .5rem;font-size:.74rem;line-height:1.4;position:absolute;bottom:calc(100% + .35rem);left:.75rem;right:.75rem}.mic-btn{border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);cursor:pointer;flex-shrink:0;place-items:center;width:40px;transition:border-color .12s,background-color .12s;display:grid}.mic-btn:hover:not(:disabled){border-color:var(--border-strong)}.mic-btn:disabled{opacity:.4;cursor:not-allowed}.mic-icon{background:var(--text);border-radius:5px;width:9px;height:14px;position:relative}.mic-icon:before{content:"";border:1.5px solid var(--text);border-top:0;border-radius:0 0 9px 9px;width:15px;height:7px;position:absolute;bottom:-6px;left:50%;transform:translate(-50%)}.mic-icon:after{content:"";background:var(--text);width:1.5px;height:3px;position:absolute;bottom:-9px;left:50%;transform:translate(-50%)}.mic-btn.listening{border-color:var(--metal-edge);background-color:var(--metal-surface);background-image:var(--brushed)}.mic-btn.listening .mic-icon,.mic-btn.listening .mic-icon:before,.mic-btn.listening .mic-icon:after{background:var(--metal-on);border-color:var(--metal-on)}.mic-btn.listening .mic-icon{animation:1.4s ease-in-out infinite mic-pulse}@keyframes mic-pulse{0%,to{opacity:1}50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.mic-btn.listening .mic-icon{animation:none}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.draft-row{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);padding:.5rem .55rem}.draft-row-head{align-items:flex-start;gap:.4rem;display:flex}.draft-title{text-align:left;color:var(--text);cursor:pointer;background:0 0;border:0;flex:1;padding:0;font-size:.74rem;line-height:1.45}.draft-title:hover{text-decoration:underline}.draft-meta{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-top:.25rem;font-size:.62rem}.draft-content{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-raised);white-space:pre-wrap;word-break:break-word;max-height:340px;margin:.55rem 0 0;padding:.55rem;font-family:inherit;font-size:.7rem;line-height:1.6;overflow-y:auto}.brief-field{flex-direction:column;gap:.25rem;display:flex}.brief-label{letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);font-size:.62rem}.brief-input{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);padding:.4rem .5rem;font-size:.74rem}.brief-input:focus-visible{border-color:var(--border-strong);outline:none}.calendar-nav{align-items:center;gap:.35rem;display:flex}.calendar-month{letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);flex:1;font-size:.7rem}.calendar-nav-btn,.calendar-today-btn{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted);cursor:pointer;background:0 0;padding:.2rem .45rem;font-size:.68rem}.calendar-nav-btn:hover,.calendar-today-btn:hover{color:var(--text);border-color:var(--border-strong)}.calendar-week{flex-direction:column;gap:.3rem;display:flex}.calendar-day{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);padding:.4rem .45rem}.calendar-day.is-today{border-color:var(--border-strong);background:var(--surface-raised)}.calendar-day-head{letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);justify-content:space-between;align-items:baseline;font-size:.62rem;display:flex}.calendar-day-num{color:var(--text);font-size:.72rem}.calendar-post{border-left:2px solid var(--border-strong);background:var(--surface);align-items:flex-start;gap:.3rem;margin-top:.3rem;padding:.25rem .35rem;display:flex}.calendar-post-title{text-align:left;color:var(--text);cursor:pointer;background:0 0;border:0;flex:1;padding:0;font-size:.7rem;line-height:1.4}.calendar-post.status-drafted{border-left-color:var(--metal-surface-hi)}.calendar-post.status-posted{border-left-color:var(--color-success)}.calendar-post.status-posted .calendar-post-title{color:var(--text-muted)}.calendar-post.status-skipped{border-left-color:var(--color-error-text)}.calendar-post.status-skipped .calendar-post-title{color:var(--text-muted);text-decoration:line-through}.calendar-post-del{color:var(--text-muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:.8rem;line-height:1}.calendar-post-del:hover{color:var(--color-error-text)}.calendar-add-btn{border:1px dashed var(--border);border-radius:var(--radius-sm);width:100%;color:var(--text-muted);cursor:pointer;background:0 0;margin-top:.3rem;padding:.15rem;font-size:.7rem}.calendar-add-btn:hover{border-color:var(--border-strong);color:var(--text)}.calendar-add-input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg);width:100%;color:var(--text);margin-top:.3rem;padding:.25rem .35rem;font-size:.7rem}.calendar-add-input:focus-visible{outline:none}.checkin-stats{flex-wrap:wrap;gap:.3rem;display:flex}.checkin-stats span{border:1px solid var(--border);border-radius:var(--radius-sm);letter-spacing:.05em;color:var(--text-muted);padding:.15rem .35rem;font-size:.62rem}.share-page{background:var(--bg);min-height:100vh;color:var(--text);flex-direction:column;display:flex}.share-header{border-bottom:1px solid var(--border);padding:1rem 1.25rem}.share-main{flex:1;justify-content:center;padding:2rem 1.25rem 4rem;display:flex}.share-card{width:100%;max-width:720px}.share-title{letter-spacing:.02em;margin:0 0 1rem;font-size:1rem;font-weight:500;line-height:1.5}.share-content{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);white-space:pre-wrap;word-break:break-word;margin:0;padding:1rem;font-family:inherit;font-size:.82rem;line-height:1.7;overflow-x:auto}.share-footer{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin:1rem 0 0;font-size:.66rem}@media (width<=1024px){.dock{width:300px}}.app-nav-toggle,.app-scrim,.dock-close{display:none}@media (width<=860px){.app-shell{height:100dvh}.app-header{gap:.5rem;padding:.5rem .6rem}.app-header-right{gap:.4rem;min-width:0}.app-tokens,.signout-btn{white-space:nowrap;padding:.3rem .5rem;font-size:.62rem}.app-user-email,.hide-on-mobile{display:none}.app-title{letter-spacing:.16em;font-size:.7rem}.app-nav-toggle{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;margin-left:-.35rem;display:flex}.app-nav-toggle-bars{flex-direction:column;gap:4px;width:17px;display:flex}.app-nav-toggle-bars i{background:currentColor;border-radius:1px;height:1.5px}.history-sidebar{z-index:40;border-right:1px solid var(--border);visibility:hidden;width:min(84vw,300px);padding-top:max(1rem, env(safe-area-inset-top));padding-bottom:max(1rem, env(safe-area-inset-bottom));transition:transform .22s cubic-bezier(.32,.72,0,1);position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.history-sidebar.is-open{visibility:visible;transform:none}.dock{z-index:40;width:auto;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);border-left:0;position:fixed;inset:0}.dock-close{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text);letter-spacing:.1em;text-transform:uppercase;cursor:pointer;background:0 0;align-self:flex-end;margin:.5rem .6rem 0;padding:.4rem .8rem;font-size:.66rem;display:block}.dock-tab{letter-spacing:.04em;padding:.7rem .15rem;font-size:.6rem}.app-scrim{z-index:35;cursor:pointer;background:#00000080;border:0;padding:0;animation:.18s ease-out scrim-in;display:block;position:fixed;inset:0}.chat-window{width:100%;min-width:0}.composer{padding-bottom:max(1.25rem, env(safe-area-inset-bottom))}}@media (width<=430px){.app-title,.switch-label{display:none}.app-header{padding:.5rem .45rem}.switch{gap:0}}@keyframes scrim-in{0%{opacity:0}}@media (prefers-reduced-motion:reduce){.history-sidebar,.app-scrim{transition:none;animation:none}}.voice-landing{color:#000;--metal-surface:#3a3a3a;--metal-surface-hi:#4d4d4d;--metal-edge:#2b2b2b;--metal-on:#fff;--text-muted:#565656;background:#fefffc;flex-direction:column;justify-content:center;align-items:center;gap:clamp(.9rem,2.6vh,2rem);height:100dvh;min-height:100dvh;padding:clamp(.9rem,3vh,2.5rem) 1.5rem;display:flex}.orb{--amp:0;--size:min(46vw, 52vh, 460px);width:var(--size);height:var(--size);transform:scale(calc(1 + var(--amp) * .04));flex-shrink:0;place-items:center;transition:transform 90ms linear;display:grid;position:relative}.orb[role=button]{cursor:pointer}.orb-media{z-index:1;object-fit:contain;transform-origin:52.6% 52.5%;width:100%;height:100%;filter:contrast(calc(1 + var(--amp) * .12));-webkit-user-select:none;user-select:none;-webkit-user-drag:none;transition:filter .11s linear;position:relative;transform:scale(1.7);-webkit-mask-image:radial-gradient(circle at 52.6% 52.5%,#000 0 26.5%,#0000 28.5%);mask-image:radial-gradient(circle at 52.6% 52.5%,#000 0 26.5%,#0000 28.5%)}.orb-label{z-index:2;white-space:nowrap;font-size:calc(var(--size) * .046);letter-spacing:.42em;text-indent:.42em;text-transform:uppercase;color:#000;opacity:calc(.82 + var(--amp) * .18);pointer-events:none;-webkit-user-select:none;user-select:none;font-weight:700;transition:opacity .11s linear;position:absolute;top:52.5%;left:52.6%;transform:translate(-50%,-50%)}.orb-shadow{z-index:0;width:84%;height:84%;filter:blur(calc(16px + var(--amp) * 14px));opacity:calc(.5 + var(--amp) * .5);transform:translate(-50%, -50%) scale(calc(1 + var(--amp) * .12));background:radial-gradient(circle,#00000026,#0000 70%);border-radius:50%;transition:opacity .12s linear,transform .12s linear,filter .12s linear;position:absolute;top:52.5%;left:52.6%}.orb-thinking .orb-shadow{animation:2s ease-in-out infinite orb-breathe}.orb-idle .orb-shadow{animation:6s ease-in-out infinite orb-breathe}.orb-muted{animation:2.6s ease-in-out infinite orb-invite}.orb:focus-visible{outline-offset:14px;border-radius:50%;outline:1px solid #0000008c}@keyframes orb-breathe{0%,to{opacity:.45}50%{opacity:.75}}@keyframes orb-invite{0%,to{transform:scale(1)}55%{transform:scale(1.035)}}@media (prefers-reduced-motion:reduce){.orb-muted,.orb-shadow{animation:none!important}}.subtitles{text-align:center;letter-spacing:.01em;flex-wrap:wrap;justify-content:center;gap:0 .42em;max-width:34rem;min-height:3.4em;font-size:clamp(1.02rem,2.5vh,1.5rem);line-height:1.65;display:flex}.subtitle-word{color:#00000042;transition:color .11s ease-out}.subtitle-word.is-spoken{color:#000}.subtitle-word.is-pending{color:#0000006b;letter-spacing:.4em}.voice-enter-btn{border:1px solid var(--metal-edge);border-radius:var(--radius-pill);background-color:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);letter-spacing:.16em;text-transform:uppercase;cursor:pointer;padding:.8rem 1.9rem;font-size:clamp(.76rem,1.5vh,.9rem);transition:background-color .14s ease-out}.voice-enter-btn:hover{background-color:var(--metal-surface-hi)}.voice-enter-btn:focus-visible{outline-offset:3px;outline:1px solid #0009}.voice-enter-btn:disabled{opacity:.5;cursor:not-allowed}.landing-auth{flex-direction:column;align-items:center;gap:.7rem;display:flex}.landing-auth-alt{color:#00000080;letter-spacing:.06em;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:.2rem;font-size:.72rem;text-decoration:underline;transition:color .12s ease-out}.landing-auth-alt:hover:not(:disabled){color:#000}.landing-auth-alt:disabled{opacity:.5;cursor:not-allowed}.landing-plans-link{color:#00000094;letter-spacing:.16em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;margin-top:.15rem;padding:.2rem;font-size:.62rem;transition:color .12s ease-out}.landing-plans-link:hover{color:#000}.skills-menu{flex-direction:column;gap:.75rem;display:flex}.skill-list{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.skill-btn{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);width:100%;color:var(--text);text-align:left;cursor:pointer;flex-direction:column;gap:.2rem;padding:.6rem .7rem;transition:border-color .12s,background-color .12s;display:flex}.skill-btn:hover:not(:disabled){border-color:var(--metal);background:var(--surface)}.skill-btn:disabled{opacity:.5;cursor:not-allowed}.skill-btn-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.skill-btn-label{letter-spacing:.04em;font-size:.76rem;font-weight:700}.skill-btn-blurb{color:var(--text-muted);font-size:.66rem;line-height:1.45}.skill-badge{border:1px solid var(--metal-edge);border-radius:var(--radius-pill);background-color:var(--metal-surface);color:var(--metal-on);letter-spacing:.12em;text-transform:uppercase;flex-shrink:0;padding:.1rem .35rem;font-size:.56rem}.week-plan{flex-direction:column;gap:.7rem;display:flex}.week-plan-days{flex-direction:column;gap:.55rem;margin:0;padding:0;list-style:none;display:flex}.week-plan-day{border-left:2px solid var(--border-strong);padding-left:.6rem}.week-plan-head{justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:.2rem;display:flex}.week-plan-dayname{letter-spacing:.14em;text-transform:uppercase;font-size:.68rem;font-weight:700}.week-plan-type{color:var(--text-muted);text-align:right;font-size:.62rem}.week-plan-hook{margin:0 0 .15rem;font-size:.78rem;line-height:1.5}.week-plan-broll{color:var(--text-muted);margin:0;font-size:.66rem;line-height:1.5}.week-plan-btn{border:1px solid var(--metal-edge);border-radius:var(--radius-pill);background-color:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;align-self:flex-start;padding:.45rem .9rem;font-size:.66rem;transition:background-color .12s}.week-plan-btn:hover:not(:disabled){background-color:var(--metal-surface-hi)}.week-plan-btn:disabled{opacity:.5;cursor:not-allowed}.composer{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:.5rem;margin:.85rem 0 1.1rem;padding:.6rem .7rem .55rem;transition:border-color .12s;display:flex}.composer:focus-within{border-color:var(--border-strong)}.composer-field{display:flex;position:relative}.composer-input{resize:none;color:var(--text);background:0 0;border:0;flex:1;max-height:9rem;padding:.25rem .15rem;font-size:.82rem;line-height:1.55}.composer-input:focus{outline:none}.composer-input::placeholder{color:var(--text-muted)}.composer-input:disabled{opacity:.6}.composer-bar{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.composer-bar-left,.composer-bar-right{align-items:center;gap:.4rem;display:flex}.composer-icon-btn{border-radius:var(--radius-pill);cursor:pointer;background:0 0;border:1px solid #0000;place-items:center;width:30px;height:30px;transition:background-color .12s,border-color .12s;display:grid}.composer-icon-btn:hover:not(:disabled){background:var(--surface-raised);border-color:var(--border)}.composer-icon-btn:disabled{opacity:.35;cursor:not-allowed}.icon-plus{width:13px;height:13px;position:relative}.icon-plus:before,.icon-plus:after{content:"";background:var(--text);margin:auto;position:absolute;inset:0}.icon-plus:before{width:13px;height:1.5px}.icon-plus:after{width:1.5px;height:13px}.composer-icon-btn.listening{background-color:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge)}.composer-icon-btn.listening .mic-icon,.composer-icon-btn.listening .mic-icon:before,.composer-icon-btn.listening .mic-icon:after{background:var(--metal-on);border-color:var(--metal-on)}.composer-icon-btn.listening .mic-icon{animation:1.4s ease-in-out infinite mic-pulse}.composer-pill{border:1px solid var(--border);border-radius:var(--radius-pill);color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;cursor:pointer;background:0 0;padding:.3rem .6rem;font-size:.64rem;transition:color .12s,background-color .12s,border-color .12s}.composer-pill:hover{color:var(--text);border-color:var(--border-strong)}.composer-pill.on,.composer-pill.active{background-color:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge);color:var(--metal-on)}.composer-popover-anchor{position:relative}.composer-popover{z-index:20;border:1px solid var(--border-strong);border-radius:var(--radius);background:var(--bg);width:280px;max-height:60vh;padding:.7rem;position:absolute;bottom:calc(100% + .45rem);right:0;overflow-y:auto;box-shadow:0 12px 28px #00000024}@media (width<=860px){.composer-popover-anchor{position:static}.composer{position:relative}.composer-popover{width:auto;max-height:65dvh;bottom:calc(100% + .45rem);left:0;right:0}}.attachment-list{flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.attachment-chip{border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--bg);align-items:center;gap:.35rem;padding:.2rem .3rem .2rem .5rem;font-size:.64rem;display:flex}.attachment-name{text-overflow:ellipsis;white-space:nowrap;max-width:15rem;overflow:hidden}.attachment-remove{color:var(--text-muted);cursor:pointer;background:0 0;border:0;padding:0 .15rem;font-size:.85rem;line-height:1}.attachment-remove:hover{color:var(--text)}.clip-list{flex-direction:column;gap:.7rem;display:flex}.clip-items{flex-direction:column;gap:.55rem;margin:0;padding:0;list-style:none;display:flex}.clip-item{border-left:2px solid var(--border-strong);padding-left:.6rem}.clip-range{letter-spacing:.06em;margin-bottom:.15rem;font-size:.74rem;font-weight:700;display:block}.clip-reason{color:var(--text-muted);margin:0;font-size:.7rem;line-height:1.55}.clip-progress{flex-direction:column;gap:.35rem;margin:0 0 .6rem;display:flex}.clip-progress-label{letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);font-size:.66rem}.clip-progress-track{border-radius:var(--radius-pill);background:var(--surface-raised);height:3px;overflow:hidden}.clip-progress-fill{border-radius:var(--radius-pill);background:var(--metal);height:100%;transition:width .2s ease-out;display:block}.clip-progress-fill.indeterminate{width:35%;animation:1.4s ease-in-out infinite clip-sweep}@keyframes clip-sweep{0%{transform:translate(-100%)}to{transform:translate(320%)}}@media (prefers-reduced-motion:reduce){.clip-progress-fill.indeterminate{opacity:.4;width:100%;animation:none}}.clip-head{justify-content:space-between;align-items:baseline;gap:.6rem;margin-bottom:.15rem;display:flex}.clip-cut-btn{border:1px solid var(--border-strong);border-radius:var(--radius-pill);color:var(--text);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;background:0 0;flex-shrink:0;padding:.2rem .6rem;font-size:.6rem;transition:background-color .12s,border-color .12s}.clip-cut-btn:hover:not(:disabled){background:var(--surface-raised);border-color:var(--metal)}.clip-cut-btn:disabled{opacity:.5;cursor:not-allowed}.clip-actions{gap:.4rem;display:flex}.clip-hint{color:var(--text-muted);margin:0;font-size:.62rem}.settings-shell{background:var(--bg);flex-direction:column;height:100%;display:flex}.settings-back{border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-muted);letter-spacing:.1em;cursor:pointer;background:0 0;padding:.25rem .55rem;font-size:.68rem;transition:border-color .12s,color .12s}.settings-back:hover{border-color:var(--metal);color:var(--text)}.settings-body{flex:1;min-height:0;display:flex}.settings-nav{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;flex-shrink:0;gap:.15rem;width:210px;padding:1.25rem .75rem;display:flex;overflow-y:auto}.settings-nav-item{text-align:left;border-radius:var(--radius-sm);color:var(--text-muted);letter-spacing:.06em;cursor:pointer;background:0 0;border:1px solid #0000;padding:.45rem .6rem;font-size:.7rem;transition:background-color .12s,color .12s}.settings-nav-item:hover{background:var(--surface-raised);color:var(--text)}.settings-nav-item.active{background:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge);color:var(--metal-on)}.settings-content{flex:1;min-width:0;padding:1.75rem 2rem 4rem;overflow-y:auto}.settings-panel{flex-direction:column;gap:1.75rem;max-width:620px;display:flex}.settings-section{border-bottom:1px solid var(--border);flex-direction:column;align-items:flex-start;gap:.65rem;padding-bottom:1.5rem;display:flex}.settings-section:last-child{border-bottom:none;padding-bottom:0}.settings-section-head{justify-content:space-between;align-items:center;gap:.75rem;width:100%;display:flex}.settings-section-title{letter-spacing:.18em;text-transform:uppercase;color:var(--text);margin:0;font-size:.66rem;font-weight:700}.settings-section-hint{color:var(--text-muted);margin:0;font-size:.72rem;line-height:1.65}.settings-muted{color:var(--text-muted)}.settings-meta{letter-spacing:.06em;color:var(--text-muted);font-size:.62rem}.settings-empty{color:var(--text-muted);margin:0;font-size:.7rem;font-style:italic}.settings-error{color:var(--color-error-text);margin:0;font-size:.7rem;line-height:1.6}.settings-btn{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text);letter-spacing:.1em;text-transform:uppercase;cursor:pointer;background:0 0;padding:.4rem .9rem;font-size:.68rem;text-decoration:none;transition:background-color .12s,border-color .12s,color .12s;display:inline-block}.settings-btn:hover:not(:disabled){background:var(--surface-raised);border-color:var(--metal)}.settings-btn:disabled{opacity:.45;cursor:not-allowed}.settings-btn.primary{background:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge);color:var(--metal-on)}.settings-btn.primary:hover:not(:disabled){background:var(--metal-surface-hi);background-image:var(--brushed)}.settings-btn.small{padding:.2rem .55rem;font-size:.6rem}.settings-btn.ghost{border-color:var(--border);color:var(--text-muted)}.settings-btn.danger{border-color:var(--color-error);color:var(--color-error-text)}.settings-btn.danger:hover:not(:disabled){background:var(--color-error-fill);border-color:var(--color-error-fill);color:var(--color-error-on)}.settings-btn.danger-text:hover:not(:disabled){border-color:var(--color-error);color:var(--color-error-text);background:0 0}.settings-icon-btn{border-radius:var(--radius-sm);width:1.4rem;height:1.4rem;color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;flex-shrink:0;padding:0;font-size:.9rem;line-height:1;transition:color .12s,border-color .12s}.settings-icon-btn:hover:not(:disabled){border-color:var(--color-error);color:var(--color-error-text)}.settings-icon-btn:disabled{opacity:.4;cursor:not-allowed}.settings-input,.settings-textarea{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg);width:100%;color:var(--text);resize:vertical;padding:.5rem .6rem;font-size:.75rem;line-height:1.6}.settings-input:focus,.settings-textarea:focus{border-color:var(--metal);outline:none}.settings-identity{align-items:flex-start;gap:1rem;width:100%;display:flex}.settings-avatar{border:1px solid var(--border);border-radius:var(--radius-pill);object-fit:cover;flex-shrink:0;width:44px;height:44px}.settings-avatar-fallback{background:var(--metal-surface);background-image:var(--brushed);color:var(--metal-on);justify-content:center;align-items:center;font-size:1rem;font-weight:700;display:flex}.settings-fields{flex-direction:column;gap:.6rem;min-width:0;margin:0;display:flex}.settings-field{flex-direction:column;gap:.15rem;display:flex}.settings-field dt{letter-spacing:.16em;text-transform:uppercase;color:var(--text-muted);font-size:.58rem}.settings-field dd{word-break:break-all;margin:0;font-size:.78rem}.settings-danger .settings-section-title{color:var(--color-error-text)}.settings-plan-row{align-items:baseline;gap:.7rem;display:flex}.settings-tier-badge{border:1px solid var(--border-strong);border-radius:var(--radius-pill);letter-spacing:.18em;text-transform:uppercase;padding:.2rem .6rem;font-size:.62rem;font-weight:700}.settings-tier-badge.tier-pro,.settings-tier-badge.tier-studio{background:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge);color:var(--metal-on)}.settings-plan-price{color:var(--text-muted);font-size:.72rem}.settings-meter-head{justify-content:space-between;align-items:baseline;gap:.75rem;width:100%;font-size:.72rem;display:flex}.settings-meter-value{font-weight:700}.settings-meter{border:1px solid var(--border-strong);border-radius:var(--radius-pill);background:var(--surface);width:100%;height:6px;overflow:hidden}.settings-meter-fill{background:var(--metal-surface);background-image:var(--brushed);height:100%;transition:width .24s;display:block}.settings-meter-fill.empty{background:var(--color-error-fill)}.settings-memory-add{flex-direction:column;align-items:flex-start;gap:.5rem;width:100%;display:flex}.settings-memory-list{flex-direction:column;gap:.5rem;width:100%;margin:0;padding:0;list-style:none;display:flex}.settings-memory-item{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.6rem .7rem;display:flex}.settings-memory-item.editing{flex-direction:column;align-items:stretch}.settings-memory-body{flex-direction:column;gap:.25rem;min-width:0;display:flex}.settings-memory-text{overflow-wrap:anywhere;margin:0;font-size:.74rem;line-height:1.6}.settings-memory-actions{flex-shrink:0;gap:.35rem;display:flex}.settings-modal-backdrop{z-index:40;background:#00000073;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.settings-modal{border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--bg);flex-direction:column;gap:.75rem;width:100%;max-width:400px;padding:1.5rem;display:flex;box-shadow:0 18px 48px #00000038}.settings-modal-title{letter-spacing:.16em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:700}.settings-modal-body{color:var(--text-muted);margin:0;font-size:.72rem;line-height:1.65}.settings-modal-label{letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted);font-size:.62rem}.settings-modal-actions{justify-content:flex-end;gap:.5rem;margin-top:.25rem;display:flex}@media (width<=720px){.settings-body{flex-direction:column}.settings-nav{border-right:none;border-bottom:1px solid var(--border);flex-direction:row;width:auto;padding:.6rem .75rem;overflow-x:auto}.settings-nav-item{white-space:nowrap}.settings-content{padding:1.25rem 1rem 3rem}}.theme-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem;width:100%;display:grid}.theme-swatch{border:1px solid var(--color-border-strong);border-radius:var(--radius);background:var(--color-bg);color:var(--color-text-primary);text-align:left;cursor:pointer;flex-direction:column;gap:0;padding:0;transition:transform .12s,box-shadow .12s;display:flex;overflow:hidden}.theme-swatch:hover{transform:translateY(-1px)}.theme-swatch:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.theme-swatch.selected{box-shadow:inset 0 0 0 2px var(--color-accent)}.theme-swatch-preview{background:var(--color-bg);align-items:flex-end;gap:.3rem;height:46px;padding:.45rem;display:flex}.theme-swatch-chip{border-radius:var(--radius-sm);border:1px solid var(--color-border)}.theme-swatch-chip.surface{background:var(--color-surface);flex:1;height:100%}.theme-swatch-chip.elevated{background:var(--color-surface-elevated);width:20%;height:70%}.theme-swatch-chip.accent{background:var(--color-accent);border-color:var(--color-accent-hover);width:20%;height:100%}.theme-swatch-label{background:var(--color-surface);border-top:1px solid var(--color-border);flex-direction:column;gap:.1rem;padding:.45rem .55rem .55rem;display:flex}.theme-swatch-name{color:var(--color-text-primary);font-size:.62rem;line-height:1.4}.theme-swatch-state{letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-secondary);font-size:.55rem}.theme-swatch.selected .theme-swatch-state{color:var(--color-text-primary)}.status-mark{opacity:.85;width:1em;margin-right:.35em;font-size:.85em;display:inline-block}.calendar-post.status-posted .status-mark{color:var(--color-success)}.calendar-post.status-skipped .status-mark{color:var(--color-error)}.calendar-post.status-drafted .status-mark{color:var(--color-accent)}.pricing-shell{background:var(--bg);flex-direction:column;height:100%;display:flex}.pricing-body{flex:1;min-height:0;padding:2.5rem 1.5rem 5rem;overflow-y:auto}.pricing-inner{flex-direction:column;gap:2rem;max-width:1080px;margin:0 auto;display:flex}.pricing-hero{flex-direction:column;gap:.85rem;max-width:760px;display:flex}.pricing-eyebrow{letter-spacing:.22em;text-transform:uppercase;color:var(--text-muted);align-items:center;gap:.6rem;margin:0;font-size:.65rem;font-weight:700;display:flex}.pricing-eyebrow:before{content:"";background:var(--metal);border-radius:1px;width:28px;height:2px}.pricing-title{letter-spacing:-.02em;color:var(--text);margin:0;font-size:clamp(1.45rem,4.2vw,2.15rem);font-weight:700;line-height:1.2}.pricing-sub{max-width:620px;color:var(--text-muted);margin:0;font-size:.78rem;line-height:1.75}.pricing-status{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:.6rem;padding:1rem 1.15rem;display:flex}.pricing-status-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.pricing-status-value{color:var(--text);font-size:.75rem}.pricing-status-note{color:var(--text-muted);margin:0;font-size:.68rem}.pricing-legacy{border:1px solid var(--border);border-left:2px solid var(--metal);border-radius:var(--radius-sm);background:var(--surface);color:var(--text-muted);margin:0;padding:.85rem 1.1rem;font-size:.72rem;line-height:1.7}.pricing-legacy strong{color:var(--text)}.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1.1rem;display:grid}.plan-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;gap:1.1rem;padding:1.5rem 1.4rem 1.4rem;display:flex}.plan-card.featured{border-color:var(--border-strong);border-top:2px solid var(--metal);background:color-mix(in srgb, var(--color-accent) 5%, var(--color-surface));padding-top:calc(1.5rem - 1px)}.plan-card.current{border-color:var(--metal)}.plan-head{flex-direction:column;gap:.55rem;display:flex}.plan-name-row{flex-wrap:wrap;align-items:center;gap:.6rem;min-height:1.35rem;display:flex}.plan-name{letter-spacing:.2em;text-transform:uppercase;color:var(--text);margin:0;font-size:.7rem;font-weight:700}.plan-chip{border-radius:var(--radius-pill);border:1px solid var(--border-strong);letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap;background:0 0;padding:.15rem .5rem;font-size:.55rem}.plan-chip.current{background:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge);color:var(--metal-on)}.plan-price{align-items:baseline;gap:.35rem;margin:0;display:flex}.plan-price-amount{letter-spacing:-.03em;color:var(--text);font-size:2.1rem;font-weight:700;line-height:1}.plan-price-period{color:var(--text-muted);font-size:.7rem}.plan-blurb{color:var(--text-muted);margin:0;font-size:.72rem;line-height:1.6}.plan-allowance{border-top:1px solid var(--border);border-bottom:1px solid var(--border);align-items:baseline;gap:.45rem;padding:.75rem 0;display:flex}.plan-allowance-value{letter-spacing:-.01em;color:var(--text);font-size:1.15rem;font-weight:700}.plan-allowance-unit{letter-spacing:.06em;color:var(--text-muted);font-size:.68rem}.plan-lines-head{justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.plan-lines-label{letter-spacing:.2em;text-transform:uppercase;color:var(--text-muted);font-size:.58rem;font-weight:700}.plan-lines-count{color:var(--text-muted);font-size:.62rem}.plan-lines{flex-direction:column;flex:1;gap:.6rem;margin:0;padding:0;list-style:none;display:flex}.plan-line{align-items:flex-start;gap:.6rem;display:flex}.plan-mark{text-align:center;width:1em;color:var(--metal);flex-shrink:0;margin-top:.1em;font-size:.78rem;line-height:1.4}.plan-line.excluded .plan-mark{color:var(--text-muted)}.plan-line-body{flex-direction:column;gap:.1rem;min-width:0;display:flex}.plan-line-name{color:var(--text);font-size:.72rem}.plan-line-tag{color:var(--text-muted);font-size:.63rem;line-height:1.5}.plan-line.excluded .plan-line-name{color:var(--text-muted);text-decoration:line-through;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--border-strong);text-decoration-color:var(--border-strong)}.plan-cta{flex-direction:column;gap:.5rem;margin-top:.25rem;display:flex}.plan-btn{border:1px solid var(--metal);border-radius:var(--radius-sm);width:100%;color:var(--text);letter-spacing:.12em;text-transform:uppercase;text-align:center;cursor:pointer;background:0 0;padding:.65rem 1rem;font-size:.68rem;font-weight:700;text-decoration:none;transition:background-color .13s,border-color .13s,transform .13s;display:block}.plan-btn:hover{background:var(--surface-raised);border-color:var(--metal)}.plan-btn.primary{background:var(--metal-surface);background-image:var(--brushed);border-color:var(--metal-edge);color:var(--metal-on)}.plan-btn.primary:hover{background:var(--metal-surface-hi);background-image:var(--brushed);transform:translateY(-1px)}.plan-btn.is-current{border-style:dashed;border-color:var(--border-strong);color:var(--text-muted);cursor:default}.plan-cta-note{color:var(--text-muted);margin:0;font-size:.62rem;line-height:1.6}.plan-cta-note strong{color:var(--text);font-weight:400}.pricing-common{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;gap:1rem;padding:1.5rem 1.4rem;display:flex}.pricing-common-title{letter-spacing:.2em;text-transform:uppercase;color:var(--text);margin:0;font-size:.62rem;font-weight:700}.pricing-common-list{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem 1.5rem;margin:0;padding:0;list-style:none;display:grid}.pricing-common-item{border-left:1px solid var(--border);flex-direction:column;gap:.2rem;padding-left:.75rem;display:flex}.pricing-common-name{color:var(--text);font-size:.68rem}.pricing-common-blurb{color:var(--text-muted);font-size:.63rem;line-height:1.6}.pricing-foot{flex-direction:column;gap:.5rem;display:flex}.pricing-foot p{color:var(--text-muted);margin:0;font-size:.63rem;line-height:1.7}.pricing-foot a,.pricing-legal-links a{color:var(--text);text-underline-offset:3px}.pricing-foot a:hover{color:var(--metal)}@media (width<=1000px){.pricing-grid{grid-template-columns:minmax(0,1fr)}.pricing-inner{max-width:640px}}@media (width<=720px){.pricing-body{padding:1.75rem 1rem 4rem}}@media (prefers-reduced-motion:reduce){.plan-btn,.plan-btn.primary:hover{transition:none;transform:none}}.legal-inner{flex-direction:column;gap:1.75rem;max-width:660px;margin:0 auto;display:flex}.legal-updated{letter-spacing:.06em;color:var(--text-muted);margin:0;font-size:.68rem}.legal-intro p,.legal-section p{color:var(--text-muted);margin:0 0 .85rem;font-size:.8rem;line-height:1.85}.legal-intro p:last-child,.legal-section p:last-child{margin-bottom:0}.legal-section{border-bottom:1px solid var(--border);flex-direction:column;gap:.65rem;padding-bottom:1.5rem;display:flex}.legal-section:last-of-type{border-bottom:none}.legal-heading{letter-spacing:.18em;text-transform:uppercase;color:var(--text);margin:0;font-size:.68rem;font-weight:700}.legal-list{flex-direction:column;gap:.5rem;margin:0;padding-left:1.1rem;display:flex}.legal-list li{color:var(--text-muted);font-size:.78rem;line-height:1.75}.legal-list li::marker{color:var(--metal)}.legal-foot{justify-content:flex-start;display:flex}.checkout-arrival{border:1px solid var(--border);border-left:2px solid var(--metal);border-radius:var(--radius);background:var(--surface);align-items:flex-start;gap:.85rem;padding:1rem 1.15rem;display:flex}.checkout-arrival.is-confirmed{border-left-color:var(--color-success)}.checkout-arrival.is-slow,.checkout-arrival.is-needs-signin{border-left-color:var(--border-strong)}.checkout-arrival-btn{align-self:flex-start;margin-top:.35rem}.checkout-arrival-mark{width:1.15rem;height:1.15rem;color:var(--metal);flex-shrink:0;justify-content:center;align-items:center;margin-top:.1rem;font-size:.85rem;display:flex}.checkout-arrival.is-confirmed .checkout-arrival-mark{color:var(--color-success-text,var(--color-success))}.checkout-arrival.is-slow .checkout-arrival-mark,.checkout-arrival.is-needs-signin .checkout-arrival-mark{color:var(--text)}.checkout-arrival-body{flex-direction:column;gap:.3rem;min-width:0;display:flex}.checkout-arrival-title{color:var(--text);margin:0;font-size:.75rem;line-height:1.5}.checkout-arrival-note{color:var(--text-muted);margin:0;font-size:.66rem;line-height:1.7}.checkout-spinner{border:1.5px solid var(--border-strong);border-top-color:var(--metal);border-radius:50%;width:.85rem;height:.85rem;animation:.7s linear infinite checkout-spin}@keyframes checkout-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.checkout-spinner{animation:none}}
