/* Token use display, v1. Mock only. Does not change live CSS. */

.offline-flag{
  margin:0;
  padding:8px 24px;
  background:#ffd54a;
  color:#14183a;
  font:500 14px/1.4 "DM Sans",system-ui,sans-serif;
  text-align:center;
}

.token-use{
  background:#fff;
  color:#14183a;
  border-radius:16px;
  padding:24px 28px 20px;
  box-shadow:0 1px 2px rgba(20,24,58,.06),0 6px 18px rgba(20,24,58,.06);
  max-width:36rem;
}
.token-use--report{
  max-width:none;
  padding:28px 32px 24px;
}
.token-use-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin:0 0 16px;
}
.token-use-title{
  font-family:"Bricolage Grotesque",sans-serif;
  font-weight:800;
  font-size:1.75rem;
  letter-spacing:-0.02em;
  line-height:1.15;
  margin:0;
  color:#14183a;
}
.token-use-example{
  margin:0;
  flex:0 0 auto;
  font:500 .82rem/1.3 "DM Sans",system-ui,sans-serif;
  color:#55586b;
  border:1px solid #dcdad3;
  border-radius:999px;
  padding:4px 10px;
}
.token-use-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-bottom:0;
}
.token-use-copy{flex:1 1 auto;min-width:0}
.token-use-band{
  font-family:"Bricolage Grotesque",sans-serif;
  font-weight:800;
  font-size:1.5rem;
  letter-spacing:-0.02em;
  line-height:1.1;
  margin:0;
  color:#14183a;
}
.token-use-price{
  margin:8px 0 0;
  font-size:1.25rem;
  font-weight:500;
  font-variant-numeric:tabular-nums;
  line-height:1.2;
  color:#14183a;
}
.token-use-caption{
  margin:6px 0 0;
  font-size:1rem;
  color:#55586b;
}
.token-use-mark{
  flex:0 0 auto;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.token-use-chip{
  display:block;
  height:96px;
  width:auto;
}
.token-use--report .token-use-chip{height:180px}
.token-use-break{
  margin:18px 0 0;
  padding:14px 0 0;
  border-top:1px solid #e3e1db;
}
.token-use-line{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin:0;
  padding:6px 0;
  font-size:1rem;
}
.token-use-line .part{color:#14183a}
.token-use-line .fig{
  flex:0 0 auto;
  font-variant-numeric:tabular-nums;
  font-weight:500;
  color:#14183a;
}

@media (max-width:520px){
  .token-use{padding:20px 18px 16px}
  .token-use-title{font-size:1.5rem}
  .token-use-band{font-size:1.35rem}
  .token-use-price{font-size:1.15rem}
  .token-use-main{gap:16px}
  .token-use-chip,
  .token-use--report .token-use-chip{height:72px}
}

[data-theme=dark] .token-use{
  background:#23262d;
  color:#f7f6f2;
  box-shadow:0 1px 2px rgba(0,0,0,.25),0 6px 18px rgba(0,0,0,.18);
}
[data-theme=dark] .token-use-title,
[data-theme=dark] .token-use-band,
[data-theme=dark] .token-use-price,
[data-theme=dark] .token-use-line .part,
[data-theme=dark] .token-use-line .fig{color:#f7f6f2}
[data-theme=dark] .token-use-caption,
[data-theme=dark] .token-use-example{color:#b4b7c7}
[data-theme=dark] .token-use-example{border-color:#3a3d46}
[data-theme=dark] .token-use-break{border-top-color:rgba(255,255,255,.12)}

/* Entry typography in dark, when this sheet is used on the entry page */
[data-theme=dark] body{color:#f7f6f2}
[data-theme=dark] h1,
[data-theme=dark] h2,
[data-theme=dark] h3,
[data-theme=dark] main p{color:#f7f6f2}
[data-theme=dark] .eyebrow,
[data-theme=dark] main .crumbs{color:#b4b7c7}
main .crumbs{color:var(--muted,#55586b);margin:18px 0}
main .crumbs a{color:#a71176}

/* Report dark wells, mock only */
[data-theme=dark] .summary{
  background:#23262d;
  color:#f7f6f2;
  border-color:#3a3d46;
}
[data-theme=dark] .summary-head h2,
[data-theme=dark] .summary-grade,
[data-theme=dark] .summary-caveat,
[data-theme=dark] .summary-action,
[data-theme=dark] .summary-list .value,
[data-theme=dark] .finding-meta,
[data-theme=dark] article h2,
[data-theme=dark] article p,
[data-theme=dark] .where,
[data-theme=dark] .ticket-text,
[data-theme=dark] .checks-table,
[data-theme=dark] .page-head h1,
[data-theme=dark] .lede{color:#f7f6f2}
[data-theme=dark] .summary-list .label,
[data-theme=dark] .source-label,
[data-theme=dark] .muted,
[data-theme=dark] .muted-end,
[data-theme=dark] .header-label{color:#b4b7c7}
[data-theme=dark] .source-block,
[data-theme=dark] .ticket{background:#1f2126;color:#f7f6f2}
[data-theme=dark] .source-block code,
[data-theme=dark] .ticket-text,
[data-theme=dark] .ticket .ticket-label,
[data-theme=dark] .finding-meta,
[data-theme=dark] .where{color:#f7f6f2}
[data-theme=dark] .source-block .source-label{color:#b4b7c7}
[data-theme=dark] .ticket{border-color:#b4b7c7}
[data-theme=dark] .checks-table th,
[data-theme=dark] .checks-table td{color:#f7f6f2;border-color:#3a3d46}
[data-theme=dark] .pv-sheet,
[data-theme=dark] .pv-panel{background:#2c2f36}

.token-use-stack{display:grid;gap:28px;max-width:36rem;margin:0 auto;padding:36px 0 64px}
.showcase-page{background:#f7f5ef;color:#070607;margin:0;font:400 16px/1.55 "DM Sans",system-ui,sans-serif}
[data-theme=dark] .showcase-page,
[data-theme=dark] body.showcase-page{background:#2c2f36;color:#f7f6f2}
.showcase-intro{max-width:36rem;margin:0 auto;padding:28px 24px 0}
.showcase-intro h1{
  font-family:"Bricolage Grotesque",sans-serif;
  font-weight:800;
  font-size:2rem;
  letter-spacing:-0.03em;
  margin:0 0 8px;
}
.showcase-intro p{margin:0 0 8px;color:#55586b}
[data-theme=dark] .showcase-intro p{color:#b4b7c7}

/* Keep the block in the report column, not clipped by .pv-panel p rules */
.pv-panel .token-use p,
.token-use p{max-width:none}
.token-use--report{margin-top:8px}


/* Footnote under the split rows. Kept separate so Kurt can rewrite the wording in token-use.js without a CSS change. */
/* Second line for linked files, combined update 21/11/2026 */
.token-use-needed{
  margin:8px 0 0;
  font-size:1rem;
  line-height:1.5;
  color:#55586b;
}
[data-theme=dark] .token-use-needed{color:#b4b7c7}

.token-use-note{
  margin:14px 0 0;
  font-size:.82rem;
  line-height:1.45;
  color:#55586b;
}
[data-theme=dark] .token-use-note{color:#b4b7c7}

/* Hotfix 21/11/2026: "Not measured yet" state (brief P2) */
.token-use--none .token-use-band{font-size:1.35rem}
.token-use-reason{margin:8px 0 0;font-size:1rem;line-height:1.5;color:#55586b;max-width:34rem}
.token-use--static{margin-top:16px}
.pv-hero .token-use--static .token-use-title,.pv-hero .token-use--static .token-use-band{color:#14183a}
.pv-hero .token-use--static .token-use-reason{color:#55586b}
