:root {
  color-scheme: light;
  --canvas:#f5f5f7; --surface:#fff; --surface-raised:#fff; --ink:#1c1d1f;
  --muted:#666970; --faint:#8a8d91; --line:#e7e8e9; --soft:#eeeef0;
  --brand-forest:#226a46; --brand-pear:#e3f2cc; --brand-ink:#1c1d1f;
  --green:var(--brand-forest); --green-soft:var(--brand-pear); --green-ink:#215838; --on-green:var(--brand-pear);
  --glass:rgba(255,255,255,.86); --glass-border:rgba(255,255,255,.9);
  --shadow:0 8px 30px rgba(28,36,31,.055); --float-shadow:0 8px 34px rgba(24,31,27,.13),0 1px 3px rgba(24,31,27,.05);
  --danger:#b43633; --danger-soft:#fff0ee; --focus:var(--brand-forest);
  --page-width:540px; --safe-bottom:env(safe-area-inset-bottom,0px);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px; font-synthesis:none; text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased; -webkit-text-size-adjust:100%;
}
:root[data-theme="dark"] {
  color-scheme:dark; --canvas:#131514; --surface:#202321; --surface-raised:#2a2e2b;
  --ink:#f3f5f2; --muted:#a9afaa; --faint:#858d87; --line:#353b36; --soft:#2d322e;
  --green:var(--brand-pear); --green-soft:#2d4232; --green-ink:var(--brand-pear); --on-green:#173820;
  --glass:rgba(41,46,42,.88); --glass-border:rgba(217,237,218,.1);
  --shadow:0 8px 24px rgba(0,0,0,.08); --float-shadow:0 9px 38px rgba(0,0,0,.4);
  --danger:#ffaaa4; --danger-soft:#432d2b; --focus:var(--brand-pear);
}
*{box-sizing:border-box}html{min-height:100%;background:var(--canvas);scroll-padding-top:22px;scroll-padding-bottom:230px}
body{margin:0;color:var(--ink);background:var(--canvas);line-height:1.48;overflow-x:clip}
button,input,select{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button,a,label,summary{touch-action:manipulation}
button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.48}a{color:var(--green);text-decoration:none}a,button{user-select:none}button{border:0;background:none}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:4px}
[tabindex="-1"]:focus{outline:none}[hidden]{display:none!important}h1,h2,h3,p{margin:0}fieldset{border:0;margin:0;padding:0;min-width:0}legend{padding:0}img{max-width:100%;display:block}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.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}
.skip-link{position:fixed;z-index:100;top:-80px;left:16px;padding:12px 18px;border-radius:12px;background:var(--surface);box-shadow:var(--float-shadow)}.skip-link:focus{top:12px}
.app-shell{max-width:var(--page-width);margin:0 auto;min-height:100dvh}
.app-header{display:flex;align-items:center;justify-content:space-between;padding:calc(18px + env(safe-area-inset-top)) 24px 0;min-height:62px;gap:12px}
.brand{display:inline-flex;align-items:center;min-height:44px;min-width:0;width:164px;flex:0 1 164px;border-radius:6px}
.brand-logo{width:100%;height:auto;flex-shrink:1}.brand-logo-reversed{display:none}:root[data-theme="dark"] .brand-logo-primary{display:none}:root[data-theme="dark"] .brand-logo-reversed{display:block}.identity-mark{fill:currentColor;stroke:none;flex-shrink:0;width:32px;height:40px}
.header-link{color:var(--muted);background:var(--surface);box-shadow:0 1px 3px rgba(0,0,0,.035)}
main{padding:0 24px 122px}body[data-dock="true"] main{padding-bottom:238px}
.view{position:relative}.view-ghost{position:fixed!important;margin:0!important;pointer-events:none!important;z-index:3;overflow:hidden;max-height:100vh;background:var(--canvas)}
.page-heading{padding:27px 0 24px}h1{font-size:40px;line-height:1.08;letter-spacing:-1.7px;font-weight:720}.page-heading p{font-size:16px;line-height:1.45;color:var(--muted);margin-top:10px;letter-spacing:-.2px}.heading-with-action{display:flex;align-items:center;justify-content:space-between;gap:12px}.heading-with-action .icon-button{background:var(--surface);color:var(--green);box-shadow:var(--shadow)}
.scan-plan{background:var(--surface);padding:18px 16px 0;border-radius:24px;box-shadow:var(--shadow);margin-bottom:18px}
.scan-plan legend{font-size:15px;font-weight:650;margin-bottom:12px;letter-spacing:-.2px}
.segmented{position:relative;display:flex;isolation:isolate;padding:3px;background:var(--soft);border-radius:12px;min-height:44px}
.segmented label{position:relative;display:flex;align-items:stretch;flex:1;min-width:0;cursor:pointer;z-index:1}.segmented input,.candidate>input,.choice-row>input,.appearance-options input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.segmented label>span{display:grid;place-items:center;text-align:center;width:100%;min-height:38px;padding:5px 3px;font-size:13px;font-weight:590;letter-spacing:-.15px;border-radius:9px;color:var(--muted)}
.segmented input:checked+span{background:var(--green-soft);color:var(--green-ink);box-shadow:0 1px 4px rgba(0,0,0,.06)}.segmented.has-selection-pill input:checked+span{background:none;box-shadow:none}
.selection-pill{pointer-events:none;position:absolute;top:3px;bottom:3px;border-radius:9px;background:var(--green-soft);box-shadow:0 1px 4px rgba(0,0,0,.06);z-index:0}
.plan-summary{display:flex;align-items:center;text-align:left;width:100%;min-height:66px;gap:10px;padding:12px 0}.plan-summary>.icon:first-child{width:19px;color:var(--green)}.plan-summary>span{flex:1;min-width:0}.plan-summary strong{display:block;font-size:14px;font-weight:580}.plan-summary small{font-size:11px;color:var(--muted);display:block;margin-top:1px}.chevron{color:var(--faint);width:15px;height:18px}
.photo-stage{position:relative;overflow:hidden;height:248px;border-radius:28px;background:#fff;box-shadow:var(--shadow)}
.photo-empty{height:100%;position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:18px 20px}.cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%;opacity:.97}.photo-empty:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#fff 85%)}
.photo-empty>p,.photo-empty>span{position:relative;z-index:1;color:#262d26}.photo-empty>p{font-size:20px;font-weight:650;letter-spacing:-.6px;line-height:1.2}.photo-empty>span{font-size:12px;color:#667065;margin-top:5px}.photo-empty .photo-kicker{position:absolute;top:18px;left:20px;margin:0;font-size:11px;letter-spacing:.8px;font-weight:620;color:#637763;text-transform:uppercase}
.photo-preview{width:100%;height:100%;object-fit:contain}.photo-stage.has-image{background:var(--surface)}.image-badge{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);background:var(--glass);color:var(--ink);border:1px solid var(--glass-border);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:10px;font-size:11px;font-weight:550;padding:7px 10px}
.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%}.photo-clear{position:absolute;right:10px;top:10px;background:var(--glass);color:var(--ink);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.photo-progress{position:absolute;inset:0;background:var(--glass);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;font-size:15px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.spinner{height:28px;width:28px;border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.photo-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}.photo-tools p{font-size:11px;color:var(--muted)}.text-button{color:var(--green);font-size:14px;font-weight:590;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 0}
.example-link{width:100%;display:flex;align-items:center;text-align:left;gap:13px;padding:16px 2px;min-height:80px}.example-thumb{width:45px;height:45px;overflow:hidden;display:grid;place-items:center;border-radius:14px;background:var(--brand-pear);flex-shrink:0}.example-thumb img{width:72px;max-width:none;height:55px;object-fit:cover}.example-link>span:nth-child(2){flex:1}.example-link strong{font-size:15px;letter-spacing:-.3px;font-weight:630;display:block}.example-link small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.service-notice{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;padding:6px 0}.service-notice .icon{width:15px;height:15px}.status-dot,.row-status-dot{width:6px;height:6px;background:#9a804c;border-radius:50%;flex-shrink:0}.status-dot.available,.row-status-dot.available{background:var(--green)}.scan-footnote,.footnote{font-size:12px;color:var(--muted);text-align:center;line-height:1.6;margin:18px 0}.scan-footnote{margin:5px 0 16px;font-size:11px}.footnote.left{text-align:left}.footnote a{font-weight:550}
.action-dock{position:fixed;z-index:12;left:50%;transform:translateX(-50%);width:min(calc(100% - 40px),492px);bottom:calc(99px + var(--safe-bottom));padding:10px;border-radius:27px;background:var(--glass);border:1px solid var(--glass-border);box-shadow:var(--float-shadow);backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4)}
.action-hint{text-align:center;color:var(--muted);font-size:10px;line-height:1.35;padding:0 5px 8px}.dock-buttons{display:flex;align-items:stretch;gap:8px}.button{min-height:52px;padding:13px 20px;border-radius:17px;font-size:15px;font-weight:630;letter-spacing:-.15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-align:center}.button.primary{background:var(--green);color:var(--on-green);box-shadow:0 3px 7px rgba(26,76,47,.09)}.button.secondary{background:var(--soft);color:var(--ink)}.gallery-button{width:54px;padding:0;background:var(--soft);color:var(--ink);flex-shrink:0}.dock-buttons>.primary{flex:1}.danger-button{background:var(--danger-soft);color:var(--danger)}#cancelAnalysis{width:100%;min-height:34px;padding:5px}
.bottom-nav{position:fixed;z-index:12;bottom:calc(18px + var(--safe-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:stretch;width:min(calc(100% - 72px),340px);padding:5px;border:1px solid var(--glass-border);background:var(--glass);border-radius:28px;box-shadow:var(--float-shadow);backdrop-filter:blur(28px) saturate(1.4);-webkit-backdrop-filter:blur(28px) saturate(1.4);isolation:isolate}
.bottom-nav a{position:relative;z-index:1;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:58px;color:var(--muted);border-radius:23px;font-size:11px;font-weight:560}.bottom-nav .icon{width:23px;height:23px}.bottom-nav a[aria-current="page"]{color:var(--green);font-weight:700;background:var(--green-soft)}.bottom-nav.has-selection-pill a[aria-current="page"]{background:none}.bottom-nav>.selection-pill{top:5px;bottom:5px;border-radius:23px;background:var(--green-soft);box-shadow:none}.nav-count{display:none!important}
.back-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 0 16px}.back-link{min-height:44px;display:inline-flex;align-items:center;gap:2px;font-size:15px;font-weight:540}.back-link .icon{width:19px}.small-label{font-size:11px;color:var(--muted);font-weight:550}.eyebrow{font-size:11px;color:var(--green);font-weight:600;margin:0 0 10px;letter-spacing:.15px}.result-title{font-size:33px;letter-spacing:-1.25px;line-height:1.13}.intro{margin-top:14px;font-size:15px;color:var(--muted);line-height:1.6;letter-spacing:-.1px}.result-image{position:relative;height:210px;border-radius:24px;overflow:hidden;margin:22px 0;background:var(--surface);box-shadow:var(--shadow)}.result-image>img{height:100%;width:100%;object-fit:contain}.section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:29px 2px 12px}.section-label h2{font-size:16px;letter-spacing:-.3px;font-weight:650}.section-label>span,.section-label>a{font-size:11px;color:var(--muted);text-align:right}.section-label>a{color:var(--green)}
.candidate-list{display:grid;gap:10px}.candidate{position:relative;display:flex;align-items:flex-start;gap:12px;padding:18px 16px;border:1.5px solid transparent;border-radius:22px;background:var(--surface);cursor:pointer;box-shadow:var(--shadow);transition:border-color .15s,background-color .15s}.candidate:has(input:checked){border-color:var(--green);background:var(--green-soft)}.candidate-letter{display:grid;place-items:center;border-radius:11px;min-width:30px;height:32px;font-size:14px;font-weight:650;background:var(--soft);color:var(--muted)}.candidate:has(input:checked) .candidate-letter{background:var(--green);color:var(--on-green)}.candidate-copy{min-width:0;flex:1}.candidate-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.candidate-name{font-size:16px;font-weight:630;letter-spacing:-.3px}.selection-ring{width:21px;height:21px;border:1.5px solid var(--faint);border-radius:50%;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;margin-top:1px}.candidate:has(input:checked) .selection-ring,.choice-row:has(input:checked) .selection-ring{background:var(--green);border-color:var(--green)}.candidate:has(input:checked) .selection-ring:after,.choice-row:has(input:checked) .selection-ring:after{content:"";width:8px;height:4px;border:solid var(--on-green);border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg)}.candidate-tag{display:inline-block;font-size:11px;color:var(--green-ink);font-weight:550;margin-top:5px}.candidate-copy p{font-size:13px;color:var(--muted);line-height:1.6;margin-top:9px}.candidate-copy .candidate-evidence{font-size:11px;padding-top:10px;border-top:1px solid var(--line)}
.check-note{display:flex;align-items:flex-start;gap:12px;padding:20px 18px;background:var(--green-soft);border-radius:22px;margin-top:24px;color:var(--green-ink)}.check-note>.icon{width:20px}.check-note h2,.uncertainty-note h2{font-size:15px;letter-spacing:-.2px}.check-note p,.uncertainty-note p{font-size:13px;line-height:1.65;margin-top:6px}.uncertainty-note{padding:20px 4px;color:var(--muted)}.uncertainty-note h2{color:var(--ink)}.disclosure-group{border-radius:20px;background:var(--surface);padding:0 17px;box-shadow:var(--shadow)}details+details{border-top:1px solid var(--line)}summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;font-size:14px;font-weight:570}summary::-webkit-details-marker{display:none}summary .icon{width:17px;height:17px;color:var(--muted)}details[open] summary .icon{transform:rotate(45deg)}details>p,details>ul{font-size:13px;line-height:1.7;color:var(--muted);margin:0;padding:0 0 18px}details>ul{padding-left:18px}details li+li{margin-top:6px}.empty-inline{padding:24px;background:var(--surface);border-radius:22px}.empty-inline h2{font-size:19px}.empty-inline p{font-size:14px;color:var(--muted);margin:12px 0 18px}
.filter-fields{margin-bottom:24px}.list-caption{font-size:12px;color:var(--muted);padding:0 3px;margin-bottom:12px}.pick-list{background:var(--surface);border-radius:24px;padding:0 16px;box-shadow:var(--shadow)}.pick-list:empty{display:none}.pick-row{display:flex;align-items:center;gap:13px;padding:20px 0;color:var(--ink)}.pick-row+.pick-row{border-top:1px solid var(--line)}.pick-symbol{height:44px;width:44px;border-radius:15px;background:var(--green-soft);color:var(--green);display:grid;place-items:center;flex-shrink:0}.pick-row-copy{flex:1;min-width:0}.pick-source{font-size:10px;color:var(--green);font-weight:560}.pick-row h2{font-size:16px;line-height:1.3;letter-spacing:-.3px;margin:3px 0}.pick-row p{font-size:11px;color:var(--muted)}.pick-outcome{font-size:10px;display:inline-block;background:var(--soft);color:var(--muted);padding:3px 7px;border-radius:6px;margin-top:8px}.pick-outcome.recorded{background:var(--green-soft);color:var(--green-ink)}.empty-state{text-align:center;padding:36px 14px 30px}.empty-icon{width:74px;height:74px;border-radius:25px;background:var(--green-soft);color:var(--green);display:grid;place-items:center;margin:0 auto 24px}.empty-icon .identity-mark{height:42px;width:35px}.empty-state h2{font-size:23px;line-height:1.2;letter-spacing:-.7px;max-width:260px;margin:auto}.empty-state p{font-size:14px;color:var(--muted);margin:14px auto 24px;max-width:265px;line-height:1.7}.empty-state .button{min-height:46px;font-size:14px}.context-pills{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.context-pills span{background:var(--soft);color:var(--muted);padding:6px 9px;border-radius:9px;font-size:11px}.outcome-card{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--surface);padding:23px 20px;border-radius:24px;box-shadow:var(--shadow);margin-top:25px}.outcome-card h2{font-size:24px;letter-spacing:-.6px;line-height:1.2;margin-top:8px}.outcome-card p{font-size:12px;color:var(--muted);margin-top:8px}.outcome-card .small-label{letter-spacing:.8px;font-size:10px}.outcome-card .icon-button{background:var(--green-soft);color:var(--green)}
.personal-panel{position:relative;padding:26px;background:var(--surface);border-radius:28px;box-shadow:var(--shadow)}.personal-mark{width:54px;height:54px;background:var(--brand-forest);display:grid;place-items:center;color:var(--brand-pear);border-radius:18px;margin-bottom:24px}.personal-mark .identity-mark{width:28px;height:35px}.personal-panel h2{font-size:27px;letter-spacing:-.9px;line-height:1.2}.personal-panel p{font-size:14px;color:var(--muted);margin-top:10px}.personal-panel .text-button{margin-top:15px;font-size:13px}.personal-panel .text-button .icon{width:15px}.row-group{background:var(--surface);border-radius:22px;padding:0 16px;box-shadow:var(--shadow)}.option-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px 0;min-height:68px;color:var(--ink);font-size:15px;font-weight:510}.option-row+.option-row{border-top:1px solid var(--line)}.option-row>.icon:first-child{color:var(--green);width:21px}.option-row>span:not(.row-status-dot){flex:1;min-width:0}.option-row small,.option-row strong{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.5}.option-row.danger,.option-row.danger>.icon:first-child{color:var(--danger)}.row-status-dot{margin:0 7px}.activity-stats{display:flex;padding:24px 0;background:var(--surface);border-radius:24px;box-shadow:var(--shadow)}.activity-stats>div{flex:1;padding:0 21px}.activity-stats>div+div{border-left:1px solid var(--line)}.activity-stats strong{display:block;font-size:35px;line-height:1.1;letter-spacing:-1px;font-weight:650}.activity-stats span{font-size:11px;color:var(--muted);display:block;margin-top:8px}.profile-links{margin-top:26px}
.appearance-field{margin-top:5px}.appearance-field legend{font-size:16px;font-weight:650;margin-bottom:15px}.appearance-options{display:flex;gap:12px}.appearance-options label{position:relative;flex:1;cursor:pointer;min-width:0}.appearance-options label>span{display:flex;flex-direction:column;align-items:center;gap:12px;font-size:12px;font-weight:570;padding:13px 8px;border:1.5px solid transparent;background:var(--surface);border-radius:20px}.appearance-options input:checked+span{border-color:var(--green);background:var(--green-soft)}.theme-preview{width:53px;height:75px;border-radius:10px;border:1px solid #d7d9d5;background:#f1f3ef;display:flex;flex-direction:column;justify-content:center;padding:7px;gap:5px;overflow:hidden}.theme-preview b{height:9px;width:100%;background:#fff;border-radius:3px}.theme-preview b:first-child{width:70%;height:6px;background:var(--brand-forest)}.theme-preview b:last-child{height:17px;background:var(--brand-pear)}.dark-preview{background:#202621;border-color:#535e54}.dark-preview b{background:#4a584c}.dark-preview b:first-child{background:var(--brand-pear)}.dark-preview b:last-child{background:#375139}.system-preview{background:linear-gradient(90deg,#f1f3ef 50%,#202621 50%)}.system-preview b{background:linear-gradient(90deg,#fff 50%,#4a584c 50%)}.system-preview b:first-child{background:linear-gradient(90deg,var(--brand-forest) 50%,var(--brand-pear) 50%)}.system-preview b:last-child{background:linear-gradient(90deg,var(--brand-pear) 50%,#375139 50%)}.choice-dot{height:17px;width:17px;border-radius:50%;border:1.5px solid var(--faint)}input:checked+span .choice-dot{background:var(--green);border:4px solid var(--green);box-shadow:inset 0 0 0 2px var(--surface)}
.message{font-size:13px;line-height:1.6;padding:14px 16px;border-radius:16px;background:var(--danger-soft);color:var(--danger);margin:16px 0}.consent{margin-top:18px;background:var(--surface);padding:17px;border-radius:20px}.consent label{display:flex;align-items:flex-start;gap:10px;font-size:13px;min-height:44px}.consent input{accent-color:var(--green);width:20px;height:20px;flex-shrink:0;margin:0}.consent p{font-size:11px;color:var(--muted);margin:9px 0 0 30px}.toast{position:fixed;z-index:30;bottom:calc(220px + var(--safe-bottom));left:50%;translate:-50% 0;width:max-content;max-width:min(calc(100% - 40px),470px);background:var(--ink);color:var(--surface);border-radius:17px;padding:13px 18px;font-size:13px;line-height:1.5;box-shadow:var(--float-shadow)}body[data-dock="false"] .toast{bottom:calc(108px + var(--safe-bottom))}
.modal-open{overflow:hidden}.sheet{position:fixed;inset:auto 0 0;width:100%;max-width:540px;max-height:min(88dvh,820px);margin:auto auto 0;padding:0;border:1px solid var(--glass-border);border-bottom:0;border-radius:32px 32px 0 0;background:var(--canvas);color:var(--ink);box-shadow:0 -20px 100px rgba(0,0,0,.1);overflow:hidden}.sheet[open]{display:flex;flex-direction:column}.sheet::backdrop{background:rgba(11,20,13,.3);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.sheet-handle-zone{height:26px;flex-shrink:0;display:flex;justify-content:center;align-items:center;touch-action:none;cursor:grab}.sheet-handle{width:35px;height:5px;background:var(--faint);opacity:.45;border-radius:4px}.sheet-heading{padding:0 18px 12px 24px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0}.sheet-heading h2{font-size:23px;line-height:1.15;letter-spacing:-.7px;font-weight:680}.sheet-heading .icon-button{background:var(--soft);color:var(--muted);width:36px;height:36px;min-width:44px;min-height:44px}.sheet-heading .icon{width:18px;height:18px}.sheet-body{padding:0 24px 22px;overflow:auto;overscroll-behavior:contain;min-height:0}.sheet-body>p{font-size:14px;color:var(--muted);line-height:1.65;margin:4px 0 20px}.sheet-body>h3{font-size:16px;font-weight:650;letter-spacing:-.25px;margin:24px 0 8px}.sheet-body>h3:first-child{margin-top:10px}.sheet-field{margin-top:24px}.sheet-field legend{font-size:13px;font-weight:610;margin-bottom:9px;color:var(--muted)}.choice-list{padding:0 14px;background:var(--surface);border-radius:20px}.choice-row{position:relative;display:flex;align-items:center;gap:12px;padding:14px 0;min-height:54px;font-size:15px;cursor:pointer}.choice-row+.choice-row{border-top:1px solid var(--line)}.choice-row>span:first-of-type{flex:1}.choice-row small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.sheet-actions{padding:14px 24px calc(18px + var(--safe-bottom));border-top:1px solid var(--line);display:flex;gap:10px;flex-shrink:0;background:var(--canvas)}.sheet-actions:empty{padding:0;border:0;height:var(--safe-bottom)}.sheet-actions .button{flex:1}.sheet-actions.vertical{flex-direction:column}.name-field{display:block;font-size:13px;font-weight:580;color:var(--muted);margin-top:22px}.name-field input{display:block;background:var(--surface);color:var(--ink);border:1px solid var(--line);width:100%;border-radius:15px;padding:13px 15px;margin-top:9px;min-height:52px;font-size:16px;user-select:text}.sheet-body .sheet-feedback{color:var(--green-ink);background:var(--green-soft)}.credit-link{font-size:12px;text-decoration:underline}
.drag-over .photo-stage{outline:3px solid var(--green);outline-offset:4px}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:760px){.app-header{padding-top:32px}main{padding-inline:26px}.page-heading{padding-top:34px;padding-bottom:28px}h1{font-size:44px}.photo-stage{height:285px}.scan-plan{padding:20px 20px 0}.plan-summary{min-height:72px}.photo-empty{padding:24px}.photo-empty>p{font-size:24px}.photo-empty>span{font-size:13px}.sheet{inset:auto 0 24px;border:1px solid var(--glass-border);border-radius:30px;max-width:500px;max-height:calc(100dvh - 64px)}.sheet-actions{padding-bottom:20px}.bottom-nav{bottom:22px}.action-dock{bottom:105px}.result-image{height:260px}}
@media(max-width:359px){.app-header{padding-inline:20px}main{padding-inline:20px}h1{font-size:35px}.page-heading p{font-size:14px}.page-heading{padding:24px 0 21px}.scan-plan{padding:16px 12px 0}.segmented label>span{font-size:12px}.plan-summary small{font-size:10px}.photo-stage{height:227px}.photo-empty{padding-inline:17px}.photo-empty>p{font-size:18px}.photo-empty>span{font-size:10px}.photo-empty .photo-kicker{left:17px}.action-dock{width:calc(100% - 28px)}.action-hint{font-size:9px}.button{padding-inline:14px;font-size:14px}.bottom-nav{width:calc(100% - 48px)}.sheet-heading,.sheet-body{padding-left:20px;padding-right:20px}.sheet-heading h2{font-size:21px}.sheet-actions{padding-inline:20px}.result-title{font-size:29px}.section-label>span{max-width:110px}.candidate{padding:16px 12px;gap:9px}.candidate-name{font-size:14px}.appearance-options{gap:8px}.activity-stats>div{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.segmented input:checked+span,.candidate:has(input:checked),.choice-row:has(input:checked),.appearance-options input:checked+span,.bottom-nav a[aria-current="page"]{outline:2px solid Highlight}.button,.icon-button,.sheet{border:1px solid ButtonText}.selection-pill{display:none}}
/* Service availability stays visible before the shopper chooses a photo. */
.app-header>.service-notice{width:auto;min-height:36px;margin-left:auto;border-radius:20px;padding:7px 10px;background:var(--surface);font-size:11px;gap:5px;white-space:nowrap}
.app-header>.service-notice .icon{display:none}
.app-header{gap:9px}.header-link{width:38px;min-width:44px}
@media(max-width:759px){.photo-stage{height:220px}.photo-empty>p{font-size:19px}.cover-photo{object-position:center 44%}}
@media(max-width:359px){.app-header{gap:5px}.app-header>.service-notice{padding-inline:8px;font-size:10px}.photo-stage{height:208px}}
#cancelAnalysis{min-height:44px}
.view-ghost button:disabled{opacity:1}
.sheet-handle-zone{height:44px}
.photo-progress{pointer-events:none}
.segmented label>span{min-height:44px}
.app-header>.service-notice{min-height:44px}
.section-label>a{min-height:44px;display:inline-flex;align-items:center}
.result-status{font-size:11px;color:var(--muted);margin-top:-10px;padding-inline:2px}
@media(max-width:759px){.photo-stage{height:clamp(168px,calc(100svh - 660px),250px)}}
/* Keep decorative fruit clear of its caption at compact phone heights. */
.photo-empty .photo-kicker{display:none}
.cover-photo{transform:translateY(-26px)}

/* The identity stays quiet and consistent beyond the main header. */
.page-heading .preview-notice{font-size:13px;line-height:1.55;color:var(--green-ink);background:var(--green-soft);border-radius:14px;padding:11px 13px;margin-top:16px;letter-spacing:0}
.example-thumb .preview-photo-icon{display:none}.photo-preview-link .example-thumb{display:grid;place-items:center;background:var(--green-soft);color:var(--green)}.photo-preview-link .example-thumb img{display:none}.photo-preview-link .example-thumb .preview-photo-icon{display:block;width:23px;height:23px}
.heading-with-action>div{min-width:0}.view h1,.view h2,.view p,.candidate-copy,.pick-row-copy,.sheet-body p,.sheet-feedback{overflow-wrap:anywhere}

/* Guided entry: one clear next action, while preserving the existing notebook. */
html[data-entry="welcome"] #scanView,html[data-entry="welcome"] .action-dock,html[data-entry="welcome"] .bottom-nav{display:none!important}
html[data-entry="welcome"] #welcomeView[hidden]{display:block!important}
html[data-entry="welcome"] main{padding-bottom:32px}
body[data-welcome="true"] main{padding-bottom:32px}
.welcome-view{padding-top:24px}.welcome-art{height:148px;border-radius:26px;background:var(--green-soft);overflow:hidden;position:relative;margin-bottom:25px}.welcome-art>img{width:100%;height:100%;object-fit:cover;object-position:50% 45%}.welcome-tag{position:absolute;bottom:12px;left:14px;display:flex;align-items:center;gap:7px;padding:7px 11px;background:var(--surface);border-radius:30px;font-size:12px;font-weight:600;color:var(--green-ink)}.welcome-tag .icon{width:15px;height:15px}.welcome-view h1{font-size:35px;line-height:1.1;letter-spacing:-1.3px;max-width:440px}.welcome-intro{margin-top:12px;font-size:16px;color:var(--muted)}.welcome-steps{list-style:none;padding:0;margin:25px 0;display:grid;gap:17px}.welcome-steps li{display:flex;gap:12px;align-items:flex-start}.welcome-steps li>span{display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;border-radius:50%;color:var(--green-ink);background:var(--green-soft);font-size:13px;font-weight:650}.welcome-steps strong{font-size:15px;display:block}.welcome-steps p{font-size:13px;color:var(--muted);margin-top:3px}.welcome-mode{display:flex;align-items:flex-start;gap:9px;color:var(--muted);padding:13px 15px;border:1px solid var(--line);border-radius:17px;font-size:12px}.welcome-mode .icon{width:18px;height:18px}.welcome-actions{display:grid;gap:5px;margin-top:20px}.welcome-actions .button{width:100%;min-height:54px;justify-content:space-between}.welcome-actions>.text-button{font-size:13px}.scan-heading-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.scan-heading-row>.text-button{font-size:12px;white-space:nowrap}
.guide-card{margin-top:22px;padding:12px 16px 8px;border-radius:21px;background:var(--green-soft);color:var(--green-ink);contain:layout style}.guide-meta{display:flex;justify-content:space-between;align-items:center;gap:10px}.guide-meta>span{font-size:10px;font-weight:700;letter-spacing:1px}.guide-meta .text-button{min-height:32px;font-size:11px;color:var(--green-ink);padding:4px 0}.guide-track{display:flex;gap:5px;margin:2px 0 13px}.guide-track span{height:3px;flex:1;border-radius:3px;background:var(--green-ink);opacity:.2;transition:opacity .16s}.guide-track span:first-child,.guide-card[data-step="2"] .guide-track span:nth-child(2),.guide-card[data-step="3"] .guide-track span{opacity:1}.guide-card h2{font-size:17px;line-height:1.3;letter-spacing:-.3px}.guide-card>p{font-size:12px;line-height:1.55;margin-top:6px}.guide-card>.text-button{color:var(--green-ink);font-size:12px;justify-content:flex-start;text-align:left}.guide-card+.view .page-heading{padding-top:22px}#manualCheckSection,#timingFields{scroll-margin-top:20px;scroll-margin-bottom:240px}
/* Static surfaces avoid continuously sampling/repainting the scrolling page. */
.action-dock,.bottom-nav{background:var(--surface-raised);backdrop-filter:none;-webkit-backdrop-filter:none}
.photo-progress{background:var(--surface);backdrop-filter:none;-webkit-backdrop-filter:none;gap:12px}.photo-progress small{font-size:11px;color:var(--muted);text-align:center}.scan-frame{display:block;width:68px;height:56px;border:2px solid var(--green);border-radius:13px;overflow:hidden;position:relative}.scan-line{position:absolute;inset:7px 7px auto;height:2px;background:var(--green);box-shadow:0 -6px 12px var(--green-soft);animation:scan-sweep 1.25s ease-in-out infinite alternate;will-change:transform}@keyframes scan-sweep{from{transform:translateY(0)}to{transform:translateY(36px)}}
.sheet::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none;animation:backdrop-in .16s ease-out both}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
html,body,.app-shell{transition:background-color .14s ease,color .14s ease}
.selection-ring,.candidate-letter,.choice-dot{transition:background-color .14s,border-color .14s,color .14s}.selection-ring:after{animation:check-in .14s ease-out both}@keyframes check-in{from{opacity:0;scale:.65}to{opacity:1;scale:1}}
summary .icon{transition:transform .16s ease}.photo-preview,.photo-empty{contain:layout paint}.pick-row{content-visibility:auto;contain-intrinsic-size:auto 145px}
@media(max-width:359px){.welcome-view h1{font-size:30px}.welcome-art{height:128px}.welcome-steps{gap:14px}.scan-heading-row>.text-button{font-size:11px}.guide-card{padding-inline:13px}}
@media(prefers-reduced-motion:reduce){.scan-line{animation:none;transform:translateY(18px)}.sheet::backdrop{animation:none}}
.action-hint{font-size:11px;line-height:1.45}.action-dock{max-width:calc(100% - 28px)}
.credit-link{display:inline-block;min-height:44px;padding-block:10px}
.brand-signoff{display:flex;align-items:center;justify-content:center;gap:12px;margin:28px 0 10px;color:var(--muted);font-size:11px;line-height:1.6}.brand-signoff .identity-mark{width:22px;height:28px;color:var(--green)}
@media(forced-colors:active){.brand-logo-primary{display:block!important}.brand-logo-reversed{display:none!important}.brand{background:#fff;forced-color-adjust:none}.identity-mark{color:CanvasText}.personal-mark{background:Canvas;border:1px solid CanvasText}}

/* REQUEST-007: each view asks for one decision; details are available on demand. */
.welcome-view{padding-top:16px}.welcome-art{height:auto;aspect-ratio:1.7;background:#dfb86a;margin-bottom:24px;border-radius:25px}.welcome-art>img{object-fit:cover;object-position:center;width:100%;height:100%}.welcome-view h1{font-size:40px;line-height:1.08;letter-spacing:-1.6px}.welcome-intro{max-width:30em;font-size:16px;line-height:1.5}.welcome-actions{margin-top:24px}.welcome-actions .button{justify-content:center;gap:16px}.welcome-source{font-size:10px;color:var(--muted);text-align:center;margin-top:8px}
.capture-view .page-heading{padding-top:25px;padding-bottom:20px}.capture-view h1{font-size:34px;line-height:1.1;letter-spacing:-1.3px}.capture-view .page-heading p{font-size:14px;margin-top:10px}.capture-view .photo-stage{height:clamp(145px,27svh,260px);margin-top:0;border-radius:24px}.capture-view .photo-empty>p,.capture-view .photo-empty>span{display:none}.capture-view .cover-photo{transform:none;object-position:50% 45%;opacity:1}.capture-view .photo-empty:after{display:none}.capture-availability{font-size:12px;color:var(--muted);line-height:1.45;margin:14px 2px 0}.practice-link{font-size:13px;padding-left:0;gap:5px;justify-content:flex-start;min-height:44px}.practice-link .icon{width:16px;height:16px}.gallery-button{width:auto;padding-inline:13px;gap:7px;font-size:13px}.gallery-button .icon{width:19px;height:19px}.action-dock{padding:8px;border-radius:23px}.action-hint{font-size:10px;padding-bottom:7px}.dock-buttons>.primary{min-width:0}.action-dock .button{border-radius:16px}
.capture-view .capture-availability{margin:0 2px 12px;color:var(--ink)}.capture-view .page-heading{padding-bottom:12px}.gallery-button{flex-shrink:1;min-width:0}.gallery-button span{min-width:0}.empty-inline #noCandidateReason{margin-bottom:16px}
.plan-photo-stage{position:relative;background:var(--surface);border-radius:23px;overflow:hidden;margin:20px 0 18px;max-height:230px;display:flex;align-items:center;justify-content:center}.plan-photo-stage>img{display:block;width:100%;max-height:230px;object-fit:contain}.plan-view .scan-plan{margin:0;padding:0;background:none;box-shadow:none;border:0}.plan-view .plan-summary{margin-top:12px;min-height:58px;background:var(--surface);padding:8px 13px;border-radius:17px;border:1px solid var(--line)}.plan-view .plan-summary small{font-size:11px}.plan-view .plan-summary strong{font-size:13px}.plan-view .consent{margin-top:15px;padding:13px}.plan-view .consent label{font-size:12px}.plan-view .back-row{padding-top:15px;padding-bottom:12px}
.comparison-view .back-row{padding-top:15px;padding-bottom:8px}.comparison-view .eyebrow{font-size:11px;margin-bottom:8px}.comparison-view .result-title{font-size:29px;letter-spacing:-1px}.comparison-view .result-image{height:auto;margin:18px 0 14px;border-radius:22px;line-height:0}.comparison-view .result-image>img{display:block;height:auto;width:100%;object-fit:contain}.candidate-markers{position:absolute;inset:0;pointer-events:none}.photo-marker{position:absolute;transform:translate(-50%,-50%);height:30px;width:30px;display:grid;place-items:center;line-height:1;border-radius:50%;font-size:13px;font-weight:750;color:#243626;background:#fff7e6;border:2px solid #fff;box-shadow:0 3px 13px #29210e3b;transition:background-color .18s,color .18s,scale .18s}.photo-marker.selected{background:#244f34;color:#fff;border-color:#fff;scale:1.15}.comparison-view .candidate-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.comparison-view .candidate{padding:11px 10px;gap:8px;border-radius:17px;min-width:0;align-items:center;margin:0;display:flex}.comparison-view .candidate-copy{flex:1;min-width:0}.comparison-view .candidate-name{font-size:19px;font-weight:700;display:block}.candidate-position{display:block;font-size:11px;color:var(--muted);margin-top:1px}.comparison-view .selection-ring{width:17px;height:17px;flex-shrink:0}.selected-explanation{padding:17px 2px 11px;min-height:101px}.selected-explanation h2{font-size:19px;line-height:1.25;letter-spacing:-.45px}.selected-explanation p{font-size:14px;color:var(--muted);line-height:1.5;margin-top:6px}.selected-explanation .eyebrow{display:block;margin:0 0 4px;color:var(--green)}.comparison-view .result-status{margin:0 2px 15px;font-size:11px}.comparison-view .check-note{margin:0 0 16px;padding:13px;gap:10px;border-radius:18px}.comparison-view .check-note h2{font-size:12px}.comparison-view .check-note p{font-size:12px;line-height:1.5;margin-top:3px}.comparison-view .disclosure-group{margin-top:0}.comparison-view details p,.comparison-view details li{font-size:13px}.photo-tools{margin:9px 0 0}.photo-tools p{font-size:11px}.image-badge{max-width:calc(100% - 65px);font-size:10px}
#youView .personal-panel{padding:20px}#youView .personal-panel>p{margin-top:6px}#youView .personal-mark{display:none}#youView .page-heading p{display:none}#youView .personal-panel h2{font-size:22px}#youView .activity-stats{margin-top:0}#picksView .page-heading p{display:none}
@media(max-width:359px){.welcome-view{padding-top:10px}.welcome-art{margin-bottom:18px}.welcome-view h1{font-size:33px}.welcome-intro{font-size:14px}.welcome-actions{margin-top:18px}.capture-view .page-heading{padding-top:15px;padding-bottom:16px}.capture-view h1{font-size:29px}.capture-view .page-heading p{font-size:13px}.capture-view .photo-stage{height:150px}.capture-availability{font-size:11px;margin-top:11px}.plan-photo-stage,.plan-photo-stage>img{max-height:175px}.plan-view .result-title{font-size:27px}.comparison-view .result-title{font-size:26px}.comparison-view .candidate{padding:10px 8px;gap:3px}.comparison-view .candidate-position{font-size:10px}.selected-explanation p{font-size:13px}.gallery-button{padding-inline:10px;font-size:12px}.action-dock .button{font-size:13px}.action-dock{bottom:calc(93px + var(--safe-bottom))}.bottom-nav{bottom:calc(13px + var(--safe-bottom))}.bottom-nav a{min-height:52px}}
@media(min-width:760px){.welcome-art{max-height:270px}.capture-view .photo-stage{height:265px}.plan-photo-stage,.plan-photo-stage>img{max-height:280px}.comparison-view .result-image{max-height:none}.comparison-view .result-title{font-size:34px}}
/* Keep the eating-day decision above the fixed action on short phones. */
@media(max-width:759px) and (max-height:650px){.plan-view .back-row{padding-top:8px;padding-bottom:6px}.plan-photo-stage{margin-top:12px;margin-bottom:12px}.plan-photo-stage,.plan-photo-stage>img{max-height:clamp(90px,calc(100svh - 468px),160px)}.plan-view .plan-summary{margin-top:8px}}

/* REQUEST-011: real controls teach one action at a time, without a blocking veil. */
.walkthrough-card{margin:12px 0 18px;padding:14px 16px 16px;border:1px solid var(--line);border-radius:21px;background:var(--green-soft);color:var(--green-ink);scroll-margin-top:12px}
.walkthrough-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.walkthrough-meta>span{font-size:10px;font-weight:750;letter-spacing:.65px}
.walkthrough-meta .text-button{padding:0;min-height:44px;font-size:11px;color:inherit;white-space:nowrap}
.walkthrough-card h2{font-size:20px;line-height:1.25;letter-spacing:-.4px}
.walkthrough-card p{font-size:13px;line-height:1.5;margin-top:7px}
[data-guide-target]{outline:3px solid var(--green);outline-offset:5px;border-radius:17px;scroll-margin-block:18px}
[data-guide-lock]{opacity:.38;cursor:default}
.photo-stage:not(.has-image){display:none}
body[data-guide-step="photo"] .photo-stage{display:block}
body[data-guide-step="photo"] #exampleButton{width:100%;justify-content:center;margin-top:16px}
body[data-guide-step="photo"] .capture-view .page-heading{display:none}
body[data-guide-step="photo"] .capture-view .photo-stage{height:clamp(100px,19svh,155px)}
body[data-guide-step]:not([data-guide-step=""]) .view .page-heading{padding-top:4px}
body[data-guide-step]:not([data-guide-step=""]) .capture-view .photo-stage{height:clamp(100px,19svh,155px)}
body[data-guide-step]:not([data-guide-step=""]) .plan-photo-stage,body[data-guide-step]:not([data-guide-step=""]) .plan-photo-stage>img{max-height:135px}
body[data-guide-step]:not([data-guide-step=""]) .plan-view #planDetails{display:none}
body[data-guide-step]:not([data-guide-step=""]) .comparison-view .result-image{max-height:200px;margin-top:12px}
body[data-guide-step]:not([data-guide-step=""]) .comparison-view .result-image>img{max-height:200px;object-fit:contain}
body[data-guide-step="choice"] #manualCheckSection,body[data-guide-step="choice"] .comparison-view .disclosure-group{display:none}
body[data-guide-step="check"] .comparison-view .result-image,body[data-guide-step="save"] .comparison-view .result-image,body[data-guide-step="picks"] .comparison-view .result-image{display:none}
body[data-guide-step="picks"] #manualCheckSection,body[data-guide-step="picks"] .comparison-view .disclosure-group{display:none}
body[data-guide-step="record"] .filter-fields{display:none}
body[data-guide-step="finish"] #detailView .disclosure-group{display:none}
body[data-guide-step]:not([data-guide-step=""]) .comparison-view .back-row,
body[data-guide-step]:not([data-guide-step=""]) #resultTitle,
body[data-guide-step]:not([data-guide-step=""]) #resultSource,
body[data-guide-step]:not([data-guide-step=""]) #assessmentStatus{display:none}
body[data-guide-step="choice"] .comparison-view .result-image{width:min(100%,220px);margin:10px auto 14px}
body[data-guide-step="check"] #candidateList,body[data-guide-step="save"] #candidateList{display:none}
body[data-guide-step]:not([data-guide-step=""]) .action-dock{bottom:calc(16px + var(--safe-bottom))}
body[data-guide-step]:not([data-guide-step=""]) main{padding-bottom:120px}
body[data-guide-step="photo"] main,body[data-guide-step="timing"] main,body[data-guide-step="choice"] main,body[data-guide-step="check"] main,body[data-guide-step="record"] main{padding-bottom:35px}
@media(max-height:650px){body[data-guide-step]:not([data-guide-step=""]) .plan-photo-stage,body[data-guide-step]:not([data-guide-step=""]) .plan-photo-stage>img{max-height:90px}body[data-guide-step]:not([data-guide-step=""]) .walkthrough-card{margin-bottom:10px}}
@media(max-width:359px){.walkthrough-card{padding:10px 12px 13px;margin-top:6px}.walkthrough-meta{gap:5px}.walkthrough-meta>span{font-size:9px;letter-spacing:.1px}.walkthrough-meta .text-button{font-size:10px}.walkthrough-card h2{font-size:18px}.walkthrough-card p{font-size:12px}.walkthrough-card+.view .result-title{font-size:25px}}
@media(forced-colors:active){[data-guide-target]{outline-color:Highlight}.walkthrough-card{border-color:CanvasText}}
