/* Developer dashboard (/developers/dashboard/). Uses the dev-hub tokens and .dev-table from dev-reference.css. */
body.u-dev .dev-dash { padding-bottom: 4rem; }
body.u-dev .dev-dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
body.u-dev .dev-dash h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
body.u-dev .dev-dash-message { min-height: 1.5rem; margin: 0 var(--dev-pad) .5rem; font-weight: 600; color: var(--u-teal-700); }
body.u-dev .dev-dash-message.is-bad { color: #8a2b1d; }
body.u-dev :is(.dev-dash-body, .dev-dash-signin) { padding-inline: var(--dev-pad); }
body.u-dev .dev-dash-signin { max-width: 44rem; padding-block: 1.5rem 3rem; }
body.u-dev .dev-dash-signin h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .75rem; }
body.u-dev .dev-dash-section { padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--u-line); }
body.u-dev .dev-dash-h { font: 600 1.25rem/1.3 var(--u-sans) !important; color: var(--u-teal-950); margin-bottom: .9rem !important; }
body.u-dev .dev-dash-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
body.u-dev .dev-dash-count { font-size: .875rem; color: var(--u-teal-700); font-weight: 600; }
body.u-dev .dev-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 0; }
body.u-dev .dev-tiles > div { padding: 1rem 1.1rem; border: var(--dev-rule); border-radius: var(--u-radius-sm); background: var(--u-surface); }
body.u-dev .dev-tiles dt { font-size: .8rem; font-weight: 700; color: var(--u-teal-700); text-transform: uppercase; letter-spacing: .05em; }
body.u-dev .dev-tiles dd { margin: .35rem 0 0; font: 600 clamp(1.4rem, 3vw, 2rem)/1.1 var(--u-sans); color: var(--u-teal-950); font-variant-numeric: tabular-nums; }
body.u-dev .dev-chart { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: .35rem; align-items: end; height: 11rem; padding: .75rem; border: var(--dev-rule); border-radius: var(--u-radius-sm); background: var(--u-surface); }
body.u-dev .dev-bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
body.u-dev .dev-bar span { display: block; width: 100%; max-width: 2.2rem; background: var(--u-teal); border-radius: .25rem .25rem 0 0; }
body.u-dev .dev-bar small { margin-top: .3rem; font-size: .65rem; color: var(--u-ink); white-space: nowrap; overflow: hidden; text-overflow: clip; max-width: 100%; }
body.u-dev .dev-dash-create { margin-bottom: 1rem; }
body.u-dev .dev-dash-create label { display: block; font-weight: 700; margin-bottom: .35rem; }
body.u-dev .dev-dash-inline { display: flex; flex-wrap: wrap; gap: .5rem; }
body.u-dev .dev-dash-inline input { flex: 1 1 16rem; min-width: 0; min-height: 2.6rem; padding: .5rem .75rem; border: var(--dev-rule); border-radius: var(--u-radius-sm); font: 500 .95rem var(--u-sans); background: var(--u-surface); color: var(--u-ink); }
body.u-dev .dev-dash-inline input:focus-visible { outline: 3px solid var(--u-teal-300); outline-offset: 1px; }
body.u-dev .dev-secret { margin-bottom: 1rem; padding: 1rem; border: 2px solid var(--u-teal); border-radius: var(--u-radius-sm); background: var(--u-mint); }
body.u-dev .dev-secret p { margin: 0 0 .6rem; }
body.u-dev .dev-secret input { font-family: var(--u-mono); }
body.u-dev .dev-mono { font-family: var(--u-mono); font-size: .85rem; overflow-wrap: anywhere; }
body.u-dev .dev-link-button { padding: .3rem .6rem; border: 1px solid #c9776a; border-radius: var(--u-radius-sm); background: transparent; color: #8a2b1d; font: 700 .8rem var(--u-sans); cursor: pointer; }
body.u-dev .dev-link-button:hover { background: var(--u-coral-100); }
body.u-dev .dev-link-button:focus-visible { outline: 3px solid var(--u-teal-300); outline-offset: 2px; }
body.u-dev .dev-keys td { white-space: nowrap; }
body.u-dev .dev-keys td:first-child { white-space: normal; font-weight: 600; }
body.u-dev .dev-dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
body.u-dev :is(.dev-access, .dev-hooks, .dev-links) { list-style: none; margin: 0; padding: 0; }
body.u-dev :is(.dev-access, .dev-hooks) li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .5rem 0; border-bottom: 1px solid var(--u-line); }
body.u-dev .dev-access .is-on strong { color: var(--u-teal-700); }
body.u-dev .dev-access .is-off strong { color: #8a5a1d; }
body.u-dev .dev-hooks li { flex-direction: column; }
body.u-dev .dev-links li { padding: .35rem 0; }
body.u-dev :is(.dev-dash-body, .dev-dash-signin) a { color: var(--u-teal-700); }
body.u-dev .dev-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
    body.u-dev .dev-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.u-dev .dev-dash-grid { grid-template-columns: 1fr; }
    body.u-dev :is(.dev-dash-body, .dev-dash-signin) { padding-inline: 16px; }
    body.u-dev .dev-dash-message { margin-inline: 16px; }
    body.u-dev .dev-chart { gap: .2rem; padding: .5rem; }
    body.u-dev .dev-bar small { font-size: .55rem; }
}
@media (max-width: 540px) { body.u-dev .dev-bar:nth-child(odd) small { visibility: hidden; } }
