/* The format visuals inside the "what you can turn it into" cards (build-v2.mjs: vline, claimSummary, gallery,
   readiness, minis). Each looks like what the AI really makes, not like a list of boxes. */
.vl,.cs,.ga,.rd,.mn{font-family:var(--sans);color:var(--ink)}
.vl-h{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.vl-h b{display:block;font-size:17px}
.vl-h small{font-size:12.5px;color:var(--muted)}
.vl-h .mk-btn{margin-left:auto}
.vl-key{display:flex;gap:12px;font:600 12px var(--sans);color:var(--ink-2);margin-left:auto}
.vl-key + .mk-btn{margin-left:0}
.vl-key span{display:inline-flex;align-items:center;gap:5px}
.vl-key i{display:block;width:9px;height:9px;border-radius:50%}
.vl-key .t i{background:var(--t)}
.vl-key .l i{background:var(--l)}

/* the vertical timeline: a line, a dot with an icon for each event, the date, what happened, the paper */
.vl-list{--vl:1;list-style:none;margin:0;padding:0;position:relative}
.vl-line{position:absolute;left:78px;top:16px;bottom:16px;width:3px;border-radius:3px;background:linear-gradient(180deg,#4F46E5,#A5ABF5 60%,#C7CBFA)}
.vl-ev{position:relative;display:grid;grid-template-columns:58px 44px 1fr;align-items:start;padding:5px 0}
.vl-d{font:700 12.5px var(--sans);color:var(--ink-2);padding-top:9px;text-align:right;padding-right:10px}
.vl-dot{position:relative;z-index:1;width:30px;height:30px;margin:2px auto 0;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 0 0 4px #fff,0 4px 10px -4px rgba(20,26,46,.35)}
.vl-dot .ic{font-size:16px}
.vl-ev.w-t .vl-dot{background:var(--t)}
.vl-ev.w-t .vl-dot .ic{color:#fff}
.vl-ev.w-l .vl-dot{box-shadow:0 0 0 4px #fff,inset 0 0 0 2px var(--l)}
.vl-ev.w-l .vl-dot .ic{color:var(--l)}
.vl-c{padding:4px 0 4px 8px}
.vl-c > b{display:block;font-size:14px;line-height:1.35}
.vl-ev.w-l .vl-c > b{color:var(--ink-2)}
.vl-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.vl-src{display:inline-flex;align-items:center;gap:3px;font:600 11px var(--sans);color:var(--muted);background:#F3F4F7;border-radius:6px;padding:2px 7px}
.vl-src .ic{font-size:13px}
.vl-amt{font:700 11.5px var(--sans);color:var(--amt);background:var(--amt-soft);box-shadow:inset 0 0 0 1px #FCD34D;border-radius:6px;padding:2px 7px}
/* the gap: the line turns dashed amber, with the gap named beside it */
.vl-gap{position:relative;height:40px}
.vl-gap::before{content:"";position:absolute;left:72px;top:0;bottom:0;width:16px;background:#fff;z-index:0}
.vl-gap::after{content:"";position:absolute;left:79px;top:2px;bottom:2px;border-left:2px dashed #F59E0B}
.vl-gp{position:absolute;left:100px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:5px;font:700 12px var(--sans);color:#92400E;background:#FFF7E0;box-shadow:inset 0 0 0 1px #F5C46B;border-radius:999px;padding:4px 11px}
.vl-gp .ic{font-size:15px;color:var(--amt)}
/* a note that points at its event */
.vl-note{position:relative;display:flex;gap:6px;align-items:flex-start;margin-top:9px;background:var(--amt-soft);color:#7C3E06;font-size:12.5px;line-height:1.45;border-radius:10px;padding:7px 10px}
.vl-note::before{content:"";position:absolute;left:14px;top:-5px;width:10px;height:10px;background:var(--amt-soft);transform:rotate(45deg)}
.vl-note .ic{position:relative;font-size:16px;color:var(--amt);flex:none;margin-top:1px}
.vl-ev.has-note .vl-dot{box-shadow:0 0 0 4px #fff,0 0 0 6px #F59E0B}
.vl-ev.has-note.w-l .vl-dot{box-shadow:0 0 0 4px #fff,0 0 0 6px #F59E0B,inset 0 0 0 2px var(--l)}

/* the claim: total, a bar of where it comes from, each item with proof and policy */
.cs-tot{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.cs-tot small{display:block;font:600 11.5px var(--sans);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.cs-num{font:600 40px/1 var(--serif);letter-spacing:-.02em;color:var(--ink)}
.cs-tot > span{font-size:12.5px;color:var(--muted)}
.cs-bar{display:flex;gap:3px;height:12px;border-radius:999px;overflow:hidden;margin-bottom:14px;background:#F1F2F7}
.cs-bar i{display:block;width:var(--w);border-radius:3px}
.cs-bar .k0,.cs-ic.k0{background:#4F46E5}
.cs-bar .k1,.cs-ic.k1{background:#818CF8}
.cs-bar .k2,.cs-ic.k2{background:#C7D2FE}
.cs-bar .un{background:repeating-linear-gradient(135deg,#FCD34D 0 5px,#FDE68A 5px 10px)}
.cs-ic.k3{background:#FDE68A}
.cs-rows{display:grid;gap:4px}
.cs-r{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:8px 10px;border-radius:12px}
.cs-r:nth-child(odd){background:#F8F8FC}
.cs-r.un{background:#FFFBEB}
.cs-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center}
.cs-ic .ic{font-size:19px;color:#fff}
.cs-ic.k2 .ic{color:#3730A3}
.cs-ic.k3 .ic{color:#92400E}
.cs-r b{font-size:14px}
.cs-amt{font:700 15px var(--sans)}
.cs-r.un .cs-amt{color:var(--amt)}

/* the evidence, as a numbered gallery of photos and receipts */
.ga-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.ga-t{margin:0;background:#fff;border-radius:14px;padding:6px 6px 10px;box-shadow:0 1px 2px rgba(20,26,46,.06),0 12px 24px -14px rgba(20,26,46,.35)}
.ga-img{position:relative;display:block;aspect-ratio:3/4;border-radius:10px;overflow:hidden;background:#F1F2F7}
.ga-img img{width:100%;height:100%;object-fit:cover;transform:scale(1.3)}
.ga-n{position:absolute;left:8px;top:8px;font:700 12px var(--sans);color:#fff;background:var(--a);border-radius:8px;padding:3px 8px;box-shadow:0 4px 10px -4px rgba(79,70,229,.8)}
.ga-t figcaption{padding:8px 4px 0}
.ga-t figcaption b{display:block;font-size:13px;line-height:1.3}
.ga-t figcaption small{font-size:11.5px;color:var(--muted)}

/* before you send: how ready it is, and what's left */
.rd-body{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center}
.rd-ring{position:relative;width:140px;height:140px}
.rd-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.rd-ring circle{fill:none;stroke-width:12}
.rd-ring .bg{stroke:#EEF0FF}
.rd-ring .fg{stroke:var(--a);stroke-linecap:round;stroke-dasharray:314.16;stroke-dashoffset:calc(314.16 * (1 - var(--p)))}
.rd-ring span{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
.rd-ring b{font:600 26px var(--serif)}
.rd-ring small{font-size:12px;color:var(--muted)}
.rd-list{list-style:none;margin:0;padding:0;display:grid;gap:9px;width:100%}
.rd-list li{display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:start}
.rd-m{width:24px;height:24px;border-radius:50%;display:grid;place-items:center}
.rd-m .ic{font-size:16px;color:#fff}
.rd-list .ok .rd-m{background:var(--ok)}
.rd-list .bad .rd-m{background:#F59E0B}
.rd-list b{display:block;font-size:14px;padding-top:2px}
.rd-list .ok b{color:var(--ink-2);font-weight:500}
.rd-list small{display:block;font-size:12.5px;color:#7C3E06;background:var(--amt-soft);border-radius:8px;padding:5px 8px;margin-top:4px}

/* other formats: tiles with tiny previews of each */
.mn-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.mn-t{background:#fff;border-radius:14px;padding:8px 8px 10px;box-shadow:inset 0 0 0 1px var(--line)}
.mn-t > b{display:block;font-size:12.5px;padding:8px 4px 0;line-height:1.3}
.mn-p{display:grid;place-items:center;height:78px;border-radius:10px;background:linear-gradient(160deg,#F5F3FF,#EEF0FF);overflow:hidden}
.v2 .mn-p i{display:block;width:auto;height:auto;border-radius:0;background:none}
.mn-p u,.mn-p b{display:block;text-decoration:none}
.mi-table{display:grid;grid-template-columns:repeat(3,22px);gap:3px}
.v2 .mi-table i{width:22px;height:12px;border-radius:3px;background:#fff;box-shadow:inset 0 0 0 1px #C7CBFA}
.v2 .mi-table i:nth-child(-n+3){background:#A5ABF5;box-shadow:none}
.mi-map{position:relative;width:96px;height:58px}
.mi-map b{position:absolute;left:38px;top:20px;width:20px;height:18px;border-radius:6px;background:var(--a)}
.v2 .mi-map i{position:absolute;width:18px;height:12px;border-radius:4px;background:#fff;box-shadow:inset 0 0 0 1.5px #A5ABF5}
.v2 .mi-map i.a{left:4px;top:4px}
.v2 .mi-map i.b{right:4px;top:6px}
.v2 .mi-map i.c{left:39px;bottom:0}
.mi-map u{position:absolute;height:2px;background:#A5ABF5;transform-origin:left}
.mi-map u.a{left:20px;top:12px;width:24px;transform:rotate(25deg)}
.mi-map u.b{left:56px;top:24px;width:24px;transform:rotate(-24deg)}
.mi-map u.c{left:48px;top:38px;width:8px;transform:rotate(90deg)}
.mi-cal{display:grid;grid-template-columns:repeat(7,10px);gap:3px}
.v2 .mi-cal i{width:10px;height:10px;border-radius:3px;background:#fff}
.v2 .mi-cal i.on{background:var(--a)}
.v2 .mi-cal i.due{background:#F59E0B}
.mi-chart{display:flex;align-items:flex-end;gap:6px;height:52px}
.v2 .mi-chart i{width:14px;height:var(--h);border-radius:4px 4px 2px 2px;background:linear-gradient(180deg,#818CF8,#4F46E5)}
.mi-todo{display:grid;gap:6px}
.v2 .mi-todo i{position:relative;width:70px;height:12px;border-radius:4px;background:#fff}
.mi-todo i::before{content:"";position:absolute;left:2px;top:2px;width:8px;height:8px;border-radius:2px;box-shadow:inset 0 0 0 1.5px #A5ABF5}
.mi-todo i.ok::before{background:var(--ok);box-shadow:none}
.mi-doc{position:relative;display:grid;gap:4px;width:56px;background:#fff;border-radius:5px;padding:7px;box-shadow:0 4px 10px -6px rgba(20,26,46,.35)}
.mi-doc b{height:6px;width:60%;border-radius:3px;background:var(--a)}
.v2 .mi-doc i{height:4px;width:100%;border-radius:2px;background:#E2E4EC}
.v2 .mi-doc i.hl{background:#FDE68A}
.v2 .mi-doc i.s{width:60%}
.mi-doc em{position:absolute;right:-9px;bottom:-7px;font-style:normal}
.mi-doc em .ic{font-size:22px;color:var(--a)}
.mi-slide{position:relative;width:84px;height:52px;background:#fff;border-radius:5px;box-shadow:0 4px 10px -6px rgba(20,26,46,.35);padding:7px}
.mi-slide b{height:6px;width:45%;border-radius:3px;background:var(--a)}
.v2 .mi-slide i{height:4px;width:36%;margin-top:6px;border-radius:2px;background:#E2E4EC}
.mi-slide u{position:absolute;right:7px;top:14px;width:30px;height:24px;border-radius:4px;background:linear-gradient(140deg,#C7CBFA,#818CF8)}
.mi-mail{display:grid;justify-items:center;gap:4px}
.mi-mail .ic{font-size:28px;color:var(--a)}
.v2 .mi-mail i{height:4px;width:50px;border-radius:2px;background:#fff}
.v2 .mi-mail i.s{width:34px}

@media (max-width:640px){
  .ga-grid,.mn-grid{grid-template-columns:repeat(2,1fr)}
  .rd-body{grid-template-columns:1fr;justify-items:center}
  .vl-h{flex-wrap:wrap}
  .vl-key{margin-left:0}
}

/* placeholder-bar styles elsewhere must not reach these */
.v2 .vl-key i{display:block;width:9px;height:9px;border-radius:50%}
.v2 .vl-key .t i{background:var(--t)}
.v2 .vl-key .l i{background:var(--l)}
.v2 .cs-bar i{display:block;height:auto;width:var(--w);border-radius:3px}
.v2 .cs-bar .k0{background:#4F46E5}
.v2 .cs-bar .k1{background:#818CF8}
.v2 .cs-bar .k2{background:#C7D2FE}
.v2 .cs-bar .un{background:repeating-linear-gradient(135deg,#FCD34D 0 5px,#FDE68A 5px 10px)}
.vl-ev,.vl-gap{z-index:1}
