:root{--cappy-navy: #08295c;--cappy-navy-deep: #061f45;--cappy-teal: #20b8b3;--cappy-teal-deep: #147f7c;--cappy-coral: #ff7b6f;--cappy-coral-strong: #e86157;--cappy-coral-soft: #fff1ee;--cappy-gold: #f6b84f;--cappy-gold-strong: #eaa331;--cappy-gold-soft: #fff5df;--cappy-mint-soft: #eef9f7;--cappy-surface: #fbfdff;--theme-accent: #20b8b3;--theme-accent-strong: #1a9f9b;--theme-accent-soft: #eef9f7;--theme-accent-soft-border: #cde8e4;--theme-accent-soft-text: #061f45;--theme-accent-contrast: #061f45;--theme-accent-shadow: rgba(32, 184, 179, .2);--theme-surface: #e6f8f7;--theme-cta-bg: #5ed6c9;--theme-cta-hover-bg: #49cfbf;--theme-cta-active-bg: #3ec4b4;--theme-cta-border: rgba(20, 127, 124, .35);--theme-cta-hover-border: #20b8b3;--theme-cta-text: #061f45;--theme-cta-shadow: rgba(32, 184, 179, .16);--theme-quiet-bg: #eef9f7;--theme-quiet-hover-bg: #e3f5f2;--theme-quiet-border: #cde8e4;--theme-quiet-hover-border: #20b8b3;--theme-quiet-text: #061f45;--theme-quiet-shadow: rgba(32, 184, 179, .08);--theme-focus-ring: #0a5c59;--theme-label-text: #061f45;--theme-selection-indicator: #0a5c59;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#08254d;background:#f8fcff;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:#f8fcff;overflow-x:hidden}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden;background:#f8fcff}#root{min-height:100vh;background:#f8fcff}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid var(--cappy-navy);outline-offset:3px}.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}.app-shell{position:relative;min-height:100vh;display:grid;place-items:center;overflow:hidden;padding:20px;background:radial-gradient(circle at 83% 9%,rgba(76,174,246,.17),transparent 27%),radial-gradient(circle at 17% 86%,rgba(51,207,192,.1),transparent 26%),linear-gradient(145deg,#fbfdff,#f1f9ff,#e8f7fc)}.app-shell:before,.app-shell:after{content:"";position:absolute;pointer-events:none;border-radius:50%}.app-shell:before{width:980px;height:420px;left:-340px;bottom:-210px;border:52px solid rgba(77,168,241,.08);transform:rotate(-12deg)}.app-shell:after{width:760px;height:320px;right:-310px;top:-160px;border:42px solid rgba(43,198,190,.055);transform:rotate(16deg)}.app-frame{position:relative;z-index:1;width:min(100%,460px);height:min(880px,calc(100vh - 40px));min-height:680px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(59,133,183,.14);border-radius:34px;background:radial-gradient(circle at 50% 27%,rgba(119,210,250,.08),transparent 26%),#fffffff0;box-shadow:0 28px 80px #255f8c24,0 2px 10px #255f8c0d;backdrop-filter:blur(16px)}.app-header{flex:0 0 auto;display:flex;justify-content:center;align-items:center;padding:27px 24px 7px}.section-title-header{padding-top:31px;padding-bottom:10px}.section-title-header h1{margin:0;color:var(--cappy-navy);font-size:1.55rem;font-weight:850;letter-spacing:-.035em;line-height:1}.brand-wordmark{display:inline-flex;align-items:center;gap:6px;color:var(--cappy-navy);font-size:2rem;font-weight:850;letter-spacing:-.055em;line-height:1}.brand-cappy{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;margin-inline-start:0}.brand-cappy-image{width:48px;height:48px;display:block;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(16,102,119,.09))}.language-switcher-wrapper{flex:0 0 auto;width:fit-content;max-width:100%;display:inline-flex;align-items:center;justify-content:center;margin-inline:auto}.home-language-switcher{margin-top:14px;margin-bottom:2px}.language-switcher-trigger{min-height:34px;padding:5px 12px;border-radius:17px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(68,145,190,.18);background:#f6fbfef2;box-shadow:0 4px 14px #1e5b850f;color:var(--cappy-navy, #071e43);font-size:.76rem;font-weight:750;line-height:1;cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease}.language-switcher-trigger:hover{transform:translateY(-1px);border-color:#4491be59;box-shadow:0 6px 18px #1e5b8517;background:#fff}.language-switcher-trigger:focus-visible{outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px}.language-name{font-weight:780;color:var(--cappy-navy, #071e43)}.language-chevron{color:#58738d;transition:transform .18s ease}.language-chevron.open{transform:rotate(180deg)}.language-modal-backdrop{position:fixed;inset:0;z-index:1000;background:#071e436b;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px;animation:languageModalFade .16s ease forwards}.language-modal{width:100%;max-width:320px;background:#fff;border-radius:22px;border:1px solid rgba(68,145,190,.22);box-shadow:0 24px 60px #071e4333;padding:16px;display:flex;flex-direction:column;gap:12px;animation:languageModalPop .18s cubic-bezier(.16,1,.3,1) forwards}@keyframes languageModalFade{0%{opacity:0}to{opacity:1}}@keyframes languageModalPop{0%{opacity:0;transform:scale(.94) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}.language-modal-header{position:relative;display:flex;align-items:center;justify-content:center;padding:4px 34px 12px;border-bottom:1px solid rgba(68,145,190,.12)}.language-modal-title{font-size:.94rem;font-weight:800;color:var(--cappy-navy-deep, #061f45);text-transform:none;letter-spacing:-.01em;text-align:center}.language-modal-close{position:absolute;right:0;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:0;background:#f0f6fa;color:#58738d;font-size:.82rem;cursor:pointer;display:grid;place-items:center;transition:background .15s ease,color .15s ease}.language-modal-close:hover{background:#e2eef7;color:var(--cappy-navy, #071e43)}.language-modal-options{display:flex;flex-direction:column;gap:8px}.language-modal-option{min-height:50px;width:100%;padding:11px 15px;border-radius:14px;border:1px solid rgba(68,145,190,.14);background:#f9fcfe;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:.93rem;font-weight:700;color:#173e67;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.language-modal-option:hover{background:#f0f7fd;border-color:#4491be4d;transform:translateY(-1px)}.language-modal-option.active{background:var(--theme-accent-soft, #eaf5fc);border-color:var(--theme-accent, #247fcf);color:var(--cappy-navy-deep, #071e43);box-shadow:0 4px 14px var(--theme-accent-shadow, rgba(36, 127, 207, .12))}.language-modal-option:focus-visible{outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px}.language-modal-option-left{display:flex;align-items:center;gap:12px}.language-modal-option-name{font-weight:750;text-align:left}.language-modal-check{color:var(--theme-focus-ring, #0a5c59);flex-shrink:0}.language-flag{font-size:1.05rem;line-height:1}.onboarding-frame{justify-content:stretch}.onboarding-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;padding:20px 27px 24px;scrollbar-width:none}.onboarding-content::-webkit-scrollbar{display:none}.onboarding-language-switcher{margin-bottom:0}.onboarding-stage{flex:1 1 auto;min-height:min-content;display:flex;flex-direction:column;justify-content:center;gap:22px;padding:24px 0 8px}.onboarding-main{flex:0 0 auto;min-height:0;display:flex;flex-direction:column;padding:0}.onboarding-hero{display:grid;justify-items:center;text-align:center}.onboarding-cappy{width:112px;height:112px;object-fit:contain;margin-bottom:8px;filter:drop-shadow(0 6px 8px rgba(8,41,92,.08));animation:cappy-arrive .24s cubic-bezier(.22,1,.36,1) both}.onboarding-hero .eyebrow{margin:0 0 14px}.onboarding-hero h1{max-width:350px;margin:0;color:#071e43;font-size:clamp(1.85rem,6vw,2.2rem);line-height:1.04;letter-spacing:-.045em}.onboarding-title-line{display:block}.onboarding-body{max-width:350px;margin:12px auto 0;color:#607b94;font-size:.91rem;line-height:1.5}.onboarding-points{display:grid;gap:12px;margin-top:22px}.onboarding-point{min-height:40px;display:flex;align-items:center;gap:12px;padding:2px 4px;color:#315873;font-size:.82rem;font-weight:600;line-height:1.45}.onboarding-point-icon{width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;border-radius:50%;color:var(--cappy-teal-deep);background:var(--cappy-mint-soft)}.onboarding-actions{flex:0 0 auto;padding-top:0}.onboarding-continue{position:relative;overflow:hidden;width:100%;min-height:54px;border:1.5px solid var(--theme-cta-border, rgba(20, 127, 124, .35));border-radius:18px;color:var(--theme-cta-text, #061f45);background:var(--theme-cta-bg, #5ed6c9);box-shadow:0 8px 22px var(--theme-cta-shadow, rgba(32, 184, 179, .16));font-weight:850;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .13s ease,box-shadow .13s ease}.onboarding-continue:hover{background:var(--theme-cta-hover-bg, #49cfbf);border-color:var(--theme-cta-hover-border, #20b8b3);box-shadow:0 10px 26px var(--theme-cta-shadow, rgba(32, 184, 179, .2));transform:translateY(-1px)}.onboarding-continue:focus-visible:not(:disabled){outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px}.onboarding-continue:disabled:focus-visible{outline:none}.onboarding-legal{margin:11px 2px 0;color:#8191a0;text-align:center;font-size:.66rem;line-height:1.45}.onboarding-legal a{display:inline-block;color:#247fcf;font-weight:750;text-underline-offset:2px;white-space:nowrap}.screen-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:0 28px 24px}.screen-content-home{overflow-y:auto;padding-top:6px}.screen-content,.app-header,.onboarding-stage{transition:opacity 145ms ease,transform 145ms ease}html.locale-switching .screen-content,html.locale-switching .app-header,html.locale-switching .onboarding-stage{opacity:.22;transform:translateY(2px)}.screen-content>.home-screen,.screen-content>.result-screen,.screen-content>.info-screen,.screen-content>.history-screen,.screen-content>.settings-screen{animation:section-enter .24s ease-out}::view-transition-old(root){animation:locale-fade-out 115ms ease both}::view-transition-new(root){animation:locale-fade-in .18s ease both}.screen-content::-webkit-scrollbar{display:none}.home-screen,.result-screen,.info-screen,.history-screen,.settings-screen{display:flex;flex-direction:column}.result-screen,.info-screen,.history-screen,.settings-screen{min-height:100%}.home-screen{min-height:auto;padding-bottom:6px}.home-screen:not(.composer-active){min-height:100%;justify-content:center;padding:0}.home-brand-block{display:grid;justify-items:center;gap:9px;margin:0 auto 2px;text-align:center}.home-brand-block .brand-wordmark{font-size:2.04rem}.home-brand-block .eyebrow{margin:0}.home-tagline-line{display:block;text-wrap:balance}.idle-home{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:4px 0}.idle-voice-stage{position:relative;width:min(100%,320px);height:236px;display:grid;place-items:center;margin:-4px auto 0}.idle-voice-stage:before{content:"";position:absolute;width:200px;height:48px;bottom:52px;border-radius:50%;background:radial-gradient(ellipse,var(--companion-bg, #e6f8f7),transparent 72%);pointer-events:none}.idle-voice-stage .voice-orb{z-index:2}.idle-voice-stage .voice-ring,.composer-voice .voice-ring,.idle-voice-stage .mic-button,.composer-voice .mic-button{z-index:1}.idle-guidance{max-width:290px;margin:2px auto 0;color:#70879d;font-size:.84rem;font-weight:600;line-height:1.4}.composer-voice{display:grid;justify-items:center;max-height:170px;margin-bottom:8px;overflow:hidden;text-align:center;transform-origin:top center;transition:max-height .22s cubic-bezier(.22,1,.36,1),margin .22s cubic-bezier(.22,1,.36,1),opacity .16s ease,transform .22s cubic-bezier(.22,1,.36,1)}.home-screen.composer-focused .composer-voice{max-height:0;margin-bottom:0;opacity:0;transform:translateY(-10px) scale(.9);pointer-events:none}.composer-voice .eyebrow{margin-bottom:0}.home-intro{text-align:center}.eyebrow{margin:0 0 8px;color:#6b83a0;font-size:.69rem;font-weight:800;letter-spacing:.105em;text-transform:uppercase}.home-intro h1,.result-heading h1,.info-screen h1,.settings-screen h1{margin:0;color:#071e43;letter-spacing:-.045em}.home-intro h1{max-width:340px;margin-inline:auto;font-size:clamp(1.85rem,6.5vw,2.15rem);line-height:1.04}.home-intro>p:last-child{max-width:350px;margin:10px auto 0;color:#617993;font-size:.93rem;line-height:1.48}.voice-hero{display:grid;justify-items:center;margin:14px 0 10px}.voice-orb{position:relative;width:192px;height:192px;display:grid;place-items:center}.voice-ring{position:absolute;border:2px solid var(--companion-accent, var(--cappy-teal));border-radius:50%;pointer-events:none;opacity:0;transition:transform .22s ease,opacity .22s ease}.ring-outer{inset:4px}.mic-button{position:relative;z-index:2;width:168px;height:168px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;color:#fff;background:transparent;cursor:pointer;transition:transform .15s ease,background-color .15s ease,opacity .15s ease}.cappy-mic-image{width:100%;height:100%;max-width:144px;max-height:144px;object-fit:contain;pointer-events:none;user-select:none;transform:translate(-3%);transition:transform .18s ease}.cappy-mic-image[data-companion=cappy][data-style=original]{max-width:140px;max-height:140px;transform:translate(-5%)}.voice-orb.listening .cappy-mic-image,.composer-voice .cappy-mic-image{animation:none}.ask-cappy-label{position:absolute;z-index:3;bottom:0;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:5px 11px;border:0;border-radius:999px;color:var(--cappy-navy);background:transparent;font-size:.9rem;font-weight:850;letter-spacing:.01em}.mic-button:hover:not(:disabled){background:var(--companion-bg, #e6f8f7)}.mic-button:disabled{cursor:not-allowed;opacity:.4;box-shadow:none}.voice-orb.listening .ring-outer{opacity:.85}.voice-orb.listening .mic-button{background:var(--companion-bg, #e6f8f7)}.voice-status{min-height:20px;margin:3px 0 0;color:#4f6f8d;font-size:.84rem;font-weight:750}.voice-text-trigger{-webkit-tap-highlight-color:transparent}button.ask-cappy-label,button.voice-status.voice-text-trigger{cursor:pointer}button.ask-cappy-label:disabled,button.voice-status.voice-text-trigger:disabled{cursor:default;opacity:.55}button.voice-status.voice-text-trigger{border:0;padding:4px 10px;background:transparent;border-radius:999px;min-height:44px}button.voice-status.voice-text-trigger:active:not(:disabled),button.ask-cappy-label:active:not(:disabled){transform:scale(.985)}.home-screen.composer-active .home-intro h1{font-size:1.78rem;line-height:1.05}.home-screen.composer-active .home-intro>p:last-child{max-width:330px;font-size:.86rem;line-height:1.42}.home-screen.composer-active .voice-hero{margin:8px 0 7px}.home-screen.composer-active .voice-orb{width:124px;height:124px}.home-screen.composer-active .mic-button{width:80px;height:80px}.composer-panel{margin:2px 0 14px;animation:composer-in .22s ease-out}.home-screen.composer-focused .composer-panel{margin-top:6px}.home-screen.composer-active:not(.composer-focused){min-height:100%}.home-screen.composer-active:not(.composer-focused) .composer-panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;margin-bottom:10px}.home-screen.composer-active:not(.composer-focused) .composer-panel textarea{flex:1 1 auto;min-height:clamp(190px,29dvh,250px);height:auto}.home-screen.composer-active.checking:not(.composer-focused) .composer-panel textarea{min-height:clamp(155px,23dvh,205px)}.home-screen.composer-active:not(.composer-focused) .home-actions{margin-top:8px}.home-screen.composer-active:not(.composer-focused) .privacy-note{margin-top:12px;margin-bottom:0}.composer-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:7px 2px 0}.composer-guidance{margin:0;color:#7a8ea2;font-size:.7rem;line-height:1.4}.character-count{flex:0 0 auto;color:#8a9daf;font-size:.67rem;font-variant-numeric:tabular-nums}.composer-meta-actions{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px}.composer-clear{min-height:27px;display:inline-flex;align-items:center;gap:4px;border:1px solid #d9e6ee;border-radius:999px;padding:4px 8px;color:#607b94;background:#f8fcfef0;font-size:.65rem;font-weight:800;cursor:pointer;transition:transform .12s ease,border-color .12s ease,color .12s ease,background .12s ease}.composer-clear:hover{border-color:#bfdbe8;color:#275b7c;background:#fff}.composer-clear:active{transform:scale(.97)}textarea{width:100%;min-height:132px;resize:vertical;border:1px solid #d0e0eb;border-radius:18px;padding:15px 16px;outline:none;color:#0c294d;background:#fbfdff;line-height:1.5;transition:border-color .12s ease,box-shadow .12s ease}textarea::placeholder{color:#8a9caf}textarea:focus,textarea:focus-visible{outline:none;border-color:var(--cappy-teal);box-shadow:0 0 0 3px #20b8b333,inset 0 0 0 1px var(--cappy-teal)}textarea:disabled{color:#7e92a6;background:#f2f6f9}.home-actions{display:grid;gap:10px;margin-top:24px}.home-screen:not(.composer-active) .home-actions{margin-top:26px}.home-screen:not(.composer-active) .privacy-note{margin-top:18px;padding-top:0}.check-button,.paste-button,.secondary-button{width:100%;min-height:54px;border-radius:18px;font-weight:800;cursor:pointer;transition:transform .13s ease,box-shadow .13s ease,opacity .13s ease}.check-button{position:relative;overflow:hidden;isolation:isolate;border:1.5px solid var(--theme-cta-border, rgba(20, 127, 124, .35));color:var(--theme-cta-text, #061f45);background:var(--theme-cta-bg, #5ed6c9);box-shadow:0 8px 22px var(--theme-cta-shadow, rgba(32, 184, 179, .16))}.check-button:hover:not(:disabled){background:var(--theme-cta-hover-bg, #49cfbf);border-color:var(--theme-cta-hover-border, #20b8b3);box-shadow:0 10px 26px var(--theme-cta-shadow, rgba(32, 184, 179, .2));transform:translateY(-1px)}.check-button:hover:not(:disabled),.paste-button:hover,.secondary-button:hover{transform:translateY(-1px)}.check-button:active:not(:disabled),.paste-button:active,.secondary-button:active,.consent-accept:active,.voice-stop-button:active,.mic-button:active:not(:disabled),.onboarding-continue:active,.onboarding-explore:active,.settings-companion-action:active,.gallery-apply-button:active{transform:scale(.98)}.check-button:focus-visible:not(:disabled){outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px}.check-button:disabled:focus-visible{outline:none}.nav-button:active{transform:scale(.96)}.check-button:disabled{cursor:not-allowed;background:#e6eef5;color:#4e6479;border:1px solid #d3dfea;box-shadow:none;filter:none;opacity:1}.secondary-button{border:1px solid #d5e4ee;color:#173d69;background:#ffffffeb;box-shadow:0 7px 20px #31668e0d}.paste-button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--theme-accent-soft-border, #cde8e4);background:var(--theme-accent-soft, var(--cappy-mint-soft));color:var(--theme-accent-soft-text, #173d69);box-shadow:0 9px 22px var(--theme-accent-shadow, rgba(34, 126, 130, .07))}.paste-button svg{color:var(--theme-accent, var(--cappy-teal-deep))}.paste-button:hover{background:var(--theme-accent-soft, var(--cappy-mint-soft));border-color:var(--theme-accent, #cde8e4);transform:translateY(-1px)}.privacy-note{margin:14px 6px 0;text-align:center;color:#7b8fa3;font-size:.7rem;font-weight:560;line-height:1.45}.voice-control-bar{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 12px;padding:7px 8px 7px 12px;border:1px solid rgba(36,164,191,.22);border-radius:15px;background:#f0faf8;box-shadow:0 7px 18px #2a7aa40e}.voice-control-state{display:inline-flex;align-items:center;gap:8px;color:#315d78;font-size:.76rem;font-weight:760}.voice-live-dot{width:8px;height:8px;border-radius:50%;background:#22bdb4;box-shadow:0 0 0 5px #22bdb41a;animation:voice-live-pulse 1.8s ease-in-out infinite}.voice-live-dot.stopping{background:#90a2b2;box-shadow:none;animation:none}.voice-stop-button{min-width:66px;min-height:32px;border:1px solid #c9dfe8;border-radius:11px;color:#25577c;background:#fff;font-size:.72rem;font-weight:820;cursor:pointer}.voice-stop-button:disabled{color:#8b9ba8;cursor:default}@keyframes voice-live-pulse{0%,to{transform:scale(.92);opacity:.72}50%{transform:scale(1.08);opacity:1}}.dictation-message,.error-message{margin:0 0 12px;padding:11px 13px;border-radius:14px;font-size:.8rem;line-height:1.45}.dictation-message{border:1px solid #d7e6ef;color:#526f88;background:#f7fbfd}.checking-status{display:flex;align-items:center;gap:11px;margin:0 0 12px;padding:12px 13px;border:1px solid #d8e9f3;border-radius:15px;color:#244e72;background:#f5fbff}.checking-status>span:last-child{display:grid;gap:2px}.checking-status strong{font-size:.78rem}.checking-status small{color:#72899d;font-size:.69rem}.checking-status-delight{overflow:hidden;background:radial-gradient(circle at 12% 45%,rgba(55,204,207,.1),transparent 27%),#f5fbff}.checking-cappy-wrap{position:relative;width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center}.checking-cappy-image{width:42px;height:42px;object-fit:contain}.checking-thought-dots{position:absolute;inset-inline-end:-9px;inset-block-start:1px;display:inline-flex;align-items:center;gap:2px}.checking-thought-dots span{width:4px;height:4px;border-radius:50%;background:var(--cappy-teal);opacity:.25;animation:thought-dot 1.1s ease-in-out infinite}.checking-thought-dots span:nth-child(2){animation-delay:.12s}.checking-thought-dots span:nth-child(3){animation-delay:.24s}.checking-spinner{width:18px;height:18px;flex:0 0 auto;border:2px solid rgba(47,139,211,.18);border-top-color:#2a91df;border-radius:50%;animation:checking-spin .8s linear infinite}.error-message{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #edbc7c;color:#884b08;background:#fff7e8}.error-message>div{display:grid;gap:2px}.error-message strong{font-size:.78rem}.error-message span{color:#89510e;font-size:.72rem}.error-message button{flex:0 0 auto;border:1px solid #b8731c;border-radius:11px;padding:7px 10px;color:#884b08;background:#fff;font-size:.72rem;font-weight:800;cursor:pointer}.consent-layer{position:absolute;inset:0;z-index:30;display:flex;align-items:flex-end;justify-content:center}.consent-backdrop{position:absolute;inset:0;width:100%;border:0;border-radius:inherit;background:#051c3a4f;backdrop-filter:blur(2px);cursor:default}.consent-sheet{position:relative;z-index:1;width:100%;padding:24px 25px max(24px,env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:#fff;box-shadow:0 -22px 60px #0930582e;animation:consent-in .21s ease-out}.consent-mark{width:44px;height:44px;display:grid;place-items:center;margin:0 auto 13px;border-radius:15px;color:var(--cappy-teal-deep);background:var(--cappy-mint-soft);box-shadow:inset 0 0 0 1px #3eabbc1f}.consent-mark svg{width:23px;height:23px}.consent-sheet h2{max-width:330px;margin:0 auto;color:#071e43;text-align:center;font-size:1.55rem;line-height:1.08;letter-spacing:-.035em}.consent-close{position:absolute;inset-block-start:16px;inset-inline-end:17px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;color:#688097;background:#f1f6f9;font-size:1.45rem;line-height:1;cursor:pointer}.consent-intro{max-width:335px;margin:10px auto 17px;color:#5f7891;text-align:center;font-size:.91rem;line-height:1.5}.consent-safety{display:grid;gap:5px;padding:14px 15px;border:1px solid #d7e9f3;border-radius:16px;background:#f4faff}.consent-safety strong{color:#173e67;font-size:.82rem;text-align:center}.consent-safety span{color:#607b94;font-size:.78rem;line-height:1.48}.consent-storage{margin:12px 2px 0;color:#6f8599;font-size:.7rem;line-height:1.45}.consent-legal{margin:12px 2px 16px;color:#74889b;font-size:.72rem;line-height:1.45}.consent-legal a{color:#247fcf;font-weight:750;text-underline-offset:2px}.consent-accept{position:relative;overflow:hidden;isolation:isolate;width:100%;min-height:54px;border:1.5px solid var(--theme-cta-border, rgba(20, 127, 124, .35));border-radius:18px;color:var(--theme-cta-text, #061f45);background:var(--theme-cta-bg, #5ed6c9);box-shadow:0 8px 22px var(--theme-cta-shadow, rgba(32, 184, 179, .16));font-weight:850;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .13s ease,box-shadow .13s ease}.consent-accept:hover{background:var(--theme-cta-hover-bg, #49cfbf);border-color:var(--theme-cta-hover-border, #20b8b3);box-shadow:0 10px 26px var(--theme-cta-shadow, rgba(32, 184, 179, .2));transform:translateY(-1px)}.consent-accept:focus-visible:not(:disabled){outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px}.consent-accept:disabled:focus-visible{outline:none}.legal-shell{height:100dvh;min-height:100vh;overflow-y:auto;overscroll-behavior-y:none;scrollbar-width:none;padding:34px 18px 56px;background:radial-gradient(circle at 86% 7%,rgba(76,174,246,.13),transparent 25%),radial-gradient(circle at 8% 88%,rgba(46,199,191,.07),transparent 26%),linear-gradient(145deg,#fbfdff,#f0f8fe)}.legal-shell::-webkit-scrollbar{display:none}.legal-card{width:min(100%,650px);margin:0 auto;padding:28px;border:1px solid rgba(93,153,194,.18);border-radius:30px;background:#fffffff5;box-shadow:0 22px 60px #255f8c1a}.legal-header{margin-bottom:22px}.legal-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:18px;color:#2a83d3;font-size:.78rem;font-weight:800;text-decoration:none}.legal-back:hover{text-decoration:underline;text-underline-offset:3px}.legal-header .eyebrow{margin-bottom:7px}.legal-card h1{margin:0;color:#071e43;font-size:clamp(1.95rem,5vw,2.25rem);line-height:1.04;letter-spacing:-.045em}.legal-updated{margin:9px 0 0;color:#8193a5;font-size:.73rem}.legal-content{display:grid;gap:12px}.legal-content section{padding:17px 18px;border:1px solid #dfebf2;border-radius:18px;background:linear-gradient(145deg,#fafdfffa,#f7fbfef0)}.legal-content h2{margin:0 0 7px;color:#173e67;font-size:.93rem}.legal-content p{margin:0;color:#5d768f;font-size:.9rem;line-height:1.58}.legal-return{display:flex;align-items:center;gap:12px;margin-top:20px;padding:13px 14px;border:1px solid #d7e7f0;border-radius:18px;color:inherit;background:#f7fcfb;box-shadow:0 9px 22px #2468970f;text-decoration:none;transition:transform .13s ease,box-shadow .13s ease,border-color .13s ease}.legal-return:hover{transform:translateY(-1px);border-color:#bfdbe9;box-shadow:0 12px 26px #24689717}.legal-return-copy{min-width:0;flex:1;display:grid;gap:2px}.legal-return-copy strong{color:#153e67;font-size:.82rem}.legal-return-copy small{color:#7c91a4;font-size:.68rem}.legal-return-arrow{color:#2b8edc;font-size:1.15rem;font-weight:700}@keyframes checking-spin{to{transform:rotate(360deg)}}@keyframes consent-in{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}.result-screen{gap:13px;padding-top:6px;padding-bottom:30px}.result-heading{padding-bottom:2px;text-align:center}.result-delight{width:fit-content;max-width:100%;display:inline-flex;align-items:center;justify-content:center;gap:7px;margin:0 auto;padding:0;color:#52728d;font-size:.8rem;font-weight:600;line-height:1.45}.result-companion-note{text-align:center;padding:4px 0}.result-delight-avatar{position:relative;width:28px;height:28px;flex:0 0 auto;display:grid;place-items:center}.result-delight-image{width:31px;height:31px;object-fit:contain}.result-heading .risk-badge{margin-inline:auto;margin-bottom:14px}.result-kicker{margin:0 0 6px;color:#6d8399;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.result-heading h1{max-width:340px;margin-inline:auto;font-size:1.95rem;line-height:1.06}.result-summary{max-width:350px;margin:9px auto 0;color:#58728d;font-size:.94rem;line-height:1.46}.risk-badge{width:fit-content;padding:7px 11px;border-radius:999px;font-size:.73rem;font-weight:850}.risk-low{color:#126552;background:#e9f8f3}.risk-medium{color:#735900;background:#fff6d9}.risk-high{color:#84450f;background:#fff0df}.risk-very_high{color:#8d2a2a;background:#ffeaea}.result-legacy-warning{margin:4px 0 2px;padding:13px 15px;border-radius:16px;border:1px solid rgba(217,119,6,.32);background:#fffdf5;color:#78350f;text-align:start}.result-legacy-warning strong{display:block;margin-bottom:5px;color:#92400e;font-size:.84rem;font-weight:800;letter-spacing:-.01em}.result-legacy-warning p{margin:0;color:#78350f;font-size:.8rem;line-height:1.45}.result-section{padding:15px 16px;border:1px solid #dbe8f0;border-radius:18px;background:#f9fcfeeb}.result-section h2{margin:0 0 9px;color:#54708a;font-size:.74rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase}.result-section p,.result-section ul{margin:0;color:#294864;font-size:.9rem;line-height:1.48}.result-section ul{padding-inline-start:20px}.result-section li+li{margin-top:6px}.next-action{border-color:#bee7e4;background:#f1fbfa}.next-action p{color:#1f5360;font-weight:650}.caveat,.privacy-status,.result-reliability{margin:0;color:#6e8397;font-size:.78rem;line-height:1.48}.result-reliability{padding-top:1px;color:#8192a3;font-size:.72rem}.privacy-status{padding:11px 13px;border-radius:13px;background:#eef7fb}.result-screen .secondary-button{margin-top:4px;margin-bottom:2px}.info-screen{align-items:center;justify-content:center;text-align:center;padding:20px 4px 38px}.info-icon{width:66px;height:66px;display:grid;place-items:center;margin-bottom:20px;border-radius:22px;color:#2d88d7;background:#eef8ff}.info-cappy{width:78px;height:70px;display:grid;place-items:center;margin-bottom:14px}.info-cappy-image{width:76px;height:76px;object-fit:contain}.info-screen h1,.settings-screen h1{font-size:2rem;line-height:1.08}.info-screen>p:not(.eyebrow){max-width:330px;margin:13px auto 24px;color:#657e96;line-height:1.55}.info-screen .secondary-button{max-width:280px}.history-empty-start,.history-start{max-width:280px;border:1.5px solid var(--theme-quiet-border, #cde8e4);background:var(--theme-quiet-bg, #eef9f7);color:var(--theme-quiet-text, #061f45);box-shadow:0 6px 18px var(--theme-quiet-shadow, rgba(32, 184, 179, .08))}.history-start{max-width:100%;margin-top:14px}.history-empty-start:hover:not(:disabled),.history-start:hover:not(:disabled){background:var(--theme-quiet-hover-bg, #e3f5f2);border-color:var(--theme-quiet-hover-border, #20b8b3);box-shadow:0 8px 22px var(--theme-quiet-shadow, rgba(32, 184, 179, .12));transform:translateY(-1px)}.history-empty-start:focus-visible:not(:disabled),.history-start:focus-visible:not(:disabled){outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px}.history-empty-start:disabled:focus-visible,.history-start:disabled:focus-visible{outline:none}.history-screen{padding:8px 0 30px}.history-heading{display:grid;justify-items:center;gap:0;margin-bottom:14px;text-align:center}.history-heading h1{margin:0;color:#071e43;font-size:1.72rem;line-height:1.08;letter-spacing:-.04em}.history-heading>div>p:last-child{max-width:280px;margin:7px auto 0;color:#71879c;font-size:.74rem;line-height:1.4}.history-clear{margin-top:10px;border:0;padding:7px 9px;border-radius:11px;color:#6e8397;background:#eef4f7;font-size:.7rem;font-weight:800;cursor:pointer}.history-list{display:grid;gap:10px}.history-card{width:100%;display:grid;gap:8px;padding:13px 14px;border:1px solid #dce8f0;border-radius:18px;color:inherit;background:#fbfdff;box-shadow:0 7px 20px #31668e0b;text-align:start;cursor:pointer}.history-card:hover{border-color:#c9dfec;transform:translateY(-1px)}.history-card-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-card-badges{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.history-legacy-tag{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;border:1px solid rgba(217,119,6,.28);background:#fffbeb;color:#b45309;font-size:.61rem;font-weight:750;letter-spacing:.02em;text-transform:uppercase}.history-card .risk-badge{padding:5px 8px;font-size:.63rem}.history-card time{color:#8a9daf;font-size:.66rem;font-variant-numeric:tabular-nums}.history-preview{overflow:hidden;display:-webkit-box;color:#173e67;font-size:.82rem;font-weight:760;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.history-summary{overflow:hidden;display:-webkit-box;color:#71879c;font-size:.73rem;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.settings-screen{padding-top:8px}.settings-cappy{width:80px;height:80px;display:grid;place-items:center;margin:0 auto}.settings-language-switcher{margin:0 auto 12px}.settings-cappy-image{width:80px;height:80px;object-fit:contain}.early-access-card{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;padding:14px;border:1px solid #dce8f0;border-radius:18px;background:#fbfdff}.early-access-card>div{min-width:0}.early-access-label{margin:0 0 4px;color:var(--cappy-teal-deep);font-size:.66rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase}.early-access-card h2{max-width:270px;margin:0;color:#0a2a56;font-size:.92rem;line-height:1.2;letter-spacing:-.02em}.early-access-note{max-width:290px;margin:4px 0 0;color:#607b94;font-size:.78rem;line-height:1.45}.early-access-badge{flex:0 0 auto;max-width:35%;overflow-wrap:anywhere;padding:5px 9px;border-radius:999px;color:#126858;background:#dcf7f1eb;font-size:.63rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.settings-section-label{margin:1px 3px 6px;color:#71879c;font-size:.66rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase}.settings-list{overflow:hidden;border:1px solid #dce8f0;border-radius:21px;background:#fbfdff}.settings-links{overflow:hidden;margin-top:16px;border:1px solid #dce8f0;border-radius:18px;background:#fbfdff}.settings-links a,.settings-version{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 15px;color:#254d73;font-size:.78rem;font-weight:720;text-decoration:none}.settings-links a+a,.settings-version{border-top:1px solid #e5eef4}.settings-links a:hover{background:#f6fafc}.settings-links a span:last-child{color:#8da0b2;font-size:1.2rem;font-weight:500}.settings-version{color:#71869a;font-weight:650}.settings-version span:last-child{font-variant-numeric:tabular-nums}.settings-row{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px}.settings-row+.settings-row{border-top:1px solid #e5eef4}.settings-row>div{display:grid;gap:3px;min-width:0}.settings-row strong{color:#183d65;font-size:.86rem}.settings-row>div span{color:#607b94;font-size:.78rem;line-height:1.45}.settings-value{flex:0 1 auto;max-width:36%;text-align:end;color:#526f88;font-size:.75rem;line-height:1.4;font-weight:760}.settings-value-positive{color:#168172}.settings-toggle-row{position:relative;cursor:pointer}.settings-toggle-copy{display:grid;gap:3px;min-width:0}.settings-toggle-copy>span{color:#607b94;font-size:.78rem;line-height:1.45}.settings-toggle-input{position:absolute;right:20px;width:1px;height:1px;margin:0;opacity:0}.settings-toggle-track{flex:0 0 auto;width:42px;height:24px;display:flex;align-items:center;padding:3px;border:1px solid #9aafc0;border-radius:999px;background:#dbe5ec;transition:background-color .15s ease,border-color .15s ease}.settings-toggle-track>span{width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #142f493d;transition:transform .15s ease}.settings-toggle-input:checked+.settings-toggle-track{border-color:#158a7e;background:#158a7e}.settings-toggle-input:checked+.settings-toggle-track>span{transform:translate(18px)}.settings-toggle-input:focus-visible+.settings-toggle-track{outline:3px solid #efb13f;outline-offset:3px}@media(prefers-reduced-motion:reduce){.settings-toggle-track,.settings-toggle-track>span{transition:none}}.settings-trust{margin-top:13px;padding:0 4px;display:flex;align-items:center;justify-content:center;gap:11px;color:#59758e;text-align:start}.settings-trust-mark,.legal-return-mark{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border:1px solid rgba(68,166,207,.14);border-radius:14px;background:linear-gradient(145deg,#f3fbff,#eefaf8);box-shadow:0 7px 18px #2472a40f}.settings-trust-shield{color:var(--cappy-teal-deep);background:var(--cappy-mint-soft)}.settings-trust-shield svg{width:22px;height:22px}.legal-return-cappy{width:46px;height:46px;object-fit:contain;transform:translateY(3px)}.settings-trust>span:last-child{display:grid;gap:2px}.settings-trust strong{color:#234c70;font-size:.72rem;line-height:1.25}.settings-trust small{color:#8295a7;font-size:.66rem;line-height:1.3}.bottom-nav{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,1fr);padding:10px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid rgba(72,126,165,.12);background:#fcfefff0;backdrop-filter:blur(16px)}.nav-button{min-height:55px;display:grid;justify-items:center;align-content:center;gap:4px;border:0;border-radius:14px;color:#8798aa;background:transparent;cursor:pointer}.nav-button span{font-size:.68rem;font-weight:760}.nav-button.active{color:var(--cappy-teal-deep)}.nav-button.active svg{animation:nav-settle .22s cubic-bezier(.22,1,.36,1)}.nav-button:focus-visible{outline:none;text-decoration:underline;text-underline-offset:4px}.nav-button:hover:not(.active){color:#5d7892;background:#f5f9fc}@keyframes cappy-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes thought-dot{0%,60%,to{opacity:.22;transform:translateY(0) scale(.85)}30%{opacity:.95;transform:translateY(-2px) scale(1)}}@keyframes nav-settle{0%{transform:translateY(2px) scale(.9)}to{transform:translateY(0) scale(1)}}@keyframes section-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes locale-fade-out{to{opacity:.35}}@keyframes locale-fade-in{0%{opacity:.25}to{opacity:1}}@keyframes composer-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:560px){.app-shell{display:block;min-height:100dvh;padding:0;overflow:visible;background:#f8fcff}.app-shell:before,.app-shell:after{display:none}.app-frame{width:100%;height:100dvh;min-height:100dvh;border:0;border-radius:0;box-shadow:none;background:radial-gradient(circle at 50% 25%,rgba(111,208,246,.08),transparent 26%),#fbfdff}.app-header{padding:calc(env(safe-area-inset-top,0px) + 22px) 22px 15px}.home-language-switcher,.onboarding-language-switcher{margin-top:calc(env(safe-area-inset-top,0px) + 10px)}.home-language-switcher+.app-header{padding-top:10px}.onboarding-content{min-height:100dvh;padding:0 22px max(22px,env(safe-area-inset-bottom))}.onboarding-language-switcher{margin-bottom:0}.onboarding-stage{gap:20px;padding:24px 0 8px}.onboarding-main{padding:0}.onboarding-cappy{width:104px;height:104px}.onboarding-points{margin-top:17px}.home-screen.composer-active:not(.composer-focused){min-height:100%}.home-screen.composer-active:not(.composer-focused) .composer-panel{flex:0 1 auto;margin-bottom:8px}.home-screen.composer-focused .composer-panel{margin-top:4px;margin-bottom:10px}.home-screen.composer-focused .home-actions{margin-top:8px}.home-screen.composer-active:not(.composer-focused) .composer-panel textarea{min-height:clamp(180px,27dvh,230px)}.home-screen.composer-active.checking:not(.composer-focused) .composer-voice{max-height:112px;margin-bottom:2px}.home-screen.composer-active.checking:not(.composer-focused) .voice-orb{width:106px;height:106px}.home-screen.composer-active.checking:not(.composer-focused) .mic-button{width:70px;height:70px}.home-screen.composer-active.checking:not(.composer-focused) .composer-panel textarea{min-height:clamp(145px,21dvh,190px)}.home-screen.composer-active.checking:not(.composer-focused) .checking-status{margin-bottom:7px;padding-block:10px}.home-screen.composer-active.checking:not(.composer-focused) .home-actions{margin-top:4px}.home-screen.composer-active.checking:not(.composer-focused) .privacy-note{margin-top:8px}.screen-content{padding:0 22px 20px;scroll-padding-bottom:96px}.brand-wordmark{font-size:1.85rem}.idle-home{padding-top:15px}.idle-voice-stage{width:min(100%,336px);height:clamp(200px,29dvh,248px)}.home-screen:not(.composer-active) .voice-orb{width:192px;height:192px}.home-screen:not(.composer-active) .mic-button{width:168px;height:168px}.legal-shell{padding:0;background:#f8fcff}.legal-card{width:100%;min-height:100dvh;padding:calc(env(safe-area-inset-top,0px) + 18px) 22px max(40px,env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none}.legal-header{margin-bottom:13px}.legal-back{margin-bottom:16px;font-size:.76rem}.legal-card h1{font-size:1.68rem}.legal-updated{margin-top:7px;font-size:.68rem}.legal-content{gap:0;border-top:1px solid #e3edf3}.legal-content section{padding:15px 0;border:0;border-bottom:1px solid #e3edf3;border-radius:0;background:transparent}.legal-content h2{margin-bottom:5px;font-size:.82rem}.legal-content p{font-size:.8rem;line-height:1.5}.legal-return{margin-top:18px;padding:12px 13px}textarea{resize:none}.home-intro h1{font-size:clamp(1.8rem,8vw,2.05rem)}.home-screen.composer-active .home-intro h1{font-size:1.68rem}.home-intro>p:last-child{font-size:.9rem}.voice-hero{margin-top:12px}.voice-orb{width:190px;height:190px}.mic-button{width:124px;height:124px}}@media(max-height:760px)and (min-width:561px){.app-frame{min-height:0}.app-header{padding-top:23px}.voice-orb{width:155px;height:155px}.mic-button{width:104px;height:104px}}.companion-token{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:2px solid currentColor;box-shadow:0 4px 14px #08295c14;font-weight:850;user-select:none;vertical-align:middle}.companion-token-letter{font-size:1.25em;font-weight:900;line-height:1;letter-spacing:-.02em}.onboarding-companion-preview{display:flex;align-items:center;justify-content:center;gap:10px;margin:6px auto 14px;border:0;padding:0;min-inline-size:0}.onboarding-preview-pill{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 14px 6px 8px;border:1.5px solid rgba(79,157,199,.2);border-radius:999px;background:#ffffffd9;color:#315873;font-size:.82rem;font-weight:750;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;user-select:none;-webkit-tap-highlight-color:transparent}.onboarding-preview-pill:hover{border-color:#20b8b380;background:#fff;transform:translateY(-1px)}.onboarding-preview-pill.active{border-color:var(--cappy-teal);background:var(--companion-bg, var(--cappy-mint-soft));color:var(--cappy-navy-deep)}.onboarding-preview-pill:has(.onboarding-preview-input:focus-visible){outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px;box-shadow:0 0 0 3px #0a5c5933}.onboarding-preview-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.onboarding-preview-input:focus-visible{outline:none}.onboarding-preview-avatar{width:28px;height:28px;border-radius:50%;object-fit:contain}.onboarding-preview-name{line-height:1}.onboarding-explore{width:100%;min-height:46px;margin-top:8px;border:0;border-radius:16px;color:#315873;background:transparent;font-size:.86rem;font-weight:650;cursor:pointer;transition:background-color .16s ease,color .16s ease,transform .12s ease}.onboarding-explore:hover{color:var(--cappy-navy);background:#eef4f8}.settings-companion-card{margin-bottom:16px;padding:18px 16px 14px;border:1px solid var(--theme-accent-soft-border, #dce8f0);border-radius:20px;background:var(--theme-surface, var(--companion-bg, #e6f8f7));display:flex;flex-direction:column;gap:14px}.settings-companion-summary{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;text-align:center;width:100%}.settings-companion-copy{flex:1;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center}.settings-companion-label{margin:0 0 2px;color:var(--theme-label-text, #061f45);font-size:.7rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase;text-align:center}.settings-companion-title{margin:0;color:var(--cappy-navy);font-size:1.05rem;font-weight:800;line-height:1.2;text-align:center}.settings-companion-desc{margin:3px auto 0;color:#607b94;font-size:.8rem;line-height:1.45;text-align:center;max-width:320px}.settings-companion-action{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:8px 12px;border:1px solid rgba(79,157,199,.2);border-radius:12px;background:#fff;color:var(--cappy-navy);font-size:.84rem;font-weight:750;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,transform .12s ease}.settings-companion-action:hover{background:#f8fcff;border-color:var(--theme-accent, rgba(32, 184, 179, .45))}.settings-companion-action:focus-visible{outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px}.settings-companion-action span:last-child{color:#8da0b2;font-size:1.15rem;line-height:1}.gallery-layer{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-end;justify-content:center;padding:0}@media(min-width:540px){.gallery-layer{align-items:center;padding:20px}}.gallery-backdrop{position:absolute;inset:0;border:0;background:#08295c85;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:pointer;animation:gallery-fade-in .24s ease both}.gallery-modal{position:relative;z-index:1;width:min(100%,460px);max-height:calc(100vh - 30px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(79,157,199,.22);border-radius:30px 30px 0 0;background:#fff;box-shadow:0 -16px 50px #08295c33;animation:gallery-slide-up .24s cubic-bezier(.22,1,.36,1) both}@media(min-width:540px){.gallery-modal{max-height:85vh;border-radius:28px;box-shadow:0 24px 60px #08295c3d}}.gallery-header{position:relative;flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:20px 60px 16px;border-bottom:1px solid rgba(79,157,199,.12);background:#fff;text-align:center}.gallery-header-content{text-align:center;width:100%}.gallery-header h2{margin:0;color:var(--cappy-navy);font-size:1.25rem;font-weight:850;letter-spacing:-.025em;text-align:center}.gallery-subtitle{margin:5px auto 0;color:#607b94;font-size:.78rem;line-height:1.35;text-align:center;max-width:320px}.gallery-close{position:absolute;top:12px;right:12px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:#f0f4f8;color:#607b94;font-size:1.4rem;line-height:1;cursor:pointer;transition:background-color .14s ease,color .14s ease}.gallery-close:hover{background:#e2eaf0;color:var(--cappy-navy)}.gallery-scrollable{flex:1 1 auto;min-height:0;overflow-y:auto;padding:16px 20px 20px;display:flex;flex-direction:column;gap:28px;scrollbar-width:none;-ms-overflow-style:none}.gallery-scrollable::-webkit-scrollbar{display:none;width:0;height:0}.gallery-section-intro{margin-bottom:12px;text-align:center;display:flex;flex-direction:column;align-items:center}.gallery-section-title{margin:0;color:var(--cappy-navy);font-size:.96rem;font-weight:850;letter-spacing:-.015em;text-align:center}.gallery-section-desc{margin:4px auto 0;color:#6e8498;font-size:.73rem;line-height:1.35;text-align:center;max-width:320px}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:10px 10px 12px;border:2px solid transparent;border-radius:20px;background:var(--studio-bg, #f4f8fb);text-align:start;cursor:pointer;transition:transform .18s cubic-bezier(.16,1,.3,1),box-shadow .18s ease,border-color .18s ease}.gallery-card:hover{transform:translateY(-1px);box-shadow:0 4px 12px #08295c0f}.gallery-card:active{transform:scale(.98)}.gallery-card.selected{border-color:var(--studio-accent, var(--cappy-teal))}.gallery-card:focus-visible{outline:3px solid var(--theme-focus-ring, #0a5c59);outline-offset:3px}.gallery-card-studio{position:relative;width:100%;aspect-ratio:1;display:grid;place-items:center}.gallery-card-image{width:94%;height:94%;max-width:140px;max-height:140px;object-fit:contain;transform:translate(-3%,-1%);filter:drop-shadow(0 4px 5px rgba(8,41,92,.08))}.gallery-card-cappy[data-style=original] .gallery-card-image{width:98%;height:98%;max-width:140px;max-height:140px;transform:translate(-5%,1%)}.gallery-card-lumi .gallery-card-image{width:96%;height:96%}.gallery-card-pending-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.gallery-card-monogram{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;border:2px solid var(--studio-accent, #6e8498);color:var(--studio-accent, #6e8498);font-size:1.25rem;font-weight:900;background:#fff;box-shadow:0 4px 12px #08295c0f}.gallery-card-pending-pill{padding:3px 8px;border-radius:999px;background:#ffffffe6;color:#71879c;font-size:.62rem;font-weight:750;letter-spacing:.02em}.gallery-card-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 8px;min-width:0;margin-top:6px;padding:0 2px}.gallery-card-names{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}.gallery-card-style-name{color:var(--cappy-navy);font-size:.92rem;font-weight:800;line-height:1.3}.gallery-card-status{min-width:0;max-width:100%}.gallery-status-badge{display:inline-flex;align-items:center;max-width:100%;gap:4px;padding:3px 6px;border-radius:999px;font-size:.68rem;font-weight:800;line-height:1.3;overflow-wrap:anywhere}.gallery-status-badge svg{flex:0 0 auto}.gallery-status-badge.selected{background:#ffffffd1;color:var(--cappy-navy)}.gallery-status-badge.pending{background:#6e84981f;color:#6e8498}.gallery-actions{flex:0 0 auto;padding:14px 20px max(18px,env(safe-area-inset-bottom));border-top:1px solid rgba(79,157,199,.12);background:#fff}.gallery-apply-button{width:100%;min-height:52px;border:1.5px solid var(--theme-cta-border, rgba(20, 127, 124, .35));border-radius:16px;background:var(--theme-cta-bg, #5ed6c9);color:var(--theme-cta-text, #061f45);font-size:.95rem;font-weight:850;box-shadow:0 8px 22px var(--theme-cta-shadow, rgba(32, 184, 179, .16));cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .12s ease}.gallery-apply-button:hover{background:var(--theme-cta-hover-bg, #49cfbf);border-color:var(--theme-cta-hover-border, #20b8b3);box-shadow:0 10px 26px var(--theme-cta-shadow, rgba(32, 184, 179, .2));transform:translateY(-1px)}.gallery-apply-button:focus-visible:not(:disabled){outline:2px solid var(--theme-focus-ring, #0a5c59);outline-offset:2px}.gallery-apply-button:disabled:focus-visible{outline:none}@keyframes gallery-fade-in{0%{opacity:0}to{opacity:1}}@keyframes gallery-slide-up{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}.mic-button,.voice-orb.listening .mic-button,.voice-ring,.voice-live-dot,.idle-voice-stage:before,.checking-spinner,.onboarding-cappy,.cappy-mic-image,.checking-cappy-image,.checking-thought-dots span,.result-delight,.nav-button.active svg,.gallery-backdrop,.gallery-modal,.gallery-card,.onboarding-preview-pill{transform:none!important;animation:none!important}}
