/* v4: "Where you are today", packages, screenshots. */
.today { background: var(--mist); }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.pain { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pain .h { display: flex; gap: 12px; align-items: flex-start; }
.pain .pnum { flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; background: var(--amber-bg); color: var(--amber-ink); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; }
.pain h3 { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.25; margin-top: 3px; text-wrap: balance; }
.pain .d { font-size: 15px; line-height: 1.6; color: var(--muted); }
.pain .quote { background: var(--mist); }
.pain .quote.pending { background: #FFF8E6; }
.bridge { font-size: 15px; color: var(--muted); }
.bridge a { font-weight: 600; text-decoration: none; }

.shots { display: flex; flex-wrap: wrap; gap: 20px; }
.shot { margin: 0; flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.shot.half { flex: 1 1 calc(50% - 10px); min-width: min(100%, 300px); }
.shot img { display: block; width: 100%; height: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 1px 2px rgba(13, 23, 38, 0.06), 0 8px 24px rgba(13, 23, 38, 0.06); }
.shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.shot figcaption .src { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }

.inv .ln .tag.pk { background: var(--amber-bg); color: var(--amber-ink); margin-right: 6px; }
.incl { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--text); }
.pkgnote { margin-top: 6px; max-width: 520px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sowt .sowinc { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* builder */
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.cands { display: flex; flex-direction: column; gap: 8px; }
.cands:empty { display: none; }
.cand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); }
.cand .q { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; }
.cand .q small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cand .tg { align-self: flex-start; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; background: var(--amber-bg); color: var(--amber-ink); border-radius: 6px; padding: 2px 6px; }
.painlist { display: flex; flex-direction: column; gap: 12px; }
.pain-ed { border-left: 4px solid var(--amber); }
.pkg { display: flex; flex-direction: column; gap: 12px; border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px; background: var(--mist); }
.covs { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.covs legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.cov { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); font-size: 14px; cursor: pointer; }
.cov:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.cov input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 28px 16px; border: 2px dashed var(--line-2); border-radius: 14px; background: var(--mist); font-size: 14px; color: var(--muted); }
.drop b { font-size: 16px; color: var(--text); }
.drop.over, .drop:focus-visible { border-color: var(--accent); background: var(--accent-soft); outline: none; }
.drop small { font-size: 12px; }
.shotlist { display: flex; flex-direction: column; gap: 12px; }
.shotrow { display: flex; flex-wrap: wrap; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.shotrow > img { flex: 0 0 160px; width: 160px; height: 110px; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); }
.shotf { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 480px) { .shotrow > img { flex-basis: 100%; width: 100%; height: 160px; } }

/* v5: catalogue */
.dmparts { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dmparts legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.dmrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.dmrow .cov { min-width: 200px; }
.dmrow .fld.sub { flex: 1 1 220px; min-width: 0; }
.ovbox { display: flex; flex-direction: column; gap: 6px; border-radius: 10px; background: var(--mist); padding: 12px 14px; }
.ovbox:has(.ovw[hidden]) { display: none; }
.ovw { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.incl b { font-weight: 600; color: var(--text); }
[hidden] { display: none !important; }
