:root{--core-blue:#006aff;--core-pressed:#0052cc;--core-selected:#eaf2ff;--core-surface:#f5f7fa;--core-text:#17212f;--core-muted:#5d6878;--core-border:#e3e8ef;--core-success:#18794e;--core-warning:#946200;--core-error:#c53030}
.core-auth-signout{display:none}.app-shell:has(.core-page){max-width:760px;padding:0 20px calc(100px + env(safe-area-inset-bottom));margin:0 auto;background:#fff;box-shadow:none;border:0;border-radius:0;min-height:100vh}.core-page,.core-dialog{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--core-text);font-size:1.0rem;line-height:1.5}.core-page *,.core-dialog *{box-sizing:border-box}.core-page h1{font-size:1.75rem;line-height:1.22;font-weight:700;letter-spacing:-.6px;margin:0}.core-page h2,.core-dialog h2{font-size:1.25rem;line-height:1.4;margin:0;font-weight:600}.core-page h3{font-size:1.125rem;margin:0;line-height:1.4}.core-page p{margin:8px 0 16px}.core-page-header{display:flex;align-items:center;justify-content:space-between;padding:32px 0 24px;gap:16px}.core-card{background:white;border:1px solid var(--core-border);border-radius:20px;padding:20px;box-shadow:none;margin:0 0 20px}.core-primary,.core-secondary{font:600 1rem/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:12px;text-decoration:none;cursor:pointer;white-space:normal;text-align:center;border:1px solid transparent;background:var(--core-blue);color:#fff;gap:8px}.core-secondary{border-color:var(--core-border);background:white;color:var(--core-blue)}.core-primary:active{background:var(--core-pressed)}.core-primary:disabled,.core-secondary:disabled{background:var(--core-surface);color:var(--core-muted);border-color:var(--core-border);cursor:default}.core-page :focus-visible,.core-dialog :focus-visible,#primary-navigation :focus-visible{outline:3px solid var(--core-blue);outline-offset:3px}.core-credit{display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:center;background:var(--core-surface);border:0}.core-label,.core-muted,.core-row-copy small,.core-pack small{color:var(--core-muted)}.core-number{font-size:1.625rem;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.core-credit-large{display:flex;align-items:flex-start;flex-direction:column;padding:24px}.core-credit-large .core-number{font-size:2.5rem;margin:8px 0}.core-credit small,.core-credit p{grid-column:1/-1}.core-warning{color:var(--core-warning)}.core-new{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px}.core-eyebrow{display:block;font-size:0.75rem;letter-spacing:1px;color:var(--core-muted);margin-bottom:8px}.core-section{margin:28px 0}.core-section>h2{margin-bottom:16px}.core-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.core-tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.core-tool-grid .core-card{margin:0;display:flex;flex-direction:column;align-items:flex-start}.core-tool-grid a{margin-top:auto}.core-tool-grid p{color:var(--core-muted)}.core-project-row,.core-list-row,.core-profile{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:64px;padding:16px 0;background:transparent;border:0;border-bottom:1px solid var(--core-border);text-align:left;color:var(--core-text);font:inherit}.core-project-row,.core-profile,button.core-list-row{cursor:pointer}.core-row-copy{flex:1;min-width:0}.core-row-copy strong,.core-row-copy small{display:block;overflow-wrap:anywhere}.core-row-copy small{font-size:0.875rem;margin-top:4px}.core-project-icon,.core-avatar{width:48px;height:48px;flex-shrink:0;border-radius:12px;background:var(--core-surface);display:grid;place-items:center;font-size:1.5rem}.core-avatar{border-radius:50%;overflow:hidden}.core-avatar img{width:100%;height:100%;object-fit:cover}.core-profile{margin-bottom:24px;border:0}.core-menu{padding-top:4px;padding-bottom:4px}.core-menu .core-list-row:last-child{border:0}.core-empty{text-align:center;padding:32px}.core-empty h3{margin-bottom:20px}.core-plan{padding:24px}.core-plan-popular{background:var(--core-selected);border-color:var(--core-blue)}.core-price strong{font-size:2.25rem;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.core-price span{color:var(--core-muted);display:inline-block}.core-included{font-size:1.25rem;font-weight:600}.core-badge{display:inline-flex;border-radius:8px;padding:4px 8px;background:#fff;color:var(--core-pressed);font-size:0.75rem;font-weight:600;border:1px solid var(--core-border)}.core-unit{color:var(--core-muted);font-size:0.875rem}.core-plan>.core-primary,.core-plan>.core-secondary{width:100%}.core-pack{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--core-border)}.core-pack:last-child{border:0}.core-pack small{display:block}.core-error{padding:16px;background:#fff5f5;color:var(--core-error);border:1px solid #f2caca;border-radius:12px;margin-bottom:16px;overflow-wrap:anywhere}.core-error button{margin-top:8px}.core-purchase-status:empty{display:none}.core-purchase-status{margin-bottom:20px}.core-dialog{width:min(90vw,520px);max-height:85dvh;border:1px solid var(--core-border);border-radius:24px;padding:24px;background:white;box-shadow:0 8px 24px #17212f14}.core-dialog::backdrop{background:#17212f55}.core-dialog .core-page-header{padding-top:0}.bottom-navigation#primary-navigation{height:auto;min-height:64px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--core-border);box-shadow:none;display:flex;justify-content:space-around;border-radius:0}.bottom-navigation#primary-navigation[hidden]{display:none!important}#primary-navigation .nav-item{flex:1;min-width:0;min-height:48px;padding:4px;background:transparent;color:var(--core-muted);border:0;border-radius:8px;box-shadow:none;transform:none;font-size:0.6875rem}#primary-navigation .nav-item svg{width:22px;height:22px;background:none;border-radius:0;padding:0;box-shadow:none}#primary-navigation .nav-item.is-active{color:var(--core-blue);background:var(--core-selected)}#primary-navigation .nav-capture{position:static;width:auto;height:auto;margin:0;transform:none;background:none;color:var(--core-muted)}body:has(.core-page){background:white}body:has(dialog[open]) #primary-navigation{display:none!important}@media(max-width:370px){.core-tool-grid{grid-template-columns:1fr}.core-new{flex-wrap:wrap}.core-price strong{font-size:2.0rem}}@media(prefers-reduced-motion:reduce){.core-page *{scroll-behavior:auto!important}}
/* Scope wins over the older Scheme C shell without changing editor pages. */
#app:has(>.core-page){background:#fff;max-width:760px;padding:0 20px calc(100px + env(safe-area-inset-bottom));margin:0 auto}html body:has(.core-page){background:#fff;color:var(--core-text)}
#primary-navigation .nav-capture span{position:static;width:auto;height:auto;overflow:visible;clip-path:none}#primary-navigation{bottom:0}.core-page button:disabled{opacity:1}.core-row-copy,.core-tool-grid>*,.core-plan{min-width:0}.core-page h1,.core-page h2,.core-page h3{overflow-wrap:anywhere}
/* Phase 3: project list and detail share Phase 2 primitives. */
.project-toolbar{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:24px}.project-filters{display:flex;gap:4px;flex-wrap:wrap;background:var(--core-surface);padding:4px;border-radius:14px}.project-filters button{background:transparent;color:var(--core-muted);border:0}.project-filters [aria-pressed=true]{background:var(--core-selected);color:var(--core-pressed)}.project-row{padding:16px;margin-bottom:16px}.project-open{display:flex;align-items:center;gap:16px;width:100%;border:0;background:transparent;padding:0;text-align:left;color:var(--core-text);font:inherit;min-height:80px}.project-open .core-badge{margin-top:8px}.project-thumb{position:relative;display:grid;place-items:center;flex-shrink:0;width:88px;aspect-ratio:4/3;border-radius:12px;background:var(--core-surface);overflow:hidden;color:var(--core-muted);font-size:1.5rem}.project-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--core-surface)}.project-menu{margin-top:8px;text-align:right}.project-menu summary{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer;list-style:none}.project-menu button{margin:4px}.project-detail .core-page-header{justify-content:flex-start}.project-detail .core-page-header h1{font-size:1.25rem}.project-summary>h2{font-size:1.5rem;margin-bottom:12px;overflow-wrap:anywhere}.project-summary .core-muted{margin-bottom:0}.project-progress{margin-top:20px}.project-progress span{display:block;margin-bottom:10px}.project-progress progress{width:100%;height:8px;accent-color:var(--core-blue)}.project-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.project-photo{padding:0;margin:0;overflow:hidden;min-width:0}.project-photo-open{position:relative;display:block;width:100%;background:transparent;border:0;padding:0;min-height:88px}.project-photo-open .project-thumb{width:100%;border-radius:0}.project-photo-open:disabled{opacity:1}.project-photo-copy{padding:12px}.project-photo-copy h3{font-size:.875rem;overflow-wrap:anywhere;margin-bottom:8px}.project-photo .core-badge{white-space:normal;max-width:100%}.project-selected{position:absolute;bottom:8px;left:8px;background:var(--core-blue);color:white;padding:4px 8px;border-radius:8px;font-size:.75rem}.project-photo-open[aria-pressed=true]{outline:3px solid var(--core-blue);outline-offset:-3px}.project-row .core-row-copy small{font-size:.8125rem}.project-open:focus-visible{outline:3px solid var(--core-blue);outline-offset:4px}@media(min-width:600px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:360px){.project-open{flex-wrap:wrap}.project-open .project-thumb{width:72px}.project-grid{gap:12px}.project-detail .core-page-header{flex-wrap:wrap}.project-filters button{padding:10px;font-size:.875rem}}
#primary-navigation .nav-capture svg{stroke:currentColor;color:inherit}

/* Capture uses the same consumer tokens; native file inputs remain intact. */
.capture-page .core-card{border-radius:20px;margin-bottom:20px}
.capture-page input:not([type=file]){width:100%;box-sizing:border-box;min-height:48px;background:#fff;color:#17212F;border:1px solid #E3E8EF;border-radius:12px;font:inherit;padding:12px;margin:8px 0 16px}
.capture-fields,.capture-modes,.capture-controls{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.capture-fields label:last-child{grid-column:1/-1}
.capture-modes [aria-pressed=true]{background:#EAF2FF;border-color:#006AFF;color:#0052CC}
.capture-page button,.capture-page .camera-label{min-height:48px;white-space:normal;overflow-wrap:anywhere;font:inherit}
.capture-page .camera-label{display:flex;align-items:center;justify-content:center;background:#006AFF;color:white;border-radius:20px;margin:20px 0;padding:18px;font-weight:600;position:relative}
.capture-page .camera-label input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.capture-page .camera-label:focus-within{outline:3px solid #0052CC;outline-offset:3px}
.capture-progress{width:100%;height:8px;accent-color:#006AFF;margin-bottom:20px}
.capture-example{position:relative}.capture-example img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#F5F7FA;border-radius:12px}
.capture-example span{display:block;font-size:.875rem;color:#5D6878;margin-top:8px}
.capture-page h1,.capture-page h2,.capture-page p{overflow-wrap:anywhere}
.capture-camera-placeholder{display:grid;place-items:center;background:#17212F;border-radius:20px;min-height:200px}.capture-camera-placeholder svg{width:64px;height:64px;stroke:#fff;fill:none;stroke-width:1.5}
.capture-review-grid .manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.capture-review-grid img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#F5F7FA}
.capture-review-grid button,.capture-review-grid label{min-height:44px}.capture-review-grid .manage-item{min-width:0}
.capture-page>.core-primary,.capture-page>.core-secondary{width:100%;margin-bottom:12px}
.capture-page{padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:350px){.capture-controls,.capture-modes{grid-template-columns:1fr}}
#app:has(>.capture-page) .flow-header{background:#fff;color:#17212F;border-bottom:1px solid #E3E8EF;min-height:52px;margin-bottom:20px}
#app:has(>.capture-page) .flow-header button{color:#17212F;min-width:44px;min-height:44px}
#app:has(>.capture-page) .flow-header svg{stroke:currentColor}
.capture-review-grid .manage-photo{min-width:0;border:1px solid #E3E8EF;border-radius:20px;overflow:hidden;background:#fff}
.capture-review-grid .manage-photo-meta{white-space:normal;overflow-wrap:anywhere}
.capture-review-grid .manage-actions{display:flex;flex-wrap:wrap;gap:8px}
/* Final focused revision: Home showcase, Projects inventory, simple Capture. */
/* Home-only card component; avoids legacy .home-feature child padding rules. */
.home-showcase{display:grid;gap:24px;padding-bottom:24px}.home-showcase-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:20px;border:1px solid var(--core-border);border-radius:20px;background:#fff}.home-showcase-card h2{margin:0;font-size:1.375rem;line-height:1.3;overflow-wrap:anywhere}.home-showcase-card .home-feature-subtitle{position:static;margin:-8px 0 0;color:var(--core-muted);font-size:1rem;line-height:1.5;overflow-wrap:anywhere}.home-showcase-card>.core-primary{width:100%;min-height:48px;height:auto;white-space:normal;margin:0}.home-showcase-card>.home-comparison{flex:none;width:100%;height:auto;min-height:0;padding:0;margin:0;border-radius:14px;isolation:isolate}
.home-comparison{aspect-ratio:3/2;--split:50%;position:relative;overflow:hidden;border-radius:20px}.home-comparison .home-compare-layer{position:absolute;inset:0;overflow:hidden}.home-comparison .home-compare-layer img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none}.home-comparison .paired img{width:200%;object-fit:fill}.home-comparison .paired-after img{left:-100%}.home-comparison .compare-original{clip-path:inset(0 calc(100% - var(--split)) 0 0)}.home-comparison .home-compare-slider{position:absolute;inset:0;cursor:ew-resize;touch-action:pan-y;outline-offset:-3px}.home-compare-slider>span{position:absolute;left:var(--split);top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;width:44px;height:44px;color:var(--core-text);background:white;box-shadow:0 2px 10px #17212f20}.home-comparison .compare-tag{z-index:2}.capture-start-header{display:flex;justify-content:flex-end;align-items:center;padding:16px 0}.capture-start-intro{margin:8px 0 32px}.capture-start-intro h1{overflow-wrap:anywhere}.capture-start-intro p{margin:16px 0 0;color:var(--core-muted);line-height:1.5}.simple-project-form label{overflow-wrap:anywhere}.simple-project-form input{min-width:0;font:inherit}.simple-project-form label{display:block;margin:0 0 8px}.simple-project-form input{display:block;width:100%;margin:0 0 24px;padding:14px 16px}.simple-project-form .core-primary{width:100%}.simple-project-form [role=alert]:empty{display:none}#primary-navigation .nav-capture{background:var(--core-blue);color:white;font-weight:700;border-radius:12px;margin:0 4px;box-shadow:none;transform:none}#primary-navigation .nav-capture svg{color:white}#primary-navigation .nav-capture:active{background:var(--core-pressed)}

/* Capture-only photo-first presentation. Shared navigation and upload contracts stay intact. */
.capture-polished{min-width:0;display:flex;flex-direction:column;gap:24px}
.capture-take-action{padding:24px 0 8px}.capture-take-action .camera-label{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:56px;margin:0;border:0;border-radius:12px;background:#006AFF;color:#fff;font:600 17px/1.4 -apple-system,BlinkMacSystemFont,sans-serif}
.capture-film-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px}.capture-film-heading h2{font-size:18px;margin:0}.capture-film-heading span,.capture-photo-count{color:#5D6878}.capture-photo-count{margin:0}
.capture-filmstrip{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;padding:2px 0 8px}.capture-filmstrip .capture-photo-tile{flex:0 0 132px}
.capture-clean-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.capture-photo-tile{position:relative;min-width:0;aspect-ratio:4/3;background:#F5F7FA;border-radius:14px}.capture-photo-tile>img{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:contain;border-radius:14px}
.capture-upload-mark{position:absolute;left:6px;bottom:6px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#5D6878;font-weight:700}.capture-upload-mark[hidden]{display:none}.capture-upload-mark.needs-attention{color:#C53030}
.capture-photo-menu{position:absolute;right:0;top:0;z-index:1}.capture-photo-menu[open]{z-index:2}.capture-photo-menu summary{list-style:none;display:grid;place-items:center;min-width:44px;min-height:44px;color:#17212F;cursor:pointer;text-shadow:0 0 4px white;background:rgba(255,255,255,.9);border-radius:0 14px 0 14px}.capture-photo-menu summary::-webkit-details-marker{display:none}.capture-photo-menu .delete-photo{position:absolute;right:4px;top:44px;min-height:44px;width:136px;border:1px solid #E3E8EF;border-radius:12px;background:white;color:#C53030;font:inherit;padding:10px;white-space:normal}
.capture-upload-summary{font-size:14px;line-height:1.5;color:#5D6878;margin:0;overflow-wrap:anywhere;min-height:21px}.capture-bottom-actions{display:grid;gap:12px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.capture-bottom-actions>button{width:100%;min-height:48px;white-space:normal}
.capture-page:has(.capture-polished) .flow-title button{border:0;box-shadow:none;background:transparent;min-width:44px;min-height:44px}
@media(max-width:340px){.capture-clean-grid{gap:8px}.capture-filmstrip .capture-photo-tile{flex-basis:116px}}

/* Capture guide and the photo-first project hub share existing core tokens. */
.capture-page-title:empty{display:none}.capture-page-title{font-size:1.5rem;overflow-wrap:anywhere}
.quick-capture-guide{display:flex;flex-direction:column;min-height:calc(100svh - 180px);min-width:0;text-align:center}
.capture-ready-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 0 56px}
.capture-ready-icon{display:grid;place-items:center;width:80px;height:80px;border-radius:24px;background:#EAF2FF;color:#006AFF;margin-bottom:28px}.capture-ready-icon svg{width:40px;height:40px}
.quick-capture-guide h1{font-size:clamp(28px,7vw,34px);line-height:1.2;letter-spacing:-.025em;margin:0 0 16px;font-weight:600}
.quick-capture-guide p{font-size:16px;margin:0;color:#5D6878;line-height:1.7}
.capture-ready-action{padding-bottom:calc(16px + env(safe-area-inset-bottom));width:100%}.capture-ready-action .core-primary{width:100%;min-height:54px}
@media(max-height:580px){.capture-ready-content{padding:20px 0 28px}.capture-ready-icon{margin-bottom:16px}}
.project-photos-simple h1{overflow-wrap:anywhere}.project-simple-tile{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:16px;background:#F5F7FA}
.project-simple-tile .project-thumb{width:100%;height:100%;aspect-ratio:auto}.project-simple-tile img{width:100%;height:100%;object-fit:contain}
.project-photo-state{position:absolute;bottom:8px;left:8px;right:8px;width:fit-content;max-width:calc(100% - 16px);padding:4px 8px;background:#fff;border-radius:8px;font-size:.875rem;color:#946200}
.project-photos-simple .project-actions{margin-top:24px}.project-photos-simple .project-actions button{width:100%;min-height:48px}

/* Listing enhancement: one quiet progress area, no duplicate summary cards. */
.listing-header{display:flex;align-items:center;gap:12px;margin:4px 0 24px;min-width:0}
.listing-back{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--core-blue);border-radius:12px}
.listing-header>div{min-width:0;flex:1}.listing-header h1{font-size:1.25rem;line-height:1.35;margin:3px 0 0;overflow-wrap:anywhere}
.listing-eyebrow,.listing-photo-count{font-size:.8125rem;line-height:1.5;color:var(--core-muted)}.listing-photo-count{flex-shrink:0}
.listing-wait{max-width:400px;margin:clamp(40px,10vh,100px) auto 48px;text-align:center}
.listing-working-icon{display:grid;place-items:center;width:64px;height:64px;background:var(--core-selected);color:var(--core-blue);border-radius:20px;margin:0 auto 24px}.listing-working-icon svg{width:32px;height:32px}
.listing-enhancement .flow-processing{background:transparent;border:0;padding:0;margin:0;box-shadow:none}
.listing-enhancement .flow-processing h2{font-size:1.375rem;font-weight:600;line-height:1.4;margin:0 0 10px;letter-spacing:-.025em}
.listing-enhancement .flow-processing p{font-size:.9375rem;margin:0 0 24px;line-height:1.6}
.listing-enhancement .flow-progress-value{margin:28px 0 24px;gap:12px;text-align:left;font-size:.875rem}
.listing-enhancement .flow-progress-value progress{appearance:none;height:6px;border:0;border-radius:6px;overflow:hidden;background:var(--core-border)}
.listing-enhancement progress::-webkit-progress-bar{background:var(--core-border);border-radius:6px}.listing-enhancement progress::-webkit-progress-value{background:var(--core-blue);border-radius:6px}.listing-enhancement progress::-moz-progress-bar{background:var(--core-blue);border-radius:6px}
.listing-free-note{font-size:.8125rem;line-height:1.5;color:var(--core-muted);margin:32px 0 0}
@media(max-width:360px){.listing-header{gap:8px;flex-wrap:wrap}.listing-photo-count{margin-left:52px}.listing-wait{margin-top:32px}}

/* Current Home: inline actions and authoritative balance, existing imagery retained. */
.home-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.home-brand-mls{color:var(--core-blue,#006aff)}
#home-credit-slot{display:flex;align-items:baseline;gap:6px;padding:9px 12px;border-radius:14px;background:#eaf2ff;border:1px solid #c5dbff;color:#0052cc;max-width:100%;overflow-wrap:anywhere;font-size:.8125rem}#home-credit-slot strong{font-size:1.125rem;line-height:1.3}#home-credit-slot.home-credit-negative{color:#946200;background:#fff8e5;border-color:#ead6a2}.home-credit-retry{background:none;border:0;color:inherit;font:inherit;min-height:44px;padding:0;text-align:left}
.home-feature-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.home-feature-heading h2{flex:1;min-width:0}.home-feature-heading>.core-primary{flex:none;width:auto;min-width:76px;min-height:44px;height:auto;padding:10px 16px;margin:0;line-height:1.3;text-decoration:none}.home-showcase-card .home-feature-subtitle{margin:-8px 0 0}

/* Home spacing and direct-manipulation comparison rendering. */
.visual-home .home-page-header{padding:16px 0 14px}.visual-home .home-showcase{gap:16px;padding-bottom:8px}.visual-home .home-showcase-card{padding:14px 16px;gap:12px}.visual-home .home-feature-subtitle{margin:-6px 0 0}
.home-comparison .compare-original{will-change:clip-path}.home-comparison .compare-original,.home-comparison .compare-divider,.home-comparison .home-compare-slider>span{transition:none!important}.home-comparison .home-compare-slider{user-select:none;-webkit-user-select:none}.home-comparison img{-webkit-user-drag:none}

/* Compact Home sections: matching before/after viewport, unchanged source assets. */
.visual-home .home-showcase-card{padding:12px 14px;gap:8px}
.visual-home .home-showcase-card .home-feature-subtitle{margin:0;font-size:.9375rem;line-height:1.35}
.visual-home .home-showcase-card>.home-comparison{aspect-ratio:16/9}
.visual-home .home-comparison .paired img{object-fit:cover}
.visual-home .home-showcase{gap:12px}

/* Compositor-only comparison motion: stationary photo inside a moving clip window. */
.home-comparison .compare-original{clip-path:none;will-change:transform;transform:translate3d(-50%,0,0)}
.home-comparison .compare-original img{transform:translate3d(50%,0,0);will-change:transform}
.home-comparison .compare-original.paired img{transform:translate3d(25%,0,0)}
.home-comparison .home-compare-slider>span{left:0;will-change:transform}
.home-comparison .compare-divider{position:absolute;left:0;top:0;bottom:0;width:2px;background:#fff;pointer-events:none;will-change:transform}
.home-comparison .home-compare-slider>span{touch-action:none}

/* Touch direction is arbitrated before iOS scroll capture; pinch/vertical stay native. */
@media(pointer:coarse){.home-comparison .home-compare-slider,.home-comparison .home-compare-slider>span{touch-action:auto}}

/* Approved consumer pages — presentation only. */
.approved-projects .project-row{position:relative;border:0;border-bottom:1px solid var(--core-border);border-radius:0;padding:18px 0;margin:0;box-shadow:none}
.approved-projects .project-open{padding-right:30px;flex-wrap:nowrap;align-items:center;gap:16px}.approved-projects .project-thumb{width:clamp(84px,29vw,128px);aspect-ratio:4/3;border-radius:12px}.approved-projects .project-menu{position:absolute;right:0;top:18px;margin:0}.approved-projects .project-menu[open]{z-index:4;background:#fff;border:1px solid var(--core-border);border-radius:12px;padding:8px;box-shadow:0 8px 24px #17212f18}.approved-projects .project-open>span:last-child{display:none}.approved-projects .core-row-copy strong{font-size:1rem}.approved-projects .core-row-copy small{font-size:.75rem}.approved-projects .project-toolbar{margin-bottom:4px}
.approved-capture-intro{margin:clamp(32px,8vh,80px) 0 28px}.capture-house{width:44px;height:44px;color:var(--core-blue);margin-bottom:20px}.approved-capture-intro h1{font-size:2rem;line-height:1.2}.capture-input-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.simple-project-form input{margin-bottom:16px;border:1px solid var(--core-border);border-radius:12px;background:#fff;width:100%}
.approved-account .core-credit-large{background:var(--core-selected);border-color:#d6e5ff;padding:18px}.approved-account .core-credit-large .core-number{color:var(--core-blue);font-size:2.25rem}.approved-account .core-credit-large .core-secondary{background:var(--core-blue);color:white;border-color:var(--core-blue);width:100%;margin-top:12px}.approved-account .core-profile{margin-bottom:20px}.approved-account .core-menu{padding:0 16px}.approved-account .core-menu .core-list-row{min-height:56px}.approved-account .core-card{margin-bottom:16px}
.approved-plans .core-page-header{padding:18px 0 14px}.approved-plans .core-plan-stack{display:grid;gap:8px}.approved-plans .core-plan{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:10px 12px;margin:0;border-radius:16px;align-items:center}.approved-plans .core-section-heading{grid-column:1;gap:6px;flex-wrap:wrap}.approved-plans .core-section-heading h2{font-size:1.0625rem}.approved-plans .core-price{grid-column:2;grid-row:1;margin:0!important;white-space:nowrap}.approved-plans .core-price strong{font-size:1.0625rem}.approved-plans .core-price span{font-size:.6875rem}.approved-plans .core-included{grid-column:1;grid-row:2;margin:0!important;font-size:.875rem}.approved-plans .core-plan>.core-badge{grid-column:1;grid-row:3;justify-self:start;font-size:.625rem;padding:1px 5px}.approved-plans .core-unit{grid-column:1;grid-row:4;margin:0!important;font-size:.6875rem}.approved-plans .core-plan>.core-primary,.approved-plans .core-plan>.core-secondary{grid-column:2;grid-row:2/5;min-height:44px;padding:8px 10px;font-size:.8125rem;margin:0}.approved-plans .core-section-heading .core-badge{font-size:.5625rem;padding:1px 4px}.approved-plans .core-purchase-status:empty{display:none}
@media(max-width:350px){.approved-plans .core-plan{padding:8px}.approved-plans .core-price strong{font-size:.9375rem}.approved-plans .core-section-heading{display:block}.approved-projects .project-open{gap:10px}}

/* Uniform subscription actions; retain explicit accessible plan names. */
.approved-plans .core-plan>.core-primary,.approved-plans .core-plan>.core-secondary{width:104px;min-width:104px;min-height:44px;height:auto;justify-self:end;align-self:center;padding:10px 12px;border-radius:12px;line-height:1.3}

.account-delete-entry{color:var(--error,#C53030);margin-top:24px;min-height:44px}
#account-delete-dialog{max-height:calc(100dvh - 48px);overflow:auto}
#account-delete-dialog p{line-height:1.5;overflow-wrap:anywhere}
#account-delete-dialog input{display:block;box-sizing:border-box;width:100%;min-height:44px;margin-top:8px;border:1px solid #E3E8EF;border-radius:12px;padding:12px;font:inherit}
.account-delete-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.account-delete-actions button{flex:1;min-height:44px}

/* Project list: compact content spacing; the fixed tab bar owns its safe area. */
#app:has(>.approved-projects){min-height:100dvh;padding-bottom:calc(80px + env(safe-area-inset-bottom))}
.approved-projects .core-page-header{padding:16px 0 20px}
.approved-projects .project-thumb img{object-fit:cover}

.project-detail .project-back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-height:44px;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--core-blue);cursor:pointer}.project-detail .project-back:active{background:var(--core-selected)}.project-detail .core-page-header h1{min-width:0;overflow-wrap:anywhere}

.plans-showcase{background:linear-gradient(180deg,#edf6ff 0%,#fff 420px);border-radius:24px;padding:24px 0 0}.plans-heading{text-align:center;margin:4px 0 28px}.plans-eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700;color:#006aff}.plans-heading h1{font-size:28px;letter-spacing:-.035em;line-height:1.15;margin:10px 0}.plans-heading p{color:var(--core-muted);font-size:15px;margin:0}.plans-options{display:grid;gap:16px}.plan-option{position:relative;display:block;text-align:left;width:100%;padding:18px 16px;border:1px solid #dfe6f0;border-radius:22px;background:linear-gradient(#fff,#f8fbff);color:var(--core-text);box-shadow:0 3px 8px #123a7010;cursor:pointer}.plan-option.is-selected{border:2px solid #006aff;padding:17px 15px;background:linear-gradient(120deg,#eaf4ff,#f3f2ff);box-shadow:0 5px 16px #006aff18}.plan-option-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.plan-name{font-size:19px;font-weight:700;display:flex;align-items:center;gap:10px}.plan-radio{width:18px;height:18px;border:1.5px solid #b8c4d5;border-radius:50%;display:inline-block}.is-selected .plan-radio{border:5px solid #006aff;background:#fff}.plan-monthly-price{white-space:nowrap}.plan-monthly-price strong{font-size:23px;letter-spacing:-.035em}.plan-monthly-price small{font-size:12px;color:var(--core-muted)}.plan-credit-line{display:block;font-size:14px;margin:8px 0 0 28px;color:#526278}.plan-ribbon{position:absolute;right:16px;top:-11px;border-radius:7px;background:#006aff;color:white;padding:3px 10px;font-size:11px;font-weight:700}.plan-highlight{display:block;border-top:1px solid #cbdff7;margin-top:14px;padding-top:12px;font-size:13px;color:#245fa7}.plan-features{display:grid;gap:16px;padding:26px 4px}.plan-features>div{display:flex;gap:13px;align-items:center}.plan-feature-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#eaf3ff;color:#006aff;font-size:23px}.plan-features p{margin:0}.plan-features strong,.plan-features small{display:block}.plan-features strong{font-size:15px}.plan-features small{font-size:12px;color:var(--core-muted);margin-top:3px}.plan-subscribe{padding:8px 0 20px;text-align:center}.plan-subscribe>.core-primary{width:100%;min-height:54px}.plan-selected-price{font-size:13px;color:var(--core-text);margin:12px 0}.plan-renewal,.plan-subscribe>.core-muted{font-size:12px;line-height:1.5;color:var(--core-muted);margin:10px 0}.plans-showcase .core-purchase-status:empty{display:none}@media(max-width:360px){.plans-heading h1{font-size:25px}.plan-monthly-price strong{font-size:20px}.plan-name{font-size:17px}}

/* Subscription overview and explicit monthly plan comparison. */
.subscription-overview{background:linear-gradient(145deg,#eef6ff,#fff);border-color:#cbdfff}
.subscription-overview h2{margin:10px 0 6px}.subscription-allowance{font-weight:600;color:#1559b8}
.subscription-actions{display:grid;gap:10px;margin-top:20px}
.plan-change-summary{padding:20px;border:1px solid #cbdfff;border-radius:24px;background:#f4f8ff;margin:20px 0}
.plan-change-summary h2{font-size:20px;margin:0 0 16px}.plan-change-summary>div{display:flex;justify-content:space-between;gap:16px;margin:12px 0;font-size:15px}
.plan-change-summary>div>span{color:#64748b}.plan-change-summary strong{text-align:right}.plan-change-summary p{color:#64748b;font-size:13px;line-height:1.5;margin:18px 0 0}
