:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#17202b;background:#fff;--green:#08a948;--bright:#16c563;--line:#edf0ee;--muted:#778078;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{min-height:44px;border:0;background:transparent;color:inherit;cursor:pointer;padding:10px 12px;border-radius:9px;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #9cdfb6;outline-offset:2px}#app{max-width:440px;margin:auto;min-height:100dvh;background:#fff;padding:env(safe-area-inset-top) 22px 100px}.app-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px 0 14px}h1{font-size:20px;font-weight:650;letter-spacing:-.65px;margin:0}h2{font-size:18px;letter-spacing:-.35px;margin:0}h3{font-size:15px;font-weight:650;letter-spacing:-.1px}p{line-height:1.55}.icon-button{position:relative;padding:10px}.icon-button svg,nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notification-dot{position:absolute;right:0;top:2px;min-width:15px;height:15px;border-radius:10px;background:var(--green);color:white;font-size:9px;display:grid;place-items:center;padding:1px 3px}.selector{border:1px solid #e1e6e2;width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:14px;min-height:44px;padding:10px 13px}.selector span:last-child{color:#69736b}#visual{padding:22px 0 16px;display:flex;flex-direction:column;align-items:center;gap:12px}.pending-count{font-size:21px;letter-spacing:-.6px;font-weight:600}.toolbar{display:flex;gap:4px;align-items:center;border-bottom:1px solid var(--line)}.toolbar button{color:#808782;font-size:12px;padding:9px 10px;border-radius:0;min-height:38px}.toolbar button[aria-pressed=true]{color:#078b3d;border-bottom:2px solid var(--green);font-weight:600}.data-line{display:flex;align-items:center;justify-content:space-between;min-height:32px;margin:2px 0 3px}.data-line p{font-size:10px;color:#8a928d;margin:0}.data-line p.late{color:#b45309;font-weight:600}.data-line button{font-size:16px;color:#808983;min-height:32px;padding:3px 10px}.row{border-bottom:1px solid var(--line);overflow:hidden;position:relative}.swipebg{position:absolute;inset:0;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600}.swipe-resolve,.swipe-detail{width:50%;height:100%;display:flex;align-items:center;padding:12px}.swipe-resolve{background:var(--bright);color:#fff}.swipe-detail{background:#edf9f1;color:#087d36;justify-content:flex-end}.rowmain{position:relative;background:white;touch-action:pan-y;transition:transform .2s ease}.rowmain.dragging{transition:none}.rowtitle{display:flex;align-items:center;width:100%;gap:10px;text-align:left;border-radius:0;padding:13px 0;min-height:54px}.rowtitle .text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;flex:1;min-width:0;letter-spacing:-.16px}.text strong{font-weight:550}.chevron{font-size:15px;color:#a0aaa4;flex:0 0 12px}.dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%}.dot.rojo{background:#f24048}.dot.ambar{background:#ffba18}.dot.verde{background:#15bd5a}.expanded{padding:0 0 17px 19px;animation:reveal .2s ease}.expanded p{font-size:12px;margin:8px 0;line-height:1.6}.row-meta{display:flex;gap:8px;align-items:center}.priority,.status{display:inline-flex;font-size:10px;font-weight:600;border-radius:6px;padding:5px 8px;background:#f2f5f3;color:#607367;line-height:1.2}.priority.rojo{background:#fff0f0;color:#ca343e}.priority.ambar{background:#fff8e8;color:#98690b}.priority.verde{background:#edf9f1;color:#16804c}.status.review{background:#eef3f9;color:#496680}.status.active{background:#fff7e7;color:#906300}.status.resolved{background:#edf9f1;color:#087f36}.muted,.hint{font-size:12px;color:var(--muted)}.next-action{color:#3a4840}.actions{display:flex;gap:10px;margin-top:15px}.actions button{flex:1;font-size:13px}.primary{background:var(--green);color:#fff;border:1px solid var(--green);box-shadow:0 2px 0 #068638;transition:transform .12s,box-shadow .12s}.primary:active{transform:translateY(1px);box-shadow:none}.secondary{border:1px solid #b7dfc5;color:#087d39;background:#fff}.full{width:100%;margin-top:12px}.empty-state{padding:30px 5px;text-align:center;color:#77827a;font-size:14px}.hint{text-align:center;margin:24px 0 18px;font-size:10px;color:#919b94}footer{text-align:center;font-size:10px;color:#8a948d;margin:24px 0}footer span{color:#a9b0ab}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,440px);background:#fffffff5;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:8px 10px max(8px,env(safe-area-inset-bottom));z-index:3;backdrop-filter:blur(10px)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;min-width:95px;color:#8a918d}.bottom-nav button.selected{color:var(--green)}.bottom-nav .selected svg{fill:#18bd5920}dialog{border:0;border-radius:20px 20px 0 0;margin:auto auto 0;width:min(100%,440px);max-height:92dvh;padding:0 22px 24px;box-shadow:0 -8px 50px #163d231a;overscroll-behavior:contain}dialog::backdrop{background:#13291d45;backdrop-filter:blur(2px)}dialog[open]{animation:reveal .23s ease}.sheet-header{display:flex;align-items:center;gap:8px;position:sticky;top:0;background:white;z-index:2;padding:15px 0;border-bottom:1px solid var(--line);margin-bottom:18px}.sheet-header h2{flex:1}.sheet-header button{font-size:20px;color:#68756b;padding:8px;min-width:36px}#sheetBody{padding-bottom:env(safe-area-inset-bottom)}.detail-project{font-size:20px;font-weight:650;margin:10px 0 3px}.detail-section{border-bottom:1px solid var(--line);padding:16px 0}.detail-section p{font-size:13px}.detail-section h3{margin:8px 0 12px}.detail-section summary{font-weight:550;font-size:14px}.instruction,.result-note{padding:13px;background:#f7f9f8;border-radius:10px}.action-row{display:flex;align-items:center;width:100%;min-height:48px;text-decoration:none;text-align:left;color:#08813b;font-size:14px;padding:12px 0}.action-row:after{content:'›';margin-left:auto;color:#8c9890;font-size:22px}.history-entry{border-left:1px solid #dce7df;padding:4px 0 17px 14px;font-size:12px}.history-entry strong{font-weight:550}.history-entry small{display:block;color:#8b948e;font-size:10px;margin-top:5px}.history-entry p{font-size:12px}.field{display:block;margin:20px 0;font-size:13px}.field>span{display:block;margin-bottom:8px;color:#5e6a62}input,select,textarea{width:100%;padding:12px;border:1px solid #dfe6e1;border-radius:9px;background:white;color:#24362a;font-size:14px;margin:4px 0}textarea{resize:vertical;min-height:100px;line-height:1.5}details{padding:7px 0}summary{cursor:pointer;min-height:40px;padding:8px 0}.checkrow{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px}.checkrow input{width:19px;height:19px;accent-color:var(--green);margin:0;flex-shrink:0}.branch{margin-left:10px;padding-left:12px;border-left:1px solid var(--line)}.sheetactions{display:flex;gap:8px;position:sticky;bottom:-24px;background:white;padding:16px 0 24px}.sheetactions button{flex:1}.lead{border-bottom:1px solid var(--line);padding:8px 0;font-size:13px}.lead p{color:#78867b}a{color:#087f3d}.setting{padding:18px 0;border-bottom:1px solid var(--line)}.switch{display:flex;justify-content:space-between;align-items:center;flex-direction:row-reverse;font-size:14px}.switch input{appearance:none;width:45px;height:26px;border-radius:20px;background:#d0d6d2;padding:3px;margin:0;position:relative;border:0}.switch input:after{content:'';position:absolute;width:20px;height:20px;border-radius:50%;background:white;left:3px;top:3px;box-shadow:0 1px 3px #0003;transition:transform .15s}.switch input:checked{background:var(--bright)}.switch input:checked:after{transform:translateX(19px)}.account-button{display:block;width:100%;text-align:left;border:1px solid var(--line);margin:8px 0;font-size:13px}.version{font-size:11px;color:#8a958e;margin-top:28px}.quiet{color:#7a867e;font-size:13px}.notice{display:flex;flex-direction:column;gap:7px;text-align:left;width:100%;border-bottom:1px solid var(--line);padding:16px 10px;font-size:13px;border-radius:0}.notice.unread{background:#f3fbf6;border-left:2px solid var(--bright)}.notice small{font-size:10px;color:#839088}.notice span{font-size:12px;color:#68796c}#toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;padding:12px 16px;border-radius:10px;background:#203d2e;color:white;z-index:10;font-size:12px;box-shadow:0 4px 20px #0001}#login{padding-top:18vh}#login label{display:block;margin-top:18px;font-size:13px}#login button{width:100%;margin-top:16px}.form-error{font-size:13px;color:#bd3543}@keyframes reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes pop{40%{transform:scale(.96)}70%{transform:scale(1.015)}}@keyframes sway{from{transform:translateX(-15px)}to{transform:translateX(15px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}[hidden]{display:none!important}
/* Mobile alert detail: overview, decision, supporting records. */
dialog.alert-detail{height:96dvh;max-height:96dvh;padding:0 22px 28px}.alert-detail .sheet-header{margin-bottom:20px;padding:10px 0}.alert-detail .sheet-header h2{font-size:14px;font-weight:500;color:#68746c}.alert-overview .row-meta{gap:6px}.alert-context{font-size:12px;color:#69766d;margin:16px 0 5px;line-height:1.5}.alert-heading{font-size:28px;line-height:1.12;letter-spacing:-1px;font-weight:650;margin:0}.alert-metric{display:flex;align-items:baseline;gap:10px;margin-top:15px}.alert-metric strong{font-size:46px;line-height:1;font-weight:600;letter-spacing:-2px}.alert-metric span{font-size:13px;color:#647168}.alert-source{font-size:10px;color:#879087;margin:8px 0 20px}.decision{padding:16px;background:#f3faf5;border-radius:14px}.section-label{font-size:11px;font-weight:600;color:#477358;margin:0 0 7px}.decision-text{font-size:15px;line-height:1.45;margin:0;color:#233d2c;white-space:pre-wrap;overflow-wrap:anywhere}.decision .actions{margin-top:14px}.decision .actions button{min-height:46px}.decision-hint{font-size:11px;color:#64806d;margin:12px 0 0}.owner-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:18px;padding:20px 0}.owner-grid span{display:block;font-size:10px;color:#7c867f;margin-bottom:5px}.owner-grid strong{display:block;font-size:12px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.detail-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-top:2px}.detail-tabs button{padding:11px 0;border-radius:0;font-size:12px;color:#859087;min-height:44px;border-bottom:2px solid transparent}.detail-tabs button[aria-selected=true]{color:#087f39;border-bottom-color:var(--green);font-weight:600}.detail-content{padding:17px 0 8px}.detail-content h4{margin:0;font-size:14px;font-weight:600}.lead-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.export-link{font-size:12px;text-decoration:none;padding:12px 4px;min-height:44px;display:inline-flex;align-items:center}.lead-search{font-size:13px;background:#fafcfb;border-color:#e9eeea}.lead-item{padding:0;border-bottom:1px solid var(--line)}.lead-item>summary{display:flex;gap:8px;align-items:center;padding:16px 0;list-style:none}.lead-item>summary::-webkit-details-marker{display:none}.lead-item>summary:after{content:'⌄';color:#9aa59d;font-size:13px}.lead-item[open]>summary:after{content:'⌃'}.lead-identity{flex:1;min-width:0}.lead-identity strong{display:block;font-weight:550;font-size:13px;line-height:1.45}.lead-identity small{display:block;font-size:11px;color:#7e8981;margin-top:4px}.lead-age{font-size:10px;color:#a25e43;white-space:nowrap}.lead-facts{display:grid;grid-template-columns:65px 1fr;gap:9px;font-size:12px;background:#f7f9f8;padding:13px;border-radius:9px;margin:0 0 13px}.lead-facts dt{color:#7d8980}.lead-facts dd{margin:0;overflow-wrap:anywhere}.criterion-text{font-size:14px;line-height:1.7}.detail-content .history-entry{margin-top:8px}.alert-detail .priority,.alert-detail .status{font-size:10px}
@media(max-width:350px){dialog.alert-detail{padding-left:16px;padding-right:16px}.alert-heading{font-size:25px}.detail-tabs{gap:16px}.decision .actions{gap:7px}.decision .actions button{padding-left:8px;padding-right:8px}}
.subscription-intro{font-size:14px;line-height:1.6;color:#637168;margin:0 0 24px}.subscription-group{margin:22px 0}.subscription-group h3{font-size:11px;color:#849088;font-weight:500;margin-bottom:6px}.subscription-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0;border-bottom:1px solid var(--line);cursor:pointer}.subscription-copy{min-width:0}.subscription-copy strong{display:block;font-size:14px;font-weight:550}.subscription-copy small{display:block;font-size:11px;color:#849088;line-height:1.5;margin-top:5px}.subscription-row .switch{flex:0 0 45px}.subscription-status{font-size:12px;line-height:1.5;color:#237a44;min-height:36px}.subscription-footnote{font-size:11px;line-height:1.7;color:#89928c;padding-top:12px;border-top:1px solid var(--line)}.paused-note{width:100%;text-align:left;font-size:11px;line-height:1.5;color:#6b786e;background:#f6f8f6;margin:10px 0}
.record-filters{display:flex;gap:8px;margin:5px 0}.record-filters select{min-width:0;flex:1;font-size:12px;padding:10px 7px;min-height:44px;color:#637268}.record-count{font-size:10px;color:#86918a;margin:10px 0 0}.record-detail{background:#f7faf8;border-radius:12px;padding:2px 14px 12px;margin-bottom:14px;animation:reveal .18s ease}.record-group{padding:14px 0 0}.record-group+.record-group{border-top:1px solid #e5ece7;margin-top:14px}.record-group h5{font-size:11px;font-weight:650;margin:0 0 12px;color:#467252}.record-facts{display:grid;grid-template-columns:95px minmax(0,1fr);column-gap:12px;row-gap:11px;font-size:12px;line-height:1.5;margin:0}.record-facts dt{color:#7a867e}.record-facts dd{margin:0;color:#2d3d33;overflow-wrap:anywhere;white-space:pre-wrap}.lead-age.neutral{color:#7d8980}
.tracking-note{font-size:10px;color:#879189;margin:14px 0 18px}.tracking-group{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;margin:24px 0 4px;color:#657269}.tracking-group small{font-size:10px;background:#f3f6f4;padding:3px 7px;border-radius:6px;font-weight:500}.tracking-group.overdue{color:#c64747}.tracking-group.today{color:#98701e}.tracking-group.review{color:#078739}.tracking-person{display:flex;justify-content:space-between;gap:12px;padding:0 19px 12px;margin:-5px 0 0;font-size:10px;color:#87948b}.tracking-person span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tracking-person time{white-space:nowrap}.notice-day{font-size:12px;color:#748278;font-weight:500;padding-top:12px;margin:12px 0 3px}
#toast{display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);min-height:48px;padding:4px 8px 4px 15px}#toast .undo-action{font-size:12px;color:#b8f7cd;font-weight:650;min-width:80px;min-height:44px}#toast .undo-action:focus-visible{outline:2px solid white}dialog #toast{bottom:22px;width:calc(100% - 44px);max-width:370px;justify-content:space-between}
.glass-orb{display:block;width:190px;height:173px;flex-shrink:0}#visual{gap:2px;padding-top:10px}.celebrate .glass-orb{animation:liquid-settle .8s ease}@keyframes liquid-settle{30%{transform:rotate(-1.2deg)}65%{transform:rotate(.7deg)}100%{transform:rotate(0)}}
.glass-orb{position:relative;width:190px;height:180px;overflow:hidden;border-radius:50%;background:white;isolation:isolate}.glass-orb video{width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s;mask-image:radial-gradient(ellipse 50% 49% at 50% 51%,#000 66%,transparent 100%)}.glass-orb.orb-ready video{opacity:1}.orb-drop{position:absolute;left:49%;top:25%;width:5px;height:8px;border-radius:65% 65% 70% 70%;background:radial-gradient(at 30% 20%,#efffda,#3a7741);opacity:0;pointer-events:none}.orb-drop.fall{animation:higgs-drop 1.05s ease-in both}.orb-complete{position:absolute;left:calc(50% - 13px);top:44%;width:26px;height:26px;display:grid;place-items:center;background:#ffffffe0;border-radius:50%;color:#08a948;font-size:18px;box-shadow:0 1px 8px #24492a12}.orb-error:after{content:'◯';position:absolute;inset:0;display:grid;place-items:center;color:#aac2ac;font-size:100px}.celebrate .glass-orb{animation:none}@keyframes higgs-drop{0%{opacity:0;transform:translateY(-10px) scale(.6)}20%{opacity:1}80%{opacity:1;transform:translateY(32px) scale(.9)}100%{opacity:0;transform:translateY(42px) scale(1.6,.3)}}
/* Beta 0.6.0: translucent water drops, shared by counters and alert rows. */
:root{--green:#00b85a;--bright:#00bd60}
.water-bead{--tint:0,163,69;position:relative;display:block;isolation:isolate;border-radius:48% 52% 49% 51% / 51% 49% 52% 48%;background:radial-gradient(ellipse at 38% 30%,#fff9 0 12%,#fff0 48%),radial-gradient(ellipse at 52% 48%,rgba(var(--tint),.035) 38%,rgba(var(--tint),.1) 67%,rgba(var(--tint),.65) 85%,rgba(var(--tint),.96) 93%,rgba(var(--tint),.4) 98%);border:1.5px solid rgba(var(--tint),.75);box-shadow:inset 1px 1px 2px #fff,inset -2px -3px 3px rgba(var(--tint),.27),0 5px 8px -4px rgba(var(--tint),.42)}
.water-bead.rojo,.drop-filter.rojo{--tint:225,30,40}.water-bead.ambar,.drop-filter.ambar{--tint:229,163,0}.water-bead.verde,.drop-filter.verde{--tint:0,165,63}
.water-bead:before{content:'';position:absolute;left:14%;top:10%;width:20%;height:34%;border-radius:60%;background:linear-gradient(150deg,#fff,#ffffff10);transform:rotate(36deg);filter:blur(.4px)}
.water-bead:after{content:'';position:absolute;right:10%;bottom:8%;width:34%;height:16%;border-radius:50%;transform:rotate(-32deg);background:linear-gradient(0deg,#ffffffbb,#fff0)}
#visual.drop-dashboard{margin:12px 0 4px;padding:14px 8px 12px;border-radius:16px;background:linear-gradient(130deg,#fafbfa,#fff 60%,#fafbfa);gap:6px}
.priority-drops{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.drop-filter{display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 2px 8px;border-radius:12px;position:relative;transition:background .18s ease}
.drop-filter .water-bead{width:64px;height:64px;margin:0 0 5px;transition:transform .2s ease}
.drop-filter[aria-pressed=true]{background:rgba(var(--tint),.06);box-shadow:inset 0 -2px 0 rgba(var(--tint),.6)}
.drop-filter:active .water-bead{transform:scale(.94,.98)}
.drop-count{font-size:25px;font-weight:650;letter-spacing:-.6px;line-height:1.1;font-variant-numeric:tabular-nums}
.drop-label{font-size:12px;color:#5d6570;line-height:1.3}
.drop-dashboard .pending-count{font-size:12px;letter-spacing:0;font-weight:400;color:#778078;margin-top:3px}
.dot.water-bead{width:17px;height:17px;flex:0 0 17px;background-color:transparent}
.rowtitle{gap:10px}.expanded{padding-left:27px}
.priority-reset{display:block;font-size:12px;color:#087d39;padding:6px 0;min-height:36px;text-decoration:underline;text-underline-offset:3px}
.celebrate .drop-count{animation:count-settle .4s ease}.new-alert .priority-drops{animation:count-settle .4s ease}
@keyframes count-settle{40%{transform:translateY(2px);opacity:.65}100%{transform:translateY(0);opacity:1}}
@media(max-width:360px){.drop-filter .water-bead{width:55px;height:55px}.drop-label{font-size:11px}.drop-count{font-size:23px}}
.water-bead,.dot.water-bead{background:radial-gradient(ellipse at 32% 24%,#fff 0 3%,#ffffff80 8%,#fff0 31%),radial-gradient(ellipse at 52% 46%,rgba(var(--tint),.045) 36%,rgba(var(--tint),.11) 63%,rgba(var(--tint),.36) 81%,rgba(var(--tint),.9) 93%,rgba(var(--tint),.6) 99%);border-color:rgba(var(--tint),.9);box-shadow:inset 1px 2px 2px rgba(var(--tint),.46),inset -2px -2px 2px #ffffffc9,inset -4px -4px 3px rgba(var(--tint),.2),0 5px 8px -4px rgba(var(--tint),.42)}
/* Beta 0.7.0 — white surfaces, restrained depth and direct liquid feedback. */
:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#1c1c1e;--line:#efeff2;--muted:#73737b;--ease:cubic-bezier(.2,.8,.2,1)}
body,#app{background:#fff}.app-header{padding-top:22px;padding-bottom:18px}h1{font-weight:650;letter-spacing:-.65px}
.selector{border:1px solid #ededf0;border-radius:13px;background:linear-gradient(#fff,#fafafb);box-shadow:0 2px 8px #18243b03,inset 0 1px #fff;min-height:46px}
button{transition:background-color .2s var(--ease),box-shadow .2s var(--ease),color .2s var(--ease)}
#visual.drop-dashboard{background:linear-gradient(145deg,#fafafb,#fff 60%,#f9fafb);box-shadow:inset 0 1px 0 #fff,0 5px 18px #16223303;border:1px solid #f4f4f6;border-radius:20px;margin:14px 0 12px;padding:17px 8px 13px}
.drop-filter{border-radius:15px;min-height:124px}.drop-filter[aria-pressed=true]{background:rgba(var(--tint),.045);box-shadow:inset 0 0 0 1px rgba(var(--tint),.15),0 3px 10px rgba(var(--tint),.045)}
.drop-filter .water-bead{will-change:transform;transition:transform .14s var(--ease)}.drop-filter.touching .water-bead{transform:scale(1.08,.91)}
.touch-ring{position:absolute;inset:-4px;border:1px solid rgba(var(--tint),.36);border-radius:50%;opacity:0;pointer-events:none}
.toolbar{gap:2px}.toolbar button{flex:1;font-size:12px;min-height:44px;position:relative;border-bottom:0!important;color:#77777f}.toolbar button[aria-pressed=true]{color:#008c43;font-weight:600}.toolbar button[aria-pressed=true]:after{content:'';position:absolute;bottom:0;left:15%;right:15%;height:3px;border-radius:3px;background:var(--green)}
.data-line{padding:9px 0}.rowtitle{min-height:60px}.rowtitle .text{font-size:13px}.text strong{font-weight:600}.rowmain{transition:transform .32s var(--ease)}.rowtitle:active{background:#f9fafb}.expanded{animation:reveal .3s var(--ease)}
.primary{border-color:#00a851;border-radius:12px;background:linear-gradient(180deg,#0abe62,#00aa51);box-shadow:inset 0 1px 0 #ffffff40,0 3px 8px #008c4317;min-height:46px}.primary:active{transform:scale(.985);box-shadow:inset 0 1px 3px #006b3222}
.secondary{border-color:#e3e5e9;border-radius:12px;color:#33363b;background:#fff;box-shadow:0 2px 6px #1c263704;min-height:46px}
.bottom-nav{background:#ffffffed;border-top-color:#eeeeef;box-shadow:0 -4px 20px #1c263703;backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)}
dialog{border-radius:28px 28px 0 0;box-shadow:0 -10px 60px #172a4019;border:1px solid #ffffffbb;background:#fff;max-height:92dvh}dialog[open]{animation:sheet-arrive .38s var(--ease)}dialog::backdrop{background:#1118272e;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.sheet-header{background:#fffffff5;backdrop-filter:blur(12px);padding-top:19px;padding-bottom:15px}.sheet-header button{width:34px;height:34px;min-height:34px;border-radius:50%;background:#f3f3f5;color:#777780;font-size:17px}.sheet-header h2{font-weight:650}.detail-section{padding-top:20px;padding-bottom:20px}.instruction,.result-note{background:#f7f8fa;border-radius:15px}
.notice{display:flex;flex-direction:row;align-items:flex-start;gap:14px;margin:10px 0;padding:16px;border:1px solid #eceef1;border-radius:17px;background:white;box-shadow:0 3px 14px #17263c05}.notice.unread{background:#fff;border:1px solid #dceae0;box-shadow:0 3px 14px #17263c05}.notice .notice-bead{width:30px;height:30px;flex:0 0 30px;margin-top:3px}.notice-content{display:flex;flex-direction:column;gap:6px;min-width:0}.notice .notice-priority{font-size:12px}.notice .notice-project{font-size:14px;color:#1c1c1e;font-weight:600}
#toast{border-radius:16px;background:#203b30f5;box-shadow:0 6px 24px #14302320;animation:reveal .24s var(--ease)}
@keyframes sheet-arrive{from{opacity:.4;transform:translateY(36px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-transparency:reduce){.bottom-nav,.sheet-header{background:white;backdrop-filter:none;-webkit-backdrop-filter:none}dialog::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}}

.bottom-nav button{min-width:0;flex:1;font-size:10px;padding:9px 3px}#subscriptions{color:#078e43}#subscriptions.selected{background:#eaf8f0;border-radius:14px}
.subscription-intro{font-size:13px;margin:10px 0 16px}.subscription-overview{font-size:12px;color:#078e43}.subscription-status{min-height:0;margin:8px 0}
.alert-category{border-bottom:1px solid var(--line);padding:6px 0}.alert-category>summary{display:flex;align-items:center;gap:10px;padding:18px 0;list-style:none}.alert-category>summary::-webkit-details-marker,.alert-rule>summary::-webkit-details-marker{display:none}.alert-category summary strong{flex:1;font-size:15px;font-weight:600}.category-count{font-size:10px;color:#63786c;white-space:nowrap}.alert-category>summary:after,.alert-rule>summary:after{content:'⌄';color:#849088}.alert-category[open]>summary:after,.alert-rule[open]>summary:after{content:'⌃'}
.alert-rule{margin:0 0 8px;padding:0 14px;border-radius:12px;background:#f7f9f8}.alert-rule>summary{display:flex;align-items:center;gap:9px;list-style:none;padding:15px 0;font-size:13px}.alert-rule>summary>span{flex:1}.rule-state{font-size:10px;color:#6b7e71}.rule-brief{font-size:13px;margin:0 0 10px;line-height:1.65}.rule-action{font-size:12px;color:#39754e}.rule-source{font-size:12px}.rule-source summary{font-size:11px;color:#68776e}.rule-source p{font-size:12px}.alert-rule .subscription-row{padding:14px 0;border-top:1px solid #e5ebe7;border-bottom:0;font-size:12px}.subscription-footnote{margin-top:24px}

/* Beta 0.10.1: persistent inbox, floating alert controls and Perfy. */
.bottom-nav{align-items:flex-end;padding-top:6px}.bottom-nav button{min-height:62px;justify-content:flex-end;gap:5px}.bottom-nav #subscriptions{background:transparent;padding-top:0;color:#088841;font-size:11px;font-weight:600;overflow:visible}.nav-alert-drop{display:grid;place-items:center;width:62px;height:62px;margin-top:-25px;border-radius:49% 51% 50% 50%;background:radial-gradient(ellipse at 30% 22%,#fff 3%,#ffffff75 40%,#e6f5ed70 74%,#b1d7c570 98%);border:1px solid #bfdccd;box-shadow:inset 2px 2px 4px #fff,inset -2px -3px 6px #a8d2bc50,0 5px 13px #29493a14;backdrop-filter:blur(8px);transition:transform .24s,box-shadow .24s}.bottom-nav .nav-alert-drop svg{width:33px;height:33px;fill:#bfe8ce30;stroke:#198553;stroke-width:1.5}.bottom-nav #subscriptions:active .nav-alert-drop{transform:scale(.93)}.bottom-nav #subscriptions.selected .nav-alert-drop{box-shadow:inset 2px 2px 4px #fff,0 0 0 4px #e4f7ec,0 5px 13px #29493a14}#sellia{cursor:default;color:#6b9680}#sellia svg{width:37px;height:30px;stroke:#719f87;stroke-width:4.5;fill:#f1f8f450;filter:drop-shadow(0 2px 2px #396b4510)}
dialog.alerts-panel{height:calc(100dvh - 240px);min-height:min(360px,70dvh);max-height:calc(100dvh - 100px);width:min(calc(100% - 24px),416px);margin:auto auto max(12px,env(safe-area-inset-bottom));border-radius:26px;padding:0 20px 24px;box-shadow:0 16px 60px #163d2329;border:1px solid #ffffffc0;background:#fffffff7}.alerts-panel::backdrop{background:#183a2924;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.alerts-panel .sheet-header{margin-bottom:12px;padding:16px 0 12px}.alerts-panel .sheet-header h2{font-size:22px}.alerts-panel #closeSheet{border-radius:50%;background:#f1f4f2;width:36px;height:36px;min-height:36px;padding:0;font-size:18px}.alerts-panel .subscription-intro{font-size:12px;margin-bottom:14px}.alerts-panel .alert-category>summary{padding:16px 0}
@media(prefers-reduced-transparency:reduce){.alerts-panel::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}.nav-alert-drop{backdrop-filter:none;background:#f4faf6}}

body:has(dialog[open]){overflow:hidden}

#sellia{cursor:pointer}dialog.sellia-panel{height:86dvh;max-height:92dvh;width:min(calc(100% - 20px),420px);margin:auto auto max(10px,env(safe-area-inset-bottom));border-radius:24px;background:#fff;padding:0 18px 12px;overflow:hidden}.sellia-panel::backdrop{background:#183a2924;backdrop-filter:blur(4px)}.sellia-panel .sheet-header{margin-bottom:0}.sellia-panel #sheetBody{display:flex;flex-direction:column;height:calc(100% - 70px);min-height:0}.sellia-intro{text-align:center;padding:18px 0 0}.sellia-intro svg{width:64px;height:50px;fill:#edf8f1;stroke:#2b9b61;stroke-width:4;stroke-linecap:round}.sellia-login{overflow:auto;padding-bottom:12px}.sellia-login .field{margin:12px 0}.sellia-tools{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:8px 0}.sellia-tools>span{flex:1;font-size:10px}.sellia-tools button{font-size:10px;padding:8px}.sellia-feed{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 0 16px}.sellia-message{padding:12px 13px;margin-bottom:14px;border-radius:15px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.sellia-message.user{background:#eaf8ef;margin-left:25px}.sellia-message.sellia{background:#f6f8f7;margin-right:8px}.sellia-message.error{background:#fff5ef}.sellia-message>small{display:block;color:#718278;font-size:10px;margin-bottom:6px}.sellia-line{white-space:pre-wrap;min-height:.6em}.sellia-compose{display:flex;align-items:flex-end;gap:9px;border-top:1px solid #e7eee9;padding-top:10px;background:#fff;flex-shrink:0}.sellia-compose textarea{min-height:52px;max-height:120px;resize:none;margin:0;flex:1;font-size:16px}.sellia-compose button{height:48px;font-size:12px}.sellia-thinking{font-size:12px;color:#36865a}.sellia-topics{border-bottom:1px solid #e7eee9}.sellia-topics summary{font-size:13px}.sellia-table{overflow:auto;max-width:100%;margin:8px 0}.sellia-table table{border-collapse:collapse;font-size:11px;min-width:100%}.sellia-table th,.sellia-table td{padding:7px;border:1px solid #dfe8e2;text-align:left;white-space:nowrap}.sellia-table th{background:#edf6f0}@media(max-height:550px){dialog.sellia-panel{height:96dvh;max-height:96dvh;margin:auto auto 0}.sellia-intro{padding-top:0}.sellia-intro svg{display:none}}

.ask-sellia{width:100%;text-align:center;border:1px solid #c9e8d6;background:#f3fbf6;color:#098346;margin:12px 0;font-size:13px}.sellia-alert-context{font-size:11px;line-height:1.5;background:#edf8f1;color:#277546;padding:9px 12px;border-radius:10px;margin:2px 0 8px;flex-shrink:0}
.sellia-history-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e7eee9}.sellia-history-row .action-row{flex:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;row-gap:3px;font-size:13px;line-height:1.35}.sellia-history-row .action-row small{grid-column:1}.sellia-history-row .action-row::after{grid-column:2;grid-row:1/span 2}.sellia-history-row .action-row span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sellia-history-row .action-row small{font-size:10px}.sellia-history-row .quiet{flex-shrink:0;min-height:44px;font-size:11px;padding:8px 4px}.sellia-history-note{font-size:11px;padding-top:14px}

#login .google-login{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:48px;background:#fff;border:1px solid #dce4de;border-radius:12px;color:#23382b;font-weight:550;box-shadow:0 2px 5px #153c2410;margin:12px 0 0}#login .google-login[hidden],#login .login-divider[hidden]{display:none}#login .google-login span{font-family:Arial,sans-serif;font-weight:700;font-size:20px;color:#4285f4}#login .google-login:active{transform:translateY(1px);background:#f7faf8}#login .login-divider{font-size:11px;color:#89958d;text-align:center;margin:20px 0 8px}

.alerts-settings{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);border-radius:0;color:#647d6f;font-size:13px}.alerts-settings svg,.reports-empty svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.reports-empty{text-align:center;padding:48px 16px}.reports-empty>svg{width:46px;height:46px;color:#3e9866;stroke-width:1.2}.reports-empty h3{margin-top:18px}.reports-empty p{font-size:13px}#reports span{white-space:nowrap;font-size:10px}

dialog.reports-panel{height:calc(100dvh - 75px);max-height:calc(100dvh - 30px);padding-bottom:40px}.report-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.report-eyebrow{font-size:10px;font-weight:600;letter-spacing:1.5px;color:#688174;margin:0 0 7px}.report-heading{font-size:23px;letter-spacing:-.6px;margin:0}.report-month{width:130px;min-width:0;font-size:12px;padding:9px;border:1px solid #e2eae5;border-radius:10px}.report-cutoff,.report-count{font-size:11px;color:#7b8780;line-height:1.6}.report-tools{display:flex;align-items:flex-start;gap:8px;margin:20px 0}.report-filters{flex:1;min-width:0;border:1px solid #e5ece7;border-radius:12px;padding:0 12px}.report-filters>summary{padding:13px 0;font-size:12px;color:#3a5b47;cursor:pointer}.report-filter-group>summary{font-size:12px;padding:12px 0}.report-filter-content .checkrow{font-size:12px;min-height:42px}.report-filter-actions{display:flex;gap:8px}.report-filter-actions button{font-size:11px;color:#388255}.report-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 24px}.report-kpi{border:1px solid #e5ebe7;background:#fafcfb;text-align:left;padding:16px;border-radius:15px;min-height:96px}.report-kpi.active{border-color:#84c99f;background:#f0faf4;box-shadow:0 3px 12px #195d3410}.report-kpi span{display:block;color:#718579;font-size:11px}.report-kpi strong{display:block;font-size:29px;font-weight:600;letter-spacing:-1px;margin-top:7px;color:#184e30}.report-table-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.report-table-tools select{min-width:0;flex:1;font-size:13px;max-width:235px}.report-export{color:#18824a;font-size:12px;text-decoration:none;white-space:nowrap;padding:12px 5px}.report-project{border-bottom:1px solid #edf1ee;padding:15px 0}.report-project>summary{list-style:none;display:flex;align-items:center;gap:15px;cursor:pointer}.report-project>summary::-webkit-details-marker{display:none}.report-project-name{flex:1;min-width:0}.report-project-name strong{font-size:13px;font-weight:600;display:block;line-height:1.5}.report-project-name small{font-size:10px;display:block;color:#8a958d;margin-top:3px}.report-project-value{text-align:right;flex-shrink:0}.report-project-value strong{font-size:20px;display:block;font-weight:600}.report-project-value small{font-size:9px;color:#8c978e}.report-project-value .goal-met{color:#23944f}.report-project-value .goal-open{color:#a48237}.report-progress{height:3px;border-radius:4px;background:#eef4f0;margin-top:12px;overflow:hidden}.report-progress span{height:100%;display:block;background:#39b66c}.report-goals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#f6faf7;padding:15px;border-radius:10px;margin-top:16px}.report-goals small{display:block;color:#839087;font-size:10px}.report-goals strong{display:block;font-size:17px;font-weight:550;margin-top:7px}.report-detail-button{width:100%;font-size:12px;color:#18854b;margin-top:10px;background:#f0f8f3}.report-note,.report-source{font-size:11px;line-height:1.7;color:#7a887f}.report-source{margin-top:25px;border-top:1px solid #e9efeb;padding-top:15px}.report-source summary{cursor:pointer;color:#55836a}.report-record{border-bottom:1px solid #e9efeb;padding:14px 0}.report-record summary{cursor:pointer}.report-record summary strong{font-size:13px;display:block}.report-record summary small{font-size:10px;display:block;color:#869389;margin-top:5px}.report-record .record-facts{padding-top:16px}.report-loading{padding:40px 0;color:#7c8f81;text-align:center;font-size:13px}.report-filter-content>.actions{margin:12px 0}

/* Beta 0.17.0: report directory, mobile macro-to-micro navigation. */
.portal-search{margin:12px 0;background:#f5f7f6;border:1px solid #f0f3f1;font-size:14px;padding:14px;border-radius:12px;width:100%}
.portal-scope{background:#f8faf9;margin:0 0 25px}.portal-scope>summary{font-size:13px;min-height:44px}
.portal-section-label{font-size:10px;letter-spacing:1.5px;color:#7d8881;margin:22px 0 9px}
.portal-section{border-top:1px solid #edf1ee}.portal-section:last-child{border-bottom:1px solid #edf1ee}
.portal-section>summary{position:relative;display:flex;align-items:center;gap:16px;list-style:none;padding:21px 3px;cursor:pointer;min-height:84px}
.portal-section>summary::-webkit-details-marker{display:none}.portal-section>summary>svg{width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.portal-section-copy{flex:1;min-width:0}.portal-section-copy strong{font-size:15px;font-weight:600;display:block;letter-spacing:-.2px}.portal-section-copy small{font-size:12px;line-height:1.45;color:#7a8580;display:block;margin-top:5px}
.portal-chevron{font-size:23px;color:#859088;transition:transform .22s}
.portal-section[open]>summary{color:#0d7040}.portal-section[open]>summary:before{content:'';position:absolute;left:-13px;top:23px;bottom:23px;width:3px;border-radius:3px;background:var(--green)}.portal-section[open]>summary .portal-chevron{transform:rotate(90deg);color:var(--green)}
.portal-report-list{background:#f4faf6;border-radius:12px;padding:0 12px;margin:0 0 16px;animation:reveal .2s ease}
.portal-report{width:100%;display:flex;align-items:center;gap:9px;text-align:left;border-radius:0;border-bottom:1px solid #e5eee8;min-height:62px;padding:12px 0}.portal-report:last-child{border-bottom:0}
.portal-report-name{font-size:13px;flex:1;min-width:0;line-height:1.5}.portal-report-status{flex-shrink:0;font-size:9px;color:#6f7972;background:#e9eeeb;padding:5px 7px;border-radius:20px;white-space:nowrap}.portal-report-status.available{background:#d9f6e6;color:#098745}.portal-report-arrow{font-size:20px;color:#659077}
.portal-report:not(.pending):active{background:#e6f5ed}.portal-report.pending{color:#56655b}.portal-report:focus-visible{outline-offset:3px}
@media(max-width:360px){.portal-section>summary{gap:12px}.portal-report{gap:6px}.portal-report-status{font-size:8px;padding:5px}.portal-report-name{font-size:12px}}

/* Beta 0.18.0: interactive funnel stages with ratios between visible stages. */
.commercial-funnel{margin:4px 0 24px;padding:0 0 12px;border-bottom:1px solid var(--line)}.funnel-help,.funnel-footnote{font-size:10px;line-height:1.6;color:#7b8980;margin:9px 0 17px}.funnel-footnote{margin:16px 0 0}.funnel-stages{display:flex;flex-direction:column;align-items:center;gap:0}
.funnel-stage{position:relative;isolation:isolate;min-height:76px;transition:width .28s ease;animation:reveal .24s ease}.funnel-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(160deg,#f1fbf5,#dcf3e5);clip-path:polygon(0 0,100% 0,95% 100%,5% 100%);border-radius:12px}.funnel-stage.active:before{background:linear-gradient(150deg,#d2f5e0,#a9e8c3)}
.funnel-stage-select{width:100%;min-height:76px;padding:12px 42px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1c5837}.funnel-stage-select>span{font-size:11px;line-height:1.4}.funnel-stage-select>strong{font-size:26px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.7px;line-height:1.3;margin-top:2px}.funnel-stage-hide{position:absolute;right:3px;top:3px;width:44px;height:44px;min-height:44px;padding:0;color:#5d8e70;font-size:20px;z-index:1}.funnel-stage-hide:hover{background:#ffffff70}
.funnel-ratio{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;font-size:10px;color:#7b8a80}.funnel-ratio strong{font-size:12px;color:#138346;font-weight:600;font-variant-numeric:tabular-nums}.funnel-ratio span{font-size:9px}
.funnel-restore{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:10px}.funnel-restore:empty{display:none}.funnel-restore-label{font-size:10px;color:#829087;margin-right:3px}.funnel-restore-chip{background:#f2f8f4;color:#357a50;border:1px solid #e0ece4;padding:8px;font-size:11px;min-height:44px}.funnel-restore-all{color:#128749;font-size:11px;min-height:44px;padding:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Beta 0.19.0: multi-month selection and channel views. */
.report-top{align-items:flex-start}.report-periods{flex:1;max-width:235px;min-width:0;border:1px solid #e2ebe5;border-radius:12px;padding:0 10px;background:#fafcfb}.report-periods>summary{font-size:12px;padding:13px 0;cursor:pointer}.report-period-content{padding:4px 0 12px}.report-period-content select{width:100%;min-height:44px}.report-month-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px 5px;margin-top:8px}.report-month-grid .checkrow{font-size:10px;min-height:38px;gap:5px;padding:5px 0}.report-month-grid input{width:16px;height:16px;flex-shrink:0}.funnel-view-switch{display:flex;background:#f0f5f2;border-radius:12px;padding:4px;margin:16px 0}.funnel-view-switch button{flex:1;font-size:12px;color:#78877d;padding:9px;min-height:42px}.funnel-view-switch button.active{background:white;color:#087d40;box-shadow:0 2px 8px #1a5a3210;font-weight:600}

/* Beta 0.20.0: original Performance logo and shared glass-sphere motion. */
.brand-logo{position:relative;display:block;aspect-ratio:1730/390;overflow:hidden;margin:0;flex-shrink:1}.brand-logo img{position:absolute!important;width:110.983%!important;height:auto!important;max-width:none!important;left:-5.78%;top:-93.59%;margin:0!important;display:block}.header-brand{width:190px;max-width:calc(100% - 48px)}.app-header{position:relative;min-height:72px;gap:8px}.header-progress{position:absolute;left:50%;bottom:-3px;transform:translateX(-50%);pointer-events:none}.sheet-header{position:relative}.sheet-progress{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);pointer-events:none}
#login{min-height:calc(100svh - 100px);display:flex;flex-direction:column;justify-content:center;align-items:center;max-width:370px;margin:0 auto;padding:40px 0;animation:brand-login-enter .7s cubic-bezier(.2,.8,.2,1) both}#login[hidden]{display:none}.login-brand{width:100%;max-width:280px;margin-bottom:24px}.login-caption{font-size:13px;color:#7c8882;margin:0;text-align:center}.login-progress{height:40px;display:flex;align-items:center;justify-content:center;margin:12px 0}#login .google-login{min-height:56px;border-radius:17px;box-shadow:0 5px 20px #122c3910,0 1px 2px #122c3908;transition:transform .2s,box-shadow .2s;animation:brand-login-enter .8s .12s both}#login .google-login:hover{box-shadow:0 8px 26px #122c3919}#login .google-login:active{transform:scale(.985)}#loginError{font-size:12px;color:#a54b43;text-align:center;max-width:300px}
.brand-thinking{display:flex;align-items:center;justify-content:center;gap:6px;opacity:0;transition:opacity .22s;pointer-events:none}.brand-thought{display:block;width:18px;height:18px;border-radius:50%;background-image:url('brand-spheres.webp?v=0203');background-repeat:no-repeat;background-size:685.71% auto;background-position:6.40% 46%;transform-origin:center}.brand-thought.amber{background-position:23.29% 46%}.brand-thought.green{background-position:40.18% 46%}.login-progress .brand-thought{width:26px;height:26px}.sheet-progress .brand-thought,.header-progress .brand-thought{width:13px;height:13px}
.brand-is-busy [data-brand-loader] .brand-thinking,.brand-transition [data-brand-loader] .brand-thinking,.is-thinking .brand-thinking{opacity:1}.brand-is-busy [data-brand-loader] .brand-thought,.brand-transition [data-brand-loader] .brand-thought,.is-thinking .brand-thought{animation:brand-thought 1.85s ease-in-out infinite}.brand-thought.amber{animation-delay:-.65s!important}.brand-thought.green{animation-delay:-1.23s!important}.brand-thinking-status{display:flex;align-items:center;gap:12px;font-size:12px;color:#78867d;padding:18px 6px}.brand-thinking-status .brand-thinking{flex-shrink:0}
@keyframes brand-thought{0%,100%{opacity:.12;transform:translateY(2px) scale(.66)}28%,52%{opacity:1;transform:translateY(-2px) scale(1)}78%{opacity:0;transform:translateY(2px) scale(.75)}}
@keyframes brand-login-enter{from{opacity:0;transform:translateY(14px);filter:blur(4px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@media(prefers-reduced-motion:reduce){#login,#login .google-login,.brand-thought{animation:none!important;transition:none!important}.brand-thought{opacity:1!important;transform:none!important}}

.login-brand img{clip-path:inset(0 0 0 49%)}.brand-logo .brand-thought{position:absolute;top:24.36%;left:.29%;width:16.18%;height:auto;aspect-ratio:1;opacity:1}.brand-logo .brand-thought.amber{left:16.30%}.brand-logo .brand-thought.green{left:32.31%}.brand-boot .login-brand .brand-thought{animation:brand-thought 1.85s ease-in-out 1}

/* Final logo: static, compact header; brand intro only on initial page load. */
.header-brand,.header-brand img{animation:none!important;transition:none!important}.header-brand img{clip-path:none}.header-brand{max-width:calc(100% - 54px)}

/* Beta 0.20.2: final wordmark, centered large login and compact static header. */
.brand-logo{aspect-ratio:1300/560}.brand-logo img{width:148%!important;left:-23.08%;top:-55.36%;clip-path:none!important}.login-brand{width:100%;max-width:340px;margin:0 auto 28px;align-self:center}.header-brand{width:190px;max-width:calc(100% - 54px)}.app-header{min-height:72px;padding-top:10px;padding-bottom:10px}

/* Beta 0.20.3: smaller in-app brand; login size preserved. */
.header-brand{width:145px}.app-header{min-height:72px}

/* Beta 0.21.0: compact brand and private request tickets. */
.header-brand{width:112px}.login-brand{max-width:290px}
.settings-section{font-size:13px;color:#7c8882;margin-top:28px!important}
.ticket-form{display:grid;gap:18px;margin:22px 0}.ticket-form .field{display:grid;gap:8px;font-size:13px}.ticket-form textarea,.ticket-form select{width:100%;box-sizing:border-box;font-size:16px;line-height:1.5}.ticket-status{display:inline-block;width:fit-content;border-radius:20px;padding:6px 10px;font-size:11px;background:#f4f4ef;color:#77744c}.ticket-status.reviewing,.ticket-status.planned{background:#eef4fa;color:#44627d}.ticket-status.completed{background:#eaf8ef;color:#167640}.ticket-status.declined{background:#f3f3f3;color:#707774}.ticket-number{font-size:22px!important;color:#11352a}.ticket-row{display:grid;gap:9px;width:100%;padding:18px 0;text-align:left;border-bottom:1px solid #edf0ee}.ticket-row-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.ticket-preview{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5}.ticket-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:14px}.ticket-history{border-left:2px solid #c9e5d4;padding:8px 0 8px 16px;margin:12px 0}.ticket-history small{display:block;margin-top:5px}.ticket-review{margin-top:24px;border-top:1px solid #edf0ee;padding-top:20px}.ticket-review summary{font-weight:600;font-size:14px}.ticket-success{color:#00b85b;font-size:38px;margin-top:24px}.ticket-row small{overflow-wrap:anywhere}

.ticket-form .field{margin:0}.ticket-form .field>span{margin:0}.ticket-form textarea{margin:0;min-height:76px}.ticket-form{gap:16px}

.episode-meta{font-size:12px;line-height:1.5;color:#627269;margin:8px 0}.episode-history{border-top:1px solid #edf0ee;padding-top:12px;margin-top:12px}.episode-history h4{margin:0 0 10px}

/* Mobile push preferences */
.push-state{background:#eef9f2;border-radius:16px;padding:16px;font-size:14px;line-height:1.6}.push-preferences{display:grid;gap:14px;margin-top:24px}.push-preferences .settings-section{margin:12px 0 0!important}.push-days{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.push-days label{display:flex;align-items:center;gap:5px;font-size:13px;min-height:44px}.push-preferences .actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.push-preferences .field{min-width:0}.push-preferences input[type=time]{width:100%;min-width:0;box-sizing:border-box;font-size:16px}.push-device{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #edf0ee}.push-device span{min-width:0;overflow-wrap:anywhere}

.contact-actions .contact-number{font-size:15px;font-weight:600;color:#1d3a2b;margin:4px 0 8px}.contact-buttons{display:flex;gap:10px;margin-bottom:6px}.contact-buttons a{flex:1;display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:14px;text-decoration:none;font-size:14px;font-weight:600}.contact-buttons a.primary{background:#0faa5a;color:#fff}.contact-buttons a.secondary{border:1px solid #c9e8d6;background:#f3fbf6;color:#098346}.contact-actions .quiet{padding:8px 0;font-size:12px}.contact-log{list-style:none;padding:0;margin:6px 0 0;font-size:12px;color:#4d5a52}.contact-log li{padding:6px 0;border-top:1px solid #e7eee9}.contact-log small{display:block;color:#8b948e;margin-top:2px}.contact-badge{display:block;color:#098346;font-size:10px;margin-top:2px}
.call-result{background:#fff;border:1px solid #c9e8d6;border-radius:18px;padding:14px 16px;margin:0 0 12px;box-shadow:0 8px 24px #183a2918}.call-result h3{font-size:15px;margin:0 0 10px}.call-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.call-choices button{min-height:46px;font-size:13px}.call-result .quiet{width:100%;text-align:center}.call-result textarea{margin:6px 0}#app>.call-result{position:fixed;left:12px;right:12px;bottom:max(96px,calc(env(safe-area-inset-bottom) + 92px));z-index:40;margin:0}
