:root{--bg:#07111f;--panel:#0f172a;--text:#f8fafc;--muted:#64748b;--line:#d8e0ec;--amber:#f59e0b}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Segoe UI,Arial;background:#f4f7fb;color:#111827}a{color:inherit}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:#07111f;color:#dbeafe;padding:22px}.brand{display:flex;gap:12px;align-items:center;font-weight:900;margin-bottom:24px}.brand img{width:48px;border-radius:14px;background:#0f172a;padding:6px}.nav a{display:block;color:#cbd5e1;text-decoration:none;padding:11px 12px;border-radius:12px}.nav a:hover{background:#1e293b}.main{padding:28px}.topbar{display:flex;justify-content:space-between;margin-bottom:18px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 8px 30px rgba(15,23,42,.06);margin-bottom:16px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.kpi strong{font-size:2rem;display:block}.muted{color:var(--muted)}button,.button{background:var(--amber);color:#111827;border:0;border-radius:12px;padding:10px 14px;font-weight:900;text-decoration:none;display:inline-flex}.secondary{background:#e2e8f0}.danger{background:#ef4444;color:#fff}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:10px;font:inherit}textarea{min-height:100px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px;border-bottom:1px solid #e5e7eb}.badge{padding:5px 9px;border-radius:999px;background:#e2e8f0;font-weight:900;font-size:.78rem}.flash{background:#dbeafe;border:1px solid #93c5fd;padding:10px;border-radius:12px;margin-bottom:12px}.public{min-height:100vh;background:radial-gradient(circle at 15% 20%,rgba(37,99,235,.32),transparent 32%),linear-gradient(135deg,#030712,#07111f 48%,#0f172a);color:#f8fafc}.public-nav{max-width:1180px;margin:0 auto;padding:24px;display:flex;justify-content:space-between}.public-brand{display:flex;align-items:center;gap:12px;font-weight:900;text-decoration:none}.public-brand img{width:54px;border-radius:16px;background:#0f172a;padding:7px}.public-links{display:flex;gap:18px;align-items:center}.public-links a{text-decoration:none;color:#e2e8f0;font-weight:800}.hero{max-width:1180px;margin:0 auto;padding:72px 24px;display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}.hero h1{font-size:clamp(3rem,6vw,6rem);line-height:.95;margin:0 0 18px;letter-spacing:-.06em}.blue{display:block;color:#60a5fa}.hero p{font-size:1.2rem;color:#cbd5e1;line-height:1.65}.pill{display:inline-flex;color:#fbbf24;background:rgba(15,23,42,.6);border:1px solid rgba(148,163,184,.18);border-radius:999px;padding:8px 14px;font-weight:900}.panel{background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.18);border-radius:28px;padding:24px}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mini{background:rgba(2,6,23,.6);border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:16px}.metric{font-size:2rem;font-weight:900;color:#60a5fa}.features{max-width:1180px;margin:0 auto;padding:0 24px 70px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature{background:rgba(15,23,42,.65);border:1px solid rgba(148,163,184,.18);border-radius:22px;padding:22px}.footer{max-width:1180px;margin:0 auto;padding:24px;color:#94a3b8}.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#07111f,#0f172a);padding:24px}.login-card{width:min(980px,100%);display:grid;grid-template-columns:1fr 1fr;background:#fff;border-radius:28px;overflow:hidden}.login-brand{background:#0f172a;color:white;padding:42px}.login-brand img{width:90px}.login-form{padding:42px}@media(max-width:850px){.app-shell,.grid,.grid2,.hero,.feature-grid,.login-card{grid-template-columns:1fr}.public-links{flex-wrap:wrap}}
.owner-hero{display:flex;justify-content:space-between;gap:22px;align-items:stretch;background:linear-gradient(135deg,#ffffff,#f5f7fb)}.pill,.code-pill{display:inline-flex;border:1px solid #d8e2ef;background:#f4f7fb;color:#314159;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.owner-status{min-width:285px;border-radius:22px;padding:18px;border:1px solid #d8e2ef;background:#fff;display:flex;flex-direction:column;gap:8px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.owner-status span{text-transform:uppercase;font-weight:950;font-size:12px;letter-spacing:.07em}.owner-status strong{font-size:22px;letter-spacing:-.03em}.owner-status.paused{border-color:#f3c97e;background:#fff8e9}.owner-status.paused span{color:#8a5200}.owner-status.enabled{border-color:#a7e3bb;background:#f0fff5}.owner-status.enabled span{color:#13733a}.action-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.table-wrap{overflow:auto}.badge.ok{background:#dcfce7;color:#166534}.muted-badge{background:#e5e7eb;color:#475569}button.success,.button.success{background:#15803d!important;color:white!important;border-color:#15803d!important}@media(max-width:800px){.owner-hero{flex-direction:column}.owner-status{min-width:0}.row-actions{display:grid}}

/* v4.0.65 — categorized app navigation */
.app-shell{
  grid-template-columns:280px minmax(0,1fr);
  background:#f3f6fa;
}
.sidebar{
  background:#07111f;
  color:#dbeafe;
  padding:14px;
  min-height:100vh;
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto;
  border-right:1px solid rgba(148,163,184,.14);
}
.sidebar-panel{
  display:flex;
  flex-direction:column;
  min-height:calc(100vh - 28px);
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 8px;
  padding:10px;
  border-radius:16px;
  color:#f8fafc;
  text-decoration:none;
}
.brand:hover{background:rgba(255,255,255,.05)}
.brand img{
  width:42px;
  height:42px;
  border-radius:13px;
  background:#0f172a;
  padding:6px;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.brand span{display:grid;gap:2px;min-width:0}.brand strong{font-size:15px;line-height:1.1}.brand small{font-size:11px;color:#8fa3bf;font-weight:800;letter-spacing:.02em;text-transform:uppercase}
.nav-search-wrap{padding:0 4px 4px}.nav-search{
  width:100%;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.24);
  background:#0c1727;
  color:#e5edf7;
  font-size:13px;
  font-weight:700;
  padding:0 12px;
  outline:none;
}
.nav-search::placeholder{color:#71829a}.nav-search:focus{border-color:#4f7fd1;box-shadow:0 0 0 3px rgba(59,130,246,.18)}
.nav{display:grid;gap:8px}.nav a{display:block;color:inherit;text-decoration:none;padding:0;border-radius:0}.nav a:hover{background:transparent}
.nav-group{
  border:1px solid rgba(148,163,184,.12);
  background:rgba(15,23,42,.42);
  border-radius:14px;
  overflow:hidden;
}
.nav-group[open]{background:rgba(15,23,42,.64)}
.nav-group summary{
  list-style:none;
  cursor:pointer;
  color:#93a7c2;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:11px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  user-select:none;
}
.nav-group summary::-webkit-details-marker{display:none}
.nav-group summary:after{
  content:'⌄';
  font-size:14px;
  color:#6f819a;
  transition:transform .15s ease;
}
.nav-group[open] summary:after{transform:rotate(180deg)}
.nav-link{
  position:relative;
  display:flex!important;
  align-items:center;
  min-height:38px;
  margin:0 8px 7px;
  padding:9px 11px!important;
  border-radius:11px!important;
  color:#d6e2f1!important;
  font-weight:760;
  font-size:14px;
  line-height:1.2;
  border:1px solid transparent;
}
.nav-link:hover{
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;
  border-color:rgba(148,163,184,.16);
}
.nav-link.active{
  background:#e9f0fb!important;
  color:#0f172a!important;
  border-color:#c9d7ea;
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.nav-link.active:before{
  content:'';
  position:absolute;
  left:-9px;
  top:9px;
  bottom:9px;
  width:3px;
  border-radius:999px;
  background:#3b82f6;
}
.logout-link{color:#f3c2c2!important}.logout-link:hover{background:rgba(239,68,68,.12)!important;border-color:rgba(239,68,68,.24)!important;color:#fff!important}
.account-group{margin-top:auto}
.main{
  min-width:0;
  padding:28px 32px 40px;
}
.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
  padding:0 2px;
}
.topbar b{font-size:16px}.topbar .muted{font-size:13px;margin-top:3px;color:#5b6b80}.badge{background:#dfe6f0;color:#0f172a;border:1px solid #cbd5e1}
.card{
  border-color:#d1dae6;
  box-shadow:0 14px 36px rgba(15,23,42,.07);
}

@media(max-width:900px){
  .app-shell{grid-template-columns:1fr}
  .sidebar{position:relative;height:auto;min-height:0;padding:12px}
  .sidebar-panel{min-height:0}
  .brand{margin-bottom:4px}
  .nav-search-wrap{display:none}
  .nav{grid-template-columns:1fr;gap:7px}
  .nav-group{border-radius:13px}
  .main{padding:18px}
}

/* v4.0.65 — overhead application navigation, replacing the sidebar */
.topnav-shell{
  display:block!important;
  min-height:100vh;
  background:#f3f6fa;
}
.app-topnav{
  position:sticky;
  top:0;
  z-index:100;
  height:72px;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #cfd8e6;
  box-shadow:0 8px 22px rgba(15,23,42,.05);
  backdrop-filter:blur(14px);
}
.topnav-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0 28px;
}
.topnav-brand{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:max-content;
  color:#0f172a;
  text-decoration:none;
  font-size:16px;
  font-weight:950;
  letter-spacing:-.02em;
}
.topnav-brand img{
  width:38px;
  height:38px;
  object-fit:contain;
  border-radius:11px;
  box-shadow:0 8px 18px rgba(15,23,42,.10);
}
.topnav-menu{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  flex:1;
  min-width:0;
}
.ui-shell-topnav .nav-favorite-row{display:contents}
.ui-shell-topnav .nav-favorite-star,.ui-shell-topnav .nav-help-bubble{display:none!important}
.topnav-link,
.topnav-dropdown>button{
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 13px;
  border-radius:10px;
  border:1px solid transparent;
  background:transparent;
  color:#334155;
  text-decoration:none;
  font:inherit;
  font-size:14px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
.topnav-link:hover,
.topnav-dropdown:hover>button,
.topnav-dropdown:focus-within>button{
  background:#edf2f7;
  border-color:#d4dde9;
  color:#0f172a;
}
.topnav-link.active,
.topnav-dropdown.active>button{
  background:#0f172a;
  border-color:#0f172a;
  color:#fff;
  box-shadow:0 10px 22px rgba(15,23,42,.14);
}
.topnav-dropdown{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.topnav-dropdown>button:after{
  content:'⌄';
  color:currentColor;
  opacity:.72;
  font-size:13px;
  line-height:1;
  margin-left:1px;
}
.topnav-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:240px;
  display:none;
  padding:8px;
  background:#fff;
  border:1px solid #cfd8e6;
  border-radius:14px;
  box-shadow:0 24px 60px rgba(15,23,42,.16);
}
.topnav-dropdown:hover .topnav-dropdown-menu,
.topnav-dropdown:focus-within .topnav-dropdown-menu{
  display:grid;
  gap:3px;
}
.dropdown-right{
  left:auto;
  right:0;
}
.topnav-dropdown-menu a{
  display:flex;
  align-items:center;
  min-height:38px;
  padding:9px 11px;
  border-radius:10px;
  color:#1f2937;
  text-decoration:none;
  font-size:14px;
  font-weight:780;
}
.topnav-menu-section{
  display:block;
  padding:8px 11px 4px;
  color:#64748b;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.topnav-menu-section:not(:first-child){
  margin-top:6px;
  border-top:1px solid #e2e8f0;
}
.topnav-dropdown-menu a:hover{
  background:#f1f5f9;
  color:#0f172a;
}
.topnav-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-width:max-content;
}
.topnav-beta{
  background:#e4ebf5!important;
  color:#0f172a!important;
  border:1px solid #d2dbe8!important;
}
.topnav-action-alerts{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.action-alert-button{
  width:40px;
  height:40px;
  padding:0!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  position:relative;
  background:#fff!important;
  color:#0f172a!important;
  border:1px solid #d4dde9!important;
  border-radius:10px!important;
  box-shadow:none!important;
  cursor:pointer;
}
.action-alert-button:hover,
.topnav-action-alerts.is-open .action-alert-button{
  background:#edf2f7!important;
  border-color:#93c5fd!important;
  color:#1d4ed8!important;
}
.action-alert-button svg{
  width:20px;
  height:20px;
  stroke-width:2.2;
}
.action-alert-badge{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:2px solid #fff;
  background:#dc2626;
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:950;
}
.action-alert-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:220;
  width:min(360px,calc(100vw - 28px));
  display:grid;
  gap:6px;
  padding:8px;
  background:#fff;
  border:1px solid #cfd8e6;
  border-radius:14px;
  box-shadow:0 24px 60px rgba(15,23,42,.18);
}
.action-alert-menu[hidden]{
  display:none;
}
.action-alert-menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 9px 10px;
  border-bottom:1px solid #e2e8f0;
}
.action-alert-menu-head div{display:grid;gap:2px}
.action-alert-menu-head strong{
  color:#0f172a;
  font-size:14px;
}
.action-alert-menu-head span{
  color:#64748b;
  font-size:12px;
  font-weight:900;
}
.action-alert-manage-button,
.action-alert-assign-button{
  min-height:30px!important;
  border-radius:8px!important;
  padding:6px 10px!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:0!important;
  box-shadow:none!important;
  transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease!important;
}
.action-alert-manage-button{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important}
.action-alert-assign-button{
  background:#f8fafc!important;
  border:1px solid #cbd5e1!important;
  color:#1e293b!important;
}
.action-alert-assign-button:hover,
.action-alert-assign-button:focus{
  background:#eef6ff!important;
  border-color:#93c5fd!important;
  color:#1d4ed8!important;
  transform:translateY(-1px);
}
.action-alert-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:6px;
  align-items:center;
}
.action-alert-item{
  display:grid;
  gap:3px;
  padding:10px;
  border:1px solid transparent;
  border-radius:10px;
  color:#0f172a;
  text-decoration:none;
}
.action-alert-item:hover{
  background:#eff6ff;
  border-color:#bfdbfe;
  color:#1d4ed8;
}
.action-alert-item strong{
  font-size:14px;
  line-height:1.2;
}
.action-alert-item span,
.action-alert-empty{
  color:#64748b;
  font-size:12px;
  line-height:1.35;
}
.action-alert-item em{
  color:#2563eb;
  font-size:11px;
  font-style:normal;
  font-weight:900;
}
.action-alert-empty{
  padding:11px 10px;
}
.account-button{
  background:#edf2f7!important;
  border-color:#d4dde9!important;
  color:#0f172a!important;
  max-width:230px;
}
.account-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.account-menu{
  min-width:270px;
}
.account-summary{
  padding:10px 11px 12px;
  margin:0 0 5px;
  border-bottom:1px solid #e2e8f0;
  display:grid;
  gap:3px;
}
.account-summary strong{
  color:#0f172a;
  font-size:14px;
  line-height:1.2;
}
.account-summary span{
  color:#64748b;
  font-size:13px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.account-profile-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.account-profile-hero h1{margin:0;font-size:32px;line-height:1.05}
.account-profile-hero p{margin:6px 0 0;color:#475569;font-weight:800}
.account-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.account-profile-card{min-width:0}
.account-profile-card-wide{grid-column:1/-1}
.account-profile-edit-card input[readonly],
.account-profile-edit-card input:disabled{background:#f8fafc;color:#64748b;border-color:#d8e0ec;cursor:not-allowed;opacity:1}
.account-profile-edit-card form[data-locked="true"] input{box-shadow:none}
.account-profile-edit-card form[data-locked="false"] input[data-account-editable]{background:#fff;color:#0f172a;cursor:text}
.account-profile-edit-card label small{display:block;margin-top:5px;color:#64748b;font-size:12px;line-height:1.3}
.account-profile-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.account-profile-facts>div{border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:12px;min-width:0}
.account-profile-facts span{display:block;color:#64748b;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.account-profile-facts strong{display:block;margin-top:4px;color:#0f172a;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.account-profile-note{margin-top:12px;border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:8px;padding:12px;display:grid;gap:3px}
.account-profile-note strong{font-size:13px}
.account-profile-note span{font-size:13px;color:#334155}
.topnav-dropdown-menu .logout-link{
  color:#991b1b!important;
}
.topnav-dropdown-menu .logout-link:hover{
  background:#fef2f2!important;
  color:#7f1d1d!important;
}
.topnav-main{
  min-width:0;
  padding:22px 26px 40px!important;
}
.workspace-bar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin:0 0 14px;
  padding:0 2px;
}

.topnav-main>.card,
.admin-control-center>.card{
  border-radius:12px;
  padding:16px;
  margin-bottom:12px;
  box-shadow:0 10px 24px rgba(15,23,42,.055);
}

.topnav-main h1{
  letter-spacing:-.02em;
}

.topnav-main h2{
  letter-spacing:-.01em;
}

.button-row,
.action-row,
.scheduler-actions,
.inventory-actions,
.detail-actions,
.report-actions,
.ticket-command-nav{
  gap:8px;
}

.button-row .button,
.action-row .button,
.scheduler-actions .button,
.inventory-actions .button,
.detail-actions .button,
.report-actions .button,
.ticket-command-nav .button,
.button-row button,
.action-row button,
.scheduler-actions button,
.inventory-actions button,
.detail-actions button,
.report-actions button,
.ticket-command-nav button{
  min-height:36px;
  padding:8px 11px;
  border-radius:8px;
}
.workspace-bar b{
  font-size:16px;
  color:#0f172a;
}
.workspace-bar .muted{
  font-size:13px;
  margin-top:3px;
  color:#526176;
}

@media(max-width:1180px){
  .topnav-inner{gap:12px;padding:0 18px}
  .topnav-menu{gap:3px}
  .topnav-link,.topnav-dropdown>button{padding:0 10px;font-size:13px}
  .account-button{max-width:170px}
}
@media(max-width:940px){
  .app-topnav{height:auto;position:relative}
  .topnav-inner{
    height:auto;
    min-height:72px;
    align-items:flex-start;
    flex-wrap:wrap;
    padding:14px 16px;
  }
  .topnav-brand{height:40px}
  .topnav-menu{order:3;width:100%;overflow-x:auto;padding-bottom:2px}
  .topnav-actions{margin-left:auto}
  .topnav-main{padding:20px 16px 34px!important}
  .topnav-dropdown-menu{position:absolute}
  .account-profile-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .topnav-menu{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    overflow:visible;
  }
  .topnav-link,.topnav-dropdown,.topnav-dropdown>button{width:100%}
  .topnav-dropdown-menu,
  .dropdown-right{
    left:0;
    right:auto;
    width:min(88vw,300px);
  }
  .topnav-actions{width:100%;justify-content:space-between}
  .action-alert-menu{left:0;right:auto;width:min(88vw,330px)}
  .account-button{max-width:100%}
  .account-profile-hero h1{font-size:26px}
  .account-profile-facts{grid-template-columns:1fr}
  .workspace-bar{display:none}
}


/* Bear Scheduler add-on v4.0.65 */
.scheduler-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  background:#fff;
  border-radius:8px;
  padding:16px;
  box-shadow:none;
}
.scheduler-hero h1{margin:0 0 6px;font-size:28px;letter-spacing:0;color:#0f172a}
.scheduler-hero p{max-width:820px;line-height:1.45;margin:0;color:#526176}
.scheduler-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.scheduler-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}
.scheduler-kpi{background:#fff;border:1px solid #d1dae6;border-radius:8px;padding:10px 12px;box-shadow:none}
.scheduler-kpi span{display:block;color:#64748b;font-weight:900;font-size:11px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}
.scheduler-kpi strong{display:block;font-size:22px;line-height:1;color:#0f172a}
.scheduler-kpi small{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:800;line-height:1.25}
.scheduler-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 16px}
.scheduler-subnav a{display:inline-flex;padding:8px 10px;border-radius:8px;border:1px solid #d4dde9;background:#fff;text-decoration:none;font-weight:850;color:#334155;font-size:13px}
.scheduler-subnav a:hover,.scheduler-subnav a.active{background:#0f172a;color:#fff;border-color:#0f172a}
.scheduler-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.scheduler-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.scheduler-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
.scheduler-checks{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.scheduler-checks label{display:inline-flex;align-items:center;gap:6px;width:auto;font-weight:850;color:#334155}
.scheduler-checks input[type="checkbox"]{width:auto}
.scheduler-table{border-collapse:collapse}
.scheduler-table td,.scheduler-table th{vertical-align:top;padding:9px 10px}
.scheduler-table th{font-size:11px;color:#475569;background:#f8fafc;text-transform:uppercase;letter-spacing:.04em}
.scheduler-table .small{font-size:12px;color:#64748b}
.scheduler-badge{display:inline-flex;align-items:center;border-radius:6px;padding:4px 7px;font-size:11px;font-weight:950;border:1px solid #cbd5e1;background:#eef2f7;color:#334155;white-space:nowrap}
.scheduler-badge.green{background:#dcfce7;color:#166534;border-color:#bbf7d0}
.scheduler-badge.yellow{background:#fef3c7;color:#92400e;border-color:#fde68a}
.scheduler-badge.red{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.scheduler-badge.blue{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}
.scheduler-feature-list{display:flex;gap:5px;flex-wrap:wrap}
.scheduler-feature{display:inline-flex;align-items:center;border-radius:8px;background:#e8eef7;color:#0f172a;font-size:11px;font-weight:950;padding:4px 7px;border:1px solid #d2dbe8}
.scheduler-feature.missing{background:#fff1f2;color:#9f1239;border-color:#fecdd3}
.production2-hero{align-items:center}
.production2-shell{display:grid;grid-template-columns:minmax(230px,.28fr) minmax(0,1fr);gap:12px;align-items:start}
.production2-control-panel{position:sticky;top:84px;display:grid;gap:10px}
.production2-control-panel h2{margin:0}
.production2-select-label{display:grid;gap:5px;color:#334155;font-size:12px;font-weight:900}
.production2-widget-picker{display:grid;gap:7px}
.production2-widget-picker label{display:flex;gap:8px;align-items:center;border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:7px 9px;font-weight:900;color:#0f172a}
.production2-widget-picker input{width:auto}
.production2-widget-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.production2-widget{min-height:145px;margin:0;padding:12px;border-radius:8px;cursor:grab;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}
.production2-widget.is-dragging{opacity:.62;transform:scale(.98)}
.production2-widget.is-favorite{border-color:#f59e0b;box-shadow:0 12px 30px rgba(245,158,11,.15)}
.production2-widget.is-pulsing{animation:production2Pulse .85s ease}
.production2-widget-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px}
.production2-favorite{width:34px;height:34px;border-radius:8px;padding:0;background:#f8fafc;border:1px solid #d8e0ec;color:#f59e0b;font-size:18px;display:grid;place-items:center}
.production2-drag-handle{font-weight:950;color:#94a3b8;letter-spacing:1px;cursor:grab}
.production2-widget-main{display:grid;gap:5px;text-decoration:none;color:#0f172a}
.production2-widget-main span{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;color:#475569}
.production2-widget-main strong{font-size:38px;line-height:1;color:#0f172a}
.production2-widget-main small{font-weight:800;color:#64748b}
.production2-tone-blue{background:#eff6ff;border-color:#bfdbfe}.production2-tone-green{background:#f0fdf4;border-color:#bbf7d0}.production2-tone-yellow{background:#fffbeb;border-color:#fde68a}.production2-tone-red{background:#fef2f2;border-color:#fecaca}
@keyframes production2Pulse{0%,100%{box-shadow:0 0 0 rgba(37,99,235,0)}40%{box-shadow:0 0 0 5px rgba(37,99,235,.18)}}
.scheduler-machine-lane{border:1px solid #d1dae6;border-radius:18px;background:#fff;padding:14px;margin-bottom:12px;box-shadow:0 10px 24px rgba(15,23,42,.05)}
.scheduler-machine-lane h3{margin:0 0 10px;font-size:16px;color:#0f172a;display:flex;justify-content:space-between;gap:12px;align-items:center}
.scheduler-job-block{border:1px solid #d7e0ec;background:#f8fafc;border-radius:14px;padding:12px;margin:8px 0;display:grid;gap:5px}
.scheduler-job-block strong{color:#0f172a}
.scheduler-job-block.late{border-color:#fecaca;background:#fff7f7}
.scheduler-job-block.unscheduled{border-color:#fde68a;background:#fffbeb}
.scheduler-timeline-meta{display:flex;gap:8px;flex-wrap:wrap;color:#64748b;font-size:12px;font-weight:800}
.scheduler-empty{padding:14px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;color:#64748b;text-align:center;font-weight:850}
@media(max-width:1000px){.scheduler-kpis,.scheduler-grid-4,.scheduler-form-grid{grid-template-columns:1fr 1fr}.scheduler-grid-3,.scheduler-customer-profile-grid,.production2-shell{grid-template-columns:1fr}.scheduler-hero{display:grid}.scheduler-command-panel.is-expanded{grid-column:span 2}.production2-control-panel{position:static}}
@media(max-width:650px){.scheduler-kpis,.scheduler-grid-4,.scheduler-form-grid,.production2-widget-grid{grid-template-columns:1fr}.scheduler-command-panel.is-expanded{grid-column:span 1}.scheduler-command-row{grid-template-columns:minmax(0,1fr) 56px auto}.scheduler-command-part,.scheduler-command-customer{display:none}}

/* Scheduler calendar + shop-hours visual polish */
.scheduler-kpis-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.scheduler-kpis-seven{grid-template-columns:repeat(7,minmax(0,1fr))}
.scheduler-kpi-text{font-size:16px!important;line-height:1.15!important;display:block}
.scheduler-form-grid-tight{grid-template-columns:repeat(3,minmax(0,1fr))}
.scheduler-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:10px}
.scheduler-section-heading h2{margin:0 0 4px}
.scheduler-step-heading{justify-content:flex-start;align-items:flex-start}
.scheduler-step-heading>div{min-width:0;flex:1}
.scheduler-step-heading-number{flex:0 0 24px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#2563eb;color:#fff;font-size:12px;font-weight:950;line-height:1}
.scheduler-probability-control{display:grid;gap:7px;align-content:end}
.scheduler-probability-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:900;color:#334155}
.scheduler-probability-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:950;color:#334155}
.scheduler-probability-toggle input{width:auto;margin:0}
.scheduler-revision-edit-row td{background:#f8fafc}
.scheduler-revision-edit-form{display:grid;gap:12px;padding:8px 0}
.scheduler-note-box{border:1px solid #d5dfeb;background:#f8fafc;border-radius:16px;padding:14px;margin-top:14px;color:#334155}
.scheduler-note-box p{margin:6px 0 0;color:#526176;line-height:1.5}
.scheduler-note-box-warning{border-color:#facc15;background:#fffbeb;color:#713f12}
.scheduler-note-box-warning p{color:#854d0e}
.scheduler-weekdays{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0 4px}
.scheduler-day-toggle{position:relative}
.scheduler-day-toggle input{position:absolute;width:1px;height:1px;margin:0;opacity:0;overflow:hidden;pointer-events:none}
.scheduler-day-toggle span{display:inline-flex;border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:10px 14px;font-weight:950;color:#334155;cursor:pointer;user-select:none}
.scheduler-day-toggle input:focus-visible + span{outline:3px solid rgba(37,99,235,.24);outline-offset:2px}
.scheduler-day-toggle input:checked + span{background:#0f172a;color:#fff;border-color:#0f172a;box-shadow:0 8px 18px rgba(15,23,42,.12)}
.scheduler-small-number{max-width:110px}
.scheduler-calendar-card{overflow:hidden}
.scheduler-calendar-wrap{overflow:auto;border:1px solid #d3dde9;border-radius:18px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.scheduler-calendar-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}
.scheduler-calendar-table th,.scheduler-calendar-table td{border-right:1px solid #e1e7ef;border-bottom:1px solid #e1e7ef;vertical-align:top;min-width:145px;max-width:190px;background:#fff;padding:8px}
.scheduler-calendar-table th{position:sticky;top:0;z-index:3;background:#f8fafc;color:#0f172a;text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.scheduler-calendar-table th span{display:block;color:#64748b;font-weight:950}
.scheduler-calendar-table th strong{display:block;font-size:15px;margin-top:2px;color:#0f172a}
.scheduler-calendar-table th em{display:inline-block;margin-top:4px;font-style:normal;color:#9f1239;font-size:10px;font-weight:950}
.scheduler-calendar-table th.today{background:#eff6ff;box-shadow:inset 0 3px 0 #2563eb}
.scheduler-calendar-table th.closed,.scheduler-calendar-table td.closed{background:#f8fafc;color:#94a3b8}
.scheduler-calendar-machine-head,.scheduler-calendar-machine{position:sticky;left:0;z-index:4;min-width:160px!important;background:#f1f5f9!important;border-right:2px solid #cbd5e1!important}
.scheduler-calendar-machine{font-size:13px;color:#0f172a}
.scheduler-calendar-job{border:1px solid #bfdbfe;background:#eff6ff;border-radius:12px;padding:8px;margin:0 0 7px;color:#1e3a8a;box-shadow:0 6px 14px rgba(30,64,175,.08)}
.scheduler-calendar-job.late{border-color:#fecaca;background:#fff1f2;color:#991b1b}
.scheduler-calendar-job.setup-skip{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.scheduler-calendar-job-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px}
.scheduler-calendar-job-top strong{font-size:12px;color:inherit}
.scheduler-calendar-job-top span{font-weight:950;font-size:11px;color:inherit;opacity:.82;white-space:nowrap}
.scheduler-calendar-job div:not(.scheduler-calendar-job-top){font-weight:900;font-size:12px;margin-top:2px;color:inherit}
.scheduler-calendar-job small{display:block;margin-top:3px;font-size:11px;font-weight:800;color:inherit;opacity:.78}
@media(max-width:1200px){.scheduler-kpis-seven{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.scheduler-kpis-three,.scheduler-form-grid-tight{grid-template-columns:1fr 1fr}.scheduler-section-heading{display:grid}.scheduler-calendar-table th,.scheduler-calendar-table td{min-width:135px}}
@media(max-width:650px){.scheduler-kpis-three,.scheduler-kpis-seven,.scheduler-form-grid-tight{grid-template-columns:1fr}.scheduler-calendar-machine-head,.scheduler-calendar-machine{min-width:130px!important}.scheduler-calendar-table th,.scheduler-calendar-table td{min-width:125px}}


/* Scheduler calendar view controls fix */
.scheduler-calendar-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:12px;
  border:1px solid #d5dfeb;
  border-radius:16px;
  background:#f8fafc;
}
.scheduler-calendar-range{
  display:grid;
  gap:2px;
  color:#0f172a;
}
.scheduler-calendar-range strong{
  font-size:15px;
}
.scheduler-calendar-range span{
  color:#64748b;
  font-size:12px;
  font-weight:850;
}
.scheduler-calendar-nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.scheduler-calendar-view-form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:end;
  margin:0;
}
.scheduler-calendar-view-form label{
  display:grid;
  gap:5px;
  font-size:12px;
  font-weight:900;
  color:#334155;
}
.scheduler-calendar-view-form input,
.scheduler-calendar-view-form select{
  min-height:38px;
  border-radius:10px;
  border:1px solid #cbd5e1;
  background:#fff;
  padding:0 10px;
}
@media(max-width:760px){
  .scheduler-calendar-toolbar{display:grid;align-items:stretch}
  .scheduler-calendar-nav,.scheduler-calendar-view-form{width:100%}
  .scheduler-calendar-view-form label{width:100%}
}

/* Scheduler long-term workflow / feature configuration */
.scheduler-kpis-eight{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))}
.scheduler-wide-table{min-width:1080px}
.scheduler-feature-settings-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:12px}
.scheduler-stage-process-panel{grid-column:1/-1;min-width:0}
.scheduler-feature-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px 14px;align-items:start}
.scheduler-feature-check-grid label{display:flex;align-items:flex-start;gap:7px;width:100%;min-width:0;line-height:1.25;white-space:normal}
.scheduler-feature-check-grid input[type="checkbox"]{flex:0 0 auto;margin-top:2px}
.scheduler-soft-rule{border:0;border-top:1px solid #dbe3ee;margin:24px 0}
.scheduler-action-stack{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.scheduler-action-stack form{margin:0}
.scheduler-action-stack input,.scheduler-action-stack select{min-width:110px;max-width:180px}
.scheduler-board-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.scheduler-board-column{border:1px solid #dbe4f0;border-radius:8px;padding:12px;background:#f8fafc}
.scheduler-board-column h3{margin:0 0 10px;font-size:14px}
.scheduler-board-card{display:block;border:1px solid #d8e2ef;border-radius:8px;background:#fff;padding:10px;margin-bottom:8px;color:#0f172a;text-decoration:none}
.scheduler-board-card b,.scheduler-board-card span,.scheduler-board-card small{display:block}
.scheduler-board-card span{font-size:13px;color:#334155;margin-top:3px}
.scheduler-board-card small{font-size:12px;color:#64748b;margin-top:5px}
.scheduler-empty-compact{padding:10px;font-size:13px}
.scheduler-dept-hero{margin-bottom:10px}
.scheduler-dept-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin:0 0 10px}
.scheduler-dept-kpis>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #d8e2ef;background:#fff;border-radius:8px;padding:9px 11px;box-shadow:none}
.scheduler-dept-kpis strong{font-size:22px;line-height:1;color:#0f172a}
.scheduler-dept-kpis span{color:#64748b;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;text-align:right}
.scheduler-dept-board{display:grid;gap:8px}
.scheduler-dept-row{padding:0;overflow:hidden;box-shadow:none}
.scheduler-dept-row summary{display:grid;grid-template-columns:minmax(180px,1fr) minmax(520px,2.4fr);gap:12px;align-items:center;list-style:none;cursor:pointer;padding:10px 12px;background:#fff}
.scheduler-dept-row summary::-webkit-details-marker{display:none}
.scheduler-dept-title strong{display:block;color:#0f172a;font-size:18px;line-height:1.1}
.scheduler-dept-title span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:3px}
.scheduler-dept-counts{display:grid;grid-template-columns:repeat(5,minmax(94px,1fr));gap:7px}
.scheduler-dept-count{display:flex;align-items:center;justify-content:center;min-height:30px;border:1px solid #d8e2ef;background:#f8fafc;border-radius:8px;color:#334155;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}
.scheduler-dept-count.waiting{background:#fffbeb;border-color:#fde68a;color:#92400e}.scheduler-dept-count.scheduled{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.scheduler-dept-count.running{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.scheduler-dept-count.done{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.scheduler-dept-count.blocked{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.scheduler-dept-board-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0 10px 10px;background:#f8fafc;border-top:1px solid #e2e8f0}
.scheduler-dept-lane{min-width:0;border:1px solid #d8e2ef;background:#fff;border-radius:8px;padding:8px}
.scheduler-dept-lane h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 7px;color:#334155;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.scheduler-dept-lane h3 span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;border-radius:999px;background:#e2e8f0;color:#0f172a;font-size:12px}
.scheduler-dept-lane-list{display:grid;gap:6px;max-height:284px;overflow:auto}
.scheduler-dept-job{display:block;text-decoration:none;color:#0f172a;border:1px solid #e2e8f0;background:#fff;border-radius:8px;padding:8px;transition:border-color .14s ease,background .14s ease}
.scheduler-dept-job:hover{border-color:#2563eb;background:#f8fbff}
.scheduler-dept-job-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.scheduler-dept-job-top strong{font-size:15px}.scheduler-dept-job-top b{font-size:12px;color:#1d4ed8}
.scheduler-dept-job span:not(.scheduler-dept-job-top){display:block;color:#334155;font-size:12px;font-weight:800;margin-top:3px;line-height:1.2}
.scheduler-dept-job small,.scheduler-dept-job em{display:block;color:#64748b;font-size:11px;font-style:normal;line-height:1.25;margin-top:3px}
.scheduler-dept-mini-empty,.scheduler-dept-empty-band{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:8px;color:#64748b;font-weight:900;text-align:center}
.scheduler-dept-mini-empty{padding:8px;font-size:12px}.scheduler-dept-empty-band{margin:0 10px 10px;padding:10px}
.scheduler-dept-unassigned{margin-top:10px}
.scheduler-dept-unassigned-table{min-width:920px}
.scheduler-list-stack{display:grid;gap:8px}
.scheduler-command-grid{align-items:start}
.scheduler-command-panel{border:1px solid #dbe4f0;border-radius:8px;padding:10px;background:#f8fafc;min-width:0;transition:grid-column .28s ease,box-shadow .28s ease,background .28s ease}
.scheduler-command-panel-tight{display:grid;gap:8px}
.scheduler-command-panel.is-expanded{grid-column:span 2;background:#fff;box-shadow:0 16px 42px rgba(15,23,42,.12);z-index:2}
.scheduler-command-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.scheduler-command-panel h3{margin:0;font-size:13px;color:#0f172a}
.scheduler-command-panel-actions{display:flex;align-items:center;gap:7px}
.scheduler-command-panel-actions span{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;border:1px solid #d7e0ec;border-radius:999px;background:#fff;font-size:11px;font-weight:950;color:#334155}
.scheduler-command-expand{min-height:26px;border-radius:7px;padding:4px 7px;font-size:11px}
.scheduler-command-list{display:grid;gap:0;max-height:356px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:8px;background:#fff}
.scheduler-command-row{display:grid;grid-template-columns:minmax(112px,1.1fr) minmax(90px,.9fr) minmax(126px,1fr) 54px auto;gap:8px;align-items:center;min-height:34px;padding:6px 8px;border-bottom:1px solid #edf2f7}
.scheduler-command-row:last-child{border-bottom:0}
.scheduler-command-row:hover{background:#f8fafc}
.scheduler-command-row a{display:block;color:#0f172a;text-decoration:none;padding:0;border:0}
.scheduler-command-row a:hover{text-decoration:underline;text-underline-offset:3px}
.scheduler-command-main strong,.scheduler-command-main span,.scheduler-command-customer a,.scheduler-command-customer span,.scheduler-command-customer small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduler-command-main strong{font-size:13px;color:#0f172a}
.scheduler-command-main span,.scheduler-command-part,.scheduler-command-customer small{font-size:11px;color:#64748b;font-weight:800}
.scheduler-command-customer a{font-size:12px;font-weight:950;color:#0f172a}
.scheduler-command-due{font-size:12px;font-weight:950;color:#334155;text-align:right}
.scheduler-command-due.late{color:#b91c1c}
.scheduler-command-row-machine{grid-template-columns:minmax(0,1fr) auto}
.scheduler-check-label{display:flex!important;align-items:center;gap:8px;min-height:39px;font-weight:900;color:#334155}
.scheduler-check-label input{width:auto}
.scheduler-check-label.scheduler-full-label{display:flex!important;flex-wrap:wrap}
.scheduler-check-hint{color:#64748b;font-size:12px;font-weight:800}
.scheduler-tight-scroll{max-height:480px;overflow:auto}
.scheduler-customer-profile-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.65fr);gap:12px;align-items:start}
.scheduler-customer-summary-card p{line-height:1.45;color:#334155}
.scheduler-click-kpi{text-decoration:none;color:inherit;transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease}
.scheduler-click-kpi:hover{border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,23,42,.08)}
.scheduler-customer-kpis,.scheduler-customer-detail-kpis{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:10px}
.scheduler-part-kpis,.scheduler-part-detail-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px}
.scheduler-customer-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.45fr);gap:10px;align-items:start;margin-bottom:10px}
.scheduler-customer-search{margin-bottom:0}
.scheduler-customer-row td{vertical-align:middle}
.scheduler-part-row td{vertical-align:middle}
.scheduler-row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.scheduler-compact-details{padding:0;overflow:hidden}
.scheduler-compact-details summary{display:flex;justify-content:space-between;gap:12px;align-items:center;list-style:none;cursor:pointer;padding:12px 14px;font-weight:950;color:#0f172a}
.scheduler-compact-details summary::-webkit-details-marker{display:none}
.scheduler-compact-details summary span{display:block;color:#64748b;font-size:13px;font-weight:750;margin-top:2px}
.scheduler-compact-details form{padding:0 14px 14px}
.scheduler-add-customer-details{margin-bottom:12px}
.scheduler-add-part-details{margin-bottom:12px}
.scheduler-add-customer-details:not([open]),.scheduler-add-part-details:not([open]){box-shadow:none;background:#f8fafc}
.scheduler-add-customer-details:not([open]) summary,.scheduler-add-part-details:not([open]) summary{padding:9px 12px}
.scheduler-add-customer-details:not([open]) summary:after,.scheduler-add-part-details:not([open]) summary:after{content:"Expand";display:inline-flex;align-items:center;border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.scheduler-add-customer-details[open] summary:after,.scheduler-add-part-details[open] summary:after{content:"Collapse";display:inline-flex;align-items:center;border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.scheduler-customer-command-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;margin-bottom:10px}
.scheduler-customer-command-nav a:not(.button){display:inline-flex;align-items:center;min-height:34px;border:1px solid #d8e0ec;background:#f8fafc;color:#1e3a8a;border-radius:8px;padding:7px 10px;font-weight:900;text-decoration:none}
.scheduler-customer-command-nav a:not(.button):hover{background:#eff6ff;border-color:#bfdbfe}
.scheduler-part-profile-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.7fr);gap:12px;margin-bottom:12px;align-items:start}
.scheduler-part-profile-grid-single{grid-template-columns:1fr}
.scheduler-part-feature-list{margin-top:10px}
.scheduler-guided-route-saved-head{display:grid;gap:10px;margin-bottom:12px}
.scheduler-guided-route-actions{justify-content:center}
.scheduler-guided-route-empty{display:grid;place-items:center;min-height:150px;text-align:center;padding:16px}
.scheduler-guided-route-empty>div{display:grid;justify-items:center;gap:8px;max-width:640px}
.scheduler-guided-route-empty h2,.scheduler-guided-route-empty p{margin:0}
.scheduler-guided-route-empty small{display:block;color:#64748b;font-weight:800;line-height:1.45}
.scheduler-material-link{color:#0f172a;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
.scheduler-material-link:hover{color:#1d4ed8}
.scheduler-chip-list{display:flex;gap:8px;flex-wrap:wrap;padding:4px 0}
.scheduler-chip{display:inline-flex;align-items:center;border:1px solid #d8e0ec;background:#f8fafc;color:#334155;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}
.scheduler-chip-ok{border-color:#86efac;background:#f0fdf4;color:#166534}
@media(max-width:1150px){
  .scheduler-customer-kpis,.scheduler-customer-detail-kpis,.scheduler-part-kpis,.scheduler-part-detail-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .scheduler-customer-toolbar{grid-template-columns:1fr}
  .scheduler-part-profile-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .scheduler-customer-kpis,.scheduler-customer-detail-kpis,.scheduler-part-kpis,.scheduler-part-detail-kpis{grid-template-columns:1fr 1fr}
  .scheduler-row-actions,.scheduler-customer-command-nav{display:grid;grid-template-columns:1fr}
  .scheduler-row-actions .button,.scheduler-customer-command-nav .button,.scheduler-customer-command-nav button{width:100%}
}
.scheduler-compact-table td{padding-top:8px;padding-bottom:8px}
.scheduler-group-row td{padding:7px 12px;background:#eef4fb;color:#334155;border-top:1px solid #d8e0ec;border-bottom:1px solid #d8e0ec}
.scheduler-group-row strong{font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.scheduler-group-row span{margin-left:8px;font-size:12px;color:#64748b;font-weight:800}
.scheduler-primary-cell strong{display:block;font-size:16px;color:#0f172a}
.scheduler-primary-cell span{display:block;color:#64748b;font-size:12px;margin-top:2px}
.scheduler-part-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:12px;align-items:stretch;margin-bottom:10px}
.scheduler-part-kpis-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(74px,1fr));gap:8px;margin-bottom:0}
.scheduler-part-kpis-grid .scheduler-kpi{min-height:74px;display:grid;align-content:center}
.scheduler-part-add-card{min-height:100%;padding:18px;align-content:center;align-self:stretch}
.scheduler-part-add-card .scheduler-add-cta{width:100%;min-height:38px}
.scheduler-add-row{display:grid;grid-template-columns:minmax(280px,460px);justify-content:end;margin-bottom:10px}
.scheduler-add-card,.scheduler-add-customer-card{display:grid;gap:6px;align-content:center;margin-bottom:0;border-color:#bfdbfe;background:#eff6ff}
.scheduler-add-card strong,.scheduler-add-customer-card strong{font-size:17px;color:#0f172a}.scheduler-add-card span,.scheduler-add-customer-card span{color:#475569;font-weight:800}
.scheduler-add-cta,.scheduler-add-customer-cta{background:#2563eb;color:#fff;box-shadow:0 12px 24px rgba(37,99,235,.18);justify-content:center}
.scheduler-customer-add-modal{width:min(1040px,66vw)}
.scheduler-customer-name-cell{display:grid;grid-template-columns:22px minmax(0,1fr);gap:9px;align-items:center}
.scheduler-customer-title-with-icon{display:flex;gap:10px;align-items:center}
.scheduler-customer-favorite{display:inline-block;width:18px;height:18px;flex:0 0 18px;border:2px solid rgba(15,23,42,.12);box-shadow:0 2px 7px rgba(15,23,42,.14)}
.favorite-shape-circle{border-radius:999px}.favorite-shape-square{border-radius:5px}.favorite-shape-diamond{border-radius:4px;transform:rotate(45deg)}.favorite-shape-hex{clip-path:polygon(25% 4%,75% 4%,100% 50%,75% 96%,25% 96%,0 50%)}
.favorite-color-blue{background:#2563eb}.favorite-color-green{background:#16a34a}.favorite-color-yellow{background:#facc15}.favorite-color-red{background:#ef4444}.favorite-color-cyan{background:#0891b2}.favorite-color-violet{background:#7c3aed}.favorite-color-pink{background:#db2777}.favorite-color-slate{background:#475569}.favorite-color-lime{background:#65a30d}.favorite-color-orange{background:#f97316}.favorite-color-teal{background:#0d9488}.favorite-color-indigo{background:#4f46e5}
.scheduler-customer-table-wrap{resize:horizontal;max-width:100%;min-width:min(100%,720px)}
.scheduler-customer-list-table{width:100%;min-width:1250px;table-layout:fixed;--customer-col-name:22%;--customer-col-phonebook:20%;--customer-col-location:18%;--customer-col-workload:13%;--customer-col-notes:10%;--customer-col-actions:17%}
.scheduler-customer-list-table .customer-col-name{width:var(--customer-col-name)}.scheduler-customer-list-table .customer-col-phonebook{width:var(--customer-col-phonebook)}.scheduler-customer-list-table .customer-col-location{width:var(--customer-col-location)}.scheduler-customer-list-table .customer-col-workload{width:var(--customer-col-workload)}.scheduler-customer-list-table .customer-col-notes{width:var(--customer-col-notes)}.scheduler-customer-list-table .customer-col-actions{width:var(--customer-col-actions)}
.scheduler-customer-list-table th,.scheduler-customer-list-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.scheduler-customer-list-table .scheduler-customer-row td{height:42px;padding-top:6px;padding-bottom:6px}
.scheduler-customer-list-table .scheduler-customer-name-cell{grid-template-columns:20px minmax(0,1fr);gap:8px;min-width:0}
.scheduler-customer-list-table .scheduler-customer-favorite{width:16px;height:16px;flex-basis:16px}
.scheduler-customer-mainline,.scheduler-customer-line{display:flex;align-items:baseline;gap:6px;min-width:0;overflow:hidden;white-space:nowrap}
.scheduler-customer-list-table .scheduler-customer-mainline strong,.scheduler-customer-list-table .scheduler-customer-line strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.15;color:#0f172a}
.scheduler-customer-list-table .scheduler-customer-mainline a{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduler-customer-list-table .scheduler-customer-mainline span,.scheduler-customer-list-table .scheduler-customer-line span{display:block;flex:0 1 auto;max-width:46%;margin-top:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:12px;line-height:1.15}
.scheduler-customer-workload{display:flex;gap:5px;align-items:center;min-width:0;overflow:hidden;white-space:nowrap}
.scheduler-customer-workload .scheduler-badge{flex:0 0 auto;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;font-size:11px}
.scheduler-customer-note{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#334155}
.scheduler-customer-list-table .scheduler-row-actions{display:flex;flex-wrap:nowrap;gap:5px;align-items:center}
.scheduler-customer-list-table .scheduler-row-actions .button{white-space:nowrap;min-height:28px;padding:5px 8px;flex:0 0 auto}
.scheduler-customer-actions-cell{min-width:0}
.scheduler-part-cell strong{display:block;color:#0f172a}
@media(max-width:1150px){.scheduler-part-overview{grid-template-columns:1fr}.scheduler-part-add-card{min-height:120px}}
@media(max-width:700px){.scheduler-part-kpis-grid{grid-template-columns:1fr}.scheduler-part-add-card{min-height:auto}}
.scheduler-quote-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px}
.scheduler-quote-financial-summary{margin:0 0 10px;border-color:#cbd5e1}
.scheduler-quote-financial-summary summary{background:#f8fafc}
.scheduler-quote-financial-summary summary>div{min-width:0}
.scheduler-quote-financial-summary summary strong{display:block;font-size:15px}
.scheduler-quote-financial-summary .scheduler-quote-financial-toggle{flex:0 0 auto;margin:0;padding:4px 8px;border:1px solid #bfdbfe;border-radius:5px;background:#eff6ff;color:#1d4ed8;font-size:11px}
.scheduler-quote-financial-summary[open] .scheduler-quote-financial-toggle{font-size:0}
.scheduler-quote-financial-summary[open] .scheduler-quote-financial-toggle::after{content:"Hide";font-size:11px}
.scheduler-quote-financial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #dbe4ef}
.scheduler-quote-financial-grid>div{min-width:0;padding:12px 14px;border-right:1px solid #dbe4ef}
.scheduler-quote-financial-grid>div:last-child{border-right:0}
.scheduler-quote-financial-grid span,.scheduler-quote-financial-grid strong,.scheduler-quote-financial-grid small{display:block}
.scheduler-quote-financial-grid span{color:#64748b;font-size:10px;font-weight:950;text-transform:uppercase}
.scheduler-quote-financial-grid strong{margin-top:3px;color:#0f172a;font-size:20px}
.scheduler-quote-financial-grid small{margin-top:2px;color:#64748b;font-weight:750}
.scheduler-quote-detail-kpis{grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:10px}
.scheduler-quote-detail-kpis .scheduler-kpi{padding:7px 10px}
.scheduler-quote-detail-kpis .scheduler-kpi span{margin-bottom:2px;font-size:10px}
.scheduler-quote-detail-kpis .scheduler-kpi strong{font-size:18px}
.scheduler-quote-detail-kpis .scheduler-kpi small{margin-top:2px;font-size:11px}
.scheduler-quote-hero{padding:10px 12px;margin-bottom:8px}
.scheduler-quote-hero h1{margin-bottom:3px;font-size:23px}
.scheduler-quote-hero p{font-size:13px}
.scheduler-quote-hero .scheduler-actions{gap:6px}
.scheduler-quote-hero .scheduler-actions .button,.scheduler-quote-hero .scheduler-actions button{padding:7px 9px}
.scheduler-quote-setup-grid{display:block;margin-bottom:12px}
.scheduler-quote-detail-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:12px;align-items:start}
.scheduler-quote-detail-grid>*{box-sizing:border-box;min-width:0;max-width:100%}
.scheduler-quote-detail-grid .card{margin-bottom:0}
.scheduler-quote-detail-grid .scheduler-form-grid-tight{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.scheduler-quote-header-card{padding:0;overflow:visible}
.scheduler-quote-header-summary{display:grid;grid-template-columns:24px minmax(170px,.7fr) minmax(420px,1.5fr) auto;gap:10px;align-items:center;min-height:54px;padding:8px 12px;cursor:pointer;list-style:none}
.scheduler-quote-header-summary::-webkit-details-marker{display:none}
.scheduler-quote-header-summary-title,.scheduler-quote-header-summary-title strong,.scheduler-quote-header-summary-title small{display:block;min-width:0}
.scheduler-quote-header-summary-title strong{color:#0f172a;font-size:16px}
.scheduler-quote-header-summary-title small{margin-top:2px;color:#64748b;font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduler-quote-header-summary-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-width:0}
.scheduler-quote-header-summary-facts>span{min-width:0;padding-left:8px;border-left:1px solid #dbe4ef}
.scheduler-quote-header-summary-facts small,.scheduler-quote-header-summary-facts strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduler-quote-header-summary-facts small{color:#64748b;font-size:9px;font-weight:950;text-transform:uppercase}
.scheduler-quote-header-summary-facts strong{margin-top:1px;color:#1e293b;font-size:12px}
.scheduler-quote-header-toggle{display:inline-flex;align-items:center;gap:5px;border:1px solid #bfdbfe;border-radius:6px;background:#eff6ff;color:#1d4ed8;padding:5px 8px;font-size:11px;font-weight:950;white-space:nowrap}
.scheduler-quote-header-toggle::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .14s ease}
.scheduler-quote-header-card[open]>.scheduler-quote-header-summary{border-bottom:1px solid #dbe4ef;background:#f8fbff}
.scheduler-quote-header-card[open] .scheduler-quote-header-toggle::after{transform:rotate(225deg) translate(-1px,-1px)}
.scheduler-quote-header-body{padding:11px 12px 12px}
.scheduler-quote-header-body textarea{min-height:64px}
.scheduler-quote-header-body .scheduler-actions{justify-content:flex-end;margin-top:8px}
.scheduler-quote-create-card .scheduler-section-heading{padding:14px 14px 10px;margin:0;border-bottom:1px solid #e2e8f0;background:#fff}
.scheduler-quote-create-card form{padding:12px 14px 14px}
.scheduler-quote-create-card .scheduler-form-grid-tight{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.scheduler-quote-create-card textarea{min-height:72px}
.scheduler-quote-create-card .scheduler-actions{justify-content:flex-end}
.scheduler-quote-create-card .scheduler-actions button{background:#2563eb;color:#fff;border:1px solid #2563eb;box-shadow:0 8px 18px rgba(37,99,235,.16)}
.scheduler-quote-register-card{margin-bottom:10px}
.scheduler-quote-register-card .scheduler-list-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,580px);align-items:end;gap:16px}
.scheduler-quote-register-title{min-width:0}
.scheduler-quote-register-card .scheduler-inline-filter{display:grid;grid-template-columns:minmax(180px,1fr) 160px auto auto;gap:7px;align-items:end;width:100%}
.scheduler-quote-register-card .scheduler-inline-filter input,.scheduler-quote-register-card .scheduler-inline-filter select{min-width:0}
.scheduler-quote-register-card .scheduler-tight-scroll{max-height:none;overflow-x:auto}
.scheduler-quote-rev{font-size:18px;color:#64748b;font-weight:900}
.scheduler-inline-filter{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.scheduler-inline-filter input{min-width:220px}.scheduler-inline-filter select{min-width:150px}
.scheduler-quote-table{min-width:880px}.scheduler-quote-lines-table{min-width:1120px}
.scheduler-quote-table td,.scheduler-quote-lines-table td{vertical-align:middle}
.scheduler-quote-review-alert{display:flex;justify-content:space-between;gap:14px;align-items:center;border-color:#fecaca;background:#fff7ed;margin-bottom:10px}
.scheduler-quote-review-alert h2{margin:6px 0 4px;color:#7f1d1d}.scheduler-quote-review-alert p{margin:0;color:#7c2d12;font-weight:800}
.scheduler-acceptance-status{margin-bottom:10px;border-left:4px solid #64748b;background:#fff}.scheduler-acceptance-status h2{margin:7px 0 3px;font-size:17px}.scheduler-acceptance-status p{margin:0;color:#475569}.scheduler-acceptance-status.is-accepted{border-color:#22c55e;background:#f0fdf4}.scheduler-acceptance-status.is-pending{border-color:#3b82f6;background:#eff6ff}.scheduler-acceptance-status.is-closed{border-color:#f59e0b;background:#fffbeb}
.scheduler-fast-estimate-card{padding:12px 14px;border-color:#93c5fd;box-shadow:inset 0 3px 0 #2563eb,0 8px 22px rgba(15,23,42,.06)}
.scheduler-fast-estimate-card .scheduler-section-heading{margin-bottom:7px}
.scheduler-fast-estimate-card .scheduler-section-heading h2{margin-bottom:2px;font-size:20px}
.scheduler-fast-estimate-card .scheduler-section-heading p{margin:0;font-size:12px}
.scheduler-fast-estimate-form{padding-top:0}
.scheduler-fast-estimate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;align-items:end}
.scheduler-estimate-part-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.scheduler-fast-estimate-form>.scheduler-full-label{margin-top:6px}
.scheduler-estimate-input-band{margin-top:7px;padding:8px 9px;border:1px solid #d8e0ec;border-radius:6px;background:#f8fafc}
.scheduler-estimate-input-band .scheduler-fast-estimate-grid{grid-template-columns:minmax(240px,1.25fr) repeat(4,minmax(130px,.8fr))}
.scheduler-estimate-band-heading{display:flex;align-items:baseline;gap:9px;margin-bottom:6px}.scheduler-estimate-band-heading strong{color:#0f172a;font-size:14px}.scheduler-estimate-band-heading span{color:#64748b;font-size:12px;font-weight:750}
.scheduler-estimated-hours-panel{margin-top:7px;padding:8px 9px;border:1px solid #93c5fd;border-radius:6px;background:#f8fbff}
.scheduler-estimated-hours-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.scheduler-estimated-hours-heading strong,.scheduler-estimated-hours-heading span{display:block}.scheduler-estimated-hours-heading strong{color:#0f172a;font-size:15px}.scheduler-estimated-hours-heading span{margin-top:2px;color:#526176;font-size:12px;font-weight:750}
.scheduler-route-load-note{display:inline-block;margin-top:4px;border-left:3px solid #60a5fa;padding-left:6px;color:#334155;font-size:10px;font-weight:850;line-height:1.2}
.scheduler-estimated-hour-columns,.scheduler-estimated-hour-row{grid-template-columns:28px minmax(100px,.8fr) minmax(120px,1fr) minmax(125px,1fr) minmax(70px,.58fr) minmax(70px,.58fr) minmax(85px,.65fr) minmax(130px,1fr) auto}
.scheduler-estimated-hour-columns{display:grid;gap:7px;padding:0 7px 3px;color:#64748b;font-size:9px;font-weight:950;text-transform:uppercase}
.scheduler-estimated-hour-rows{display:grid;gap:5px}
.scheduler-estimated-hour-row{display:grid;gap:7px;align-items:center;padding:5px 7px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;min-width:0}
.scheduler-estimated-hour-row>label{min-width:0}.scheduler-estimated-hour-row input,.scheduler-estimated-hour-row select{min-width:0;width:100%}
.scheduler-estimated-hour-row>label{font-size:0}
.scheduler-estimated-hour-row input,.scheduler-estimated-hour-row select{height:34px;padding:6px 8px;border-radius:6px;font-size:12px}
.scheduler-operation-sequence{display:grid;place-items:center;width:26px;height:26px;align-self:center;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:950}
.scheduler-operation-rate-preview{align-self:stretch;display:grid;align-content:center;min-width:0;padding:6px 8px;border:1px solid #dbe4ef;border-radius:5px;background:#f8fafc}.scheduler-operation-rate-preview strong,.scheduler-operation-rate-preview span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scheduler-operation-rate-preview strong{color:#1e3a5f;font-size:12px}.scheduler-operation-rate-preview span{margin-top:2px;color:#64748b;font-size:11px;font-weight:750}
.scheduler-operation-remove{align-self:center;white-space:nowrap}
.scheduler-estimated-hour-row.is-vendor{border-color:#bae6fd;background:#f0f9ff}.scheduler-estimated-hour-row.is-vendor .scheduler-estimated-hour-input{display:none}.scheduler-estimated-hour-row.is-vendor .scheduler-operation-rate-preview{grid-column:5/9;background:#fff}
.scheduler-estimate-overrides,.scheduler-manual-line-panel,.scheduler-operation-breakdown{margin-top:8px;border-top:1px solid #dbe4ef;padding-top:7px}
.scheduler-estimate-overrides summary,.scheduler-manual-line-panel summary,.scheduler-operation-breakdown summary{cursor:pointer;color:#1e3a5f;font-weight:900;list-style-position:inside}
.scheduler-estimate-overrides[open] summary,.scheduler-manual-line-panel[open] summary,.scheduler-operation-breakdown[open] summary{margin-bottom:10px}
.scheduler-manual-line-panel form{padding-top:2px}
.scheduler-estimate-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;margin-top:7px;border-top:1px solid #dbe4ef;padding-top:7px}
.scheduler-estimate-footer .scheduler-estimate-overrides{margin:0;border:0;padding:6px 0 0}
.scheduler-fast-estimate-actions{justify-content:flex-end;margin-top:0}
.scheduler-fast-estimate-actions button{background:#2563eb;color:#fff;border-color:#2563eb;box-shadow:0 7px 16px rgba(37,99,235,.18)}
.scheduler-estimate-input-band .scheduler-fast-estimate-grid,.scheduler-manual-line-panel .scheduler-form-grid{align-items:start}.scheduler-material-picker{position:relative;display:grid;gap:5px;min-width:0;align-self:start}.scheduler-material-picker.is-open{z-index:40}.scheduler-material-picker>label{color:#334155;font-size:12px;font-weight:850}.scheduler-material-picker input[type="search"]{min-width:0;width:100%;background:#fff}.scheduler-material-results{position:absolute;left:0;right:0;top:61px;z-index:50;max-height:310px;overflow:auto;padding:5px;border:1px solid #93c5fd;border-radius:7px;background:#fff;box-shadow:0 14px 30px rgba(15,23,42,.2)}
.scheduler-material-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 9px;border:0;border-bottom:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#0f172a;text-align:left;box-shadow:none}.scheduler-material-option:last-child{border-bottom:0}.scheduler-material-option:hover,.scheduler-material-option.is-active{background:#eff6ff;box-shadow:inset 3px 0 0 #2563eb}.scheduler-material-option-main,.scheduler-material-option-main strong,.scheduler-material-option-main small,.scheduler-material-option-inventory,.scheduler-material-option-inventory strong,.scheduler-material-option-inventory small{display:block;min-width:0}.scheduler-material-option-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.scheduler-material-option-main small{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:11px;font-weight:750}.scheduler-material-option-inventory{text-align:right;white-space:nowrap}.scheduler-material-option-inventory strong{font-size:12px}.scheduler-material-option-inventory small{margin-top:2px;color:#64748b;font-size:11px}.scheduler-material-option-inventory strong.is-available{color:#166534}.scheduler-material-option-inventory strong.is-low{color:#92400e}.scheduler-material-option-inventory strong.is-out{color:#991b1b}.scheduler-material-empty{padding:14px 12px;color:#64748b;text-align:center;font-size:12px;font-weight:850}
.scheduler-material-selection{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-height:35px;padding:5px 7px;border:1px solid #bfdbfe;border-radius:6px;background:#eff6ff;transition:opacity .12s ease}.scheduler-material-selection.is-empty{display:none}.scheduler-material-selection>span,.scheduler-material-selection strong,.scheduler-material-selection small{display:block;min-width:0}.scheduler-material-selection strong,.scheduler-material-selection small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scheduler-material-selection strong{color:#1e3a5f;font-size:11px}.scheduler-material-selection small{margin-top:1px;color:#526176;font-size:10px;font-weight:750}.scheduler-material-stock{border-radius:999px;padding:3px 6px;font-size:9px;font-weight:950;text-transform:uppercase;white-space:nowrap}.scheduler-material-stock.is-available{background:#dcfce7;color:#166534}.scheduler-material-stock.is-low{background:#fef3c7;color:#92400e}.scheduler-material-stock.is-out{background:#fee2e2;color:#991b1b}
.scheduler-estimate-detail-row td{padding:0 8px 10px!important;background:#f8fbff}
.scheduler-estimate-detail{border:1px solid #bfdbfe;border-top:0;background:#fff;padding:12px;border-radius:0 0 6px 6px}
.scheduler-estimate-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.scheduler-estimate-detail-head>div{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}
.scheduler-estimate-detail-head small{color:#64748b}
.scheduler-estimate-warning-list{display:grid;gap:4px;margin-top:10px;padding:9px 11px;border:1px solid #fde68a;background:#fffbeb;color:#713f12;border-radius:6px;font-size:12px;font-weight:750}
.scheduler-actual-recommendation{display:grid;grid-template-columns:minmax(190px,.36fr) minmax(0,1fr);gap:14px;margin-top:10px;padding:10px 12px;border:1px solid #cbd5e1;border-left:4px solid #0f766e;background:#f8fafc;border-radius:6px}
.scheduler-actual-recommendation span{display:block;color:#0f766e;font-size:10px;font-weight:950;text-transform:uppercase}
.scheduler-actual-recommendation strong{display:block;margin-top:2px;color:#0f172a}
.scheduler-actual-recommendation small{display:block;color:#64748b;margin-top:3px}
.scheduler-actual-recommendation p{margin:0 0 3px;color:#334155;font-size:12px;font-weight:750}
.scheduler-quantity-breaks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:10px}
.scheduler-quantity-break{margin:0;min-width:0}
.scheduler-quantity-break button{display:grid;width:100%;min-height:70px;text-align:left;align-content:center;gap:3px;padding:8px 10px;background:#fff;color:#1e3a5f;border:1px solid #cbd5e1;border-radius:6px;box-shadow:none}
.scheduler-quantity-break button:hover{border-color:#60a5fa;background:#eff6ff}
.scheduler-quantity-break button span{font-size:11px;font-weight:950;text-transform:uppercase;color:#475569}
.scheduler-quantity-break button strong{font-size:15px;color:#0f172a}
.scheduler-quantity-break button small{font-size:11px;color:#64748b}
.scheduler-quantity-break.is-selected button{border:2px solid #2563eb;background:#eff6ff;cursor:default}
.scheduler-quantity-break.is-selected button span,.scheduler-quantity-break.is-selected button strong{color:#1d4ed8}
.scheduler-operation-breakdown .scheduler-table{min-width:850px}
.scheduler-quote-rate-card{margin-top:12px;border-color:#93c5fd;box-shadow:inset 0 3px 0 #2563eb,0 8px 22px rgba(15,23,42,.06)}
.scheduler-quote-rate-form{padding:2px 0 14px;border-bottom:1px solid #dbe4ef;margin-bottom:8px}
.scheduler-quote-rate-form .scheduler-actions{justify-content:flex-end;margin-top:12px}
.scheduler-quote-rate-form .scheduler-actions button{background:#2563eb;color:#fff;border-color:#2563eb}
.scheduler-rate-rule-table{min-width:900px}
.quote-response-page{margin:0;background:#eef3f8;color:#0f172a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.quote-response-shell{width:min(980px,calc(100% - 28px));margin:24px auto 50px}
.quote-response-brand{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.quote-response-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:#2563eb;color:#fff;font-size:20px;font-weight:950}
.quote-response-brand strong,.quote-response-brand span{display:block}.quote-response-brand strong{font-size:16px}.quote-response-brand span{font-size:11px;color:#64748b;font-weight:750}
.quote-response-header,.quote-response-lines,.quote-response-form,.quote-response-complete{background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 8px 24px rgba(15,23,42,.07)}
.quote-response-header{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:20px;align-items:center;padding:24px;border-top:4px solid #2563eb}
.quote-response-header h1{margin:10px 0 4px;font-size:26px}.quote-response-header p{margin:0;color:#475569}
.quote-response-total{padding-left:20px;border-left:1px solid #dbe4ef}.quote-response-total span,.quote-response-total strong,.quote-response-total small{display:block}.quote-response-total span{font-size:10px;font-weight:950;text-transform:uppercase;color:#64748b}.quote-response-total strong{font-size:28px;margin:3px 0}.quote-response-total small{color:#475569}
.quote-response-message{display:flex;gap:9px;align-items:center;margin:12px 0;padding:11px 13px;border:1px solid;border-radius:6px}.quote-response-message strong,.quote-response-message span{display:block}.quote-response-message.is-error{background:#fff7ed;border-color:#fdba74;color:#9a3412}.quote-response-message.is-success{background:#ecfdf5;border-color:#86efac;color:#166534}
.quote-response-lines,.quote-response-form,.quote-response-complete{margin-top:12px;padding:20px}
.quote-response-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;padding-bottom:10px;border-bottom:1px solid #dbe4ef}.quote-response-section-head h2{margin:0;font-size:18px}.quote-response-section-head p{margin:0;color:#64748b;font-size:12px}
.quote-response-line{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(300px,1fr);gap:18px;align-items:end;padding:14px 0;border-bottom:1px solid #e2e8f0}.quote-response-line:last-child{border-bottom:0;padding-bottom:0}.quote-response-line>div>span{font-size:10px;text-transform:uppercase;font-weight:950;color:#64748b}.quote-response-line h3{margin:2px 0;font-size:17px}.quote-response-line p{margin:0;color:#64748b;font-size:12px}.quote-response-line label,.quote-response-form label{display:grid;gap:5px;font-size:12px;font-weight:850;color:#334155}.quote-response-line select,.quote-response-form input,.quote-response-form textarea{width:100%;box-sizing:border-box;border:1px solid #b8c5d5;border-radius:6px;background:#fff;padding:10px;color:#0f172a}.quote-response-line-price{text-align:right}.quote-response-line-price strong{display:block;font-size:18px}.quote-response-line-price small{display:block;color:#64748b}
.quote-response-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:13px 0}.quote-response-form label span{font-weight:600;color:#64748b}.quote-response-disclaimer{font-size:11px;line-height:1.45;color:#64748b;margin:12px 0}.quote-response-actions{display:flex;justify-content:flex-end;gap:8px}.quote-response-actions button{border-radius:6px;padding:10px 15px;font-weight:900}.quote-response-decline{background:#fff;color:#991b1b;border:1px solid #fca5a5}.quote-response-accept{background:#166534;color:#fff;border:1px solid #166534}
.quote-response-complete{text-align:center;padding:34px}.quote-response-complete h2{margin:9px 0 4px}.quote-response-complete p{margin:4px 0;color:#475569}.quote-response-shell footer{text-align:center;margin-top:16px;color:#64748b;font-size:11px}
@media(max-width:700px){.quote-response-shell{width:min(100% - 18px,980px);margin-top:12px}.quote-response-header,.quote-response-line,.quote-response-fields{grid-template-columns:1fr}.quote-response-total{padding:12px 0 0;border-left:0;border-top:1px solid #dbe4ef}.quote-response-section-head{display:grid}.quote-response-actions{display:grid}.quote-response-actions button{width:100%}}
.scheduler-quote-review-alert form{margin:0}.scheduler-quote-send-card,.scheduler-quote-convert-card{margin-top:12px}.scheduler-quote-revision-log{margin-top:12px}
.scheduler-quote-send-card{border-color:#93c5fd;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 10px 28px rgba(15,23,42,.08),inset 0 3px 0 #2563eb}
.scheduler-quote-send-card .muted{color:#334155}
.scheduler-quote-send-card textarea,.scheduler-quote-send-card input{background:#fff}
.scheduler-send-quote-button{background:#1e40af;color:#fff;border:1px solid #1e3a8a;box-shadow:0 8px 18px rgba(30,64,175,.22)}
.scheduler-send-quote-button:hover,.scheduler-send-quote-button:focus{background:#172554;color:#fff;border-color:#172554}
.scheduler-po-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}.scheduler-po-summary>div{border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:9px 10px;min-width:0}.scheduler-po-summary span{display:block;font-size:11px;font-weight:950;text-transform:uppercase;color:#64748b}.scheduler-po-summary strong{display:block;margin-top:2px;color:#0f172a;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scheduler-po-summary small{display:block;margin-top:2px;color:#64748b;font-weight:780}
.scheduler-release-readiness{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}.scheduler-release-check{border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:9px 10px;min-width:0}.scheduler-release-check span{display:inline-flex;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:950;text-transform:uppercase}.scheduler-release-check strong{display:block;margin-top:6px;color:#0f172a}.scheduler-release-check small{display:block;margin-top:2px;color:#64748b;font-weight:780;line-height:1.35;overflow-wrap:anywhere}.scheduler-release-check.is-ready{border-color:#bbf7d0;background:#f8fff9}.scheduler-release-check.is-ready span{background:#dcfce7;color:#166534}.scheduler-release-check.is-blocked{border-color:#fed7aa;background:#fff7ed}.scheduler-release-check.is-blocked span{background:#ffedd5;color:#9a3412}
.scheduler-po-warning{border:1px solid #f59e0b;background:#fffbeb;color:#92400e;border-radius:8px;padding:10px;margin:10px 0}.scheduler-po-warning strong,.scheduler-po-warning span{display:block}.scheduler-po-warning span{font-size:13px;font-weight:800;margin-top:2px}.scheduler-po-ack{margin-top:8px}
.scheduler-quote-revision-summary{justify-content:flex-start!important;align-items:flex-start!important}
.scheduler-quote-revision-summary .scheduler-step-heading-number{display:inline-flex;color:#fff;font-size:12px;font-weight:950;margin-top:0}
.scheduler-quote-revision-summary>div{min-width:0;flex:1}.scheduler-quote-revision-summary strong{display:block;font-size:15px}
@media(max-width:1150px){.scheduler-quote-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-quote-detail-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.scheduler-quote-create-card .scheduler-form-grid-tight,.scheduler-quote-detail-grid .scheduler-form-grid-tight{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-quote-register-card .scheduler-list-head{grid-template-columns:1fr}.scheduler-quantity-breaks{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.scheduler-quote-header-summary{grid-template-columns:24px minmax(0,1fr) auto}.scheduler-quote-header-summary-facts{grid-column:2/4;grid-template-columns:repeat(4,minmax(0,1fr))}.scheduler-quote-header-summary-facts>span:first-child{padding-left:0;border-left:0}.scheduler-fast-estimate-grid,.scheduler-estimate-input-band .scheduler-fast-estimate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-estimated-hour-columns{display:none}.scheduler-estimated-hour-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;padding:8px}.scheduler-estimated-hour-row>label{font-size:12px}.scheduler-operation-rate-preview{grid-column:1/3}.scheduler-estimated-hour-row.is-vendor .scheduler-operation-rate-preview{grid-column:1/4}}
@media(max-width:700px){.scheduler-quote-kpis,.scheduler-quote-financial-grid,.scheduler-po-summary,.scheduler-release-readiness,.scheduler-fast-estimate-grid,.scheduler-estimate-input-band .scheduler-fast-estimate-grid,.scheduler-quantity-breaks,.scheduler-actual-recommendation{grid-template-columns:1fr}.scheduler-quote-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-quote-financial-grid>div{border-right:0;border-bottom:1px solid #dbe4ef}.scheduler-quote-financial-grid>div:last-child{border-bottom:0}.scheduler-inline-filter,.scheduler-quote-register-card .scheduler-inline-filter{display:grid;grid-template-columns:1fr}.scheduler-inline-filter input,.scheduler-inline-filter select,.scheduler-inline-filter button,.scheduler-inline-filter .button{width:100%;min-width:0}.scheduler-quote-create-card .scheduler-form-grid-tight,.scheduler-quote-detail-grid .scheduler-form-grid-tight{grid-template-columns:1fr}.scheduler-quote-header-summary-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-quote-header-summary-facts>span:nth-child(3){padding-left:0;border-left:0}.scheduler-quote-review-alert,.scheduler-estimate-detail-head{display:grid}.scheduler-estimate-band-heading,.scheduler-estimated-hours-heading{display:grid}.scheduler-estimated-hours-heading button{width:100%}.scheduler-estimate-footer{grid-template-columns:1fr}.scheduler-estimated-hour-row{grid-template-columns:28px minmax(0,1fr)}.scheduler-estimated-hour-row>label,.scheduler-operation-rate-preview,.scheduler-estimated-hour-row.is-vendor .scheduler-operation-rate-preview,.scheduler-operation-remove{grid-column:2}.scheduler-operation-remove{width:100%}}
.scheduler-page-kicker{margin:0 0 2px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.05em;color:#64748b}
.scheduler-quote-worksheet{margin:0;padding:12px 0;border-top:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;background:#fff;box-shadow:none}
.scheduler-quote-worksheet>.scheduler-section-heading,.scheduler-quote-worksheet>.scheduler-fast-estimate-form,.scheduler-quote-worksheet>.scheduler-manual-line-panel{margin-left:12px;margin-right:12px}
.scheduler-quote-worksheet>.scheduler-fast-estimate-form{min-width:0;max-width:calc(100% - 24px)}
.scheduler-quote-worksheet .scheduler-estimated-hours-panel{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow:auto;max-height:58vh;padding:0;border:1px solid #aebdce;border-radius:3px;background:#fff}
.scheduler-quote-worksheet .scheduler-estimated-hours-heading{position:sticky;left:0;top:0;z-index:6;padding:8px 9px;border-bottom:1px solid #cbd5e1;background:#eef3f8}
.scheduler-quote-worksheet .scheduler-estimated-hours-heading>*{min-width:0}
.scheduler-quote-worksheet .scheduler-estimated-hour-columns,.scheduler-quote-worksheet .scheduler-estimated-hour-row{grid-template-columns:30px 105px 150px 145px 72px 86px 82px 82px 82px 86px 150px 130px}
.scheduler-quote-worksheet .scheduler-estimated-hour-columns{position:sticky;top:54px;z-index:5;min-width:1200px;gap:0;padding:5px 7px;border-bottom:1px solid #94a3b8;background:#e8eef5;color:#334155;letter-spacing:0}
.scheduler-quote-worksheet .scheduler-estimated-hour-columns>span{padding:0 4px;border-right:1px solid #cbd5e1;overflow-wrap:anywhere}
.scheduler-quote-worksheet .scheduler-estimated-hour-rows{gap:0;min-width:1200px}
.scheduler-quote-worksheet .scheduler-estimated-hour-row{gap:0;border:0;border-bottom:1px solid #cbd5e1;border-radius:0;padding:0 7px;background:#fff}
.scheduler-quote-worksheet .scheduler-estimated-hour-row:focus-within{box-shadow:inset 3px 0 #2563eb;background:#f8fbff}
.scheduler-quote-worksheet .scheduler-estimated-hour-row>label,.scheduler-quote-worksheet .scheduler-calculated-cell,.scheduler-quote-worksheet .scheduler-operation-rate-preview,.scheduler-quote-worksheet .scheduler-operation-row-actions{padding:3px;border-right:1px solid #e2e8f0}
.scheduler-quote-worksheet .scheduler-estimated-hour-row input,.scheduler-quote-worksheet .scheduler-estimated-hour-row select{height:30px;border-radius:2px;border-color:#b8c5d5;padding:4px 6px;background:#fff}
.scheduler-quote-worksheet .scheduler-calculated-cell{display:grid;align-content:center;height:36px;background:#f1f5f9;color:#0f172a;text-align:right}.scheduler-calculated-cell span{font-weight:900}.scheduler-calculated-cell small{font-size:8px;color:#64748b}
.scheduler-quote-worksheet .scheduler-operation-rate-preview{min-height:36px;border:0;border-radius:0;background:#f1f5f9;padding:3px 6px}
.scheduler-quote-worksheet .scheduler-operation-row-actions{display:flex;gap:3px;align-items:center}.scheduler-quote-worksheet .scheduler-operation-row-actions button{padding:5px 6px;font-size:10px}
.scheduler-quote-worksheet .scheduler-operation-sequence{position:sticky;left:0;z-index:3;border-radius:2px;cursor:grab;background:#dbe4ef;color:#1e3a5f}
.scheduler-operation-detail{grid-column:1/-1;display:grid;gap:5px;padding:6px 8px 8px 38px;border-top:1px solid #dbe4ef;background:#f8fafc}
.scheduler-operation-detail-toolbar{display:grid;grid-template-columns:170px 180px minmax(260px,1fr) auto;gap:7px;align-items:end}.scheduler-operation-detail-toolbar label{font-size:10px;font-weight:850;color:#475569}
.scheduler-parametric-heading{align-self:center;min-width:0}.scheduler-parametric-heading strong,.scheduler-parametric-heading span{display:block}.scheduler-parametric-heading strong{color:#0f172a;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.scheduler-parametric-heading span{margin-top:2px;color:#64748b;font-size:9px;font-weight:800}.scheduler-parametric-add{align-self:end;min-height:28px;border:1px solid #1d4ed8!important;border-radius:3px!important;background:#2563eb!important;color:#fff!important;white-space:nowrap}
.scheduler-driver-rows{display:grid;gap:3px}.scheduler-driver-row{display:grid;grid-template-columns:105px 150px repeat(4,74px) 65px 74px 65px 74px auto;gap:3px;align-items:end;padding:4px;border:1px solid #cbd5e1;background:#fff}.scheduler-driver-row label{font-size:9px;font-weight:850;color:#475569}.scheduler-driver-row input,.scheduler-driver-row select{height:28px!important}
.scheduler-driver-summary{min-height:26px;padding:5px 7px;border-left:3px solid #64748b;background:#eef2f6;color:#334155;font-size:11px;font-weight:750}
.scheduler-worksheet-save-state{align-self:center;color:#64748b;font-size:11px;font-weight:800}.scheduler-worksheet-save-state:not(:empty){padding:6px}
@media(max-width:1150px){.scheduler-quote-worksheet .scheduler-estimated-hours-heading{display:grid;grid-template-columns:minmax(0,1fr)}.scheduler-quote-worksheet .scheduler-worksheet-preset-controls{justify-content:flex-start}}
.scheduler-quote-spreadsheet-page{--quote-sheet-border:#cbd5e1;--quote-sheet-header:#e9eef5;--quote-sheet-soft:#f8fafc;--quote-sheet-hover:#f0f6ff;--quote-sheet-text:#0f172a;--quote-sheet-muted:#64748b}
.scheduler-quote-spreadsheet-page .scheduler-quote-hero{border-radius:6px;box-shadow:none}
.scheduler-quote-sheet-metrics{gap:0;border:1px solid var(--quote-sheet-border);border-radius:4px;overflow:hidden;background:#fff}
.scheduler-quote-sheet-metrics .scheduler-kpi{min-width:0;margin:0;padding:8px 11px;border:0;border-right:1px solid #dbe2ea;border-radius:0;background:#fff;box-shadow:none}
.scheduler-quote-sheet-metrics .scheduler-kpi:last-child{border-right:0}
.scheduler-quote-sheet-metrics .scheduler-kpi span{margin:0;color:var(--quote-sheet-muted);font-size:10px;letter-spacing:.04em}
.scheduler-quote-sheet-metrics .scheduler-kpi strong{margin:2px 0 0;color:var(--quote-sheet-text);font-size:18px;line-height:1.1}
.scheduler-quote-sheet-metrics .scheduler-kpi small{margin-top:2px;color:#526176;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scheduler-quote-entry-sheet,.scheduler-quote-sheet,.scheduler-quote-sheet-panel{padding:0;border-radius:4px;overflow:hidden;box-shadow:none}
.scheduler-quote-entry-sheet>summary{cursor:pointer;list-style:none}.scheduler-quote-entry-sheet>summary::-webkit-details-marker{display:none}
.scheduler-quote-entry-sheet .scheduler-section-heading{padding:9px 11px;margin:0;border-bottom:1px solid var(--quote-sheet-border);background:var(--quote-sheet-soft)}
.scheduler-quote-entry-sheet .scheduler-section-heading h2{font-size:17px}
.scheduler-quote-entry-sheet:not([open]) .scheduler-section-heading{border-bottom:0;background:#eff6ff}.scheduler-quote-entry-sheet[open] .scheduler-section-heading{background:var(--quote-sheet-header)}
.scheduler-quote-add-trigger{display:inline-flex;align-items:center;justify-content:center;min-width:82px;padding:7px 10px;border:1px solid #1d4ed8;border-radius:4px;background:#2563eb;color:#fff;font-size:11px;font-weight:950;white-space:nowrap;box-shadow:0 5px 12px rgba(37,99,235,.16)}
.scheduler-quote-entry-sheet>summary .scheduler-step-heading-number{display:inline-flex;color:#fff;font-size:12px;font-weight:950;line-height:1;margin-top:0}
.scheduler-quote-entry-sheet>summary .scheduler-quote-add-trigger{display:inline-flex;color:#fff;font-size:11px;font-weight:950;line-height:1;margin-top:0}
.scheduler-quote-entry-sheet .scheduler-quote-sheet-form{padding:0}
.scheduler-quote-sheet-form>.scheduler-form-grid,.scheduler-quote-sheet-inputs{gap:0!important;align-items:stretch!important;border:1px solid var(--quote-sheet-border);border-radius:3px;background:#fff;overflow:visible}
.scheduler-quote-entry-sheet .scheduler-quote-sheet-form>.scheduler-form-grid{border-width:0 0 1px}
.scheduler-quote-sheet-form>.scheduler-form-grid>label,.scheduler-quote-sheet-form>.scheduler-form-grid>.scheduler-probability-control,.scheduler-quote-sheet-inputs>label,.scheduler-quote-sheet-inputs>.scheduler-material-picker{box-sizing:border-box;min-width:0;margin:0;padding:5px 7px 7px;border-right:1px solid #dbe2ea;border-bottom:1px solid #dbe2ea;background:var(--quote-sheet-header);color:#475569;font-size:9px;font-weight:950;line-height:1.15;text-transform:uppercase;letter-spacing:.04em}
.scheduler-quote-sheet-form>.scheduler-form-grid input,.scheduler-quote-sheet-form>.scheduler-form-grid select,.scheduler-quote-sheet-inputs input,.scheduler-quote-sheet-inputs select{width:100%;height:32px;min-width:0;margin-top:4px;padding:5px 7px;border:1px solid #aebdce;border-radius:2px;background:#fff;color:var(--quote-sheet-text);font-size:12px;font-weight:600;text-transform:none;letter-spacing:0}
.scheduler-quote-sheet-form .scheduler-probability-toggle{display:inline-flex;align-items:center;gap:5px;font-size:9px}.scheduler-quote-sheet-form .scheduler-probability-toggle input[type="checkbox"]{width:14px;height:14px;margin:0;padding:0}
.scheduler-quote-sheet-inputs select[multiple]{height:58px}
.scheduler-quote-sheet-inputs>.scheduler-material-picker{display:block;align-self:stretch}
.scheduler-quote-sheet-inputs>.scheduler-material-picker>label{display:block;color:#475569;font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.scheduler-quote-sheet-inputs>.scheduler-material-picker input[type="search"]{margin-top:4px}
.scheduler-quote-sheet-form>.scheduler-full-label,.scheduler-quote-entry-sheet .scheduler-full-label{display:block;margin:0;padding:7px 10px;background:#fff;color:#475569;font-size:10px;font-weight:900;text-transform:uppercase}
.scheduler-quote-sheet-form>.scheduler-full-label textarea,.scheduler-quote-entry-sheet .scheduler-full-label textarea{min-height:58px;margin-top:4px;border-radius:2px;background:#fff;color:var(--quote-sheet-text);font-size:12px;font-weight:600;text-transform:none}
.scheduler-quote-entry-sheet .scheduler-actions{margin:0;padding:8px 10px;border-top:1px solid var(--quote-sheet-border);background:var(--quote-sheet-soft)}
.scheduler-quote-header-card{border-color:var(--quote-sheet-border)}
.scheduler-quote-header-summary{border-radius:0;background:var(--quote-sheet-soft)}
.scheduler-quote-header-card[open]>.scheduler-quote-header-summary{background:var(--quote-sheet-header)}
.scheduler-quote-header-body{padding:0;background:#fff}
.scheduler-quote-header-body .scheduler-quote-sheet-form>.scheduler-form-grid{border-width:0 0 1px}
.scheduler-quote-header-body .scheduler-quote-sheet-form>.scheduler-full-label{border-bottom:1px solid #dbe2ea}
.scheduler-quote-header-body .scheduler-actions{margin:0;padding:8px 10px;border-top:1px solid var(--quote-sheet-border);background:var(--quote-sheet-soft)}
.scheduler-quote-grid-toolbar{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(500px,720px) auto!important;gap:12px!important;align-items:end!important;padding:10px 12px!important;border-bottom:1px solid var(--quote-sheet-border);background:var(--quote-sheet-soft)}
.scheduler-quote-grid-toolbar .scheduler-step-heading{margin:0}
.scheduler-quote-grid-toolbar .scheduler-step-heading h2{margin:0 0 2px;font-size:17px}
.scheduler-quote-grid-toolbar .scheduler-step-heading p{margin:0;font-size:11px}
.scheduler-quote-register-card .scheduler-inline-filter{display:grid;grid-template-columns:minmax(180px,1fr) 150px 62px 58px;gap:6px;align-items:end;width:100%}
.scheduler-quote-register-card .scheduler-inline-filter>*{min-width:0}
body.bear-app-ui .topnav-main .scheduler-quote-register-card form.scheduler-quote-register-filter.app-auto-grid{display:grid!important;grid-template-columns:minmax(180px,1fr) 150px 62px 58px!important;gap:6px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
body.bear-app-ui .topnav-main .scheduler-quote-register-card form.scheduler-quote-register-filter.app-auto-grid>label{display:block;padding:0!important;border:0!important}
body.bear-app-ui .topnav-main .scheduler-quote-register-card form.scheduler-quote-register-filter.app-auto-grid>button,body.bear-app-ui .topnav-main .scheduler-quote-register-card form.scheduler-quote-register-filter.app-auto-grid>.button{align-self:end;margin:0!important}
.scheduler-quote-register-card .scheduler-inline-filter label{display:block;min-width:0;margin:0;color:#475569;font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.scheduler-quote-register-card .scheduler-inline-filter label span{display:block;margin-bottom:3px}
.scheduler-quote-register-card .scheduler-inline-filter input,.scheduler-quote-register-card .scheduler-inline-filter select{width:100%;height:33px;min-width:0;border:1px solid #94a3b8;border-radius:3px;background:#fff;padding:5px 8px;color:var(--quote-sheet-text);font-size:12px;text-transform:none;letter-spacing:0}
.scheduler-quote-register-card .scheduler-inline-filter button,.scheduler-quote-register-card .scheduler-inline-filter .button{height:33px;padding:6px 9px;border-radius:3px;font-size:11px}
.scheduler-quote-grid-count{display:flex;align-items:baseline;justify-content:flex-end;gap:5px;min-width:70px;padding-bottom:7px;color:var(--quote-sheet-muted)}
.scheduler-quote-grid-count strong{color:var(--quote-sheet-text);font-size:18px}.scheduler-quote-grid-count span{font-size:11px;font-weight:850}
.scheduler-quote-grid-wrap{max-height:max(360px,calc(100vh - 410px));margin:0;overflow:auto;background:#fff}
.scheduler-quote-grid-table{width:100%;min-width:940px;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed;font-size:12px}
.scheduler-quote-grid-table th{position:sticky;top:0;z-index:4;height:35px;padding:0!important;border:0!important;border-right:1px solid var(--quote-sheet-border)!important;border-bottom:1px solid #94a3b8!important;background:var(--quote-sheet-header)!important;color:#334155!important;text-align:left}
.scheduler-quote-grid-table th button{display:flex;width:100%;height:34px;align-items:center;justify-content:space-between;border:0;border-radius:0;background:transparent;color:inherit;padding:7px 8px;font-size:10px;font-weight:950;text-align:left;text-transform:uppercase;letter-spacing:.04em;box-shadow:none}
.scheduler-quote-grid-table th button:after{content:"\2195";color:#64748b;font-size:12px}.scheduler-quote-grid-table th[aria-sort="ascending"] button:after{content:"\25B2";color:#1d4ed8}.scheduler-quote-grid-table th[aria-sort="descending"] button:after{content:"\25BC";color:#1d4ed8}
.scheduler-quote-lines-table th,.scheduler-quote-actions-head{padding:7px 8px!important;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.scheduler-quote-grid-table td{height:41px;padding:5px 7px!important;border:0!important;border-right:1px solid #dbe2ea!important;border-bottom:1px solid #dbe2ea!important;background:#fff!important;color:var(--quote-sheet-text);vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scheduler-quote-grid-table tbody tr:nth-child(even)>td{background:var(--quote-sheet-soft)!important}.scheduler-quote-grid-table tbody tr:hover>td{background:var(--quote-sheet-hover)!important}
.scheduler-quote-grid-table th:first-child,.scheduler-quote-grid-table td:first-child{position:sticky;left:0;z-index:5}.scheduler-quote-grid-table td:first-child{z-index:2;background:#fff!important}.scheduler-quote-grid-table tbody tr:nth-child(even)>td:first-child{background:var(--quote-sheet-soft)!important}.scheduler-quote-grid-table tbody tr:hover>td:first-child{background:var(--quote-sheet-hover)!important}
.scheduler-quote-grid-table th:last-child,.scheduler-quote-grid-table td:last-child{position:sticky;right:0;z-index:5}.scheduler-quote-grid-table td:last-child{z-index:2;background:#fff!important}.scheduler-quote-grid-table tbody tr:nth-child(even)>td:last-child{background:var(--quote-sheet-soft)!important}.scheduler-quote-grid-table tbody tr:hover>td:last-child{background:var(--quote-sheet-hover)!important}
.scheduler-quote-grid-table .scheduler-primary-cell strong,.scheduler-quote-grid-table .scheduler-primary-cell span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis}.scheduler-quote-grid-table .scheduler-primary-cell span,.scheduler-quote-grid-table .small{color:#64748b;font-size:10px}
.scheduler-quote-grid-table .button.small,.scheduler-quote-grid-table button.small{height:27px;padding:4px 7px;border-radius:3px;font-size:10px}
.scheduler-quote-table th:nth-child(1){width:190px}.scheduler-quote-table th:nth-child(2){width:220px}.scheduler-quote-table th:nth-child(3){width:135px}.scheduler-quote-table th:nth-child(4){width:130px}.scheduler-quote-table th:nth-child(5){width:85px}.scheduler-quote-table th:nth-child(6){width:110px}.scheduler-quote-table th:nth-child(7){width:90px}.scheduler-quote-table th:nth-child(8){width:82px}
.scheduler-quote-lines-sheet .scheduler-list-head{padding:9px 12px;border-bottom:1px solid var(--quote-sheet-border);background:var(--quote-sheet-soft)}
.scheduler-quote-lines-sheet .scheduler-list-head h2{margin:0 0 2px;font-size:17px}.scheduler-quote-lines-sheet .scheduler-list-head p{margin:0;font-size:11px}
.scheduler-quote-lines-sheet .scheduler-quote-grid-wrap{max-height:52vh}
.scheduler-quote-lines-table{min-width:1180px}.scheduler-quote-lines-table th:nth-child(1){width:42px}.scheduler-quote-lines-table th:nth-child(2){width:210px}.scheduler-quote-lines-table th:nth-child(3){width:65px}.scheduler-quote-lines-table th:nth-child(4){width:205px}.scheduler-quote-lines-table th:nth-child(5){width:190px}.scheduler-quote-lines-table th:nth-child(6){width:135px}.scheduler-quote-lines-table th:nth-child(7){width:75px}.scheduler-quote-lines-table th:nth-child(8){width:120px}.scheduler-quote-lines-table th:nth-child(9){width:85px}
.scheduler-quote-lines-table .scheduler-estimate-detail-row>td{position:static!important;height:auto;padding:0!important;white-space:normal;overflow:visible;background:#f8fafc!important}
.scheduler-quote-lines-table .scheduler-estimate-detail{border-radius:0;border-width:0 0 1px;padding:9px 11px}
.scheduler-quote-worksheet{border-color:var(--quote-sheet-border)}
.scheduler-quote-worksheet>.scheduler-section-heading{padding:0 0 8px;margin-bottom:0}
.scheduler-quote-worksheet .scheduler-estimate-part-grid,.scheduler-quote-worksheet .scheduler-quote-material-inputs{margin-top:0}
.scheduler-quote-worksheet .scheduler-estimate-input-band{margin-top:7px;padding:0;border:0;background:#fff}
.scheduler-quote-worksheet .scheduler-estimate-band-heading{padding:6px 8px;border:1px solid var(--quote-sheet-border);border-bottom:0;background:var(--quote-sheet-header)}
.scheduler-quote-worksheet .scheduler-estimate-band-heading strong{font-size:11px;text-transform:uppercase;letter-spacing:.04em}.scheduler-quote-worksheet .scheduler-estimate-band-heading span{font-size:10px}
.scheduler-quote-worksheet .scheduler-estimated-hours-panel{border-color:#94a3b8;box-shadow:none}
.scheduler-quote-worksheet .scheduler-estimated-hours-heading{background:var(--quote-sheet-soft)}
.scheduler-quote-worksheet .scheduler-estimated-hour-columns{background:var(--quote-sheet-header)}
.scheduler-quote-worksheet .scheduler-estimated-hour-row:nth-child(even){background:var(--quote-sheet-soft)}
.scheduler-quote-worksheet .scheduler-estimated-hour-row:hover{background:var(--quote-sheet-hover)}
.scheduler-quote-spreadsheet-page .scheduler-quote-worksheet .scheduler-estimated-hour-row>label{font-size:0!important;line-height:0!important;color:transparent!important}
.scheduler-quote-spreadsheet-page .scheduler-quote-worksheet .scheduler-estimated-hour-row>label input,.scheduler-quote-spreadsheet-page .scheduler-quote-worksheet .scheduler-estimated-hour-row>label select{line-height:1.2;color:var(--quote-sheet-text)}
.scheduler-quote-worksheet .scheduler-estimated-hour-row input,.scheduler-quote-worksheet .scheduler-estimated-hour-row select{border-color:transparent;background:transparent}
.scheduler-quote-worksheet .scheduler-estimated-hour-row input:hover,.scheduler-quote-worksheet .scheduler-estimated-hour-row select:hover{border-color:#cbd5e1;background:#fff}
.scheduler-quote-worksheet .scheduler-estimated-hour-row input:focus,.scheduler-quote-worksheet .scheduler-estimated-hour-row select:focus{border-color:#2563eb;background:#fff;outline:2px solid rgba(37,99,235,.18);outline-offset:-1px}
.scheduler-quote-worksheet .scheduler-estimate-footer{margin-top:0;padding:7px 8px;border:1px solid var(--quote-sheet-border);border-top:0;background:var(--quote-sheet-soft)}
.scheduler-quote-revision-log{border-radius:4px;box-shadow:none}.scheduler-quote-revision-log>summary{background:var(--quote-sheet-soft)}
@media(max-width:1150px){.scheduler-quote-sheet-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-quote-sheet-metrics .scheduler-kpi:nth-child(2n){border-right:0}.scheduler-quote-sheet-metrics .scheduler-kpi:nth-child(-n+2){border-bottom:1px solid #dbe2ea}.scheduler-quote-detail-kpis.scheduler-quote-sheet-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.scheduler-quote-detail-kpis.scheduler-quote-sheet-metrics .scheduler-kpi:nth-child(2n){border-right:1px solid #dbe2ea}.scheduler-quote-detail-kpis.scheduler-quote-sheet-metrics .scheduler-kpi:nth-child(3n){border-right:0}.scheduler-quote-detail-kpis.scheduler-quote-sheet-metrics .scheduler-kpi:nth-child(-n+3){border-bottom:1px solid #dbe2ea}.scheduler-quote-grid-toolbar{grid-template-columns:1fr!important}.scheduler-quote-grid-count{justify-content:flex-start;padding-bottom:0}.scheduler-quote-register-card .scheduler-inline-filter{grid-template-columns:minmax(180px,1fr) 150px 62px 58px}}
@media(max-width:800px){.scheduler-quote-register-card .scheduler-inline-filter,body.bear-app-ui .topnav-main .scheduler-quote-register-card form.scheduler-quote-register-filter.app-auto-grid{grid-template-columns:1fr 150px!important}.scheduler-quote-register-card .scheduler-inline-filter button,.scheduler-quote-register-card .scheduler-inline-filter .button{width:100%}.scheduler-quote-sheet-inputs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.scheduler-quote-grid-wrap{min-height:330px;max-height:calc(100vh - 430px)}.scheduler-quote-worksheet .scheduler-estimated-hours-panel{max-height:54vh}.scheduler-quote-lines-sheet .scheduler-quote-grid-wrap{max-height:48vh}}
@media(max-width:600px){.scheduler-quote-sheet-metrics,.scheduler-quote-detail-kpis.scheduler-quote-sheet-metrics{grid-template-columns:1fr 1fr}.scheduler-quote-detail-kpis.scheduler-quote-sheet-metrics .scheduler-kpi:nth-child(3n){border-right:1px solid #dbe2ea}.scheduler-quote-sheet-metrics .scheduler-kpi:nth-child(2n){border-right:0}.scheduler-quote-sheet-metrics .scheduler-kpi{border-bottom:1px solid #dbe2ea}.scheduler-quote-sheet-metrics .scheduler-kpi:nth-last-child(-n+2){border-bottom:0}.scheduler-quote-register-card .scheduler-inline-filter,body.bear-app-ui .topnav-main .scheduler-quote-register-card form.scheduler-quote-register-filter.app-auto-grid{grid-template-columns:1fr!important}.scheduler-quote-sheet-inputs{grid-template-columns:1fr!important}.scheduler-quote-grid-toolbar{padding:9px!important}}
.scheduler-route-hero{margin-bottom:10px}
.scheduler-route-stat-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 8px}
.scheduler-route-stat-strip div{border:1px solid #d8e0ec;border-radius:8px;background:#fff;padding:9px 11px}
.scheduler-route-stat-strip span{display:block;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.scheduler-route-stat-strip strong{display:block;margin-top:2px;color:#0f172a;font-size:15px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduler-route-progress{height:8px;border-radius:999px;background:#dbe4f0;margin:0 0 10px;overflow:hidden}
.scheduler-route-progress span{display:block;height:100%;border-radius:999px;background:#2563eb}
.route-tracker-header{padding:12px 14px;margin-bottom:10px}
.route-tracker-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.route-tracker-title h1{margin:0 0 3px;font-size:30px;line-height:1.05;color:#0f172a}
.route-tracker-title p{margin:0;color:#526176;line-height:1.35}
.route-tracker-facts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:10px}
.route-tracker-facts div{border:1px solid #d8e0ec;border-radius:8px;background:#f8fafc;padding:8px 10px;min-width:0}
.route-tracker-facts span{display:block;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:0;color:#64748b}
.route-tracker-facts strong{display:block;margin-top:2px;font-size:15px;line-height:1.15;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-tracker-facts small{display:block;margin-top:2px;font-size:12px;font-weight:760;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.route-tracker-progress{height:8px;border-radius:999px;background:#dbe4f0;margin:10px 0 0;overflow:hidden}
.route-tracker-progress span{display:block;height:100%;border-radius:999px;background:#2563eb}
.route-current-card{padding:10px 12px;margin-bottom:10px}
.route-current-main{display:grid;grid-template-columns:minmax(260px,1.15fr) minmax(210px,.7fr) minmax(360px,1.25fr);gap:10px;align-items:center}
.route-current-title{display:flex;gap:10px;align-items:center;min-width:0}
.route-section-label{display:block;margin-bottom:2px;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:0;color:#64748b}
.route-current-title h2{margin:0;font-size:22px;line-height:1.08;color:#0f172a}
.route-current-title p{margin:3px 0 0}
.route-current-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.route-current-metrics div{border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc;padding:8px 10px}
.route-current-metrics span{display:block;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:0;color:#64748b}
.route-current-metrics strong{display:block;margin-top:2px;font-size:18px;line-height:1;color:#0f172a}
.route-current-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.route-current-actions form{margin:0;display:flex;gap:6px;align-items:center}
.route-current-actions input{height:32px;max-width:180px;padding:6px 8px;border-radius:8px;font-size:12px}
.scheduler-closeout-wizard{padding:12px 14px;margin-bottom:10px;border:2px solid #2563eb;border-left-width:5px;box-shadow:0 0 0 3px rgba(37,99,235,.10),0 14px 34px rgba(37,99,235,.12)}
.scheduler-closeout-head{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1fr);gap:14px;align-items:start;margin-bottom:12px}
.scheduler-closeout-head h2{margin:7px 0 4px;font-size:22px;color:#0f172a}
.scheduler-closeout-head p{margin:0}
.scheduler-closeout-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.scheduler-closeout-steps button{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;text-align:left;border:1px solid #d8e0ec;background:#f8fafc;color:#0f172a;border-radius:8px;padding:9px;box-shadow:none}
.scheduler-closeout-steps button span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e2e8f0;color:#334155;font-size:12px;font-weight:950}
.scheduler-closeout-steps button strong{font-size:13px;line-height:1.15}
.scheduler-closeout-steps button.active{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px rgba(37,99,235,.18)}
.scheduler-closeout-steps button.active span{background:#2563eb;color:#fff}
.scheduler-closeout-steps button.complete{border-color:#86efac;background:#f0fdf4}
.scheduler-closeout-steps button.complete span{background:#22c55e;color:#fff}
.scheduler-closeout-panels{display:grid;gap:10px}
.scheduler-closeout-wizard.closeout-ready .scheduler-closeout-panel{display:none}
.scheduler-closeout-wizard.closeout-ready .scheduler-closeout-panel.active{display:block;animation:wizardPanelIn .18s ease-out}
.scheduler-closeout-panel{border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:12px}
.scheduler-closeout-panel h3{margin:0 0 4px;font-size:18px;color:#0f172a}
.scheduler-closeout-panel p{margin:0 0 10px}
.scheduler-closeout-signoff{border:1px solid #d8e0ec;background:#fff;border-radius:8px;padding:12px}
.scheduler-closeout-signoff strong{display:block;color:#0f172a;font-size:16px}
.scheduler-closeout-signoff p{margin:7px 0 10px;color:#475569;line-height:1.4}
.scheduler-closeout-review{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.scheduler-closeout-review div{border:1px solid #d8e0ec;background:#fff;border-radius:8px;padding:10px;min-width:0}
.scheduler-closeout-review span,.scheduler-closeout-review small{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.scheduler-closeout-review strong{display:block;margin:5px 0 2px;color:#0f172a;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.scheduler-closeout-review small{text-transform:none;letter-spacing:0;font-size:12px;line-height:1.3}
.scheduler-closeout-save{margin-top:10px}
.scheduler-closeout-wizard.closeout-ready .scheduler-closeout-save [data-closeout-submit]{display:none}
.scheduler-closeout-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #d8e0ec}
.scheduler-closeout-footer span{font-size:12px;font-weight:950;color:#64748b;text-transform:uppercase;letter-spacing:.05em}
.scheduler-closeout-next-button{min-width:96px;background:#1e40af!important;color:#fff!important;border:1px solid #1e3a8a!important;box-shadow:0 10px 20px rgba(30,64,175,.22)!important}
.scheduler-closeout-next-button:hover,.scheduler-closeout-next-button:focus{background:#172554!important;border-color:#172554!important;color:#fff!important}
.route-list-heading{padding:10px 14px!important}
.route-list-heading h2{margin:0 0 2px;font-size:20px}
.route-list-heading p{margin:0;font-size:13px}
.route-list-column-head{display:grid;grid-template-columns:38px minmax(180px,1fr) 135px 86px 120px;gap:10px;align-items:center;padding:7px 12px;border-bottom:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:0}
@media(max-width:1200px){
  .route-tracker-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .route-current-main{grid-template-columns:1fr 220px}
  .route-current-actions{grid-column:1/-1;justify-content:flex-start}
  .scheduler-closeout-head{grid-template-columns:1fr}
  .scheduler-closeout-review{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .route-tracker-top{display:grid}
  .route-tracker-facts,.route-current-main,.route-current-metrics{grid-template-columns:1fr}
  .route-current-title{display:grid}
  .route-current-actions,.route-current-actions form{justify-content:flex-start;width:100%}
  .route-current-actions input{max-width:none;width:100%}
  .scheduler-closeout-steps,.scheduler-closeout-review{grid-template-columns:1fr}
  .scheduler-closeout-footer{display:grid}
  .scheduler-closeout-footer button{width:100%}
  .route-list-column-head{display:none}
}
.scheduler-current-step{border-left:4px solid #2563eb}
.scheduler-current-step-compact{padding:14px 16px;margin-bottom:12px}
.scheduler-current-step-panel{padding:10px 12px;margin-bottom:12px}
.scheduler-current-step-main{display:grid;grid-template-columns:minmax(260px,1.15fr) minmax(160px,.55fr) minmax(360px,1fr);gap:12px;align-items:center}
.scheduler-current-title{display:flex;gap:10px;align-items:center;min-width:0}
.scheduler-current-title h2{margin:0;font-size:22px;line-height:1.1}
.scheduler-current-title p{margin:3px 0 0}
.scheduler-current-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.scheduler-current-metrics div{border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc;padding:8px 10px}
.scheduler-current-metrics span{display:block;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.scheduler-current-metrics strong{display:block;margin-top:2px;font-size:19px;line-height:1;color:#0f172a}
.scheduler-current-action-strip{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.scheduler-current-action-strip form{margin:0;display:flex;gap:7px;align-items:center}
.scheduler-waiting-form-compact input{height:32px;min-width:180px;max-width:240px;padding:6px 8px;border-radius:8px;font-size:12px}
.scheduler-current-step-grid{display:grid;grid-template-columns:minmax(220px,.9fr) 160px minmax(420px,1.6fr);gap:14px;align-items:center}
.scheduler-current-step-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.scheduler-current-step h2{margin:8px 0 4px}
.scheduler-current-qty{text-align:right;min-width:130px}
.scheduler-current-qty span,.scheduler-current-qty small{display:block;color:#64748b;font-weight:800;font-size:12px}
.scheduler-current-qty strong{display:block;font-size:24px;color:#0f172a}
.scheduler-primary-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-top:16px}
.scheduler-current-actions{margin-top:0;justify-content:flex-end}
.scheduler-primary-actions form{margin:0}
.scheduler-primary-actions label{font-size:12px;font-weight:850;color:#334155}
.scheduler-complete-form,.scheduler-waiting-form{display:flex;gap:8px;flex-wrap:wrap;align-items:end}
.scheduler-complete-form input{max-width:120px}
.scheduler-waiting-form input{min-width:220px}
.scheduler-add-step-panel{min-width:150px}
.scheduler-add-step-panel summary{cursor:pointer;font-weight:900;color:#1e3a8a;border:1px solid #cbd5e1;border-radius:8px;padding:9px 12px;background:#f8fafc;list-style:none}
.scheduler-add-step-panel[open]{width:100%;margin-top:12px}
.scheduler-add-step-panel[open] summary{display:inline-block;margin-bottom:12px}
.scheduler-route-list-card{padding:0;overflow:hidden}
.scheduler-route-list-card .scheduler-section-heading{padding:12px 14px;border-bottom:1px solid #e2e8f0;margin:0;background:#fff}
.scheduler-route-list{display:grid;gap:0}
.scheduler-route-row{border:0;border-bottom:1px solid #dbe4f0;border-radius:0;background:#fff;overflow:visible}
.scheduler-route-row:last-child{border-bottom:0}
.scheduler-route-row.is-current{border-color:#2563eb;box-shadow:0 0 0 1px rgba(37,99,235,.15)}
.scheduler-route-row.is-current{box-shadow:inset 3px 0 0 #2563eb;background:#f8fbff}
.scheduler-route-row summary{display:grid;grid-template-columns:38px minmax(180px,1fr) 135px 86px 120px;gap:10px;align-items:center;padding:8px 12px;cursor:pointer;list-style:none}
.scheduler-route-row summary::-webkit-details-marker,.scheduler-add-step-panel summary::-webkit-details-marker{display:none}
.scheduler-route-seq{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e2e8f0;color:#0f172a;font-weight:950}
.scheduler-route-row.is-current .scheduler-route-seq{background:#2563eb;color:#fff}
.scheduler-route-main b,.scheduler-route-main small{display:block}
.scheduler-route-main small{font-size:12px;color:#64748b;margin-top:3px}
.scheduler-route-time b,.scheduler-route-time small{display:block}
.scheduler-route-time b{font-size:13px;color:#0f172a}
.scheduler-route-time small{font-size:12px;color:#64748b;margin-top:2px}
.scheduler-route-qty{font-weight:900;color:#334155}
.scheduler-route-detail{border-top:1px solid #e2e8f0;background:#f8fafc;padding:8px 10px}
.scheduler-route-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.scheduler-route-meta div{border:1px solid #dbe4f0;border-radius:8px;background:#fff;padding:7px 9px}
.scheduler-route-meta span,.scheduler-route-meta small{display:block;font-size:12px;font-weight:800;color:#64748b}
.scheduler-route-meta b{display:block;color:#0f172a;margin-top:3px}
.scheduler-route-controls{margin-top:8px;border:1px solid #dbe4f0;border-radius:8px;background:#fff}
.scheduler-route-controls>summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;color:#1e3a8a;font-weight:950;padding:8px 10px}
.scheduler-route-controls>summary::-webkit-details-marker{display:none}
.scheduler-route-controls[open]{padding-bottom:10px}
.scheduler-route-controls[open]>summary{border-bottom:1px solid #e2e8f0;margin-bottom:8px}
.scheduler-advanced-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;align-items:center}
.scheduler-route-controls .scheduler-advanced-actions{margin:0 10px;align-items:flex-start}
.scheduler-advanced-actions form{margin:0;display:flex;gap:8px;flex-wrap:wrap}
.scheduler-advanced-actions select{min-width:150px;max-width:220px}
.scheduler-inline-check{display:flex!important;gap:6px;align-items:center;font-size:12px;font-weight:850;color:#334155}
.scheduler-step-edit-panel{width:100%;border:1px solid #dbe4f0;border-radius:8px;background:#fff;padding:8px}
.scheduler-step-edit-panel summary{cursor:pointer;font-weight:950;color:#1e3a8a;list-style:none}
.scheduler-step-edit-panel summary::-webkit-details-marker{display:none}
.scheduler-step-edit-panel form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.scheduler-step-edit-panel form>label{display:grid;gap:5px;min-width:0;font-size:12px;font-weight:950;color:#475569}
.scheduler-step-edit-panel form>label input,.scheduler-step-edit-panel form>label select,.scheduler-step-edit-panel form>label textarea{width:100%;min-width:0}
.scheduler-step-edit-panel textarea{min-height:70px}
.scheduler-step-edit-panel .scheduler-step-notes-label{grid-column:1/-1}
.scheduler-step-edit-panel .scheduler-checks{grid-column:1/-1}
.scheduler-step-edit-panel button{width:max-content}
.scheduler-template-hero{margin-bottom:10px}
.scheduler-template-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}
.scheduler-template-main,.scheduler-template-side{margin-bottom:0}
.scheduler-template-side{display:grid;gap:14px}
.scheduler-template-side form{margin:0}
.scheduler-template-side label{display:block;margin-top:10px}
.scheduler-template-side input{width:100%}
.scheduler-template-guidance{border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:12px 0}
.scheduler-template-guidance h2{font-size:16px;margin:0 0 6px}
.scheduler-template-route-list{margin-top:12px}
.scheduler-template-step-row summary{grid-template-columns:44px minmax(220px,1fr) 110px 120px}
.scheduler-template-step-row .scheduler-step-edit-panel{margin-top:12px}
.scheduler-template-step-row .scheduler-step-edit-panel form{grid-template-columns:80px repeat(5,minmax(120px,1fr))}
.scheduler-template-notes{grid-column:1/-1;display:block}
.scheduler-template-notes textarea{width:100%;min-height:68px}
.scheduler-template-step-actions{grid-column:1/-1;margin-top:2px}
.scheduler-route-kpis,.scheduler-route-detail-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px}
.scheduler-route-library-card .scheduler-list-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(460px,680px);gap:16px;align-items:center}
.scheduler-standard-route-card{display:grid;gap:9px;border:1px solid #93c5fd;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:14px;padding:13px;box-shadow:0 10px 28px rgba(37,99,235,.10)}
.scheduler-standard-route-card strong{display:block;color:#0f172a;font-size:16px}.scheduler-standard-route-card span{display:block;color:#475569;font-size:12px;font-weight:850;line-height:1.3}
.scheduler-standard-route-form,.scheduler-standard-route-picker{display:grid;grid-template-columns:minmax(140px,1fr) 132px auto;gap:7px;align-items:center;margin:0}
.scheduler-standard-route-picker{grid-template-columns:minmax(0,1fr) auto}
.scheduler-standard-route-card input,.scheduler-standard-route-card select{min-height:34px;padding:7px 9px;border-radius:8px}
.scheduler-standard-route-card button{min-height:34px;border-radius:8px;justify-content:center;background:#2563eb;color:#fff;border:1px solid #2563eb;box-shadow:0 8px 18px rgba(37,99,235,.16)}
.scheduler-standard-route-card button.secondary{background:#eaf2ff;color:#173f8a;border-color:#b8d4ff;box-shadow:none}
.scheduler-standard-route-card button:disabled,.scheduler-standard-route-card select:disabled{opacity:.58;cursor:not-allowed}
.scheduler-add-route-details{margin-bottom:12px}
.scheduler-add-route-details:not([open]){box-shadow:none;background:#f8fafc}
.scheduler-add-route-details:not([open]) summary{padding:9px 12px}
.scheduler-add-route-details:not([open]) summary:after{content:"Expand";display:inline-flex;align-items:center;border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.scheduler-add-route-details[open] summary:after{content:"Collapse";display:inline-flex;align-items:center;border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.scheduler-route-mini-flow{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.scheduler-route-mini-flow span{display:inline-flex;align-items:center;min-height:25px;border:1px solid #d8e0ec;background:#f8fafc;color:#334155;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900}
.scheduler-route-template-row td{vertical-align:middle}
.scheduler-route-library-card .scheduler-tight-scroll{max-height:none;overflow-x:auto}
.scheduler-route-library-card th:last-child,.scheduler-route-template-row td:last-child{text-align:center;white-space:nowrap;width:150px}
.scheduler-route-action-open,.scheduler-route-action-build{align-items:center;justify-content:center;min-width:126px;min-height:28px;border:1px solid transparent;box-shadow:none}
.scheduler-route-action-open{background:#eaf2ff!important;color:#173f8a!important;border-color:#b8d4ff!important}
.scheduler-route-action-open:hover,.scheduler-route-action-open:focus{background:#d8e8ff!important;color:#0f2f6d!important}
.scheduler-route-action-build{background:#1e40af!important;color:#fff!important;border-color:#183577!important;box-shadow:0 8px 18px rgba(30,64,175,.18)}
.scheduler-route-action-build:hover,.scheduler-route-action-build:focus{background:#172554!important;color:#fff!important;border-color:#172554!important}
.scheduler-route-builder-map{padding:12px 14px;margin-bottom:10px}
.scheduler-route-flow-strip{display:flex;gap:8px;overflow-x:auto;padding:6px 2px 2px}
.scheduler-route-flow-node{flex:0 0 210px;display:block;position:relative;border:1px solid #bfdbfe;background:#eff6ff;color:#0f172a;border-radius:8px;padding:10px 12px;text-decoration:none;min-height:74px}
.scheduler-route-flow-node:not(:last-child):after{content:"";position:absolute;right:-13px;top:50%;width:16px;height:2px;background:#94a3b8}
.scheduler-route-flow-node b,.scheduler-route-flow-node small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduler-route-flow-node b{font-size:14px;color:#0f172a}
.scheduler-route-flow-node small{margin-top:5px;font-size:12px;font-weight:800;color:#475569}
.scheduler-route-flow-node.support{background:#f8fafc;border-color:#d8e0ec}
.scheduler-route-workspace{grid-template-columns:minmax(0,1fr) 360px}
.scheduler-route-order-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:9px 11px;margin:10px 0 8px;color:#475569;font-size:13px;font-weight:850}
.scheduler-route-order-toolbar strong{display:inline-flex;align-items:center;border:1px solid #bbf7d0;background:#ecfdf3;color:#166534;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.scheduler-route-order-toolbar strong[data-state="saving"]{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.scheduler-route-order-toolbar strong[data-state="error"]{border-color:#fecaca;background:#fff1f2;color:#b91c1c}
.scheduler-process-palette{border-bottom:1px solid #e2e8f0;padding-bottom:12px;margin-bottom:12px}
.scheduler-palette-head h2{font-size:16px;margin:0 0 4px}
.scheduler-palette-head p{margin:0;color:#64748b;font-size:12px;font-weight:750;line-height:1.35}
.scheduler-palette-grid{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}
.scheduler-process-card-wrap{display:grid;gap:5px;border:1px solid transparent;border-radius:10px}
.scheduler-process-card-wrap.is-custom{border-color:#dbeafe;background:#f8fbff;padding:5px}
.scheduler-process-card{display:grid;gap:3px;width:100%;text-align:left;border:1px solid #d8e0ec;background:#fff;color:#0f172a;border-radius:8px;padding:9px 10px;cursor:grab;box-shadow:none;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease,background .14s ease}
.scheduler-process-card:hover,.scheduler-process-card:focus{outline:0;border-color:#93c5fd;background:#f8fbff;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.scheduler-process-card:active{cursor:grabbing}
.scheduler-process-card.is-dragging{opacity:.62;transform:scale(.985)}
.scheduler-process-card span{display:inline-flex;justify-self:start;border:1px solid #dbe4f0;background:#f8fafc;color:#475569;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.scheduler-process-card strong{font-size:13px;font-weight:950;line-height:1.15}
.scheduler-process-card small{color:#64748b;font-size:11px;font-weight:750;line-height:1.25}
.scheduler-palette-card-action{margin:0;display:flex;justify-content:flex-end}
.scheduler-operation-library-panel{margin-top:12px;border:1px solid #d8e0ec;border-radius:8px;background:#f8fafc;padding:8px 10px}
.scheduler-operation-library-panel summary{cursor:pointer;font-weight:950;color:#0f172a}
.scheduler-operation-library-panel form{margin-top:10px}
.scheduler-operation-library-panel textarea{min-height:70px}
.sandbox-mode-banner{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;border-bottom:1px solid #f59e0b;background:#fffbeb;color:#92400e;padding:8px 14px;font-weight:850}
.sandbox-mode-banner strong{text-transform:uppercase;letter-spacing:.04em}
.sandbox-mode-banner a{color:#78350f;font-weight:950;text-decoration:underline}
.sandbox-mode-banner form{margin:0}
.sandbox-mode-banner button{border:1px solid #b91c1c;background:#dc2626;color:#fff;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:950;box-shadow:none}
.sandbox-mode-banner button:hover{background:#b91c1c}
.scheduler-route-builder-list{gap:8px;position:relative}
.scheduler-route-block{border:1px solid #d8e0ec;border-radius:8px;overflow:hidden;background:#fff;transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease,background .16s ease}
.scheduler-route-block summary{grid-template-columns:28px 38px minmax(180px,1fr) 110px 110px 100px}
.scheduler-route-block.is-dragging{opacity:.62;border-color:#2563eb;box-shadow:0 16px 34px rgba(15,23,42,.16);transform:scale(.997)}
.scheduler-route-block.is-new{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}
.scheduler-route-block.is-drop-before{box-shadow:inset 0 4px 0 #2563eb}
.scheduler-route-block.is-drop-after{box-shadow:inset 0 -4px 0 #2563eb}
.scheduler-route-builder-list.is-palette-target{outline:2px dashed #93c5fd;outline-offset:4px;border-radius:10px}
.scheduler-route-drag-handle{width:24px;height:30px;display:grid;place-items:center;border:1px solid #d8e0ec;border-radius:7px;background:#f8fafc;color:#64748b;font-size:13px;font-weight:950;cursor:grab;user-select:none;line-height:1}
.scheduler-route-drag-handle:hover,.scheduler-route-drag-handle:focus{outline:0;border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}
.scheduler-route-drag-handle:active{cursor:grabbing}
.scheduler-route-block-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:10px}.scheduler-route-block-actions form{margin:0}
.scheduler-route-side-panel{position:sticky;top:86px}
.scheduler-route-preset-card{display:grid;gap:10px;border:1px solid #93c5fd;background:#f8fbff;border-radius:8px;padding:12px;box-shadow:0 8px 20px rgba(37,99,235,.08)}
.ui-icon{width:16px;height:16px;display:inline-block;flex:0 0 16px;vertical-align:-3px}
.scheduler-icon-label{display:inline-flex!important;align-items:center;justify-content:center;gap:7px}.scheduler-icon-label>.ui-icon{pointer-events:none}
.scheduler-route-preset-card .scheduler-eyebrow{display:inline-flex;align-items:center;gap:6px}.scheduler-route-preset-card h2,.scheduler-route-preset-card h3{margin:2px 0 3px;font-size:16px}.scheduler-route-preset-card p{margin:0;color:#475569;font-size:12px;font-weight:750;line-height:1.4}
.scheduler-route-preset-card form{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px;align-items:end;margin:0}.scheduler-route-preset-card label{display:grid;gap:5px;margin:0!important;font-size:12px;font-weight:900;color:#334155}.scheduler-route-preset-card select,.scheduler-route-preset-card input{width:100%;min-width:0}.scheduler-route-preset-card button{align-self:end;background:#2563eb;color:#fff;border-color:#2563eb;white-space:nowrap}.scheduler-route-preset-card button:disabled,.scheduler-route-preset-card select:disabled{opacity:.58;cursor:not-allowed}
.scheduler-part-route-preset-card{grid-template-columns:minmax(220px,1fr) minmax(360px,620px);align-items:end;margin-top:12px}.scheduler-part-route-preset-card>a{grid-column:2;justify-self:start}
.scheduler-job-route-preset-card{margin:12px 14px;grid-template-columns:minmax(240px,1fr) minmax(360px,640px);align-items:start}.scheduler-save-route-preset{grid-column:2;border-top:1px solid #bfdbfe;padding-top:8px}.scheduler-save-route-preset>summary{cursor:pointer;color:#1e3a8a;font-weight:900;list-style:none;display:inline-flex;align-items:center;gap:7px}.scheduler-save-route-preset>summary::-webkit-details-marker{display:none}.scheduler-save-route-preset form{margin-top:9px;grid-template-columns:minmax(180px,1fr) 130px auto}
.scheduler-job-route-order-toolbar{margin:0 14px 10px}.scheduler-job-route-builder .scheduler-route-row.is-dragging{opacity:.62;border-color:#2563eb;box-shadow:0 12px 28px rgba(15,23,42,.14)}.scheduler-job-route-drag-handle{cursor:grab;background:#dbeafe;color:#1d4ed8;border:1px solid #93c5fd}.scheduler-job-route-drag-handle:active{cursor:grabbing}.scheduler-route-row.is-route-locked .scheduler-route-seq{background:#e5e7eb;color:#64748b}.scheduler-route-row.is-route-locked.is-current .scheduler-route-seq{background:#2563eb;color:#fff}
.scheduler-route-use-list{margin:8px 0 0;padding-left:20px;color:#475569;line-height:1.45}
.scheduler-route-use-list li+li{margin-top:5px}
@media(max-width:1150px){.scheduler-route-kpis,.scheduler-route-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-route-workspace{grid-template-columns:1fr}.scheduler-route-side-panel{position:static}.scheduler-route-library-card .scheduler-list-head{grid-template-columns:1fr}}
@media(max-width:760px){.scheduler-route-kpis,.scheduler-route-detail-kpis{grid-template-columns:1fr}.scheduler-route-order-toolbar{display:grid}.scheduler-standard-route-form,.scheduler-standard-route-picker,.scheduler-route-preset-card form,.scheduler-save-route-preset form{grid-template-columns:1fr}.scheduler-standard-route-card button,.scheduler-route-preset-card button{width:100%}.scheduler-route-block summary{grid-template-columns:28px 38px minmax(0,1fr)}.scheduler-route-block summary>.scheduler-route-qty,.scheduler-route-block summary>.scheduler-badge{grid-column:3;margin-left:0}.scheduler-route-flow-node{flex-basis:180px}.scheduler-part-route-preset-card,.scheduler-job-route-preset-card{grid-template-columns:1fr}.scheduler-part-route-preset-card>a,.scheduler-save-route-preset{grid-column:1}}
.scheduler-work-queue{display:grid;gap:12px}
.scheduler-work-card{border-left:4px solid #2563eb;margin-bottom:0}
.scheduler-work-card.late{border-left-color:#dc2626}
.scheduler-work-main{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.scheduler-work-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.scheduler-work-title a{font-weight:950;color:#1e3a8a;text-decoration:none}
.scheduler-work-card h2{margin:8px 0 4px;font-size:22px}
.scheduler-work-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.scheduler-work-tags span{border:1px solid #dbe4f0;border-radius:999px;background:#f8fafc;color:#334155;font-size:12px;font-weight:900;padding:5px 9px}
.scheduler-work-qty{text-align:right;min-width:110px}
.scheduler-work-qty span,.scheduler-work-qty small{display:block;color:#64748b;font-size:12px;font-weight:850}
.scheduler-work-qty strong{display:block;font-size:24px;color:#0f172a}
.scheduler-work-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:14px;border-top:1px solid #e2e8f0;padding-top:12px}
.scheduler-work-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.scheduler-work-actions form{margin:0;display:flex;gap:8px;flex-wrap:wrap}
.scheduler-work-actions input{max-width:160px}
.scheduler-work-complete{position:relative}
.scheduler-work-complete summary{cursor:pointer;list-style:none;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#1e3a8a;font-weight:950;padding:9px 12px}
.scheduler-work-complete summary::-webkit-details-marker{display:none}
.scheduler-work-complete[open] form{margin-top:8px}
.scheduler-queue-hero{margin-bottom:10px}
.scheduler-queue-filter{padding:12px 14px}
.scheduler-queue-actions{margin-top:10px}
.scheduler-active-filter{display:inline-flex;align-items:center;gap:8px;margin-top:10px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:8px;padding:7px 9px}
.scheduler-active-filter span{font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;color:#1e40af}
.scheduler-active-filter strong{color:#0f172a}
.scheduler-active-filter a{color:#1e3a8a;font-weight:900;text-decoration:none}
.scheduler-active-filter a:hover{text-decoration:underline}
.scheduler-queue-shortcuts{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;margin-bottom:10px}
.scheduler-queue-shortcuts strong{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#64748b}
.scheduler-queue-shortcuts div{display:flex;gap:6px;flex-wrap:wrap}
.scheduler-queue-shortcuts .button.active{background:#0f172a;color:#fff;border-color:#0f172a}
.scheduler-work-list-card{padding:0;overflow:hidden}
.scheduler-list-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px;border-bottom:1px solid #e2e8f0;background:#fff}
.scheduler-list-head h2{margin:0 0 2px;font-size:18px}
.scheduler-list-head p{margin:0}
.pm-stat-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin:7px 0 8px}
.pm-stat-grid .inventory-stat{min-height:44px;padding:6px 9px}
.pm-stat-grid .inventory-stat strong{font-size:19px;line-height:1}
.pm-stat-grid .inventory-stat span{font-size:10px;line-height:1.1;text-align:right}
.pm-queue-filter{padding:0!important;margin-bottom:8px;overflow:hidden}
.pm-filter-row{display:grid;grid-template-columns:minmax(220px,1.45fr) minmax(130px,.75fr) minmax(155px,.9fr) minmax(170px,1fr) auto minmax(120px,.7fr);align-items:stretch;background:#fff}
.pm-filter-row>label{display:grid;align-content:center;gap:2px;min-width:0;margin:0!important;padding:5px 6px!important;border-right:1px solid #dbe4ef;font-size:10px;line-height:1.1}
.pm-filter-row>label input,.pm-filter-row>label select{height:32px;min-width:0;margin:0!important}
.pm-filter-actions{display:flex;align-items:flex-end;gap:5px;min-width:max-content;margin:0!important;padding:5px 6px;border-right:1px solid #dbe4ef}
.pm-filter-actions button,.pm-filter-actions .button{min-height:32px!important;padding:6px 9px!important;white-space:nowrap}
.pm-filter-summary{display:flex;align-items:center;min-width:0;margin:0!important;padding:7px 9px;color:#64748b;font-size:11px;font-weight:800;line-height:1.2}
.pm-list-head{min-height:40px;align-items:center;padding:7px 12px}
.pm-list-heading-line{display:flex;align-items:baseline;gap:9px;min-width:0}
.pm-list-head h2{margin:0;font-size:16px}
.pm-list-head p{font-size:11px;white-space:nowrap}
@media(max-width:1350px){.pm-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.pm-filter-row{grid-template-columns:minmax(210px,1.35fr) repeat(3,minmax(130px,1fr)) auto}.pm-filter-summary{grid-column:1/-1;border-top:1px solid #dbe4ef;padding:5px 8px}}
@media(max-width:900px){.pm-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-filter-row>label:nth-of-type(even){border-right:0}.pm-filter-actions,.pm-filter-summary{grid-column:1/-1;border-top:1px solid #dbe4ef}.pm-filter-actions{border-right:0}.pm-filter-summary{justify-content:flex-start}.pm-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.pm-filter-row{grid-template-columns:1fr}.pm-filter-row>label{border-right:0}.pm-filter-actions,.pm-filter-summary{grid-column:auto}.pm-filter-actions button,.pm-filter-actions .button{flex:1;text-align:center}.pm-list-heading-line{align-items:center;justify-content:space-between;width:100%}.pm-list-head p{white-space:normal;text-align:right}}
.scheduler-work-table{min-width:1180px}
.scheduler-work-table th{position:sticky;top:0;z-index:1;padding:0;background:#f8fafc}
.scheduler-work-table td{vertical-align:middle}
.scheduler-work-table td strong{font-size:14px}
.scheduler-sort-link{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 10px;color:#334155;text-decoration:none;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.scheduler-sort-link:hover,.scheduler-sort-link.active{background:#eef2ff;color:#1e3a8a}
.scheduler-sort-link span{font-size:12px;line-height:1}
.scheduler-row-late td{background:#fff7f7}
.scheduler-row-late td:first-child{border-left:3px solid #dc2626}
.scheduler-due{font-weight:900;color:#334155;white-space:nowrap}
.scheduler-due.late{color:#b91c1c}
.scheduler-qty-cell strong,.scheduler-qty-cell span{display:block}
.scheduler-qty-cell span{font-size:12px;color:#64748b}
.scheduler-queue-row-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.scheduler-queue-row-actions form{margin:0;display:flex;align-items:center;gap:6px}
.scheduler-queue-row-actions input{height:32px;max-width:126px;padding:6px 8px;border-radius:8px;font-size:12px}
.scheduler-flow-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin:0 0 12px}
.scheduler-flow-strip a{display:block;text-decoration:none;border:1px solid #d8e0ec;background:#fff;border-radius:8px;padding:10px 12px;color:#0f172a}
.scheduler-flow-strip a:hover{border-color:#94a3b8;background:#f8fafc}
.scheduler-flow-strip a.active{border-color:#2563eb;background:#eff6ff}
.scheduler-flow-strip strong{display:block;font-size:14px;color:#0f172a}
.scheduler-flow-strip span{display:block;margin-top:2px;font-size:12px;font-weight:750;color:#64748b;line-height:1.3}
.production-flow-shell{border:1px solid #d8e0ec;background:#fff;border-radius:8px;margin:0 0 10px;padding:7px 9px;box-shadow:none}
.production-flow-shell.is-compact{padding:5px 7px;margin-bottom:8px}
.production-flow-shell.is-compact .production-flow-heading{display:none}
.production-flow-shell.is-compact .production-flow-step{min-height:32px;padding-top:4px;padding-bottom:4px}
.production-flow-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:5px}
.production-flow-heading strong{font-size:11px;color:#0f172a;text-transform:uppercase;letter-spacing:.06em}
.production-flow-heading span{font-size:11px;font-weight:750;color:#64748b;text-align:right}
.production-flow-map{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
.production-flow-step{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);gap:6px;align-items:center;min-height:36px;border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:5px 18px 5px 6px;color:#0f172a;text-decoration:none}
.production-flow-step:after{content:'>';position:absolute;right:6px;top:50%;transform:translateY(-50%);font-weight:950;color:#94a3b8;font-size:10px}
.production-flow-step:last-child:after{content:''}
.production-flow-step:hover{border-color:#94a3b8;background:#fff}
.production-flow-step.active{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px rgba(37,99,235,.18)}
.production-flow-step-readonly{cursor:default}
.production-flow-step-readonly:hover{border-color:#d8e0ec;background:#f8fafc}
.production-flow-index{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#e2e8f0;color:#0f172a;font-size:11px;font-weight:950}
.production-flow-step.active .production-flow-index{background:#2563eb;color:#fff}
.production-flow-step strong,.production-flow-step small{display:block;min-width:0}
.production-flow-step strong{font-size:12px;color:#0f172a;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.production-flow-step small{display:none}
.scheduler-default-route-preview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 14px;padding:8px 10px;border:1px solid #d8e0ec;border-radius:8px;background:#f8fafc}
.scheduler-default-route-preview span{font-size:11px;font-weight:950;text-transform:uppercase;color:#64748b;letter-spacing:.04em}
.scheduler-default-route-preview b{position:relative;display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#0f172a;font-size:12px;font-weight:950}
.scheduler-default-route-preview b:not(:last-child)::after{content:'>';position:absolute;right:-10px;color:#94a3b8;font-weight:950}
.scheduler-order-flow-card{padding:10px 12px;margin-bottom:10px}
.scheduler-order-flow-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.scheduler-order-stage{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:center;text-decoration:none;border:1px solid #d8e0ec;border-radius:8px;background:#fff;padding:8px 10px;color:#0f172a;min-height:54px}
.scheduler-order-stage:hover{border-color:#94a3b8;background:#f8fafc}
.scheduler-order-stage.current{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px rgba(37,99,235,.14)}
.scheduler-order-stage.done{border-color:#bbf7d0;background:#f0fdf4}
.scheduler-order-stage span{grid-row:span 2;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e2e8f0;color:#0f172a;font-size:12px;font-weight:950}
.scheduler-order-stage.current span{background:#2563eb;color:#fff}
.scheduler-order-stage.done span{background:#16a34a;color:#fff}
.scheduler-order-stage strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#0f172a}
.scheduler-order-stage small{display:block;color:#64748b;font-size:12px;font-weight:780}
.scheduler-howto-card{margin-bottom:12px}
.scheduler-howto-list{margin:10px 0 0;padding-left:22px;color:#334155}
.scheduler-howto-list li{margin:8px 0;line-height:1.35}
@media(max-width:1050px){.production-flow-step:after{content:''}}
@media(max-width:720px){
  .production-flow-heading{display:grid;text-align:left}
  .production-flow-heading span{text-align:left}
  .production-flow-map{grid-template-columns:1fr}
  .scheduler-order-flow-strip{grid-template-columns:1fr}
  .scheduler-default-route-preview b:not(:last-child)::after{content:''}
}
.scheduler-planner-grid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(320px,1.15fr);gap:12px;align-items:stretch;margin-bottom:12px}
.scheduler-planner-grid .card{margin-bottom:0}
.scheduler-planner-grid .scheduler-planner-latest:only-child{grid-column:1/-1}
.scheduler-planner-optimize,.scheduler-planner-latest{display:flex;flex-direction:column;justify-content:space-between}
.scheduler-mini-stat-row{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 10px}
.scheduler-job-builder summary{font-size:18px}
.scheduler-workflow-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 14px}
.scheduler-workflow-picker label{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:start;border:1px solid #d8e0ec;background:#fff;border-radius:8px;padding:10px;cursor:pointer}
.scheduler-workflow-picker input{width:auto;margin:2px 0 0}
.scheduler-workflow-picker strong,.scheduler-workflow-picker span{display:block}
.scheduler-workflow-picker strong{font-size:14px;color:#0f172a}
.scheduler-workflow-picker span{font-size:12px;line-height:1.35;color:#64748b;font-weight:750}
.scheduler-workflow-picker label:has(input:checked){border-color:#2563eb;background:#eff6ff}
.scheduler-job-create-grid{display:grid;gap:10px}
.scheduler-job-create-grid section{border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:12px}
.scheduler-job-create-grid h3{margin:0 0 10px;font-size:15px;color:#0f172a}
.scheduler-wizard-intro{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1fr);gap:14px;align-items:start;margin:12px 0 14px}
.scheduler-wizard-intro h2{margin:7px 0 4px;font-size:20px;color:#0f172a}
.scheduler-wizard-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.scheduler-wizard-steps button{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;text-align:left;align-items:center;border:1px solid #d8e0ec;background:#f8fafc;color:#0f172a;border-radius:8px;padding:9px;box-shadow:none}
.scheduler-wizard-steps button span{grid-row:1 / span 2;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e2e8f0;font-size:12px;font-weight:950;color:#334155}
.scheduler-wizard-steps button strong{font-size:13px;line-height:1.1}
.scheduler-wizard-steps button small{font-size:11px;color:#64748b;font-weight:800;line-height:1.2}
.scheduler-wizard-steps button.active{border-color:#2563eb;background:#eff6ff;box-shadow:inset 0 0 0 1px rgba(37,99,235,.18)}
.scheduler-wizard-steps button.active span{background:#2563eb;color:#fff}
.scheduler-wizard-steps button.complete{border-color:#86efac;background:#f0fdf4}
.scheduler-wizard-steps button.complete span{background:#22c55e;color:#fff}
.scheduler-wizard-panels{display:grid;gap:10px}
.scheduler-job-wizard.wizard-ready .scheduler-wizard-panel{display:none}
.scheduler-job-wizard.wizard-ready .scheduler-wizard-panel.active{display:block;animation:wizardPanelIn .18s ease-out}
@keyframes wizardPanelIn{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.scheduler-wizard-panel{border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:12px}
.scheduler-wizard-panel-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px}
.scheduler-wizard-panel-head h3{margin:0 0 2px;font-size:18px;color:#0f172a}
.scheduler-wizard-panel-head p{margin:0}
.scheduler-wizard-panel .scheduler-workflow-picker{margin-top:0}
.scheduler-wizard-field-muted{opacity:.52}
.scheduler-wizard-field-active{box-shadow:inset 3px 0 0 #f59e0b;background:#fffaf0}
.scheduler-wizard-review-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.scheduler-wizard-review-grid div{border:1px solid #d8e0ec;background:#fff;border-radius:8px;padding:10px;min-width:0}
.scheduler-wizard-review-grid span,.scheduler-wizard-review-grid small{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.scheduler-wizard-review-grid strong{display:block;margin:5px 0 2px;color:#0f172a;font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.scheduler-wizard-review-grid small{text-transform:none;letter-spacing:0;font-size:12px;line-height:1.3}
.scheduler-wizard-next-flow{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px;padding:10px;border:1px solid #d8e0ec;border-radius:8px;background:#fff}
.scheduler-wizard-next-flow strong{font-size:12px;text-transform:uppercase;color:#334155;letter-spacing:.04em}
.scheduler-wizard-next-flow span{font-size:12px;font-weight:850;color:#475569;border:1px solid #e2e8f0;border-radius:999px;padding:5px 8px;background:#f8fafc}
.scheduler-wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #d8e0ec}
.scheduler-wizard-footer span{font-size:12px;font-weight:950;color:#64748b;text-transform:uppercase;letter-spacing:.05em}
.scheduler-full-label{display:block;margin-top:10px}
.scheduler-mini-details{margin-top:10px;border:1px solid #d8e0ec;border-radius:8px;background:#fff;padding:9px}
.scheduler-mini-details summary{cursor:pointer;font-weight:900;color:#1e3a8a;list-style:none}
.scheduler-mini-details summary::-webkit-details-marker{display:none}
.scheduler-mini-details .scheduler-checks{margin-top:9px}
.scheduler-builder-actions{position:sticky;bottom:0;z-index:4;margin-top:12px;padding-top:10px;background:linear-gradient(180deg,rgba(255,255,255,.72),#fff 42%)}
.scheduler-work-complete-compact{position:relative}
.scheduler-work-complete-compact summary{padding:6px 9px;font-size:12px;border-radius:8px;white-space:nowrap}
.scheduler-work-complete-compact[open] form{position:absolute;right:0;top:34px;z-index:5;display:grid;grid-template-columns:92px 80px 130px;gap:7px;min-width:390px;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;box-shadow:0 16px 30px rgba(15,23,42,.16)}
.scheduler-work-complete-compact[open] .scheduler-inline-check{grid-column:1 / span 2;display:flex;align-items:center;gap:5px;font-size:12px;font-weight:850;color:#475569}
.scheduler-work-complete-compact[open] button{justify-self:end}
.search-help{margin-top:8px;color:#64748b;font-size:13px}
.topnav-search{position:relative}
.workspace-search-panel{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:180;background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 20px 44px rgba(15,23,42,.18);padding:10px;max-height:min(68vh,620px);overflow:auto;color:#0f172a}
.workspace-search-panel-head,.workspace-search-group-title,.search-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.workspace-search-panel-head{border-bottom:1px solid #e2e8f0;padding:4px 4px 9px;margin-bottom:8px}.workspace-search-panel-head strong{font-size:13px}.workspace-search-panel-head a{font-size:12px;font-weight:900;color:#1d4ed8;text-decoration:none}
.workspace-search-group{border-top:1px solid #eef2f7;padding-top:8px;margin-top:8px}.workspace-search-group:first-of-type{border-top:0;margin-top:0;padding-top:0}.workspace-search-group-title span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:950}.workspace-search-group-title b{font-size:11px;border:1px solid #d8e0ec;background:#f8fafc;border-radius:999px;padding:2px 7px}
.workspace-search-result-list{display:grid;gap:8px}.workspace-search-result-list.full{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.workspace-search-result{display:grid;gap:3px;border:1px solid #d8e0ec;background:#f8fafc;border-radius:8px;padding:9px;text-decoration:none;color:#0f172a;transition:border-color .15s ease,background .15s ease,transform .15s ease}.workspace-search-result:hover{border-color:#93c5fd;background:#eff6ff;transform:translateY(-1px)}.workspace-search-result strong{font-size:14px;line-height:1.2}.workspace-search-result small{font-size:12px;color:#475569}.workspace-search-result p{font-size:12px;color:#64748b;margin:2px 0 0;line-height:1.35}.workspace-search-kind{justify-self:start;border:1px solid #bfdbfe;background:#dbeafe;color:#1e3a8a;border-radius:999px;padding:2px 7px;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.05em}
.workspace-search-empty{padding:12px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;color:#64748b;text-align:center;font-weight:850}.search-results-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.search-results-form{display:flex;gap:8px;min-width:min(520px,100%);align-items:center}.search-results-form input{min-width:280px}.search-results-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;margin-bottom:12px}.search-coverage-card{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.search-coverage-list{display:flex;gap:6px;flex-wrap:wrap}.search-coverage-list span{border:1px solid #d8e0ec;background:#f8fafc;border-radius:999px;padding:5px 8px;color:#334155;font-size:12px;font-weight:850}.search-example-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.search-example-grid>div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:12px}.search-example-grid strong{display:block;margin-bottom:6px}.search-example-grid span{display:block;color:#64748b;line-height:1.4}.workspace-search-result-group{padding:0;overflow:hidden}.workspace-search-result-group .search-group-head{padding:14px 16px;border-bottom:1px solid #e2e8f0;background:#fff}.search-group-head h2{margin:0}.search-group-head span,.search-group-foot{color:#64748b;font-size:13px;font-weight:850}.workspace-search-result-group .workspace-search-result-list{padding:12px}.search-group-foot{padding:0 16px 14px}
@media(max-width:760px){.search-results-summary{grid-template-columns:1fr}.search-results-form{display:grid;width:100%}.search-results-form input{min-width:0}.workspace-search-panel{position:fixed;left:14px;right:14px;top:76px}}
.app-list-table .scheduler-primary-cell a{color:#1e3a8a;text-decoration:none}
.app-list-table .scheduler-primary-cell a:hover{text-decoration:underline}
.scheduler-customer-cell strong,.scheduler-customer-cell span,.scheduler-customer-filter{display:block}
.scheduler-customer-filter{color:#1e3a8a;font-weight:950;text-decoration:none}
.scheduler-customer-filter:hover{text-decoration:underline}
.scheduler-customer-cell span{margin-top:2px;color:#64748b;font-size:12px}
.scheduler-job-summary-row{cursor:pointer}
.scheduler-job-summary-row:hover td{background:#f8fafc}
.scheduler-job-summary-row.is-open td{background:#eff6ff}
.scheduler-job-summary-row.is-open td:first-child{box-shadow:inset 3px 0 0 #2563eb}
.scheduler-finished-jobs-box{margin-top:14px;background:#f8fafc}
.scheduler-finished-jobs-box summary:after{content:"Show";display:inline-flex;align-items:center;border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.scheduler-finished-jobs-box[open] summary{border-bottom:1px solid #e2e8f0}
.scheduler-finished-jobs-box[open] summary:after{content:"Hide";background:#eef2f7}
.scheduler-finished-jobs-box .table-wrap{padding:0 14px 14px}
.scheduler-finished-jobs-box:not([open]){box-shadow:none}
.job-row-toggle{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#1e3a8a;font:inherit;font-weight:950;padding:0;cursor:pointer;text-align:left}
.job-row-toggle:hover{text-decoration:underline}
.job-row-caret{width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;background:#e2e8f0;color:#0f172a;font-size:13px;font-weight:950;line-height:1}
.job-row-action{white-space:nowrap}
.scheduler-job-detail-row[hidden]{display:none}
.scheduler-job-detail-row>td{padding:0!important;background:#f8fafc;border-bottom:1px solid #cbd5e1}
.job-inline-panel{padding:10px 12px 12px;border-left:3px solid #2563eb;background:#f8fafc}
.job-inline-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}
.job-inline-head strong{display:block;font-size:15px;color:#0f172a}
.job-inline-head span{display:block;margin-top:2px;color:#64748b;font-size:12px;font-weight:780}
.job-inline-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:8px}
.job-inline-facts div{border:1px solid #d8e0ec;border-radius:8px;background:#fff;padding:8px 10px;min-width:0}
.job-inline-facts span{display:block;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:0;color:#64748b}
.job-inline-facts strong{display:block;margin-top:2px;font-size:14px;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.job-inline-facts small{display:block;margin-top:2px;font-size:12px;font-weight:760;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.job-inline-steps{border:1px solid #d8e0ec;border-radius:8px;background:#fff;overflow:hidden}
.job-inline-step-head,.job-inline-step{display:grid;grid-template-columns:38px minmax(180px,1fr) minmax(130px,.65fr) 92px 120px;gap:10px;align-items:center}
.job-inline-step-head{padding:7px 10px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:0}
.job-inline-step{padding:7px 10px;border-top:1px solid #e2e8f0}
.job-inline-step.is-current{background:#eff6ff}
.job-inline-step strong,.job-inline-step small{display:block}
.job-inline-step strong{font-size:13px;color:#0f172a}
.job-inline-step small{margin-top:2px;color:#64748b;font-size:12px;font-weight:760}
@media(max-width:900px){
  .job-inline-head{display:grid}
  .job-inline-facts{grid-template-columns:1fr 1fr}
  .job-inline-step-head{display:none}
  .job-inline-step{grid-template-columns:34px minmax(0,1fr);gap:7px}
  .job-inline-step>span:nth-child(n+3){grid-column:2}
}
@media(max-width:620px){.job-inline-facts{grid-template-columns:1fr}}
.app-list-description{max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#475569}
.audit-table{min-width:1040px}
.audit-time{white-space:nowrap;font-weight:850;color:#334155}
.audit-action-badge{max-width:220px;white-space:normal;line-height:1.25}
.audit-detail-cell{max-width:560px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#334155}
.app-inline-badge{margin-top:4px}
.app-stat-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:12px 0 16px}
.ticket-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #d8e0ec;border-radius:8px;padding:10px 12px;text-decoration:none}
.ticket-stat:hover{border-color:#94a3b8;background:#f8fafc}
.ticket-stat.active{border-color:#2563eb;background:#eff6ff}
.ticket-stat.alert{border-color:#fecaca;background:#fff7f7}
.ticket-stat.alert.active{border-color:#dc2626;background:#fef2f2}
.ticket-stat strong{display:block;font-size:22px;line-height:1;color:#0f172a}
.ticket-stat span{display:block;color:#64748b;font-weight:900;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.pm-calendar-card{margin-top:12px;padding:0;overflow:hidden}
.calendar-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:12px 14px;border-bottom:1px solid #e2e8f0}
.calendar-title h2{margin:0;font-size:18px}
.calendar-title p{margin:3px 0 0;color:#64748b}
.calendar-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.calendar-month{font-weight:900;color:#0f172a;padding:6px 8px;min-width:120px;text-align:center}
.calendar-summary{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}
.calendar-summary div{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px}
.calendar-summary strong{display:block;font-size:18px}
.calendar-summary span{display:block;margin-top:2px;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-weekdays{background:#f1f5f9;border-bottom:1px solid #d8e0ec}
.calendar-weekdays div{padding:8px;text-align:center;color:#475569;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.calendar-day{min-height:112px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:7px;background:#fff}
.calendar-day:nth-child(7n){border-right:0}
.calendar-day.is-muted{background:#f8fafc;color:#94a3b8}
.calendar-day.is-today{box-shadow:inset 0 0 0 2px #2563eb}
.calendar-date{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:6px}
.calendar-date strong{font-size:13px}
.calendar-count{font-size:11px;color:#64748b;font-weight:900}
.calendar-items{display:grid;gap:5px}
.calendar-chip{display:block;text-decoration:none;border-radius:7px;padding:5px 6px;border:1px solid #cbd5e1;background:#f8fafc;color:#0f172a;min-width:0}
.calendar-chip:hover{border-color:#2563eb}
.calendar-chip.status-red{background:#fff1f2;border-color:#fecaca;color:#7f1d1d}
.calendar-chip.status-yellow{background:#fffbeb;border-color:#fde68a;color:#78350f}
.calendar-chip.status-green{background:#f0fdf4;border-color:#bbf7d0;color:#14532d}
.calendar-chip.status-muted{background:#e2e8f0;border-color:#cbd5e1;color:#334155}
.calendar-chip strong,.calendar-chip span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calendar-chip strong{font-size:12px}
.calendar-chip span{margin-top:1px;font-size:11px;opacity:.82}
.calendar-chip a{color:inherit;text-decoration:none}
.calendar-chip a:hover{text-decoration:underline}
.machine-profile-link{color:#1e3a8a;font-weight:900;text-decoration:none}
.machine-profile-link:hover{text-decoration:underline}
.scheduler-badge.machine-badge-link{display:inline-flex;text-decoration:none}
.machine-name a,.attention-title a,.schedule-job a{color:inherit;text-decoration:none}
.machine-name a:hover,.attention-title a:hover,.schedule-job a:hover{text-decoration:underline}
.calendar-more{color:#475569;font-size:11px;font-weight:900;padding:2px 4px}
.calendar-empty{color:#94a3b8;font-size:12px;margin-top:12px}
.scheduler-machine-shortcuts{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.scheduler-machine-shortcuts strong{color:#0f172a}
.scheduler-machine-shortcuts div{display:flex;gap:8px;flex-wrap:wrap}
.scheduler-section-heading-tight{margin-bottom:6px;align-items:center}
.scheduler-row-workflow-actions{margin-top:8px}
.scheduler-row-workflow-actions form{margin:0}
.scheduler-badge.purple{background:#ede9fe;color:#5b21b6;border-color:#ddd6fe}
.scheduler-job-block.done{border-color:#bbf7d0;background:#f0fdf4}
.scheduler-job-block.in-progress{border-color:#fde68a;background:#fffbeb}
.scheduler-calendar-job.done{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.scheduler-calendar-job.in-progress{border-color:#fde68a;background:#fffbeb;color:#92400e}
.scheduler-calendar-job.manual{box-shadow:inset 0 0 0 2px rgba(124,58,237,.18),0 6px 14px rgba(30,64,175,.08)}
.scheduler-calendar-mini-actions{display:flex!important;justify-content:space-between;gap:8px;align-items:center;margin-top:6px!important;font-size:11px!important}
.scheduler-calendar-mini-actions span{font-weight:950;opacity:.78}
.scheduler-calendar-mini-actions a{font-weight:950;color:inherit;text-decoration:underline}
@media(max-width:1200px){.scheduler-kpis-eight{grid-template-columns:repeat(4,minmax(0,1fr))}.scheduler-feature-settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.scheduler-route-stat-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.scheduler-current-step-grid{grid-template-columns:1fr 150px}.scheduler-current-step-main{grid-template-columns:1fr 180px}.scheduler-current-action-strip{grid-column:1/-1;justify-content:flex-start}.scheduler-current-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:1200px){.scheduler-board-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){.scheduler-template-workspace{grid-template-columns:1fr}.scheduler-template-side{grid-template-columns:1fr 1fr}.scheduler-template-side form:first-child{grid-column:1/-1}}
@media(max-width:1050px){.scheduler-workflow-picker,.scheduler-wizard-steps,.scheduler-wizard-review-grid{grid-template-columns:1fr 1fr}.scheduler-wizard-intro{grid-template-columns:1fr}}
@media(max-width:900px){.scheduler-planner-grid{grid-template-columns:1fr}}
@media(max-width:760px){.scheduler-kpis-eight,.scheduler-feature-settings-grid,.scheduler-board-grid,.scheduler-route-stat-strip,.scheduler-current-step-grid,.scheduler-current-step-main,.scheduler-current-metrics{grid-template-columns:1fr}.scheduler-feature-check-grid{grid-template-columns:1fr}.scheduler-current-title,.scheduler-current-step-head,.scheduler-work-main,.scheduler-work-footer{display:grid}.scheduler-current-qty,.scheduler-work-qty{text-align:left}.scheduler-current-actions,.scheduler-current-action-strip{grid-column:auto;justify-content:flex-start}.scheduler-current-action-strip form,.scheduler-waiting-form-compact{width:100%}.scheduler-route-row summary,.scheduler-template-step-row summary{grid-template-columns:36px minmax(0,1fr);gap:8px}.scheduler-route-row summary .scheduler-route-time,.scheduler-route-row summary .scheduler-route-qty,.scheduler-route-row summary .scheduler-badge{grid-column:2}.scheduler-route-meta,.scheduler-step-edit-panel form,.scheduler-template-step-row .scheduler-step-edit-panel form{grid-template-columns:1fr}.scheduler-template-workspace,.scheduler-template-side,.scheduler-workflow-picker,.scheduler-wizard-steps,.scheduler-wizard-review-grid{grid-template-columns:1fr}.scheduler-builder-actions{position:static}.scheduler-waiting-form input{min-width:0;width:100%}.scheduler-work-actions{justify-content:flex-start}.scheduler-work-actions input{max-width:none;width:100%}.calendar-grid{display:block}.calendar-weekdays{display:none}.calendar-day{display:block;min-height:auto;border-right:0}.calendar-day.is-muted:empty{display:none}.calendar-summary{grid-template-columns:1fr}.calendar-top{display:grid}.calendar-actions{justify-content:flex-start}.scheduler-queue-row-actions{flex-wrap:wrap}.app-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduler-wizard-panel-head,.scheduler-wizard-footer{display:grid}.scheduler-wizard-footer button{width:100%}}

.scheduler-traveler-page{max-width:11in;margin:0 auto;background:#fff;color:#0f172a;padding:20px}
.scheduler-traveler-header{display:grid;grid-template-columns:minmax(0,1fr) 190px 125px;gap:14px;align-items:start;border-bottom:3px solid #0f172a;padding-bottom:12px;margin-bottom:12px}
.scheduler-traveler-brand{display:flex;gap:12px;align-items:center}
.scheduler-traveler-logo{width:52px;height:52px;object-fit:contain;border:1px solid #cbd5e1;border-radius:8px}
.scheduler-traveler-header h1{font-size:28px;line-height:1.08;margin:2px 0 3px}
.scheduler-traveler-header p{margin:0;color:#475569;font-weight:750}
.scheduler-traveler-doc{border:1px solid #94a3b8;border-radius:8px;padding:8px 10px}
.scheduler-traveler-doc span,.scheduler-traveler-doc small{display:block;font-size:10px;font-weight:950;text-transform:uppercase;color:#64748b}
.scheduler-traveler-doc strong{display:block;font-size:22px;line-height:1.1;color:#0f172a;word-break:break-word}
.scheduler-traveler-qr{text-align:center}
.scheduler-traveler-qr img{width:100px;height:100px;object-fit:contain}
.scheduler-traveler-qr small,.scheduler-traveler-url{font-size:9px;color:#64748b;word-break:break-all}
.scheduler-traveler-job-block{display:grid;grid-template-columns:1.2fr 1.1fr .55fr .85fr 1fr;gap:7px;margin-bottom:9px}
.scheduler-traveler-job-block div,.scheduler-traveler-material-status{border:1px solid #cbd5e1;border-radius:7px;padding:7px 8px}
.scheduler-traveler-job-block span,.scheduler-traveler-material span,.scheduler-traveler-table small{display:block;font-size:9px;font-weight:950;text-transform:uppercase;color:#64748b;letter-spacing:.03em}
.scheduler-traveler-job-block strong,.scheduler-traveler-material strong{display:block;font-size:13px;color:#0f172a;line-height:1.22}
.scheduler-traveler-job-block small,.scheduler-traveler-material small{display:block;margin-top:2px;font-size:10px;color:#475569;font-weight:750}
.scheduler-traveler-material{display:grid;grid-template-columns:180px minmax(0,1fr);gap:8px;border:1px solid #94a3b8;border-radius:8px;padding:8px;margin-bottom:10px}
.scheduler-traveler-material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.scheduler-traveler-material-grid strong{display:block;margin-top:2px;font-size:11px;color:#0f172a;min-height:14px;line-height:1.15}
.scheduler-traveler-table{width:100%;border-collapse:collapse;font-size:11px}
.scheduler-traveler-table th,.scheduler-traveler-table td{border:1px solid #94a3b8;padding:6px;vertical-align:top}
.scheduler-traveler-table th{background:#e2e8f0;text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.03em}
.scheduler-signoff-table{font-size:10px}
.scheduler-signoff-table th:nth-child(1),.scheduler-signoff-table td:nth-child(1){width:30px;text-align:center}
.scheduler-signoff-table th:nth-child(4),.scheduler-signoff-table td:nth-child(4){width:52px;text-align:center}
.scheduler-traveler-pro-table td:nth-child(6){width:138px}
.scheduler-traveler-pro-table td:nth-child(7){width:118px}
.scheduler-traveler-pro-table td:nth-child(8){width:110px}
.traveler-mini-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}
.traveler-mini-grid span{display:block;font-size:9px;font-weight:900;text-transform:uppercase;color:#64748b}
.traveler-line{height:15px;border-bottom:1px solid #0f172a;margin:3px 0 2px}
.traveler-fill-line{height:19px;border-bottom:1px solid #0f172a}
.traveler-box{height:64px;border:1px solid #94a3b8;margin-top:6px}
.traveler-barcode-cell{text-align:center}
.traveler-barcode{display:block;width:128px;max-width:100%;height:43px;margin:0 auto 3px;object-fit:contain}
.scheduler-traveler-footer{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.scheduler-traveler-footer-pro>div{border:1px solid #94a3b8;border-radius:8px;padding:8px}
.scheduler-traveler-footer p{min-height:16px;margin:4px 0;color:#334155}
.scheduler-traveler-final-signoff{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.scheduler-traveler-final-signoff span{display:block;border-top:1px solid #0f172a;padding-top:3px;font-size:9px;font-weight:950;text-transform:uppercase;color:#64748b}
.traveler-check-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:7px 0}
.traveler-check-row span{display:block;border:1px solid #94a3b8;border-radius:4px;padding:6px 6px 6px 20px;position:relative;font-size:9px;font-weight:900;text-transform:uppercase;color:#334155}
.traveler-check-row span:before{content:"";position:absolute;left:6px;top:7px;width:9px;height:9px;border:1px solid #0f172a;background:#fff}
@media(max-width:900px){.scheduler-traveler-header,.scheduler-traveler-job-block,.scheduler-traveler-material,.scheduler-traveler-material-grid,.scheduler-traveler-footer{grid-template-columns:1fr}.scheduler-traveler-pro-table{min-width:980px}.scheduler-traveler-page{overflow-x:auto}}
@media print{.scheduler-print-actions,.no-print{display:none!important}.scheduler-traveler-page{max-width:none;padding:0}.scheduler-traveler-table th,.scheduler-traveler-table td{padding:4px}.traveler-line{height:14px}.scheduler-traveler-header{break-after:avoid}.scheduler-traveler-table tr{break-inside:avoid}.scheduler-traveler-footer{break-inside:avoid}.scheduler-traveler-logo{width:44px;height:44px}@page{size:letter landscape;margin:8mm}}

/* Scheduler cells / departments */
.scheduler-machine-pick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.scheduler-machine-pick{display:flex!important;align-items:center;gap:8px;border:1px solid #d5dfeb;background:#fff;border-radius:14px;padding:10px 12px;font-weight:900;color:#334155}
.scheduler-machine-pick input{width:auto!important;margin:0}
.scheduler-machine-pick span{line-height:1.2}
.scheduler-group-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.scheduler-group-card{border:1px solid #d5dfeb;background:#fff;border-radius:18px;padding:14px;box-shadow:0 10px 24px rgba(15,23,42,.05);display:grid;gap:6px}
.scheduler-group-card strong{font-size:16px;color:#0f172a}
.scheduler-group-card span{font-size:12px;font-weight:950;color:#2563eb;text-transform:uppercase;letter-spacing:.04em}
.scheduler-group-card p{margin:0 0 6px;color:#64748b;min-height:20px}
@media(max-width:1050px){.scheduler-machine-pick-grid,.scheduler-group-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.scheduler-machine-pick-grid,.scheduler-group-card-grid{grid-template-columns:1fr}}

/* Scheduler printable calendar + carryover readability */
.scheduler-calendar-job{
  position:relative;
  overflow:visible;
  background:var(--job-bg,#eff6ff)!important;
  border-color:var(--job-border,#bfdbfe)!important;
  color:var(--job-text,#1e3a8a)!important;
  box-shadow:0 6px 14px rgba(15,23,42,.07)!important;
}
.scheduler-calendar-job::before,
.scheduler-calendar-job::after{
  content:"";
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  height:4px;
  background:var(--job-line,#2563eb);
  z-index:0;
}
.scheduler-calendar-job > *{position:relative;z-index:1}
.scheduler-calendar-segment-start{border-right-style:dashed!important;border-top-right-radius:4px!important;border-bottom-right-radius:4px!important}
.scheduler-calendar-segment-middle{border-left-style:dashed!important;border-right-style:dashed!important;border-radius:4px!important;min-height:58px}
.scheduler-calendar-segment-end{border-left-style:dashed!important;border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}
.scheduler-calendar-segment-start::after,
.scheduler-calendar-segment-middle::after{right:-10px;width:10px}
.scheduler-calendar-segment-middle::before,
.scheduler-calendar-segment-end::before{left:-10px;width:10px}
.scheduler-calendar-job.late{
  background:var(--job-bg,#fff)!important;
  border-color:var(--job-border,#bfdbfe)!important;
  box-shadow:inset 5px 0 0 #dc2626,0 6px 14px rgba(15,23,42,.07)!important;
}
.scheduler-calendar-job.done,
.scheduler-calendar-job.in-progress,
.scheduler-calendar-job.setup-skip{
  background:var(--job-bg,#eff6ff)!important;
  border-color:var(--job-border,#bfdbfe)!important;
  color:var(--job-text,#1e3a8a)!important;
}
.scheduler-calendar-job.done{box-shadow:inset 5px 0 0 #16a34a,0 6px 14px rgba(15,23,42,.07)!important}
.scheduler-calendar-job.in-progress{box-shadow:inset 5px 0 0 #f59e0b,0 6px 14px rgba(15,23,42,.07)!important}
.scheduler-calendar-job.manual{outline:2px solid rgba(124,58,237,.28);outline-offset:1px}
.scheduler-calendar-job.draggable{cursor:grab;user-select:none}
.scheduler-calendar-job.draggable:hover{filter:saturate(1.04);box-shadow:0 10px 22px rgba(15,23,42,.12)!important}
.scheduler-calendar-job.scheduler-dragging{opacity:.45;cursor:grabbing;filter:none}
.scheduler-calendar-drop-cell{transition:background .12s ease,outline-color .12s ease}
.scheduler-calendar-drop-cell.scheduler-drop-active{background:#eef6ff!important;outline:3px solid #2563eb;outline-offset:-3px}
.scheduler-calendar-drop-cell.scheduler-drop-blocked{background:#fff1f2!important;outline:2px dashed #dc2626;outline-offset:-3px}
.scheduler-calendar-alert{color:#991b1b!important;font-weight:950!important;opacity:1!important}
.scheduler-calendar-continue-label{font-size:10px!important;text-transform:uppercase;letter-spacing:.04em;font-weight:950!important;opacity:.72!important}
.scheduler-calendar-job-top span{font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.scheduler-print-body{background:#eef2f7;margin:0;color:#0f172a}
.scheduler-print-page{max-width:1600px;margin:0 auto;padding:24px}
.scheduler-print-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;background:#fff;border:1px solid #d5dfeb;border-radius:18px;padding:18px 20px;margin-bottom:14px;box-shadow:0 10px 24px rgba(15,23,42,.06)}
.scheduler-print-eyebrow{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;color:#2563eb;margin-bottom:4px}
.scheduler-print-header h1{margin:0 0 6px;font-size:30px;letter-spacing:-.04em;color:#0f172a}
.scheduler-print-header p{margin:0;color:#64748b;font-weight:750}
.scheduler-print-actions{display:flex;gap:10px;flex-wrap:wrap}
.scheduler-print-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}
.scheduler-print-summary div{background:#fff;border:1px solid #d5dfeb;border-radius:14px;padding:10px 12px;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.scheduler-print-summary span{display:block;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin-bottom:4px}
.scheduler-print-summary strong{display:block;color:#0f172a;font-size:14px;line-height:1.15}
.scheduler-print-legend{display:flex;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #d5dfeb;border-radius:14px;padding:10px 12px;margin-bottom:14px;color:#334155;font-size:12px;font-weight:900}
.scheduler-print-legend span{display:inline-flex;gap:6px;align-items:center}
.legend-chip{display:inline-block;width:18px;height:10px;border-radius:999px;border:1px solid #94a3b8;background:#e2e8f0}
.legend-start{border-right-style:dashed;background:#dbeafe}
.legend-middle{border-left-style:dashed;border-right-style:dashed;background:#dbeafe}
.legend-end{border-left-style:dashed;background:#dbeafe}
.legend-late{box-shadow:inset 5px 0 0 #dc2626;background:#fee2e2}
.legend-manual{outline:2px solid rgba(124,58,237,.35);background:#ede9fe}
.scheduler-calendar-wrap-print{overflow:visible!important;border-radius:14px!important;background:#fff}
.scheduler-print-unscheduled{margin-top:16px;background:#fff;border:1px solid #fbbf24;border-radius:14px;padding:14px}
.scheduler-print-unscheduled h2{margin:0 0 8px;font-size:17px;color:#92400e}
.scheduler-print-unscheduled div{padding:6px 0;border-top:1px solid #fde68a;color:#334155}
.scheduler-print-unscheduled div:first-of-type{border-top:0}
@media(max-width:1100px){.scheduler-print-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.scheduler-print-header{display:grid}.scheduler-print-summary{grid-template-columns:1fr}}
@media print{
  @page{size:landscape;margin:.35in}
  body.scheduler-print-body{background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .no-print{display:none!important}
  .scheduler-print-page{max-width:none;margin:0;padding:0}
  .scheduler-print-header{box-shadow:none;border-radius:0;padding:0 0 10px;margin-bottom:8px;border:0;border-bottom:2px solid #0f172a}
  .scheduler-print-header h1{font-size:22px}
  .scheduler-print-summary{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-bottom:8px}
  .scheduler-print-summary div{box-shadow:none;border-radius:8px;padding:6px 7px}
  .scheduler-print-summary span{font-size:8px}
  .scheduler-print-summary strong{font-size:10px}
  .scheduler-print-legend{border-radius:8px;padding:6px 8px;margin-bottom:8px;font-size:9px;gap:8px}
  .scheduler-calendar-wrap{overflow:visible!important;border:0!important;box-shadow:none!important}
  .scheduler-calendar-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;font-size:9px}
  .scheduler-calendar-table th,.scheduler-calendar-table td{min-width:0!important;max-width:none!important;padding:4px!important;border:1px solid #cbd5e1!important;page-break-inside:avoid;background:#fff!important}
  .scheduler-calendar-table th{position:static!important;font-size:8px!important;color:#0f172a!important;background:#f1f5f9!important}
  .scheduler-calendar-table th strong{font-size:10px!important}
  .scheduler-calendar-machine-head,.scheduler-calendar-machine{position:static!important;min-width:0!important;width:1.05in!important;background:#f8fafc!important}
  .scheduler-calendar-job{box-shadow:none!important;border-radius:6px!important;margin:0 0 3px!important;padding:4px 5px!important;page-break-inside:avoid;color:var(--job-text,#111827)!important}
  .scheduler-calendar-job::before,.scheduler-calendar-job::after{height:3px}
  .scheduler-calendar-segment-start::after,.scheduler-calendar-segment-middle::after{right:-5px;width:5px}
  .scheduler-calendar-segment-middle::before,.scheduler-calendar-segment-end::before{left:-5px;width:5px}
  .scheduler-calendar-job-top strong,.scheduler-calendar-job div:not(.scheduler-calendar-job-top){font-size:8.5px!important;line-height:1.05!important}
  .scheduler-calendar-job-top span,.scheduler-calendar-job small{font-size:7px!important;line-height:1.05!important}
  .scheduler-calendar-mini-actions{display:none!important}
  .scheduler-print-unscheduled{border-radius:0;margin-top:8px;padding:8px;page-break-inside:avoid}
}

/* Bear Inventory add-on v4.0.66 */
.inventory-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px 0}
.inventory-subnav a{display:inline-flex;align-items:center;border:1px solid #cbd5e1;background:#f8fafc;color:#334155;text-decoration:none;border-radius:8px;padding:8px 10px;font-weight:900;font-size:13px}
.inventory-subnav a.active{background:#0f172a;color:#fff;border-color:#0f172a}
.inventory-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;border-radius:8px;padding:16px;box-shadow:none}
.inventory-hero h1{margin:0;font-size:28px;letter-spacing:0}
.inventory-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.inventory-actions.form-actions{justify-content:flex-start;margin-top:18px}
.button.small,button.small{padding:6px 9px;font-size:12px;border-radius:8px}
.inventory-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:12px 0 16px}
.inventory-stat-grid.four{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.inventory-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:8px;text-decoration:none;box-shadow:none}
.inventory-stat:hover{border-color:#94a3b8;background:#f8fafc}
.inventory-stat.active{border-color:#2563eb;background:#eff6ff}
.inventory-stat strong{display:block;font-size:22px;letter-spacing:0;line-height:1.05}
.inventory-stat span{display:block;margin-top:0;color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-weight:900;font-size:11px}
.inventory-stat.warning{border-color:#fcd34d;background:#fffbeb}
.inventory-stat.danger{border-color:#fca5a5;background:#fef2f2}
.inventory-grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:12px;margin:12px 0}
.inventory-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.inventory-list.compact{display:grid;gap:8px}
.inventory-row-link{display:flex;justify-content:space-between;gap:14px;align-items:center;text-decoration:none;color:#0f172a;border:1px solid #e2e8f0;background:#fff;border-radius:8px;padding:9px 10px}
.inventory-row-link:hover{border-color:#2563eb;background:#f8fbff;box-shadow:none}
.inventory-row-link.static:hover{border-color:#e2e8f0;box-shadow:none}
.inventory-row-link strong{display:block}
.inventory-row-link span{display:block;color:#64748b;font-size:13px;margin-top:3px}
.inventory-qty{text-align:right;white-space:nowrap}.inventory-qty b{display:block;font-size:16px}.inventory-qty span{display:inline-flex;margin-top:4px}
.inventory-pill{display:inline-flex;align-items:center;border-radius:6px;padding:4px 7px;font-weight:900;font-size:11px;text-transform:uppercase;letter-spacing:.04em;border:1px solid #cbd5e1;background:#f1f5f9;color:#334155;white-space:nowrap}
.inventory-pill.ok{background:#dcfce7;color:#166534;border-color:#86efac}.inventory-pill.warn{background:#fef3c7;color:#92400e;border-color:#fcd34d}.inventory-pill.bad{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.inventory-pill.muted{background:#e2e8f0;color:#475569;border-color:#cbd5e1}
.inventory-process-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}.inventory-process-grid.large{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.inventory-process-card{border:1px solid #e2e8f0;background:#fff;border-radius:8px;padding:12px}.inventory-process-card strong{display:block;font-size:16px}.inventory-process-card span{display:block;color:#64748b;font-weight:800;margin-top:3px}.inventory-process-card p{color:#475569;margin-bottom:0}
.inventory-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px;margin:12px 0}.inventory-mini-grid div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:9px}.inventory-mini-grid b{display:block}.inventory-mini-grid span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.inventory-custom-list{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.inventory-custom-list span{display:inline-flex;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}
.inventory-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;align-items:end}.inventory-filter-grid input,.inventory-filter-grid select{width:100%;border-radius:8px;padding:9px 10px}
.inventory-table-wrap{overflow:auto}.inventory-table{width:100%;border-collapse:collapse;min-width:980px}.inventory-table th{position:sticky;top:0;background:#f8fafc;color:#334155;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:9px 10px;border-bottom:1px solid #e2e8f0}.inventory-table td{padding:9px 10px;border-bottom:1px solid #eef2f7;vertical-align:middle}.inventory-table tr:last-child td{border-bottom:none}.muted-small{font-size:12px;color:#64748b}
.inventory-primary-cell strong{display:block;font-size:16px;color:#0f172a}
.inventory-primary-cell span{display:block;margin-top:2px}
.inventory-form h2{margin-top:22px}.inventory-form h2:first-child{margin-top:0}.inventory-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:10px 0 16px}.inventory-form-grid.one{grid-template-columns:1fr}.inventory-form input,.inventory-form select,.inventory-form textarea{width:100%}.inventory-form.small-form{margin-top:12px}.inventory-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin:10px 0 16px}.inventory-check-grid label{border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:10px;font-weight:800;color:#334155}
.add-modal-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;background:rgba(15,23,42,.48);opacity:0;pointer-events:none;transition:opacity .18s ease}
.add-modal-backdrop.is-open{opacity:1;pointer-events:auto}
.add-modal{width:min(980px,66vw);max-width:calc(100vw - 28px);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border:1px solid #d8e0ec;border-radius:8px;box-shadow:0 26px 72px rgba(15,23,42,.28);transform:translateY(18px) scale(.98);transition:transform .18s ease}
.add-modal-backdrop.is-open .add-modal{transform:translateY(0) scale(1)}
.add-modal-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:16px;border-bottom:1px solid #d8e0ec;background:#fff}
.add-modal-head h2{margin:0}
.add-modal-body{padding:16px}
.add-modal-close{border:1px solid #d8e0ec;background:#f1f5f9;color:#0f172a;border-radius:8px;width:40px;height:40px;padding:0;font-size:24px;line-height:1}
.add-modal-form[hidden]{display:none}
.add-modal-result{display:grid;gap:8px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:8px;padding:12px;transform:translateY(6px);opacity:0;transition:opacity .18s ease,transform .18s ease}
.add-modal-result.is-visible{opacity:1;transform:translateY(0)}
.add-modal-result.is-error{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.add-modal-result span{display:block;color:inherit}
.action-item-assignment-modal{width:min(980px,72vw)}
.action-item-assignment-form{display:grid;gap:10px;margin-bottom:10px}
.action-item-assignment-board{display:grid;gap:0;border-top:1px solid #e2e8f0;padding-top:8px}
.action-item-assignment-board-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 6px}
.action-item-assignment-board h3{margin:0;color:#0f172a;font-size:15px}
.action-item-assignment-board-head span{color:#64748b;font-size:12px;font-weight:850}
.action-item-assignment-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid #e2e8f0;background:transparent;border-radius:0;padding:7px 0}
.action-item-assignment-card strong{display:block;color:#0f172a;font-size:13px;line-height:1.2}
.action-item-assignment-card span{display:block;color:#64748b;font-size:11px;font-weight:850;line-height:1.25}
.action-item-assignment-card p{margin:2px 0 0;color:#334155;font-size:11px;line-height:1.25}
.action-item-assignment-card .action-item-assignment-status{color:#b45309;font-size:11px;font-weight:950;text-align:right;white-space:nowrap}
.action-item-assignment-card .action-item-assignment-status.is-complete{color:#15803d}
.inventory-row-new{animation:inventoryRowIn .42s ease both}
@keyframes inventoryRowIn{from{opacity:0;transform:translateY(-10px);background:#eff6ff}to{opacity:1;transform:translateY(0);background:#fff}}
.inventory-detail-list{display:grid;grid-template-columns:minmax(120px,180px) 1fr;gap:8px 12px}.inventory-detail-list dt{color:#64748b;font-weight:900}.inventory-detail-list dd{margin:0;color:#0f172a}
.tool-crib-alert-card{padding:14px}
.tool-crib-alert-card h2{margin:0}.tool-crib-alert-form{display:grid;gap:10px}.tool-crib-alert-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.tool-crib-alert-columns section{border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:8px}.tool-crib-alert-columns h3{margin:0 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:#334155}
.switch-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:center;border:1px solid #e5e7eb;background:#fff;border-radius:8px;padding:7px 8px;margin:0 0 6px;cursor:pointer}.switch-row:last-child{margin-bottom:0}.switch-row-main{background:#fff;border-color:#d8e0ec}.switch-row strong{display:block;color:#0f172a;font-size:13px;line-height:1.15;overflow:hidden;text-overflow:ellipsis}.switch-row small{display:block;color:#64748b;font-size:11px;line-height:1.15;overflow:hidden;text-overflow:ellipsis}.switch-row input{position:absolute;opacity:0;pointer-events:none}.switch-ui{position:relative;display:block;width:42px;height:22px;border-radius:999px;background:#ef4444;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);transition:background .16s ease}.switch-ui:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.25);transition:transform .16s ease}.switch-row input:checked+.switch-ui{background:#16a34a}.switch-row input:checked+.switch-ui:after{transform:translateX(20px)}
.vendor-phonebook-table th,.vendor-phonebook-table td{padding:8px 10px;vertical-align:top}.vendor-edit-row td{background:#f8fafc;border-top:0}.vendor-inline-form{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:8px;align-items:end}.vendor-inline-form label{font-size:11px;font-weight:900;text-transform:uppercase;color:#64748b}.vendor-inline-form input{width:100%;min-height:34px}.vendor-inline-wide{grid-column:span 2}.vendor-inline-actions{display:flex;gap:8px;align-items:center}.vendor-archive-form{margin-top:8px}.inventory-filter-check{align-self:end;margin-bottom:2px}
@media(max-width:900px){.add-modal{width:min(720px,94vw)}}
@media(max-width:800px){.inventory-grid-2{grid-template-columns:1fr}.inventory-row-link{align-items:flex-start;flex-direction:column}.inventory-qty{text-align:left}.inventory-detail-list{grid-template-columns:1fr}.inventory-hero{flex-direction:column}.inventory-actions{justify-content:flex-start}.add-modal-backdrop{padding:12px;align-items:start}.add-modal{width:100%;max-height:calc(100vh - 24px)}.vendor-inline-form{grid-template-columns:1fr}.vendor-inline-wide{grid-column:auto}}

/* Inventory kiosk / QR pulls */
.kiosk-link-box{padding:14px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;word-break:break-all;margin-top:10px}
.inventory-table input[type="checkbox"]{width:auto;transform:scale(1.15)}

/* Editable material inventory grid */
.material-grid-card{padding:0;overflow:hidden;border-radius:8px;box-shadow:none}
.material-grid-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(170px,220px) auto;gap:10px;align-items:end;padding:12px;border-bottom:1px solid #cbd5e1;background:#f8fafc}
.material-grid-toolbar label{display:block;margin-bottom:4px;color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.material-grid-toolbar input,.material-grid-toolbar select{width:100%;height:36px;border:1px solid #94a3b8;border-radius:4px;background:#fff;padding:6px 9px;color:#0f172a}
.material-grid-count{display:flex;align-items:baseline;justify-content:flex-end;gap:5px;min-width:82px;padding:0 2px 7px;color:#64748b}.material-grid-count strong{color:#0f172a;font-size:18px}.material-grid-count span{font-size:12px;font-weight:800}
.material-grid-metrics{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));border-bottom:1px solid #cbd5e1;background:#fff}
.material-grid-metrics>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:8px 12px;border-right:1px solid #e2e8f0}.material-grid-metrics>div:last-child{border-right:0}
.material-grid-metrics span{color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.material-grid-metrics strong{color:#0f172a;font-size:16px}.material-grid-metrics .metric-warning strong{color:#a16207}.material-grid-metrics .metric-danger strong{color:#b91c1c}
.material-grid-wrap{max-height:max(430px,calc(100vh - 365px));overflow:auto;background:#fff}
.material-grid-table{width:100%;min-width:1770px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}
.material-grid-table th{position:sticky;top:0;z-index:4;height:36px;padding:0;border-right:1px solid #cbd5e1;border-bottom:1px solid #94a3b8;background:#e9eef5;color:#334155;text-align:left}
.material-grid-table th:first-child{left:0;z-index:6;width:190px}.material-grid-table th:nth-child(2){width:110px}.material-grid-table th:nth-child(3){width:135px}.material-grid-table th:nth-child(4){width:115px}.material-grid-table th:nth-child(5){width:145px}.material-grid-table th:nth-child(6){width:90px}.material-grid-table th:nth-child(7){width:70px}.material-grid-table th:nth-child(8),.material-grid-table th:nth-child(9){width:80px}.material-grid-table th:nth-child(10){width:95px}.material-grid-table th:nth-child(11){width:145px}.material-grid-table th:nth-child(12){width:85px}.material-grid-table th:nth-child(13){width:125px}.material-grid-table th:nth-child(14){width:95px}.material-grid-table th:nth-child(15){width:80px}.material-grid-table th:nth-child(16){width:155px;right:0;z-index:6}
.material-grid-table th button{display:flex;width:100%;height:35px;align-items:center;justify-content:space-between;border:0;border-radius:0;background:transparent;color:inherit;padding:7px 8px;font-size:11px;font-weight:900;text-align:left;text-transform:uppercase;letter-spacing:.04em;box-shadow:none}
.material-grid-table th button:after{content:"\2195";color:#64748b;font-size:12px}.material-grid-table th[aria-sort="ascending"] button:after{content:"\25B2";color:#1d4ed8}.material-grid-table th[aria-sort="descending"] button:after{content:"\25BC";color:#1d4ed8}
.material-grid-table td{height:41px;padding:3px;border-right:1px solid #dbe2ea;border-bottom:1px solid #dbe2ea;background:#fff;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.material-grid-table tbody tr:nth-child(even) td{background:#f8fafc}.material-grid-table tbody tr:hover td{background:#f0f6ff}
.material-grid-table td:first-child{position:sticky;left:0;z-index:2;background:#fff;font-weight:800}.material-grid-table tbody tr:nth-child(even) td:first-child{background:#f8fafc}.material-grid-table tbody tr:hover td:first-child{background:#f0f6ff}
.material-grid-table td:last-child{position:sticky;right:0;z-index:2;background:#fff}.material-grid-table tbody tr:nth-child(even) td:last-child{background:#f8fafc}.material-grid-table tbody tr:hover td:last-child{background:#f0f6ff}
.material-grid-table input,.material-grid-table select{display:block;width:100%;height:32px;min-width:0;border:1px solid transparent;border-radius:2px;background:transparent;padding:5px 6px;color:#0f172a;font:inherit;line-height:1.2}
.material-grid-table input:hover,.material-grid-table select:hover{border-color:#cbd5e1;background:#fff}.material-grid-table input:focus,.material-grid-table select:focus{position:relative;z-index:1;border-color:#2563eb;background:#fff;outline:2px solid rgba(37,99,235,.2);outline-offset:-1px}
.material-grid-table input[type="number"]{text-align:right}.material-grid-table a{color:#1e3a8a}.material-grid-value{text-align:right;font-variant-numeric:tabular-nums;font-weight:800}
.material-grid-row.is-dirty td,.material-grid-row.is-dirty td:first-child,.material-grid-row.is-dirty td:last-child{background:#fffbeb}.material-grid-row.is-saving td,.material-grid-row.is-saving td:first-child,.material-grid-row.is-saving td:last-child{background:#eff6ff}.material-grid-row.is-saved td,.material-grid-row.is-saved td:first-child,.material-grid-row.is-saved td:last-child{background:#f0fdf4}.material-grid-row.is-error td,.material-grid-row.is-error td:first-child,.material-grid-row.is-error td:last-child{background:#fef2f2}
.material-grid-row-actions{display:grid;grid-template-columns:auto auto;gap:4px;align-items:center}.material-grid-row-actions .button,.material-grid-row-actions button{height:28px;padding:4px 7px;border-radius:4px;font-size:11px;line-height:18px;text-align:center}.material-grid-row-actions button:disabled{opacity:.45;cursor:default}
.material-grid-row-actions .material-row-save{border-color:#2563eb;background:#2563eb;color:#fff}.material-grid-row-actions .material-row-save:disabled{border-color:#cbd5e1;background:#e2e8f0;color:#64748b;opacity:1}.material-grid-row.is-saved .material-row-save{border-color:#86efac;background:#dcfce7;color:#166534}
.material-row-message{grid-column:1/-1;color:#64748b;font-size:10px;font-weight:800;line-height:1.1;overflow:hidden;text-overflow:ellipsis}.material-row-message:empty{display:none}.material-row-message.is-error{display:block;color:#b91c1c}
.material-grid-empty{margin:0;padding:20px;text-align:center}.material-grid-empty[hidden]{display:none}
@media(max-width:800px){.material-grid-toolbar{grid-template-columns:1fr 150px}.material-grid-count{grid-column:1/-1;justify-content:flex-start;padding-bottom:0}.material-grid-metrics{grid-template-columns:repeat(2,1fr)}.material-grid-metrics>div:nth-child(2){border-right:0}.material-grid-metrics>div:nth-child(-n+2){border-bottom:1px solid #e2e8f0}.material-grid-wrap{max-height:calc(100vh - 420px);min-height:360px}}

/* Bear Inventory brand refresh */
body.inventory-ui{
  --inv-night:#020813;
  --inv-navy:#061832;
  --inv-command:#0b2342;
  --inv-blue:#1298f6;
  --inv-cyan:#34c3ff;
  --inv-ice:#ddf5ff;
  --inv-paper:#f8fbfd;
  --inv-ink:#102033;
  --inv-muted:#607084;
  --inv-line:#d4e2ec;
  --inv-red:#b3262e;
  background:#edf4f8;
}
body.inventory-ui .topnav-main{
  background:#edf4f8;
  background-image:linear-gradient(#d4e2ec 1px,transparent 1px),linear-gradient(90deg,#d4e2ec 1px,transparent 1px);
  background-size:34px 34px;
  padding:14px 18px 24px!important;
}
body.inventory-ui .inventory-subnav{
  gap:6px;
  margin:0 0 12px;
  padding:8px;
  border:1px solid #c5d5e2;
  border-radius:8px;
  background:rgba(248,251,253,.88);
}
body.inventory-ui .inventory-subnav a{
  min-height:34px;
  border-color:#c5d5e2;
  border-radius:8px;
  background:#fff;
  color:var(--inv-ink);
  padding:8px 10px;
  font-size:12px;
  letter-spacing:0;
}
body.inventory-ui .inventory-subnav a:hover{
  border-color:var(--inv-blue);
  color:#063968;
  background:#eef8ff;
}
body.inventory-ui .inventory-subnav a.active{
  border-color:var(--inv-blue);
  background:var(--inv-navy);
  color:#fff;
  box-shadow:inset 0 -3px 0 var(--inv-blue);
}
body.inventory-ui .workspace-bar{
  align-items:center;
  min-height:34px;
  margin:0 0 8px;
  padding:6px 10px!important;
  border-color:#c5d5e2;
  border-radius:8px;
  background:rgba(248,251,253,.82);
}
body.inventory-ui .workspace-bar>div{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
body.inventory-ui .workspace-bar b{
  font-size:13px;
  line-height:1.15;
}
body.inventory-ui .workspace-bar .muted{
  margin:0;
  font-size:11px;
  line-height:1.15;
}
body.inventory-ui .topnav-main .card{
  border:1px solid #c8d8e5;
  border-radius:8px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 24px rgba(6,24,50,.06);
  margin-bottom:8px;
  padding:12px;
}
body.inventory-ui .inventory-hero{
  position:relative;
  overflow:hidden;
  min-height:72px;
  margin-bottom:8px;
  border-color:#163c64;
  background:var(--inv-night)!important;
  color:#fff;
  padding:10px 14px;
  box-shadow:0 10px 24px rgba(6,24,50,.14);
}
body.inventory-ui .inventory-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(52,195,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(52,195,255,.12) 1px,transparent 1px);
  background-size:34px 34px;
}
body.inventory-ui .inventory-hero::after{
  content:"";
  position:absolute;
  top:-10px;
  bottom:-10px;
  left:14px;
  width:6px;
  background:var(--inv-red);
  transform:skewX(-9deg);
  box-shadow:12px 0 0 5px var(--inv-blue),26px 0 0 12px var(--inv-command);
}
body.inventory-ui .inventory-hero>*{
  position:relative;
  z-index:1;
}
body.inventory-ui .inventory-hero>div:first-child{
  max-width:760px;
  padding-left:54px;
}
body.inventory-ui .inventory-hero h1{
  color:#fff;
  font-size:24px;
  line-height:1.02;
  letter-spacing:0;
  margin:0 0 3px;
}
body.inventory-ui .inventory-hero .muted,
body.inventory-ui .inventory-hero p{
  color:var(--inv-ice);
  font-size:12px;
  line-height:1.25;
  margin:0;
}
body.inventory-ui .inventory-actions{
  gap:8px;
}
body.inventory-ui .topnav-main button,
body.inventory-ui .topnav-main .button{
  border-radius:8px;
  letter-spacing:0;
}
body.inventory-ui .inventory-actions button,
body.inventory-ui .inventory-actions .button,
body.inventory-ui .inventory-card-head .button,
body.inventory-ui .inventory-table .button{
  border-color:#0b75c8;
  background:var(--inv-blue);
  color:#fff;
  box-shadow:none;
}
body.inventory-ui .inventory-actions button:hover,
body.inventory-ui .inventory-actions .button:hover,
body.inventory-ui .inventory-card-head .button:hover,
body.inventory-ui .inventory-table .button:hover{
  border-color:#075995;
  background:#0c84d8;
}
body.inventory-ui .inventory-actions .secondary,
body.inventory-ui .inventory-actions button.secondary,
body.inventory-ui .topnav-main .button.secondary,
body.inventory-ui .topnav-main button.secondary{
  border-color:#b8c9d8;
  background:#f8fbfd;
  color:var(--inv-ink);
}
body.inventory-ui .inventory-actions .secondary:hover,
body.inventory-ui .inventory-actions button.secondary:hover,
body.inventory-ui .topnav-main .button.secondary:hover,
body.inventory-ui .topnav-main button.secondary:hover{
  border-color:var(--inv-blue);
  background:#eef8ff;
  color:#063968;
}
body.inventory-ui .inventory-stat-grid{
  gap:8px;
  margin:8px 0 10px;
}
body.inventory-ui .inventory-stat{
  position:relative;
  min-height:58px;
  align-items:flex-end;
  border-color:#c8d8e5;
  border-radius:8px;
  background:#fff;
  padding:9px 11px;
  color:var(--inv-ink);
  overflow:hidden;
}
body.inventory-ui .inventory-stat::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:var(--inv-blue);
}
body.inventory-ui .inventory-stat:hover{
  border-color:var(--inv-blue);
  background:#f8fbfd;
  transform:translateY(-1px);
}
body.inventory-ui .inventory-stat.active{
  border-color:var(--inv-blue);
  background:#eef8ff;
}
body.inventory-ui .inventory-stat strong{
  color:var(--inv-ink);
  font-size:20px;
  letter-spacing:0;
}
body.inventory-ui .inventory-stat span{
  color:var(--inv-muted);
  font-size:11px;
  letter-spacing:0;
}
body.inventory-ui .inventory-stat.warning::before{background:#f59e0b}
body.inventory-ui .inventory-stat.danger::before{background:var(--inv-red)}
body.inventory-ui .inventory-stat.warning{border-color:#f3c970;background:#fffaf0}
body.inventory-ui .inventory-stat.danger{border-color:#e5a2a6;background:#fff5f5}
body.inventory-ui .inventory-card-head{
  align-items:center;
  border-bottom:1px solid #dbe7f0;
  padding-bottom:6px;
}
body.inventory-ui .inventory-card-head .muted{
  margin:2px 0 0;
  font-size:12px;
  line-height:1.22;
}
body.inventory-ui .inventory-card-head h2,
body.inventory-ui .topnav-main .card>h2{
  color:var(--inv-ink);
  letter-spacing:0;
}
body.inventory-ui .inventory-list.compact{
  gap:8px;
}
body.inventory-ui .inventory-row-link{
  border-color:#d6e3ed;
  border-radius:8px;
  background:#fff;
  color:var(--inv-ink);
  padding:8px 10px;
}
body.inventory-ui .inventory-row-link:hover{
  border-color:var(--inv-blue);
  background:#f3faff;
}
body.inventory-ui .inventory-row-link strong,
body.inventory-ui .inventory-primary-cell strong{
  color:var(--inv-ink);
  letter-spacing:0;
}
body.inventory-ui .inventory-row-link span,
body.inventory-ui .muted,
body.inventory-ui .muted-small{
  color:var(--inv-muted);
}
body.inventory-ui .inventory-pill{
  border-radius:6px;
  letter-spacing:0;
}
body.inventory-ui .inventory-pill.ok{border-color:#8bd6a8;background:#e9fff0;color:#126431}
body.inventory-ui .inventory-pill.warn{border-color:#f1c35c;background:#fff7de;color:#8a5a00}
body.inventory-ui .inventory-pill.bad{border-color:#de8d92;background:#fff0f1;color:#8b1018}
body.inventory-ui .inventory-pill.muted{border-color:#c8d8e5;background:#eef4f8;color:#465d72}
body.inventory-ui .inventory-process-card,
body.inventory-ui .inventory-mini-grid div,
body.inventory-ui .inventory-check-grid label,
body.inventory-ui .switch-row,
body.inventory-ui .tool-crib-alert-columns section{
  border-color:#d6e3ed;
  border-radius:8px;
  background:#fff;
}
body.inventory-ui .inventory-process-card{
  position:relative;
  overflow:hidden;
  box-shadow:none;
}
body.inventory-ui .inventory-process-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:4px;
  height:100%;
  background:var(--inv-blue);
}
body.inventory-ui .inventory-process-card h2,
body.inventory-ui .inventory-process-card strong{
  color:var(--inv-ink);
}
body.inventory-ui .inventory-process-card span,
body.inventory-ui .inventory-mini-grid span,
body.inventory-ui .inventory-custom-list span{
  letter-spacing:0;
}
body.inventory-ui .inventory-mini-grid div{
  background:#f8fbfd;
}
body.inventory-ui .inventory-mini-grid b{
  color:var(--inv-ink);
}
body.inventory-ui .inventory-custom-list span{
  border-color:#b9dff7;
  border-radius:8px;
  background:#eef8ff;
  color:#075995;
}
body.inventory-ui .inventory-filter-grid{
  gap:10px;
}
body.inventory-ui .inventory-filter-grid label,
body.inventory-ui .inventory-form label,
body.inventory-ui .vendor-inline-form label,
body.inventory-ui .material-grid-toolbar label{
  color:#465d72;
  letter-spacing:0;
}
body.inventory-ui .topnav-main input,
body.inventory-ui .topnav-main select,
body.inventory-ui .topnav-main textarea{
  border-color:#b8c9d8;
  border-radius:8px;
  background:#fff;
  color:var(--inv-ink);
}
body.inventory-ui .topnav-main input:focus,
body.inventory-ui .topnav-main select:focus,
body.inventory-ui .topnav-main textarea:focus{
  border-color:var(--inv-blue);
  outline:2px solid rgba(18,152,246,.18);
}
body.inventory-ui .inventory-table-wrap{
  border-radius:8px;
  overflow:auto;
}
body.inventory-ui .inventory-table{
  border-collapse:separate;
  border-spacing:0;
}
body.inventory-ui .inventory-table th{
  background:var(--inv-navy);
  color:#fff;
  border-bottom:2px solid var(--inv-blue);
  padding:8px 9px;
  font-size:11px;
  letter-spacing:0;
}
body.inventory-ui .inventory-table td{
  border-bottom:1px solid #e3edf4;
  background:#fff;
  color:var(--inv-ink);
  padding:8px 9px;
}
body.inventory-ui .inventory-table tbody tr:nth-child(even) td{
  background:#f8fbfd;
}
body.inventory-ui .inventory-table tbody tr:hover td{
  background:#eef8ff;
}
body.inventory-ui .inventory-detail-list{
  border:1px solid #d6e3ed;
  border-radius:8px;
  background:#f8fbfd;
  padding:12px;
}
body.inventory-ui .inventory-detail-list dt{
  color:#465d72;
  letter-spacing:0;
}
body.inventory-ui .inventory-detail-list dd{
  color:var(--inv-ink);
}
body.inventory-ui .inventory-form h2{
  color:var(--inv-ink);
  border-bottom:1px solid #dbe7f0;
  padding-bottom:6px;
}
body.inventory-ui .add-modal-backdrop{
  background:rgba(2,8,19,.72);
}
body.inventory-ui .add-modal{
  width:min(1120px,86vw);
  max-height:calc(100vh - 28px);
  border-color:#163c64;
  border-radius:8px;
  background:var(--inv-paper);
  box-shadow:0 28px 80px rgba(2,8,19,.38);
}
body.inventory-ui .add-modal-head{
  align-items:center;
  padding:11px 14px;
  border-bottom-color:#163c64;
  background:var(--inv-navy);
}
body.inventory-ui .add-modal-head h2{
  margin:0 0 3px;
  color:#fff;
  font-size:22px;
  line-height:1.1;
}
body.inventory-ui .add-modal-head .muted{
  margin:0;
  color:var(--inv-ice);
  font-size:13px;
}
body.inventory-ui .add-modal-close{
  border-color:#214b75;
  border-radius:8px;
  background:#0b2342;
  color:#fff;
}
body.inventory-ui .add-modal-body{
  padding:12px;
  background:#f8fbfd;
}
body.inventory-ui .add-modal-result{
  border-radius:8px;
}
body.inventory-ui .add-modal-result[hidden]{
  display:none!important;
}
body.inventory-ui .inventory-fast-entry{
  display:grid;
  gap:6px;
}
body.inventory-ui .inventory-compact-add-card{
  padding:10px 12px;
}
body.inventory-ui .inventory-compact-add-card .inventory-card-head{
  margin-bottom:6px;
  padding-bottom:5px;
}
body.inventory-ui .inventory-compact-add-card .inventory-card-head h2{
  font-size:16px;
  margin:0;
}
body.inventory-ui .inventory-compact-add-card .inventory-card-head .muted{
  display:none;
}
body.inventory-ui .inventory-inline-add-form{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:6px;
}
body.inventory-ui .inventory-inline-add-form .inventory-fast-advanced{
  grid-column:1/-1;
}
body.inventory-ui .inventory-fast-band,
body.inventory-ui .inventory-fast-advanced{
  border:1px solid #d6e3ed;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
body.inventory-ui .inventory-fast-band-title,
body.inventory-ui .inventory-fast-advanced summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:24px;
  padding:4px 7px;
  border-bottom:1px solid #d6e3ed;
  background:#eef8ff;
  color:var(--inv-ink);
  font-size:11px;
  font-weight:900;
  letter-spacing:0;
}
body.inventory-ui .inventory-fast-band-title b{
  flex:0 0 auto;
  border:1px solid #b9dff7;
  border-radius:6px;
  background:#fff;
  color:#075995;
  padding:3px 6px;
  font-size:10px;
  line-height:1;
  letter-spacing:0;
}
body.inventory-ui .inventory-fast-advanced summary{
  cursor:pointer;
  list-style-position:inside;
}
body.inventory-ui .inventory-fast-advanced:not([open]) summary{
  border-bottom:0;
}
body.inventory-ui .inventory-fast-row{
  display:grid;
  gap:0;
}
body.inventory-ui .inventory-fast-row-core{
  grid-template-columns:minmax(220px,1.45fr) minmax(120px,.75fr) minmax(150px,1fr) minmax(150px,1fr);
}
body.inventory-ui .inventory-fast-row-stock{
  grid-template-columns:repeat(6,minmax(72px,1fr));
}
body.inventory-ui .inventory-fast-row-material{
  grid-template-columns:repeat(3,minmax(130px,1fr));
}
body.inventory-ui .inventory-fast-row-vendor{
  grid-template-columns:repeat(4,minmax(120px,1fr));
}
body.inventory-ui .inventory-fast-row-notes{
  grid-template-columns:repeat(2,minmax(180px,1fr));
}
body.inventory-ui .inventory-fast-cell{
  min-width:0;
  padding:5px;
  border-right:1px solid #e3edf4;
  border-radius:0;
  background:#fff;
  box-shadow:none;
}
body.inventory-ui .inventory-fast-cell:last-child{
  border-right:0;
}
body.inventory-ui .inventory-fast-cell label{
  display:block;
  margin:0 0 3px;
  color:#465d72;
  font-size:9px;
  font-weight:900;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:0;
}
body.inventory-ui .inventory-fast-cell input,
body.inventory-ui .inventory-fast-cell select{
  height:30px;
  padding:5px 7px;
  font-size:12px;
}
body.inventory-ui .inventory-fast-cell textarea{
  min-height:42px;
  padding:5px 7px;
  font-size:12px;
}
body.inventory-ui .inventory-fast-cell input::placeholder{
  color:#9aacbc;
}
body.inventory-ui .inventory-fast-check span{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:30px;
  color:var(--inv-ink);
  font-size:12px;
  font-weight:850;
}
body.inventory-ui .inventory-fast-check input[type="checkbox"]{
  width:16px;
  height:16px;
  flex:0 0 auto;
}
body.inventory-ui .inventory-fast-actions{
  align-items:center;
  margin-top:0;
}
body.inventory-ui .inventory-fast-actions button,
body.inventory-ui .inventory-fast-actions .button{
  min-height:32px;
  padding:7px 12px;
}
body.inventory-ui .inventory-fast-status{
  min-height:20px;
  color:#126431;
  font-size:12px;
  font-weight:900;
  line-height:1.2;
}
body.inventory-ui .inventory-fast-status.is-error{
  color:#991b1b;
}
body.inventory-ui .inventory-sheet-form{
  display:grid;
  gap:8px;
}
body.inventory-ui .inventory-sheet-toolbar{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:-2px -2px 2px;
  padding:10px 12px;
  border:1px solid #d6e3ed;
  border-radius:8px;
  background:#f8fbfd;
}
body.inventory-ui .inventory-sheet-toolbar strong,
body.inventory-ui .inventory-sheet-toolbar span{
  display:block;
}
body.inventory-ui .inventory-sheet-toolbar strong{
  color:var(--inv-ink);
  font-size:15px;
  line-height:1.2;
}
body.inventory-ui .inventory-sheet-toolbar span{
  margin-top:2px;
  color:var(--inv-muted);
  font-size:12px;
  font-weight:800;
}
body.inventory-ui .inventory-sheet-form h2{
  margin:4px 0 0;
  padding:7px 9px;
  border:1px solid #d6e3ed;
  border-bottom:0;
  border-radius:8px 8px 0 0;
  background:#eef8ff;
  font-size:14px;
}
body.inventory-ui .inventory-sheet-form h2+p.muted{
  margin:0;
  padding:8px 10px;
  border-right:1px solid #d6e3ed;
  border-left:1px solid #d6e3ed;
  background:#f8fbfd;
  font-size:12px;
}
body.inventory-ui .inventory-sheet-form .inventory-form-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0 0 8px;
  border:1px solid #d6e3ed;
  border-radius:0 0 8px 8px;
  background:#fff;
  overflow:hidden;
}
body.inventory-ui .inventory-sheet-form .inventory-form-grid>div{
  min-width:0;
  padding:6px;
  border-right:1px solid #e3edf4;
  border-bottom:1px solid #e3edf4;
}
body.inventory-ui .inventory-sheet-form .inventory-form-grid>div:nth-child(4n){
  border-right:0;
}
body.inventory-ui .inventory-sheet-form .inventory-form-grid.one{
  grid-template-columns:1fr;
}
body.inventory-ui .inventory-sheet-form .inventory-form-grid label{
  display:block;
  margin:0 0 4px;
  font-size:10px;
  font-weight:900;
  line-height:1.1;
  text-transform:uppercase;
}
body.inventory-ui .inventory-sheet-form .inventory-form-grid input,
body.inventory-ui .inventory-sheet-form .inventory-form-grid select{
  height:32px;
  padding:5px 7px;
  font-size:12px;
}
body.inventory-ui .inventory-sheet-form textarea{
  min-height:52px;
  font-size:12px;
}
body.inventory-ui .inventory-sheet-wide-cell{
  margin:0 0 8px;
  padding:6px;
  border:1px solid #d6e3ed;
  border-radius:8px;
  background:#fff;
}
body.inventory-ui .inventory-sheet-wide-cell label{
  display:block;
  margin:0 0 4px;
  font-size:10px;
  font-weight:900;
  line-height:1.1;
  text-transform:uppercase;
  letter-spacing:0;
}
body.inventory-ui .inventory-sheet-form .inventory-check-grid{
  gap:0;
  margin:0 0 8px;
  border:1px solid #d6e3ed;
  border-radius:0 0 8px 8px;
  overflow:hidden;
}
body.inventory-ui .inventory-sheet-form .inventory-check-grid label{
  margin:0;
  padding:8px;
  border:0;
  border-right:1px solid #e3edf4;
  border-radius:0;
}
body.inventory-ui .inventory-sheet-collapse{
  border:1px solid #d6e3ed;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
body.inventory-ui .inventory-sheet-collapse summary{
  min-height:32px;
  padding:7px 9px;
  background:#eef8ff;
  color:var(--inv-ink);
  cursor:pointer;
  font-size:13px;
  font-weight:900;
}
body.inventory-ui .inventory-sheet-collapse[open] summary{
  border-bottom:1px solid #d6e3ed;
}
body.inventory-ui .inventory-sheet-collapse>p.muted{
  margin:0;
  padding:7px 9px;
  border-bottom:1px solid #e3edf4;
  background:#f8fbfd;
  font-size:12px;
}
body.inventory-ui .inventory-sheet-collapse .inventory-form-grid,
body.inventory-ui .inventory-sheet-collapse .inventory-check-grid{
  margin:0;
  border:0;
  border-radius:0;
}
body.inventory-ui .inventory-item-sheet-form{
  padding:10px;
}
body.inventory-ui .inventory-item-sheet-form .inventory-sheet-toolbar{
  margin:-2px -2px 6px;
  padding:8px 10px;
}
body.inventory-ui .inventory-item-sheet-form h2{
  min-height:26px;
  margin:6px 0 0;
  padding:5px 8px;
  font-size:13px;
  line-height:1.15;
}
body.inventory-ui .inventory-item-sheet-form .inventory-form-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  margin:0 0 6px;
}
body.inventory-ui .inventory-item-sheet-form .inventory-form-grid>div{
  padding:5px;
}
body.inventory-ui .inventory-item-sheet-form .inventory-form-grid>div:nth-child(4n){
  border-right:1px solid #e3edf4;
}
body.inventory-ui .inventory-item-sheet-form .inventory-form-grid>div:nth-child(6n){
  border-right:0;
}
body.inventory-ui .inventory-item-sheet-form .inventory-sheet-wide-cell{
  margin:0 0 6px;
  padding:5px;
}
body.inventory-ui .inventory-item-sheet-form .inventory-sheet-wide-cell textarea,
body.inventory-ui .inventory-item-sheet-form textarea{
  min-height:38px;
}
body.inventory-ui .inventory-item-sheet-form .inventory-sheet-collapse{
  margin-top:6px;
}
body.inventory-ui .inventory-item-sheet-form .inventory-sheet-collapse summary{
  min-height:28px;
  padding:5px 8px;
}
body.inventory-ui .inventory-item-sheet-form .inventory-sheet-collapse>p.muted{
  padding:5px 8px;
  font-size:11px;
  line-height:1.25;
}
body.inventory-ui .inventory-item-sheet-form .inventory-sheet-collapse .inventory-form-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body.inventory-ui .inventory-item-sheet-form .inventory-sheet-collapse .inventory-form-grid>div:nth-child(2n){
  border-right:0;
}
body.inventory-ui .inventory-item-sheet-form .inventory-check-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body.inventory-ui .inventory-item-sheet-form .form-actions{
  margin-top:8px;
}
body.inventory-ui .inventory-row-details summary.button{
  margin-bottom:6px;
}
body.inventory-ui .inventory-quick-receive-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(120px,1fr));
  gap:6px;
  width:min(430px,78vw);
  padding:8px;
  border:1px solid #d6e3ed;
  border-radius:8px;
  background:#f8fbfd;
}
body.inventory-ui .inventory-quick-receive-form label{
  display:grid;
  gap:3px;
  color:#465d72;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0;
}
body.inventory-ui .inventory-quick-receive-form input,
body.inventory-ui .inventory-quick-receive-form textarea{
  height:30px;
  min-height:30px;
  padding:5px 7px;
  font-size:12px;
}
body.inventory-ui .inventory-quick-receive-form textarea{
  min-height:46px;
}
body.inventory-ui .inventory-quick-receive-form button{
  grid-column:1/-1;
}
body.inventory-ui .kiosk-link-box{
  border-color:#b9dff7;
  border-radius:8px;
  background:#eef8ff;
  color:#075995;
}
body.inventory-ui .tool-crib-alert-card{
  background:#fff;
}
body.inventory-ui .tool-crib-alert-columns h3{
  color:var(--inv-ink);
  letter-spacing:0;
}
body.inventory-ui .switch-row{
  color:var(--inv-ink);
}
body.inventory-ui .switch-row strong{
  color:var(--inv-ink);
}
body.inventory-ui .switch-row small{
  color:var(--inv-muted);
}
body.inventory-ui .switch-ui{
  background:var(--inv-red);
}
body.inventory-ui .switch-row input:checked+.switch-ui{
  background:var(--inv-blue);
}
body.inventory-ui .vendor-edit-row td{
  background:#eef8ff;
}
body.inventory-ui .material-grid-card{
  border:1px solid #c8d8e5;
  border-radius:8px;
  background:#fff;
}
body.inventory-ui .material-grid-toolbar{
  border-bottom-color:#163c64;
  background:var(--inv-navy);
}
body.inventory-ui .material-grid-toolbar label,
body.inventory-ui .material-grid-count,
body.inventory-ui .material-grid-count span{
  color:var(--inv-ice);
}
body.inventory-ui .material-grid-count strong{
  color:#fff;
}
body.inventory-ui .material-grid-toolbar input,
body.inventory-ui .material-grid-toolbar select{
  border-color:#32577d;
  border-radius:8px;
  background:#fff;
}
body.inventory-ui .material-grid-metrics{
  border-bottom-color:#c8d8e5;
  background:#f8fbfd;
}
body.inventory-ui .material-grid-metrics>div{
  border-right-color:#dbe7f0;
}
body.inventory-ui .material-grid-metrics span{
  color:var(--inv-muted);
  letter-spacing:0;
}
body.inventory-ui .material-grid-metrics strong{
  color:var(--inv-ink);
}
body.inventory-ui .material-grid-table th{
  border-right-color:#214b75;
  border-bottom-color:var(--inv-blue);
  background:var(--inv-blue);
  color:#fff;
}
body.inventory-ui .material-grid-table th.material-grid-actions-head{
  border-right-color:var(--inv-navy);
  border-bottom-color:var(--inv-navy);
  background:var(--inv-navy);
}
body.inventory-ui .material-grid-table th button{
  color:#fff;
  letter-spacing:0;
}
body.inventory-ui .material-grid-table th button:after{
  color:var(--inv-cyan);
}
body.inventory-ui .material-grid-table td{
  border-right-color:#dbe7f0;
  border-bottom-color:#dbe7f0;
  background:#fff;
}
body.inventory-ui .material-grid-table tbody tr:nth-child(even) td,
body.inventory-ui .material-grid-table tbody tr:nth-child(even) td:first-child,
body.inventory-ui .material-grid-table tbody tr:nth-child(even) td:last-child{
  background:#f8fbfd;
}
body.inventory-ui .material-grid-table tbody tr:hover td,
body.inventory-ui .material-grid-table tbody tr:hover td:first-child,
body.inventory-ui .material-grid-table tbody tr:hover td:last-child{
  background:#eef8ff;
}
body.inventory-ui .material-grid-table input,
body.inventory-ui .material-grid-table select{
  border-radius:4px;
}
body.inventory-ui .material-grid-row-actions .material-row-save{
  border-color:#0b75c8;
  background:var(--inv-blue);
}
body.inventory-ui .scheduler-form-grid input,
body.inventory-ui .scheduler-form-grid select,
body.inventory-ui .scheduler-form-grid textarea{
  border-color:#b8c9d8;
  border-radius:8px;
}
body.inventory-ui .scheduler-badge{
  letter-spacing:0;
  border-radius:6px;
}
@media(max-width:800px){
  body.inventory-ui .topnav-main{padding:10px 10px 18px!important}
  body.inventory-ui .topnav-main .card{padding:10px;margin-bottom:8px}
  body.inventory-ui .inventory-hero{min-height:58px;padding:9px 10px;gap:8px}
  body.inventory-ui .inventory-hero::after{left:10px;width:5px;box-shadow:10px 0 0 4px var(--inv-blue),22px 0 0 9px var(--inv-command)}
  body.inventory-ui .inventory-hero>div:first-child{padding-left:42px}
  body.inventory-ui .inventory-hero h1{font-size:22px}
  body.inventory-ui .inventory-hero .muted,
  body.inventory-ui .inventory-hero p{font-size:11px;line-height:1.2}
  body.inventory-ui .inventory-actions{justify-content:flex-start}
  body.inventory-ui .inventory-subnav{overflow-x:auto;flex-wrap:nowrap}
  body.inventory-ui .inventory-subnav a{white-space:nowrap}
  body.inventory-ui .add-modal-head{padding:10px 12px}
  body.inventory-ui .add-modal-head h2{font-size:20px}
  body.inventory-ui .add-modal-head .muted{font-size:12px;line-height:1.35}
  body.inventory-ui .add-modal-body{padding:10px}
  body.inventory-ui .inventory-compact-add-card{padding:10px}
  body.inventory-ui .inventory-compact-add-card .inventory-card-head{margin-bottom:6px;padding-bottom:5px}
  body.inventory-ui .inventory-compact-add-card .inventory-card-head .muted{display:none}
  body.inventory-ui .inventory-inline-add-form{grid-template-columns:1fr}
  body.inventory-ui .inventory-fast-row-core{grid-template-columns:1fr 1fr}
  body.inventory-ui .inventory-fast-row-stock,
  body.inventory-ui .inventory-fast-row-material,
  body.inventory-ui .inventory-fast-row-vendor,
  body.inventory-ui .inventory-fast-row-notes{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.inventory-ui .inventory-inline-add-form .inventory-fast-row-core>.inventory-fast-cell:first-child,
  body.inventory-ui .inventory-fast-row-core .inventory-fast-cell.wide,
  body.inventory-ui .inventory-fast-row-notes .inventory-fast-cell.notes{grid-column:1/-1}
  body.inventory-ui .inventory-fast-cell{border-right:1px solid #e3edf4;border-bottom:1px solid #e3edf4}
  body.inventory-ui .inventory-fast-cell:nth-child(2n){border-right:0}
  body.inventory-ui .inventory-fast-row-core .inventory-fast-cell.wide{border-right:0}
  body.inventory-ui .inventory-fast-row .inventory-fast-cell:last-child{border-bottom:0}
  body.inventory-ui .inventory-fast-cell label{font-size:9px}
  body.inventory-ui .inventory-fast-cell input,
  body.inventory-ui .inventory-fast-cell select{height:31px;font-size:12px}
  body.inventory-ui .inventory-sheet-form .inventory-form-grid{grid-template-columns:1fr}
  body.inventory-ui .inventory-sheet-form .inventory-form-grid>div{border-right:0}
  body.inventory-ui .inventory-sheet-toolbar{position:static;display:grid}
  body.inventory-ui .inventory-sheet-toolbar .inventory-actions{justify-content:flex-start}
  body.inventory-ui .inventory-item-sheet-form .inventory-form-grid,
  body.inventory-ui .inventory-item-sheet-form .inventory-sheet-collapse .inventory-form-grid,
  body.inventory-ui .inventory-item-sheet-form .inventory-check-grid{grid-template-columns:1fr 1fr}
  body.inventory-ui .inventory-item-sheet-form .inventory-form-grid>div:nth-child(2n),
  body.inventory-ui .inventory-item-sheet-form .inventory-sheet-collapse .inventory-form-grid>div:nth-child(2n){border-right:0}
  body.inventory-ui .inventory-item-sheet-form .inventory-form-grid>div:first-child,
  body.inventory-ui .inventory-item-sheet-form .inventory-check-grid label{grid-column:1/-1}
  body.inventory-ui .inventory-item-sheet-form .inventory-sheet-toolbar{padding:8px}
  body.inventory-ui .inventory-item-sheet-form .inventory-sheet-toolbar span{display:none}
  body.inventory-ui .inventory-quick-receive-form{grid-template-columns:1fr;width:min(320px,82vw)}
}
@media(min-width:801px) and (max-width:1180px){
  body.inventory-ui .inventory-fast-row-core,
  body.inventory-ui .inventory-fast-row-vendor,
  body.inventory-ui .inventory-fast-row-notes{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.inventory-ui .inventory-fast-row-stock,
  body.inventory-ui .inventory-fast-row-material{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.inventory-ui .inventory-sheet-form .inventory-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.inventory-ui .inventory-sheet-form .inventory-form-grid>div:nth-child(2n){border-right:0}
  body.inventory-ui .inventory-item-sheet-form .inventory-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.inventory-ui .inventory-item-sheet-form .inventory-form-grid>div:nth-child(2n){border-right:1px solid #e3edf4}
  body.inventory-ui .inventory-item-sheet-form .inventory-form-grid>div:nth-child(3n){border-right:0}
}

/* AI Helper v4.0.70 */
.ai-helper-hero-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}.ai-helper-hero h1,.ai-helper-hero-row h1{margin-top:0}.ai-helper-actions,.ai-helper-link-row{display:flex;gap:10px;flex-wrap:wrap}.ai-helper-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:12px;font:inherit;resize:vertical;background:#fff}.ai-helper-result p{font-size:16px}.ai-action-confirm{margin-top:16px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:18px;padding:16px}.ai-action-confirm dl{display:grid;grid-template-columns:150px 1fr;gap:8px 14px;margin:12px 0}.ai-action-confirm dt{font-weight:800;color:#334155}.ai-action-confirm dd{margin:0;color:#0f172a}.ai-suggestion-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.ai-suggestion-grid>div{border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;padding:14px}.ai-suggestion-grid strong{display:block;margin-bottom:8px}.ai-suggestion-grid span{display:block;padding:5px 0;color:#475569}.table-wrap{overflow:auto}.form-actions{margin-top:10px}

.owner-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px auto 0;max-width:1200px;padding:10px 14px;border:1px solid #c7d2fe;background:#eef2ff;border-radius:14px;color:#1e3a8a;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.owner-workspace-bar form{margin:0}

/* Enterprise admin polish */
.admin-control-center{--admin-line:#d8e0ec;--admin-soft:#f8fafc;--admin-ink:#0f172a;--admin-muted:#64748b}
.admin-control-center>.card{border:1px solid var(--admin-line);border-radius:8px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.045)}
.admin-control-center>.card:first-of-type{border-color:#bfdbfe;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.admin-control-center h1{letter-spacing:0;font-size:clamp(28px,3vw,40px);line-height:1.05;color:var(--admin-ink)}
.admin-control-center h2{font-size:20px;letter-spacing:0;color:var(--admin-ink)}
.admin-control-center h3{font-size:16px;letter-spacing:0;color:var(--admin-ink)}
.admin-control-center .muted{color:var(--admin-muted)}
.admin-control-center .table-wrap{border:1px solid #e5e7eb;border-radius:8px;background:#fff;overflow:auto}
.admin-control-center table{width:100%;border-collapse:separate;border-spacing:0}
.admin-control-center th{background:var(--admin-soft);color:#334155;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:11px 12px;border-bottom:1px solid #e5e7eb}
.admin-control-center td{padding:12px;border-bottom:1px solid #eef2f7;vertical-align:top}
.admin-control-center tr:last-child td{border-bottom:0}
.admin-control-center input,.admin-control-center select,.admin-control-center textarea{border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;background:#fff;color:var(--admin-ink);font:inherit}
.admin-control-center textarea{min-height:84px}
.admin-control-center label{font-weight:800;color:#334155}
.admin-control-center button,.admin-control-center .button{border-radius:8px;font-weight:900}
.admin-control-center .badge,.admin-control-center .code-pill{border-radius:999px}
.admin-control-center details{border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:10px}
.admin-control-center details+details{margin-top:10px}
.admin-control-center details summary{color:#0f172a}
@media(max-width:720px){.admin-control-center h1{font-size:28px}.admin-control-center th,.admin-control-center td{padding:9px}.admin-control-center button,.admin-control-center .button{width:auto}}

/* Enterprise control center refinement v4.0.145 */
.admin-control-center{max-width:1480px;margin:0 auto}
.admin-control-center .workspace-bar{border:1px solid #d8e0ec;background:#fff;border-radius:8px;padding:12px 14px;margin-bottom:16px;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.admin-control-center>.card:first-of-type{position:relative;overflow:hidden}
.admin-control-center>.card:first-of-type:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#2563eb}
.admin-control-center>.card:first-of-type h1{margin-bottom:8px}
.admin-control-center .button,.admin-control-center button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;background:#0f172a;color:#fff;box-shadow:none;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.admin-control-center .button.secondary,.admin-control-center button.secondary,.admin-control-center .secondary{background:#f8fafc;color:#1e293b;border-color:#cbd5e1}
.admin-control-center .button:hover,.admin-control-center button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.10);filter:none}
.admin-control-center .danger{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}
.admin-control-center input:focus,.admin-control-center select:focus,.admin-control-center textarea:focus{outline:0;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.admin-control-center input[type="checkbox"]{width:auto;margin-right:6px}
.admin-control-center tr:hover td{background:#fbfdff}
.admin-control-center .badge.warn,.admin-control-center .notice.warning{background:#fff7ed;color:#9a3412;border-color:#fed7aa}
.enterprise-toolbar,.enterprise-form-nav,.action-row,.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.enterprise-toolbar{margin-top:14px}
.enterprise-toolbar form{margin:0}
.enterprise-form-nav{position:sticky;top:86px;z-index:5;padding:8px;border:1px solid #e2e8f0;border-radius:8px;background:rgba(255,255,255,.96);box-shadow:0 8px 18px rgba(15,23,42,.05)}
.enterprise-form-nav a{min-height:34px;display:inline-flex;align-items:center;border-radius:8px!important;background:#fff!important}
.enterprise-form-nav a:hover{background:#eff6ff!important;border-color:#bfdbfe!important}
.enterprise-kpis,.owner-kpis,.owner-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.enterprise-kpi,.owner-kpi,.billing-card{border:1px solid #d8e0ec!important;background:#fff!important;border-radius:8px!important;padding:14px!important;box-shadow:0 8px 18px rgba(15,23,42,.04)!important}
.enterprise-kpi strong,.owner-kpi strong,.billing-card strong{display:block;font-size:28px;line-height:1;color:#0f172a;letter-spacing:0}
.enterprise-kpi span,.owner-kpi span,.billing-card span{display:block;margin-top:7px;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.enterprise-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}
.enterprise-field,.enterprise-form-field{min-width:0}
.enterprise-wide,.enterprise-form-wide{grid-column:1/-1}
.enterprise-form-section{border:1px solid #e2e8f0!important;border-radius:8px;padding:16px!important;margin-top:14px!important;background:#fbfdff}
.enterprise-form-section h3{margin:0 0 12px!important;color:#0f172a;font-size:18px}
.integration-list{display:grid;gap:14px}
.integration-card,.migration-card,.manual-card,.notify-card,.role-card,.feature-card{border-radius:8px!important;border-color:#d8e0ec!important;box-shadow:0 8px 18px rgba(15,23,42,.04)}
.integration-card{padding:16px!important}
.integration-head{align-items:start}
.integration-head h3{margin:0;font-size:22px;color:#0f172a}
.integration-meta{margin-top:8px}
.integration-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important}
.integration-item{border-radius:8px!important;background:#f8fafc!important}
.integration-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.integration-notes>div{border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:10px;min-width:0}
.integration-notes a,.code-pill{overflow-wrap:anywhere}
.integration-edit{border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;background:#fbfdff}
.integration-edit summary{min-height:32px;display:flex;align-items:center;font-weight:900;color:#0f172a;cursor:pointer}
.admin-control-center details[open] summary{margin-bottom:10px}
.admin-control-center form .enterprise-form-grid+br{display:none}
@media(max-width:760px){.admin-control-center{max-width:none}.enterprise-form-nav{position:static}.enterprise-toolbar .button,.enterprise-toolbar button,.row-actions .button,.row-actions button{width:100%}.enterprise-kpis,.owner-kpis,.owner-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.enterprise-kpis,.owner-kpis,.owner-grid{grid-template-columns:1fr}}

/* App-wide compact data-entry forms */
body[class*="ui-shell-"] .topnav-main{
  padding:14px 18px 24px!important;
}
body[class*="ui-shell-"] .topnav-main .workspace-bar{
  align-items:center;
  min-height:34px;
  margin:0 0 8px!important;
  padding:6px 10px!important;
  border-color:#cbd8e5;
  border-radius:8px;
  background:#f8fafc;
}
body[class*="ui-shell-"] .topnav-main .workspace-bar>div{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
body[class*="ui-shell-"] .topnav-main .workspace-bar b{
  font-size:13px;
  line-height:1.15;
}
body[class*="ui-shell-"] .topnav-main .workspace-bar .muted{
  margin:0;
  font-size:11px;
  line-height:1.15;
}
.topnav-main .card:has(> form),
.topnav-main form.card{
  border-radius:8px!important;
  padding:12px!important;
  margin-bottom:10px!important;
}
.topnav-main .card:has(> form)>h1,
.topnav-main .card:has(> form)>h2,
.topnav-main form.card>h1,
.topnav-main form.card>h2{
  margin:0 0 5px!important;
  color:#0f172a;
  font-size:24px;
  line-height:1.1;
  letter-spacing:0;
}
.topnav-main .card:has(> form)>p.muted,
.topnav-main form.card>p.muted{
  margin:0 0 8px!important;
  font-size:12px;
  line-height:1.25;
}
.topnav-main .card form br,
.topnav-main form.card br{
  display:none;
}
.topnav-main .card form label,
.topnav-main form.card label{
  margin:0 0 3px;
  color:#334155;
  font-size:11px;
  font-weight:900;
  line-height:1.15;
  letter-spacing:0;
}
.topnav-main .card form label:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])),
.topnav-main form.card label:not(:has(input[type="checkbox"])):not(:has(input[type="radio"])){
  display:grid;
  gap:3px;
}
.topnav-main .card form label:has(input[type="checkbox"]),
.topnav-main .card form label:has(input[type="radio"]),
.topnav-main form.card label:has(input[type="checkbox"]),
.topnav-main form.card label:has(input[type="radio"]){
  display:flex;
  align-items:flex-start;
  gap:7px;
}
.topnav-main .card form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.topnav-main .card form select,
.topnav-main form.card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.topnav-main form.card select{
  min-height:32px!important;
  height:32px!important;
  padding:5px 8px!important;
  border-radius:6px!important;
  font-size:12px!important;
}
.topnav-main .card form input[type="file"],
.topnav-main form.card input[type="file"]{
  height:auto!important;
  min-height:32px!important;
  padding:5px!important;
}
.topnav-main .card form textarea,
.topnav-main form.card textarea{
  min-height:44px!important;
  padding:5px 8px!important;
  border-radius:6px!important;
  font-size:12px!important;
  line-height:1.25!important;
}
.topnav-main .card form>input:not([type="hidden"]),
.topnav-main .card form>select,
.topnav-main .card form>textarea,
.topnav-main form.card>input:not([type="hidden"]),
.topnav-main form.card>select,
.topnav-main form.card>textarea{
  margin:0 0 7px!important;
}
.topnav-main .card form button,
.topnav-main .card form .button,
.topnav-main form.card button,
.topnav-main form.card .button{
  min-height:32px!important;
  padding:7px 11px!important;
  border-radius:7px!important;
}
.topnav-main form .scheduler-form-grid,
.topnav-main form .scheduler-form-grid-tight,
.topnav-main form .form-grid,
.topnav-main form .machine-form-grid,
.topnav-main form .pm-create-grid,
.topnav-main form .enterprise-form-grid,
.topnav-main form .employee-form-grid,
.topnav-main form .time-form-grid,
.topnav-main form .cmmc-form-grid{
  gap:0!important;
  margin:6px 0 8px!important;
  border:1px solid #d8e3ee!important;
  border-radius:8px!important;
  background:#fff;
  overflow:hidden;
}
.topnav-main form .scheduler-form-grid:not(.scheduler-form-grid-tight){
  grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important;
}
.topnav-main form .machine-form-grid{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
.topnav-main form .scheduler-form-grid-tight,
.topnav-main form .enterprise-form-grid,
.topnav-main form .employee-form-grid,
.topnav-main form .cmmc-form-grid{
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
}
.topnav-main form .pm-create-grid{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
}
.topnav-main form .form-grid{
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
}
.topnav-main form .time-form-grid{
  grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto auto!important;
}
.topnav-main form .app-field-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:0!important;
  margin:6px 0 8px!important;
  border:1px solid #d8e3ee!important;
  border-radius:8px!important;
  background:#fff;
  overflow:hidden;
}
.topnav-main form .app-field{
  min-width:0;
  display:grid;
  gap:3px;
  margin:0!important;
  padding:5px!important;
  border-right:1px solid #e4edf5;
  border-bottom:1px solid #e4edf5;
}
.topnav-main form .app-field-wide{
  grid-column:1/-1;
}
.topnav-main form .scheduler-form-grid>*,
.topnav-main form .scheduler-form-grid-tight>*,
.topnav-main form .form-grid>*,
.topnav-main form .machine-form-grid>*,
.topnav-main form .pm-create-grid>*,
.topnav-main form .enterprise-form-grid>*,
.topnav-main form .employee-form-grid>*,
.topnav-main form .time-form-grid>*,
.topnav-main form .cmmc-form-grid>*{
  min-width:0;
  margin:0!important;
  padding:5px!important;
  border-right:1px solid #e4edf5;
  border-bottom:1px solid #e4edf5;
}
.topnav-main form .scheduler-form-grid>button,
.topnav-main form .scheduler-form-grid-tight>button,
.topnav-main form .time-form-grid>button{
  align-self:end;
  margin:5px!important;
}
.topnav-main form .form-grid .full,
.topnav-main form .machine-form-grid .full,
.topnav-main form .enterprise-wide,
.topnav-main form .enterprise-form-wide{
  grid-column:1/-1!important;
}
.topnav-main .pm-create-card{
  max-width:none!important;
}
.topnav-main .pm-create-form{
  gap:6px!important;
}
.topnav-main .pm-create-form input,
.topnav-main .pm-create-form select,
.topnav-main .pm-create-form textarea{
  margin-top:0!important;
}
.topnav-main .field-help,
.topnav-main .muted-small{
  font-size:11px;
  line-height:1.25;
}
.topnav-main .role-help,
.topnav-main .checkbox-row,
.topnav-main .permission-group{
  border-radius:8px!important;
  padding:8px!important;
}
.topnav-main .role-guide-title{
  margin-top:6px;
}
.topnav-main .permission-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(205px,1fr));
  gap:8px!important;
  margin-top:8px!important;
}
.topnav-main .permission-line{
  display:flex;
  align-items:flex-start;
  gap:7px;
  border:1px solid #e4edf5;
  border-radius:8px;
  background:#f8fafc;
  padding:8px;
  margin:5px 0!important;
}
.topnav-main .permission-line input{
  flex:0 0 auto;
  width:auto!important;
  margin-top:2px!important;
}
.topnav-main .permission-line span{
  display:grid;
  gap:2px;
}
.topnav-main .app-form-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:8px;
}
.login-form .auth-form-grid{
  display:grid;
  gap:10px;
  margin:12px 0;
}
.login-form .auth-field{
  display:grid;
  gap:5px;
}
.login-form .auth-field label{
  margin:0;
}
.login-form .auth-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
@media(max-width:1180px){
  .topnav-main form .scheduler-form-grid:not(.scheduler-form-grid-tight),
  .topnav-main form .machine-form-grid,
  .topnav-main form .scheduler-form-grid-tight,
  .topnav-main form .pm-create-grid,
  .topnav-main form .enterprise-form-grid,
  .topnav-main form .employee-form-grid,
  .topnav-main form .cmmc-form-grid,
  .topnav-main form .form-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  .topnav-main .card:has(> form),
  .topnav-main form.card{
    padding:10px!important;
  }
  .topnav-main form .scheduler-form-grid:not(.scheduler-form-grid-tight),
  .topnav-main form .machine-form-grid,
  .topnav-main form .scheduler-form-grid-tight,
  .topnav-main form .pm-create-grid,
  .topnav-main form .enterprise-form-grid,
  .topnav-main form .employee-form-grid,
  .topnav-main form .cmmc-form-grid,
  .topnav-main form .form-grid,
  .topnav-main form .time-form-grid{
    grid-template-columns:1fr!important;
  }
  .topnav-main form .app-field-grid{
    grid-template-columns:1fr!important;
  }
  .topnav-main form .form-grid .full,
  .topnav-main form .machine-form-grid .full{
    grid-column:auto!important;
  }
}

/* Customer display preferences */
.account-theme-toggle{margin:0;padding:6px 8px}
.account-theme-toggle .theme-toggle-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d8e0ec;background:#f8fafc;color:#0f172a;border-radius:8px;padding:9px 10px;font-weight:900;cursor:pointer}
.account-theme-toggle .theme-toggle-button b{display:inline-flex;align-items:center;justify-content:center;min-width:38px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:11px;padding:4px 7px;text-transform:uppercase;letter-spacing:.04em}
body.ui-mode-night{background:#0f172a;color:#e5edf7}
body.ui-mode-night .topnav-shell{background:#0f172a}
body.ui-mode-night .app-topnav{background:#111827!important;border-bottom-color:#334155!important;box-shadow:0 8px 22px rgba(0,0,0,.25)!important}
body.ui-mode-night .topnav-brand{color:#f8fafc!important}
body.ui-mode-night .topnav-link,
body.ui-mode-night .topnav-dropdown>button,
body.ui-mode-night .action-alert-button,
body.ui-mode-night .account-button{background:#172033!important;border-color:#334155!important;color:#f8fafc!important}
body.ui-mode-night .topnav-link:hover,
body.ui-mode-night .topnav-dropdown:hover>button,
body.ui-mode-night .topnav-dropdown:focus-within>button,
body.ui-mode-night .action-alert-button:hover,
body.ui-mode-night .topnav-action-alerts.is-open .action-alert-button{background:#243044!important;border-color:#475569!important;color:#fff!important}
body.ui-mode-night .topnav-link.active,
body.ui-mode-night .topnav-dropdown.active>button{background:#f59e0b!important;border-color:#f59e0b!important;color:#111827!important}
body.ui-mode-night .topnav-beta,
body.ui-mode-night .badge.topnav-beta{background:#243044!important;border-color:#475569!important;color:#f8fafc!important}
body.ui-mode-night .account-summary{border-bottom-color:#334155}
body.ui-mode-night .account-summary strong{color:#f8fafc}
body.ui-mode-night .account-summary span{color:#cbd5e1}
body.ui-mode-night .account-profile-hero p,
body.ui-mode-night .account-profile-note span{color:#cbd5e1}
body.ui-mode-night .account-profile-facts>div{background:#172033;border-color:#334155}
body.ui-mode-night .account-profile-facts span{color:#cbd5e1}
body.ui-mode-night .account-profile-facts strong{color:#f8fafc}
body.ui-mode-night .account-profile-note{background:#172033;border-color:#3b82f6;color:#dbeafe}
body.ui-mode-night .account-profile-edit-card input:disabled,
body.ui-mode-night .account-profile-edit-card input[readonly]{background:#111827!important;border-color:#334155!important;color:#94a3b8!important}
body.ui-mode-night .account-profile-edit-card form[data-locked="false"] input[data-account-editable]{background:#172033!important;color:#f8fafc!important}
body.ui-mode-night .action-alert-menu{background:#172033;border-color:#334155;box-shadow:0 24px 60px rgba(0,0,0,.34)}
body.ui-mode-night .action-alert-menu-head{border-bottom-color:#334155}
body.ui-mode-night .action-alert-menu-head strong,
body.ui-mode-night .action-alert-item strong{color:#f8fafc}
body.ui-mode-night .action-alert-menu-head span,
body.ui-mode-night .action-alert-item span,
body.ui-mode-night .action-alert-empty{color:#cbd5e1}
body.ui-mode-night .action-alert-item:hover{background:#243044;border-color:#475569;color:#fff}
body.ui-mode-night .action-alert-manage-button{background:#172033!important;border-color:#3b82f6!important;color:#bfdbfe!important}
body.ui-mode-night .action-alert-assign-button{background:#111827!important;border-color:#475569!important;color:#e5edf7!important}
body.ui-mode-night .action-alert-assign-button:hover,
body.ui-mode-night .action-alert-assign-button:focus{background:#243044!important;border-color:#60a5fa!important;color:#fff!important}
body.ui-mode-night .action-item-assignment-card{border-color:#334155;color:#f8fafc}
body.ui-mode-night .action-item-assignment-card.is-complete{color:#dcfce7}
body.ui-mode-night .action-item-assignment-card span,
body.ui-mode-night .action-item-assignment-card p,
body.ui-mode-night .action-item-assignment-board h3,
body.ui-mode-night .action-item-assignment-board-head span{color:inherit}
body.ui-mode-night .action-item-assignment-card .action-item-assignment-status{color:#fbbf24}
body.ui-mode-night .action-item-assignment-card .action-item-assignment-status.is-complete{color:#86efac}
body.ui-mode-night .topnav-dropdown-menu a{color:#e5edf7}
body.ui-mode-night .topnav-dropdown-menu a:hover{background:#243044;color:#fff}
body.ui-mode-night .topnav-menu-section{color:#94a3b8;border-top-color:#334155}
body.ui-mode-night .topnav-main,body.ui-mode-night .workspace-bar{background:#111827;color:#e5edf7}
body.ui-mode-night .card,body.ui-mode-night .check-card,body.ui-mode-night .snapshot-tile,body.ui-mode-night .topnav-dropdown-menu,body.ui-mode-night .owner-section-rail,body.ui-mode-night .owner-section-panel,body.ui-mode-night .owner-section-tab{background:#172033;border-color:#334155;color:#e5edf7}
body.ui-mode-night h1,body.ui-mode-night h2,body.ui-mode-night h3,body.ui-mode-night label,body.ui-mode-night strong{color:#f8fafc}
body.ui-mode-night .muted,body.ui-mode-night p{color:#cbd5e1}
body.ui-mode-night input,body.ui-mode-night select,body.ui-mode-night textarea{background:#0f172a;border-color:#475569;color:#f8fafc}
body.ui-mode-night .workspace-search-panel,
body.ui-mode-night .workspace-search-result,
body.ui-mode-night .workspace-search-result-group .search-group-head,
body.ui-mode-night .search-coverage-card,
body.ui-mode-night .search-example-grid>div{background:#172033!important;border-color:#334155!important;color:#e5edf7!important}
body.ui-mode-night .workspace-search-panel-head{border-bottom-color:#334155!important}
body.ui-mode-night .workspace-search-group{border-top-color:#334155!important}
body.ui-mode-night .workspace-search-group-title span,
body.ui-mode-night .search-group-head span,
body.ui-mode-night .search-group-foot{color:#94a3b8!important}
body.ui-mode-night .workspace-search-group-title b,
body.ui-mode-night .search-coverage-list span{background:#0f172a!important;border-color:#475569!important;color:#cbd5e1!important}
body.ui-mode-night .workspace-search-result:hover{background:#243044!important;border-color:#60a5fa!important}
body.ui-mode-night .workspace-search-result small,
body.ui-mode-night .workspace-search-result p,
body.ui-mode-night .search-example-grid span{color:#cbd5e1!important}
body.ui-mode-night .workspace-search-kind{background:#1e3a8a!important;border-color:#3b82f6!important;color:#dbeafe!important}
body.ui-mode-night .workspace-search-empty{background:#111827!important;border-color:#475569!important;color:#94a3b8!important}
body.ui-mode-night table,body.ui-mode-night th,body.ui-mode-night td{border-color:#334155}
body.ui-mode-night th{background:#0f172a;color:#e5edf7}
body.ui-mode-night .scheduler-command-panel,
body.ui-mode-night .scheduler-command-list,
body.ui-mode-night .scheduler-command-panel-actions span,
body.ui-mode-night .scheduler-customer-summary-card,
body.ui-mode-night .scheduler-customer-command-nav,
body.ui-mode-night .scheduler-tight-scroll{background:#172033;border-color:#334155;color:#e5edf7}
body.ui-mode-night .scheduler-command-panel.is-expanded{background:#172033;box-shadow:0 16px 42px rgba(0,0,0,.28)}
body.ui-mode-night .scheduler-command-row{border-color:#334155}
body.ui-mode-night .scheduler-command-row:hover{background:#1e293b}
body.ui-mode-night .scheduler-command-main strong,
body.ui-mode-night .scheduler-command-customer a,
body.ui-mode-night .scheduler-command-row a{color:#f8fafc}
body.ui-mode-night .scheduler-command-main span,
body.ui-mode-night .scheduler-command-part,
body.ui-mode-night .scheduler-command-customer small,
body.ui-mode-night .scheduler-customer-summary-card p{color:#cbd5e1}
body.ui-mode-night .scheduler-click-kpi:hover{border-color:#60a5fa;box-shadow:0 10px 28px rgba(0,0,0,.24)}
body.ui-mode-night .scheduler-quote-review-alert{background:#451a03!important;border-color:#9a3412!important}
body.ui-mode-night .scheduler-quote-review-alert h2,
body.ui-mode-night .scheduler-quote-review-alert p{color:#fed7aa!important}
body.ui-mode-night .scheduler-material-picker>label{color:#cbd5e1}
body.ui-mode-night .scheduler-material-results,
body.ui-mode-night .scheduler-material-option{background:#111827;border-color:#334155;color:#f8fafc}
body.ui-mode-night .scheduler-material-option:hover,
body.ui-mode-night .scheduler-material-option.is-active{background:#1e3a5f}
body.ui-mode-night .scheduler-material-option-main small,
body.ui-mode-night .scheduler-material-option-inventory small,
body.ui-mode-night .scheduler-material-empty{color:#cbd5e1}
body.ui-mode-night .scheduler-material-selection{background:#172554;border-color:#3b82f6}
body.ui-mode-night .scheduler-material-selection strong{color:#dbeafe}
body.ui-mode-night .scheduler-material-selection small{color:#bfdbfe}
body.ui-mode-night .scheduler-po-summary>div{background:#0f172a!important;border-color:#475569!important}
body.ui-mode-night .scheduler-po-summary span,
body.ui-mode-night .scheduler-po-summary small{color:#cbd5e1!important}
body.ui-mode-night .scheduler-po-summary strong{color:#f8fafc!important}
body.ui-mode-night .scheduler-po-warning{background:#422006!important;border-color:#b45309!important;color:#fde68a!important}
body.ui-mode-night .scheduler-customer-command-nav a:not(.button){background:#0f172a;border-color:#475569;color:#dbeafe}
body.ui-mode-night .scheduler-customer-command-nav a:not(.button):hover{background:#243044;border-color:#60a5fa;color:#fff}
body.ui-mode-night .scheduler-chip{background:#0f172a;border-color:#475569;color:#cbd5e1}
body.ui-mode-night .scheduler-chip-ok{background:#052e1a;border-color:#16a34a;color:#bbf7d0}
body.ui-mode-night .scheduler-route-flow-node,
body.ui-mode-night .scheduler-route-mini-flow span,
body.ui-mode-night .scheduler-route-block,
body.ui-mode-night .scheduler-route-order-toolbar,
body.ui-mode-night .scheduler-route-drag-handle,
body.ui-mode-night .scheduler-operation-library-panel,
body.ui-mode-night .scheduler-process-card{background:#172033!important;border-color:#334155!important;color:#e5edf7!important}
body.ui-mode-night .scheduler-process-card-wrap.is-custom{background:#111827!important;border-color:#334155!important}
body.ui-mode-night .scheduler-operation-library-panel summary{color:#f8fafc!important}
body.ui-mode-night .scheduler-route-flow-node.support{background:#0f172a!important;border-color:#475569!important}
body.ui-mode-night .scheduler-route-flow-node b{color:#f8fafc!important}
body.ui-mode-night .scheduler-route-flow-node small,
body.ui-mode-night .scheduler-route-use-list,
body.ui-mode-night .scheduler-palette-head p,
body.ui-mode-night .scheduler-process-card small{color:#cbd5e1!important}
body.ui-mode-night .scheduler-process-card span{background:#0f172a!important;border-color:#475569!important;color:#cbd5e1!important}
body.ui-mode-night .scheduler-process-card:hover,
body.ui-mode-night .scheduler-process-card:focus{background:#1e293b!important;border-color:#60a5fa!important}
body.ui-mode-night .scheduler-route-order-toolbar strong[data-state="saved"]{background:#052e16!important;border-color:#166534!important;color:#bbf7d0!important}
body.ui-mode-night .scheduler-route-order-toolbar strong[data-state="saving"]{background:#172554!important;border-color:#1d4ed8!important;color:#bfdbfe!important}
body.ui-mode-night .scheduler-route-order-toolbar strong[data-state="error"]{background:#450a0a!important;border-color:#991b1b!important;color:#fecaca!important}
body.ui-mode-night .sandbox-mode-banner{background:#422006!important;border-color:#f59e0b!important;color:#fde68a!important}
body.ui-mode-night .sandbox-mode-banner a{color:#fbbf24!important}
body.ui-mode-night .sandbox-mode-banner button{background:#dc2626!important;border-color:#ef4444!important;color:#fff!important}
/* Production customer profile phonebook */
.scheduler-customer-hero .scheduler-eyebrow{display:inline-flex;margin-bottom:6px;color:#64748b;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.scheduler-customer-profile-view{align-items:start}
.scheduler-company-card,.scheduler-phonebook-card{min-width:0}
.scheduler-profile-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:14px}
.scheduler-profile-summary-grid>div{border:1px solid #d8e0ec;background:#fff;border-radius:8px;padding:12px;min-width:0}
.scheduler-profile-summary-grid span{display:block;color:#64748b;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.scheduler-profile-summary-grid strong{display:block;margin-top:4px;color:#0f172a;font-size:17px;line-height:1.2;overflow:hidden;text-overflow:ellipsis}
.scheduler-profile-summary-grid small{display:block;margin-top:3px;color:#475569;line-height:1.25}
.scheduler-company-address-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:14px}
.scheduler-company-address-bar>div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:12px;min-width:0}
.scheduler-company-address-bar span,.scheduler-profile-notes span{display:block;color:#64748b;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.scheduler-company-address-bar strong{display:block;margin-top:4px;color:#0f172a;font-size:17px;line-height:1.2}
.scheduler-company-address-bar small{display:block;margin-top:3px;color:#475569;line-height:1.25}
.scheduler-profile-notes{margin-top:12px;border:1px solid #e2e8f0;background:#fff;border-radius:8px;padding:12px}
.scheduler-profile-notes p{margin:6px 0 0;color:#334155}
.scheduler-profile-empty{margin-top:12px}
.scheduler-contact-list{display:grid;gap:10px;margin-top:12px}
.scheduler-contact-card{border:1px solid #e2e8f0;background:#fff;border-radius:8px;padding:12px;box-shadow:none;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.scheduler-contact-card:hover{border-color:#94a3b8;background:#fbfdff;transform:translateY(-1px)}
.scheduler-contact-card.favorite-1{border-left:4px solid #f59e0b}.scheduler-contact-card.favorite-2{border-left:4px solid #2563eb}.scheduler-contact-card.favorite-3{border-left:4px solid #059669}
.scheduler-contact-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.scheduler-contact-topline strong{display:block;color:#0f172a;font-size:16px}
.scheduler-contact-topline span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:2px}
.scheduler-contact-details{display:grid;gap:4px;margin-top:9px;color:#475569}
.scheduler-contact-details a{font-weight:800}.scheduler-contact-details p{margin:4px 0 0;color:#475569}
.scheduler-star-form{margin:0}
.scheduler-contact-star{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#94a3b8;font-size:16px;line-height:1;padding:0;cursor:pointer}
.scheduler-contact-star.favorite-1{background:#fffbeb;border-color:#f59e0b;color:#d97706}.scheduler-contact-star.favorite-2{background:#eff6ff;border-color:#2563eb;color:#2563eb}.scheduler-contact-star.favorite-3{background:#ecfdf5;border-color:#059669;color:#047857}
.scheduler-contact-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.scheduler-contact-actions form{margin:0}
.scheduler-shipping-log-card{margin-top:12px}
.scheduler-shipping-table{min-width:980px;table-layout:fixed}
.scheduler-shipping-table th:nth-child(1){width:18%}.scheduler-shipping-table th:nth-child(2){width:28%}.scheduler-shipping-table th:nth-child(3){width:12%}.scheduler-shipping-table th:nth-child(4){width:20%}.scheduler-shipping-table th:nth-child(5){width:9%}.scheduler-shipping-table th:nth-child(6){width:13%}
.scheduler-shipping-table td{vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduler-shipping-row strong,.scheduler-shipping-row span,.scheduler-shipping-note{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scheduler-shipping-row strong{font-size:14px;color:#0f172a}.scheduler-shipping-row span{font-size:12px;color:#64748b;margin-top:2px}
.scheduler-shipping-row .scheduler-badge{display:inline-flex;margin-left:5px;vertical-align:middle}
.scheduler-shipping-profile-row td{background:#f8fafc}
.scheduler-shipping-address-line{color:#0f172a!important;font-weight:900}
.scheduler-shipping-panel-form{width:min(760px,calc(100vw - 36px))}
.scheduler-slide-panel{position:fixed;inset:0;z-index:1000;pointer-events:none;opacity:0;transition:opacity .18s ease}
.scheduler-slide-panel.is-open{pointer-events:auto;opacity:1}
.scheduler-panel-backdrop{position:absolute;inset:0;border:0;background:rgba(15,23,42,.28);cursor:pointer}
.scheduler-slide-panel-box{position:absolute;right:18px;top:18px;bottom:18px;width:min(720px,calc(100vw - 36px));overflow:auto;border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:18px;box-shadow:0 24px 60px rgba(15,23,42,.24);transform:translateX(28px);opacity:.92;transition:transform .22s ease,opacity .22s ease}
.scheduler-slide-panel.is-open .scheduler-slide-panel-box{transform:translateX(0);opacity:1}
.scheduler-contact-panel-form{width:min(620px,calc(100vw - 36px))}
@media(max-width:760px){.scheduler-slide-panel-box{left:10px;right:10px;top:10px;bottom:10px;width:auto}.scheduler-company-address-bar{grid-template-columns:1fr}.scheduler-contact-actions .button,.scheduler-contact-actions button{width:auto}}
body.ui-mode-night .account-theme-toggle .theme-toggle-button{background:#0f172a;border-color:#475569;color:#f8fafc}
body.ui-mode-night .account-theme-toggle .theme-toggle-button b{background:#2563eb;color:#fff}
body.ui-mode-night .scheduler-company-address-bar>div,
body.ui-mode-night .scheduler-profile-summary-grid>div,
body.ui-mode-night .scheduler-profile-notes,
body.ui-mode-night .scheduler-shipping-profile-row td,
body.ui-mode-night .scheduler-contact-card,
body.ui-mode-night .scheduler-slide-panel-box{background:#172033!important;border-color:#334155!important;color:#e5edf7!important}
body.ui-mode-night .scheduler-company-address-bar span,
body.ui-mode-night .scheduler-profile-summary-grid span,
body.ui-mode-night .scheduler-profile-notes span,
body.ui-mode-night .scheduler-shipping-row span,
body.ui-mode-night .scheduler-contact-topline span,
body.ui-mode-night .scheduler-company-address-bar small,
body.ui-mode-night .scheduler-profile-summary-grid small,
body.ui-mode-night .scheduler-contact-details,
body.ui-mode-night .scheduler-contact-details p{color:#cbd5e1!important}
body.ui-mode-night .scheduler-company-address-bar strong,
body.ui-mode-night .scheduler-profile-summary-grid strong,
body.ui-mode-night .scheduler-shipping-row strong,
body.ui-mode-night .scheduler-shipping-address-line,
body.ui-mode-night .scheduler-contact-topline strong{color:#f8fafc!important}
body.ui-mode-night .scheduler-contact-star{background:#0f172a;border-color:#475569;color:#94a3b8}
body.ui-mode-night .scheduler-contact-star.favorite-1{background:#422006;border-color:#b45309;color:#fbbf24}
body.ui-mode-night .scheduler-contact-star.favorite-2{background:#172554;border-color:#2563eb;color:#93c5fd}
body.ui-mode-night .scheduler-contact-star.favorite-3{background:#052e2b;border-color:#059669;color:#6ee7b7}
body.ui-mode-night .scheduler-dept-kpis>div,
body.ui-mode-night .scheduler-dept-row,
body.ui-mode-night .scheduler-dept-row summary,
body.ui-mode-night .scheduler-dept-lane,
body.ui-mode-night .scheduler-dept-job{background:#172033!important;border-color:#334155!important;color:#e5edf7!important}
body.ui-mode-night .scheduler-dept-board-grid{background:#111827!important;border-top-color:#334155!important}
body.ui-mode-night .scheduler-dept-title strong,
body.ui-mode-night .scheduler-dept-kpis strong,
body.ui-mode-night .scheduler-dept-job-top strong{color:#f8fafc!important}
body.ui-mode-night .scheduler-dept-title span,
body.ui-mode-night .scheduler-dept-kpis span,
body.ui-mode-night .scheduler-dept-job span:not(.scheduler-dept-job-top),
body.ui-mode-night .scheduler-dept-job small,
body.ui-mode-night .scheduler-dept-job em{color:#cbd5e1!important}
body.ui-mode-night .scheduler-dept-mini-empty,
body.ui-mode-night .scheduler-dept-empty-band{background:#111827!important;border-color:#475569!important;color:#94a3b8!important}
body.ui-mode-night .scheduler-dept-count{background:#111827!important;border-color:#475569!important;color:#e5edf7!important}
body.ui-mode-night .scheduler-default-route-preview,
body.ui-mode-night .scheduler-order-stage,
body.ui-mode-night .scheduler-order-flow-card,
body.ui-mode-night .route-tracker-facts div,
body.ui-mode-night .route-current-metrics div,
body.ui-mode-night .scheduler-closeout-panel,
body.ui-mode-night .scheduler-closeout-signoff,
body.ui-mode-night .scheduler-closeout-review div,
body.ui-mode-night .scheduler-closeout-steps button,
body.ui-mode-night .scheduler-route-row,
body.ui-mode-night .scheduler-route-list-card .scheduler-section-heading,
body.ui-mode-night .scheduler-route-detail,
body.ui-mode-night .scheduler-route-meta div,
body.ui-mode-night .scheduler-route-controls{background:#172033!important;border-color:#334155!important;color:#e5edf7!important}
body.ui-mode-night .scheduler-default-route-preview b,
body.ui-mode-night .scheduler-order-stage span,
body.ui-mode-night .scheduler-closeout-steps button span{background:#111827!important;border-color:#475569!important;color:#f8fafc!important}
body.ui-mode-night .scheduler-order-stage.done{background:#052e1a!important;border-color:#166534!important}
body.ui-mode-night .scheduler-closeout-wizard{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(59,130,246,.18),0 14px 34px rgba(0,0,0,.24)!important}
body.ui-mode-night .scheduler-closeout-steps button.active{background:#172554!important;border-color:#3b82f6!important}
body.ui-mode-night .scheduler-closeout-steps button.active span{background:#2563eb!important;color:#fff!important}
body.ui-mode-night .scheduler-closeout-steps button.complete{background:#052e1a!important;border-color:#166534!important}
body.ui-mode-night .scheduler-closeout-steps button.complete span{background:#16a34a!important;color:#fff!important}
body.ui-mode-night .scheduler-wizard-panel,
body.ui-mode-night .scheduler-wizard-steps button,
body.ui-mode-night .scheduler-wizard-review-grid div,
body.ui-mode-night .scheduler-wizard-next-flow{background:#172033!important;border-color:#334155!important;color:#e5edf7!important}
body.ui-mode-night .scheduler-wizard-intro h2,
body.ui-mode-night .scheduler-wizard-panel-head h3,
body.ui-mode-night .scheduler-wizard-steps button strong,
body.ui-mode-night .scheduler-wizard-review-grid strong{color:#f8fafc!important}
body.ui-mode-night .scheduler-wizard-steps button small,
body.ui-mode-night .scheduler-wizard-review-grid span,
body.ui-mode-night .scheduler-wizard-review-grid small,
body.ui-mode-night .scheduler-wizard-footer span{color:#cbd5e1!important}
body.ui-mode-night .scheduler-wizard-steps button span{background:#0f172a!important;color:#cbd5e1!important}
body.ui-mode-night .scheduler-wizard-steps button.active{background:#172554!important;border-color:#2563eb!important}
body.ui-mode-night .scheduler-wizard-steps button.active span{background:#2563eb!important;color:#fff!important}
body.ui-mode-night .scheduler-wizard-steps button.complete{background:#052e1a!important;border-color:#166534!important}
body.ui-mode-night .scheduler-wizard-steps button.complete span{background:#16a34a!important;color:#fff!important}
body.ui-mode-night .scheduler-wizard-next-flow span{background:#111827!important;border-color:#475569!important;color:#e5edf7!important}
body.ui-mode-night .scheduler-wizard-field-active{background:#422006!important;box-shadow:inset 3px 0 0 #f59e0b}
body.ui-mode-night .scheduler-order-stage.current{background:#172554!important;border-color:#2563eb!important}
body.ui-mode-night .scheduler-order-stage.done span{background:#16a34a!important;color:#fff!important}
body.ui-mode-night .scheduler-order-stage.current span{background:#2563eb!important;color:#fff!important}
body.ui-mode-night .scheduler-order-stage strong,
body.ui-mode-night .route-tracker-facts strong,
body.ui-mode-night .route-current-metrics strong,
body.ui-mode-night .scheduler-closeout-head h2,
body.ui-mode-night .scheduler-closeout-panel h3,
body.ui-mode-night .scheduler-closeout-signoff strong,
body.ui-mode-night .scheduler-closeout-review strong,
body.ui-mode-night .scheduler-closeout-steps button strong,
body.ui-mode-night .scheduler-route-time b,
body.ui-mode-night .scheduler-route-meta b{color:#f8fafc!important}
body.ui-mode-night .scheduler-order-stage small,
body.ui-mode-night .route-tracker-facts small,
body.ui-mode-night .route-tracker-facts span,
body.ui-mode-night .route-current-metrics span,
body.ui-mode-night .scheduler-closeout-signoff p,
body.ui-mode-night .scheduler-closeout-review span,
body.ui-mode-night .scheduler-closeout-review small,
body.ui-mode-night .scheduler-closeout-footer span,
body.ui-mode-night .scheduler-route-main small,
body.ui-mode-night .scheduler-route-time small,
body.ui-mode-night .scheduler-route-meta span,
body.ui-mode-night .scheduler-route-meta small,
body.ui-mode-night .scheduler-howto-list{color:#cbd5e1!important}
body.ui-mode-night.ui-shell-industrial{background:#111827!important;color:#e5edf7!important}
body.ui-mode-night.ui-shell-industrial .topnav-main{background:#111827!important}
body.ui-mode-night.ui-shell-industrial .workspace-bar,
body.ui-mode-night.ui-shell-industrial .card,
body.ui-mode-night .admin-control-center>.card,
body.ui-mode-night .admin-control-center .workspace-bar,
body.ui-mode-night .admin-control-center .table-wrap,
body.ui-mode-night .admin-control-center details,
body.ui-mode-night .enterprise-form-section,
body.ui-mode-night .enterprise-form-nav,
body.ui-mode-night .enterprise-kpi,
body.ui-mode-night .owner-kpi,
body.ui-mode-night .billing-card,
body.ui-mode-night .integration-card,
body.ui-mode-night .migration-card,
body.ui-mode-night .manual-card,
body.ui-mode-night .notify-card,
body.ui-mode-night .role-card,
body.ui-mode-night .feature-card,
body.ui-mode-night .integration-item,
body.ui-mode-night .integration-notes>div,
body.ui-mode-night .integration-edit{background:#172033!important;border-color:#334155!important;color:#e5edf7!important;box-shadow:none!important}
body.ui-mode-night .admin-control-center>.card:first-of-type{background:#172033!important;border-color:#334155!important}
body.ui-mode-night .admin-control-center{--admin-line:#334155;--admin-soft:#111827;--admin-ink:#f8fafc;--admin-muted:#cbd5e1}
body.ui-mode-night .admin-control-center h1,
body.ui-mode-night .admin-control-center h2,
body.ui-mode-night .admin-control-center h3,
body.ui-mode-night .admin-control-center label,
body.ui-mode-night .admin-control-center details summary,
body.ui-mode-night .enterprise-kpi strong,
body.ui-mode-night .owner-kpi strong,
body.ui-mode-night .billing-card strong,
body.ui-mode-night .integration-head h3{color:#f8fafc!important}
body.ui-mode-night .admin-control-center .muted,
body.ui-mode-night .enterprise-kpi span,
body.ui-mode-night .owner-kpi span,
body.ui-mode-night .billing-card span{color:#cbd5e1!important}
body.ui-mode-night .admin-control-center .button.secondary,
body.ui-mode-night .admin-control-center button.secondary,
body.ui-mode-night .admin-control-center .secondary,
body.ui-mode-night.ui-shell-industrial .topnav-beta,
body.ui-mode-night.ui-shell-industrial .badge{background:#243044!important;border-color:#475569!important;color:#f8fafc!important}
body.ui-mode-night .admin-control-center input,
body.ui-mode-night .admin-control-center select,
body.ui-mode-night .admin-control-center textarea{background:#0f172a!important;border-color:#475569!important;color:#f8fafc!important}
body.ui-mode-night .admin-control-center tr:hover td{background:#1e293b!important}
body.ui-mode-night .admin-control-center th,
body.ui-mode-night.ui-shell-industrial table th{background:#111827!important;color:#e5edf7!important;border-color:#334155!important}
body.ui-mode-night.ui-shell-industrial .topnav-dropdown-menu{background:#172033!important;border-color:#475569!important}
body.ui-mode-night.ui-shell-industrial .topnav-dropdown-menu a{color:#f8fafc!important}
body.ui-mode-night.ui-shell-industrial .topnav-dropdown-menu a:hover{background:#243044!important}
body.ui-mode-night.ui-shell-explorer .ui-shell-root{background:#111827!important}
body.ui-mode-night.ui-shell-explorer .app-topnav{background:#172033!important;border-bottom-color:#334155!important;box-shadow:0 8px 24px rgba(0,0,0,.24)!important}
body.ui-mode-night.ui-shell-explorer .topnav-brand,
body.ui-mode-night.ui-shell-explorer .account-button,
body.ui-mode-night.ui-shell-explorer .workspace-bar{background:#111827!important;border-color:#334155!important;color:#f8fafc!important}
body.ui-mode-night.ui-shell-explorer .topnav-search input{background:#111827!important;border-color:#475569!important;color:#f8fafc!important}
body.ui-mode-night.ui-shell-explorer .topnav-search input:focus{background:#0f172a!important;border-color:#60a5fa!important}
body.ui-mode-night.ui-shell-explorer .nav-drawer-toggle{background:#243044!important;border-color:#475569!important;color:#f8fafc!important}
body.ui-mode-night.ui-shell-explorer .topnav-menu,
body.ui-mode-night.ui-shell-explorer .nav-drawer-heading{background:#172033!important;border-color:#334155!important}
body.ui-mode-night.ui-shell-explorer .nav-drawer-heading strong{color:#f8fafc!important}
body.ui-mode-night.ui-shell-explorer .nav-drawer-heading span{color:#94a3b8!important}
body.ui-mode-night.ui-shell-explorer .nav-drawer-inline-close{background:#243044!important;border-color:#475569!important;color:#f8fafc!important}
body.ui-mode-night.ui-shell-explorer .topnav-link,
body.ui-mode-night.ui-shell-explorer .topnav-dropdown>button{color:#e5edf7!important}
body.ui-mode-night.ui-shell-explorer .topnav-dropdown{background:#111827!important;border-color:#334155!important}
body.ui-mode-night.ui-shell-explorer .topnav-dropdown.active>button,
body.ui-mode-night.ui-shell-explorer .topnav-dropdown:hover>button,
body.ui-mode-night.ui-shell-explorer .topnav-dropdown:focus-within>button,
body.ui-mode-night.ui-shell-explorer .topnav-link.active,
body.ui-mode-night.ui-shell-explorer .topnav-link:hover{background:#243044!important;border-color:#475569!important;color:#fff!important}
body.ui-mode-night.ui-shell-explorer .topnav-dropdown-menu a{color:#cbd5e1!important}
body.ui-mode-night.ui-shell-explorer .topnav-dropdown-menu a:hover{background:#243044!important;color:#fff!important}
body.ui-mode-night.ui-shell-explorer .nav-search-match{background:#422006!important;border-color:#b45309!important;color:#fff!important}
body.ui-mode-night.ui-shell-explorer .nav-favorite-star{background:#111827!important;border-color:#475569!important;color:#94a3b8!important}
body.ui-mode-night.ui-shell-explorer .nav-favorite-star[data-favorite-state="1"]{background:#422006!important;border-color:#b45309!important;color:#fbbf24!important}
body.ui-mode-night.ui-shell-explorer .nav-favorite-star[data-favorite-state="2"]{background:#172554!important;border-color:#2563eb!important;color:#93c5fd!important}
body.ui-mode-night.ui-shell-explorer .nav-favorite-star[data-favorite-state="3"]{background:#052e2b!important;border-color:#059669!important;color:#6ee7b7!important}
body.ui-mode-night.ui-shell-explorer .nav-help-bubble{background:#f8fafc!important;color:#0f172a!important;border-color:#94a3b8!important}
body.ui-mode-night.ui-shell-explorer .account-menu{background:#172033!important;border-color:#475569!important;box-shadow:0 18px 44px rgba(0,0,0,.42)!important}
body.ui-mode-night.ui-shell-explorer .account-menu-close{background:#111827!important;border-color:#475569!important;color:#f8fafc!important}

.scheduler-worksheet-preset-controls,
.scheduler-history-price-actions {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.scheduler-worksheet-preset-controls label {
  min-width: 210px;
  margin: 0;
}

/* Inspection reports, stage gates, and tablet quality entry */
.quality-badge-row,
.quality-stage-cleared,
.quality-report-submit {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.quality-stage-hold {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:3px solid #1769e0;
  border-left:10px solid #e53935;
  background:#eef6ff;
}
.quality-stage-hold h2 { margin:6px 0 4px; }
.quality-stage-hold p { margin:4px 0; }
.quality-hold-action { background:#1769e0!important; color:#fff!important; min-height:44px; display:inline-flex; align-items:center; }
.quality-stage-cleared { border:2px solid #1b9a59; background:#f0fff7; }
.quality-stage-cleared a { margin-left:auto; }
.quality-plan-card { border-top:4px solid #1769e0; }
.quality-plan-heading { align-items:flex-start; }
.quality-settings-panel { margin:12px 0; }
.quality-plan-form-grid { grid-template-columns:repeat(3,minmax(180px,1fr)); }
.quality-characteristic-grid { grid-template-columns:repeat(4,minmax(150px,1fr)); }
.quality-definition-table { min-width:1180px; }
.quality-definition-table td small,
.quality-entry-table td small { display:block; margin-top:4px; color:#50627a; }
.quality-row-editor { min-width:76px; }
.quality-row-editor[open] { min-width:min(900px,80vw); }
.quality-row-editor form { padding:14px; background:#f5f9ff; border:1px solid #aac8ef; }
.quality-add-characteristic { margin-top:14px; }
.quality-report-entry { border:3px solid #1769e0; }
.quality-report-entry-heading { align-items:flex-start; }
.quality-report-metadata { grid-template-columns:repeat(3,minmax(180px,1fr)); }
.quality-entry-table { min-width:1100px; }
.quality-entry-table th { position:sticky; top:0; z-index:1; }
.quality-entry-table textarea { min-height:72px; resize:vertical; }
.quality-entry-table input,
.quality-entry-table select,
.quality-entry-table textarea { width:100%; }
.quality-limits { color:#0a4f9e!important; font-weight:700; }
.quality-report-submit { justify-content:flex-start; margin-top:14px; }
.quality-report-submit span { color:#50627a; }
.quality-primary-action { background:#1769e0!important; border-color:#0f55bd!important; color:#fff!important; }

.quality-print-body { background:#e8edf3; color:#101828; }
.quality-print-page { max-width:1400px; margin:18px auto; padding:24px; background:#fff; border:1px solid #8393a8; }
.quality-print-header { display:grid; grid-template-columns:1fr auto; gap:24px; padding:16px; border:3px solid #101828; border-left:12px solid #1769e0; }
.quality-print-header h1 { margin:4px 0; }
.quality-print-header>div:last-child { display:grid; gap:5px; min-width:220px; text-align:right; }
.quality-print-result { display:inline-block; padding:5px 8px; border:2px solid; font-weight:800; }
.quality-print-result.pass { border-color:#16864b; color:#126b3e; }
.quality-print-result.fail { border-color:#c62828; color:#a11212; }
.quality-print-meta { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid #8393a8; border-top:0; }
.quality-print-meta>div { min-height:62px; padding:9px; border-right:1px solid #b8c3d0; border-bottom:1px solid #b8c3d0; }
.quality-print-meta span,
.quality-print-meta b { display:block; }
.quality-print-meta span { font-size:11px; font-weight:800; text-transform:uppercase; color:#44546a; }
.quality-print-meta i,
.quality-print-signatures i { display:block; min-height:22px; border-bottom:1px solid #101828; }
.quality-print-summary,
.quality-print-reaction { margin-top:12px; padding:12px; border:1px solid #8393a8; }
.quality-print-summary p,
.quality-print-reaction p { margin:5px 0; }
.quality-print-table { width:100%; margin-top:12px; border-collapse:collapse; font-size:12px; }
.quality-print-table th { background:#0d2748; color:#fff; }
.quality-print-table th,
.quality-print-table td { padding:7px; border:1px solid #8393a8; vertical-align:top; }
.quality-print-table td small { display:block; margin-top:4px; }
.quality-print-fill { min-height:34px; }
.quality-print-signatures { display:grid; grid-template-columns:2fr 2fr 1fr; gap:24px; margin-top:24px; }

@media (max-width:900px) {
  .quality-plan-form-grid,
  .quality-characteristic-grid,
  .quality-report-metadata { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .quality-stage-hold { align-items:flex-start; flex-direction:column; }
  .quality-hold-action { width:100%; justify-content:center; }
  .quality-row-editor[open] { min-width:80vw; }
}
@media (max-width:600px) {
  .quality-plan-form-grid,
  .quality-characteristic-grid,
  .quality-report-metadata { grid-template-columns:1fr; }
  .quality-report-entry { padding:10px; }
  .quality-entry-table-wrap,
  .quality-definition-table-wrap { overflow:auto; }
  .quality-print-page { margin:0; padding:10px; }
  .quality-print-header,
  .quality-print-meta,
  .quality-print-signatures { grid-template-columns:1fr; }
}
@media print {
  .quality-print-body { background:#fff!important; }
  .quality-print-page { max-width:none; margin:0; padding:0; border:0; }
  .quality-print-table { page-break-inside:auto; }
  .quality-print-table tr { page-break-inside:avoid; }
  .quality-print-reaction,
  .quality-print-signatures { page-break-inside:avoid; }
}
