/* Shared drawer presentation. Stock cards keep their approved layout. */
.drawer-symbol{display:inline-flex;align-items:center;justify-content:center;position:relative;flex:none;width:18px;height:18px;min-width:0;color:inherit;vertical-align:middle}
.drawer-symbol::before,.drawer-symbol::after{display:none!important}
.drawer-symbol>svg{display:block;width:100%;height:100%;overflow:visible}
dialog.techops-drawer:not(.warehouse-card-workspace){
  --drawer-padding:28px;--panel:#17283e;--chrome:#1b304a;--field:#16263c;--control:#203750;--hover:#294360;
  --primary:#edf3fb;--secondary-ink:#c8d9ef;--muted:#a0b4ce;--line:#9bbce01c;--line-strong:#97b9df42;--accent:#a2c3ee;
  width:min(610px,calc(100vw - 24px));border:1px solid #7e9ec644;border-radius:18px;background:var(--panel);color:var(--primary);box-shadow:0 28px 90px #020a1666;
  font-size:13px;scrollbar-width:thin;scrollbar-color:#5c7c9f77 transparent;scroll-padding-block:90px 80px;
}
dialog.techops-drawer[data-drawer-size=wide]:not(.warehouse-card-workspace){width:min(740px,calc(100vw - 24px))}
dialog.techops-drawer[data-drawer-size=case]{width:min(820px,calc(100vw - 24px))}
dialog.techops-drawer:not(.warehouse-card-workspace)::backdrop{background:#07101e80;backdrop-filter:blur(2px)}
dialog.techops-drawer:not(.warehouse-card-workspace)>.drawer-toolbar{
  display:flex;align-items:center;gap:13px;min-height:78px;padding:17px var(--drawer-padding);margin-bottom:24px;border-bottom:1px solid var(--line);background:var(--chrome);isolation:isolate;
}
dialog.techops-drawer:not(.warehouse-card-workspace)>.drawer-toolbar::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;background:url('/wave.png') right -75px bottom -11px / 420px auto no-repeat;opacity:.1}
.techops-drawer .drawer-toolbar>h2,.techops-drawer .drawer-toolbar>div:not(.warehouse-card-pager){flex:1;min-width:0}
dialog.techops-drawer:not(.warehouse-card-workspace)>.drawer-toolbar h2{margin:0;font-size:19px;font-weight:550;line-height:1.3;letter-spacing:-.4px;overflow-wrap:anywhere;color:#f0f5fc}
.techops-drawer .drawer-toolbar :is(.accounts-eyebrow,.overview-eyebrow){margin:0 0 4px;color:#9fb9d9;font-size:10px;font-weight:450;letter-spacing:.9px;line-height:1.4}
.techops-drawer .drawer-toolbar>div>p:not(.accounts-eyebrow,.overview-eyebrow){margin:5px 0 0;font-size:12px;color:var(--muted);line-height:1.4}
.drawer-module-mark{display:grid;place-items:center;align-self:center;flex:none;width:38px;height:38px;border:1px solid #a2c3ee1f;border-radius:11px;background:#a2c3ee0b;color:#b5d3f7}
.drawer-module-mark>.drawer-symbol{width:21px;height:21px}
.techops-drawer .drawer-toolbar>.drawer-dismiss{display:grid;place-items:center;align-self:center;flex:none;width:34px;height:34px;min-height:34px;padding:0;margin-left:auto;border:0;border-radius:9px;background:transparent;color:#afc2d9}
.techops-drawer .drawer-toolbar>.drawer-dismiss:hover{background:#a7c7ed12;color:#fff}
.techops-drawer .drawer-dismiss>.drawer-symbol{width:18px;height:18px}
.warehouse-card-workspace .drawer-module-mark{display:none}
.techops-drawer:not(.warehouse-card-workspace) :is(.unified-scroll,.identity-scroll,.overview-drawer-scroll){padding:24px var(--drawer-padding);scrollbar-width:thin;scrollbar-color:#5c7c9f77 transparent}
/* These headers sit above a separate scroll area. */
dialog.techops-drawer:is(.unified-drawer,.identity-drawer,.overview-drawer):not(.warehouse-card-workspace)>.drawer-toolbar,
#issue-dialog.techops-drawer>.drawer-toolbar{
  position:relative;
  top:auto;
  flex:none;
  margin:0;
}
.techops-drawer:not(.warehouse-card-workspace) :is(h3,h4){color:#dce9fa;font-weight:550;line-height:1.4;letter-spacing:-.15px}
.techops-drawer:not(.warehouse-card-workspace) h3{font-size:16px}
.techops-drawer:not(.warehouse-card-workspace) h4{font-size:14px}
.techops-drawer:not(.warehouse-card-workspace) p{line-height:1.7}
.techops-drawer:not(.warehouse-card-workspace) form{gap:17px}
.techops-drawer:not(.warehouse-card-workspace) label{gap:8px;font-size:12px;line-height:1.5;color:#b5c8e2}
.techops-drawer:not(.warehouse-card-workspace) :is(input:not([type=checkbox],[type=radio],[type=file]),textarea,.picker-trigger){min-height:41px;border-color:var(--line-strong);border-radius:9px;background:var(--field);color:#e2edfb;font-size:13px;line-height:1.5;transition:border-color 140ms,box-shadow 140ms}
.techops-drawer:not(.warehouse-card-workspace) :is(input,textarea,.picker-trigger):focus-visible{border-color:#9dbfee;outline:0;box-shadow:0 0 0 3px #a2c3ee14}
.techops-drawer:not(.warehouse-card-workspace) textarea{padding:11px 12px;resize:vertical}
.techops-drawer:not(.warehouse-card-workspace) ::placeholder{color:#859fbf;opacity:1}
.techops-drawer:not(.warehouse-card-workspace) .picker-wrap{min-width:0}
.techops-drawer:not(.warehouse-card-workspace) :is(.warehouse-fields,.service-fields,.case-facts){gap:16px 20px}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-fields :is(dt,.field-label){font-size:12px;color:#9db2cc;line-height:1.5}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-fields dd{margin:5px 0 0;font-size:14px;color:#e1ecfb;line-height:1.6;overflow-wrap:anywhere}
.techops-drawer:not(.warehouse-card-workspace) button{font-family:inherit}
.techops-drawer:not(.warehouse-card-workspace) button.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 15px;border-color:#b8d4f5;border-radius:9px;background:#a2c3ee;color:#152d49;font-size:13px;font-weight:500;line-height:1.4;box-shadow:0 2px 5px #07152422}
.techops-drawer:not(.warehouse-card-workspace) button.primary:hover:not(:disabled){background:#b2cff4;border-color:#c3dcfa}
.techops-drawer button.primary>.drawer-symbol{width:17px;height:17px;color:inherit}
.techops-drawer:not(.warehouse-card-workspace) .save-row{gap:9px}
.techops-drawer:not(.warehouse-card-workspace) .save-row>button:not(.primary){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:9px 13px;border-color:#97b9df29;border-radius:9px;background:#a6c8eb08;color:#cbdff5;font-size:12px}
.techops-drawer:not(.warehouse-card-workspace) .save-row>button:not(.primary):hover{background:#a6c8eb12;border-color:#97b9df55}
.techops-drawer:not(.warehouse-card-workspace) :is(.identity-footer,.issue-sheet-actions,.issue-composer-footer,.overview-drawer-actions,.knowledge-save-bar){gap:10px;padding:17px var(--drawer-padding);background:#1a2e47;border-top:1px solid var(--line)}
.techops-drawer:not(.warehouse-card-workspace) :is(.identity-footer,.issue-composer-footer)>p,.techops-drawer:not(.warehouse-card-workspace) .identity-footer>span{font-size:11px;line-height:1.5;color:#9fb5d0}
.techops-drawer:not(.warehouse-card-workspace) :is(.identity-footer,.issue-sheet-actions,.overview-drawer-actions,.knowledge-save-bar)>button:not(.primary){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 13px;border-radius:9px;border-color:#97b9df29;background:#a6c8eb08;color:#cbdff5;font-size:13px}
.techops-drawer:not(.warehouse-card-workspace) :is(.warehouse-form-actions,.case-form-actions){gap:10px;padding:17px var(--drawer-padding);border-top:1px solid var(--line);background:#1a2e47}
.techops-drawer .case-form-actions{bottom:calc(-1 * var(--drawer-padding));margin:0 calc(-1 * var(--drawer-padding)) calc(-1 * var(--drawer-padding))}
.techops-drawer:not(.warehouse-card-workspace) :is(.warehouse-cover-head,.warehouse-event-head){gap:12px}
.techops-drawer:not(.warehouse-card-workspace) details:where(:not(.diagnostic-panel))>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:12px;border-radius:9px;list-style:none;color:#d6e5f8;font-size:13px;line-height:1.5;cursor:pointer;transition:background 140ms}
.techops-drawer:not(.warehouse-card-workspace) details:where(:not(.diagnostic-panel))>summary::-webkit-details-marker{display:none}
.techops-drawer:not(.warehouse-card-workspace) details:where(:not(.diagnostic-panel))>summary::marker{content:""}
.techops-drawer:not(.warehouse-card-workspace) details:where(:not(.diagnostic-panel))>summary::before{content:none}
.techops-drawer:not(.warehouse-card-workspace) details:where(:not(.diagnostic-panel))>summary::after{content:"";display:block;flex:none;width:6px;height:6px;margin:0 3px 3px auto;border:solid #9dbadc;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform 160ms}
.techops-drawer:not(.warehouse-card-workspace) details[open]:where(:not(.diagnostic-panel))>summary::after{transform:rotate(225deg);margin-top:4px;margin-bottom:0}
.techops-drawer:not(.warehouse-card-workspace) details:where(:not(.diagnostic-panel))>summary:has(>.nav-chevron)::after{display:none}
.techops-drawer:not(.warehouse-card-workspace) details:where(:not(.diagnostic-panel))>summary:hover{background:#a2c3ee0b}
.techops-drawer:not(.warehouse-card-workspace) :is(.warehouse-editor-sections,.employee-section){border-color:var(--line)}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-editor-sections details .warehouse-fields{padding:10px 12px 19px}
.techops-drawer:not(.warehouse-card-workspace) :is(.identity-collapse,.case-collapse,.warehouse-section-toggle){gap:11px;min-height:46px;padding:12px;border-radius:9px;color:#d6e5f8;font-size:13px}
.techops-drawer:not(.warehouse-card-workspace) :is(.identity-tip,.case-facts>div,.warehouse-current-part,.chat-issue-station,.employee-assignment-context){border:1px solid var(--line);border-radius:11px;background:#a6c8eb05}
.techops-drawer:not(.warehouse-card-workspace) :is(.warehouse-quantity-summary,.warehouse-purchase-progress){gap:12px}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-quantity-summary>div{padding:16px;border:1px solid var(--line);border-radius:11px;background:#a6c8eb05}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-quantity-summary strong{font-size:25px;font-weight:550;color:#b1d2fd;line-height:1.25}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-quantity-summary span{font-size:12px}
/* Structured cases and conversations keep their independent scroll area. */
#issue-peek-dialog.techops-drawer>.drawer-toolbar{margin:0;position:relative;min-height:62px;padding-block:12px;font-size:13px}
#issue-peek-dialog.techops-drawer>.drawer-toolbar>.drawer-symbol{width:18px;height:18px;color:#abcaf0}
#issue-peek-dialog.techops-drawer>.drawer-toolbar>#issue-peek-number{font-size:12px;flex:1;color:#bfd4ef}
#issue-peek-dialog.techops-drawer>.drawer-toolbar>button:not(.drawer-dismiss){min-height:32px;padding:6px 10px;font-size:11px;border-color:#97b9df29;background:#a6c8eb08}
.techops-drawer .case-context{position:relative;isolation:isolate;padding:23px var(--drawer-padding);gap:9px;background:#203a59}
.techops-drawer .case-context::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;background:url('/wave.png') right -60px bottom -22px / 470px auto no-repeat;opacity:.1}
.techops-drawer .case-context strong{font-size:25px;line-height:1.25;font-weight:580;letter-spacing:-.5px}
.techops-drawer #case-context-station{font-size:12px;color:#b0c4de}
.techops-drawer .case-navigation{gap:17px;padding:0 var(--drawer-padding);background:#1b304a;border-bottom:1px solid var(--line)}
.techops-drawer .case-navigation .case-tabs{gap:19px;padding:0}
.techops-drawer .case-navigation .case-tabs>button{position:relative;flex:0 1 auto;min-height:52px;padding:14px 1px;border:0;border-radius:0;background:transparent;color:#a5b9d2;font-size:13px;font-weight:500}
.techops-drawer .case-navigation .case-tabs>button[aria-selected=true]{color:#f0f6ff;background:transparent}
.techops-drawer .case-navigation .case-tabs>button::after{content:"";position:absolute;inset:auto 0 -1px;height:2px;border-radius:2px;background:#a6c9f5;opacity:0;transform:scaleX(.4);transition:transform 170ms,opacity 140ms}
.techops-drawer .case-navigation .case-tabs>button[aria-selected=true]::after{opacity:1;transform:scaleX(1)}
.techops-drawer .case-open-chat{gap:8px;padding:8px 11px;border-color:#97b9df29;border-radius:8px;background:#a6c8eb08;color:#d4e4f8;font-size:12px}
.techops-drawer .case-panel,.techops-drawer .issue-sheet-body{padding:24px var(--drawer-padding)}
.techops-drawer .case-pane-heading h2,.techops-drawer .case-panel>h2{font-size:20px;font-weight:550}
.techops-drawer .case-facts dt{font-size:12px;color:#9db2cc}
.techops-drawer .case-facts dd{font-size:14px;color:#e1ecfb}
.techops-drawer .case-diagnostic-list strong{font-size:13px;font-weight:500}
.techops-drawer .case-diagnostic-list p{font-size:12px;line-height:1.75}
.techops-drawer .case-section{border-radius:11px;border-color:var(--line);background:#a6c8eb03}
.techops-drawer .case-collapse{border-radius:0;background:transparent}
.techops-drawer .case-collapse strong{font-weight:500}
.techops-drawer .case-collapse-body{padding:18px;border-color:var(--line)}
.techops-drawer .case-timeline strong{font-size:14px;font-weight:500}
.techops-drawer .case-timeline p{font-size:13px;line-height:1.75;color:#c3d5ed}
.techops-drawer .case-timeline small{font-size:11px;color:#98afcb}
.techops-drawer .issue-track{padding:16px;border:1px solid var(--line);border-radius:11px;background:#a6c8eb05}
.techops-drawer .issue-assignee{border-color:var(--line);border-radius:10px}
.techops-drawer .issue-device-link{border-color:var(--line);border-radius:11px;background:#a6c8eb05}
.techops-drawer:not(.warehouse-card-workspace) summary.issue-device-link{display:grid;grid-template-columns:18px minmax(0,1fr) auto 7px;gap:12px;align-items:center}
.techops-drawer:not(.warehouse-card-workspace) summary.issue-device-link::after{display:none}
.techops-drawer summary.issue-device-link .station-chevron{grid-column:auto;justify-self:end;margin:0;width:6px;height:6px;border:solid #9dbadc;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform 160ms}
.techops-drawer .issue-station[open] summary.issue-device-link .station-chevron{transform:rotate(225deg)}
.techops-drawer:not(.warehouse-card-workspace) .issue-history>summary{justify-content:flex-start;gap:10px}
.techops-drawer .issue-history .history-count{margin-left:0}
.techops-drawer .issue-composer-fields{padding:24px var(--drawer-padding);gap:20px}
/* Profile, notifications and settings. */
.techops-drawer .personal-identity{gap:15px;margin-bottom:24px}
.techops-drawer .personal-identity strong{font-size:21px;font-weight:550;letter-spacing:-.4px}
.techops-drawer .personal-identity small{font-size:12px}
.techops-drawer :is(.identity-tabs,.maintenance-tabs){gap:20px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.techops-drawer :is(.identity-tabs,.maintenance-tabs)>button{position:relative;flex:0 1 auto;min-height:46px;padding:11px 1px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:13px;color:#a5b9d2}
.techops-drawer :is(.identity-tabs,.maintenance-tabs)>button[aria-selected=true]{background:transparent;border-bottom-color:#a6c9f5;color:#f0f6ff;box-shadow:none}
.techops-drawer .maintenance-tabs{padding-inline:var(--drawer-padding);margin:0;gap:22px;background:#1b304a}
.techops-drawer .identity-section{gap:18px}
.techops-drawer .identity-section h3{font-size:16px;font-weight:550}
.techops-drawer .identity-tip{font-size:12px!important;line-height:1.7;background:#a6c8eb05}
.techops-drawer .identity-switch strong{font-size:14px;font-weight:500}
.techops-drawer .identity-switch small{font-size:12px;line-height:1.65}
.techops-drawer .notification-row{padding:17px 18px;border-radius:11px;border-color:var(--line);background:#a6c8eb03;gap:8px}
.techops-drawer .notification-row strong{font-size:14px;font-weight:500}
.techops-drawer .notification-row>span{font-size:13px;line-height:1.7;color:#adc2de}
.techops-drawer .notification-row small{font-size:11px}
.techops-drawer .notification-row[data-unread=true]{border-color:#a2c3ee3d;background:#a2c3ee09}
.techops-drawer .maintenance-health-card,.techops-drawer .maintenance-backup,.techops-drawer .account-role-preview{padding:18px;border-radius:11px;border-color:var(--line);background:#a6c8eb05}
.techops-drawer .maintenance-health-card>.drawer-symbol{width:23px;height:23px}
.techops-drawer .maintenance-facts dt{font-size:12px;color:#9db2cc}
.techops-drawer .maintenance-facts dd{font-size:14px;color:#e1ecfb}
/* Knowledge editing retains step controls and its own save bar. */
#knowledge-dialog.techops-drawer>.drawer-toolbar{position:relative;flex:none;margin:0}
#knowledge-dialog.techops-drawer #knowledge-form{padding:23px var(--drawer-padding) 0}
#knowledge-dialog.techops-drawer #knowledge-form>label{font-size:13px}
.techops-drawer .knowledge-save-bar{margin-inline:calc(-1 * var(--drawer-padding))}
.techops-drawer .knowledge-step-toolbar{min-height:54px;border-radius:11px;border-color:var(--line);background:#a6c8eb05}
.techops-drawer .knowledge-step-heading strong{font-size:13px;font-weight:500}
.techops-drawer .knowledge-meta-toggle{min-height:44px;padding:11px 12px;border-radius:9px;border-color:var(--line);background:#a6c8eb05}
/* Lists and cards inside locations, employees and the dashboard. */
.techops-drawer :is(.location-inspector-tabs,.overview-drawer-filters){gap:8px}
.techops-drawer :is(.overview-work-row,.overview-drawer-row){border-radius:10px}
.techops-drawer .overview-drawer-description{font-size:13px}
.techops-drawer .overview-drawer-actions{font-size:12px}
.techops-drawer .warehouse-event{border-color:var(--line)}
.techops-drawer .warehouse-event-head strong{font-size:14px;font-weight:500}
.techops-drawer .warehouse-event-head time{font-size:11px}
.techops-drawer .warehouse-event>p{font-size:12px;line-height:1.75;color:#adc2de}
.techops-drawer:not(.warehouse-card-workspace) :is(.warehouse-invoice-link,.warehouse-document-entry){border-radius:11px;border-color:var(--line)}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-invoice-link{padding:16px;gap:14px;background:#a6c8eb05}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-invoice-link strong{font-size:14px;font-weight:500}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-invoice-link small{font-size:12px;line-height:1.7}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-invoice-link>.drawer-symbol{width:25px;height:29px;color:#9ec3ee}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-invoice-upload{gap:10px;padding:24px;border-radius:12px;border-color:#7199c377;background:#a6c8eb05}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-invoice-upload>.drawer-symbol{width:29px;height:33px;color:#a8caf1}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-invoice-upload strong{font-size:13px}
.techops-drawer:not(.warehouse-card-workspace) .warehouse-invoice-upload small{font-size:12px}
@media(max-width:650px){
  dialog.techops-drawer:not(.warehouse-card-workspace){--drawer-padding:20px;width:calc(100vw - 12px);right:6px;top:6px;height:calc(100dvh - 12px);border-radius:14px}
  dialog.techops-drawer[data-drawer-size]:not(.warehouse-card-workspace){width:calc(100vw - 12px)}
  dialog.techops-drawer:not(.warehouse-card-workspace)>.drawer-toolbar{gap:11px;min-height:71px;padding-block:14px}
  dialog.techops-drawer:not(.warehouse-card-workspace)>.drawer-toolbar h2{font-size:18px}
  .drawer-module-mark{width:35px;height:35px;border-radius:10px}
  .drawer-module-mark>.drawer-symbol{width:19px;height:19px}
  .techops-drawer:not(.warehouse-card-workspace) :is(.identity-footer,.issue-sheet-actions,.issue-composer-footer,.overview-drawer-actions,.knowledge-save-bar,.warehouse-form-actions,.case-form-actions){gap:8px;padding-block:14px}
  .techops-drawer .case-context{padding-block:20px}
  .techops-drawer .case-context strong{font-size:22px}
  .techops-drawer .case-navigation{gap:10px;flex-wrap:wrap;padding-top:0;padding-bottom:10px}
  .techops-drawer .case-navigation .case-tabs{gap:17px;flex:1 0 100%}
  .techops-drawer .case-navigation .case-tabs>button{font-size:12px;min-height:46px}
  .techops-drawer .case-open-chat{margin-left:auto;min-height:33px;font-size:12px}
  .techops-drawer .identity-tabs{gap:18px}
  .techops-drawer .identity-tabs>button{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  .techops-drawer *{scroll-behavior:auto}
  .techops-drawer:not(.warehouse-card-workspace) :is(input,textarea,.picker-trigger,details>summary,details>summary::after,.case-tabs>button::after){transition:none}
}
