/* The five EVA screens translated into data, validation, navigation and time. */
:root {
  --instrument-amber:#ffad28;
  --instrument-green:#85df26;
  --instrument-teal:#2e9c8f;
  --instrument-baseline:#64e0dc;
  --instrument-warning:#ff5743;
  --instrument-edge:#72432a;
  --instrument-paper:#f5e4d1;
  --instrument-mono:Consolas,"Courier New",monospace;
}

/* Surface and active-state treatments shared by the guide and WordPress. */
:is(.mast,.eva-navigation,.global,.index-bar) {
  border-bottom:1px solid var(--instrument-edge);
  box-shadow:0 3px 0 #100b08;
  background:#090807;
}
:is(.mast nav a[aria-current=page],.doc-nav a[aria-current=page],.eva-menu .current-menu-item>a,.eva-menu .current_page_item>a) {
  color:#ffcc82;
  background:linear-gradient(90deg,#392011,transparent);
  box-shadow:inset 3px 0 #ff8b2e;
}
:is(.doc-body,.standalone,.ui-index,.eva-content) h1 {
  color:var(--readout-ink,#ed6e2e);
  font-weight:850;
  letter-spacing:-.06em;
  line-height:1.15;
}
:is(.doc-body,.standalone,.eva-content,.ui-index) :is(.section-key,.kicker,.eva-kicker) {
  display:inline-block;
  border-block-start:0;
  border-inline-start:4px solid var(--instrument-amber);
  padding:3px 8px;
  color:#ffb85b;
  background:#211308;
}
:is(.ds-feedback,.ds-toast,output)[data-tone=error]:not(:empty),
.login #login_error,.login .notice-error,.lookup-feedback:not(:empty) {
  display:block;
  border:1px solid #8e352c;
  border-inline-start:4px solid var(--instrument-warning);
  background:linear-gradient(110deg,#35100c,#160c09 67%);
  color:#ffd8c9;
  padding:.65rem .8rem;
}
:is(.ds-feedback,.ds-toast,output)[data-tone=error]:not(:empty)::before,
.lookup-feedback:not(:empty)::before,.login .notice-error::before {
  content:"!";
  display:inline-grid;place-items:center;
  vertical-align:middle;
  width:1.5rem;height:1.28rem;margin-inline-end:.5rem;
  background:var(--instrument-warning);color:#190605;
  font:bold .94rem/1 var(--instrument-mono);
  clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
}
:is(.ds-input,.dashen-preferences__form input,#lookup-id)[aria-invalid=true] {
  border-color:var(--instrument-warning);box-shadow:inset 3px 0 var(--instrument-warning);
}
:is(.ds-tabs [aria-selected=true],.wp-block-navigation-item.current-menu-item>a) {
  outline-offset:3px;
  box-shadow:inset 0 -2px var(--instrument-baseline),0 2px 8px #268a8338;
}
.ds-progress {
  appearance:none;width:100%;height:1rem;border:1px solid #376561;
  background:#0e201e;color:var(--instrument-green);
}
.ds-progress::-webkit-progress-bar {background:#0e201e}
.ds-progress::-webkit-progress-value {
  background:repeating-linear-gradient(105deg,transparent 0 8px,#14281c 8px 10px),linear-gradient(90deg,var(--instrument-teal),var(--instrument-green));
}
.ds-progress::-moz-progress-bar {
  background:repeating-linear-gradient(105deg,transparent 0 8px,#14281c 8px 10px),linear-gradient(90deg,var(--instrument-teal),var(--instrument-green));
}
[data-ds=dashboard] [data-report] {border-top:2px solid var(--instrument-amber);border-bottom:1px solid var(--instrument-baseline)}
[data-ds=dashboard] thead {background:#251708;color:#ffba62}
[data-ds=dashboard] tbody td:last-child,
[data-ds=stepper] output,.wp-block-post-date time {
  color:var(--instrument-amber);
  font-family:var(--instrument-mono);font-variant-numeric:tabular-nums;
}
:is(.wp-block-table,.ds-table) thead {border-bottom:2px solid #b05935}
.wp-block-details[open]>summary {border-inline-start:3px solid var(--instrument-baseline);padding-inline-start:.55rem}

/* Numbers and links remain outside the plotted data at all viewport sizes. */
.instrument-caption {
  display:flex;align-items:baseline;justify-content:space-between;gap:4px 12px;flex-wrap:wrap;
}
.instrument-caption :is(h2,h3) {margin:0;color:var(--instrument-paper);font-size:1.15rem;line-height:1.22;letter-spacing:-.035em}
.instrument-caption>a {
  color:#c89871;text-decoration:none;
  font:600 .63rem/1.5 var(--instrument-mono);overflow-wrap:anywhere;
}
.instrument-caption>a:is(:hover,:focus-visible) {color:#ffcf90;text-decoration:underline}
.instrument-parts {margin:.6rem 0 0;border-top:1px solid #453122;color:#d2a17c}
.instrument-parts summary {width:fit-content;padding:7px 1px;line-height:1.4;font-size:.78rem;cursor:pointer}
.instrument-parts>div {display:flex;flex-wrap:wrap;gap:3px 14px}
.instrument-parts a {color:#dfba9d;text-decoration:none;font-size:.78rem;overflow-wrap:anywhere;padding:3px 0}
.instrument-parts code {font:.72rem var(--instrument-mono);color:#ffb37d}
.instrument-parts a:is(:focus-visible,:hover,[aria-current=true]) {color:#fff0be;text-decoration:underline}
.instrument-spectrum {
  margin:0;min-width:0;
  padding:clamp(14px,2.25vw,30px);
  background:#060906;
  border:1px solid #5f5430;
  box-shadow:inset 0 1px #b68a33;
}
.instrument-spectrum .instrument-caption h2 {font-size:clamp(1.2rem,2.1vw,1.65rem)}
.spectrum-readout {
  display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
  margin-block:12px 7px;color:var(--instrument-amber);
  font:700 .72rem/1.2 var(--instrument-mono);letter-spacing:.045em;
}
.spectrum-readout span {border:1px solid #a36a16;padding:3px 6px}
.spectrum-readout b {font:800 1.1rem/1 var(--instrument-mono)}
.spectrum-plot {
  display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;
  gap:clamp(3px,1vw,10px);padding:8px 7px 0;isolation:isolate;
  border-block:1px solid #8b701d;
  background:repeating-linear-gradient(0deg,transparent 0 25px,#3f431c 26px,transparent 27px),
    repeating-linear-gradient(108deg,transparent 0 32px,#b28b2c45 33px,transparent 34px),#070b08;
}
.spectrum-plot:empty {display:none}
.spectrum-column {
  position:relative;display:grid;grid-template-rows:clamp(72px,11vw,138px) auto;
  min-width:0;border:0;background:transparent;color:#efd4a1;padding:0 2px;
  cursor:pointer;font:700 clamp(.63rem,1.1vw,.8rem)/1.2 var(--readout-type,Helvetica,Arial,sans-serif);
}
.spectrum-column b {
  position:absolute;inset:4px auto auto 8px;z-index:1;color:#faffd8;
  padding:2px 3px;background:#07160fe8;font:700 .85rem/1 var(--instrument-mono);
}
.spectrum-column>span:last-child {padding:7px 0;border-top:1px solid var(--instrument-baseline);background:#080c09}
.spectrum-bar {
  position:relative;display:block;align-self:end;height:var(--level,1%);min-height:2px;
  overflow:clip;
  background:linear-gradient(var(--instrument-green),var(--instrument-teal));
  clip-path:polygon(12% 0,100% 0,88% 100%,0 100%);
}
.spectrum-bar::after {
  content:"";position:absolute;inset:0 0 0 auto;width:30%;transform:skewX(-8deg);
  background:repeating-linear-gradient(0deg,#202510 0 2px,#b1ba55 2px 9px);
}
.spectrum-column[aria-pressed=true] .spectrum-bar::after {background:repeating-linear-gradient(0deg,#262011 0 2px,#ffbd27 2px 9px)}
.spectrum-column[aria-pressed=true]>span:last-child {color:#ffce73;box-shadow:inset 0 -3px #ffb92d}
.spectrum-column:is(:focus-visible,:hover) {outline:1px solid #ffc865;outline-offset:1px}
.spectrum-keys {display:flex;flex-wrap:wrap;gap:4px 16px;margin:7px 0 0}
.spectrum-keys a {color:#c5e6c8;text-underline-offset:.2em;font-size:.8rem;padding-block:4px}

.instrument-grid {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(10px,2vw,24px);margin-top:14px}
.instrument-tools {display:grid;gap:12px;align-content:start;min-width:0}
.instrument-alert,.instrument-timer,.instrument-steps {min-width:0;padding:clamp(13px,2vw,22px);border:1px solid var(--instrument-edge);background:#0b0908}
.instrument-grid .hero-reference {display:block;background:#0a0807;border:0;padding:0}
.instrument-grid .reference-panel {border-color:var(--instrument-edge)}
.instrument-alert {border-top:2px solid #d45539}
.instrument-alert .instrument-caption h3::before {
  content:"";display:inline-block;vertical-align:middle;width:1.05em;height:.92em;margin-right:.4em;
  background:#ac6a3d;
  clip-path:polygon(23% 0,77% 0,100% 50%,77% 100%,23% 100%,0 50%,23% 0,30% 14%,11% 50%,30% 86%,70% 86%,89% 50%,70% 14%,30% 14%);
}
.instrument-alert:has([aria-invalid=true]) .instrument-caption h3::before {background:var(--instrument-warning)}
.instrument-alert label {display:block;margin:.75em 0 .3em;font-size:.83rem;color:#d9b8a3}
.lookup-controls,.timer-controls {display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.lookup-controls input {
  flex:1 1 9rem;min-width:0;min-height:44px;padding:6px 9px;
  color:var(--instrument-paper);background:#100c09;border:1px solid var(--instrument-edge);
  font:normal .95rem var(--instrument-mono);
}
.lookup-feedback:empty {display:none}
.lookup-feedback:not(:empty) {margin:.5em 0 0}
.instrument-timer {border-top:2px solid var(--instrument-amber)}
.timer-body {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.9rem;margin-top:12px}
.timer-clock {display:inline-flex;gap:.14em;align-items:center;color:var(--instrument-amber);font-size:clamp(18px,2vw,27px)}
.clock-digit {position:relative;display:block;width:.91em;height:1.55em}
.clock-digit i {position:absolute;background:#35250f}
.clock-digit :is(.segment-a,.segment-d,.segment-g) {left:12%;width:76%;height:11%;clip-path:polygon(12% 0,88% 0,100% 50%,88% 100%,12% 100%,0 50%)}
.segment-a {top:0}.segment-g {top:44.5%}.segment-d {bottom:0}
.clock-digit :is(.segment-b,.segment-c,.segment-e,.segment-f) {width:19%;height:42%;clip-path:polygon(50% 0,100% 12%,100% 88%,50% 100%,0 88%,0 12%)}
.segment-b,.segment-c {right:0}.segment-f,.segment-e {left:0}
.segment-b,.segment-f {top:6%}.segment-c,.segment-e {bottom:6%}
[data-active*=a]>.segment-a,[data-active*=b]>.segment-b,[data-active*=c]>.segment-c,[data-active*=d]>.segment-d,
[data-active*=e]>.segment-e,[data-active*=f]>.segment-f,[data-active*=g]>.segment-g {background:currentColor}
.clock-colon {width:.13em;height:.55em;border-block:.13em solid currentColor}
.timer-reset {color:#e8ba8c;border:0;background:transparent;font:inherit;text-decoration:underline;text-underline-offset:.2em;min-height:42px;cursor:pointer}
.timer-reset:disabled {color:#98877c;cursor:default}
.timer-status {margin:.45rem 0 0;color:#d1ae85;font:.78rem/1.3 var(--instrument-mono)}
.instrument-steps {margin-top:14px}
.instrument-steps ol {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,2vw,22px);
  list-style:none;margin:.7rem 0 0;padding:0;border-bottom:1px solid var(--instrument-baseline);
}
.instrument-steps li {display:flex;align-items:start;min-width:0;padding:24px 0 4px}
.instrument-steps li:nth-child(2) {padding-top:12px}.instrument-steps li:nth-child(3) {padding-top:0}
.instrument-steps a {
  flex:1;color:#b3f2d7;text-decoration:none;font-weight:700;border-top:5px solid #84e4ad;padding:4px 0;min-height:44px;
}
.instrument-steps li:nth-child(2) a {border-color:#eac059;color:#f9d590}
.instrument-steps li:nth-child(3) a {border-color:#f18441;color:#ffb888}
.instrument-steps small {margin-right:.4em;font:.72em var(--instrument-mono)}
.instrument-steps a:is(:hover,:focus-visible) {text-decoration:underline}
@media(max-width:760px) {
  .instrument-grid {grid-template-columns:minmax(0,1fr)}
  .instrument-grid .hero-reference {padding:0!important}
  .instrument-steps a {font-size:.87rem}
}
