.dash-viewbar{display:flex;gap:12px;padding:12px 16px;margin-bottom:22px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:24px;box-shadow:0 1px 3px #1f2a3a06}.dash-view{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid transparent;border-radius:18px;background:transparent;color:var(--ui-muted);text-align:left;font-size:10px;cursor:pointer}.dash-view img{width:38px;height:42px;object-fit:cover;border-radius:8px}.dash-view strong{display:block;color:var(--ui-faint);font-size:18px;font-weight:600}.dash-view small,.dash-photo-score small{font-size:10px;font-weight:400;opacity:.55;margin-left:2px}.dash-view.is-selected{border-color:var(--ui-border);box-shadow:0 1px 3px #0000000a}.dash-analysis-grid{display:grid;grid-template-columns:minmax(280px,.42fr) minmax(0,.58fr);gap:24px;align-items:start}.dash-photo-panel{position:sticky;top:112px;border:1px solid var(--ui-border);border-radius:24px;overflow:hidden;background:#11151b}.dash-photo-tools{position:absolute;z-index:2;left:16px;right:16px;top:14px;display:flex;align-items:center;justify-content:space-between;color:#fff;font-size:10px}.dash-photo-tools button{width:32px;height:32px;border:0;border-radius:50%;background:#1119;color:#fff;cursor:pointer}.dash-portrait{position:relative;overflow:hidden;min-height:160px;background:var(--ui-surface-raised)}.dash-portrait.is-cutout{background:var(--ui-surface)}.dash-photo-panel:has(.is-cutout){background:var(--ui-surface)}.dash-photo-panel:has(.is-cutout) .dash-photo-tools{color:var(--ui-secondary)}.dash-portrait-surface{position:relative;min-height:100%;overflow:visible}.dash-portrait-surface>img{position:absolute;max-width:none;object-fit:fill;user-select:none}.dash-portrait-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.dash-edit-point{pointer-events:all;cursor:crosshair;touch-action:none}.dash-portrait:has(.dash-edit-point){touch-action:none}.dash-photo-score{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:45px 22px 20px;background:linear-gradient(transparent,#080d18ed);color:#f5f6fa;font-size:18px;pointer-events:none}.dash-photo-score strong{font-size:32px;font-weight:500;color:#8bb8aa}.dash-measure-card{padding:24px}.dash-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:22px;color:var(--ui-muted);font-size:12px}.dash-card-top details{max-width:75%}.dash-card-top summary{cursor:pointer}.dash-card-top p{line-height:1.8}.dash-measure-card h1{font-size:20px;font-weight:600;margin:0 0 20px;display:flex;justify-content:space-between;gap:12px;align-items:center}.dash-measure-card h1>small{font-size:11px;font-weight:400;color:var(--ui-muted)}:is(.dash-measure,.dash-extra-assessment){border-top:1px solid var(--ui-border)}:is(.dash-measure,.dash-extra-assessment) summary{display:flex;align-items:center;gap:9px;padding:20px 5px;list-style:none;cursor:pointer;font-size:13px}:is(.dash-measure,.dash-extra-assessment) summary>span:first-child{min-width:0}.dash-value{padding:3px 7px;border-radius:12px;background:color-mix(in srgb,var(--score-color) 12%,var(--ui-surface));color:var(--score-color);font-size:10px;font-weight:600;white-space:nowrap}.dash-gradient-track{height:7px;flex:1;min-width:40px;max-width:240px;position:relative;margin-left:auto;border-radius:7px}.dash-gradient-track.is-empty{opacity:.28;filter:saturate(.6)}.dash-gradient-track i{position:absolute;width:12px;height:9px;top:-1px;margin-left:-6px;border-radius:6px;background:var(--ui-surface);border:1.5px solid var(--ui-border);box-shadow:0 0 0 1px #1f2a3a33,0 2px 5px #1f2a3a40}:is(.dash-measure,.dash-extra-assessment) summary strong{font-size:17px;min-width:48px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}.dash-chevron{font-size:20px;color:var(--ui-faint);font-weight:400}:is(.dash-measure,.dash-extra-assessment)[open] .dash-chevron{rotate:90deg}.dash-measure-detail{padding:0 10px 20px;font-size:12px;color:var(--ui-secondary);line-height:1.7}.dash-measure-detail label{display:flex;align-items:center;gap:12px}.dash-measure-detail input{flex:1;accent-color:#4f779b}.dash-progress{text-align:center;margin-top:24px}.dash-progress>span{letter-spacing:14px;color:var(--ui-faint)}.dash-progress h2{font-size:22px;font-weight:600}.dash-progress .dash-actions{justify-content:center}.dash-empty-photo{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--ui-faint)}.dash-measures:empty{min-height:220px}@media(max-width:1100px){.dash-analysis-grid{grid-template-columns:1fr 1.15fr;gap:16px}.dash-measure-card{padding:18px}:is(.dash-measure,.dash-extra-assessment) summary{flex-wrap:wrap;padding-block:16px}.dash-gradient-track{min-width:30px}}@media(max-width:760px){.dash-analysis-grid{grid-template-columns:1fr}.dash-photo-panel{position:relative;top:auto;max-width:480px;width:100%;margin:auto}.dash-measure-card{padding:18px 14px}.dash-card-top{font-size:10px}:is(.dash-measure,.dash-extra-assessment) summary{font-size:11px}.dash-progress h2{font-size:18px}}

.dash-additional-label{margin:24px 0 8px;color:var(--ui-muted);font-size:11px}

/* Ratio detail shares the list's curve colours and the editor's measurement construction. */
.dash-dialog.dash-ratio-dialog{box-sizing:border-box;width:min(1080px,calc(100vw - 40px));max-width:none;max-height:90dvh;padding:0;overflow:hidden;color:var(--ui-secondary)}
.dash-ratio-dialog[open]{display:flex;flex-direction:column}
.dash-dialog.dash-ratio-dialog.is-expanded{width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:none}
.dash-ratio-header{display:flex;align-items:center;gap:12px;padding:22px 24px;border-bottom:1px solid var(--ui-border);flex-shrink:0}
.dash-ratio-header>div{flex:1;min-width:0}
.dash-ratio-dialog .dash-ratio-header h2{font-size:20px;font-weight:600;line-height:1.4;margin:5px 0 0;overflow-wrap:anywhere}
.dash-ratio-header nav{display:flex;align-items:center;gap:8px;flex-shrink:0}
.dash-ratio-dialog .dash-ratio-header button{display:grid;place-items:center;width:36px;height:36px;padding:0;background:var(--ui-surface);font-size:22px;border-color:var(--ui-border);color:var(--ui-secondary);flex-shrink:0}
.dash-ratio-header button:disabled{opacity:.3;cursor:default}
.dash-ratio-header output{min-width:42px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums;color:var(--ui-muted)}
.dash-ratio-dialog button:focus-visible{outline:2px solid var(--ui-border-strong);outline-offset:3px}
.dash-ratio-body{display:grid;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);grid-auto-rows:max-content;align-content:start;overflow:auto;overscroll-behavior:contain;min-height:0}
.dash-ratio-photo{position:sticky;top:0;align-self:start;overflow:hidden;background:#101820}
.dash-ratio-photo .dash-portrait{background:#101820}
.dash-ratio-photo-caption{position:absolute;inset:auto 0 0;display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:60px 24px 24px;background:linear-gradient(transparent,#0a1524ed);color:#fff;pointer-events:none}
.dash-ratio-photo-caption>span{font-size:15px;line-height:1.5}
.dash-ratio-photo-caption strong{font-size:30px;white-space:nowrap}
.dash-ratio-photo-caption small{font-size:12px;color:#e5ebef;font-weight:400;margin-left:4px}
.dash-ratio-info{padding:24px;min-width:0}
.dash-ratio-reading>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:var(--ui-muted);margin-bottom:18px}
.dash-ratio-reading .dash-value{font-size:15px;padding:6px 12px}
.dash-ratio-reading .dash-gradient-track{max-width:none;width:100%;height:9px}
.dash-ratio-reading .dash-gradient-track i{height:13px;top:-2px}
.dash-ratio-reading p{color:var(--ui-muted);font-size:11px;margin:14px 0 0}
.dash-ratio-reading p strong{color:var(--ui-secondary);font-weight:600;margin-left:6px}
.dash-ratio-about{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:14px;padding:18px;margin:22px 0}
.dash-ratio-info h3{font-size:14px;font-weight:600;margin:0 0 10px}
.dash-ratio-about p{margin:0 0 14px;color:var(--ui-muted);font-size:12px;line-height:1.8}
.dash-ratio-about button{font-size:11px;background:var(--ui-surface)}
.dash-ratio-chart h3{display:flex;justify-content:space-between;gap:10px}
.dash-ratio-chart h3 small{font-size:11px;color:var(--ui-muted);font-weight:400}
.dash-ratio-curve{display:block;width:100%;height:auto;overflow:visible}
.dash-ratio-curve text{font:12px GeistSans,Arial;fill:var(--ui-muted)}
.dash-ratio-curve .dash-ratio-you{fill:var(--ui-secondary);font-weight:600}
.dash-ratio-dialog .dash-ratio-note{font-size:11px;color:var(--ui-muted);line-height:1.7}
@media(max-width:760px){
  .dash-dialog.dash-ratio-dialog{width:calc(100vw - 20px);max-height:94dvh;border-radius:16px}
  .dash-ratio-header{padding:16px;gap:8px;flex-wrap:wrap}
  .dash-ratio-header>div{flex:1 1 calc(100% - 100px);order:-2}
  .dash-ratio-dialog .dash-ratio-header h2{font-size:17px}
  .dash-ratio-header nav{flex:1;justify-content:center;order:1}
  .dash-ratio-body{display:block}
  .dash-ratio-photo{position:relative;max-width:360px;width:100%;margin:auto}
  .dash-ratio-info{padding:20px 16px}
}

.dash-feature-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.dash-feature-heading h1{font-size:24px;font-weight:500;margin:0}.dash-feature-heading p{font-size:11px;color:var(--ui-muted)}.dash-features-portraits{position:sticky;top:112px;min-width:0}.dash-feature-photos{display:flex;gap:10px}.dash-feature-photos>div{flex:1;min-width:0}.dash-feature-photos .dash-portrait{border-radius:20px}.dash-feature-photos small{display:block;text-align:center;font-size:9px;color:var(--ui-muted);margin:9px}.dash-feature-total{display:flex;align-items:center;justify-content:space-between;padding:18px 2px;border-bottom:1px solid var(--ui-border)}.dash-feature-total>span{font-size:20px}.dash-feature-total small{font-size:10px;color:var(--ui-muted);margin-left:5px}.dash-feature-total>strong{font-size:30px;font-weight:500}.dash-features-portraits>p{color:var(--ui-muted);font-size:11px;line-height:1.8}.dash-feature-group{border-top:1px solid var(--ui-border)}.dash-feature-group>summary{display:flex;align-items:center;gap:12px;padding:18px 0;list-style:none;cursor:pointer}.dash-feature-group>summary>span{flex:1;font-weight:600;font-size:13px}.dash-feature-group>summary>small{font-size:10px;color:var(--ui-faint)}.dash-feature-group>summary>strong{font-size:18px;font-weight:500}.dash-feature-group .dash-measure{margin-left:12px}.dash-feature-group:not([open])>summary>.dash-chevron{rotate:-90deg}.dash-feature-groups input[type=number]{flex:0 0 70px;width:70px;border:1px solid var(--ui-border);border-radius:7px;padding:5px;color:var(--ui-secondary);background:var(--ui-surface)}.dash-feature-groups input[type=range]{min-width:0}.dash-feature-suggestion{border-left:2px solid var(--ui-border-strong);padding-left:10px}.dash-feature-groups [data-feature-error]{color:var(--ui-negative)}@media(max-width:760px){.dash-feature-heading{flex-wrap:wrap}.dash-features-portraits{position:static}.dash-features-portraits:has(.dash-feature-photos>div:only-child){max-width:420px;margin:auto;width:100%}.dash-feature-group .dash-measure{margin-left:0}.dash-feature-groups .dash-card-top{font-size:11px}}
.dash-auto-card{display:grid;gap:6px;justify-items:start;margin:0 0 20px;padding:16px 18px;border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-surface-subtle);color:var(--ui-secondary);font-size:12px;line-height:1.6}.dash-auto-card strong{color:var(--ui-text);font-size:14px;font-weight:600}.dash-auto-card p{margin:0}.dash-auto-card small{color:var(--ui-muted);font-size:10.5px}.dash-auto-card.is-cta{background:linear-gradient(135deg,var(--ui-positive-soft),var(--ui-accent-soft));border-color:var(--ui-border)}.dash-auto-card.is-cta button{padding:9px 18px;border:0;border-radius:999px;background:var(--ui-action);color:var(--ui-on-action);font-size:12px;cursor:pointer}.dash-auto-card.is-off{background:var(--ui-warning-soft);border-color:var(--ui-border)}.dash-source{display:inline-block;margin-left:7px;padding:1px 6px;border-radius:8px;background:var(--ui-positive-soft);color:var(--ui-positive);font-size:9px;font-style:normal;font-weight:600;letter-spacing:.04em;vertical-align:1px}.dash-source.is-measured{background:var(--ui-accent-soft);color:var(--ui-accent)}.dash-source.is-person{background:var(--ui-warning-soft);color:var(--ui-warning)}
