/* Presentation and poster page. Uses the tokens in site.css and the form, progress and banner styles of calculator.css and ai.css. */

.sl form { display: grid; gap: 18px; max-width: 920px; }
.sl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 22px; display: grid; gap: 14px; min-width: 0; }
.sl-head { display: flex; align-items: center; gap: 10px; }
.sl-head h2 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 20px; }
.sl-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex: none; }
.sl-card > .hint { margin: 0; }
.sl input:not([type]), .sl input[type="text"] { width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; font-size: 15px; line-height: 1.35; }
.sl input:invalid.touched { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
@media (max-width: 640px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .sl .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* the file */
.drop { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 18px; background: var(--surface-2); cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.drop-main { display: grid; gap: 3px; min-width: 0; }
.drop-main span { font-size: 13.5px; color: var(--muted); }
.doc-msg { margin: 0; font-size: 14px; color: var(--muted); min-height: 1em; }
.doc-msg.bad { color: var(--bad); }
.doc-info { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--good-soft); border-left: 3px solid var(--good); font-size: 14px; }
.doc-info b { font-weight: 600; }

/* pictures */
.sl-more { border-top: 1px solid var(--line); padding-top: 10px; }
.sl-more > summary { cursor: pointer; font-weight: 500; font-size: 14.5px; }
.sl-more[open] > summary { margin-bottom: 10px; }
.pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 10px 0; }
.pic { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 6px; background: var(--surface); }
.pic.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.pic img { width: 100%; height: 110px; object-fit: contain; background: var(--surface-2); border-radius: 6px; }
.pic label { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.pic input[type="text"] { font-size: 13px; padding: 5px 7px; }

/* names */
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .who { grid-template-columns: minmax(0, 1fr); } }
.who-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 14px; margin: 0; display: grid; gap: 10px; min-width: 0; }
.who-box legend { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); padding: 0 6px; }
.who-box legend select { font: inherit; letter-spacing: inherit; text-transform: uppercase; color: inherit; border: 1px dashed var(--line-strong); border-radius: 6px; padding: 2px 4px; background: var(--surface); }
.logo-row { display: flex; gap: 14px; align-items: center; }
.logo-prev { width: 64px; height: 64px; border-radius: 10px; border: 1px dashed var(--line-strong); background: var(--surface-2) center / contain no-repeat; flex: none; }
.logo-prev.has { border-style: solid; }
.logo-row .hint { margin: 6px 0 0; }

/* options */
.seg-field { border: 0; margin: 0; padding: 0; display: grid; gap: 5px; min-width: 0; }
.seg-field legend { font-size: 13px; font-weight: 500; padding: 0; margin-bottom: 5px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; text-align: center; padding: 7px 4px; font-size: 14px; font-weight: 500; cursor: pointer; border-left: 1px solid var(--line); }
.seg label:first-child span { border-left: 0; }
.seg small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); }
.seg input:checked + span small { color: inherit; opacity: .8; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -3px; }

/* result */
.sl-out { max-width: 1080px; margin-top: 22px; display: grid; gap: 14px; }
.out-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.out-head h2 { margin: 0; font-family: var(--f-display); font-size: 24px; font-weight: 600; }
.out-title { margin: 4px 0 0; color: var(--ink-2); max-width: 70ch; }
.out-h { margin: 6px 0 0; font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.sl-out > .hint { margin: 0; }
.checks { border: 1px solid var(--line); border-left: 3px solid var(--warn); background: var(--warn-soft); border-radius: 10px; padding: 12px 16px; font-size: 14px; display: grid; gap: 6px; }
.checks h3 { margin: 0; font-size: 15px; }
.checks ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.checks .num { font-variant-numeric: tabular-nums; font-weight: 600; }

/* design cards: a sketch of each family's title slide */
.designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 720px) { .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dz { border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--surface); cursor: pointer; display: grid; gap: 7px; text-align: left; font: inherit; color: inherit; }
.dz:hover { border-color: var(--line-strong); }
.dz[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.dz-name { font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.dz-name b { color: var(--ink); font-weight: 500; }
.dz-pick { color: var(--accent); font-weight: 600; }
.mini { aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); --a: #1F3A5F; --b: #B5462E; --t: #E8EDF4; }
.mini i { position: absolute; display: block; }
.mini .tt { position: absolute; font-weight: 700; line-height: 1.15; font-size: 9px; color: #1E1E1E; }
.mini .ln { position: absolute; height: 3px; border-radius: 2px; background: #C9C9C9; }
/* classic */
.f-classic .tt { left: 14%; right: 14%; top: 32%; text-align: center; }
.f-classic .r1 { left: 18%; right: 18%; top: 27%; height: 1px; background: var(--a); box-shadow: 0 2px 0 var(--a); }
.f-classic .r2 { left: 18%; right: 18%; top: 72%; height: 1px; background: var(--a); box-shadow: 0 2px 0 var(--a); }
.f-classic .c1 { left: 30%; right: 30%; top: 12%; height: 3px; background: #1E1E1E; }
.f-classic .p1 { left: 26%; width: 18%; top: 84%; } .f-classic .p2 { right: 26%; width: 18%; top: 84%; }
/* sidebar */
.f-sidebar .s1 { left: 0; top: 0; bottom: 0; width: 36%; background: var(--a); }
.f-sidebar .tt { left: 42%; right: 6%; top: 22%; color: var(--a); }
.f-sidebar .b1 { left: 42%; width: 10%; top: 58%; height: 3px; background: var(--b); }
.f-sidebar .p1 { left: 42%; width: 22%; top: 72%; } .f-sidebar .p2 { left: 70%; width: 22%; top: 72%; }
/* band */
.f-band .s1 { left: 0; right: 0; top: 0; height: 22%; background: var(--a); }
.f-band .b1 { left: 0; right: 0; top: 22%; height: 2px; background: var(--b); }
.f-band .tt { left: 12%; right: 12%; top: 34%; text-align: center; color: var(--a); }
.f-band .p1 { left: 14%; width: 33%; top: 70%; height: 16%; background: var(--t); border-left: 2px solid var(--a); border-radius: 0; }
.f-band .p2 { right: 14%; width: 33%; top: 70%; height: 16%; background: var(--t); border-left: 2px solid var(--a); border-radius: 0; }
/* minimal */
.f-minimal { background: #FAF8F4; }
.f-minimal .b1 { left: 7%; width: 12%; top: 28%; height: 2px; background: var(--a); }
.f-minimal .tt { left: 7%; right: 22%; top: 33%; font-weight: 400; font-size: 10.5px; }
.f-minimal .p1 { left: 7%; width: 18%; top: 76%; } .f-minimal .p2 { left: 32%; width: 18%; top: 76%; }
.f-minimal .c1 { left: 7%; width: 30%; top: 9%; height: 3px; background: #9A9A9A; }
/* framed */
.f-framed .s1 { inset: 4%; border: 1.5px solid var(--a); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 2.6px var(--a); }
.f-framed .tt { left: 14%; right: 14%; top: 32%; text-align: center; color: var(--a); }
.f-framed .c1 { left: 32%; right: 32%; top: 18%; height: 3px; background: var(--a); }
.f-framed .p1 { left: 26%; width: 18%; top: 74%; } .f-framed .p2 { right: 26%; width: 18%; top: 74%; }
/* split (dark cover) */
.f-split { background: var(--a); }
.f-split .s1 { inset: 0; background: rgba(0,0,0,.38); }
.f-split .tt { left: 7%; right: 18%; top: 28%; color: #fff; }
.f-split .b1 { left: 7%; width: 10%; top: 64%; height: 3px; background: var(--b); }
.f-split .p1 { left: 7%; width: 20%; top: 76%; background: rgba(255,255,255,.55); } .f-split .p2 { left: 32%; width: 20%; top: 76%; background: rgba(255,255,255,.55); }
.f-split .c1 { left: 7%; width: 30%; top: 10%; height: 3px; background: rgba(255,255,255,.6); }

.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
@media (max-width: 720px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }
.dl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 18px; display: grid; gap: 10px; align-content: start; }
.dl-card h3 { margin: 0; font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.dl-card .hint { margin: 0; }
.dl-card .btn { justify-self: start; }

.outline { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; counter-reset: sl; }
.outline li { display: grid; grid-template-columns: 22px 34px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); counter-increment: sl; }
.outline li.off { opacity: .5; }
.outline li::before { content: counter(sl); font-size: 12px; color: var(--muted); text-align: right; grid-column: 2; grid-row: 1; }
.outline input[type="checkbox"] { grid-column: 1; grid-row: 1; }
.outline .ot { grid-column: 3; border: 1px solid transparent; border-radius: 6px; padding: 3px 6px; font-size: 14.5px; background: transparent; width: 100%; }
.outline .ot:hover, .outline .ot:focus { border-color: var(--line-strong); background: var(--surface); }
.outline .tag { grid-column: 4; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .outline .tag { display: none; } .outline li { grid-template-columns: 22px 28px minmax(0, 1fr); } }

.tips { background: var(--surface-2); border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.tips h3 { margin: 0 0 6px; font-size: 15px; }
.tips ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
