/* Metal + Plant: selected design 10. Solid reading surfaces over the plant photo. */
:root{
 --bg-void:#e6ecf1;--bg-panel:#edf2f6;--bg-raised:#dbe4ec;--bg-raised-2:#d0dbe5;
 --border:#93a3b3;--border-soft:#b7c4cf;--text-1:#192b3b;--text-2:#3e5263;--text-3:#4d6274;
 --cyan:#254f73;--cyan-dim:#d3e3f0;--blue:#255382;--blue-dim:#d5e5f5;
 --amber:#834609;--amber-dim:#f6e6cb;--red:#9e2930;--red-dim:#f9dfe1;
 --radius:14px;--radius-sm:9px;--chrome-top:#f8fafc;--chrome-mid:#ccd7e0;--chrome-bottom:#aebdca;--navy:#183b59;--font-ui:Arial,Helvetica,sans-serif;color-scheme:light;
}
html{background:#182a36}
body{background:linear-gradient(90deg,rgba(6,20,29,.79),rgba(6,20,29,.35)),linear-gradient(160deg,#1c2a36 0%,#0f1a23 55%,#142633 100%) fixed;min-height:100vh;padding-bottom:calc(100px + env(safe-area-inset-bottom))}
.field-bar{background:linear-gradient(180deg,#edf3f7,#b8c4cf);color:#192b3b;border-bottom:1px solid #071521;box-shadow:0 5px 14px #0007,inset 0 1px #fff;padding:20px max(24px,calc((100vw - 1060px)/2));gap:18px}
.field-brand{display:flex;align-items:center;gap:12px;font-size:18px;letter-spacing:-.3px}
.field-brand::before{content:'M';display:grid;place-items:center;width:40px;height:40px;border-radius:9px;background:linear-gradient(135deg,#253d55,#0c1726);box-shadow:inset 0 1px 2px #ffffff60,0 3px 4px #0006;color:#eaf3fc;font-weight:800;flex-shrink:0}
.save-state{color:#254f73;font-size:14px}.save-error{color:#783b05}
.app-header{position:relative;top:auto;max-width:1100px;margin:0 auto;padding:44px 24px 18px;border:0;background:transparent;box-shadow:none;color:#f0f6fd;text-shadow:0 2px 12px #000b}
.app-header h1{color:#f4f8fc;font-size:clamp(32px,5vw,54px);line-height:1.08;letter-spacing:-.035em;font-weight:700}
.app-header__eyebrow{color:#d2e6f9;letter-spacing:.16em;font-size:12px;margin-bottom:12px}
.app-header__sub{color:#e0eaf2;font-size:15px}.app-header .back-link{color:#f1f7fd}
.back-link{background:#0718238c;border:1px solid #e6f1f959;border-radius:999px;padding:8px 14px;min-height:40px;text-shadow:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
main{padding:18px 24px 42px;max-width:1100px}
.home-intro{color:#e2edf7;font-size:18px;text-shadow:0 2px 10px #000;margin-bottom:38px}
.home-tiles{gap:22px}
.home-tile{color:#192b3b;min-height:290px;padding:30px;border:1px solid #f1f6fa;border-radius:18px;background:linear-gradient(125deg,#f6f9fb 0%,#c0cbd4 39%,#e3e9ee 62%,#a5b3c1 100%);box-shadow:inset 0 2px 1px #fff,inset 0 -3px 1px #748494,0 7px 0 #677786,0 10px 0 #172330,0 23px 24px #0005;transform:perspective(1200px) rotateX(3deg);transition:transform .15s,box-shadow .15s}
.home-tile:hover,.home-tile:focus-visible{border-color:#fff;transform:translateY(-4px);box-shadow:inset 0 2px 1px #fff,inset 0 -3px 1px #748494,0 8px 0 #677786,0 11px 0 #172330,0 28px 30px #0007}
.home-tile h2{font-size:25px;letter-spacing:-.5px;margin-bottom:10px}.home-tile p{color:#3d4c5a;font-size:16px}
.tile-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:linear-gradient(145deg,#687d90,#172b40);color:#dceeff;border:1px solid #8297aa;box-shadow:inset 0 3px 7px #091824aa,0 1px 0 #fff;margin-bottom:28px}
.tile-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tile-open{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding:12px 16px;border:1px solid #8394a4;border-radius:8px;background:linear-gradient(#f4f7fa,#b7c6d3);box-shadow:inset 0 1px #fff,0 2px 2px #35455555;color:#18354f;font-size:14px;font-weight:700;min-height:48px}
.home-tile p{margin-bottom:24px}.home-footer{display:flex;justify-content:space-between;gap:16px;margin-top:42px;padding-top:20px;border-top:1px solid #a0b0bf99;color:#eef3f7;font-size:14px}.home-footer a{color:#eef3f7;text-underline-offset:3px}
.tabnav{top:0;max-width:1100px;margin:0 auto 4px;padding:10px 14px;border:1px solid #fffc;border-radius:14px;background:linear-gradient(180deg,#edf3f7,#b8c4cf);box-shadow:inset 0 1px #fff,0 8px 24px #00000061}
.tab-btn{color:#344c60;background:transparent;border-color:transparent;min-height:44px;font-size:14px}
.tab-btn:hover{background:#dce7f0;border-color:#a6b5c2}.tab-btn.active{color:#fff;background:linear-gradient(#365d7c,#183b59);border-color:#1c3f5d;box-shadow:inset 0 1px #ffffff5c,0 2px 3px #0004}
.panel,.category-card,.history-card,.diag-card,.cheat-card{background:linear-gradient(145deg,#f8fafc 0%,#dbe4ec 72%,#c8d4de 100%);border:1px solid #eef4f8;box-shadow:inset 0 1px #fff,0 9px 26px #00000047;color:#192b3b}
.panel{padding:26px}.panel>summary{color:#254f73;font-weight:700;min-height:44px;align-content:center}
.panel h3{margin-top:18px}.panel h3:first-child{margin-top:0}.panel p{line-height:1.65}
.machine-card{background:linear-gradient(125deg,var(--chrome-top) 0%,var(--chrome-mid) 58%,var(--chrome-bottom) 100%);border:1px solid #f1f6fa;border-radius:16px;box-shadow:inset 0 2px 1px #fff,inset 0 -3px 1px #748494,0 5px 0 #677786,0 8px 0 #172330,0 20px 28px #0000005c;padding:22px;color:#192b3b;transition:transform .16s,box-shadow .16s,filter .16s}
.machine-card:hover{background:linear-gradient(125deg,#fff 0%,#dbe5ed 58%,#c1cfda 100%);border-color:#fff;transform:translateY(-3px);box-shadow:inset 0 2px 1px #fff,inset 0 -3px 1px #748494,0 7px 0 #677786,0 10px 0 #172330,0 26px 32px #0007}.machine-card__name{font-size:19px}.machine-card__tagline{color:#435767;margin-top:6px}
.dashboard-grid{gap:18px}.chip,.btn,.result-btn{background:linear-gradient(#f8fafc,#c7d4df);color:#244663;border:1px solid #8397a8;box-shadow:inset 0 1px #fff,0 2px 2px #35455522;min-height:48px}
.btn-primary{background:linear-gradient(#365d7c,#183b59);color:#fff;border-color:#1c3f5d;box-shadow:inset 0 1px #ffffff55,0 2px 3px #0003}.btn-primary:hover{background:#183b59;color:#fff}
.chip[aria-pressed=true],.result-btn[aria-pressed=true]{background:#254f73;color:#fff;border-color:#254f73}.result-btn.issue[aria-pressed=true]{background:#834609;color:#fff;border-color:#834609}
input,textarea,select,.search-input{background:#fff;color:#192b3b;border:1px solid #879caf;box-shadow:inset 0 1px 3px #233b4e12;border-radius:8px}input::placeholder,textarea::placeholder{color:#576b7b}
main>.log-field{background:#edf2f6;padding:16px 20px;border-radius:12px;color:#192b3b;box-shadow:0 5px 15px #0002}main>.log-field input{margin-top:8px}
.newton-bubble{background:#edf2f6;color:#192b3b;border-color:#bccbd7}.newton-row--user .newton-bubble{background:#d8e5ef}.newton-thread{margin-top:24px}.newton-avatar{background:#d3e3f0;color:#254f73}
.field-nav{background:linear-gradient(#edf3f7,#b8c4cf);border-top:1px solid #f3f7fb;box-shadow:0 -5px 20px #06172355;gap:12px}
.field-nav a{color:#344c60;font-weight:600;min-height:48px;border-radius:8px;padding:13px 20px}.field-nav a[aria-current=page]{background:linear-gradient(#365d7c,#183b59);color:#fff;box-shadow:inset 0 1px #ffffff55,0 2px 3px #0003}
.field-nav a:hover{background:#dce7f0}.field-nav a[aria-current=page]:hover{background:#183b59}
.reference-status{background:#f6e6cb;color:#513511}.history-card{padding:22px}.wizard-context,.diag-field-value,.ref-card__field-value{color:#3e5263}.section-title{color:#4d6274}
dialog{background:linear-gradient(140deg,#f4f7fa,#d4dfe8);border:1px solid #eaf2f8;box-shadow:0 24px 80px #0008;color:#192b3b}dialog::backdrop{background:#071823b8}.report-status{font-weight:700}.report-status.issue{color:#834609}
:focus-visible,.home-tile:focus-visible,a:focus-visible{outline:3px solid #0063b0;outline-offset:4px}.app-header a:focus-visible{outline-color:#fff}
@media(max-width:760px){body{background-attachment:scroll;background-position:center top}.field-bar{padding:14px 18px;gap:10px}.field-brand{font-size:16px}.save-state{font-size:13px}.app-header{padding:30px 18px 14px}.app-header h1{font-size:36px}.app-header__eyebrow{font-size:12px}main{padding:12px 16px 34px}.tabnav{margin-inline:10px;border-radius:12px}.home-intro{font-size:16px;margin-bottom:28px}.home-tiles{gap:22px}.home-tile{position:relative;min-height:180px;padding:24px 22px 20px 84px;transform:none}.tile-icon{position:absolute;left:20px;top:24px;width:44px;height:44px;margin:0}.home-tile h2{font-size:23px}.home-tile p{font-size:15px;margin-bottom:16px}.tile-open{padding:10px 12px;min-height:44px}.home-footer{flex-direction:column;gap:10px;margin-top:32px}.panel{padding:20px}.field-nav{gap:4px;padding-inline:6px}.field-nav a{padding:12px 7px;font-size:13px;flex:1}.dashboard-grid{grid-template-columns:1fr}.workspace-top{gap:12px}}
@media(prefers-reduced-motion:reduce){.home-tile,.home-tile:hover{transform:none;transition:none}}
@media print{html,body{background:#fff!important;color:#111!important}.app-header{color:#111;text-shadow:none;padding-top:0}.app-header__eyebrow,.app-header__sub{color:#333}.panel,.category-card,.history-card,.diag-card,.machine-card{box-shadow:none;background:#fff}.home-footer{display:none}}

/* Selected Newton-first home. Scoped to home so working pages retain navigation. */
body:has(#app[data-home="true"]){padding-bottom:0}
body:has(#app[data-home="true"]) .field-bar{position:relative;justify-content:space-between;min-height:81px}
body:has(#app[data-home="true"]) #sync-status,body:has(#app[data-home="true"]) .field-bar>.chip,body:has(#app[data-home="true"]) #app-header,body:has(#app[data-home="true"]) #field-nav{display:none}
#app[data-home="true"]{padding:0;max-width:none;width:100%;margin:0}
.newton-home{position:relative;width:100%;max-width:none;margin:0;display:grid;place-items:center;padding:48px 24px 100px;min-height:calc(100svh - 81px)}
.newton-center{width:min(100%,480px);text-align:center}
.ask-newton{display:flex;align-items:center;justify-content:center;gap:22px;width:100%;min-height:144px;margin:0 auto;padding:28px 32px;border:1px solid #f6fafc;border-radius:20px;color:#18354f;text-decoration:none;background:linear-gradient(125deg,#f6f9fb 0%,#c0cbd4 39%,#e3e9ee 62%,#a5b3c1 100%);box-shadow:inset 0 2px 1px #fff,inset 0 -3px 1px #748494,0 7px 0 #677786,0 10px 0 #172330,0 24px 38px #0006;transition:transform .16s,box-shadow .16s}
.ask-newton span{font-size:clamp(28px,5vw,40px);font-weight:700;letter-spacing:-1px}
.ask-newton .newton-mark{width:58px;height:58px;flex-shrink:0;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#687d90,#172b40);border:1px solid #8297aa;box-shadow:inset 0 3px 7px #091824aa,0 1px 0 #fff;color:#e6f2ff}
.newton-mark svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ask-newton:hover{transform:translateY(-3px);box-shadow:inset 0 2px 1px #fff,inset 0 -3px 1px #748494,0 9px 0 #677786,0 12px 0 #172330,0 30px 40px #0007}
.home-links{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 32px;margin-top:38px}.home-links a{display:inline-flex;align-items:center;min-height:48px;color:#f0f6fd;font-size:17px;font-weight:500;text-decoration:underline;text-underline-offset:6px;text-decoration-color:#d2e6f999;text-shadow:0 2px 8px #000}.home-links a:hover{text-decoration-color:#fff;color:#fff}
.ask-newton:focus-visible,.home-links a:focus-visible{outline:3px solid #fff;outline-offset:7px}
.photo-credit{position:absolute;bottom:18px;right:24px;color:#d8e6ee;font-size:11px;text-decoration:none;text-shadow:0 1px 5px #000}
@media(max-width:600px){.newton-home{padding:32px 24px 90px}.ask-newton{min-height:126px;gap:16px;padding:24px 20px}.ask-newton .newton-mark{width:48px;height:48px;border-radius:12px}.home-links{gap:12px 24px;margin-top:30px}.home-links a{font-size:16px}.photo-credit{right:18px}}
@media(prefers-reduced-motion:reduce){.ask-newton{transition:none}.ask-newton:hover{transform:none}}

/* Newton Chrome home: central chat entry with three clear work areas. */
.newton-center{width:min(100%,960px)}
.ask-newton{width:min(100%,560px);min-height:124px;border-radius:18px}
.home-areas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:42px auto 0}
.home-area{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:114px;padding:20px;border:1px solid rgba(255,255,255,.82);border-radius:12px;background:rgba(244,248,251,.91);box-shadow:inset 0 1px rgba(255,255,255,.92),0 5px 18px rgba(0,0,0,.24);color:#1d3042;text-decoration:none;text-align:left;backdrop-filter:blur(5px);transition:transform .16s,background .16s,box-shadow .16s}
.home-area strong{font-size:18px;line-height:1.25;margin-bottom:8px}
.home-area span{font-size:14px;line-height:1.5;color:#50606e}
.home-area:hover,.home-area:focus-visible{background:rgba(255,255,255,.98);transform:translateY(-2px);box-shadow:inset 0 1px #fff,0 9px 22px rgba(0,0,0,.28)}
.home-area:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:760px){.newton-center{width:min(100%,560px)}.home-areas{grid-template-columns:1fr;gap:12px;margin-top:34px}.home-area{min-height:86px;padding:16px 18px}.home-area strong{font-size:17px;margin-bottom:5px}.home-area span{font-size:14px}}
@media(max-width:600px){.ask-newton{min-height:116px}.home-areas{margin-top:30px}}
@media(prefers-reduced-motion:reduce){.home-area{transition:none}.home-area:hover{transform:none}}

/* Grouped navigation hubs keep related work together without hiding routes. */
.section-hub{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1.25fr);gap:24px;align-items:start;margin-bottom:22px;padding:24px;border:1px solid #c3d0db;border-radius:14px;background:#edf2f6;box-shadow:inset 0 1px #fff,0 8px 24px #0003}.section-hub h2{font-size:24px;margin-bottom:8px}.section-hub p{color:#3e5263;line-height:1.55}.section-tools{display:grid;grid-template-columns:1fr 1fr;gap:9px}.section-tools a,.section-tool-single,.hub-card{display:flex;flex-direction:column;position:relative;min-height:86px;padding:15px 44px 15px 16px;border:1px solid #9fb0bf;border-radius:9px;background:#fff;color:#192b3b;text-decoration:none;transition:background .16s,border-color .16s,transform .16s}.section-tools a:hover,.section-tool-single:hover,.hub-card:hover{background:#f8fbfd;border-color:#52718a;transform:translateY(-1px)}.section-tools strong,.section-tool-single strong,.hub-card strong{font-size:16px;line-height:1.3}.section-tools span,.section-tool-single span,.hub-card span{margin-top:5px;color:#4d6274;font-size:13px;line-height:1.4}.section-hub--compact{grid-template-columns:minmax(0,1fr) minmax(280px,.75fr)}.section-tool-single{justify-content:center}.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hub-card{min-height:112px;justify-content:center;padding:20px 52px 20px 20px;box-shadow:inset 0 1px #fff,0 5px 15px #0002}.hub-card .btn__chev{position:absolute;right:20px;top:50%;transform:translateY(-50%)}
@media(max-width:760px){.section-hub,.section-hub--compact{grid-template-columns:1fr;padding:20px;gap:18px}.section-tools,.hub-grid{grid-template-columns:1fr}.section-tools a,.section-tool-single,.hub-card{min-height:82px}.section-tools a:hover,.section-tool-single:hover,.hub-card:hover{transform:none}}

/* Newton Chrome troubleshooting hierarchy and equipment workspaces. */
.group-intro{margin:0 0 20px;padding:22px 24px;border-radius:14px;background:#edf2f6;border:1px solid #c3d0db;box-shadow:inset 0 1px #fff,0 8px 24px #0003;color:#192b3b}.group-intro h2{font-size:24px;margin-bottom:7px}.group-intro p{color:#3e5263}.module-tile{text-decoration:none}.module-tile>.btn__chev{margin-left:auto;align-self:center}.machine-card__icon .coupling{display:block}.machine-card__icon .trapwave{display:flex}

@media(max-width:600px){.field-nav a{font-size:12px;padding:12px 4px;min-width:0}.field-nav{gap:2px}}

/* Direct field tools stay beneath the central Newton entry. */
.home-quick-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px auto 0;text-align:left}
.home-quick-tools a{display:block;color:#fff;text-decoration:none;padding:12px 6px;border-bottom:2px solid rgba(255,255,255,.6)}
.home-quick-tools strong{display:block;font-size:17px}.home-quick-tools span{display:block;font-size:14px;line-height:1.5;margin-top:6px;color:#fff}
.home-quick-tools a:hover,.home-quick-tools a:focus-visible{border-color:#fff;background:rgba(0,0,0,.3)}
.home-quick-tools a:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:600px){.home-quick-tools{grid-template-columns:1fr;gap:6px;margin-top:20px}.home-quick-tools a{padding:12px}.home-quick-tools span{margin-top:3px}}
