:root{color-scheme:light;font-family:Inter,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg: #f4f7ff;--bg-strong: #eef2fb;--surface: rgba(255, 255, 255, .88);--surface-soft: rgba(255, 255, 255, .72);--surface-accent: rgba(87, 212, 209, .12);--line: rgba(18, 31, 90, .12);--line-strong: rgba(18, 31, 90, .2);--ink: #172033;--muted: #6f7b94;--accent: #57d4d1;--accent-strong: #0d153d;--gold: #c1955a;--danger: #8f4341;--danger-soft: rgba(143, 67, 65, .1);--success: #2f6a53;--success-soft: rgba(47, 106, 83, .1);--shadow: 0 20px 48px rgba(13, 21, 61, .08);--shadow-soft: 0 12px 28px rgba(13, 21, 61, .06);--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-7: 2rem;--space-8: 2.5rem;--radius-sm: 14px;--radius-md: 20px;--radius-lg: 28px;--touch-target: 44px}*{box-sizing:border-box}html{line-height:1.5}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden;color:var(--ink);background:radial-gradient(circle at top,rgba(87,212,209,.16),transparent 30%),linear-gradient(180deg,#f9fbff,#f4f7ff 48%,#eef2fb)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}button,input,select,textarea{width:100%;min-height:var(--touch-target);border-radius:var(--radius-sm);border:1px solid var(--line);background:#ffffffe6;padding:.875rem 1rem;color:var(--ink)}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid rgba(31,111,114,.2);outline-offset:2px}textarea{resize:vertical}#root{min-height:100vh}h1,h2,h3,h4,p{margin:0}h1{font-size:clamp(1.9rem,4vw,2.8rem);line-height:1.05;letter-spacing:-.03em}h2{font-size:clamp(1.5rem,3.5vw,2.1rem);line-height:1.1;letter-spacing:-.02em}h3{font-size:clamp(1.1rem,2.5vw,1.35rem);line-height:1.2}h4{font-size:1rem;line-height:1.35}.muted{color:var(--muted)}.eyebrow{color:var(--gold);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em}.app-shell{width:100%;margin:0 auto;padding:clamp(1rem,2.4vw,1.9rem)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-5)}.brand-lockup{display:flex;align-items:center;gap:.85rem}.brand-mark-wrap{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#ffffffc7;border:1px solid var(--line);box-shadow:var(--shadow-soft)}.brand-tagline{margin-top:.05rem;color:var(--accent-strong);font-weight:600;font-size:.94rem}.brand-title-link{color:inherit;text-decoration:none}.nav-icon,.icon-heading,.auth-feature-list p,.celebration-note,.fallback-note,.subscription-badge,.status-banner,.button{display:inline-flex;align-items:center;gap:.6rem}.user-button-wrap{display:flex;justify-content:flex-end}.topbar-actions{display:flex;align-items:center;gap:.65rem}.settings-icon-button{display:inline-grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:999px;border:1px solid var(--line);background:#ffffffc7;color:var(--ink);box-shadow:var(--shadow-soft)}.settings-icon-button .icon{display:block}.page,.stack-sm,.stack-md,.stack-lg,.grid,.wizard-layout,.history-details,.field,.progress-wrap,.auth-shell,.auth-copy,.auth-card,.state-card{display:grid}.page{gap:var(--space-5);width:100%;padding:.35rem 0 1.25rem}.stack-sm{gap:var(--space-3)}.stack-md{gap:var(--space-4)}.stack-lg{gap:var(--space-5)}.grid{gap:var(--space-4)}.two-up,.channel-grid,.provider-grid,.problem-grid{grid-template-columns:1fr}.card{padding:var(--space-5);border-radius:var(--radius-lg);border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.hero-card{display:flex;flex-direction:column;gap:var(--space-5)}.home-hero,.home-control-panel{display:grid;gap:var(--space-5)}.home-control-split{display:grid;gap:var(--space-4)}.home-control-column{display:grid;place-items:center;min-height:200px}.current-session-card{gap:var(--space-4)}.current-session-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.session-progress-pill{display:inline-flex;align-items:center;gap:.5rem;width:auto;padding:.7rem .95rem;border-radius:999px;border:1px solid var(--line);background:#ffffffbd;color:var(--accent-strong);font-weight:700}.dashboard-step{border:1px solid var(--line);border-radius:var(--radius-md);background:#ffffffc2;overflow:hidden;box-shadow:var(--shadow-soft)}.dashboard-step:nth-of-type(1){background:linear-gradient(180deg,#ecf3fdf5,#fffffff0)}.dashboard-step:nth-of-type(2){background:linear-gradient(180deg,#fcf6eef5,#fffffff0)}.dashboard-step:nth-of-type(3){background:linear-gradient(180deg,#edf8f6f5,#fffffff0)}.dashboard-step:nth-of-type(4){background:linear-gradient(180deg,#f3f1fcf5,#fffffff0)}.dashboard-step:nth-of-type(5){background:linear-gradient(180deg,#f5f7faf5,#fffffff0)}.dashboard-step:nth-of-type(6){background:linear-gradient(180deg,#faf5eef5,#fffffff0)}.dashboard-step-summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);width:100%;padding:1.15rem 1.25rem;border:0;border-radius:0;box-shadow:none;text-align:left;font-weight:700;color:var(--ink);background:linear-gradient(180deg,#f4f7fffa,#ffffffeb)}.dashboard-step-open .dashboard-step-summary{border-bottom:1px solid var(--line);background:linear-gradient(180deg,#eaf0fc,#fffffff0)}.dashboard-step-complete{border-color:#2f6a533d;background:linear-gradient(180deg,#eff8f3fa,#fffffff0)}.dashboard-step-title,.dashboard-step-meta{display:inline-flex;align-items:center;gap:.65rem}.dashboard-step-number{color:var(--gold)}.dashboard-step-check{color:var(--success)}.dashboard-step-body,.recording-grid,.details-inline-grid,.photo-grid,.send-ai-grid,.review-count-grid,.ai-package-actions{display:grid;gap:var(--space-3)}.dashboard-step-body{padding:1.35rem}.configure-room-stack{display:grid;gap:var(--space-3)}.dashboard-subsection{border:1px solid var(--line);border-radius:18px;background:#ffffffd1;overflow:hidden}.dashboard-subsection-summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);width:100%;padding:1rem 1.1rem;border:0;border-radius:0;box-shadow:none;text-align:left;font-weight:700}.dashboard-subsection-open .dashboard-subsection-summary{border-bottom:1px solid var(--line)}.dashboard-subsection-body{padding:1.1rem}.dashboard-subsection-complete{border-color:#2f6a533d;background:linear-gradient(180deg,#eff8f3fa,#fffffff0)}.recording-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.details-inline-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));padding:0}.photo-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));padding:0}.record-tile,.photo-tile,.send-ai-card,.review-card,.review-mini-card{display:grid;gap:.75rem;padding:1.15rem;border-radius:22px;border:1px solid var(--line);background:#ffffffeb}.photo-tile{justify-items:center;text-align:center}.record-tile-complete,.photo-tile-complete,.send-ai-card-complete{border-color:#1d666f3d;background:linear-gradient(180deg,#f1f9f8eb,#fffffff5)}.record-tile-main{display:grid;justify-items:center;gap:.75rem;text-align:center}.record-tile-copy{display:grid;gap:.25rem}.record-icon-button,.photo-icon-button{width:96px;height:96px;min-height:96px;display:inline-grid;place-items:center;padding:0;border-radius:999px;border:1px solid var(--line);background:#fffffff2;color:var(--accent-strong);box-shadow:var(--shadow-soft)}.photo-icon-button{width:82px;height:82px;min-height:82px}.record-tile-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem}.tiny-action,.tiny-action-link{width:auto;min-height:0;padding:.28rem .5rem;border:0;background:transparent;box-shadow:none;color:var(--muted);font-size:.88rem;font-weight:600;display:inline-flex;align-items:center;gap:.35rem}.tiny-action:disabled{opacity:.4;cursor:not-allowed}.compact-waveform-wrap{margin-top:.35rem}.compact-waveform-wrap .waveform,.compact-waveform-wrap .waveform-empty{min-height:92px;padding:.9rem 1rem}.waveform-meta{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-top:.5rem}.recording-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:#0c141cbd;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.recording-overlay-card{width:min(720px,calc(100vw - 2rem));display:grid;justify-items:center;gap:1rem;padding:1.75rem 1.5rem;border-radius:28px;background:#fffdf9fa;border:1px solid rgba(23,48,51,.08);box-shadow:var(--shadow)}.recording-overlay-label{font-size:.82rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}.recording-overlay-timer{font-size:clamp(2rem,6vw,3.6rem);font-weight:800;color:var(--ink);text-align:center}.recording-overlay-waveform{width:100%}.recording-overlay-waveform .waveform,.recording-overlay-waveform .waveform-empty{min-height:120px;padding:1rem 1.1rem}.recording-stop-button{width:112px;height:112px;min-height:112px;border-radius:999px;border:0;background:#c64545;color:#fff;font-weight:800;font-size:1rem;box-shadow:0 18px 40px #c645454d}.send-ai-grid,.review-count-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.send-ai-card{align-content:start;justify-items:start;text-align:left}.ai-package-actions{grid-template-columns:repeat(auto-fit,minmax(200px,max-content))}.ai-package-actions .button{width:auto}.configure-link-strong{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:0;padding:.55rem .85rem;border-radius:999px;text-decoration:none;font-weight:700;font-size:.98rem;color:var(--accent-strong);background:#e8f1f5e6;border:1px solid rgba(29,102,111,.16)}.help-modal-copy{display:grid;gap:var(--space-3);max-width:52rem}.action-modal--help{max-width:min(760px,calc(100vw - 2rem))}.help-modal-headline{display:flex;align-items:center;gap:1.1rem}.help-modal-mark{width:76px;height:76px;flex-shrink:0}.help-modal-headline h3{line-height:1.02;margin:0}.help-subheader{font-weight:700;color:var(--ink)}.help-steps{display:grid;gap:.55rem;padding-left:1.2rem;color:var(--ink)}.settings-tabs{display:flex;flex-wrap:wrap;gap:.65rem}.settings-tab{width:auto;min-height:0;padding:.7rem 1rem;border-radius:14px;border:1px solid var(--line);background:#ffffffd6;color:var(--muted);box-shadow:none;font-weight:700}.settings-tab-active{background:#e7f0f7f2;border-color:#1f6f722e;color:var(--ink)}.home-option-grid{display:grid;gap:var(--space-3)}.home-option-card{display:grid;gap:.3rem;padding:1rem 1.05rem;border-radius:20px;border:1px solid var(--line);background:#ffffffa6;transition:transform .12s ease,border-color .12s ease}.home-option-card:hover{transform:translateY(-1px);border-color:#1720332e}.home-option-card span{color:var(--muted)}.section-head,.suggestion-head,.list-row,.dashboard-row,.button-row,.wizard-actions{display:flex;gap:var(--space-3)}.section-head,.suggestion-head{align-items:flex-start;justify-content:space-between}.list-row,.dashboard-row,.button-row,.wizard-actions{align-items:center;justify-content:space-between}.dashboard-row,.history-item{padding:.95rem 0;border-top:1px solid var(--line)}.dashboard-row:first-of-type,.history-item:first-child{border-top:0}.field-label{font-weight:700}.field-hint{font-size:.93rem;color:var(--muted)}.button{width:auto;justify-content:center;border:none;border-radius:999px;background:linear-gradient(135deg,#1d666f,#245878);color:#fff;font-weight:700;box-shadow:0 10px 24px #1d666f2e}.button:hover{transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.65;transform:none}.button-secondary{background:#ffffffbd;color:var(--ink);border:1px solid var(--line);box-shadow:none}.button-ghost{background:transparent;color:var(--muted);border:1px dashed var(--line);box-shadow:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.large-textarea{min-height:260px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.badge,.priority-pill{display:inline-flex;align-items:center;gap:.45rem;width:auto;padding:.45rem .8rem;border-radius:999px;background:#1f6f7217;color:var(--ink);font-size:.92rem}.priority-red{background:#8f43411f}.priority-yellow{background:#b8854524}.priority-green{background:#2f6a531f}.subscription-badge{flex-wrap:wrap;width:fit-content;padding:.75rem .95rem;border-radius:18px;background:var(--surface-accent)}.subscription-badge span{color:var(--muted)}.upgrade-card{background:linear-gradient(180deg,#1f6f7214,#fffffff2);border-color:#1f6f722e}.status-banner,.permission-panel,.privacy-note,.celebration-note,.empty-inline,.info-panel,.setup-path-card{border-radius:var(--radius-md);padding:.95rem 1rem;border:1px solid var(--line);background:#fff9}.status-banner{font-weight:600}.status-info{background:#1f6f7214}.status-success{background:var(--success-soft)}.status-error{background:var(--danger-soft);color:var(--danger)}.celebration-note{color:var(--accent-strong);font-weight:600}.state-card{justify-items:start;gap:var(--space-3)}.state-icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#1f6f7214;color:var(--accent-strong)}.state-icon-loading .icon{animation:spin 1.1s linear infinite}.state-icon-error{background:var(--danger-soft);color:var(--danger)}.state-icon-empty{background:#b885451f;color:var(--gold)}.state-icon-success{background:var(--success-soft);color:var(--success)}.stat{font-size:clamp(2.6rem,8vw,3.4rem);line-height:1}.wizard-layout{gap:var(--space-4)}.wizard-sidebar,.wizard-content{min-height:100%}.progress-labels{display:flex;justify-content:space-between;font-size:.92rem;color:var(--muted)}.progress-track{height:10px;border-radius:999px;overflow:hidden;background:#17303314}.progress-bar{display:block;height:100%;border-radius:inherit;background:linear-gradient(135deg,#1d666f,#c1955a)}.wizard-steps{list-style:none;padding:0;margin:var(--space-5) 0 0;gap:var(--space-3)}.wizard-steps li{display:flex;gap:var(--space-3);padding:.95rem;border-radius:var(--radius-md);background:#ffffff94}.wizard-steps span:first-child{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:#1f6f721f;font-weight:700}.wizard-step-active{border:1px solid rgba(31,111,114,.22);background:#fffc}.provider-card,.problem-chip,.round-tab{text-align:left}.provider-card-active,.problem-chip-active,.round-tab-active,.feedback-active{border-color:#1f6f7247;background:#d7eeebd1}.round-nav{display:flex;gap:var(--space-3);overflow-x:auto;padding-bottom:var(--space-2)}.round-tab{width:auto;min-height:var(--touch-target);white-space:nowrap;padding:.72rem 1rem}.feedback-button{min-width:120px}.history-summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-5);border-radius:var(--radius-lg);border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);cursor:pointer}.history-summary::-webkit-details-marker{display:none}.upload-value{font-size:.88rem;color:var(--muted);word-break:break-all}.auth-shell{min-height:100vh;align-items:center;justify-content:center;gap:var(--space-6);padding:var(--space-5)}.auth-copy,.auth-card{max-width:440px}.auth-copy{gap:var(--space-4)}.auth-brand{margin-bottom:var(--space-2)}.auth-card{padding:var(--space-4);border-radius:var(--radius-lg);border:1px solid var(--line);background:#ffffffed;box-shadow:var(--shadow)}.auth-feature-list{display:grid;gap:var(--space-3)}.auth-feature-list p{color:var(--muted)}.checkbox-row{display:flex;align-items:flex-start;gap:var(--space-3)}.checkbox-row input{width:auto;min-height:auto;margin-top:.2rem}.compact-list{margin:0;padding-left:1.15rem}.suggestion-card details{margin-top:var(--space-3)}.waveform,.waveform-empty{min-height:140px;border-radius:var(--radius-md);background:linear-gradient(180deg,#1f6f7214,#1f6f7208);display:flex;align-items:end;gap:4px;padding:var(--space-4)}.waveform span{flex:1;border-radius:999px;background:linear-gradient(180deg,#1d666f,#c1955a)}.waveform-empty{align-items:center;justify-content:center;color:var(--muted);text-align:center}.privacy-note{color:var(--ink)}.record-hero{display:flex;justify-content:center}.record-home-wrap{display:grid;justify-items:center;gap:var(--space-3)}.record-icon-button{width:132px;min-height:132px;padding:0;display:inline-grid;place-items:center;border:0;border-radius:999px;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.2),transparent 45%),linear-gradient(145deg,#1d666f,#245878 55%,#153d52);box-shadow:0 18px 38px #1d666f38}.analyze-image-button{background:transparent;border:0;box-shadow:none}.analyze-button-image{width:132px;height:132px;object-fit:contain;border-radius:28px;box-shadow:0 18px 38px #0d153d24}.record-icon-label{font-weight:800;letter-spacing:-.01em}.analysis-ready,.analysis-placeholder{border-radius:var(--radius-md);padding:.95rem 1rem;border:1px solid var(--line);background:#ffffff8f}.home-lower-grid{display:grid;gap:var(--space-4)}.history-link,.history-open-link{width:auto;color:var(--accent-strong);font-weight:500}.history-link-bottom{display:inline-block;margin-top:var(--space-3)}.history-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:.95rem 0;border-top:1px solid var(--line)}.history-row:first-of-type{border-top:0}.history-open-link{flex:0 0 auto;padding:.45rem .7rem;border-radius:999px;background:#ffffffa6;border:1px solid var(--line)}.history-actions{display:flex;flex-wrap:wrap;gap:.75rem}.history-action-button{display:inline-flex;align-items:center;gap:.55rem;width:auto;min-height:40px;padding:.7rem .95rem;border-radius:999px;border:1px solid var(--line);background:#ffffffb8;color:var(--ink);font-weight:600;box-shadow:none}.history-action-danger{color:var(--danger);background:#8f43410d}.placeholder-card{min-height:220px;align-content:start}.record-button{width:min(100%,420px);min-height:160px;display:grid;justify-items:center;gap:var(--space-4);padding:var(--space-6);border:0;border-radius:36px;background:radial-gradient(circle at top,rgba(255,255,255,.2),transparent 50%),linear-gradient(145deg,#1d666f,#245878 55%,#153d52);box-shadow:0 18px 38px #1d666f38}.record-button-core{display:inline-grid;place-items:center;width:84px;height:84px;border-radius:999px;background:#ffffff24;box-shadow:inset 0 0 0 1px #ffffff2e}.record-button-label{font-size:1.15rem;font-weight:800;letter-spacing:-.01em}.button-row-secondary{justify-content:center;flex-wrap:wrap}.error-text{color:var(--danger);margin:0}.icon-heading{font-weight:700}.empty-inline{gap:var(--space-3)}.info-panel{display:grid;gap:var(--space-2)}.setup-path-grid{display:grid;gap:var(--space-3)}.setup-path-card{display:grid;gap:var(--space-2);transition:transform .12s ease,border-color .12s ease,background .12s ease}.setup-path-card:hover{transform:translateY(-1px);border-color:#1f6f7238;background:#ffffffe0}.optional-panel details{border:1px solid var(--line);border-radius:var(--radius-md);background:#ffffff6b;overflow:hidden}.modal-details{border:1px solid var(--line);border-radius:var(--radius-md);background:#ffffff6b}.modal-details summary{cursor:pointer;list-style:none;padding:.95rem 2.75rem .95rem 1rem;font-weight:700;color:var(--muted);position:relative}.modal-details summary::-webkit-details-marker{display:none}.optional-panel summary{cursor:pointer;list-style:none;padding:.95rem 2.75rem .95rem 1rem;font-weight:700;color:var(--muted);position:relative}.optional-panel summary::-webkit-details-marker{display:none}.optional-panel summary:after,.modal-details summary:after{content:"+";position:absolute;right:1rem;top:50%;transform:translateY(-50%);width:1.5rem;height:1.5rem;display:inline-grid;place-items:center;border-radius:999px;border:1px solid var(--line);background:#ffffffc7;color:var(--accent-strong);font-size:1rem;font-weight:700}.optional-panel details[open]>summary,.modal-details[open]>summary{color:var(--ink);background:#ffffff80}.optional-panel details[open]>summary:after,.modal-details[open]>summary:after{content:"–"}.optional-panel-body{padding:0 1rem 1rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:clamp(.75rem,2vw,1.5rem);background:#1720296b;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.action-modal{width:min(96vw,52rem);max-height:92vh;border-radius:28px;border:1px solid rgba(23,48,51,.1);background:#fffdf9;box-shadow:0 28px 70px #0c182233;overflow:hidden}.action-modal-head,.action-modal-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);padding:1.25rem 1.35rem}.action-modal-head{border-bottom:1px solid rgba(23,48,51,.08)}.action-modal-foot{border-top:1px solid rgba(23,48,51,.08);justify-content:flex-end;background:#f6f2eab3}.action-modal-body{display:grid;gap:var(--space-3);padding:1.35rem;overflow-y:auto}.modal-close{width:2rem;min-height:2rem;padding:0;border-radius:12px;border:1px solid rgba(23,48,51,.08);background:#ffffffe6;color:var(--muted);box-shadow:none}.action-choice{display:grid;gap:.45rem;justify-items:start;text-align:left;border-radius:22px;border:1px solid rgba(23,48,51,.08);background:#fff;padding:1.15rem 1.1rem;box-shadow:none;color:var(--ink)}.action-choice span{color:var(--muted);font-weight:500}.action-choice-primary{border-color:#1f6f7229;background:linear-gradient(180deg,#f2f9f8f5,#fff)}.action-choice-muted:disabled{opacity:.72}.manual-flow{display:grid;gap:var(--space-4)}.manual-flow-block{display:grid;gap:var(--space-3);padding:1rem;border:1px solid rgba(23,48,51,.08);border-radius:22px;background:#ffffffb8}.logo-mark{display:block}.icon{flex:0 0 auto}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:767px){.topbar{align-items:flex-start}.brand-lockup{min-width:0}.brand-lockup h1{overflow-wrap:anywhere}.button-row,.wizard-actions,.list-row,.dashboard-row,.history-row,.section-head,.suggestion-head{flex-direction:column;align-items:stretch}.button-row>.button,.button-row>.button-secondary,.wizard-actions>.button,.list-row>.button,.dashboard-row>.button{width:100%}.home-control-column{min-height:auto}.card{padding:1rem;border-radius:24px}.action-modal{width:100%;max-height:94vh;border-radius:22px}}@media(min-width:768px){.app-shell{padding:var(--space-6)}.wizard-layout,.hero-card,.home-hero{grid-template-columns:1.1fr 1fr;align-items:start}.home-control-split,.home-lower-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.auth-shell{grid-template-columns:repeat(2,minmax(0,440px))}.two-up,.channel-grid,.provider-grid,.problem-grid,.setup-path-grid,.home-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.stage-callout{display:flex;gap:var(--space-3);background:#57d4d114;border:1px solid rgba(87,212,209,.25);border-radius:var(--radius-sm);padding:var(--space-4)}.stage-callout-icon{font-size:1.3rem;flex-shrink:0;line-height:1.4}.stage-callout strong{display:block;margin-bottom:.25rem}.stage-dims-row{display:flex;flex-direction:column;gap:var(--space-2)}.stage-dims-label{font-size:.85rem;color:var(--muted);font-weight:500}.stage-dims-label-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.stage-dims-inputs{display:flex;gap:var(--space-3);flex-wrap:wrap}.stage-dims-inputs--wide{align-items:stretch}.stage-dims-field{display:flex;flex-direction:column;align-items:center;gap:var(--space-2)}.stage-dim-input{width:72px;min-height:44px;text-align:center;padding:.5rem .75rem}.stage-dim-unit{font-size:.8rem;color:var(--muted);white-space:nowrap;text-transform:uppercase;letter-spacing:.04em}.stage-header-row{display:none}.stage-section-heading{font-size:1rem;color:var(--ink);font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:var(--space-2)}.stage-dims-label-row--tight{justify-content:flex-start;gap:.6rem}.stage-inline-help{width:auto;min-height:0;padding:.2rem .45rem;border-radius:999px;border:1px solid var(--line);background:#ffffffdb;color:var(--muted);display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:500}.stage-wall-row{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2);margin-bottom:.45rem;flex-wrap:wrap}.stage-wall-toggles{display:flex;flex-wrap:wrap;gap:.45rem}.stage-wall-toggle{width:auto;min-height:0;padding:.22rem .55rem;border-radius:999px;background:#ffffffd1;border:1px solid var(--line);box-shadow:none;font-weight:500;font-size:.76rem}.stage-wall-toggle--active{background:#d7eeebd1;border-color:#1f6f7247}.stage-palette{display:flex;flex-wrap:wrap;gap:var(--space-2)}.stage-palette-item-wrap{position:relative;display:flex;flex-direction:column;align-items:center}.stage-palette-btn{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);cursor:grab;-webkit-user-select:none;user-select:none;width:72px;min-height:unset;transition:background .12s,border-color .12s}.stage-palette-btn:hover{background:var(--surface-accent);border-color:var(--accent)}.stage-palette-btn:active{cursor:grabbing}.stage-palette-emoji{font-size:20px;line-height:1.2}.stage-palette-label{font-size:10px;color:var(--muted);text-align:center;line-height:1.2}.stage-info-btn{width:18px;height:18px;min-height:unset;border-radius:50%;border:1px solid var(--line);background:var(--surface);font-size:10px;font-weight:700;color:var(--muted);cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;margin-top:2px}.stage-info-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.stage-tooltip{position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%);width:180px;background:var(--accent-strong);color:#ffffffeb;font-size:11px;line-height:1.45;padding:8px 10px;border-radius:10px;z-index:100;box-shadow:var(--shadow-soft);pointer-events:none}.stage-help-list{margin-top:.65rem;display:grid;gap:.6rem;padding-left:1.15rem}.stage-canvas-wrap{display:flex;flex-direction:column;gap:4px}.stage-canvas-edge-label{font-size:10px;color:var(--muted);text-align:center;letter-spacing:.04em}.stage-canvas{position:relative;height:300px;background:linear-gradient(180deg,#57d4d112,#ffffff80,#121f5a0a);border:1.5px dashed var(--line-strong);border-radius:var(--radius-sm);overflow:hidden;touch-action:none}.stage-empty-hint{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:.88rem;pointer-events:none;text-align:center;padding:1rem}.stage-el{position:absolute;display:flex;flex-direction:column;align-items:center;transform:translate(-50%,-50%);cursor:grab;-webkit-user-select:none;user-select:none;z-index:10;touch-action:none}.stage-el:active,.stage-el--dragging{cursor:grabbing;z-index:20}.stage-el:focus-visible .stage-el-bubble{outline:3px solid rgba(31,111,114,.4);outline-offset:2px}.stage-el-bubble{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;border:2px solid rgba(0,0,0,.07);position:relative;transition:box-shadow .12s}.stage-el--selected .stage-el-bubble{box-shadow:0 0 0 3px var(--accent)}.stage-el-ch{position:absolute;top:-5px;right:-5px;background:var(--accent-strong);color:#fff;font-size:9px;font-weight:600;border-radius:8px;padding:1px 4px;line-height:1.4}.stage-el-48v{position:absolute;bottom:-5px;right:-5px;background:#1d4ed8;color:#fff;font-size:8px;font-weight:600;border-radius:6px;padding:1px 3px;line-height:1.4}.stage-el-name{font-size:9px;color:var(--muted);margin-top:2px;text-align:center;max-width:60px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage-editor{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);overflow:hidden}.stage-editor-modal{width:min(560px,calc(100vw - 2rem));background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);overflow:hidden}.stage-editor-header{display:flex;align-items:center;justify-content:flex-start;padding:var(--space-3) var(--space-4);background:var(--bg-strong);border-bottom:1px solid var(--line)}.stage-editor-header h4{font-weight:600}.stage-editor-fields{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4)}.stage-editor-fields--compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1rem;align-items:start}.stage-editor-row{display:flex;flex-direction:column;gap:4px}.stage-editor-row--toggle{gap:var(--space-2);justify-content:center}.stage-editor-label{font-size:.82rem;font-weight:500;color:var(--muted)}.stage-editor-input{min-height:44px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffffe6;padding:.625rem .875rem}.stage-editor-input--sm{max-width:120px}.stage-editor-input-hint-wrap{display:flex;flex-direction:column;gap:4px}.stage-editor-hint{font-size:.76rem;color:var(--muted);line-height:1.4}.stage-editor-hint--inline{display:inline}.stage-editor-toggle-wrap{display:flex;align-items:center;gap:var(--space-2)}.stage-priority-btns{display:flex;flex-wrap:wrap;gap:6px}.stage-priority-btn{font-size:.8rem;padding:6px 12px;min-height:unset;border-radius:20px;border:1px solid transparent;cursor:pointer;font-weight:500;transition:background .1s,border-color .1s}.stage-priority-btn--lead{background:#dbeafe;color:#1e40af}.stage-priority-btn--bgv{background:#dcfce7;color:#166534}.stage-priority-btn--instrument{background:#fef9c3;color:#854d0e}.stage-priority-btn--monitor{background:#ede9fe;color:#5b21b6}.stage-priority-btn--active.stage-priority-btn--lead{border-color:#1e40af}.stage-priority-btn--active.stage-priority-btn--bgv{border-color:#166534}.stage-priority-btn--active.stage-priority-btn--instrument{border-color:#854d0e}.stage-priority-btn--active.stage-priority-btn--monitor{border-color:#5b21b6}.stage-toggle{width:40px;height:22px;min-height:unset;border-radius:11px;background:var(--line-strong);border:none;cursor:pointer;position:relative;padding:0;flex-shrink:0;transition:background .15s}.stage-toggle:after{content:"";width:16px;height:16px;border-radius:50%;background:#fff;position:absolute;top:3px;left:3px;transition:left .15s;box-shadow:0 1px 3px #0003}.stage-toggle--on{background:var(--accent)}.stage-toggle--on:after{left:21px}.stage-editor-footer{padding:var(--space-3) var(--space-4);border-top:1px solid var(--line);display:flex;justify-content:flex-end}.stage-editor-footer--split{justify-content:space-between;gap:.6rem}.stage-remove-btn,.stage-remove-icon{font-size:.82rem;color:var(--danger);background:var(--danger-soft);border:1px solid rgba(143,67,65,.2);border-radius:999px;padding:.35rem .6rem;min-height:unset;cursor:pointer;display:inline-flex;align-items:center;gap:.4rem}.stage-editor-action{flex:1 1 0;min-height:unset;padding:.42rem .8rem;border-radius:999px;border:1px solid rgba(29,102,111,.16);background:#e8f1f5e6;color:var(--accent-strong);box-shadow:none;font-weight:700}.stage-editor-action--secondary{background:#ffffffeb;color:var(--muted);border-color:var(--line)}.stage-remove-icon{flex:1 1 0;justify-content:center}.stage-save-row{display:flex;justify-content:flex-end;margin-top:.9rem}.stage-summary{background:var(--bg-strong);border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);display:flex;flex-direction:column;gap:4px}.stage-summary-count{font-size:.88rem;font-weight:600;display:flex;align-items:center;flex-wrap:wrap;gap:6px}.stage-summary-pill{font-size:.72rem;padding:2px 8px;border-radius:12px;font-weight:500}.stage-summary-pill--blue{background:#dbeafe;color:#1e40af}.stage-summary-pill--green{background:#dcfce7;color:#166534}.stage-summary-tip{font-size:.78rem}.channel-help-banner{display:flex;gap:var(--space-3);background:#57d4d114;border:1px solid rgba(87,212,209,.25);border-radius:var(--radius-sm);padding:var(--space-4)}.channel-help-icon{font-size:1.5rem;flex-shrink:0;line-height:1.2}.channel-help-body{display:flex;flex-direction:column;gap:4px}.channel-help-body strong{font-size:.95rem}.channel-help-toggle{background:none;border:none;color:var(--accent);font-size:.82rem;font-weight:600;cursor:pointer;padding:0;min-height:unset;width:auto;border-radius:0;text-align:left}.channel-help-toggle:hover{text-decoration:underline}.channel-help-expanded{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-2);border-top:1px solid rgba(87,212,209,.2);padding-top:var(--space-2)}.channel-map-row-v2{display:flex;gap:var(--space-3);align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-3)}.channel-num-badge{width:36px;height:36px;border-radius:10px;background:var(--bg-strong);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:var(--muted);flex-shrink:0;margin-top:4px}.channel-map-row-fields{flex:1;display:flex;flex-direction:column;gap:var(--space-2);min-width:0}.channel-map-row-top{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-2)}@media(max-width:480px){.channel-map-row-top{grid-template-columns:1fr}}.channel-map-instrument-col{position:relative}.channel-map-suggest-btn{position:absolute;top:calc(100% - 36px);right:6px;width:22px;height:22px;min-height:unset;border-radius:50%;border:1px solid var(--line);background:var(--surface);font-size:10px;font-weight:700;color:var(--muted);cursor:pointer;padding:0;z-index:2}.channel-map-suggest-btn:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.channel-map-suggest-dropdown{position:absolute;top:100%;left:0;right:0;z-index:50;background:#fff;border:1px solid var(--line-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow-soft);display:flex;flex-direction:column;max-height:220px;overflow-y:auto}.channel-map-suggest-option{padding:10px 12px;font-size:.85rem;text-align:left;border:none;background:none;border-radius:0;min-height:44px;cursor:pointer;color:var(--ink);width:100%}.channel-map-suggest-option:hover{background:var(--bg-strong)}.channel-map-row-bottom{display:flex;gap:var(--space-3);align-items:flex-start;flex-wrap:wrap}.channel-map-mic-field{flex:1;min-width:140px;display:flex;flex-direction:column;gap:4px}.channel-map-mic-label{font-size:.78rem;font-weight:500;color:var(--muted)}.channel-map-optional{font-weight:400;opacity:.8}.channel-map-mic-input{min-height:40px;padding:.5rem .75rem;font-size:.88rem}.channel-map-phantom-field{display:flex;flex-direction:column;gap:4px;flex-shrink:0}.channel-map-phantom-row{display:flex;align-items:center;gap:8px;min-height:40px}.channel-map-phantom-on{font-size:.75rem;font-weight:600;color:#1d4ed8;background:#dbeafe;padding:2px 7px;border-radius:10px}.channel-map-phantom-off{font-size:.75rem;color:var(--muted)}.channel-phantom-explainer{border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);background:var(--surface)}.channel-phantom-explainer summary{font-size:.85rem;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;min-height:unset;padding:0;background:none;border:none;color:var(--muted);width:auto;border-radius:0}.channel-phantom-body{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-3)}.channel-map-summary{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;padding:var(--space-3) var(--space-4);background:var(--success-soft);border-radius:var(--radius-sm)}.channel-map-summary-count{font-size:.85rem;font-weight:600;color:var(--success)}.channel-map-summary-pill{font-size:.72rem;padding:2px 8px;border-radius:12px;background:#dbeafe;color:#1e40af;font-weight:500}.channel-map-input{min-height:44px;padding:.625rem .875rem}.prep-stage-accordion{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);overflow:visible}.prep-stage-summary{display:flex;flex-direction:column;gap:2px;padding:var(--space-3) var(--space-4);cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;min-height:unset;background:none;border:none;width:100%;border-radius:0}.prep-stage-summary::-webkit-details-marker{display:none}.prep-stage-summary:before{content:"▶";position:absolute;right:var(--space-4);font-size:.65rem;color:var(--muted);transition:transform .15s}details[open] .prep-stage-summary:before{transform:rotate(90deg)}.prep-stage-accordion{position:relative}.prep-stage-summary-label{font-size:.88rem;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:var(--space-2)}.prep-stage-badge{font-size:.72rem;padding:2px 8px;border-radius:12px;background:var(--success-soft);color:var(--success);font-weight:500}.prep-stage-badge--empty{background:var(--bg-strong);color:var(--muted)}.prep-stage-summary-hint{font-size:.76rem;color:var(--muted);line-height:1.35}.prep-stage-body{padding:0 var(--space-3) var(--space-3);border-top:1px solid var(--line)}.prep-stage-body .card{border:none;box-shadow:none;padding:0;background:transparent}.stage-canvas-outer{display:flex;gap:var(--space-2);align-items:stretch}.stage-zone-labels{display:flex;flex-direction:column;justify-content:space-around;padding:28px 0 20px;gap:0;flex-shrink:0;width:36px}.stage-zone-label{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:600;writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;flex:1;display:flex;align-items:center;justify-content:center}.stage-zone-label--rear,.stage-zone-label--mid{color:#94a3b8}.stage-zone-label--front{color:var(--muted)}.stage-zone-label--floor{color:var(--accent);font-weight:700}.stage-canvas-wrap{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.stage-canvas{position:relative;height:520px;background:linear-gradient(180deg,#121f5a0a,#57d4d10f 60%,#57d4d124 65%,#57d4d117);border:1.5px dashed var(--line-strong);border-radius:var(--radius-sm);overflow:hidden;touch-action:none;cursor:crosshair}.stage-platform{position:absolute;top:0;border-radius:18px 18px 0 0;background:linear-gradient(180deg,#121f5a17,#121f5a0a);border:1px solid rgba(18,31,90,.1);pointer-events:none}.stage-wall{position:absolute;background:#121f5a61;pointer-events:none;z-index:3}.stage-wall--top{top:0;height:6px}.stage-wall--left,.stage-wall--right{top:0;width:6px}.stage-wall--left,.stage-wall--right{transform:translate(-3px)}@media(max-width:480px){.stage-canvas{height:440px}}.stage-divider{position:absolute;top:65%;left:0;right:0;height:2px;background:repeating-linear-gradient(to right,var(--accent) 0,var(--accent) 8px,transparent 8px,transparent 16px);opacity:.5;z-index:2;pointer-events:none}.stage-divider-label{position:absolute;right:8px;top:4px;font-size:9px;color:var(--accent);font-weight:600;text-transform:uppercase;letter-spacing:.06em;background:#ffffffd9;padding:1px 5px;border-radius:4px;white-space:nowrap}.stage-el{z-index:10}.stage-el--dragging,.stage-el--selected{z-index:20}.stage-empty-hint{position:absolute;top:30%;left:50%;transform:translate(-50%,-50%);color:var(--muted);font-size:.88rem;pointer-events:none;text-align:center;padding:1rem;max-width:200px}.settings-stage-section{padding-top:var(--space-2);margin-top:0}.settings-stage-section h4{font-weight:600;margin-bottom:var(--space-3)}.settings-stage-save-row{display:flex;justify-content:flex-end;margin-top:var(--space-3)}.settings-stage-save-row .button{width:auto}@media(max-width:720px){.stage-editor-fields--compact{grid-template-columns:1fr}.stage-wall-row,.stage-dims-label-row{align-items:flex-start}}
