@font-face{font-family:Unbounded;src:url('/assets/fonts/unbounded-bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
/* Shared mobile layout contract: typography, spacing, safe areas and action rows. */
:root{--space-1:8px;--space-2:16px;--space-3:24px;--space-4:32px;--ink:#202a30;--muted:#59696e;--heading:'Unbounded',system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}body{font-size:16px;line-height:1.55}h1,h2,h3,.card h2,dialog h2{font-family:var(--heading);font-weight:700;line-height:1.35;letter-spacing:-.025em;overflow-wrap:anywhere}h1,#today #greeting{font-family:var(--heading);font-weight:700;font-size:clamp(24px,5vw,32px)}h2,.card h2,dialog h2{font-size:clamp(19px,4.5vw,24px);margin:0 0 16px}h3{font-size:17px;margin:0 0 12px}p{margin:0 0 16px;overflow-wrap:anywhere}small,.footnote,.muted{font-size:13px;line-height:1.5;color:var(--muted)}.eyebrow{font-family:system-ui,sans-serif;font-size:11px;letter-spacing:.08em;margin-bottom:8px}.shell{padding:0 16px calc(144px + env(safe-area-inset-bottom));max-width:1024px}main,.panel,.card,.note,.task>div,form,label{min-width:0}.panel>.card,.panel>.grid{margin-bottom:24px}.card{padding:24px;border-radius:24px}.note,.pearl-note,.proposal{padding:20px;margin:16px 0;border-radius:20px}.note p,.message .answer,.capture-history p{white-space:pre-wrap}.note h3{margin:0 0 12px}.note small{display:block;margin:12px 0}.note-image{mask-image:none;border-radius:14px;object-fit:cover}.pearl-note .note-image{height:190px;margin-bottom:16px}
button,.primary,.text-button{min-height:44px;max-width:100%;padding:11px 16px;font:600 14px/1.4 Arial,system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;vertical-align:middle;margin:0;flex-shrink:0}.actions,.note-actions,.record-controls,.framework-navigation{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}.action-symbol{display:inline-block;margin-right:8px;font-size:18px}.pearl-note>button{margin:12px 8px 0 0}.note-actions button{flex:1 1 120px}.card>button+button{margin-top:8px}.card>button{margin-bottom:8px}.task{display:flex;gap:16px;padding:18px 0;align-items:flex-start}.task>button{width:44px;min-width:44px;padding:10px}.task p{margin-bottom:12px}.task small{display:block;margin-top:10px}form{display:flex;flex-direction:column;gap:16px}form label{display:flex;flex-direction:column;gap:8px;margin:0;font-size:14px;color:var(--muted)}input,textarea,select{width:100%;max-width:100%;min-width:0;font:400 16px/1.5 Arial,system-ui,sans-serif;padding:12px 14px;margin:0;border:1px solid #d8e2e4;border-radius:14px}textarea{min-height:120px;resize:vertical}input[type=checkbox],input[type=radio]{width:22px;height:22px;min-height:22px;flex:none}label:has(>input[type=checkbox]){flex-direction:row;align-items:center}.inline{flex-wrap:wrap;gap:10px}.inline>input:not([type=checkbox]),.inline>select{flex:1 1 160px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}.grid{gap:24px}.card>div:empty{display:none}
dialog{width:min(640px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:24px;margin:auto;border-radius:24px;overflow-y:auto;overscroll-behavior:contain;scroll-padding:24px}dialog h2{margin-top:12px;margin-bottom:24px}dialog form>button{width:100%}dialog .sheet-dismiss{margin-top:8px}dialog audio{display:block;width:100%;max-width:100%}dialog input[type=file]{padding:12px;font-size:14px}dialog input::file-selector-button{border:0;border-radius:8px;padding:8px;max-width:100%;white-space:normal;margin-right:8px}.capture-hint{padding:16px;background:#edf4f4;border-radius:16px}.capture-history{padding-top:16px;margin-top:16px;border-top:1px solid #dbe4e5}.capture-status,.image-status{font-size:14px;color:#476570}.capture-form .actions{margin:0}.capture-form details p{margin:12px 0}.capture-form textarea{min-height:180px}.sheet-handle{flex:none}.header-right{gap:12px;align-items:center}.header-right #connectionState{font-size:11px}.pearl-settings{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:10px}.pearl-settings .line-icon{display:block;width:24px;height:24px}.orbit-next{grid-template-columns:minmax(0,1fr) 44px;padding:22px;gap:10px}.orbit-next:before{display:none}.orbit-next .eyebrow{grid-column:1;grid-row:1;font-size:13px;margin:0}.orbit-next h2{grid-column:1;grid-row:2;font-size:18px;margin:0}.orbit-next>p:not(.eyebrow){grid-column:1;grid-row:3;font-size:13px;white-space:normal}.orbit-next button{grid-column:2;grid-row:2;min-height:44px;min-width:44px}.pearl-emotions,.pearl-shades{gap:8px}.pearl-shades{padding:16px 0;margin:8px 0;border-top:1px solid #e1e8e6}.pearl-selected-list{padding:8px 0 16px}.pearl-emotions button,.pearl-shades button{min-height:44px}.bottom-nav{height:94px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.bottom-nav>button{min-width:0;font-size:11px;overflow-wrap:normal}.pearl-dock #globalVoice{max-width:none}.pearl-dialog-toggle{min-height:44px}.stable-portrait{display:block;width:100%;height:100%;object-fit:contain}.avatar-view{cursor:default}#profile .profile-intro .avatar-stage{height:310px}#profile .profile-intro .avatar-caption{bottom:8px}#states p{padding:16px 0;border-bottom:1px solid #e1e8e6}summary{min-height:44px;padding:10px 0;line-height:1.5}.support-result small{display:block}.support-result strong{display:block;margin:8px 0}.focus-card .section-title{display:block}.pearl-quick{flex-direction:row}#personalFramework>button{display:block;width:100%;margin:12px 0}#personalFramework>.actions{margin:16px 0}
@media(min-width:700px){#notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}#notes>.note{margin:0}}
@media(max-width:380px){.shell{padding-left:12px;padding-right:12px}.card{padding:18px}.note{padding:16px}dialog{padding:20px}.header-right #connectionState{max-width:90px}.bottom-nav>button{font-size:10px}.note-actions button{flex-basis:100px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Revision: readable note summaries, explicit dismissal and keyboard-safe navigation. */
.pearl-note h3{font-size:16px;line-height:1.45;margin-bottom:12px}.pearl-note p{font-size:15px;line-height:1.65}.focus-card .section-title>.chip,.focus-card .section-title>.eyebrow{display:none!important}.focus-card .section-title{margin-bottom:18px}.sheet-top{position:sticky;top:-24px;z-index:4;display:flex;justify-content:flex-end;background:#fafbf8;margin:-24px -24px 0;padding:8px 12px;border-radius:24px 24px 0 0}.sheet-close{width:44px;height:44px;font-size:26px;padding:0;line-height:1}.sheet-top+h2{margin-top:4px}dialog h2:focus{outline:none}dialog .dialog-error{margin:0;scroll-margin-top:64px}.pearl-settings svg{width:24px;height:24px}.keyboard-open .bottom-nav,.keyboard-open .pearl-dialog-toggle{display:none!important}.keyboard-open .shell{padding-bottom:24px}.capture-status:empty{display:none}.capture-form details{padding:0}.capture-form details>summary{font-size:14px}.capture-form textarea{min-height:140px}.capture-form .capture-hint{font-size:14px;line-height:1.6;margin:0}.capture-form{gap:18px}
@media(max-width:380px){.sheet-top{top:-20px;margin:-20px -20px 0}}

.focus-card .section-title>.badge{display:none!important}.focus-card .section-title{display:none}

dialog::before{display:none!important}

/* Voice playback remains visible when settings and conversation panels are hidden. */
.speech-player{position:fixed;z-index:1000;bottom:calc(100px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 24px));padding:16px;border:1px solid #d8e3e4;border-radius:20px;background:#fffefa;box-shadow:0 12px 45px #18353b30;display:grid;gap:10px}.speech-player p{margin:0;font-size:14px;line-height:1.5}.speech-player audio{display:block;width:100%;min-width:0}.speech-player button{min-height:44px}.helper-voice{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px;padding:20px 0;border-bottom:1px solid #dce5e3}.helper-voice h3,.helper-voice p{margin:0}.helper-voice label{display:grid;gap:8px}.voice-settings-status:empty{display:none}.pearl-note{min-width:0;overflow-wrap:anywhere}.pearl-note>.note-actions{display:flex;flex-wrap:wrap;gap:8px}.pearl-note>.note-actions button{flex:1 1 110px;min-height:44px;margin:0}.pearl-note .image-status{padding:12px 0;font-size:13px}.pearl-note .note-image{margin-bottom:16px}.capture-form audio{width:100%;min-width:0}

.panel h1:focus,.panel h2:focus{outline:none}
