/* v10: presentation-only polish; original scripts/macros remain unchanged. */
:root { --ui-selected-bg:#153a37; --ui-selected-text:#8ef4e6; --ui-warning:#ffae9d; --ui-warning-bg:#241b20; }
html[data-theme="light"] { --ui-selected-bg:var(--tint); --ui-selected-text:var(--accent); --ui-warning:#963c27; --ui-warning-bg:#fff2eb; }
html[data-variant="03-sage"] { --ui-selected-bg:var(--accent); --ui-selected-text:#fdfcf7; }
.ui-icon { display:block; width:22px; height:22px; flex:none; }
.hero h1 { font-weight:800; letter-spacing:-.9px; }
.hero h1>span { font-weight:600; letter-spacing:-.25px; }
.capabilities { gap:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface); }
.capabilities .capability { grid-template-columns:44px minmax(0,1fr); min-height:55px; border:0; border-radius:0; background:transparent; }
.capabilities .capability+.capability { border-top:1px solid var(--line); }
.capabilities .cap-icon { color:var(--accent); background:transparent; border:0; }
.capabilities .coral .cap-icon { color:var(--ui-warning); background:transparent; }
.capability>div { padding:9px 12px 9px 1px; }
.capability strong { font-size:13px; font-weight:650; letter-spacing:-.1px; }
.capability small { font-size:12px; line-height:1.4; margin-top:3px; }
.search-panel { margin-top:21px; }
.search-panel h2 { font-size:14px; font-weight:650; margin-bottom:11px; }
.type-tabs { position:relative; isolation:isolate; grid-template-columns:repeat(5,minmax(0,1fr)); padding:4px; gap:3px; border:1px solid var(--line); border-radius:11px; background:var(--surface); }
.type-tabs .type-tab { position:relative; z-index:1; min-height:44px; border:0; border-radius:7px; background:transparent; color:var(--muted); font-size:12px; font-weight:600; }
.type-tabs .type-tab[aria-selected="true"] { color:var(--ui-selected-text); background:var(--ui-selected-bg); box-shadow:none; }
.type-tabs[data-enhanced] .type-tab[aria-selected="true"] { background:transparent; }
.type-tabs::before { content:''; display:none; position:absolute; z-index:0; top:4px; bottom:4px; left:0; width:var(--tab-indicator-width); transform:translateX(var(--tab-indicator-x)); border-radius:7px; background:var(--ui-selected-bg); }
.type-tabs[data-enhanced]::before { display:block; }
.type-tabs .type-tab:focus-visible { outline-offset:-2px; }
.input-shell { min-height:54px; background:var(--surface); border-radius:12px; box-shadow:none; }
.input-shell:focus-within { box-shadow:none; border-color:var(--accent); outline:1px solid var(--accent); outline-offset:0; }
.input-shell>span { display:grid; place-items:center; }
.input-shell input { font-size:18px; font-weight:500; }
.hint { font-size:11px; margin-top:7px; margin-bottom:12px; }
.primary { font-weight:750; box-shadow:none; gap:12px; }
.primary>span { display:grid; place-items:center; }
.primary .ui-icon { width:21px; height:21px; }
.additional>summary, .privacy-note, .footer .text-link { font-size:12px; }
.additional>summary { color:var(--muted); }
#registration-dialog h2 { font-weight:750; letter-spacing:-.5px; }
#registration-dialog .gate-intro { font-size:13px; }
.gate-steps strong { font-size:14px; font-weight:650; }
.gate-steps div>span { font-size:12px; }
.gate-steps li { background:transparent; border:0; border-radius:0; padding:10px 0; }
.gate-steps li+li { border-top:1px solid var(--line); }
.gate-steps { gap:0; }
html[data-theme="light"] .gate-steps li { background:transparent; }
.dialog-close { display:grid; place-items:center; }
.dialog-close .ui-icon { width:20px; height:20px; }
#registration-dialog .screen-note { font-size:11px; }
#registration-dialog .secondary { font-size:12px; }
#summary-view .screen-title { font-weight:800; }
#summary-view .preview-heading h3 { font-weight:700; font-size:18px; }
#summary-view .preview-heading p { font-size:12px; line-height:1.5; }
#summary-view .report-inventory { font-size:11px; gap:12px; margin-bottom:10px; }
#summary-view .report-inventory .inventory-example { font-size:9px; }
.report-sheet { overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
#summary-view .report-sheet .photo-evidence { margin:0; padding:14px; border:0; border-radius:0; background:transparent; }
.photo-heading h4 { font-size:14px; font-weight:650; color:var(--text); }
html[data-theme="light"] .photo-heading h4 { color:var(--text); }
.photo-example { color:var(--muted); border-color:var(--line); font-size:10px; }
.photo-caption, .photo-strip figcaption { color:var(--muted); font-size:11px; }
html[data-theme="light"] .photo-caption, html[data-theme="light"] .photo-strip figcaption { color:var(--muted); }
.photo-caption { margin-bottom:12px; }
.photo-frame { height:94px; border-radius:6px; }
.photo-lock { display:grid; place-items:center; width:30px; height:30px; top:50%; transform:translate(-50%,-50%); border:0; background:rgb(8 15 24 / .55); border-radius:50%; color:#fff; }
.photo-lock::before,.photo-lock::after { display:none; }
.photo-lock .ui-icon { width:16px; height:16px; }
#summary-view .dossier-document { gap:0; }
#summary-view .report-sheet .dossier-section { margin:0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; }
#summary-view .report-sheet .dossier-attention,
html[data-theme="light"] #summary-view .report-sheet .dossier-attention { background:var(--ui-warning-bg); }
#summary-view .report-sheet .dossier-heading { padding:12px 14px 9px; gap:10px; background:transparent; }
#summary-view .report-sheet .dossier-heading h4 { color:var(--text); font-size:14px; font-weight:650; line-height:1.3; }
#summary-view .report-sheet .dossier-icon { width:22px; height:24px; flex-basis:22px; border:0; border-radius:0; background:transparent; color:var(--accent); }
#summary-view .report-sheet .dossier-attention .dossier-icon,
#summary-view .report-sheet .dossier-attention .dossier-heading h4,
html[data-theme="light"] #summary-view .report-sheet .dossier-attention .dossier-icon,
html[data-theme="light"] #summary-view .report-sheet .dossier-attention .dossier-heading h4 { color:var(--ui-warning); background:transparent; }
#summary-view .report-sheet .dossier-attention .dossier-description { margin:0 14px 9px; padding:0; background:transparent; color:var(--muted); font-size:11px; line-height:1.5; }
#summary-view .report-sheet .dossier-fields { border-top:0; }
#summary-view .report-sheet .dossier-field { padding:8px 14px 12px; background:transparent; border-color:var(--line); }
#summary-view .report-sheet .dossier-field dt { color:var(--muted); font-size:11px; font-weight:400; }
#summary-view .report-sheet .dossier-field dd { margin-top:6px; }
#summary-view .report-closing { border-top:0; padding-top:0; margin-top:16px; }
#summary-view .report-closing>span { display:grid; place-items:center; width:22px; min-width:22px; }
#summary-view .report-closing strong { font-weight:650; font-size:14px; }
#summary-view .report-closing p { font-size:11px; }
#summary-view .result-actions { border-top:0; }
#summary-view .result-actions .screen-note { font-size:11px; }
@media(max-width:360px) {
 .hero { padding-top:5px; padding-bottom:10px; }
 .hero h1>span { font-size:18px; }
 .capabilities .capability { min-height:46px; grid-template-columns:37px minmax(0,1fr); }
 .capabilities .cap-icon .ui-icon { width:19px; height:19px; }
 .capability>div { padding:7px 9px 7px 0; }
 .capability strong { font-size:12px; }
 .capability small { font-size:10px; line-height:1.35; margin-top:2px; }
 .search-panel { margin-top:9px; }
 .search-panel h2 { font-size:13px; margin-bottom:9px; }
 .type-tabs { padding:3px; gap:2px; }
 .type-tabs::before { top:3px; bottom:3px; }
 .type-tabs .type-tab { font-size:11px; }
 .input-shell { min-height:48px; }
 .input-shell input { font-size:16px; }
 .hint { font-size:10px; margin:6px 0 10px; }
 .privacy-note { font-size:10px; }
 .additional>summary { font-size:11px; }
 #registration-dialog .gate-intro { font-size:12px; }
 .gate-steps strong { font-size:13px; }
 .gate-steps div>span { font-size:11px; }
 #summary-view .report-sheet .photo-evidence { padding:12px; }
 .photo-heading h4 { font-size:13px; }
 .photo-frame { height:80px; }
 .photo-strip figcaption { font-size:10px; }
 #summary-view .report-sheet .dossier-heading { padding-inline:12px; gap:8px; }
 #summary-view .report-sheet .dossier-heading h4 { font-size:13px; }
 #summary-view .report-sheet .dossier-field { padding-inline:12px; }
}
@media(prefers-reduced-motion:no-preference) {
 .view { animation:none; }
 .type-tabs[data-motion-ready]::before { transition:transform 180ms cubic-bezier(.2,.7,.2,1); }
 .input-shell { transition:border-color 150ms ease; }
 .primary { transition:transform 120ms ease,filter 120ms ease; }
 .primary:active { transform:scale(.98); }
 #prepare-view .screen-title, #prepare-view .subject { animation:ui-reveal 200ms ease-out both; }
 #summary-view:not([hidden]) .report-sheet>.photo-evidence { animation:ui-reveal 220ms ease-out both; }
 #summary-view:not([hidden]) .report-sheet .dossier-section { animation:ui-reveal 220ms ease-out both; }
 #summary-view .dossier-section:nth-child(1) { animation-delay:40ms; }
 #summary-view .dossier-section:nth-child(2) { animation-delay:80ms; }
 #summary-view .dossier-section:nth-child(3) { animation-delay:120ms; }
 #summary-view .dossier-section:nth-child(4) { animation-delay:160ms; }
 dialog[open] { animation:ui-dialog-in 200ms cubic-bezier(.2,.7,.2,1) both; }
 dialog[open]::backdrop { animation:ui-backdrop-in 180ms ease-out both; }
 @keyframes ui-reveal { from { opacity:.45; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
 @keyframes ui-dialog-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
 @keyframes ui-backdrop-in { from { opacity:0; } to { opacity:1; } }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
