:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#273442;background:#f4f5f7;font-synthesis:none;font-size:14px;--green:#20354e;--muted:#7d8794;--border:#e2e6ec;--lime:#dbe4ef}
.mfg-toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:24px}.mfg-banner{background:#15273e;color:#fff;border-radius:14px;padding:30px;display:grid;grid-template-columns:1fr auto auto;gap:40px;align-items:center;margin-bottom:20px}.mfg-banner h2{font-size:25px;font-weight:500;margin:12px 0}.mfg-banner p{max-width:580px;line-height:1.7;color:#aebdd0}.mfg-banner strong{font-size:34px;font-weight:500;display:block}.mfg-banner small{display:block;color:#bac6d5;margin-top:6px}.mfg-batches{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin-top:22px}.mfg-batch-card{padding:25px}.mfg-batch-card h2{margin-top:12px}.mfg-batch-card p{color:#7d8794;margin:12px 0}.mfg-batch-card progress,.mfg-unit-card progress{appearance:none;height:5px;border:0;width:100%;margin:18px 0 10px;background:#e8edf3;border-radius:8px;overflow:hidden}progress::-webkit-progress-bar{background:#e8edf3}progress::-webkit-progress-value{background:#3f627f}progress::-moz-progress-bar{background:#3f627f}.mfg-metrics{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #e2e6ec;border-radius:12px;margin-bottom:26px}.mfg-metrics>div{padding:24px;border-right:1px solid #e2e6ec}.mfg-metrics>div:last-child{border:0}.mfg-metrics strong{display:block;font-size:26px;font-weight:550;margin-top:12px}.mfg-unit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin:24px 0}.mfg-unit-card{padding:22px;display:flex;flex-direction:column;align-items:flex-start}.mfg-unit-card h3{font-size:17px;margin:18px 0 0}.mfg-unit-card .button{margin-top:22px;width:100%}.mfg-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 24px}.mfg-tab{padding:18px 20px;text-align:left;background:white;border:1px solid #dfe5ed;border-radius:10px;color:#273442}.mfg-tab span{display:block;font-size:10px;letter-spacing:1.6px;color:#8090a4}.mfg-tab strong{display:block;margin:9px 0;font-weight:600}.mfg-tab small{display:block}.mfg-tab.active{background:#20354e;color:white;border-color:#20354e}.mfg-tab.active small,.mfg-tab.active span{color:#bdcadd}.mfg-workspace{display:grid;grid-template-columns:285px minmax(0,1fr);gap:24px;align-items:start}.mfg-step-list{padding:12px}.mfg-step{padding:17px 10px;display:flex;gap:12px;border-bottom:1px solid #edf0f5}.mfg-step:last-child{border:0}.mfg-step>span{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid #dce3ed;border-radius:50%;font-size:11px;color:#8490a0}.mfg-step strong{font-size:12px;font-weight:550;line-height:1.6;display:block}.mfg-step small{display:block;font-size:10px;margin-top:5px}.mfg-step.current{background:#eff3f8;border-radius:6px}.mfg-step.current>span{background:#20354e;color:white;border-color:#20354e}.mfg-step.done>span{background:#edf4ef;color:#406a51}.mfg-current{padding:32px;min-height:340px}.mfg-current h2{font-size:24px;font-weight:550;margin:18px 0}.mfg-current>p{line-height:1.8;color:#6f7c8d;max-width:650px}.mfg-current .notice{margin:22px 0;line-height:1.7}.mfg-current .notice .button{margin:12px 6px 0 0}.mfg-next{border-top:1px solid #e4e8ef;padding-top:25px;margin-top:28px}.mfg-rework{margin-top:25px}.mfg-part-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:23px 0}.mfg-part-list small,.mfg-part-list strong{display:block;overflow-wrap:anywhere}.mfg-part-list strong{font-size:12px;margin-top:6px}.mfg-history{margin-top:24px;padding:22px}.mfg-history summary{cursor:pointer;font-weight:600}.mfg-history article{border-top:1px solid #e4e8ef;margin-top:16px;padding-top:16px}.mfg-history article strong{display:block;margin:7px 0}.mfg-history article p{line-height:1.6}.mfg-template-list{display:grid;gap:16px;margin-bottom:24px}.mfg-template-list>article{padding:22px;display:grid;gap:16px}textarea{font:inherit;width:100%;min-height:90px;resize:vertical;border:1px solid #dce2eb;border-radius:7px;padding:12px;color:#273442;background:#fff}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mfg-metrics small{font-size:11px}@media(max-width:1100px){.mfg-workspace{grid-template-columns:240px minmax(0,1fr)}.mfg-banner{gap:24px}.mfg-metrics{grid-template-columns:1fr 1fr}.mfg-tabs{grid-template-columns:1fr 1fr}}@media(max-width:700px){.mfg-workspace{grid-template-columns:1fr}.mfg-banner{grid-template-columns:1fr 1fr}.mfg-banner>div:first-child{grid-column:1/-1}.mfg-current{padding:22px}.mfg-part-list,.form-row{grid-template-columns:1fr}.mfg-step-list{display:none}.mfg-toolbar .button{flex:1}.mfg-batches{grid-template-columns:1fr}.head-actions{flex-wrap:wrap}}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button{border:0}svg{display:block;width:18px;height:18px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:650;letter-spacing:-1px}h2{font-size:17px;letter-spacing:-.3px}h3{font-size:14px}small,.muted{color:var(--muted)}.loading{padding:80px;text-align:center}.brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:750;letter-spacing:-1px}.brand img{width:35px}.brand span{color:#9cb4cf}.login{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:#111f31;color:#fff;padding:55px 10%;display:flex;flex-direction:column;justify-content:space-between;min-height:700px}.login-story h1{font-size:clamp(38px,4vw,66px);line-height:1.08;max-width:550px;font-weight:500;letter-spacing:-2.5px}.login-story p{color:#aab8ca;line-height:1.8;max-width:400px;margin-top:25px;font-size:16px}.login-story .eyebrow{color:#dbe4ef;margin-bottom:22px}.login-story footer{font-size:12px;color:#8c9db3}.login-main{padding:50px;display:flex;align-items:center;justify-content:center}.login-box{width:390px}.login-box h2{font-size:28px;margin:15px 0 10px}.login-box>p{line-height:1.6;margin-bottom:26px}.login-box form{display:grid;gap:16px}.login-demo{margin:25px 0;border-top:1px solid var(--border);padding-top:25px;display:grid;gap:10px}.login-demo p{font-size:12px;line-height:1.6;margin-bottom:8px}.eyebrow{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;font-weight:650}.app-shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;position:fixed;top:0;bottom:0;overflow-y:auto;width:238px;padding:30px 20px;z-index:10}.sidebar .brand{margin:0 10px 36px}.workspace-tag{padding:14px;border:1px solid var(--border);border-radius:10px;margin-bottom:26px;display:flex;gap:11px;align-items:center}.workspace-tag .initials{border-radius:8px;background:#f0f3eb;width:32px;height:32px;display:grid;place-items:center;font-size:11px;font-weight:700}.workspace-tag strong{font-size:12px;display:block;max-width:136px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-tag small{font-size:10px;display:block;margin-top:4px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#9aa49e;padding:8px 13px;text-transform:uppercase}.nav{display:grid;gap:4px;margin-bottom:24px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;border-radius:8px;background:transparent;color:#718078;padding:12px 14px;font-size:13px}.nav button.active{color:#254e3e;background:#edf4e7;font-weight:650}.nav button:hover{background:#f4f7ef}.nav svg{width:18px;height:18px;stroke-width:1.7}.sidebar-bottom{margin-top:auto}.local-card{border-radius:10px;background:#f6f8f2;padding:16px;margin-bottom:19px;font-size:11px;line-height:1.6}.local-card strong{display:block;color:#365340;margin-bottom:5px}.profile{display:flex;align-items:center;gap:9px;padding:5px 4px}.avatar{width:34px;height:34px;border-radius:50%;background:#e6eddc;color:#496044;display:grid;place-items:center;font-size:11px;font-weight:650}.profile strong{display:block;font-size:11px}.profile small{font-size:10px}.profile button{margin-left:auto;background:none;color:#7b8a80;font-size:19px;padding:5px}.main{grid-column:2;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--border);background:#ffffffa0;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px}.crumb{font-size:12px;color:#809087}.crumb span{color:#314c3e;margin-left:12px}.top-actions{display:flex;align-items:center;gap:16px}.demo-chip{font-size:10px;letter-spacing:.4px;border:1px solid #e1e5d0;background:#f4f7e7;color:#657542;border-radius:30px;padding:7px 10px;white-space:nowrap}.sync{font-size:11px;color:#8b978f}.workspace{max-width:1560px;margin:auto;padding:34px 40px 45px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:18px}.page-head p{color:var(--muted);margin-top:9px;font-size:13px;line-height:1.6}.head-actions{display:flex;gap:9px;align-items:center}.button{border-radius:8px;padding:11px 15px;background:var(--green);color:#fff;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}.button svg{width:15px;height:15px}.button.secondary{background:#fff;border:1px solid var(--border);color:#4b5d51}.button.lime{background:var(--lime);color:#21374f}.button.quiet{background:#edf1f6;color:#50647e}.button.danger{background:#f8e7df;color:#a16049}.full{width:100%}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--border);border-radius:13px;padding:21px 23px}.stat .stat-label{font-size:12px;color:#7c8795;display:flex;justify-content:space-between;align-items:center}.stat .stat-label svg{width:17px;height:17px;color:#8a99ad}.stat .stat-value{font-size:31px;line-height:1;margin:22px 0 12px;letter-spacing:-1px;font-weight:650}.stat .stat-note{font-size:10px;color:#8a93a0}.stat.featured{background:#1c3049;border-color:#1c3049;color:#fff}.stat.featured .stat-label,.stat.featured .stat-note{color:#a7b8cc}.stat.featured .stat-label svg{color:#dbe4ef}.panel{border:1px solid var(--border);border-radius:13px;background:#fff;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:23px 25px;gap:14px}.panel-head p{margin-top:6px;font-size:11px;color:var(--muted);line-height:1.5}.panel-body{padding:0 25px 25px}.overview-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.legend{font-size:10px;color:#7d8b80;display:flex;gap:13px}.legend span::before{content:"";display:inline-block;border-radius:2px;width:7px;height:7px;background:#6e89aa;margin-right:6px}.legend span:last-child::before{background:#cbd6e3}.chart{height:180px;display:flex;align-items:end;gap:15px;padding:8px 5px}.chart-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0}.chart-col svg{height:130px;width:100%}.chart-col small{font-size:10px}.chart-col .bar-bg{fill:#f2f4f7}.chart-col .bar{fill:#8ba2bd}.chart-col:last-child .bar{fill:#2c4665}.chart-note{font-size:10px;color:#9aa599;margin-top:11px}.status-line{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #edf0e9;font-size:12px}.status-line:last-child{border:0}.dot{display:inline-block;width:7px;height:7px;background:#5b8c81;border-radius:50%;margin-right:8px}.dot.amber{background:#b19a6f}.dot.gray{background:#9ba5b3}.status-line strong{font-weight:600}.callout{border-radius:8px;background:#f2f5f9;padding:13px 15px;font-size:11px;color:#6d7c91;line-height:1.65;margin-top:16px}.toolbar{display:flex;justify-content:space-between;padding:0 25px 17px;gap:14px}.search{position:relative;max-width:320px;width:100%}.search input{width:100%;background:#f8f9fb;border:1px solid var(--border);border-radius:7px;padding:10px 12px;font-size:12px;color:#33475f}select{background:#fff;border:1px solid var(--border);border-radius:7px;padding:9px 12px;color:#66778b;font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{padding:12px 25px;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#8894a3;font-weight:600;background:#f9fafc;border-bottom:1px solid var(--border)}td{padding:17px 25px;border-bottom:1px solid #edf0eb;font-size:12px;color:#637286}tr:last-child td{border-bottom:0}td strong{display:block;color:#2e435e;font-size:12px;font-weight:600}td small{display:block;margin-top:5px;font-size:10px}.machine-cell{display:flex;gap:12px;align-items:center}.machine-icon{height:37px;width:30px;background:#edf1f6;border-radius:5px;display:grid;place-items:center;color:#7b8fa9}.machine-icon svg{width:21px;height:26px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;background:#eaf1ef;color:#547d72;padding:5px 8px;font-size:10px;font-weight:500}.badge.amber{background:#fbf2e3;color:#b68a42}.badge.red{background:#f9eae6;color:#b87862}.badge.gray{background:#f0f2f5;color:#7f8b9b}.row-link{background:none;color:#8c9d8b;padding:6px}.row-link svg{height:17px;width:17px}.table-footer{padding:15px 25px;font-size:10px;color:#9aa297;border-top:1px solid #eff1ec;display:flex;justify-content:space-between}.empty{padding:40px 25px;text-align:center;color:#929e90;font-size:13px;line-height:1.8}.empty strong{display:block;color:#536950;margin-bottom:6px}.notice{background:#edf2f8;border:1px solid #dce4ef;border-radius:9px;padding:14px 18px;font-size:12px;line-height:1.7;color:#63758d;margin-bottom:22px}.subtle-link{border:0;background:transparent;color:#58734a;font-size:11px;text-decoration:underline}.production-grid{display:grid;grid-template-columns:repeat(5,minmax(170px,1fr));gap:14px;overflow-x:auto;padding-bottom:15px}.production-col{background:#eef1f5;border-radius:11px;padding:13px;min-width:170px}.production-title{display:flex;justify-content:space-between;font-size:11px;font-weight:600;padding:5px 2px 15px}.production-title span{border-radius:5px;padding:2px 6px;background:#dfe5ee;color:#71839b;font-size:10px}.module-card{border:1px solid #dde4ec;border-radius:8px;background:#fff;padding:15px;margin-bottom:10px;display:grid;gap:12px}.module-card strong{font-size:11px}.module-card small{font-size:10px;line-height:1.6}.module-card .button{padding:8px;font-size:10px}.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.customer-card{border:1px solid var(--border);background:#fff;border-radius:12px;padding:25px}.customer-card .avatar{margin-bottom:20px;width:42px;height:42px}.customer-card h2{font-size:16px}.customer-card p{font-size:12px;color:var(--muted);margin:10px 0 22px;overflow-wrap:anywhere}.customer-card .button{margin-top:6px}.test-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.flow{display:flex;align-items:center;justify-content:space-between;padding:22px 0;gap:8px}.flow span{padding:13px;border:1px solid var(--border);border-radius:7px;font-size:11px;text-align:center}.flow b{font-weight:400;color:#8d9c84}.form-grid{display:grid;gap:17px}label{display:grid;gap:7px;font-size:12px;color:#617189}input{border:1px solid var(--border);border-radius:7px;padding:11px 12px;background:#fff;min-width:0;color:#30435b}input[type=checkbox]{width:17px;height:17px}.check{display:flex;gap:10px;align-items:center;line-height:1.6}.error{color:#a15f4c;font-size:12px;line-height:1.6;min-height:18px}.hint{font-size:11px;color:#8591a2;line-height:1.7}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.detail-grid small{display:block;margin-bottom:6px}.detail-grid strong{font-size:12px;overflow-wrap:anywhere}.detail-hr{border:0;border-top:1px solid var(--border);margin:22px 0}.alert-item{display:flex;align-items:center;gap:20px;padding:20px 25px;border-bottom:1px solid var(--border)}.alert-item:last-child{border:0}.alert-item .alert-icon{background:#fcf2df;color:#bb975c;padding:10px;border-radius:8px}.alert-item svg{width:20px;height:20px}.alert-copy{flex:1}.alert-copy p{font-size:12px;line-height:1.7}.alert-copy small{font-size:10px}.stock-bar{width:110px;height:6px;border:none;border-radius:6px;background:#eef1f6;margin-top:8px}progress::-webkit-progress-bar{background:#eef1f6;border-radius:6px}progress::-webkit-progress-value{background:#8da3be;border-radius:6px}dialog{border:1px solid var(--border);border-radius:15px;width:520px;max-width:calc(100% - 32px);padding:27px;color:#2c405a;max-height:88vh;overflow:auto;box-shadow:0 30px 100px #17351f30}dialog::backdrop{background:#152c2360;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialog-head h2{font-size:21px}.dialog-head button{background:none;font-size:24px;color:#84917b}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#20364f;color:#fff;padding:14px 22px;border-radius:10px;font-size:12px;box-shadow:0 10px 35px #15371b22;z-index:100;display:none;max-width:90%;line-height:1.6}#toast.visible{display:block}.mobile-brand{display:none}.section-space{margin-top:25px}.footnote{font-size:10px;color:#919cac;line-height:1.7;margin-top:23px}.inline-code{background:#edf1f6;border-radius:4px;padding:3px 6px;font-size:11px}
@media(min-width:1500px){.workspace{padding-top:42px}.stat{padding:25px}.stat .stat-value{font-size:36px}.chart{height:210px}}
@media(max-width:1100px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px;padding:25px 13px}.workspace{padding:28px 24px}.topbar{padding:0 24px}.stats{gap:10px}.stat{padding:17px}.stat .stat-value{font-size:25px}.overview-grid{grid-template-columns:1.4fr 1fr}.customer-grid{grid-template-columns:repeat(2,1fr)}.sync{display:none}td,th{padding-left:18px;padding-right:18px}.page-head{align-items:flex-start}.head-actions{flex-wrap:wrap}}
@media(max-width:760px){.login{grid-template-columns:1fr}.login-story{min-height:330px;padding:32px}.login-story h1{font-size:36px;margin-top:30px}.login-story p{display:none}.login-story footer{margin-top:25px}.login-main{padding:30px 25px}.app-shell{display:block}.sidebar{position:static;width:auto;padding:15px 18px 0;border-right:0;border-bottom:1px solid var(--border)}.sidebar .brand,.workspace-tag,.nav-label,.sidebar-bottom{display:none}.nav{display:flex;overflow-x:auto;margin:0 0 7px;gap:5px}.nav button{padding:9px 10px;font-size:11px;white-space:nowrap}.nav svg{width:15px}.main{display:block}.topbar{height:61px;padding:0 19px}.workspace{padding:24px 18px}.stats{grid-template-columns:repeat(2,1fr)}.stat .stat-value{font-size:27px}.stat .stat-note{font-size:9px}.overview-grid,.test-grid{grid-template-columns:1fr}.panel-head{padding:19px}.panel-body{padding:0 19px 19px}.page-head{display:block}.page-head h1{font-size:26px}.head-actions{margin-top:17px}.customer-grid{grid-template-columns:1fr}.toolbar{padding:0 19px 17px}.demo-chip{font-size:9px}.mobile-brand{display:block}.alert-item{gap:12px;flex-wrap:wrap}.alert-copy{min-width:180px}.table-footer{padding:15px 19px}.flow span{font-size:10px;padding:10px}.detail-grid{gap:14px}.legend{font-size:9px}}

/* Professional portal theme: restrained contrast, compact data, clear hierarchy. */
:root{font-size:14px;color:#273442;background:#f4f5f7;--green:#20354e;--muted:#7d8794;--border:#e2e6ec;--lime:#dbe4ef}
h1{font-size:28px;letter-spacing:-.8px;font-weight:600}h2{font-size:16px;font-weight:600;letter-spacing:-.2px}
.brand{font-size:23px;font-weight:650;letter-spacing:-.8px}.brand img{width:32px;height:32px}.brand span{display:none}
.sidebar{background:#152337;border-right:1px solid #223247;color:#e6ebf3;padding:27px 19px 20px}.sidebar .brand{color:#f5f7fb;margin:0 12px 29px}.workspace-tag{border-color:#354255;background:#1b2b40;margin-bottom:23px;padding:13px 11px;border-radius:7px}.workspace-tag .initials{background:#2b3d53;color:#b7c6db;border-radius:5px}.workspace-tag strong{color:#e5eaf2;font-weight:500}.workspace-tag small{color:#7f94af}.nav-label{color:#647b97;font-size:9px;letter-spacing:1.7px}.nav{gap:4px;margin-bottom:20px}.nav button{color:#95a6be;border-radius:6px;padding:11px 13px;font-size:12px}.nav button.active{background:#293b52;color:#f1f5fb;font-weight:500;box-shadow:inset 2px 0 #9bb4d6}.nav button:hover{background:#21334b;color:#fff}.sidebar-bottom{padding-top:20px}.local-card{border:1px solid #324359;background:transparent;border-radius:7px;color:#8297b2;padding:13px;font-size:10px}.local-card strong{color:#bdcada;font-weight:500}.profile strong{color:#cdd7e5;font-weight:500}.profile small{color:#6f86a5}.profile .avatar{background:#2d4059;color:#bfd0e3}.profile button{color:#91a6c2}
.topbar{background:#fff;height:73px}.crumb{color:#93a0b0}.crumb span{color:#4b607c}.sync{color:#8a96a8}.demo-chip{border-color:#d8dfe9;background:#f1f4f8;color:#73829a;font-size:9px;letter-spacing:1.2px;padding:7px 10px;border-radius:4px}
.workspace{padding-top:35px}.page-head{margin-bottom:29px}.page-head p{font-size:12px;letter-spacing:.1px}.button{border-radius:5px;font-size:11px;padding:10px 15px;font-weight:550}.button.secondary{color:#4a5e78;border-color:#dbe1e9;background:#fff}.button.lime{background:#233b59;color:#f7f9fc}.button.quiet{background:#eef2f7;color:#647894}.button:hover{filter:brightness(.96)}
.stat{border-radius:8px;padding:23px;border-color:#e0e5ed;box-shadow:0 2px 3px #18304a02}.stat .stat-label{font-size:11px;letter-spacing:.25px}.stat .stat-value{font-weight:550;font-size:32px;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat .stat-note{font-size:10px}.stat.featured{background:#1d334e;border-color:#1d334e}.stat.featured .stat-label,.stat.featured .stat-note{color:#a7b8cf}.stat.featured .stat-label svg{color:#adbed7}
.panel{border-radius:8px;box-shadow:0 2px 4px #142d4a02}.panel-head{padding:23px 24px}.panel-head>svg{color:#9cabbf}.panel-head p{font-size:11px}.panel-body{padding:0 24px 24px}.status-line{border-color:#e9edf2}.status-line strong{font-variant-numeric:tabular-nums}.callout{border-radius:5px;border-left:2px solid #c2cfdf;background:#f2f5f9;color:#6b7d95;font-size:10px}.legend span:before{background:#7f98b7}.legend span:last-child:before{background:#7f98b7}.chart-col small{color:#8f9cb0}.table-footer{color:#919cae;border-color:#edf0f5}.machine-icon{background:#edf1f6;color:#8196b2;border-radius:4px}.machine-cell strong{color:#30445e;font-weight:550}.machine-cell small{color:#98a3b2}.badge{border-radius:4px;font-size:9px;letter-spacing:.1px}.toolbar input,select{border-radius:5px}.notice{border-radius:5px;font-size:11px;background:#eff3f8;color:#627793;border-color:#e0e7f0}.production-col{border-radius:7px;background:#edf0f5}.module-card{border-radius:6px}.customer-card{border-radius:8px}.customer-card .avatar{background:#e6ecf4;color:#59738f}.avatar{background:#e5ecf4;color:#5b718f}.subtle-link{color:#7890ad}
.login-story{background:#152337;padding:52px 10%;border-right:1px solid #2b3d53}.login-story .brand{font-size:26px}.login-story h1{font-size:clamp(36px,3.5vw,55px);line-height:1.15;letter-spacing:-1.8px;font-weight:450}.login-story .eyebrow{color:#8da5c5;font-size:10px;letter-spacing:2.5px}.login-story p{color:#97abc4;font-size:14px;max-width:380px;line-height:1.9}.login-story footer{color:#7189aa;font-size:9px;letter-spacing:1.5px}.login-main{background:#fafbfc}.login-box h2{font-size:25px;font-weight:550;letter-spacing:-.7px}.login-box>p{font-size:12px}.login-demo{border-color:#e2e7ef}.login-demo .eyebrow{font-size:9px;color:#8795a9}.login-demo p{color:#8d9aab;font-size:10px}.login-box .hint{font-size:10px;color:#95a2b3}
@media(max-width:760px){.sidebar{padding:10px 13px 0}.nav{margin-bottom:7px}.nav button{font-size:10px;padding:8px 11px}.topbar{height:60px}.workspace{padding:24px 17px}.stat{padding:18px}.stat .stat-value{font-size:27px}.page-head h1{font-size:25px}.login-story{min-height:320px;padding:32px}.login-story h1{font-size:36px}.sidebar-bottom{display:none}.mobile-brand{color:#6d819d}}
.lab-external{display:block;font-size:11px;color:#8fa5c1;margin:10px 12px;text-decoration:none}.lab-external:hover{color:#e3edfb}.manufacturing-flow{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:5px 0}.manufacturing-flow>div{display:grid;grid-template-columns:30px 1fr;gap:5px 12px}.manufacturing-flow>div>span{grid-row:span 2;color:#98abc5;font-size:20px;font-weight:400}.manufacturing-flow strong{font-size:12px;font-weight:550}.manufacturing-flow small{font-size:10px;line-height:1.7}.production-tools{padding:18px 0 0}.production-tools .search{max-width:420px}.serial-button{font:inherit;font-size:11px;font-weight:600;background:none;color:#355273;text-align:left;padding:0;cursor:pointer;overflow-wrap:anywhere}.serial-button:hover{text-decoration:underline}.module-buttons{display:grid;gap:8px}.module-buttons small{line-height:1.6}.module-label{display:flex;flex-direction:column;align-items:center;background:#f7f9fc;border:1px solid #e3e9f1;padding:20px;margin-bottom:23px;border-radius:7px;gap:13px}.module-label img{width:100%;max-width:350px;height:auto;background:white;padding:10px}.history-list{margin-top:18px;display:grid;gap:0}.history-list>div{padding:13px 0 13px 18px;border-left:2px solid #dbe3ed;display:grid;gap:6px}.history-list small{font-size:9px;color:#8c9bb0}.history-list strong{font-size:11px;font-weight:550}.history-list span{font-size:10px;color:#8a98aa;overflow-wrap:anywhere}.scan-grid{display:grid;gap:17px;padding:18px;background:#f3f6fa;border:1px solid #e0e6ef;border-radius:7px}.scan-grid input{font-family:ui-monospace,monospace;letter-spacing:.5px}.scan-check{font-size:10px;color:#8c9aae}.scan-check.scan-ok{color:#4d8274}.scan-check.scan-warn{color:#b08a50}@media(max-width:760px){.lab-external{display:none}.manufacturing-flow{grid-template-columns:1fr}.production-tools .toolbar{flex-wrap:wrap}}
/* Customer machine commissioning: same navy visual system. */
.setup-steps{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dfe5ed;background:#fff;border-radius:7px;margin:0 0 24px;overflow:hidden}.setup-steps button{background:transparent;color:#8190a5;padding:17px 12px;display:flex;gap:9px;align-items:center;font-size:11px;border-right:1px solid #edf0f4}.setup-steps button:last-child{border:0}.setup-steps button span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#eef2f7;color:#7f90a8;font-size:10px}.setup-steps button.current{background:#243b58;color:#fff}.setup-steps button.current span{background:#3f5572;color:#fff}.machine-select{min-width:230px;font-size:10px}.setup-form{display:grid;gap:18px;max-width:760px}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid-form{display:flex;align-items:end;gap:15px;margin-bottom:16px}.grid-form input{width:100px}.setup-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.setup-section-title{margin:5px 0 21px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.setup-section-copy{min-width:0;flex:1}.setup-auto-control{display:grid;justify-items:end;gap:8px;flex:0 0 auto;max-width:235px}.setup-auto-control .button{white-space:nowrap}.setup-auto-control small{font-size:10px;line-height:1.6;color:#7b8da4;text-align:right}.setup-section-title p{font-size:11px;line-height:1.7;margin-top:8px;color:#7b8da4}.slot-grid-scroll{overflow-x:auto;padding:3px 2px 12px}.slot-grid{display:grid;gap:12px}.slot-tile{background:#fff;border:1px solid #dce3ed;border-radius:7px;min-width:125px;padding:17px 14px;text-align:left;color:#344b65;min-height:165px;display:flex;flex-direction:column;gap:9px}.slot-tile.selected{outline:2px solid #617fa2;outline-offset:0}.slot-tile:hover{border-color:#7e98b7}.slot-top{display:flex;justify-content:space-between;align-items:center}.slot-top strong{font-size:18px}.slot-indicator{height:7px;width:7px;border-radius:50%;background:#c4a26c}.slot-product{font-size:11px;font-weight:550;line-height:1.5;min-height:30px;overflow-wrap:anywhere}.slot-tile small{font-size:9px}.slot-status{font-size:9px;margin-top:auto;color:#9a7a46}.slot-mapping{font-variant-numeric:tabular-nums;color:#8698ae}.slot-tile.state-learned{border-color:#b9cec9}.state-learned .slot-indicator{background:#689687}.state-learned .slot-status{color:#5d8479}.slot-tile.state-conflict,.slot-tile.state-no_signal,.slot-tile.state-timeout{border-color:#d5b8b1}.state-conflict .slot-indicator,.state-no_signal .slot-indicator,.state-timeout .slot-indicator{background:#b2796b}.state-conflict .slot-status,.state-no_signal .slot-status,.state-timeout .slot-status{color:#a36d60}.slot-tile.state-inactive{background:#edf0f4;color:#9aa6b4;border-style:dashed}.state-inactive .slot-indicator{background:#b0bac7}.state-inactive .slot-status{color:#99a4b3}.slot-tile.state-waiting{border-color:#8ba6c9;background:#f2f6fc}.slot-editor .panel-body>.button{width:100%;justify-content:center;margin-top:16px}.slot-editor .eyebrow{display:block;font-size:9px;margin-bottom:8px;color:#8b9bb0}.slot-product-name{font-size:14px;font-weight:550;line-height:1.7}.slot-editor .muted{font-size:11px;margin:8px 0}.learn-state{background:#f2f5f9;border-radius:5px;padding:15px;margin-top:22px;font-size:11px}.learn-state p{font-size:10px;color:#778ca6;line-height:1.8;margin-top:8px}.learn-state.state-waiting{background:#e9f0fa}.learn-state.state-learned{background:#ebf2ef}.simulator-link{display:block;font-size:10px;line-height:1.7;margin-top:14px}.setup-legend{display:flex;gap:15px;flex-wrap:wrap;color:#8899ad;font-size:9px;margin:12px 0}.setup-notice{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.setup-notice>.button{margin-left:auto}.auto-panel{padding:24px;display:flex;gap:25px;justify-content:space-between;align-items:center;margin-top:22px}.auto-panel p{font-size:11px;line-height:1.8;color:#7e8fa4;max-width:600px;margin:8px 0}.auto-panel small{font-size:10px;color:#8a9aad}.auto-actions{display:grid;gap:12px;min-width:230px}.setup-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:27px}.setup-summary strong{display:block;font-size:28px;color:#344d6d}.setup-summary span{font-size:11px;color:#8999af;display:block;margin-top:6px}.slot-gap{min-height:165px;border:1px dashed #dfe5ed;border-radius:7px}.cols-1{grid-template-columns:repeat(1,minmax(125px,1fr))}.cols-2{grid-template-columns:repeat(2,minmax(125px,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(125px,1fr))}.cols-4{grid-template-columns:repeat(4,minmax(125px,1fr))}.cols-5{grid-template-columns:repeat(5,minmax(125px,1fr))}.cols-6{grid-template-columns:repeat(6,minmax(125px,1fr))}.cols-7{grid-template-columns:repeat(7,minmax(125px,1fr))}.cols-8{grid-template-columns:repeat(8,minmax(125px,1fr))}.cols-9{grid-template-columns:repeat(9,minmax(125px,1fr))}.cols-10{grid-template-columns:repeat(10,minmax(125px,1fr))}.cols-11{grid-template-columns:repeat(11,minmax(125px,1fr))}.cols-12{grid-template-columns:repeat(12,minmax(125px,1fr))}
@media(max-width:1100px){.setup-workspace{grid-template-columns:minmax(0,1fr) 260px}.setup-steps button{font-size:10px;padding:15px 8px;gap:6px}.auto-panel{display:block}.auto-actions{margin-top:20px}.setup-steps{overflow:auto}}
@media(max-width:760px){.setup-workspace{grid-template-columns:1fr}.setup-steps{display:flex}.setup-steps button{white-space:nowrap;padding:12px}.slot-editor{order:-1}.form-two{grid-template-columns:1fr}.grid-form{flex-wrap:wrap}.machine-select{min-width:0;width:100%;margin-top:16px}.slot-tile{padding:13px;min-height:150px}.setup-summary{gap:12px}.setup-summary strong{font-size:23px}.setup-notice>.button{margin-left:0}.slot-editor .panel-body{padding-bottom:18px}}

/* Per-row rack: presence, product and observed ID are separate states. */
.machine-rack{display:grid;gap:18px}.rack-row{background:#fff;border:1px solid #dce2e9;border-radius:12px;overflow:hidden}.rack-row-head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid #e9edf2;background:#fafbfd}.rack-row-head strong{font-size:15px;margin-right:18px}.rack-row-head span{font-size:12px;color:#64748b}.rack-slots{display:flex;gap:9px;padding:14px;overflow-x:auto}.rack-slot{font:inherit;text-align:left;display:flex;flex:0 0 116px;flex-direction:column;gap:7px;min-height:166px;padding:12px;border:1px solid #dce2e9;background:#fff;border-radius:8px;color:#26384d;cursor:pointer}.rack-slot.selected{outline:2px solid #6380a1;outline-offset:0;background:#f7faff}.rack-slot-head{display:flex;align-items:center;justify-content:space-between}.rack-slot-head strong{font-size:20px}.rack-created{font-size:10px;font-weight:700;color:#587465}.rack-product{font-size:12px;font-weight:600;line-height:1.4;min-height:34px;max-height:34px;overflow:hidden}.rack-stock,.rack-status,.rack-slot small{font-size:10px;line-height:1.3}.rack-stock{color:#687b90}.rack-stock.low{color:#9c6426;font-weight:700}.rack-status{margin-top:auto;font-weight:600;color:#9b7a44}.rack-slot.state-learned .rack-status{color:#34705b}.rack-slot.state-learned .slot-indicator{background:#44836a}.rack-slot.state-conflict,.rack-slot.state-no_signal,.rack-slot.state-timeout{background:#fff8f6;border-color:#e7c2ba}.rack-slot.state-conflict .rack-status,.rack-slot.state-no_signal .rack-status,.rack-slot.state-timeout .rack-status{color:#aa5045}.rack-slot.state-inactive{background:#f1f3f5;color:#8a95a3}.rack-slot.not-created{background:#fafbfd;border:1px dashed #cbd4df;color:#8b98a9;justify-content:space-between}.rack-slot.not-created:disabled{cursor:default;opacity:.75}.rack-plus{font-size:24px;font-weight:300;align-self:center}.rack-slot small{color:#8a99aa}.rack-row-head .button{padding:7px 10px;min-height:0}.setup-workspace{grid-template-columns:minmax(0,1fr) 290px}.setup-workspace>section{min-width:0}@media(max-width:1000px){.setup-workspace{grid-template-columns:1fr}.rack-row-head span{display:block;margin-top:5px}.rack-slot{flex-basis:105px}}
.image-build{padding:18px 0;border-bottom:1px solid var(--border,#e2e6eb);display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.image-build small{display:block;margin-top:5px;color:var(--muted,#697586)}.image-digest{width:100%;overflow-wrap:anywhere;font-family:monospace;font-size:11px}.flash-steps{padding-left:22px;line-height:1.8;font-size:13px;color:#526174}
.hardware-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hardware-fields .hardware-sim_iccid{grid-column:1/-1}@media(max-width:600px){.hardware-fields{grid-template-columns:1fr}}

.sumup-device-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin:24px 0}.sumup-device-grid .panel{margin:0}.sumup-device-grid h2{margin:10px 0}.sumup-callback{max-width:640px;margin:12vh auto;padding:40px}.sumup-callback h1{margin:20px 0}

.sumup-panel{padding:24px}.sumup-panel .section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.sumup-panel .detail-grid{margin-bottom:22px}.sumup-panel .actions{flex-wrap:wrap}.sumup-panel .notice{margin-top:22px}.sumup-panel .table-wrap{margin:0 -24px}.sumup-panel .table-wrap table{min-width:600px}

.sumup-connect-steps{display:flex;flex-wrap:wrap;gap:12px 28px;padding:0;list-style:none;counter-reset:connect-step;margin:24px 0;color:var(--muted,#687284)}
.sumup-connect-steps li{counter-increment:connect-step;display:flex;align-items:center;gap:10px;font-size:13px}
.sumup-connect-steps li::before{content:counter(connect-step);display:grid;place-items:center;width:28px;height:28px;border:1px solid #d7dde5;border-radius:50%;font-size:12px}
.sumup-connect-steps .current{color:#142c48;font-weight:600}.sumup-connect-steps .current::before{border-color:#142c48}.sumup-connect-steps .complete::before{background:#142c48;color:white;border-color:#142c48}

.recovery-codes{display:grid;grid-template-columns:1fr;gap:8px;margin:22px 0;padding:18px;background:#f3f5f7;border-radius:8px}.recovery-codes code{font-size:13px;overflow-wrap:anywhere}
.authenticator-setup{text-align:center;margin:22px 0 18px;padding:16px;background:#fff;border:1px solid #e2e7ef;border-radius:14px}.authenticator-qr{display:block;width:260px;max-width:100%;height:auto;margin:auto;aspect-ratio:1}.authenticator-setup p{font-size:12px;color:#526276;overflow-wrap:anywhere;margin:10px 0 0}.authenticator-manual{margin:18px 0 24px;font-size:12px}.authenticator-manual summary{cursor:pointer;color:#324b6a;padding:6px 0}.authenticator-manual input{font-family:monospace;font-size:12px}
/* Purchasing and warehouse share the established administrative layout. */
.stock-panel{margin-bottom:22px;overflow:hidden}.stock-panel .panel-head h2{margin:0}.stock-panel .panel-head p{margin:6px 0 0}.stock-search{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted,#667085)}.stock-search input{min-width:230px;padding:10px 13px;border:1px solid #d9e0e8;border-radius:8px;background:white;color:#172a42}.stock-filter{display:flex;align-items:end;gap:16px;padding:20px;margin-bottom:22px;flex-wrap:wrap}.stock-filter label{display:grid;gap:7px;font-size:13px}.stock-filter input{padding:10px;border:1px solid #d9e0e8;border-radius:7px}.stock-filter .hint{flex-basis:100%;margin:0}.stock-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.stock-chart{padding:12px 24px 24px;max-height:360px;overflow:auto}.stock-chart>div{display:grid;grid-template-columns:65px 1fr 100px;align-items:center;gap:12px;margin:15px 0;font-size:13px}.stock-chart progress{width:100%;height:11px;accent-color:#1c3554}.stock-chart strong{text-align:right}.stock-purchase-line{padding:18px;border:1px solid #dbe2eb;border-radius:10px;display:grid;gap:14px;margin-bottom:16px;background:#f8fafc}.stock-line-head{display:flex;justify-content:space-between;align-items:center}.stock-allocation{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #e5eaf0}#dialog:has(.stock-purchase-line){width:min(760px,94vw)}#dialog:has(.stock-allocation),#dialog:has(.table-wrap){width:min(900px,94vw)}.sidebar .nav{min-height:0;overflow:auto;flex-shrink:1}.sidebar-bottom{flex-shrink:0}@media(max-width:1000px){.stock-report-grid{grid-template-columns:1fr}.stock-panel .panel-head{flex-wrap:wrap;gap:15px}}@media(max-width:600px){.stock-search,.stock-search input{width:100%;min-width:0}.stock-filter{align-items:stretch}.stock-filter label{flex:1}.stock-allocation{align-items:start;flex-direction:column}.stock-chart>div{grid-template-columns:60px 1fr 85px;gap:8px}}

.mfg-boot-status{margin-top:22px;padding:24px;border:1px solid #dce3ec;border-radius:12px;background:#f7f9fc}
.mfg-boot-heading{display:flex;gap:10px;align-items:center;color:#263e59;font-size:16px}
.mfg-boot-dot{width:9px;height:9px;border-radius:50%;background:#8b98a8;flex-shrink:0}
.mfg-boot-status.success{border-color:#cee1d5;background:#f5faf6}.mfg-boot-status.success .mfg-boot-dot{background:#38754d}
.mfg-boot-status.problem{border-color:#e7cdca;background:#fcf7f6}.mfg-boot-status.problem .mfg-boot-dot{background:#a0524c}
.mfg-boot-status>p{line-height:1.7;margin:12px 0;color:#657387}
.mfg-boot-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}
.mfg-boot-facts dt{font-size:11px;color:#748195;margin-bottom:7px}.mfg-boot-facts dd{margin:0;font-size:13px;color:#283c52;overflow-wrap:anywhere}.mfg-boot-facts small{display:block;margin-top:6px}
.mfg-boot-status>.hint{font-size:11px;margin-bottom:0}
@media(max-width:700px){.mfg-boot-facts{grid-template-columns:1fr}.mfg-boot-status{padding:20px}}

/* Central stock selection in production */
.mfg-stock-note{padding:0 24px 18px;color:#708093;font-size:12px;line-height:1.6}
.mfg-material-item{padding:18px;border:1px solid #dce3ec;border-radius:10px;background:#f8fafc}
.mfg-material-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:12px}
.mfg-material-item small{display:block;margin-top:5px;color:#708093;font-size:12px;line-height:1.6}
.mfg-material-source{display:grid;grid-template-columns:minmax(0,1fr) 95px;gap:20px;align-items:center;border-top:1px solid #e2e8ef;padding-top:14px;margin-top:14px}
.mfg-material-source strong{font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.mfg-material-source label{font-size:12px}.mfg-material-source input{width:100%}
#dialog:has(.mfg-material-item){width:min(780px,94vw)}
@media(max-width:600px){.mfg-material-source{grid-template-columns:minmax(0,1fr) 75px;gap:12px}.mfg-material-heading{flex-wrap:wrap}}

.mfg-package-card{margin-top:28px;padding:24px;background:#f7f9fc;border:1px solid #dce3ec;border-radius:12px}.mfg-package-card h3{margin:12px 0;font-size:19px}.mfg-package-card p{line-height:1.7;color:#6c7c90}.mfg-package-preview{background:white;border:1px solid #e2e8ef;border-radius:8px;padding:18px;margin-top:20px;text-align:center}.mfg-package-preview img{max-width:100%;width:350px;height:auto}.mfg-scan-input{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.mfg-scan-result{padding:18px;background:#f4f7fb;border:1px solid #dce3ec;border-radius:9px;line-height:1.7}.mfg-scan-result>strong,.mfg-scan-result>small{display:block}.mfg-scan-result>.badge{margin:10px 0}.mfg-scan-components{display:grid;gap:12px;margin-top:18px}.mfg-scan-components small{display:block;color:#7b889a}.mfg-scan-components strong{font-size:12px;overflow-wrap:anywhere}#dialog:has(.mfg-scan-input){width:min(680px,94vw)}@media(max-width:600px){.mfg-scan-input{grid-template-columns:1fr}.mfg-package-card{padding:18px}}
/* Customer fleet: independent machines and owned Basic devices. */
.fleet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;color:#758293;font-size:13px}.fleet-toolbar .search{max-width:530px;flex:1}.machine-cards,.basic-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.machine-card{border:1px solid #e0e5eb;border-radius:12px;background:#fff;padding:25px;box-shadow:0 3px 10px #17283c03}.machine-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.machine-card-title{border:0;background:none;color:#25364c;font:inherit;font-size:21px;font-weight:650;text-align:left;padding:0;cursor:pointer}.machine-card-title:hover{color:#53759c}.machine-card-location{font-size:15px;color:#506077;margin:12px 0}.machine-card-location span{display:block;font-size:13px;color:#8a94a3;margin-top:4px}.machine-card-model{font-size:12px;color:#8b95a4;margin:18px 0}.machine-card-values{display:grid;grid-template-columns:repeat(3,1fr);padding:19px 0;border-top:1px solid #eef0f4}.machine-card-values strong{display:block;font-size:22px;font-weight:600;color:#33475e}.machine-card-values span{font-size:11px;color:#8a94a3}.machine-card-values .stock-warning strong{color:#ae7729}.machine-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #eef0f4;padding-top:15px}.machine-card-bottom>span{font-size:11px;color:#7c8899}.fleet-empty{text-align:center;padding:64px 24px}.fleet-empty>svg{width:50px;height:50px;color:#8ca0b8;margin:0 auto 20px}.fleet-empty h2{font-size:23px}.fleet-empty p{max-width:460px;margin:14px auto 24px;color:#7e8b9b;line-height:1.7}.fleet-intro{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:24px;color:#728197}.fleet-intro strong{color:#34475e}.fleet-intro p{width:100%;font-size:13px;margin:0;line-height:1.65}.basic-card{margin:0}.basic-card .panel-head h2{font-size:19px}.basic-connection{padding:20px;background:#f6f8fb;border:1px solid #e9edf3;border-radius:8px}.basic-connection small,.basic-connection strong{display:block}.basic-connection small{font-size:11px;color:#7c8a9d;margin-bottom:8px}.basic-connection strong{color:#33465d}.basic-connection p{font-size:12px;color:#8a94a3;margin:8px 0 0}.basic-parts{margin:24px 0}.basic-parts>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;font-size:12px}.basic-parts dt{color:#8a94a3}.basic-parts dd{color:#4a5a70;margin:0;overflow-wrap:anywhere}.basic-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 16px}.basic-service{display:flex;gap:6px;flex-wrap:wrap;border-top:1px solid #edf0f4;padding-top:14px}.machine-context{display:flex;align-items:center;gap:15px;color:#8090a3;font-size:13px;margin-bottom:25px}.machine-context label{margin-left:auto;display:flex;align-items:center;gap:12px}.machine-context select{background:#fff;border:1px solid #dce2eb;padding:10px 14px;border-radius:6px;color:#445670}.machine-tabs{display:flex;border-bottom:1px solid #dce2e9;gap:32px;margin-bottom:28px;overflow:auto}.machine-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:0 0 15px;color:#7f8b9b;font:inherit;font-size:14px;white-space:nowrap;cursor:pointer}.machine-tabs button.active{color:#30455f;border-color:#667f9e;font-weight:600}.machine-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px}.machine-location{display:flex;flex-direction:column;gap:7px;color:#7a889a;margin-bottom:22px}.machine-location strong{color:#354860;font-size:17px}.fleet-notes{white-space:pre-wrap;overflow-wrap:anywhere;color:#7b8798;line-height:1.7;font-size:13px}.fleet-chart{height:160px;display:flex;gap:3px;align-items:end;margin:12px 0}.fleet-chart>div{flex:1;height:100%;border-bottom:1px solid #e3e8f0;background:#f6f8fb;min-width:1px}.fleet-chart svg{width:100%;height:100%;fill:#748dab}.chart-period{display:flex;justify-content:space-between;font-size:11px;color:#8795a7}.fleet-slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;padding:24px}.fleet-slot{padding:16px;background:#f8fafc;border:1px solid #e1e7ef;border-radius:8px}.fleet-slot>div{display:flex;align-items:center;justify-content:space-between}.fleet-slot h3{font-size:14px;line-height:1.4;margin:20px 0 10px}.fleet-slot p,.fleet-slot small,.fleet-slot span{font-size:12px;color:#7a8a9d}.fleet-slot progress{width:100%;height:6px;accent-color:#718da6;display:block;margin-bottom:8px}.fleet-slot .button{margin-top:15px}.fleet-slot.low{border-color:#e5cda6;background:#fffcf5}.fleet-slot.low progress{accent-color:#c3914c}.machine-timeline{list-style:none;padding:0;margin:0 0 32px}.machine-timeline li{display:flex;gap:16px;padding:0 0 23px}.timeline-point{width:9px;height:9px;border:2px solid #9bb0c5;border-radius:50%;margin-top:5px;flex-shrink:0}.machine-timeline strong{display:block;font-size:14px;font-weight:500;color:#3e5067}.machine-timeline small{display:block;color:#8a96a6;font-size:12px;margin-top:6px}.machine-card-title:focus-visible,.machine-tabs button:focus-visible{outline:2px solid #7693b2;outline-offset:5px}.form-grid textarea{font:inherit;border:1px solid #dce2e9;border-radius:6px;padding:12px;resize:vertical;width:100%}
@media(min-width:1700px){.machine-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.machine-detail-grid{grid-template-columns:1fr}.machine-cards,.basic-cards{grid-template-columns:1fr}}@media(max-width:650px){.machine-context{flex-wrap:wrap}.machine-context label{margin-left:0;width:100%;justify-content:space-between}.machine-tabs{gap:22px}.machine-card{padding:19px}.machine-card-bottom{align-items:flex-start;flex-direction:column}.fleet-toolbar{gap:10px;align-items:stretch;flex-direction:column}.basic-parts>div{flex-direction:column;gap:4px}}

/* Customer-facing SumUp connection: one continuous two-step flow. */
.sumup-connection{max-width:840px}.sumup-connection h3{font-size:21px;margin:28px 0 12px}.sumup-connection p{line-height:1.65}.sumup-inline-form{max-width:440px;margin:24px 0}.sumup-inline-form label{display:grid;gap:9px;font-size:13px;font-weight:600}.sumup-inline-form .button{margin-top:10px}.sumup-inline-form .solo-code{font-size:23px;letter-spacing:.12em;padding:16px;width:100%;box-sizing:border-box}.sumup-account-confirmed{background:#eef5f1;color:#315b47;border-radius:10px;padding:14px 18px}.sumup-success{border-left:3px solid #315b47;padding-left:22px}.sumup-readiness{font-size:13px;color:#7a633a;background:#f6f2e9;padding:12px 14px;border-radius:8px}.sumup-readiness.is-ready{color:#315b47;background:#eef5f1}
.sumup-panel>p+.button,.sumup-panel>p+.badge{margin-top:16px}.sumup-panel>p+.actions{margin-top:18px}

/* Network mode selection */
.network-modes{display:grid;gap:12px}.network-choice{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid var(--border,#ddd);border-radius:12px;cursor:pointer}.network-choice:has(input:checked){border-color:#275d4c;background:#f1f7f4}.network-choice input{width:auto;margin-top:4px}.network-choice span{display:grid;gap:6px}.network-choice small{font-weight:400;line-height:1.5}.form-grid [hidden]{display:none}
:root { --ota-ink: #203d35; }
#dialog:has(.ota-dialog) { width:620px; max-width:calc(100vw - 32px); }
.ota-dialog { width:100%; min-width:0; max-width:100%; }
.ota-overview { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:4px 0 24px; border-bottom:1px solid #e6eae7; margin-bottom:22px; }
.ota-overview>div { min-width:0; }
.ota-overview strong { display:block; margin-top:7px; font-size:20px; font-weight:600; color:var(--ota-ink); overflow-wrap:anywhere; }
.ota-connection { font-size:12px; color:#777; border:1px solid #e1e6e3; border-radius:30px; padding:8px 12px; }
.ota-connection.connected { color:#27634b; background:#f0f6f2; border-color:#dceadf; }
.ota-card { border:1px solid #e0e7e2; border-radius:18px; padding:24px; margin-bottom:16px; background:linear-gradient(145deg,#fff,#f8faf8); }
.ota-version { display:grid; grid-template-columns:46px minmax(0,1fr) auto; gap:14px; align-items:center; }
.ota-version>div { min-width:0; }
.ota-version strong { display:block; font-size:25px; letter-spacing:-.7px; margin-top:3px; color:var(--ota-ink); overflow-wrap:anywhere; }
.ota-icon { width:46px; height:46px; display:grid; place-items:center; background:#e9f0ec; color:#315347; border-radius:14px; font-size:26px; }
.ota-size { margin-left:auto; font-size:13px; color:#647069; white-space:nowrap; }
.ota-card p[role=status] { color:#647069; font-size:13px; margin:20px 0 12px; }
.ota-card small { display:block; color:#748078; line-height:1.6; }
.ota-card .actions { margin-top:22px; justify-content:flex-end; }
.ota-dialog .actions { flex-wrap:wrap; }
.ota-dialog .button { max-width:100%; white-space:normal; }
.ota-card-main { min-width:0; overflow-wrap:anywhere; }
.ota-progress { display:block; width:100%; height:9px; border:0; border-radius:6px; overflow:hidden; accent-color:#315a49; margin:14px 0 12px; background:#e5ece7; }
.ota-progress::-webkit-progress-bar { background:#e5ece7; border-radius:6px; }
.ota-progress::-webkit-progress-value { background:#315a49; border-radius:6px; transition:width .3s ease; }
.ota-progress::-moz-progress-bar { background:#315a49; border-radius:6px; }
@media(max-width:540px) {
 #dialog:has(.ota-dialog) { padding:20px; }
 .ota-card { padding:18px; }
 .ota-overview { gap:12px; }
 .ota-version { grid-template-columns:40px minmax(0,1fr); gap:6px 12px; }
 .ota-icon { width:40px; height:40px; grid-row:1 / 3; }
 .ota-size { grid-column:2; margin-left:0; font-size:12px; }
 .ota-version strong { font-size:22px; }
 .ota-dialog .actions .button { width:100%; }
}
.ota-state { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:22px 0 14px; color:var(--ota-ink); font-size:13px; }
.ota-state>small { margin-left:auto; }
.ota-state-icon { display:inline-grid; place-items:center; width:20px; height:20px; flex-shrink:0; font-size:18px; }
.ota-state-icon.spinning { animation:ota-turn 1.4s linear infinite; }
.ota-state.delayed,.basic-update.delayed { color:#8a6631; }
.ota-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; list-style:none; margin:20px 0; padding:0; }
.ota-steps li { display:grid; justify-items:center; gap:7px; color:#939d97; font-size:10px; text-align:center; }
.ota-steps li>span { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:#eff2f0; font-size:11px; }
.ota-steps li.done,.ota-steps li.current { color:#315a49; }
.ota-steps li.current { font-weight:650; }
.ota-steps li.done>span { background:#e0eee4; }
.ota-steps li.current>span { background:#315a49; color:#fff; }
.ota-current { display:grid; justify-items:center; gap:12px; padding:30px 12px 34px; text-align:center; }
.ota-current>span { display:grid; place-items:center; width:56px; height:56px; border-radius:50%; background:#e8f2eb; color:#315a49; font-size:27px; }
.ota-current h3 { font-size:20px; font-weight:600; color:var(--ota-ink); }
.ota-current p { color:#7a877f; font-size:13px; }
.basic-update { margin:18px 0; padding:14px; border:1px solid #dce6df; background:#f7faf8; border-radius:10px; font-size:12px; color:#315a49; }
.basic-update>div { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.basic-update>div>span:last-child { margin-left:auto; color:#7a877f; font-size:11px; }
.basic-update small { display:block; font-size:10px; line-height:1.6; margin-top:5px; }
.basic-update .ota-progress { height:5px; margin:10px 0 7px; }
.basic-update.complete { border-color:#e2ebe5; background:#f9fbfa; }
@keyframes ota-turn { to {transform:rotate(360deg);} }
@media(max-width:540px) { .ota-steps {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;} .ota-state>small {margin-left:0;width:100%;} }
@media(prefers-reduced-motion:reduce) { .ota-state-icon.spinning {animation:none;} .ota-progress::-webkit-progress-value {transition:none;} }

/* Device management: one bounded dialog, independent sections and wrapping actions. */
.device-admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
.device-admin-metrics button{background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px;text-align:left;color:#30435b;cursor:pointer}
.device-admin-metrics button.active{border-color:#8298ad;box-shadow:inset 0 0 0 1px #8298ad;background:#f7f9fc}
.device-admin-metrics small{display:block;font-size:12px;color:#7a8797}.device-admin-metrics strong{display:block;font-size:29px;font-weight:550;margin-top:12px}
.device-admin-list .panel-head{gap:20px;flex-wrap:wrap}.device-admin-list .panel-head p{margin:6px 0 0}.device-admin-search{width:280px;max-width:100%}
#dialog:has(.device-admin-dialog){width:860px;height:min(720px,88vh);max-width:calc(100vw - 32px);padding:0;overflow:hidden}
#dialog:has(.device-admin-dialog)>.dialog-head{padding:26px 28px 10px;margin:0;gap:16px}
#dialog:has(.device-admin-dialog)>.dialog-head h2{overflow-wrap:anywhere;min-width:0;font-size:23px}
#dialog:has(.device-admin-dialog)>.dialog-head button{flex-shrink:0}
#dialog[open]:has(.device-admin-dialog){display:flex;flex-direction:column}#dialog:has(.device-admin-dialog)>.dialog-head{flex-shrink:0}.device-admin-dialog{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;width:100%;max-width:100%}
.device-admin-summary{flex-shrink:0;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:0 28px 20px;font-size:13px;color:#7c8898;overflow-wrap:anywhere}
.device-admin-tabs{flex-shrink:0;display:flex;gap:24px;border-bottom:1px solid var(--border);padding:0 28px;overflow-x:auto}
.device-admin-tabs .button{border:0;border-bottom:3px solid transparent;background:none;border-radius:0;padding:13px 0;color:#7f8b9b;box-shadow:none;flex-shrink:0;font-size:13px}
.device-admin-tabs .button.active{border-color:#607f9d;color:#30455f;font-weight:600}
.device-admin-content{flex:1;min-height:0;padding:26px 28px;overflow-y:auto;overscroll-behavior:contain;overflow-wrap:anywhere}
.device-admin-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;background:#f6f8fb;border:1px solid #e4e9f0;border-radius:10px;padding:22px;margin-bottom:24px}
.device-admin-facts small,.device-admin-parts small{display:block;color:#8591a2;font-size:11px;margin-bottom:8px}.device-admin-facts strong{font-size:14px;font-weight:550}
.device-admin-section{margin:24px 0}.device-admin-section:first-child{margin-top:0}.device-admin-section:last-child{margin-bottom:0}
.device-admin-section h3{font-size:15px;margin:0 0 10px}.device-admin-section h3 small{font-weight:400;font-size:11px;color:#8b98a8;margin-left:10px}
.device-admin-section>p{font-size:12px;line-height:1.7;color:#7a8799;max-width:600px}
.device-admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.device-admin-actions .button{white-space:normal;max-width:100%}
.device-admin-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.device-admin-parts article{padding:18px;border:1px solid #e3e8ef;border-radius:9px;background:#f8fafc}.device-admin-parts strong{font-size:12px;overflow-wrap:anywhere}
.device-admin-content [data-network-error]:empty,.hotspot-dialog [data-network-error]:empty{display:none}
.network-state{border:1px solid #dce4ef;border-radius:10px;padding:18px;background:#f5f8fc;color:#506780;margin:18px 0}
.network-state.confirmed{background:#f3f8f5;border-color:#d9e8df;color:#4c7260}.network-state.failed{background:#fff7f2;border-color:#eedbce;color:#976448}
.network-state-head{display:flex;align-items:center;gap:10px;font-size:13px}.network-state p{font-size:12px;line-height:1.7;margin:8px 0 0}.network-state small{display:block;font-size:10px;opacity:.8;margin-top:10px}
.network-state-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0}.network-spinner{width:14px;height:14px;border:2px solid #cdd8e4;border-top-color:#5e7a96;border-radius:50%;animation:network-spin 1s linear infinite;flex-shrink:0}
#dialog:has(.hotspot-dialog){width:600px;max-width:calc(100vw - 32px)}.hotspot-dialog{width:100%;min-width:0}.hotspot-dialog .actions{flex-wrap:wrap}.hotspot-dialog .button{max-width:100%;white-space:normal}
@keyframes network-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.network-spinner{animation:none}}
@media(max-width:650px){.device-admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.device-admin-metrics button{padding:16px}.device-admin-search{width:100%}.device-admin-facts,.device-admin-parts{grid-template-columns:1fr}.device-admin-tabs{gap:20px;padding:0 20px}.device-admin-content{padding:20px}.device-admin-summary{padding:0 20px 16px}#dialog:has(.device-admin-dialog)>.dialog-head{padding:20px 20px 12px}.device-admin-actions .button{flex:1 1 100%}}
/* At high zoom or on short landscape screens, allow the complete dialog to scroll. */
@media(max-height:480px){#dialog[open]:has(.device-admin-dialog){display:block;height:auto;overflow-y:auto}.device-admin-dialog{display:block}.device-admin-content{overflow:visible}}

#dialog:has(.hotspot-access){width:700px;max-width:calc(100vw - 32px)}
.hotspot-access{min-width:0;width:100%}.hotspot-access .check{display:flex;gap:12px;align-items:center}.hotspot-access .check input{width:auto;flex:none}.hotspot-access-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto;gap:12px;align-items:end;padding:16px 0;border-bottom:1px solid #e2e8ef}.hotspot-access-row input{min-width:0;width:100%}.hotspot-access-row [data-mac]{font-family:monospace}.hotspot-access [data-access-add]{margin-top:18px}.hotspot-access-empty{padding:22px;background:#f6f8fb;border-radius:10px;color:#68788c}.hotspot-access .notice{overflow-wrap:anywhere}
@media(max-width:620px){.hotspot-access-row{grid-template-columns:minmax(0,1fr)}.hotspot-access-row button{justify-self:start}}
#dialog[open]:has(.hotspot-access){display:flex;flex-direction:column;max-height:calc(100dvh - 40px);overflow:hidden}
#dialog:has(.hotspot-access)>.dialog-head{flex-shrink:0;gap:16px}
#dialog:has(.hotspot-access)>.dialog-head h2{min-width:0;overflow-wrap:anywhere}
#dialog:has(.hotspot-access)>.dialog-head button{flex-shrink:0}
#dialog:has(.hotspot-access)>form{min-height:0;overflow-y:auto;display:block;padding-right:4px}
#dialog:has(.hotspot-access) .actions{position:sticky;bottom:-1px;background:white;padding:14px 0 2px;margin:12px 0 0;flex-wrap:wrap}
#dialog:has(.hotspot-access) .actions .button{white-space:normal}

/* Customer machines: photographs, maps, and explicit device assignment. */
.machine-card-photo{width:calc(100% + 50px);aspect-ratio:16/10;max-height:300px;margin:-25px -25px 22px;overflow:hidden;border-radius:12px 12px 0 0;background:#edf1f5}
.machine-card-photo img{display:block;width:100%;height:100%;object-fit:contain}
.machine-card-actions{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.button.danger{color:#9b5350}.button.danger:disabled{color:#8a94a1;opacity:.55;cursor:not-allowed}
.machine-photo{position:relative;width:100%;aspect-ratio:16/9;max-height:380px;background:#eef2f6;border:1px solid #e0e6ed;border-radius:12px;overflow:hidden;margin:0 0 24px}
.machine-photo img{display:block;width:100%;height:100%;object-fit:contain;background:#e9eef3}
.machine-photo>.button{position:absolute;right:18px;bottom:18px;box-shadow:0 3px 15px #2131491a;background:#fff}
.machine-photo.empty-photo{height:210px;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:linear-gradient(135deg,#f5f7fa,#edf2f6);color:#75869a}
.machine-photo.empty-photo>svg{height:40px;width:40px;color:#7890a9}.machine-photo.empty-photo>strong{color:#354b65;font-weight:600}.machine-photo.empty-photo>span{font-size:13px}
.machine-photo.empty-photo>.button{position:static;box-shadow:none;margin-top:3px}
.machine-photo-preview{display:block;width:100%;height:auto;max-height:min(360px,45vh);object-fit:contain;border-radius:8px;background:#f1f4f7}
.machine-link-new{padding-top:18px;margin-top:5px;border-top:1px solid #e5eaf0;display:flex;flex-direction:column;gap:12px;align-items:flex-start}.machine-link-new>span{color:#7b899b;font-size:13px}
.machine-map-panel{margin-top:24px;border-top:1px solid #e6ebf0;padding-top:19px}.machine-map-panel .section-title{align-items:center;gap:8px}.machine-map-panel h3{font-size:14px;margin:0}
.machine-map{height:270px;border:1px solid #e0e7ee;border-radius:8px;overflow:hidden;background:#f3f6f8}.machine-map iframe{height:100%;width:100%;border:0;display:block}
.map-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;height:100%;padding:22px;gap:10px}.map-placeholder p{font-size:12px;line-height:1.6;color:#7a8799;margin:0;max-width:300px}.map-placeholder strong{font-size:14px;color:#3b4e66}.map-pin{font-size:29px;color:#7e98b4}
.map-attribution{display:block;margin-top:8px;font-size:10px;color:#8491a0}.map-attribution a{color:inherit}
.map-search-results{display:grid;gap:7px;max-height:210px;overflow:auto;color:#7a8799;font-size:13px}
.map-search-result{border:1px solid #dce4ee;border-radius:7px;padding:12px;text-align:left;color:#465b74;background:#f8fafc;font:inherit;line-height:1.5;cursor:pointer}.map-search-result.selected{border-color:#6b87a7;background:#edf3f9;color:#294866}
@media(max-width:650px){.machine-card-photo{width:calc(100% + 38px);margin:-19px -19px 18px}.machine-card-actions{align-items:flex-start}.machine-photo:not(.empty-photo){aspect-ratio:4/3}.machine-map-panel .section-title{flex-wrap:wrap}.machine-photo>.button{right:12px;bottom:12px}}
.sumup-machine-status{margin:18px 0;padding:16px;border:1px solid var(--line,#e4e8e7);border-radius:12px;background:#f8faf9}.sumup-machine-status .sumup-readiness{margin:8px 0}.sumup-machine-status .hint{margin:8px 0}
.setup-machine-context,.setup-start{display:flex;align-items:center;justify-content:space-between;gap:20px}.setup-machine-context{padding:18px 20px;margin-bottom:16px;background:#fff;border:1px solid var(--line,#e4e8e7);border-radius:12px}.setup-machine-context strong,.setup-machine-context span{display:block}.setup-machine-context span{margin-top:5px;font-size:13px;color:var(--muted,#687974)}.setup-start p{margin:6px 0 0}.setup-start .button{flex-shrink:0}.machine-technical summary{cursor:pointer;font-size:14px;font-weight:600;padding:8px 0}.machine-technical .form-two{margin-top:10px}@media(max-width:650px){.setup-machine-context,.setup-start{align-items:flex-start;flex-direction:column}.setup-start .button{width:100%}}

@media(max-width:760px){.setup-section-title{flex-wrap:wrap}.setup-section-copy{flex-basis:100%}.setup-auto-control{max-width:100%;justify-items:start}.setup-auto-control small{text-align:left}}

/* Only the active learning target pulses; selected and learned slots remain still. */
.rack-slot.learning-pulse{outline:2px solid #527ca8;outline-offset:0;background:#f1f6fc;animation:slot-learning-pulse 1.8s ease-in-out infinite}
.rack-slot.learning-pulse .slot-indicator{background:#477aaa}
.rack-slot.learning-pulse .rack-status{color:#315f8c}
@keyframes slot-learning-pulse{0%,100%{border-color:#91abc5;outline-color:#7898b8;box-shadow:inset 0 0 0 1px rgba(71,122,170,.08),0 0 0 1px rgba(71,122,170,.05)}50%{border-color:#356da4;outline-color:#356da4;box-shadow:inset 0 0 0 1px rgba(71,122,170,.4),0 0 0 4px rgba(71,122,170,.18),0 0 14px rgba(71,122,170,.18)}}
@media(prefers-reduced-motion:reduce){.rack-slot.learning-pulse{animation:none;border-color:#356da4;outline-color:#356da4;box-shadow:inset 0 0 0 1px rgba(71,122,170,.3)}}

/* Customer network setup keeps confirmation and actions visible on short screens. */
#dialog[open]:has([data-customer-network-status]){display:flex;flex-direction:column;width:600px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);overflow:hidden}
#dialog:has([data-customer-network-status])>.dialog-head{flex-shrink:0;gap:16px}
#dialog:has([data-customer-network-status])>form{min-height:0;overflow-y:auto;align-content:start;padding-right:5px;overscroll-behavior:contain}
#dialog [data-customer-network-status]{margin:0}
#dialog:has([data-customer-network-status]) #form-error:empty{display:none}
#dialog:has([data-customer-network-status]) .actions{position:sticky;bottom:0;background:white;padding:14px 0 3px;margin:0;flex-wrap:wrap;border-top:1px solid var(--border);z-index:1}
#dialog:has([data-customer-network-status]) .button{white-space:normal;max-width:100%}
@media(max-width:500px){#dialog:has([data-customer-network-status]){padding:20px}#dialog:has([data-customer-network-status]) .actions .button{flex:1 1 100%}}

.setup-sequence-status{margin:0 0 20px;display:block}.setup-sequence-status p{margin:6px 0 12px}.setup-sequence-status progress{display:block;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;accent-color:#3f627f}

/* Learning status is conveyed by text, shape and colour, including reduced motion. */
.slot-label-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.rack-slot.state-learned{border:2px solid #6d9c86;background:#f1f8f4}
.rack-slot.state-learned .rack-status{color:#256447;font-weight:700;background:#dfeee5;padding:5px 7px;border-radius:5px}
.rack-slot.state-unlearned{border-color:#dbe2e9;background:#fff}
.rack-slot.state-unlearned .rack-status{color:#6c7b8e}
.rack-slot.state-preparing,.rack-slot.state-closing,.rack-slot.state-saving{background:#f7f7f3;border-color:#c9c9b4}
.rack-slot.state-preparing .rack-status,.rack-slot.state-closing .rack-status,.rack-slot.state-saving .rack-status{color:#66664e}
.rack-slot.learning-pulse{border-width:2px;outline-width:3px;background:#edf5ff}
.rack-slot.learning-pulse .rack-status{font-weight:700;background:#dceafd;color:#214f80;padding:5px 7px;border-radius:5px}
.rack-row-head .actions{margin:0;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:600px){.slot-label-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.rack-row-head{gap:12px;align-items:flex-start;flex-direction:column}}
