.memory-preference-card{margin-block:20px}.memory-preference-card h2{margin:12px 0;font-size:clamp(24px,6vw,36px)}.memory-preference-card p{overflow-wrap:anywhere;line-height:1.5}.memory-preference-card .control-row{gap:16px}.memory-preference-card .control-row>span:first-child{flex:1;min-width:0}.memory-confirm{background:#ff7a2d0b;border:1px solid #ff7a2d66;border-radius:20px;margin-block:18px;padding:18px}.memory-confirm h3{margin:0 0 14px;font-size:21px}.memory-consent{cursor:pointer;align-items:flex-start;gap:12px;line-height:1.5;display:flex}.memory-consent input{opacity:1;accent-color:#ff701d;flex:0 0 22px;width:22px;height:22px;margin:3px 0;position:static}.memory-actions{flex-wrap:wrap;gap:12px;margin-top:18px;display:flex}.memory-confirm-action{color:#151515;font:inherit;cursor:pointer;background:#ff701d;border:none;border-radius:14px;min-height:46px;padding:13px 18px;font-weight:650}.memory-confirm-action:disabled{opacity:.45;cursor:default}.memory-preference-note{opacity:.8;font-size:14px}@media (width<=420px){.memory-actions>button{width:100%}}.cleanup-card{background:var(--surface,#fff);border:1px solid var(--line,#e8e7e3);min-width:0;color:var(--text,#191919);border-radius:28px;margin:24px 0;padding:clamp(20px,4vw,32px)}.cleanup-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.cleanup-heading h2{overflow-wrap:anywhere;margin:12px 0 20px;font-size:clamp(22px,4vw,30px);line-height:1.15}.cleanup-heading button{flex-shrink:0}.cleanup-card p{color:var(--muted,#72716e);line-height:1.55}.cleanup-status{color:#785d47;background:#f4efeb;border-radius:16px;padding:9px 14px;font-size:14px;font-weight:700;display:inline-block}.cleanup-status-active{color:#23794e;background:#e6f5ed}.cleanup-status-error,.cleanup-status-unavailable{color:#a04a15;background:#fff0e6}.cleanup-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0;display:grid}.cleanup-metrics div{background:var(--surface-soft,#f7f6f3);border-radius:18px;min-width:0;padding:16px}.cleanup-metrics dt{color:var(--muted,#72716e);margin-bottom:8px;font-size:13px}.cleanup-metrics dd{overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:650}.cleanup-observed{font-size:13px}@media (width<=380px){.cleanup-heading{flex-wrap:wrap}.cleanup-metrics{grid-template-columns:1fr}}:root[data-theme=dark] .cleanup-status-active{color:#96d8b5;background:#173d2c}:root[data-theme=dark] .cleanup-status-error,:root[data-theme=dark] .cleanup-status-unavailable{color:#f1ba96;background:#452b1d}.real-memory-panel{min-width:0;padding-bottom:1rem}.real-memory-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin:1.5rem 0;display:flex}.real-memory-heading h2{margin:0}.real-memory-panel .memory-policy-card{margin-bottom:1rem}.real-memory-panel h2,.real-memory-panel h3{overflow-wrap:anywhere}.real-memory-panel p{overflow-wrap:anywhere;line-height:1.55}.real-memory-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-bottom:1.5rem;display:grid}.real-memory-metrics div{background:var(--surface-soft,#f6f5f2);border-radius:1.25rem;min-width:0;padding:1rem}.real-memory-metrics dd{margin:.5rem 0 0;font-size:1.3rem;font-weight:700}.real-memory-metrics dt{overflow-wrap:anywhere}.dialog-mode-details{border-top:1px solid var(--line,#8080802e);margin-top:16px;padding-top:14px;font-size:13px;line-height:1.5}.dialog-mode-value{font-size:16px;display:block}.dialog-mode-off{color:var(--muted)}.dialog-mode-source,.dialog-mode-state{color:var(--muted);margin:6px 0}.dialog-mode-safety{background:var(--surface-soft,#8080800f);border-radius:16px;margin-top:12px;padding:12px}.dialog-mode-safety>strong{color:var(--orange);font-size:13px;display:block}.dialog-mode-safety dl{margin:10px 0 0}.dialog-mode-safety dl>div{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:5px 0;display:grid}.dialog-mode-safety dt{color:var(--muted)}.dialog-mode-safety dd{margin:0;font-weight:600}.dialog-mode-note{color:var(--muted);margin:12px 0 0;font-size:12px}.dialog-mode-unconfirmed strong{font-size:14px}.dialog-mode-unconfirmed p{color:var(--muted);margin-bottom:0}.dialog-mode-details p,.dialog-mode-safety dt{overflow-wrap:anywhere}.dialog-mode-control{justify-content:space-between;align-items:center;gap:16px;display:flex}.dialog-mode-control>div{min-width:0}.dialog-mode-switch{cursor:pointer;background:0 0;border:0;border-radius:24px;flex:0 0 56px;width:56px;min-width:56px;height:44px;min-height:44px;padding:8px 4px;position:relative}.dialog-mode-switch:before{content:"";background:var(--muted,#777);opacity:.32;border-radius:20px;position:absolute;inset:8px 2px}.dialog-mode-switch>span{background:var(--surface,#fff);border-radius:50%;width:22px;height:22px;transition:left .15s;position:absolute;top:11px;left:5px;box-shadow:0 1px 4px #0002}.dialog-mode-switch[aria-checked=true]:before{background:var(--orange,#ff731d);opacity:1}.dialog-mode-switch[aria-checked=true]>span{left:29px}.dialog-mode-switch:disabled{cursor:default;opacity:.55}.dialog-mode-switch:focus-visible,.dialog-mode-retry:focus-visible{outline:3px solid var(--orange,#ff731d);outline-offset:3px}.dialog-mode-feedback{color:var(--muted);overflow-wrap:anywhere;margin:8px 0;font-size:13px}.dialog-mode-retry{border:1px solid var(--line,#bbb);background:var(--surface,transparent);min-height:44px;color:inherit;font:inherit;cursor:pointer;border-radius:14px;padding:10px 14px}@media (prefers-reduced-motion:reduce){.dialog-mode-switch>span{transition:none}}.real-dialogs-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.real-dialogs-heading h2{margin:6px 0;font-size:24px;line-height:1.2}.real-dialogs-panel .dialog-main{min-width:0}.real-dialogs-panel h3{overflow-wrap:anywhere;margin:0 0 8px;font-size:17px}.real-dialogs-notice{color:var(--muted);font-size:13px;line-height:1.55}.real-dialogs-panel .dialog-filters{flex-wrap:wrap}.real-dialogs-panel .dialog-card{grid-template-columns:42px minmax(0,1fr);align-items:start}.real-dialogs-panel .dialog-status{white-space:normal;display:inline-block}.real-dialog-state-NEEDS_OWNER{color:var(--orange)}.real-dialog-state-MANUAL_CONTROL{color:var(--muted)}.real-dialogs-panel button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.real-dialogs-panel .automation-lock-note{margin-bottom:18px}@media (width<=400px){.real-dialogs-heading h2{font-size:21px}.real-dialogs-heading button{width:100%}}.automation-live-control{min-width:0}.automation-live-row>span:first-child{flex:1;min-width:0}.automation-live-row strong,.automation-live-row small{overflow-wrap:anywhere}.automation-live-row input:disabled~.switch{opacity:.55}.automation-live-row input:focus-visible~.switch{outline-offset:4px;outline:3px solid #ff791e}.automation-lock-note{background:#78787814;border-radius:1.1rem;margin-top:1.1rem;padding:1rem}.automation-lock-note strong{line-height:1.35;display:block}.automation-lock-note p{margin:.6rem 0 0;font-size:.95rem;line-height:1.55}.automation-lock-active{background:#ff791e1a;border:1px solid #ff791e52}.automation-live-control .automation-save-status{overflow-wrap:anywhere;min-height:1.5em;font-size:.95rem;line-height:1.5}.automation-refresh{min-height:44px}.automation-refresh:disabled{opacity:.55;cursor:wait}.automation-state-placeholder{line-height:1.55}@media (width<=420px){.automation-live-row{gap:.7rem}.automation-live-row strong{font-size:1rem}}:root{font-synthesis:none;text-rendering:optimizelegibility;--orange:#ff6a1a;--orange-soft:#ff8a49;--bg:#09090a;--surface:#121214;--surface-strong:#19191c;--surface-soft:#202024;--text:#f7f6f4;--muted:#8e8d94;--line:#ffffff14;--shadow:0 20px 50px #00000047;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=light]{--bg:#f4f2ef;--surface:#fff;--surface-strong:#f9f7f4;--surface-soft:#ebe7e2;--text:#171719;--muted:#77747a;--line:#17171917;--shadow:0 22px 55px #3d2e221a}*{box-sizing:border-box}html{background:var(--bg);min-height:100%}body{min-width:320px;min-height:100vh;min-height:var(--tg-viewport-stable-height,100vh);background:radial-gradient(circle at 85% -10%, color-mix(in srgb, var(--orange) 16%, transparent), transparent 34%), var(--bg);color:var(--text);margin:0}button,input,select{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{width:min(100%,520px);min-height:100vh;min-height:var(--tg-viewport-stable-height,100vh);padding:max(18px, env(safe-area-inset-top)) 18px calc(102px + env(safe-area-inset-bottom));margin:0 auto}.topbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.pill{border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 90%, transparent);min-height:36px;color:var(--text);letter-spacing:.04em;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:999px;align-items:center;padding:0 14px;font-size:12px;font-weight:750;display:inline-flex;box-shadow:0 8px 24px #00000014}.plan-pill{border-color:color-mix(in srgb, var(--orange) 35%, transparent);color:var(--orange)}.status-dot{background:var(--orange);width:7px;height:7px;box-shadow:0 0 0 5px color-mix(in srgb, var(--orange) 12%, transparent);border-radius:50%;margin-right:8px}.hero{border:1px solid var(--line);background:linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 96%, var(--orange) 4%), var(--surface));min-height:300px;box-shadow:var(--shadow);isolation:isolate;border-radius:34px;padding:34px 28px 30px;position:relative;overflow:hidden}.hero:before{z-index:-1;background:var(--orange);filter:blur(1px);content:"";opacity:.92;border-radius:50%;width:280px;height:280px;position:absolute;bottom:-130px;right:-80px}.hero:after{z-index:-1;border:30px solid color-mix(in srgb, var(--surface) 80%, transparent);content:"";border-radius:50%;width:200px;height:200px;position:absolute;bottom:-105px;right:-25px}.hero-orbit{z-index:-1;border:1px solid color-mix(in srgb, var(--orange) 38%, transparent);border-radius:50%;position:absolute}.hero-orbit-one{width:190px;height:190px;top:-70px;right:-55px}.hero-orbit-two{width:74px;height:74px;top:4px;right:18px}.eyebrow,.muted-label{color:var(--muted);letter-spacing:.16em;margin:0;font-size:10px;font-weight:800}.hero h1{letter-spacing:-.065em;max-width:390px;min-height:128px;margin:22px 0 18px;font-size:clamp(42px,12vw,68px);font-weight:820;line-height:.98}.hero h1>span:first-child{color:var(--orange)}.cursor{color:var(--orange);animation:.8s step-end infinite blink}.hero-copy{max-width:290px;color:var(--muted);margin:0;font-size:14px;line-height:1.55}.usage-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;grid-template-columns:1fr auto;gap:15px;margin:14px 0 26px;padding:19px 20px 17px;display:grid;position:relative}.usage-card strong{margin-top:7px;font-size:21px;display:block}.usage-card strong small{color:var(--muted);font-size:12px;font-weight:650}.usage-percent{color:var(--orange);align-self:end;font-size:13px;font-weight:800}.progress-track{background:var(--surface-soft);border-radius:99px;grid-column:1/-1;height:5px;overflow:hidden}.progress-value{border-radius:inherit;background:linear-gradient(90deg, var(--orange), var(--orange-soft));height:100%;transition:width .6s}.section-heading{justify-content:space-between;align-items:flex-end;margin:0 2px 14px;display:flex}.section-heading h2{letter-spacing:-.035em;margin:5px 0 0;font-size:24px}.icon-button{border:1px solid var(--line);background:var(--surface);width:42px;height:42px;color:var(--text);cursor:pointer;border-radius:50%}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.feature-card{border:1px solid var(--line);background:var(--surface);min-height:172px;color:var(--text);text-align:left;cursor:pointer;border-radius:24px;flex-direction:column;align-items:flex-start;padding:18px;transition:transform .16s,border-color .16s;display:flex;position:relative}.feature-card:active{transform:scale(.98)}.feature-card:hover{border-color:color-mix(in srgb, var(--orange) 38%, var(--line))}.feature-card-accent{background:var(--orange);color:#160904;border-color:#0000}.feature-icon{background:var(--surface-soft);width:38px;height:38px;color:var(--orange);border-radius:13px;place-items:center;margin-bottom:auto;font-size:18px;display:grid}.feature-card-accent .feature-icon{color:#160904;background:#14080321}.feature-title{letter-spacing:-.02em;margin-top:15px;font-size:15px;font-weight:800}.feature-text{max-width:130px;color:var(--muted);margin-top:5px;font-size:11px;line-height:1.4}.feature-card-accent .feature-text{color:#160904a1}.feature-arrow{font-size:14px;position:absolute;top:18px;right:17px}.bottom-nav{z-index:10;right:max(14px,50vw - 246px);bottom:max(12px, env(safe-area-inset-bottom));border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 88%, transparent);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border-radius:24px;grid-template-columns:repeat(5,1fr);padding:9px 7px;display:grid;position:fixed;left:max(14px,50vw - 246px)}.bottom-nav button{min-height:49px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.bottom-nav button span{font-size:17px;font-weight:800}.bottom-nav button small{font-size:9px;font-weight:700}.bottom-nav button.active{background:color-mix(in srgb, var(--orange) 12%, transparent);color:var(--orange)}.view-panel{min-height:calc(var(--tg-viewport-stable-height,100vh) - 160px)}.inline-back{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--text);cursor:pointer;border-radius:999px;margin:2px 0 22px;padding:0 15px;font-size:12px;font-weight:750}.view-heading{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:30px;padding:30px 26px;position:relative;overflow:hidden}.view-heading:after{border:25px solid color-mix(in srgb, var(--orange) 23%, transparent);content:"";border-radius:50%;width:150px;height:150px;position:absolute;bottom:-62px;right:-42px}.view-icon{background:color-mix(in srgb, var(--orange) 14%, transparent);width:48px;height:48px;color:var(--orange);border-radius:16px;place-items:center;margin-bottom:25px;font-size:22px;font-weight:850;display:grid}.view-heading h1{z-index:1;letter-spacing:-.055em;max-width:340px;margin:8px 0;font-size:clamp(34px,10vw,50px);line-height:1;position:relative}.view-heading p{z-index:1;max-width:300px;color:var(--muted);margin:0;font-size:14px;line-height:1.5;position:relative}.module-list{gap:12px;margin-top:14px;display:grid}.module-card{border:1px solid var(--line);background:var(--surface);border-radius:24px;min-height:145px;padding:22px;position:relative}.module-card h2{letter-spacing:-.025em;margin:26px 0 7px;font-size:18px}.module-card p{max-width:390px;color:var(--muted);margin:0;font-size:13px;line-height:1.55}.module-state{background:color-mix(in srgb, var(--orange) 12%, transparent);color:var(--orange);letter-spacing:.12em;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:850;position:absolute;top:18px;right:18px}.theme-row{border:1px solid var(--line);background:var(--surface);width:100%;min-height:76px;color:var(--text);text-align:left;cursor:pointer;border-radius:22px;justify-content:space-between;align-items:center;gap:18px;margin-top:12px;padding:15px 18px;display:flex}.theme-row span:first-child{flex-direction:column;gap:5px;display:flex}.theme-row small{color:var(--muted);font-size:10px}.theme-row>span:last-child{color:var(--orange);white-space:nowrap;font-size:12px;font-weight:800}.route-contract{display:none}.account-panel{gap:12px;margin-top:14px;display:grid}.readonly-banner{border:1px solid color-mix(in srgb, var(--orange) 22%, var(--line));background:color-mix(in srgb, var(--orange) 7%, var(--surface));border-radius:18px;justify-content:space-between;align-items:center;gap:14px;padding:13px 16px;display:flex}.readonly-banner span{color:var(--orange);letter-spacing:.13em;font-size:9px;font-weight:850}.readonly-banner small{color:var(--muted);text-align:right;font-size:10px}.account-card{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:22px;position:relative;overflow:hidden}.account-card h2{letter-spacing:-.035em;margin:7px 0 6px;font-size:24px}.account-card h2 small{color:var(--muted);font-size:12px;font-weight:650}.account-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.profile-card{grid-template-columns:auto 1fr;align-items:center;gap:15px;display:grid}.account-avatar{background:var(--orange);color:#170904;border-radius:18px;place-items:center;width:54px;height:54px;font-size:22px;font-weight:900;display:grid}.account-details{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:7px 0 0;display:grid}.account-details div{background:var(--surface-strong);border-radius:16px;min-width:0;padding:12px}.account-details dt{color:var(--muted);font-size:9px}.account-details dd{text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:11px;font-weight:750;overflow:hidden}.account-card-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.status-chip{color:#44c27b;letter-spacing:.1em;background:#44c27b24;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:850}.readonly-action{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:15px;margin-top:16px;padding:12px 14px;font-size:10px}.quota-card .account-card-heading strong{color:var(--orange);font-size:13px}.progress-track.large{height:8px;margin-top:17px}.quota-split{color:var(--muted);justify-content:space-between;gap:14px;margin-top:12px;font-size:10px;display:flex}.quota-split strong{color:var(--text);margin-left:3px}.secretary-panel{gap:12px;margin-top:14px;display:grid}.secretary-banner{background:color-mix(in srgb, var(--orange) 9%, var(--surface))}.secretary-status-card,.secretary-control-card{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:22px}.secretary-status-card h2,.secretary-control-card h2{letter-spacing:-.035em;margin:13px 0 7px;font-size:24px}.secretary-status-card>p,.secretary-control-card>p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.secretary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 0;display:grid}.secretary-metrics div{background:var(--surface-strong);border-radius:16px;min-width:0;padding:13px}.secretary-metrics dt{color:var(--muted);font-size:9px}.secretary-metrics dd{text-overflow:ellipsis;white-space:nowrap;margin:6px 0 0;font-size:12px;font-weight:800;overflow:hidden}.preview-chip{background:color-mix(in srgb, var(--orange) 13%, transparent);color:var(--orange);letter-spacing:.1em;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:850}.control-row{border:1px solid var(--line);background:var(--surface-strong);cursor:pointer;border-radius:18px;grid-template-columns:1fr auto;align-items:center;gap:14px;min-height:72px;margin-top:12px;padding:14px 15px;display:grid;position:relative}.control-row>span:first-child{flex-direction:column;gap:5px;min-width:0;display:flex}.control-row strong{font-size:13px}.control-row small{color:var(--muted);font-size:10px;line-height:1.35}.control-row input{opacity:0;width:1px;height:1px;position:absolute}.switch{border:1px solid var(--line);background:var(--surface-soft);border-radius:999px;width:46px;height:28px;transition:background .16s;position:relative}.switch:after{background:var(--muted);content:"";border-radius:50%;width:20px;height:20px;transition:transform .16s,background .16s;position:absolute;top:3px;left:3px}.control-row input:checked+.switch{background:color-mix(in srgb, var(--orange) 35%, var(--surface-soft))}.control-row input:checked+.switch:after{background:var(--orange);transform:translate(18px)}.control-row input:focus-visible+.switch{outline:3px solid color-mix(in srgb, var(--orange) 38%, transparent);outline-offset:3px}.preview-summary{background:color-mix(in srgb, var(--orange) 8%, var(--surface-strong));border-radius:17px;flex-direction:column;gap:6px;margin-top:14px;padding:14px;display:flex}.preview-summary span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:9px}.preview-summary strong{color:var(--orange);font-size:12px;line-height:1.4}.reset-preview{border:1px solid var(--line);width:100%;min-height:44px;color:var(--text);cursor:pointer;background:0 0;border-radius:16px;margin-top:10px;font-size:11px;font-weight:750}.secretary-safety-note{color:var(--muted);text-align:center;margin:2px 4px 0;font-size:10px;line-height:1.55}.dialogs-panel{gap:12px;margin-top:14px;display:grid}.dialogs-banner{background:color-mix(in srgb, var(--orange) 9%, var(--surface))}.dialog-filters{scrollbar-width:none;gap:8px;padding:2px 1px 4px;display:flex;overflow-x:auto}.dialog-filters::-webkit-scrollbar{display:none}.dialog-filters button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--muted);cursor:pointer;border-radius:999px;flex:none;padding:0 13px;font-size:10px;font-weight:750}.dialog-filters button.active{border-color:color-mix(in srgb, var(--orange) 42%, transparent);background:color-mix(in srgb, var(--orange) 12%, var(--surface));color:var(--orange)}.dialogs-summary{color:var(--muted);justify-content:space-between;align-items:center;padding:4px 4px 0;font-size:10px;display:flex}.dialogs-summary strong{color:var(--text);font-size:12px}.dialog-list{gap:10px;display:grid}.dialog-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:17px;display:grid}.dialog-avatar{background:color-mix(in srgb, var(--orange) 15%, var(--surface-soft));width:48px;height:48px;color:var(--orange);border-radius:16px;place-items:center;font-size:14px;font-weight:900;display:grid}.dialog-main{min-width:0}.dialog-title-row{align-items:center;gap:7px;min-width:0;display:flex}.dialog-title-row h2{letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:15px;overflow:hidden}.unread-badge{background:var(--orange);color:#170904;border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 5px;font-size:9px;font-weight:900;display:grid}.dialog-main>p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 9px;font-size:10px;overflow:hidden}.dialog-meta{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;font-size:9px;display:flex}.dialog-status{border-radius:999px;padding:4px 7px;font-weight:800}.status-monitored{color:#44c27b;background:#44c27b21}.status-review_required{background:color-mix(in srgb, var(--orange) 13%, transparent);color:var(--orange)}.status-paused{background:var(--surface-soft);color:var(--muted)}.dialog-memory{color:var(--muted);flex-direction:column;align-items:flex-end;gap:5px;font-size:8px;display:flex}.dialog-memory strong{color:var(--text);white-space:nowrap;font-size:10px}.dialogs-state{border:1px dashed var(--line);background:var(--surface);color:var(--muted);text-align:center;border-radius:20px;padding:28px 18px;font-size:11px}.error-state{justify-content:space-between;align-items:center;gap:12px;display:flex}.error-state button{background:var(--orange);color:#170904;cursor:pointer;border:0;border-radius:999px;min-height:36px;padding:0 13px;font-size:10px;font-weight:800}.dialog-safety-note{color:var(--muted);text-align:center;margin:2px 4px 0;font-size:10px;line-height:1.55}.memory-panel{gap:12px;margin-top:14px;display:grid}.memory-banner{background:color-mix(in srgb, var(--orange) 9%, var(--surface))}.memory-policy-card{border:1px solid var(--line);background:var(--surface);border-radius:24px;grid-template-columns:1fr auto;gap:10px 14px;padding:20px;display:grid}.memory-policy-card h2{letter-spacing:-.035em;margin:7px 0 0;font-size:24px}.memory-policy-card>p{color:var(--muted);grid-column:1/-1;margin:0;font-size:11px;line-height:1.55}.memory-auto-chip{color:#44c27b;letter-spacing:.08em;background:#44c27b24;border-radius:999px;align-self:start;padding:6px 9px;font-size:8px;font-weight:850}.memory-filters{scrollbar-width:none;gap:8px;padding:2px 1px 4px;display:flex;overflow-x:auto}.memory-filters::-webkit-scrollbar{display:none}.memory-filters button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--muted);cursor:pointer;border-radius:999px;flex:none;padding:0 13px;font-size:10px;font-weight:750}.memory-filters button.active{border-color:color-mix(in srgb, var(--orange) 42%, transparent);background:color-mix(in srgb, var(--orange) 12%, var(--surface));color:var(--orange)}.memory-summary{color:var(--muted);justify-content:space-between;align-items:center;padding:4px 4px 0;font-size:10px;display:flex}.memory-summary strong{color:var(--text);font-size:12px}.memory-list{gap:10px;display:grid}.memory-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;padding:18px}.memory-card-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:9px;display:flex}.memory-status{border-radius:999px;padding:5px 8px;font-weight:850}.memory-status-active{color:#44c27b;background:#44c27b21}.memory-status-review_required{background:color-mix(in srgb, var(--orange) 13%, transparent);color:var(--orange)}.memory-status-expired{background:var(--surface-soft);color:var(--muted)}.memory-card h2{letter-spacing:-.025em;margin:15px 0 7px;font-size:18px}.memory-card>p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.memory-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0 0;display:grid}.memory-metrics div{background:var(--surface-strong);border-radius:15px;padding:11px 12px}.memory-metrics dt{color:var(--muted);font-size:8px}.memory-metrics dd{color:var(--text);margin:5px 0 0;font-size:10px;font-weight:800}.memory-state{border:1px dashed var(--line);background:var(--surface);color:var(--muted);text-align:center;border-radius:20px;padding:28px 18px;font-size:11px}.memory-safety-note{color:var(--muted);text-align:center;margin:2px 4px 0;font-size:10px;line-height:1.55}.free-chat-panel{gap:12px;margin-top:14px;display:grid}.free-chat-banner{background:color-mix(in srgb, var(--orange) 9%, var(--surface))}.free-chat-state{border:1px dashed var(--line);background:var(--surface);color:var(--muted);text-align:center;border-radius:20px;padding:28px 18px;font-size:11px}.free-chat-model-card,.free-chat-capabilities,.free-chat-workspace{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:20px}.chat-model-options{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}.chat-model-options button{border:1px solid var(--line);background:var(--surface-strong);color:var(--text);font:inherit;cursor:pointer;border-radius:12px;padding:9px 12px;font-size:11px}.chat-model-options button[aria-pressed=true]{border-color:var(--orange);color:var(--orange)}.chat-model-disclaimer{color:var(--muted);font-size:11px;line-height:1.5}.free-chat-model-card h2{letter-spacing:-.04em;margin:12px 0 6px;font-size:25px}.free-chat-model-card>p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.free-chat-locks{gap:7px;margin-top:16px;display:grid}.free-chat-locks span{background:var(--surface-strong);color:var(--muted);border-radius:14px;justify-content:space-between;gap:12px;padding:10px 12px;font-size:9px;display:flex}.free-chat-locks strong{color:var(--text);font-size:9px}.capability-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px;display:grid}.capability-grid>div{background:var(--surface-strong);border-radius:18px;align-content:start;gap:8px;min-height:112px;padding:14px;display:grid}.capability-grid>div>span{background:color-mix(in srgb, var(--orange) 13%, transparent);width:32px;height:32px;color:var(--orange);border-radius:11px;place-items:center;font-size:12px;font-weight:850;display:grid}.capability-grid strong{font-size:11px;line-height:1.35}.capability-grid small{color:var(--orange);letter-spacing:.08em;font-size:7px;font-weight:850}.chat-empty-state{text-align:center;padding:8px 6px 20px}.chat-empty-state>span{background:var(--orange);color:#170904;border-radius:16px;place-items:center;width:48px;height:48px;margin:0 auto 13px;font-size:19px;font-weight:900;display:grid}.chat-empty-state h2{letter-spacing:-.03em;margin:0 0 6px;font-size:20px}.chat-empty-state p{max-width:300px;color:var(--muted);margin:0 auto;font-size:10px;line-height:1.5}.chat-preview-list{gap:10px;margin:0 0 16px;display:grid}.chat-preview-list>p{color:var(--muted);font-size:12px}.chat-preview-message{border:1px solid var(--line);background:var(--surface-strong);overflow-wrap:anywhere;border-radius:16px 16px 4px;max-width:90%;margin-left:auto;padding:12px 14px}.chat-preview-message>span{color:var(--muted);font-size:10px;font-weight:700}.chat-preview-message>p{white-space:pre-wrap;color:var(--text);margin:8px 0;font-size:12px;line-height:1.5}.chat-preview-message>button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:10px}.chat-send-review{border:1px solid var(--orange);background:var(--surface-strong);border-radius:18px;margin-top:14px;padding:16px}.chat-send-review h3{margin:0 0 12px;font-size:16px}.chat-send-review p{color:var(--text);font-size:11px;line-height:1.5}.chat-review-text{overflow-wrap:anywhere;white-space:pre-wrap;border:1px solid var(--line);border-radius:12px;max-height:220px;padding:12px;font-size:12px;line-height:1.5;overflow:auto}.chat-send-review button{border:1px solid var(--line);background:var(--surface);min-height:38px;color:var(--text);cursor:pointer;border-radius:12px;margin:10px 8px 0 0;padding:0 12px;font-size:11px}.chat-send-review button:disabled{opacity:.5;cursor:not-allowed}.chat-composer{border:1px solid var(--line);background:var(--surface-strong);border-radius:20px;grid-template-columns:1fr auto;gap:9px;padding:10px;display:grid;position:relative}.chat-composer textarea{resize:vertical;min-height:88px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;grid-column:1/-1;font-size:12px;line-height:1.5}.chat-composer textarea::placeholder{color:var(--muted)}.draft-counter{color:var(--muted);align-self:center;font-size:8px}.chat-composer button{background:var(--surface-soft);min-height:38px;color:var(--muted);border:0;border-radius:14px;padding:0 15px;font-size:10px;font-weight:800}.chat-composer button:disabled{cursor:not-allowed;opacity:.75}.clear-draft{border:1px solid var(--line);width:100%;min-height:40px;color:var(--text);cursor:pointer;background:0 0;border-radius:15px;margin-top:9px;font-size:10px;font-weight:750}.clear-draft:disabled{color:var(--muted);cursor:not-allowed;opacity:.55}.free-chat-safety-note{color:var(--muted);text-align:center;margin:2px 4px 0;font-size:10px;line-height:1.55}.settings-panel{gap:12px}.settings-banner{background:color-mix(in srgb, var(--orange) 9%, var(--surface))}.settings-state{border:1px dashed var(--line);background:var(--surface);color:var(--muted);text-align:center;border-radius:20px;padding:28px 18px;font-size:11px}.settings-card{border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:21px}.settings-card h2{letter-spacing:-.035em;margin:12px 0 6px;font-size:23px}.settings-card>p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.settings-fieldset{border:0;min-width:0;margin:18px 0 0;padding:0}.settings-fieldset legend{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:9px;font-size:9px;font-weight:750}.settings-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.settings-options.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-options button{border:1px solid var(--line);background:var(--surface-strong);min-height:42px;color:var(--muted);cursor:pointer;border-radius:14px;padding:7px;font-size:9px;font-weight:750}.settings-options button.active{border-color:color-mix(in srgb, var(--orange) 45%, transparent);background:color-mix(in srgb, var(--orange) 12%, var(--surface-strong));color:var(--orange)}.instructions-editor{border:1px solid var(--line);background:var(--surface-strong);border-radius:18px;margin-top:15px;padding:12px;display:block;position:relative}.instructions-editor textarea{resize:vertical;width:100%;min-height:100px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-size:11px;line-height:1.55}.instructions-editor textarea::placeholder{color:var(--muted)}.instructions-editor>span:last-child{color:var(--muted);text-align:right;font-size:8px;display:block}.developer-card{border-color:color-mix(in srgb, var(--orange) 24%, var(--line))}.developer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:17px 0 0;display:grid}.developer-grid div{background:var(--surface-strong);border-radius:15px;min-width:0;padding:12px}.developer-grid dt{color:var(--muted);font-size:8px}.developer-grid dd{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:6px 0 0;font-size:10px;font-weight:800;overflow:hidden}.developer-locks{gap:7px;margin-top:12px;display:grid}.developer-locks span{background:color-mix(in srgb, var(--orange) 7%, var(--surface-strong));color:var(--muted);border-radius:14px;justify-content:space-between;gap:10px;padding:10px 12px;font-size:9px;display:flex}.developer-locks strong{color:var(--text);text-align:right}.prototype-ready-card{border:1px solid color-mix(in srgb, #44c27b 28%, var(--line));background:color-mix(in srgb, #44c27b 6%, var(--surface));border-radius:24px;grid-template-columns:auto 1fr;align-items:center;gap:15px;padding:20px;display:grid}.prototype-ready-icon{color:#44c27b;background:#44c27b2e;border-radius:16px;place-items:center;width:48px;height:48px;font-size:20px;font-weight:900;display:grid}.prototype-ready-card h2{margin:5px 0;font-size:20px}.prototype-ready-card p{color:var(--muted);margin:0;font-size:10px;line-height:1.5}.reset-all-settings{border:1px solid var(--line);background:var(--surface);width:100%;min-height:46px;color:var(--text);cursor:pointer;border-radius:16px;font-size:11px;font-weight:800}.reset-all-settings:disabled{cursor:default;opacity:.45}.settings-save-panel{border:1px solid color-mix(in srgb, var(--orange) 28%, var(--line));background:color-mix(in srgb, var(--orange) 8%, var(--surface));border-radius:20px;gap:8px;padding:17px;display:grid}.settings-save-panel>span{color:var(--text);font-size:11px;font-weight:800}.settings-save-panel>small{color:#e46b6b;font-size:10px;line-height:1.45}.save-settings{background:var(--orange);color:#111;cursor:pointer;border:0;border-radius:15px;min-height:46px;font-size:11px;font-weight:900}.save-settings:disabled{cursor:default;filter:saturate(.4);opacity:.5}.settings-safety-note{color:var(--muted);text-align:center;margin:2px 4px 0;font-size:10px;line-height:1.55}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}button:focus-visible{outline:3px solid color-mix(in srgb, var(--orange) 38%, transparent);outline-offset:3px}.centered-state{min-height:var(--tg-viewport-stable-height,100vh);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.centered-state h1{margin:24px 0 8px;font-size:26px}.centered-state p{max-width:300px;color:var(--muted)}.centered-state small{color:var(--muted)}.retry-button{background:var(--orange);color:#170904;cursor:pointer;border:0;border-radius:999px;min-height:44px;margin:12px 0 18px;padding:0 22px;font-weight:800}.retry-button:focus-visible{outline:3px solid color-mix(in srgb, var(--orange) 36%, transparent);outline-offset:3px}.brand-mark{background:var(--orange);color:#170904;width:72px;height:72px;box-shadow:0 18px 44px color-mix(in srgb, var(--orange) 25%, transparent);border-radius:24px;place-items:center;font-size:32px;font-weight:900;display:grid}.pulse{animation:1.5s ease-in-out infinite pulse}@keyframes blink{50%{opacity:0}}@keyframes pulse{50%{opacity:.75;transform:scale(.94)}}@media (width<=370px){.app-shell{padding-left:12px;padding-right:12px}.hero{border-radius:28px;min-height:278px;padding:28px 22px}.hero h1{font-size:40px}.feature-card{min-height:158px;padding:15px}.model-pill{text-overflow:ellipsis;white-space:nowrap;max-width:172px;overflow:hidden}.dialog-card{grid-template-columns:auto minmax(0,1fr)}.dialog-memory{flex-direction:row;grid-column:2;justify-content:flex-start;align-items:center}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
