/* Industrial interface. No external fonts, scripts or image services. */
:root{--ink:#202b30;--muted:#65747b;--paper:#eef1f2;--line:#dce2e4;--accent:#df651e;--graphite:#1d292e;--blue:#34677e;--green:#27765b}
*{box-sizing:border-box}
body.industrial-page{margin:0;padding:0 32px 32px;background:var(--paper);color:var(--ink);font:14px/1.5 'Segoe UI',Arial,sans-serif}
a{color:#315f72;text-underline-offset:3px}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{transition:background-color .15s,border-color .15s,box-shadow .15s}
:is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #dc762e!important;outline-offset:3px}
button:disabled,select:disabled{cursor:default;opacity:.65}
.plant-header{min-height:88px;margin:0 -32px 32px;padding:18px 32px;background:var(--graphite);color:#fff;display:flex;align-items:center;gap:38px;border-bottom:3px solid var(--accent)}
.plant-header a,.plant-brand{color:#e6edef;text-decoration:none}
.plant-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.plant-mark{display:grid;place-items:center;width:42px;height:42px;border:2px solid #ef8a48;color:#ef8a48;font-size:27px;font-weight:800;line-height:1;clip-path:polygon(0 0,80% 0,100% 20%,100% 100%,0 100%)}
.plant-brand strong{display:block;font-size:20px;letter-spacing:2px;line-height:1.2}.plant-brand small{display:block;margin-top:5px;color:#a9b7be;font-size:9px;letter-spacing:1.4px}
.plant-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.plant-nav a{padding:10px 14px;font-size:13px;border-radius:4px;color:#bac5cb}.plant-nav a:hover,.plant-nav a[aria-current]{background:#344148;color:#fff}.plant-nav a[aria-current]{box-shadow:inset 0 -2px #ef8a48}
.plant-account{display:flex;gap:16px;align-items:center;margin-left:auto;font-size:12px;flex-wrap:wrap}.plant-enterprise{color:#99abb5;letter-spacing:.6px;border-right:1px solid #4b575e;padding-right:16px}.plant-exit{color:#a9b7be!important}
.industrial-page h1{font-size:28px;line-height:1.2;letter-spacing:-.65px;font-weight:650;color:var(--ink)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted);margin:0 0 10px}.page-description{margin:9px 0 0;color:var(--muted);font-size:13px}
.industrial-dashboard .top-bar{border:0;padding:0;margin:0 0 26px;box-shadow:none;background:none;color:var(--ink);border-radius:0;gap:20px;flex-wrap:wrap}.industrial-dashboard .top-bar-left h1{font-size:30px;font-weight:650}.top-bar-right{flex-wrap:wrap}
.industrial-page button,.industrial-page .btn,.industrial-page a.top-link{border-radius:5px;box-shadow:none;font-weight:600;font-size:12px;min-height:36px;padding:9px 14px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.industrial-page button:hover,.industrial-page .btn:hover{background:#e9eef0;border-color:#9cabb2;transform:none}.industrial-page #openFormBtn,.industrial-page button[type=submit],.industrial-page .modal button[id^=save],.industrial-page #saveReopen{background:var(--accent);color:#fff;border-color:var(--accent)}
.industrial-page #openFormBtn:hover,.industrial-page button[type=submit]:hover{background:#b94b0e}.industrial-page .btn-danger{color:#ae3838;background:#fff5f4;border-color:#edcecb}
.plant-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.summary-card{padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:6px;position:relative}.summary-card:first-child{border-top:3px solid var(--graphite);padding-top:18px}.summary-label{display:flex;align-items:center;gap:8px;color:#52656e;font-size:12px;font-weight:600}.summary-card strong{display:block;font-size:34px;line-height:1.25;font-weight:650;font-variant-numeric:tabular-nums;margin:10px 0 4px;letter-spacing:-1px}.summary-card small{font-size:11px;color:var(--muted)}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#81949b}.dot-blue{background:#497b95}.dot-amber{background:#dd7b25}.dot-green{background:#3c8b6c}
.industrial-dashboard .filter-bar{display:flex;align-items:end;gap:14px 24px;padding:18px 20px;border:1px solid var(--line);background:#fff;border-radius:6px;margin-bottom:24px;flex-wrap:wrap}.industrial-dashboard .filter-row{gap:12px;display:flex;flex-direction:row;flex-wrap:wrap;align-items:end;margin:0;padding:0;border:0;background:none}.industrial-dashboard .filter-container{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:auto}.industrial-dashboard .filter-container label{font-size:10px;letter-spacing:.5px;font-weight:650;color:#5c6e77;margin:0;text-transform:uppercase}.industrial-dashboard .filter-bar select,.industrial-dashboard .filter-bar input{width:auto;min-width:125px;font-size:12px;padding:8px 10px;height:36px;background:#f8fafb;border:1px solid #d9e0e3;border-radius:4px;color:var(--ink)}.industrial-dashboard .filter-bar #requestTypeFilter{max-width:205px}.industrial-dashboard .counter-row{margin-left:auto}.industrial-dashboard .filter-counter{border:0;background:none;padding:0;font-size:11px;color:#657780}.industrial-dashboard #displayedCount{font-weight:700;color:var(--ink)}.industrial-dashboard #resetFilter{background:none;border-color:transparent;color:#566d78;padding:8px}.industrial-dashboard #myRequestsBtn.active{background:#e1ebf0;border-color:#789baa;color:#244d62}
.register-panel{border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden}.register-heading{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--line)}.register-heading h2{font-size:15px;font-weight:650;margin:0}.register-heading>span{font-size:9px;font-weight:650;letter-spacing:1.4px;color:#809097}.table-scroll{overflow:auto;max-height:72vh}.register-footer{border-top:1px solid var(--line);padding:12px 20px;font-size:11px;color:var(--muted)}
.industrial-dashboard #requestsTable{min-width:1420px;width:100%;margin:0;border:0;table-layout:auto}.industrial-dashboard #requestsTable th{background:#edf1f3;color:#5c6d76;font-size:10px;font-weight:650;line-height:1.45;text-transform:uppercase;letter-spacing:.4px;padding:13px 12px;border:0;border-bottom:1px solid #ccd6db}.industrial-dashboard #requestsTable td{padding:12px;font-size:12px;line-height:1.45;border-right:1px solid #edf0f2;border-bottom:1px solid #dfe6e9;color:var(--ink)}
.industrial-dashboard #requestsTable tbody tr{background:#fff;opacity:1;transform:none}.industrial-dashboard #requestsTable tbody tr:hover{opacity:1;background:#f9fbfc}.industrial-dashboard #requestsTable .request-id{font:600 14px/1.5 Consolas,monospace;color:#516976;background:#f6f8f9;min-width:70px}.industrial-dashboard #requestsTable .equipment-name{font-weight:650;font-size:13px;display:block;min-width:135px}.industrial-dashboard #requestsTable .request-type-badge{display:inline-block;padding:3px 6px;border:1px solid #dce4e8;border-radius:3px;color:#627782;font-size:9px!important;font-weight:500!important;background:#f8fafb}
.industrial-dashboard #requestsTable .status-select{font-size:11px;font-weight:650;min-width:108px;border:1px solid #c8d9e1;background:#edf4f7;color:#396279;padding:7px;border-radius:4px}.industrial-dashboard #requestsTable .status-inwork .status-select{background:#fff3df;border-color:#eccc97;color:#946018}.industrial-dashboard #requestsTable .status-completed .status-select{background:#e9f4ee;border-color:#bcd8c9;color:#28664f}.industrial-dashboard #requestsTable .status-queue .status-select{background:#f0eef6;border-color:#d6d0e3;color:#6c5c86}.industrial-dashboard #requestsTable .executor-select{max-width:150px;min-width:100px;font-size:11px;padding:7px;background:#fff;border-color:#dce3e6}.industrial-dashboard #requestsTable select:disabled{opacity:1;border-color:transparent;background-color:#f4f6f7;color:#647780}.industrial-dashboard .status-cell a{font-size:10px;text-decoration:none;color:#647c87}.industrial-dashboard .date-display{font-size:11px;font-variant-numeric:tabular-nums;color:#556a74}.industrial-dashboard .check-date-btn{padding:2px 5px;min-height:23px;background:#f0f4f5;color:#6b838d;font-size:10px}.industrial-dashboard .cell-edit-btn{min-height:24px;padding:2px 7px;background:#eef2f4;border:0;color:#5b7886}
.industrial-dashboard #requestsTable .subhead-row th,.industrial-dashboard #requestsTable .subhead-row td{padding:5px 12px;font-size:9px;letter-spacing:.3px;background:#f5f7f8!important;color:#768991;border:0;text-transform:uppercase}.industrial-dashboard #requestsTable .table-failure,.industrial-dashboard #requestsTable .editable-results,.industrial-dashboard #requestsTable .editable-comments{background:#fcfdfd;font-size:11px;padding-top:8px;padding-bottom:14px}.industrial-dashboard #requestsTable tr.overdue td{background:#fff5f2!important}.industrial-dashboard #requestsTable tr.overdue{border-left-color:#c8553e!important}
.industrial-page input,.industrial-page select,.industrial-page textarea{border:1px solid #cad5db;border-radius:5px;background:#fff;color:var(--ink);padding:10px}.industrial-page .modal{background:rgba(17,29,35,.6);backdrop-filter:blur(3px)}.industrial-page .modal-content{background:#fff;border:1px solid #cdd8de;border-top:4px solid var(--accent);border-radius:8px;padding:28px;box-shadow:0 24px 80px #14232f30;max-width:calc(100vw - 32px);max-height:calc(100dvh - 64px);overflow:auto}.industrial-page .modal h2,.industrial-page .modal h3{font-size:21px;color:var(--ink);margin-top:0}.industrial-page .modal textarea{width:100%;min-height:130px;line-height:1.6;resize:vertical}.industrial-page dialog{border:1px solid #cdd8de!important;border-top:4px solid var(--accent)!important;border-radius:8px!important;font-family:inherit;box-shadow:0 24px 80px #14232f30}.industrial-page dialog::backdrop{background:#14232f99;backdrop-filter:blur(3px)}.industrial-page dialog h2{font-size:21px;margin-top:0}.industrial-page dialog p{color:var(--muted);font-size:13px;line-height:1.6}.industrial-page dialog .workflow-error{color:#ae3838}
.industrial-page>main{max-width:720px;margin:36px auto;background:white;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:6px;padding:32px}.industrial-page>main h1{font-size:25px}.industrial-page>main label{font-size:12px;color:#526772}.industrial-page>main article{border-radius:4px}.industrial-page>.container{max-width:1600px;margin:0 auto;padding:0}.industrial-page table:not(#requestsTable){border:1px solid var(--line);background:#fff}.industrial-page table:not(#requestsTable) th{background:#e7ecef;color:#4c626e;font-size:11px}.industrial-page table:not(#requestsTable) td{font-size:12px}.industrial-page .message{border-left:3px solid var(--accent);border-radius:3px}
body.industrial-login{margin:0;min-height:100dvh;height:auto;display:grid;grid-template-columns:1.1fr 1fr;background:#f5f7f8;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink)}.login-intro{align-self:stretch;min-height:100dvh;display:flex;flex-direction:column;padding:48px 60px;background-color:#1d292e;background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:48px 48px;color:#fff;border-right:4px solid var(--accent)}.login-message{margin:auto 0;padding:70px 0}.login-message .eyebrow{color:#e38b51;font-size:10px}.login-message h1{font-size:clamp(28px,3vw,47px);line-height:1.2;font-weight:550;letter-spacing:-1.5px;margin:20px 0 25px}.login-message>p:not(.eyebrow){color:#9fafb7;font-size:14px;line-height:1.85;max-width:420px}.industrial-lines{border-top:1px solid #46535a;margin-top:50px;padding-top:20px;display:flex;gap:24px;color:#adbdc5;font-size:9px;letter-spacing:1px}.login-caption{font-size:9px;color:#8a9ba5;letter-spacing:1.5px}.login-workspace{padding:40px;display:grid;place-items:center}.industrial-login .login-card{box-shadow:none;border:0;background:none;padding:0;width:100%;max-width:340px}.industrial-login .login-card h2{font-size:30px;font-weight:650;text-align:left;margin:0 0 10px;letter-spacing:-.6px}.login-subtitle{font-size:13px;color:#6a7c86;margin:0 0 32px}.industrial-login .form-group{margin:0 0 20px}.industrial-login label{font-size:12px;font-weight:600;display:block;margin-bottom:8px;color:#536771}.industrial-login .form-group input{height:46px;border-radius:5px;background:#fff;font-size:14px;border-color:#ccd7dd}.industrial-login button{background:var(--accent);font-size:14px;border-radius:5px;height:46px}.industrial-login button:hover{background:#bd5115}.industrial-login .footer-text{margin-top:26px;padding-top:20px;border-top:1px solid #dce3e7;font-size:11px;color:#7b8e98;text-align:left}.industrial-auth{background:#1d292e!important;font-family:'Segoe UI',Arial,sans-serif!important}.industrial-auth button[type=submit]{background:var(--accent)!important}
@media(min-width:1800px){.industrial-dashboard .filter-bar{gap:24px}.industrial-dashboard #requestsTable{min-width:1500px}}
@media(max-width:1100px){.plant-header{gap:20px;flex-wrap:wrap}.plant-account{gap:12px}.plant-enterprise{display:none}.plant-summary{gap:12px}.summary-card{padding:16px}.industrial-dashboard .counter-row{margin-left:0}.industrial-login .login-intro{padding:36px}.industrial-lines{gap:12px}}
@media(max-width:700px){body.industrial-page{padding:0 16px 24px}.plant-header{margin:0 -16px 24px;padding:16px;gap:16px}.plant-brand strong{font-size:17px}.plant-brand small{font-size:8px}.plant-nav{order:3;width:100%;gap:4px}.plant-nav a{padding:7px 10px;font-size:12px}.plant-account{font-size:11px;max-width:48%;gap:8px}.plant-account>a:first-of-type{max-width:150px;overflow-wrap:anywhere}.plant-mark{width:34px;height:34px}.industrial-dashboard .top-bar-left h1{font-size:26px}.plant-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-card strong{font-size:28px}.summary-card small{font-size:10px}.industrial-dashboard .filter-bar{padding:16px;gap:14px}.industrial-dashboard .filter-row{width:100%;gap:10px}.industrial-dashboard .filter-container{flex:1;min-width:100px}.industrial-dashboard .filter-bar select,.industrial-dashboard .filter-bar input{width:100%;min-width:0}.industrial-dashboard .filter-bar #requestTypeFilter{max-width:none}.industrial-dashboard .counter-row{justify-content:space-between}.table-scroll{max-height:70vh}.industrial-page>main{margin:20px auto;padding:22px}.industrial-page .modal-content{padding:20px;margin:16px auto;max-height:calc(100dvh - 32px)}body.industrial-login{display:block}.login-intro{min-height:0;padding:24px!important;border-right:0;border-bottom:3px solid var(--accent)}.login-message{padding:28px 0 0}.login-message h1{font-size:28px;margin:12px 0}.login-message>p:not(.eyebrow),.industrial-lines,.login-caption{display:none}.login-workspace{padding:36px 24px}.industrial-login .login-card h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.plant-header,.plant-summary,.filter-bar,.top-bar-right,.register-footer{display:none!important}body.industrial-page{padding:0;background:#fff}.table-scroll{overflow:visible;max-height:none}.industrial-dashboard #requestsTable{min-width:0}.register-panel{border:0}}

/* Keep status accents readable without colouring the entire work area. */
.industrial-dashboard #requestsTable tbody tr[data-request-type]:not(.overdue)>td{background:#fff!important}
.industrial-dashboard #requestsTable tbody tr[data-request-type]:not(.overdue)>td.request-id{background:#f3f6f7!important}
@media(max-width:700px){.industrial-dashboard #repairModal fieldset{min-width:0!important;width:100%!important;flex:1 1 100%!important}.industrial-dashboard #repairModal form{display:flex!important;flex-direction:column!important}.industrial-dashboard #repairModal .form-row{display:flex!important;flex-direction:column!important}.industrial-dashboard #repairModal input,.industrial-dashboard #repairModal select{max-width:100%}}
