
:root{
  --page:#05070a;
  --panel:#10171f;
  --panel2:#0a1016;
  --blue-hi:#8ea9c7;
  --blue-mid:#6c89aa;
  --blue-low:#314c6b;
  --text:#c6d2dd;
  --muted:#8498aa;
  --green:#87cf4d;
  --amber:#d39a55;
  --rust:#7a4b28;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--page)}
body{
  color:var(--text);
  font-family:Tahoma,Verdana,Arial,sans-serif;
  background:
    radial-gradient(circle at 50% 10%,rgba(188,126,65,.10),transparent 36rem),
    #05070a;
}
body::before{
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:50;opacity:.10;
  background:repeating-linear-gradient(to bottom,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 1px,transparent 1px,transparent 3px);
}
button{font:inherit}

.app-shell{
  width:min(1460px,calc(100% - 20px));
  margin:10px auto;
  border:2px solid #33475d;
  outline:1px solid #05080b;
  background:#0b1016;
  box-shadow:0 22px 72px rgba(0,0,0,.60);
}

.ut-menubar{
  height:31px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:12px;
  padding:0 7px;
  color:#0d1c2e;
  background:linear-gradient(#91acc9,#718eae 48%,#587697 49%,#7c99b8);
  border-bottom:2px solid #15273a;
  box-shadow:inset 0 1px #e0e9f2,inset 0 -1px #354f6c;
  text-shadow:0 1px rgba(255,255,255,.35);
}
.top-nav{display:flex;height:100%}
.top-item{
  appearance:none;border:0;padding:0 10px;color:#102135;background:transparent;cursor:pointer;font-size:12px
}
.top-item:hover,.top-item.active{
  background:rgba(224,234,245,.36);
  box-shadow:inset 0 -2px #304c6b
}
.top-caption{justify-self:center;font-size:11px;font-weight:bold;letter-spacing:1px}
.win-buttons{justify-self:end;display:flex;gap:4px}
.win-buttons span{
  width:19px;height:18px;display:grid;place-items:center;background:#839fbd;
  border-top:2px solid #e1eaf3;border-left:2px solid #e1eaf3;
  border-right:2px solid #29435f;border-bottom:2px solid #29435f;
  font-size:11px;font-weight:bold
}

.desktop{
  padding:14px;
  display:grid;
  grid-template-columns:235px minmax(500px,1fr) 360px;
  grid-template-rows:minmax(590px,1fr) auto;
  gap:13px;
  background:
    linear-gradient(rgba(0,0,0,.10),rgba(0,0,0,.20)),
    url("assets/metal-field.webp");
  background-size:900px 900px;
}

.ut-window{
  min-width:0;
  background:linear-gradient(#111922,#0a1016);
  border-top:2px solid #6d87a4;border-left:2px solid #6d87a4;
  border-right:2px solid #101c2a;border-bottom:2px solid #101c2a;
  box-shadow:4px 5px 0 rgba(0,0,0,.28),inset 0 0 0 1px #26394f;
}
.window-title{
  height:27px;display:flex;align-items:center;justify-content:space-between;padding:0 5px 0 8px;
  color:#0a1a2c;background:linear-gradient(90deg,#426a98,#86a0bd);
  border-bottom:1px solid #1a344f;text-shadow:0 1px rgba(255,255,255,.35);
  font-size:12px;font-weight:bold
}
.tiny-controls{display:flex;gap:4px}
.tiny-controls i{
  font-style:normal;width:17px;height:17px;display:grid;place-items:center;background:#8ba5c0;
  border-top:2px solid #e0eaf3;border-left:2px solid #e0eaf3;
  border-right:2px solid #2a4663;border-bottom:2px solid #2a4663;font-size:10px
}
.window-body{padding:10px}

.launcher-window{grid-column:1;grid-row:1}
.launcher{display:flex;flex-direction:column;min-height:557px}
.launcher-button{
  appearance:none;width:100%;display:flex;align-items:center;gap:11px;padding:10px;margin:0 0 7px;
  color:#c0cbd5;background:linear-gradient(#1b2631,#101820);
  border-top:2px solid #3d536a;border-left:2px solid #3d536a;
  border-right:2px solid #030609;border-bottom:2px solid #030609;
  text-align:left;text-transform:uppercase;letter-spacing:.6px;cursor:pointer
}
.launcher-button:hover,.launcher-button.active{
  color:#e4a45d;border-top-color:#84603a;border-left-color:#84603a;background:linear-gradient(#29231d,#17130f)
}
.launcher-icon{
  width:25px;height:25px;display:grid;place-items:center;color:#9eb0c2;
  background:#0e151d;border:1px solid #3a526d;font-size:15px
}
.launcher-note{
  margin-top:auto;padding:10px;color:#8294a6;background:#080d12;border:1px solid #253a50;
  line-height:1.45;font-size:11px
}
.launcher-note strong{display:block;color:#aab9c8;letter-spacing:.7px}
.launcher-note p{margin:6px 0 0}
.note-kicker{font-size:10px;color:#65819d;margin-bottom:4px}

.brand-stage{
  grid-column:2;grid-row:1;position:relative;min-width:0;overflow:hidden;display:grid;place-items:center;
  border:1px solid #3c454c;
  background:
    linear-gradient(rgba(0,0,0,.06),rgba(0,0,0,.12)),
    url("assets/metal-field.webp");
  background-size:auto,760px 760px;
  box-shadow:inset 0 0 26px rgba(0,0,0,.24);
}
.brand-stage::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:none
}
.brand-art{
  position:relative;z-index:2;display:block;
  width:min(96%,760px);max-height:560px;object-fit:contain;
  filter:none;
  image-rendering:auto
}
.metal-rivet{
  position:absolute;z-index:3;width:16px;height:16px;border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#c8b08e 0 7%,#564331 9% 32%,#201912 35% 65%,#090705 68%);
  box-shadow:0 2px 4px rgba(0,0,0,.7)
}
.r1{left:11px;top:11px}.r2{right:11px;top:11px}.r3{left:11px;bottom:11px}.r4{right:11px;bottom:11px}

.info-window{grid-column:3;grid-row:1}
.info-body{min-height:557px}
.view{display:none}.view.active{display:block}

.status-led-line{
  display:flex;align-items:center;gap:9px;padding:9px;margin-bottom:9px;color:#91d75a;background:#081008;
  border:1px solid #284225;font:700 12px/1 "Courier New",monospace
}
.status-led{width:9px;height:9px;border-radius:50%;background:#88d04c;box-shadow:0 0 9px rgba(135,208,76,.55)}
.field-grid{
  display:grid;grid-template-columns:1fr auto;margin-bottom:10px;border:1px solid #273b50;background:#0a1016
}
.field-grid span,.field-grid b{padding:7px 8px;border-bottom:1px solid #1d2e40;font-size:12px}
.field-grid span{color:#8297aa}.field-grid b{color:#cbd7e2;font-weight:normal;text-align:right}
.field-grid span:nth-last-child(-n+2),.field-grid b:nth-last-child(-n+2){border-bottom:0}
.good{color:var(--green)!important}

.ut-group{
  margin:10px 0 0;padding:9px;background:#0a1016;border:1px solid #2b4057;box-shadow:inset 1px 1px rgba(255,255,255,.025)
}
.ut-group legend{padding:0 5px;color:#9db2c7;font-size:10px;text-transform:uppercase;letter-spacing:.8px}
.meter-row{
  display:grid;grid-template-columns:34px 1fr 24px;gap:7px;align-items:center;margin:8px 0;color:#8498ac;font-size:11px
}
.meter{height:9px;padding:1px;background:#030609;border:1px solid #314961}
.meter i{display:block;height:100%;background:linear-gradient(90deg,#49698e,#8aafd7)}
.meter-row b{font-weight:normal;color:#aebcca;text-align:right}

.classic-button,.download-button{
  display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:7px 13px;color:#cbd7e1;
  text-decoration:none;background:linear-gradient(#1c2d42,#101924);
  border-top:2px solid #46617e;border-left:2px solid #46617e;
  border-right:2px solid #030609;border-bottom:2px solid #030609;cursor:pointer
}
.classic-button:active,.download-button:active{
  border-top-color:#030609;border-left-color:#030609;border-right-color:#46617e;border-bottom-color:#46617e
}

.protocol-row{
  display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:9px 2px;border-bottom:1px solid #1e3042
}
.protocol-row:last-child{border-bottom:0}
.protocol-row strong{display:block;color:#c7d4df;font-size:12px}
.protocol-row small{display:block;margin-top:3px;color:#74899e;font-size:10px}
.ready{color:#8ed657;font:700 11px/1 "Courier New",monospace}
.body-copy,.guide-intro{color:#899bad;font-size:12px;line-height:1.55}
.guide-intro{margin:0 0 9px}

.platform-list{display:grid;gap:8px}
.platform-card{
  padding:8px;border:1px solid #2d435b;background:#091018
}
.platform-head{display:flex;align-items:center;gap:9px}
.platform-icon{
  width:30px;height:30px;display:grid;place-items:center;color:#9fb4c8;border:1px solid #3b5570;background:#111c28
}
.platform-head strong{display:block;color:#cbd7e2;font-size:12px}
.platform-head small{display:block;color:#758a9e;font-size:10px;margin-top:2px}
.download-button{margin-top:7px;padding:5px 10px;font-size:11px}
.steps{
  margin:10px 0 7px;padding-left:23px;color:#8fa2b4;font-size:11px;line-height:1.5
}
.steps li{margin-bottom:3px}
.official-link{color:#d19a59;font-size:11px;text-decoration:none}
.official-link:hover{text-decoration:underline}

.about-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.about-tags span{
  padding:6px 8px;color:#d29c5d;border:1px solid #5a3d25;background:#1d140d;
  font:700 10px/1 "Courier New",monospace
}

.bottom-window{grid-column:1 / span 3;grid-row:2}
.status-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.status-cell{min-width:0;padding:10px;background:#081018;border:1px solid #293e55}
.status-cell span{display:block;color:#7e93a7;font-size:10px;text-transform:uppercase;letter-spacing:.6px;margin-bottom:6px}
.status-cell strong{color:#c8d4df;font:700 18px/1 "Courier New",monospace}

.statusbar{
  min-height:31px;display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;
  padding:6px 10px;background:linear-gradient(#17222d,#0f161e);border-top:1px solid #2c425a;
  color:#7e94aa;font-size:10px
}
.prototype{justify-self:center;color:#a37d58}.all-good{justify-self:end;color:#82c94d}

@media(max-width:1080px){
  .desktop{grid-template-columns:220px 1fr;grid-template-rows:auto auto auto}
  .launcher-window{grid-column:1;grid-row:1}
  .brand-stage{grid-column:2;grid-row:1;min-height:520px}
  .info-window{grid-column:1 / span 2;grid-row:2}
  .bottom-window{grid-column:1 / span 2;grid-row:3}
  .info-body{min-height:auto}
}
@media(max-width:720px){
  .app-shell{width:calc(100% - 8px);margin:4px auto}
  .ut-menubar{grid-template-columns:1fr auto}.top-caption{display:none}
  .desktop{grid-template-columns:1fr;padding:8px}
  .launcher-window,.brand-stage,.info-window,.bottom-window{grid-column:1;grid-row:auto}
  .launcher{min-height:auto}.launcher-note{margin-top:10px}
  .brand-stage{min-height:390px}.brand-art{width:min(98%,620px)}
  .status-strip{grid-template-columns:1fr}
  .statusbar{grid-template-columns:1fr}.prototype,.all-good{justify-self:start}
}
