/* What's shipped — redesign port of docs/redesign-mockups/shipped-mockup.html.
   Every rule is scoped under .sh-page so nothing leaks to other pages. JetBrains Mono, hard corners,
   theme tokens only. The mockup's .seg is renamed .sh-seg here: themes.css owns a global .seg. */
/* ===== shared pieces ===== */
body[data-theme=gemini] #view .sh-page{font-family:"JetBrains Mono",monospace;--px-card:var(--today-paper);--px-inset:var(--paper-3);--px-edge:var(--today-rule)}
body[data-theme=gemini] #view .sh-page *{border-radius:0}
body[data-theme=gemini] #view .sh-page .up{color:var(--up)}
body[data-theme=gemini] #view .sh-page .mut{color:var(--ink3)}
body[data-theme=gemini] #view .sh-page a{color:var(--ink1);text-underline-offset:3px}
body[data-theme=gemini] #view .sh-page a:focus-visible,body[data-theme=gemini] #view .sh-page button:focus-visible,body[data-theme=gemini] #view .sh-page input:focus-visible{outline:2px solid var(--today-focus);outline-offset:2px}
body[data-theme=gemini] #view .sh-page .px-ch{margin-top:76px}
body[data-theme=gemini] #view .sh-page .px-ch.first{margin-top:22px}
body[data-theme=gemini] #view .sh-page .sx-hd{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:flex-end;justify-content:space-between;border-bottom:1px solid var(--today-rule);padding-bottom:12px}
body[data-theme=gemini] #view .sh-page .sx-hd>div:first-child{min-width:0;flex:1 1 420px}
body[data-theme=gemini] #view .sh-page .sx-hd h2{margin:0;font-size:16px;line-height:1.25;font-weight:700;letter-spacing:-.01em;text-transform:none;color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .sx-ld{margin:6px 0 0;font-size:11px;line-height:1.55;color:var(--ink2);max-width:78ch}
body[data-theme=gemini] #view .sh-page .sx-hr{font-size:9px;line-height:1.5;color:var(--ink3);text-align:end}
body[data-theme=gemini] #view .sh-page .mc-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--px-edge);border:1px solid var(--px-edge);margin-top:14px}
body[data-theme=gemini] #view .sh-page .mc-strip>div{background:var(--px-inset);padding:12px 14px 13px;min-width:0;cursor:default}
body[data-theme=gemini] #view .sh-page .mc-strip small{display:block;font-size:9px;letter-spacing:.08em;color:var(--ink3)}
body[data-theme=gemini] #view .sh-page .mc-strip b{display:block;margin:6px 0 4px;font-size:18px;font-weight:500;letter-spacing:-.02em;overflow-wrap:anywhere;color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .mc-strip span{font-size:9px;line-height:1.45;color:var(--ink2)}
body[data-theme=gemini] #view .sh-page .mc-unk{color:var(--ink3);font-style:italic}
body[data-theme=gemini] #view .sh-page .ln-pill{display:inline-block;border:1px solid var(--rline);padding:1px 6px;font-size:9px;letter-spacing:.04em;color:var(--ink2);white-space:nowrap}
body[data-theme=gemini] #view .sh-page .ln-pill.ink{background:var(--ink1);border-color:var(--ink1);color:var(--paper)}
body[data-theme=gemini] #view .sh-page .pf-foot{font-size:9px;line-height:1.6;color:var(--ink3);margin:64px 0 0;max-width:90ch;border-top:1px solid var(--today-rule);padding-top:12px}
body[data-theme=gemini] #view .sh-page .pf-foot p{margin:0 0 6px}
body[data-theme=gemini] #view .sh-page .wl-tip{position:fixed;pointer-events:none;z-index:80;background:var(--paper-3);border:1px solid var(--rline);padding:7px 9px;font-size:10px;line-height:1.5;color:var(--ink1);box-shadow:var(--shadow);display:none;max-width:280px;white-space:pre-line}
body[data-theme=gemini] #view .sh-page .ln-ghost{all:unset;box-sizing:border-box;cursor:pointer;display:inline-block;padding:7px 12px;font-size:10px;border:1px solid var(--rline);color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .ln-ghost:hover{border-color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .ln-ghost:focus-visible{outline:2px solid var(--today-focus);outline-offset:2px}
body[data-theme=gemini] #view .sh-page .ln-note{margin-top:14px;border:1px dashed var(--rline);padding:10px 14px;font-size:10px;line-height:1.6;color:var(--ink2);max-width:92ch}
body[data-theme=gemini] #view .sh-page mark{background:var(--today-hover);color:var(--ink1);box-shadow:inset 0 -2px 0 var(--accent)}
body[data-theme=gemini] #view .sh-page code{font:inherit;background:var(--paper-3);padding:0 3px;border:1px solid var(--rhair)}
body[data-theme=gemini] #view .sh-page .sh-id{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-end;margin-bottom:4px}

/* ===== latest release ===== */
body[data-theme=gemini] #view .sh-page .sh-hero{margin-top:18px;background:var(--px-card);border:1px solid var(--px-edge);border-top:3px solid var(--ink1);padding:20px 20px 22px;scroll-margin-top:64px}
body[data-theme=gemini] #view .sh-page .sh-hero .k{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:10px;color:var(--ink3)}
body[data-theme=gemini] #view .sh-page .sh-hero h3{margin:12px 0 0;font-size:28px;line-height:1.1;font-weight:700;letter-spacing:-.03em;text-transform:none;color:var(--ink1);overflow-wrap:anywhere}
body[data-theme=gemini] #view .sh-page .sh-hero .v{margin-top:6px;font-size:12px;color:var(--ink2)}
body[data-theme=gemini] #view .sh-page .sh-notes{margin:14px 0 0;padding:0;list-style:none;max-width:84ch}
body[data-theme=gemini] #view .sh-page .sh-notes li{position:relative;padding:0 0 0 16px;margin:0 0 10px;font-size:12px;line-height:1.65;color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .sh-notes li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:1px;background:var(--ink3)}
body[data-theme=gemini] #view .sh-page .sh-notes li:last-child{margin-bottom:0}
body[data-theme=gemini] #view .sh-page .sh-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}
body[data-theme=gemini] #view .sh-page .sh-copied{font-size:10px;color:var(--up)}

/* ===== shipping pace chart ===== */
body[data-theme=gemini] #view .sh-page .sh-pace{margin-top:18px;background:var(--px-card);border:1px solid var(--px-edge);padding:16px 16px 10px}
body[data-theme=gemini] #view .sh-page .sh-bars{display:grid;gap:6px;align-items:end}
body[data-theme=gemini] #view .sh-page .sh-bar{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;text-align:center}
body[data-theme=gemini] #view .sh-page .sh-bar.zero{cursor:default}
body[data-theme=gemini] #view .sh-page .sh-bar .n{font-size:11px;font-weight:600;color:var(--ink1);font-variant-numeric:tabular-nums}
body[data-theme=gemini] #view .sh-page .sh-bar.zero .n{color:var(--ink3);font-weight:400}
body[data-theme=gemini] #view .sh-page .sh-bar .col{position:relative;display:block;height:110px;border-bottom:1px solid var(--today-rule);background:repeating-linear-gradient(to top,transparent 0 27px,var(--rhair) 27px 28px)}
body[data-theme=gemini] #view .sh-page .sh-bar .col i{position:absolute;left:18%;right:18%;bottom:0;background:var(--ink1);transition:background .15s}
body[data-theme=gemini] #view .sh-page .sh-bar:not(.zero):hover .col i,body[data-theme=gemini] #view .sh-page .sh-bar[aria-pressed=true] .col i{background:var(--accent)}
body[data-theme=gemini] #view .sh-page .sh-bar[aria-pressed=true] .ax{color:var(--ink1);font-weight:600}
body[data-theme=gemini] #view .sh-page .sh-bar:focus-visible{outline:2px solid var(--today-focus);outline-offset:2px}
body[data-theme=gemini] #view .sh-page .sh-bar .ax{font-size:9px;color:var(--ink3);white-space:nowrap;overflow:hidden;text-overflow:clip}
body[data-theme=gemini] #view .sh-page .sh-cap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-top:8px;font-size:9px;line-height:1.5;color:var(--ink3)}

/* ===== tools + release list ===== */
body[data-theme=gemini] #view .sh-page .sh-tools{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center;margin-top:18px}
body[data-theme=gemini] #view .sh-page .sh-q{flex:1 1 260px;min-width:0;display:flex;align-items:center;border:1px solid var(--rline);background:var(--px-card)}
body[data-theme=gemini] #view .sh-page .sh-q:focus-within{border-color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .sh-q span{padding:0 0 0 10px;font-size:11px;color:var(--ink3)}
body[data-theme=gemini] #view .sh-page .sh-q input{all:unset;box-sizing:border-box;flex:1;min-width:0;padding:8px 10px;font:12px "JetBrains Mono",monospace;color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .sh-q input::placeholder{color:var(--ink3)}
body[data-theme=gemini] #view .sh-page .sh-q input::-webkit-search-cancel-button{display:none}
body[data-theme=gemini] #view .sh-page .sh-q button{all:unset;cursor:pointer;padding:0 10px;font-size:11px;color:var(--ink3)}
body[data-theme=gemini] #view .sh-page .sh-q button[hidden]{display:none}
body[data-theme=gemini] #view .sh-page .sh-q button:hover{color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .sh-seg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--rline)}
body[data-theme=gemini] #view .sh-page .sh-seg button{all:unset;box-sizing:border-box;cursor:pointer;padding:6px 12px;font-size:10px;color:var(--ink2);border-inline-start:1px solid var(--rline)}
body[data-theme=gemini] #view .sh-page .sh-seg button:first-child{border-inline-start:0}
body[data-theme=gemini] #view .sh-page .sh-seg button:hover{color:var(--ink1);background:var(--today-hover)}
body[data-theme=gemini] #view .sh-page .sh-seg button[aria-pressed=true]{background:var(--ink1);color:var(--paper)}
body[data-theme=gemini] #view .sh-page .sh-seg button:focus-visible{outline:2px solid var(--today-focus);outline-offset:1px}
body[data-theme=gemini] #view .sh-page .sh-state{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px;font-size:10px;color:var(--ink3);min-height:18px}
body[data-theme=gemini] #view .sh-page .sh-chip{all:unset;box-sizing:border-box;cursor:pointer;border:1px solid var(--ink1);padding:1px 6px;font-size:9px;color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .sh-chip:hover{background:var(--ink1);color:var(--paper)}
body[data-theme=gemini] #view .sh-page .sh-mo{margin-top:26px}
body[data-theme=gemini] #view .sh-page .sh-mo h3{display:flex;justify-content:space-between;gap:12px;margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink1)}
body[data-theme=gemini] #view .sh-page .sh-mo h3 small{font-size:9px;font-weight:400;letter-spacing:.04em;color:var(--ink3);text-transform:none}
body[data-theme=gemini] #view .sh-page .sh-list{background:var(--px-card);border:1px solid var(--px-edge)}
body[data-theme=gemini] #view .sh-page .sh-rel{border-bottom:1px solid var(--rhair);scroll-margin-top:64px}
body[data-theme=gemini] #view .sh-page .sh-rel:last-child{border-bottom:0}
body[data-theme=gemini] #view .sh-page .sh-rel.tgt{box-shadow:inset 3px 0 0 var(--accent)}
body[data-theme=gemini] #view .sh-page .sh-row{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:4px 16px;align-items:baseline;width:100%;padding:13px 16px}
body[data-theme=gemini] #view .sh-page .sh-row:hover{background:var(--today-hover)}
body[data-theme=gemini] #view .sh-page .sh-row:focus-visible{outline:2px solid var(--today-focus);outline-offset:-2px}
body[data-theme=gemini] #view .sh-page .sh-row time{font-size:10px;color:var(--ink3);font-variant-numeric:tabular-nums}
body[data-theme=gemini] #view .sh-page .sh-row .t{font-size:12px;line-height:1.5;font-weight:600;color:var(--ink1);overflow-wrap:anywhere}
body[data-theme=gemini] #view .sh-page .sh-row .t small{display:block;margin-top:3px;font-size:9.5px;font-weight:400;color:var(--ink3)}
body[data-theme=gemini] #view .sh-page .sh-row .c{font-size:10px;color:var(--ink3);white-space:nowrap}
body[data-theme=gemini] #view .sh-page .sh-row .c i{display:inline-block;font-style:normal;margin-left:6px;transition:transform .15s}
body[data-theme=gemini] #view .sh-page .sh-row[aria-expanded=true] .c i{transform:rotate(90deg)}
body[data-theme=gemini] #view .sh-page .sh-body{padding:2px 16px 16px calc(92px + 32px);background:var(--px-card)}
body[data-theme=gemini] #view .sh-page .sh-body[hidden]{display:none}
body[data-theme=gemini] #view .sh-page .sh-body .sh-notes{margin-top:4px}
body[data-theme=gemini] #view .sh-page .sh-body .sh-acts{margin-top:12px}
body[data-theme=gemini] #view .sh-page .sh-empty{margin:0;padding:22px 16px;font-size:11px;line-height:1.6;color:var(--ink2)}

/* ===== mobile + reduced motion ===== */
@media (max-width:620px){
  body[data-theme=gemini] #view .sh-page.today-page{padding:10px 16px 26px}
  body[data-theme=gemini] #view .sh-page .px-ch{margin-top:52px}
  body[data-theme=gemini] #view .sh-page .sx-hd>div:first-child{flex-basis:100%}
  body[data-theme=gemini] #view .sh-page .sx-hr{text-align:start}
  body[data-theme=gemini] #view .sh-page .mc-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-theme=gemini] #view .sh-page .mc-strip>div{padding:12px 12px 13px}
  body[data-theme=gemini] #view .sh-page .sh-id{justify-content:flex-start}
  body[data-theme=gemini] #view .sh-page .sh-hero{padding:16px 14px 18px}
  body[data-theme=gemini] #view .sh-page .sh-hero h3{font-size:22px}
  body[data-theme=gemini] #view .sh-page .sh-pace{padding:14px 10px 8px}
  body[data-theme=gemini] #view .sh-page .sh-row{grid-template-columns:minmax(0,1fr) auto;padding:12px 14px}
  body[data-theme=gemini] #view .sh-page .sh-row time{grid-column:1/-1}
  body[data-theme=gemini] #view .sh-page .sh-body{padding:2px 14px 14px}
  body[data-theme=gemini] #view .sh-page .sh-bars{gap:3px}
  body[data-theme=gemini] #view .sh-page .sh-bar .ax{font-size:8px;letter-spacing:-.03em}
  body[data-theme=gemini] #view .sh-page .sh-bar .col{height:90px}
  body[data-theme=gemini] #view .sh-page .sh-tools .sh-seg{width:100%}
  body[data-theme=gemini] #view .sh-page .sh-tools .sh-seg button{flex:1 1 auto;text-align:center}
}
@media (prefers-reduced-motion:reduce){
  body[data-theme=gemini] #view .sh-page *{transition:none!important}
}
