/* Classic phosphor terminal draft. Geometry and original equipment media stay
   in their existing rules; this sheet styles only the interactive glass. */
.terminal-ready .terminal-surface {
  --screen:#071108;--paper:#0a160b;--rail:#08140a;
  --ink:#71ff53;--muted:#80d96b;--line:#2f7234;--accent:#71ff53;--selection:#4ea548;
  color:var(--ink);background:var(--screen);
}
.terminal-ready .terminal-surface .hmi-screen-content {
  background:var(--screen);border:0;border-left:1px solid var(--line);
  box-shadow:none;scrollbar-width:thin;scrollbar-color:#36763a var(--screen);
}
.terminal-ready .terminal-surface .identity-hero {
  border:0;border-bottom:1px solid var(--line);box-shadow:none;
}
.terminal-ready .terminal-surface .hmi-nav {
  background:var(--rail);border:0;scrollbar-color:#36763a var(--rail);
}
.terminal-ready .terminal-surface .hmi-nav button {
  flex:1 0 auto;min-height:44px;gap:2px;padding:5px 3px;
  font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;
  font-size:clamp(9px,.85vw,11px);font-weight:600;line-height:1.2;
  letter-spacing:0;color:var(--ink);border:0;border-radius:0;
  background:transparent;box-shadow:none;
  transition:background-color 130ms ease,color 130ms ease;
}
.terminal-ready .terminal-surface .hmi-nav button span {
  width:20px;height:20px;flex-basis:20px;font-size:17px;
}
.terminal-ready .terminal-surface .hmi-nav button svg {width:20px;height:20px;filter:none;}
.terminal-ready .terminal-surface .hmi-nav button:hover {background:#16361b;color:#9aff7e;}
.terminal-ready .terminal-surface .hmi-nav button[aria-selected=true] {
  background:var(--accent);color:#071108;box-shadow:inset 3px 0 #baff94;
}
.terminal-ready .terminal-surface :is(.hmi-feature,.hmi-detail,.hmi-info-card) {
  color:var(--ink);border:0;border-bottom:1px solid var(--line);
  border-radius:0;background:var(--paper);box-shadow:none;
}
.terminal-ready .terminal-surface .hmi-feature-copy {background:var(--paper);}
.terminal-ready .terminal-surface :is(h2,h3,legend) {
  font-family:'DM Sans',Arial,sans-serif;font-weight:600;
  color:var(--ink);letter-spacing:-.015em;line-height:1.2;text-shadow:none;
  overflow-wrap:anywhere;
}
.terminal-ready .terminal-surface :is(.hmi-feature h2,.hmi-detail h2,.hmi-info-card h2) {font-size:clamp(20px,2.05vw,28px);}
.terminal-ready .terminal-surface :is(.hmi-category-code,.eyebrow) {
  font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;
  color:var(--accent);font-size:10px;font-weight:700;letter-spacing:.1em;line-height:1.6;
}
.terminal-ready .terminal-surface :is(p,li,label,legend,figcaption,.form-note,.hmi-scope,.hmi-qualified) {
  color:var(--muted);line-height:1.6;text-shadow:none;
}
.terminal-ready .terminal-surface .hmi-category-code {margin-bottom:8px;}
.terminal-ready .terminal-surface .hmi-feature-stack {gap:8px;padding:10px;}
.terminal-ready .terminal-surface :is(.hmi-subnav,.terminal-submenu) {gap:0;border-bottom:1px solid var(--line);}
.terminal-ready .terminal-surface :is(.hmi-subnav button,.terminal-submenu a,.terminal-submenu button) {
  min-height:44px;padding:9px 10px;border:0;border-bottom:2px solid transparent;
  border-radius:0;background:transparent;box-shadow:none;color:var(--muted);
  font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;font-weight:600;
  letter-spacing:0;transition:background-color 130ms ease,color 130ms ease;
}
.terminal-ready .terminal-surface .hmi-subnav button[aria-selected=true] {
  color:#9aff7e;background:#173a1c;border-bottom-color:var(--accent);box-shadow:none;
}
.terminal-ready .terminal-surface :is(.hmi-subnav button,.terminal-submenu a,.terminal-submenu button):hover {background:#173a1c;color:#9aff7e;}
.terminal-ready .terminal-surface :is(.hmi-action,.button) {
  min-height:44px;border:1px solid var(--accent);border-radius:2px;
  background:var(--accent);color:#071108;box-shadow:none;
  font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;font-weight:600;letter-spacing:0;
}
.terminal-ready .terminal-surface :is(.hmi-action,.button):hover {background:#9aff7e;color:#071108;}
.terminal-ready .terminal-surface :is(button,a,input,select,textarea):focus-visible {outline:2px solid #9aff7e;outline-offset:-3px;}
.terminal-ready .terminal-surface .hmi-nav button[aria-selected=true]:focus-visible {outline-color:#071108;}
.terminal-ready .terminal-surface :is(input,select,textarea) {background:#09170d;color:#71ff53;border:1px solid #3d8c43;border-radius:2px;}
.terminal-ready .terminal-surface .terminal-document :is(.section-heading,.mission-copy,.mission-values article,.approach>div,.approach>ol,.request>div,.request>form,footer,.brands-label,.brand-list span,.drive-group,.mascot-finale),
.terminal-ready .terminal-surface #hmi-repairs :is(.section-heading,.service-grid,.service-grid article,.field-service),
.terminal-ready .terminal-surface .mission-photo figcaption {
  background:var(--paper);color:var(--ink);border-color:var(--line);box-shadow:none;border-radius:0;
}
.terminal-ready .terminal-surface .hmi-repair-photo{border:1px solid var(--line);background:linear-gradient(145deg,rgba(22,58,28,.52),rgba(5,14,7,.96));box-shadow:inset 0 0 24px rgba(113,255,83,.055),0 8px 18px rgba(0,0,0,.28);}
.terminal-ready .terminal-surface .hmi-repair-photo img{filter:drop-shadow(0 9px 14px rgba(0,0,0,.46));}
.terminal-ready .terminal-surface .hmi-repair-photo figcaption{border-top:1px solid var(--line);background:rgba(8,20,10,.96);color:var(--ink);font:700 10px/1.5 ui-monospace,Consolas,monospace;text-transform:uppercase;letter-spacing:.045em;}
.terminal-ready .terminal-surface :is(.contact-details a,.text-link,.terminal-document footer a) {color:#90ff72;}
.terminal-ready .terminal-surface .terminal-frame {background:var(--screen);}
.terminal-ready .terminal-surface .hmi-view.is-active,
.terminal-ready .terminal-surface .hmi-view>[role=tabpanel]:not([hidden]) {animation:terminal-enter 150ms ease-out;}
.terminal-ready .terminal-surface .hmi-product-grid {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
}
.terminal-ready .terminal-surface .hmi-product-card {
  min-width:0;margin:0;padding:10px;background:linear-gradient(145deg,rgba(20,55,25,.62),rgba(7,17,8,.94));
  border:1px solid var(--line);box-shadow:inset 0 0 24px rgba(67,168,66,.08);
}
.terminal-ready .terminal-surface .hmi-product-grid .hmi-product-card:first-child {grid-column:1/-1;}
.terminal-ready .terminal-surface .hmi-product-art {display:grid;grid-template-rows:minmax(220px,1fr) auto;gap:8px;height:100%;margin:0;}
.terminal-ready .terminal-surface .hmi-product-art img {
  display:block;width:100%;height:100%;max-height:440px;min-height:220px;object-fit:contain;object-position:center;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.52));
}
.terminal-ready .terminal-surface .hmi-product-art-wide img {max-height:520px;}
.terminal-ready .terminal-surface .hmi-product-art figcaption {
  padding:8px 2px 2px;border-top:1px solid var(--line);font:700 11px/1.5 ui-monospace,Consolas,monospace;
  color:var(--ink);text-transform:uppercase;letter-spacing:.04em;
}
.terminal-ready .terminal-surface .hmi-business-card-display {padding:12px;}
.terminal-ready .terminal-surface .hmi-business-card-display .hmi-product-art img {max-height:none;min-height:0;aspect-ratio:3/2;}
.terminal-ready .terminal-surface .hmi-order-actions {display:flex;flex-wrap:wrap;gap:8px;padding-top:2px;}
.terminal-ready .terminal-surface .hmi-order-actions .hmi-action {display:inline-flex;align-items:center;justify-content:center;margin:0;}
.terminal-ready .terminal-surface .hmi-order-actions .hmi-action-secondary {background:transparent;color:var(--ink);}
.terminal-ready .terminal-surface .hmi-order-actions .hmi-action-secondary:hover {background:#173a1c;color:#9aff7e;}
@keyframes terminal-enter {from {opacity:.75;transform:translateY(2px);} to {opacity:1;transform:translateY(0);}}
/* Same palette in the existing field service, payment and policy frames. */
body.terminal-embedded {background:#071108;color:#71ff53;}
body.terminal-embedded :is(.field-request-intro,.field-request-card,.payment-card,.payment-intro,.terms-content section) {background:#0a160b!important;color:#71ff53!important;border-color:#2f7234!important;box-shadow:none;border-radius:0;}
body.terminal-embedded :is(h1,h2,h3,em,p,label,legend,.field-request-intro p,.payment-intro p) {color:#71ff53!important;text-shadow:none;}
body.terminal-embedded :is(.eyebrow,.payment-badge) {font-family:ui-monospace,Consolas,monospace;color:#71ff53!important;}
body.terminal-embedded a {color:#90ff72!important;}
body.terminal-embedded .button {font-family:ui-monospace,Consolas,monospace;border:1px solid #71ff53;background:#71ff53;color:#071108!important;box-shadow:none;border-radius:2px;}
body.terminal-embedded :is(input,select,textarea) {background:#09170d!important;color:#71ff53!important;border-color:#3d8c43;}
body.terminal-embedded :is(button,a,input,select,textarea):focus-visible {outline:2px solid #9aff7e;outline-offset:2px;}

@media(max-width:720px){
  .terminal-ready .terminal-surface .hmi-nav button {font-size:9px;min-height:44px;}
  .terminal-ready .terminal-surface :is(.hmi-feature h2,.hmi-detail h2,.hmi-info-card h2){font-size:23px;line-height:1.25;}
  .terminal-ready .terminal-surface .hmi-feature-stack {padding:8px;gap:8px;}
  .terminal-ready .terminal-surface .hmi-product-grid {grid-template-columns:1fr;}
  .terminal-ready .terminal-surface .hmi-product-grid .hmi-product-card:first-child {grid-column:auto;}
  .terminal-ready .terminal-surface .hmi-product-art {grid-template-rows:minmax(170px,auto) auto;}
  .terminal-ready .terminal-surface .hmi-product-art img {min-height:170px;max-height:360px;}
  .terminal-ready .terminal-surface .hmi-order-actions {display:grid;grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
  .terminal-ready .terminal-surface * {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
@media(forced-colors:active){
  .terminal-ready .terminal-surface :is(button,a,input,select,textarea):focus-visible {outline:2px solid Highlight;}
  .terminal-ready .terminal-surface .hmi-nav button[aria-selected=true] {border-left:3px solid Highlight;}
}
/* Keep qualifications readable on the phosphor screen. */
.terminal-ready .terminal-surface .hmi-qualified {color:var(--muted)!important;font-size:12px!important;}
.terminal-ready .terminal-surface .hmi-scope::before {color:var(--accent);}
.terminal-ready .terminal-surface #hmi-repairs :is(h2,h3,p,li) {color:var(--ink);}

/* Equipment directory: one continuous glass surface with phosphor-green
   typographic cues. Display labels describe navigation, never machine status. */
.terminal-ready .terminal-surface {--screen:#071108;--paper:#0a160b;--rail:#08140a;}
.terminal-ready .terminal-surface :is(h2,h3,legend) {text-shadow:0 0 6px rgba(113,255,83,.22);font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;letter-spacing:-.04em;}
.terminal-ready .terminal-surface .terminal-toolbar {
  position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:5px 16px;
  padding:9px 12px;background:var(--screen);border-bottom:1px solid var(--line);
  font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;
}
.terminal-ready .terminal-surface .terminal-trail {font-size:9px;letter-spacing:.1em;color:var(--muted);}
.terminal-ready .terminal-surface .terminal-page-title {display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:var(--ink);}
.terminal-ready .terminal-surface .terminal-page-title svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.terminal-ready .terminal-surface .hmi-nav button {position:relative;gap:4px;padding:8px 3px;}
.terminal-ready .terminal-surface .hmi-nav button::before {content:attr(data-menu-index);position:absolute;left:5px;top:4px;font-size:7px;opacity:.65;}
.terminal-ready .terminal-surface .hmi-nav button span {height:24px;width:24px;flex-basis:24px;}
.terminal-ready .terminal-surface .hmi-nav button svg {width:24px;height:24px;}
.terminal-ready .terminal-surface .hmi-nav button[aria-selected=true] {box-shadow:inset 3px 0 #baff94;}
.terminal-ready .terminal-surface .hmi-screen-content::-webkit-scrollbar {width:5px;}
.terminal-ready .terminal-surface .hmi-screen-content::-webkit-scrollbar-track {background:var(--screen);}
.terminal-ready .terminal-surface .hmi-screen-content::-webkit-scrollbar-thumb {background:#36763a;border-radius:0;}
.terminal-ready .terminal-surface .hmi-subnav {margin-bottom:10px;}
.terminal-ready .terminal-surface .hmi-subnav button[aria-selected=true]::before {content:'› ';}
.terminal-ready .terminal-surface .terminal-brand-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0;}
.terminal-ready .terminal-surface .terminal-brand-grid figure {margin:0;padding:10px;background:#09170d;border-bottom:1px solid var(--line);}
.terminal-ready .terminal-surface .terminal-brand-grid img {display:block;width:100%;height:42px;object-fit:contain;}
.terminal-ready .terminal-surface .terminal-brand-grid figcaption {font:10px/1.4 ui-monospace,Consolas,monospace;margin-top:8px;color:var(--muted);}
@media(max-width:720px){
  .terminal-ready .terminal-surface .terminal-toolbar {padding:8px;gap:5px;}
  .terminal-ready .terminal-surface .terminal-trail {font-size:8px;}
  .terminal-ready .terminal-surface .terminal-page-title {font-size:11px;}
  .terminal-ready .terminal-surface .terminal-brand-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Pip-Boy-style monochrome menus: inverse selections, terminal rules and a
   static glass texture. No flicker or simulated equipment readings. */
.terminal-ready .terminal-surface .hmi-screen-content {
  background:radial-gradient(ellipse at 50% 25%,rgba(53,110,39,.09),transparent 78%),var(--screen);
  box-shadow:inset 0 0 26px rgba(0,0,0,.45);
}
.terminal-ready .terminal-surface::after {
  content:'';position:absolute;inset:20.87% 0 0;z-index:6;pointer-events:none;
  background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(113,255,83,.035) 3px 4px);
}
.terminal-ready .terminal-surface :is(.terminal-toolbar,.hmi-subnav,.hmi-nav,.hmi-action,.button) {
  text-transform:uppercase;
}
.terminal-ready .terminal-surface .hmi-nav button {
  color:var(--ink);text-shadow:0 0 5px rgba(113,255,83,.18);
}
.terminal-ready .terminal-surface .hmi-nav button[aria-selected=true] {
  background:var(--selection);color:var(--screen);text-shadow:none;box-shadow:none;
}
.terminal-ready .terminal-surface .hmi-subnav button[aria-selected=true] {
  background:var(--selection);color:var(--screen);border-bottom-color:var(--selection);
}
.terminal-ready .terminal-surface .hmi-subnav button[aria-selected=true]::before {content:'[ ';}
.terminal-ready .terminal-surface .hmi-subnav button[aria-selected=true]::after {content:' ]';}
.terminal-ready .terminal-surface .hmi-action {border-radius:0;letter-spacing:.025em;}
.terminal-ready .terminal-surface :is(button,a,input,select,textarea):focus-visible {outline-color:#baff94;}
.terminal-ready .terminal-surface .hmi-screen-content:focus-visible {outline:2px solid #baff94;outline-offset:-3px;}
.terminal-ready .terminal-surface .hmi-nav button[aria-selected=true]:focus-visible {outline-color:#071108;}
.terminal-ready .terminal-surface .terminal-brand-grid figure {background:#0a160b;}
.terminal-ready .terminal-surface .terminal-brand-grid img {background:#edf2e6;padding:6px;box-sizing:border-box;}
body.terminal-embedded :is(h1,h2,h3,legend) {font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;text-shadow:0 0 5px rgba(113,255,83,.2);}
body.terminal-embedded :is(button,a,input,select,textarea):focus-visible {outline-color:#baff94;}
.terminal-embedded-root,body.terminal-embedded{scrollbar-width:thin;scrollbar-color:#36763a #071108;}
.terminal-embedded-root::-webkit-scrollbar,body.terminal-embedded::-webkit-scrollbar{width:8px;}
.terminal-embedded-root::-webkit-scrollbar-track,body.terminal-embedded::-webkit-scrollbar-track{background:#071108;}
.terminal-embedded-root::-webkit-scrollbar-thumb,body.terminal-embedded::-webkit-scrollbar-thumb{background:#36763a;}

.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.owner-login{position:fixed;right:12px;bottom:12px;z-index:90;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 16px;border:1px solid #62b87a;border-radius:4px;background:#061009;color:#a2ffb8;font:700 12px/1 monospace;text-decoration:none;}
.owner-login:focus-visible{outline:2px solid #baff94;outline-offset:3px;}
.terminal-ready .owner-login{position:static;width:max-content;margin:14px 12px 18px auto;}
@media(max-width:720px){.terminal-ready .terminal-surface::after {inset:17.647% 0 0;}}
@media(forced-colors:active){
  .terminal-ready .terminal-surface::after {display:none;}
  .terminal-ready .terminal-surface :is(button,a,input,select,textarea):focus-visible {outline-color:Highlight;}
}

/* Tint only the original wafer background; keep the logo and lettering in
   separate layers so their colors, sharpness and placement stay intact. */
.terminal-ready .terminal-surface .identity-hero {
  isolation:isolate;background:#061b1c;
}
.terminal-ready .terminal-surface .identity-hero::before,
.terminal-ready .terminal-surface .identity-hero::after {
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
}
.terminal-ready .terminal-surface .identity-hero::before {
  background:linear-gradient(90deg,rgba(0,8,10,.72),rgba(0,8,10,.3) 54%,rgba(0,8,10,.06)),url('images/wafer-color-v1.webp') 62% 52% / cover no-repeat;
  filter:grayscale(1) contrast(1.12) brightness(.94);
}
.terminal-ready .terminal-surface .identity-hero::after {
  background:linear-gradient(110deg,#147fbd 0%,#0e9b82 55%,#4cce58 100%);
  mix-blend-mode:color;opacity:.88;
}
.terminal-ready .terminal-surface .identity-hero>a {z-index:1;}

/* The supplied DRS artwork has a black field. Screen blending lets that field
   merge into the dark display while retaining the exact circuit-board colors. */
.terminal-ready .terminal-surface .identity-logo,
.terminal-ready .drs-logo {
  mix-blend-mode:screen;
  filter:saturate(1.04) contrast(1.04) drop-shadow(0 2px 6px rgba(0,0,0,.72));
}

/* Position the transparent patch within the left side of the identity display. */
.terminal-ready .terminal-surface .identity-hero>a {
  position:absolute;
  inset:0 auto auto 1.5%;
  width:48%;
  height:88%;
  padding:0;
}
.terminal-ready .terminal-surface .identity-logo {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:left top;
  opacity:.92;
  mix-blend-mode:normal;
  filter:saturate(.82) contrast(1.07) brightness(.91) drop-shadow(0 2px 7px rgba(0,0,0,.68));
}

/* Exact owner-selected Metro Detroit terminal banner. Keep this final in the
   cascade so the retired wafer treatment cannot override the selected art. */
.terminal-ready .terminal-surface .identity-hero{
  isolation:isolate;overflow:hidden;height:var(--identity-row-height);
  background:linear-gradient(90deg,#061b1c 0%,#071d15 18%,#071d15 82%,#061b1c 100%);
}
.terminal-ready .terminal-surface .hmi-nav{top:var(--identity-row-height);}
.terminal-ready .terminal-surface .hmi-screen-content{top:var(--identity-row-height);}
.terminal-ready .terminal-surface .identity-hero::before{display:none;}
.terminal-ready .terminal-surface .identity-hero::after{
  display:block;z-index:3;background:repeating-linear-gradient(0deg,rgba(113,255,83,.025) 0 1px,transparent 1px 3px);
  mix-blend-mode:screen;opacity:.48;
}
.terminal-ready .terminal-surface .identity-terminal-banner{
  position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;
  object-fit:contain;object-position:center;filter:saturate(1.05) contrast(1.06) brightness(1);
}
.terminal-ready .terminal-surface .identity-emblem-overlay{
  position:absolute;z-index:4;left:1.3%;top:1.5%;width:22.8%;height:95%;
  display:block;overflow:visible;pointer-events:none;
}
.terminal-ready .terminal-surface .identity-emblem-overlay .identity-logo{
  display:block;width:100%;height:100%;object-fit:contain;object-position:left top;
  opacity:1;mix-blend-mode:normal;
  filter:saturate(1.06) contrast(1.08) brightness(1.01) drop-shadow(0 2px 7px rgba(0,0,0,.72));
}
.terminal-ready .terminal-surface .identity-hero :is(.art-top,.art-bottom,a){display:none;}

/* Three equal homepage service selections inside the approved HMI glass. */
.terminal-ready .terminal-surface .hmi-home-services{
  display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;padding:10px;
}
.terminal-ready .terminal-surface .hmi-primary-services{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;min-height:0;
}
.terminal-ready .terminal-surface .hmi-primary-service{
  display:grid;grid-template-rows:clamp(130px,16vw,200px) auto;min-width:0;min-height:0;
  overflow:hidden;color:var(--ink);background:linear-gradient(155deg,rgba(18,51,23,.9),rgba(5,14,7,.98));
  border:1px solid var(--line);box-shadow:inset 0 0 24px rgba(113,255,83,.055),0 8px 18px rgba(0,0,0,.28);
  transition:border-color 130ms ease,box-shadow 130ms ease,transform 130ms ease;
}
.terminal-ready .terminal-surface .hmi-primary-service:hover{
  color:#9aff7e;border-color:#71ff53;box-shadow:inset 0 0 26px rgba(113,255,83,.1),0 10px 22px rgba(0,0,0,.34);
  transform:translateY(-1px);
}
.terminal-ready .terminal-surface .hmi-primary-service:focus-visible{outline:2px solid #9aff7e;outline-offset:-3px;}
.terminal-ready .terminal-surface .hmi-primary-service figure{position:relative;min-width:0;min-height:0;margin:0;overflow:hidden;background:#071108;}
.terminal-ready .terminal-surface .hmi-primary-service figure::after{content:'';position:absolute;inset:0;box-shadow:inset 0 -24px 24px -20px #071108;pointer-events:none;}
.terminal-ready .terminal-surface .hmi-primary-service img{display:block;width:100%;height:100%;padding:.4rem;object-fit:contain;object-position:center;background:radial-gradient(circle at 50% 45%,rgba(130,255,178,.09),transparent 65%);filter:saturate(.96) contrast(1.06) brightness(.92);}
.terminal-ready .terminal-surface .hmi-primary-service-copy{display:flex;flex-direction:column;min-width:0;padding:11px 12px 12px;}
.terminal-ready .terminal-surface .hmi-primary-service h2{margin:0 0 8px;font-size:clamp(16px,1.55vw,23px);line-height:1.12;letter-spacing:-.02em;}
.terminal-ready .terminal-surface .hmi-primary-service p{margin:0;color:var(--muted);font-size:clamp(9px,.74vw,12px);line-height:1.48;}
.terminal-ready .terminal-surface .hmi-primary-service-action{display:block;margin-top:auto;padding-top:10px;color:var(--ink);font:700 10px/1.35 ui-monospace,Consolas,monospace;text-transform:uppercase;letter-spacing:.035em;border-top:1px solid rgba(113,255,83,.22);}
@media(max-width:720px){
  .terminal-ready .terminal-surface .hmi-home-services{height:auto;min-height:100%;padding:8px;}
  .terminal-ready .terminal-surface .hmi-primary-services{grid-template-columns:1fr;}
  .terminal-ready .terminal-surface .hmi-primary-service{grid-template-rows:150px auto;}
  .terminal-ready .terminal-surface .hmi-primary-service h2{font-size:22px;}
  .terminal-ready .terminal-surface .hmi-primary-service p{font-size:12px;}
}

/* Give service photographs a larger media deck while preserving every source
   image's natural proportions and detail. */
.terminal-ready .terminal-surface .hmi-view:not(#hmi-home) .hmi-feature{grid-template-columns:minmax(0,45%) minmax(0,55%);min-height:380px;}
.terminal-ready .terminal-surface .hmi-view:not(#hmi-home) .hmi-detail{grid-template-columns:minmax(0,45%) minmax(0,55%);min-height:380px;}
.terminal-ready .terminal-surface .hmi-view:not(#hmi-home) :is(.hmi-feature figure,.hmi-detail figure){min-height:0;background:radial-gradient(circle at 50% 44%,#172b1b,#071108 74%);}
.terminal-ready .terminal-surface .hmi-view:not(#hmi-home) :is(.hmi-feature figure img,.hmi-detail figure img){display:block;width:100%;height:100%;object-fit:contain;object-position:center;image-rendering:auto;transform:none;}
.terminal-ready .terminal-surface :is(#hmi-vfd,#hmi-servo) .hmi-detail{grid-template-columns:minmax(0,36%) minmax(0,64%);min-height:620px;}
.terminal-ready .terminal-surface :is(#hmi-vfd,#hmi-servo) .hmi-repair-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;}
.terminal-ready .terminal-surface :is(#hmi-vfd,#hmi-servo) .hmi-repair-photo img{min-height:240px;max-height:none;object-fit:contain;}
.terminal-ready .terminal-surface .hmi-repair-gallery > .hmi-repair-photo:only-child{grid-column:1/-1;}
.terminal-ready .terminal-surface .hmi-repair-gallery > .hmi-repair-photo:only-child img{min-height:360px;max-height:none;object-fit:contain;}
.terminal-ready .terminal-surface #hmi-servo .hmi-repair-photo:last-child:nth-child(odd){grid-column:1/-1;}
.terminal-ready .terminal-surface #hmi-servo .hmi-repair-photo:last-child:nth-child(odd) img{min-height:320px;}
.terminal-ready .terminal-surface .hmi-cooling-media{grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(260px,1fr));gap:8px;padding:8px;}
.terminal-ready .terminal-surface .hmi-cooling-media figure{min-height:260px;background:radial-gradient(circle at 50% 44%,#172b1b,#071108 74%);}
.terminal-ready .terminal-surface .hmi-cooling-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;image-rendering:auto;transform:none;}

@media(max-width:720px){
  .terminal-ready .terminal-surface .hmi-view:not(#hmi-home) .hmi-feature{grid-template-columns:1fr;min-height:0;}
  .terminal-ready .terminal-surface .hmi-view:not(#hmi-home) .hmi-detail{grid-template-columns:1fr;min-height:0;}
  .terminal-ready .terminal-surface :is(#hmi-vfd,#hmi-servo) .hmi-detail{grid-template-columns:1fr;min-height:0;}
  .terminal-ready .terminal-surface :is(#hmi-vfd,#hmi-servo) .hmi-repair-gallery{grid-template-columns:1fr;}
  .terminal-ready .terminal-surface :is(#hmi-vfd,#hmi-servo) .hmi-repair-photo img{min-height:220px;}
  .terminal-ready .terminal-surface .hmi-cooling-media{grid-template-rows:repeat(2,minmax(220px,auto));}
  .terminal-ready .terminal-surface .hmi-cooling-media figure{min-height:220px;}
}
