.expiry-guide { font-size: 1.0625rem; line-height: 1.75; }
.expiry-guide h2 { margin-top: 2.4rem; }
.expiry-guide h3 { margin: .3rem 0 .65rem; line-height: 1.3; font-size: 1.3rem; }
.expiry-start { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; padding: 0; margin: 1.35rem 0 1.85rem; }
.expiry-start li.expiry-step-card {
  --step-accent: #60a5fa;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.05rem 1.05rem 1.1rem;
  border: 1px solid #313b4d;
  border-top: 2px solid var(--step-accent);
  border-radius: 15px;
  background: linear-gradient(155deg, rgba(24, 32, 48, 0.94), rgba(14, 18, 28, 0.97));
}
.expiry-start li.expiry-step-card--scope { --step-accent: #ffca47; }
.expiry-start li.expiry-step-card--strip { --step-accent: #5ee4c4; }
.expiry-step-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .3rem; }
.expiry-step-num { color: var(--step-accent); font: 800 .78rem/1.2 "IBM Plex Mono",monospace; letter-spacing: .06em; }
.expiry-step-tag {
  padding: .1rem .45rem;
  border: 1px solid #334155;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}
.expiry-start strong { display: block; color: #f8fafc; font-size: 1.08rem; letter-spacing: -.02em; margin-bottom: .6rem; }
.expiry-step-art { margin-bottom: .65rem; border-radius: 9px; overflow: hidden; }
.expiry-step-art svg { display: block; width: 100%; height: auto; }
.expiry-start span { display: block; color: #b1bbcd; font-size: .88rem; line-height: 1.5; margin-top: auto; }
.expiry-guide .shot { max-width: 100%; margin: 1.1rem 0 1.5rem; }
.expiry-strip-window { max-width: 100%; overflow-x: auto; border: 1px solid #353c50; border-radius: 12px; background: #10151e; scrollbar-width: auto; scrollbar-color: #8d74d7 #191d2c; }
.expiry-strip-window:focus-visible { outline: 2px solid #b59aff; outline-offset: 4px; }
.expiry-guide .expiry-strip .shot-frame { display: block; width: max-content; max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; }
.expiry-guide .expiry-strip .shot-frame img { display: block; width: auto; max-width: none; height: auto; max-height: none; }
.expiry-guide .expiry-strip .shot-frame:hover img { transform: none; }
.expiry-strip .shot-zoom { display: none; }
.expiry-guide .shot figcaption { font-size: .98rem; line-height: 1.65; }
.expiry-guide .shot-extra { color: #c1abff; font-size: .84rem; }
.expiry-details { margin: 1.3rem 0; }
.expiry-details > div { display: grid; grid-template-columns: 8rem minmax(0,1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.expiry-details dt { color: #d2c1ff; font-weight: 700; }
.expiry-details dd { margin: 0; }
.expiry-modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.2rem 0; }
.expiry-mode { min-width: 0; padding: 1.2rem; border: 1px solid #3b3850; border-top: 3px solid #a890e2; border-radius: 14px; background: #171523; }
.expiry-mode-sum { border-color: #514331; border-top-color: #ffca47; background: linear-gradient(145deg,#2a2217,#151721 75%); }
.expiry-control { display: flex; align-items: center; justify-content: center; width: 44px; height: 40px; border-radius: 12px; border: 1px solid #55516b; background: #242637; color: #c9bcf3; margin-bottom: .9rem; }
.expiry-control svg { width: 26px; height: 26px; }
.expiry-mode-sum .expiry-control { color: #392a00; background: #ffbf00; border-color: #ffd469; }
.expiry-mode-label { display: block; color: #c9b6ff; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.expiry-mode-sum .expiry-mode-label { color: #ffcf68; }
.expiry-mode p { font-size: 1rem; margin: .75rem 0 0; }
.expiry-mode .expiry-mode-example { color: #b9c2d3; font-size: .92rem; border-top: 1px solid #3a3a49; padding-top: .8rem; }
.expiry-note { padding: 1rem 1.15rem; border-left: 3px solid #ffcc65; border-radius: 0 12px 12px 0; background: #241f19; margin: 1.2rem 0; }
.expiry-note > strong { color: #ffda8e; }
.expiry-note p { margin: .45rem 0 0; }
.expiry-note-filter { background: #172229; border-left-color: #5ed7db; }
.expiry-note-filter > strong { color: #80e2e5; }
.expiry-guide :is(th,td) + :is(th,td) { border-left: 1px solid var(--line-strong); }
.expiry-guide th:first-child { width: 8rem; }
.expiry-guide td { vertical-align: top; }
.expiry-reading { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1.1rem 0; }
.expiry-reading > div { min-width: 0; padding: 1.1rem; border: 1px solid #353c50; border-radius: 12px; background: #131723; }
.expiry-reading strong { display: block; margin-top: .65rem; }
.expiry-reading p { margin: .5rem 0 0; font-size: .95rem; color: #b4bed0; }
.expiry-state-example { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: #dd3348; border-radius: 50%; color: white; font: 700 1.2rem/1 monospace; }
.expiry-value-example { display: flex; align-items: center; height: 36px; color: #56d68b; font: 700 1.1rem/1 "IBM Plex Mono",monospace; }
.expiry-markers li + li { margin-top: .75rem; }
@media(max-width:860px) {
  .expiry-guide { font-size: 1rem; }
  .expiry-start,.expiry-modes,.expiry-reading { grid-template-columns: minmax(0,1fr); }
  .expiry-details > div { grid-template-columns: minmax(0,1fr); gap: .3rem; }
  .expiry-guide th:first-child { width: 5.5rem; }
}
