/* Compliance-deadline article — figure components */

/* ---------------- dark figure box (shared idiom) ---------------- */
.fbox-dark { background: var(--puw-teal-900); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-2xl); box-shadow: 0 26px 70px rgba(3,54,61,0.18); padding: 26px; position: relative; overflow: hidden; }
.fbox-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(46% 52% at 82% 6%, rgba(254,106,87,0.16), transparent 70%),
  radial-gradient(40% 46% at 8% 100%, rgba(36,142,156,0.14), transparent 72%); }
.fbox-dark > * { position: relative; }
.ws-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.ws-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #fff; }
.ws-sub { font-family: var(--font-meta); font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 3px; }
.fbox-dark sup.ref a { color: var(--puw-coral-500); }

/* ---------------- countdown ---------------- */
.cdn { text-align: center; padding: 6px 0 22px; }
.cdn-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(64px, 10vw, 108px); line-height: 1; letter-spacing: -0.03em; color: var(--puw-coral-500); font-variant-numeric: tabular-nums; }
.cdn-lab { font-family: var(--font-meta); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.62); margin-top: 10px; }

/* ---------------- timeline ---------------- */
.tl { margin-top: 8px; }
.tl-rail { position: relative; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.12); overflow: hidden; }
.tl-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--puw-teal-500, #248E9C), var(--puw-coral-500)); transition: width 1.2s cubic-bezier(.6,0,.2,1) .3s; }
.tl-nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.tl-node { position: relative; padding-top: 4px; }
.tl-dot { display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); background: var(--puw-teal-900); margin-bottom: 10px; }
.tl-node.done .tl-dot { background: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.75); }
.tl-node.next .tl-dot { background: var(--puw-coral-500); border-color: var(--puw-coral-500); box-shadow: 0 0 0 0 rgba(254,106,87,0.5); animation: tlPulse 2s ease-out infinite; }
@keyframes tlPulse { 0% { box-shadow: 0 0 0 0 rgba(254,106,87,0.45); } 70% { box-shadow: 0 0 0 12px rgba(254,106,87,0); } 100% { box-shadow: 0 0 0 0 rgba(254,106,87,0); } }
.tl-date { display: block; font-family: var(--font-meta); font-weight: 600; font-size: 12.5px; color: #fff; }
.tl-node.later .tl-date { color: rgba(255,255,255,0.55); }
.tl-node.next .tl-date { color: var(--puw-coral-500); }
.tl-name { display: block; font-family: var(--font-meta); font-size: 12px; line-height: 1.45; color: rgba(255,255,255,0.55); margin-top: 4px; }
@media (max-width: 700px) {
  .tl-nodes { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}

/* ---------------- GSE comparison ---------------- */
.cmp { display: flex; flex-direction: column; gap: 8px; }
.cmp-head { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; padding: 0 16px 10px; font-family: var(--font-meta); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--puw-slate-400); }
.cmp-row { border: 1px solid var(--puw-border-light); border-radius: var(--radius-lg); background: #fff; cursor: pointer; transition: border-color .22s, box-shadow .22s; }
.cmp-row:hover, .cmp-row:focus-visible { border-color: var(--puw-coral-500); box-shadow: 0 10px 26px rgba(3,54,61,0.06); outline: none; }
.cmp-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; align-items: start; padding: 15px 16px; }
.cmp-top .cmp-req { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; color: var(--puw-teal-900); line-height: 1.4; }
.cmp-gse { font-family: var(--font-meta); font-size: 12.5px; line-height: 1.5; color: var(--puw-teal-600); }
.cmp-gse .b { display: inline-block; font-weight: 600; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--radius-full, 999px); padding: 3px 9px; margin: 0 0 6px; }
.cmp-gse .b.req { background: var(--puw-coral-50); color: var(--puw-coral-600); }
.cmp-gse .b.part { background: var(--puw-warm-100, #EEF3F4); color: var(--puw-teal-600); }
.cmp-gse .b.next { background: var(--puw-coral-600); color: #fff; }
.cmp-gse .b.done { background: var(--puw-teal-900); color: #fff; }
.cmp-gse span.b + * { display: block; }
.cmp-detail { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.cmp-detail p { margin: 0; padding: 0 16px 15px; font-size: 14px; line-height: 1.6; color: var(--puw-teal-600); border-top: 1px dashed var(--puw-border-light); padding-top: 12px; margin-top: 2px; }
.cmp-row.open { border-color: var(--puw-coral-500); }
@media (max-width: 640px) {
  .cmp-head { display: none; }
  .cmp-top { grid-template-columns: 1fr; gap: 10px; }
  .cmp-top .cmp-req { font-size: 15px; }
  .cmp-gse::before { content: attr(data-gse); }
}

/* ---------------- readiness scorecard ---------------- */
.sc { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.sc-items { display: flex; flex-direction: column; gap: 8px; }
.sc-item { position: relative; text-align: left; font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--puw-teal-900); background: #fff; border: 1px solid var(--puw-border-light); border-radius: var(--radius-lg); padding: 12px 14px 12px 58px; cursor: pointer; transition: border-color .2s, background .2s; }
.sc-item::before { content: attr(data-g); position: absolute; left: 14px; top: 13px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-meta); font-size: 8.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--puw-slate-400); }
.sc-item::after { content: ""; position: absolute; left: 34px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 5px; border: 1.6px solid var(--puw-slate-300, #B9C6C9); background: #fff; transition: all .2s; }
.sc-item:hover { border-color: var(--puw-coral-500); }
.sc-item.on { background: var(--puw-coral-50); border-color: var(--puw-coral-500); }
.sc-item.on::after { background: var(--puw-coral-600); border-color: var(--puw-coral-600); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E"); background-size: 11px; background-position: center; background-repeat: no-repeat; }
.sc-result { position: sticky; top: 110px; background: var(--puw-teal-900); border-radius: var(--radius-2xl); padding: 26px 24px; text-align: center; }
.sc-score { font-family: var(--font-display); font-weight: 600; color: #fff; }
.sc-score #sc-n { font-size: 56px; line-height: 1; color: var(--puw-coral-500); font-variant-numeric: tabular-nums; }
.sc-score .of { font-size: 18px; color: rgba(255,255,255,0.5); margin-left: 6px; }
.sc-meter { height: 8px; border-radius: 5px; background: rgba(255,255,255,0.14); overflow: hidden; margin: 18px 0 16px; }
.sc-fill { height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--puw-coral-600), var(--puw-coral-500)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.sc-verdict { margin: 0; font-family: var(--font-body); font-size: 14.5px; line-height: 1.55; color: #fff; min-height: 3.2em; }
.sc-note { margin: 14px 0 0; font-family: var(--font-meta); font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,0.45); }
@media (max-width: 700px) {
  .sc { grid-template-columns: 1fr; }
  .sc-result { position: static; }
}

/* ---------------- vendor questions ---------------- */
.vq { display: flex; flex-direction: column; gap: 10px; }
.vq-item { border: 1px solid var(--puw-border-light); border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: border-color .22s; }
.vq-item.open { border-color: var(--puw-coral-500); }
.vq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 500; font-size: 16.5px; color: var(--puw-teal-900); }
.vq-q .n { font-family: var(--font-meta); font-weight: 600; font-size: 12px; color: var(--puw-coral-600); background: var(--puw-coral-50); border-radius: var(--radius-sm); width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; }
.vq-q .ic { margin-left: auto; width: 20px; height: 20px; flex: 0 0 auto; color: var(--puw-slate-400); transition: transform .3s, color .3s; }
.vq-item.open .vq-q .ic { transform: rotate(45deg); color: var(--puw-coral-600); }
.vq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.vq-a > div { padding: 0 18px 18px 62px; font-size: 15px; line-height: 1.65; color: var(--puw-teal-600); }
.vq-a strong { color: var(--puw-teal-900); }
@media (max-width: 560px) { .vq-a > div { padding-left: 18px; } }
