.marked-range{margin:8px 0 12px}.mapping-entry details .marked-range label{margin-bottom:4px;display:block}.marked-range-scroll{overflow-x:auto}.marked-range-inner{min-width:500px;padding:0 20px}.mapping-entry .marked-range input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:20px;margin:0;padding:0;display:block}.marked-range input[type=range]::-webkit-slider-runnable-track{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:999px;height:8px}.marked-range input[type=range]::-webkit-slider-thumb{border:2px solid var(--surface);appearance:none;background:var(--primary);border-radius:50%;width:20px;height:20px;margin-top:-7px}.marked-range input[type=range]::-moz-range-track{box-sizing:border-box;border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:999px;height:8px}.marked-range input[type=range]::-moz-range-thumb{border:2px solid var(--surface);background:var(--primary);border-radius:50%;width:16px;height:16px}.marked-range-marks{height:44px;margin:0 10px;position:relative}.marked-range-marks button{width:calc(100% / var(--mark-intervals));height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;padding:0;font-size:.72rem;display:flex;position:absolute;top:0;transform:translate(-50%)}.marked-range-tick{background:currentColor;width:2px;height:9px}.marked-range-marks button[aria-pressed=true]{color:var(--primary);font-weight:700}.marked-range-marks button:focus-visible{outline-offset:-2px;outline:2px solid}.dialog-backdrop.onboarding-backdrop{isolation:isolate;background:#0c131fad;overflow:hidden}.dialog-backdrop.onboarding-backdrop[data-onboarding-spotlight]{background:0 0}.onboarding-backdrop[data-onboarding-spotlight]:before{box-sizing:border-box;top:var(--spotlight-top);left:var(--spotlight-left);width:var(--spotlight-width);height:var(--spotlight-height);content:"";pointer-events:none;border:2px solid #fff;border-radius:10px;position:absolute;box-shadow:0 0 0 1px #000000a6,0 0 0 200vmax #0c131fad}.dialog.onboarding-dialog{z-index:1;border-color:var(--line-strong);overscroll-behavior:contain;background:#eef0f2;flex-direction:column;width:min(420px,100% - 24px);max-height:calc(100% - 24px);padding:clamp(12px,4vw,20px);display:flex;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}.theme-dark .onboarding-dialog{background:#252930}@media (prefers-color-scheme:dark){.theme-system .onboarding-dialog{background:#252930}}.high-contrast .onboarding-dialog{background:var(--surface)}.onboarding-dialog .dialog-header{border-bottom:1px solid var(--line-strong);flex-shrink:0;margin-bottom:12px;padding-bottom:4px}.onboarding-dialog .dialog-header h2{font-size:1em}.onboarding-dialog .dialog-header button{flex:0 0 48px;width:48px;min-height:48px}.onboarding-content{overscroll-behavior:contain;min-height:0;overflow-y:auto}.onboarding-content:focus-visible,.onboarding-step-title:focus-visible{outline-offset:-2px}.onboarding-step-heading{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.onboarding-progress{color:var(--muted);font-variant-numeric:tabular-nums;flex:none;order:1;margin:0;font-size:.875em;font-weight:700}.onboarding-step-title{margin:0;font-size:1.5em;line-height:1.3}.onboarding-dialog .onboarding-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;margin-top:16px}.onboarding-actions .text-button{margin-inline-end:auto}.onboarding-dialog .onboarding-actions button{min-width:48px;min-height:48px;padding-inline:12px}@media (width<=380px){.dialog.onboarding-dialog{padding-block:8px}.onboarding-dialog .dialog-header{margin-bottom:4px;padding-bottom:0}.onboarding-step-heading{margin-bottom:4px}.onboarding-step-title{font-size:1.25em}.onboarding-content .dialog-copy{line-height:1.4}.onboarding-dialog .onboarding-actions{margin-top:8px}.onboarding-dialog .onboarding-actions button{padding-inline:8px}}@media (forced-colors:active){.onboarding-backdrop[data-onboarding-spotlight]:before{forced-color-adjust:none;border-color:highlight}}.settings-panel{gap:12px;display:grid}.settings-group{border:1px solid var(--line-strong);background:var(--surface);border-radius:12px;min-width:0}.settings-group-summary{cursor:pointer;border-radius:11px;gap:4px;min-height:60px;padding:12px 14px;list-style:none;display:grid}.settings-group-summary::-webkit-details-marker{display:none}.settings-group-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-group-indicator{border-bottom:2px solid;border-right:2px solid;flex:none;width:12px;height:12px;margin-right:4px;transform:rotate(-45deg)}.settings-group[open]>.settings-group-summary .settings-group-indicator{transform:rotate(45deg)}.settings-group-current{color:var(--muted);overflow-wrap:anywhere;font-size:.88em;line-height:1.45}.settings-group-content{gap:16px;min-width:0;padding:4px 16px 16px;display:grid}.settings-group-content>*,.settings-field,.toggle-field span{min-width:0}.settings-group-content select,.settings-group-content input:not([type=checkbox]),.settings-group-content textarea{min-width:0;max-width:100%}.settings-group-content .camera-settings{border:0;margin-top:0;padding-top:0}.settings-group-content button,.settings-help summary,.settings-camera-status button,.settings-footer button{min-height:44px}.settings-group-content button,.settings-camera-status button,.settings-footer button{min-width:44px}.settings-help{border-left:3px solid var(--line-strong);padding-left:10px}.settings-help summary{cursor:pointer;width:fit-content;color:var(--primary);align-items:center;font-weight:700;display:flex}.settings-help>div{line-height:1.55}.settings-help p{margin:0 0 8px}.settings-camera-status{border:1px solid var(--line-strong);color:var(--text);background:var(--surface);border-radius:12px;gap:8px;padding:12px;display:grid}.settings-camera-status:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.settings-camera-status-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.settings-camera-status-text{line-height:1.45}.camera-status-card{border:1px solid var(--line-strong);min-width:0;min-height:56px;color:var(--text);background:var(--surface-soft);text-align:left;border-radius:8px;flex:240px;justify-content:space-between;align-items:center;gap:12px;padding:8px;display:flex}.camera-status-card:hover:not(:disabled){background:var(--surface-strong)}.camera-status-indicator{white-space:nowrap;flex:none;align-items:center;gap:7px;font-weight:700;display:inline-flex}.camera-status-card .camera-status-indicator{color:var(--primary)}.settings-camera-status p{color:var(--muted);margin:0;font-size:.86em;line-height:1.5}.settings-camera-status .settings-camera-error{color:var(--danger);font-weight:700}.settings-emergency-stop{color:#fff;cursor:pointer;background:#c62828;border:1px solid #c62828;border-radius:8px;flex:none;min-width:44px;min-height:44px;padding:8px 12px;font-size:.875em;line-height:1.5}.settings-emergency-stop:hover{background:#a91f1f}.settings-emergency-stop:focus-visible{outline:3px solid var(--danger);outline-offset:2px}.settings-footer{z-index:5;padding:12px 24px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line-strong);background:var(--surface);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:4px -24px -24px;display:flex;position:sticky;bottom:-24px}.settings-save-status{color:var(--muted);flex:180px;font-size:.88em;line-height:1.45}.settings-save-status.is-error{color:var(--danger);font-weight:700}.settings-footer-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.settings-dialog{scroll-padding-top:16px;scroll-padding-bottom:150px}.settings-dialog :focus-visible,.settings-dialog .scan-highlight{scroll-margin-top:16px;scroll-margin-bottom:150px}@media (width<=580px){.settings-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));margin:4px -16px -16px;position:static}.settings-footer-actions{width:100%}.settings-footer-actions button{flex:auto}.settings-dialog{scroll-padding:16px}.settings-dialog :focus-visible,.settings-dialog .scan-highlight{scroll-margin:16px}}@media (height<=500px){.settings-camera-status,.settings-footer{position:static}.settings-dialog{scroll-padding:12px}.settings-dialog :focus-visible,.settings-dialog .scan-highlight{scroll-margin:12px}}.settings-reset-confirm,.settings-save-alert{border:2px solid var(--danger);color:var(--text);background:var(--surface);border-radius:10px;padding:12px}.settings-reset-confirm p{margin:8px 0}.settings-save-alert button{min-width:44px;min-height:44px}.settings-activity{margin:0;font-weight:700}.settings-dialog .icon-action,.settings-dialog select{min-width:44px;min-height:44px}.settings-dialog .toggle-field{align-items:center;min-height:64px}.settings-dialog input[type=checkbox]{flex-shrink:0;width:24px;height:24px}.settings-dialog label:has(input[type=checkbox]){min-height:44px}.input-support .assistive-settings-trigger{min-height:44px;color:var(--text);text-align:start;cursor:pointer;background:0 0;border:0;padding-inline:4px}.assistive-settings-trigger>span:last-child{margin-inline-start:4px}.assistive-settings-trigger:hover>span:first-of-type{text-decoration:underline}.assistive-settings-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.settings-dialog .switch-keyboard-help{color:var(--muted);margin:0;line-height:1.6}.switch-keyboard-help strong{color:var(--text);display:block}.settings-dialog .camera-state{color:var(--text);padding-inline:0}.settings-dialog .camera-state:is(.face-error,.gesture-error){color:var(--danger)}.settings-dialog .camera-settings input[type=range]{min-height:44px;accent-color:var(--primary)}.camera-subgroup{border-top:1px solid var(--line);min-width:0;margin:8px 0 0;padding:0 0 8px}.camera-subgroup>summary{cursor:pointer;min-height:44px;padding:.65rem 0;font-weight:700}.camera-subgroup>summary:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.camera-reset-confirm{border:2px solid var(--danger);border-radius:10px;margin:.75rem 0;padding:.75rem}.camera-reset-confirm p{margin:0 0 .5rem}.camera-subgroup .camera-form-row{align-items:stretch;gap:12px}.camera-subgroup .camera-form-row>label{min-width:min(100%,128px)}.camera-subgroup .camera-actions{gap:8px}.camera-subgroup .camera-actions button{white-space:normal}@media (width<=580px){.camera-subgroup .mapping-row{flex-direction:column;align-items:stretch}.camera-subgroup .mapping-row select{width:100%}}.command-mapping-guide{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:0;color:var(--text);overflow-wrap:anywhere;border-radius:12px;padding:12px;font-size:.82em}.command-mapping-guide-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;display:flex}.command-mapping-guide-heading h2{flex:5.5em;min-width:0;margin:0;font-size:1.08em}.command-mapping-guide-toggle{border:1px solid var(--line-strong);min-width:44px;min-height:44px;color:var(--text);background:var(--surface);border-radius:8px;flex:none;padding:4px 8px;font-weight:700}.command-mapping-guide-toggle:hover{background:var(--surface-strong)}.command-mapping-guide-content{max-height:min(28vh,16rem);overflow-y:auto}.command-mapping-guide-mode,.command-mapping-guide-state,.command-mapping-guide-empty{color:var(--muted)}.command-mapping-guide-mode,.command-mapping-guide-state,.command-mapping-guide-empty,.command-mapping-guide-warning{margin:8px 0 0;line-height:1.5}.command-mapping-guide-list{gap:8px;margin:10px 0 0;display:grid}.command-mapping-guide-entry{border-top:1px solid var(--line);gap:3px;padding-top:8px;display:grid}.command-mapping-guide-entry dt{color:var(--muted)}.command-mapping-guide-entry dd{margin:0;font-weight:700}.command-mapping-guide-conflict{color:var(--danger);margin-inline-start:6px;font-size:.9em;display:inline-block}.command-mapping-guide-warning{color:var(--danger)}.voice-control{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface-soft);border-radius:12px;margin:12px 0 0;padding:8px 12px;font-size:max(.875em,14px)}.voice-control-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.voice-control-heading h2{margin:0;font-size:1em;font-weight:700;line-height:1.4}.voice-control-toggle{border:1px solid var(--primary);min-height:44px;color:var(--primary);background:var(--surface);border-radius:9px;flex-shrink:0;padding:6px 14px;font-weight:750}.voice-control-toggle.enabled{color:var(--danger);border-color:var(--danger);background:var(--danger-soft)}.voice-control p{overflow-wrap:anywhere;margin:4px 0 0;line-height:1.45}.voice-control-status{flex-wrap:wrap;gap:4px 10px;font-weight:600;display:flex}.voice-control-status.off{color:var(--muted);font-weight:400}.voice-control-status.blocked{border-left:3px solid var(--danger);padding-left:8px}.voice-control-status span{font-weight:500}.voice-control-status.awake{border:1px solid var(--primary);background:var(--surface-soft);color:var(--primary);border-radius:6px;padding:6px 8px}.voice-heard-text{border:1px solid var(--line);border-radius:6px;margin-top:6px;padding:6px 8px}.voice-heard-text p+p{color:var(--muted)}.voice-noise-filter{margin-top:4px}.voice-noise-filter label{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-weight:700;display:inline-flex}.voice-noise-filter input{width:18px;height:18px;accent-color:var(--primary)}.voice-noise-filter p{color:var(--muted)}.voice-input-level{gap:4px;margin-top:8px;display:grid}.voice-input-level-label{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;display:flex}.voice-input-level-value{font-variant-numeric:tabular-nums;font-weight:700}.voice-input-level-value>span{color:var(--muted);font-size:.9em;font-weight:500}.voice-input-level-track{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:999px;height:10px;overflow:hidden}.voice-input-level-fill{border-radius:inherit;background:var(--primary);height:100%;display:block}.voice-input-level-message{color:var(--muted)}.voice-input-level.error .voice-input-level-message{color:var(--danger)}.voice-microphone-error{color:var(--danger);font-weight:600}.voice-control-help,.voice-control-privacy,.voice-control-guide{color:var(--muted)}.voice-control-last{margin-left:10px}.voice-control-guide{min-width:0;margin-top:4px}.voice-control-guide summary{min-height:44px;cursor:pointer;inline-size:fit-content;max-inline-size:100%;color:var(--text);border-radius:4px;align-content:center;margin-inline-start:auto;padding:8px}.voice-control-guide-content{border-block-start:1px solid var(--line);overflow-wrap:anywhere;padding-block:10px 8px}.voice-control-guide-content>p{line-height:1.65}.voice-control-guide-content>p+p{margin-top:9px}.voice-control-guide-content .voice-noise-filter{border-block:1px solid var(--line);margin-top:12px;padding-bottom:10px}.voice-control-guide-content h3{color:var(--text);margin:12px 0 8px;font-size:1em}.voice-control-toggle:hover:not(:disabled),.voice-control-guide summary:hover{background:var(--surface-strong)}.voice-control-guide ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:8px 14px;margin:8px 0 12px;padding-inline-start:20px;display:grid}.voice-control-guide li{overflow-wrap:anywhere}.voice-control-guide strong{color:var(--text)}.command-palette{gap:16px;display:grid}.command-palette-help{color:var(--muted);margin:0;line-height:1.6}.command-palette-group h3{color:var(--text);margin:0 0 8px;font-size:1em}.command-palette-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.command-palette .command-palette-options button{text-align:start;border:0;border-block-end:1px solid var(--line);white-space:normal;overflow-wrap:anywhere;background:0 0;border-radius:0;min-width:44px;min-height:48px;padding:9px 6px}.command-palette .command-palette-options button:hover:not(:disabled),.command-palette .command-palette-options button:focus-visible{background:var(--surface-strong)}@media (width<=420px){.command-palette-options{grid-template-columns:1fr}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#242b28;font-synthesis:none;text-rendering:optimizelegibility;--bg:#eeede6;--surface:#faf9f3;--surface-soft:#fffef9;--surface-strong:#e8ece5;--text:#242b28;--muted:#555e57;--line:#d1d4c9;--line-strong:#8c958a;--primary:#165a50;--primary-hover:#10483f;--primary-soft:#e2ebe4;--danger:#b42318;--danger-soft:#fff0ee;--focus:#165a50;--shadow:none;--on-primary:#fff;--base-size:16px;background:#eeede6;font-family:Pretendard,Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);word-break:keep-all;overflow-wrap:anywhere;min-width:0;line-height:1.5}button,input,textarea,select{font:inherit}button,select,input[type=checkbox]{cursor:pointer}button:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.55}.startup-screen{min-height:100vh;color:var(--text);background:var(--bg);place-items:center;padding:24px;display:grid}.startup-card{border:1px solid var(--line);background:var(--surface);width:min(520px,100%);box-shadow:var(--shadow);text-align:left;border-radius:24px;padding:clamp(26px,6vw,46px)}.startup-card h1{letter-spacing:-.025em;margin:8px 0 16px;font-size:clamp(1.4rem,5vw,1.875rem);line-height:1.4}.startup-card>p:not(.eyebrow,.message-error){color:var(--muted);line-height:1.65}.startup-card>.primary-button{min-width:140px;padding:0 20px}.profile-form{text-align:left;gap:16px;margin-top:24px;display:grid}.profile-form>.primary-button{width:100%;padding:0 18px}.profile-note{color:var(--muted);margin:0;font-size:.875em;line-height:1.6}.browser-session-note{border:1px solid var(--line);color:var(--muted);background:var(--surface-soft);border-radius:12px;margin:0;padding:12px 16px;font-size:.875em;line-height:1.6}.browser-session-note strong{color:var(--text)}.startup-card>.profile-note{margin-top:16px}.startup-help{border-top:1px solid var(--line);margin-top:16px;font-size:.875em}.startup-help summary{min-height:44px;color:var(--primary);cursor:pointer;padding:12px 0;font-weight:600}.startup-help p{color:var(--muted);margin:0 0 12px;line-height:1.6}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.sr-only{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.scan-highlight{outline-offset:3px;z-index:2;position:relative;outline:3px solid var(--focus,#165a50)!important}.camera-settings{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.camera-heading,.camera-actions,.camera-form-row,.mapping-row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.camera-heading{justify-content:space-between;align-items:flex-start}.camera-heading h3,.camera-mapping-editor h4{margin:0}.camera-heading p,.camera-help{color:var(--muted);margin:.25rem 0 .75rem;font-size:.88rem}.camera-status{background:var(--surface-strong);border-radius:999px;padding:.35rem .65rem;font-size:.8rem}.camera-status.ready{color:#087443;background:#ddf7e8}.camera-status.error{color:#a22626;background:#ffe4e4}.camera-live-button{color:#087443;background:#ddf7e8;border:1px solid #29865b;border-radius:999px;min-height:44px;padding:0 .75rem;font-weight:750}.camera-live-button span{color:#18a568}.camera-live-button.paused{color:#765500;background:#fff4c9;border-color:#b68a18}.camera-preview-wrap{background:#18181b;border-radius:.75rem;margin:.75rem 0;overflow:hidden}.camera-preview-stage{background:#27272a;width:min(100%,426px);min-height:100px;margin:0 auto;position:relative;overflow:hidden}.camera-preview{object-fit:cover;background:#27272a;width:100%;height:100%;display:block;position:absolute;inset:0}.camera-preview-mirrored{transform-origin:50%;transform:scaleX(-1)}.face-detection-layer{pointer-events:none;position:absolute;inset:0}.face-detection-box{box-sizing:border-box;border:3px solid #2ef2a3;border-radius:.55rem;position:absolute;box-shadow:0 0 0 1px #000000a6,0 0 18px #2ef2a373}.face-detection-label{color:#062d20;white-space:nowrap;background:#2ef2a3;border-radius:.35rem 0;padding:.18rem .4rem;font-size:.72rem;font-weight:800;position:absolute;top:-3px;left:-3px}.camera-state{color:#fff;margin:0;padding:.5rem .75rem;font-size:.85rem}.camera-state.face-error,.camera-state.gesture-error{color:#ffd2d2}.camera-form-row label,.camera-settings>.settings-field{flex:1;gap:.3rem;min-width:8rem;font-size:.85rem;display:grid}.camera-form-row select,.camera-settings select{min-height:2.5rem}.camera-event{color:var(--muted);font-size:.84rem}.mapping-row{border-top:1px solid var(--line);justify-content:space-between;padding:.55rem 0;font-size:.88rem}.mapping-row span:first-child{min-width:7rem;font-weight:650}.camera-actions .danger-button{margin-left:auto}.calibration-panel{border:1px solid var(--line);background:var(--surface-soft);border-radius:.7rem;margin:.65rem 0;padding:.75rem}.calibration-panel p{margin:0 0 .55rem}.personal-motion-editor{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.personal-motion-editor .camera-state{color:var(--text);background:var(--surface-soft);border-radius:.65rem;margin:.65rem 0}.personal-motion-editor .camera-actions{margin:.65rem 0}.camera-docks{display:contents}.camera-live-dock,.camera-status-dock{z-index:20;border:1px solid var(--line-strong);max-height:calc(100dvh - 140px);color:var(--text);background:var(--surface);box-shadow:var(--shadow);--camera-dock-left:calc(var(--camera-dock-sidebar,0px) + var(--camera-dock-gutter));--camera-dock-width:min(var(--camera-dock-requested-width), calc((100% - var(--camera-dock-left) - var(--camera-dock-gutter) - var(--camera-dock-gap,0px)) / var(--camera-dock-columns,1)));--camera-dock-right:calc(100% - var(--camera-dock-gutter) - var(--camera-dock-width));bottom:112px;left:clamp(var(--camera-dock-left), var(--camera-dock-x,var(--camera-dock-home)), var(--camera-dock-right));width:var(--camera-dock-width);border-radius:14px;flex-direction:column;display:flex;position:fixed;overflow:hidden}.camera-live-dock{--camera-dock-requested-width:290px;--camera-dock-home:var(--camera-dock-right)}.camera-status-dock{--camera-dock-requested-width:300px;--camera-dock-home:var(--camera-dock-left)}.camera-live-dock[hidden],.camera-status-dock[hidden]{display:none}.camera-live-dock-heading{cursor:move;touch-action:none;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:.85rem;display:flex}.camera-live-dock-heading-actions{align-items:center;gap:5px;display:flex}.camera-live-dock-hide{border:1px solid var(--line-strong);min-width:44px;min-height:44px;color:var(--text);background:var(--surface);border-radius:8px;font-size:1.25rem}.camera-live-dock-size{align-items:center;gap:6px;padding:0 10px 8px;font-size:.75rem;display:flex}.camera-live-dock-size input{min-width:0;accent-color:var(--primary);flex:1}.camera-live-dock-restore,.camera-status-dock-restore{z-index:20;border:1px solid var(--line-strong);min-height:44px;color:var(--text);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;padding:6px 12px;position:fixed;bottom:112px}.camera-live-dock-restore{right:var(--camera-dock-gutter)}.camera-status-dock-restore{left:calc(var(--camera-dock-sidebar,0px) + var(--camera-dock-gutter))}.camera-live-dock-stop{border:1px solid var(--danger);min-width:44px;min-height:44px;color:var(--danger);background:var(--surface);border-radius:8px;padding:2px 9px;font-weight:700}.camera-live-dock-camera{background:#27272a;flex:none}.camera-live-dock-stage{width:min(100%, calc(45dvh * var(--camera-ratio)));background:#27272a;margin:0 auto;position:relative;overflow:hidden}.camera-live-dock-stage .face-detection-box{border-width:2px}.camera-live-dock-panel{overscroll-behavior:contain;border-top:1px solid var(--line-strong);background:var(--surface-soft);min-height:0;overflow-y:auto}.camera-live-dock-details{gap:4px;padding:8px 10px 10px;font-size:.78rem;display:grid}.camera-live-dock-details p{overflow-wrap:anywhere;margin:0}.camera-live-dock-panel>.command-mapping-guide{margin:0 10px 10px}.camera-live-dock-panel .command-mapping-guide-content{max-height:none;overflow:visible}.camera-live-dock-tracking{color:#075b38;background:#ddf7e8;border-radius:999px;width:fit-content;padding:2px 7px;font-weight:750}.camera-live-dock-tracking.inactive{color:#765500;background:#fff4c9}.camera-live-dock-detected{font-weight:800;animation:1.5s ease-out camera-detected}.camera-motion-status{gap:4px;padding:4px 0;font-size:.9em;display:grid}.camera-motion-status p{overflow-wrap:anywhere;margin:0}.camera-motion-meters{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.camera-motion-meters label{gap:3px;display:grid}.camera-motion-meters progress{width:100%;height:8px;accent-color:var(--primary)}.camera-command-outcome{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:6px;gap:2px;padding:4px 6px;display:grid}.camera-command-outcome.success{border-color:#29865b}.camera-command-outcome.blocked{border-color:#b68a18}.camera-command-outcome small{color:var(--muted)}.motion-learning-panel{border:2px solid var(--primary);border-radius:12px;gap:12px;margin:16px 0;padding:14px;display:grid}.motion-learning-panel p{overflow-wrap:anywhere;margin:0;font-size:.86em}.motion-learning-panel .settings-field{gap:6px;display:grid}.motion-learning-panel select{width:100%}.motion-learning-counts{margin:0;padding-left:22px;font-size:.86em}.motion-learning-report{border:1px solid var(--line-strong);border-radius:8px;gap:6px;padding:10px;display:grid}.motion-learning-message{color:var(--text);background:var(--surface-soft);border-radius:8px;padding:10px}.camera-learned-status{border:1px solid var(--line);border-radius:8px;gap:4px;padding:8px;display:grid}.camera-learned-status progress{width:100%;display:block}.camera-dock-actions,.camera-select-options{gap:8px;display:grid}.camera-dock-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.camera-dock-actions button{border:1px solid var(--line-strong);min-height:44px;color:var(--text);background:var(--surface);border-radius:8px;padding:4px;font-size:.95em}.mapping-entry details{padding:0 0 10px;font-size:.82em}.mapping-entry details label{gap:4px;margin:8px 0;display:grid}.mapping-entry input{width:100%}@keyframes camera-detected{0%{color:#087443;background:#ddf7e8}to{color:inherit;background:0 0}}.skip-link{z-index:200;color:#fff;background:#1e2421;border-radius:10px;padding:12px 18px;font-weight:800;position:fixed;top:-80px;left:16px}.skip-link:focus{top:16px}.app-shell{--camera-dock-gutter:18px;--sidebar-width:304px;grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-height:100vh;color:var(--text);background:var(--bg);font-size:var(--base-size);display:grid}.app-shell.font-small{--base-size:15px}.app-shell.font-medium{--base-size:16px}.app-shell.font-large{--base-size:19px}@media (width>=861px){.app-shell:not(.desktop-sidebar-closed){--camera-dock-sidebar:var(--sidebar-width)}.app-shell.desktop-sidebar-closed{grid-template-columns:minmax(0,1fr)}.desktop-sidebar-closed .sidebar{display:none}.desktop-sidebar-closed .menu-button{display:inline-flex}}@media (width>=581px){.app-shell:has(.camera-live-dock:not([hidden])):has(.camera-status-dock:not([hidden])){--camera-dock-gap:12px;--camera-dock-columns:2}}.eyebrow{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 3px;font-size:.75em;font-weight:800}.sidebar{z-index:30;border-right:1px solid var(--line);background:#eef2f7;flex-direction:column;gap:14px;height:100vh;min-height:0;padding:20px 16px 16px;display:flex;position:sticky;top:0}.sidebar-header{justify-content:space-between;align-items:center;min-height:48px;display:flex}.sidebar-header strong{font-size:1.1em}.sidebar-close{display:inline-flex}.primary-button,.secondary-button,.danger-button,.text-button,.icon-action,.mini-action,.tool-button,.send-button,.stop-button{border:1px solid #0000;border-radius:10px;min-height:44px;transition:background-color .14s,border-color .14s,transform .14s}.primary-button,.send-button{color:#fff;background:var(--primary);border-color:var(--primary);font-weight:800}.primary-button:hover:not(:disabled),.send-button:hover:not(:disabled){background:var(--primary-hover)}.secondary-button{color:var(--text);background:var(--surface);border-color:var(--line-strong);padding:0 14px;font-weight:700}.secondary-button:hover:not(:disabled){background:var(--surface-strong)}.secondary-button.compact{white-space:nowrap;min-height:44px}.danger-button{color:#fff;background:var(--danger);padding:0 18px;font-weight:800}.text-button{color:var(--primary);background:0 0;padding:0 8px;font-weight:750}.danger-text{color:var(--danger)}.icon-action{width:44px;color:var(--text);background:0 0;border-color:#0000;justify-content:center;align-items:center;padding:0;font-size:1.35em;display:inline-flex}.icon-action:hover{background:var(--surface-strong)}.new-conversation{width:100%;padding:0 16px}.search-field{border:1px solid var(--line-strong);background:var(--surface);border-radius:12px;align-items:center;gap:8px;min-height:48px;padding:0 12px;display:flex}.search-field:focus-within{outline:3px solid var(--focus);outline-offset:2px}.search-field input{width:100%;min-width:0;height:44px;color:var(--text);background:0 0;border:0;outline:0}.conversation-list{flex:1;align-content:start;gap:7px;min-height:0;padding:2px;display:grid;overflow-y:auto}.conversation-item{border:1px solid #0000;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;display:grid}.conversation-item:hover{background:#ffffffb3}.conversation-item.selected{background:var(--primary-soft);border-color:#9bb9ec}.conversation-select{text-align:left;min-width:0;min-height:62px;color:var(--text);background:0 0;border:0;border-radius:10px;align-content:center;gap:4px;padding:9px 8px 9px 11px;display:grid}.conversation-title{text-overflow:ellipsis;white-space:nowrap;font-weight:750;overflow:hidden}.conversation-date{color:var(--muted);font-size:.75em}.conversation-actions{padding-right:5px;display:flex}.mini-action{width:44px;min-height:44px;color:var(--muted);background:0 0;padding:0}.mini-action:hover{color:var(--text);background:var(--surface)}.mini-action.danger:hover{color:var(--danger);background:var(--danger-soft)}.sidebar-empty{color:var(--muted);text-align:center;padding:24px 10px}.sidebar-scrim{display:none}.chat-main{background:var(--surface);flex-direction:column;min-width:0;height:100dvh;min-height:100dvh;display:flex}.chat-main>:not(.messages){flex-shrink:0}.chat-header{border-bottom:1px solid var(--line);background:#fffffff5;justify-content:space-between;align-items:center;gap:20px;min-height:76px;padding:13px 24px;display:flex}.header-title-group{align-items:center;gap:10px;min-width:0;display:flex}.header-title-group>div{min-width:0}.header-title-group h1{text-overflow:ellipsis;white-space:nowrap;max-width:min(46vw,580px);margin:0;font-size:1.2em;overflow:hidden}.menu-button{display:none}.header-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}@media (width>=1201px){.header-title-group{flex:220px}.header-title-group h1{max-width:100%}.header-controls{flex-shrink:0;max-width:calc(100% - 160px)}}.memory-trigger{gap:7px;padding:0 11px}.memory-count{color:#fff;background:var(--primary);border-radius:999px;place-items:center;min-width:24px;height:24px;padding:0 6px;font-size:.78em;font-weight:850;display:inline-grid}.memory-trigger-status{color:var(--muted);white-space:nowrap;font-size:.72em;font-weight:750}.memory-trigger-status.updated{color:#14633c}.memory-trigger-status.failed{color:var(--danger)}.profile-control select{border:1px solid var(--line-strong);max-width:150px;min-height:44px;color:var(--text);background:var(--surface);border-radius:10px;padding:0 32px 0 11px;font-weight:750}.add-profile{border-color:var(--line);flex:none}.model-control{color:var(--muted);align-items:center;gap:8px;font-size:.85em;font-weight:750;display:flex}.model-control select,.settings-field select{border:1px solid var(--line-strong);max-width:270px;min-height:44px;color:var(--text);background:var(--surface);border-radius:10px;padding:0 36px 0 12px}.model-notice{color:#34435a;background:#f0f5fd;border-bottom:1px solid #d8e5f8;justify-content:center;align-items:center;gap:12px;min-height:38px;padding:7px 20px;font-size:.8em;display:flex}.model-notice.error-notice{color:#862018;background:var(--danger-soft);border-color:#f1c8c2}.messages{scroll-behavior:smooth;flex:auto;min-height:160px;padding:32px max(24px,50% - 440px);overflow-y:auto}.messages.empty-state-wrap{place-items:safe center center;display:grid}.empty-state{text-align:left;width:min(720px,100%);padding:16px 0}.message{width:min(820px,100%);margin:0 auto 24px}.message.user{width:min(680px,88%);margin-left:auto;margin-right:max(0px,50% - 440px)}.message-label-row{align-items:center;gap:10px;min-height:24px;margin-bottom:6px;display:flex}.message-label{color:var(--muted);font-size:.78em;font-weight:850}.message-model{color:var(--muted);font-size:.7em}.message-status{color:#40516b;background:#eef2f7;border-radius:999px;padding:3px 8px;font-size:.7em;font-weight:750}.message-status.error{color:var(--danger);background:var(--danger-soft)}.message-status.stopped{color:#6b4c13;background:#fff6d9}.search-status{color:#174788;background:#edf4ff;border:1px solid #b8d0fa;border-radius:999px;align-items:center;gap:6px;min-height:26px;padding:3px 9px;font-size:.7em;font-weight:800;display:inline-flex}.search-status.used{color:#14633c;background:#eaf8f0;border-color:#a9dbc0}.search-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:12px;height:12px;animation:.75s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.message-content{border:1px solid var(--line);color:var(--text);background:var(--surface-soft);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px 18px 18px;padding:16px 18px;line-height:1.72}.message.user .message-content{color:#fff;background:#2558a8;border-color:#2558a8;border-radius:18px 6px 18px 18px}.inline-citation{color:var(--primary);text-underline-offset:3px;text-decoration:underline;text-decoration-thickness:2px}.citation-panel{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-top:10px;padding:14px}.citation-panel h3{color:var(--muted);margin:0 0 8px;font-size:.78em}.citation-panel ol{gap:6px;margin:0;padding-left:28px;display:grid}.citation-panel li{color:var(--muted);padding-left:3px}.citation-panel a{min-height:44px;color:var(--primary);overflow-wrap:anywhere;border-radius:9px;align-content:center;gap:2px;padding:6px 9px;text-decoration:none;display:grid}.citation-panel a:hover{background:var(--primary-soft);text-decoration:underline}.citation-panel a span{font-weight:750}.citation-panel a small{color:var(--muted)}.message-error{color:var(--danger);background:var(--danger-soft);border-radius:9px;margin:8px 0 0;padding:10px 12px;line-height:1.5}.message-tools{flex-wrap:wrap;gap:5px;margin-top:7px;display:flex}.tool-button{min-height:44px;color:var(--muted);background:0 0;border-color:#0000;padding:0 11px;font-size:.82em;font-weight:750}.tool-button:hover:not(:disabled){color:var(--primary);background:var(--primary-soft)}.response-details{color:var(--muted);margin-top:4px;font-size:.76em}.response-details summary{cursor:pointer;border-radius:9px;align-items:center;min-height:44px;padding:0 10px;font-weight:750;display:inline-flex}.response-details summary:hover{color:var(--primary);background:var(--primary-soft)}.response-details dl{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;grid-template-columns:auto minmax(0,1fr);gap:6px 12px;margin:0 10px 10px;padding:12px;display:grid}.response-details dt{font-weight:800}.response-details dd{overflow-wrap:anywhere;min-width:0;margin:0}.typing-dots{letter-spacing:5px;animation:1.1s ease-in-out infinite alternate pulse;display:inline-block}@keyframes pulse{0%{opacity:.32}to{opacity:1}}.composer-region{border-top:1px solid var(--line);background:var(--surface);padding:12px max(24px,50% - 440px) 16px;position:relative}.image-toast-region{z-index:30;pointer-events:none;width:max-content;max-width:calc(100% - 24px);position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%)}.image-limit-toast{border:1px solid var(--line-strong);color:var(--surface);background:var(--text);box-shadow:var(--shadow);border-radius:10px;padding:11px 15px;font-size:.85em;line-height:1.45}.image-preview-group{margin-bottom:8px}.image-preview-count{color:var(--muted);margin-bottom:4px;font-size:.8em;display:block}.image-preview-list{flex-wrap:wrap;gap:8px;max-height:min(160px,28vh);display:flex;overflow-y:auto}.image-preview{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;flex:0 0 72px;width:72px;height:72px;position:relative}.image-preview img{object-fit:contain;border-radius:7px;width:100%;height:100%;display:block}.image-preview-loading{height:100%;color:var(--muted);text-align:center;place-items:center;padding:4px;font-size:.7em;display:grid}.image-remove{background:0 0;border:0;place-items:start end;width:44px;height:44px;padding:3px;display:grid;position:absolute;top:0;right:0}.image-remove span{color:#fff;background:#26303d;border:1px solid #ffffffb3;border-radius:50%;place-items:center;width:24px;height:24px;font-size:20px;line-height:1;display:grid}.image-remove:hover span,.image-remove:focus-visible span{background:#070c12}.image-privacy-note{color:var(--muted);margin:0 0 8px;font-size:.8em}.message-image{margin-top:10px}.message-image img{object-fit:contain;border-radius:10px;max-width:min(100%,512px);max-height:512px;display:block}.image-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.image-actions a{min-height:44px;color:var(--primary);align-items:center;padding:0 10px;font-size:.82em;font-weight:750;display:inline-flex}.message.user .image-actions :is(a,.tool-button){color:var(--primary)}.composer{border:1px solid var(--line-strong);background:var(--surface);border-radius:17px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:end;gap:10px;min-height:62px;padding:8px;display:grid;box-shadow:0 8px 28px #1c2a4314}.composer textarea{resize:none;width:100%;min-height:44px;max-height:180px;color:var(--text);background:0 0;border:0;outline:0;padding:10px 8px;line-height:1.5;overflow-y:auto}.composer textarea::placeholder{color:var(--muted)}.attachment-menu{position:relative}.attachment-button{border:1px solid var(--line-strong);width:44px;height:44px;color:var(--text);background:var(--surface-soft);border-radius:10px;place-items:center;padding:0;font-size:28px;font-weight:400;line-height:1;display:grid}.attachment-button:hover:not(:disabled),.attachment-button[aria-expanded=true]{background:var(--surface-strong)}.attachment-options{z-index:20;border:1px solid var(--line);background:var(--surface);width:min(280px,100vw - 48px);box-shadow:var(--shadow);border-radius:12px;padding:6px;position:absolute;bottom:calc(100% + 10px);left:0}.attachment-options button{width:100%;min-height:58px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;padding:8px 10px;font-weight:700;display:flex}.attachment-options button:hover,.attachment-options button:focus-visible{background:var(--surface-soft)}.attachment-options span{color:var(--muted);font-size:.75em;font-weight:400}.dictation-button{border:1px solid var(--line-strong);width:44px;height:44px;color:var(--text);background:var(--surface-soft);border-radius:10px;place-items:center;padding:0;display:grid}.dictation-button:hover:not(:disabled){background:var(--surface-strong)}.dictation-button[aria-pressed=true]{color:var(--danger);background:var(--danger-soft);border-color:var(--danger)}.dictation-feedback,.dictation-preview{color:var(--muted);overflow-wrap:anywhere;margin:7px 4px 0;font-size:.8em;line-height:1.5}.dictation-feedback:empty{display:none}.dictation-preview{max-height:4.5em;overflow-y:auto}.send-button,.stop-button{min-width:96px;padding:0 16px}.stop-button{color:var(--danger);background:var(--danger-soft);border-color:#e7a9a2;font-weight:850}.composer-meta{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:8px 4px 0;font-size:.8125em;display:flex}.dialog-backdrop{z-index:100;background:#0c131f9e;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{border:1px solid var(--line);background:var(--surface);width:min(560px,100%);min-width:0;max-height:min(800px,100dvh - 40px);box-shadow:var(--shadow);border-radius:20px;padding:24px;overflow-y:auto}.dialog-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.dialog-header h2{margin:0;font-size:1.25em}.dialog-copy{color:var(--muted);margin:0;line-height:1.65}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.dialog-actions button{min-width:84px}.dialog-field,.settings-field{gap:8px;font-weight:750;display:grid}.dialog-field input{border:1px solid var(--line-strong);width:100%;min-height:48px;color:var(--text);background:var(--surface);border-radius:10px;padding:0 13px}.memory-description{margin-bottom:14px}.memory-activity,.memory-lock-note{color:#174788;background:#edf4ff;border:1px solid #b8d0fa;border-radius:10px;margin:0 0 12px;padding:9px 11px;font-size:.82em;font-weight:750}.memory-activity.updated{color:#14633c;background:#eaf8f0;border-color:#a9dbc0}.memory-activity.failed{color:var(--danger);background:var(--danger-soft);border-color:#e7a9a2}.memory-lock-note{color:#6b4c13;background:#fff6d9;border-color:#ead58d}.memory-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.memory-item{border:1px solid var(--line);background:var(--surface-soft);border-radius:13px;padding:14px}.memory-content{overflow-wrap:anywhere;margin:0;line-height:1.65}.memory-meta{color:var(--muted);justify-content:space-between;gap:12px;margin-top:9px;font-size:.72em;display:flex}.memory-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.memory-actions button{min-width:72px;min-height:44px}.memory-edit-form{gap:7px;display:grid}.memory-edit-form label{gap:7px;font-weight:750;display:grid}.memory-edit-form textarea{resize:vertical;border:1px solid var(--line-strong);width:100%;min-height:96px;color:var(--text);background:var(--surface);border-radius:10px;padding:11px 12px;line-height:1.55}.memory-edit-form small{color:var(--muted);text-align:right}.memory-delete-confirm{background:var(--danger-soft);border:1px solid #e7a9a2;border-radius:10px;margin-top:10px;padding:11px}.memory-delete-confirm p{color:var(--danger);margin:0;line-height:1.5}.memory-empty{border:1px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:13px;padding:30px 16px}.memory-empty p{color:var(--text);margin:0 0 6px;font-weight:800}.memory-empty small{line-height:1.5}.settings-list{gap:13px;display:grid}.settings-field{border-bottom:1px solid var(--line);padding-bottom:14px}.settings-field select{width:100%;max-width:none}.toggle-field{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;align-items:flex-start;gap:13px;min-height:70px;padding:13px;display:flex}.toggle-field input{width:24px;height:24px;accent-color:var(--primary);flex:none;margin:0}.toggle-field span{gap:4px;display:grid}.toggle-field small{color:var(--muted);line-height:1.45}.theme-dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#171c1a;--surface:#1e2421;--surface-soft:#282f2b;--surface-strong:#343e38;--text:#f5f4eb;--muted:#c4cec4;--line:#475248;--line-strong:#829286;--primary:#a0d7c7;--primary-hover:#b5e5d6;--primary-soft:#303f39;--danger:#ff9b93;--danger-soft:#3c1718;--focus:#a0d7c7;--shadow:none;--on-primary:#112720}.theme-dark .chat-header{background:#111827f7}.theme-dark .sidebar{background:#0e1624}.theme-dark .primary-button,.theme-dark .send-button{color:#fff;background:#255fbd;border-color:#255fbd}.theme-dark .primary-button:hover:not(:disabled),.theme-dark .send-button:hover:not(:disabled){background:#b5e5d6}.theme-dark .model-notice{color:#d9e5f8;background:#172640;border-color:#2c446b}.theme-dark .message-status{color:#dbe5f4;background:#27344a}.theme-dark .message-status.stopped{color:#ffe5a1;background:#49380d}.theme-dark .search-status{color:#c8dcff;background:#303f39;border-color:#496d9e}.theme-dark .search-status.used{color:#b8efd0;background:#113b28;border-color:#347556}.theme-dark .memory-trigger-status.updated{color:#b8efd0}.theme-dark .danger-button{color:#32120f}.theme-dark .memory-count{color:#1e2421}.theme-dark .memory-activity{color:#c8dcff;background:#303f39;border-color:#496d9e}.theme-dark .memory-activity.updated{color:#b8efd0;background:#113b28;border-color:#347556}.theme-dark .memory-lock-note{color:#ffe5a1;background:#49380d;border-color:#806b2e}@media (prefers-color-scheme:dark){.theme-system{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#171c1a;--surface:#1e2421;--surface-soft:#282f2b;--surface-strong:#343e38;--text:#f5f4eb;--muted:#c4cec4;--line:#475248;--line-strong:#829286;--primary:#a0d7c7;--primary-hover:#b5e5d6;--primary-soft:#303f39;--danger:#ff9b93;--danger-soft:#3c1718;--focus:#a0d7c7;--shadow:none;--on-primary:#112720}.theme-system .chat-header{background:#111827f7}.theme-system .sidebar{background:#0e1624}.theme-system .primary-button,.theme-system .send-button{color:#fff;background:#255fbd;border-color:#255fbd}.theme-system .primary-button:hover:not(:disabled),.theme-system .send-button:hover:not(:disabled){background:#b5e5d6}.theme-system .model-notice{color:#d9e5f8;background:#172640;border-color:#2c446b}.theme-system .message-status{color:#dbe5f4;background:#27344a}.theme-system .message-status.stopped{color:#ffe5a1;background:#49380d}.theme-system .search-status{color:#c8dcff;background:#303f39;border-color:#496d9e}.theme-system .search-status.used{color:#b8efd0;background:#113b28;border-color:#347556}.theme-system .memory-trigger-status.updated{color:#b8efd0}.theme-system .danger-button{color:#32120f}.theme-system .memory-count{color:#1e2421}.theme-system .memory-activity{color:#c8dcff;background:#303f39;border-color:#496d9e}.theme-system .memory-activity.updated{color:#b8efd0;background:#113b28;border-color:#347556}.theme-system .memory-lock-note{color:#ffe5a1;background:#49380d;border-color:#806b2e}}.high-contrast{--bg:#000;--surface:#000;--surface-soft:#111;--surface-strong:#222;--text:#fff;--muted:#e8e8e8;--line:#fff;--line-strong:#fff;--primary:#ffe100;--on-primary:#000;--primary-hover:#fff06b;--primary-soft:#252200;--danger:#ff8d85;--danger-soft:#320907;--focus:#38e8ff}.high-contrast .primary-button,.high-contrast .send-button{color:#000;background:var(--primary);border-color:var(--primary)}.high-contrast .message.user .message-content{color:#000;background:#ffe100;border-color:#fff}.high-contrast .chat-header{background:#000}.high-contrast .sidebar{background:#090909}.high-contrast .model-notice{color:#fff;background:#111;border-color:#fff}.high-contrast .message-status{color:#000;background:#fff}.high-contrast .search-status{color:#000;background:#ffe100;border-color:#fff}.high-contrast .memory-count{color:#000;background:var(--primary)}.high-contrast .memory-activity,.high-contrast .memory-lock-note{color:#000;background:#ffe100;border-color:#fff}.high-contrast .memory-activity.failed{color:#000;background:#ff8d85}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}@media (width<=860px){.app-shell{--sidebar-width:0px;display:block}.sidebar{visibility:hidden;width:min(340px,100vw - 42px);box-shadow:var(--shadow);transition:transform .18s;position:fixed;top:0;left:0;transform:translate(-105%)}.sidebar.open{visibility:visible;transform:translate(0)}.app-shell:has(.sidebar.open) :is(.camera-live-dock,.camera-status-dock,.camera-live-dock-restore,.camera-status-dock-restore){visibility:hidden}.sidebar-close,.menu-button{display:inline-flex!important}.sidebar-scrim{z-index:25;opacity:0;pointer-events:none;background:#0c131f85;border:0;border-radius:0;width:100%;height:100%;position:fixed;inset:0}.sidebar-scrim.visible{opacity:1;pointer-events:auto;display:block}.chat-main{height:100dvh;min-height:100dvh}.chat-header{min-height:70px;padding:10px 14px}.header-title-group h1{max-width:36vw}.header-controls{gap:6px}.profile-control select{max-width:128px}.model-control select{max-width:170px}.memory-trigger-status{display:none}.secondary-button.compact{padding:0 10px}.messages{padding:24px 16px}.message.user{margin-right:0}.composer-region{padding:10px 12px max(10px, env(safe-area-inset-bottom))}}@media (width<=580px){.app-shell{--camera-dock-gutter:10px;--camera-dock-bottom:min(100px, 18dvh)}.camera-live-dock{bottom:var(--camera-dock-bottom)}.camera-status-dock{--camera-dock-requested-width:260px;top:var(--camera-dock-mobile-top);max-height:40dvh;bottom:auto}.camera-docks:has(.camera-live-dock:not([hidden])):has(.camera-status-dock:not([hidden])){--camera-dock-lane:calc((100dvh - var(--camera-dock-mobile-top) - 12px - var(--camera-dock-bottom)) / 2)}.camera-docks:has(.camera-live-dock:not([hidden])):has(.camera-status-dock:not([hidden])) :is(.camera-live-dock,.camera-status-dock){max-height:var(--camera-dock-lane)}.camera-live-dock-stage{width:min(100%, calc(max(32px, var(--camera-dock-lane,100dvh) - 105px) * var(--camera-ratio)))}.camera-live-dock-details{font-size:.72rem}.camera-live-dock-restore{bottom:var(--camera-dock-bottom)}.camera-status-dock-restore{top:var(--camera-dock-mobile-top);bottom:auto}.chat-header{flex-wrap:wrap;align-items:flex-start;gap:8px}.header-title-group{flex:1 0 100%}.header-title-group h1{max-width:calc(100vw - 96px);font-size:1.125em}.header-controls{flex-wrap:wrap;flex:100%;justify-content:flex-start;align-items:stretch}.profile-control{flex:0 128px;min-width:0}.profile-control select{width:100%;max-width:none;padding-left:10px}.add-profile{display:none}.model-control{flex:calc(100% - 136px);min-width:0}.model-control select{width:100%;max-width:none;padding-left:10px}.header-controls .secondary-button.compact{padding:6px 10px;font-size:.875em}.header-controls .memory-count{display:none}.header-controls .camera-live-button{min-height:44px;padding:6px 10px;font-size:.875em}.model-notice{justify-content:space-between;align-items:flex-start}.message{margin-bottom:20px}.message.user{width:92%}.message-content{padding:14px}.composer{grid-template-columns:auto auto minmax(0,1fr);gap:6px}.composer textarea{grid-area:1/1/auto/-1}.composer .attachment-menu{grid-area:2/1}.composer .dictation-button{grid-area:2/2}.composer .send-button,.composer .stop-button{grid-area:2/3;justify-self:end}.send-button,.stop-button{min-width:76px;padding:0 11px}.composer-meta{font-size:.8125em}.dialog{max-height:calc(100dvh - 24px);padding:16px}.dialog-backdrop{padding:12px}}@media (width<=580px),(height<=700px){.chat-main{height:auto;min-height:100dvh}.messages{flex:1 0 auto;min-height:240px;overflow:visible}.messages.empty-state-wrap{display:block}.empty-state{margin-inline:auto;padding-block:8px}}@media (width>=581px) and (width<=1200px){.chat-header{flex-wrap:wrap;gap:12px}.header-title-group{flex:1 0 100%}.header-controls{justify-content:flex-start}}@media (width>=1000px) and (width<=1200px){.model-control select{max-width:180px}.header-controls .secondary-button.compact{padding-inline:10px}}@media (width<=380px){.image-composer-tools{gap:8px}.image-mode{font-size:.875em}.settings-group-content{padding-inline:12px}}.high-contrast .danger-button{color:#000}.high-contrast .primary-button:hover:not(:disabled),.high-contrast .send-button:hover:not(:disabled){color:#000;background:var(--primary-hover)}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@font-face{font-family:SUIT Variable;src:url(/fonts/SUIT-Variable.woff2)format("woff2");font-weight:100 900;font-style:normal;font-display:swap}:root{--surface:#f7f6ef;--surface-soft:#fffef9;--surface-strong:#e4e9dd;--text:#202b25;--muted:#59645b;--line:#d5d7ca;--line-strong:#8a9487;--primary:#19564a;--primary-hover:#104338;font-family:SUIT Variable,Apple SD Gothic Neo,Malgun Gothic,sans-serif}.app-shell{--gutter:clamp(24px, 4vw, 64px);--column:56rem;--reading-inset:max(var(--gutter), calc((100% - var(--column)) / 2));--dialogue-art:url(/art/dialogue-fold.webp);letter-spacing:-.014em}.theme-dark,.high-contrast{--dialogue-art:url(/art/dialogue-fold-dark.webp)}@media (prefers-color-scheme:dark){.theme-system{--dialogue-art:url(/art/dialogue-fold-dark.webp)}}.chat-icon{vertical-align:middle;flex:none;display:inline-block}.app-shell .chat-header{background:var(--surface);border-bottom:1px solid var(--line);gap:6px 18px;min-height:68px;padding:10px clamp(20px,2.7vw,42px)}.header-title-group{flex:8rem}.header-title-group h1{letter-spacing:-.046em;max-width:100%;font-size:1.14em;font-weight:770}.header-controls{gap:0 2px;max-width:85%}.header-controls :is(.profile-control,.model-control,.secondary-button.compact){justify-content:center;align-items:center;gap:6px;font-size:.88em;display:inline-flex}.header-controls :is(.profile-control,.model-control){min-width:0}.header-controls :is(select,.secondary-button.compact,.add-profile),.header-title-group .menu-button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:4px;padding:0 8px;font-weight:640}.header-controls select{color:var(--text);padding:0 1px;font-size:1em}.header-controls .mobile-model-name{display:none}.header-controls .guest-identity{color:var(--muted);padding-inline:6px}.header-controls .model-control{margin-right:6px;padding-right:14px;position:relative}.header-controls .model-control:after{content:"";border-right:1px solid var(--line);height:18px;position:absolute;inset-inline-end:0}.header-controls .chat-icon{width:17px;height:17px;color:var(--muted)}.header-controls .memory-count{min-width:0;height:auto;color:var(--muted);background:0 0;padding:0}.header-controls :is(select,button):hover:not(:disabled),.menu-button:hover{background:var(--surface-strong)}.header-title-group .menu-button{padding:0}.conversation-workspace{display:contents}.messages,.composer-region,.input-support{padding-inline:var(--reading-inset)}.composer-region,.input-support{flex:none}.messages{padding-block:clamp(24px,5vh,48px) 8px}.message{width:100%;margin-bottom:26px}.message-label-row{flex-wrap:wrap;gap:5px 12px}.message-label{color:var(--text);align-items:center;gap:7px;font-size:.88em;font-weight:780;display:inline-flex}.message.assistant .message-label .chat-icon{width:20px;height:20px;color:var(--primary)}.message-model{font-size:.74em}.message.assistant .message-content{text-align:start;background:0 0;border:0;border-radius:0;max-width:38em;padding:0;font-size:1.12em;line-height:1.85}.message-content:empty{display:none}.reply-text{white-space:normal}.reply-text>:first-child{margin-block-start:0}.reply-text>:last-child{margin-block-end:0}.reply-text p{white-space:pre-line;margin-block:0 .8em}.reply-text :is(h2,h3,h4,h5,h6){margin-block:1.2em .32em;font-size:1.1em;line-height:1.45}.reply-text :is(ul,ol){margin-block:.35em .9em;padding-inline-start:1.5em}.reply-text li+li{margin-block-start:.25em}.reply-text :is(ul,ol) :is(ul,ol){margin-block:.2em}.reply-text a{color:var(--primary);text-underline-offset:.16em}.reply-text blockquote{border-inline-start:2px solid var(--line-strong);margin-inline:0;padding-inline-start:.85em}.reply-text pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-strong);border-radius:4px;padding:.65em .85em}.reply-text :not(pre)>code{background:var(--surface-strong);padding-inline:.2em}.reply-table{max-width:100%;margin-block:.6em 1em;overflow-x:auto}.reply-table table{border-collapse:collapse;width:100%}.reply-table :is(th,td){border-bottom:1px solid var(--line);text-align:start;vertical-align:top;min-width:4em;padding:.4em .55em}.reply-table th{background:var(--surface-strong)}.message.user{width:fit-content;max-width:84%;margin-left:auto;margin-right:0}.message.user .message-label-row{justify-content:flex-end}.app-shell .message.user .message-content{background:var(--surface-strong);color:var(--text);border:0;border-radius:10px 2px 10px 10px;padding:12px 18px}.message-tools{gap:4px;margin:8px 0 0}.message-tools .tool-button{min-width:44px;min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:0 8px;font-weight:570;display:inline-flex}.message-tools .tool-button:hover{background:var(--surface-strong)}.message-tools .chat-icon{width:16px;height:16px}.message :is(.message-status,.search-status){color:var(--muted);background:0 0;border:0;padding:0}.response-details summary{padding-inline:4px;font-weight:520}.response-details summary:before{content:"";border:1.5px solid;border-width:1.5px 1.5px 0 0;width:.42em;height:.42em;margin-inline:.16em .65em;transform:rotate(45deg)}.response-details[open]>summary:before{transform:rotate(135deg)}.citation-panel{border:0;border-left:2px solid var(--line);background:0 0;border-radius:0}.composer-region{background:0 0;border:0;padding-block:10px 0;position:relative}.composer{background:var(--surface-soft);border:1px solid var(--line-strong);box-shadow:none;border-radius:12px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px 6px;padding:10px 12px;display:grid}.composer:focus-within{border-color:var(--primary);box-shadow:none}.composer textarea{letter-spacing:-.025em;grid-area:1/1/2/-1;width:100%;min-width:0;min-height:53px;padding:5px 9px 12px;font-size:1.15em;font-weight:500;line-height:1.55}.composer textarea:focus-visible{outline:2px solid var(--focus);outline-offset:0;border-radius:4px}.composer textarea::placeholder{color:var(--muted);opacity:1}.composer .attachment-menu{grid-area:2/1}.composer .dictation-button{grid-area:2/2}.composer :is(.send-button,.stop-button){grid-area:2/3;justify-self:end}.composer :is(.attachment-button,.dictation-button){width:auto;min-width:44px;min-height:44px;color:var(--text);background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:7px;padding:0 10px;font-size:.91em;font-weight:620;display:inline-flex}.composer :is(.attachment-button,.dictation-button) svg{width:19px;height:19px}.composer :is(.attachment-button,.dictation-button):hover:not(:disabled){background:var(--surface-strong)}.composer .dictation-button[aria-pressed=true]{color:var(--danger);background:var(--danger-soft)}.app-shell .send-button,.app-shell .stop-button{border:0;border-radius:6px;justify-content:center;align-items:center;gap:14px;min-width:108px;min-height:44px;padding:0 15px;font-size:.98em;font-weight:710;display:inline-flex}.app-shell .send-button{background:var(--primary);color:var(--on-primary)}.app-shell .send-button:hover:not(:disabled){background:var(--primary-hover);color:var(--on-primary)}.app-shell .send-button:disabled{opacity:.75}.composer-meta{min-height:22px;color:var(--muted);padding:7px 2px 0;font-size:.79em;line-height:1.5}.guest-privacy-note{color:var(--muted);flex-wrap:wrap;align-items:center;gap:0 .65em;margin:2px 2px 0;font-size:.875em;line-height:1.5;display:flex}.privacy-trigger{min-height:44px;color:var(--text);text-underline-offset:.2em;background:0 0;border:0;padding:0 2px;text-decoration:underline}.privacy-locations{margin:0;line-height:1.65}.privacy-locations dt{margin-block:1em .2em;font-weight:700}.privacy-locations dd{margin:0}.privacy-locations a{color:var(--primary);text-underline-offset:.16em}.guest-privacy-note a{color:var(--primary);text-underline-offset:2px}.composer-meta kbd{font:inherit;font-weight:620}.shortcut-divider{color:var(--line-strong);padding:0 5px}.conversation-start{height:auto;min-height:100dvh}.conversation-start .conversation-workspace{width:100%;padding:clamp(36px, 8vh, 92px) var(--reading-inset) 50px;grid-template-columns:minmax(0,1.6fr) minmax(225px,.91fr);grid-template-areas:"write write""examples support";align-content:start;align-items:start;gap:clamp(32px,5vh,52px) clamp(32px,4vw,66px);display:grid}.conversation-start .composer-region{grid-area:write;min-width:0;padding:0}.start-masthead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:29px;display:flex}.start-title{letter-spacing:-.069em;word-break:keep-all;margin:0;font-size:clamp(3.1em,4.6vw,4.65em);font-weight:790;line-height:1.1}.start-title span{display:block}.dialogue-art{background:var(--dialogue-art) center / contain no-repeat;pointer-events:none;flex:0 33%;height:clamp(100px,12vw,170px)}.conversation-start .composer{padding:16px}.conversation-start .composer textarea{min-height:86px;padding:3px 6px 14px;font-size:1.32em}.conversation-start .messages{grid-area:examples;min-width:0;min-height:0;padding:0;display:block;overflow:visible}.conversation-start .empty-state{width:100%;padding:0}.empty-state h2{letter-spacing:-.043em;margin:0 0 10px;font-size:1.13em;font-weight:770;line-height:1.45}.suggestions{margin:0;padding:0;list-style:none}.suggestions li+li{border-top:1px solid var(--line)}.suggestion-row{width:100%;min-height:54px;color:var(--text);text-align:left;letter-spacing:-.02em;background:0 0;border:0;border-radius:0;grid-template-columns:22px minmax(0,1fr) 17px;align-items:center;gap:14px;padding:9px 2px;font-weight:550;line-height:1.55;display:grid}.suggestion-row .chat-icon{width:18px;height:18px;color:var(--muted)}.suggestion-row .chat-icon:last-child{width:15px}.suggestion-row:hover{background:var(--surface-strong)}.input-support{padding-block:6px max(10px, env(safe-area-inset-bottom))}.input-support .voice-control{color:var(--text);background:0 0;border:0;border-radius:0;margin:0;padding:4px 0}.voice-control-heading h2{align-items:center;gap:8px;font-weight:760;display:flex}.voice-control-heading h2 .chat-icon{width:21px;height:21px}.voice-control-title{min-width:0}.voice-control-status{font-size:.94em}.voice-control-toggle,.voice-control-toggle.enabled{min-width:44px;color:var(--text);background:0 0;border:0;border-radius:3px;align-items:center;gap:6px;padding:0 3px;font-size:.94em;font-weight:650;display:inline-flex}.switch-track{border:1.5px solid;border-radius:12px;flex:none;width:27px;height:16px;position:relative}.switch-track:before{content:"";background:currentColor;border-radius:50%;width:9px;height:9px;display:block;position:absolute;inset:2px auto auto 2px}.voice-control-toggle.enabled .switch-track{background:var(--primary);border-color:var(--primary)}.voice-control-toggle.enabled .switch-track:before{background:var(--on-primary);left:auto;right:2px}.voice-control .voice-control-privacy{font-size:.93em;font-weight:430;line-height:1.6}.voice-control-privacy strong{font-weight:inherit}.voice-control-guide summary{font-size:.96em;font-weight:600}.input-setup{color:var(--muted);align-items:center;gap:7px;margin:0;padding:7px 0;font-size:.83em;font-weight:500;display:flex}.input-setup .chat-icon{width:15px;height:15px}.input-setup strong{color:var(--text);font-weight:680}.conversation-start .input-support{background:var(--surface-strong);border-radius:3px;grid-area:support;min-width:0;padding:16px 21px 3px}.conversation-start .input-support>.voice-control[aria-labelledby]{padding:0;display:block}.conversation-start .voice-control-heading{align-items:flex-start;gap:8px}.conversation-start .voice-control-title{padding-top:8px}.conversation-start .voice-control-heading h2{letter-spacing:-.045em;font-size:1.22em}.conversation-start .voice-control-status{margin-top:6px}.conversation-start .voice-control-privacy{margin-block:13px 2px}.conversation-start .input-setup{border-top:1px solid var(--line);width:100%;padding-block:13px}.chat-main:not(.conversation-start) .input-support{position:relative}.chat-main:not(.conversation-start) .voice-control-heading{justify-content:flex-start}.chat-main:not(.conversation-start) .voice-control-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chat-main:not(.conversation-start) .voice-control-status{margin:0}html:has(.voice-control){scrollbar-gutter:stable}@media (width>=701px) and (height>=701px){.chat-main:not(.conversation-start) .voice-control{grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;display:grid;position:relative}.chat-main:not(.conversation-start) .voice-control-heading{grid-area:1/1;align-self:start}.chat-main:not(.conversation-start) .voice-control-guide{grid-area:1/2;align-self:start;margin:0}.chat-main:not(.conversation-start) .voice-control>:not(.voice-control-heading,.voice-control-guide){grid-column:1/-1}.chat-main:not(.conversation-start) .voice-control-guide-content{z-index:7;overscroll-behavior:contain;border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;max-block-size:min(46dvh,28rem);inline-size:min(42rem,100%);padding:14px 18px;position:absolute;inset-block-end:calc(100% + 8px);inset-inline-end:0;overflow:auto}}.app-shell .dialog{border-radius:10px}.dialog .settings-panel{gap:0}.dialog .settings-group,.dialog .memory-item{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0}.dialog .settings-group-summary{border-radius:0;padding-inline:2px}.dialog .settings-group-content{padding-inline:4px}.dialog .settings-camera-status{border:0;padding:15px 0}.dialog .toggle-field{background:0 0;border:0;border-radius:0;padding-inline:0}.dialog :is(input:not([type=checkbox]),textarea,select,button){border-radius:4px}.app-shell .dialog .primary-button{color:var(--on-primary);background:var(--primary);border-color:var(--primary)}.app-shell .dialog .primary-button:hover:not(:disabled){background:var(--primary-hover)}.app-shell.high-contrast :is(.composer,.input-support){outline:1px solid var(--line);outline-offset:-1px}@media (width>=601px) and (width<=1200px){.app-shell .chat-header{flex-wrap:wrap}.header-title-group{flex:120px}.header-controls{max-width:100%}}@media (width<=1050px){.app-shell{--gutter:clamp(20px, 3.5vw, 36px)}.conversation-start .conversation-workspace{column-gap:25px}}@media (width>=861px) and (width<=999px),(width<=700px){.conversation-start .conversation-workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"write""examples""support"}}@media (width<=600px){.app-shell{--gutter:clamp(18px, 5vw, 28px)}.app-shell .chat-header{padding:6px var(--gutter);grid-template-columns:minmax(0,1fr) repeat(3,44px);align-items:center;gap:0 3px;display:grid}.header-title-group{grid-area:1/1/auto/5;gap:5px;margin-right:132px}.header-title-group h1{max-width:100%;font-size:1.08em}.header-controls{display:contents}.header-controls .profile-control{grid-area:1/2/auto/5;justify-self:end;max-width:128px}.header-controls .model-control{grid-area:2/1;justify-content:start;min-width:0;max-width:100%;margin:0;padding:0}.header-controls .model-control:after{display:none}.header-controls select{width:auto;min-width:44px;max-width:100%}.header-controls .model-control select{opacity:0;width:100%;height:100%;position:absolute;inset:0}.header-controls .model-control{justify-self:start;min-height:44px;padding-inline-end:18px;position:relative}:is(.header-controls .model-control:has(select:focus-visible),.header-controls .model-control:has(.scan-highlight)){outline:3px solid var(--focus);outline-offset:1px;border-radius:3px}.header-controls .model-control .mobile-model-name{white-space:nowrap;text-overflow:ellipsis;color:var(--text);pointer-events:none;font-size:1em;display:block;overflow:hidden}.header-controls .model-control:after{border:solid var(--muted);pointer-events:none;border-width:0 1.5px 1.5px 0;width:6px;height:6px;display:block;right:4px;transform:translateY(-1px)rotate(45deg)}.header-controls .profile-control select{min-width:44px;max-width:98px}.header-controls .command-palette-trigger{grid-area:2/2}.header-controls .memory-trigger{grid-area:2/3}.header-controls .settings-trigger{grid-area:2/4}.header-controls .camera-live-button,.header-controls .reading-stop{grid-column:span 2}.header-controls :is(.command-palette-trigger,.memory-trigger,.settings-trigger){flex-direction:column;gap:2px;padding:2px 0}.header-controls :is(.command-palette-trigger,.memory-trigger,.settings-trigger)>span{white-space:nowrap;font-size:max(12px,.83em);line-height:1.25}.header-controls .memory-trigger .memory-trigger-status{white-space:normal}.conversation-start .conversation-workspace{gap:28px;padding-block:30px 32px}.start-masthead{gap:0;margin-bottom:20px}.start-title{font-size:clamp(2.3em,8.8vw,3.3em);line-height:1.15}.dialogue-art{flex-basis:30%;height:clamp(76px,21vw,110px)}.conversation-start .composer,.composer{column-gap:3px;padding:10px}.conversation-start .composer textarea{min-height:76px;font-size:1.18em}.composer :is(.attachment-button,.dictation-button){gap:5px;padding-inline:6px}.composer :is(.send-button,.stop-button){gap:7px;min-width:78px;padding-inline:8px}.composer-meta{font-size:.79em}.suggestion-row{gap:9px;min-height:51px}.conversation-start .input-support{padding-inline:16px}.message-tools .tool-button{padding-inline:5px}.message.assistant .message-content{font-size:1.04em}}@media (width<=370px){.app-shell{--gutter:16px}.dialogue-art{flex-basis:25%}.font-large .dialogue-art{display:none}.composer :is(.attachment-button,.dictation-button){font-size:.84em}.suggestion-row{grid-template-columns:18px minmax(0,1fr) 15px}}@media (width>=861px){.app-shell{--sidebar-width:248px}}.app-shell .sidebar{--rail-paper:#1c302c;--rail-ink:#f7f6ee;--rail-secondary:#c2cfc5;--rail-rule:#4e6058;--rail-current:#304740;--rail-hover:#3a514a;--rail-mark:#c8dfba;--focus:#f5dd96;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--rail-ink);background:var(--rail-paper);padding:21px 15px max(16px, env(safe-area-inset-bottom));height:100dvh;box-shadow:none;border:0;gap:0}.sidebar .sidebar-header{margin:0 0 31px 5px}.sidebar .rail-brand{align-items:center;gap:10px;display:inline-flex}.rail-symbol{color:var(--rail-mark);flex:none}.sidebar .rail-brand strong{letter-spacing:-.065em;white-space:nowrap;font-size:1.48em;font-weight:780;line-height:1.2}.sidebar .sidebar-close,.sidebar .mini-action{width:44px;min-height:44px;color:var(--rail-secondary);background:0 0;border:0;border-radius:3px;place-items:center;display:inline-grid}.sidebar .sidebar-close:hover,.sidebar .mini-action:hover{background:var(--rail-hover);color:var(--rail-ink)}.sidebar .mini-action.danger:hover{background:var(--rail-hover);color:#ffcec3}.app-shell .sidebar .new-conversation,.sidebar .search-field{background:0 0;border:0;border-radius:3px;justify-content:flex-start;align-items:center;gap:12px;min-height:48px;margin:0;padding:0 10px;display:flex}.app-shell .sidebar .new-conversation{color:var(--rail-ink);font-weight:650}.app-shell .sidebar .new-conversation:hover:not(:disabled),.sidebar .search-field:hover{background:var(--rail-hover)}.sidebar .search-field{color:var(--rail-secondary)}.sidebar .search-field .chat-icon{width:20px;height:20px}.sidebar .search-field input{color:var(--rail-ink);font:inherit}.sidebar .search-field input::placeholder{color:var(--rail-secondary);opacity:1}.sidebar .rail-caption{border:0;border-top:1px solid var(--rail-rule);color:var(--rail-secondary);justify-content:space-between;align-items:baseline;margin:28px 5px 7px;padding:15px 3px 6px;font-size:.83em;font-weight:570;display:flex}.sidebar .rail-caption span{font-weight:500}.sidebar .conversation-list{scrollbar-color:var(--rail-rule) transparent;gap:3px;padding:2px 0 5px}.app-shell .sidebar .conversation-item{border:0;background:0 0;border-inline-start:2px solid #0000;border-radius:0;display:block}.app-shell .sidebar .conversation-item:hover{background:var(--rail-current)}.app-shell .sidebar .conversation-item.selected{border-inline-start-color:var(--rail-mark);background:var(--rail-current)}.sidebar .conversation-select{width:100%;min-height:44px;color:var(--rail-ink);text-align:start;border:0;padding:9px 11px 2px}.sidebar .conversation-title{-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:.98em;font-weight:630;line-height:1.48;display:-webkit-box}.rail-item-details{flex-wrap:wrap;justify-content:space-between;align-items:center;padding-inline:11px 1px;display:flex}.sidebar .conversation-date{color:var(--rail-secondary);font-variant-numeric:tabular-nums;font-size:.8em}.sidebar .conversation-actions{margin-inline-start:auto;padding:0}.sidebar .sidebar-empty{color:var(--rail-secondary);text-align:start;padding:12px 8px}.sidebar .conversation-list :is(:focus-visible,.scan-highlight){outline-offset:-3px}.app-shell.high-contrast .sidebar{--rail-paper:#000;--rail-ink:#fff;--rail-secondary:#fff;--rail-mark:#ffeb78;--rail-current:#252525;--rail-hover:#424242;--rail-rule:#fff;--focus:#ffeb78;border-inline-end:1px solid #fff}@media (width<=860px){.app-shell .sidebar{width:min(308px,100vw - 44px)}.sidebar .sidebar-header{margin-bottom:21px}.sidebar .rail-caption{margin-top:20px}}.startup-screen{min-height:100svh;color:var(--text);background:var(--surface);padding:0;font-family:SUIT Variable,Malgun Gothic,sans-serif}.startup-welcome{--startup-forest:#1c302c;--text:#20312c;--muted:#4c5953;--surface:#faf8f1;--line:#cbcfc2;--focus:#0d5f52;grid-template-columns:minmax(18rem,.87fr) minmax(24rem,1.13fr);place-items:stretch stretch}.startup-masthead{color:#f7f6ee;background:var(--startup-forest);flex-direction:column;min-width:0;padding:clamp(28px,4.2vw,72px);display:flex}.startup-wordmark{flex-wrap:wrap;align-items:baseline;gap:3px 16px;margin:0;display:flex}.startup-wordmark strong{letter-spacing:-.065em;font-size:1.5rem;font-weight:780;line-height:1.2}.startup-wordmark span{color:#c4d1c5;font-size:.94rem}.startup-intro{margin-block:auto;padding-block:38px}.startup-art{width:min(82%,305px);height:auto;margin:0 0 30px;display:block}.startup-screen h1{letter-spacing:-.06em;text-wrap:balance;max-width:8.7em;margin:0;font-family:inherit;font-size:clamp(2.65rem,4vw,4.5rem);font-weight:680;line-height:1.16}.startup-description{color:#d9e2d9;max-width:27em;margin:22px 0 0;line-height:1.7}.startup-content{place-self:center;width:min(100%,37rem);padding:42px clamp(28px,3.8vw,66px)}.startup-content .profile-form{gap:11px;margin:0}.startup-content .dialog-field{gap:12px}.startup-content .dialog-field span{letter-spacing:-.05em;font-size:1.72rem;font-weight:710;line-height:1.25}.startup-content .dialog-field input{background:#fffef9;border:1px solid #7f8b81;border-radius:4px;min-height:55px;padding-inline:14px;font-weight:500}.startup-content .dialog-field input::placeholder{color:#606a62}.startup-content .primary-button{color:#fff;background:#155a4f;border:0;border-radius:4px;min-height:51px;margin-top:6px;font-weight:700}.startup-content .primary-button:hover:not(:disabled){background:#10483f}.startup-content .profile-note{color:var(--muted);margin:0;font-size:.94rem;line-height:1.65}.startup-content>.profile-note{margin:22px 0 18px}.startup-content .startup-help{margin:0;font-size:.94rem}.startup-content .startup-help summary{min-height:48px;color:var(--text)}.startup-content .startup-help p{line-height:1.72}.startup-status{flex-direction:column;justify-content:center;align-items:flex-start;gap:20px;padding:36px max(22px,50vw - 16rem);display:flex}.startup-status .startup-masthead,.startup-status .startup-content{width:100%;color:var(--text);background:0 0;padding:0}.startup-status .startup-intro{padding:35px 0 0}.startup-status .startup-wordmark span{color:var(--muted)}.startup-status h1{text-wrap:initial;max-width:100%;font-size:clamp(1.8rem,4vw,2.45rem)}.startup-status .startup-content p{margin:0}.startup-status .primary-button{min-width:130px;color:var(--on-primary);background:var(--primary);margin-top:18px;transition-property:transform}.startup-status .primary-button:hover:not(:disabled){color:var(--on-primary);background:var(--primary-hover)}@media (width<=740px){.startup-welcome{display:block}.startup-welcome .startup-masthead{padding:19px max(20px,50vw - 15.5rem) 26px}.startup-welcome .startup-intro{padding:28px 0 0}.startup-art{display:none}.startup-welcome h1{max-width:12em;font-size:clamp(2rem,6.2vw,2.75rem)}.startup-description{margin-top:12px;font-size:1rem}.startup-welcome .startup-content{width:100%;padding:26px max(20px,50vw - 15.5rem)}.startup-content .dialog-field span{font-size:1.4rem}}@media (forced-colors:active){.startup-content .primary-button{border:1px solid buttontext}}.sidebar .device-history-trigger{min-height:44px;color:var(--rail-secondary);text-align:start;background:0 0;border:0;border-radius:3px;align-items:center;gap:12px;padding:0 10px;font-weight:560;display:flex}.sidebar .device-history-trigger:hover{color:var(--rail-ink);background:var(--rail-hover)}.device-history-count{white-space:nowrap;margin-inline-start:auto;font-size:.86em}.history-save-error{color:var(--danger);flex-wrap:wrap;align-items:center;gap:0 .7em;padding-inline:2px;font-size:.875em;display:flex}.history-save-error p{margin:0}.device-history-list{padding:0;list-style:none}.device-history-list>li{border-block-start:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding:12px 0;display:flex}.device-history-list p{color:var(--muted);margin:3px 0;font-size:.86em}.device-history-actions{flex-wrap:wrap;gap:6px;display:flex}.device-history-actions button{min-width:44px;min-height:44px}.device-history .dialog-copy{margin:0 0 14px}.device-history-list>li{overflow-wrap:anywhere;min-width:0}.device-history-list .settings-reset-confirm{flex-basis:100%}.device-history>button{min-height:44px}.device-history-limits{border-top:1px solid var(--line);margin-block-start:12px}.device-history-limits summary{width:fit-content;min-height:44px;color:var(--muted);cursor:pointer;align-content:center;display:list-item}.device-history-limits p{color:var(--muted);margin:0;line-height:1.6}html:has(.app-shell .dialog-backdrop,.app-shell .sidebar.open){overflow:hidden}.app-shell .dialog{overscroll-behavior:contain}.app-shell .dialog-header h2{overflow-wrap:anywhere}@media (width<=600px){.app-shell.font-large .chat-header{grid-template-columns:minmax(0,1fr) repeat(3,minmax(44px,max-content))}}@media (width<=380px){.app-shell.font-large .chat-header{grid-template-columns:repeat(3,minmax(0,1fr))}.font-large .header-title-group{grid-area:1/1/2/-1;margin-inline-end:5em}.font-large .header-controls .guest-identity{grid-area:1/3}.font-large .header-controls .model-control{grid-area:2/1/3/-1}.font-large .header-controls .command-palette-trigger{grid-area:3/1}.font-large .header-controls .memory-trigger{grid-area:3/2}.font-large .header-controls .settings-trigger{grid-area:3/3}}
