.cockpit-header-v2{
  position:sticky;
  top:0;
  z-index:10;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:0 -12px;
  padding:9px 16px 7px;
  overflow:hidden;
  color:#fff;
  background:linear-gradient(112deg,#031f50 0%,#06448f 47%,#087dce 76%,#14c4ed 100%);
  box-shadow:0 4px 14px rgba(3,42,91,.2);
}
.cockpit-header-v2::before{
  content:"";
  position:absolute;
  inset:-70% auto -70% 42%;
  z-index:-1;
  width:24%;
  transform:skewX(31deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);
}
.cockpit-header-v2 .cockpit-header-copy{min-width:0}
.cockpit-header-v2 .cockpit-brandline{display:flex;align-items:center;gap:10px;white-space:nowrap}
.cockpit-header-v2 .cockpit-logo{position:relative;display:inline-flex;flex:0 1 240px;max-width:240px;min-width:165px}
.cockpit-header-v2 .cockpit-logo img{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 2px rgba(0,0,0,.18))}
.cockpit-header-v2 .cockpit-logo sup{position:absolute;top:-3px;right:-6px;color:#fff;font:900 10px/1 Arial,sans-serif}
.cockpit-header-v2 .cockpit-title{font-size:clamp(25px,3.2vw,34px);font-weight:900;line-height:1;letter-spacing:-.035em;text-shadow:0 2px 2px rgba(0,0,0,.16)}
.cockpit-header-v2 .cockpit-department{margin-top:4px;color:#fff;font-size:clamp(16px,2.1vw,22px);font-weight:900;line-height:1.1}
.cockpit-header-v2 .cockpit-department b{color:#ffad00}
.cockpit-header-v2 .cockpit-location{margin-top:4px;color:#fff;font-size:clamp(11px,1.35vw,14px);font-weight:700;line-height:1.2}
.cockpit-header-v2 .top-tools{display:grid;grid-template-columns:repeat(3,52px);gap:6px;flex:none}
.cockpit-header-v2 .top-tool{width:52px;min-height:56px;border:1.5px solid rgba(46,218,255,.68);border-radius:9px;background:linear-gradient(180deg,rgba(5,82,151,.96),rgba(3,45,101,.98));box-shadow:inset 0 0 16px rgba(23,180,255,.17),0 3px 9px rgba(0,25,70,.2);color:#fff;font-size:9px;font-weight:1000;line-height:1.05}
.cockpit-header-v2 .top-tool-icon{font-size:19px;line-height:1}

/* Compact personal cockpit strip. The existing header and work area stay unchanged. */
.cockpit-command-shell.staff-shell{
  margin:8px 0 7px;
  padding:5px;
  border:2px solid #b9d2df;
  border-radius:16px;
  background:#eef5f8;
  box-shadow:0 3px 11px rgba(23,61,103,.11);
}
.cockpit-command-shell .staffbar{
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 104px;
  align-items:stretch;
  gap:6px;
  margin:0;
  padding:0;
  background:transparent;
}
.cockpit-route-proxies{display:none!important}
body:not(.asks-allowed) .cockpit-command-shell .staffbar{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
body:not(.asks-allowed) .cockpit-action-center-card,
body:not(.asks-allowed) .action-quick-access{display:none!important}
.cockpit-menu-identity{padding:8px 10px;border-bottom:1px solid #c8d6e0;color:#476173;font-size:11px;font-weight:900;text-transform:uppercase}
.cockpit-command-shell .staffbar>.pinned-message-card{justify-self:stretch;border:3px solid #e19a05;background:linear-gradient(105deg,#fffdf1 0%,#fff3c7 100%);color:#173d67;padding:4px 8px;text-align:left}
.cockpit-command-shell .staffbar>.cockpit-action-center-card{justify-self:stretch;border:2px solid #077b86;background:linear-gradient(145deg,#087b97,#0799a2);color:#fff;padding:4px 6px;text-align:center}
.pinned-message-card{
  min-width:0;
  min-height:64px;
  display:grid;
  grid-template-columns:28px minmax(0,1fr) 12px;
  align-items:center;
  gap:5px;
  padding:4px 8px;
  border:3px solid #e19a05;
  border-radius:14px;
  background:linear-gradient(105deg,#fffdf1 0%,#fff3c7 100%);
  color:#173d67;
  text-align:left;
  box-shadow:0 4px 10px rgba(174,111,0,.12);
  cursor:pointer;
}
.pinned-message-card:focus-visible,.personal-cockpit-card button:focus-visible{outline:3px solid #236da4;outline-offset:2px}
.pinned-message-icon{font-size:26px;line-height:1;filter:drop-shadow(0 2px 2px rgba(120,61,0,.14))}
.pinned-message-copy{min-width:0;display:block}
.pinned-message-copy b{display:block;color:#b56500;font-size:19px;line-height:1.05;font-weight:1000}
.pinned-message-copy span{display:block;margin-top:2px;color:#173d67;font-size:14px;line-height:1.18;font-weight:750}
.pinned-message-open{color:#075b8e;font-size:30px;font-weight:1000;line-height:1}
.personal-cockpit-card{
  min-width:0;
  min-height:64px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:6px 9px;
  padding:4px 8px;
  border:2px solid #4da8d9;
  border-radius:14px;
  background:linear-gradient(108deg,#ecfbff 0%,#b6e8fb 55%,#2c9bdb 100%);
  box-shadow:0 4px 11px rgba(12,99,157,.13);
}
.personal-cockpit-copy{min-width:0;align-self:center}
.personal-cockpit-label{display:block;color:#174b70;font-size:10px;line-height:1;font-weight:1000;letter-spacing:.08em}
.personal-cockpit-copy strong{display:block;margin-top:2px;color:#103e67;font-size:21px;line-height:1;font-weight:1000;white-space:nowrap}
.personal-cockpit-date{display:inline-block;margin-top:3px;color:#345f79;font-size:10px;line-height:1.1;font-weight:850;white-space:nowrap}
.personal-cockpit-card .staff-role{margin-left:5px;padding:2px 6px;font-size:8px;vertical-align:1px}
.cockpit-profile-control{position:relative;align-self:center}
.cockpit-profile-icons{display:flex;gap:4px;flex-wrap:wrap;margin:6px 0}
.cockpit-profile-icons button{border:1px solid #6c9caf;border-radius:8px;background:#f5fcff;font-size:21px;min-width:34px;min-height:34px;cursor:pointer}
.cockpit-photo-status{color:#174b70;font-size:13px;font-weight:700;line-height:1.3;margin:5px 0}
.personal-cockpit-avatar{
  width:48px;
  height:48px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0;
  align-self:center;
  border:0!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.92)!important;
  color:#075180!important;
  padding:0!important;
  font-size:15px!important;
  font-weight:1000!important;
  box-shadow:0 0 0 1px #ffffffb3;
}
.cockpit-avatar-arrow{margin-top:-3px;font-size:12px;line-height:.7}
.cockpit-role-menu{
  position:absolute;
  top:calc(100% + 7px);
  right:0;
  z-index:260;
  width:174px;
  padding:6px;
  border:1px solid #9fb8c8;
  border-radius:12px;
  background:#fff;
  box-shadow:0 10px 26px rgba(3,42,91,.22);
}
.cockpit-role-menu[hidden]{display:none!important}
.cockpit-role-menu button{width:100%;min-height:34px;border:0;border-radius:8px;background:#fff;color:#173d67;padding:7px 9px;text-align:left;font-size:10px;font-weight:900}
.cockpit-role-menu button:hover,.cockpit-role-menu button:focus-visible,.cockpit-role-menu button.active{background:#def3fa;color:#075180}
.cockpit-role-menu .cockpit-menu-logout{margin-top:5px;border-top:1px solid #d8e4ea;border-radius:0 0 8px 8px;color:#8f2430}
.cockpit-action-center-card{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-width:0;
  min-height:64px;
  border:2px solid #077b86;
  border-radius:14px;
  background:linear-gradient(145deg,#087b97,#0799a2);
  color:#fff;
  padding:4px 6px;
  font-weight:1000;
  box-shadow:0 4px 11px rgba(7,123,134,.16);
}
.cockpit-action-center-card.on{box-shadow:inset 0 0 0 3px rgba(255,255,255,.55),0 4px 11px rgba(7,123,134,.18)}
.cockpit-action-short{font-size:19px;line-height:1}
.cockpit-action-full{font-size:9px;line-height:1.05;text-align:center}
.cockpit-action-center-card .action-badges{position:absolute;top:-7px;right:-5px}
.cockpit-inventory-icon{width:32px!important;height:32px!important}
.cockpit-bottom-v2 .cockpit-inventory-icon svg{width:32px;height:32px;stroke-width:2.2}
.cockpit-inventory-icon rect{fill:rgba(255,255,255,.12)}
#actionQuickAccess{border-color:#077b86;background:linear-gradient(145deg,#087b97,#0799a2);color:#fff}
.pinned-message-gate{z-index:520}
.pinned-message-dialog{position:relative;max-width:620px;border:3px solid #e19a05;background:linear-gradient(105deg,#fffdf1,#fff3c7)}
.pinned-dialog-kicker{color:#b56500;font-size:13px;font-weight:1000;letter-spacing:.08em}
.pinned-message-dialog h2{margin:7px 48px 8px 0;color:#173d67;font-size:27px;line-height:1.08}
.pinned-message-dialog p{color:#324c62;font-size:17px;line-height:1.45}

/* Full Sales Activity workspace, moved out of the Hub inventory card. */
.sales-activity-page{background:linear-gradient(180deg,#f8fcfe,#eef7fa)}
.sales-activity-actions{margin:14px 0;padding:16px;border:2px solid #c8b27b;border-radius:16px;background:linear-gradient(120deg,#fff9e8,#fff);box-shadow:0 5px 15px rgba(111,78,16,.08)}
.sales-activity-kicker{color:#9a6500;font-size:11px;font-weight:1000;letter-spacing:.09em}
.sales-activity-actions h3{margin:3px 0 12px;color:#173d67;font-size:20px}
.sales-activity-action-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sales-activity-action-fields label,.sales-activity-employee{display:grid;gap:5px;color:#52636e;font-size:10px;font-weight:1000;letter-spacing:.05em}
.sales-activity-action-fields input,.sales-activity-employee select{min-width:0;border:1.5px solid #aac1cd;border-radius:10px;background:#fff;color:#173d67;padding:11px;font:800 14px/1.2 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.sales-activity-action-buttons{display:flex;gap:9px;margin-top:10px;flex-wrap:wrap}
.sales-activity-action-buttons button{min-height:42px;border:0;border-radius:10px;padding:10px 16px;color:#fff;font-weight:1000;cursor:pointer}
.sales-activity-action-buttons .reserve{background:linear-gradient(135deg,#8d4b00,#e7a313);box-shadow:0 5px 12px rgba(141,75,0,.2)}.sales-activity-action-buttons .sold{background:#173d67}
.sales-activity-action-status{min-height:18px;margin-top:8px;color:#4e5f68;font-size:12px;font-weight:800}
.sales-activity-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,220px);gap:12px;align-items:stretch;margin:14px 0}
.sales-activity-periods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:2px solid #b5ccd6;border-radius:13px;background:#fff}
.sales-activity-periods button{min-height:52px;border:0;border-right:1px solid #d3e1e7;background:#fff;color:#536875;font-weight:1000;cursor:pointer}.sales-activity-periods button:last-child{border-right:0}
.sales-activity-periods .day.on{background:#0b6685;color:#fff}.sales-activity-periods .week.on{background:#07888e;color:#fff}.sales-activity-periods .month.on{background:#bb7500;color:#fff}.sales-activity-periods .year.on{background:#70428f;color:#fff}
.sales-activity-employee{padding:8px 10px;border:2px solid #b5ccd6;border-radius:13px;background:#fff}.sales-activity-employee select{padding:6px 2px;border:0}
.sales-activity-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border-radius:14px;box-shadow:0 4px 12px rgba(16,68,93,.12)}
.activity-stat{min-height:70px;display:grid;place-items:center;padding:8px;color:#fff;text-align:center}.activity-stat strong{font-size:25px;line-height:1}.activity-stat span{font-size:10px;font-weight:1000;letter-spacing:.05em}.activity-stat.records{background:#0b6685}.activity-stat.sold{background:#247548}.activity-stat.reserved{background:#a56d08}.activity-stat.released{background:#586875}
.sales-activity-list{display:grid;gap:9px;margin-top:14px}
.sales-activity-row{display:grid;grid-template-columns:90px minmax(0,1fr) minmax(120px,.5fr) auto;gap:12px;align-items:center;padding:13px;border:2px solid #c8dbe3;border-left-width:7px;border-radius:13px;background:#fff}.sales-activity-row.sold{border-left-color:#3d9661}.sales-activity-row.reserved{border-left-color:#d89b27}.sales-activity-row.released{border-left-color:#82919b}
.sales-activity-state{padding:6px 8px;border-radius:999px;background:#eaf2f5;color:#334f5f;text-align:center;font-size:10px;font-weight:1000;text-transform:uppercase}.sales-activity-row.sold .sales-activity-state{background:#e4f4e9;color:#21623a}.sales-activity-row.reserved .sales-activity-state{background:#fff1d2;color:#865a05}
.sales-activity-row>div>strong,.sales-activity-person b{display:block;color:#173d67}.sales-activity-row>div>span,.sales-activity-person span{display:block;margin-top:3px;color:#657782;font-size:12px}.sales-activity-person{text-align:right}.sales-activity-value{color:#21623a;font-size:18px}


.cockpit-bottom-v2{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:230;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  height:56px;
  padding:0;
  background:linear-gradient(100deg,#079eea 0%,#057ed9 48%,#08aaf2 100%);
  box-shadow:0 -4px 16px rgba(0,45,110,.22);
}
body.qr-media-allowed .cockpit-bottom-v2{grid-template-columns:repeat(5,minmax(0,1fr))}
body:not(.qr-media-allowed) .cockpit-bottom-v2 [data-cockpit-target="tools"]{display:none}
body.auth-locked .cockpit-bottom-v2{display:none}
.cockpit-bottom-v2 button{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  border:0;
  border-right:1px solid rgba(255,255,255,.24);
  border-radius:0;
  background:transparent;
  color:#fff;
  padding:3px 3px;
  font:900 13.5px/1.02 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  text-align:center;
  text-shadow:0 1px 2px rgba(0,46,105,.4);
  cursor:pointer;
}
.cockpit-bottom-v2 button:last-child{border-right:0}
.cockpit-bottom-v2 button.is-active{
  background:linear-gradient(180deg,#c9f6fb 0%,#61d5f4 46%,#1ca8e7 100%);
  color:#073d70;
  text-shadow:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -5px 10px rgba(0,75,150,.13),0 -3px 13px rgba(0,141,213,.22);
}
.cockpit-bottom-v2 .cockpit-bottom-icon{width:28px;height:28px;display:grid;place-items:center;flex:none}
.cockpit-bottom-v2 svg{width:28px;height:28px;display:block;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.cockpit-bottom-v2 .cockpit-bottom-label{display:block;max-width:100%}

/* Keep every overlay fully visible above the fixed cockpit navigation. */
.lightbox,.part-modal,.compare-modal,.gate{bottom:56px}
.part-card{max-height:calc(100vh - 86px)}

/* Larger yard-readable text inside the existing part-detail boxes. */
.part-card-meta,.part-card-note{font-size:14.5px}
.staff-detail-title{font-size:14px}
.staff-price-box{padding:6px 8px}
.staff-price-box span{font-size:11px}
.staff-price-box strong{font-size:20px}
.staff-spec{padding:5px 8px}
.staff-spec span{font-size:11px}
.staff-spec b{font-size:13.5px;line-height:1.2}
.staff-tire-box,.staff-sales-box,.staff-notes-box{padding:6px 10px}
.staff-box-head{font-size:12px}
.staff-tire-grid div{font-size:12px}
.staff-tire-grid b{font-size:13px}
.staff-sales-box ul{font-size:13.5px;line-height:1.4}
.staff-notes-box{font-size:13.5px;line-height:1.4}
.staff-action-row button{font-size:11.5px}

@media(max-width:700px){
  .cockpit-header-v2{gap:8px;padding:8px 10px 6px}
  .cockpit-header-v2 .cockpit-brandline{gap:8px}
  .cockpit-header-v2 .cockpit-logo{flex-basis:200px;max-width:200px;min-width:145px}
  .cockpit-header-v2 .cockpit-title{font-size:27px}
  .cockpit-header-v2 .cockpit-department{font-size:16px}
  .cockpit-header-v2 .cockpit-location{font-size:11px}
  .cockpit-header-v2 .top-tools{grid-template-columns:repeat(3,48px);gap:5px}
  .cockpit-header-v2 .top-tool{width:48px;min-height:52px}
  .cockpit-header-v2 .top-tool-icon{font-size:18px}
  .cockpit-bottom-v2{height:56px}
  .cockpit-bottom-v2 button{font-size:13px;gap:2px;padding:3px 2px}
  .cockpit-bottom-v2 .cockpit-bottom-icon,.cockpit-bottom-v2 svg{width:27px;height:27px}
  .lightbox,.part-modal,.compare-modal,.gate{bottom:56px}
  .part-card{max-height:calc(100vh - 82px)}
  .pinned-message-card,.personal-cockpit-card,.cockpit-action-center-card{min-height:64px}
  .pinned-message-copy b{font-size:17px}
  .pinned-message-copy span{font-size:12px}
  .personal-cockpit-copy strong{font-size:18px}
}
@media(max-width:540px){
  .cockpit-header-v2{grid-template-columns:1fr;gap:6px;padding:7px 10px 6px}
  .cockpit-header-v2 .cockpit-logo{flex-basis:180px;max-width:180px;min-width:140px}
  .cockpit-header-v2 .cockpit-title{font-size:22px}
  .cockpit-header-v2 .top-tools{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:5px}
  .cockpit-header-v2 .top-tool{width:auto;min-height:44px}
  .cockpit-header-v2 .top-tool-icon{font-size:17px}
  .cockpit-bottom-v2{height:56px}
  .cockpit-bottom-v2 button{font-size:11.5px;gap:2px}
  .cockpit-bottom-v2 .cockpit-bottom-icon,.cockpit-bottom-v2 svg{width:25px;height:25px}
  .lightbox,.part-modal,.compare-modal,.gate{bottom:56px}
  .part-card{max-height:calc(100vh - 80px)}
  .cockpit-command-shell .staffbar{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 70px;gap:5px}
  .pinned-message-card{grid-template-columns:30px minmax(0,1fr) 13px;padding:9px 8px;gap:5px}
  .pinned-message-icon{font-size:25px}
  .pinned-message-copy b{font-size:15px}
  .pinned-message-copy span{font-size:10.5px;line-height:1.18}
  .pinned-message-open{font-size:24px}
  .personal-cockpit-card{grid-template-columns:minmax(0,1fr) 38px;padding:7px;gap:5px}
  .personal-cockpit-copy strong{font-size:16px}
  .personal-cockpit-date{font-size:8.5px}
  .personal-cockpit-avatar{width:38px;height:38px;font-size:12px!important}
  .cockpit-action-short{font-size:16px}
  .cockpit-action-full{font-size:7.5px}
  .cockpit-role-menu{width:160px}
  .sales-activity-action-fields,.sales-activity-toolbar{grid-template-columns:1fr}
  .sales-activity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sales-activity-row{grid-template-columns:74px minmax(0,1fr);gap:8px}.sales-activity-person{text-align:left}.sales-activity-value{grid-column:2}
}

/* Four compact header tools: HUB, QR, COPY, and ADDRESS. */
.cockpit-header-v2 .top-tools{grid-template-columns:repeat(4,52px)}
.cockpit-header-v2 .top-tool{text-decoration:none}

/* Authorized sales staff use the same navigation with only their allowed destinations. */
body:not(.cockpit-nav-allowed) .cockpit-bottom-v2{display:none!important}
body:not(.cockpit-nav-allowed) .wrap{padding-bottom:28px}
body:not(.cockpit-nav-allowed) .lightbox,
body:not(.cockpit-nav-allowed) .part-modal,
body:not(.cockpit-nav-allowed) .compare-modal,
body:not(.cockpit-nav-allowed) .gate{bottom:0}
body.chief-cockpit #qrGate .gatebox{max-height:calc(100dvh - 82px)}

/* The approved full-letter public sign replaces the old plain MANCO QR tile. */
.public-inventory-sign-preview{display:none;width:100%;height:auto;border-radius:10px}
.donor-qr-label.public-sign-mode{width:min(100%,360px)!important;max-width:360px;border:2px solid #d39b31;background:#fffaf1;padding:5px;box-shadow:0 7px 20px rgba(18,55,94,.16)}
.donor-qr-label.public-sign-mode .public-inventory-sign-preview{display:block}
.donor-qr-label.public-sign-mode .donor-qr-code,
.donor-qr-label.public-sign-mode .qr-box,
.donor-qr-label.public-sign-mode .donor-qr-footer,
.donor-qr-label.public-sign-mode .donor-qr-yard{display:none}
#qrGate .gactions a.btn{display:flex;align-items:center;justify-content:center;text-decoration:none}

@media(max-width:700px){
  .cockpit-header-v2 .top-tools{grid-template-columns:repeat(4,48px)}
  body.chief-cockpit #qrGate .gatebox{max-height:calc(100dvh - 72px)}
}
@media(max-width:540px){
  .cockpit-header-v2 .top-tools{grid-template-columns:repeat(4,minmax(0,1fr))}
  .donor-qr-label.public-sign-mode{width:min(62vw,300px)!important}
}

/* Cockpit color hierarchy: utility tools reverse the header flow, HUB is distinct,
   and ASKS stays visible against both the command strip and scrolled inventory. */
.cockpit-action-center-card{
  background:linear-gradient(135deg,#6ce2f7 0%,#1ab6df 38%,#0876bd 100%)!important;
  border-color:#07548e!important;
  color:#fff!important;
  text-shadow:0 1px 2px rgba(3,44,82,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 7px 18px rgba(6,79,137,.30)!important;
}
#actionQuickAccess{
  background:linear-gradient(135deg,#6ce2f7 0%,#1ab6df 40%,#0876bd 100%)!important;
  border-color:#07548e!important;
  color:#fff!important;
  text-shadow:0 1px 2px rgba(3,44,82,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 6px 16px rgba(6,79,137,.32)!important;
}
#actionQuickAccess.has-message{
  background:linear-gradient(135deg,#8becfa 0%,#27bee3 42%,#0876bd 100%)!important;
  border-color:#064f88!important;
  color:#fff!important;
}
#actionQuickAccess.has-alert{
  background:linear-gradient(135deg,#ffebe7 0%,#ff8d7a 48%,#d8342d 100%)!important;
  border-color:#9e241e!important;
  color:#fff!important;
  box-shadow:0 0 0 2px rgba(196,44,35,.20),0 6px 16px rgba(128,25,20,.30)!important;
}

/* The role is confirmed before any navigation is shown. */
.cockpit-bottom-v2[hidden]{display:none!important}

/* Account-specific photo stays on this device and never grants access. */
.personal-cockpit-avatar.has-photo{background-image:var(--cockpit-photo)!important;background-position:center!important;background-size:cover!important}
.personal-cockpit-avatar.has-photo #cockpitAvatarText{opacity:0}
.cockpit-role-menu .cockpit-photo-label{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:36px;padding:7px 9px;border-radius:8px;color:#173d67;font-size:10px;font-weight:900;cursor:pointer}
.cockpit-role-menu .cockpit-photo-label small{font-size:8px;color:#6b7b86}
.cockpit-role-menu .cockpit-photo-label:hover{background:#def3fa}
.cockpit-role-menu .cockpit-photo-remove[hidden]{display:none!important}

/* Approved shared Cockpit inventory layout, October 3, 2026. */
.cockpit-header-v2 .top-tool{background:linear-gradient(145deg,#effdff 0%,#b2edfc 65%,#78d8f4 100%);border-color:#69c7e6;color:#083c69;box-shadow:inset 0 1px 2px #fff8,0 3px 8px #06345925}
.cockpit-header-v2 #openHub{background:linear-gradient(135deg,#37c8f1 0%,#087ec9 40%,#064888 72%,#062957 100%);border:1.5px solid #085087;color:#fff}
.truck-chip,.dcell{border-color:#8eb4d0!important}
.truck-chip.on,.dcell.on{background:linear-gradient(145deg,#0877a0,#173d67)!important;border:2px solid #235f7e!important;box-shadow:inset 0 0 0 2px #fff!important}
#privateInventoryWorkbook{border:2px solid #cc9843;background:#fff!important;padding:14px;border-radius:18px;overflow:visible}
.cockpit-parts-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#173d67;margin:0 0 12px}
.cockpit-parts-heading h2{margin:0;font-size:22px;font-weight:950;line-height:1.1}
.cockpit-parts-heading>span{font-size:16px;font-weight:850;white-space:nowrap;color:#526572}
#privateInventoryWorkbook .private-workbook-head{display:grid;grid-template-columns:132px minmax(0,1fr);gap:16px;align-items:center;padding:12px;border:2px solid #cc9843;border-radius:16px;background:linear-gradient(135deg,#fffefb,#fff2d8)!important}
#privateInventoryWorkbook .private-workbook-truck{width:132px;height:104px;object-fit:cover;object-position:50% 50%;border-radius:12px;border:0}
#privateInventoryWorkbook .private-workbook-head .partsearch-label{font-size:23px;margin:0 0 5px;font-weight:950}
#privateInventoryWorkbook .private-workbook-head .private-workbook-title{font-size:21px;font-weight:900;line-height:1.2;margin:0;color:#263843}
#privateInventoryWorkbook .private-workbook-title span{color:#175875;font-size:27px;margin-right:9px}
#privateInventoryWorkbook .private-workbook-sub{font-size:14px;font-weight:750;margin:5px 0 0;color:#63717b}
#privateSearchLane{border:0;background:transparent;margin:12px 0 8px;padding:0;box-shadow:none}
#privateSearchLane>.partsearch-label{display:none}
#privateSearchLane .partsearch input{font-size:19px;border:2px solid #a5bccb;padding:13px;border-radius:12px}
#privateSearchLane .partsearch-camera-field{display:flex;flex:1;min-width:0;align-items:stretch;border:2px solid #77a9c5;border-radius:12px;background:linear-gradient(110deg,#fff,#edf8ff);overflow:hidden}
#privateSearchLane .partsearch .partsearch-camera-field input{flex:1;width:100%;min-width:0;border:0;border-radius:0;background:transparent;outline:none}
#privateSearchLane .partsearch-camera-field:focus-within{border-color:#177da7;box-shadow:0 0 0 2px #177da720}
#privateSearchLane .inventory-scan-button{display:flex;flex:0 0 68px;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:44px;padding:3px 5px;border:0;border-left:1px solid #b5d8e8;border-radius:0;background:linear-gradient(145deg,#f4fcff,#d8f1fd);color:#123d69;cursor:pointer}
#privateSearchLane .inventory-scan-button svg{width:27px;height:27px}
#privateSearchLane .inventory-scan-button span{font-size:11px;font-weight:950;line-height:1}
#privateSearchLane .inventory-scan-button:focus-visible{outline:3px solid #173d67;outline-offset:-3px}
#privateSearchLane .partsearch-go{font-size:16px;font-weight:950;background:linear-gradient(135deg,#1681b0,#082d5b);border-radius:12px;padding:0 16px;min-width:95px}
#privateSearchLane .parts-search-note{font-size:14px;font-weight:750;line-height:1.3}
#privateInventoryWorkbook .private-work-section{margin-top:12px}
#privateInventoryWorkbook .private-work-section:has(.major-work-table)>h3{display:none}
#privateInventoryWorkbook .private-table-wrap{overflow:visible;border:0;background:transparent}
#privateInventoryWorkbook .private-work-table,#privateInventoryWorkbook .private-work-table tbody{display:block;width:100%;min-width:0;background:transparent}
#privateInventoryWorkbook .private-work-table thead{display:none}
#privateInventoryWorkbook tr.cockpit-part-row{display:grid;grid-template-columns:124px minmax(0,1fr) 138px;grid-template-rows:auto;gap:4px 14px;align-items:start;margin:6px 0;padding:8px 10px;border:1.5px solid #cabea8;border-radius:15px;background:linear-gradient(135deg,#fff,#fffaf1);cursor:pointer;overflow:visible}
#privateInventoryWorkbook tr.cockpit-part-row>td{display:block;width:auto;min-width:0;padding:0!important;border:0!important;text-align:left;overflow:visible;background:transparent!important}
#privateInventoryWorkbook tr.cockpit-part-row>.cockpit-part-photo{grid-column:1;grid-row:1;align-self:start}
#privateInventoryWorkbook tr.cockpit-part-row>.cockpit-part-copy{grid-column:2;grid-row:1}
#privateInventoryWorkbook .cockpit-part-copy>.cockpit-part-prices{margin-top:4px}
#privateInventoryWorkbook tr.cockpit-part-row>.cockpit-part-question{grid-column:3;grid-row:1;align-self:start;justify-self:end}
#privateInventoryWorkbook .workbook-thumb{width:100%;height:96px;min-height:0;max-height:none;border-radius:11px;object-fit:cover;object-position:50% 50%}
#privateInventoryWorkbook .workbook-name{font-size:26px;font-weight:950;line-height:1.1;color:#12385f;text-align:left}
#privateInventoryWorkbook .workbook-code{font-size:15px;line-height:1.15;font-weight:850;color:#657582;margin:2px 0 0;text-align:left;overflow-wrap:anywhere}
.workbook-meta{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;margin:2px 0 0;color:#657582;font-size:14px;font-weight:750;line-height:1.3}
#privateInventoryWorkbook .workbook-details{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:4px}
#privateInventoryWorkbook .workbook-detail{background:transparent;padding:0;font-size:14px;line-height:1.25;color:#425865}
#privateInventoryWorkbook .workbook-detail b{display:inline;font-size:12px;color:#627d8e;margin-right:5px}
#privateInventoryWorkbook .sales-range{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:0}
#privateInventoryWorkbook .sales-level{display:flex;align-items:center;justify-content:space-between;gap:5px;border:1px solid #76bdda;border-radius:8px;padding:3px 8px;min-height:0;background:linear-gradient(135deg,#f0fbff,#cceafa);box-shadow:none}
#privateInventoryWorkbook .sales-level.base{background:linear-gradient(135deg,#fffbea,#ffe09c);border-color:#d69e26}
#privateInventoryWorkbook .sales-level.list{background:linear-gradient(135deg,#087dd0,#074683);border-color:#0873ab}
#privateInventoryWorkbook .sales-level span{font-size:12px;font-weight:950;line-height:1;color:#123d65}
#privateInventoryWorkbook .sales-level strong{font-size:22px;font-weight:950;line-height:1.1;color:#123d65;white-space:nowrap}
#privateInventoryWorkbook .sales-level.list span,#privateInventoryWorkbook .sales-level.list strong{color:#fff}
#privateInventoryWorkbook .private-status-pill.status-quick-trigger{display:inline-flex;width:auto;min-width:0;max-width:100%;min-height:28px;gap:7px;padding:2px 0;border:0;background:transparent;box-shadow:none;color:#207342;font-size:18px;font-weight:900;line-height:1.1;text-align:left;white-space:normal;cursor:pointer}
.workbook-state-dot{display:inline-block;width:13px;height:13px;border-radius:50%;background:currentColor;flex:none}
.workbook-state-chevron{font-size:18px;font-weight:950;line-height:1}
#privateInventoryWorkbook .private-status-pill.state-reserved,#privateInventoryWorkbook .private-status-pill.warn{color:#936008}
#privateInventoryWorkbook .private-status-pill.state-sold{color:#185e9e}
#privateInventoryWorkbook .private-status-pill.yard-roller{color:#786b4c}
#privateInventoryWorkbook .workbook-question{width:auto;min-width:132px;min-height:38px;border:1.5px solid #123d65;border-radius:8px;padding:8px 9px;background:linear-gradient(135deg,#f1fcff,#bcebf7);color:#123d65;font-size:14px;font-weight:950;white-space:nowrap;box-shadow:0 2px 6px #153c6420}
#privateInventoryWorkbook button:focus-visible{outline:3px solid #1680b5;outline-offset:3px}
/* Keep the popup header and actions visible; only the middle preview can scroll. */
#qrGate .gatebox{display:flex;flex-direction:column;gap:9px;padding:16px;overflow:hidden;height:min(850px,calc(100dvh - 34px));max-height:calc(100dvh - 34px)}
body.chief-cockpit #qrGate .gatebox{height:min(850px,calc(100dvh - 88px));max-height:calc(100dvh - 88px)}
#qrGate .gatebox h2{margin:0;font-size:24px;line-height:1.1;flex:none}
#qrGate .qr-mode-switch{margin:0;flex:none}
#qrGate .qr-preview-body{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:0;flex:1;overflow:auto}
#qrGate .donor-qr-label.public-sign-mode{flex:1;min-height:0;width:auto!important;max-width:100%;height:100%;margin:0;display:flex;align-items:center;justify-content:center;padding:4px;aspect-ratio:8.5/11}
#qrGate .public-inventory-sign-preview{object-fit:contain;width:auto;max-width:100%;height:100%;min-height:0;max-height:100%;border-radius:7px}
#qrGate .quick-note{margin:0;flex:none;font-size:12px;line-height:1.2;text-align:center}
#qrGate .gactions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0;flex:none}
#qrGate .gactions .btn{min-width:0;width:auto;padding:10px 6px;font-size:14px;line-height:1.1}
#qrGate .gactions [hidden]{display:none!important}
/* Staff address sharing popup follows the approved Cockpit gradient. */
#addressGate .gatebox{border:2px solid #174a72;padding:0;overflow:auto}
.staff-address-head{padding:20px 23px;background:linear-gradient(115deg,#073365,#079fd3);color:#fff}
#addressGate .staff-address-head h2{margin:0 0 3px;font-size:28px}
.staff-address-head>div{font-size:18px;font-weight:750}
#addressGate .address-text{margin:20px 22px;padding:18px;border:1px solid #c0e4f1;background:linear-gradient(135deg,#f3fcff,#e8f3f9);font-size:19px;font-weight:850;line-height:1.35}
#addressGate .address-text p{margin:12px 0 0;font-size:17px;font-weight:650}
#addressGate .gactions{display:grid;grid-template-columns:1fr;gap:10px;padding:0 22px 22px;margin:0}
#addressGate .gactions .btn{font-size:17px;min-height:48px;border-radius:10px;background:linear-gradient(135deg,#073465,#069fd2);border:1px solid #16678e;color:#fff}
#addressGate .gactions #openMaps{background:linear-gradient(135deg,#f1fcff,#c7edf9);color:#173d67;border:1.5px solid #318ab4}
#addressGate .gactions #closeAddress{background:#fff;color:#173d67;border-color:#b9cbd7}
@media(max-width:760px){
 #privateInventoryWorkbook tr.cockpit-part-row{grid-template-columns:100px minmax(0,1fr) 118px;gap:4px 10px;padding:8px}
 #privateInventoryWorkbook .workbook-name{font-size:24px}
 #privateInventoryWorkbook .workbook-question{min-width:112px;font-size:12px;padding:8px 6px}
 #privateInventoryWorkbook .sales-level{padding:3px 6px}
 #privateInventoryWorkbook .sales-level strong{font-size:22px}
}
@media(max-width:620px){
 #privateInventoryWorkbook{padding:9px}
 .cockpit-parts-heading h2{font-size:18px}
 #privateInventoryWorkbook .private-workbook-head{grid-template-columns:90px minmax(0,1fr);gap:10px;padding:9px}
 #privateInventoryWorkbook .private-workbook-truck{width:90px;height:82px}
 #privateInventoryWorkbook .private-workbook-head .partsearch-label{font-size:18px}
 #privateInventoryWorkbook .private-workbook-head .private-workbook-title{font-size:17px}
 #privateInventoryWorkbook .private-workbook-title span{font-size:21px}
 #privateInventoryWorkbook .private-workbook-sub{font-size:13px}
 #privateInventoryWorkbook tr.cockpit-part-row{grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto;gap:5px;padding:8px}
 #privateInventoryWorkbook tr.cockpit-part-row>.cockpit-part-photo{grid-column:1;grid-row:1/3}
 #privateInventoryWorkbook tr.cockpit-part-row>.cockpit-part-copy{grid-column:2;grid-row:1}
 #privateInventoryWorkbook tr.cockpit-part-row>.cockpit-part-question{grid-column:2;grid-row:2;justify-self:end}
 #privateInventoryWorkbook .workbook-name{font-size:21px}
 #privateInventoryWorkbook .workbook-thumb{height:90px;min-height:0;max-height:none}
 #privateInventoryWorkbook .workbook-meta{font-size:14px}
 #privateSearchLane .partsearch input{font-size:17px}
 #privateSearchLane .partsearch-go{font-size:14px;min-width:75px;padding:0 10px}
 #privateInventoryWorkbook .private-status-pill.status-quick-trigger{font-size:18px}
 #qrGate .gactions{grid-template-columns:repeat(2,minmax(0,1fr))}
 #qrGate .gatebox h2{font-size:21px}
}
@media print{#qrGate .qr-preview-body{display:block;overflow:visible}}

/* Separate HUB slightly, while keeping the three utility actions grouped. */
.cockpit-header-v2 .top-tools{display:flex;gap:6px;align-items:center;width:auto}
.cockpit-header-v2 .top-tool{flex:none;width:52px;min-height:56px;color:#083c69;background:linear-gradient(145deg,#effdff,#b2edfc 65%,#78d8f4);border-color:#69c7e6}
.cockpit-header-v2 #openHub{width:58px;min-height:62px;margin-left:7px;background:linear-gradient(135deg,#37c8f1 0%,#087ec9 40%,#064888 72%,#062957 100%);color:#fff;border-color:#085087}
.cockpit-header-v2 .top-tool:active{filter:brightness(.95)}
/* Explicit left alignment prevents old narrow-table rules from centering IDs. */
#privateInventoryWorkbook .cockpit-part-copy,#privateInventoryWorkbook .workbook-name,#privateInventoryWorkbook .workbook-code{text-align:left}
#privateInventoryWorkbook .cockpit-part-row .workbook-detail{min-height:0}
#privateInventoryWorkbook .tire-work-table .workbook-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px}
#privateInventoryWorkbook .tire-work-table .workbook-detail{grid-column:auto}
#privateInventoryWorkbook .tire-work-table .workbook-thumb{height:112px}
#privateInventoryWorkbook .tire-work-table .sales-range{padding:0}
/* The opened part and search results use the same pricing markup and palette. */
.staff-pricing-grid>.sales-range,.private-card-data>.sales-range{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0}
.staff-pricing-grid .sales-level,.private-card-data .sales-level{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;min-height:45px;padding:10px;border:1px solid #76bdda;border-radius:8px;background:linear-gradient(135deg,#f0fbff,#cceafa);box-shadow:none}
.staff-pricing-grid .sales-level.base,.private-card-data .sales-level.base{background:linear-gradient(135deg,#fffbea,#ffe09c);border-color:#d69e26}
.staff-pricing-grid .sales-level.list,.private-card-data .sales-level.list{background:linear-gradient(135deg,#087dd0,#074683);border-color:#0873ab}
.staff-pricing-grid .sales-level span,.private-card-data .sales-level span{font-size:14px;font-weight:950;color:#123d65;line-height:1.1}
.staff-pricing-grid .sales-level strong,.private-card-data .sales-level strong{font-size:24px;font-weight:950;color:#123d65;line-height:1.1;white-space:nowrap}
.staff-pricing-grid .sales-level.list span,.staff-pricing-grid .sales-level.list strong,.private-card-data .sales-level.list span,.private-card-data .sales-level.list strong{color:#fff}
@media(max-width:700px){
 .cockpit-header-v2 .top-tool{width:48px;min-height:52px}
 .cockpit-header-v2 #openHub{width:54px;min-height:58px;margin-left:7px}
}
@media(max-width:540px){
 .cockpit-header-v2 .top-tools{justify-content:flex-end}
 .cockpit-header-v2 .top-tool{width:47px;min-height:46px}
 .cockpit-header-v2 #openHub{width:54px;min-height:52px;margin-left:7px}
 #privateInventoryWorkbook .tire-work-table .workbook-details{grid-template-columns:1fr;gap:3px}
 .staff-pricing-grid .sales-level,.private-card-data .sales-level{padding:8px 6px;gap:4px}
 .staff-pricing-grid .sales-level span,.private-card-data .sales-level span{font-size:12px}
 .staff-pricing-grid .sales-level strong,.private-card-data .sales-level strong{font-size:21px}
}

@media(max-width:400px){
 #privateInventoryWorkbook .sales-level,.staff-pricing-grid .sales-level,.private-card-data .sales-level{flex-direction:column;align-items:flex-start;gap:4px}
 #privateInventoryWorkbook .sales-level strong,.staff-pricing-grid .sales-level strong,.private-card-data .sales-level strong{font-size:21px}
}

/* Prices follow the metadata in natural flow, independent of photo height. */
#privateInventoryWorkbook .workbook-details:empty{display:none;margin:0}
#privateInventoryWorkbook .workbook-meta{color:#435563}
#privateInventoryWorkbook .workbook-code{color:#4b5f6f}
@media(max-width:620px){
 #privateInventoryWorkbook tr.cockpit-part-row>.cockpit-part-photo{grid-row:1}
 #privateInventoryWorkbook .cockpit-part-copy>.cockpit-part-prices{width:calc(100% + 83px);margin-left:-83px}
 #privateInventoryWorkbook .workbook-meta{min-height:44px}
 #privateInventoryWorkbook .workbook-thumb{height:72px}
 #privateInventoryWorkbook .tire-work-table .workbook-thumb{height:90px}
}

/* Readable quick tools: the copy action shares the public inventory link. */
.cockpit-header-v2 .top-tool{width:64px;min-height:72px;font-size:13px;font-weight:950;line-height:1.08;gap:5px;padding:6px 3px}
.cockpit-header-v2 .top-tool-icon{display:grid;place-items:center;width:28px;height:28px;font-size:28px}
.cockpit-header-v2 .top-tool-icon svg{display:block;width:100%;height:100%}
.cockpit-header-v2 #openHub{width:70px;min-height:78px;font-size:15px}
/* Tread bands convey the existing guide ranges; approval status stays independent. */
.tread-band{display:inline-flex;align-items:center;justify-content:center;margin-top:3px;padding:3px 7px;border:1px solid;border-radius:6px;font-weight:950;line-height:1.1;white-space:nowrap}
.tread-band.fair{color:#873a20;background:linear-gradient(135deg,#fff2e8,#f9c9b5);border-color:#cc8467}
.tread-band.good{color:#6e5104;background:linear-gradient(135deg,#fff9dc,#f8df85);border-color:#c49c35}
.tread-band.excellent{color:#155c35;background:linear-gradient(135deg,#eefbee,#b9e9c9);border-color:#66ab7c}
.tread-band.low{color:#93243b;background:#fde7e9;border-color:#d48d9b}
.tire-price-grid .guide-header{font-size:15px}
.tire-price-grid .guide-price{font-size:18px}
.all-tire-price{display:flex;gap:10px;align-items:center}
.all-tire-price>div{text-align:right}
.all-tire-price small{display:block;color:#526778;font-size:10px;margin-bottom:2px}
/* Tire specifications and prices use the space beneath the entire header row. */
#privateInventoryWorkbook tr.cockpit-tire-row{grid-template-columns:100px minmax(0,1fr) 138px;grid-template-rows:auto auto auto;gap:4px 12px}
#privateInventoryWorkbook tr.cockpit-tire-row>.cockpit-part-photo{grid-column:1;grid-row:1;align-self:start}
#privateInventoryWorkbook .cockpit-tire-row .workbook-thumb{height:82px}
#privateInventoryWorkbook tr.cockpit-tire-row>.cockpit-tire-specs{grid-column:1/-1;grid-row:2}
#privateInventoryWorkbook tr.cockpit-tire-row>.cockpit-tire-prices{grid-column:1/-1;grid-row:3}
#privateInventoryWorkbook .workbook-spec-strip{display:flex;flex-wrap:wrap;align-items:center;gap:3px 14px;padding:3px 0;border-top:1px solid #d9d0be}
#privateInventoryWorkbook .workbook-spec-strip .workbook-detail{display:flex;align-items:center;flex-wrap:wrap;gap:4px;background:transparent;border:0;border-radius:0;margin:0;padding:0;font-size:14px;font-weight:850;line-height:1.2}
#privateInventoryWorkbook .workbook-spec-strip .workbook-detail b{margin:0;color:#526a7c;font-size:12px}
#privateInventoryWorkbook .workbook-spec-strip .tread-band{margin:0;padding:2px 5px}
/* A clear rose alert header and alternating rows keep verification readable. */
#privateInventoryWorkbook .private-work-section:has(.verification-box)>h3{background:linear-gradient(105deg,#f8dce3,#fff1f4)!important;border:2px solid #b96a80;border-bottom:0;border-radius:9px 9px 0 0;color:#7c2140;padding:9px 12px;font-size:21px;font-weight:950}
#privateInventoryWorkbook .verification-box{border:2px solid #b96a80;border-top:0;border-left-width:4px;border-radius:0 0 9px 9px;background:#fff8fa;padding:4px}
#privateInventoryWorkbook .verification-box ul{list-style:none;padding:0;color:#2d3843;font-size:14.5px;font-weight:650;line-height:1.35}
#privateInventoryWorkbook .verification-box li{margin:0;padding:6px 10px;border-bottom:1px solid #ead5dc;background:#fffafb}
#privateInventoryWorkbook .verification-box li:nth-child(even){background:#f5eaf0}
#privateInventoryWorkbook .verification-box li:last-child{border-bottom:0}
#privateInventoryWorkbook .verification-box li strong{font-weight:900;color:#253e55}
/* Opening the question focuses its container, leaving typing to a deliberate tap. */
.staff-question-sheet{top:var(--question-top,0px);bottom:auto;height:var(--question-height,100dvh)}
.staff-question-card{display:flex;flex-direction:column;max-height:100%;border-radius:16px;overflow:hidden;outline:none}
.staff-question-head{flex:none;padding:16px 60px 13px 18px}
.staff-question-head h2{font-size:27px}
.staff-question-body{min-height:0;overflow:auto;padding:14px 18px 16px;overscroll-behavior:contain}
.staff-question-context{margin-bottom:9px;gap:6px}
.staff-question-body textarea{min-height:84px;height:84px;max-height:114px;overflow:auto;resize:none;padding:10px 12px;font-family:inherit;font-size:16px;font-weight:650;line-height:1.35}
.staff-question-actions{margin-top:12px}
.staff-question-actions button{min-height:44px}
@media(max-width:700px){
 .cockpit-header-v2 .top-tool{width:58px;min-height:68px;font-size:12px}
 .cockpit-header-v2 #openHub{width:64px;min-height:74px;font-size:14px}
}
@media(max-width:620px){
 .cockpit-header-v2{grid-template-columns:1fr}
 .cockpit-header-v2 .top-tools{justify-content:flex-end}
 #privateInventoryWorkbook tr.cockpit-tire-row{grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:4px 7px}
 #privateInventoryWorkbook tr.cockpit-tire-row>.cockpit-part-question{grid-column:2;grid-row:2}
 #privateInventoryWorkbook tr.cockpit-tire-row>.cockpit-tire-specs{grid-row:3}
 #privateInventoryWorkbook tr.cockpit-tire-row>.cockpit-tire-prices{grid-row:4}
 #privateInventoryWorkbook .cockpit-tire-row .workbook-thumb{height:74px}
 #privateInventoryWorkbook .workbook-spec-strip{gap:3px 10px}
 .staff-question-head h2{font-size:24px}
 .staff-question-actions{grid-template-columns:1fr 1.4fr;gap:8px}
 .staff-question-send,.staff-question-cancel{grid-row:auto}
 .tire-price-grid .guide-price{font-size:15px}
 .tire-price-grid .guide-header{font-size:12px}
}

/* Donor blueprint: original photo proportions, sharper details, compact tools. */
.cockpit-header-v2 .top-tool{width:60px;min-height:62px;padding:4px 3px;gap:2px;font-size:13px;background:linear-gradient(145deg,#f4fbff,#c8edff 65%,#92d8f6)}
.cockpit-header-v2 .top-tool-icon{width:26px;height:26px}
.cockpit-header-v2 #openHub{width:70px;min-height:78px;margin-left:9px;background:linear-gradient(135deg,#39c6f2,#0a82cc 38%,#063c7b 78%,#062953)}
#preview .preview{display:flex;flex-direction:column;gap:7px;border:0;border-radius:0;background:transparent;overflow:visible}
#donorPhotoStage #donorPhotoBox{display:block;position:absolute;inset:0;width:100%;height:100%;min-height:0;border:0;border-radius:0;overflow:hidden;background:#e7edf2}
#donorPhotoStage #donorPhotoBox.no-photo{min-height:0}
#donorPhotoStage #donorPhotoBox.no-photo::before{content:'NO PHOTO';position:absolute;inset:0;display:grid;place-items:center;color:#526a7d;font-weight:900}
#donorPhotoStage #donorMainImg{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:100%;object-fit:cover;object-position:50% 50%}
#donorPhotoStage #donorPhotoBox .photo-nav{display:none}
#donorPhotoStage .donor-swipe-hint{position:absolute;bottom:8px;left:8px;max-width:calc(100% - 86px);padding:5px 8px;background:#092d57ba;border:1px solid #ffffff50;border-radius:7px;color:#fff;font-size:13px;font-weight:850;line-height:1.2;pointer-events:none}
#donorPhotoStage .donor-swipe-hint[hidden]{display:none}
#donorPhotoStage #donorPhotoCount{bottom:8px;right:8px;padding:5px 8px;border:1px solid #ffffff50;background:#092d57ba;border-radius:7px;font-size:13px;font-weight:900}
#preview .previewinfo{padding:12px;border:1px solid #dfb75e;border-radius:13px;background:linear-gradient(120deg,#fffdf6,#fff2d2 75%,#ffe8b4);box-shadow:inset 0 1px 0 #fff}
#preview .donor-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;margin-bottom:10px}
#preview .code{padding:6px 10px;border:1px solid #70c4ed;border-radius:7px;background:linear-gradient(135deg,#effbff,#bde9ff);color:#123e68;font-size:24px;font-weight:1000;line-height:1.1}
#preview .yearmake{margin:0;color:#10365f;font-size:clamp(26px,4.4vw,38px);line-height:1.05;font-weight:1000;letter-spacing:-.025em}
#preview .truck{margin:3px 0 0;color:#133e69;font-size:clamp(20px,3.1vw,27px);line-height:1.12;font-weight:950;letter-spacing:-.015em}
#preview .donor-lifecycle{padding:6px 8px;border:1px solid #d3a449;border-radius:7px;background:linear-gradient(135deg,#fff7dc,#ffe2a0);color:#654710;font-size:13px;font-weight:900;line-height:1.15}
#preview .fullspecs{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:0}
#preview .spec{min-width:0;border-top:1px solid #dfc58e;padding:7px 9px 7px 0;color:#183b5d;font-size:17px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
#preview .spec:nth-child(even){border-left:1px solid #dfc58e;padding-left:12px}
#preview .spec b{color:#506576;font-size:12px;font-weight:900;margin-bottom:3px;letter-spacing:.025em}
#preview .donor-vin>span{font-size:clamp(16px,2.6vw,22px);font-weight:950;letter-spacing:-.025em}
#preview .donor-vin-year{color:#da102b}
#preview .donor-vin-tail{color:#087b3b}
#preview .publicnote{color:#244666;border-color:#dfc58e;font-size:15px;font-weight:650;line-height:1.35}
#privateSummaryActionLane{display:flex;flex-direction:column;gap:7px;margin-top:8px}
#donorPrivateSummary{border:1px solid #279bcd;border-radius:11px;padding:0;overflow:hidden;background:linear-gradient(120deg,#f0faff,#d7edfb);box-shadow:inset 0 1px 0 #fff}
#donorPrivateSummary .donor-summary-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:5px 11px;background:linear-gradient(110deg,#0d3e77,#078dcc);color:#fff}
#donorPrivateSummary h3{margin:0;color:#fff;font-size:18px;font-weight:950;text-transform:uppercase;line-height:1.15}
#toggleDonorSnapshot{flex:none;display:grid;place-items:center;width:30px;height:30px;padding:3px;border:1px solid #c9efff;border-radius:6px;background:#ffffff0e;color:#fff;cursor:pointer}
#toggleDonorSnapshot svg{width:22px;height:22px;transition:transform .15s}
#toggleDonorSnapshot[aria-expanded="false"] svg{transform:rotate(180deg)}
#donorSnapshotBody{padding:5px}
#donorSnapshotBody[hidden]{display:none}
#donorPrivateSummary .donor-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;gap:5px;margin:0}
#donorPrivateSummary .donor-summary-box{position:relative;min-height:53px;padding:4px 9px;border:1px solid #9dd3f2;border-radius:7px;background:linear-gradient(135deg,#fbfdff,#e2f3ff);text-align:left;min-width:0}
#donorPrivateSummary .donor-summary-box span{display:block;color:#355774;font-size:11px;font-weight:900;text-transform:uppercase;line-height:1.15}
#donorPrivateSummary .donor-summary-box b{display:block;color:#10375f;font-size:24px;font-weight:950;line-height:1.12;margin-top:3px;overflow-wrap:anywhere}
#donorPrivateSummary .donor-summary-box.green b{color:#187541}
#donorPrivateSummary .summary-reserved b{color:#936908}
#donorPrivateSummary .summary-floor{background:linear-gradient(135deg,#f2fcff,#ceeffb)}
#donorPrivateSummary .summary-target{background:linear-gradient(135deg,#fffbee,#ffe4a0);border-color:#e2bd60}
#donorPrivateSummary .summary-target b{color:#77510a}
#donorPrivateSummary .summary-list{background:linear-gradient(135deg,#098dd1,#084a85);border-color:#0b91c9}
#donorPrivateSummary .summary-list span,#donorPrivateSummary .summary-list b{color:#fff}
#donorPrivateSummary .pulse-tap{padding-right:22px;cursor:pointer}
#donorPrivateSummary .pulse-tap:after{content:'›';position:absolute;right:8px;bottom:8px;font-size:25px;color:#214e75;line-height:1}
#donorPrivateSummary .donor-summary-specs,#donorPrivateSummary .summary-price-note{margin-top:5px;padding:0 3px;color:#405b70;font-size:11px;font-weight:650;line-height:1.3}
#privateSummaryActionLane .private-action-lane{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;min-height:0;height:auto;margin:0;gap:6px}
#privateSummaryActionLane .private-action-lane .btn{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:48px;height:auto;padding:8px;border:1px solid #54b9dd;border-radius:8px;font-size:13px;font-weight:950;line-height:1.15}
#privateSummaryActionLane .private-action-lane svg{width:24px;height:24px;flex:none}
#privateSummaryActionLane #askDonor{order:1;color:#123e65!important;background:linear-gradient(135deg,#ecfaff,#b8eafa)!important;border-color:#54b9dd!important}
#privateSummaryActionLane #shareDonor{order:2;color:#fff!important;background:linear-gradient(135deg,#079fe9,#08599e)!important;border-color:#087ec9!important}
#privateSummaryActionLane #allPhotosVideos{order:3;color:#fff!important;background:linear-gradient(135deg,#1dba52,#087d37)!important;border-color:#138e41!important}
#privateSummaryActionLane #yardAddress{display:none}
@media(max-width:700px){
 .cockpit-header-v2 .top-tool{width:56px;min-height:60px;font-size:12px}
 .cockpit-header-v2 #openHub{width:64px;min-height:74px;font-size:14px}
}

/* Shared truck-photo browser: bound the window to the viewport, never the image. */
#previewPanel{padding:0;border:0;background:transparent;box-shadow:none}
#previewPanel #preview{margin-top:7px!important}
.truck-inventory-module{margin:0;border:1px solid #57b6d8;border-radius:10px;background:#eef9fe;overflow:hidden}
.inventory-scan-overlay{position:fixed;inset:0;z-index:2500;display:flex;align-items:center;justify-content:center;padding:12px;background:#061b35c9}
.inventory-scan-overlay[hidden]{display:none}
.inventory-scan-card{width:min(100%,580px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:16px;border:1px solid #79b8d3;border-radius:17px;background:linear-gradient(130deg,#fff,#edf8fe);color:#123d69;overflow-y:auto}
.inventory-scan-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.inventory-scan-card h2{font-size:24px;font-weight:950;line-height:1.15;margin:0 0 5px}
.inventory-scan-card p{margin:0;font-size:16px;line-height:1.35}
.inventory-scan-card button{min-height:44px;border:1px solid #72a9c4;border-radius:9px;padding:8px 10px;color:#123d69;background:linear-gradient(130deg,#fff,#d7eefb);font-size:14px;font-weight:900;cursor:pointer}
.inventory-scan-card button:focus-visible{outline:3px solid #167ba5;outline-offset:2px}
.inventory-scan-card .inventory-scan-close{flex:none;padding:1px 12px;font-size:27px}
.inventory-scan-view{position:relative;aspect-ratio:4/3;max-height:45vh;max-height:45dvh;border:1px solid #32658d;border-radius:11px;background:#071c32;overflow:hidden}
.inventory-scan-view video{display:block;width:100%;height:100%;object-fit:cover}
.inventory-scan-frame{position:absolute;width:56%;aspect-ratio:1;max-height:80%;top:50%;left:50%;transform:translate(-50%,-50%);border:2px solid #87e3ff;border-radius:11px;box-shadow:0 0 0 100vmax #00142838;pointer-events:none}
.inventory-scan-card .inventory-scan-status{margin:10px 0;min-height:42px;font-size:17px;font-weight:800}
.inventory-scan-actions{display:flex;gap:7px}
.inventory-scan-actions button{flex:1}
.inventory-scan-card .inventory-scan-camera{color:#fff;border-color:#0878aa;background:linear-gradient(130deg,#098ed0,#07548b)}
.inventory-scan-card .inventory-scan-result{display:block;width:100%;margin:0 0 9px;color:#fff;border-color:#117e3c;background:linear-gradient(130deg,#18a952,#087638);font-size:18px;overflow-wrap:anywhere}
.inventory-scan-card .inventory-scan-result[hidden]{display:none}
.inventory-scan-card button:disabled{opacity:.75;cursor:default}
.inventory-scan-card .inventory-scan-note{margin-top:10px;font-size:13px;color:#526879}
.truck-inventory-heading{position:absolute;top:7px;left:calc(clamp(100px,19%,154px) + 7px);z-index:2;max-width:calc(100% - clamp(100px,19%,154px) - 14px);padding:5px 8px;border:1px solid #ffffff65;border-radius:7px;background:linear-gradient(110deg,#092d57ed,#124875d9);color:#fff;font-size:14px;font-weight:950;line-height:1.2;pointer-events:none}
/* Use the former opening-view VIN strip for the photo; keep the title in view. */
.truck-inventory-layout{position:relative;display:grid;grid-template-columns:clamp(100px,19%,154px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:clamp(260px,59vh,480px);height:clamp(260px,59svh,480px);min-height:0;gap:0;align-items:stretch}
.truck-inventory-photo{grid-column:2;grid-row:1;position:relative;min-width:0;min-height:0;height:100%;background:#e7edf2;overflow:hidden}
#truckInventoryModule #donorBrowser{grid-column:1;grid-row:1;contain:size;display:flex;flex-direction:column;height:100%;min-width:0;min-height:0;margin:0;padding:4px 4px 0;border-left:0;border-right:1px solid #9acee2;background:linear-gradient(110deg,#effaff,#dfeef5)}
#truckInventoryModule .donorhead{display:block;flex:none;min-height:0;margin:0;padding:0 0 3px}
#truckInventoryModule #allBtn{width:100%;min-height:36px;padding:6px 4px;border:2px solid #168746;border-radius:7px;background:linear-gradient(150deg,#f2fff5,#c5eecb 62%,#8ed69d);box-shadow:0 2px 3px #154b3020;color:#164d2b;font-size:14px;font-weight:950;line-height:1.15;cursor:pointer}
#truckInventoryModule #allBtn:focus-visible{outline:3px solid #173d67;outline-offset:1px}
#truckInventoryModule .inventory-strip{display:flex;flex:1;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden}
#truckInventoryModule #chips{display:flex;flex-direction:column;flex-wrap:nowrap;flex:1;min-width:0;min-height:0;height:100%;max-height:none;margin:0;padding:0 3px 4px 0;gap:3px;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#7996aa #e8f5fa;overscroll-behavior-y:contain;touch-action:pan-y}
#truckInventoryModule .truck-chip{display:flex;flex-direction:column;align-items:stretch;flex:0 0 auto;min-width:0;width:100%;min-height:0;height:auto;gap:0;padding:0;border:1px solid #a2bed2!important;border-radius:8px;background:#fff!important;box-shadow:0 1px 3px #103b5e15;text-align:center;overflow:hidden;cursor:pointer}
#truckInventoryModule .truck-chip.on{border:2px solid #079fd7!important;background:#f5fdff!important;box-shadow:inset 0 0 0 1px #def5ff,0 1px 3px #103b5e15!important}
#truckInventoryModule .truck-chip:focus-visible{outline:2px solid #173d67;outline-offset:-3px}
#truckInventoryModule .truck-chip-code{position:static;display:block;flex:none;height:auto;margin:0;padding:3px 2px;border-radius:0;background:linear-gradient(100deg,#087bbd,#0d97d8)!important;color:#fff!important;font-size:14px;font-weight:950;line-height:1.15}
#truckInventoryModule .truck-chip.on .truck-chip-code{background:linear-gradient(100deg,#0873b5,#04a5e0)!important;color:#fff!important}
#truckInventoryModule .truck-chip-photo{display:block;flex:none;width:calc(100% - 6px);height:auto;aspect-ratio:3/2;margin:3px 3px 0;border-radius:5px;background:#dce8f0;overflow:hidden}
#truckInventoryModule .truck-chip-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
#truckInventoryModule .truck-chip-copy{display:flex;flex-direction:column;min-width:0;padding:3px;gap:1px}
#truckInventoryModule .truck-chip-name,#truckInventoryModule .truck-chip-model{display:block;margin:0;color:#173d67!important;font-size:14px;font-weight:900;line-height:1.08;white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:unset}
#truckInventoryModule .truck-chip-model{font-weight:800}
#truckInventoryModule #allDonors{display:none;margin:0;padding:7px;border:0;border-top:1px solid #96cce0;border-radius:0;background:#f3faff}
#truckInventoryModule #allDonors.show{display:block}
#truckInventoryModule #ranges{margin:0;padding:0 0 6px;gap:10px;overflow-x:auto}
#truckInventoryModule .range{font-size:18px;font-weight:950;line-height:1.15;padding:0;color:#217344}
#truckInventoryModule .range.on{color:#125930}
#truckInventoryModule #donorGrid{display:none;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:5px;margin:0}
#truckInventoryModule #donorGrid.show{display:grid}
@media(max-width:520px){
 .truck-inventory-heading{left:107px;padding:4px 7px;font-size:14px;max-width:calc(100% - 114px)}
 .truck-inventory-layout{grid-template-columns:100px minmax(0,1fr);height:clamp(250px,50vh,405px);height:clamp(250px,50svh,405px)}
 #truckInventoryModule #donorBrowser{padding:4px 4px 0}
 #truckInventoryModule #allBtn{min-height:34px;padding:5px 2px}
 #truckInventoryModule #chips{gap:3px;padding-right:2px}
 #truckInventoryModule .truck-chip-photo{aspect-ratio:8/5}
 #donorPhotoStage .donor-swipe-hint{bottom:6px;left:6px;padding:4px 6px;font-size:12px;max-width:calc(100% - 66px)}
 #donorPhotoStage #donorPhotoCount{bottom:6px;right:6px;padding:4px 5px;font-size:12px}
}
@media(max-width:520px){
 #preview .donor-heading{grid-template-columns:auto minmax(0,1fr);gap:7px}
 #preview .donor-lifecycle{grid-column:2;justify-self:start;margin-top:0}
 #preview .code{font-size:21px;padding:6px 8px}
 #preview .previewinfo{padding:10px}
 #preview .spec{font-size:16px;padding-right:6px}
 #preview .spec:nth-child(even){padding-left:8px}
 #donorPrivateSummary h3{font-size:15px}
 #donorPrivateSummary .donor-summary-box{padding:4px 6px;min-height:55px}
 #donorPrivateSummary .donor-summary-box span{font-size:10px}
 #donorPrivateSummary .donor-summary-box b{font-size:21px}
 #privateSummaryActionLane .private-action-lane{grid-template-columns:repeat(2,minmax(0,1fr))}
 #privateSummaryActionLane #allPhotosVideos{grid-column:1/-1;min-height:44px}
}

/* Medium blue selection for recent donors; View All uses light green. */
#truckInventoryModule .truck-chip.on {
  border-color:#1885d1!important;
  background:linear-gradient(100deg,#73bdf5,#3895df)!important;
  box-shadow:inset 0 0 0 1px #fff,0 2px 5px #103b5e18!important;
}
#truckInventoryModule .truck-chip.on .truck-chip-code {
  background:linear-gradient(100deg,#1275bf,#187ac3)!important;
  color:#fff!important;
}
#truckInventoryModule .truck-chip.on .truck-chip-name,
#truckInventoryModule .truck-chip.on .truck-chip-model {
  color:#082b50!important;
}
#truckInventoryModule #donorGrid .dcell-code {
  background:linear-gradient(100deg,#def4e5,#bce5cb)!important;
  color:#175e39!important;
}
#truckInventoryModule #donorGrid .dcell.on {
  border:2px solid #16804b!important;
  background:linear-gradient(145deg,#f1fcf5,#d2efde 60%,#b0dfc4)!important;
  box-shadow:inset 0 0 0 1px #fff!important;
}
#truckInventoryModule #donorGrid .dcell.on .dcell-code {
  background:linear-gradient(100deg,#e7f7ed,#b0e0c1)!important;
  color:#175e39!important;
}
#truckInventoryModule #donorGrid .dcell.on .dcell-name {
  color:#175e39!important;
}
#truckInventoryModule .range {
  padding:4px 7px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
}
#truckInventoryModule .range.on {
  border-color:#187747;
  background:linear-gradient(135deg,#eaf9ef,#b0e0c1);
  color:#175e39;
  box-shadow:inset 0 0 0 1px #ffffffa6;
  text-decoration:none;
}
#truckInventoryModule #donorGrid .dcell:focus-visible,
#truckInventoryModule .range:focus-visible {
  outline:2px solid #175e39;
  outline-offset:-3px;
}

/* Expanded photos fit the full screen; only the home preview is cropped. */
#lightbox {
  inset:0;
  padding:10px;
  gap:8px;
  grid-template-rows:minmax(0,1fr) auto;
  align-items:stretch;
  justify-content:stretch;
  overflow:hidden;
}
#lightbox.show { display:grid; }
#lightbox .lb-stage {
  min-width:0;
  min-height:0;
  width:100%;
  height:100%;
}
#lightbox #lbImg {
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:50% 50%;
  background:transparent;
}
#lightbox .lb-toolbar {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
#lightbox .lb-swipe-hint {
  flex:1;
  min-width:0;
  color:#fff;
  background:linear-gradient(110deg,#123d69d9,#166c9ec9);
  border:1px solid #97d9f77a;
  border-radius:9px;
  padding:8px 10px;
  font-size:13px;
  font-weight:850;
  line-height:1.25;
  pointer-events:none;
}
#lightbox .lb-count {
  position:static;
  transform:none;
  flex:none;
  padding:8px 10px;
  border-radius:9px;
  font-size:13px;
}
#lightbox .lb-x {
  position:static;
  flex:none;
  width:46px;
  height:46px;
  border:2px solid #7ac6ec;
  border-radius:11px;
  background:linear-gradient(135deg,#fff,#86d1f4);
  color:#123d69;
  font-size:30px;
  line-height:1;
  box-shadow:inset 0 1px 0 #fff,0 2px 8px #00182e40;
}
#lightbox .lb-x:focus-visible {
  outline:3px solid #fff;
  outline-offset:2px;
}

/* Part details use the same swipe cue and counter as the photo viewer. */
#partPhotoBox .part-photo-toolbar{position:absolute;left:10px;right:10px;bottom:10px;display:flex;align-items:center;gap:8px;pointer-events:none}
#partPhotoBox .part-swipe-hint{min-width:0;flex:1;max-width:max-content;padding:8px 10px;border:1px solid #97d9f77a;border-radius:9px;background:linear-gradient(110deg,#123d69df,#166c9ecf);color:#fff;font-size:13px;font-weight:850;line-height:1.25}
#partPhotoBox .photo-count{position:static;transform:none;flex:none;margin-left:auto;padding:8px 10px;border:1px solid #97d9f760;border-radius:9px;background:#123d69d9;color:#fff;font-size:13px;font-weight:900;line-height:1.25}

/* Approved compact alert pair. Text sizes and the outer command strip are preserved. */
.personal-cockpit-card{container-type:inline-size;container-name:cockpit-personal}
.personal-cockpit-copy{display:grid;grid-template-columns:max-content max-content;column-gap:5px;align-content:center}
.personal-cockpit-heading{grid-column:1 / -1;display:flex;align-items:center;gap:4px;min-width:0}
.personal-cockpit-heading .personal-cockpit-label{white-space:nowrap;flex:none}
.personal-cockpit-card .personal-cockpit-heading .staff-role{margin-left:0;line-height:1;padding:2px 5px;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
.cockpit-header-v2 #openHub[hidden]{display:none!important}
/* Approved C: rich gold at the word gap, deepening toward both ends. */
.personal-cockpit-copy strong{grid-column:1;grid-row:2;color:#ffc038;background:linear-gradient(90deg,#e99705 0%,#ffb527 25%,#ffd15a 43%,#ffb527 66%,#e99705 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.personal-cockpit-date{grid-column:1;grid-row:3}
.cockpit-alert-pills{grid-column:2;grid-row:2 / 4;align-self:center;display:flex;align-items:center;justify-content:center;gap:3px;width:67px;height:0;transform:translateX(4px)}
.cockpit-alert-pills[hidden]{display:none!important}
.personal-cockpit-card .cockpit-alert-pill{display:flex;align-items:center;justify-content:center;gap:2px;flex-shrink:0;width:32px;height:24px;padding:1px!important;border:1.5px solid #7fa8bc!important;border-radius:8px!important;background:#cbdfe9!important;color:#315670!important;box-shadow:none;font:950 9px/1 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;cursor:pointer}
.cockpit-alert-pill svg{width:13px;height:13px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.cockpit-alert-pill>b{font:inherit;line-height:1}
.cockpit-alert-pill>b[hidden]{display:none!important}
.personal-cockpit-card .cockpit-alert-pill[data-tone="red"]{border-color:#e6435b!important;background:linear-gradient(135deg,#fff7f7,#ffd1d8)!important;color:#931d34!important;box-shadow:0 1px 4px #c423431a}
.personal-cockpit-card .cockpit-alert-pill[data-tone="today"]{border-color:#d9a321!important;background:linear-gradient(135deg,#fffdf1,#ffe5a0)!important;color:#845900!important;box-shadow:0 1px 4px #9860001a}
@container cockpit-personal (max-width:310px){
 .cockpit-alert-pills{flex-direction:column;gap:2px;width:32px}
 .personal-cockpit-card .cockpit-alert-pill{height:16px;border-radius:6px!important;gap:1px}
 .cockpit-alert-pill svg{width:11px;height:11px}
}
@media(max-width:540px){
 .personal-cockpit-copy{column-gap:3px}
 .personal-cockpit-card .cockpit-alert-pill{height:14px;width:28px;font-size:8px;border-width:1px!important}
 .cockpit-alert-pills{width:28px}
 .cockpit-alert-pill svg{width:10px;height:10px}
}
.cockpit-work-overlay{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:16px;background:#03192bd1}
.cockpit-work-overlay[hidden]{display:none}
.cockpit-work-dialog{position:relative;width:min(100%,650px);max-height:calc(100dvh - 32px);overflow:auto;border:2px solid #53acce;border-radius:20px;background:linear-gradient(130deg,#fff,#edfaff);padding:24px;color:#123d5a;box-shadow:0 16px 60px #001c4670}
.cockpit-work-dialog h2{margin:0 58px 18px 0;font-size:24px}
.cockpit-work-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border:2px solid #5aafce;border-radius:12px;background:linear-gradient(135deg,#fff,#9cddf4);color:#164968;font-size:32px;line-height:1;font-weight:900}
.cockpit-work-list article{margin:10px 0;padding:12px;border:1px solid #70b9d8;border-left:5px solid #148eb6;border-radius:12px;background:#f5fcff}
.cockpit-work-list article[data-tone="red"]{border-color:#d6516d;border-left-color:#c42343;background:#fff3f5}
.cockpit-work-list article[data-tone="today"]{border-color:#d1a035;border-left-color:#ba7c09;background:#fffae8}
.cockpit-work-list p{white-space:pre-wrap;margin:7px 0;line-height:1.45}
.cockpit-work-list small{font-weight:900;font-size:11px}
.cockpit-work-refresh{min-height:44px;margin-top:12px;border:1px solid #0784b8;border-radius:10px;background:linear-gradient(130deg,#f3fbff,#80d7f0);color:#074c76;padding:8px 15px;font-weight:900}
.cockpit-work-dialog button:focus-visible{outline:3px solid #1586b0;outline-offset:3px}

/* The in-card pills replace the old ASKS card; keep the established row height. */
#cockpitActionButton, #actionQuickAccess { display: none !important; }
.cockpit-command-shell .staffbar { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.cockpit-floating-alert { position: fixed; right: 12px; z-index: 30; display: flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 9px; border: 1.5px solid; border-radius: 18px; font: 800 13px/1 system-ui; box-shadow: 0 2px 8px #002b4626; cursor: pointer; }
.cockpit-floating-alert[hidden] { display: none; }
.cockpit-floating-alert svg { width: 16px; height: 16px; }
.cockpit-floating-alert[data-tone="red"] { color: #9c2634; background: #ffe5e8; border-color: #cf4654; }
.cockpit-floating-alert[data-tone="today"] { color: #79520c; background: #fff0bf; border-color: #c49b36; }
.cockpit-floating-alert[data-tone="red"] .floating-today, .cockpit-floating-alert[data-tone="today"] .floating-urgent { display: none; }
.cockpit-floating-alert:focus-visible { outline: 3px solid #005878; outline-offset: 3px; }

#cockpitBottomNav{grid-template-columns:repeat(var(--cockpit-nav-count,5),minmax(0,1fr))}
#cockpitBottomNav button[hidden]{display:none!important}

/* Permanent installation entry, scoped to the account menu. */
.cockpit-role-menu .cockpit-install-menu{display:flex;align-items:center;gap:8px;min-height:44px;width:100%;padding:7px 9px;border:1px solid #9acfe5;border-radius:8px;background:#e9f7ff;color:#104b72;font-size:12px;font-weight:850;text-decoration:none;box-sizing:border-box}.cockpit-install-menu img{flex:none;border-radius:6px}.cockpit-install-menu span{min-width:0;overflow-wrap:anywhere}.cockpit-install-menu:focus-visible{outline:3px solid #138fd6;outline-offset:2px}

/* Profile choices stay a compact picker inside the account menu. */
.cockpit-role-menu .cockpit-profile-icons{display:flex;flex-flow:row wrap;gap:5px;margin:6px 9px;padding:0}
.cockpit-role-menu .cockpit-profile-icons>button{display:grid;place-items:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:2px;border:1px solid #8bb9ce;border-radius:8px;background:#eef9ff;font-size:23px;line-height:1;text-align:center}
.cockpit-role-menu .cockpit-photo-status:empty{display:none}

/* Keep all selected inventory labels together, using the question panel width. */
.staff-question-body{container-type:inline-size}
.staff-question-context{display:grid;grid-template-columns:auto fit-content(38%) minmax(0,1fr);gap:5px;align-items:stretch;margin-bottom:10px;min-width:0}
.staff-question-context span{display:flex;align-items:center;min-width:0;max-width:100%;padding:5px 7px;font-size:clamp(11px,2.8cqw,12px);line-height:1.25;overflow-wrap:break-word;border-radius:10px}
.staff-question-context span:only-child{grid-column:1/-1;justify-self:start}
.staff-question-context span:nth-child(2):last-child{grid-column:2/-1;justify-self:start}
