@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--teal:#07898d;--teal-dark:#05777b;--ink:#0d1930;--text:#34465e;--muted:#748298;--line:#dbe4eb;--surface:#fff;--canvas:#f5f8fa;--orange:#e87510;--blue:#e3f0ff;--shadow:0 3px 12px rgba(30,54,80,.055);font-family:Inter,Arial,sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:14px}.app-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.workspace{grid-column:2;min-width:0}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;color:var(--text);border-right:1px solid #dfe6ec;display:flex;flex-direction:column;z-index:30;box-shadow:none}.logo{height:72px;padding:0 23px;border-bottom:1px solid #edf1f4;display:flex;align-items:center}.logo-gear{display:none}.logo strong{color:#101a30;font-size:21px;line-height:1;letter-spacing:.3px}.logo strong b{color:#07898d}.logo small{display:block;margin-top:6px;color:#78869b;font-size:9px;font-weight:700;letter-spacing:1.4px}.sidebar nav{padding:14px 10px}.nav-item{height:48px;width:100%;border:0;border-left:3px solid transparent;border-radius:6px;background:transparent;color:#35475f;display:flex;align-items:center;gap:13px;padding:0 15px;font-weight:500;cursor:pointer;text-align:left}.nav-item span{width:24px;text-align:center;color:#405972;font-size:20px}.nav-item:hover,.nav-item.active{background:#e8f4f4;color:#00777b;border-left-color:#09a0a5}.nav-item.active span{color:#07898d}.sidebar-foot{margin-top:auto;padding:0 12px 16px}.collapse-link{width:100%;border:0;background:none;text-align:left;color:#586b82;padding:13px;font-weight:600}.help-card{border:1px solid #dfe6ec;border-radius:8px;padding:14px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow)}.help-card>b{font-size:22px;color:#36516b}.help-card strong,.help-card small{display:block}.help-card strong{font-size:12px}.help-card small{margin-top:5px;color:#5c7590;font-size:11px}.topbar{height:64px;background:#fff;border-bottom:1px solid #e0e7ed;display:flex;align-items:center;gap:22px;padding:0 28px;position:sticky;top:0;z-index:20}.search{width:min(730px,58vw);height:39px;border:1px solid #d5dfe7;border-radius:7px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 14px}.search span{font-size:22px;color:#506780}.search input{width:100%;border:0;outline:0;background:transparent;margin:0;padding:0;color:#253750}.top-actions{display:flex;align-items:center;gap:15px;margin-left:auto}.sync-state{display:flex;align-items:center;gap:8px;padding-right:14px;border-right:1px solid #e0e6ec;white-space:nowrap}.sync-state>b{color:#0a9078;font-size:20px}.sync-state span{font-size:11px;color:#1f3047}.sync-state small{display:block;color:#8290a2;margin-top:2px}.language-switch{display:flex;padding:3px;background:#edf2f5;border:1px solid #dce4ea;border-radius:22px}.language-switch button{border:0;background:transparent;color:#6c7c91;font-size:11px;font-weight:800;border-radius:18px;padding:6px 9px;cursor:pointer}.language-switch button.active{background:#07898d;color:#fff}.icon-button{border:0;background:none;position:relative;font-size:21px;color:#13223a}.icon-button em{position:absolute;top:-8px;right:-5px;background:#df3345;color:#fff;border-radius:15px;padding:3px 6px;font-size:10px;font-style:normal}.profile{display:flex;align-items:center;gap:9px;cursor:pointer}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#15566a;color:#fff;font-weight:800}.profile strong,.profile small{display:block}.profile strong{font-size:12px}.profile small{font-size:10px;color:#718197;margin-top:3px}.logout{border:0;background:none;color:#607087;font-size:12px}.mobile-menu{display:none;border:0;background:none;font-size:22px}.v4-page{padding:17px 24px 76px;min-width:0}.v4-crumb{height:21px;display:flex;align-items:center;gap:9px;color:#6e7e91;font-size:11px;margin-bottom:9px}.v4-crumb button{border:0;background:none;color:#607187;padding:0;cursor:pointer}.v4-crumb b{color:#a1adba}.v4-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.v4-title>div{display:flex;align-items:center;gap:12px}.v4-title h1{font-size:30px;line-height:1.1;letter-spacing:-.04em;margin:0}.v4-status{display:inline-flex;align-items:center;border-radius:17px;padding:7px 11px;background:#e5f0ff;color:#1261ad;font-weight:700;font-size:11px}.v4-edit{border:0;background:none;color:#52677f;font-size:18px}.v4-more{height:39px;padding:0 15px;border:1px solid #d4dee7;border-radius:7px;background:#fff;color:#1c2d43;font-weight:700;font-size:12px}.v4-steps{display:grid;grid-template-columns:repeat(6,1fr);padding:0 10px;margin-bottom:14px}.v4-step{position:relative;display:grid;justify-items:center;grid-template-rows:32px auto auto;gap:2px;color:#78869a}.v4-step i{position:absolute;height:2px;background:#ced8e0;left:-50%;right:50%;top:15px}.v4-step:first-child i{display:none}.v4-step>b{width:32px;height:32px;border:1.5px solid #ccd6de;border-radius:50%;background:#fff;display:grid;place-items:center;color:#54667c;font-style:normal;z-index:1}.v4-step>strong{color:#314158;font-size:12px}.v4-step>small{font-size:10px}.v4-step.passed i,.v4-step.active i{background:var(--teal)}.v4-step.passed>b,.v4-step.active>b{background:var(--teal);border-color:var(--teal);color:#fff}.v4-machine-card{background:#fff;border:1px solid #dce4eb;border-radius:9px;box-shadow:var(--shadow);display:grid;grid-template-columns:210px minmax(280px,1fr) minmax(360px,1.25fr);align-items:center;gap:16px;padding:14px 18px 13px;margin-bottom:12px;overflow:hidden}.v4-machine-image{height:109px;display:grid;place-items:center}.v4-machine-image img{width:100%;height:100%;object-fit:contain}.v4-machine-name h2{font-size:23px;margin:0 0 8px}.v4-machine-name p{margin:0;color:#52647b;font-size:13px}.v4-machine-name p strong{margin-left:13px;color:#1c2a40}.v4-warranty{display:grid;grid-template-columns:27px 1fr auto;gap:9px;align-items:center;border:1px solid #f2c18e;border-radius:7px;background:#fff5ec;color:#cf6200;padding:9px 10px}.v4-warranty>b{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#ea7a13;font-size:16px}.v4-warranty>strong{font-size:11px}.v4-warranty button{border:1px solid #e9892f;background:#fff;border-radius:6px;color:#d56500;padding:8px 10px;font-size:10px;font-weight:700}.v4-facts{grid-column:2/-1;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #e4eaf0;padding-top:10px}.v4-facts>div{display:flex;align-items:center;gap:8px;padding:0 13px;border-left:1px solid #e4eaf0}.v4-facts>div:first-child{border-left:0;padding-left:0}.v4-icon{color:var(--teal);font-size:20px;line-height:1;flex:none}.v4-facts small,.v4-facts strong{display:block}.v4-facts small{font-size:9px;color:#8592a3}.v4-facts strong{font-size:11px;margin-top:3px}.v4-grid{display:grid;gap:11px}.v4-grid-top{grid-template-columns:1fr 1fr 1.02fr}.v4-grid-bottom{grid-template-columns:1.15fr 1fr;margin-top:11px}.v4-card{background:#fff;border:1px solid #dce4eb;border-radius:9px;box-shadow:var(--shadow);padding:14px 16px;min-width:0}.v4-grid-top .v4-card{min-height:225px}.v4-card header{display:flex;align-items:flex-start;gap:9px;margin-bottom:13px}.v4-card header h3{font-size:15px;margin:0 0 2px}.v4-card header p{font-size:10px;color:#7d8ba0;margin:0}.v4-team{display:grid;grid-template-columns:1fr 1fr;gap:7px}.v4-team>span{height:47px;border:1px solid #dce4eb;border-radius:6px;display:flex;align-items:center;padding:6px;gap:7px}.v4-team>span>b{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#0f6795;color:#fff;font-size:10px}.v4-team i{font-style:normal;min-width:0}.v4-team i strong,.v4-team i small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v4-team i strong{font-size:11px}.v4-team i small{font-size:9px;color:#8592a3;margin-top:2px}.v4-team button{margin-left:auto;border:0;background:none;color:#5e7087;font-size:17px}.v4-select{height:38px;width:100%;border:1px solid #d5dfe7;border-radius:6px;background:#fff;color:#7c8b9f;text-align:left;padding:0 11px;margin-top:9px;font-size:11px;display:flex;justify-content:space-between;align-items:center}.v4-dates{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v4-card label{display:block;color:#506077;font-size:10px;font-weight:600}.v4-card input,.v4-card select,.v4-card textarea{width:100%;border:1px solid #d4dee7;border-radius:6px;background:#fff;color:#27384e;padding:9px;margin-top:5px;outline:0;font:inherit}.planning-card textarea{height:48px;min-height:48px;resize:none}.planning-card>label{margin-top:9px}.v4-photo-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.v4-photo-actions label{height:126px;border:1px dashed #adbfcd;border-radius:7px;display:grid;align-content:center;justify-items:center;text-align:center;padding:8px;cursor:pointer}.v4-photo-actions label .v4-icon{color:#3a536d;font-size:26px}.v4-photo-actions label strong{font-size:10px;color:#23364c;margin-top:9px}.v4-photo-actions label small{font-size:9px;color:#8996a6;line-height:1.35;margin-top:4px}.v4-photo-actions input{display:none}.v4-upload-submit{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.v4-material-head,.v4-material-row{display:grid;grid-template-columns:1.3fr 1.2fr .7fr .7fr 24px;align-items:center;gap:7px}.v4-material-head{background:#f0f4f7;border-radius:5px;padding:8px 9px;color:#506177;font-size:10px;font-weight:700}.v4-material-row{padding:5px 9px;border-bottom:1px solid #e7edf1;font-size:11px}.v4-material-row input,.v4-material-row select{margin:0;padding:6px 8px}.v4-material-row button{border:0;background:none;color:#5d7085;font-size:16px}.v4-add{border:0;background:none;color:#07898d;padding:8px 0 0;font-size:11px;font-weight:700}.v4-checks label{height:28px;border-bottom:1px solid #e6ecf1;display:grid;grid-template-columns:22px 1fr auto 30px;align-items:center;gap:5px;color:#293b51;font-size:11px}.v4-checks input{width:16px;height:16px;margin:0;accent-color:#07898d}.v4-checks small{font-size:9px;color:#78879a}.v4-checks button{border:0;background:none;color:#52677f}.v4-bottom-bar{position:fixed;left:244px;right:0;bottom:0;height:59px;background:#fff;border-top:1px solid #dbe4eb;z-index:18;display:flex;align-items:center;justify-content:space-between;padding:0 24px;box-shadow:0 -4px 14px rgba(28,49,72,.05)}.v4-draft,.v4-send{height:40px;border-radius:6px;padding:0 18px;font-weight:700;font-size:11px}.v4-draft{background:#fff;border:1px solid #ccd8e2;color:#26384e}.v4-send{background:#07898d;border:1px solid #07898d;color:#fff;min-width:225px}.v4-send:hover{background:#067a7e}.notification-drawer{font-family:Inter,Arial,sans-serif}.toast{font-family:Inter,Arial,sans-serif}.btn.primary{background:#07898d;border-color:#07898d}.page{padding:24px}.panel,.stat-card,.equipment-card{border-color:#dce4eb}.code{color:#07898d}.language-switch button.active{background:#07898d}.login-page{font-family:Inter,Arial,sans-serif}.login-brand{background:linear-gradient(150deg,#102943,#0b7378)}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-card{padding:22px}.settings-card h2{margin:0 0 16px}.settings-card p{color:#566980}.settings-language{display:flex;gap:8px;margin-top:18px}.settings-language button{min-width:64px;border:1px solid #d5dfe7;border-radius:7px;background:#fff;padding:10px;color:#607087;font-weight:800}.settings-language button.active{background:#07898d;border-color:#07898d;color:#fff}
@media(max-width:1180px){.sync-state{display:none}.v4-machine-card{grid-template-columns:170px 1fr}.v4-warranty{grid-column:1/-1}.v4-facts{grid-column:1/-1}.v4-grid-top{grid-template-columns:1fr 1fr}.photo-card{grid-column:1/-1}.v4-photo-actions label{height:100px}.v4-grid-bottom{grid-template-columns:1fr}}
@media(max-width:760px){.app-shell{display:block}.workspace{margin:0}.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.topbar{padding:0 12px}.mobile-menu{display:block}.search{width:auto;flex:1}.profile div,.logout{display:none}.v4-page{padding:14px 12px 74px}.v4-title{align-items:flex-start}.v4-title>div{flex-wrap:wrap}.v4-title h1{font-size:23px;width:100%}.v4-more{display:none}.v4-steps{grid-template-columns:repeat(6,105px);overflow:auto;padding-bottom:8px}.v4-machine-card{grid-template-columns:120px 1fr;padding:12px}.v4-machine-image{height:85px}.v4-facts{grid-template-columns:1fr 1fr;gap:10px}.v4-facts>div{border:0;padding:0}.v4-grid-top,.v4-grid-bottom,.settings-grid{grid-template-columns:1fr}.photo-card{grid-column:auto}.v4-bottom-bar{left:0;padding:0 12px}.v4-send{min-width:190px}.sidebar{width:244px}}
@media(max-width:470px){.language-switch{display:none}.v4-machine-card{grid-template-columns:1fr}.v4-machine-image{height:130px}.v4-machine-name{text-align:center}.v4-warranty{grid-template-columns:25px 1fr}.v4-warranty button{grid-column:1/-1}.v4-team{grid-template-columns:1fr}.v4-photo-actions{grid-template-columns:1fr}.v4-photo-actions label{height:82px}.v4-material-head{display:none}.v4-material-row{grid-template-columns:1fr 1fr}.v4-material-row button{display:none}.v4-draft{display:none}.v4-send{width:100%}}


/* Split workspace for parts orders: list left, selected order details right. */
.parts-orders-workspace{display:grid;grid-template-columns:minmax(290px,370px) minmax(0,1fr);gap:16px;align-items:start;margin-top:16px}.parts-orders-list-panel,.parts-order-detail-panel{background:#fff;border:1px solid #dce6ef;border-radius:16px;box-shadow:0 5px 18px rgba(24,59,93,.06)}.parts-orders-list-panel{padding:16px;min-width:0}.parts-orders-list-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.parts-orders-list-head h2{margin:0;color:#112743;font-size:18px}.parts-orders-list-head p{margin:4px 0 0;color:#8292a6;font-size:12px}.parts-orders-list-head .panel-count{display:grid;place-items:center;min-width:30px;height:28px;padding:0 8px;border-radius:999px;background:#e8f4f5;color:#07898d;font-size:12px;font-weight:800}.parts-orders-search{display:flex;align-items:center;gap:8px;height:38px;padding:0 11px;margin-bottom:12px;border:1px solid #d6e1eb;border-radius:10px;background:#f8fbfc;color:#7b8ea5}.parts-orders-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#233a55;font:inherit;font-size:12px}.parts-orders-list{display:grid;gap:8px;max-height:calc(100vh - 350px);overflow:auto;padding-right:2px}.parts-orders-list-item{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;width:100%;padding:12px;border:1px solid #dce6ef;border-radius:12px;background:#fff;color:#203650;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.parts-orders-list-item:hover{border-color:#75c4c5;background:#f7fcfc}.parts-orders-list-item.selected{border-color:#078f95;background:#effafa;box-shadow:inset 3px 0 #078f95}.parts-orders-list-item-main,.parts-orders-list-item-meta{display:grid;gap:4px;min-width:0}.parts-orders-list-item-main strong{color:#07898d;font-size:14px}.parts-orders-list-item-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.parts-orders-list-item-main small,.parts-orders-list-item-meta small{color:#8292a6;font-size:11px}.parts-orders-list-item-meta{justify-items:end;flex:0 0 auto}.parts-orders-list-item-meta .status{font-size:10px;line-height:1.15;text-align:right}.parts-orders-list-empty{margin:12px 0 0;color:#8292a6;font-size:12px}.parts-order-detail-panel{min-width:0;padding:20px}.parts-order-detail-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid #e2eaf1}.parts-order-eyebrow{display:block;margin-bottom:4px;color:#07898d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.parts-order-detail-header h2{margin:0;color:#112743;font-size:28px}.parts-order-detail-header p{margin:5px 0 0;color:#8292a6;font-size:12px}.parts-order-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.parts-order-detail-actions .btn{padding:8px 10px;font-size:11px}.parts-order-detail-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.parts-order-detail-facts>div{display:grid;gap:4px;min-width:0;padding:12px;border:1px solid #e1e9f0;border-radius:11px;background:#f8fbfc}.parts-order-detail-facts small{color:#8292a6;font-size:10px;font-weight:800;text-transform:uppercase}.parts-order-detail-facts strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#203650;font-size:13px}.parts-order-detail-facts span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8292a6;font-size:11px}.parts-order-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:12px}.parts-order-detail-card{min-width:0;padding:15px;border:1px solid #e1e9f0;border-radius:12px;background:#fff}.parts-order-detail-card:first-child{grid-row:span 2}.parts-order-detail-card header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.parts-order-detail-card header h3{margin:0;color:#203650;font-size:15px}.parts-order-detail-card header p{margin:4px 0 0;color:#8292a6;font-size:11px}.parts-order-detail-card header>strong{color:#07898d;font-size:13px}.parts-order-detail-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px}.parts-order-item-card{display:grid;gap:4px;min-width:0;padding:11px;border:1px solid #dfe8ef;border-radius:10px;background:#f9fcfc}.parts-order-item-code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#07898d;font-size:11px;font-weight:800}.parts-order-item-card strong{color:#263b55;font-size:12px}.parts-order-item-card span{color:#263b55;font-size:12px;font-weight:800}.parts-order-item-card small{color:#8292a6;font-size:10px}.parts-order-history{display:grid;gap:10px}.parts-order-history>div{display:grid;grid-template-columns:9px minmax(0,1fr);gap:8px}.parts-order-history-dot{width:9px;height:9px;margin-top:4px;border-radius:50%;background:#079096;box-shadow:0 0 0 4px #e4f5f5}.parts-order-history strong,.parts-order-history small,.parts-order-history p{display:block}.parts-order-history strong{color:#263b55;font-size:12px}.parts-order-history small{margin-top:3px;color:#8292a6;font-size:10px}.parts-order-history p{margin:4px 0 0;color:#536b89;font-size:11px;white-space:pre-line}.parts-order-detail-files{display:grid;gap:7px}.parts-order-detail-files a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#07898d;font-size:12px;text-decoration:none}.parts-order-detail-files a:hover{text-decoration:underline}.parts-order-note{margin-top:12px;padding-top:10px;border-top:1px solid #e3eaf1}.parts-order-note small{color:#8292a6;font-size:10px;font-weight:800;text-transform:uppercase}.parts-order-note p{margin:5px 0 0;color:#536b89;font-size:12px;white-space:pre-line}.parts-order-detail-empty{display:grid;place-items:center;min-height:420px}.parts-order-detail-empty .empty{text-align:center}@media(max-width:1050px){.parts-orders-workspace{grid-template-columns:minmax(250px,320px) minmax(0,1fr)}.parts-order-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.parts-orders-workspace{grid-template-columns:1fr}.parts-orders-list{max-height:none}.parts-order-detail-panel{padding:14px}.parts-order-detail-header{display:grid}.parts-order-detail-actions{justify-content:flex-start}.parts-order-detail-grid{grid-template-columns:1fr}.parts-order-detail-card:first-child{grid-row:auto}.parts-order-detail-facts{grid-template-columns:1fr 1fr}.parts-order-detail-header h2{font-size:23px}}@media(max-width:480px){.parts-order-detail-facts{grid-template-columns:1fr}.parts-orders-list-item{padding:10px}.parts-order-detail-actions .btn{flex:1}.parts-order-detail-actions .status{margin-right:auto}}

/* Completed-work history: a compact list opens the editable detail modal. */
.completed-work-card{grid-column:1/-1;min-height:0!important}.completed-work-card>header{align-items:center}.completed-work-card>header>div{min-width:0;flex:1}.completed-work-card .planning-edit-btn{flex:none;white-space:nowrap}.completed-work-list{display:grid;gap:8px}.completed-work-row{width:100%;display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2fr) 24px;align-items:center;gap:16px;padding:12px 14px;border:1px solid #dce7eb;border-radius:10px;background:#fbfdfe;color:#21374e;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,transform .15s}.completed-work-row:hover{border-color:#73bfc1;background:#f1fbfb;box-shadow:0 4px 14px rgba(7,137,141,.1);transform:translateY(-1px)}.completed-work-row-title{display:grid;gap:5px;min-width:0}.completed-work-row-title strong{overflow:hidden;color:#17314b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.completed-work-row-title small{color:#768aa0;font-size:10px;font-weight:700}.completed-work-row-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0}.completed-work-row-facts small{overflow:hidden;color:#7d8ea1;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.completed-work-row-facts b{color:#29425b;font-weight:700}.completed-work-row-arrow{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e5f5f4;color:#07898d;font-size:21px;font-weight:600}.completed-work-form .form-grid,.work-history-form .form-grid{gap:12px 16px}.work-history-form .form-grid>label{padding:11px 13px 13px;border:1px solid #d8e5e9;border-radius:11px;background:#fff;color:#4e637c;font-size:11px;font-weight:800}.work-history-form .form-grid>label.wide{grid-column:1/-1}.work-history-form .form-grid input,.work-history-form .form-grid select,.work-history-form .form-grid textarea{height:42px;margin-top:7px;border:1px solid #cbdbe2;border-radius:8px;background:#fbfdfe;color:#182a43;padding:8px 10px;font-size:13px}.work-history-form .form-grid select{-webkit-appearance:none;appearance:none;padding-right:38px;background-color:#fbfdfe;background-image:linear-gradient(45deg,transparent 50%,#63778b 50%),linear-gradient(135deg,#63778b 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 10px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;font-weight:700;box-shadow:none;cursor:pointer}.work-history-form .form-grid select:focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.12);background-color:#fff;outline:0}.work-history-form .form-grid input:disabled,.work-history-form .form-grid select:disabled,.work-history-form .form-grid textarea:disabled{background:#f3f7f9;color:#52677f;opacity:1;cursor:default}.work-history-form .form-grid textarea{height:86px;min-height:86px;resize:vertical}.work-history-form .notice{margin:0 0 2px}.completed-work-card #completedWorkLegacyFields{display:none}.completed-work-row-status[data-status="in_progress"] span{background:#e8f0ff;color:#2864b1}.completed-work-row-status[data-status="awaiting_parts"] span{background:#fff3dc;color:#a96800}.completed-work-row-status[data-status="closed"] span{background:#e4f5eb;color:#217c43}
@media(max-width:900px){.completed-work-row{grid-template-columns:1fr 24px;gap:9px}.completed-work-row-facts{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));padding-top:2px}.completed-work-row-arrow{grid-column:2;grid-row:1;justify-self:end}}
@media(max-width:620px){.completed-work-card>header{align-items:flex-start;flex-wrap:wrap}.completed-work-card .planning-edit-btn{margin-left:29px}.completed-work-row{padding:11px 12px}.completed-work-row-facts{grid-template-columns:1fr}.completed-work-row-arrow{grid-row:1;grid-column:2}}
/* Completed-work rows follow the compact register layout: date, machine, request/client, worker, measures, status. */
.completed-work-row{grid-template-columns:minmax(118px,.85fr) minmax(150px,1.15fr) minmax(170px,1.35fr) minmax(145px,1.2fr) minmax(115px,.9fr) minmax(94px,.72fr) 24px;gap:12px;padding:13px 14px}.completed-work-row-date,.completed-work-row-equipment,.completed-work-row-worker,.completed-work-row-facts{display:grid;gap:4px;min-width:0}.completed-work-row-date strong,.completed-work-row-equipment strong,.completed-work-row-worker strong,.completed-work-row-facts strong{overflow:hidden;color:#17314b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.completed-work-row-date small,.completed-work-row-equipment small,.completed-work-row-worker small,.completed-work-row-facts small{overflow:hidden;color:#7d91a7;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.completed-work-row-status{display:flex;align-items:center}.completed-work-row-status span{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 10px;border-radius:18px;background:#e3f5f2;color:#07898d;font-size:10px;font-weight:800;white-space:nowrap}.work-history-detail{display:grid;gap:18px}.work-history-detail-subtitle{margin:0;color:#7d91a7;font-size:13px;font-weight:700}.work-history-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.work-history-detail-field{display:grid;gap:7px;min-width:0;padding:15px 16px;border-radius:12px;background:#f7fafb}.work-history-detail-field.wide{grid-column:1/-1}.work-history-detail-field small{color:#8396aa;font-size:11px;font-weight:800}.work-history-detail-field strong{overflow-wrap:anywhere;color:#203750;font-size:15px;line-height:1.35}.work-history-detail-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:6px;border-top:1px solid #dce7eb;color:#8293a6;font-size:12px}.work-history-detail-footer .form-actions{margin-top:0;padding-top:0;border-top:0}.work-history-detail-footer b{color:#07898d}.work-history-detail+*{margin-top:0}dialog:has(.work-history-detail){width:min(700px,calc(100vw - 28px));border:1px solid #d9e5ea;border-radius:18px;overflow:hidden}dialog:has(.work-history-detail) .modal-card>header{padding:24px 28px 20px}dialog:has(.work-history-detail) .modal-card h2{font-size:25px;line-height:1.12}dialog:has(.work-history-detail) .modal-content{padding:22px 28px 26px;background:#fff;max-height:calc(100vh - 140px)}
@media(max-width:1100px){.completed-work-row{grid-template-columns:minmax(120px,.9fr) minmax(145px,1.1fr) minmax(155px,1.25fr) minmax(130px,1fr) minmax(110px,.85fr) 24px}.completed-work-row-status{grid-column:5;grid-row:1}.completed-work-row-arrow{grid-column:6;grid-row:1}.completed-work-row-facts{grid-column:4;grid-row:1}}
@media(max-width:900px){.completed-work-row{grid-template-columns:minmax(120px,1fr) minmax(160px,1.3fr) minmax(150px,1.2fr) 24px}.completed-work-row-date{grid-column:1;grid-row:1}.completed-work-row-equipment{grid-column:2;grid-row:1}.completed-work-row-worker{grid-column:1/-1;grid-row:2}.completed-work-row-facts{grid-column:1/3;grid-row:3}.completed-work-row-status{grid-column:3;grid-row:3;justify-content:flex-start}.completed-work-row-arrow{grid-column:4;grid-row:1}.work-history-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.completed-work-row{grid-template-columns:minmax(112px,1fr) 24px;gap:8px}.completed-work-row-date,.completed-work-row-equipment,.completed-work-row-worker,.completed-work-row-facts{grid-column:1}.completed-work-row-date{grid-row:1}.completed-work-row-equipment{grid-row:2}.completed-work-row-worker{grid-row:3}.completed-work-row-facts{grid-row:4}.completed-work-row-status{grid-column:1;grid-row:5}.completed-work-row-arrow{grid-column:2;grid-row:1;align-self:start}.work-history-detail-grid{grid-template-columns:1fr}.work-history-detail-field.wide{grid-column:auto}.work-history-detail-footer{align-items:flex-start;flex-direction:column}.work-history-detail-footer .form-actions{width:100%;justify-content:stretch}.work-history-detail-footer .form-actions .btn{flex:1}}
/* Keep the useful row information visible instead of clipping names and readings. */
.completed-work-row-worker strong,.completed-work-row-worker small,.completed-work-row-facts strong,.completed-work-row-facts small{overflow:visible;text-overflow:clip;white-space:normal}.completed-work-row-worker strong{line-height:1.25}.completed-work-row-facts small{line-height:1.25}.work-history-team-field{padding:11px 13px 13px;border:1px solid #d8e5e9;border-radius:11px;background:#fff;color:#4e637c;font-size:11px;font-weight:800}.work-history-team-field>span{display:block}.work-history-team-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.work-history-team-picker label{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 10px;border:1px solid #d8e5e9;border-radius:8px;background:#fbfdfe;color:#203750;font-size:12px;font-weight:700;cursor:pointer}.work-history-team-picker label:has(input:checked){border-color:#07898d;background:#eaf8f7;box-shadow:0 0 0 2px rgba(7,143,148,.08)}.work-history-team-picker input{width:17px;height:17px;margin:0;accent-color:#07898d}.work-history-team-picker input:disabled{opacity:.65}.work-history-inline-form .work-history-detail-footer{margin-top:14px}.work-history-inline-form .form-grid{gap:12px 16px}
@media(max-width:620px){.work-history-team-picker{grid-template-columns:1fr}}
/* Keep the work editor at the same modal size while tightening its internal rhythm. */
dialog:has(#workHistoryForm) .modal-content,dialog:has(#workHistoryInlineForm) .modal-content{padding:16px 24px 20px}
dialog:has(#workHistoryForm) .work-history-form .notice,dialog:has(#workHistoryInlineForm) .work-history-form .notice{padding:9px 11px;margin-bottom:0;font-size:12px;line-height:1.35}
dialog:has(#workHistoryForm) .work-history-form .form-grid,dialog:has(#workHistoryInlineForm) .work-history-form .form-grid{gap:8px 12px}
dialog:has(#workHistoryForm) .work-history-form .form-grid>label,dialog:has(#workHistoryInlineForm) .work-history-form .form-grid>label{padding:8px 10px 10px;border-radius:9px}
dialog:has(#workHistoryForm) .work-history-form .form-grid input,dialog:has(#workHistoryForm) .work-history-form .form-grid select,dialog:has(#workHistoryForm) .work-history-form .form-grid textarea,dialog:has(#workHistoryInlineForm) .work-history-form .form-grid input,dialog:has(#workHistoryInlineForm) .work-history-form .form-grid select,dialog:has(#workHistoryInlineForm) .work-history-form .form-grid textarea{height:38px;margin-top:5px;padding:7px 9px;font-size:12px}
dialog:has(#workHistoryForm) .work-history-form .form-grid textarea,dialog:has(#workHistoryInlineForm) .work-history-form .form-grid textarea{height:64px;min-height:64px}
dialog:has(#workHistoryForm) .work-history-team-field,dialog:has(#workHistoryInlineForm) .work-history-team-field{padding:8px 10px 10px;border-radius:9px}
dialog:has(#workHistoryForm) .work-history-team-picker,dialog:has(#workHistoryInlineForm) .work-history-team-picker{gap:6px;margin-top:6px}
dialog:has(#workHistoryForm) .work-history-team-picker label,dialog:has(#workHistoryInlineForm) .work-history-team-picker label{min-height:34px;padding:6px 8px;border-radius:7px;font-size:11px}
dialog:has(#workHistoryForm) .work-history-team-picker input,dialog:has(#workHistoryInlineForm) .work-history-team-picker input{width:15px;height:15px}
dialog:has(#workHistoryForm) .work-history-form .form-actions,dialog:has(#workHistoryInlineForm) .work-history-form .form-actions{margin-top:12px;padding-top:10px}
/* Keep the work register and its photos/files panel on the same desktop row. */
@media(min-width:1181px){.v4-grid-top>.completed-work-card{grid-column:1 / span 2}.v4-grid-top>.photo-card{grid-column:3}}
@media(max-width:1180px){.v4-grid-top>.completed-work-card,.v4-grid-top>.photo-card{grid-column:1/-1}}
@media(min-width:1181px){.v4-grid-top>.completed-work-card{height:auto;align-self:start}.v4-grid-top>.completed-work-card .completed-work-row{grid-template-columns:minmax(92px,.9fr) minmax(125px,1.1fr) minmax(0,1.45fr) minmax(190px,1.35fr) minmax(132px,.9fr) 24px;gap:12px}.v4-grid-top>.completed-work-card .completed-work-row-status{grid-column:5;grid-row:1;justify-content:flex-start}.v4-grid-top>.completed-work-card .completed-work-row-arrow{grid-column:6;grid-row:1;align-self:start}}
/* Full file-list modal: large numbered photos followed by readable document rows. */
dialog:has(.modal-request-files){width:min(780px,calc(100vw - 28px));border:1px solid #d9e5ea;border-radius:18px;overflow:hidden}dialog:has(.modal-request-files) .modal-card>header{padding:25px 36px 21px}dialog:has(.modal-request-files) .modal-card .eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#5d7897;font-size:12px;font-weight:800}dialog:has(.modal-request-files) .modal-card h2{font-size:28px;line-height:1.1}dialog:has(.modal-request-files) .modal-content{padding:26px 36px 30px;background:#fff;max-height:calc(100vh - 150px)}.modal-request-files{display:grid;gap:18px}.modal-request-files .modal-photo-gallery{grid-template-columns:repeat(auto-fill,minmax(108px,126px));justify-content:start;gap:12px;max-height:none;overflow:visible;padding:0}.modal-request-files .modal-photo-thumb{height:112px;aspect-ratio:auto;border-radius:9px;border-color:#cbdbe2}.modal-request-files .modal-photo-thumb small{right:5px;bottom:5px;padding:2px 6px;border-radius:11px;background:#193b5dcc;font-size:11px;font-weight:800}.modal-request-files .modal-photo-delete{right:-2px;top:-2px;width:26px;height:26px;font-size:19px;line-height:24px}.modal-request-files .modal-document-list{gap:8px;margin-top:2px}.modal-request-files .request-file{grid-template-columns:34px 1fr 30px;gap:11px;min-height:48px;padding:10px 13px;border-color:#d8e5eb;border-radius:10px;background:#fbfdfe}.modal-request-files .request-file>span{font-size:24px;text-align:center}.modal-request-files .request-file strong{font-size:13px;color:#27384e}.modal-request-files .request-file small{margin-top:4px;font-size:10px;color:#8190a2}.modal-request-files .request-file button{width:28px;height:28px;color:#c52d3d;font-size:24px;line-height:24px;cursor:pointer}.modal-request-files .request-file button:hover{color:#9d1e2d}
@media(max-width:620px){dialog:has(.modal-request-files) .modal-card>header{padding:20px 20px 18px}dialog:has(.modal-request-files) .modal-content{padding:18px 20px 22px}.modal-request-files .modal-photo-gallery{grid-template-columns:repeat(auto-fill,minmax(94px,108px))}.modal-request-files .modal-photo-thumb{height:96px}}
.container-file-list{min-width:0}.container-file-photo{grid-template-rows:115px auto;font-size:14px;max-width:100%;overflow:hidden}.container-file-photo strong{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}.container-file-row{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.container-file-photo{position:relative;border:0;background:transparent;padding:0;text-align:left;cursor:pointer}.container-file-photo>i{position:absolute;right:6px;top:6px;width:24px;height:24px;border:0;border-radius:50%;background:#fff;color:#b42332;font-style:normal;font-size:18px;line-height:22px;text-align:center;opacity:0}.container-file-photo:hover>i{opacity:1}.container-file-row{display:flex;align-items:center;gap:8px}.container-file-row a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.container-file-row button{border:0;background:none;color:#b42332;font-size:18px;cursor:pointer}
.container-v4-page .photo-card>.v4-photo-actions+.muted{display:none}
.container-v4-page .team-card>.v4-team>.muted{display:none}
.container-row{display:grid!important;grid-template-columns:minmax(230px,.55fr) minmax(300px,1fr) auto;grid-template-areas:"identity cargo action" "meta meta action";column-gap:28px;row-gap:7px;align-items:center}.container-row-identity{grid-area:identity;min-width:0}.container-row-identity h2{margin:5px 0 0}.container-row-cargo{grid-area:cargo;min-width:0;align-self:center}.container-row-cargo strong{display:block;color:#16243a;font-size:18px;line-height:1.35}.container-row-meta{grid-area:meta;min-width:0;color:#64758b}.container-row-meta small{display:block;white-space:normal}.container-row>.btn{grid-area:action;align-self:center}
@media(max-width:900px){.container-row{grid-template-columns:minmax(190px,.7fr) 1fr auto;column-gap:16px}.container-row-cargo strong{font-size:15px}}
@media(max-width:650px){.container-row{grid-template-columns:1fr auto;grid-template-areas:"identity action" "cargo cargo" "meta meta"}.container-row-cargo{padding-top:4px}}
.container-row{min-height:126px;padding:18px 24px!important;background:linear-gradient(105deg,#fff 0%,#fff 58%,#fbfdfe 100%);border-bottom:1px solid #e1e8ee;transition:background .18s,box-shadow .18s}.container-row:last-child{border-bottom:0}.container-row:hover{background:linear-gradient(105deg,#fff 0%,#f8fcfc 100%);box-shadow:inset 3px 0 0 #07898d}.container-row-identity h2{font-size:20px;letter-spacing:-.015em;color:#14243b}.container-row-cargo{border-left:1px solid #e3e9ee;padding:7px 0 7px 28px}.container-row-cargo strong{font-size:19px;letter-spacing:-.015em}.container-row-cargo strong:before{content:'▣';color:#07898d;font-size:16px;margin-right:11px;vertical-align:2px}.container-row-meta small{font-size:11px;color:#718198}.container-row>.btn{height:42px;min-width:112px;display:inline-flex;align-items:center;justify-content:center;border-color:#ccd9e3;background:#fff;color:#1b2e47}.container-row>.btn:hover{border-color:#07898d;color:#07898d}
.container-row-cargo{display:flex;align-items:center;gap:14px}.container-row-cargo strong:before{content:none}.container-row-machine{width:76px;height:58px;display:grid;place-items:center;flex:none;border:1px solid #dbe7eb;border-radius:10px;background:linear-gradient(145deg,#f5fafb,#eaf4f4);overflow:hidden}.container-row-machine-image{display:block;width:100%;height:100%;object-fit:contain;padding:4px}.container-row-machine-placeholder{color:#07898d;font-size:28px;line-height:1}
.container-status-groups{display:grid;gap:24px}.container-status-group{display:grid;gap:10px}.container-status-group-head{display:flex;align-items:center;gap:10px;padding:0 2px}.container-status-group-head h2{margin:0;color:#193451;font-size:18px;letter-spacing:-.02em}.container-status-group-head span{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#fff0d6;color:#a66a00;font-size:12px;font-weight:800}.container-status-group.done .container-status-group-head h2{color:#277d58}.container-status-group.done .container-status-group-head span{background:#dff6e9;color:#168454}.container-status-group-list{display:grid;overflow:hidden;border:1px solid #dce4eb;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(30,54,80,.055)}.container-status-group-list .container-row{border-bottom:1px solid #e1e8ee}.container-status-group-list .container-row:last-child{border-bottom:0}
@media(max-width:900px){.container-row{padding:16px 18px!important}.container-row-cargo{padding-left:18px}.container-row-cargo strong{font-size:16px}}
.nav-item span{width:24px;height:24px;display:grid;place-items:center;color:#405972;font-size:0;flex:none}.nav-item svg{width:23px;height:23px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-item[data-view="requests"] svg{stroke-width:2}.nav-item.active span{color:#07898d}
.equipment-catalog-form select,.equipment-catalog-form input{min-height:44px}.equipment-catalog-form select{-webkit-appearance:none;appearance:none;padding:10px 42px 10px 13px;border:1px solid #d4dee7;border-radius:8px;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#52677f 50%),linear-gradient(135deg,#52677f 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 11px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;color:#27384e;font-weight:600;box-shadow:0 1px 2px rgba(28,49,72,.04);cursor:pointer}.equipment-catalog-form select:focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.12)}.equipment-catalog-form .notice{font-size:13px;line-height:1.5}.catalog-meta{margin-top:14px;padding:10px 12px;border-radius:7px;background:#f1f6f7;color:#557086;font-size:12px;font-weight:600}.equipment-catalog-form label[hidden]{display:none}.equipment-catalog-form datalist{max-height:240px}
.equipment-form-message{margin-top:14px;padding:12px 14px;border:1px solid #ef9ca4;border-radius:7px;background:#fff0f1;color:#a91f2d;font-size:13px;font-weight:700;line-height:1.45}.equipment-form-message[hidden]{display:none}.equipment-catalog-form .btn:disabled{opacity:.65;cursor:wait}
.equipment-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.equipment-actions .btn{padding:7px 9px;font-size:11px}.btn.danger{border-color:#efb4ba;color:#b42332;background:#fff6f7}.btn.danger:hover{background:#ffe9eb;border-color:#df7782}.equipment-card .equipment-meta{align-items:center;gap:10px}.equipment-card .equipment-meta>span{white-space:nowrap}
.equipment-card .equipment-visual{height:150px;overflow:hidden;position:relative;isolation:isolate}.equipment-card .equipment-visual img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;padding:12px;box-sizing:border-box}.equipment-card .equipment-body{position:relative;z-index:1;background:#fff}
.equipment-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.equipment-list-toolbar>strong{color:#64758b;font-size:12px;white-space:nowrap}.equipment-list-search{width:min(620px,100%);height:42px;border:1px solid #d5dfe7;border-radius:8px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 13px}.equipment-list-search>span{font-size:22px;color:#587087}.equipment-list-search input{height:40px;border:0;box-shadow:none!important;margin:0;padding:0;background:transparent}.equipment-list{overflow:hidden}.equipment-list-head,.equipment-list-row{display:grid;grid-template-columns:minmax(280px,1.35fr) minmax(170px,.85fr) minmax(115px,.55fr) 120px minmax(290px,auto);gap:16px;align-items:center}.equipment-list-head{min-height:43px;padding:0 17px;background:#f0f4f7;color:#607188;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}.equipment-list-row{min-height:80px;padding:10px 17px;border-top:1px solid #e4eaf0}.equipment-list-row:first-of-type{border-top:0}.equipment-list-row[hidden]{display:none}.equipment-list-row:hover{background:#fafdfe}.equipment-list-machine{display:flex;align-items:center;gap:13px;min-width:0}.equipment-list-machine>div:last-child,.equipment-list-client,.equipment-list-usage{min-width:0}.equipment-list-machine strong,.equipment-list-machine small,.equipment-list-client strong,.equipment-list-client small,.equipment-list-usage strong,.equipment-list-usage small{display:block}.equipment-list-machine strong{font-size:15px;color:#14233a}.equipment-list-machine small,.equipment-list-client small,.equipment-list-usage small{margin-top:4px;color:#75849a;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.equipment-list-client strong,.equipment-list-usage strong{font-size:12px;color:#34465e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.equipment-list-thumb{width:84px;height:56px;border-radius:7px;background:linear-gradient(145deg,#f4f8fc,#e4edf7);display:grid;place-items:center;overflow:hidden;flex:none}.equipment-list-thumb img{display:block;width:auto!important;height:auto!important;max-width:72px!important;max-height:46px!important;object-fit:contain!important;padding:0!important}.equipment-list-thumb .machine-placeholder{font-size:34px}.equipment-list-row .badge{justify-self:start}.equipment-list-row .equipment-actions{flex-wrap:nowrap}.equipment-list-row .equipment-actions .btn{padding:7px 8px;font-size:10px}
.equipment-select-head{display:flex;align-items:center;gap:9px}.equipment-select-head input,.equipment-list-machine>.equipment-select{width:17px;height:17px;flex:none;margin:0;accent-color:var(--blue)}.equipment-list-machine>.equipment-select{margin-right:-3px}.bulk-equipment-toolbar{margin:0 0 10px;border:1px solid #f2d28b;border-radius:8px}.bulk-equipment-toolbar[hidden]{display:none!important}
@media(max-width:1250px){.equipment-list-head,.equipment-list-row{grid-template-columns:minmax(250px,1.25fr) minmax(150px,.8fr) 105px 105px minmax(245px,auto);gap:10px}.equipment-list-row{padding-left:13px;padding-right:13px}.equipment-list-head{padding-left:13px;padding-right:13px}.equipment-list-thumb{width:72px}.equipment-list-thumb img{max-width:62px!important;max-height:42px!important}}
@media(max-width:980px){.equipment-list-head{display:none}.equipment-list-row{grid-template-columns:minmax(250px,1fr) minmax(230px,auto)}.equipment-list-client,.equipment-list-usage,.equipment-list-row>div:nth-child(4){display:none}.equipment-list-row .equipment-actions{justify-self:end}}
@media(max-width:620px){.equipment-list-toolbar{align-items:stretch;flex-direction:column}.equipment-list-toolbar>strong{padding-left:3px}.equipment-list-row{grid-template-columns:1fr;gap:10px}.equipment-list-row .equipment-actions{justify-self:stretch;justify-content:flex-start;flex-wrap:wrap;padding-left:85px}.equipment-list-thumb{width:72px}}
.request-approval{display:flex;align-items:center;gap:11px;margin:0 0 12px;padding:10px 14px;border:1px solid;border-radius:8px;background:#fff}.request-approval>b{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#fff;flex:none}.request-approval strong,.request-approval small{display:block}.request-approval strong{font-size:12px}.request-approval small{margin-top:3px;color:#65758a;font-size:10px}.request-approval.pending{border-color:#f0c08c;background:#fff7ef;color:#c96200}.request-approval.pending>b{background:#e87510}.request-approval.approved{border-color:#9fd9ca;background:#f0fbf7;color:#08735e}.request-approval.approved>b{background:#0a9078}.request-approval.rejected{border-color:#efadb4;background:#fff3f4;color:#b42332}.request-approval.rejected>b{background:#d93748}
.request-secondary-panels[hidden]{display:none!important}.request-secondary-panels{margin-top:12px}.secondary-panels-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;padding:10px 13px;border:1px solid #dce4eb;border-radius:8px;background:#eef4f7;color:#35475f}.secondary-panels-title strong{font-size:12px}.secondary-panels-title .btn{padding:6px 10px;font-size:10px}
.team-add-row{display:grid;grid-template-columns:1fr 43px;gap:7px;margin-top:9px}.team-add-row select{margin:0;height:38px;padding:7px 9px}.team-add-row .btn{height:38px;padding:0;font-size:19px}.set-model-image{display:flex!important;align-items:center;gap:7px;margin-top:8px;font-size:9px!important;color:#617187!important}.set-model-image input{width:15px!important;height:15px!important;margin:0!important;accent-color:var(--teal)}.upload-status{min-height:16px;margin-top:5px;font-size:10px;color:#5d7085}.upload-status.busy{color:#087d82}.upload-status.error{color:#bd2938}.request-files{display:grid;gap:5px;max-height:92px;overflow:auto}.request-file{display:grid;grid-template-columns:22px 1fr 24px;align-items:center;gap:7px;padding:6px 7px;border:1px solid #e1e8ee;border-radius:6px;background:#fbfdfe}.request-file>span{color:var(--teal);font-size:17px}.request-file>a{text-decoration:none;min-width:0}.request-file strong,.request-file small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.request-file strong{font-size:10px;color:#27384e}.request-file small{margin-top:2px;color:#8190a2;font-size:8px}.request-file button{border:0;background:none;color:#ad3340;font-size:17px}.request-upload-actions label{height:91px}.request-upload-actions label strong{margin-top:5px}.request-upload-actions label .v4-icon{font-size:22px}
.request-files-button{width:100%;height:28px;margin-top:3px;border:0;border-radius:5px;background:#eef6f7;color:#087b80;font-size:9px;font-weight:700;cursor:pointer}.request-files-button:hover{background:#e1f1f2}.modal-request-files{max-height:55vh}
.photo-gallery-trigger{cursor:pointer;border-radius:8px}.photo-gallery-trigger:hover{background:#f4fafb}.photo-gallery-trigger:focus{outline:2px solid #0c9ba0;outline-offset:2px}.request-gallery{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px;padding:8px;border-top:1px solid #e3edf0;background:#fbfefe}.request-gallery-thumb{position:relative;width:76px;height:62px;padding:0;border:1px solid #d6e5e8;border-radius:7px;overflow:hidden;background:#fff;cursor:pointer}.request-gallery-thumb:hover{border-color:#0c9ba0;box-shadow:0 2px 8px #0c9ba033}.request-gallery-thumb img{width:100%;height:100%;object-fit:cover}.request-gallery-thumb small{position:absolute;right:3px;bottom:3px;padding:1px 4px;border-radius:8px;background:#09243dcc;color:#fff;font-size:9px}.photo-viewer{display:grid;gap:12px;justify-items:center}.photo-viewer>img{max-width:min(82vw,880px);max-height:62vh;object-fit:contain;border-radius:8px;background:#f5f8fa}.photo-viewer-actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.photo-viewer-actions .btn{display:inline-flex;align-items:center;text-decoration:none}
.check-edit-head,.check-edit-row{display:grid;grid-template-columns:25px minmax(130px,1fr) minmax(120px,.8fr) 25px;gap:6px;align-items:center}.check-edit-head{padding:7px 5px;background:#f0f4f7;border-radius:5px;color:#596a7f;font-size:9px;font-weight:700}.check-edit-row{padding:5px;border-bottom:1px solid #e7edf1}.check-edit-row input{margin:0;padding:6px 7px}.check-edit-row .check-changed{width:16px;height:16px;padding:0;accent-color:var(--teal)}.check-edit-row button,.request-part-row button{border:0;background:none;color:#9f3540;font-size:17px}.request-parts-grid{grid-template-columns:1fr 1fr;margin-top:11px}.request-parts-head,.request-part-row{display:grid;grid-template-columns:minmax(105px,.7fr) minmax(140px,1.25fr) minmax(110px,.8fr) 25px;gap:6px;align-items:center}.request-parts-head{padding:7px 6px;background:#f0f4f7;border-radius:5px;color:#58697e;font-size:9px;font-weight:700}.request-part-row{padding:5px 6px;border-bottom:1px solid #e7edf1}.request-part-row input{margin:0;padding:6px 7px}.part-number-wrap{display:flex;align-items:center;gap:4px;min-width:0}.part-number-wrap input{min-width:0;flex:1}.part-scan-button{flex:0 0 28px;width:28px;height:28px;padding:0;border:1px solid #bdd5dc!important;border-radius:6px;background:#f1fafb!important;color:var(--teal)!important;font-size:16px!important;line-height:1;cursor:pointer}.part-scan-button:disabled{opacity:.45;cursor:not-allowed}.parts-scan-new{display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:7px 10px;border:1px solid #b8d5db;border-radius:7px;background:#f1fafb;color:var(--teal);font:inherit;font-size:10px;font-weight:700;cursor:pointer}.parts-scan-new:disabled{opacity:.45;cursor:not-allowed}.part-scanner{display:grid;gap:10px}.part-scanner-reader{width:100%;min-height:220px;overflow:hidden;border-radius:12px;background:#071b2f}.part-scanner-reader video{width:100%!important;max-height:55vh;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.part-scanner-reader img{max-width:100%}.part-scanner-reader #reader__dashboard_section{padding:8px!important}.part-scanner video{width:100%;max-height:55vh;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#071b2f}.part-scanner-status{margin:0;color:#64758c;font-size:11px;line-height:1.4}.request-core-card,.activity-card{margin-top:11px}.request-core-card textarea{min-height:72px;resize:vertical}.activity-list{display:grid;gap:8px}.activity-list>div{display:grid;grid-template-columns:12px 1fr;gap:8px;align-items:start}.activity-list>div>span{width:9px;height:9px;margin-top:4px;border:2px solid var(--teal);border-radius:50%;background:#fff}.activity-list p{margin:0}.activity-list strong,.activity-list small{display:block}.activity-list strong{font-size:11px;color:#304258}.activity-list small{margin-top:3px;color:#79889a;font-size:9px}.request-workflow-bar{height:64px}.workflow-actions{display:flex;align-items:center;gap:8px}.workflow-wait{color:#607087;font-size:11px}.request-action-list{display:grid;gap:9px}.request-action-list .btn{text-align:left;padding:12px}.file-link{color:#087f84;text-decoration:none;font-weight:700}.file-link:hover{text-decoration:underline}
@media(max-width:1180px){.request-parts-grid{grid-template-columns:1fr}.request-upload-actions label{height:82px}}
@media(max-width:760px){.request-parts-grid{grid-template-columns:1fr}.request-workflow-bar{height:auto;min-height:64px;gap:8px}.workflow-actions{margin-left:auto}.request-workflow-bar .v4-send{min-width:180px}.request-file{grid-template-columns:20px 1fr 24px}}
@media(max-width:470px){.check-edit-head{display:none}.check-edit-row,.request-part-row{grid-template-columns:22px 1fr}.check-edit-row .check-pn,.request-part-row .part-supplier{grid-column:2}.request-parts-head{display:none}.request-part-row .part-number-wrap,.request-part-row .part-description,.request-part-row .part-supplier{grid-column:2}.request-part-row .part-number-wrap{min-width:0}.request-part-row button{grid-column:1;grid-row:1}.parts-scan-new{width:100%;justify-content:center}.workflow-actions{width:100%}.workflow-actions .v4-send{width:100%;min-width:0}.request-workflow-bar{padding-top:8px;padding-bottom:8px}.request-workflow-bar .v4-draft{display:none}}
.v4-photo-actions label{position:relative;overflow:hidden}.v4-photo-actions input{display:block!important;position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0!important;padding:0!important;opacity:0;cursor:pointer}

/* Materials workspace: compact inventory summary with clear, editable rows. */
.materials-card{padding:18px 20px;background:linear-gradient(145deg,#fff 0%,#fbfefe 100%)}
.materials-card>.materials-header{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:17px}
.materials-heading{display:flex;align-items:center;gap:12px;min-width:220px;flex:1 1 260px}
.materials-heading>div{min-width:0}
.materials-heading h3{font-size:17px!important;letter-spacing:-.02em;margin:0 0 3px!important;color:#14243b}
.materials-heading p{font-size:10px!important;color:#7c8ea5;margin:0!important}
.materials-drop-icon{width:30px;height:30px;display:grid;place-items:center;flex:none;border-radius:50%;background:#e4f7f6;color:#078f94;font-size:18px;line-height:1;box-shadow:inset 0 0 0 1px #c9eceb}
.materials-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 1 auto;margin-left:auto}
.materials-summary-chip{display:grid;grid-template-columns:22px auto;grid-template-rows:auto auto;column-gap:6px;align-items:center;min-width:78px;padding:7px 10px;border:1px solid #deeaee;border-radius:10px;background:#f4f8fa;color:#1a3754}
.materials-summary-icon{grid-row:1/-1;display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#e2f4f4;color:#078f94;font-size:13px;line-height:1}
.materials-summary-chip strong{font-size:14px;line-height:1;color:#1a3754}
.materials-summary-chip small{font-size:8px;line-height:1.1;color:#8294a8;font-weight:700}
.materials-card .materials-add-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;padding:0 12px;border:1px solid #9ed6d7;border-radius:8px;background:#fff;color:#07898d;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}
.materials-card .materials-add-btn:hover{background:#effafa;border-color:#07898d}
.materials-card .section-edit-btn{margin-left:0;white-space:nowrap}
.materials-card .v4-material-head{grid-template-columns:minmax(210px,1.35fr) minmax(150px,1fr) 86px 64px 28px;min-height:34px;padding:0 12px;border-radius:8px;background:#eef4f7;color:#5a7088;font-size:9px;letter-spacing:.02em;text-transform:uppercase}
.materials-card #materialRows{display:grid;gap:6px;margin-top:7px}
.materials-card .v4-material-row{grid-template-columns:minmax(210px,1.35fr) minmax(150px,1fr) 86px 64px 28px;min-height:56px;padding:8px 11px;border:1px solid #e0eaee;border-radius:9px;background:#fff;box-shadow:0 2px 7px rgba(28,57,78,.035);font-size:11px}
.materials-card .v4-material-row:first-child{border-color:#c6e8e7;background:#effafa;box-shadow:inset 3px 0 0 #0a9b9e}
.materials-item-name{display:flex;align-items:center;gap:9px;min-width:0}
.materials-row-icon{width:24px;height:24px;display:grid;place-items:center;flex:none;border-radius:7px;background:#e8f5f5;color:#078f94;font-size:15px;line-height:1;font-weight:800}
.materials-card .v4-material-row input,.materials-card .v4-material-row select{min-width:0;height:34px;margin:0;padding:7px 8px;border:1px solid #d4e1e7;border-radius:7px;background:#fff;color:#273c55;font:inherit;font-size:11px;line-height:1.1}
.materials-card .v4-material-row input:disabled,.materials-card .v4-material-row select:disabled{border-color:transparent;background:transparent;color:#1e3854;opacity:1;cursor:default}
.materials-card .v4-material-row .material-name{font-weight:800}
.materials-card .v4-material-row .material-quantity{text-align:center;font-weight:800}
.materials-card .v4-material-row .material-unit{text-align:center;font-weight:700}
.materials-card .v4-material-row button{display:grid;place-items:center;width:28px;height:28px;margin:0;padding:0;border:0;border-radius:50%;background:#eff8f8;color:#07898d;font-size:18px;line-height:1;cursor:pointer}
.materials-card .v4-material-row button:hover{background:#dff2f2;color:#b42332}
.materials-card:not(.is-editing) .materials-add-btn,.materials-card:not(.is-editing) [data-remove-material]{display:none!important}
.materials-card.is-editing .v4-material-row{background:#fff}
.materials-card.is-editing .v4-material-row:first-child{background:#effafa}
@media(max-width:760px){.materials-card>.materials-header{align-items:flex-start}.materials-heading{flex-basis:100%}.materials-header-actions{width:100%;justify-content:flex-start;margin-left:0;flex-wrap:wrap}.materials-card .v4-material-head{display:none}.materials-card .v4-material-row{grid-template-columns:minmax(0,1fr) 88px 64px 28px;gap:7px}.materials-card .materials-item-name{grid-column:1/-1}.materials-card .material-spec{grid-column:1/-1}.materials-card .v4-material-row button{display:grid}.materials-card .materials-add-btn{margin-left:auto}}
@media(max-width:420px){.materials-summary-chip{min-width:70px;padding-left:8px;padding-right:8px}.materials-card .v4-material-row{grid-template-columns:minmax(0,1fr) 64px 28px}.materials-card .material-unit{grid-column:1}.materials-card .material-quantity{grid-column:2}.materials-card .v4-material-row button{grid-column:3;grid-row:2}.materials-card .materials-add-btn{width:100%;margin-left:0}}
@media(max-width:1020px) and (min-width:761px){.v4-grid-bottom{grid-template-columns:minmax(0,1fr)}.v4-grid-bottom>.v4-card{width:100%;min-width:0}}
.request-upload-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.request-upload-actions label strong{line-height:1.2}@media(max-width:760px){.request-upload-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:470px){.request-upload-actions{grid-template-columns:1fr}}
.modal-photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;max-height:58vh;overflow:auto;padding:4px}.modal-photo-thumb{position:relative;aspect-ratio:1;border:1px solid #d8e5e8;border-radius:8px;padding:0;overflow:hidden;background:#fff;cursor:pointer}.modal-photo-thumb:hover{border-color:#0c9ba0;box-shadow:0 3px 10px #0c9ba033}.modal-photo-thumb img{width:100%;height:100%;object-fit:cover}.modal-photo-thumb small{position:absolute;right:4px;bottom:4px;padding:1px 5px;border-radius:9px;background:#09243dcc;color:#fff;font-size:10px}.modal-document-list{display:grid;gap:6px;margin-top:12px}
.modal-photo-item{position:relative;min-width:0}.modal-photo-delete{position:absolute;right:5px;top:5px;width:23px;height:23px;border:0;border-radius:50%;background:#c52d3d;color:#fff;font-size:17px;line-height:20px;cursor:pointer;box-shadow:0 2px 5px #09243d55}.modal-photo-delete:hover{background:#a71f2e}
.modal-document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;max-height:58vh;overflow:auto;padding:4px}.modal-document-card{min-width:0;overflow:hidden;border:1px solid #d8e5e8;border-radius:12px;background:#fbfdfe;box-shadow:0 3px 10px rgba(24,56,76,.05)}.modal-pdf-preview{position:relative;display:block;height:170px;overflow:hidden;border-bottom:1px solid #dfe9ed;background:#f1f6f7;text-decoration:none}.modal-pdf-preview iframe{display:block;width:100%;height:100%;border:0;background:#fff;pointer-events:none}.modal-pdf-preview>span{position:absolute;left:9px;top:9px;padding:4px 7px;border-radius:5px;background:#c52d3d;color:#fff;font-size:10px;font-weight:800;letter-spacing:.04em}.modal-file-generic{display:grid;place-items:center;background:linear-gradient(145deg,#f2f8f8,#e8f2f3)}.modal-file-generic>div{display:grid;justify-items:center;gap:7px;color:#07898d}.modal-file-generic b{font-size:46px;line-height:1}.modal-file-generic span{font-size:13px;font-weight:800;letter-spacing:.08em}.modal-document-meta{display:flex;align-items:center;gap:8px;min-width:0;padding:10px}.modal-document-meta>a{min-width:0;flex:1;text-decoration:none}.modal-document-meta strong,.modal-document-meta small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.modal-document-meta strong{font-size:11px;color:#27384e}.modal-document-meta small{margin-top:3px;color:#8190a2;font-size:9px}.modal-document-meta button{flex:0 0 26px;width:26px;height:26px;border:0;background:none;color:#ad3340;font-size:19px;line-height:1;cursor:pointer}.modal-document-meta button:hover{color:#8e1f2d}
.photo-viewer>img{display:block;width:auto!important;height:auto!important;max-width:min(58vw,680px)!important;max-height:50vh!important;cursor:zoom-in;transition:max-width .2s ease,max-height .2s ease}.photo-viewer.zoomed>img{max-width:min(90vw,1200px)!important;max-height:78vh!important;cursor:zoom-out}
.planning-card>header{position:relative}.planning-edit-btn{margin-left:auto;border:1px solid #cbd9e2;background:#fff;border-radius:6px;color:#087f84;padding:7px 10px;font-size:10px;font-weight:700;cursor:pointer}.planning-edit-btn:hover{background:#eef8f8}.planning-card input:disabled,.planning-card textarea:disabled{background:#f8fafc;color:#314158;opacity:1;cursor:default}.planning-card:not(.is-editing) input,.planning-card:not(.is-editing) textarea{border-color:#d4dee7}
.closed-request .request-upload-actions,.closed-request .set-model-image,.closed-request .team-add-row,.closed-request .planning-edit-btn,.closed-request .v4-bottom-bar,.closed-request .v4-add,.closed-request [data-team-remove],.closed-request [data-remove-material],.closed-request [data-remove-check],.closed-request [data-remove-part],.closed-request [data-add-part]{display:none!important}.closed-request input:disabled,.closed-request select:disabled,.closed-request textarea:disabled{background:#f8fafc;color:#314158;opacity:1;cursor:default}.closed-request .request-gallery-thumb{cursor:pointer}
.v4-title h1{font-size:25px;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v4-title{margin-bottom:10px}.v4-steps{margin-bottom:10px}.v4-machine-card{padding:11px 15px 10px}.v4-machine-name h2{font-size:20px;margin-bottom:5px}.v4-card{padding:11px 13px}.v4-card header{margin-bottom:9px}.v4-grid-top .v4-card{min-height:195px}
.v4-machine-card{position:relative}.machine-edit-btn{position:absolute;right:16px;top:12px;border:1px solid #cbd9e2;background:#fff;border-radius:6px;color:#087f84;padding:7px 10px;font-size:10px;font-weight:700;cursor:pointer}.machine-edit-btn:hover{background:#eef8f8}
.team-card>header{position:relative}.team-card:not(.is-editing) .team-add-row,.team-card:not(.is-editing) [data-team-remove]{display:none!important}.closed-request #editTeam{display:none!important}
.team-card>header,.planning-card>header{align-items:center}.team-card>header>div,.planning-card>header>div{min-width:0}.team-card .planning-edit-btn,.planning-card .planning-edit-btn{margin-top:0;flex:none}.v4-grid-top>.v4-card{vertical-align:top}
.section-edit-btn{margin-left:auto;flex:none}.materials-card:not(.is-editing) .v4-add,.materials-card:not(.is-editing) [data-remove-material],.checklist-card-v4:not(.is-editing) .v4-add,.checklist-card-v4:not(.is-editing) [data-remove-check],.request-parts-grid article:not(.is-editing) .v4-add,.request-parts-grid article:not(.is-editing) [data-remove-part],.parts-installed-card:not(.is-editing) .v4-add,.parts-installed-card:not(.is-editing) [data-remove-part],.parts-installed-card:not(.is-editing) [data-scan-part],.parts-installed-card:not(.is-editing) [data-scan-new-part]{display:none!important}.parts-installed-card:not(.is-editing) input:disabled{background:#f8fafc;color:#314158;opacity:1;cursor:default}.closed-request .section-edit-btn{display:none!important}
.v4-grid-top,.request-parts-grid{align-items:stretch}.v4-grid-top>.v4-card,.request-parts-grid>.v4-card{height:100%}.v4-grid-top>.v4-card>header,.request-parts-grid>.v4-card>header{min-height:34px;align-items:center;margin-bottom:9px}.v4-grid-top>.v4-card>header>div,.request-parts-grid>.v4-card>header>div{min-width:0}.v4-material-head,.check-edit-head,.request-parts-head{min-height:32px;align-items:center}.v4-material-row,.check-edit-row,.request-part-row{min-height:39px}.request-parts-grid .v4-card{display:flex;flex-direction:column}.request-parts-grid .v4-card>.v4-add{margin-top:auto;align-self:flex-start}
.v4-grid-bottom{grid-template-columns:1fr 1fr}
.request-detail-history-grid{grid-template-columns:1fr 1fr;margin-top:11px;align-items:stretch}.request-detail-history-grid>.v4-card{height:100%}
.v4-material-row select.material-unit{-webkit-appearance:none;appearance:none;background:#fff;color:#27384e;border:1px solid #d4dee7;border-radius:6px;margin:0;padding:6px 8px;font:inherit;line-height:1.2;box-shadow:none}
.check-edit-row{transition:opacity .15s ease}.check-edit-row.is-checked{background:transparent;opacity:.55}.check-edit-row .check-changed{cursor:pointer}
.v4-card select{-webkit-appearance:none;appearance:none;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#52677f 50%),linear-gradient(135deg,#52677f 50%,transparent 50%);background-position:calc(100% - 14px) 50%,calc(100% - 9px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;color:#27384e}.v4-card select:disabled{background-color:#f8fafc;color:#314158;opacity:1}
@media(max-width:1180px){.request-detail-history-grid{grid-template-columns:1fr}}
#confirmationForm select{appearance:none;-webkit-appearance:none;min-height:40px;padding:9px 36px 9px 12px;border:1px solid #d4dee7;border-radius:7px;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#52677f 50%),linear-gradient(135deg,#52677f 50%,transparent 50%);background-position:calc(100% - 15px) 50%,calc(100% - 10px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;color:#27384e;font-weight:600;box-shadow:0 1px 2px rgba(28,49,72,.04)}
body:not(:has(#requestWorkspace)) .request-workflow-bar{display:none!important}
.v4-bottom-bar{display:none!important}#requestWorkspace .v4-bottom-bar{display:flex!important}
.container-visual{font-size:72px;color:#078a8f;background:#eef8f8}.container-row{cursor:pointer;align-items:center}.container-row:hover{background:#f4fbfb}.container-row>.btn{justify-self:end}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.detail-card{padding:16px;min-height:220px}.detail-card .panel-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #e5ebf0;padding-bottom:12px;margin-bottom:12px}.detail-card .panel-head h2{margin:0 0 3px;font-size:19px}.detail-card .panel-head small{color:#8591a3}.team-list{display:grid;gap:8px}.team-member{display:flex;align-items:center;gap:10px;border:1px solid #dfe6ec;border-radius:8px;padding:9px}.team-member .avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#12679b;color:#fff;font-weight:800}.team-member strong,.team-member small{display:block}.team-member small{font-size:11px;color:#8591a3}.file-drop{height:110px;border:1px dashed #aabccc;border-radius:8px;display:grid;place-items:center;align-content:center;gap:5px;color:#355067;margin-bottom:12px}.file-drop small{color:#8591a3}.materials-line{padding:14px;background:#f5f8fa;border-radius:7px;font-weight:600;color:#425269}.detail-card textarea[readonly],.detail-card input[readonly]{background:#fafcfd;color:#53657c}.service-detail:has(.container-visual) .stage-track{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.detail-grid{grid-template-columns:1fr}.service-detail:has(.container-visual) .stage-track{grid-template-columns:repeat(4,minmax(120px,1fr))}}
.container-v4-icon{display:grid;place-items:center;font-size:76px;color:#078a8f;background:#edf8f8}
.v4-inline-icon{display:inline-block;color:#078a8f;margin-right:5px}.container-v4-page .planning-card .v4-dates label:first-child{display:none}.container-v4-page .planning-card .v4-dates{grid-template-columns:1fr}.container-v4-page .v4-facts>div:nth-child(3){display:none}.container-file-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.container-file-photo{display:grid;gap:6px;color:inherit;text-decoration:none;font-size:17px;font-weight:700;min-width:0}.container-file-photo img{width:100%;height:115px;object-fit:contain;border-radius:8px;border:1px solid #dbe4eb;background:#fff}.container-file-row{display:block;padding:12px;border:1px solid #dbe4eb;border-radius:6px;color:#1765b6;text-decoration:none;font-weight:600}
.search-result-section{padding:18px 20px;border-bottom:1px solid #e4eaf0}.search-result-section:last-child{border-bottom:0}.search-result-section h2{margin:0 0 10px;font-size:15px;color:#314158}.search-result{width:100%;border:1px solid #dce4eb;border-radius:7px;background:#fff;text-align:left;padding:11px 13px;margin-top:7px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px}.search-result:hover{border-color:#07898d;background:#f6fbfb}.search-result strong,.search-result small{display:block}.search-result strong{color:#1c2d43}.search-result small{color:#78889b;font-size:11px}
.collapse-link{display:none}
.help-card{text-decoration:none;color:inherit}
.equipment-card[data-action="maintenance-machine"] .equipment-visual{height:390px}
.equipment-card[data-action="maintenance-machine"] .equipment-visual img{object-fit:contain!important;width:100%!important;height:100%!important;padding:12px;box-sizing:border-box}
.equipment-card[data-action="maintenance-machine"] .equipment-visual{width:100%;min-width:0;max-width:100%;border-radius:16px 16px 0 0;overflow:hidden}
.equipment-card[data-action="maintenance-machine"] .equipment-visual img,.v4-machine-image img{display:block;max-width:100%!important;min-width:0;border-radius:16px;overflow:hidden}
.parts-orders-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.parts-order-card{border:1px solid #d8e2ee;border-radius:16px;padding:18px;background:#fff;cursor:pointer;transition:.15s}.parts-order-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #183b5d14}.parts-order-top,.parts-order-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center}.parts-order-card h3{margin:14px 0 8px}.parts-order-card p{margin:6px 0;color:#70829c}.parts-order-bottom{border-top:1px solid #e3eaf2;margin-top:14px;padding-top:12px;color:#536b89}.parts-order-item-row{display:grid;grid-template-columns:1fr 2fr .7fr .7fr 1fr .8fr auto;gap:8px;margin:8px 0}.parts-order-item-row input{min-width:0}.parts-order-detail{display:grid;gap:12px}.parts-order-detail h3{margin:12px 0 0}.parts-order-items,.parts-order-events,.parts-order-files{display:grid;gap:8px;border:1px solid #dfe7f0;border-radius:12px;padding:12px}.parts-order-events div{display:grid;gap:3px}.parts-order-events small,.parts-order-events span{color:#71839c}.parts-order-files a{color:#0b8e95;text-decoration:none}
.parts-orders-panel{overflow:hidden}.parts-orders-panel>.panel-head{align-items:flex-start}.parts-orders-panel>.panel-head p{margin:5px 0 0;color:#7a8da3;font-size:12px}.parts-orders-panel>.panel-head .panel-count{display:inline-grid;place-items:center;min-width:28px;height:26px;padding:0 8px;border-radius:999px;background:#e8f4f5;color:#07898d;font-size:12px;font-weight:800}.parts-orders-table-wrap{overflow-x:auto}.parts-orders-table{width:100%;min-width:1260px;table-layout:fixed}.parts-orders-table th,.parts-orders-table td{padding:12px 13px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}.parts-orders-table th{background:#f0f4f8;color:#607188;font-size:11px;font-weight:800}.parts-orders-table td{border-top:1px solid #e5ebf0;color:#263a53}.parts-orders-table tbody tr{transition:background .15s}.parts-orders-table tbody tr:hover{background:#f8fcfc}.parts-orders-table th:nth-child(1),.parts-orders-table td:nth-child(1){width:105px}.parts-orders-table th:nth-child(2),.parts-orders-table td:nth-child(2){width:112px}.parts-orders-table th:nth-child(3),.parts-orders-table td:nth-child(3){width:185px}.parts-orders-table th:nth-child(4),.parts-orders-table td:nth-child(4){width:170px}.parts-orders-table th:nth-child(5),.parts-orders-table td:nth-child(5){width:190px}.parts-orders-table th:nth-child(6),.parts-orders-table td:nth-child(6){width:82px}.parts-orders-table th:nth-child(7),.parts-orders-table td:nth-child(7){width:145px}.parts-orders-table th:nth-child(8),.parts-orders-table td:nth-child(8){width:120px}.parts-orders-table th:nth-child(9),.parts-orders-table td:nth-child(9){width:180px}.parts-orders-table td strong,.parts-orders-table td small{display:block}.parts-orders-table .parts-order-muted{margin-top:4px;color:#8494a7;font-size:11px}.parts-orders-table .link-button{padding:0;border:0;background:transparent;color:#07898d;font-weight:800;cursor:pointer}.parts-orders-table .link-button:hover{text-decoration:underline}.parts-order-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.parts-order-actions .btn{padding:7px 9px;font-size:11px}.parts-orders-table .status{white-space:normal;line-height:1.2;text-align:center;justify-content:center}
.parts-orders-table tbody tr{cursor:pointer}
@media(max-width:900px){.parts-orders-table{min-width:1120px}.parts-orders-table th,.parts-orders-table td{padding:9px 8px;font-size:11px}.parts-order-actions{justify-content:flex-start}.parts-order-actions .btn{padding:6px 8px;font-size:10px}}
.parts-orders-table:has(.bulk-check) th:first-child,.parts-orders-table:has(.bulk-check) td:first-child{width:42px!important;min-width:42px;max-width:42px;padding-left:8px;padding-right:8px}.parts-orders-table:has(.bulk-check) th:nth-child(2),.parts-orders-table:has(.bulk-check) td:nth-child(2){width:105px!important}.parts-orders-table:has(.bulk-check) th:nth-child(3),.parts-orders-table:has(.bulk-check) td:nth-child(3){width:112px!important}.parts-orders-table:has(.bulk-check) th:nth-child(4),.parts-orders-table:has(.bulk-check) td:nth-child(4){width:185px!important}.parts-orders-table:has(.bulk-check) th:nth-child(5),.parts-orders-table:has(.bulk-check) td:nth-child(5){width:170px!important}.parts-orders-table:has(.bulk-check) th:nth-child(6),.parts-orders-table:has(.bulk-check) td:nth-child(6){width:190px!important}.parts-orders-table:has(.bulk-check) th:nth-child(7),.parts-orders-table:has(.bulk-check) td:nth-child(7){width:82px!important}.parts-orders-table:has(.bulk-check) th:nth-child(8),.parts-orders-table:has(.bulk-check) td:nth-child(8){width:145px!important}.parts-orders-table:has(.bulk-check) th:nth-child(9),.parts-orders-table:has(.bulk-check) td:nth-child(9){width:120px!important}.parts-orders-table:has(.bulk-check) th:nth-child(10),.parts-orders-table:has(.bulk-check) td:nth-child(10){width:180px!important}.parts-orders-table .bulk-check input{cursor:pointer}
.request-parts-orders{grid-column:1/-1}.request-parts-orders header{display:flex;align-items:center;gap:10px}.request-parts-orders header>div{flex:1}.request-parts-order-list{display:grid;gap:8px;margin-top:12px}.request-parts-order-list button{display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;border:1px solid #dfe7f0;background:#fff;border-radius:10px;padding:10px 12px;color:#162b47}.request-parts-order-list span{color:#70829c}
.tracking-panel{display:grid;gap:8px;border:1px solid #dfe7f0;border-radius:12px;padding:24px;margin-top:12px}.tracking-panel strong{font-size:28px;color:#112743;letter-spacing:.04em}.tracking-panel small{color:#70829c}

/* Parts-order modal: align the create/edit flow with the modern service workspace. */
dialog:has(#partsOrderForm),dialog:has(#partsOrderEditForm){width:min(1120px,calc(100vw - 32px));max-height:calc(100vh - 32px);border:1px solid #d9e5ea;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 28px 80px rgba(16,43,65,.22)}
dialog:has(#partsOrderForm) .modal-card>header,dialog:has(#partsOrderEditForm) .modal-card>header{padding:26px 32px 22px;border-bottom:1px solid #dce7eb;background:linear-gradient(180deg,#fff 0%,#fbfdfd 100%)}
dialog:has(#partsOrderForm) .modal-card .eyebrow,dialog:has(#partsOrderEditForm) .modal-card .eyebrow{margin:0 0 8px;color:#5d7897;font-size:12px;letter-spacing:.1em;font-weight:800}
dialog:has(#partsOrderForm) .modal-card h2,dialog:has(#partsOrderEditForm) .modal-card h2{font-size:30px;line-height:1.08;letter-spacing:-.035em;color:#101d35}
dialog:has(#partsOrderForm) .modal-card .close,dialog:has(#partsOrderEditForm) .modal-card .close{width:38px;height:38px;border:1px solid #d4e0e5;border-radius:50%;background:#fff;color:#71849b;font-size:28px;line-height:32px;display:grid;place-items:center;cursor:pointer}
dialog:has(#partsOrderForm) .modal-card .close:hover,dialog:has(#partsOrderEditForm) .modal-card .close:hover{border-color:#07898d;color:#07898d;background:#f2fbfb}
dialog:has(#partsOrderForm) .modal-content,dialog:has(#partsOrderEditForm) .modal-content{padding:26px 32px 30px;max-height:calc(100vh - 156px);background:#f7fafb;overflow:auto}
dialog:has(#partsOrderForm) .form-grid,dialog:has(#partsOrderEditForm) .form-grid{gap:14px 18px}
dialog:has(#partsOrderForm) .form-grid>label,dialog:has(#partsOrderEditForm) .form-grid>label{padding:13px 15px 15px;border:1px solid #d8e5e9;border-radius:12px;background:#fff;color:#4e637c;font-size:12px;font-weight:800;letter-spacing:.01em;box-shadow:0 2px 8px rgba(28,60,82,.025)}
dialog:has(#partsOrderForm) .form-grid>label.wide,dialog:has(#partsOrderEditForm) .form-grid>label.wide{grid-column:1/-1}
dialog:has(#partsOrderForm) input,dialog:has(#partsOrderForm) select,dialog:has(#partsOrderForm) textarea,dialog:has(#partsOrderEditForm) input,dialog:has(#partsOrderEditForm) select,dialog:has(#partsOrderEditForm) textarea{height:46px;margin-top:8px;border:1px solid #cbdbe2;border-radius:9px;background:#fbfdfe;color:#182a43;padding:10px 12px;font-size:13px;box-shadow:none}
dialog:has(#partsOrderForm) textarea,dialog:has(#partsOrderEditForm) textarea{height:94px;min-height:94px;resize:vertical}
dialog:has(#partsOrderForm) select,dialog:has(#partsOrderEditForm) select{-webkit-appearance:none;appearance:none;padding-right:38px;background-color:#fbfdfe;background-image:linear-gradient(45deg,transparent 50%,#63778b 50%),linear-gradient(135deg,#63778b 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 10px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat}
dialog:has(#partsOrderForm) input:focus,dialog:has(#partsOrderForm) select:focus,dialog:has(#partsOrderForm) textarea:focus,dialog:has(#partsOrderEditForm) input:focus,dialog:has(#partsOrderEditForm) select:focus,dialog:has(#partsOrderEditForm) textarea:focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.12);background:#fff}
dialog:has(#partsOrderForm) .section-title,dialog:has(#partsOrderEditForm) .section-title{margin:24px 0 10px;color:#12233d;font-size:18px;letter-spacing:-.02em}
dialog:has(#partsOrderForm) #partsOrderRows,dialog:has(#partsOrderEditForm) #partsOrderRows{padding:10px 12px;border:1px solid #d8e5e9;border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(28,60,82,.025)}
dialog:has(#partsOrderForm) .parts-order-item-row,dialog:has(#partsOrderEditForm) .parts-order-item-row{grid-template-columns:minmax(115px,.9fr) minmax(180px,1.8fr) 82px 78px minmax(125px,1fr) 98px 42px;gap:9px;margin:0;padding:0 0 9px;align-items:center}
dialog:has(#partsOrderForm) .parts-order-item-row+.parts-order-item-row,dialog:has(#partsOrderEditForm) .parts-order-item-row+.parts-order-item-row{padding-top:9px;border-top:1px solid #e7eef1}
dialog:has(#partsOrderForm) .parts-order-item-row input,dialog:has(#partsOrderEditForm) .parts-order-item-row input{height:42px;margin:0;padding:9px 10px;border-radius:8px;background:#fbfdfe;font-size:12px}
dialog:has(#partsOrderForm) .parts-order-item-row .btn.danger,dialog:has(#partsOrderEditForm) .parts-order-item-row .btn.danger{width:42px;height:42px;padding:0;border-radius:9px;font-size:20px}
dialog:has(#partsOrderForm) #addPartsOrderRow,dialog:has(#partsOrderEditForm) #addPartsOrderRow{margin-top:11px;border-color:#b8dfe0;background:#eefafa;color:#07898d;border-radius:9px;padding:10px 14px;font-size:12px}
dialog:has(#partsOrderForm) #addPartsOrderRow:hover,dialog:has(#partsOrderEditForm) #addPartsOrderRow:hover{background:#e2f5f5;border-color:#07898d}
dialog:has(#partsOrderForm) .form-actions,dialog:has(#partsOrderEditForm) .form-actions{margin-top:24px;padding-top:20px;border-top:1px solid #d9e5e9}
dialog:has(#partsOrderForm) .form-actions .btn,dialog:has(#partsOrderEditForm) .form-actions .btn{min-height:44px;border-radius:9px;padding:0 18px}
dialog:has(#partsOrderForm) .form-actions .btn.primary,dialog:has(#partsOrderEditForm) .form-actions .btn.primary{background:#07898d;border-color:#07898d}
@media(max-width:760px){dialog:has(#partsOrderForm),dialog:has(#partsOrderEditForm){width:calc(100vw - 18px);border-radius:16px}dialog:has(#partsOrderForm) .modal-card>header,dialog:has(#partsOrderEditForm) .modal-card>header{padding:20px 20px 18px}dialog:has(#partsOrderForm) .modal-card h2,dialog:has(#partsOrderEditForm) .modal-card h2{font-size:24px}dialog:has(#partsOrderForm) .modal-content,dialog:has(#partsOrderEditForm) .modal-content{padding:18px 18px 22px}dialog:has(#partsOrderForm) .parts-order-item-row,dialog:has(#partsOrderEditForm) .parts-order-item-row{grid-template-columns:1fr 1fr;gap:8px}dialog:has(#partsOrderForm) .parts-order-item-row input[name="description"],dialog:has(#partsOrderEditForm) .parts-order-item-row input[name="description"]{grid-column:1/-1}dialog:has(#partsOrderForm) .parts-order-item-row .btn.danger,dialog:has(#partsOrderEditForm) .parts-order-item-row .btn.danger{justify-self:end}dialog:has(#partsOrderForm) .form-actions,dialog:has(#partsOrderEditForm) .form-actions{flex-wrap:wrap}dialog:has(#partsOrderForm) .form-actions .btn,dialog:has(#partsOrderEditForm) .form-actions .btn{flex:1}}
.request-parts-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.request-parts-order-inline{min-width:0}.request-parts-order-open{width:100%;display:flex;justify-content:space-between;gap:10px;align-items:center;text-align:left;border:1px solid #dfe7f0;background:#fff;border-radius:10px;padding:10px 12px;color:#162b47;cursor:pointer}.request-parts-order-open span{color:#70829c;white-space:nowrap}.request-parts-order-row>.planning-edit-btn{margin-left:0;white-space:nowrap}.parts-order-inline-edit{display:grid;gap:8px;border:1px solid #dfe7f0;border-radius:10px;padding:10px;background:#fff}.parts-order-inline-rows{display:grid;gap:8px}.parts-order-inline-row{display:grid;grid-template-columns:minmax(85px,.9fr) minmax(130px,1.6fr) 68px 60px minmax(105px,1fr) 65px 38px;gap:6px;align-items:center}.parts-order-inline-row input,.parts-order-inline-row select{width:100%;min-width:0;height:38px;margin:0;padding:7px 8px;border:1px solid #d4dee7;border-radius:7px;background:#fbfdfe;color:#27384e;font:inherit;font-size:11px}.parts-order-inline-row .btn.danger{width:38px;height:38px;padding:0;border-radius:7px}.parts-order-inline-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.parts-order-inline-actions .btn{white-space:nowrap}@media(max-width:900px){.parts-order-inline-row{grid-template-columns:1fr 1.5fr 64px 58px 1fr 62px 36px;gap:5px}.parts-order-inline-row input,.parts-order-inline-row select{font-size:10px;padding-left:6px;padding-right:6px}}@media(max-width:760px){.request-parts-order-row{grid-template-columns:1fr}.request-parts-order-row>.planning-edit-btn{justify-self:start}.parts-order-inline-row{grid-template-columns:1fr 1fr}.parts-order-inline-row [name="description"],.parts-order-inline-row [name="supplier"]{grid-column:1/-1}.parts-order-inline-actions{flex-wrap:wrap}.parts-order-inline-actions .btn{flex:1}}
.parts-order-inline-row{grid-template-columns:minmax(75px,.85fr) minmax(120px,1.8fr) 60px minmax(100px,1fr) 60px 36px;gap:5px}.parts-order-inline-row input,.parts-order-inline-row select{height:34px;padding:6px 7px;font-size:10px}.parts-order-inline-row .btn.danger{width:36px;height:34px}@media(max-width:900px){.parts-order-inline-row{grid-template-columns:minmax(65px,.8fr) minmax(100px,1.5fr) 56px minmax(90px,1fr) 55px 34px;gap:4px}.parts-order-inline-row input,.parts-order-inline-row select{font-size:9px;padding-left:5px;padding-right:5px}}@media(max-width:760px){.parts-order-inline-row{grid-template-columns:1fr 1fr}.parts-order-inline-row [name="description"],.parts-order-inline-row [name="supplier"]{grid-column:1/-1}}
.parts-order-inline-edit{width:100%;max-width:100%;min-width:0;overflow:hidden}.parts-order-inline-row{width:100%;max-width:100%;min-width:0}.parts-order-inline-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;min-width:0}.parts-order-inline-actions .btn{min-width:0;width:100%;overflow:hidden;text-overflow:ellipsis}
.parts-order-inline-row{grid-template-columns:minmax(75px,.85fr) minmax(120px,1.8fr) 60px minmax(100px,1fr) 36px}.parts-order-inline-row .btn.danger{grid-column:auto}@media(max-width:900px){.parts-order-inline-row{grid-template-columns:minmax(65px,.8fr) minmax(100px,1.5fr) 56px minmax(90px,1fr) 34px}}@media(max-width:760px){.parts-order-inline-row{grid-template-columns:1fr 1fr}}
.parts-order-inline-row{display:flex;align-items:center;gap:5px;overflow:hidden}.parts-order-inline-row [name="part_number"]{flex:0 1 120px}.parts-order-inline-row [name="description"]{flex:1 1 220px}.parts-order-inline-row [name="quantity"]{flex:0 1 58px}.parts-order-inline-row [name="supplier"]{flex:1 1 150px}.parts-order-inline-row .btn.danger{flex:0 0 32px;width:32px;min-width:32px}@media(max-width:760px){.parts-order-inline-row{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.parts-order-inline-row [name="description"],.parts-order-inline-row [name="supplier"]{grid-column:1/-1}.parts-order-inline-row .btn.danger{justify-self:end}}
.parts-order-file-row{display:flex;align-items:center;gap:8px;min-width:0}.parts-order-file-row a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0b8e95;text-decoration:none}.parts-order-file-row .btn.danger{flex:0 0 32px;width:32px;height:32px;padding:0;border-radius:7px}
.parts-order-status-fact strong{color:#07898d}
.parts-order-page .service-machine{position:relative}.parts-order-transport-visual{position:relative;width:100%;height:100%;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:#f1f6f7}.parts-order-transport-visual img{width:100%;height:100%;object-fit:contain}.parts-order-transport-visual span{position:absolute;left:10px;bottom:9px;padding:5px 9px;border-radius:5px;background:#fff;color:#17304a;font-size:12px;font-weight:800;box-shadow:0 2px 7px rgba(20,50,70,.16)}.parts-order-transport-visual.transport-dhl span{background:#ffcc00;color:#d40511}.parts-order-transport-visual.transport-nova span{background:#f58220;color:#fff}.parts-order-transport-visual.transport-fedex span{background:#4d148c;color:#ff6200}.parts-order-transport-visual.transport-ups span{background:#351c15;color:#ffbe00}.parts-order-transport-visual.transport-tnt span{background:#f5c400;color:#c21f30}.parts-order-transport-visual.transport-cargus span{background:#e63232;color:#fff}.parts-order-transport-visual.transport-posta span{background:#1261ad;color:#fff}.parts-order-transport-visual.transport-air span{background:#07898d;color:#fff}.parts-order-transport-visual.transport-pickup span{background:#fff;color:#07898d}
.parts-order-page article:has(#partsOrderPageStatus){display:none!important}
/* Compact order summaries inside the service request. */
.v4-grid-top>.request-parts-orders{min-height:0;height:auto;padding:16px}
.request-parts-orders .request-parts-order-row{align-items:start;padding:0;gap:12px}
.request-parts-orders .request-parts-order-open{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:16px;background:#fbfdfd;border-color:#dce8eb;transition:background .15s,border-color .15s}
.request-parts-orders .request-parts-order-open:hover{background:#f2fafa;border-color:#85bec1}
.request-parts-orders .request-parts-order-open span{white-space:normal;min-width:0}
.request-order-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.request-order-heading>strong{font-size:15px;color:#12344a}
.request-parts-orders .request-order-status{font-size:11px;font-weight:700;color:#08777b;background:#e4f3f2;border-radius:20px;padding:5px 10px}
.request-order-facts{display:grid;grid-template-columns:1.1fr .7fr 1fr 1.4fr;gap:18px}
.request-order-facts>span{display:flex;flex-direction:column;gap:5px}
.request-order-facts small{font-size:10px;font-weight:500;color:#75879a}
.request-order-facts b{font-size:12px;font-weight:600;color:#263c52;overflow-wrap:anywhere}
.request-order-tracking b{color:#08777b}
.request-order-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e3ecef;padding-top:10px}
.request-order-footer small{font-size:10px;color:#71869a}
.request-order-footer small:last-child{color:#08777b;font-weight:700}
.request-parts-orders .request-parts-order-row>.planning-edit-btn{margin-top:3px}
@media(max-width:900px){.request-order-facts{grid-template-columns:1fr 1fr;gap:14px}.request-parts-orders .request-parts-order-row{grid-template-columns:minmax(0,1fr)}.request-parts-orders .request-parts-order-row>.planning-edit-btn{justify-self:end;margin-top:0}}
@media(max-width:420px){.request-order-facts{grid-template-columns:1fr}.request-order-heading{flex-wrap:wrap}.request-parts-orders header{flex-wrap:wrap}}
.request-parts-orders .request-parts-order-open[data-arrived="true"]{background:#effaf2;border-color:#90caa2;border-left:4px solid #259554}
.request-parts-orders .request-parts-order-open[data-arrived="true"]:hover{background:#e5f5eb;border-color:#259554}
.request-parts-orders [data-arrived="true"] .request-order-status{background:#217c43;color:#fff}
.request-parts-orders [data-arrived="true"] .request-order-tracking b{color:#217c43}
.request-parts-orders [data-arrived="true"] .request-order-footer{border-top-color:#cce7d4}

/* Service-request parts orders: compact order cards instead of a wide table row. */
.request-parts-orders{
  grid-column:1/-1;
  padding:14px!important;
  border:1px solid #d7e6eb;
  border-radius:16px;
  background:linear-gradient(145deg,#ffffff 0%,#f5fbfb 100%);
  box-shadow:0 5px 16px rgba(27,67,86,.06);
}
.request-parts-orders>header{
  align-items:center;
  gap:9px;
  margin-bottom:0;
  padding:0 2px 10px;
  border-bottom:1px solid #e2edf0;
}
.request-parts-orders>header>div{min-width:0}
.request-parts-orders>header h3{font-size:15px!important;letter-spacing:-.01em}
.request-parts-orders>header p{font-size:10px!important}
.request-parts-orders>header>button{
  height:30px;
  min-height:30px;
  padding:5px 10px;
  border-radius:8px;
  font-size:10px;
  white-space:nowrap;
}
.request-parts-orders .request-parts-order-list{gap:8px;margin-top:10px}
.request-parts-orders .request-parts-order-row{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:stretch;
  gap:8px;
}
.request-parts-orders .request-parts-order-inline{min-width:0}
.request-parts-orders .request-parts-order-open{
  gap:10px;
  padding:11px 12px;
  border-radius:11px;
  background:#fff;
  border-color:#dbe8ec;
  box-shadow:0 2px 8px rgba(34,72,91,.04);
  transition:background .15s,border-color .15s,box-shadow .15s;
}
.request-parts-orders .request-parts-order-open:hover{
  background:#fbffff;
  border-color:#65b7b9;
  box-shadow:0 4px 12px rgba(7,137,141,.09);
}
.request-parts-orders .request-order-heading{min-height:22px}
.request-parts-orders .request-order-heading>strong{font-size:15px;color:#07898d}
.request-parts-orders .request-order-status{padding:4px 8px;font-size:10px}
.request-parts-orders .request-order-facts{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}
.request-parts-orders .request-order-facts>span{
  min-width:0;
  gap:3px;
  padding:6px 8px;
  border:1px solid #e5eef1;
  border-radius:8px;
  background:#f8fbfc;
}
.request-parts-orders .request-order-facts small{font-size:8px;letter-spacing:.02em}
.request-parts-orders .request-order-facts b{font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.request-parts-orders .request-order-footer{padding-top:8px}
.request-parts-orders .request-order-footer small{font-size:9px}
.request-parts-orders .request-parts-order-row>.planning-edit-btn{
  align-self:center;
  height:30px;
  min-height:30px;
  padding:5px 9px;
  border-radius:8px;
  font-size:10px;
  white-space:nowrap;
}
.request-parts-orders .request-parts-order-open[data-arrived="true"]{background:#f4fcf5;border-color:#a7d8b3}
.request-parts-orders .request-parts-order-open[data-arrived="true"] .request-order-facts>span{background:#f0faf2;border-color:#d3ead8}
@media(max-width:900px){
  .request-parts-orders .request-order-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .request-parts-orders .request-parts-order-row{grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:600px){
  .request-parts-orders{padding:12px!important}
  .request-parts-orders>header{align-items:flex-start;flex-wrap:wrap}
  .request-parts-orders>header>button{margin-left:auto}
  .request-parts-orders .request-parts-order-row{grid-template-columns:1fr}
  .request-parts-orders .request-parts-order-row>.planning-edit-btn{justify-self:start}
}
@media(max-width:420px){
  .request-parts-orders .request-order-facts{grid-template-columns:1fr}
  .request-parts-orders .request-order-heading{align-items:flex-start;flex-wrap:wrap}
}

/* Client-first equipment picker in the new service-request dialog. */
dialog:has(#requestForm){width:min(1080px,calc(100vw - 28px));max-height:calc(100vh - 28px);border:1px solid #d9e5ea;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 28px 80px rgba(16,43,65,.22)}
dialog:has(#requestForm) .modal-card>header{padding:26px 32px 22px;border-bottom:1px solid #dce7eb;background:linear-gradient(180deg,#fff 0%,#fbfdfd 100%)}
dialog:has(#requestForm) .modal-card h2{font-size:30px;line-height:1.08;letter-spacing:-.035em;color:#101d35}
dialog:has(#requestForm) .modal-content{padding:26px 32px 30px;max-height:calc(100vh - 156px);background:#f7fafb;overflow:auto}
.request-equipment-picker{grid-column:1/-1;display:grid;gap:14px;padding:16px;border:1px solid #d8e5e9;border-radius:16px;background:linear-gradient(145deg,#fafdfe,#eef7f7);box-shadow:0 4px 14px rgba(28,60,82,.04)}.request-equipment-picker[hidden],.pdi-equipment-picker[hidden]{display:none!important}
.pdi-equipment-picker{grid-column:1/-1;display:grid;gap:12px;padding:16px;border:1px solid #9ed1d1;border-radius:16px;background:linear-gradient(145deg,#f7ffff,#eaf8f7);box-shadow:0 4px 14px rgba(7,137,141,.08)}.pdi-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.pdi-picker-head>div{display:grid;gap:3px}.pdi-picker-head strong{color:#19324b;font-size:14px}.pdi-picker-head small{color:#71859a;font-size:11px;font-weight:600}.pdi-picker-count{display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:15px;background:#07898d;color:#fff;font-size:12px;font-weight:800}.pdi-equipment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.pdi-equipment-card{display:grid;grid-template-columns:64px 1fr 22px;align-items:center;gap:11px;min-width:0;padding:11px;border:1px solid #c9e1e2;border-radius:12px;background:#fff;color:#20364d;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,transform .15s}.pdi-equipment-card:hover{border-color:#45aeb0;background:#f7ffff;box-shadow:0 4px 12px rgba(7,137,141,.11);transform:translateY(-1px)}.pdi-equipment-card.selected{border-color:#07898d;background:#e4f7f5;box-shadow:0 0 0 3px rgba(7,137,141,.12)}.pdi-equipment-image{width:64px;height:48px;display:grid;place-items:center;overflow:hidden;border-radius:9px;background:linear-gradient(145deg,#f1f6fa,#e3f2f1)}.pdi-equipment-image-src{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;padding:3px!important}.pdi-equipment-copy{display:grid;gap:3px;min-width:0}.pdi-equipment-copy strong,.pdi-equipment-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdi-equipment-copy strong{color:#1a324a;font-size:12px}.pdi-equipment-copy small{color:#71859a;font-size:10px;font-weight:600}.pdi-equipment-motohours{color:#07898d!important;font-weight:800!important}.pdi-equipment-check{width:20px;height:20px;display:grid;place-items:center;border:1px solid #c9dbe0;border-radius:50%;color:transparent;font-size:12px;font-weight:900}.pdi-equipment-card.selected .pdi-equipment-check{border-color:#07898d;background:#07898d;color:#fff}.pdi-equipment-empty{padding:14px;border:1px dashed #b9cdd3;border-radius:10px;background:#f8fbfc;color:#7b8da0;font-size:11px;font-weight:700;text-align:center}.pdi-container-fact{display:flex!important;align-items:center;gap:8px}.pdi-container-fact>span:last-child{display:grid;gap:3px}.pdi-container-fact small,.pdi-container-fact strong{display:block}
.request-picker-step{display:grid;gap:10px;padding:14px;border:1px solid #dce8eb;border-radius:13px;background:#fff}.request-picker-step-head{display:flex;align-items:center;gap:10px}.request-picker-step-head>div{display:grid;gap:2px}.request-picker-step-head strong{font-size:14px;color:#19324b}.request-picker-step-head small{color:#7b8da0;font-size:11px;font-weight:600}.request-picker-step-number{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#07898d;color:#fff;font-size:13px;font-weight:800;flex:none}.request-picker-select{display:grid;gap:5px;color:#50677f;font-size:11px;font-weight:800}.request-picker-select span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#70859a}.request-picker-select select{height:44px;margin:0;border:1px solid #cbdbe2;border-radius:9px;background:#fbfdfe;color:#182a43;padding:9px 38px 9px 12px;font-size:13px;font-weight:700;box-shadow:none}.request-picker-select select:focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.12);background:#fff}.request-equipment-step{position:relative}.request-equipment-count{min-height:16px;color:#07898d;font-size:11px;font-weight:800}.request-equipment-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:10px}.request-equipment-choice{display:grid;grid-template-columns:54px 1fr 22px;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid #d8e5e9;border-radius:11px;background:#fbfdfe;color:#20364d;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s,transform .15s}.request-equipment-choice:hover{border-color:#56b6b6;background:#f4fbfb;box-shadow:0 4px 12px rgba(7,137,141,.1);transform:translateY(-1px)}.request-equipment-choice.selected{border-color:#07898d;background:#eaf8f7;box-shadow:0 0 0 3px rgba(7,137,141,.12)}.request-equipment-choice-image{width:54px;height:42px;display:grid;place-items:center;border-radius:8px;overflow:hidden;background:linear-gradient(145deg,#f1f6fa,#e6f1f1)}.request-picker-image{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;padding:3px!important}.request-equipment-choice-copy{min-width:0;display:grid;gap:2px;align-content:center}.request-equipment-choice-copy strong,.request-equipment-choice-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-equipment-choice-copy strong{font-size:12px;color:#1a324a}.request-equipment-choice-copy small{margin-top:0;color:#71859a;font-size:10px;font-weight:600}.request-equipment-motohours{color:#07898d!important;font-weight:800!important}.request-equipment-choice-check{width:20px;height:20px;display:grid;place-items:center;border:1px solid #c9dbe0;border-radius:50%;color:transparent;font-size:12px;font-weight:900}.request-equipment-choice.selected .request-equipment-choice-check{border-color:#07898d;background:#07898d;color:#fff}.request-equipment-empty{padding:14px;border:1px dashed #b9cdd3;border-radius:10px;background:#f8fbfc;color:#7b8da0;font-size:11px;font-weight:700;text-align:center}.request-equipment-empty[hidden]{display:none}.request-equipment-native-slot{position:absolute;width:1px;height:1px;overflow:hidden}.request-equipment-native{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important}
@media(max-width:760px){dialog:has(#requestForm){width:calc(100vw - 18px);border-radius:16px}dialog:has(#requestForm) .modal-card>header{padding:20px 20px 18px}dialog:has(#requestForm) .modal-card h2{font-size:24px}dialog:has(#requestForm) .modal-content{padding:18px 18px 22px}.request-equipment-picker{padding:10px}.request-picker-step{padding:11px}.request-equipment-choices{grid-template-columns:1fr}.request-equipment-choice{grid-template-columns:48px 1fr 22px}.request-equipment-choice-image{width:48px;height:38px}}
/* Keep the request type and priority selects consistent with the new picker. */
dialog:has(#requestForm) .form-grid>label select:not(.request-equipment-native){height:44px;margin-top:8px;border:1px solid #cbdbe2;border-radius:10px;background-color:#fbfdfe;background-image:linear-gradient(45deg,transparent 50%,#63778b 50%),linear-gradient(135deg,#63778b 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 11px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;color:#182a43;padding:9px 40px 9px 12px;font-size:13px;font-weight:700;box-shadow:none;appearance:none;-webkit-appearance:none;cursor:pointer}
dialog:has(#requestForm) .form-grid>label select:not(.request-equipment-native):focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.12);background-color:#fff;outline:0}
/* Match the client picker select to the same compact custom-select treatment. */
dialog:has(#requestForm) .request-picker-select select{height:44px;border:1px solid #cbdbe2;border-radius:10px;background-color:#fbfdfe;background-image:linear-gradient(45deg,transparent 50%,#63778b 50%),linear-gradient(135deg,#63778b 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 11px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;color:#182a43;padding:9px 40px 9px 12px;font-size:13px;font-weight:700;box-shadow:none;appearance:none;-webkit-appearance:none;cursor:pointer}
dialog:has(#requestForm) .request-picker-select select:focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.12);background-color:#fff;outline:0}

/* Equipment is a direct child of the Clients and Equipment sidebar section. */
.nav-subitem{height:36px!important;min-height:36px!important;margin:0 0 4px 18px!important;width:calc(100% - 18px)!important;padding:0 12px!important;border-left:2px solid transparent!important;border-radius:7px!important;gap:9px!important;background:transparent!important;color:#6a7f96!important;font-size:12px!important;font-weight:700!important;justify-content:flex-start!important;box-shadow:none!important}
.nav-subitem:hover{background:#f1f9f9!important;color:#07898d!important}
.nav-subitem.active{background:#e6f5f4!important;color:#07898d!important;border-left-color:#07898d!important}
.nav-subitem .nav-sub-icon{width:18px!important;min-width:18px!important;display:inline-grid!important;place-items:center!important;color:currentColor!important;font-size:14px!important;line-height:1!important}

.unloaded-equipment-list{display:grid;gap:0}
.unloaded-equipment-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #dce4eb}
.unloaded-equipment-row:last-child{border-bottom:0}
.unloaded-equipment-image{width:64px;height:48px;display:grid;place-items:center;overflow:hidden}
.unloaded-equipment-image img{max-width:64px;max-height:48px;object-fit:contain}
.unloaded-equipment-copy{min-width:0;overflow-wrap:anywhere}
.unloaded-equipment-copy strong{display:block;color:#10223c;font-size:16px;line-height:1.2}
.unloaded-equipment-copy p{margin:5px 0 0;color:#6f839a;font-size:13px;font-weight:600}
.unloaded-equipment-delete{flex:none;white-space:nowrap;padding:8px 11px!important;font-size:11px!important}
@media(max-width:620px){.unloaded-equipment-row{grid-template-columns:50px minmax(0,1fr);gap:10px}.unloaded-equipment-image{width:50px;height:42px}.unloaded-equipment-image img{max-width:50px;max-height:42px}.unloaded-equipment-delete{grid-column:2;justify-self:start}}

.container-list-page .container-list{display:grid;gap:14px}
.container-list-card{overflow:hidden;border:1px solid #d8e4eb;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(23,52,75,.045);cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}
.container-list-card:hover{transform:translateY(-1px);border-color:#b8d5da;box-shadow:0 9px 24px rgba(23,52,75,.08)}
.container-list-card.is-unloaded{border-left:4px solid #2a9c63}
.container-list-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px 14px;border-bottom:1px solid #e5edf0;background:linear-gradient(120deg,#fff 0%,#f8fbfc 100%)}
.container-list-identity{min-width:0}.container-list-identity h2{margin:8px 0 4px;color:#14243b;font-size:21px;letter-spacing:-.02em}.container-list-identity p{margin:0;color:#8393a5;font-size:11px;font-weight:600}
.container-list-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.container-list-actions .btn{min-height:36px;padding:0 12px;font-size:11px}.container-list-actions .container-edit-btn{border-color:#b8dadd;background:#f3fbfb;color:#07898d}
.container-list-card-body{display:grid;grid-template-columns:minmax(270px,1.1fr) minmax(360px,1.5fr);gap:0;padding:18px 20px}.container-list-cargo{display:flex;align-items:center;gap:16px;min-width:0;padding-right:24px;border-right:1px solid #e3ebee}.container-list-thumb{width:86px;height:68px;display:grid;place-items:center;flex:none;overflow:hidden;border:1px solid #d7e6e9;border-radius:12px;background:linear-gradient(145deg,#f4fafb,#e9f4f4)}.container-list-machine-image{display:block;width:100%;height:100%;padding:5px;object-fit:contain}.container-list-placeholder{color:#07898d;font-size:30px}.container-list-cargo-copy{display:grid;gap:4px;min-width:0}.container-list-cargo-copy small,.container-list-facts small{color:#7d8ea0;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.container-list-cargo-copy strong{overflow:hidden;color:#192e48;font-size:16px;line-height:1.25;text-overflow:ellipsis}.container-list-cargo-copy span{color:#07898d;font-size:11px;font-weight:700}.container-list-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;padding-left:24px}.container-list-facts div{display:grid;gap:4px;min-width:0}.container-list-facts strong{overflow:hidden;color:#263b53;font-size:12px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.container-list-card-body{grid-template-columns:1fr;gap:16px}.container-list-cargo{padding:0 0 16px;border-right:0;border-bottom:1px solid #e3ebee}.container-list-facts{padding-left:0}}
@media(max-width:620px){.container-list-card-head{display:grid;padding:15px}.container-list-actions{justify-content:flex-start}.container-list-card-body{padding:15px}.container-list-cargo{padding-right:0}.container-list-facts{grid-template-columns:1fr 1fr;gap:13px}.container-list-identity h2{font-size:19px}}

.container-tracking-card{grid-column:auto;min-height:0}.container-tracking-card header{display:flex;align-items:center;gap:10px}.container-tracking-card header>div{flex:1;min-width:0}.container-tracking-card header .planning-edit-btn{flex:none;white-space:nowrap}.container-tracking-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;padding:15px 0 2px}.container-tracking-body>div{display:grid;gap:5px;min-width:0}.container-tracking-body>div:last-child{grid-column:1/-1}.container-tracking-body small{color:#7c8da0;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.container-tracking-body strong{color:#223950;font-size:14px;overflow-wrap:anywhere}.container-tracking-body strong.tracking-muted{color:#8897aa;font-weight:600}.container-tracking-body span{color:#6f8298;font-size:11px;font-weight:600}.container-tracking-body .tracking-error{color:#b64045}.container-tracking-card:has(.tracking-error){border-color:#e9c6c8;background:#fffafa}
@media(max-width:760px){.container-tracking-body{grid-template-columns:1fr 1fr;gap:14px}.container-tracking-body>div:last-child{grid-column:1/-1}}

.v4-facts a{color:inherit;text-decoration:none;cursor:pointer}
.v4-facts a:hover{color:var(--teal);text-decoration:underline}
.access-team-panel{overflow:hidden}.access-team-intro{margin:-8px -8px 20px;padding:14px 18px;border-radius:12px;background:#eef9f9;color:#4a6684;font-weight:600}.access-actions{display:flex;justify-content:flex-end;gap:8px;white-space:nowrap}.access-actions .danger{color:#bd424b;border-color:#efb5ba}
dialog:has(#accessUserForm){width:min(980px,calc(100vw - 32px));max-height:calc(100vh - 32px);border:1px solid #d9e5ea;border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 28px 80px rgba(16,43,65,.22)}
dialog:has(#accessUserForm) .modal-card>header{padding:24px 30px 20px;border-bottom:1px solid #dce7eb;background:linear-gradient(180deg,#fff 0%,#fbfdfd 100%)}
dialog:has(#accessUserForm) .modal-card h2{font-size:30px;line-height:1.08;letter-spacing:-.035em;color:#101d35}
dialog:has(#accessUserForm) .modal-content{padding:22px 30px 28px;max-height:calc(100vh - 144px);background:#f7fafb;overflow:auto}
.access-user-form{display:grid;gap:16px;padding-right:2px}.access-user-form>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.access-user-form>.form-grid>label{padding:11px 13px 12px;border:1px solid #d8e5e9;border-radius:11px;background:#fff;color:#4e637c;font-size:12px;font-weight:800}.access-user-form>.form-grid input,.access-user-form>.form-grid select{height:42px;margin-top:7px;padding:8px 10px;border-radius:8px;background:#fbfdfe;font-size:13px}
.access-full-note{margin:0;padding:12px 14px;border-radius:10px;background:#fff8e7;color:#735b1d;font-size:13px;line-height:1.4}.access-permission-fields{display:grid;gap:12px}.access-permission-group{border:1px solid #d8e4ed;border-radius:14px;padding:14px;background:#fff}.access-permission-group h4{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#173554;font-size:16px;line-height:1.2}.access-permission-group h4:before{content:' ';width:7px;height:7px;border-radius:50%;background:#078f94;flex:none}.access-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.access-permission-group:first-child .access-permission-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.access-permission{display:grid!important;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-height:54px;padding:10px 11px;border:1px solid #e0e9ee;border-radius:10px;background:#f6fafb;cursor:pointer;text-align:left!important;transition:border-color .15s,background .15s,box-shadow .15s}.access-permission:hover{border-color:#9bd0d1;background:#eefafa}.access-permission:has(input:checked){border-color:#8ac8c9;background:#eaf8f7;box-shadow:0 0 0 2px rgba(7,143,148,.08)}.access-permission input{width:18px!important;height:18px;margin:1px 0 0!important;accent-color:#078f94}.access-permission span{display:grid;gap:3px;min-width:0;text-align:left!important}.access-permission strong{font-size:13px;line-height:1.18;color:#173554}.access-permission small{font-size:10px;line-height:1.18;color:#8192a8}.access-permission-fields.is-disabled{opacity:.55;pointer-events:none}.access-active{display:flex;align-items:center;gap:8px;margin:0;font-weight:600;color:#173554}.access-active input{width:17px!important;height:17px;margin:0!important;accent-color:#078f94}.access-user-form>.form-actions{margin-top:0;padding-top:16px}.access-user-form>.form-actions .btn{min-height:42px;border-radius:9px;padding:0 16px}
@media(max-width:760px){dialog:has(#accessUserForm){width:calc(100vw - 18px);border-radius:16px}dialog:has(#accessUserForm) .modal-card>header{padding:20px 20px 18px}dialog:has(#accessUserForm) .modal-card h2{font-size:24px}dialog:has(#accessUserForm) .modal-content{padding:18px 18px 22px}.access-user-form>.form-grid{grid-template-columns:1fr}.access-permission-grid,.access-permission-group:first-child .access-permission-grid{grid-template-columns:1fr}.access-actions{flex-wrap:wrap;justify-content:flex-start}}
.access-presets{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0 2px}.access-presets .btn{min-height:34px;padding:0 12px;font-size:11px}.access-presets span{color:#7f8fa3;font-size:11px}.access-copy-form{display:grid;gap:16px}.access-copy-grid{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:end;gap:12px;padding:16px;border:1px solid #d8e5e9;border-radius:14px;background:#fff}.access-copy-grid label{padding:11px 13px 12px;border:1px solid #d8e5e9;border-radius:11px;background:#fbfdfe;color:#4e637c;font-size:12px;font-weight:800}.access-copy-grid select{height:44px;margin-top:7px;border-radius:8px;background:#fff;font-size:13px}.access-copy-arrow{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e6f5f4;color:#07898d;font-size:22px;font-weight:800;margin-bottom:6px}.access-copy-note{padding:12px 14px;border-radius:10px;background:#eef9f9;color:#4a6684;font-size:13px;line-height:1.4}.access-copy-form>.form-actions{margin-top:0;padding-top:16px}@media(max-width:620px){.access-copy-grid{grid-template-columns:1fr;gap:10px}.access-copy-arrow{transform:rotate(90deg);justify-self:center;margin:0}}
.completed-work-row-facts{display:flex;align-items:flex-start;gap:clamp(10px,1.5vw,22px);min-width:0;overflow:visible}
.completed-work-row-facts .work-measure{display:grid;gap:3px;min-width:0;flex:1 1 0}
.completed-work-row-facts .work-measure strong{overflow:visible;color:#29425b;font-size:13px;line-height:1.15;text-overflow:clip;white-space:nowrap}
.completed-work-row-facts .work-measure small{overflow:visible;color:#7d91a7;font-size:10px;font-weight:700;line-height:1.15;text-overflow:clip;white-space:nowrap}
@media(max-width:900px){.completed-work-row-facts{flex-wrap:wrap;gap:8px 16px}.completed-work-row-facts .work-measure{flex:1 1 78px}}
.v4-machine-card:not(.container-v4-machine) .v4-facts{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Keep the request workspace readable on 1366px desktop screens where the
   fixed sidebar leaves a narrower content area than the viewport suggests. */
@media (min-width:761px) and (max-width:1420px){
 .v4-page{padding-left:16px;padding-right:16px}
 .v4-grid-top>.completed-work-card .completed-work-row{grid-template-columns:minmax(62px,.55fr) minmax(100px,1fr) minmax(110px,1.15fr) minmax(116px,1.2fr) minmax(88px,.7fr) 24px;gap:8px;padding:10px 9px}
 .v4-grid-top>.completed-work-card .completed-work-row-date strong,.v4-grid-top>.completed-work-card .completed-work-row-equipment strong,.v4-grid-top>.completed-work-card .completed-work-row-worker strong{font-size:11px;line-height:1.15}
 .v4-grid-top>.completed-work-card .completed-work-row-date small,.v4-grid-top>.completed-work-card .completed-work-row-equipment small,.v4-grid-top>.completed-work-card .completed-work-row-worker small{font-size:9px;line-height:1.1;white-space:normal;overflow-wrap:anywhere}
 .v4-grid-top>.completed-work-card .completed-work-row-worker strong{white-space:normal;overflow-wrap:anywhere}
 .v4-grid-top>.completed-work-card .completed-work-row-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .v4-grid-top>.completed-work-card .completed-work-row-facts .work-measure{min-width:0}
 .v4-grid-top>.completed-work-card .completed-work-row-facts strong{font-size:11px}
 .v4-grid-top>.completed-work-card .completed-work-row-facts small{font-size:8px;line-height:1.05;white-space:normal;overflow-wrap:anywhere}
 .v4-grid-top>.completed-work-card .completed-work-row-status span{min-height:25px;padding:4px 7px;font-size:9px}
}

/* Minimal first-step create-order form. */
dialog:has(#partsOrderForm.parts-order-minimal-form){width:min(760px,calc(100vw - 28px));border-radius:22px}
dialog:has(#partsOrderForm.parts-order-minimal-form) .modal-content{padding:28px 34px 30px;background:#f8fbfc}
dialog:has(#partsOrderForm.parts-order-minimal-form) .modal-card>header{padding:26px 34px 22px;background:#fff}
dialog:has(#partsOrderForm.parts-order-minimal-form) .modal-card h2{font-size:30px;letter-spacing:-.035em;color:#10213e}
.parts-order-minimal-form{display:grid;gap:20px}
.parts-order-client-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.parts-order-client-field{min-width:0}
.parts-order-add-client{height:50px;white-space:nowrap;border-color:#b9dfe1;background:#f2fbfb;color:#087f83}
.parts-order-minimal-fields{display:grid;grid-template-columns:minmax(0,1fr)}
.parts-order-minimal-field,.parts-order-minimal-note{display:block;padding:0;color:#4e637c;font-size:13px;font-weight:800}
.parts-order-minimal-form select,.parts-order-minimal-form textarea,.parts-order-minimal-form input:not([type="hidden"]){margin-top:8px;border:1px solid #cbdbe2;border-radius:11px;background:#fff;color:#182a43;box-shadow:none}
.parts-order-minimal-form select{height:50px;padding:10px 40px 10px 14px;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#63778b 50%),linear-gradient(135deg,#63778b 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 11px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat}
.parts-order-minimal-form textarea{height:128px;min-height:128px;resize:vertical;padding:13px 14px}
.parts-order-minimal-form input:not([type="hidden"]){height:52px;padding:12px 14px}
.parts-order-minimal-form input:focus,.parts-order-minimal-form select:focus,.parts-order-minimal-form textarea:focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.12);background:#fff}
.parts-order-minimal-items{display:grid;gap:10px;padding-top:21px;border-top:1px solid #dce7eb}
.parts-order-minimal-item{display:grid;grid-template-columns:minmax(112px,.85fr) minmax(175px,1.8fr) 78px minmax(132px,1fr) 38px;gap:9px;align-items:center}
.parts-order-minimal-item input{min-width:0}
.parts-order-minimal-item input[type="number"]{appearance:textfield}
.parts-order-minimal-item input[type="number"]::-webkit-inner-spin-button,.parts-order-minimal-item input[type="number"]::-webkit-outer-spin-button{opacity:1}
.parts-order-minimal-remove{width:42px;min-width:42px;height:42px;padding:0;border-radius:10px;font-size:24px;line-height:1;color:#c52f41;background:#fff1f3;border-color:#f0b8c0}
.parts-order-minimal-item-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.parts-order-minimal-item-actions .btn{min-height:42px;border-radius:10px;padding:0 15px;color:#087f83;border-color:#b9dfe1;background:#f2fbfb}
.parts-order-minimal-import-label{cursor:pointer}
.parts-order-minimal-template-link{text-decoration:none}
.parts-order-minimal-import-help{margin:-13px 0 0;color:#7a8ea2;font-size:11px;font-weight:600}
.parts-order-minimal-import-status{margin:-9px 0 0;color:#087f83;font-size:12px;font-weight:700}
.parts-order-minimal-import-status.is-error{color:#c52f41}
.parts-order-transport{margin:0;padding:17px 18px 15px;border:1px solid #cfe2e5;border-radius:13px;background:#fff}
.parts-order-transport legend{padding:0 7px;color:#12233d;font-size:14px;font-weight:800}
.parts-order-transport-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.parts-order-transport-option{display:flex;align-items:center;gap:9px;min-height:50px;padding:10px 12px;border:1px solid #b9dfe1;border-radius:10px;background:#f2fbfb;color:#087f83;font-size:12px;font-weight:800;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.parts-order-transport-option:hover{border-color:#07898d;background:#eaf8f8}
.parts-order-transport-option:has(input:checked){border-color:#07898d;background:#e5f6f5;box-shadow:0 0 0 2px rgba(7,137,141,.08)}
.parts-order-transport-option input{width:17px;height:17px;margin:0;accent-color:#07898d}
.parts-order-transport>p{margin:12px 0 0;color:#74889b;font-size:11px;font-weight:600}
.parts-order-detail-items-card{min-height:0;overflow:hidden}
.parts-order-detail-items-card .parts-order-detail-items{display:grid;grid-template-columns:1fr;gap:0;align-content:start;height:420px!important;max-height:420px!important;min-height:0;overflow-y:scroll!important;padding-right:9px;scrollbar-gutter:stable;scrollbar-color:#9fc8cb #f3f8f8;scrollbar-width:thin}
.parts-order-detail-items-card .parts-order-item-card{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(220px,2fr) 90px;align-items:center;gap:14px;min-height:62px;padding:12px 14px;border:0;border-top:1px solid #dfe8ef;border-radius:0;background:#fff}
.parts-order-detail-items-card .parts-order-item-card:last-child{border-bottom:1px solid #dfe8ef}
.parts-order-detail-items-card .parts-order-item-card:nth-child(even){background:#f9fcfc}
.parts-order-detail-items-card .parts-order-item-card strong{font-size:13px}
.parts-order-detail-items-card .parts-order-item-card span{font-size:13px}
.parts-order-detail-items-card .parts-order-item-card small{display:none}
.parts-order-detail-items-card .parts-order-detail-items::-webkit-scrollbar{width:8px}
.parts-order-detail-items-card .parts-order-detail-items::-webkit-scrollbar-track{border-radius:8px;background:#f3f8f8}
.parts-order-detail-items-card .parts-order-detail-items::-webkit-scrollbar-thumb{border:2px solid #f3f8f8;border-radius:8px;background:#9fc8cb}
@media(max-width:780px){.parts-order-detail-items-card .parts-order-detail-items{height:calc(100vh - 390px)!important;max-height:calc(100vh - 390px)!important;min-height:190px}}
@media(max-width:780px){.parts-order-detail-items-card .parts-order-item-card{grid-template-columns:minmax(120px,.8fr) minmax(0,1.6fr) 74px;gap:10px}}
@media(max-width:480px){.parts-order-detail-items-card .parts-order-detail-items{height:calc(100vh - 350px)!important;max-height:calc(100vh - 350px)!important;min-height:170px}.parts-order-detail-items-card .parts-order-item-card{grid-template-columns:minmax(0,1fr) 76px;gap:7px;padding:11px 10px}.parts-order-detail-items-card .parts-order-item-card strong{grid-column:1/-1}.parts-order-detail-items-card .parts-order-item-card span{grid-column:2;grid-row:2}}
dialog:has(#partsOrderForm.parts-order-minimal-form) .form-actions{margin-top:0;padding-top:21px;border-top:1px solid #dce7eb}
dialog:has(#partsOrderForm.parts-order-minimal-form) .form-actions .btn{min-height:46px;border-radius:10px;padding:0 20px}
dialog:has(#partsOrderForm.parts-order-minimal-form) .form-actions .btn.primary{background:#07898d;border-color:#07898d}
@media(max-width:760px){dialog:has(#partsOrderForm.parts-order-minimal-form){width:calc(100vw - 18px);border-radius:16px}dialog:has(#partsOrderForm.parts-order-minimal-form) .modal-card>header{padding:20px 20px 18px}dialog:has(#partsOrderForm.parts-order-minimal-form) .modal-card h2{font-size:24px}dialog:has(#partsOrderForm.parts-order-minimal-form) .modal-content{padding:20px 18px 22px}.parts-order-client-row{grid-template-columns:1fr}.parts-order-add-client{width:100%}.parts-order-transport-options{grid-template-columns:1fr}.parts-order-minimal-items{padding-top:16px}.parts-order-minimal-item{grid-template-columns:minmax(0,1fr) 76px 38px;gap:7px}.parts-order-minimal-item input[name="item_description"]{grid-column:1/-1;grid-row:1}.parts-order-minimal-item input[name="item_part_number"]{grid-column:1;grid-row:2}.parts-order-minimal-item input[name="item_quantity"]{grid-column:2;grid-row:2}.parts-order-minimal-item input[name="item_unit_price"]{grid-column:1/3;grid-row:3}.parts-order-minimal-remove{grid-column:3;grid-row:2;width:38px;min-width:38px;height:42px}.parts-order-minimal-item-actions .btn{flex:1}dialog:has(#partsOrderForm.parts-order-minimal-form) .form-actions{flex-wrap:wrap}dialog:has(#partsOrderForm.parts-order-minimal-form) .form-actions .btn{flex:1}}

.reports-page .report-filters-panel{padding:18px;margin-bottom:18px;overflow:visible}
.reports-page .report-filters-grid{gap:12px}
.reports-page .report-filters-panel .form-actions{margin-top:14px;padding-top:14px}
.reports-page .report-stats{margin-bottom:18px}
.reports-page .report-results .panel-head small{display:block;color:var(--muted);font-weight:500;margin-top:4px}
.reports-page .report-table{min-width:1120px}
@media print{
 .sidebar,.topbar,.report-filters-panel,.reports-page .head-actions,.notification-drawer,.drawer-backdrop,.toast-stack{display:none!important}
 .workspace{grid-column:1}
 .page{padding:12px}
 .panel,.stat-card{box-shadow:none}
}

.request-row{cursor:pointer}
.request-row:hover{background:#f5fbfb}
.request-favorite-mark{display:inline-block;margin-left:6px;color:#e3a722;font-size:13px;line-height:1;vertical-align:middle}

.client-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:18px;padding:22px 24px;border:1px solid #cfe4e6;border-radius:12px;background:linear-gradient(135deg,#f2fbfb,#fff);box-shadow:0 4px 14px rgba(26,61,80,.05)}
.client-summary h2{margin:0;color:#193451;font-size:25px}.client-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.client-facts small,.client-notes small{display:block;color:#7d91a5;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.client-facts strong{display:block;margin-top:5px;color:#29445e;overflow-wrap:anywhere}.client-notes{margin:18px 0 0;padding-top:14px;border-top:1px solid #dfecee;color:#526b83;line-height:1.5}
@media(max-width:760px){.client-facts{grid-template-columns:1fr}.client-summary{padding:18px}.client-summary+.panel .panel-head{align-items:flex-start;gap:10px;flex-wrap:wrap}}

.documents-panel{overflow:hidden}
.documents-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 12px;border-bottom:1px solid #e2ecef}
.documents-toolbar h2{margin:0;color:#193451;font-size:20px;letter-spacing:-.02em}.documents-toolbar p{margin:5px 0 0;color:#8192a7;font-size:12px;font-weight:600}
.documents-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.documents-summary span{padding:7px 10px;border-radius:999px;background:#eef8f8;color:#287d82;font-size:11px;font-weight:800;white-space:nowrap}
.documents-filters{display:flex;flex-wrap:wrap;gap:8px;padding:14px 22px 4px}.document-filter{min-height:36px;padding:0 14px;border:1px solid #d7e5e9;border-radius:999px;background:#fff;color:#637a91;font-size:12px;font-weight:800;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.document-filter b{margin-left:5px;color:inherit}.document-filter:hover{border-color:#89c8ca;color:#087f84}.document-filter.active{border-color:#078f94;background:#078f94;color:#fff}
.documents-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;padding:18px 22px 24px}.document-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #d9e6ea;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(26,61,80,.05);transition:transform .16s,box-shadow .16s,border-color .16s}.document-card:hover{transform:translateY(-2px);border-color:#9bcfd1;box-shadow:0 10px 22px rgba(26,61,80,.11)}.document-card-preview{display:block;position:relative;height:174px;overflow:hidden;background:linear-gradient(145deg,#f3f9fa,#e8f2f4);color:inherit;text-decoration:none}.document-card-preview img{display:block;width:100%;height:100%;object-fit:cover}.document-card-preview iframe{display:block;width:100%;height:100%;border:0;pointer-events:none;background:#fff}.document-card-file-preview{display:grid;height:100%;place-items:center;align-content:center;gap:8px;color:#07898d;text-align:center}.document-card-file-preview strong{font-size:42px;line-height:1;letter-spacing:.04em}.document-card-file-preview span{color:#6f8499;font-size:11px;font-weight:700}.document-card-meta{display:grid;gap:7px;min-width:0;padding:12px 13px 14px}.document-card-name{overflow:hidden;color:#1a3653;font-size:13px;font-weight:800;line-height:1.25;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.document-card-name:hover{color:#07898d;text-decoration:underline}.document-card-meta small{overflow:hidden;color:#8092a5;font-size:10px;font-weight:600;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.document-card-source{justify-self:start;padding:0;border:0;background:none;color:#07898d;font-size:11px;font-weight:800;cursor:pointer}.document-card-source:hover{text-decoration:underline}.documents-empty{display:grid;justify-items:center;gap:6px;padding:48px 20px 54px;color:#7c8ea3;text-align:center}.documents-empty .empty-icon{font-size:30px;color:#82bfc1}.documents-empty strong{color:#506a84;font-size:15px}.documents-empty p{max-width:440px;margin:0;font-size:12px;font-weight:600}
@media(max-width:700px){.documents-toolbar{display:grid;padding:16px}.documents-summary{justify-content:flex-start}.documents-filters{padding:12px 16px 2px}.documents-gallery{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;padding:14px 16px 18px}.document-card-preview{height:132px}.document-card-meta{padding:10px}.document-card-name{font-size:12px}}
.request-status-filters{margin-top:-6px}
.request-status-filters .filter-chip b{margin-left:5px;font-size:11px;opacity:.8}
.request-status-group{margin-top:26px}
.request-status-group:first-of-type{margin-top:0}
.request-status-group+.request-status-group{border-top:0}
.request-status-group+.request-status-finished{margin-top:52px}
.request-status-group-head{display:flex;align-items:center;gap:10px;padding:16px 18px 12px}
.request-status-group-head h2{margin:0;color:#193451;font-size:18px;letter-spacing:-.02em}
.request-status-group-head span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:24px;padding:0 8px;border-radius:999px;background:#eef5fb;color:#5e7691;font-size:12px;font-weight:800}
.request-status-finished{padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.request-status-finished .request-status-group-head{position:relative;display:flex;align-items:center;gap:11px;min-height:43px;margin:0 0 11px;padding:0 16px;overflow:hidden;border-radius:7px;background:#078b90;box-shadow:0 2px 5px rgba(7,139,144,.2)}
.request-status-finished .request-status-group-head::before,.request-status-finished .request-status-group-head::after{position:absolute;right:0;left:0;height:2px;background:#69c7c5;content:"";pointer-events:none}
.request-status-finished .request-status-group-head::before{top:0}
.request-status-finished .request-status-group-head::after{bottom:0}
.request-status-finished .request-status-group-head h2{color:#fff;font-size:15px;font-weight:800;letter-spacing:.15px}
.request-status-finished .request-status-group-head h2::before{display:inline-grid;width:21px;height:21px;place-items:center;margin-right:11px;border:1px solid #b8e6e4;border-radius:50%;color:#e3f7f6;content:"✓";font-size:12px;vertical-align:middle}
.request-status-finished .request-status-group-head span{min-width:26px;height:22px;padding:0 7px;border:1px solid rgba(224,249,248,.62);border-radius:12px;background:#06777c;color:#fff;font-size:11px}
.request-status-finished .table-wrap{overflow-x:auto;overflow-y:hidden;border:1px solid #d9e3ec;border-left:0;border-radius:13px;background:#fff;box-shadow:0 2px 6px rgba(29,55,78,.035)}
.status.s-completed,.status.s-closed{background:#d8f5e6;color:#087e4e}.status.s-issued{background:#fde9ec;color:#c52d3d}
.request-serial{display:inline-block;margin-top:3px;color:#8a9aae;font-size:12px!important;font-weight:500;letter-spacing:.01em;line-height:1.25}
.request-1c-field{display:grid;gap:3px;min-width:148px;padding-left:12px;border-left:1px solid #dfe8ec}.request-1c-field small,.request-1c-field label{display:block;color:#7d8ea0;font-size:9px;font-weight:800;line-height:1.1}.request-1c-field>strong{display:block;color:#193650;font-size:12px;line-height:1.2}.request-1c-editor>div{display:flex;align-items:center;gap:4px}.request-1c-editor input{width:92px;height:29px;margin:0;padding:5px 8px;border:1px solid #cbdbe2;border-radius:6px;background:#fff;color:#1c334d;font-size:11px;font-weight:700;outline:0}.request-1c-editor input:focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.1)}.request-1c-lock{width:29px;height:29px;padding:0;border:1px solid #9bc8ca;border-radius:6px;background:#eef9f8;color:#087d81;font-size:13px;line-height:1;cursor:pointer}.request-1c-lock:hover{background:#dff3f1}.request-1c-lock:disabled{opacity:.55;cursor:wait}.request-1c-editor>small{font-size:8px!important;font-weight:600!important;color:#97a5b3!important}.request-1c-locked strong{color:#07898d}.request-1c-empty strong{color:#94a1ae;font-weight:600}
.request-related-links{display:inline-grid;gap:3px;min-width:120px;margin:0 0 0 10px;padding-left:10px;border-left:1px solid #dfe8ec;vertical-align:top}.request-related-links small{color:#7d8ea0;font-size:9px;font-weight:800;line-height:1.1}.request-related-links button{padding:0;border:0;background:none;color:#07898d;text-align:left;font-size:12px;font-weight:800;cursor:pointer}.request-related-links button:hover{text-decoration:underline}
@media(max-width:760px){.request-1c-field{width:100%;padding-left:0;border-left:0}.request-1c-editor{max-width:170px}}

/* Request register filters: compact, grouped controls instead of oversized pills. */
.request-filters,
.request-status-filters{
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:7px;
 margin:0;
}
.request-filters{
 width:max-content;
 max-width:100%;
 margin-bottom:10px;
 padding:5px;
 border:1px solid #e1ebee;
 border-radius:11px;
 background:#f6fafb;
}
.request-status-filters{
 margin-top:0;
 padding-top:10px;
 border-top:1px solid #e7edf0;
}
.request-filters .filter-chip,
.request-status-filters .filter-chip{
 height:32px;
 padding:0 11px;
 border:1px solid #d6e2e6;
 border-radius:8px;
 background:#fff;
 color:#586d84;
 font-size:12px;
 line-height:1;
 box-shadow:none;
 transition:background .15s,color .15s,border-color .15s,transform .15s;
}
.request-filters .filter-chip:hover,
.request-status-filters .filter-chip:hover{
 border-color:#92c5c7;
 background:#f2fbfb;
 color:#087f84;
 transform:translateY(-1px);
}
.request-filters .filter-chip.active,
.request-status-filters .filter-chip.active{
 border-color:#078f94;
 background:#078f94;
 color:#fff;
}
.request-status-filters .filter-chip b{
 display:inline-grid;
 min-width:18px;
 height:18px;
 place-items:center;
 margin-left:5px;
 padding:0 5px;
 border-radius:9px;
 background:#edf2f4;
 color:#64788b;
 font-size:10px;
 line-height:1;
 opacity:1;
}
.request-status-filters .filter-chip.active b{
 background:rgba(255,255,255,.22);
 color:#fff;
}
.request-status-global-toolbar{gap:8px;flex-wrap:wrap}
.request-status-global-toolbar #bulkToggleRequestFavorites{margin-left:auto;border-color:#b8dede;background:#effafa;color:#087f84}
.request-status-global-toolbar #bulkToggleRequestFavorites:hover{background:#e0f4f3}
.request-status-global-toolbar #bulkDeleteRequests{margin-left:0}
.request-status-global-toolbar .btn:disabled{opacity:.65;cursor:wait}
@media(max-width:640px){
 .request-filters{width:100%;}
 .request-filters .filter-chip,
 .request-status-filters .filter-chip{flex:1 1 auto;}
}

/* The urgent/normal legend is useful on desktop, but takes a full extra row
   on the compact mobile request register. */
@media(max-width:760px){
 .request-priority-legend{display:none!important}
}

/* Keep type and status filters on one compact toolbar when there is room. */
.request-filters,
.request-status-filters{
 display:inline-flex;
 vertical-align:middle;
}
.request-filters{
 margin-right:8px;
 margin-bottom:0;
}
.request-status-filters{
 margin-top:0;
 padding:5px;
 border:1px solid #e1ebee;
 border-top:1px solid #e1ebee;
 border-radius:11px;
 background:#f6fafb;
}
@media(max-width:900px){
 .request-filters,
 .request-status-filters{
  display:flex;
  width:100%;
 }
 .request-filters{margin-right:0;margin-bottom:8px;}
 .request-status-filters{padding-top:5px;}
}

/* New requests start with the essentials; operational details can be added
   later from the request card. */
#requestForm .form-grid>label:has([name="source"]),
#requestForm .form-grid>label:has([name="status"]),
#requestForm .form-grid>label:has([name="scheduled_at"]),
#requestForm .form-grid>label:has([name="assigned_to"]),
#requestForm .form-grid>label:has([name="mileage_at_service"]),
#requestForm .form-grid>label:has([name="duration_minutes"]),
#requestForm .form-grid>label:has([name="oil_data"]),
#requestForm .form-grid>label:has([name="checklist"]),
#requestForm .form-grid>label:has([name="parts_needed"]),
#requestForm .form-grid>label:has([name="parts_installed"]),
#requestForm .form-grid>label:has([name="additional_work"]){
 display:none!important;
}
.registry-search-bar{display:flex;align-items:center;gap:10px;width:min(760px,100%);height:42px;margin:0 0 16px;padding:0 13px;border:1px solid #d5dfe7;border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(28,49,72,.04)}.registry-search-bar>span{font-size:22px;color:#587087}.registry-search-bar input{width:100%;height:40px;margin:0;padding:0;border:0;outline:0;background:transparent;color:#253750;font:inherit}.registry-search-bar input::placeholder{color:#91a0b2}.registry-search-bar input:focus{box-shadow:none}.request-status-group[hidden]{display:none!important}
.portal-back-row{display:flex;align-items:center;margin:0 0 10px}.portal-back-button{height:34px;padding:0 13px;border:1px solid #d5dfe7;border-radius:7px;background:#fff;color:#50657d;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 1px 2px rgba(28,49,72,.04)}.portal-back-button:hover{border-color:#07898d;color:#00777b;background:#f6fbfb}.parts-orders-back-row{justify-content:space-between;gap:12px}.parts-orders-back-row>[data-action="new-parts-order"]{margin-left:auto;white-space:nowrap}.detail-breadcrumb.portal-back-breadcrumb,.v4-crumb.portal-back-breadcrumb{gap:12px;flex-wrap:nowrap;white-space:nowrap}.detail-breadcrumb.portal-back-breadcrumb .portal-back-row,.v4-crumb.portal-back-breadcrumb .portal-back-row{flex:0 0 auto;margin:0 6px 0 0}.v4-crumb.portal-back-breadcrumb{height:34px;align-items:center}
.request-status-group .table-wrap{overflow-x:auto}.request-status-group .data-table{width:100%;min-width:1516px;table-layout:fixed}.request-status-group .data-table .req-col-check{width:42px}.request-status-group .data-table .req-col-code{width:118px}.request-status-group .data-table .req-col-1c{width:108px}.request-status-group .data-table .req-col-date{width:140px}.request-status-group .data-table .req-col-equipment{width:250px}.request-status-group .data-table .req-col-client{width:190px}.request-status-group .data-table .req-col-type{width:150px}.request-status-group .data-table .req-col-work{width:370px}.request-status-group .data-table .req-col-status{width:190px}.request-status-group .data-table th,.request-status-group .data-table td{overflow:hidden;text-overflow:ellipsis}
.request-status-group .data-table{min-width:0}.request-status-group .data-table .req-col-code{width:9%}.request-status-group .data-table .req-col-1c{width:7%}.request-status-group .data-table .req-col-date{width:10%}.request-status-group .data-table .req-col-equipment{width:17%}.request-status-group .data-table .req-col-client{width:12%}.request-status-group .data-table .req-col-type{width:8%}.request-status-group .data-table .req-col-work{width:22%}.request-status-group .data-table .req-col-status{width:15%}.request-status-group .data-table:has(.req-col-check) .req-col-check{width:3%}.request-status-group .data-table:has(.req-col-check) .req-col-code{width:9%}.request-status-group .data-table:has(.req-col-check) .req-col-1c{width:7%}.request-status-group .data-table:has(.req-col-check) .req-col-date{width:10%}.request-status-group .data-table:has(.req-col-check) .req-col-equipment{width:17%}.request-status-group .data-table:has(.req-col-check) .req-col-client{width:12%}.request-status-group .data-table:has(.req-col-check) .req-col-type{width:8%}.request-status-group .data-table:has(.req-col-check) .req-col-work{width:21%}.request-status-group .data-table:has(.req-col-check) .req-col-status{width:13%}.request-status-group .data-table .status{white-space:normal;line-height:1.2;text-align:center;justify-content:center}
@media(max-width:900px){.request-status-group .data-table th,.request-status-group .data-table td{padding:9px 8px;font-size:11px}.request-status-group .data-table td small{font-size:10px}}
@media(max-width:640px){.request-status-group .data-table th,.request-status-group .data-table td{padding:7px 5px;font-size:10px}.request-status-group .data-table .status{padding:4px 6px;font-size:10px}}
.page-head.has-inline-registry-search,.page-head.has-inline-equipment-search{gap:24px}
.page-head.has-inline-registry-search .eyebrow:empty,.page-head.has-inline-registry-search h1:empty,.page-head.has-inline-registry-search .subtitle:empty,.page-head.has-inline-equipment-search .eyebrow:empty,.page-head.has-inline-equipment-search h1:empty,.page-head.has-inline-equipment-search .subtitle:empty{display:none}
.page-head.has-inline-registry-search .requests-inline-back,.page-head.has-inline-equipment-search .requests-inline-back{margin:0}
.page-head.has-inline-registry-search .requests-inline-back .portal-back-button,.page-head.has-inline-equipment-search .requests-inline-back .portal-back-button{height:42px;padding:0 16px;font-size:14px}
.page-head.has-inline-registry-search>div:first-child,.page-head.has-inline-equipment-search>div:first-child{min-width:0}
.page-head.has-inline-registry-search>.head-actions,.page-head.has-inline-equipment-search>.head-actions{flex:1 1 560px;min-width:0;align-items:center;flex-wrap:wrap}
.page-head.has-inline-registry-search .registry-search-bar{flex:1 1 300px;width:auto;max-width:none;min-width:0;margin:0}
.page-head.has-inline-equipment-search .equipment-list-toolbar{flex:1 1 420px;width:auto;min-width:0;margin:0}
.page-head.has-inline-equipment-search .equipment-list-search{width:100%;max-width:none}
.page-head.has-inline-registry-search .head-actions>.btn,.page-head.has-inline-equipment-search .head-actions>.btn{flex:0 0 auto}
@media(max-width:980px){.page-head.has-inline-registry-search,.page-head.has-inline-equipment-search{align-items:flex-start;flex-wrap:wrap}.page-head.has-inline-registry-search>.head-actions,.page-head.has-inline-equipment-search>.head-actions{flex-basis:100%;width:100%;justify-content:flex-start}}
@media(max-width:760px){.page-head.has-inline-registry-search,.page-head.has-inline-equipment-search{flex-direction:column;align-items:stretch}.page-head.has-inline-registry-search>.head-actions,.page-head.has-inline-equipment-search>.head-actions{width:100%;flex-basis:auto}.page-head.has-inline-registry-search .registry-search-bar,.page-head.has-inline-equipment-search .equipment-list-toolbar{flex-basis:100%;width:100%}.page-head.has-inline-equipment-search .equipment-list-toolbar{align-items:stretch;flex-direction:column}.page-head.has-inline-equipment-search .equipment-list-toolbar>strong{padding-left:3px}}
.request-status-group .data-table th,.request-status-group .data-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle}.request-status-group .data-table td.code{white-space:nowrap;overflow-wrap:normal}
.request-status-group .data-table .req-col-code{width:10%}.request-status-group .data-table .req-col-date{width:9%}.request-status-group .data-table:has(.req-col-check) .req-col-check{width:42px;min-width:42px;max-width:42px}.request-status-group .data-table:has(.req-col-check) .req-col-code{width:9.5%}.request-status-group .data-table:has(.req-col-check) .req-col-1c{width:6.5%}.request-status-group .data-table:has(.req-col-check) .req-col-date{width:8.5%}.request-status-group .data-table:has(.req-col-check) .req-col-equipment{width:16.5%}.request-status-group .data-table:has(.req-col-check) .req-col-client{width:11.5%}.request-status-group .data-table:has(.req-col-check) .req-col-type{width:7.5%}.request-status-group .data-table:has(.req-col-check) .req-col-work{width:20.5%}.request-status-group .data-table:has(.req-col-check) .req-col-status{width:13.5%}.request-status-group .data-table .bulk-check{width:42px;min-width:42px;max-width:42px;overflow:visible;text-overflow:clip;white-space:nowrap}.request-status-group .data-table td.code{overflow:visible;text-overflow:clip}
.detail-breadcrumb.portal-back-breadcrumb .portal-back-row .portal-back-button,.v4-crumb.portal-back-breadcrumb .portal-back-row .portal-back-button{height:34px;padding:0 13px;border:1px solid #d5dfe7;border-radius:7px;background:#fff;color:#50657d;font-size:12px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 1px 2px rgba(28,49,72,.04)}.detail-breadcrumb.portal-back-breadcrumb .portal-back-row .portal-back-button:hover,.v4-crumb.portal-back-breadcrumb .portal-back-row .portal-back-button:hover{border-color:#07898d;color:#00777b;background:#f6fbfb}
.model-priority-panel{max-width:1040px}.model-priority-panel>.panel-head{align-items:flex-start}.model-priority-panel>.panel-head p{max-width:720px;margin:6px 0 0;color:#74869d;line-height:1.45}.model-priority-picker{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.3fr) auto;gap:14px;align-items:end;margin:22px 0 24px;padding:18px;border:1px solid #dce7eb;border-radius:12px;background:#f7fbfc}.model-priority-picker label{display:flex;flex-direction:column;gap:7px;color:#50657d;font-weight:700}.model-priority-picker .btn{height:42px;white-space:nowrap}.priority-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;color:#50657d}.priority-list-heading small{color:#90a0b2}.priority-model-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.priority-model-row{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 12px;border:1px solid #dbe6eb;border-radius:10px;background:#fff}.priority-model-position{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e8f4f5;color:#07898d;font-weight:800}.priority-model-name{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1}.priority-model-name strong{color:#50657d;font-size:13px}.priority-model-name span{color:#122541;font-weight:750}.priority-model-actions{display:flex;gap:6px}.priority-model-actions .btn{min-width:34px;height:32px;padding:0 9px}.priority-model-actions .btn:disabled{opacity:.4;cursor:not-allowed}.priority-model-empty{padding:18px;border:1px dashed #cbdbe3;border-radius:10px;color:#8799aa;text-align:center}.model-priority-actions{justify-content:flex-end;margin-top:18px;padding-top:16px;border-top:1px solid #e5edf0}@media(max-width:760px){.model-priority-picker{grid-template-columns:1fr}.model-priority-picker .btn{width:100%}.priority-model-row{align-items:flex-start}.priority-model-actions{margin-left:auto}.priority-model-name{flex-direction:column;gap:2px}}
.settings-menu-panel{max-width:1040px;margin-bottom:16px}.settings-menu-panel>.panel-head{align-items:flex-start}.settings-menu-panel>.panel-head p{max-width:720px;margin:6px 0 0;color:#74869d;line-height:1.45}.settings-menu-entry{display:flex;align-items:center;gap:14px;width:100%;margin-top:18px;padding:15px 17px;border:1px solid #dbe6eb;border-radius:12px;background:#fff;color:#1f3853;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.settings-menu-entry:hover{border-color:#73bfc1;background:#f7fcfc;box-shadow:0 2px 10px rgba(19,61,82,.06)}.settings-menu-entry-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#e8f5f5;color:#07898d;font-size:20px}.settings-menu-entry>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.settings-menu-entry strong{font-size:15px}.settings-menu-entry small{color:#74869d;font-size:12px;line-height:1.35}.settings-menu-entry>b{color:#07898d;font-size:24px;line-height:1}

/* Keep the request type readable on wide tables; give the work column the remaining room. */
.request-status-group .data-table .req-col-type{width:11%!important;min-width:130px}
.request-status-group .data-table .req-col-work{width:22%!important}
.request-status-group .data-table .req-col-client{width:12%!important}
.request-status-group .data-table .req-col-status{width:14%!important}
.request-status-group .data-table:not(:has(.req-col-check)) th:nth-child(6),
.request-status-group .data-table:not(:has(.req-col-check)) td:nth-child(6),
.request-status-group .data-table:has(.req-col-check) th:nth-child(7),
.request-status-group .data-table:has(.req-col-check) td:nth-child(7){white-space:nowrap;overflow-wrap:normal}

/* On compact screens, borrow width from the long work column so common types stay complete. */
@media(max-width:1200px){
  .request-status-group .data-table:has(.req-col-check) .req-col-code{width:8%!important}
  .request-status-group .data-table:has(.req-col-check) .req-col-1c{width:6%!important}
  .request-status-group .data-table:has(.req-col-check) .req-col-date{width:8%!important}
  .request-status-group .data-table:has(.req-col-check) .req-col-equipment{width:14%!important}
  .request-status-group .data-table:has(.req-col-check) .req-col-client{width:9%!important}
  .request-status-group .data-table:has(.req-col-check) .req-col-type{width:18%!important}
  .request-status-group .data-table:has(.req-col-check) .req-col-work{width:18%!important}
  .request-status-group .data-table:has(.req-col-check) .req-col-status{width:14%!important}
  .request-status-group .data-table:has(.req-col-check) th:nth-child(7),
  .request-status-group .data-table:has(.req-col-check) td:nth-child(7){min-width:130px}
}

/* Cell sizing is explicit because fixed-layout tables may ignore min-width on <col>. */
.request-status-group .data-table:not(:has(.req-col-check)) th:nth-child(6),
.request-status-group .data-table:not(:has(.req-col-check)) td:nth-child(6),
.request-status-group .data-table:has(.req-col-check) th:nth-child(7),
.request-status-group .data-table:has(.req-col-check) td:nth-child(7){width:140px!important;min-width:140px!important}

/* A pixel width on the <col> is honored by the fixed table layout. */
.request-status-group .data-table .req-col-type{width:140px!important;min-width:140px!important}
.request-priority-legend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 12px;color:#74869a;font-size:11px;font-weight:700}.request-priority-badge{display:flex;align-items:center;gap:4px;width:max-content;margin-top:5px;padding:3px 7px;border-radius:999px;font-size:9px;font-weight:800;line-height:1.2;white-space:normal}.request-priority-badge.urgent{background:#fff0df;color:#b45b00}.request-priority-badge.normal{background:#eef3f6;color:#64778d}.request-row-priority-high td.code{box-shadow:inset 3px 0 #e87510}.request-row-priority-high td.code .request-priority-badge{box-shadow:0 0 0 1px rgba(232,117,16,.08)}
.request-dropzone{transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.request-dropzone.is-dragover{border-color:var(--teal);background:#eefafa;box-shadow:0 0 0 3px rgba(7,137,141,.14)}.request-dropzone.is-dragover strong{color:var(--teal)}
.parts-order-document-dropzone{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;cursor:pointer}.parts-order-document-dropzone small{color:#71839c;font-size:13px}.order-upload-status{min-height:18px}.order-upload-status.busy{color:#0b8e95}.order-upload-status.error{color:#b32635}
.login-card .login-remember{display:flex;align-items:center;gap:8px;margin-top:16px;color:#687995;font-size:12px;cursor:pointer}.login-card .login-remember input{width:auto;margin:0}

/* Keep the request's type and work visible in the unused area of the machine card. */
.v4-request-summary{grid-column:3;display:grid;grid-template-columns:minmax(100px,.7fr) minmax(150px,1fr);gap:22px;align-items:center;min-width:0;padding:4px 54px 4px 8px;position:relative;left:clamp(-190px,-10vw,-28px)}.v4-request-summary>div{min-width:0;padding-left:13px;border-left:1px solid #e4eaf0}.v4-request-summary small,.v4-request-summary strong{display:block}.v4-request-summary small{color:#8592a3;font-size:10px;font-weight:700}.v4-request-summary strong{margin-top:5px;color:#1f3148;font-size:14px;line-height:1.2;overflow-wrap:anywhere}.v4-machine-card .v4-warranty{grid-column:2/-1}
.v4-request-summary-description{grid-column:1/-1}.v4-request-summary-description strong{display:-webkit-box;overflow:hidden;white-space:pre-line;-webkit-box-orient:vertical;-webkit-line-clamp:2}
@media(max-width:1180px){.v4-request-summary{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 0 0;left:0;border-top:1px solid #e4eaf0}.v4-request-summary>div:first-child{padding-left:0;border-left:0}.v4-machine-card .v4-warranty{grid-column:1/-1}}
.equipment-spec-button{display:inline-flex;align-items:center;gap:9px;min-width:210px;padding:9px 11px;border:1px solid #cddfe4;border-radius:9px;background:#f7fbfc;color:#1d344b;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.equipment-spec-button:hover{border-color:#07898d;background:#eef9f8;box-shadow:0 3px 10px rgba(7,137,141,.1)}.equipment-spec-icon{width:30px;height:30px;display:grid;place-items:center;flex:none;border-radius:7px;background:#e2f3f2;color:#07898d;font-size:18px}.equipment-spec-copy{display:grid;gap:3px;min-width:0}.equipment-spec-copy strong{font-size:11px;line-height:1.2}.equipment-spec-copy small{color:#73859a;font-size:10px;font-weight:700}.equipment-spec-button>b{margin-left:auto;color:#07898d;font-size:15px}.equipment-spec-button.compact{min-width:0;padding:4px 7px;gap:5px;border-radius:6px}.equipment-spec-button.compact .equipment-spec-icon{width:21px;height:21px;font-size:13px}.equipment-spec-button.compact .equipment-spec-copy{gap:0}.equipment-spec-button.compact .equipment-spec-copy strong{font-size:9px}.equipment-spec-button.compact .equipment-spec-copy small{font-size:8px}.equipment-spec-button.compact>b{font-size:11px}.v4-request-summary-spec{grid-column:1/-1;justify-self:end;padding:0!important;border:0!important}.v4-request-summary-spec .equipment-spec-button{min-width:220px}.equipment-spec-picker-slot{display:flex;justify-content:flex-start}.equipment-spec-picker-slot .equipment-spec-button{width:min(100%,330px)}.equipment-spec-viewer{display:grid;gap:9px;min-width:0}.equipment-spec-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.equipment-spec-tabs{display:flex;gap:5px}.equipment-spec-tab{padding:7px 11px;border:1px solid #d7e3e8;border-radius:7px;background:#f3f7f9;color:#51687d;font-size:11px;font-weight:800}.equipment-spec-tab.active{border-color:#07898d;background:#e8f6f5;color:#087b80}.equipment-spec-toolbar>span{color:#77899b;font-size:10px;font-weight:600}.equipment-spec-table-scroll{max-height:min(67vh,720px);overflow:auto;border:1px solid #d8e2e8;border-radius:8px;background:#fff;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.equipment-spec-table{width:max-content;min-width:100%;border-collapse:collapse;table-layout:fixed;color:#26384e;font-size:10px;line-height:1.3}.equipment-spec-table td{min-width:38px;padding:6px 7px;border:1px solid #d6e0e6;white-space:pre-line;overflow-wrap:anywhere;vertical-align:middle}.equipment-spec-table .equipment-spec-title-row td{background:#e6f4f4;color:#075f64;font-size:12px;font-weight:800;text-align:center}.equipment-spec-table .equipment-spec-header-row td{background:#eef3f6;color:#344b61;font-weight:800;text-align:center}.equipment-spec-table tr:nth-child(even):not(.equipment-spec-title-row):not(.equipment-spec-header-row) td{background:#fbfdfe}.equipment-spec-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:2px}.equipment-spec-footer>span{color:#7b8b9b;font-size:10px}.equipment-spec-download{white-space:nowrap;text-decoration:none;font-size:10px;padding:7px 10px}.equipment-spec-loading{min-height:120px;display:grid;place-items:center;color:#77899b;font-weight:700}.equipment-list-machine .equipment-spec-button.compact{margin-top:6px}.equipment-spec-picker-slot:empty{display:none}.v4-request-summary-spec:empty{display:none}
dialog:has(.equipment-spec-viewer){width:min(96vw,1400px);max-width:96vw}dialog:has(.equipment-spec-viewer) .modal-card,dialog:has(.equipment-spec-viewer) #modalBody,dialog:has(.equipment-spec-viewer) .modal-content{min-width:0;max-width:100%}dialog:has(.equipment-spec-viewer) .modal-content{padding-top:12px;overflow-x:hidden}.equipment-spec-viewer{width:100%;max-width:100%;grid-template-columns:minmax(0,1fr)}.equipment-spec-sheet,.equipment-spec-table-scroll{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
@media(max-width:760px){.v4-request-summary-spec{justify-self:stretch}.v4-request-summary-spec .equipment-spec-button{width:100%;min-width:0}.equipment-spec-toolbar{align-items:flex-start}.equipment-spec-footer{align-items:stretch;flex-direction:column}.equipment-spec-download{align-self:flex-start}.equipment-spec-table-scroll{max-height:calc(68vh - 20px)}.equipment-spec-table{font-size:9px}.equipment-spec-table td{padding:5px 6px}}
@media(max-width:470px){.equipment-spec-button{min-width:0}.equipment-spec-copy strong{font-size:10px}.equipment-spec-table td{padding:4px 5px}}
@media(max-width:470px){.v4-request-summary{grid-template-columns:1fr;gap:9px}.v4-request-summary>div{padding-left:0;border-left:0}.v4-request-summary strong{font-size:13px}}

/* Keep both summary fields aligned like the phone and year facts below. */
.v4-request-summary{grid-template-columns:repeat(2,minmax(0,1fr));left:clamp(-240px,-14vw,-40px)}
@media(max-width:1180px){.v4-request-summary{left:0}}
@media(max-width:470px){.v4-request-summary{grid-template-columns:1fr}}

/* Align the work value with the year fact below on wide layouts. */
@media(min-width:1181px){.v4-request-summary>div:nth-child(2){padding-left:46px}}

/* Keep the model and the request summary in their own grid tracks so long
   model names never overlap the type/work fields. */
.v4-machine-name{min-width:0}
.v4-machine-name h2{overflow-wrap:anywhere;line-height:1.15}
@media(min-width:1181px){
 .v4-request-summary{left:0;width:100%;padding:4px 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .v4-request-summary>div:nth-child(2){padding-left:13px}
}
.status.s-accepted{background:#e3f5f2;color:#07898d}
.request-status-group .data-table td.request-1c-cell{white-space:nowrap;text-align:left;color:#5d7187;font-weight:700;vertical-align:middle}.request-status-group .data-table td.request-1c-cell>span{display:inline-block;min-width:2ch}
.request-status-group .data-table{width:100%;min-width:1516px!important;table-layout:fixed}.request-status-group .data-table .req-col-code{width:118px!important}.request-status-group .data-table .req-col-1c{width:108px!important}.request-status-group .data-table .req-col-date{width:140px!important}.request-status-group .data-table .req-col-equipment{width:250px!important}.request-status-group .data-table .req-col-client{width:190px!important}.request-status-group .data-table .req-col-type{width:150px!important}.request-status-group .data-table .req-col-work{width:370px!important}.request-status-group .data-table .req-col-status{width:190px!important}.request-status-group .data-table td.request-1c-cell{background:#fbfefe;text-align:center}
.request-status-group .data-table{display:block;border-collapse:separate}.request-status-group .data-table colgroup{display:none}.request-status-group .data-table thead,.request-status-group .data-table tbody{display:block}.request-status-group .data-table thead tr,.request-status-group .data-table tbody tr{display:grid;grid-template-columns:118px 108px 140px 250px 190px 150px 370px 190px}.request-status-group .data-table:has(.req-col-check) thead tr,.request-status-group .data-table:has(.req-col-check) tbody tr{grid-template-columns:42px 118px 108px 140px 250px 190px 150px 370px 190px}.request-status-group .data-table th,.request-status-group .data-table td{display:block;min-width:0}.request-status-group .data-table tbody tr{border-top:1px solid #e7edf4}.request-status-group .data-table tbody tr:first-child{border-top:0}.request-status-group .data-table tbody td{border-top:0}.request-status-group .data-table tbody td .empty{grid-column:1/-1}
.request-status-group .data-table{display:table;min-width:0!important;table-layout:fixed}.request-status-group .data-table colgroup{display:table-column-group}.request-status-group .data-table thead{display:table-header-group}.request-status-group .data-table tbody{display:table-row-group}.request-status-group .data-table thead tr,.request-status-group .data-table tbody tr{display:table-row}.request-status-group .data-table th,.request-status-group .data-table td{display:table-cell}

/* Priority is a real table column, separate from the work title. This keeps
   the urgent/normal label tied to the same request row without shifting the
   1C, date, equipment, or work columns. */
.request-status-group .data-table .req-col-priority{width:120px!important;min-width:120px!important;max-width:120px!important}
.request-status-group .data-table td.priority-cell{white-space:nowrap;overflow:visible;text-overflow:clip;vertical-align:middle}
.request-priority-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:82px;margin:0;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800;line-height:1.15;white-space:nowrap}
.request-priority-badge.urgent{background:#fff0df;color:#b45b00;box-shadow:inset 0 0 0 1px rgba(232,117,16,.24)}
.request-priority-badge.normal{background:#eef3f6;color:#64778d;box-shadow:inset 0 0 0 1px rgba(100,119,141,.12)}
.request-row-priority-high td{background:#fffaf3}
.request-row-priority-high td.priority-cell{box-shadow:inset 3px 0 #e87510}
.request-row-priority-high td.code{box-shadow:none}

@media(max-width:1200px){.request-status-group .data-table .req-col-priority{width:112px!important;min-width:112px!important;max-width:112px!important}.request-priority-badge{min-width:76px;padding-left:6px;padding-right:6px}}

/* Keep priority as a row marker only. The table must fit the viewport without
   adding a horizontal scroll area for the marker. */
.request-status-group .table-wrap{overflow-x:hidden}
.request-status-group .data-table{width:100%!important;min-width:0!important;table-layout:fixed}
.request-status-group .data-table .req-col-code{width:11%!important;min-width:0!important}
.request-status-group .data-table .req-col-1c{width:8%!important;min-width:0!important}
.request-status-group .data-table .req-col-date{width:10%!important;min-width:0!important}
.request-status-group .data-table .req-col-equipment{width:17%!important;min-width:0!important}
.request-status-group .data-table .req-col-client{width:13%!important;min-width:0!important}
.request-status-group .data-table .req-col-type{width:11%!important;min-width:0!important}
.request-status-group .data-table .req-col-work{width:20%!important;min-width:0!important}
.request-status-group .data-table .req-col-status{width:10%!important;min-width:0!important}
.request-row-priority-high td{background:transparent}
.request-row-priority-high td:first-child{box-shadow:inset 4px 0 #e87510}
@media(max-width:1200px){
 .request-status-group .data-table:has(.req-col-check) .req-col-check{width:4%!important;min-width:0!important;max-width:none!important}
 .request-status-group .data-table:has(.req-col-check) .req-col-code{width:10%!important}
 .request-status-group .data-table:has(.req-col-check) .req-col-1c{width:7%!important}
 .request-status-group .data-table:has(.req-col-check) .req-col-date{width:9%!important}
 .request-status-group .data-table:has(.req-col-check) .req-col-equipment{width:16%!important}
 .request-status-group .data-table:has(.req-col-check) .req-col-client{width:12%!important}
 .request-status-group .data-table:has(.req-col-check) .req-col-type{width:11%!important}
 .request-status-group .data-table:has(.req-col-check) .req-col-work{width:20%!important}
 .request-status-group .data-table:has(.req-col-check) .req-col-status{width:11%!important}
}

/* Show the urgent state directly below the request number, without adding a
   separate table column or changing the position of the existing fields. */
.request-urgent-label{display:block;margin-top:4px;color:#c45d08;font-size:11px;font-weight:800;line-height:1.1;white-space:nowrap}
.request-warranty-filed-stack{display:flex;width:100%;flex-direction:column;align-items:center;max-width:100%}
.request-warranty-type-value{max-width:100%;text-align:center}
.request-warranty-filed-label{display:block;margin-top:4px;color:#c45d08;font-size:11px;font-weight:800;line-height:1.1;text-align:center;white-space:nowrap}
.request-warranty-filed-action,.request-warranty-filed-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:none;min-height:28px;padding:4px 9px;border:1px solid #f4d6ad;border-radius:999px;background:#fff0df;color:#b45b00;font:inherit;font-size:10px;font-weight:800;line-height:1.2;white-space:nowrap}
.request-warranty-filed-action{cursor:pointer}.request-warranty-filed-action:hover{background:#ffe8c9;border-color:#eab978}.request-warranty-filed-action:disabled{opacity:.65;cursor:wait}
@media(min-width:761px){.data-table td[data-mobile-label="Tip"],.data-table td[data-mobile-label="Тип"]{text-align:center}}

/* Recycle bin for service requests: preserve the request and its attachments
   during the seven-day recovery window, with a compact responsive list. */
.request-trash-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;margin-left:5px;padding:0 6px;border-radius:999px;background:#eaf3f5;color:#087f83;font-size:12px;font-weight:800}
.request-trash-page .portal-back-row{display:none}
.request-trash-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px;padding:20px 22px;border:1px solid #dce7ec;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(26,61,80,.04)}
.request-trash-header .eyebrow{margin:0 0 5px;color:#65819a;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.request-trash-header h1{margin:0;color:#15243b;font-size:28px;line-height:1.15}
.request-trash-header .subtitle{margin:6px 0 0;color:#7d8fa2;font-size:13px}
.request-trash-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.request-trash-panel{padding:18px}
.request-trash-list{display:grid;gap:12px}
.request-trash-card{display:grid;grid-template-columns:minmax(230px,1fr) minmax(260px,.9fr) auto;align-items:center;gap:20px;padding:18px 20px;border:1px solid #dce7ec;border-radius:14px;background:#fff}
.request-trash-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.request-trash-title>strong{color:#07898d;font-size:16px}
.request-trash-type{padding:4px 9px;border-radius:999px;background:#edf4f6;color:#5e7185;font-size:11px;font-weight:800}
.request-trash-main h3{margin:8px 0 5px;color:#17243b;font-size:15px;line-height:1.35}
.request-trash-main p,.request-trash-main small{margin:0;color:#8192a5;font-size:12px;line-height:1.45}
.request-trash-dates{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.request-trash-dates>div{display:grid;gap:5px;min-width:0}
.request-trash-dates span{color:#8192a5;font-size:11px;font-weight:700}
.request-trash-dates strong{color:#30435a;font-size:12px;line-height:1.35}
.request-trash-card>.btn{white-space:nowrap}
@media(max-width:760px){
 .request-trash-panel{padding:12px}
 .request-trash-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:15px;border-radius:12px}
 .request-trash-dates{grid-template-columns:1fr 1fr;gap:10px;padding-top:10px;border-top:1px solid #edf2f4}
 .request-trash-card>.btn{width:100%;justify-content:center}
 .request-trash-header{align-items:stretch;flex-direction:column;gap:14px;padding:16px}
 .request-trash-header h1{font-size:24px}
 .request-trash-actions{justify-content:stretch}
 .request-trash-actions>.btn{flex:1 1 140px}
}

/* Mobile request register: use readable cards instead of squeezing all eight
   desktop columns into a phone-wide table. The desktop table stays unchanged. */
@media(max-width:760px){
 .request-status-group .table-wrap{overflow:visible;padding:0 10px 12px}
 .request-status-group .data-table{display:block!important;width:100%!important;min-width:0!important;border-collapse:separate;table-layout:auto!important}
 .request-status-group .data-table colgroup,
 .request-status-group .data-table thead{display:none!important}
 .request-status-group .data-table tbody{display:grid!important;gap:10px}
 .request-status-group .data-table tbody tr{position:relative;display:block!important;overflow:hidden;border:1px solid #dbe7ec;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(26,61,80,.06);cursor:pointer}
 .request-status-group .data-table tbody tr.request-row-priority-high{border-color:#f0cda8;background:#fffaf3}
 .request-status-group .data-table tbody td{display:grid!important;grid-template-columns:minmax(78px,30%) minmax(0,1fr);align-items:center;gap:9px;width:auto!important;min-width:0!important;padding:9px 12px;border-top:1px solid #edf2f4;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;vertical-align:middle;font-size:13px;line-height:1.3}
 .request-status-group .data-table tbody td[data-mobile-label]::before{content:attr(data-mobile-label);color:#8192a5;font-size:10px;font-weight:800;line-height:1.2}
 .request-status-group .data-table tbody td.code{display:block!important;padding:13px 46px 10px 14px;border-top:0;color:#07898d;font-size:17px;font-weight:800;line-height:1.15;white-space:normal!important}
 .request-status-group .data-table tbody td.code::before{content:attr(data-mobile-label);display:block;margin-bottom:4px;color:#8192a5;font-size:10px;font-weight:800;line-height:1.2}
 .request-status-group .data-table tbody td.request-1c-cell{background:#fbfefe;text-align:left;color:#5d7187;font-weight:700}
 .request-status-group .data-table tbody td.request-1c-cell>span{display:block;min-width:0;white-space:normal}
 .request-status-group .data-table tbody td small{font-size:11px;line-height:1.25}
 .request-status-group .data-table tbody td .request-serial{font-size:11px!important;word-break:break-all}
 .request-status-group .data-table tbody td .status{justify-self:start;max-width:100%;padding:6px 9px;font-size:11px;line-height:1.15;white-space:normal;text-align:center}
 .request-status-group .data-table tbody tr.request-row-priority-high>td:first-of-type{box-shadow:inset 4px 0 #e87510}
 .request-status-group .data-table tbody tr:has(td.bulk-check)>td.bulk-check{position:absolute;top:12px;right:12px;display:block!important;width:auto!important;padding:0!important;border:0!important;z-index:2}
 .request-status-group .data-table tbody tr:has(td.bulk-check)>td.bulk-check::before{display:none}
 .request-status-group .data-table tbody tr:has(td.bulk-check)>td.code{padding-right:52px}
 .request-status-group .data-table tbody td[colspan]{display:block!important;padding:18px 12px;border-top:0}
 .request-status-group .data-table tbody td[colspan]::before{display:none}
 .request-status-group .data-table tbody td[colspan] .empty{padding:20px 8px}
}

@media(max-width:420px){
 .request-status-group .data-table tbody td{grid-template-columns:minmax(70px,34%) minmax(0,1fr);padding-left:10px;padding-right:10px}
 .request-status-group .data-table tbody td.code{padding-left:12px;padding-right:42px}
 .request-status-group .data-table tbody tr:has(td.bulk-check)>td.bulk-check{right:10px}
}

/* Status pills share one centered axis in both the desktop table and the
   mobile request cards. */
.request-status-group .data-table th:last-child,
.request-status-group .data-table td:last-child{text-align:center;vertical-align:middle}
.request-status-group .data-table td:last-child .status{display:flex;width:max-content;max-width:100%;margin:0 auto}
@media(max-width:760px){
 .request-status-group .data-table tbody td:last-child .status{justify-self:center}
}

/* Approved visual contrast for the mobile request register: keep the compact
   card layout, but give each request a clearer edge, depth, and text hierarchy
   so cards remain easy to scan on a bright phone display. */
@media(max-width:760px){
 .request-status-group .data-table tbody tr.request-row{
  border-color:#c6d9e2;
  background:linear-gradient(180deg,#fff 0%,#fbfdfe 100%);
  box-shadow:0 5px 16px rgba(23,47,79,.1),0 1px 2px rgba(23,47,79,.06);
  transition:border-color .15s,box-shadow .15s,transform .15s;
 }
 .request-status-group .data-table tbody tr.request-row:hover,
 .request-status-group .data-table tbody tr.request-row:focus-within{
  border-color:#63b9bb;
  box-shadow:0 7px 20px rgba(23,47,79,.14),0 0 0 2px rgba(99,185,187,.12);
 }
 .request-status-group .data-table tbody tr.request-row-priority-high{
  border-color:#e6bd82;
  background:linear-gradient(180deg,#fffaf3 0%,#fff7eb 100%);
 }
 .request-status-group .data-table tbody td{
  border-top-color:#e1ebf0;
  color:#29445f;
 }
 .request-status-group .data-table tbody td[data-mobile-label]::before,
 .request-status-group .data-table tbody td.code::before{
  color:#6d8499;
 }
 .request-status-group .data-table tbody td.code{
  color:#057f84;
  font-size:18px;
  letter-spacing:.01em;
 }
 .request-status-group .data-table tbody td[data-mobile-label="Техника"] strong,
 .request-status-group .data-table tbody td[data-mobile-label="Utilaj"] strong{
  color:#1a3552;
  font-weight:800;
 }
 .request-status-group .data-table tbody td[data-mobile-label="Работа"],
 .request-status-group .data-table tbody td[data-mobile-label="Lucrare"]{
  color:#1f3a57;
  font-weight:700;
 }
 .request-status-group .data-table tbody td:last-child .status{
  box-shadow:inset 0 0 0 1px rgba(18,73,96,.12);
  font-weight:800;
 }
}

/* The request summary sits closer to the machine name on wide screens, while
   the compact/mobile layout keeps its existing full-width position. */
@media(min-width:1181px){
 .v4-request-summary{transform:translateX(clamp(-96px,-5vw,-48px))}
}

/* Desktop navigation: keep the existing controls and routes, but place the
   sidebar menu below the global header so the workspace can use the full
   viewport width. The mobile drawer remains unchanged below 760px. */
@media(min-width:761px){
 .app-shell{display:flex;flex-direction:column;min-height:100vh}
 .workspace{display:contents;grid-column:auto;min-width:0}
 .topbar{order:0;width:100%;flex:0 0 auto}
 .topbar-logo{display:flex;align-items:center;height:64px;min-width:204px;flex:0 0 auto;padding:0 20px 0 0;border:0;border-right:1px solid #edf1f4}
 .sidebar .logo{display:none}
 .sidebar{order:1;position:sticky;inset:auto;top:64px;width:100%;height:58px;min-height:58px;flex:0 0 58px;display:flex;flex-direction:row;align-items:center;overflow-x:auto;overflow-y:hidden;background:#fff;color:#35475f;border-right:0;border-bottom:1px solid #dfe6ec;box-shadow:0 2px 8px rgba(26,61,80,.04);z-index:19}
 .sidebar::-webkit-scrollbar{height:0}
 .sidebar .logo{height:58px;min-width:204px;flex:0 0 auto;padding:0 20px;border:0;border-right:1px solid #edf1f4}
 .sidebar nav{display:flex;align-items:center;gap:2px;min-width:max-content;padding:0 8px;overflow:visible}
 .sidebar .nav-item{width:auto;min-width:max-content;height:46px;padding:0 12px;border:0;border-bottom:3px solid transparent;border-radius:6px;gap:8px;white-space:nowrap;justify-content:center}
 .sidebar .nav-item:hover,.sidebar .nav-item.active{background:#e8f4f4;color:#00777b;border:0;border-bottom:3px solid #09a0a5}
 .sidebar .nav-item span{width:22px;height:22px}
 .sidebar .sidebar-foot{display:none}
 #mainContent{order:2;width:100%;min-width:0;flex:1 1 auto}
 .v4-bottom-bar{left:0}
}

/* Keep the orders page focused on the list and its details. */
.parts-orders-page>.page-head{min-height:0;margin-bottom:0;align-items:center}.parts-orders-page>.page-head>div:first-child>.eyebrow,.parts-orders-page>.page-head>div:first-child>h1,.parts-orders-page>.page-head>div:first-child>.subtitle{display:none!important}.parts-orders-page>.page-head>.head-actions:empty{display:none}
@media(max-width:760px){
 .topbar-logo{display:none}
}

/* Compact calendar sizing for the internal task board. */
.tasks-page{max-width:1380px;margin-left:auto;margin-right:auto}
.task-panel{padding:16px}
.task-calendar-weekdays,.task-calendar-grid{grid-template-columns:repeat(7,minmax(100px,1fr));min-width:760px}
.task-calendar-weekdays{gap:6px;margin-bottom:6px}
.task-calendar-grid{gap:6px}
.task-calendar-cell{min-height:78px;padding:8px;border-radius:10px}
.task-calendar-cell.is-selected{padding:7px}
.task-day-number{font-size:14px;margin-bottom:5px}

/* Use the supplied Parts Trade mark everywhere the portal identifies itself. */
.portal-logo-image{display:block;width:180px;height:52px;object-fit:contain;object-position:left center}
.brand-logo{display:block;width:min(100%,360px);height:auto;object-fit:contain}
.login-brand{background:#fff;color:#101a30;align-items:center;justify-content:center}
.dashboard-page>.page-head{display:none}
@media(max-width:760px){
 .portal-logo-image{width:180px;height:48px}
 .brand-logo{width:min(100%,300px)}
}
.task-chip{font-size:10px;line-height:17px}
.task-more{font-size:10px;margin-top:2px}
.task-day-list{margin-top:18px}
.task-day-head{margin-bottom:10px}
.task-day-head h2{font-size:22px}
.task-card{padding:14px 16px;gap:18px;border-radius:12px}
.task-card h3{font-size:18px;margin:6px 0 3px}
.task-card p{margin-bottom:8px}
.task-meta{font-size:12px;gap:16px}

/* Internal service tasks: a calm month view with clear completion colours. */
.tasks-page{max-width:1540px}
.task-panel{background:#fff;border:1px solid #dfe8ee;border-radius:18px;box-shadow:0 8px 24px rgba(28,66,91,.06);padding:20px}
.task-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;flex-wrap:wrap}
.task-month-nav{display:flex;align-items:center;gap:10px}.task-month-nav h2{min-width:210px;margin:0;text-transform:capitalize;color:#17324d;font-size:22px;text-align:center}.task-month-nav .btn{min-width:40px;height:40px;padding:0;font-size:22px}.task-month-nav .btn.ghost{font-size:14px;padding:0 14px;margin-left:4px}
.task-legend{display:flex;align-items:center;gap:14px;color:#6d8295;font-size:13px}.task-legend span{display:flex;align-items:center;gap:6px}.task-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:#9bb4c7}.task-legend .active i{background:#4b96dc}.task-legend .complete i{background:#23a66b}.task-legend .planned i{background:#f2a63b}
.task-calendar{overflow:auto}.task-calendar-weekdays,.task-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));min-width:840px}.task-calendar-weekdays{gap:8px;margin-bottom:8px}.task-calendar-weekdays span{padding:0 10px;color:#7890a3;font-size:12px;font-weight:800;text-transform:uppercase}.task-calendar-grid{gap:8px}.task-calendar-cell{appearance:none;min-height:112px;background:#fbfdfe;border:1px solid #e2ebf0;border-radius:12px;padding:10px;text-align:left;cursor:pointer;transition:.16s;overflow:hidden}.task-calendar-cell:hover{border-color:#0b9da1;box-shadow:0 3px 10px rgba(10,126,133,.1)}.task-calendar-cell.is-other-month{opacity:.42;background:#f5f7f8}.task-calendar-cell.is-selected{border:2px solid #079da2;background:#f1fbfb;padding:9px}.task-calendar-cell.is-complete{background:#effaf4;border-color:#9cdbb9}.task-calendar-cell.is-active{background:#eef7ff;border-color:#9fc9f1}.task-calendar-cell.is-planned{background:#fffaf0;border-color:#f4d49d}.task-day-number{display:block;color:#27435e;font-size:16px;font-weight:800;margin-bottom:8px}.task-calendar-cell.is-selected .task-day-number{color:#008c90}.task-chip{display:flex;align-items:center;gap:5px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#38536b;font-size:11px;line-height:20px}.task-chip i{flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:#f2a63b}.task-chip.active i{background:#4b96dc}.task-chip.complete i{background:#23a66b}.task-more{display:block;margin-top:3px;color:#7991a2;font-size:11px}.task-day-list{margin-top:22px}.task-day-head{display:flex;align-items:center;justify-content:space-between;margin:0 2px 12px}.task-day-head h2{margin:3px 0 0;color:#17324d;font-size:24px;text-transform:capitalize}.task-day-count{display:grid;place-items:center;min-width:36px;height:36px;border-radius:50%;background:#e4f5f5;color:#008b91;font-weight:800}.task-card{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #e0e9ee;border-left:4px solid #f2a63b;border-radius:14px;padding:18px 20px;margin-bottom:10px;box-shadow:0 5px 15px rgba(28,66,91,.04)}.task-card.active{border-left-color:#4b96dc}.task-card.complete{border-left-color:#23a66b;background:#fbfffc}.task-card-main{min-width:0;flex:1}.task-card-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.task-status,.task-priority{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}.task-status.planned{background:#fff1d8;color:#b36c00}.task-status.active{background:#e2f0ff;color:#2470b5}.task-status.complete{background:#ddf6e8;color:#18814d}.task-priority{background:#fff0e8;color:#d66c28}.task-time{margin-left:auto;color:#6b8295;font-size:13px;font-weight:700}.task-card h3{margin:8px 0 4px;color:#17324d;font-size:19px}.task-card p{margin:0 0 10px;color:#70879a}.task-meta{display:flex;gap:18px;flex-wrap:wrap;color:#71889a;font-size:13px}.task-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.task-complete-mark{color:#18814d;font-weight:800;font-size:13px;white-space:nowrap}.task-empty{display:flex;align-items:center;gap:14px;padding:28px 22px;background:#fff;border:1px dashed #cbdce5;border-radius:14px;color:#5e7589}.task-empty>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e4f6ec;color:#1c9b62;font-size:20px}.task-empty strong,.task-empty small{display:block}.task-empty small{margin-top:4px;color:#91a3b0}.task-notification-item.read{opacity:.68}
@media(max-width:760px){.task-panel{padding:14px}.task-calendar-toolbar{align-items:flex-start}.task-month-nav h2{min-width:150px;font-size:18px}.task-legend{width:100%;justify-content:space-between;font-size:11px}.task-card{align-items:flex-start;flex-direction:column;padding:15px}.task-card-actions{width:100%;justify-content:flex-start}.task-time{margin-left:0}.task-day-head h2{font-size:20px}}

/* Final task-board layout follows the approved reference: compact header,
   month controls on one line, coloured calendar chips and dense work rows. */
.tasks-page{max-width:1540px;margin:0 auto}
.tasks-hero{display:flex;align-items:center;gap:16px;margin:0 0 18px 4px}.tasks-hero-icon{display:grid;place-items:center;width:56px;height:56px;border:3px solid #174b73;border-radius:14px;color:#079ba0;font-size:27px;font-weight:900;box-shadow:inset 0 -7px 0 rgba(7,155,160,.08)}.tasks-hero h1{margin:0;color:#17324d;font-size:34px}.tasks-hero .eyebrow{margin:0;color:#17324d}.tasks-hero .subtitle{margin:1px 0 0;font-size:16px}
.tasks-controls{display:flex;align-items:center;gap:12px;margin:0 0 12px 0}.tasks-controls .task-month-nav{margin-left:auto}.task-month-select{height:42px;min-width:178px;border:1px solid #d8e4ec;border-radius:9px;background:#fff;color:#17324d;font-size:15px;font-weight:700;padding:0 16px;cursor:pointer}.task-month-select span{float:right;color:#59738d}.tasks-controls .task-new-button{height:44px;padding:0 22px}.tasks-controls .task-legend{margin-left:12px;gap:16px;white-space:nowrap}.tasks-controls .task-legend span{font-size:12px}.tasks-controls .task-legend .complete i{background:#13a35d}.tasks-controls .task-legend .active i{background:#397fdf}.tasks-controls .task-legend .planned i{background:#e78d0d}
.tasks-page>.task-panel{padding:0;border-radius:10px;box-shadow:none;border:1px solid #dbe6ef}.tasks-page .task-calendar{padding:0}.tasks-page .task-calendar-weekdays{grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;gap:0;margin:0;background:#eef4f9;border-bottom:1px solid #dbe6ef}.tasks-page .task-calendar-weekdays span{text-align:center;color:#173d63;font-size:12px;padding:10px 5px;text-transform:none;border-right:1px solid #dbe6ef}.tasks-page .task-calendar-weekdays span:last-child{border-right:0}.tasks-page .task-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;gap:0}.tasks-page .task-calendar-cell{min-height:92px;border:0;border-right:1px solid #e1eaf1;border-bottom:1px solid #e1eaf1;border-radius:0;background:#fff;padding:10px 11px}.tasks-page .task-calendar-cell:nth-child(7n){border-right:0}.tasks-page .task-calendar-cell.is-selected{border:2px solid #2983e7;padding:8px 9px;background:#f3f8ff}.tasks-page .task-calendar-cell.is-other-month{background:#fbfcfd}.tasks-page .task-day-number{font-size:13px;margin-bottom:7px}.tasks-page .task-chip{display:flex;align-items:center;gap:8px;width:100%;padding:7px 9px;border-radius:7px;margin:3px 0;font-size:12px;line-height:16px;white-space:normal;text-align:left;color:#173d63}.tasks-page .task-chip.planned{background:#fff0df}.tasks-page .task-chip.active{background:#e4f1ff}.tasks-page .task-chip.complete{background:#ddf7e9}.tasks-page .task-chip i{display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px;border-radius:50%;background:#ec900e;color:#fff;font-size:10px;font-style:normal}.tasks-page .task-chip.active i{background:#207ee1}.tasks-page .task-chip.complete i{background:#11a35f}.tasks-page .task-more{margin:4px 0 0 8px}
.tasks-page .task-day-list{margin-top:14px;background:#fff;border:1px solid #dbe6ef;border-radius:10px;padding:10px 12px}.tasks-page .task-day-head{margin:0 6px 10px;align-items:center}.tasks-page .task-day-head h2{font-size:22px;margin:1px 0;text-transform:none}.tasks-page .task-day-head .eyebrow{margin:0}.task-day-head-actions{display:flex;align-items:center;gap:10px}.task-show-all{font-size:12px;padding:8px 12px}.tasks-page .task-day-count{min-width:34px;height:28px;border-radius:14px;font-size:12px;background:#e3f0fc;color:#2875b8}.task-row{display:grid;grid-template-columns:42px minmax(220px,1.6fr) minmax(180px,1.1fr) minmax(100px,.7fr) 110px minmax(215px,1.1fr);align-items:center;gap:12px;min-height:64px;padding:8px 8px;border:1px solid #dce7ef;border-radius:10px;margin:6px 0;background:#fff}.task-row-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#4e91ef;color:#fff;font-size:17px}.task-row.complete .task-row-icon{background:#25ae6a}.task-row-title strong,.task-row-title small,.task-row-assignee small,.task-row-assignee strong,.task-row-time strong,.task-row-time small{display:block}.task-row-title strong{font-size:14px;color:#17324d}.task-row-title small,.task-row-assignee small,.task-row-time small{color:#71869a;font-size:11px;margin-top:3px}.task-row-assignee strong{color:#284d72;font-size:12px}.task-row-confirm{display:inline-block;margin-top:4px;padding:3px 8px;border-radius:9px;font-size:10px;font-weight:700;background:#fff0d6;color:#c2760a}.task-row-confirm.complete{background:#ddf6e8;color:#16834c}.task-row-confirm.active{background:#e4f1ff;color:#2475c5}.task-row-time strong{font-size:13px;color:#17324d}.tasks-page .task-row .task-status{justify-self:start;white-space:nowrap}.task-row .task-card-actions{justify-content:flex-end}.task-row .task-card-actions .btn{font-size:11px;padding:8px 11px}.tasks-page .task-empty{margin:6px 0}
@media(max-width:1100px){.tasks-controls{flex-wrap:wrap}.tasks-controls .task-month-nav{margin-left:0}.tasks-controls .task-legend{margin-left:auto}.task-row{grid-template-columns:40px minmax(180px,1.4fr) minmax(150px,1fr) 90px 100px}.task-row .task-card-actions{grid-column:2/-1;justify-content:flex-start}}
@media(max-width:760px){.tasks-hero{margin-left:0}.tasks-hero h1{font-size:28px}.tasks-controls{align-items:stretch}.tasks-controls .task-month-nav{width:100%;justify-content:center}.tasks-controls .task-new-button{width:100%}.tasks-controls .task-legend{width:100%;margin-left:0;justify-content:space-between}.tasks-page>.task-panel{overflow:auto}.tasks-page .task-calendar{min-width:720px}.tasks-page .task-calendar-grid{min-width:720px}.task-row{grid-template-columns:38px 1fr;gap:9px}.task-row-assignee,.task-row-time,.tasks-page .task-row .task-status,.task-row .task-card-actions{grid-column:2}.task-row .task-card-actions{justify-content:flex-start}}

/* The approved task-board starts directly with the month controls. */
.tasks-hero{display:none}
.tasks-page>.portal-back-row{display:none}
.tasks-controls .task-back-button{margin-right:auto;white-space:nowrap}
.tasks-controls .task-month-nav{margin-left:0}
@media(max-width:1100px){.tasks-controls .task-back-button{margin-right:0}}
.task-assignee-field select.task-assignee-select{font-weight:700;color:#14233d;background:#fff}

/* Multi-worker selector for internal service tasks, matching the completed
   work "Кто работал" cards used in service requests. */
.task-assignee-field{display:block;padding:0!important;color:#4e637c;font-size:13px;font-weight:800}
.task-assignee-label{display:block;margin-bottom:8px;color:#4e637c;font-size:13px;font-weight:800}
.task-assignee-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.task-assignee-card{position:relative;display:flex;align-items:center;gap:12px;min-height:76px;padding:14px 16px;border:2px solid #d7e4eb;border-radius:14px;background:#fff;color:#203750;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.task-assignee-card:hover{border-color:#7ebfc2;background:#f7fcfc}
.task-assignee-card input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;margin:0}
.task-assignee-check{display:grid;place-items:center;width:28px;height:28px;border:1px solid #c7d6df;border-radius:7px;color:transparent;background:#fff;font-size:19px;line-height:1;font-weight:900;flex:0 0 auto}
.task-assignee-card:has(input:checked),.task-assignee-card.is-selected{background:#eaf8f8;border-color:#079da2;box-shadow:0 0 0 1px rgba(7,157,162,.08)}
.task-assignee-card:has(input:checked) .task-assignee-check,.task-assignee-card.is-selected .task-assignee-check{background:#188f9a;border-color:#188f9a;color:#fff}
.task-assignee-name{display:flex;flex-direction:column;gap:3px;min-width:0}
.task-assignee-name strong{overflow:hidden;color:#233b57;font-size:15px;text-overflow:ellipsis;white-space:nowrap}
.task-assignee-name small{color:#7890a3;font-size:11px;font-weight:700}
@media(max-width:620px){.task-assignee-grid{grid-template-columns:1fr}.task-assignee-card{min-height:64px}}

/* Priority uses the same visible card picker instead of the browser-native
   select, so the task form has one consistent interaction style. */
.task-priority-field{display:block;padding:0!important;color:#4e637c;font-size:13px;font-weight:800}
.task-priority-label{display:block;margin-bottom:8px;color:#4e637c;font-size:13px;font-weight:800}
.task-priority-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.task-priority-card{position:relative;display:flex;align-items:center;gap:12px;min-height:58px;padding:12px 15px;border:2px solid #d7e4eb;border-radius:12px;background:#fff;color:#233b57;font-size:14px;font-weight:800;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.task-priority-card:hover{border-color:#7ebfc2;background:#f7fcfc}
.task-priority-card input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;margin:0}
.task-priority-mark{display:grid;place-items:center;width:26px;height:26px;border:1px solid #c7d6df;border-radius:7px;color:transparent;background:#fff;font-size:17px;line-height:1;font-weight:900;flex:0 0 auto}
.task-priority-card:has(input:checked),.task-priority-card.is-selected{background:#eaf8f8;border-color:#079da2;box-shadow:0 0 0 1px rgba(7,157,162,.08)}
.task-priority-card:has(input:checked) .task-priority-mark,.task-priority-card.is-selected .task-priority-mark{background:#188f9a;border-color:#188f9a;color:#fff}
@media(max-width:620px){.task-priority-grid{grid-template-columns:1fr}}
.task-delete-button{border-color:#efb2b7!important;background:#fff7f7!important;color:#b42332!important}
.task-delete-button:hover{border-color:#d84854!important;background:#fff0f1!important}
#taskForm .form-actions .task-delete-button{margin-right:auto}
.tasks-page .task-card-actions .task-delete-button{margin-right:0}

/* Keep today's date visible even when another day is selected. */
.tasks-page .task-calendar-cell.is-today{background:#fbffff;box-shadow:inset 0 0 0 2px rgba(7,157,162,.24)}
.tasks-page .task-calendar-cell.is-today .task-day-number{color:#07898d;font-weight:900}
.tasks-page .task-calendar-cell.is-selected.is-today{background:#f3f8ff;box-shadow:inset 0 0 0 2px rgba(7,157,162,.3)}

/* Desktop fit: show the month grid and the selected-day task list together in
   the available viewport without making the page taller than necessary. */
@media(min-width:761px){
 .tasks-page{padding-top:16px;padding-bottom:16px}
 .tasks-page .task-calendar-cell{min-height:64px;padding:7px 9px}
 .tasks-page .task-calendar-cell.is-selected{padding:5px 7px}
 .tasks-page .task-day-number{font-size:12px;margin-bottom:4px}
 .tasks-page .task-chip{padding:4px 6px;margin:2px 0;font-size:10px;line-height:13px;gap:5px}
 .tasks-page .task-chip i{width:14px;height:14px;flex-basis:14px;font-size:9px}
 .tasks-page .task-more{font-size:9px;margin-top:2px}
 .tasks-page .task-day-list{margin-top:9px;padding:7px 9px}
 .tasks-page .task-day-head{margin-bottom:6px}
 .tasks-page .task-day-head h2{font-size:18px}
 .tasks-page .task-day-head .eyebrow{font-size:10px}
 .tasks-page .task-day-count{min-width:28px;height:24px;font-size:11px}
 .tasks-page .task-show-all{font-size:11px;padding:6px 9px}
 .tasks-page .task-row{min-height:52px;padding:5px 7px;gap:9px}
 .tasks-page .task-row-icon{width:30px;height:30px;font-size:14px}
 .tasks-page .task-row-title strong{font-size:12px}
 .tasks-page .task-row-title small,.tasks-page .task-row-assignee small,.tasks-page .task-row-time small{font-size:10px;margin-top:2px}
 .tasks-page .task-row-assignee strong,.tasks-page .task-row-time strong{font-size:11px}
 .tasks-page .task-row-confirm{margin-top:2px;padding:2px 6px;font-size:9px}
 .tasks-page .task-row .task-status{font-size:10px;padding:4px 8px}
 .tasks-page .task-row .task-card-actions .btn{font-size:10px;padding:6px 8px}
}

/* Task toolbar order: completed, planned, month/date navigation, then new
   task, matching the requested reading flow. */
.tasks-controls .task-legend{order:1;margin-left:0}
.tasks-controls .task-month-nav{order:2;margin-left:auto}
.tasks-controls .task-new-button{order:3}

/* Reserve a visible description column in the request register. */
.request-status-group .data-table:has(.req-col-description) .req-col-code{width:8%!important}
.request-status-group .data-table:has(.req-col-description) .req-col-1c{width:6%!important}
.request-status-group .data-table:has(.req-col-description) .req-col-date{width:9%!important}
.request-status-group .data-table:has(.req-col-description) .req-col-equipment{width:15%!important}
.request-status-group .data-table:has(.req-col-description) .req-col-client{width:10%!important}
.request-status-group .data-table:has(.req-col-description) .req-col-type{width:9%!important}
.request-status-group .data-table:has(.req-col-description) .req-col-work{width:15%!important}
.request-status-group .data-table:has(.req-col-description) .req-col-description{width:18%!important}
.request-status-group .data-table:has(.req-col-description) .req-col-status{width:10%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-check{width:2.5%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-code{width:8%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-1c{width:6%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-date{width:8%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-equipment{width:14%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-client{width:10%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-type{width:9%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-work{width:15%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-description{width:17%!important}
.request-status-group .data-table:has(.req-col-check):has(.req-col-description) .req-col-status{width:10.5%!important}
.request-status-group .data-table td.request-description-cell{white-space:normal;line-height:1.3}
.request-status-group .data-table .request-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}

/* Compact document gallery with real thumbnails for images and PDFs. */
.parts-order-files.parts-order-files-preview{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));align-content:start;gap:10px}
.parts-order-file-card{position:relative;min-width:0;overflow:hidden;border:1px solid #dce7ed;border-radius:11px;background:#fff;transition:transform .15s,box-shadow .15s}
.parts-order-file-card:hover{transform:translateY(-2px);box-shadow:0 5px 15px rgba(20,50,70,.1)}
.parts-order-file-preview{display:flex;min-width:0;flex-direction:column;color:#253b55!important;text-decoration:none!important}
.parts-order-file-thumb{display:grid;place-items:center;width:100%;aspect-ratio:1.35;background:#f0f5f7;overflow:hidden}
.parts-order-file-thumb img,.parts-order-file-thumb iframe{display:block;width:100%;height:100%;border:0;object-fit:contain;background:#f0f5f7}
.parts-order-file-thumb iframe{pointer-events:none}
.parts-order-file-generic{display:grid;place-items:center;gap:5px;color:#078f95}
.parts-order-file-generic b{font-size:30px;line-height:1}
.parts-order-file-generic strong{padding:3px 7px;border-radius:5px;background:#e4f4f4;font-size:10px;letter-spacing:.06em}
.parts-order-file-name{display:-webkit-box;min-height:34px;padding:7px 8px;overflow:hidden;color:#3b536b;font-size:10px;font-weight:700;line-height:1.25;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.parts-order-file-delete.btn.danger{position:absolute;top:5px;right:5px;z-index:2;display:grid;place-items:center;width:25px;height:25px;min-height:25px;padding:0;border-radius:7px;background:rgba(255,255,255,.94);box-shadow:0 1px 4px rgba(20,50,70,.13);font-size:15px}
@media(max-width:620px){.parts-order-files.parts-order-files-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.parts-order-file-thumb{aspect-ratio:1.5}.parts-order-file-name{font-size:11px}}
.modal-photo-download{display:flex;justify-content:flex-end;margin-bottom:2px}.modal-photo-download .btn{white-space:nowrap}
.notification-drawer .drawer-head{gap:10px}
.notification-drawer .drawer-head h2{margin-right:auto}
.notification-drawer .drawer-head .notification-clear-all{flex:0 0 auto;width:auto;height:auto;min-width:0;margin:0;border:1px solid #d6e2e8;border-radius:7px;background:#fff;color:#07898d;padding:5px 8px;font:700 12px/1.2 Inter,Arial,sans-serif;white-space:nowrap;cursor:pointer}
.notification-clear-all:hover{background:#effafa;border-color:#98d4d5}
.attention-item{grid-template-columns:28px minmax(0,1fr) auto;gap:10px}
.attention-item>div{min-width:0}
.notification-dismiss{width:27px;height:27px;border:0;border-radius:50%;background:#f1f5f7;color:#73849a;font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer}
.notification-dismiss:hover{background:#ffeaec;color:#c92e40}
.notification-dismiss:focus-visible,.notification-clear-all:focus-visible{outline:2px solid #07898d;outline-offset:2px}
@media(max-width:430px){.notification-drawer .drawer-head{gap:6px}.notification-drawer .drawer-head .notification-clear-all{padding:4px 6px;font-size:10px}}
.status.s-in_progress{background:#ddebff;color:#095ac4}

/* Keep transient confirmations away from the fixed bottom action bar. */
.toast-stack{top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:max-content;max-width:calc(100vw - 32px);justify-items:center;pointer-events:none}
.toast-stack>.toast{max-width:min(520px,calc(100vw - 32px));text-align:center;overflow-wrap:anywhere}

/* Approved request-card layout: equipment/specification, job details, then client facts. */
.v4-request-machine-card{display:block!important;padding:0!important;overflow:hidden}
.v4-request-main{display:grid;grid-template-columns:minmax(360px,.88fr) minmax(0,1.28fr);gap:14px;padding:12px;align-items:stretch}
.v4-equipment-summary{display:grid;grid-template-columns:116px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:12px;row-gap:8px;min-width:0}
.v4-request-machine-card .v4-machine-image{grid-column:1;grid-row:1/span 2;height:112px;overflow:hidden;border-radius:8px;background:linear-gradient(145deg,#f4f8f9,#eaf0f2)}
.v4-request-machine-card .v4-machine-image img{padding:9px}
.v4-request-machine-card .v4-machine-name{grid-column:2;grid-row:1;align-self:end;min-width:0}
.v4-request-machine-card .v4-machine-name h2{font-size:23px;letter-spacing:-.035em;line-height:1.12;overflow-wrap:anywhere}
.v4-request-machine-card .v4-machine-name p{margin:2px 0;color:#74869b;font-size:12px;overflow-wrap:anywhere}
.v4-request-machine-card .v4-machine-name p strong{color:#243953}
.v4-request-equipment-spec{grid-column:2;grid-row:2;display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;min-width:0}
.v4-request-equipment-spec .equipment-spec-button{width:auto;min-width:0;flex:1 1 205px;padding:10px 11px}
.v4-request-summary{grid-column:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:5px 10px;align-content:center;min-width:0;width:auto;padding:10px 12px;border:1px solid #e1e9ed;border-radius:10px;background:#fbfcfd;position:static;left:auto;transform:none}
.v4-request-summary>div{min-width:0;padding:0;border:0}
.v4-request-work-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;flex-wrap:wrap}
.v4-request-inline-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex:0 0 auto}
.v4-request-summary small{display:block;margin:0 0 3px;color:#8291a3;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.v4-request-summary strong{display:block;margin:0;color:#172a44;font-size:16px;line-height:1.2;overflow-wrap:anywhere}
.v4-request-summary .v4-request-edit{position:static;flex:none;height:28px;padding:4px 8px;border-color:#d2e0e6;border-radius:7px;font-size:10px}
.v4-request-summary>div:nth-child(2){grid-column:2;grid-row:1;align-self:start;max-width:150px;padding:6px 10px;border-radius:999px;background:#e8f4f4;color:#087b7e}
.v4-request-summary>div:nth-child(2) small{display:none}
.v4-request-summary>div:nth-child(2) strong{color:#087b7e;font-size:11px;font-weight:800;white-space:nowrap}
.v4-request-summary-description{grid-column:1;grid-row:2;padding-top:5px!important;border-top:1px solid #e5ecef!important}
.v4-request-summary-description strong{color:#334961;font-size:12px;line-height:1.2;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.v4-request-main>.v4-warranty{grid-column:1/-1}
.v4-request-machine-card>.v4-facts{grid-column:auto;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;border-top:1px solid #e3eaf0;background:#fff}
.v4-request-machine-card>.v4-facts>div{min-width:0;padding:10px 12px;border-left:1px solid #e6edf1}
.v4-request-machine-card>.v4-facts>div:first-child{border-left:0}
.v4-request-machine-card>.v4-facts small{margin:0 0 3px;color:#8391a2;font-size:10px;font-weight:400;letter-spacing:0;text-transform:none}
.v4-request-machine-card>.v4-facts strong{overflow:hidden;color:#1b2e47;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1180px){.v4-request-main{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);gap:12px;padding:14px}.v4-equipment-summary{grid-template-columns:120px minmax(0,1fr);column-gap:12px}.v4-request-machine-card .v4-machine-image{height:150px}.v4-request-machine-card .v4-machine-name h2{font-size:21px}.v4-request-summary{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px}.v4-request-summary strong{font-size:16px}.v4-request-machine-card>.v4-facts>div{padding:12px 10px}}
@media(max-width:900px){.v4-request-main{grid-template-columns:1fr}.v4-equipment-summary{grid-template-columns:120px minmax(0,1fr);max-width:620px}.v4-request-machine-card>.v4-facts{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.v4-request-main{gap:13px;padding:12px}.v4-equipment-summary{grid-template-columns:88px minmax(0,1fr);column-gap:12px;row-gap:10px}.v4-request-machine-card .v4-machine-image{height:105px;border-radius:8px}.v4-request-machine-card .v4-machine-name h2{font-size:19px;margin-bottom:5px}.v4-request-machine-card .v4-machine-name p{font-size:11px;margin:3px 0}.v4-request-equipment-spec .equipment-spec-button{width:100%;padding:9px}.v4-request-equipment-spec .equipment-spec-icon{width:30px;height:30px}.v4-request-equipment-spec .equipment-spec-copy strong{font-size:11px}.v4-request-equipment-spec .equipment-spec-copy small{font-size:10px}.v4-request-summary{gap:10px 12px;padding:13px}.v4-request-summary strong{font-size:15px}.v4-request-summary>div:nth-child(2){padding:6px 9px}.v4-request-summary>div:nth-child(2) strong{font-size:10px}.v4-request-summary-description strong{font-size:12px}.v4-request-machine-card>.v4-facts{grid-template-columns:1fr 1fr;gap:0}.v4-request-machine-card>.v4-facts>div{min-height:56px;padding:10px 9px;gap:7px;border-left:0;border-bottom:1px solid #e6edf1}.v4-request-machine-card>.v4-facts>div:nth-child(odd){border-right:1px solid #e6edf1}.v4-request-machine-card>.v4-facts>div:nth-last-child(-n+2){border-bottom:0}.v4-request-machine-card>.v4-facts .v4-icon{font-size:17px}.v4-request-machine-card>.v4-facts small{font-size:9px;margin-bottom:3px}.v4-request-machine-card>.v4-facts strong{font-size:10px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}}
@media(max-width:470px){.v4-request-summary{grid-template-columns:minmax(0,1fr) auto;gap:9px}.v4-request-summary>div:nth-child(2){max-width:130px}.v4-request-summary strong{font-size:14px}.v4-request-summary .v4-request-edit{height:25px;padding:3px 6px;font-size:9px}.v4-request-machine-card>.v4-facts>div{padding:9px 7px;gap:6px}}
@media(min-width:761px) and (max-width:1180px){.v4-request-main{gap:10px;padding:10px}.v4-equipment-summary{grid-template-columns:104px minmax(0,1fr);column-gap:10px;row-gap:6px}.v4-request-machine-card .v4-machine-image{height:120px}.v4-request-summary{gap:4px 8px;padding:9px 10px}.v4-request-summary strong{font-size:15px}.v4-request-summary-description strong{font-size:11px}}
.v4-machine-card.v4-request-machine-card:not(.container-v4-machine)>.v4-facts{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:900px){.v4-machine-card.v4-request-machine-card:not(.container-v4-machine)>.v4-facts{grid-template-columns:1fr 1fr}}
.pdi-source-group{display:grid;gap:9px;padding:12px;border:1px solid #dce8eb;border-radius:12px;background:rgba(255,255,255,.82)}.pdi-source-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#19324b;font-size:12px}.pdi-source-count{display:grid;min-width:24px;height:24px;padding:0 7px;place-items:center;border-radius:12px;background:#e6f5f4;color:#07898d;font-size:11px;font-weight:800}.pdi-client-select{width:100%}.pdi-client-empty[hidden],.pdi-container-empty[hidden]{display:none}
@media(max-width:760px){.pdi-equipment-picker{padding:10px}.pdi-source-group{padding:10px}.pdi-equipment-grid{grid-template-columns:1fr}.pdi-equipment-card{grid-template-columns:52px minmax(0,1fr) 20px;gap:9px;padding:9px}.pdi-equipment-image{width:52px;height:40px}}

/* Focused home dashboard */
.home-dashboard-page{padding-top:18px}.home-dashboard-page .page-head{margin-bottom:16px}.home-priority-band{display:grid;grid-template-columns:minmax(270px,1.3fr) repeat(3,minmax(190px,1fr));gap:10px;align-items:stretch;margin-bottom:12px;padding:10px;border:1px solid #dbe7ec;border-radius:10px;background:#fff;box-shadow:var(--shadow)}.home-priority-heading{display:flex;align-items:center;gap:12px;padding:8px 12px}.home-priority-heading-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#fff1d6;color:#e69b11;font-size:22px;font-weight:800}.home-priority-heading h2{margin:0;color:#112743;font-size:18px}.home-priority-heading p{margin:4px 0 0;color:#8292a6;font-size:11px}.home-priority-cell{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;border:1px solid #e0eaf0;border-radius:8px;background:#f9fbfc;color:#112743;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.home-priority-cell:hover{border-color:#7fc7c8;background:#f1fbfb;transform:translateY(-1px)}.home-priority-cell.urgent{background:#fff4f5;border-color:#f5d5d9}.home-priority-cell.warranty{background:#fff9eb;border-color:#f5e1b4}.home-priority-cell.parts{background:#effafa;border-color:#d1eeee}.home-priority-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:7px;background:#fff;color:#07898d;font-size:18px;font-weight:800}.urgent .home-priority-icon{color:#ec3d4d}.warranty .home-priority-icon{color:#e79b13}.home-priority-copy{display:grid;min-width:0;line-height:1.12}.home-priority-copy strong{font-size:21px}.home-priority-copy b{margin-top:3px;font-size:11px;white-space:nowrap}.home-priority-copy small{margin-top:3px;color:#8292a6;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-priority-arrow{margin-left:auto;color:#07898d;font-size:20px;font-weight:700}.home-dashboard-grid{display:grid;gap:12px}.home-dashboard-top{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr)}.home-dashboard-bottom{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);margin-top:12px}.home-card{min-width:0;padding:0;overflow:hidden}.home-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px 13px;border-bottom:1px solid #e4ebf0}.home-card-head h2{margin:0;color:#112743;font-size:18px}.home-card-head p{margin:4px 0 0;color:#8292a6;font-size:11px}.home-card-head a,.home-card-head>.btn{flex:none;margin-top:2px;color:#07898d;font-size:11px;font-weight:800;white-space:nowrap}.home-card-head>.btn{height:32px;padding:0 10px;border-color:#d4e2e8;background:#fff}.home-card-count{display:grid;place-items:center;min-width:28px;height:26px;padding:0 8px;border-radius:999px;background:#e8f4f5;color:#07898d;font-size:12px;font-weight:800}.home-request-list,.home-warranty-list,.home-parts-list,.home-team-list{padding:0 18px}.home-request-row,.home-warranty-row,.home-part-row{display:flex;width:100%;align-items:center;gap:12px;min-width:0;padding:12px 0;border:0;border-bottom:1px solid #edf1f4;background:transparent;color:#24384f;text-align:left;cursor:pointer}.home-request-row:last-child,.home-warranty-row:last-child,.home-part-row:last-child{border-bottom:0}.home-request-row:hover,.home-warranty-row:hover,.home-part-row:hover{background:#f8fbfc}.home-request-main,.home-warranty-row>span:nth-child(2),.home-part-row>span:nth-child(2){display:grid;min-width:0;flex:1}.home-request-main strong,.home-warranty-row strong,.home-part-row strong{color:#07898d;font-size:12px}.home-request-main span,.home-warranty-row b{margin-top:3px;overflow:hidden;color:#24384f;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.home-request-main small,.home-warranty-row small,.home-part-row small{margin-top:3px;overflow:hidden;color:#8292a6;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.home-request-meta,.home-warranty-side{display:grid;justify-items:end;flex:0 0 auto;gap:4px}.home-request-meta small,.home-warranty-side small{color:#8292a6;font-size:10px}.home-request-meta .status,.home-warranty-side .status{font-size:9px;line-height:1.1;text-align:right;white-space:nowrap}.home-warranty-mark{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#fff1d6;color:#e69b13;font-weight:800}.home-empty{padding:25px 0;color:#8292a6;font-size:12px;text-align:center}.home-parts-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 18px 8px}.home-parts-stat{display:grid;gap:2px;padding:10px;border:1px solid #dce9ed;border-radius:8px;background:#f8fbfc;color:#24384f;text-align:left;cursor:pointer}.home-parts-stat:hover{border-color:#7fc7c8;background:#f1fbfb}.home-parts-stat strong{color:#07898d;font-size:21px}.home-parts-stat span{font-size:10px;font-weight:800}.home-parts-stat small{color:#8292a6;font-size:9px}.home-part-row{padding:10px 0}.home-part-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:7px;background:#e8f4f5;color:#07898d;font-size:16px}.home-part-status{display:flex;align-items:center;gap:8px;flex:0 0 auto;color:#62758b;font-size:10px;white-space:nowrap}.home-part-status b{color:#07898d;font-size:16px}.home-team-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf1f4}.home-team-row:last-child{border-bottom:0}.home-team-avatar{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:50%;background:#e7f4f5;color:#07898d;font-size:10px;font-weight:800}.home-team-copy{display:grid;min-width:0;flex:1}.home-team-copy strong{overflow:hidden;color:#24384f;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.home-team-copy small{margin-top:3px;color:#8292a6;font-size:10px}.home-team-copy i{display:block;height:5px;margin-top:7px;border-radius:999px;background:#edf2f4;overflow:hidden}.home-team-copy i b{display:block;height:100%;border-radius:999px;background:#07898d}
@media(max-width:1180px){.home-priority-band{grid-template-columns:1.1fr 1fr 1fr}.home-priority-heading{grid-column:1/-1;padding:4px 8px}.home-dashboard-top,.home-dashboard-bottom{grid-template-columns:1fr}.home-dashboard-bottom{margin-top:12px}}
@media(max-width:760px){.home-priority-band{grid-template-columns:1fr 1fr;padding:8px}.home-priority-heading{grid-column:1/-1}.home-priority-cell{padding:9px}.home-priority-copy b{white-space:normal}.home-priority-copy small{white-space:normal}.home-card-head{padding:14px}.home-request-list,.home-warranty-list,.home-parts-list,.home-team-list{padding:0 14px}.home-request-row,.home-warranty-row{align-items:flex-start}.home-request-meta,.home-warranty-side{justify-items:end}.home-parts-stats{padding-left:14px;padding-right:14px}.home-part-status{font-size:9px}.home-card-head>.btn{font-size:10px}}
@media(max-width:470px){.home-priority-band{grid-template-columns:1fr}.home-priority-heading{grid-column:auto}.home-request-row,.home-warranty-row,.home-part-row{gap:8px}.home-request-meta,.home-warranty-side{display:none}.home-parts-stats{grid-template-columns:1fr 1fr}.home-parts-stat:last-child{grid-column:1/-1}.home-part-status{display:none}}
.tracking-history{margin-top:18px;padding-top:16px;border-top:1px solid #e1e9ee}.tracking-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.tracking-history-head h4{margin:0;color:#192e48;font-size:16px}.tracking-history-head p{margin:4px 0 0;color:#7a8da5;font-size:12px}.tracking-history-eta{flex:none;padding:7px 10px;border-radius:8px;background:#eaf6f5;color:#087d80;font-size:12px;font-weight:700}.tracking-history-list{position:relative;display:grid;gap:0;margin:0;padding:0;list-style:none}.tracking-history-list:before{position:absolute;top:10px;bottom:10px;left:149px;width:2px;background:#d7e1e8;content:""}.tracking-history-row{position:relative;display:grid;grid-template-columns:132px 14px minmax(0,1fr);align-items:start;gap:17px;padding:10px 0}.tracking-history-time{display:grid;gap:3px;color:#74869c;font-size:12px;font-variant-numeric:tabular-nums}.tracking-history-time strong{color:#485c72;font-size:12px}.tracking-history-time small{font-size:11px}.tracking-history-mark{z-index:1;width:12px;height:12px;margin-top:3px;border:2px solid #07898d;border-radius:50%;background:#fff}.tracking-history-content{min-width:0;display:grid;gap:4px;color:#263a52}.tracking-history-content strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.tracking-history-content small{color:#72859c;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.tracking-history-empty{padding:12px;border-radius:8px;background:#f5f8fa;color:#74869c;font-size:13px}.tracking-history-row:last-child .tracking-history-mark{background:#07898d}
@media(max-width:760px){.tracking-history-head{align-items:flex-start}.tracking-history-head h4{font-size:14px}.tracking-history-head p,.tracking-history-eta{font-size:11px}.tracking-history-list:before{left:111px}.tracking-history-row{grid-template-columns:96px 14px minmax(0,1fr);gap:8px;padding:9px 0}.tracking-history-time,.tracking-history-time strong{font-size:10px}.tracking-history-time small{font-size:10px}.tracking-history-content strong{font-size:12px}.tracking-history-content small{font-size:11px}}
@media(max-width:470px){.tracking-history-head{flex-direction:column;gap:8px}.tracking-history-eta{max-width:100%;white-space:normal;box-sizing:border-box}}
.tracking-history-list{max-height:340px;padding-right:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5d5dd transparent}
@media(max-width:760px){.tracking-history-list{max-height:min(36vh,290px)}}
.tracking-history-head{flex-wrap:wrap}.tracking-history-head>div{min-width:0;flex:1 1 150px}.tracking-history-eta{max-width:100%;white-space:normal;box-sizing:border-box}

/* Requests marked as issued stay available at the end of the register in a
   compact, expandable archive. */
.request-issued-archive{margin-top:24px;padding:0!important;overflow:hidden;border:1px solid #ead5d9;background:#fff;box-shadow:0 4px 14px rgba(47,32,39,.045)}
.request-issued-archive-summary{display:flex;min-height:76px;align-items:center;gap:14px;padding:14px 18px;list-style:none;cursor:pointer;transition:background .16s ease}
.request-issued-archive-summary::-webkit-details-marker{display:none}
.request-issued-archive-summary::marker{content:""}
.request-issued-archive-summary:hover{background:#fff8f8}
.request-issued-archive-summary:focus-visible{outline:3px solid rgba(8,137,141,.35);outline-offset:-3px}
.request-issued-archive-icon{display:grid;width:40px;height:40px;flex:none;place-items:center;border-radius:11px;background:#fff0f1;color:#c83748;font-size:20px}
.request-issued-archive-title{display:grid;min-width:0;flex:1;gap:4px}
.request-issued-archive-title strong{color:#1a304a;font-size:15px;line-height:1.25}
.request-issued-archive-title small{color:#7e8da0;font-size:12px;line-height:1.35}
.request-issued-archive-summary>.status{flex:none}
.request-issued-archive-count{display:grid;min-width:30px;height:28px;padding:0 8px;place-items:center;border-radius:999px;background:#f6e7ea;color:#b83243;font-size:12px;font-weight:800}
.request-issued-archive-chevron{width:24px;flex:none;color:#75869a;font-size:21px;line-height:1;text-align:center;transition:transform .18s ease}
.request-issued-archive[open] .request-issued-archive-chevron{transform:rotate(180deg)}
.request-issued-archive-content{padding-top:2px;border-top:1px solid #f1e4e6}
.request-issued-archive-content>.table-wrap{border:0;border-radius:0;box-shadow:none}
.request-issued-archive-content .mr-card-list{padding:10px}
@media(max-width:760px){
 .request-issued-archive{margin-top:18px;border-radius:13px}
 .request-issued-archive-summary{min-height:68px;gap:10px;padding:12px}
 .request-issued-archive-icon{width:34px;height:34px;border-radius:9px;font-size:17px}
 .request-issued-archive-title strong{font-size:13px}
 .request-issued-archive-title small{font-size:10px}
 .request-issued-archive-summary>.status{max-width:92px;padding:5px 7px;font-size:10px;white-space:normal;text-align:center}
 .request-issued-archive-count{min-width:25px;height:25px;padding:0 6px;font-size:11px}
 .request-issued-archive-chevron{width:18px;font-size:18px}
}
@media(max-width:390px){.request-issued-archive-summary{gap:7px;padding:10px}.request-issued-archive-title small{max-width:150px}.request-issued-archive-summary>.status{max-width:72px;font-size:9px}}

/* Completed work uses the approved reference proportions at the width of its
   own card. Short dividers and the metrics panel never touch the outer edges. */
.completed-work-list{container:completed-work / inline-size;min-width:0}
.v4-grid-top>.completed-work-card .completed-work-row.work-row{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 12px;
 position:relative;min-width:0;min-height:0;margin:0;padding:18px 14px 18px 18px;
 border:0;border-radius:11px;background:#fff;color:#102d4c;box-shadow:0 7px 22px rgba(36,78,111,.08);
 font-size:13px;line-height:1.25;overflow:hidden;isolation:isolate;cursor:pointer
}
.completed-work-row.work-row::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#009daa}
.completed-work-row.work-row:hover{background:#fff;box-shadow:0 7px 22px rgba(36,78,111,.13)}
.completed-work-row.work-row:focus-visible{outline:2px solid #009daa;outline-offset:3px}
.work-row .work-row-icon{display:block;flex:none;width:24px;height:24px;color:#7c92aa}
.work-row .work-row-zone{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:0;border:0}
.work-row .work-row-copy{display:grid;gap:5px;min-width:0}
.work-row .work-row-date{grid-column:1;grid-row:1}
.work-row .work-row-service{grid-column:1/-1;grid-row:2}
.work-row .work-row-team{grid-column:1/-1;grid-row:3;align-items:flex-start}
.work-row .work-row-metrics{grid-column:1/-1;grid-row:4}
.work-row .work-row-state{grid-column:1/-1;grid-row:5}
.work-row .work-row-actions{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.work-row .work-row-copy>strong,.work-row .work-row-service>strong{display:block;margin:0;color:#102d4c;font-size:1em;font-weight:750;line-height:1.22;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.work-row .work-row-copy>small{display:block;margin:0;color:#7c92aa;font-size:.84em;font-weight:650;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
.work-row .work-row-metrics-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;width:100%;min-width:0;padding:10px 5px;border-radius:11px;background:#f2f7fb}
.work-row .work-row-metric{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;text-align:center}
.work-row .work-row-metric+.work-row-metric::before{content:"";position:absolute;left:0;top:20%;bottom:10%;width:1px;background:#dce7f1}
.work-row .work-row-metric .work-row-icon{width:19px;height:19px}
.work-row .work-row-metric>strong{display:block;color:#102d4c;font-size:.9em;line-height:1.2;font-weight:750;white-space:nowrap}
.work-row .work-row-state>span{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:7px 13px;border:0;border-radius:999px;background:#e7f0ff;color:#1265c9;font-size:.91em;font-weight:750;line-height:1.2;white-space:normal;text-align:center}
.work-row .work-row-state[data-status="awaiting_parts"]>span{background:#fff3db;color:#9b660f}
.work-row .work-row-state[data-status="closed"]>span{background:#e5f5eb;color:#227e48}
.v4-grid-top>.completed-work-card .work-row .completed-work-row-edit{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:31px;margin:0;padding:7px 9px;border:1px solid #00a5b2;border-radius:6px;background:#fff;color:#008c9c;font-family:inherit;font-size:10px;font-weight:750;line-height:1;white-space:nowrap;max-width:none;overflow:visible;cursor:pointer}
.v4-grid-top>.completed-work-card .work-row .completed-work-row-edit[hidden]{display:none}
.work-row .completed-work-row-edit .work-row-icon{width:14px;height:14px;color:inherit}
.work-row .work-row-open{display:grid;flex:none;place-items:center;width:32px;height:32px;border-radius:50%;background:#def3f4;color:#008c9c}
.work-row .work-row-open .work-row-icon{width:21px;height:21px;color:inherit}
@container completed-work (min-width:620px) and (max-width:999px){
 .v4-grid-top>.completed-work-card .completed-work-row.work-row{grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) minmax(85px,.7fr) minmax(144px,1fr);padding:16px 18px;gap:16px 12px}
 .work-row .work-row-date{grid-column:1;grid-row:1}
 .work-row .work-row-service{grid-column:2;grid-row:1}
 .work-row .work-row-team{grid-column:1/3;grid-row:2;align-items:center}
 .work-row .work-row-metrics{grid-column:3/5;grid-row:2}
 .work-row .work-row-state{grid-column:3;grid-row:1;justify-self:end}
 .work-row .work-row-actions{grid-column:4;grid-row:1}
}
@container completed-work (min-width:1000px){
 .v4-grid-top>.completed-work-card .completed-work-row.work-row{
  grid-template-columns:14.3% 14.3% 26.7% 19.7% 9.1% 15.9%;gap:0;min-height:6.8cqw;padding:1cqw 0;
  border-radius:.9cqw;font-size:1.15cqw;box-shadow:0 .45cqw 1.35cqw rgba(36,78,111,.08)
 }
 .completed-work-row.work-row::before{width:.32cqw}
 .work-row .work-row-zone{position:relative;align-items:center;gap:1.2cqw;min-height:3.8cqw;padding:0 1.4cqw;grid-row:1}
 .work-row .work-row-zone::after{content:"";position:absolute;right:0;top:50%;height:3.8cqw;width:1px;background:#dce6f0;transform:translateY(-50%)}
 .work-row .work-row-date{grid-column:1;padding-left:2cqw}
 .work-row .work-row-service{grid-column:2}
 .work-row .work-row-team{grid-column:3;padding-left:1.65cqw}
 .work-row .work-row-metrics{grid-column:4;padding:0 1.3cqw}
 .work-row .work-row-state{grid-column:5;grid-row:1;display:flex;justify-content:center;align-items:center;padding:0 .6cqw}
 .work-row .work-row-actions{grid-column:6;grid-row:1;gap:1.2cqw;padding:0 1.2cqw 0 .6cqw}
 .work-row .work-row-icon{width:1.7cqw;height:1.7cqw}
 .work-row .work-row-icon-wrench{width:2.2cqw;height:2.2cqw}
 .work-row .work-row-icon-team{width:2cqw;height:2cqw}
 .work-row .work-row-date>.work-row-icon,.work-row .work-row-team>.work-row-icon{transform:translateY(-.5cqw)}
 .work-row .work-row-copy{gap:.6cqw}
 .work-row .work-row-date strong,.work-row .work-row-date small{white-space:nowrap;overflow-wrap:normal}
 .work-row .work-row-team strong{font-size:1.1cqw;letter-spacing:-.025em;overflow-wrap:normal}
 .work-row .work-row-service>strong{font-size:1em;letter-spacing:-.02em;overflow-wrap:normal}
 .work-row .work-row-copy>small{font-size:.88em}
 .work-row .work-row-metrics-panel{height:4.8cqw;min-height:4.8cqw;padding:.75cqw 0 .6cqw;border-radius:.85cqw}
 .work-row .work-row-metric{gap:.58cqw}
 .work-row .work-row-metric .work-row-icon{width:1.25cqw;height:1.25cqw}
 .work-row .work-row-metric>strong{font-size:.86em}
 .work-row .work-row-metric+.work-row-metric::before{top:.45cqw;bottom:.55cqw}
 .work-row .work-row-state>span{min-height:2.7cqw;padding:.7cqw 1.3cqw;font-size:.93em;line-height:1.2}
 .work-row .work-row-state[data-status="in_progress"]>span{white-space:nowrap}
 .v4-grid-top>.completed-work-card .work-row .completed-work-row-edit{gap:.85cqw;min-height:2.65cqw;padding:.6cqw .85cqw;border-width:1px;border-radius:.48cqw;font-size:.82cqw}
 .work-row .completed-work-row-edit .work-row-icon{width:1.08cqw;height:1.08cqw}
 .work-row .work-row-open{width:2.8cqw;height:2.8cqw}
 .work-row .work-row-open .work-row-icon{width:1.65cqw;height:1.65cqw}
}
@container completed-work (max-width:359px){
 .work-row .work-row-actions{flex-direction:column;gap:8px}
 .work-row .work-row-date{align-self:start}
 .v4-grid-top>.completed-work-card .completed-work-row.work-row{font-size:12px;padding:15px 12px 15px 16px}
 .work-row .work-row-zone{gap:9px}
 .work-row .work-row-icon{width:21px;height:21px}
}

#workHistoryForm .form-actions{flex-wrap:wrap}
#workHistoryForm #deleteWorkHistory{margin-right:auto}
@media(max-width:600px){#workHistoryForm #deleteWorkHistory{flex-basis:100%;margin-right:0}}

/* A work row is informational; editing is an explicit separate action. */
.completed-work-row{position:relative}
.completed-work-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.completed-work-row-edit{min-height:32px;padding:6px 9px;border:1px solid #9ed3d5;border-radius:8px;background:#fff;color:#087f84;font:inherit;font-size:10px;font-weight:800;line-height:1;white-space:nowrap;cursor:pointer}
.completed-work-row-edit:hover{background:#eaf8f7;border-color:#07898d}
.completed-work-row-edit:focus-visible,.completed-work-row:focus-visible{outline:3px solid rgba(7,143,148,.24);outline-offset:2px}
.completed-work-row-actions .completed-work-row-arrow{flex:none}
@media(max-width:900px){.completed-work-row-actions{grid-column:4;grid-row:1}}
@media(max-width:620px){.completed-work-row-actions{grid-column:2;grid-row:1;flex-direction:column;align-items:flex-end;gap:6px}.completed-work-row-edit{padding:5px 6px;font-size:9px}}

/* Reserve a real column for the edit action so it never covers the status. */
@media(min-width:1181px){.v4-grid-top>.completed-work-card .completed-work-row{grid-template-columns:minmax(92px,.9fr) minmax(125px,1.1fr) minmax(0,1.45fr) minmax(190px,1.35fr) minmax(132px,.9fr) minmax(142px,auto)}}
@media(min-width:761px) and (max-width:1180px){.completed-work-row{grid-template-columns:minmax(120px,.9fr) minmax(145px,1.1fr) minmax(155px,1.25fr) minmax(130px,1fr) minmax(110px,.85fr) minmax(142px,auto)}}
@media(min-width:621px) and (max-width:900px){.completed-work-row{grid-template-columns:minmax(120px,1fr) minmax(160px,1.3fr) minmax(150px,1.2fr) minmax(142px,auto)}}
@media(max-width:620px){.completed-work-row{grid-template-columns:minmax(0,1fr) minmax(142px,auto)}}

/* Informational work modal: a calmer summary-first layout. */
dialog:has(.work-history-detail-compact){width:min(900px,calc(100vw - 28px));border-radius:20px}
dialog:has(.work-history-detail-compact) .modal-card>header{padding:24px 30px 20px}
dialog:has(.work-history-detail-compact) .modal-card h2{font-size:28px;line-height:1.1}
dialog:has(.work-history-detail-compact) .modal-content{padding:22px 30px 26px;background:#fff;max-height:calc(100vh - 140px)}
.work-history-detail-compact{gap:18px}
.work-history-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:0;padding:16px 18px;border-radius:13px;background:#f5f9fa}
.work-history-summary-strip>div{display:grid;gap:6px;min-width:0;padding:0 18px;border-left:1px solid #d7e3e8}
.work-history-summary-strip>div:first-child{padding-left:0;border-left:0}
.work-history-summary-strip>div:last-child{padding-right:0}
.work-history-summary-strip small,.work-history-result-worker small{color:#8094aa;font-size:11px;font-weight:800}
.work-history-summary-strip strong{overflow-wrap:anywhere;color:#18324d;font-size:16px;line-height:1.2}
.work-history-status-pill{display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:30px;padding:6px 13px;border-radius:18px;background:#dff6f1;color:#07898d;font-size:11px;font-weight:800}
.work-history-status-pill[data-status="in_progress"]{background:#e8f0ff;color:#2864b1}
.work-history-status-pill[data-status="awaiting_parts"]{background:#fff3dc;color:#a96800}
.work-history-status-pill[data-status="closed"]{background:#e4f5eb;color:#217c43}
.work-history-detail-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.9fr);gap:18px}
.work-history-result-card,.work-history-metrics-card{min-width:0;padding:22px 24px;border-radius:14px;background:#f7fafb}
.work-history-result-card h3,.work-history-metrics-card h3{margin:0;padding-bottom:13px;border-bottom:1px solid #d9e5e9;color:#5d7897;font-size:18px;line-height:1.2}
.work-history-result-text{min-height:96px;padding:24px 0 20px;color:#1e3652;font-size:20px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.work-history-result-worker{display:grid;gap:7px;padding-top:18px;border-top:1px solid #d9e5e9}
.work-history-result-worker strong{color:#18324d;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.work-history-metric-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid #d9e5e9}
.work-history-metric-row:last-child{border-bottom:0;padding-bottom:0}
.work-history-metric-row span{color:#8094aa;font-size:12px;font-weight:700}
.work-history-metric-row strong{color:#18324d;font-size:14px;text-align:right;overflow-wrap:anywhere}
@media(max-width:700px){dialog:has(.work-history-detail-compact) .modal-card>header{padding:20px 20px 18px}dialog:has(.work-history-detail-compact) .modal-content{padding:18px 20px 22px}.work-history-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:15px}.work-history-summary-strip>div,.work-history-summary-strip>div:first-child,.work-history-summary-strip>div:last-child{padding:0 0 0 12px;border-left:2px solid #d7e3e8}.work-history-detail-columns{grid-template-columns:1fr}.work-history-result-card,.work-history-metrics-card{padding:18px}.work-history-result-text{min-height:0;padding:18px 0}.work-history-detail-compact .work-history-detail-footer{align-items:flex-start;flex-direction:column}.work-history-detail-compact .work-history-detail-footer .form-actions{width:100%;justify-content:stretch}.work-history-detail-compact .work-history-detail-footer .form-actions .btn{flex:1}}
@media(max-width:420px){.work-history-summary-strip{grid-template-columns:1fr}.work-history-summary-strip>div,.work-history-summary-strip>div:first-child,.work-history-summary-strip>div:last-child{padding-left:0;border-left:0}.work-history-summary-strip>div+div{padding-top:10px;border-top:1px solid #d7e3e8}}
@media(max-width:1400px) and (min-width:761px){.v4-grid-bottom{grid-template-columns:minmax(0,1fr)}.v4-grid-bottom>.v4-card{width:100%;min-width:0}}

/* Mobile materials redesign: keep the section compact and prevent the
   desktop grid from stretching each material into a tall empty panel. */
.materials-quantity-group{display:contents}
.materials-row-chevron{display:none}
@media(max-width:760px){
 .v4-grid-bottom{align-items:start}
 .materials-card{height:auto!important;align-self:start;padding:16px 14px 14px;overflow:hidden}
 .materials-card>.materials-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px 10px;margin-bottom:14px}
 .materials-heading{grid-column:1;grid-row:1;display:flex;align-items:flex-start;gap:10px;min-width:0;flex-basis:auto}
 .materials-heading h3{font-size:19px!important;line-height:1.2!important;margin:0 0 3px!important}
 .materials-heading p{font-size:11px!important;line-height:1.35!important}
 .materials-drop-icon{width:34px;height:34px;font-size:17px}
 .materials-header-actions{grid-column:1/-1;grid-row:2;width:auto;display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;margin:0}
 .materials-summary-chip{min-width:0;padding:6px 9px;border-radius:10px;grid-template-columns:20px auto;column-gap:6px}
 .materials-summary-icon{width:20px;height:20px;border-radius:6px;font-size:12px}
 .materials-summary-chip strong{font-size:14px}
 .materials-summary-chip small{font-size:8px}
 .materials-card>.materials-header>.section-edit-btn{grid-column:2;grid-row:1;align-self:start;margin:0;min-height:34px;padding:0 10px;border-color:#9ed6d7;border-radius:8px;color:#07898d;font-size:10px;line-height:1;white-space:nowrap}
 .materials-card>.materials-header>.section-edit-btn:hover{background:#effafa;border-color:#07898d}
 .materials-card .materials-add-btn{width:auto;margin:0 0 0 auto;min-height:34px;padding:0 10px;font-size:10px}
 .materials-card #materialRows{display:grid;gap:9px;margin-top:0}
 .materials-card .v4-material-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto 24px;grid-template-rows:auto auto;align-items:center;column-gap:10px;row-gap:3px;min-height:0;height:auto;padding:13px 11px;border:1px solid #d7e7eb;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(28,57,78,.04);font-size:12px;overflow:hidden}
 .materials-card .v4-material-row:first-child{border-color:#bfe4e3;background:#f1fbfb;box-shadow:inset 4px 0 0 #0a9b9e,0 2px 8px rgba(28,57,78,.04)}
 .materials-card .materials-item-name{grid-column:1/3;grid-row:1;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;min-width:0}
 .materials-card .materials-row-icon{width:38px;height:38px;border-radius:11px;background:#e4f7f6;color:#078f94;font-size:18px}
 .materials-card .v4-material-row .material-name{grid-column:2;min-width:0;width:100%;height:30px;padding:0;border:0;background:transparent;color:#193653;font-size:14px;font-weight:800;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .materials-card .v4-material-row .material-spec{grid-column:2;grid-row:2;min-width:0;width:100%;height:22px;margin:0;padding:0;border:0;background:transparent;color:#7f92a6;font-size:11px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .materials-card .materials-quantity-group{grid-column:3;grid-row:1/3;display:flex;align-items:center;gap:3px;min-width:62px;height:32px;padding:0 8px;border-radius:999px;background:#e5f6f5;color:#183a57}
 .materials-card .v4-material-row .material-quantity{width:34px;height:28px;margin:0;padding:0;border:0!important;background:transparent!important;color:#183a57;font-size:15px;font-weight:800;line-height:1;text-align:right}
 .materials-card .v4-material-row .material-unit{width:22px;height:28px;margin:0;padding:0;border:0!important;background:transparent!important;background-image:none!important;color:#183a57;font-size:11px;font-weight:800;line-height:1;appearance:none;-webkit-appearance:none;text-align:left}
 .materials-card .v4-material-row button[data-remove-material]{grid-column:4;grid-row:1/3;display:none!important}
 .materials-card .materials-row-chevron{grid-column:4;grid-row:1/3;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:#6f8193;font-size:27px;font-weight:400;line-height:1}
 .materials-card.is-editing .v4-material-row{grid-template-columns:38px minmax(0,1fr) 62px 28px;background:#fff}
 .materials-card.is-editing .v4-material-row:first-child{background:#fff}
 .materials-card.is-editing .materials-row-chevron{display:none}
 .materials-card.is-editing .v4-material-row button[data-remove-material]{display:grid!important;place-items:center;width:28px;height:28px;border-radius:50%;background:#eff8f8;color:#07898d;font-size:18px}
 .materials-card.is-editing .materials-quantity-group{display:contents}
 .materials-card.is-editing .v4-material-row .material-quantity{grid-column:3;grid-row:1;width:62px;height:32px;padding:6px 7px;border:1px solid #d4e1e7!important;border-radius:7px;background:#fff!important;text-align:center}
 .materials-card.is-editing .v4-material-row .material-unit{grid-column:3;grid-row:2;width:62px;height:28px;padding:4px 6px;border:1px solid #d4e1e7!important;border-radius:7px;background:#fff!important;background-image:linear-gradient(45deg,transparent 50%,#52677f 50%),linear-gradient(135deg,#52677f 50%,transparent 50%)!important;background-position:calc(100% - 11px) 50%,calc(100% - 6px) 50%!important;background-size:5px 5px,5px 5px!important;background-repeat:no-repeat!important}
}
@media(max-width:420px){
 .materials-card{padding-left:12px;padding-right:12px}
 .materials-card>.materials-header{gap:12px 7px}
 .materials-heading h3{font-size:17px!important}
 .materials-heading p{font-size:10px!important}
 .materials-card>.materials-header>.section-edit-btn{padding:0 8px;font-size:9px}
 .materials-card .materials-summary-chip{padding:6px 8px}
 .materials-card .v4-material-row{padding:12px 9px}
 .materials-card .v4-material-row .material-name{font-size:13px}
}
/* Work-history editor: exact approved two-column card layout. */
dialog:has(#workHistoryForm){width:min(1220px,calc(100vw - 28px));border:1px solid #d9e5ea;border-radius:20px;overflow:hidden}
dialog:has(#workHistoryForm) .work-history-form>.notice{display:none}
dialog:has(#workHistoryForm) .modal-card>header{padding:25px 30px 20px;border-bottom:1px solid #d9e5ea;background:#fff}
dialog:has(#workHistoryForm) .modal-card .eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#5d7897;font-size:12px;font-weight:800}
dialog:has(#workHistoryForm) .modal-card h2{font-size:30px;line-height:1.08;letter-spacing:-.035em;color:#101d35}
dialog:has(#workHistoryForm) .modal-content{padding:22px 30px 24px;max-height:calc(100vh - 150px);background:#f7fafb;overflow:auto}
.work-history-edit-layout{display:grid;grid-template-columns:292px minmax(0,1fr);gap:16px;align-items:start}
.work-history-edit-sidebar,.work-history-edit-main{display:grid;gap:12px;align-content:start;min-width:0}
.work-history-edit-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.work-edit-card{min-width:0;padding:15px 16px;border:1px solid #d7e4ea;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(27,60,82,.035)}
.work-edit-card-head{display:flex;align-items:center;gap:9px;min-height:24px;margin-bottom:10px;color:#536b84;font-size:13px;font-weight:800}
.work-edit-card-head .work-row-icon{width:24px;height:24px;padding:5px;border-radius:50%;background:#e8f6f6;color:#07898d;stroke-width:2.2}
.work-edit-card>input,.work-edit-card>select,.work-edit-card>textarea{display:block;width:100%;height:44px;margin:0;border:1px solid #cbdbe2;border-radius:9px;background:#fbfdfe;color:#182a43;padding:9px 12px;font:inherit;font-size:14px;font-weight:700;outline:0}
.work-edit-card>select{-webkit-appearance:none;appearance:none;padding-right:38px;background-color:#fbfdfe;background-image:linear-gradient(45deg,transparent 50%,#63778b 50%),linear-gradient(135deg,#63778b 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 10px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;cursor:pointer}
.work-edit-card>input:focus,.work-edit-card>select:focus,.work-edit-card>textarea:focus{border-color:#07898d;box-shadow:0 0 0 3px rgba(7,137,141,.12);background:#fff}
.work-edit-card>input:disabled,.work-edit-card>select:disabled,.work-edit-card>textarea:disabled{background:#f3f7f9;color:#52677f;opacity:1;cursor:default}
.work-edit-card>textarea{height:86px;min-height:86px;resize:vertical;line-height:1.4}
.work-edit-card>input[type=number]{font-variant-numeric:tabular-nums}
.work-edit-card>input[type=datetime-local]{font-size:13px}
.work-edit-card>input[list]{padding-right:12px}
.work-edit-card datalist{display:none}
.work-edit-team{padding-bottom:14px}
.work-edit-team .work-history-team-picker{display:grid;grid-template-columns:1fr;gap:7px;margin-top:0}
.work-edit-team .work-history-team-picker label{min-height:36px;padding:7px 9px;border-radius:8px;background:#fbfdfe}
.work-edit-team .muted{margin:0;color:#8192a4;font-size:11px;line-height:1.4}
.work-edit-status{background:#f9fcfd}
.work-edit-status>select{font-size:15px}
.work-history-edit-actions{margin-top:16px!important;padding-top:16px!important;border-top:1px solid #d9e5ea;justify-content:space-between;gap:10px}
.work-history-edit-actions .btn{min-height:44px;border-radius:9px;padding:0 18px}
.work-history-edit-actions .btn.danger{border-color:#e9aab0;background:#fff5f6;color:#be2737}
.work-history-edit-actions .btn.danger .work-row-icon{width:20px;height:20px;margin-right:7px;vertical-align:-5px;stroke-width:2.4}
.work-history-edit-actions .btn.danger:hover{background:#ffe9ec;border-color:#d76a76}
.work-history-edit-actions .btn.primary{background:#07898d;border-color:#07898d}
.work-duration-field .field-hint,.work-edit-card .field-hint{display:block;margin-top:6px;color:#7890a5;font-size:10px;font-weight:700;line-height:1.3}.close-requirements-hint{color:#b06c00!important}
@media(max-width:900px){dialog:has(#workHistoryForm){width:calc(100vw - 18px)}dialog:has(#workHistoryForm) .modal-card>header{padding:21px 21px 18px}dialog:has(#workHistoryForm) .modal-card h2{font-size:25px}dialog:has(#workHistoryForm) .modal-content{padding:18px 20px 22px}.work-history-edit-layout{grid-template-columns:1fr}.work-history-edit-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.work-edit-team{grid-column:1/-1}.work-history-edit-main{grid-template-columns:1fr}.work-history-edit-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.work-history-edit-sidebar,.work-history-edit-metrics{grid-template-columns:1fr}.work-edit-team{grid-column:auto}.work-history-edit-actions{flex-wrap:wrap}.work-history-edit-actions .btn{flex:1;min-width:120px}.work-history-edit-actions .btn.danger{order:3;flex-basis:100%}}

/* Keep date fields inside the work cards on narrow mobile Safari screens. */
@media(max-width:620px){
 dialog:has(#workHistoryForm){
  width:calc(100vw - 26px);
  max-width:calc(100dvw - 26px);
  max-height:calc(100dvh - 20px);
  overflow-x:hidden;
 }
 dialog:has(#workHistoryForm) .modal-card,
 dialog:has(#workHistoryForm) .modal-card>header,
 dialog:has(#workHistoryForm) .modal-content,
 dialog:has(#workHistoryForm) .work-history-edit-layout,
 dialog:has(#workHistoryForm) .work-history-edit-sidebar,
 dialog:has(#workHistoryForm) .work-history-edit-main,
 dialog:has(#workHistoryForm) .work-history-edit-metrics,
 dialog:has(#workHistoryForm) .work-edit-card{min-width:0;max-width:100%;}
 dialog:has(#workHistoryForm) .modal-card,
 dialog:has(#workHistoryForm) .work-edit-card{overflow-x:hidden;}
 dialog:has(#workHistoryForm) .work-edit-card>input,
 dialog:has(#workHistoryForm) .work-edit-card>select,
 dialog:has(#workHistoryForm) .work-edit-card>textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
 dialog:has(#workHistoryForm) .work-edit-card>input[type=datetime-local]{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:hidden;}
}
@supports (-webkit-touch-callout:none){
 @media(max-width:620px){
  dialog:has(#workHistoryForm) .work-edit-card>input[type=datetime-local]{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;}
 }
}

/* Some iPhone/iPad browsers expose a desktop-width layout viewport even when
   the physical screen is narrow. Keep the portal in the same compact mode as
   a normal mobile viewport so the equipment register never becomes a clipped
   horizontal table. */
html.mobile-device,html.mobile-device body{overflow-x:hidden}
html.mobile-device .app-shell{display:block;min-height:100vh}
html.mobile-device .workspace{display:block;grid-column:auto;min-width:0}
html.mobile-device .topbar{padding:0 12px}
html.mobile-device .topbar-logo{display:none}
html.mobile-device .mobile-menu{display:block}
html.mobile-device .search{width:auto;min-width:0;flex:1}
html.mobile-device .sync-state,html.mobile-device .language-switch,html.mobile-device .profile div,html.mobile-device .logout{display:none}
html.mobile-device .top-actions{gap:8px}
html.mobile-device .sidebar{position:fixed;inset:0 auto 0 0;width:244px;height:100vh;min-height:0;display:flex;flex-direction:column;transform:translateX(-100%);transition:.2s;overflow-y:auto;overflow-x:hidden;z-index:30}
html.mobile-device .sidebar.open{transform:none}
html.mobile-device .sidebar nav{display:block;min-width:0;padding:14px 10px}
html.mobile-device .sidebar .nav-item{width:100%;height:48px;padding:0 15px;justify-content:flex-start;border:0;border-left:3px solid transparent}
html.mobile-device .sidebar .nav-item:hover,html.mobile-device .sidebar .nav-item.active{border:0;border-left:3px solid #09a0a5}
html.mobile-device .sidebar .sidebar-foot{display:block;margin-top:auto}
html.mobile-device #mainContent{width:100%;min-width:0}
html.mobile-device .v4-page{padding:14px 12px 74px}
html.mobile-device .equipment-list{width:100%;min-width:0;overflow:hidden}
html.mobile-device .equipment-list-head{display:none!important}
html.mobile-device .equipment-list-row{grid-template-columns:1fr;gap:12px;min-width:0;padding:14px 12px}
html.mobile-device .equipment-list-machine{min-width:0;gap:10px}
html.mobile-device .equipment-list-thumb{width:64px;height:52px}
html.mobile-device .equipment-list-client,html.mobile-device .equipment-list-usage,html.mobile-device .equipment-list-requests{display:grid!important;grid-template-columns:112px minmax(0,1fr);align-items:baseline;gap:8px;min-width:0;padding:10px 0 0 74px;border-top:1px solid #edf1f4}
html.mobile-device .equipment-list-client::before,html.mobile-device .equipment-list-usage::before,html.mobile-device .equipment-list-requests::before{grid-column:1;grid-row:1/3;color:#8191a3;font-size:10px;font-weight:800;line-height:1.2}
html.mobile-device .equipment-list-client::before{content:attr(data-mobile-label)}
html.mobile-device .equipment-list-usage::before{content:attr(data-mobile-label)}
html.mobile-device .equipment-list-requests::before{content:attr(data-mobile-label)}
html.mobile-device .equipment-list-client strong,html.mobile-device .equipment-list-client small,html.mobile-device .equipment-list-usage strong,html.mobile-device .equipment-list-usage small{grid-column:2;white-space:normal;overflow-wrap:anywhere}
html.mobile-device .equipment-list-client strong,html.mobile-device .equipment-list-usage strong{grid-row:1}
html.mobile-device .equipment-list-client small,html.mobile-device .equipment-list-usage small{grid-row:2;margin-top:0}
html.mobile-device .equipment-list-requests .badge{grid-column:2;grid-row:1;justify-self:start}
html.mobile-device .equipment-list-row .equipment-actions{display:flex;justify-self:stretch;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:7px;width:100%;padding:2px 0 0 74px}
html.mobile-device .equipment-list-row .equipment-actions .equipment-spec-button{flex:1 1 100%;width:100%;min-width:0}
html.mobile-device .equipment-list-row .equipment-actions .btn{flex:1 1 calc(50% - 7px);min-height:38px;padding:8px 9px;font-size:11px}

/* Equipment register: keep the existing table, but give document and actions
   their own stable columns so long client names never collide with controls. */
.equipment-list-head,.equipment-list-row{grid-template-columns:minmax(270px,1.35fr) minmax(170px,.9fr) minmax(115px,.62fr) 120px minmax(145px,.8fr) minmax(250px,1.15fr);gap:12px}
.equipment-list-head{padding-left:14px;padding-right:14px}
.equipment-list-row{padding-left:14px;padding-right:14px}
.equipment-list-document{min-width:0;display:flex;align-items:center}
.equipment-list-document .equipment-spec-button{width:100%;min-width:0}
.equipment-list-row .equipment-actions{min-width:0;display:flex;align-items:center;justify-content:flex-start;gap:5px;flex-wrap:wrap}
.equipment-list-row .equipment-actions .btn{padding:7px 8px;font-size:10px;white-space:nowrap}
@media(max-width:1250px){.equipment-list-head,.equipment-list-row{grid-template-columns:minmax(230px,1.2fr) minmax(145px,.85fr) 100px 105px minmax(125px,.8fr) minmax(205px,1.1fr);gap:9px}.equipment-list-head,.equipment-list-row{padding-left:11px;padding-right:11px}.equipment-list-thumb{width:70px}.equipment-list-thumb img{max-width:60px!important;max-height:40px!important}.equipment-list-row .equipment-actions .btn{padding:6px 6px;font-size:9px}}
@media(max-width:980px) and (pointer:fine){.equipment-list-head{display:none}.equipment-list-row{grid-template-columns:minmax(250px,1fr) minmax(220px,auto)}.equipment-list-client,.equipment-list-usage,.equipment-list-requests,.equipment-list-document{display:none}.equipment-list-row .equipment-actions{justify-self:end}}
html.mobile-device .equipment-list-document{display:grid!important;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:10px 0 0 74px;border-top:1px solid #edf1f4}
html.mobile-device .equipment-list-document::before{content:attr(data-mobile-label);color:#8191a3;font-size:10px;font-weight:800;line-height:1.2}
html.mobile-device .equipment-list-document .equipment-spec-button{grid-column:2;width:100%;min-width:0}

/* Compact multi-work markers in the request registry. */
.request-status-group .data-table .req-col-type{width:8%!important;min-width:0!important}
.request-status-group .data-table .req-col-work{width:16%!important;min-width:0!important}
.request-status-group .data-table .req-col-description{width:18%!important;min-width:0!important}
.request-work-types{vertical-align:middle!important;overflow:visible!important;white-space:normal!important}
.request-work-types-stack{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;max-width:none;white-space:nowrap}
.request-work-badge{display:inline-flex;align-items:center;gap:3px;min-height:18px;padding:0 6px;border-radius:999px;font-size:9px;font-weight:800;line-height:1;white-space:nowrap}
.request-work-badge i{width:4px;height:4px;border-radius:50%;background:currentColor;flex:none}
.request-work-badge.service{background:#e6f7f7;color:#087e82}
.request-work-badge.repair{background:#fff0df;color:#b45b00}
.request-work-badge.warranty{background:#fff0f4;color:#b8415c}
.request-work-badge.pdi{background:#f1edff;color:#6547ac}
@media(max-width:760px){.request-work-types-stack{flex-wrap:wrap;max-width:100%;gap:2px;white-space:normal}.request-work-badge{min-height:17px;padding:0 5px;font-size:9px}}
.request-filters .filter-chip b{display:inline-grid;min-width:18px;height:18px;place-items:center;margin-left:5px;padding:0 5px;border-radius:9px;background:#edf2f4;color:#64788b;font-size:10px;line-height:1}
.request-filters .filter-chip.active b{background:rgba(255,255,255,.22);color:#fff}

/* Mobile request filters: wrap long labels instead of clipping/overlapping them. */
@media(max-width:760px){
 .request-filters{flex-wrap:wrap;align-items:stretch;overflow:visible;row-gap:4px;}
 .request-filters .filter-chip{flex:1 1 calc(25% - 4px);min-width:0;white-space:normal;text-align:center;line-height:1.15;padding:8px 6px;}
 .request-filters .filter-chip[data-request-filter="pdi"],
 .request-filters .filter-chip[data-request-filter="multiwork"]{flex-basis:100%;font-size:10px;}
}

/* Compact client detail layout from the approved preview. */
.client-compact-page{max-width:1500px;margin:0 auto;padding-bottom:28px}.client-compact-breadcrumb{display:flex;align-items:center;gap:10px;margin:0 0 12px;color:#7d91a5;font-size:12px}.client-compact-breadcrumb strong{color:#57718d;font-weight:800}.client-back-link{border:0;background:none;padding:0;color:#57718d;font:inherit;font-weight:800;cursor:pointer}.client-back-link:hover{color:#07898d}.client-compact-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}.client-compact-title h1{margin:3px 0 5px;color:#12233e;font-size:31px;line-height:1.08;letter-spacing:-.025em}.client-compact-title .subtitle{margin:0;color:#8296ac;font-size:14px}.client-compact-title .head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.client-compact-layout{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,2fr);gap:18px;align-items:start}.client-summary-card{padding:22px 22px 20px;min-width:0;background:linear-gradient(145deg,#f2fbfb,#fff);border-color:#cfe4e6}.client-summary-heading{display:flex;align-items:flex-start;gap:12px}.client-summary-icon{width:45px;height:45px;display:grid;place-items:center;flex:none;border-radius:14px;background:#e1f5f4;color:#07898d;font-size:26px;font-weight:800}.client-summary-heading .eyebrow{margin:1px 0 4px}.client-summary-heading h2{margin:0;color:#193451;font-size:22px;line-height:1.18;overflow-wrap:anywhere}.client-role-badge{display:inline-flex;align-items:center;margin-top:8px;padding:4px 9px;border-radius:999px;background:#e7f7f6;color:#087e82;font-size:11px;font-weight:800}.client-contact-list{display:grid;gap:13px;margin-top:22px}.client-contact-list>div{min-width:0}.client-contact-list small,.client-note small{display:block;margin-bottom:4px;color:#7d91a5;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.client-contact-list strong{display:block;color:#29445e;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.client-note{margin-top:17px;padding-top:14px;border-top:1px solid #dfecee}.client-note p{margin:0;color:#526b83;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.client-compact-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:21px;padding-top:16px;border-top:1px solid #dfecee}.client-compact-stats>div{min-width:0;padding:9px 5px;border:1px solid #d8e8eb;border-radius:10px;background:#f8fbfc;text-align:center}.client-compact-stats strong{display:block;color:#193451;font-size:20px;line-height:1.1}.client-compact-stats small{display:block;margin-top:5px;color:#7b90a5;font-size:9px;font-weight:800;line-height:1.2}.client-compact-main{display:grid;gap:18px;min-width:0}.client-data-panel{padding:0;overflow:hidden}.client-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 16px;border-bottom:1px solid #dfe8ed}.client-panel-head h2{margin:0;color:#193451;font-size:20px;line-height:1.15;letter-spacing:-.015em}.client-panel-head small{display:block;margin-top:5px;color:#8396aa;font-size:12px;font-weight:600}.client-panel-head .btn{flex:none}.client-table-scroll{overflow-x:auto}.client-compact-table{min-width:680px}.client-compact-table thead th{padding:12px 16px;background:#f1f5f8;color:#60758d;font-size:10px;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}.client-compact-table tbody td{padding:15px 16px;border-top:1px solid #e5ebef;color:#2e4560;font-size:12px;vertical-align:middle}.client-compact-table tbody tr:hover{background:#fbfefe}.client-compact-table tbody td:first-child{color:#193451}.client-compact-table tbody td strong{display:block;color:#193451;font-size:13px}.client-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.client-row-actions .btn,.client-requests-table .btn{padding:7px 10px;font-size:10px;white-space:nowrap}.client-code-link{border:0;background:none;padding:0;color:#07898d;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.client-code-link:hover{text-decoration:underline}.client-requests-table{min-width:760px}.client-requests-table .status{white-space:nowrap}
@media(max-width:1050px){.client-compact-layout{grid-template-columns:minmax(220px,.8fr) minmax(0,1.65fr)}.client-compact-title h1{font-size:27px}.client-compact-table thead th,.client-compact-table tbody td{padding-left:12px;padding-right:12px}}
@media(max-width:820px){.client-compact-layout{grid-template-columns:1fr}.client-summary-card{position:static}.client-compact-title{align-items:flex-start;flex-direction:column}.client-compact-title .head-actions{justify-content:flex-start}.client-compact-main{gap:14px}}
@media(max-width:620px){.client-compact-page{padding-bottom:18px}.client-compact-breadcrumb{margin-bottom:10px}.client-compact-title{margin-bottom:14px}.client-compact-title h1{font-size:24px}.client-compact-title .head-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.client-compact-title .head-actions .btn{width:100%;padding-left:8px;padding-right:8px;font-size:11px}.client-summary-card{padding:18px}.client-summary-heading h2{font-size:20px}.client-compact-stats small{font-size:8px}.client-panel-head{align-items:flex-start;flex-direction:column;padding:16px}.client-panel-head .btn{width:100%}.client-compact-table{min-width:660px}.client-compact-table thead th,.client-compact-table tbody td{padding:10px 11px}.client-row-actions{flex-direction:column;align-items:stretch}.client-row-actions .btn,.client-requests-table .btn{width:100%}}

/* Approved contact-panel redesign for the new request dialog. */
dialog:has(#requestForm) .request-contact-panel{grid-column:1/-1;display:grid;gap:20px;margin-top:2px;padding:21px 23px 23px;border:1px solid #d8e5e9;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(28,60,82,.055)}
dialog:has(#requestForm) .request-contact-panel-head{display:flex;align-items:center;gap:12px;min-height:44px}
dialog:has(#requestForm) .request-contact-panel-head>span:last-child{display:grid;gap:4px;min-width:0}
dialog:has(#requestForm) .request-contact-panel-head strong{color:#19324b;font-size:18px;line-height:1.2;letter-spacing:-.01em}
dialog:has(#requestForm) .request-contact-panel-head small{color:#7a8da1;font-size:11px;font-weight:600;line-height:1.3}
dialog:has(#requestForm) .request-contact-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#e4f7f6;color:#07898d}
dialog:has(#requestForm) .request-contact-icon svg{width:24px;height:24px}
dialog:has(#requestForm) .request-contact-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
dialog:has(#requestForm) .request-contact-fields>label{display:grid;gap:7px;min-width:0;margin:0;color:#50677f;font-size:11px;font-weight:800}
dialog:has(#requestForm) .request-contact-fields>.request-priority-field{grid-column:1/-1}
dialog:has(#requestForm) .request-contact-fields input,dialog:has(#requestForm) .request-contact-fields select{width:100%;height:44px;margin:0;border:1px solid #cbdbe2;border-radius:10px;background:#fbfdfe;color:#182a43;padding:9px 12px;font-size:13px;font-weight:700;outline:0;box-shadow:none}
dialog:has(#requestForm) .request-contact-fields select{padding-right:40px;background-image:linear-gradient(45deg,transparent 50%,#63778b 50%),linear-gradient(135deg,#63778b 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 11px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat;appearance:none;-webkit-appearance:none;cursor:pointer}
dialog:has(#requestForm) .request-contact-fields input::placeholder{color:#a2aeba;font-weight:600}
dialog:has(#requestForm) .request-contact-fields input:focus,dialog:has(#requestForm) .request-contact-fields select:focus{border-color:#07898d;background:#fff;box-shadow:0 0 0 3px rgba(7,137,141,.12)}
dialog:has(#requestForm) .form-actions{align-items:center;margin-top:22px;padding-top:20px;border-top:1px solid #d9e5e9}
dialog:has(#requestForm) .form-actions .btn{min-height:44px;border-radius:10px;padding:0 20px}
dialog:has(#requestForm) .form-actions .btn.primary{background:#07898d;border-color:#07898d}
@media(max-width:760px){dialog:has(#requestForm) .request-contact-panel{gap:17px;padding:18px 16px 19px;border-radius:14px}dialog:has(#requestForm) .request-contact-panel-head strong{font-size:16px}dialog:has(#requestForm) .request-contact-fields{grid-template-columns:1fr;gap:12px}dialog:has(#requestForm) .request-contact-fields>.request-priority-field{grid-column:auto}dialog:has(#requestForm) .form-actions{gap:8px;margin-top:18px;padding-top:16px}dialog:has(#requestForm) .form-actions .btn{flex:1;padding-left:12px;padding-right:12px}}

/* Approved compact mobile request-detail layout. */
.v4-request-mobile-type,.v4-mobile-bottom-edit-wrap{display:none}
@media(max-width:760px){
 #requestWorkspace.v4-page{padding:10px 10px 78px}
 #requestWorkspace .v4-crumb{display:none}
 #requestWorkspace .v4-title{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:8px;margin:0 2px 10px;min-height:32px}
 #requestWorkspace .v4-title::before{content:'☰';display:grid;width:32px;height:32px;place-items:center;color:#172a44;font-size:25px;line-height:1}
 #requestWorkspace .v4-title>div{display:flex;align-items:center;justify-content:center;grid-column:2;min-width:0;gap:8px;flex-wrap:nowrap}
 #requestWorkspace .v4-title h1{width:auto;min-width:0;margin:0;font-size:20px;line-height:1.15;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-title .v4-more{display:grid;width:32px;height:32px;flex:none;place-items:center;padding:0;border:0;background:transparent;color:transparent;font-size:0}
 #requestWorkspace .v4-title .v4-more::after{content:"⋮";color:#172a44;font-size:28px;line-height:1}
 #requestWorkspace .v4-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:visible;padding:0 2px;margin:2px 0 12px}
 #requestWorkspace .v4-step{grid-template-rows:30px auto auto;gap:1px;min-width:0}
 #requestWorkspace .v4-step i{top:14px;left:-50%;right:50%}
 #requestWorkspace .v4-step>b{width:30px;height:30px}
 #requestWorkspace .v4-step>strong{max-width:100%;color:#314158;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-step>small{max-width:100%;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-machine-card{display:grid!important;gap:10px;border:0;background:transparent;box-shadow:none;overflow:visible}
 #requestWorkspace .v4-request-main{display:grid;grid-template-columns:1fr;gap:10px;padding:0}
 #requestWorkspace .v4-equipment-summary{position:relative;grid-template-columns:88px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;row-gap:4px;max-width:none;min-height:0;height:auto;align-content:center;padding:12px;border:1px solid #dce6ec;border-radius:16px;background:#fff;box-shadow:var(--shadow);overflow:visible}
 #requestWorkspace .v4-request-machine-card .v4-machine-image{height:104px;border-radius:12px;align-self:center}
 #requestWorkspace .v4-request-machine-card .v4-machine-name{align-self:center;min-width:0;padding-right:104px}
 #requestWorkspace .v4-request-machine-card .v4-machine-name h2{margin:0 0 5px;font-size:18px;line-height:1.1;letter-spacing:-.025em}
 #requestWorkspace .v4-request-machine-card .v4-machine-name p{margin:0;font-size:11px;line-height:1.25}
 #requestWorkspace .v4-request-mobile-type{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;max-width:118px;min-width:0;padding:7px 10px;border-radius:999px;background:#e7f5f4;color:#087e80}
 #requestWorkspace .v4-request-mobile-type::before{content:'⚙';flex:0 0 auto;margin-right:5px;color:#087e80;font-size:14px;line-height:1}
 #requestWorkspace .v4-request-mobile-type small{display:none}
 #requestWorkspace .v4-request-mobile-type strong{margin:0;color:#087e80;font-size:10px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-request-summary{grid-column:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:9px 10px;align-content:center;min-height:118px;width:auto;padding:13px 14px;border:1px solid #dce6ec;border-radius:16px;background:#fff;box-shadow:var(--shadow)}
 #requestWorkspace .v4-request-summary>div:nth-child(2){display:none}
 #requestWorkspace .v4-request-summary strong{font-size:15px}
 #requestWorkspace .v4-request-summary-description{grid-column:1/-1;grid-row:2;padding-top:8px!important;border-top:1px solid #e5ecef!important}
 #requestWorkspace .v4-request-summary-description strong{font-size:12px;line-height:1.25}
 #requestWorkspace .v4-request-summary .v4-request-edit{height:29px;padding:4px 8px;font-size:10px}
 #requestWorkspace .v4-request-machine-card>.v4-facts{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row;grid-auto-rows:minmax(64px,auto);min-height:0;height:auto;gap:0;overflow:hidden;border:1px solid #dce6ec;border-radius:16px;background:#fff;box-shadow:var(--shadow)}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div{min-height:64px;padding:11px 10px;gap:7px;border:0;border-bottom:1px solid #e6edf1}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(1),#requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(5){border-right:1px solid #e6edf1}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(2),#requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(3){border-right:0}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(1),#requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(2),#requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(3),#requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(5){border-bottom:1px solid #e6edf1}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(4){display:none!important;visibility:hidden!important;opacity:0!important;grid-column:auto!important;order:initial!important;min-height:0!important;height:0!important;padding:0!important;border:0!important}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(1){order:1}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(2){order:2}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(5){order:3}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(3){order:4}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(3),#requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(5){border-bottom:0}
 #requestWorkspace .v4-request-machine-card>.v4-facts .v4-icon{font-size:17px}
 #requestWorkspace .v4-request-machine-card>.v4-facts small{margin-bottom:3px;font-size:9px}
 #requestWorkspace .v4-request-machine-card>.v4-facts strong{font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
 #requestWorkspace .v4-grid-top,#requestWorkspace .v4-grid-bottom{grid-template-columns:1fr;gap:10px;margin-top:0}
 #requestWorkspace .v4-grid-top .v4-card,#requestWorkspace .v4-grid-bottom .v4-card{min-height:0;padding:14px;border-radius:16px}
 #requestWorkspace .v4-card header{margin-bottom:9px}
 #requestWorkspace .v4-card header h3{font-size:16px}
 #requestWorkspace .v4-card header p{font-size:11px}
 #requestWorkspace .v4-bottom-bar{height:auto;min-height:58px;left:0;right:0;gap:8px;padding:8px 10px}
 #requestWorkspace .v4-bottom-bar .v4-draft{display:none}
 #requestWorkspace .v4-bottom-bar .v4-mobile-bottom-edit-wrap{display:flex;flex:0 0 40%;min-width:0}
 #requestWorkspace .v4-bottom-bar .v4-mobile-bottom-edit{position:static!important;display:inline-flex;align-items:center;justify-content:center;width:100%;height:auto;min-height:42px;padding:0 8px;border:1px solid #cbdfe5;border-radius:11px;background:#fff;color:#087e80;font-size:11px;font-weight:800;white-space:nowrap}
 #requestWorkspace .v4-bottom-bar .workflow-actions{display:flex;flex:1;gap:8px;min-width:0}
 #requestWorkspace .v4-bottom-bar .workflow-actions .v4-send,#requestWorkspace .v4-bottom-bar .workflow-actions>.btn{width:100%;min-width:0;min-height:42px;padding:0 12px;border-radius:11px;font-size:11px;white-space:nowrap}
}
@media(max-width:390px){
 #requestWorkspace .v4-title h1{font-size:18px}
 #requestWorkspace .v4-request-machine-card .v4-machine-name{padding-right:84px}
 #requestWorkspace .v4-request-mobile-type{right:10px;padding:6px 8px;max-width:94px}
 #requestWorkspace .v4-request-mobile-type strong{font-size:9px}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div{padding:10px 8px}
 #requestWorkspace .v4-bottom-bar .workflow-actions .v4-send,#requestWorkspace .v4-bottom-bar .workflow-actions>.btn{font-size:10px;padding:0 8px}
}

/* Mobile request-detail redesign: compact, card-based layout approved from the new concept. */
.v4-request-mobile-status{display:none}
@media(max-width:760px){
 body:has(#requestWorkspace){background:#eef5f8}
 #requestWorkspace.v4-page{padding:0 0 calc(78px + env(safe-area-inset-bottom,0px));background:#eef5f8}
 #requestWorkspace .v4-title{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:8px;margin:0 0 14px;padding:14px 14px 16px;min-height:68px;border-radius:0 0 22px 22px;background:#172f4f;box-shadow:0 5px 18px rgba(23,47,79,.18)}
 #requestWorkspace .v4-title::before{content:'‹';display:grid;width:36px;height:36px;place-items:center;color:#fff;font-size:42px;font-weight:300;line-height:.8}
 #requestWorkspace .v4-title>div{display:contents}
 #requestWorkspace .v4-title h1{grid-column:2;grid-row:1;width:auto;min-width:0;margin:0;color:#fff;font-size:20px;line-height:1.15;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-title h1{font-size:0}
 #requestWorkspace .v4-title h1::after{content:attr(data-mobile-title);font-size:20px;line-height:1.15}
 #requestWorkspace .v4-title .request-1c-field,#requestWorkspace .v4-title .request-related-links{display:none!important}
 #requestWorkspace .v4-title .v4-more{grid-column:3;grid-row:1;display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;background:transparent;color:transparent;font-size:0}
 #requestWorkspace .v4-title .v4-more::after{content:'⋮';color:#fff;font-size:30px;line-height:1}
 #requestWorkspace .v4-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;overflow:visible;margin:0 12px 12px;padding:10px 4px 12px;border-radius:16px;background:#f8fbfc}
 #requestWorkspace .v4-step:nth-child(4){display:none}
 #requestWorkspace .v4-step{grid-template-rows:28px auto auto;gap:2px;min-width:0}
 #requestWorkspace .v4-step i{top:14px;left:-50%;right:50%;background:#cedbe5}
 #requestWorkspace .v4-step>b{width:28px;height:28px;border-color:#cbd9e3;background:#fff;color:#52677f;font-size:14px}
 #requestWorkspace .v4-step.passed>b,#requestWorkspace .v4-step.active>b{border-color:#0b9a9d;background:#0b9a9d;color:#fff}
 #requestWorkspace .v4-step>strong{max-width:100%;color:#172f4f;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-step>small{max-width:100%;color:#8798aa;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-machine-card{display:grid!important;grid-template-columns:1fr;gap:10px;padding:0 12px;border:0;background:transparent;box-shadow:none;overflow:visible}
 #requestWorkspace .v4-request-main{display:contents}
 #requestWorkspace .v4-equipment-summary{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr) auto;grid-template-rows:1fr;column-gap:11px;align-items:center;max-width:none;min-height:102px;height:auto;padding:11px;border:1px solid #dce6ec;border-radius:18px;background:#fff;box-shadow:0 4px 14px rgba(38,72,95,.08);overflow:hidden}
 #requestWorkspace .v4-request-machine-card .v4-machine-image{grid-column:1;grid-row:1;width:78px;height:78px;border-radius:12px;align-self:center;background:#eef5f7}
 #requestWorkspace .v4-request-machine-card .v4-machine-image img{padding:5px}
 #requestWorkspace .v4-request-machine-card .v4-machine-name{grid-column:2;grid-row:1;align-self:center;min-width:0;padding:0}
 #requestWorkspace .v4-request-machine-card .v4-machine-name h2{margin:0 0 5px;color:#152d4b;font-size:17px;line-height:1.12;letter-spacing:-.02em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 #requestWorkspace .v4-request-machine-card .v4-machine-name p{margin:0;color:#6f8297;font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-request-machine-card .v4-machine-name p strong{color:#243953}
 #requestWorkspace .v4-request-mobile-type{display:none!important}
 #requestWorkspace .v4-request-mobile-status{grid-column:3;grid-row:1;display:inline-flex;align-items:center;justify-content:center;max-width:86px;min-width:0;padding:8px 9px;border-radius:999px;background:#e4f5f4;color:#087f82;font-size:10px;font-weight:800;line-height:1.1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-request-mobile-status::before{content:'●';margin-right:5px;font-size:11px}
 #requestWorkspace .v4-request-summary{grid-column:1;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:10px;align-content:start;min-height:0;width:auto;padding:15px;border:1px solid #dce6ec;border-radius:18px;background:#fff;box-shadow:0 4px 14px rgba(38,72,95,.08)}
 #requestWorkspace .v4-request-summary>div:first-child{grid-column:1/-1;display:block;min-width:0}
 #requestWorkspace .v4-request-work-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px}
 #requestWorkspace .v4-request-work-head>small{margin:0;color:#7d90a4;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
 #requestWorkspace .v4-request-summary>div:first-child>strong{display:block;color:#172f4f;font-size:17px;line-height:1.18;overflow-wrap:anywhere}
 #requestWorkspace .v4-request-summary>div:nth-child(2),#requestWorkspace .v4-request-summary-spec{display:none!important}
 #requestWorkspace .v4-request-summary-description{grid-column:1/-1;grid-row:2;padding-top:9px!important;border-top:1px solid #e3ebef!important;min-width:0}
 #requestWorkspace .v4-request-summary-description small{display:block;margin:0 0 4px;color:#7d90a4;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
 #requestWorkspace .v4-request-summary-description strong{display:block;color:#425a73;font-size:12px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
 #requestWorkspace .v4-request-summary .v4-request-edit{display:none!important}
 #requestWorkspace .v4-request-machine-card>.v4-facts{grid-column:1;display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row;grid-auto-rows:minmax(67px,auto);min-height:0;height:auto;gap:0;overflow:hidden;border:1px solid #dce6ec;border-radius:18px;background:#fff;box-shadow:0 4px 14px rgba(38,72,95,.08)}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div{min-height:67px;padding:12px 10px;gap:7px;border:0;border-bottom:1px solid #e6edf1}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(4){display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;border:0!important}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(1){order:1;border-right:1px solid #e6edf1}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(3){order:2;border-right:0}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(2){order:3;border-right:1px solid #e6edf1;border-bottom:0}
 #requestWorkspace .v4-request-machine-card>.v4-facts>div:nth-child(5){order:4;border-bottom:0}
 #requestWorkspace .v4-request-machine-card>.v4-facts .v4-icon{font-size:17px;color:#0a979a}
 #requestWorkspace .v4-request-machine-card>.v4-facts small{margin:0 0 4px;color:#7e90a3;font-size:9px;line-height:1.15}
 #requestWorkspace .v4-request-machine-card>.v4-facts strong{color:#172f4f;font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
 #requestWorkspace .v4-grid-top,#requestWorkspace .v4-grid-bottom{grid-template-columns:1fr;gap:10px;margin-top:0;padding:0 12px}
 #requestWorkspace .v4-grid-top .v4-card,#requestWorkspace .v4-grid-bottom .v4-card{min-height:0;padding:15px;border-radius:18px;box-shadow:0 4px 14px rgba(38,72,95,.08)}
 #requestWorkspace .completed-work-card:has(.completed-work-list:empty){display:none!important}
 #requestWorkspace .photo-card{display:block!important}
 #requestWorkspace .photo-card header{margin-bottom:7px}
 #requestWorkspace .photo-card header h3{font-size:16px}
 #requestWorkspace .photo-card header p{font-size:10px}
 #requestWorkspace .photo-card header .btn,#requestWorkspace .photo-card .request-upload-actions,#requestWorkspace .photo-card .upload-status,#requestWorkspace .photo-card .request-files-button{display:none!important}
 #requestWorkspace .photo-card .request-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px;padding:0;border:0;background:transparent}
 #requestWorkspace .photo-card .request-gallery-thumb{width:100%;height:74px;border-radius:10px}
 #requestWorkspace .photo-card .request-gallery-thumb small{font-size:8px}
 #requestWorkspace .photo-card .request-gallery .muted{grid-column:1/-1;margin:0;font-size:11px}
 #requestWorkspace .photo-card header::after{content:'›';margin-left:auto;color:#172f4f;font-size:28px;line-height:1}
 #requestWorkspace .v4-bottom-bar{height:auto;min-height:64px;left:0;right:0;gap:8px;padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.96);border-top:1px solid #dbe6eb;box-shadow:0 -5px 18px rgba(23,47,79,.1);backdrop-filter:blur(12px)}
 #requestWorkspace .v4-bottom-bar .v4-draft{display:none}
 #requestWorkspace .v4-bottom-bar .v4-mobile-bottom-edit-wrap{display:flex;flex:0 0 42%;min-width:0}
 #requestWorkspace .v4-bottom-bar .v4-mobile-bottom-edit{position:static!important;display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:0 8px;border:2px solid #172f4f;border-radius:12px;background:#fff;color:#172f4f;font-size:11px;font-weight:800;white-space:nowrap}
 #requestWorkspace .v4-bottom-bar .workflow-actions{display:flex;flex:1;gap:8px;min-width:0}
 #requestWorkspace .v4-bottom-bar .workflow-actions .v4-send,#requestWorkspace .v4-bottom-bar .workflow-actions>.btn{width:100%;min-width:0;min-height:44px;padding:0 10px;border:0;border-radius:12px;background:#0b9a9d;color:#fff;font-size:11px;font-weight:800;white-space:nowrap}
}
@media(max-width:390px){
 #requestWorkspace .v4-equipment-summary{grid-template-columns:68px minmax(0,1fr) auto;column-gap:8px;padding:10px}
 #requestWorkspace .v4-request-machine-card .v4-machine-image{width:68px;height:68px}
 #requestWorkspace .v4-request-machine-card .v4-machine-name h2{font-size:15px}
 #requestWorkspace .v4-request-mobile-status{max-width:75px;padding:7px 7px;font-size:9px}
 #requestWorkspace .v4-request-summary{padding:13px}
}

/* Containers board: split registry and selected-container detail, matching the compact logistics concept. */
.containers-board-page{max-width:1680px;margin:0 auto;padding-bottom:30px}.containers-board-page>.page-head{margin-bottom:14px}.containers-board-page>.page-head .head-actions:empty{display:none}.containers-board-toolbar{position:relative;display:flex;align-items:center;gap:10px;margin-bottom:14px}.container-board-search{display:flex;align-items:center;gap:10px;flex:1;min-width:220px;height:44px;padding:0 14px;border:1px solid #d6e2e9;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(33,61,84,.04);color:#58708a}.container-board-search span{font-size:23px;line-height:1}.container-board-search input{width:100%;min-width:0;border:0!important;outline:0!important;padding:0!important;background:transparent!important;color:#193451;font:inherit;font-size:13px}.container-board-search input::placeholder{color:#9aacbb}.container-board-filter-button{width:44px;height:44px;border:1px solid #d6e2e9;border-radius:10px;background:#fff;color:#45647d;font-size:20px;cursor:pointer}.container-board-filter-button:hover{border-color:#0a969a;color:#07898d;background:#f2fbfb}.container-board-new{height:44px;white-space:nowrap}.container-board-filter-menu{position:absolute;z-index:3;right:132px;top:50px;display:grid;gap:3px;min-width:190px;padding:12px 14px;border:1px solid #d9e5ea;border-radius:10px;background:#fff;box-shadow:0 10px 25px rgba(31,57,82,.14);color:#71869b;font-size:11px}.container-board-filter-menu strong{color:#1c3853;font-size:12px}.containers-board-layout{display:grid;grid-template-columns:minmax(340px,.78fr) minmax(0,1.42fr);gap:14px;align-items:stretch}.container-board-list-panel,.container-board-detail-panel{min-width:0;border:1px solid #dbe6eb;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(36,65,88,.055);overflow:hidden}.container-board-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:20px 20px 16px;border-bottom:1px solid #e4edf0}.container-board-eyebrow{display:block;margin:0 0 5px;color:#8093a7;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.container-board-list-head h2{margin:0;color:#18324e;font-size:22px;line-height:1.1;letter-spacing:-.02em}.container-board-list-head p{margin:5px 0 0;color:#8193a7;font-size:11px}.container-board-total{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border-radius:10px;background:#e3f6ef;color:#16855c;font-size:13px;font-weight:800}.container-board-filters{display:flex;gap:6px;padding:12px 14px;border-bottom:1px solid #e4edf0;background:#fbfdfd}.container-board-filter{display:inline-flex;align-items:center;gap:7px;height:31px;padding:0 10px;border:1px solid transparent;border-radius:7px;background:transparent;color:#72879b;font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.container-board-filter b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#edf2f5;color:#6d8092;font-size:10px}.container-board-filter:hover{background:#f2faf9;color:#07898d}.container-board-filter.is-active{border-color:#b7dfdc;background:#e7f7f5;color:#087e82}.container-board-filter.is-active b{background:#fff;color:#087e82}.container-board-rows{display:grid}.container-board-row{display:grid;grid-template-columns:62px minmax(0,1fr) 18px;gap:11px;align-items:center;min-height:93px;padding:13px 14px;border-bottom:1px solid #edf2f4;background:#fff;cursor:pointer;transition:background .16s,box-shadow .16s}.container-board-row:last-child{border-bottom:0}.container-board-row:hover{background:#f7fcfc;box-shadow:inset 3px 0 0 #0a989b}.container-board-row.is-selected{background:#effafa;box-shadow:inset 3px 0 0 #0a989b}.container-board-row[hidden]{display:none!important}.container-board-row-thumb{display:grid;place-items:center;width:62px;height:56px;border:1px solid #dbe8eb;border-radius:9px;background:linear-gradient(145deg,#f5fafb,#eaf4f4);overflow:hidden}.container-board-row-thumb .container-row-machine-image{display:block;width:100%;height:100%;padding:4px;object-fit:contain}.container-board-row-thumb .container-row-machine-placeholder{color:#07898d;font-size:24px}.container-board-row-main{min-width:0}.container-board-row-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.container-board-status{display:inline-flex;align-items:center;gap:5px;color:#23865f;font-size:10px;font-weight:800;white-space:nowrap}.container-board-status i{display:block;width:7px;height:7px;border-radius:50%;background:#20a26d}.container-board-status.is-transit{color:#3d7db7}.container-board-status.is-transit i{background:#4c98dc}.container-board-status.large{height:31px;padding:0 11px;border-radius:18px;background:#e5f7f1;font-size:11px}.container-board-status.large.is-transit{background:#e9f3fc}.container-board-row-date{color:#8a9bab;font-size:10px;white-space:nowrap}.container-board-row-code{display:block;color:#183451;font-size:16px;line-height:1.15;letter-spacing:-.01em}.container-board-row-cargo{display:block;overflow:hidden;margin-top:4px;color:#72869a;font-size:11px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}.container-board-row-chevron{color:#9aafbd;font-size:27px;line-height:1}.container-board-row:hover .container-board-row-chevron,.container-board-row.is-selected .container-board-row-chevron{color:#07898d}.container-board-empty{padding:34px 20px;color:#8295a8;text-align:center;font-size:12px}.container-board-detail-panel{padding:22px 24px}.container-board-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:15px;border-bottom:1px solid #e5edef}.container-board-detail-head h2{margin:0;color:#162f4c;font-size:27px;line-height:1.08;letter-spacing:-.025em}.container-board-detail-head p{margin:6px 0 0;color:#8193a7;font-size:11px}.container-board-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.container-board-detail-actions .btn{height:32px;padding:0 11px;border-color:#c9dbe2;background:#fff;color:#087f84;font-size:10px;font-weight:800;white-space:nowrap}.container-board-detail-actions .btn:hover{border-color:#07898d;background:#f4fbfb}.container-board-detail-equipment{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid #e5edef}.container-board-detail-visual{display:grid;place-items:center;min-height:150px;border:1px solid #dbe8eb;border-radius:12px;background:linear-gradient(145deg,#f5fafb,#eaf4f4);overflow:hidden}.container-board-detail-visual .container-row-machine-image{display:block;width:100%;height:100%;max-height:150px;padding:12px;object-fit:contain}.container-board-detail-visual .container-row-machine-placeholder{color:#07898d;font-size:50px}.container-board-detail-equipment-copy{min-width:0}.container-board-detail-equipment-copy h3{margin:0;color:#1a3854;font-size:20px;line-height:1.2;letter-spacing:-.015em}.container-board-detail-equipment-copy p{margin:7px 0 0;color:#8193a7;font-size:11px;line-height:1.4}.container-board-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:17px 0;border-bottom:1px solid #e5edef}.container-board-metrics>div{min-width:0;padding:0 14px;border-left:1px solid #e5edef}.container-board-metrics>div:first-child{padding-left:0;border-left:0}.container-board-metrics small,.container-board-extra-grid small{display:block;margin-bottom:5px;color:#8396aa;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.container-board-metrics strong,.container-board-extra-grid strong{display:block;overflow-wrap:anywhere;color:#233f5b;font-size:12px;line-height:1.3}.container-board-extra{margin-top:17px;padding:15px 16px;border:1px solid #dce9ed;border-radius:11px;background:#fbfdfd}.container-board-extra-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #e5edef}.container-board-extra-head h3{margin:0;color:#1b3854;font-size:15px}.container-board-extra-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#e4f5f3;color:#07898d;font-size:16px}.container-board-extra-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:13px}.container-board-detail-empty{display:grid;place-items:center;align-content:center;gap:8px;min-height:340px;color:#8396a8;text-align:center}.container-board-detail-empty span{font-size:38px;color:#a6c4c7}.container-board-detail-empty strong{color:#39526b;font-size:16px}.container-board-detail-empty small{font-size:11px}@media(max-width:1200px){.containers-board-layout{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr)}.container-board-detail-equipment{grid-template-columns:170px minmax(0,1fr)}.container-board-metrics,.container-board-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.container-board-metrics>div:nth-child(3){padding-left:0;border-left:0}}@media(max-width:900px){.containers-board-layout{grid-template-columns:1fr}.container-board-detail-panel{order:-1}.container-board-detail-head{align-items:flex-start;flex-direction:column}.container-board-detail-actions{justify-content:flex-start}.container-board-detail-equipment{grid-template-columns:150px minmax(0,1fr)}}@media(max-width:620px){.containers-board-page{padding-bottom:18px}.containers-board-toolbar{align-items:stretch;flex-wrap:wrap}.container-board-search{flex-basis:calc(100% - 54px)}.container-board-filter-button{flex:none}.container-board-new{width:100%}.container-board-filter-menu{right:0;top:105px}.container-board-filters{overflow-x:auto}.container-board-row{grid-template-columns:53px minmax(0,1fr) 14px;padding:11px 10px}.container-board-row-thumb{width:53px;height:49px}.container-board-row-code{font-size:14px}.container-board-row-cargo{font-size:10px}.container-board-detail-panel{padding:17px 15px}.container-board-detail-head h2{font-size:23px}.container-board-detail-equipment{grid-template-columns:1fr;gap:12px}.container-board-detail-visual{min-height:130px}.container-board-detail-actions .btn{flex:1}.container-board-detail-actions .container-board-status{width:100%;justify-content:center}.container-board-metrics,.container-board-extra-grid{grid-template-columns:1fr 1fr}.container-board-metrics>div{padding:0 8px}.container-board-metrics>div:nth-child(odd){padding-left:0;border-left:0}.container-board-metrics>div:nth-child(even){padding-right:0}.container-board-extra-grid{gap:12px}.container-board-list-head{padding:16px 14px 13px}}
/* Container filter menu: keep the popup dismissible and prevent it from trapping nearby actions. */
.container-board-filter-menu{z-index:50;top:calc(100% + 8px);min-width:210px}
.container-board-filter-menu[hidden]{display:none!important}
.container-board-filter-menu-options{display:grid;gap:4px}
.container-board-filter-menu .container-board-filter{width:100%;justify-content:space-between}

/* Keep the regulation and request-history actions side by side on phones. */
@media(max-width:760px){.v4-request-equipment-spec{flex-wrap:nowrap;gap:6px}.v4-request-equipment-spec .equipment-spec-button{width:auto;min-width:0;flex:1 1 0;padding:7px 7px;gap:5px;min-height:54px}.v4-request-equipment-spec .equipment-spec-icon{width:24px;height:24px;font-size:14px;border-radius:6px}.v4-request-equipment-spec .equipment-spec-copy{gap:2px}.v4-request-equipment-spec .equipment-spec-copy strong{font-size:9px;line-height:1.12;white-space:normal}.v4-request-equipment-spec .equipment-spec-copy small{font-size:8px;line-height:1.1;white-space:normal}.v4-request-equipment-spec .equipment-spec-button>b{font-size:13px}}

/* Mobile equipment card: match the approved light concept with one unified action rail. */
@media(max-width:760px){
 #requestWorkspace .v4-equipment-summary{grid-template-columns:clamp(84px,24vw,132px) minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:14px;row-gap:0;align-items:center;min-height:0;padding:14px 14px 0;border:1px solid #d5e3e9;border-radius:24px;background:#fff;box-shadow:0 8px 22px rgba(36,72,95,.09);overflow:hidden}
 #requestWorkspace .v4-request-machine-card .v4-machine-image{grid-column:1;grid-row:1;width:100%;height:auto;aspect-ratio:1/1;border-radius:16px;background:#eef5f7;align-self:center;margin-bottom:14px}
 #requestWorkspace .v4-request-machine-card .v4-machine-image img{width:100%;height:100%;padding:7px;object-fit:contain}
 #requestWorkspace .v4-request-machine-card .v4-machine-name{grid-column:2;grid-row:1;align-self:center;min-width:0;padding:0;margin-bottom:14px;text-align:center}
 #requestWorkspace .v4-request-machine-card .v4-machine-name h2{margin:0 0 8px;color:#152d4b;font-size:clamp(17px,4.8vw,28px);line-height:1.08;letter-spacing:-.025em;display:block;overflow-wrap:anywhere}
 #requestWorkspace .v4-request-machine-card .v4-machine-name p{margin:0;color:#6f8297;font-size:clamp(10px,2.8vw,15px);line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip}
 #requestWorkspace .v4-request-machine-card .v4-machine-name p strong{color:#243953;font-weight:800}
 #requestWorkspace .v4-request-mobile-status{grid-column:3;grid-row:1;align-self:center;max-width:clamp(82px,22vw,150px);margin-bottom:14px;padding:10px 12px;border-radius:999px;background:#e5f6f4;color:#087f82;font-size:clamp(10px,2.8vw,16px);font-weight:800;line-height:1.1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #requestWorkspace .v4-request-mobile-status::before{content:'●';margin-right:6px;font-size:.86em}
 #requestWorkspace .v4-request-equipment-spec{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:0;width:100%;margin-top:14px;border-top:1px solid #deeaee;padding:10px 0 11px;flex:none}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-button{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;width:100%;min-width:0;min-height:61px;padding:8px 12px;gap:10px;border:0;border-radius:0;background:transparent;color:#1d344b;box-shadow:none}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-button:first-child{border-right:1px solid #dce8ec}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-button:hover{border-color:transparent;background:#f5fbfb;box-shadow:none}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-icon{width:32px;height:32px;border-radius:10px;background:#e3f4f3;color:#07898d;font-size:17px}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-copy{min-width:0;gap:3px;text-align:left}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-copy strong{font-size:clamp(10px,3vw,15px);line-height:1.12;white-space:normal;overflow-wrap:anywhere}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-copy small{color:#7d90a4;font-size:clamp(9px,2.5vw,13px);line-height:1.1;white-space:normal;overflow-wrap:anywhere}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-button>b{margin-left:0;color:#07898d;font-size:clamp(16px,4vw,22px);font-weight:500}
}
@media(max-width:390px){
 #requestWorkspace .v4-equipment-summary{grid-template-columns:68px minmax(0,1fr) auto;column-gap:9px;padding:11px 10px 0;border-radius:20px}
 #requestWorkspace .v4-request-machine-card .v4-machine-image{width:68px;height:68px;border-radius:13px;margin-bottom:11px}
 #requestWorkspace .v4-request-machine-card .v4-machine-name{margin-bottom:11px}
 #requestWorkspace .v4-request-machine-card .v4-machine-name h2{font-size:15px;margin-bottom:5px}
 #requestWorkspace .v4-request-machine-card .v4-machine-name p{font-size:10px}
 #requestWorkspace .v4-request-mobile-status{max-width:75px;margin-bottom:11px;padding:8px 8px;font-size:9px}
 #requestWorkspace .v4-request-equipment-spec{margin-top:11px;padding:8px 0 9px}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-button{grid-template-columns:26px minmax(0,1fr) auto;min-height:52px;padding:6px 7px;gap:6px}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-icon{width:26px;height:26px;border-radius:8px;font-size:14px}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-copy strong{font-size:9px}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-copy small{font-size:8px}
 #requestWorkspace .v4-request-equipment-spec .equipment-spec-button>b{font-size:14px}
}

/* Video attachments use the same internal gallery as photos. */
.request-gallery-thumb video,.modal-photo-thumb video{display:block;width:100%;height:100%;object-fit:cover;background:#10243b}
.request-gallery-thumb,.modal-photo-thumb{position:relative}
.media-thumb-play{position:absolute;left:50%;top:50%;display:grid;width:28px;height:28px;place-items:center;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#087f84d9;color:#fff;font-size:12px;line-height:1;pointer-events:none;box-shadow:0 2px 7px #10243b55}
.modal-photo-thumb .media-thumb-play{width:36px;height:36px;font-size:15px}
.request-file-open{display:block;min-width:0;padding:0;border:0;background:none;text-align:left;cursor:pointer}
.request-file-open strong,.request-file-open small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.request-file-open strong{font-size:10px;color:#27384e}
.request-file-open small{margin-top:2px;color:#8190a2;font-size:8px}
.request-file-open:hover strong{color:#087f84}
.media-viewer-video{display:block;width:min(82vw,880px);max-height:62vh;border-radius:8px;background:#071b2f;box-shadow:0 8px 28px #10243b26}
.photo-viewer.video-viewer{width:min(90vw,920px)}

/* Keep the video viewer inside the viewport: no modal/page scroll on desktop or mobile. */
#modal:has(.photo-viewer.video-viewer){width:min(960px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 16px);overflow:hidden}
#modal:has(.photo-viewer.video-viewer) .modal-card{display:flex;flex-direction:column;max-height:inherit;overflow:hidden}
#modal:has(.photo-viewer.video-viewer) .modal-card>header{flex:0 0 auto}
#modal:has(.photo-viewer.video-viewer) .modal-content{display:flex;justify-content:center;min-height:0;max-height:none;overflow:hidden;padding:14px 18px 18px}
#modal:has(.photo-viewer.video-viewer) .photo-viewer.video-viewer{width:100%;max-width:100%;min-width:0;min-height:0;gap:10px;overflow:hidden}
#modal:has(.photo-viewer.video-viewer) .media-viewer-video{width:auto;max-width:100%;height:auto;max-height:calc(100vh - 190px);aspect-ratio:auto;object-fit:contain}
#modal:has(.photo-viewer.video-viewer) .photo-viewer-actions{width:100%;min-width:0;flex-wrap:nowrap;gap:8px;overflow:hidden}
#modal:has(.photo-viewer.video-viewer) .photo-viewer-actions .btn{min-width:0;flex:1 1 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){
 #modal:has(.photo-viewer.video-viewer){width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100vh - 10px);border-radius:16px}
 #modal:has(.photo-viewer.video-viewer) .modal-card>header{padding:14px 16px}
 #modal:has(.photo-viewer.video-viewer) .modal-card h2{font-size:20px}
 #modal:has(.photo-viewer.video-viewer) .modal-content{padding:10px 10px 12px}
 #modal:has(.photo-viewer.video-viewer) .media-viewer-video{max-height:calc(100vh - 300px)}
 #modal:has(.photo-viewer.video-viewer) .photo-viewer-actions{gap:5px}
 #modal:has(.photo-viewer.video-viewer) .photo-viewer-actions .btn{padding:8px 5px;font-size:11px;line-height:1.1}
}
@supports(height:100dvh){
 #modal:has(.photo-viewer.video-viewer){max-height:calc(100dvh - 10px)}
 #modal:has(.photo-viewer.video-viewer) .media-viewer-video{max-height:calc(100dvh - 190px)}
 @media(max-width:760px){#modal:has(.photo-viewer.video-viewer) .media-viewer-video{max-height:calc(100dvh - 300px)}}
}

/* Keep the page back/home control visible while the detail page is scrolled. */
@media(min-width:761px){
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent:has(> .page:not(.tasks-page):not(.request-trash-page) .portal-back-row),
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent:has(> .v4-page .portal-back-row){padding-top:48px!important}
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .page:not(.tasks-page):not(.request-trash-page) .portal-back-row,
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .v4-page .portal-back-row{position:fixed!important;top:122px!important;left:0!important;right:0!important;z-index:18!important;display:flex!important;align-items:center!important;min-height:48px!important;height:48px!important;margin:0!important;padding:7px 24px!important;background:#fff!important;border-bottom:1px solid #dbe6eb!important;box-shadow:0 4px 12px rgba(23,47,79,.1)!important;transform:none!important;transition:none!important}
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .page:not(.tasks-page):not(.request-trash-page) .detail-breadcrumb.portal-back-breadcrumb,
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .v4-page .v4-crumb.portal-back-breadcrumb{position:fixed!important;top:122px!important;left:0!important;right:0!important;z-index:18!important;display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important;white-space:nowrap!important;min-height:48px!important;height:48px!important;margin:0!important;padding:7px 24px!important;background:#fff!important;border-bottom:1px solid #dbe6eb!important;box-shadow:0 4px 12px rgba(23,47,79,.1)!important;overflow:hidden!important;transform:none!important;transition:none!important}
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .page:not(.tasks-page):not(.request-trash-page) .detail-breadcrumb.portal-back-breadcrumb .portal-back-row,
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .v4-page .v4-crumb.portal-back-breadcrumb .portal-back-row{position:static!important;display:flex!important;align-items:center!important;flex:0 0 auto!important;min-height:34px!important;height:34px!important;margin:0 4px 0 0!important;padding:0!important;transform:none!important;transition:none!important}
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .page:not(.tasks-page):not(.request-trash-page) .detail-breadcrumb.portal-back-breadcrumb .portal-back-row .portal-back-button,
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .v4-page .v4-crumb.portal-back-breadcrumb .portal-back-row .portal-back-button{height:34px!important}
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .page:not(.tasks-page):not(.request-trash-page) .portal-back-row.requests-inline-back .portal-back-button,
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .v4-page .portal-back-row.requests-inline-back .portal-back-button{height:34px!important;padding:0 13px!important;font-size:12px!important}
}

/* The fixed orders toolbar already occupies this row; do not reserve a second blank row below it. */
@media(min-width:761px){
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent:has(> .page:not(.tasks-page):not(.request-trash-page).parts-orders-page .portal-back-row){padding-top:0!important}
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .parts-orders-page{padding-top:48px!important}
 html:not(.mobile-device) body:not(.is-mobile-requests) #mainContent > .parts-orders-page > .parts-orders-workspace{margin-top:0}
}

.parts-orders-back-row>[data-action="new-parts-order"]{height:34px!important;padding:0 14px!important;font-size:12px!important;line-height:1!important;border-radius:7px!important}

.parts-order-detail-items-card header>[data-action="edit-parts-order-items"]{height:30px!important;padding:5px 10px!important;font-size:11px!important;line-height:1!important;border-radius:7px!important;white-space:nowrap}

/* Approved concept: show parts, requester and order status at a glance. */
.request-parts-orders .request-parts-order-open{
  display:grid!important;
  grid-template-columns:minmax(145px,17%) minmax(0,1fr) minmax(190px,25%);
  align-items:stretch;
  gap:0;
  min-height:128px;
  padding:14px 15px!important;
  background:#fff!important;
  border-color:#dbe8ec!important;
  border-radius:12px!important;
}
.request-parts-orders .request-parts-order-open:hover{background:#fbffff!important;border-color:#57abad!important}
.request-order-identity,
.request-order-items,
.request-order-meta{min-width:0;display:flex!important;flex-direction:column;align-items:stretch;justify-content:center}
.request-order-identity{gap:13px;padding-right:15px;border-right:1px solid #e1ecef}
.request-order-code{display:flex!important;flex-direction:column;align-items:flex-start;gap:8px}
.request-order-code>strong{font-size:20px!important;line-height:1;color:#07898d!important;letter-spacing:-.025em}
.request-parts-orders .request-order-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 9px!important;border-radius:999px;background:#e5f5f3;color:#087f82;font-size:10px;font-weight:800;white-space:nowrap}
.request-order-count{color:#7b90a3!important;font-size:10px;font-weight:700}
.request-order-items{gap:7px;padding:0 16px}
.request-order-section-label{color:#203d58!important;font-size:12px;font-weight:800}
.request-order-item-list{display:grid!important;gap:0;border:1px solid #e3edf0;border-radius:8px;overflow:hidden;background:#fbfdfe}
.request-order-item-row{display:grid!important;grid-template-columns:minmax(78px,.8fr) minmax(0,2.1fr) minmax(55px,.55fr);align-items:center;gap:8px;min-width:0;padding:7px 9px;border-bottom:1px solid #e8eff1;color:#29435b!important}
.request-order-item-row:last-child{border-bottom:0}
.request-order-item-row>b{overflow:hidden;color:#07898d!important;font-size:10px;white-space:nowrap;text-overflow:ellipsis}
.request-order-item-row>span{overflow:hidden;color:#405a70!important;font-size:10px;white-space:nowrap;text-overflow:ellipsis}
.request-order-item-row>strong{text-align:right;color:#1e3853!important;font-size:10px;white-space:nowrap}
.request-order-item-empty{padding:8px 9px;color:#8497a9!important;font-size:10px}
.request-order-more{color:#07898d!important;font-size:10px;font-weight:800}
.request-order-meta{gap:10px;padding-left:16px;border-left:1px solid #e1ecef}
.request-order-meta-field{display:grid!important;grid-template-columns:minmax(78px,.9fr) minmax(0,1.1fr);align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid #e6eef0}
.request-order-meta-field small{color:#8093a6!important;font-size:9px;font-weight:700}
.request-order-meta-field b{overflow:hidden;color:#1f3853!important;font-size:11px;white-space:nowrap;text-overflow:ellipsis}
.request-order-meta-status{color:#087f82!important}
.request-order-open-label{display:flex!important;align-items:center;justify-content:center;min-height:30px;padding:6px 9px;border:1px solid #58b7b8;border-radius:7px;color:#087f82!important;font-size:10px;font-weight:800;white-space:nowrap}
.request-parts-orders .request-parts-order-row>.planning-edit-btn{align-self:center;height:29px;min-height:29px;padding:5px 8px;font-size:10px;border-radius:7px}
.request-parts-orders .request-parts-order-open[data-arrived="true"]{background:#f6fcf6!important;border-color:#a9d7b1!important}
.request-parts-orders .request-parts-order-open[data-arrived="true"] .request-order-status{background:#248649;color:#fff}
@media(max-width:980px){
  .request-parts-orders .request-parts-order-open{grid-template-columns:130px minmax(0,1fr)}
  .request-order-meta{grid-column:1/-1;display:grid!important;grid-template-columns:1fr 1fr auto;gap:8px;margin-top:10px;padding:10px 0 0;border-top:1px solid #e1ecef;border-left:0}
  .request-order-meta-field{padding:0;border-bottom:0}
  .request-order-open-label{align-self:center}
}
@media(max-width:620px){
  .request-parts-orders .request-parts-order-open{grid-template-columns:1fr;gap:11px;min-height:0;padding:12px!important}
  .request-order-identity{gap:8px;padding:0 0 10px;border-right:0;border-bottom:1px solid #e1ecef}
  .request-order-code{flex-direction:row;align-items:center;justify-content:space-between}
  .request-order-items{padding:0}
  .request-order-meta{grid-template-columns:1fr 1fr;gap:8px;margin-top:0;padding-top:10px}
  .request-order-open-label{grid-column:1/-1}
  .request-order-item-row{grid-template-columns:minmax(65px,.75fr) minmax(0,1.8fr) minmax(48px,.55fr);padding:7px}
}
@media(max-width:420px){
  .request-order-meta{grid-template-columns:1fr}
  .request-order-meta-field{grid-template-columns:92px 1fr}
}

/* The search shell already provides the visible border; do not draw a second
   browser focus ring around the inner input. */
.parts-orders-search input:focus{border:0;outline:0;box-shadow:none}

/* Installed parts show only the part number and description; supplier data
   remains stored but is not displayed in the request workspace. */
.parts-installed-card>header p{display:none}
.parts-installed-card .request-parts-head,.parts-installed-card .request-part-row{grid-template-columns:minmax(105px,.7fr) minmax(140px,1.25fr) 25px}
.parts-installed-card .request-parts-head span:nth-child(3),.parts-installed-card .request-part-row .part-supplier{display:none}
@media(max-width:760px){.parts-installed-card .request-part-row{grid-template-columns:22px 1fr}.parts-installed-card .request-part-row .part-number-wrap,.parts-installed-card .request-part-row .part-description{grid-column:2}.parts-installed-card .request-part-row button{grid-column:1;grid-row:1}}

/* Requests use the back-button row as the single toolbar for search and
   registry actions; the empty inline heading must not leave a second row. */
.requests-toolbar-moved{display:none!important}
.requests-back-row{gap:12px;margin:0}
.requests-back-row .registry-search-bar{flex:1 1 300px;width:auto;max-width:none;min-width:0;margin:0}
.requests-back-row>.btn{height:34px!important;padding:0 14px!important;font-size:12px!important;line-height:1!important;border-radius:7px!important;white-space:nowrap}
@media(max-width:760px){
 .requests-back-row{flex-wrap:wrap;gap:8px;height:auto!important;min-height:48px!important}
 .requests-back-row .registry-search-bar{order:2;flex:1 1 100%;width:100%;height:42px}
 .requests-back-row>.btn{order:3}
 .requests-back-row>.portal-back-button{order:1}
}

/* Containers use the same single back toolbar; keep the native search and
   filter menu functional while removing the duplicate generic search row. */
.containers-toolbar-moved{display:none!important}
.containers-back-row{gap:10px;margin:0}
.containers-back-row .container-board-search{flex:1 1 300px;min-width:0;height:42px;margin:0}
.containers-back-row .container-board-filter-button{width:34px;height:34px;font-size:16px}
.containers-back-row .container-board-new{height:34px!important;padding:0 14px!important;font-size:12px!important;line-height:1!important;border-radius:7px!important}
.containers-back-row .container-board-filter-menu{top:calc(100% + 8px)}
@media(max-width:760px){
 .containers-back-row{flex-wrap:wrap;gap:8px;height:auto!important;min-height:48px!important}
 .containers-back-row .container-board-search{order:2;flex:1 1 100%;width:100%;height:42px}
 .containers-back-row .container-board-filter-button{order:3}
 .containers-back-row .container-board-new{order:3;flex:1 1 auto}
 .containers-back-row .container-board-filter-menu{top:calc(100% + 8px);right:0}
}

.clients-toolbar-moved,.warehouse-toolbar-moved{display:none!important}
.clients-back-row,.warehouse-back-row{gap:12px;margin:0}
.clients-back-row .registry-search-bar,.warehouse-back-row .registry-search-bar{flex:1 1 300px;width:auto;max-width:none;min-width:0;margin:0}
.warehouse-back-row .warehouse-search-field{flex:1 1 300px;min-width:0;height:42px;margin:0}
.warehouse-back-row .warehouse-search-field{display:none!important}
.clients-back-row>.btn,.warehouse-back-row>.btn,.warehouse-back-row>a.btn{height:34px!important;padding:0 14px!important;font-size:12px!important;line-height:1!important;border-radius:7px!important;white-space:nowrap}
.warehouse-search-panel-moved{display:none!important}
@media(max-width:760px){
 .clients-back-row,.warehouse-back-row{flex-wrap:wrap;gap:8px;height:auto!important;min-height:48px!important}
 .clients-back-row .registry-search-bar,.warehouse-back-row .registry-search-bar,.warehouse-back-row .warehouse-search-field{order:2;flex:1 1 100%;width:100%;height:42px}
 .clients-back-row>.btn,.warehouse-back-row>.btn,.warehouse-back-row>a.btn{order:3}
 .clients-back-row>.portal-back-button,.warehouse-back-row>.portal-back-button{order:1}
}

.team-toolbar-moved,.documents-toolbar-moved,.maintenance-toolbar-moved,.equipment-toolbar-moved{display:none!important}
.team-back-row,.documents-back-row,.maintenance-back-row,.equipment-back-row{gap:12px;margin:0}
.team-back-row .registry-search-bar,.documents-back-row .registry-search-bar,.maintenance-back-row .registry-search-bar{flex:1 1 300px;width:auto;max-width:none;min-width:0;margin:0}
.equipment-back-row .equipment-list-toolbar{display:flex;flex:1 1 420px;width:auto;min-width:0;margin:0;align-items:center}
.equipment-back-row .equipment-list-search{width:100%;max-width:none}
.team-back-row>.btn,.maintenance-back-row>.btn,.equipment-back-row>.btn{height:34px!important;padding:0 14px!important;font-size:12px!important;line-height:1!important;border-radius:7px!important;white-space:nowrap}
@media(max-width:760px){
 .team-back-row,.documents-back-row,.maintenance-back-row,.equipment-back-row{flex-wrap:wrap;gap:8px;height:auto!important;min-height:48px!important}
 .team-back-row .registry-search-bar,.documents-back-row .registry-search-bar,.maintenance-back-row .registry-search-bar,.equipment-back-row .equipment-list-toolbar{order:2;flex:1 1 100%;width:100%;height:42px}
 .team-back-row>.btn,.maintenance-back-row>.btn,.equipment-back-row>.btn{order:3}
 .team-back-row>.portal-back-button,.documents-back-row>.portal-back-button,.maintenance-back-row>.portal-back-button,.equipment-back-row>.portal-back-button{order:1}
 .equipment-back-row .equipment-list-toolbar{align-items:stretch}
}

.home-dashboard-page>.page-head{display:none}
