/* Wazapbro Workspace UI System v9.0
   Bootstrap 5.3 foundation + Wazapbro enterprise design tokens.
   This layer intentionally loads after legacy app.css during the migration phase. */

:root{
  --ws-font:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --ws-bg:#f6f8fb;
  --ws-surface:#ffffff;
  --ws-surface-subtle:#f8fafc;
  --ws-border:#e1e7ef;
  --ws-border-strong:#d2dae6;
  --ws-text:#14213a;
  --ws-text-2:#40516d;
  --ws-muted:#7c8aa1;
  --ws-primary:#2457f5;
  --ws-primary-hover:#1947d5;
  --ws-primary-soft:#eef3ff;
  --ws-success:#178a59;
  --ws-danger:#c53b48;
  --ws-radius-sm:8px;
  --ws-radius:10px;
  --ws-radius-lg:12px;
  --ws-shadow:0 1px 2px rgba(16,24,40,.02),0 6px 18px rgba(16,24,40,.035);
  --ws-input-h:44px;
  --ws-btn-h:42px;
  --ws-topbar-h:58px;
  --ws-sidebar:248px;
  --ws-rail:78px;
  --bs-primary:#2457f5;
  --bs-primary-rgb:36,87,245;
  --bs-body-font-family:var(--ws-font);
  --bs-body-color:var(--ws-text);
  --bs-body-bg:var(--ws-bg);
  --bs-border-color:var(--ws-border);
  --bs-border-radius:.625rem;
  --bs-border-radius-sm:.5rem;
  --bs-focus-ring-color:rgba(36,87,245,.14);
}

body.ws-ui-v9{
  font-family:var(--ws-font)!important;
  font-size:15px!important;
  line-height:1.5;
  color:var(--ws-text)!important;
  background:var(--ws-bg)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.ws-ui-v9 a{text-decoration:none}
body.ws-ui-v9 .form-control,
body.ws-ui-v9 .form-select{
  min-height:var(--ws-input-h);
  border:1px solid var(--ws-border-strong);
  border-radius:var(--ws-radius-sm);
  background:#fff;
  color:var(--ws-text);
  font-size:14px;
  padding:.625rem .8rem;
  box-shadow:none;
}
body.ws-ui-v9 .form-control::placeholder{color:#98a4b7;opacity:1}
body.ws-ui-v9 .form-control:focus,
body.ws-ui-v9 .form-select:focus{
  border-color:#7e9af8;
  box-shadow:0 0 0 3px rgba(36,87,245,.11);
}
body.ws-ui-v9 .form-control:disabled,
body.ws-ui-v9 .form-control[readonly]{background:#f7f9fc;color:#63738d;opacity:1}
body.ws-ui-v9 .ws-btn,
body.ws-ui-v9 .btn.ws-btn{
  min-height:var(--ws-btn-h);
  border-radius:var(--ws-radius-sm)!important;
  padding:.55rem .95rem!important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  font-size:13.5px!important;
  font-weight:650!important;
  line-height:1.1;
  box-shadow:none!important;
  white-space:nowrap;
}
body.ws-ui-v9 .btn-sm.ws-btn{min-height:36px;padding:.42rem .75rem!important;font-size:12.5px!important}
body.ws-ui-v9 .btn-primary{background:var(--ws-primary);border-color:var(--ws-primary)}
body.ws-ui-v9 .btn-primary:hover{background:var(--ws-primary-hover);border-color:var(--ws-primary-hover)}
body.ws-ui-v9 .btn-outline-secondary{color:#3d4d67;border-color:#d7dee8;background:#fff}
body.ws-ui-v9 .btn-outline-secondary:hover{color:#26354e;background:#f7f9fc;border-color:#c7d0dc}
body.ws-ui-v9 .btn-outline-primary{color:var(--ws-primary);border-color:#cad7ff;background:#fff}
body.ws-ui-v9 .btn-outline-primary:hover{background:var(--ws-primary-soft);border-color:#aebfff;color:#174bd9}
body.ws-ui-v9 .ws-alert{border-radius:var(--ws-radius);font-size:13.5px;padding:12px 14px}

/* Reusable Wazapbro components for the gradual migration of other modules. */
body.ws-ui-v9 .ws-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}
body.ws-ui-v9 .ws-page-title{margin:0;font-size:28px;line-height:1.1;font-weight:720;letter-spacing:-.03em;color:var(--ws-text)}
body.ws-ui-v9 .ws-page-subtitle{margin:5px 0 0;font-size:13px;color:var(--ws-muted)}
body.ws-ui-v9 .ws-card{background:var(--ws-surface);border:1px solid var(--ws-border);border-radius:var(--ws-radius-lg);box-shadow:var(--ws-shadow)}
body.ws-ui-v9 .ws-card-header{min-height:60px;padding:13px 16px;border-bottom:1px solid #e9eef4;display:flex;align-items:center;justify-content:space-between;gap:16px}
body.ws-ui-v9 .ws-card-body{padding:16px}
body.ws-ui-v9 .ws-form-label{display:block;margin:0 0 7px;font-size:13px;font-weight:650;color:#253550}
body.ws-ui-v9 .ws-help-text{margin-top:6px;font-size:11.5px;color:var(--ws-muted)}
body.ws-ui-v9 .ws-table{width:100%;margin:0;color:var(--ws-text);font-size:13px}
body.ws-ui-v9 .ws-table>thead>tr>th{padding:10px 12px;background:#f8fafc;border-bottom:1px solid #e9eef4;color:#6e7d93;font-size:10px;font-weight:700;letter-spacing:.045em;text-transform:uppercase}
body.ws-ui-v9 .ws-table>tbody>tr>td{padding:12px;border-bottom:1px solid #edf1f5;vertical-align:middle}
body.ws-ui-v9 .ws-badge{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;font-size:10.5px;font-weight:650}

/* Global shell: one compact topbar, one navigation rail/drawer. */
@media (min-width:1101px){
  body.ws-ui-v9 .sidebar.compact-sidebar{
    width:var(--ws-rail)!important;
    padding:12px 8px 12px!important;
    background:#0b1a36!important;
    border-right:1px solid rgba(255,255,255,.04);
  }
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open{width:var(--ws-sidebar)!important;box-shadow:10px 0 30px rgba(10,25,54,.12)!important}
  body.ws-ui-v9 .main-content{
    margin-left:var(--ws-rail)!important;
    width:calc(100% - var(--ws-rail))!important;
    padding:0 30px 76px!important;
    max-width:none!important;
  }
  body.ws-ui-v9.sidebar-open .main-content,
  body.ws-ui-v9 .sidebar-open .main-content{margin-left:var(--ws-sidebar)!important;width:calc(100% - var(--ws-sidebar))!important}
  body.ws-ui-v9 .workspace-topbar{
    height:var(--ws-topbar-h)!important;
    min-height:var(--ws-topbar-h)!important;
    margin:0 -30px!important;
    padding:0 30px!important;
    border-bottom:1px solid var(--ws-border)!important;
    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(12px);
    position:sticky!important;
    top:0!important;
    z-index:40!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  body.ws-ui-v9 .topbar-search-launch{
    display:flex!important;
    width:min(390px,35vw)!important;
    height:38px!important;
    border:1px solid var(--ws-border)!important;
    border-radius:9px!important;
    background:#f8fafc!important;
    color:#718098!important;
    font-size:12.5px!important;
    padding:0 13px!important;
    box-shadow:none!important;
  }
  body.ws-ui-v9 .topbar-user{gap:10px!important}
  body.ws-ui-v9 .topbar-user .avatar{width:34px!important;height:34px!important;font-size:12px!important}
  body.ws-ui-v9 .topbar-user-copy strong{font-size:12px!important;color:#20304a!important}
  body.ws-ui-v9 .topbar-user-copy small{font-size:10.5px!important;color:#8793a6!important}
  body.ws-ui-v9 .topbar-notification{font-size:17px!important}

  body.ws-ui-v9 .sidebar.compact-sidebar .sidebar-brand-row{min-height:48px!important;margin-bottom:8px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar .sidebar-brand-toggle{min-height:44px!important;border-radius:10px!important;padding:0 8px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar .brand-mark{width:36px!important;height:36px!important;border-radius:10px!important;font-size:14px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .sidebar-brand-copy strong{font-size:14px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .sidebar-brand-copy small{font-size:10.5px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar nav.enterprise-nav{gap:3px!important;margin-top:6px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar nav.enterprise-nav>a,
  body.ws-ui-v9 .sidebar.compact-sidebar .nav-group-toggle{
    min-height:44px!important;
    border-radius:9px!important;
    font-size:13.5px!important;
  }
  body.ws-ui-v9 .sidebar.compact-sidebar .nav-icon{font-size:17px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar:not(.is-open) nav.enterprise-nav>a,
  body.ws-ui-v9 .sidebar.compact-sidebar:not(.is-open) .nav-group-toggle{padding:0 4px!important;justify-content:center!important}
  body.ws-ui-v9 .sidebar.compact-sidebar:not(.is-open) .nav-label-compact{font-size:9.5px!important;line-height:1.15!important;margin-top:2px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open nav.enterprise-nav>a,
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-group-toggle{padding:0 12px!important;gap:10px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-text{font-size:13.5px!important;font-weight:560!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-submenu{padding-left:42px!important;margin:2px 0 7px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-submenu a{min-height:36px!important;padding:0 10px!important;border-radius:8px!important;font-size:12.5px!important;gap:8px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-label{font-size:9.5px!important;margin:14px 11px 6px!important;letter-spacing:.11em!important}
  body.ws-ui-v9 .sidebar.compact-sidebar .sidebar-user{padding-top:12px!important;min-height:52px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .sidebar-user strong{font-size:12px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .sidebar-user small{font-size:10px!important}
}

/* v9 quotation composer — Bootstrap grid/forms, Wazapbro visual system. */
body.ws-ui-v9 .quotation-composer-page{
  width:min(1380px,100%)!important;
  max-width:1380px!important;
  margin:0 auto!important;
  padding:18px 0 12px!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-create-header{
  min-height:76px!important;
  margin:0 0 16px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-create-heading{gap:8px!important}
body.ws-ui-v9 .quotation-composer-page .quote-breadcrumb{margin-bottom:5px!important;font-size:11.5px!important;color:#7c8aa0!important;gap:7px!important}
body.ws-ui-v9 .quotation-composer-page .quote-create-title-row{gap:12px!important;align-items:center!important}
body.ws-ui-v9 .quotation-composer-page .quote-create-icon{width:38px!important;height:38px!important;border-radius:10px!important;background:var(--ws-primary-soft)!important;color:var(--ws-primary)!important;font-size:16px!important;box-shadow:none!important}
body.ws-ui-v9 .quotation-composer-page .quote-create-title-line{gap:9px!important;align-items:center!important}
body.ws-ui-v9 .quotation-composer-page .quote-create-title-line h1{font-size:27px!important;line-height:1.05!important;font-weight:720!important;letter-spacing:-.035em!important;color:#13213b!important;margin:0!important}
body.ws-ui-v9 .quotation-composer-page .quote-create-title-row p{font-size:12.5px!important;color:#718098!important;margin:4px 0 0!important}
body.ws-ui-v9 .quotation-composer-page .quote-status{font-size:10px!important;padding:4px 8px!important;border-radius:999px!important;font-weight:650!important}
body.ws-ui-v9 .quotation-composer-page .quote-create-header-actions{gap:8px!important;align-items:center!important}

body.ws-ui-v9 .quotation-composer-page .quote-composer-editor{display:grid!important;gap:14px!important}
body.ws-ui-v9 .quotation-composer-page .quote-editor-card{
  margin:0!important;
  border:1px solid var(--ws-border)!important;
  border-radius:var(--ws-radius-lg)!important;
  background:var(--ws-surface)!important;
  box-shadow:var(--ws-shadow)!important;
  overflow:visible!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-editor-card-head{
  min-height:62px!important;
  padding:13px 16px!important;
  border-bottom:1px solid #e9eef4!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  background:#fff!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-editor-card-head>div:first-child{display:flex!important;align-items:center!important;gap:10px!important}
body.ws-ui-v9 .quotation-composer-page .quote-section-icon{width:34px!important;height:34px!important;border-radius:9px!important;font-size:14px!important;box-shadow:none!important}
body.ws-ui-v9 .quotation-composer-page .quote-editor-card-head h2{font-size:15.5px!important;line-height:1.2!important;font-weight:700!important;color:#1b2942!important;margin:0!important}
body.ws-ui-v9 .quotation-composer-page .quote-editor-card-head p{font-size:11.5px!important;line-height:1.35!important;color:#8491a4!important;margin:3px 0 0!important}
body.ws-ui-v9 .quotation-composer-page .quote-editor-card-body{padding:16px!important}

body.ws-ui-v9 .quotation-composer-page .quote-field-label{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;min-width:0!important}
body.ws-ui-v9 .quotation-composer-page .quote-field-name{font-size:13px!important;line-height:1.2!important;font-weight:650!important;color:#253550!important;display:inline-flex!important;align-items:center!important;gap:4px!important}
body.ws-ui-v9 .quotation-composer-page .required-mark{font-size:13px!important;color:#e04755!important;line-height:1!important}
body.ws-ui-v9 .quotation-composer-page .quote-search-control{position:relative!important}
body.ws-ui-v9 .quotation-composer-page .quote-search-control>i{left:13px!important;font-size:14px!important;color:#77869d!important;top:50%!important;transform:translateY(-50%)!important}
body.ws-ui-v9 .quotation-composer-page .quote-search-control .form-control{height:44px!important;min-height:44px!important;padding-left:39px!important;font-size:14px!important;border-radius:8px!important}
body.ws-ui-v9 .quotation-composer-page .quote-customer-create-hint{min-height:32px!important;margin:2px 0 12px!important;padding:4px 2px!important;font-size:11.5px!important;color:#8793a6!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
body.ws-ui-v9 .quotation-composer-page .quote-customer-create-hint a{font-size:12px!important;font-weight:650!important;color:var(--ws-primary)!important}
body.ws-ui-v9 .quotation-composer-page .quote-selected-customer{margin:8px 0 2px!important;border-radius:9px!important;border-color:#dce4ee!important;padding:10px 11px!important;background:#fafcff!important}
body.ws-ui-v9 .quotation-composer-page .quote-selected-copy strong{font-size:13px!important}
body.ws-ui-v9 .quotation-composer-page .quote-selected-copy span{font-size:11px!important}
body.ws-ui-v9 .quotation-composer-page .quote-general-grid{margin:0!important}
body.ws-ui-v9 .quotation-composer-page .quote-general-grid>[class*="col-"]{padding-left:6px!important;padding-right:6px!important}
body.ws-ui-v9 .quotation-composer-page .quote-general-grid>[class*="col-"]:first-child{padding-left:0!important}
body.ws-ui-v9 .quotation-composer-page .quote-general-grid>[class*="col-"]:last-child{padding-right:0!important}
body.ws-ui-v9 .quotation-composer-page .quote-general-grid .form-control{height:44px!important;font-size:14px!important;border-radius:8px!important}

body.ws-ui-v9 .quotation-composer-page .quote-card-head-actions{gap:10px!important;align-items:center!important}
body.ws-ui-v9 .quotation-composer-page .quote-line-count{font-size:11.5px!important;color:#7b899e!important}
body.ws-ui-v9 .quotation-composer-page .quote-lines-body{padding:0 16px 14px!important}
body.ws-ui-v9 .quotation-composer-page .quote-line-table-head,
body.ws-ui-v9 .quotation-composer-page .quote-composer-line{
  grid-template-columns:minmax(410px,1fr) 76px 132px 88px 88px 116px 38px!important;
  gap:10px!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-line-table-head{
  min-height:38px!important;
  padding:11px 10px 8px!important;
  background:#f8fafc!important;
  color:#6e7d93!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.045em!important;
  border-bottom:1px solid #e9eef4!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-composer-line{padding:12px 10px!important;min-height:100px!important;border-bottom:1px solid #edf1f5!important;align-items:center!important}
body.ws-ui-v9 .quotation-composer-page .quote-line-main-cell{grid-template-columns:30px minmax(0,1fr)!important;gap:10px!important}
body.ws-ui-v9 .quotation-composer-page .quote-line-index{width:28px!important;height:28px!important;border-radius:8px!important;background:#f2f5f9!important;color:#465872!important;font-size:11px!important;font-weight:700!important;margin-top:1px!important}
body.ws-ui-v9 .quotation-composer-page .quote-line-content{gap:7px!important}
body.ws-ui-v9 .quotation-composer-page .quote-product-search-wrap>i{left:13px!important;font-size:13px!important}
body.ws-ui-v9 .quotation-composer-page .quote-product-search-wrap>.form-control{height:40px!important;min-height:40px!important;padding-left:37px!important;font-size:13.5px!important;border-radius:8px!important}
body.ws-ui-v9 .quotation-composer-page .quote-line-content textarea.form-control{height:40px!important;min-height:40px!important;padding:9px 11px!important;font-size:13px!important;line-height:1.35!important;border-radius:8px!important;resize:vertical!important}
body.ws-ui-v9 .quotation-composer-page .quote-mobile-label{margin:0!important;display:flex!important;align-items:center!important}
body.ws-ui-v9 .quotation-composer-page .quote-mobile-label>span{display:none!important}
body.ws-ui-v9 .quotation-composer-page .quote-mobile-label>.form-control,
body.ws-ui-v9 .quotation-composer-page .quote-currency-input,
body.ws-ui-v9 .quotation-composer-page .quote-suffix-input{height:40px!important;min-height:40px!important;border-radius:8px!important}
body.ws-ui-v9 .quotation-composer-page .quote-currency-input .form-control,
body.ws-ui-v9 .quotation-composer-page .quote-suffix-input .form-control{height:38px!important;min-height:38px!important;border:0!important;box-shadow:none!important;padding:.45rem .55rem!important;font-size:13px!important;font-weight:600!important}
body.ws-ui-v9 .quotation-composer-page .quote-currency-input>span,
body.ws-ui-v9 .quotation-composer-page .quote-suffix-input>span{font-size:11.5px!important;color:#8290a3!important;padding:0 8px!important}
body.ws-ui-v9 .quotation-composer-page .quote-mobile-label>.form-control{height:40px!important;min-height:40px!important;text-align:center!important;font-size:13px!important;font-weight:650!important;padding:.45rem!important}
body.ws-ui-v9 .quotation-composer-page .quote-line-amount{font-size:13px!important;font-weight:700!important;color:#17243b!important;justify-content:flex-end!important}
body.ws-ui-v9 .quotation-composer-page .quote-remove{width:36px!important;height:36px!important;border-radius:8px!important;border-color:#e0e6ee!important}
body.ws-ui-v9 .quotation-composer-page .quote-add-line-wide{min-height:48px!important;margin-top:0!important;border:1px dashed #d8e0eb!important;border-radius:8px!important;background:#fafbfd!important;color:var(--ws-primary)!important}
body.ws-ui-v9 .quotation-composer-page .quote-add-line-wide strong{font-size:12px!important}
body.ws-ui-v9 .quotation-composer-page .quote-add-line-wide small{font-size:10px!important;color:#8b97a9!important}

body.ws-ui-v9 .quotation-composer-page .quote-notes-modern{grid-template-columns:minmax(0,1.6fr) minmax(320px,.6fr)!important;gap:12px!important}
body.ws-ui-v9 .quotation-composer-page .quote-public-note-assistant,
body.ws-ui-v9 .quotation-composer-page .quote-note-panel{border:1px solid #e1e7ef!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-assistant-head{min-height:54px!important;padding:10px 12px!important;background:#fff!important;border-bottom:1px solid #edf1f5!important}
body.ws-ui-v9 .quotation-composer-page .assistant-icon{width:32px!important;height:32px!important;border-radius:8px!important;background:var(--ws-primary)!important;box-shadow:none!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-assistant-head strong{font-size:13px!important;color:#1f2e47!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-assistant-head small{font-size:10.5px!important;color:#8390a3!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-assistant-head>a{font-size:11.5px!important;font-weight:600!important;color:#53627a!important;padding:6px 8px!important}
body.ws-ui-v9 .quotation-composer-page .quote-template-choices{gap:8px!important;padding:10px 10px 6px!important}
body.ws-ui-v9 .quotation-composer-page .quote-template-choice{min-width:190px!important;max-width:245px!important;padding:9px 10px!important;border-radius:8px!important;border-color:#e0e6ee!important;box-shadow:none!important}
body.ws-ui-v9 .quotation-composer-page .quote-template-choice.selected{border-color:#8ca6ff!important;background:#f5f7ff!important;box-shadow:0 0 0 2px rgba(36,87,245,.05)!important}
body.ws-ui-v9 .quotation-composer-page .template-choice-icon{width:28px!important;height:28px!important;border-radius:7px!important}
body.ws-ui-v9 .quotation-composer-page .quote-template-choice small{font-size:9.5px!important}
body.ws-ui-v9 .quotation-composer-page .quote-template-choice strong{font-size:11.5px!important;color:#334159!important}
body.ws-ui-v9 .quotation-composer-page .quote-template-actionbar{padding:8px 10px 10px!important;gap:12px!important}
body.ws-ui-v9 .quotation-composer-page .quote-template-actionbar>div:first-child strong{font-size:11.5px!important}
body.ws-ui-v9 .quotation-composer-page .quote-template-actionbar>div:first-child small{font-size:10px!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-editor-label>span{padding:9px 11px!important;font-size:12px!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-editor-label>span small{font-size:10px!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-editor-label textarea.form-control{min-height:180px!important;border:0!important;border-top:1px solid #edf1f5!important;border-radius:0!important;padding:12px!important;font-size:13px!important;line-height:1.6!important;box-shadow:none!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-editor-footer{padding:8px 11px!important;background:#fafbfd!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-editor-footer>span,
body.ws-ui-v9 .quotation-composer-page .quote-note-editor-footer>div>span,
body.ws-ui-v9 .quotation-composer-page .quote-note-editor-footer .text-action{font-size:10px!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-panel-head{min-height:48px!important;padding:10px 11px!important;background:#fafbfd!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-panel-head span{font-size:12px!important}
body.ws-ui-v9 .quotation-composer-page .quote-note-panel-head small{font-size:9.5px!important}
body.ws-ui-v9 .quotation-composer-page .quote-internal-note-modern textarea.form-control{min-height:248px!important;border:0!important;border-top:1px solid #edf1f5!important;border-radius:0!important;padding:12px!important;font-size:13px!important;line-height:1.6!important;box-shadow:none!important}

body.ws-ui-v9 .quotation-composer-page .quote-composer-submitbar{
  bottom:12px!important;
  min-height:68px!important;
  padding:10px 12px!important;
  border:1px solid #dfe6ef!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 12px 28px rgba(20,35,60,.10)!important;
  backdrop-filter:blur(12px)!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-composer-submitbar>div:first-child{gap:9px!important}
body.ws-ui-v9 .quotation-composer-page .quote-composer-submitbar>div:first-child>i{width:34px!important;height:34px!important;border-radius:9px!important;font-size:14px!important}
body.ws-ui-v9 .quotation-composer-page .quote-composer-submitbar strong{font-size:11.5px!important}
body.ws-ui-v9 .quotation-composer-page .quote-composer-submitbar small{font-size:9.5px!important}
body.ws-ui-v9 .quotation-composer-page .quote-submit-total{min-width:130px!important;padding-right:10px!important}
body.ws-ui-v9 .quotation-composer-page .quote-submit-total small{font-size:10px!important}
body.ws-ui-v9 .quotation-composer-page .quote-submit-total strong{font-size:15px!important}
body.ws-ui-v9 .quotation-composer-page .quote-submit-actions{gap:8px!important;align-items:center!important}

@media (min-width:1500px){
  body.ws-ui-v9 .quotation-composer-page .quote-line-table-head,
  body.ws-ui-v9 .quotation-composer-page .quote-composer-line{grid-template-columns:minmax(480px,1fr) 78px 146px 90px 90px 126px 40px!important}
}

@media (max-width:1180px){
  body.ws-ui-v9 .quotation-composer-page{max-width:none!important}
  body.ws-ui-v9 .quotation-composer-page .quote-notes-modern{grid-template-columns:1fr!important}
  body.ws-ui-v9 .quotation-composer-page .quote-internal-note-modern textarea.form-control{min-height:150px!important}
}

@media (max-width:900px){
  body.ws-ui-v9 .quotation-composer-page{padding-top:12px!important}
  body.ws-ui-v9 .quotation-composer-page .quote-create-header{align-items:flex-start!important;flex-direction:column!important}
  body.ws-ui-v9 .quotation-composer-page .quote-create-header-actions{width:100%!important}
  body.ws-ui-v9 .quotation-composer-page .quote-create-header-actions .btn{flex:1}
}

/* ========================================================================
   Wazapbro UI System v9.1 — Sales & Customer migration
   Standardizes list, create and object-detail pages on Bootstrap sizing.
   ======================================================================== */

body.ws-ui-v9 .ws-module-page{
  width:min(1380px,100%);
  margin:0 auto;
  padding:22px 0 24px;
}
body.ws-ui-v9 .ws-module-page .section-kicker{
  display:block;
  margin:0 0 6px;
  color:#6f7f96;
  font-size:11px;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}
body.ws-ui-v9 .ws-module-page .page-header-copy h1{
  margin:0;
  color:var(--ws-text);
  font-size:28px;
  font-weight:720;
  letter-spacing:-.03em;
  line-height:1.12;
}
body.ws-ui-v9 .ws-module-page .page-header-copy p{
  max-width:760px;
  margin:6px 0 0;
  color:var(--ws-muted);
  font-size:13px;
  line-height:1.45;
}
body.ws-ui-v9 .ws-module-page .page-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
}
body.ws-ui-v9 .ws-module-page .page-actions .ws-btn{min-width:116px}

/* Consistent metric strip — deliberately flatter than dashboard cards. */
body.ws-ui-v9 .ws-list-page .erp-summary-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  margin:0 0 14px;
  overflow:hidden;
  border:1px solid var(--ws-border);
  border-radius:var(--ws-radius-lg);
  background:#fff;
  box-shadow:none;
}
body.ws-ui-v9 .ws-list-page .erp-summary-strip>div{
  min-height:68px;
  padding:13px 18px;
  border-right:1px solid #edf1f5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
body.ws-ui-v9 .ws-list-page .erp-summary-strip>div:last-child{border-right:0}
body.ws-ui-v9 .ws-list-page .erp-summary-strip span{
  color:#74839a;
  font-size:12px;
  font-weight:550;
}
body.ws-ui-v9 .ws-list-page .erp-summary-strip strong{
  color:#1b2b45;
  font-size:15px;
  font-weight:700;
  text-align:right;
}

body.ws-ui-v9 .ws-list-page .data-card{
  overflow:hidden;
  border:1px solid var(--ws-border)!important;
  border-radius:var(--ws-radius-lg)!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-list-page .data-toolbar{
  min-height:66px;
  padding:11px 14px;
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:1px solid #edf1f5;
  background:#fff;
}
body.ws-ui-v9 .ws-list-page .toolbar-search{
  position:relative;
  width:min(480px,100%);
  flex:0 1 480px;
}
body.ws-ui-v9 .ws-list-page .toolbar-search>i,
body.ws-ui-v9 .ws-list-page .toolbar-search>span:first-child{
  position:absolute;
  z-index:2;
  top:50%;
  left:13px;
  transform:translateY(-50%);
  color:#8190a6;
  font-size:14px;
}
body.ws-ui-v9 .ws-list-page .toolbar-search .form-control,
body.ws-ui-v9 .ws-list-page .toolbar-search input{
  width:100%;
  min-height:42px!important;
  padding-left:38px!important;
  border-color:var(--ws-border-strong)!important;
  border-radius:8px!important;
  font-size:13.5px!important;
}
body.ws-ui-v9 .ws-list-page .toolbar-meta{
  margin-left:auto;
  color:#77869a;
  font-size:12px;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-list-page .text-action{
  color:#3f5f96;
  font-size:12.5px;
  font-weight:600;
}
body.ws-ui-v9 .ws-list-page .text-action:hover{color:var(--ws-primary)}
body.ws-ui-v9 .ws-list-page .table-wrap{overflow:auto}
body.ws-ui-v9 .ws-list-page .ws-table{
  min-width:880px;
  border-collapse:separate;
  border-spacing:0;
}
body.ws-ui-v9 .ws-list-page .ws-table>thead>tr>th{
  height:42px;
  padding:0 16px;
  vertical-align:middle;
  background:#f8fafc;
  border:0;
  border-bottom:1px solid #e8edf4;
  color:#6c7d94;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-list-page .ws-table>tbody>tr>td{
  min-height:64px;
  padding:13px 16px;
  border:0;
  border-bottom:1px solid #edf1f5;
  color:#35455e;
  font-size:13px;
}
body.ws-ui-v9 .ws-list-page .ws-table>tbody>tr:last-child>td{border-bottom:0}
body.ws-ui-v9 .ws-list-page .ws-table>tbody>tr:hover>td{background:#fbfcfe}
body.ws-ui-v9 .ws-list-page .row-title-copy{display:flex;flex-direction:column;gap:2px;min-width:180px}
body.ws-ui-v9 .ws-list-page .row-title-copy strong{font-size:13.5px;font-weight:680;color:#1e2e47}
body.ws-ui-v9 .ws-list-page .row-title-copy small{font-size:11.5px;color:#8491a4}
body.ws-ui-v9 .ws-list-page .erp-contact-cell{display:flex;flex-direction:column;gap:4px}
body.ws-ui-v9 .ws-list-page .erp-contact-cell span{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#56667f}
body.ws-ui-v9 .ws-list-page .erp-contact-cell i{font-size:12px;color:#8090a6}
body.ws-ui-v9 .ws-list-page .badge-soft,
body.ws-ui-v9 .ws-list-page .status,
body.ws-ui-v9 .ws-list-page .quote-status{
  min-height:26px;
  padding:4px 9px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  font-size:11px;
  font-weight:650;
  line-height:1;
}
body.ws-ui-v9 .ws-list-page .badge-soft{background:#f1f4f8;color:#53637c;border:1px solid #e4e9ef}
body.ws-ui-v9 .ws-list-page .badge-soft.blue{background:#edf3ff;color:#2457d6;border-color:#d9e4ff}
body.ws-ui-v9 .ws-list-page .status.active{background:#ecf8f2;color:#13754c;border:1px solid #d3efe1}
body.ws-ui-v9 .ws-list-page .status.inactive{background:#f3f5f8;color:#7c8798;border:1px solid #e4e8ed}
body.ws-ui-v9 .ws-list-page .row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}
body.ws-ui-v9 .ws-list-page .row-actions .text-action{
  min-height:32px;
  padding:0 9px;
  border:1px solid #e1e6ee;
  border-radius:7px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#50617a;
  font-size:11.5px;
}
body.ws-ui-v9 .ws-list-page .row-actions .primary-action{border-color:#d5e0ff;color:#2457d6;background:#f8faff}
body.ws-ui-v9 .ws-list-page .row-actions .text-action:hover{border-color:#c4d2ef;background:#f7f9fc;color:#1f50d3}
body.ws-ui-v9 .ws-list-page .table-empty{padding:42px 18px;text-align:center;color:#7d8b9f;font-size:13px}
body.ws-ui-v9 .ws-list-page .erp-pagination{
  min-height:58px;
  padding:10px 14px;
  border-top:1px solid #edf1f5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#79869a;
  font-size:12px;
}
body.ws-ui-v9 .ws-list-page .erp-pagination>div{display:flex;gap:8px}
body.ws-ui-v9 .erp-filter-chip{
  width:max-content;
  max-width:100%;
  margin:-2px 0 12px;
  padding:7px 10px;
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid #dbe4f4;
  border-radius:8px;
  background:#f8fbff;
  color:#51627c;
  font-size:12px;
}
body.ws-ui-v9 .erp-filter-chip a{color:#2457d6;font-weight:650}

/* Customer create — a compact enterprise form, using shared input/button geometry. */
body.ws-ui-v9 .customer-create-page{width:min(1320px,100%)!important;padding:20px 0 90px!important}
body.ws-ui-v9 .customer-create-page .customer-create-header{
  min-height:82px;
  margin:0 0 16px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
body.ws-ui-v9 .customer-create-page .quote-breadcrumb{
  margin:0 0 7px!important;
  display:flex;
  align-items:center;
  gap:7px;
  color:#7c899d;
  font-size:11.5px!important;
}
body.ws-ui-v9 .customer-create-page .quote-breadcrumb a{color:#60718b}
body.ws-ui-v9 .customer-create-page .customer-create-title-row{display:flex;align-items:center;gap:12px}
body.ws-ui-v9 .customer-create-page .customer-create-title-icon{
  width:42px;height:42px;border-radius:10px;background:#eef3ff;color:#2457f5;display:grid;place-items:center;font-size:18px;flex:0 0 auto
}
body.ws-ui-v9 .customer-create-page .customer-create-title-line{display:flex;align-items:center;gap:9px}
body.ws-ui-v9 .customer-create-page .customer-create-title-line h1{margin:0}
body.ws-ui-v9 .customer-create-page .customer-create-title-row p{margin:5px 0 0;color:#7c899d;font-size:12.5px}
body.ws-ui-v9 .customer-create-page .customer-create-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 306px!important;
  gap:16px!important;
  align-items:start!important;
}
body.ws-ui-v9 .customer-create-page .customer-create-main{display:grid;gap:14px}
body.ws-ui-v9 .customer-create-page .customer-form-card{
  margin:0!important;
  overflow:hidden;
  border:1px solid var(--ws-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .customer-create-page .customer-form-card-head{
  min-height:62px!important;
  padding:12px 16px!important;
  border-bottom:1px solid #edf1f5!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.ws-ui-v9 .customer-create-page .customer-form-card-head>div:first-child{display:flex;align-items:center;gap:10px}
body.ws-ui-v9 .customer-create-page .customer-section-icon{
  width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#eef3ff;color:#2457f5;font-size:14px;flex:0 0 auto
}
body.ws-ui-v9 .customer-create-page .customer-section-icon.green{background:#ebf8f1;color:#178a59}
body.ws-ui-v9 .customer-create-page .customer-section-icon.gray{background:#f2f4f7;color:#68778d}
body.ws-ui-v9 .customer-create-page .customer-form-card-head h2{margin:0;font-size:14.5px;font-weight:700;color:#1e2e47;letter-spacing:-.01em}
body.ws-ui-v9 .customer-create-page .customer-form-card-head p{margin:2px 0 0;font-size:11.5px;color:#8390a3;line-height:1.35}
body.ws-ui-v9 .customer-create-page .customer-required-pill,
body.ws-ui-v9 .customer-create-page .badge-soft{min-height:25px;padding:4px 8px;border-radius:999px;background:#f2f5f8;color:#65758c;border:1px solid #e5e9ee;font-size:10.5px;font-weight:650}
body.ws-ui-v9 .customer-create-page .customer-form-card-body{padding:17px 16px 18px!important}
body.ws-ui-v9 .customer-create-page .customer-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:15px 16px!important;
}
body.ws-ui-v9 .customer-create-page .customer-field{
  min-width:0;
  margin:0!important;
  display:block!important;
  color:#283852!important;
  font-size:12.5px!important;
  font-weight:650!important;
  line-height:1.25!important;
}
body.ws-ui-v9 .customer-create-page .customer-field.span-2{grid-column:span 2!important}
body.ws-ui-v9 .customer-create-page .customer-field>span,
body.ws-ui-v9 .customer-create-page .customer-field>em{float:right;color:#8c98aa;font-size:10.5px;font-style:normal;font-weight:500;text-transform:none}
body.ws-ui-v9 .customer-create-page .customer-field>em{color:#d44957}
body.ws-ui-v9 .customer-create-page .customer-field>small{display:block;margin-top:5px;color:#8b97a8;font-size:10.8px;font-weight:450;line-height:1.35}
body.ws-ui-v9 .customer-create-page .customer-input-icon{position:relative;margin-top:7px}
body.ws-ui-v9 .customer-create-page .customer-input-icon>i{
  position:absolute;z-index:2;left:13px;top:50%;transform:translateY(-50%);color:#8190a6;font-size:14px;pointer-events:none
}
body.ws-ui-v9 .customer-create-page .customer-input-icon .form-control,
body.ws-ui-v9 .customer-create-page .customer-input-icon input{
  width:100%;
  min-height:44px!important;
  padding-left:38px!important;
  border:1px solid var(--ws-border-strong)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#24344e!important;
  font-size:13.5px!important;
  font-weight:450!important;
}
body.ws-ui-v9 .customer-create-page .customer-field>.form-control,
body.ws-ui-v9 .customer-create-page .customer-field>input,
body.ws-ui-v9 .customer-create-page .customer-field>textarea{
  width:100%;
  margin-top:7px;
  border:1px solid var(--ws-border-strong)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#24344e!important;
  font-size:13.5px!important;
  font-weight:450!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .customer-create-page .customer-field>input{min-height:44px;padding:9px 12px}
body.ws-ui-v9 .customer-create-page .customer-field>textarea{min-height:92px;padding:11px 12px;resize:vertical}
body.ws-ui-v9 .customer-create-page .customer-locked-field{
  min-height:44px;margin-top:7px;padding:0 12px;border:1px solid #e0e5ec;border-radius:8px;background:#f7f9fb;display:flex;align-items:center;gap:9px;color:#586a84;font-size:13px;font-weight:500
}
body.ws-ui-v9 .customer-create-page .customer-locked-field b{margin-left:auto;color:#8090a7;font-size:10px;letter-spacing:.05em}
body.ws-ui-v9 .customer-create-page .customer-inline-field{display:flex;align-items:flex-end;gap:7px;margin-top:7px}
body.ws-ui-v9 .customer-create-page .customer-inline-field .customer-input-icon{flex:1;margin:0}
body.ws-ui-v9 .customer-create-page .customer-copy-btn{min-width:94px!important;height:44px!important}
body.ws-ui-v9 .customer-create-page .customer-live-duplicates{margin-top:13px;padding:11px;border:1px solid #e2e8f2;border-radius:9px;background:#fbfcfe}
body.ws-ui-v9 .customer-create-page .customer-live-duplicates-head{display:flex;align-items:center;gap:7px;color:#54657e;font-size:11.5px;font-weight:650}
body.ws-ui-v9 .customer-create-page .customer-live-duplicates-head small{margin-left:auto;color:#8b97aa;font-weight:450}
body.ws-ui-v9 .customer-create-page .customer-duplicate-row{margin-top:8px;padding:9px;border:1px solid #e6ebf1;border-radius:8px;background:#fff;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px}
body.ws-ui-v9 .customer-create-page .customer-duplicate-row strong{display:block;font-size:12.5px;color:#263750}
body.ws-ui-v9 .customer-create-page .customer-duplicate-row small{display:block;margin-top:2px;font-size:10.5px;color:#8491a4}
body.ws-ui-v9 .customer-create-page .customer-duplicate-row a{font-size:11.5px;font-weight:650;color:#2457d6}
body.ws-ui-v9 .customer-create-page .customer-advanced-summary{cursor:pointer;list-style:none}
body.ws-ui-v9 .customer-create-page .customer-advanced-summary::-webkit-details-marker{display:none}
body.ws-ui-v9 .customer-create-page details[open] .customer-details-caret{transform:rotate(180deg)}
body.ws-ui-v9 .customer-create-page .customer-details-caret{transition:transform .15s ease;color:#7c899d}
body.ws-ui-v9 .customer-create-page .customer-create-aside{display:grid;gap:12px;position:sticky;top:74px}
body.ws-ui-v9 .customer-create-page .customer-side-card,
body.ws-ui-v9 .customer-create-page .customer-side-note{
  margin:0!important;padding:15px!important;border:1px solid var(--ws-border)!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important
}
body.ws-ui-v9 .customer-create-page .customer-side-card-icon{width:34px;height:34px;border-radius:9px;background:#eef8f3;color:#178a59;display:grid;place-items:center;margin-bottom:10px}
body.ws-ui-v9 .customer-create-page .customer-side-card h3{margin:0 0 4px;font-size:13.5px;color:#24344d}
body.ws-ui-v9 .customer-create-page .customer-side-card>p{margin:0 0 12px;color:#8290a3;font-size:11px;line-height:1.45}
body.ws-ui-v9 .customer-create-page .customer-save-map{padding:0;margin:0;list-style:none}
body.ws-ui-v9 .customer-create-page .customer-save-map li{min-height:33px;border-top:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11.5px}
body.ws-ui-v9 .customer-create-page .customer-save-map span{color:#7f8da0}
body.ws-ui-v9 .customer-create-page .customer-save-map strong{color:#33445e;font-weight:650}
body.ws-ui-v9 .customer-create-page .customer-side-kicker{display:block;margin-bottom:12px;color:#7e8ba0;font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body.ws-ui-v9 .customer-create-page .customer-flow-step{display:flex;align-items:center;gap:9px}
body.ws-ui-v9 .customer-create-page .customer-flow-step>b{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f0f3f7;color:#65758d;font-size:10px}
body.ws-ui-v9 .customer-create-page .customer-flow-step.done>b{background:#eaf7f1;color:#147b50}
body.ws-ui-v9 .customer-create-page .customer-flow-step strong{display:block;font-size:11.5px;color:#32435c}
body.ws-ui-v9 .customer-create-page .customer-flow-step small{display:block;margin-top:1px;font-size:10px;color:#8794a6}
body.ws-ui-v9 .customer-create-page .customer-flow-line{width:1px;height:14px;margin:3px 0 3px 13px;background:#e3e8ef}
body.ws-ui-v9 .customer-create-page .customer-side-note{display:flex;gap:9px;background:#f8fafc!important;color:#61718a!important;font-size:10.8px;line-height:1.45}
body.ws-ui-v9 .customer-create-page .customer-side-note strong{display:block;margin-bottom:2px;color:#364761;font-size:11.5px}
body.ws-ui-v9 .customer-create-page .customer-side-note p{margin:0}
body.ws-ui-v9 .customer-create-page .customer-duplicate-block{
  margin:0 0 14px;padding:13px 14px;border:1px solid #f1d8ac;border-radius:10px;background:#fffaf1;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:11px
}
body.ws-ui-v9 .customer-create-page .customer-duplicate-icon{width:34px;height:34px;border-radius:8px;background:#fff2d7;color:#ac6a00;display:grid;place-items:center}
body.ws-ui-v9 .customer-create-page .customer-duplicate-copy strong{display:block;font-size:12.5px;color:#614411}
body.ws-ui-v9 .customer-create-page .customer-duplicate-copy span{display:block;margin-top:2px;font-size:11.5px;color:#775b29}
body.ws-ui-v9 .customer-create-page .customer-duplicate-copy small{display:block;margin-top:2px;font-size:10.5px;color:#9a8256}
body.ws-ui-v9 .customer-create-page .customer-duplicate-actions{display:flex;gap:7px}
body.ws-ui-v9 .customer-create-page .customer-create-submitbar{
  position:fixed!important;
  z-index:35!important;
  left:calc(var(--ws-rail) + 30px)!important;
  right:30px!important;
  bottom:10px!important;
  width:auto!important;
  min-height:62px!important;
  padding:9px 11px 9px 14px!important;
  border:1px solid #dfe5ed!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 8px 28px rgba(25,40,65,.09)!important;
  backdrop-filter:blur(12px);
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
}
body.ws-ui-v9.sidebar-open .customer-create-page .customer-create-submitbar{left:calc(var(--ws-sidebar) + 30px)!important}
body.ws-ui-v9 .customer-create-page .customer-submit-info{display:flex;align-items:center;gap:9px;min-width:0;color:#61718a}
body.ws-ui-v9 .customer-create-page .customer-submit-info>i{width:30px;height:30px;border-radius:8px;background:#eaf8f1;color:#178a59;display:grid;place-items:center}
body.ws-ui-v9 .customer-create-page .customer-submit-info strong{display:block;color:#33445e;font-size:11.5px}
body.ws-ui-v9 .customer-create-page .customer-submit-info small{display:block;margin-top:1px;color:#8a97a8;font-size:10px}
body.ws-ui-v9 .customer-create-page .customer-submit-actions{display:flex;align-items:center;gap:7px}

/* Quotation detail — same object-page geometry as the composer. */
body.ws-ui-v9 .quotation-detail-page{width:min(1420px,100%)!important;padding:18px 0 26px!important}
body.ws-ui-v9 .quotation-detail-page .object-breadcrumb{display:flex;align-items:center;gap:7px;margin:0 0 10px;color:#7e8b9e;font-size:11.5px}
body.ws-ui-v9 .quotation-detail-page .object-breadcrumb a{color:#5e708a}
body.ws-ui-v9 .quotation-detail-page .quote-object-header{
  min-height:104px!important;
  margin:0 0 14px!important;
  padding:16px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:13px!important;
  border:1px solid var(--ws-border)!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .quotation-detail-page .quote-object-icon{width:42px;height:42px;border-radius:10px;background:#eef3ff;color:#2457f5;display:grid;place-items:center;font-size:17px}
body.ws-ui-v9 .quotation-detail-page .quote-object-title-line{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
body.ws-ui-v9 .quotation-detail-page .quote-object-title-line h1{margin:0;font-size:23px;font-weight:720;letter-spacing:-.02em;color:#172741}
body.ws-ui-v9 .quotation-detail-page .quote-object-copy>p{margin:4px 0 7px;color:#7b899d;font-size:12px}
body.ws-ui-v9 .quotation-detail-page .quote-object-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
body.ws-ui-v9 .quotation-detail-page .quote-object-meta span{display:inline-flex;align-items:center;gap:5px;color:#5d6d85;font-size:11.5px}
body.ws-ui-v9 .quotation-detail-page .quote-object-meta i{color:#8290a4}
body.ws-ui-v9 .quotation-detail-page .quote-object-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
body.ws-ui-v9 .quotation-detail-page .quote-object-actions form{margin:0}
body.ws-ui-v9 .quotation-detail-page .quote-detail-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 340px!important;gap:14px!important;align-items:start!important}
body.ws-ui-v9 .quotation-detail-page .quote-preview-column{min-width:0}
body.ws-ui-v9 .quotation-detail-page .quote-preview-toolbar{min-height:46px;padding:0 4px 8px;display:flex;align-items:center;justify-content:space-between}
body.ws-ui-v9 .quotation-detail-page .quote-preview-toolbar strong{display:block;font-size:13px;color:#2b3b55}
body.ws-ui-v9 .quotation-detail-page .quote-preview-toolbar small{display:block;margin-top:1px;font-size:10.5px;color:#8895a7}
body.ws-ui-v9 .quotation-detail-page .preview-sync{display:inline-flex;align-items:center;gap:5px;color:#177d53;font-size:10.5px;font-weight:650}
body.ws-ui-v9 .quotation-detail-page .quote-document-sheet{border:1px solid var(--ws-border)!important;border-radius:12px!important;box-shadow:none!important}
body.ws-ui-v9 .quotation-detail-page .quote-action-column{display:grid;gap:12px;position:sticky;top:74px}
body.ws-ui-v9 .quotation-detail-page .quote-side-card{margin:0!important;border:1px solid var(--ws-border)!important;border-radius:11px!important;overflow:hidden;background:#fff!important;box-shadow:none!important}
body.ws-ui-v9 .quotation-detail-page .quote-side-card>header{min-height:55px;padding:11px 13px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff}
body.ws-ui-v9 .quotation-detail-page .quote-side-card>header>div{display:flex;align-items:center;gap:9px}
body.ws-ui-v9 .quotation-detail-page .quote-side-card>header strong{display:block;font-size:12.5px;color:#2c3d57}
body.ws-ui-v9 .quotation-detail-page .quote-side-card>header small{display:block;margin-top:1px;font-size:10.2px;color:#8a97a8}
body.ws-ui-v9 .quotation-detail-page .quote-side-icon{width:31px;height:31px;border-radius:8px;background:#eef3ff;color:#2457f5;display:grid;place-items:center}
body.ws-ui-v9 .quotation-detail-page .quote-side-icon.green{background:#eaf8f1;color:#178a59}
body.ws-ui-v9 .quotation-detail-page .quote-side-icon.amber{background:#fff5e5;color:#a96a05}
body.ws-ui-v9 .quotation-detail-page .side-note-content{padding:13px;color:#52637d;font-size:12px;line-height:1.55}
body.ws-ui-v9 .quotation-detail-page .workflow-steps{padding:12px 13px}
body.ws-ui-v9 .quotation-detail-page .workflow-step{display:grid;grid-template-columns:18px 1fr;gap:8px;padding:7px 0;color:#68788e}
body.ws-ui-v9 .quotation-detail-page .workflow-step i{font-size:14px;color:#a0acbb}
body.ws-ui-v9 .quotation-detail-page .workflow-step.done i{color:#178a59}
body.ws-ui-v9 .quotation-detail-page .workflow-step.current i{color:#2457f5}
body.ws-ui-v9 .quotation-detail-page .workflow-step strong{display:block;font-size:11.8px;color:#35465f}
body.ws-ui-v9 .quotation-detail-page .workflow-step small{display:block;margin-top:1px;font-size:10px;color:#8c98aa}
body.ws-ui-v9 .quotation-detail-page .signature-state{padding:16px;text-align:center;color:#6c7b91}
body.ws-ui-v9 .quotation-detail-page .signature-state>i{display:block;margin:0 auto 7px;font-size:21px;color:#8c99ac}
body.ws-ui-v9 .quotation-detail-page .signature-state strong{display:block;color:#34455f;font-size:12.5px}
body.ws-ui-v9 .quotation-detail-page .signature-state p{margin:4px 0 0;font-size:11px;line-height:1.45}
body.ws-ui-v9 .quotation-detail-page .signature-link-box,
body.ws-ui-v9 .quotation-detail-page .share-message-label,
body.ws-ui-v9 .quotation-detail-page .signature-share-grid{margin:12px 13px}
body.ws-ui-v9 .quotation-detail-page .signature-link-box label,
body.ws-ui-v9 .quotation-detail-page .share-message-label{display:block;color:#33445e;font-size:11.5px;font-weight:650}
body.ws-ui-v9 .quotation-detail-page .signature-link-box .form-control,
body.ws-ui-v9 .quotation-detail-page .share-message-label .form-control{margin-top:6px;font-size:12px!important}
body.ws-ui-v9 .quotation-detail-page .signature-actions{display:flex;gap:7px;margin-top:7px}
body.ws-ui-v9 .quotation-detail-page .signature-share-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}

/* Modal compatibility while older modules are progressively converted to native Bootstrap markup. */
body.ws-ui-v9 .app-modal .modal-dialog{
  border:1px solid var(--ws-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 20px 55px rgba(20,33,58,.16)!important;
}
body.ws-ui-v9 .app-modal .modal-head{min-height:64px;padding:13px 16px!important;border-bottom:1px solid #edf1f5!important}
body.ws-ui-v9 .app-modal .modal-head h2{font-size:17px!important;font-weight:700!important;color:#23334d!important}
body.ws-ui-v9 .app-modal .modal-head p{font-size:11.5px!important;color:#8592a4!important}
body.ws-ui-v9 .app-modal .modal-body{padding:16px!important}
body.ws-ui-v9 .app-modal .modal-footer{min-height:62px;padding:10px 16px!important;border-top:1px solid #edf1f5!important;display:flex;justify-content:flex-end;gap:7px!important}

@media (max-width:1280px){
  body.ws-ui-v9 .customer-create-page .customer-create-layout{grid-template-columns:minmax(0,1fr) 270px!important}
  body.ws-ui-v9 .quotation-detail-page .quote-detail-layout{grid-template-columns:minmax(0,1fr) 310px!important}
}
@media (max-width:1100px){
  body.ws-ui-v9 .ws-module-page{padding:18px 14px 24px}
  body.ws-ui-v9 .customer-create-page{padding:18px 14px 88px!important}
  body.ws-ui-v9 .customer-create-page .customer-create-layout,
  body.ws-ui-v9 .quotation-detail-page .quote-detail-layout{grid-template-columns:1fr!important}
  body.ws-ui-v9 .customer-create-page .customer-create-aside,
  body.ws-ui-v9 .quotation-detail-page .quote-action-column{position:static}
  body.ws-ui-v9 .customer-create-page .customer-create-submitbar{left:14px!important;right:14px!important}
}
@media (max-width:760px){
  body.ws-ui-v9 .ws-module-page .ws-page-header,
  body.ws-ui-v9 .customer-create-page .customer-create-header{align-items:flex-start!important;flex-direction:column!important}
  body.ws-ui-v9 .ws-module-page .page-actions{width:100%;justify-content:flex-start}
  body.ws-ui-v9 .ws-list-page .erp-summary-strip{grid-template-columns:1fr}
  body.ws-ui-v9 .ws-list-page .erp-summary-strip>div{border-right:0;border-bottom:1px solid #edf1f5}
  body.ws-ui-v9 .ws-list-page .erp-summary-strip>div:last-child{border-bottom:0}
  body.ws-ui-v9 .ws-list-page .data-toolbar{align-items:stretch;flex-wrap:wrap}
  body.ws-ui-v9 .ws-list-page .toolbar-search{flex:1 0 100%;width:100%}
  body.ws-ui-v9 .ws-list-page .toolbar-meta{margin-left:0;align-self:center}
  body.ws-ui-v9 .customer-create-page .customer-form-grid{grid-template-columns:1fr!important}
  body.ws-ui-v9 .customer-create-page .customer-field.span-2{grid-column:auto!important}
  body.ws-ui-v9 .customer-create-page .customer-inline-field{align-items:stretch;flex-direction:column}
  body.ws-ui-v9 .customer-create-page .customer-copy-btn{width:100%!important}
  body.ws-ui-v9 .customer-create-page .customer-create-submitbar{align-items:stretch!important;flex-direction:column!important}
  body.ws-ui-v9 .customer-create-page .customer-submit-info{display:none}
  body.ws-ui-v9 .customer-create-page .customer-submit-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  body.ws-ui-v9 .customer-create-page .customer-submit-actions .btn:last-child{grid-column:1/-1}
  body.ws-ui-v9 .quotation-detail-page .quote-object-header{grid-template-columns:42px 1fr!important}
  body.ws-ui-v9 .quotation-detail-page .quote-object-actions{grid-column:1/-1;justify-content:flex-start}
}

/* ========================================================================
   v9.2 — Administration Bootstrap Migration
   Core admin modules share the same Wazapbro UI tokens as Sales & Customer.
   ======================================================================== */
body.ws-ui-v9 .ws-admin-page{
  width:min(1380px,100%);
  max-width:1380px;
  margin:0 auto;
  padding:22px 0 32px;
}
body.ws-ui-v9 .ws-admin-page .page-header,
body.ws-ui-v9 .ws-admin-page .ws-page-header{
  min-height:70px;
  margin:0 0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
body.ws-ui-v9 .ws-admin-page .page-header-copy{min-width:0}
body.ws-ui-v9 .ws-admin-page .section-kicker{
  display:block;
  margin:0 0 5px;
  color:#718097;
  font-size:10.5px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.065em;
  text-transform:uppercase;
}
body.ws-ui-v9 .ws-admin-page .page-header h1{
  margin:0;
  color:var(--ws-text);
  font-size:28px;
  line-height:1.12;
  font-weight:730;
  letter-spacing:-.03em;
}
body.ws-ui-v9 .ws-admin-page .page-header p{
  margin:5px 0 0;
  max-width:760px;
  color:#78879d;
  font-size:13px;
  line-height:1.45;
}
body.ws-ui-v9 .ws-admin-page .page-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
body.ws-ui-v9 .ws-admin-page .alert{
  margin:0 0 14px;
  padding:11px 13px;
  border:1px solid #dce4ef;
  border-radius:10px;
  background:#fff;
  color:#33445f;
  font-size:13px;
}
body.ws-ui-v9 .ws-admin-page .alert.success{border-color:#cbe9dc;background:#f1fbf6;color:#176b49}
body.ws-ui-v9 .ws-admin-page .alert.error{border-color:#f0cfd3;background:#fff5f6;color:#a53240}

/* Standard list/card shell */
body.ws-ui-v9 .ws-admin-page .data-card,
body.ws-ui-v9 .ws-admin-page .ws-admin-card{
  overflow:hidden;
  border:1px solid var(--ws-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:var(--ws-shadow)!important;
}
body.ws-ui-v9 .ws-admin-page .data-toolbar{
  min-height:66px;
  padding:11px 14px;
  display:flex;
  align-items:center;
  gap:10px;
  border-bottom:1px solid #e9eef4;
  background:#fff;
}
body.ws-ui-v9 .ws-admin-page .toolbar-search{
  position:relative;
  flex:1 1 420px;
  max-width:540px;
}
body.ws-ui-v9 .ws-admin-page .toolbar-search>span{
  position:absolute;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  z-index:1;
  color:#8190a5;
  font-size:16px;
  pointer-events:none;
}
body.ws-ui-v9 .ws-admin-page .toolbar-search input{
  width:100%;
  min-height:42px;
  padding:8px 12px 8px 38px!important;
  border:1px solid var(--ws-border-strong)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:var(--ws-text)!important;
  font-size:13.5px!important;
  outline:none;
}
body.ws-ui-v9 .ws-admin-page .toolbar-select{
  width:auto;
  min-width:150px;
  min-height:42px;
  padding:7px 34px 7px 11px;
  border:1px solid var(--ws-border-strong);
  border-radius:8px;
  background:#fff;
  color:#3b4b64;
  font-size:13px;
}
body.ws-ui-v9 .ws-admin-page .toolbar-meta{
  margin-left:auto;
  color:#8390a4;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-admin-page .table-wrap{width:100%;overflow:auto}
body.ws-ui-v9 .ws-admin-page .data-table,
body.ws-ui-v9 .ws-admin-page .ws-table{
  width:100%;
  margin:0;
  border-collapse:separate;
  border-spacing:0;
  color:var(--ws-text);
  font-size:13px;
}
body.ws-ui-v9 .ws-admin-page .data-table thead th,
body.ws-ui-v9 .ws-admin-page .ws-table thead th{
  padding:10px 13px;
  border-bottom:1px solid #e9eef4;
  background:#f8fafc;
  color:#6f7f96;
  font-size:10px;
  line-height:1.2;
  font-weight:720;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-admin-page .data-table tbody td,
body.ws-ui-v9 .ws-admin-page .ws-table tbody td{
  padding:13px;
  border-bottom:1px solid #edf1f5;
  background:#fff;
  vertical-align:middle;
}
body.ws-ui-v9 .ws-admin-page .data-table tbody tr:last-child td,
body.ws-ui-v9 .ws-admin-page .ws-table tbody tr:last-child td{border-bottom:0}
body.ws-ui-v9 .ws-admin-page .data-table tbody tr:hover td,
body.ws-ui-v9 .ws-admin-page .ws-table tbody tr:hover td{background:#fbfcfe}
body.ws-ui-v9 .ws-admin-page .row-title{display:flex;align-items:center;gap:10px;min-width:220px}
body.ws-ui-v9 .ws-admin-page .row-title-copy strong{display:block;color:#263650;font-size:13px;font-weight:680}
body.ws-ui-v9 .ws-admin-page .row-title-copy small{display:block;margin-top:2px;color:#8794a7;font-size:11px;line-height:1.35}
body.ws-ui-v9 .ws-admin-page .table-avatar{width:34px!important;height:34px!important;border-radius:9px!important;font-size:12px!important}
body.ws-ui-v9 .ws-admin-page .row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
body.ws-ui-v9 .ws-admin-page .row-actions form{margin:0}
body.ws-ui-v9 .ws-admin-page .text-action{
  border:0;
  background:transparent;
  padding:4px 2px;
  color:#2457f5;
  font-size:11.5px;
  font-weight:650;
  text-decoration:none;
  cursor:pointer;
}
body.ws-ui-v9 .ws-admin-page .text-action:hover{color:#1747d8;text-decoration:underline}
body.ws-ui-v9 .ws-admin-page .text-action.danger{color:#bd3c48}
body.ws-ui-v9 .ws-admin-page .muted-text,
body.ws-ui-v9 .ws-admin-page .muted{color:#98a4b5;font-size:11.5px}

/* Shared badges and statuses */
body.ws-ui-v9 .ws-admin-page .status,
body.ws-ui-v9 .ws-admin-page .badge-soft,
body.ws-ui-v9 .ws-admin-page .identity-pill,
body.ws-ui-v9 .ws-admin-page .group-pill,
body.ws-ui-v9 .ws-admin-page .role-badge,
body.ws-ui-v9 .ws-admin-page .sync-pill{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:25px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid #e1e7ef;
  background:#f8fafc;
  color:#53647d;
  font-size:10.5px;
  line-height:1;
  font-weight:650;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-admin-page .status.active,
body.ws-ui-v9 .ws-admin-page .badge-soft.green,
body.ws-ui-v9 .ws-admin-page .sync-pill.synced{border-color:#cde8dc;background:#edf9f3;color:#14734d}
body.ws-ui-v9 .ws-admin-page .status.inactive{background:#f7f8fa;color:#7d8999}
body.ws-ui-v9 .ws-admin-page .badge-soft.blue,
body.ws-ui-v9 .ws-admin-page .identity-pill.dolibarr{border-color:#d6e0ff;background:#f1f5ff;color:#2853d4}
body.ws-ui-v9 .ws-admin-page .badge-soft.purple{border-color:#e3d9ff;background:#f7f3ff;color:#6c4dcc}
body.ws-ui-v9 .ws-admin-page .badge-soft.amber{border-color:#f1dfbd;background:#fff8eb;color:#96620d}
body.ws-ui-v9 .ws-admin-page .role-badge.admin{border-color:#d6e0ff;background:#eef3ff;color:#2457f5}
body.ws-ui-v9 .ws-admin-page .sync-pill.manual{border-color:#e8dfc9;background:#fcf8ef;color:#8b6b23}
body.ws-ui-v9 .ws-admin-page .group-pill-wrap,
body.ws-ui-v9 .ws-admin-page .erp-role-pills{display:flex;align-items:center;flex-wrap:wrap;gap:5px}

/* Administration form primitives — legacy markup mapped onto v9 tokens. */
body.ws-ui-v9 .ws-admin-page .stack-form{display:grid;gap:14px}
body.ws-ui-v9 .ws-admin-page .stack-form>label,
body.ws-ui-v9 .ws-admin-page .settings-grid>label,
body.ws-ui-v9 .ws-admin-page .two-col-fields>label,
body.ws-ui-v9 .ws-admin-page .role-mapping-row>label{
  display:block;
  margin:0;
  color:#2b3c56;
  font-size:12.5px;
  font-weight:650;
}
body.ws-ui-v9 .ws-admin-page .stack-form input:not([type=checkbox]):not([type=radio]),
body.ws-ui-v9 .ws-admin-page .stack-form select,
body.ws-ui-v9 .ws-admin-page .stack-form textarea,
body.ws-ui-v9 .ws-admin-page .settings-grid input:not([type=checkbox]):not([type=radio]),
body.ws-ui-v9 .ws-admin-page .settings-grid select,
body.ws-ui-v9 .ws-admin-page .settings-grid textarea,
body.ws-ui-v9 .ws-admin-page .login-test-fields input,
body.ws-ui-v9 .ws-admin-page .role-mapping-row input:not([type=checkbox]),
body.ws-ui-v9 .ws-admin-page .role-mapping-row select{
  width:100%;
  min-height:44px;
  margin-top:6px;
  padding:9px 11px;
  border:1px solid var(--ws-border-strong);
  border-radius:8px;
  background:#fff;
  color:#23344f;
  font:500 13.5px/1.35 var(--ws-font);
  outline:none;
  box-shadow:none;
}
body.ws-ui-v9 .ws-admin-page .stack-form textarea,
body.ws-ui-v9 .ws-admin-page .settings-grid textarea{min-height:96px;resize:vertical}
body.ws-ui-v9 .ws-admin-page input:focus,
body.ws-ui-v9 .ws-admin-page select:focus,
body.ws-ui-v9 .ws-admin-page textarea:focus{border-color:#829df7!important;box-shadow:0 0 0 3px rgba(36,87,245,.10)!important;outline:0!important}
body.ws-ui-v9 .ws-admin-page label>small,
body.ws-ui-v9 .ws-admin-page .form-help,
body.ws-ui-v9 .ws-admin-page .optional-label{display:block;margin-top:5px;color:#8a97a9;font-size:10.5px;font-weight:500;line-height:1.4}
body.ws-ui-v9 .ws-admin-page .optional-label{display:inline;margin-left:4px}
body.ws-ui-v9 .ws-admin-page .two-col-fields,
body.ws-ui-v9 .ws-admin-page .settings-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.ws-ui-v9 .ws-admin-page .check,
body.ws-ui-v9 .ws-admin-page .switch-line,
body.ws-ui-v9 .ws-admin-page .danger-check,
body.ws-ui-v9 .ws-admin-page .inline-check{
  display:flex!important;
  align-items:flex-start;
  gap:8px;
  color:#43536b;
  font-size:12px!important;
  font-weight:550!important;
  line-height:1.4;
}
body.ws-ui-v9 .ws-admin-page input[type=checkbox],
body.ws-ui-v9 .ws-admin-page input[type=radio]{width:16px;height:16px;accent-color:#2457f5;flex:0 0 auto;margin-top:1px}
body.ws-ui-v9 .ws-admin-page .form-note,
body.ws-ui-v9 .ws-admin-page .role-sync-editor{
  padding:11px 12px;
  border:1px solid #dfe6ef;
  border-radius:9px;
  background:#f8fafc;
  color:#5c6d84;
  font-size:11.5px;
  line-height:1.5;
}
body.ws-ui-v9 .ws-admin-page .form-section-divider{padding:14px 0 2px;border-top:1px solid #edf1f5}
body.ws-ui-v9 .ws-admin-page .form-section-divider strong{display:block;color:#263750;font-size:12.5px}
body.ws-ui-v9 .ws-admin-page .form-section-divider small{display:block;margin-top:2px;color:#8794a7;font-size:10.5px}

/* Modal sizing / layout */
body.ws-ui-v9 .app-modal .ws-modal-dialog{width:min(620px,calc(100vw - 32px))!important;max-width:620px!important}
body.ws-ui-v9 .app-modal .role-permission-modal{width:min(760px,calc(100vw - 32px))!important;max-width:760px!important}
body.ws-ui-v9 .app-modal .quote-template-modal-dialog{width:min(1040px,calc(100vw - 32px))!important;max-width:1040px!important}
body.ws-ui-v9 .app-modal .icon-btn{
  width:34px;height:34px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#6f7e92;display:grid;place-items:center;font-size:18px;cursor:pointer
}
body.ws-ui-v9 .app-modal .icon-btn:hover{background:#f7f9fc;color:#33445d}

/* Roles */
body.ws-ui-v9 .ws-admin-page .permission-option{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:11px 12px;
  border:1px solid #e1e7ef;
  border-radius:9px;
  background:#fff;
  cursor:pointer;
}
body.ws-ui-v9 .ws-admin-page .permission-option:hover{border-color:#cfd9e8;background:#fbfcff}
body.ws-ui-v9 .ws-admin-page .permission-option strong{display:block;color:#2c3d56;font-size:12px}
body.ws-ui-v9 .ws-admin-page .permission-option small{display:block;margin-top:2px;color:#8794a7;font-size:10.5px;line-height:1.4}
body.ws-ui-v9 .ws-admin-page .role-permission-modal .stack-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ws-ui-v9 .ws-admin-page .role-permission-modal .stack-form>label:first-child,
body.ws-ui-v9 .ws-admin-page .role-permission-modal .stack-form>label:nth-child(2),
body.ws-ui-v9 .ws-admin-page .role-permission-modal .form-note,
body.ws-ui-v9 .ws-admin-page .role-permission-modal .form-section-divider,
body.ws-ui-v9 .ws-admin-page .role-permission-modal .permission-option{grid-column:1/-1}
body.ws-ui-v9 .ws-admin-page .role-permission-modal .permission-option{grid-template-columns:18px minmax(0,1fr)}

/* Integrations */
body.ws-ui-v9 .integration-page .integration-hero{
  min-height:92px;
  margin-bottom:14px;
  padding:17px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:1px solid var(--ws-border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--ws-shadow);
}
body.ws-ui-v9 .integration-page .integration-brand{display:flex;align-items:center;gap:12px}
body.ws-ui-v9 .integration-page .integration-logo{width:42px;height:42px;border-radius:10px;background:#eef3ff;color:#2457f5;display:grid;place-items:center;font-size:18px}
body.ws-ui-v9 .integration-page .integration-title-row{display:flex;align-items:center;gap:8px}
body.ws-ui-v9 .integration-page .integration-title-row h2{margin:0;color:#24354f;font-size:17px;font-weight:700}
body.ws-ui-v9 .integration-page .integration-brand p{margin:3px 0 0;color:#8190a4;font-size:11.5px}
body.ws-ui-v9 .integration-page .integration-meta{text-align:right}
body.ws-ui-v9 .integration-page .integration-meta span,
body.ws-ui-v9 .integration-page .integration-meta small{display:block;color:#8a97a9;font-size:10px}
body.ws-ui-v9 .integration-page .integration-meta strong{display:block;margin:2px 0;color:#34455e;font-size:11.5px;font-weight:650;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ws-ui-v9 .integration-page .integration-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:14px;align-items:start}
body.ws-ui-v9 .integration-page .integration-main{display:grid;gap:14px;min-width:0}
body.ws-ui-v9 .integration-page .integration-side{display:grid;gap:12px;position:sticky;top:74px}
body.ws-ui-v9 .integration-page .settings-card,
body.ws-ui-v9 .integration-page .side-card{
  border:1px solid var(--ws-border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--ws-shadow);
}
body.ws-ui-v9 .integration-page .settings-card{padding:0 16px 16px;overflow:hidden}
body.ws-ui-v9 .integration-page .settings-card>header{
  min-height:65px;
  margin:0 -16px 14px;
  padding:12px 16px;
  border-bottom:1px solid #edf1f5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:#fff;
}
body.ws-ui-v9 .integration-page .settings-card>header>div{min-width:0}
body.ws-ui-v9 .integration-page .settings-step{display:inline-block;margin-right:7px;color:#8a97aa;font-size:10px;font-weight:720;letter-spacing:.04em}
body.ws-ui-v9 .integration-page .settings-card h3{display:inline;margin:0;color:#283a54;font-size:14px;font-weight:700}
body.ws-ui-v9 .integration-page .settings-card header p{margin:3px 0 0;color:#8794a7;font-size:10.5px;line-height:1.4}
body.ws-ui-v9 .integration-page .settings-grid{display:grid;gap:13px;margin-top:12px}
body.ws-ui-v9 .integration-page .settings-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:14px}
body.ws-ui-v9 .integration-page .connection-result{margin-top:12px;padding:10px 11px;border:1px solid #e1e7ef;border-radius:9px;background:#f8fafc;display:flex;align-items:flex-start;gap:9px;font-size:11.5px}
body.ws-ui-v9 .integration-page .connection-result.success{border-color:#cce8dc;background:#f1fbf6;color:#166e4a}
body.ws-ui-v9 .integration-page .connection-result.error{border-color:#efcdd2;background:#fff5f6;color:#a33340}
body.ws-ui-v9 .integration-page .connection-result strong{display:block;font-size:11.8px}
body.ws-ui-v9 .integration-page .connection-result small{display:block;margin-top:2px;font-size:10px;color:inherit;opacity:.8}
body.ws-ui-v9 .integration-page .side-card{padding:14px}
body.ws-ui-v9 .integration-page .side-card-icon{width:34px;height:34px;margin-bottom:8px;border-radius:9px;background:#edf8f3;color:#168055;display:grid;place-items:center}
body.ws-ui-v9 .integration-page .side-card-icon.blue{background:#eef3ff;color:#2457f5}
body.ws-ui-v9 .integration-page .side-card h3{margin:0 0 8px;color:#31425b;font-size:12px;font-weight:700}
body.ws-ui-v9 .integration-page .side-card ul,
body.ws-ui-v9 .integration-page .side-card ol{margin:0;padding-left:17px;color:#697990;font-size:10.8px;line-height:1.55}
body.ws-ui-v9 .integration-page .mini-flow{display:grid;gap:6px;text-align:center}
body.ws-ui-v9 .integration-page .mini-flow span{padding:7px 8px;border:1px solid #e5eaf1;border-radius:7px;background:#f9fbfd;color:#53647b;font-size:10.5px}
body.ws-ui-v9 .integration-page .mini-flow i{color:#9aa6b6;font-size:11px}
body.ws-ui-v9 .integration-page .secret-input{position:relative}
body.ws-ui-v9 .integration-page .secret-input input{padding-right:42px!important}
body.ws-ui-v9 .integration-page .secret-input button{position:absolute;right:5px;top:11px;width:31px;height:31px;border:0;background:transparent;color:#7f8ca0}
body.ws-ui-v9 .integration-page .mapping-toolbar{margin-top:13px;padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf1f5}
body.ws-ui-v9 .integration-page .mapping-toolbar strong{display:block;color:#31425b;font-size:12px}
body.ws-ui-v9 .integration-page .mapping-toolbar small{display:block;margin-top:2px;color:#8c98a9;font-size:10px}
body.ws-ui-v9 .integration-page .mapping-toolbar-actions{display:flex;gap:7px}
body.ws-ui-v9 .integration-page .role-mapping-table{border:1px solid #e4e9f0;border-radius:9px;overflow:hidden}
body.ws-ui-v9 .integration-page .role-mapping-head,
body.ws-ui-v9 .integration-page .role-mapping-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) 86px 58px 38px;gap:9px;align-items:center}
body.ws-ui-v9 .integration-page .role-mapping-head{padding:8px 10px;background:#f8fafc;border-bottom:1px solid #e9eef4;color:#738197;font-size:9.5px;font-weight:720;text-transform:uppercase;letter-spacing:.04em}
body.ws-ui-v9 .integration-page .role-mapping-row{padding:8px 10px;border-bottom:1px solid #edf1f5;background:#fff}
body.ws-ui-v9 .integration-page .role-mapping-row:last-child{border-bottom:0}
body.ws-ui-v9 .integration-page .role-mapping-row input:not([type=checkbox]),
body.ws-ui-v9 .integration-page .role-mapping-row select{min-height:38px;margin-top:0;padding:6px 8px;font-size:11.5px}
body.ws-ui-v9 .integration-page .mapping-active{display:flex!important;justify-content:center}
body.ws-ui-v9 .integration-page .mobile-label{display:none}
body.ws-ui-v9 .integration-page .icon-btn.danger-lite{width:32px;height:32px;border:1px solid #f0d7da;border-radius:7px;background:#fff;color:#ba4853}
body.ws-ui-v9 .integration-page .mapping-empty{padding:24px;text-align:center;color:#8794a7;font-size:11px}
body.ws-ui-v9 .integration-page .mapping-empty i{display:block;margin-bottom:5px;font-size:19px}
body.ws-ui-v9 .integration-page .mapping-empty strong{display:block;color:#53647b;font-size:12px}
body.ws-ui-v9 .integration-page .mapping-empty span{display:block;margin-top:3px}
body.ws-ui-v9 .integration-page .detected-groups{margin-top:13px}
body.ws-ui-v9 .integration-page .detected-head strong{display:block;color:#31425b;font-size:11.5px}
body.ws-ui-v9 .integration-page .detected-head small{display:block;color:#8996a8;font-size:10px}
body.ws-ui-v9 .integration-page .detected-grid{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
body.ws-ui-v9 .integration-page .detected-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 8px;border:1px solid #e0e6ef;border-radius:8px;background:#fff;color:#4e607a;font-size:10.5px;cursor:pointer}
body.ws-ui-v9 .integration-page .detected-chip:hover{border-color:#b8c7f9;background:#f7f9ff;color:#2457f5}
body.ws-ui-v9 .integration-page .detected-chip small{color:#98a3b3;font-size:9px}
body.ws-ui-v9 .integration-page .settings-savebar{
  position:sticky;
  bottom:10px;
  z-index:20;
  min-height:66px;
  margin-top:14px;
  padding:10px 12px 10px 15px;
  border:1px solid #dce3ed;
  border-radius:11px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  box-shadow:0 8px 28px rgba(20,33,58,.09);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body.ws-ui-v9 .integration-page .settings-savebar strong{display:block;color:#2b3d57;font-size:12px}
body.ws-ui-v9 .integration-page .settings-savebar small{display:block;margin-top:2px;color:#8a97a8;font-size:10px}

/* Quote note template administration */
body.ws-ui-v9 .quote-template-admin-page .quote-template-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
body.ws-ui-v9 .quote-template-admin-page .quote-template-summary>div{
  min-height:74px;
  padding:12px 13px;
  border:1px solid var(--ws-border);
  border-radius:11px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:10px;
}
body.ws-ui-v9 .quote-template-admin-page .summary-icon{width:34px;height:34px;border-radius:9px;background:#f1f5ff;color:#2457f5;display:grid;place-items:center;flex:0 0 auto}
body.ws-ui-v9 .quote-template-admin-page .summary-icon.green{background:#edf9f3;color:#178a59}
body.ws-ui-v9 .quote-template-admin-page .summary-icon.purple{background:#f6f1ff;color:#7353cf}
body.ws-ui-v9 .quote-template-admin-page .summary-icon.amber{background:#fff7e9;color:#a46a08}
body.ws-ui-v9 .quote-template-admin-page .quote-template-summary small{display:block;color:#8b97a8;font-size:9.8px}
body.ws-ui-v9 .quote-template-admin-page .quote-template-summary strong{display:block;margin-top:2px;color:#31425c;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ws-ui-v9 .quote-template-admin-page .quote-template-table-preview{max-width:440px;color:#66768d;font-size:11px;line-height:1.45}
body.ws-ui-v9 .quote-template-admin-page .empty-table-state{padding:34px;text-align:center;color:#8895a7}
body.ws-ui-v9 .quote-template-admin-page .empty-table-state i{display:block;margin-bottom:7px;font-size:22px;color:#9ba6b6}
body.ws-ui-v9 .quote-template-admin-page .empty-table-state strong{display:block;color:#4a5b73;font-size:12.5px}
body.ws-ui-v9 .quote-template-admin-page .empty-table-state span{display:block;margin-top:3px;font-size:10.5px}
body.ws-ui-v9 .quote-template-admin-page .quote-template-form-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:16px}
body.ws-ui-v9 .quote-template-admin-page .template-variable-box{padding:11px 12px;border:1px solid #e1e7ef;border-radius:9px;background:#f8fafc}
body.ws-ui-v9 .quote-template-admin-page .template-variable-box strong{display:block;color:#33455e;font-size:11.5px}
body.ws-ui-v9 .quote-template-admin-page .template-variable-box small{display:block;margin-top:2px;color:#8b97a8;font-size:10px}
body.ws-ui-v9 .quote-template-admin-page .template-variable-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
body.ws-ui-v9 .quote-template-admin-page .template-variable-chips button{min-height:29px;padding:4px 7px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#4f6078;font-size:9.8px;font-weight:600}
body.ws-ui-v9 .quote-template-admin-page .template-variable-chips button:hover{border-color:#b9c8fb;background:#f5f8ff;color:#2457f5}
body.ws-ui-v9 .quote-template-admin-page .template-switches{display:flex;flex-wrap:wrap;gap:16px}
body.ws-ui-v9 .quote-template-admin-page .quote-template-live-card{border:1px solid #e1e7ef;border-radius:10px;background:#f8fafc;overflow:hidden}
body.ws-ui-v9 .quote-template-admin-page .quote-template-live-head{padding:12px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #e7ecf3;background:#fff}
body.ws-ui-v9 .quote-template-admin-page .quote-template-live-head>span{width:30px;height:30px;border-radius:8px;background:#eef3ff;color:#2457f5;display:grid;place-items:center}
body.ws-ui-v9 .quote-template-admin-page .quote-template-live-head strong{display:block;color:#34455e;font-size:11.5px}
body.ws-ui-v9 .quote-template-admin-page .quote-template-live-head small{display:block;margin-top:1px;color:#8b97a8;font-size:9.8px}
body.ws-ui-v9 .quote-template-admin-page .quote-template-live-paper{margin:12px;padding:16px;min-height:260px;border:1px solid #e0e6ef;border-radius:8px;background:#fff;box-shadow:0 5px 18px rgba(19,33,58,.035)}
body.ws-ui-v9 .quote-template-admin-page .quote-template-live-paper small{color:#9aa6b6;font-size:8.5px;font-weight:720;letter-spacing:.06em}
body.ws-ui-v9 .quote-template-admin-page .quote-template-live-paper p{margin:11px 0 0;white-space:pre-wrap;color:#4b5d76;font-size:11.5px;line-height:1.55}
body.ws-ui-v9 .quote-template-admin-page .quote-template-preview-vars{padding:0 12px 12px;display:grid;gap:4px;color:#8794a7;font-size:9.5px}

@media (max-width:1200px){
  body.ws-ui-v9 .integration-page .integration-layout{grid-template-columns:1fr}
  body.ws-ui-v9 .integration-page .integration-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ws-ui-v9 .quote-template-admin-page .quote-template-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  body.ws-ui-v9 .ws-admin-page{padding:18px 14px 28px}
  body.ws-ui-v9 .ws-admin-page .page-header{align-items:flex-start;flex-direction:column}
  body.ws-ui-v9 .ws-admin-page .data-toolbar{align-items:stretch;flex-wrap:wrap}
  body.ws-ui-v9 .ws-admin-page .toolbar-search{flex:1 0 100%;max-width:none}
  body.ws-ui-v9 .ws-admin-page .toolbar-meta{margin-left:0;align-self:center}
  body.ws-ui-v9 .ws-admin-page .two-col-fields,
  body.ws-ui-v9 .ws-admin-page .settings-grid.two,
  body.ws-ui-v9 .ws-admin-page .role-permission-modal .stack-form{grid-template-columns:1fr}
  body.ws-ui-v9 .integration-page .role-mapping-head{display:none}
  body.ws-ui-v9 .integration-page .role-mapping-row{grid-template-columns:1fr 1fr 86px 58px 38px}
  body.ws-ui-v9 .quote-template-admin-page .quote-template-form-grid{grid-template-columns:1fr}
}
@media (max-width:680px){
  body.ws-ui-v9 .integration-page .integration-hero{align-items:flex-start;flex-direction:column}
  body.ws-ui-v9 .integration-page .integration-meta{text-align:left}
  body.ws-ui-v9 .integration-page .integration-side{grid-template-columns:1fr}
  body.ws-ui-v9 .integration-page .role-mapping-row{grid-template-columns:1fr;gap:7px;padding:10px}
  body.ws-ui-v9 .integration-page .mobile-label{display:block;margin-bottom:4px;color:#8a97a8;font-size:9px;font-weight:700;text-transform:uppercase}
  body.ws-ui-v9 .integration-page .mapping-active{justify-content:flex-start!important}
  body.ws-ui-v9 .quote-template-admin-page .quote-template-summary{grid-template-columns:1fr}
  body.ws-ui-v9 .ws-admin-page .page-actions{width:100%}
  body.ws-ui-v9 .ws-admin-page .page-actions .btn{width:100%}
}

/* ========================================================================
   v9.3 — Knowledge, Communication & Operations Bootstrap Migration
   Public content modules + operational insight screens now use the same
   typography, spacing, card, table, form, and modal language as Sales/Admin.
   ======================================================================== */
body.ws-ui-v9 .ws-page-shell{
  width:min(1380px,100%);
  max-width:1380px;
  margin:0 auto;
  padding:22px 0 38px;
}
body.ws-ui-v9 .ws-kicker{
  display:block;
  margin:0 0 5px;
  color:#718097;
  font-size:10.5px;
  line-height:1.2;
  font-weight:720;
  letter-spacing:.07em;
  text-transform:uppercase;
}
body.ws-ui-v9 .ws-count-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:6px 10px;
  border:1px solid #dde4ee;
  border-radius:999px;
  background:#fff;
  color:#62728a;
  font-size:11.5px;
  font-weight:650;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-search-group{max-width:540px}
body.ws-ui-v9 .ws-search-group .input-group-text{
  min-width:42px;
  border-color:var(--ws-border-strong);
  background:#fff;
  color:#7d8ba0;
  justify-content:center;
}
body.ws-ui-v9 .ws-search-group .form-control{border-left:0;border-right:0}
body.ws-ui-v9 .ws-search-group .search-shortcut{
  min-width:34px;
  color:#a0aabc;
  font-size:10px;
  font-weight:700;
}
body.ws-ui-v9 .ws-empty-state{
  min-height:220px;
  padding:36px 22px;
  border:1px dashed #d8e0ea;
  border-radius:12px;
  background:#fbfcfe;
  color:#8491a4;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
body.ws-ui-v9 .ws-empty-state i{font-size:26px;color:#a1adbd;margin-bottom:8px}
body.ws-ui-v9 .ws-empty-state strong{color:#43546d;font-size:14px;font-weight:700}
body.ws-ui-v9 .ws-empty-state span{margin-top:4px;font-size:12px}
body.ws-ui-v9 .ws-empty-mini{padding:18px;color:#8794a7;font-size:12px;text-align:center}
body.ws-ui-v9 .content-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 12px}
body.ws-ui-v9 .content-section-head h2{margin:0;color:#253650;font-size:20px;font-weight:720;letter-spacing:-.02em}

/* Documents */
body.ws-ui-v9 .documents-page .content-toolbar-card{margin-bottom:14px;box-shadow:none}
body.ws-ui-v9 .documents-page .content-toolbar{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
body.ws-ui-v9 .documents-page .resource-filter-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
body.ws-ui-v9 .documents-page .filter-chip{
  min-height:34px;
  padding:6px 10px;
  border:1px solid #dfe5ee;
  border-radius:8px;
  background:#fff;
  color:#61718a;
  font-size:11.5px;
  font-weight:650;
  cursor:pointer;
}
body.ws-ui-v9 .documents-page .filter-chip:hover{background:#f8fafc;border-color:#cad4e2;color:#40516b}
body.ws-ui-v9 .documents-page .filter-chip.active{border-color:#c8d5ff;background:#eef3ff;color:#2457f5}
body.ws-ui-v9 .documents-page .document-grid-v9{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.ws-ui-v9 .documents-page .document-card-v9{min-height:248px;padding:16px;display:flex;flex-direction:column;box-shadow:none}
body.ws-ui-v9 .documents-page .document-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.ws-ui-v9 .documents-page .document-icon-v9{
  width:40px;height:40px;border-radius:10px;background:color-mix(in srgb,var(--doc-accent,#5267b8) 10%, white);color:var(--doc-accent,#5267b8);display:grid;place-items:center;font-size:18px
}
body.ws-ui-v9 .ws-badge.badge-blue{border:1px solid #d4dfff;background:#eef3ff;color:#2853d4}
body.ws-ui-v9 .ws-badge.badge-slate{border:1px solid #e1e7ef;background:#f8fafc;color:#5d6d84}
body.ws-ui-v9 .ws-badge.badge-info{border:1px solid #d4dfff;background:#eef3ff;color:#2853d4}
body.ws-ui-v9 .ws-badge.badge-success{border:1px solid #cde8dc;background:#edf9f3;color:#14734d}
body.ws-ui-v9 .ws-badge.badge-warning{border:1px solid #f1dfbd;background:#fff8eb;color:#96620d}
body.ws-ui-v9 .ws-badge.badge-important{border:1px solid #f0d2d6;background:#fff3f4;color:#ad3844}
body.ws-ui-v9 .documents-page .document-card-copy{flex:1;padding:16px 0 14px}
body.ws-ui-v9 .documents-page .document-type-v9{display:block;margin-bottom:5px;color:#8b97a8;font-size:9.5px;font-weight:720;letter-spacing:.055em;text-transform:uppercase}
body.ws-ui-v9 .documents-page .document-card-copy h3{margin:0;color:#273852;font-size:15px;font-weight:700;line-height:1.35}
body.ws-ui-v9 .documents-page .document-card-copy p{margin:7px 0 0;color:#6f7e93;font-size:12.5px;line-height:1.5}
body.ws-ui-v9 .documents-page .document-card-copy small{display:block;margin-top:9px;color:#98a3b2;font-size:10.5px}
body.ws-ui-v9 .documents-page .document-card-action{align-self:flex-start;min-height:38px!important}

/* Newsroom */
body.ws-ui-v9 .newsroom-page .newsroom-header{align-items:end}
body.ws-ui-v9 .newsroom-page .news-search-wrap{width:min(420px,38vw)}
body.ws-ui-v9 .newsroom-page .news-lead-v9{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:14px;margin-bottom:22px}
body.ws-ui-v9 .newsroom-page .news-feature-v9{overflow:hidden;display:grid;grid-template-columns:minmax(300px,.95fr) minmax(0,1.05fr);min-height:360px;box-shadow:none}
body.ws-ui-v9 .newsroom-page .news-feature-media-v9{display:block;min-height:100%;background:#edf2f7;overflow:hidden}
body.ws-ui-v9 .newsroom-page .news-feature-media-v9 img,
body.ws-ui-v9 .newsroom-page .news-card-media-v9 img{width:100%;height:100%;object-fit:cover;display:block}
body.ws-ui-v9 .newsroom-page .news-cover-placeholder-v9{width:100%;height:100%;min-height:190px;background:linear-gradient(145deg,#132f68,#2457f5);display:grid;place-items:center;color:#fff;font-size:42px;font-weight:750}
body.ws-ui-v9 .newsroom-page .news-feature-copy-v9{padding:26px;display:flex;flex-direction:column}
body.ws-ui-v9 .news-meta-v9{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#8190a5;font-size:10.5px;font-weight:650}
body.ws-ui-v9 .newsroom-page .news-feature-copy-v9 h2{margin:14px 0 0;font-size:27px;line-height:1.15;font-weight:740;letter-spacing:-.03em}
body.ws-ui-v9 .newsroom-page .news-feature-copy-v9 h2 a,
body.ws-ui-v9 .newsroom-page .news-card-body-v9 h3 a{color:#20314c}
body.ws-ui-v9 .newsroom-page .news-feature-copy-v9 p{margin:12px 0 0;color:#687890;font-size:13.5px;line-height:1.6}
body.ws-ui-v9 .newsroom-page .news-feature-foot{margin-top:auto;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
body.ws-ui-v9 .newsroom-page .news-feature-foot small{color:#8b97a8;font-size:10.5px}
body.ws-ui-v9 .newsroom-page .news-latest-v9{overflow:hidden;box-shadow:none}
body.ws-ui-v9 .newsroom-page .news-latest-head{min-height:52px;padding:12px 14px;border-bottom:1px solid #e9eef4;display:flex;align-items:center;justify-content:space-between}
body.ws-ui-v9 .newsroom-page .news-latest-head strong{color:#33445d;font-size:13px}
body.ws-ui-v9 .newsroom-page .news-latest-head span{color:#96a2b2;font-size:10.5px}
body.ws-ui-v9 .newsroom-page .news-latest-list{display:grid}
body.ws-ui-v9 .newsroom-page .news-mini-v9{padding:14px;border-bottom:1px solid #edf1f5;display:grid;gap:5px}
body.ws-ui-v9 .newsroom-page .news-mini-v9:last-child{border-bottom:0}
body.ws-ui-v9 .newsroom-page .news-mini-v9:hover{background:#fbfcfe}
body.ws-ui-v9 .newsroom-page .news-mini-v9>span{color:#2457f5;font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
body.ws-ui-v9 .newsroom-page .news-mini-v9 strong{color:#33445d;font-size:12.5px;line-height:1.4}
body.ws-ui-v9 .newsroom-page .news-mini-v9 small{color:#929dad;font-size:9.8px}
body.ws-ui-v9 .newsroom-page .news-more-v9{margin-top:4px}
body.ws-ui-v9 .newsroom-page .news-grid-v9{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.ws-ui-v9 .newsroom-page .news-card-v9{overflow:hidden;box-shadow:none}
body.ws-ui-v9 .newsroom-page .news-card-media-v9{display:block;height:180px;background:#eef2f7;overflow:hidden}
body.ws-ui-v9 .newsroom-page .news-card-body-v9{padding:15px}
body.ws-ui-v9 .newsroom-page .news-card-body-v9 h3{margin:9px 0 0;font-size:15px;line-height:1.35;font-weight:700}
body.ws-ui-v9 .newsroom-page .news-card-body-v9 p{margin:8px 0 0;color:#6e7e94;font-size:12px;line-height:1.5}
body.ws-ui-v9 .newsroom-page .news-card-body-v9 footer{margin-top:13px;padding-top:10px;border-top:1px solid #edf1f5;display:flex;justify-content:space-between;gap:10px;color:#929dad;font-size:9.8px}

/* Article view */
body.ws-ui-v9 .article-view-page .article-shell-v9{width:min(980px,100%)}
body.ws-ui-v9 .article-view-page .article-breadcrumb-v9{margin-bottom:12px;display:flex;align-items:center;gap:7px;color:#8b98aa;font-size:11.5px}
body.ws-ui-v9 .article-view-page .article-breadcrumb-v9 a{color:#53657e;font-weight:650}
body.ws-ui-v9 .article-view-page .article-paper-v9{overflow:hidden;box-shadow:none}
body.ws-ui-v9 .article-view-page .article-header-v9{padding:34px 48px 28px}
body.ws-ui-v9 .article-view-page .article-header-v9 h1{margin:15px 0 0;color:#1e304b;font-size:38px;line-height:1.13;font-weight:750;letter-spacing:-.04em}
body.ws-ui-v9 .article-view-page .article-lead-v9{margin:13px 0 0;color:#61728a;font-size:16px;line-height:1.65}
body.ws-ui-v9 .article-view-page .article-byline-v9{margin-top:20px;display:flex;align-items:center;gap:10px}
body.ws-ui-v9 .article-view-page .article-avatar-v9{width:38px;height:38px;border-radius:10px;background:#0f2b5d;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700}
body.ws-ui-v9 .article-view-page .article-byline-v9 strong{display:block;color:#33445d;font-size:12px}
body.ws-ui-v9 .article-view-page .article-byline-v9 small{display:block;margin-top:2px;color:#929dad;font-size:10px}
body.ws-ui-v9 .article-view-page .article-cover-v9{margin:0;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;background:#eef2f7}
body.ws-ui-v9 .article-view-page .article-cover-v9 img{width:100%;max-height:520px;object-fit:cover;display:block}
body.ws-ui-v9 .article-view-page .article-content-v9{padding:34px 48px;color:#34455e;font-size:15px;line-height:1.78}
body.ws-ui-v9 .article-view-page .article-content-v9 h2{margin:30px 0 10px;color:#22334d;font-size:23px;font-weight:720}
body.ws-ui-v9 .article-view-page .article-content-v9 h3{margin:24px 0 8px;color:#293b55;font-size:18px;font-weight:700}
body.ws-ui-v9 .article-view-page .article-content-v9 p{margin:0 0 16px}
body.ws-ui-v9 .article-view-page .article-content-v9 blockquote{margin:22px 0;padding:14px 16px;border-left:3px solid #2457f5;background:#f7f9ff;color:#51627a;border-radius:0 8px 8px 0}
body.ws-ui-v9 .article-view-page .article-cta-v9{margin:0 48px 28px;padding:14px 16px;border:1px solid #dfe6ef;border-radius:10px;background:#f8fafc;display:flex;align-items:center;justify-content:space-between;gap:16px}
body.ws-ui-v9 .article-view-page .article-cta-v9 small{display:block;color:#8e99a9;font-size:9.5px;text-transform:uppercase;letter-spacing:.05em;font-weight:700}
body.ws-ui-v9 .article-view-page .article-cta-v9 strong{display:block;margin-top:2px;color:#3b4d67;font-size:12.5px}
body.ws-ui-v9 .article-view-page .article-footer-v9{padding:18px 48px;border-top:1px solid #e9eef4;display:flex;justify-content:space-between;gap:10px}

/* Notification inbox */
body.ws-ui-v9 .notification-inbox-page .notification-list-v9{overflow:hidden;box-shadow:none}
body.ws-ui-v9 .notification-inbox-page .notification-row-v9{min-height:104px;padding:16px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:13px;align-items:start;border-bottom:1px solid #edf1f5;background:#fff}
body.ws-ui-v9 .notification-inbox-page .notification-row-v9:last-child{border-bottom:0}
body.ws-ui-v9 .notification-inbox-page .notification-row-v9.unread{background:#fbfcff}
body.ws-ui-v9 .notification-inbox-page .notification-icon-v9{width:38px;height:38px;border-radius:10px;background:#f0f4ff;color:#2457f5;display:grid;place-items:center;font-size:16px}
body.ws-ui-v9 .notification-inbox-page .notification-icon-v9.success{background:#edf9f3;color:#178a59}
body.ws-ui-v9 .notification-inbox-page .notification-icon-v9.warning{background:#fff8eb;color:#a56a0b}
body.ws-ui-v9 .notification-inbox-page .notification-icon-v9.important{background:#fff3f4;color:#b93e4a}
body.ws-ui-v9 .notification-inbox-page .notification-title-v9{display:flex;align-items:center;justify-content:space-between;gap:14px}
body.ws-ui-v9 .notification-inbox-page .notification-title-v9 strong{color:#30415b;font-size:13.5px;font-weight:700}
body.ws-ui-v9 .notification-inbox-page .notification-title-v9 time{color:#9aa5b4;font-size:9.8px;white-space:nowrap}
body.ws-ui-v9 .notification-inbox-page .notification-copy-v9 p{margin:6px 0 0;color:#687991;font-size:12.5px;line-height:1.5}
body.ws-ui-v9 .notification-inbox-page .notification-copy-v9>a{display:inline-flex;align-items:center;gap:4px;margin-top:8px;color:#2457f5;font-size:11.5px;font-weight:650}
body.ws-ui-v9 .notification-inbox-page .notification-read-action{margin:0}

/* Service status */
body.ws-ui-v9 .service-status-page .overall-status-v9,
body.ws-ui-v9 .service-status-page .service-state-v9{
  display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe6ef;border-radius:999px;background:#f8fafc;color:#5d6d84;font-size:11px;font-weight:650;white-space:nowrap
}
body.ws-ui-v9 .service-status-page .overall-status-v9{min-height:36px;padding:7px 11px}
body.ws-ui-v9 .service-status-page .service-state-v9{min-height:28px;padding:5px 8px}
body.ws-ui-v9 .service-status-page .overall-status-v9 i,
body.ws-ui-v9 .service-status-page .service-state-v9 i{width:7px;height:7px;border-radius:50%;background:#8794a6}
body.ws-ui-v9 .service-status-page .operational{border-color:#cde8dc;background:#edf9f3;color:#14734d}.service-status-page .operational i{background:#178a59!important}
body.ws-ui-v9 .service-status-page .degraded{border-color:#f1dfbd;background:#fff8eb;color:#96620d}.service-status-page .degraded i{background:#d08a13!important}
body.ws-ui-v9 .service-status-page .outage{border-color:#f0d2d6;background:#fff3f4;color:#ad3844}.service-status-page .outage i{background:#c53b48!important}
body.ws-ui-v9 .service-status-page .maintenance{border-color:#d9dff0;background:#f5f6fb;color:#5e6581}.service-status-page .maintenance i{background:#747c9b!important}
body.ws-ui-v9 .service-status-page .service-grid-v9{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ws-ui-v9 .service-status-page .service-card-v9{padding:16px;box-shadow:none}
body.ws-ui-v9 .service-status-page .service-card-top{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:11px;align-items:center}
body.ws-ui-v9 .service-status-page .service-icon-v9{width:40px;height:40px;border-radius:10px;background:#eef3ff;color:#2457f5;display:grid;place-items:center;font-size:17px}
body.ws-ui-v9 .service-status-page .service-title-v9 strong{display:block;color:#30415b;font-size:13.5px;font-weight:700}
body.ws-ui-v9 .service-status-page .service-title-v9 small{display:block;margin-top:2px;color:#8a97a9;font-size:10.5px}
body.ws-ui-v9 .service-status-page .service-message-v9{margin:13px 0 0;padding:10px 11px;border-radius:8px;background:#f8fafc;color:#64758d;font-size:11.5px;line-height:1.5}
body.ws-ui-v9 .service-status-page .service-card-foot{margin-top:14px;padding-top:11px;border-top:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#929dad;font-size:10px}
body.ws-ui-v9 .service-status-page .service-card-foot a{color:#2457f5;font-weight:650}

/* v9.3 content administration */
body.ws-ui-v9.content-admin-page .metric-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}
body.ws-ui-v9.content-admin-page .metric-card{min-height:76px;padding:12px 13px;border:1px solid var(--ws-border);border-radius:11px;background:#fff;display:flex;align-items:center;gap:10px;box-shadow:none}
body.ws-ui-v9.content-admin-page .metric-icon{width:34px;height:34px;border-radius:9px;background:#eef3ff;color:#2457f5;display:grid;place-items:center;font-size:15px}
body.ws-ui-v9.content-admin-page .metric-card strong{display:block;color:#30415b;font-size:17px;font-weight:730}
body.ws-ui-v9.content-admin-page .metric-card small{display:block;margin-top:1px;color:#8b97a8;font-size:9.8px}
body.ws-ui-v9.content-admin-page .content-admin-toolbar{gap:8px}
body.ws-ui-v9.content-admin-page .mini-icon{width:34px;height:34px;border-radius:9px;background:#f1f5ff;color:#2457f5;display:grid;place-items:center;font-size:14px;flex:0 0 auto}
body.ws-ui-v9.content-admin-page .access-label{color:#6e7e94;font-size:11px}
body.ws-ui-v9.content-admin-page .news-admin-feed{display:grid}
body.ws-ui-v9.content-admin-page .news-admin-row{min-height:112px;padding:12px 14px;border-bottom:1px solid #edf1f5;display:grid;grid-template-columns:78px minmax(0,1fr) 145px 150px;gap:14px;align-items:center;background:#fff}
body.ws-ui-v9.content-admin-page .news-admin-row:last-child{border-bottom:0}
body.ws-ui-v9.content-admin-page .news-admin-row:hover{background:#fbfcfe}
body.ws-ui-v9.content-admin-page .news-admin-thumb{width:78px;height:70px;border-radius:9px;overflow:hidden;background:#eef2f7;display:block}
body.ws-ui-v9.content-admin-page .news-admin-thumb img{width:100%;height:100%;object-fit:cover;display:block}
body.ws-ui-v9.content-admin-page .news-cover-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#16336d,#2457f5);color:#fff;font-weight:750}
body.ws-ui-v9.content-admin-page .news-admin-main h3{margin:5px 0 0;color:#31425c;font-size:13.5px;font-weight:700}
body.ws-ui-v9.content-admin-page .news-admin-main p{margin:4px 0 0;color:#748298;font-size:11.5px;line-height:1.4}
body.ws-ui-v9.content-admin-page .news-admin-main>small{display:block;margin-top:5px;color:#9aa5b4;font-size:9.8px}
body.ws-ui-v9.content-admin-page .news-admin-state{display:grid;justify-items:start;gap:5px}
body.ws-ui-v9.content-admin-page .news-admin-actions-inline{display:flex;align-items:center;justify-content:flex-end;gap:8px}
body.ws-ui-v9.content-admin-page .news-admin-actions-inline form{margin:0}
body.ws-ui-v9.content-admin-page .news-meta{display:flex;align-items:center;gap:6px;color:#8693a6;font-size:9.8px}
body.ws-ui-v9.content-admin-page .announcement-type{display:inline-flex;min-height:22px;padding:3px 7px;border-radius:999px;background:#f4f6f9;color:#66778f;font-size:9px;font-weight:680}
body.ws-ui-v9.content-admin-page .announcement-type.success{background:#edf9f3;color:#14734d}
body.ws-ui-v9.content-admin-page .announcement-type.warning{background:#fff8eb;color:#96620d}
body.ws-ui-v9.content-admin-page .announcement-type.important{background:#fff3f4;color:#ad3844}

/* Legacy CMS/modal markup mapped to v9 form primitives */
body.ws-ui-v9.content-admin-page .app-modal .modal-dialog.wide{width:min(860px,calc(100vw - 32px))!important;max-width:860px!important}
body.ws-ui-v9.content-admin-page .app-modal .modal-dialog.xl{width:min(1180px,calc(100vw - 32px))!important;max-width:1180px!important}
body.ws-ui-v9.content-admin-page .app-modal .modal-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:18px}
body.ws-ui-v9.content-admin-page .app-modal .form-section{padding:0 0 15px;margin:0 0 15px;border-bottom:1px solid #edf1f5}
body.ws-ui-v9.content-admin-page .app-modal .form-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
body.ws-ui-v9.content-admin-page .app-modal .form-section-head{margin-bottom:11px}
body.ws-ui-v9.content-admin-page .app-modal .form-section-head strong{display:block;color:#31425c;font-size:12.5px}
body.ws-ui-v9.content-admin-page .app-modal .form-section-head small{display:block;margin-top:2px;color:#8b97a8;font-size:10px}
body.ws-ui-v9.content-admin-page .app-modal .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.ws-ui-v9.content-admin-page .app-modal .stack-form>label,
body.ws-ui-v9.content-admin-page .app-modal .form-section>label{display:block;color:#2f405a;font-size:12.5px;font-weight:650}
body.ws-ui-v9.content-admin-page .app-modal input:not([type=checkbox]):not([type=radio]):not([type=file]),
body.ws-ui-v9.content-admin-page .app-modal select,
body.ws-ui-v9.content-admin-page .app-modal textarea{
  width:100%;min-height:44px;margin-top:6px;padding:9px 11px;border:1px solid var(--ws-border-strong);border-radius:8px;background:#fff;color:#263750;font:500 13.5px/1.35 var(--ws-font);box-shadow:none;outline:none
}
body.ws-ui-v9.content-admin-page .app-modal textarea{min-height:92px;resize:vertical}
body.ws-ui-v9.content-admin-page .app-modal .field-help{display:block;margin-top:5px;color:#8c98a8;font-size:10px;font-weight:500}
body.ws-ui-v9.content-admin-page .app-modal .modal-side{padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}
body.ws-ui-v9.content-admin-page .app-modal .check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.ws-ui-v9.content-admin-page .app-modal .user-check-list{display:grid;gap:7px;max-height:250px;overflow:auto;padding-right:4px}
body.ws-ui-v9.content-admin-page .app-modal .check{display:flex!important;align-items:flex-start;gap:7px;color:#52627a;font-size:11.5px!important;font-weight:550!important;line-height:1.35}
body.ws-ui-v9.content-admin-page .app-modal input[type=checkbox],
body.ws-ui-v9.content-admin-page .app-modal input[type=radio]{width:16px;height:16px;accent-color:#2457f5;flex:0 0 auto;margin-top:0}
body.ws-ui-v9.content-admin-page .app-modal .source-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.ws-ui-v9.content-admin-page .app-modal .source-option{padding:11px;border:1px solid #dfe6ef;border-radius:9px;background:#fff;display:flex!important;gap:9px;align-items:flex-start;color:#40516a;cursor:pointer}
body.ws-ui-v9.content-admin-page .app-modal .source-option strong{display:block;font-size:11.5px}.content-admin-page .source-option small{display:block;margin-top:2px;color:#8d99a9;font-size:9.8px}
body.ws-ui-v9.content-admin-page .app-modal .drop-zone{min-height:150px;padding:20px;border:1.5px dashed #ccd6e3;border-radius:10px;background:#fbfcfe;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#78879b;position:relative}
body.ws-ui-v9.content-admin-page .app-modal .drop-zone.compact{min-height:118px;padding:15px}
body.ws-ui-v9.content-admin-page .app-modal .drop-zone .drop-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
body.ws-ui-v9.content-admin-page .app-modal .drop-icon{margin-bottom:6px;color:#2457f5;font-size:21px}
body.ws-ui-v9.content-admin-page .app-modal .drop-zone strong{color:#3e5069;font-size:12px}.content-admin-page .drop-zone>span{margin-top:3px;font-size:10px}
body.ws-ui-v9.content-admin-page .app-modal .access-box{padding:11px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc}.content-admin-page .access-box>div:first-child strong{font-size:11.5px;color:#3f5069}.content-admin-page .access-box>div:first-child small{display:block;color:#8c98a8;font-size:9.8px}
body.ws-ui-v9.content-admin-page .app-modal .article-compose{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.65fr);gap:18px}
body.ws-ui-v9.content-admin-page .app-modal .article-main{min-width:0}
body.ws-ui-v9.content-admin-page .app-modal .article-settings{padding:14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}
body.ws-ui-v9.content-admin-page .app-modal .article-title-input{min-height:52px!important;margin:0!important;padding:9px 0!important;border:0!important;border-bottom:1px solid #e2e8f0!important;border-radius:0!important;font-size:24px!important;font-weight:720!important;letter-spacing:-.025em!important}
body.ws-ui-v9.content-admin-page .app-modal .rich-editor{margin-top:12px;border:1px solid #dfe6ef;border-radius:10px;background:#fff;overflow:hidden}
body.ws-ui-v9.content-admin-page .app-modal .editor-toolbar{min-height:46px;padding:6px 8px;border-bottom:1px solid #e8edf3;background:#f8fafc;display:flex;align-items:center;gap:4px;flex-wrap:wrap}
body.ws-ui-v9.content-admin-page .app-modal .editor-toolbar button{min-height:30px;padding:4px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:#506178;font-size:10.5px;cursor:pointer}
body.ws-ui-v9.content-admin-page .app-modal .editor-toolbar button:hover{border-color:#dbe3ee;background:#fff;color:#2457f5}
body.ws-ui-v9.content-admin-page .app-modal .editor-surface{min-height:330px;padding:18px;color:#33455e;font-size:13.5px;line-height:1.65;outline:none}
body.ws-ui-v9.content-admin-page .app-modal .cover-preview img{max-width:100%;max-height:120px;margin-top:8px;border-radius:7px;object-fit:cover}

/* Operational insight cards/tables */
body.ws-ui-v9.insights-admin-page .ws-admin-shell{width:min(1380px,100%);max-width:1380px;margin:0 auto;padding:22px 0 32px}
body.ws-ui-v9.insights-admin-page .ws-metric-grid{display:grid;gap:10px;margin-bottom:14px}
body.ws-ui-v9.insights-admin-page .ws-metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
body.ws-ui-v9.insights-admin-page .ws-metric-card{min-height:84px;padding:13px 14px;border:1px solid var(--ws-border);border-radius:11px;background:#fff;display:flex;align-items:center;gap:11px}
body.ws-ui-v9.insights-admin-page .metric-symbol{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:16px;background:#eef3ff;color:#2457f5;flex:0 0 auto}
body.ws-ui-v9.insights-admin-page .metric-symbol.green{background:#edf9f3;color:#178a59}.insights-admin-page .metric-symbol.purple{background:#f6f1ff;color:#7353cf}
body.ws-ui-v9.insights-admin-page .ws-metric-card small{display:block;color:#8b97a8;font-size:9.8px}.insights-admin-page .ws-metric-card strong{display:block;margin-top:2px;color:#30415b;font-size:18px;font-weight:730}.insights-admin-page .ws-metric-card span{display:block;margin-top:1px;color:#9aa5b4;font-size:9.5px}
body.ws-ui-v9.insights-admin-page .admin-data-card{overflow:hidden;box-shadow:none}
body.ws-ui-v9.insights-admin-page .admin-data-head>div>strong{display:block;color:#31425c;font-size:13px}.insights-admin-page .admin-data-head>div>small{display:block;margin-top:2px;color:#8b97a8;font-size:10px}
body.ws-ui-v9.insights-admin-page .admin-inline-filter .form-select{min-width:165px;min-height:38px;font-size:11.5px;padding-top:6px;padding-bottom:6px}
body.ws-ui-v9.insights-admin-page .table-subtext{display:block;margin-top:2px;color:#8d99aa;font-size:9.8px}
body.ws-ui-v9.insights-admin-page .ws-empty-table{padding:26px;text-align:center;color:#8794a7;font-size:11.5px}
body.ws-ui-v9.insights-admin-page .table-tool-v9{display:flex;align-items:center;gap:9px}.insights-admin-page .table-tool-v9 strong{display:block;color:#31425c;font-size:12.5px}.insights-admin-page .table-tool-v9 small{display:block;margin-top:2px;color:#8d99aa;font-size:9.8px}

@media (max-width:1100px){
  body.ws-ui-v9 .documents-page .document-grid-v9{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ws-ui-v9 .newsroom-page .news-lead-v9{grid-template-columns:1fr}
  body.ws-ui-v9 .newsroom-page .news-grid-v9{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ws-ui-v9.content-admin-page .metric-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ws-ui-v9.content-admin-page .news-admin-row{grid-template-columns:72px minmax(0,1fr) 120px}.content-admin-page .news-admin-actions-inline{grid-column:2/-1;justify-content:flex-start}
  body.ws-ui-v9.content-admin-page .app-modal .article-compose{grid-template-columns:1fr}.content-admin-page .app-modal .article-settings{background:#fff}
}
@media (max-width:800px){
  body.ws-ui-v9 .ws-page-shell{padding:18px 14px 30px}
  body.ws-ui-v9 .ws-page-header{align-items:flex-start;flex-direction:column}
  body.ws-ui-v9 .documents-page .content-toolbar{align-items:stretch;flex-direction:column}.documents-page .resource-filter-chips{justify-content:flex-start}
  body.ws-ui-v9 .documents-page .document-grid-v9,
  body.ws-ui-v9 .newsroom-page .news-grid-v9,
  body.ws-ui-v9 .service-status-page .service-grid-v9{grid-template-columns:1fr}
  body.ws-ui-v9 .newsroom-page .news-search-wrap{width:100%;max-width:none}.newsroom-page .news-feature-v9{grid-template-columns:1fr}.newsroom-page .news-feature-media-v9{min-height:220px}.newsroom-page .news-feature-copy-v9{padding:20px}
  body.ws-ui-v9 .article-view-page .article-header-v9,
  body.ws-ui-v9 .article-view-page .article-content-v9{padding:24px 22px}.article-view-page .article-header-v9 h1{font-size:30px}.article-view-page .article-cta-v9{margin:0 22px 22px}.article-view-page .article-footer-v9{padding:16px 22px;flex-wrap:wrap}
  body.ws-ui-v9 .notification-inbox-page .notification-row-v9{grid-template-columns:38px minmax(0,1fr)}.notification-inbox-page .notification-read-action{grid-column:2}.notification-inbox-page .notification-title-v9{align-items:flex-start;flex-direction:column;gap:3px}
  body.ws-ui-v9.content-admin-page .app-modal .modal-grid{grid-template-columns:1fr}.content-admin-page .app-modal .modal-side{background:#fff}.content-admin-page .app-modal .form-row{grid-template-columns:1fr}
  body.ws-ui-v9.insights-admin-page .ws-admin-shell{padding:18px 14px 30px}.insights-admin-page .ws-metric-grid.three{grid-template-columns:1fr}.insights-admin-page .admin-data-head{align-items:flex-start;flex-direction:column}.insights-admin-page .admin-inline-filter{width:100%;align-items:stretch!important;flex-wrap:wrap}.insights-admin-page .admin-inline-filter .form-select{flex:1 1 180px}
}
@media (max-width:620px){
  body.ws-ui-v9.content-admin-page .metric-row{grid-template-columns:1fr}.content-admin-page .news-admin-row{grid-template-columns:64px minmax(0,1fr);align-items:start}.content-admin-page .news-admin-state,.content-admin-page .news-admin-actions-inline{grid-column:2}.content-admin-page .app-modal .check-grid{grid-template-columns:1fr}
}

/* ================================================================
   v9.4 — Workspace Home, Personalization & Setup migration
   One visual language for the remaining daily-work surfaces.
   ================================================================ */
body.ws-ui-v9 .ws-page-shell{width:min(1380px,100%);max-width:1380px;margin:0 auto;padding:22px 0 36px}
body.ws-ui-v9 .ws-page-kicker{margin:0 0 5px;color:#8794a8;font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
body.ws-ui-v9 .ws-card-header h2{margin:0;color:#263750;font-size:15px;font-weight:700;letter-spacing:-.015em}
body.ws-ui-v9 .ws-card-header p{margin:3px 0 0;color:#8a97a9;font-size:11px}
body.ws-ui-v9 .ws-count-pill{display:inline-flex;align-items:center;min-height:27px;padding:4px 9px;border-radius:999px;background:#f2f5f9;color:#65748a;font-size:10.5px;font-weight:650}
body.ws-ui-v9 .ws-field-block{display:grid;gap:7px}
body.ws-ui-v9 .ws-empty-panel{min-height:170px;padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8a97aa}
body.ws-ui-v9 .ws-empty-panel>i{width:42px;height:42px;margin-bottom:10px;border:1px solid #dde5ef;border-radius:11px;display:grid;place-items:center;background:#f8fafc;color:#72829a;font-size:17px}
body.ws-ui-v9 .ws-empty-panel strong{color:#43536b;font-size:13px}.ws-empty-panel span{margin-top:4px;font-size:11px}

/* Home */
body.ws-ui-v9.workspace-home-v9 .main-content{background:#f7f9fc!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-shell{width:min(1460px,100%);max-width:1460px;margin:0 auto;padding:28px 0 38px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
body.ws-ui-v9.workspace-home-v9 .ws-home-shell:has(.ws-home-main:only-child){grid-template-columns:1fr}
body.ws-ui-v9.workspace-home-v9 .ws-home-main{min-width:0}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero{min-height:90px;display:flex;align-items:center;margin-bottom:12px}
body.ws-ui-v9.workspace-home-v9 .ws-home-eyebrow{margin:0 0 6px;color:#8a96a8;font-size:10.5px;font-weight:700;letter-spacing:.095em;text-transform:uppercase}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero h1{margin:0;color:#17243c;font-size:31px;line-height:1.08;font-weight:730;letter-spacing:-.04em}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero h1 span{font-size:.82em}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero p:not(.ws-home-eyebrow){margin:7px 0 0;color:#7d899b;font-size:13px}
body.ws-ui-v9.workspace-home-v9 .ws-home-search{height:48px;margin-bottom:22px;padding:0 13px;border:1px solid #dde4ed;border-radius:11px;background:#fff;display:flex;align-items:center;gap:10px;box-shadow:0 1px 2px rgba(16,24,40,.02)}
body.ws-ui-v9.workspace-home-v9 .ws-home-search>i{color:#7b8aa0;font-size:15px}
body.ws-ui-v9.workspace-home-v9 .ws-home-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#25354e;font:500 13.5px/1.4 var(--ws-font)}
body.ws-ui-v9.workspace-home-v9 .ws-home-search input::placeholder{color:#9aa6b6}
body.ws-ui-v9.workspace-home-v9 .ws-search-hint{padding:3px 7px;border:1px solid #e1e7ef;border-radius:6px;background:#f8fafc;color:#8996a8;font-size:9px;font-weight:650}
body.ws-ui-v9.workspace-home-v9 .ws-home-section{margin:0 0 26px}
body.ws-ui-v9.workspace-home-v9 .ws-home-section-head{min-height:34px;margin-bottom:10px;display:flex;align-items:end;justify-content:space-between;gap:14px}
body.ws-ui-v9.workspace-home-v9 .ws-home-section-head h2{margin:0;color:#2f4059;font-size:13.5px;font-weight:700;letter-spacing:-.01em}
body.ws-ui-v9.workspace-home-v9 .ws-home-section-head p{margin:2px 0 0;color:#94a0b0;font-size:10px}
body.ws-ui-v9.workspace-home-v9 .ws-home-section-head>a{color:#60708a;font-size:10.5px;font-weight:650}.workspace-home-v9 .ws-home-section-head>a:hover{color:#2457f5}
body.ws-ui-v9.workspace-home-v9 .ws-home-app-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(122px,1fr))!important;gap:10px!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut{position:relative!important;min-width:0!important;min-height:112px!important;margin:0!important;border:1px solid #e0e6ee!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;transition:border-color .15s ease,background .15s ease!important;overflow:hidden!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut:hover{transform:none!important;border-color:#cfd8e5!important;background:#fbfcfe!important;box-shadow:none!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut-link{height:100%!important;min-height:112px!important;padding:15px 12px 13px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:10px!important;text-align:left!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut-link .tool-icon{width:38px!important;height:38px!important;border-radius:10px!important;font-size:17px!important;box-shadow:none!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut-link strong{display:block!important;max-width:100%!important;color:#34435a!important;font-size:11.5px!important;font-weight:650!important;line-height:1.28!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.ws-ui-v9.workspace-home-v9 .simple-favorite{position:absolute!important;top:8px!important;right:8px!important;z-index:2!important}
body.ws-ui-v9.workspace-home-v9 .favorite-btn{width:25px!important;height:25px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#c2cad5!important;font-size:10px!important;display:grid!important;place-items:center!important;opacity:.25!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut:hover .favorite-btn,body.ws-ui-v9.workspace-home-v9 .favorite-btn.active{opacity:1!important}.workspace-home-v9 .favorite-btn.active{color:#f0ad21!important;background:#fff8e6!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-add-tile{min-height:112px!important;border:1px dashed #d8e0ea!important;border-radius:11px!important;background:#fafbfd!important;color:#79889d!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-add-tile span{width:34px!important;height:34px!important;border-radius:10px!important;border:1px solid #e0e6ee!important;background:#fff!important;display:grid!important;place-items:center!important;font-size:13px!important}.workspace-home-v9 .ws-home-add-tile strong{font-size:10.5px!important;font-weight:650!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news{position:sticky;top:calc(var(--ws-topbar-h) + 20px);overflow:hidden;box-shadow:none}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-head{min-height:64px;padding:13px 15px;border-bottom:1px solid #e9edf3;display:flex;align-items:center;justify-content:space-between;gap:12px}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-head span{display:block;color:#99a4b2;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.workspace-home-v9 .ws-home-news-head h2{margin:2px 0 0;color:#33435c;font-size:13px;font-weight:700}.workspace-home-v9 .ws-home-news-head>a{color:#65758b;font-size:10px;font-weight:650}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-list{display:grid}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-item{min-height:86px;padding:13px 14px;border-bottom:1px solid #edf1f5;display:grid;grid-template-columns:34px minmax(0,1fr) 14px;gap:10px;align-items:start;background:#fff}.workspace-home-v9 .ws-home-news-item:last-child{border-bottom:0}.workspace-home-v9 .ws-home-news-item:hover{background:#fafbfd}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#eef3ff;color:#2457f5;font-size:13px}.workspace-home-v9 .ws-home-news-icon.warning{background:#fff7e8;color:#c67a13}.workspace-home-v9 .ws-home-news-icon.important{background:#fff0f2;color:#c54858}.workspace-home-v9 .ws-home-news-icon.success{background:#edf9f3;color:#178a59}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-copy{min-width:0}.workspace-home-v9 .ws-home-news-copy strong{display:block;color:#3b4a61;font-size:11px;font-weight:650;line-height:1.35}.workspace-home-v9 .ws-home-news-copy small{display:-webkit-box;margin-top:3px;color:#8c98a9;font-size:9.7px;line-height:1.35;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.workspace-home-v9 .ws-home-news-copy time{display:block;margin-top:5px;color:#a0a9b6;font-size:8.8px}.workspace-home-v9 .ws-home-news-arrow{align-self:center;color:#bac3cf;font-size:9px}
body.ws-ui-v9.workspace-home-v9 .ws-home-empty{min-height:210px;border:1px dashed #dae2ec;border-radius:12px;background:#fbfcfe;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8c98aa}.workspace-home-v9 .ws-home-empty>div{width:40px;height:40px;border-radius:11px;background:#fff;border:1px solid #e1e7ef;display:grid;place-items:center}.workspace-home-v9 .ws-home-empty h3{margin:10px 0 0;color:#495970;font-size:13px}.workspace-home-v9 .ws-home-empty p{margin:4px 0 0;font-size:10.5px}

/* My Workspace */
body.ws-ui-v9.my-workspace-v9 .ws-personal-card{overflow:hidden;box-shadow:none}
body.ws-ui-v9.my-workspace-v9 .ws-personal-list{display:grid}
body.ws-ui-v9.my-workspace-v9 .ws-personal-row{min-height:68px;padding:11px 14px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;gap:16px}.my-workspace-v9 .ws-personal-row:last-child{border-bottom:0}
body.ws-ui-v9.my-workspace-v9 .ws-personal-tool{min-width:0;display:flex;align-items:center;gap:11px}.my-workspace-v9 .ws-personal-tool .mini-icon{width:36px!important;height:36px!important;border-radius:9px!important;font-size:15px!important}.my-workspace-v9 .ws-personal-tool strong{display:block;color:#34445d;font-size:12.5px;font-weight:650}.my-workspace-v9 .ws-personal-tool small{display:block;margin-top:2px;color:#8d99aa;font-size:10px}
body.ws-ui-v9.my-workspace-v9 .ws-personal-actions{display:flex;gap:6px}.my-workspace-v9 .ws-personal-actions form{margin:0}.my-workspace-v9 .ws-personal-actions .ws-btn{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important}
body.ws-ui-v9.my-workspace-v9 .ws-preference-form{display:grid;gap:15px}
body.ws-ui-v9.my-workspace-v9 .ws-switch-row{min-height:58px;padding:11px 0;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer}.my-workspace-v9 .ws-switch-row strong{display:block;color:#3b4b62;font-size:12px;font-weight:650}.my-workspace-v9 .ws-switch-row small{display:block;margin-top:3px;color:#8e9aab;font-size:10px;line-height:1.4}.my-workspace-v9 .ws-switch-row .form-check-input{width:36px;height:20px;margin:0;float:none;flex:0 0 auto;cursor:pointer}.my-workspace-v9 .ws-switch-row .form-check-input:checked{background-color:#2457f5;border-color:#2457f5}

/* Workspace configuration pages — shortcuts, quick actions, categories */
body.ws-ui-v9.workspace-config-page .enterprise-page{width:min(1380px,100%)!important;max-width:1380px!important;margin:0 auto!important;padding:22px 0 36px!important}
body.ws-ui-v9.workspace-config-page .page-header{min-height:auto!important;margin:0 0 16px!important;padding:0!important;border:0!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
body.ws-ui-v9.workspace-config-page .section-kicker{display:block;margin-bottom:5px;color:#8a96a8;font-size:10px!important;font-weight:700!important;letter-spacing:.09em!important;text-transform:uppercase}
body.ws-ui-v9.workspace-config-page .page-header-copy h1{margin:0!important;color:#17243c!important;font-size:28px!important;line-height:1.1!important;font-weight:720!important;letter-spacing:-.035em!important}.workspace-config-page .page-header-copy p{margin:6px 0 0!important;color:#7f8c9f!important;font-size:12px!important;max-width:700px}
body.ws-ui-v9.workspace-config-page .page-actions{display:flex;align-items:center;gap:8px}.workspace-config-page .page-actions .btn{min-height:40px!important;padding:0 13px!important;border-radius:8px!important;font-size:12.5px!important;font-weight:650!important}.workspace-config-page .page-actions .btn.primary{background:#2457f5!important;border:1px solid #2457f5!important;color:#fff!important}
body.ws-ui-v9.workspace-config-page .metric-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important}.workspace-config-page .metric-card{min-height:76px!important;padding:12px 13px!important;border:1px solid #e1e7ef!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;display:flex!important;align-items:center!important;gap:10px!important}.workspace-config-page .metric-icon{width:34px!important;height:34px!important;border-radius:9px!important;background:#f1f5ff!important;color:#2457f5!important;display:grid!important;place-items:center!important;font-size:13px!important}.workspace-config-page .metric-card strong{display:block!important;color:#31415a!important;font-size:17px!important;font-weight:720!important;line-height:1.1!important}.workspace-config-page .metric-card small{display:block!important;margin-top:3px!important;color:#8b97a8!important;font-size:9.8px!important}
body.ws-ui-v9.workspace-config-page .data-card{border:1px solid #e1e7ef!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}.workspace-config-page .data-toolbar{min-height:58px!important;padding:9px 11px!important;border-bottom:1px solid #e8edf3!important;background:#fff!important;display:flex!important;align-items:center!important;gap:8px!important}.workspace-config-page .toolbar-search{height:38px!important;min-width:280px!important;flex:1!important;padding:0 11px!important;border:1px solid #d8e0ea!important;border-radius:8px!important;background:#fbfcfe!important;display:flex!important;align-items:center!important;gap:8px!important}.workspace-config-page .toolbar-search i,.workspace-config-page .toolbar-search span{color:#8592a5!important;font-size:12px!important}.workspace-config-page .toolbar-search input{width:100%!important;border:0!important;background:transparent!important;outline:0!important;color:#34445d!important;font:500 12px/1.3 var(--ws-font)!important}.workspace-config-page .toolbar-select{height:38px!important;min-width:145px!important;padding:0 28px 0 10px!important;border:1px solid #d8e0ea!important;border-radius:8px!important;background-color:#fff!important;color:#53627a!important;font:550 11px/1.2 var(--ws-font)!important}.workspace-config-page .toolbar-meta{margin-left:auto!important;color:#8d98a9!important;font-size:10px!important;white-space:nowrap}
body.ws-ui-v9.workspace-config-page .data-table{width:100%!important;margin:0!important;border-collapse:collapse!important;font-size:11.5px!important}.workspace-config-page .data-table thead th{height:38px!important;padding:8px 12px!important;border-bottom:1px solid #e9edf3!important;background:#f8fafc!important;color:#79869a!important;font-size:9.4px!important;font-weight:700!important;letter-spacing:.055em!important;text-transform:uppercase!important}.workspace-config-page .data-table tbody td{padding:11px 12px!important;border-bottom:1px solid #edf1f5!important;vertical-align:middle!important;color:#536279!important}.workspace-config-page .data-table tbody tr:last-child td{border-bottom:0!important}.workspace-config-page .row-title{display:flex!important;align-items:center!important;gap:9px!important}.workspace-config-page .row-title .mini-icon{width:34px!important;height:34px!important;border-radius:9px!important;font-size:14px!important}.workspace-config-page .row-title-copy strong{display:block!important;color:#35455e!important;font-size:11.7px!important;font-weight:650!important}.workspace-config-page .row-title-copy small{display:block!important;margin-top:2px!important;max-width:420px!important;color:#909bac!important;font-size:9.7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.workspace-config-page .badge-soft,.workspace-config-page .status{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:4px 8px!important;border-radius:999px!important;font-size:9.5px!important;font-weight:650!important}.workspace-config-page .row-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important}.workspace-config-page .row-actions form{margin:0!important}.workspace-config-page .text-action{border:0!important;background:transparent!important;color:#536681!important;font-size:10.5px!important;font-weight:650!important;padding:3px 0!important}.workspace-config-page .text-action:hover{color:#2457f5!important}.workspace-config-page .text-action.danger{color:#bb4a55!important}
body.ws-ui-v9.workspace-config-page.content-admin-page .app-modal .modal-dialog{border-radius:12px!important;box-shadow:0 20px 60px rgba(15,23,42,.16)!important}.workspace-config-page.content-admin-page .app-modal .modal-head{min-height:66px!important;padding:13px 16px!important}.workspace-config-page.content-admin-page .app-modal .modal-head h2{font-size:16px!important}.workspace-config-page.content-admin-page .app-modal .modal-head p{font-size:10.5px!important}.workspace-config-page.content-admin-page .app-modal .modal-body{padding:15px 16px!important}.workspace-config-page.content-admin-page .app-modal .modal-footer{min-height:62px!important;padding:10px 16px!important}.workspace-config-page.content-admin-page .app-modal .modal-footer .btn{min-height:38px!important;padding:0 13px!important;border-radius:8px!important;font-size:11.5px!important;font-weight:650!important}.workspace-config-page.content-admin-page .app-modal .modal-footer .btn.primary{background:#2457f5!important;color:#fff!important;border:1px solid #2457f5!important}.workspace-config-page.content-admin-page .app-modal .modal-footer .btn.secondary{background:#fff!important;color:#516079!important;border:1px solid #d8e0ea!important}

/* Role Home */
body.ws-ui-v9.role-home-v9 .admin-head{width:min(1180px,100%);margin:0 auto;padding:22px 0 16px}.role-home-v9 .admin-head .section-kicker{display:block;margin-bottom:5px;color:#8b97a9;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.role-home-v9 .admin-head h1{margin:0;color:#17243c;font-size:28px;font-weight:720;letter-spacing:-.035em}.role-home-v9 .admin-head p{margin:6px 0 0;color:#7e8b9d;font-size:12px}
body.ws-ui-v9.role-home-v9 .role-home-grid{width:min(1180px,100%);margin:0 auto 36px;display:grid!important;grid-template-columns:320px minmax(0,1fr)!important;gap:14px!important;align-items:start!important}.role-home-v9 .panel{border:1px solid #e1e7ef!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}.role-home-v9 .panel-head{min-height:58px!important;padding:12px 14px!important;border-bottom:1px solid #e8edf3!important;display:flex!important;align-items:center!important}.role-home-v9 .panel-head h2{margin:0!important;color:#33435b!important;font-size:13px!important;font-weight:700!important}.role-home-v9 .role-selector{display:grid!important;padding:7px!important;gap:3px!important}.role-home-v9 .role-selector>a{min-height:52px!important;padding:9px 10px!important;border-radius:8px!important;border:1px solid transparent!important;display:block!important}.role-home-v9 .role-selector>a:hover{background:#f8fafc!important}.role-home-v9 .role-selector>a.active{border-color:#d6e0ff!important;background:#f2f5ff!important}.role-home-v9 .role-selector strong{display:block!important;color:#405069!important;font-size:11.5px!important;font-weight:650!important}.role-home-v9 .role-selector small{display:block!important;margin-top:2px!important;color:#8e9aab!important;font-size:9.7px!important;line-height:1.35!important}.role-home-v9 .form-panel .stack-form{display:grid!important;gap:14px!important;padding:15px!important}.role-home-v9 .form-panel .stack-form>label:not(.check){display:grid!important;gap:6px!important;color:#35455e!important;font-size:11.5px!important;font-weight:650!important}.role-home-v9 .form-panel input:not([type=checkbox]),.role-home-v9 .form-panel textarea{width:100%!important;min-height:44px!important;padding:9px 11px!important;border:1px solid #d5dee9!important;border-radius:8px!important;background:#fff!important;color:#34445d!important;font:500 12.5px/1.4 var(--ws-font)!important;outline:0!important}.role-home-v9 .form-panel textarea{min-height:92px!important;resize:vertical!important}.role-home-v9 .toggle-stack{display:grid!important;gap:0!important;border:1px solid #e5eaf1!important;border-radius:9px!important;overflow:hidden!important}.role-home-v9 .toggle-stack .check{min-height:46px!important;padding:10px 11px!important;border-bottom:1px solid #edf1f5!important;display:flex!important;align-items:center!important;gap:9px!important;color:#4f6079!important;font-size:11px!important;font-weight:550!important}.role-home-v9 .toggle-stack .check:last-child{border-bottom:0!important}.role-home-v9 .toggle-stack input{width:17px!important;height:17px!important;accent-color:#2457f5!important}.role-home-v9 .form-panel .btn.primary.full{min-height:40px!important;border:1px solid #2457f5!important;border-radius:8px!important;background:#2457f5!important;color:#fff!important;font-size:12px!important;font-weight:650!important}

@media (max-width:1200px){body.ws-ui-v9.workspace-home-v9 .ws-home-shell{grid-template-columns:minmax(0,1fr) 285px}.workspace-home-v9 .ws-home-app-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))!important}}
@media (max-width:1000px){body.ws-ui-v9.workspace-home-v9 .ws-home-shell{grid-template-columns:1fr}.workspace-home-v9 .ws-home-news{position:static}.workspace-config-page .metric-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.role-home-v9 .role-home-grid{grid-template-columns:1fr!important}}
@media (max-width:800px){body.ws-ui-v9 .ws-page-shell,body.ws-ui-v9.workspace-config-page .enterprise-page,body.ws-ui-v9.role-home-v9 .admin-head,body.ws-ui-v9.role-home-v9 .role-home-grid{padding-left:14px!important;padding-right:14px!important}.workspace-home-v9 .ws-home-shell{padding:18px 14px 30px!important}.workspace-home-v9 .ws-home-hero h1{font-size:26px!important}.workspace-home-v9 .ws-home-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.workspace-config-page .page-header{align-items:flex-start!important;flex-direction:column!important}.workspace-config-page .data-toolbar{align-items:stretch!important;flex-direction:column!important}.workspace-config-page .toolbar-search,.workspace-config-page .toolbar-select{width:100%!important;min-width:0!important}.workspace-config-page .toolbar-meta{margin-left:0!important}.workspace-config-page .table-wrap{overflow-x:auto!important}}
@media (max-width:560px){body.ws-ui-v9.workspace-home-v9 .ws-home-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.workspace-config-page .metric-row{grid-template-columns:1fr!important}.my-workspace-v9 .ws-personal-row{align-items:flex-start;flex-direction:column}.my-workspace-v9 .ws-personal-actions{align-self:flex-end}}

/* =========================================================
   v9.5 — Account, authentication & global visual polish
   ========================================================= */

/* Topbar account dropdown */
body.ws-ui-v9 .ws-user-menu{display:flex;align-items:center}
body.ws-ui-v9 .ws-user-menu-toggle{height:44px;padding:4px 7px 4px 5px;border:1px solid transparent;border-radius:10px;background:transparent;display:flex;align-items:center;gap:9px;color:var(--ws-text);transition:background .15s ease,border-color .15s ease}
body.ws-ui-v9 .ws-user-menu-toggle:hover,
body.ws-ui-v9 .ws-user-menu-toggle[aria-expanded="true"]{background:#f7f9fc;border-color:#e5eaf1}
body.ws-ui-v9 .ws-user-menu-toggle .avatar{flex:0 0 auto}
body.ws-ui-v9 .ws-user-menu-caret{font-size:11px;color:#8793a6;transition:transform .15s ease}
body.ws-ui-v9 .ws-user-menu-toggle[aria-expanded="true"] .ws-user-menu-caret{transform:rotate(180deg)}
body.ws-ui-v9 .ws-user-dropdown{min-width:255px;margin-top:8px!important;padding:7px;border:1px solid #dfe5ed;border-radius:11px;box-shadow:0 14px 40px rgba(15,23,42,.12)}
body.ws-ui-v9 .ws-user-dropdown-head{padding:9px 10px 7px;display:grid;gap:2px}
body.ws-ui-v9 .ws-user-dropdown-head strong{font-size:13px;color:#26364f;font-weight:700}
body.ws-ui-v9 .ws-user-dropdown-head span{font-size:11px;color:#8a96a8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ws-ui-v9 .ws-user-dropdown .dropdown-divider{margin:5px 3px;border-color:#edf1f5}
body.ws-ui-v9 .ws-user-dropdown .dropdown-item{min-height:39px;padding:8px 10px;border-radius:8px;display:flex;align-items:center;gap:10px;color:#4c5d75;font-size:12.5px;font-weight:550}
body.ws-ui-v9 .ws-user-dropdown .dropdown-item i{width:17px;text-align:center;font-size:14px;color:#75849a}
body.ws-ui-v9 .ws-user-dropdown .dropdown-item:hover{background:#f6f8fb;color:#22334e}
body.ws-ui-v9 .ws-user-dropdown .dropdown-item.text-danger{color:#b44550!important}
body.ws-ui-v9 .ws-user-dropdown .dropdown-item.text-danger i{color:#b44550}

/* Account page */
body.ws-ui-v9.account-page-v9 .main-content{background:#f6f8fb!important}
body.ws-ui-v9 .ws-account-page{width:min(1180px,100%);margin:0 auto;padding:24px 0 48px}
body.ws-ui-v9 .ws-account-header{margin-bottom:18px}
body.ws-ui-v9 .ws-account-header .section-kicker{display:block;margin-bottom:5px;color:#8190a5;font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
body.ws-ui-v9 .ws-account-header-actions{display:flex;align-items:center;gap:8px}
body.ws-ui-v9 .ws-account-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:14px;align-items:start}
body.ws-ui-v9 .ws-account-profile-card{grid-column:1/2}
body.ws-ui-v9 .ws-account-access-card{grid-column:2/3;grid-row:1/3}
body.ws-ui-v9 .ws-account-security-card{grid-column:1/2}
body.ws-ui-v9 .ws-account-session-card{grid-column:1/-1}
body.ws-ui-v9 .ws-account-profile-card .ws-card-body{padding:20px}
body.ws-ui-v9 .ws-account-profile{display:flex;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid #edf1f5}
body.ws-ui-v9 .ws-account-avatar{width:62px;height:62px;border-radius:16px;background:#eaf0ff;color:#2457f5;display:grid;place-items:center;font-size:22px;font-weight:750;box-shadow:inset 0 0 0 1px #d7e1ff;overflow:hidden;flex:0 0 auto}
body.ws-ui-v9 .ws-account-avatar.has-photo{background:#fff}
body.ws-ui-v9 .ws-account-avatar img{width:100%;height:100%;object-fit:cover}
body.ws-ui-v9 .ws-account-profile-copy{min-width:0}
body.ws-ui-v9 .ws-account-role-badge{display:inline-flex;align-items:center;gap:5px;min-height:24px;padding:4px 8px;border-radius:999px;background:#f1f5ff;color:#3153b9;font-size:10.5px;font-weight:700}
body.ws-ui-v9 .ws-account-profile-copy h2{margin:7px 0 2px;color:#1b2942;font-size:21px;font-weight:720;letter-spacing:-.025em}
body.ws-ui-v9 .ws-account-profile-copy p{margin:0;color:#79879a;font-size:12.5px}
body.ws-ui-v9 .ws-account-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:18px;border:1px solid #e8edf3;border-radius:10px;background:#e8edf3;overflow:hidden}
body.ws-ui-v9 .ws-account-meta-grid>div{min-height:76px;padding:13px 14px;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:5px}
body.ws-ui-v9 .ws-account-meta-grid span{color:#8a96a7;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.045em}
body.ws-ui-v9 .ws-account-meta-grid strong{color:#34445d;font-size:12.5px;font-weight:650}
body.ws-ui-v9 .ws-account-meta-grid strong i{font-size:11px;margin-right:3px}
body.ws-ui-v9 .ws-card-eyebrow{display:block;margin-bottom:2px;color:#8d99aa;font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
body.ws-ui-v9 .ws-account-page .ws-card-header h2{margin:0;color:#31415a;font-size:14px;font-weight:700}
body.ws-ui-v9 .ws-card-meta{color:#8d99aa;font-size:10.5px}
body.ws-ui-v9 .ws-account-provider-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:15px;background:#eff3ff;color:#2e58d4}
body.ws-ui-v9 .ws-account-provider-icon.local{background:#f3f5f8;color:#596981}
body.ws-ui-v9 .ws-account-detail-list{display:grid;gap:0;border:1px solid #e8edf3;border-radius:9px;overflow:hidden}
body.ws-ui-v9 .ws-account-detail-list>div{min-height:49px;padding:10px 11px;border-bottom:1px solid #edf1f5;display:flex;align-items:center;justify-content:space-between;gap:15px}
body.ws-ui-v9 .ws-account-detail-list>div:last-child{border-bottom:0}
body.ws-ui-v9 .ws-account-detail-list span{color:#8491a4;font-size:11px}
body.ws-ui-v9 .ws-account-detail-list strong{max-width:62%;text-align:right;color:#3d4d66;font-size:11.5px;font-weight:650;overflow-wrap:anywhere}
body.ws-ui-v9 .ws-account-info-note{margin-top:12px;padding:10px 11px;border-radius:9px;background:#f6f8fc;color:#687990;display:flex;gap:8px;font-size:10.5px;line-height:1.45}
body.ws-ui-v9 .ws-account-info-note i{color:#5373d9}
body.ws-ui-v9 .ws-account-managed-security{display:flex;align-items:flex-start;gap:14px}
body.ws-ui-v9 .ws-account-security-icon{width:42px;height:42px;border-radius:11px;background:#eef3ff;color:#315dd8;display:grid;place-items:center;font-size:17px;flex:0 0 auto}
body.ws-ui-v9 .ws-account-managed-security h3{margin:0 0 5px;color:#33435d;font-size:13.5px;font-weight:700}
body.ws-ui-v9 .ws-account-managed-security p{margin:0 0 12px;color:#7b899c;font-size:11.5px;line-height:1.55}
body.ws-ui-v9 .ws-account-password-form{display:grid;gap:14px}
body.ws-ui-v9 .ws-account-password-actions{display:flex;justify-content:flex-end;padding-top:2px}
body.ws-ui-v9 .ws-account-session-row{display:flex;align-items:center;gap:12px}
body.ws-ui-v9 .ws-account-session-icon{width:42px;height:42px;border-radius:10px;background:#f2f5f9;color:#5e708b;display:grid;place-items:center;font-size:16px;flex:0 0 auto}
body.ws-ui-v9 .ws-account-session-row>div{min-width:0;display:grid;gap:2px;flex:1}
body.ws-ui-v9 .ws-account-session-row strong{font-size:12.5px;color:#34445d}
body.ws-ui-v9 .ws-account-session-row span{font-size:10.5px;color:#8a96a7}

/* Authentication */
body.ws-ui-v9.ws-auth-page{min-height:100vh;margin:0;background:#f5f7fb!important;overflow-x:hidden}
body.ws-ui-v9 .ws-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(410px,46%) minmax(480px,54%)}
body.ws-ui-v9 .ws-auth-brand-panel{position:relative;overflow:hidden;padding:46px clamp(38px,5vw,76px);background:#0b1b39;color:#fff;display:flex;flex-direction:column}
body.ws-ui-v9 .ws-auth-brand-panel:before{content:"";position:absolute;right:-140px;bottom:-160px;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(78,116,255,.18),rgba(78,116,255,0) 70%)}
body.ws-ui-v9 .ws-auth-brand{position:relative;z-index:1;display:flex;align-items:center;gap:11px}
body.ws-ui-v9 .ws-auth-logo{width:42px;height:42px;border-radius:11px;background:#2b5bf4;color:#fff;display:grid;place-items:center;font-size:16px;font-weight:800;box-shadow:0 8px 22px rgba(36,87,245,.25)}
body.ws-ui-v9 .ws-auth-brand>div,.ws-auth-mobile-brand>div{display:grid;line-height:1.05}
body.ws-ui-v9 .ws-auth-brand strong,.ws-auth-mobile-brand strong{font-size:15px;font-weight:750;letter-spacing:-.015em}
body.ws-ui-v9 .ws-auth-brand span:not(.ws-auth-logo),.ws-auth-mobile-brand span:not(.ws-auth-logo){margin-top:3px;color:#9baccc;font-size:10px;font-weight:550}
body.ws-ui-v9 .ws-auth-brand-copy{position:relative;z-index:1;margin:auto 0 34px;max-width:510px}
body.ws-ui-v9 .ws-auth-eyebrow{display:block;margin-bottom:11px;color:#8fa7d4;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
body.ws-ui-v9 .ws-auth-brand-copy h1{margin:0;color:#fff;font-size:clamp(34px,4vw,50px);line-height:1.06;font-weight:720;letter-spacing:-.045em}
body.ws-ui-v9 .ws-auth-brand-copy p{max-width:470px;margin:16px 0 0;color:#aebbd2;font-size:13.5px;line-height:1.65}
body.ws-ui-v9 .ws-auth-trust-list{position:relative;z-index:1;display:grid;gap:10px;max-width:510px}
body.ws-ui-v9 .ws-auth-trust-list>div{min-height:58px;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.035);display:flex;align-items:center;gap:11px}
body.ws-ui-v9 .ws-auth-trust-list>div>i{width:31px;height:31px;border-radius:8px;background:rgba(87,124,255,.14);color:#9eb2ff;display:grid;place-items:center;font-size:13px;flex:0 0 auto}
body.ws-ui-v9 .ws-auth-trust-list>div>span{display:grid;gap:2px}
body.ws-ui-v9 .ws-auth-trust-list strong{color:#edf2ff;font-size:11.5px;font-weight:650}
body.ws-ui-v9 .ws-auth-trust-list small{color:#8798b8;font-size:9.8px;line-height:1.35}
body.ws-ui-v9 .ws-auth-brand-foot{position:relative;z-index:1;margin-top:24px;color:#637699;font-size:9.5px}
body.ws-ui-v9 .ws-auth-main{padding:38px clamp(28px,5vw,80px);display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f7f9fc}
body.ws-ui-v9 .ws-auth-card{width:min(430px,100%);padding:30px;border:1px solid #e1e7ef;border-radius:14px;background:#fff;box-shadow:0 18px 50px rgba(24,39,75,.07)}
body.ws-ui-v9 .ws-auth-mobile-brand{display:none;align-items:center;gap:10px;margin-bottom:24px}
body.ws-ui-v9 .ws-auth-heading{margin-bottom:20px}
body.ws-ui-v9 .ws-auth-kicker{display:block;margin-bottom:5px;color:#7890c3;font-size:9.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
body.ws-ui-v9 .ws-auth-heading h2{margin:0;color:#17253e;font-size:25px;font-weight:720;letter-spacing:-.035em}
body.ws-ui-v9 .ws-auth-heading p{margin:6px 0 0;color:#7d899b;font-size:12px;line-height:1.5}
body.ws-ui-v9 .ws-auth-alert{margin-bottom:15px;padding:10px 11px;border-radius:9px;display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.4}
body.ws-ui-v9 .ws-auth-form{display:grid;gap:14px}
body.ws-ui-v9 .ws-auth-input-wrap{position:relative}
body.ws-ui-v9 .ws-auth-input-wrap>i{position:absolute;z-index:2;left:13px;top:50%;transform:translateY(-50%);color:#93a0b2;font-size:14px;pointer-events:none}
body.ws-ui-v9 .ws-auth-input-wrap .form-control{height:46px!important;min-height:46px!important;padding-left:39px!important;font-size:13.5px!important;border-radius:9px!important}
body.ws-ui-v9 .ws-auth-submit{width:100%;height:46px!important;margin-top:2px;font-size:13px!important}
body.ws-ui-v9 .ws-auth-submit i{margin-left:auto}
body.ws-ui-v9 .ws-auth-security-note{margin-top:14px;padding:10px 11px;border-radius:9px;background:#f6f8fc;color:#728198;display:flex;align-items:flex-start;gap:8px;font-size:9.8px;line-height:1.45}
body.ws-ui-v9 .ws-auth-security-note i{color:#5575d4;margin-top:1px}
body.ws-ui-v9 .ws-auth-fallback{margin-top:14px;text-align:center}
body.ws-ui-v9 .ws-auth-fallback a{display:inline-flex;align-items:center;gap:6px;color:#64758e;font-size:10.5px;font-weight:600}
body.ws-ui-v9 .ws-auth-fallback a:hover{color:#2457f5}
body.ws-ui-v9 .ws-auth-google{width:100%;height:46px!important;margin-bottom:14px;color:#42516a!important;background:#fff!important}
body.ws-ui-v9 .ws-auth-divider{position:relative;margin:1px 0 15px;text-align:center}
body.ws-ui-v9 .ws-auth-divider:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #e7ecf2}
body.ws-ui-v9 .ws-auth-divider span{position:relative;padding:0 9px;background:#fff;color:#98a3b3;font-size:9.5px}
body.ws-ui-v9 .ws-auth-help{margin-top:15px;color:#9aa5b5;font-size:9.8px}

/* Reusable enterprise empty / error states */
body.ws-ui-v9 .ws-empty-state,
body.ws-ui-v9 .ws-error-state{min-height:250px;padding:34px 24px;border:1px dashed #dce3ec;border-radius:11px;background:#fafbfd;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
body.ws-ui-v9 .ws-empty-state-icon,
body.ws-ui-v9 .ws-error-state-icon{width:46px;height:46px;border-radius:12px;background:#eef3ff;color:#4c6fde;display:grid;place-items:center;font-size:18px;margin-bottom:12px}
body.ws-ui-v9 .ws-error-state-icon{background:#fff0f1;color:#c34a55}
body.ws-ui-v9 .ws-empty-state h3,
body.ws-ui-v9 .ws-error-state h3{margin:0;color:#34445d;font-size:14px;font-weight:700}
body.ws-ui-v9 .ws-empty-state p,
body.ws-ui-v9 .ws-error-state p{max-width:430px;margin:5px 0 14px;color:#8895a8;font-size:11px;line-height:1.5}

/* v9.5 desktop readability normalization — prevent micro typography. */
@media (min-width:1101px){
  body.ws-ui-v9{font-size:15.5px!important}
  body.ws-ui-v9 .form-control,body.ws-ui-v9 .form-select{font-size:14.5px}
  body.ws-ui-v9 .ws-form-label{font-size:13.5px}
  body.ws-ui-v9 .ws-page-subtitle{font-size:13.5px}
  body.ws-ui-v9 .ws-table{font-size:13.5px}
  body.ws-ui-v9 .ws-table>thead>tr>th{font-size:10.5px}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-text{font-size:14px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-submenu a{font-size:13px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar:not(.is-open) .nav-label-compact{font-size:10px!important}
  body.ws-ui-v9 .topbar-user-copy strong{font-size:12.5px!important}
  body.ws-ui-v9 .topbar-user-copy small{font-size:10.8px!important}

  body.ws-ui-v9.workspace-config-page .data-table{font-size:13px!important}
  body.ws-ui-v9.workspace-config-page .data-table thead th{font-size:10.5px!important}
  body.ws-ui-v9.workspace-config-page .data-table tbody td{font-size:12.8px!important}
  body.ws-ui-v9.workspace-config-page .row-title-copy strong{font-size:13px!important}
  body.ws-ui-v9.workspace-config-page .row-title-copy small{font-size:11px!important}
  body.ws-ui-v9.workspace-config-page .toolbar-search input{font-size:13px!important}
  body.ws-ui-v9.workspace-config-page .toolbar-select{font-size:12px!important}
  body.ws-ui-v9.workspace-config-page .toolbar-meta{font-size:11px!important}
  body.ws-ui-v9.workspace-config-page .text-action{font-size:12px!important}
  body.ws-ui-v9.workspace-config-page .badge-soft,
  body.ws-ui-v9.workspace-config-page .status{font-size:10.5px!important}

  body.ws-ui-v9.role-home-v9 .role-selector strong{font-size:13px!important}
  body.ws-ui-v9.role-home-v9 .role-selector small{font-size:11px!important}
  body.ws-ui-v9.role-home-v9 .form-panel .stack-form>label:not(.check){font-size:13px!important}
  body.ws-ui-v9.role-home-v9 .form-panel input:not([type=checkbox]),
  body.ws-ui-v9.role-home-v9 .form-panel textarea{font-size:14px!important}
  body.ws-ui-v9.role-home-v9 .toggle-stack .check{font-size:12.5px!important}
}

@media (max-width:1050px){
  body.ws-ui-v9 .ws-auth-shell{grid-template-columns:1fr}
  body.ws-ui-v9 .ws-auth-brand-panel{display:none}
  body.ws-ui-v9 .ws-auth-main{min-height:100vh;padding:28px 20px}
  body.ws-ui-v9 .ws-auth-mobile-brand{display:flex}
  body.ws-ui-v9 .ws-account-grid{grid-template-columns:1fr}
  body.ws-ui-v9 .ws-account-profile-card,
  body.ws-ui-v9 .ws-account-access-card,
  body.ws-ui-v9 .ws-account-security-card,
  body.ws-ui-v9 .ws-account-session-card{grid-column:1;grid-row:auto}
  body.ws-ui-v9 .ws-account-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:700px){
  body.ws-ui-v9 .ws-account-page{padding:18px 14px 36px}
  body.ws-ui-v9 .ws-account-header{align-items:flex-start;flex-direction:column}
  body.ws-ui-v9 .ws-account-header-actions{width:100%}
  body.ws-ui-v9 .ws-account-header-actions .btn{flex:1}
  body.ws-ui-v9 .ws-account-meta-grid{grid-template-columns:1fr}
  body.ws-ui-v9 .ws-account-session-row{align-items:flex-start;flex-wrap:wrap}
  body.ws-ui-v9 .ws-account-session-row .btn{width:100%;margin-top:3px}
  body.ws-ui-v9 .ws-auth-card{padding:23px 20px;border-radius:12px;box-shadow:0 10px 30px rgba(24,39,75,.06)}
  body.ws-ui-v9 .ws-auth-main{padding:20px 14px}
}

/* ========================================================================== */
/* Wazapbro Workspace v9.5.1 — Login audit                                   */
/* ========================================================================== */
body.ws-ui-v9.ws-auth-v951{
  min-height:100vh;
  margin:0;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 50% -10%,rgba(37,87,245,.10),transparent 34%),
    linear-gradient(180deg,#f9fbff 0%,#f5f7fb 100%)!important;
}
body.ws-ui-v9.ws-auth-v951 .ws-login-shell{min-height:100vh;display:grid;place-items:center;padding:32px 20px}
body.ws-ui-v9.ws-auth-v951 .ws-login-stage{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
body.ws-ui-v9.ws-auth-v951 .ws-login-card{
  width:min(480px,100%);
  padding:38px 38px 28px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:rgba(255,255,255,.98);
  box-shadow:0 24px 70px rgba(15,35,70,.09),0 2px 8px rgba(15,35,70,.035);
}
body.ws-ui-v9.ws-auth-v951 .ws-login-branding{text-align:center;margin-bottom:28px}
body.ws-ui-v9.ws-auth-v951 .ws-login-logo-link{display:inline-flex;align-items:center;justify-content:center;min-height:62px;margin-bottom:17px}
body.ws-ui-v9.ws-auth-v951 .ws-login-official-logo{display:block;width:220px;max-width:72vw;height:auto;object-fit:contain}
body.ws-ui-v9.ws-auth-v951 .ws-login-context-badge{
  width:max-content;
  max-width:100%;
  min-height:30px;
  margin:0 auto 14px;
  padding:6px 11px;
  border:1px solid #dbe5f4;
  border-radius:999px;
  background:#f6f9ff;
  color:#526b9a;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.045em;
  text-transform:uppercase;
}
body.ws-ui-v9.ws-auth-v951 .ws-login-context-badge i{color:#2457f5;font-size:12px}
body.ws-ui-v9.ws-auth-v951 .ws-login-branding h1{margin:0;color:#15233b;font-size:28px;line-height:1.15;font-weight:750;letter-spacing:-.04em}
body.ws-ui-v9.ws-auth-v951 .ws-login-branding p{max-width:360px;margin:9px auto 0;color:#718096;font-size:13.5px;line-height:1.55}
body.ws-ui-v9.ws-auth-v951 .ws-login-alert{margin:0 0 18px;padding:12px 13px;border-radius:10px;display:flex;align-items:flex-start;gap:9px;font-size:12.5px;line-height:1.45}
body.ws-ui-v9.ws-auth-v951 .ws-login-form{display:grid;gap:17px}
body.ws-ui-v9.ws-auth-v951 .ws-login-field{display:grid;gap:7px}
body.ws-ui-v9.ws-auth-v951 .ws-login-field .form-label{margin:0;color:#344054;font-size:13px;font-weight:650}
body.ws-ui-v9.ws-auth-v951 .ws-login-input{position:relative}
body.ws-ui-v9.ws-auth-v951 .ws-login-input>i{position:absolute;z-index:2;left:14px;top:50%;transform:translateY(-50%);color:#8290a6;font-size:15px;pointer-events:none}
body.ws-ui-v9.ws-auth-v951 .ws-login-input .form-control{
  height:48px!important;
  min-height:48px!important;
  padding:0 14px 0 42px!important;
  border:1px solid #d8e0ea!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1d2939!important;
  font-size:14px!important;
  box-shadow:none!important;
}
body.ws-ui-v9.ws-auth-v951 .ws-login-input .form-control::placeholder{color:#98a2b3}
body.ws-ui-v9.ws-auth-v951 .ws-login-input .form-control:focus{border-color:#7092ff!important;box-shadow:0 0 0 3px rgba(36,87,245,.09)!important}
body.ws-ui-v9.ws-auth-v951 .ws-login-submit{
  width:100%;
  height:48px!important;
  margin-top:2px;
  padding:0 16px!important;
  border-radius:10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  font-size:14px!important;
  font-weight:700!important;
  box-shadow:0 8px 18px rgba(36,87,245,.16)!important;
}
body.ws-ui-v9.ws-auth-v951 .ws-login-submit i{font-size:14px}
body.ws-ui-v9.ws-auth-v951 .ws-login-security{margin-top:18px;padding:12px 13px;border:1px solid #e8edf4;border-radius:10px;background:#f8fafc;display:flex;align-items:flex-start;gap:10px}
body.ws-ui-v9.ws-auth-v951 .ws-login-security>i{width:28px;height:28px;flex:0 0 28px;border-radius:8px;background:#ebf3ff;color:#2457f5;display:grid;place-items:center;font-size:13px}
body.ws-ui-v9.ws-auth-v951 .ws-login-security>div{display:grid;gap:2px;min-width:0}
body.ws-ui-v9.ws-auth-v951 .ws-login-security strong{color:#344054;font-size:11.5px;font-weight:700}
body.ws-ui-v9.ws-auth-v951 .ws-login-security span{color:#7b8798;font-size:10.5px;line-height:1.45}
body.ws-ui-v9.ws-auth-v951 .ws-login-fallback{margin-top:17px;text-align:center}
body.ws-ui-v9.ws-auth-v951 .ws-login-fallback a{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#667085;font-size:11.5px;font-weight:600}
body.ws-ui-v9.ws-auth-v951 .ws-login-fallback a:hover{color:#2457f5}
body.ws-ui-v9.ws-auth-v951 .ws-login-google{width:100%;height:48px!important;margin-bottom:16px;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;font-size:13px!important}
body.ws-ui-v9.ws-auth-v951 .ws-login-divider{position:relative;margin:0 0 16px;text-align:center}
body.ws-ui-v9.ws-auth-v951 .ws-login-divider:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #e7ecf2}
body.ws-ui-v9.ws-auth-v951 .ws-login-divider span{position:relative;padding:0 10px;background:#fff;color:#98a2b3;font-size:10.5px}
body.ws-ui-v9.ws-auth-v951 .ws-login-footer{margin-top:24px;padding-top:18px;border-top:1px solid #edf1f5;display:flex;align-items:center;justify-content:center;gap:7px;color:#98a2b3;font-size:10.5px}
body.ws-ui-v9.ws-auth-v951 .ws-login-help{margin:15px 0 0;color:#8c98aa;font-size:11px;text-align:center}
@media(max-width:600px){
  body.ws-ui-v9.ws-auth-v951 .ws-login-shell{padding:20px 14px}
  body.ws-ui-v9.ws-auth-v951 .ws-login-card{padding:30px 22px 24px;border-radius:15px}
  body.ws-ui-v9.ws-auth-v951 .ws-login-official-logo{width:190px}
  body.ws-ui-v9.ws-auth-v951 .ws-login-branding h1{font-size:25px}
  body.ws-ui-v9.ws-auth-v951 .ws-login-branding p{font-size:13px}
}


/* ==========================================================================
   v9.5.2 — Workspace Home visual audit
   Clearer desktop hierarchy, larger navigation, compact single-header shell.
   ========================================================================== */
body.ws-ui-v9.workspace-home-v9{
  --ws-home-max:1360px;
  --ws-home-side:338px;
  --ws-home-gap:28px;
}
body.ws-ui-v9.workspace-home-v9 .main-content{background:#f6f8fb!important}
body.ws-ui-v9 .ws-topbar-context{min-width:0;height:38px;display:inline-flex;align-items:center;gap:9px;color:#31415a;font-size:13.5px;font-weight:650;letter-spacing:-.01em}
body.ws-ui-v9 .ws-topbar-context i{width:30px;height:30px;display:grid;place-items:center;border:1px solid #e1e7ef;border-radius:8px;background:#f8fafc;color:#61738e;font-size:13px}

body.ws-ui-v9 .ws-brand-logo-mark{background:transparent!important;overflow:visible!important;display:grid!important;place-items:center!important}
body.ws-ui-v9 .ws-brand-logo-crop{width:38px;height:23px;display:block;overflow:hidden}
body.ws-ui-v9 .ws-brand-logo-crop img{width:190px!important;max-width:none!important;height:auto!important;display:block!important;transform:translateY(0)}
body.ws-ui-v9.workspace-home-v9 .ws-home-shell{width:min(var(--ws-home-max),100%)!important;max-width:var(--ws-home-max)!important;margin:0 auto!important;padding:34px 0 48px!important;grid-template-columns:minmax(0,1fr) var(--ws-home-side)!important;gap:var(--ws-home-gap)!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-shell:has(.ws-home-main:only-child){grid-template-columns:1fr!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero{min-height:78px!important;margin:0 0 16px!important;padding:0!important;align-items:center!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero-copy{min-width:0}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero h1{margin:0!important;color:#15233b!important;font-size:30px!important;line-height:1.15!important;font-weight:720!important;letter-spacing:-.035em!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero h1 span{font-size:.78em!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-hero p{margin:8px 0 0!important;color:#738198!important;font-size:14px!important;line-height:1.55!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-eyebrow{display:none!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-search{height:52px!important;margin:0 0 30px!important;padding:0 15px!important;gap:12px!important;border:1px solid #dce3ec!important;border-radius:10px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.025)!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-search:focus-within{border-color:#9bb5ff!important;box-shadow:0 0 0 3px rgba(36,87,245,.08)!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-search>i{color:#687b96!important;font-size:17px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-search input{color:#24344e!important;font:500 14.5px/1.4 var(--ws-font)!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-search input::placeholder{color:#98a4b4!important}
body.ws-ui-v9.workspace-home-v9 .ws-search-hint{padding:4px 8px!important;border-color:#e0e6ee!important;border-radius:6px!important;background:#f8fafc!important;color:#7c8a9e!important;font-size:10.5px!important;font-weight:650!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-section{margin:0 0 32px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-section-head{min-height:38px!important;margin-bottom:12px!important;align-items:flex-end!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-section-head h2{color:#263750!important;font-size:15.5px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.015em!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-section-head p{margin:4px 0 0!important;color:#8794a6!important;font-size:11.5px!important;line-height:1.4!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-manage-link,body.ws-ui-v9.workspace-home-v9 .ws-home-section-head>a{min-height:32px;padding:0 9px;border-radius:7px;display:inline-flex;align-items:center;gap:6px;color:#596b85!important;font-size:11.5px!important;font-weight:650!important;text-decoration:none!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-manage-link:hover,body.ws-ui-v9.workspace-home-v9 .ws-home-section-head>a:hover{background:#eef3f8!important;color:#2457f5!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-app-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;gap:12px!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut{min-height:118px!important;border-color:#dfe6ef!important;border-radius:10px!important;background:#fff!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut:hover{border-color:#cbd6e3!important;background:#fbfcfe!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut-link{min-height:118px!important;padding:17px 14px 15px!important;gap:12px!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut-link .tool-icon{width:40px!important;height:40px!important;border-radius:10px!important;font-size:18px!important}
body.ws-ui-v9.workspace-home-v9 .simple-shortcut-link strong{color:#2e4059!important;font-size:13px!important;font-weight:650!important;line-height:1.35!important}
body.ws-ui-v9.workspace-home-v9 .simple-favorite{top:9px!important;right:9px!important}
body.ws-ui-v9.workspace-home-v9 .favorite-btn{width:28px!important;height:28px!important;border-radius:7px!important;font-size:11px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-add-tile{min-height:118px!important;border-radius:10px!important;gap:9px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-add-tile span{width:38px!important;height:38px!important;font-size:14px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-add-tile strong{font-size:12px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news{top:calc(var(--ws-topbar-h) + 24px)!important;border:1px solid #e0e6ee!important;border-radius:11px!important;background:#fff!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-head{min-height:72px!important;padding:16px 17px!important;border-bottom-color:#e8edf3!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-head span{color:#8c98a8!important;font-size:9.5px!important;letter-spacing:.09em!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-head h2{margin:3px 0 0!important;color:#2b3c55!important;font-size:15px!important;font-weight:700!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-head>a{color:#61728a!important;font-size:11.5px!important;font-weight:650!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-item{min-height:98px!important;padding:15px 16px!important;grid-template-columns:38px minmax(0,1fr) 16px!important;gap:11px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-icon{width:38px!important;height:38px!important;border-radius:9px!important;font-size:14px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-copy strong{color:#34455d!important;font-size:12.5px!important;font-weight:650!important;line-height:1.4!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-copy small{margin-top:4px!important;color:#7e8b9e!important;font-size:11px!important;line-height:1.45!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-copy time{margin-top:6px!important;color:#98a3b2!important;font-size:10px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-news-arrow{color:#aeb9c7!important;font-size:10px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-empty{min-height:230px!important;border-radius:11px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-empty>div{width:44px!important;height:44px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-empty h3{margin-top:12px!important;font-size:14px!important}
body.ws-ui-v9.workspace-home-v9 .ws-home-empty p{margin-top:5px!important;font-size:11.5px!important}
@media (min-width:1101px){
  body.ws-ui-v9 .sidebar.compact-sidebar nav.enterprise-nav>a,body.ws-ui-v9 .sidebar.compact-sidebar .nav-group-toggle{min-height:46px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar .nav-icon{font-size:18px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar:not(.is-open) .nav-label-compact{font-size:10.5px!important;font-weight:600!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-text{font-size:14px!important}
  body.ws-ui-v9 .sidebar.compact-sidebar.is-open .nav-submenu a{min-height:38px!important;font-size:13px!important}
  body.ws-ui-v9 .topbar-user-copy strong{font-size:12.5px!important}
  body.ws-ui-v9 .topbar-user-copy small{font-size:11px!important}
}
@media (max-width:1200px){body.ws-ui-v9.workspace-home-v9 .ws-home-shell{grid-template-columns:minmax(0,1fr) 300px!important;gap:22px!important}body.ws-ui-v9.workspace-home-v9 .ws-home-app-grid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr))!important}}
@media (max-width:1000px){body.ws-ui-v9.workspace-home-v9 .ws-home-shell{grid-template-columns:1fr!important}body.ws-ui-v9.workspace-home-v9 .ws-home-news{position:static!important}}
@media (max-width:800px){body.ws-ui-v9.workspace-home-v9 .ws-home-shell{padding:22px 14px 34px!important}body.ws-ui-v9.workspace-home-v9 .ws-home-hero h1{font-size:27px!important}body.ws-ui-v9.workspace-home-v9 .ws-home-hero p{font-size:13px!important}body.ws-ui-v9.workspace-home-v9 .ws-home-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:560px){body.ws-ui-v9.workspace-home-v9 .ws-home-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.ws-ui-v9.workspace-home-v9 .ws-search-hint{display:none!important}}

/* ==========================================================================
   v9.5.3 — My Workspace visual audit
   Cleaner personalization flow, larger controls, consistent enterprise scale.
   ========================================================================== */
body.ws-ui-v9.my-workspace-audit-v953{
  --ws-personal-max:1240px;
  --ws-personal-side:360px;
  --ws-personal-gap:24px;
}
body.ws-ui-v9.my-workspace-audit-v953 .main-content{background:#f6f8fb!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-audit-shell{width:min(var(--ws-personal-max),calc(100% - 56px));max-width:var(--ws-personal-max);margin:0 auto;padding:32px 0 50px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-page-header{min-height:96px;margin:0 0 22px;padding:0;display:flex;align-items:center;justify-content:space-between;gap:24px;border:0;background:transparent}
body.ws-ui-v9.my-workspace-audit-v953 .ws-page-header-copy{min-width:0}
body.ws-ui-v9.my-workspace-audit-v953 .ws-page-title{margin:0;color:#17263e;font-size:29px;line-height:1.16;font-weight:720;letter-spacing:-.035em}
body.ws-ui-v9.my-workspace-audit-v953 .ws-page-subtitle{margin:7px 0 0;color:#738198;font-size:13.5px;line-height:1.5}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-meta{margin-top:12px;display:flex;align-items:center;flex-wrap:wrap;gap:7px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-meta span{min-height:28px;padding:0 9px;border:1px solid #e0e6ee;border-radius:7px;background:#fff;display:inline-flex;align-items:center;gap:6px;color:#697991;font-size:10.5px;font-weight:650}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-meta i{color:#7588a3;font-size:10px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-page-header-actions{flex:0 0 auto}
body.ws-ui-v9.my-workspace-audit-v953 .ws-page-header-actions .ws-btn{min-height:40px!important;padding:0 14px!important;border-color:#d8e0ea!important;color:#52647e!important;background:#fff!important;font-size:12px!important;font-weight:650!important;box-shadow:none!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-page-header-actions .ws-btn:hover{border-color:#c8d3e0!important;background:#f9fbfd!important;color:#2457f5!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-alert{min-height:46px;margin:0 0 18px;padding:10px 13px;border-radius:9px;display:flex;align-items:center;gap:9px;font-size:12.5px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--ws-personal-side);gap:var(--ws-personal-gap);align-items:start}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-card{border:1px solid #dfe6ee!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.025)!important;overflow:hidden}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-section-head{min-height:78px;padding:17px 19px!important;border-bottom:1px solid #e8edf3!important;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-section-head h2{margin:0;color:#2a3a53;font-size:15px;font-weight:700;line-height:1.3;letter-spacing:-.012em}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-section-head p{margin:4px 0 0;color:#8794a6;font-size:11px;line-height:1.45}
body.ws-ui-v9.my-workspace-audit-v953 .ws-count-pill{min-width:54px;height:28px;padding:0 9px;border:1px solid #e0e7f0;border-radius:999px;background:#f8fafc;display:inline-flex;align-items:center;justify-content:center;color:#64758e;font-size:10.5px;font-weight:700;white-space:nowrap}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-list{display:grid}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-row{min-height:78px;padding:13px 17px!important;border-bottom:1px solid #edf1f5!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;background:#fff;transition:background .15s ease}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-row:last-child{border-bottom:0!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-row:hover{background:#fbfcfe}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-order{width:32px;height:32px;border:1px solid #e3e8ef;border-radius:8px;background:#f8fafc;display:grid;place-items:center;color:#98a3b3;font-size:9.5px;font-weight:700;letter-spacing:.04em}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-tool{min-width:0;display:flex;align-items:center;gap:12px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-tool .mini-icon{width:40px!important;height:40px!important;min-width:40px!important;border-radius:10px!important;font-size:16px!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-tool-copy{min-width:0}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-tool-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#33445d;font-size:13px;font-weight:680;line-height:1.35}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-tool-copy span{display:block;margin-top:3px;color:#8a97a9;font-size:10.5px;line-height:1.35}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-actions{display:flex;align-items:center;gap:5px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-actions form{margin:0}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-icon-btn{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border:1px solid #e0e6ed!important;border-radius:8px!important;background:#fff!important;display:grid!important;place-items:center!important;color:#6d7d94!important;font-size:12px!important;box-shadow:none!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-icon-btn:hover:not(:disabled){border-color:#cbd7e4!important;background:#f7f9fc!important;color:#2457f5!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-icon-btn:disabled{opacity:.34!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-action-divider{width:1px;height:22px;margin:0 2px;background:#e8edf3}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-remove-btn:hover:not(:disabled){border-color:#f2c8cc!important;background:#fff7f7!important;color:#d84c5b!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-card-foot{min-height:48px;padding:11px 18px;border-top:1px solid #edf1f5;background:#fbfcfd;display:flex;align-items:center;gap:8px;color:#8491a3;font-size:10.5px;line-height:1.4}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-card-foot i{color:#7286a2}
body.ws-ui-v9.my-workspace-audit-v953 .ws-preference-card{position:sticky;top:calc(var(--ws-topbar-h) + 22px)}
body.ws-ui-v9.my-workspace-audit-v953 .ws-preference-form{padding:5px 19px 18px!important;display:grid!important;gap:0!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-switch-row{min-height:82px!important;padding:13px 0!important;border-bottom:1px solid #edf1f5!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;cursor:pointer}
body.ws-ui-v9.my-workspace-audit-v953 .ws-switch-copy{min-width:0;display:flex;align-items:center;gap:11px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-switch-icon{width:36px;height:36px;flex:0 0 36px;border:1px solid #e1e8f1;border-radius:9px;background:#f8fafc;display:grid;place-items:center;color:#667a97;font-size:13px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-switch-copy strong{display:block;color:#36475f;font-size:12.5px;font-weight:680;line-height:1.3}
body.ws-ui-v9.my-workspace-audit-v953 .ws-switch-copy small{display:block;margin-top:3px;color:#8a97a8;font-size:10.5px;line-height:1.42}
body.ws-ui-v9.my-workspace-audit-v953 .ws-switch-row .form-switch{padding-left:0!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-switch-row .form-check-input{width:40px!important;height:22px!important;margin:0!important;float:none!important;border-color:#cbd5e1!important;cursor:pointer;box-shadow:none!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-switch-row .form-check-input:checked{background-color:#2457f5!important;border-color:#2457f5!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-limit-field{padding:17px 0 18px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-limit-field .ws-form-label{margin-bottom:4px;color:#45556d;font-size:12px;font-weight:680}
body.ws-ui-v9.my-workspace-audit-v953 .ws-field-help{margin:0 0 10px;color:#8b98aa;font-size:10.5px;line-height:1.45}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-limit-field .form-select{height:44px;border-color:#dbe3ec;border-radius:8px;color:#34455d;font-size:12.5px;box-shadow:none}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-limit-field .form-select:focus{border-color:#9bb5ff;box-shadow:0 0 0 3px rgba(36,87,245,.08)}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-save{width:100%;height:44px!important;border-radius:8px!important;font-size:12.5px!important;font-weight:700!important;box-shadow:0 5px 12px rgba(36,87,245,.12)!important}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-save-note{margin:11px 0 0;display:flex;align-items:center;justify-content:center;gap:6px;color:#929daf;font-size:10px;text-align:center}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-empty{min-height:330px;padding:44px 24px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-empty .ws-empty-icon{width:48px;height:48px;margin-bottom:13px;border:1px solid #e0e7ef;border-radius:12px;background:#f8fafc;display:grid;place-items:center;color:#7f90a8;font-size:17px}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-empty strong{color:#34455d;font-size:14px;font-weight:700}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-empty>span:not(.ws-empty-icon){max-width:360px;margin:6px 0 16px;color:#8592a4;font-size:11.5px;line-height:1.55}
body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-empty .ws-btn{min-height:40px!important;padding:0 15px!important;font-size:12px!important}
@media(max-width:1050px){
  body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-layout{grid-template-columns:1fr}
  body.ws-ui-v9.my-workspace-audit-v953 .ws-preference-card{position:static}
}
@media(max-width:760px){
  body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-audit-shell{width:auto;margin:0;padding:22px 14px 36px}
  body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-page-header{min-height:0;align-items:flex-start;flex-direction:column;gap:16px}
  body.ws-ui-v9.my-workspace-audit-v953 .ws-page-title{font-size:26px}
  body.ws-ui-v9.my-workspace-audit-v953 .ws-page-header-actions{width:100%}
  body.ws-ui-v9.my-workspace-audit-v953 .ws-page-header-actions .ws-btn{width:100%}
  body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-row{grid-template-columns:28px minmax(0,1fr);gap:10px}
  body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-order{width:28px;height:28px}
  body.ws-ui-v9.my-workspace-audit-v953 .ws-personal-actions{grid-column:2;justify-content:flex-end}
}

/* ========================================================================== */
/* v9.5.4 — Customers list audit                                             */
/* ========================================================================== */
body.ws-ui-v9 .ws-customer-audit-v954{
  --ws-customer-border:#e2e8f0;
  --ws-customer-border-soft:#edf1f5;
  --ws-customer-text:#26364d;
  --ws-customer-muted:#7d8ba0;
  --ws-customer-blue:#2457f5;
  width:min(1440px,calc(100% - 48px));
  margin:0 auto;
  padding:28px 0 48px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-page-header{
  min-height:108px;
  margin-bottom:20px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:28px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-heading{min-width:0;max-width:820px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-page-context{
  margin-bottom:7px;
  display:flex;
  align-items:center;
  gap:7px;
  color:#7a8aa2;
  font-size:11px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:.035em;
  text-transform:uppercase;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-page-context i{font-size:11px;color:#6e83a4}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-heading h1{
  margin:0;
  color:#1f3048;
  font-size:30px;
  line-height:1.15;
  font-weight:730;
  letter-spacing:-.035em;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-heading>p{
  max-width:720px;
  margin:8px 0 0;
  color:#74839a;
  font-size:13px;
  line-height:1.55;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-meta{
  margin-top:12px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-meta span{
  min-height:28px;
  padding:0 9px;
  border:1px solid #e2e8f0;
  border-radius:7px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#657690;
  font-size:10.5px;
  font-weight:650;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-meta i{font-size:10px;color:#7186a5}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-header-actions{
  padding-top:22px;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:8px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-header-actions .ws-btn{
  min-height:42px!important;
  padding:0 15px!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-size:12.5px!important;
  font-weight:680!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-header-actions .btn-primary{box-shadow:0 5px 12px rgba(36,87,245,.12)!important}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-alert{margin-bottom:16px;border-radius:9px;font-size:12.5px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-card{
  border:1px solid var(--ws-customer-border);
  border-radius:12px;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.025);
  overflow:visible;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-toolbar{
  min-height:72px;
  padding:13px 16px;
  border-bottom:1px solid var(--ws-customer-border-soft);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-search{
  flex:1 1 720px;
  max-width:780px;
  display:flex;
  align-items:center;
  gap:8px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-search-box{position:relative;flex:1 1 auto}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-search-box>i{
  position:absolute;
  z-index:2;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:#8a98ab;
  font-size:13px;
  pointer-events:none;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-search-box .form-control{
  height:44px!important;
  min-height:44px!important;
  padding:0 40px 0 40px!important;
  border:1px solid #dce3eb!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#304159!important;
  font-size:12.75px!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-search-box .form-control::placeholder{color:#9ba6b5}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-search-box .form-control:focus{border-color:#91aaff!important;box-shadow:0 0 0 3px rgba(36,87,245,.075)!important}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-search-clear{
  position:absolute;
  z-index:3;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:26px;
  height:26px;
  border-radius:6px;
  display:grid;
  place-items:center;
  color:#8b98aa;
  text-decoration:none;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-search-clear:hover{background:#f2f5f8;color:#52647d}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-search>.ws-btn,
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-toolbar-side .ws-btn{
  height:44px!important;
  min-height:44px!important;
  padding:0 14px!important;
  border-radius:8px!important;
  font-size:12px!important;
  font-weight:650!important;
  box-shadow:none!important;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-toolbar-side{flex:0 0 auto;display:flex;align-items:center;gap:8px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-table-wrap{width:100%;overflow-x:auto}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-table{
  width:100%;
  min-width:1060px;
  margin:0!important;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-table thead th{
  height:44px;
  padding:0 15px!important;
  border:0!important;
  border-bottom:1px solid #e7ecf2!important;
  background:#fafbfd!important;
  color:#7d8b9e!important;
  vertical-align:middle!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-table tbody td{
  height:76px;
  padding:11px 15px!important;
  border:0!important;
  border-bottom:1px solid #edf1f5!important;
  background:#fff!important;
  color:#45566e!important;
  vertical-align:middle!important;
  font-size:12px!important;
  line-height:1.4!important;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-table tbody tr:last-child td{border-bottom:0!important}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-table tbody tr:hover td{background:#fbfcfe!important}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-customer{width:27%}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-contact{width:24%}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-location{width:15%}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-code{width:12%}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-status{width:9%}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-action{width:13%;text-align:right}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-identity{min-width:0;display:flex;align-items:center;gap:11px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-avatar{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border:1px solid #dfe7f1;
  border-radius:10px;
  background:#f5f8fc;
  display:grid;
  place-items:center;
  color:#5e7392;
  font-size:11px;
  font-weight:750;
  letter-spacing:.02em;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-copy{min-width:0}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-copy strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#304159;
  font-size:12.75px;
  font-weight:690;
  line-height:1.35;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-copy span{
  display:block;
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#909bad;
  font-size:10.5px;
  line-height:1.35;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-contact{min-width:0;display:grid;gap:4px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-contact span{
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#66758a;
  font-size:11.25px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-contact i{flex:0 0 auto;color:#8b99ab;font-size:10.5px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-muted{color:#9aa6b6!important}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-table-secondary{color:#728198;font-size:11.5px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-code-chip{
  min-height:28px;
  max-width:100%;
  padding:0 8px;
  border:1px solid #e1e7ee;
  border-radius:7px;
  background:#f8fafc;
  display:inline-flex;
  align-items:center;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#61728b;
  font-size:10.5px;
  font-weight:650;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-status-pill{
  min-height:28px;
  padding:0 9px;
  border:1px solid;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10.5px;
  font-weight:680;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-status-pill>span{width:6px;height:6px;border-radius:50%;background:currentColor}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-status-pill.is-active{border-color:#d5eadc;background:#f4fbf6;color:#3d8560}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-status-pill.is-inactive{border-color:#e2e6eb;background:#f8fafc;color:#7d8795}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-row-primary{
  height:34px!important;
  min-height:34px!important;
  padding:0 9px!important;
  border-color:#d6e0ff!important;
  border-radius:7px!important;
  color:#345fd5!important;
  background:#fff!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  font-size:10.5px!important;
  font-weight:680!important;
  white-space:nowrap;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-row-primary:hover{background:#f5f8ff!important;border-color:#bdd0ff!important;color:#2457f5!important}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-row-more{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  border:1px solid #e1e7ee!important;
  border-radius:7px!important;
  background:#fff!important;
  display:grid!important;
  place-items:center!important;
  color:#78879a!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-row-more:hover{background:#f7f9fb!important;color:#41536c!important}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-dropdown{
  min-width:190px;
  padding:6px;
  border:1px solid #e0e6ee;
  border-radius:9px;
  box-shadow:0 12px 34px rgba(15,23,42,.10);
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-dropdown .dropdown-item{
  min-height:36px;
  padding:0 10px;
  border-radius:6px;
  display:flex;
  align-items:center;
  gap:9px;
  color:#53637a;
  font-size:11.25px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-dropdown .dropdown-item:hover{background:#f5f7fa;color:#28405f}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-dropdown .dropdown-item i{width:15px;color:#7c8ba0;text-align:center}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-empty{
  min-height:340px;
  padding:44px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-empty .ws-empty-icon{
  width:50px;height:50px;margin-bottom:13px;border:1px solid #e1e7ef;border-radius:12px;background:#f7f9fc;display:grid;place-items:center;color:#7d90a9;font-size:18px
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-empty strong{color:#34465f;font-size:14px;font-weight:700}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-empty p{max-width:390px;margin:6px 0 16px;color:#8492a5;font-size:11.5px;line-height:1.55}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-empty .ws-btn{min-height:40px!important;padding:0 14px!important;font-size:11.5px!important}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-card-footer{
  min-height:58px;
  padding:10px 16px;
  border-top:1px solid #edf1f5;
  background:#fbfcfd;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:#8895a6;
  font-size:10.75px;
}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-pagination{display:flex;align-items:center;gap:9px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-pagination>span{color:#7d899a;font-size:10.75px}
body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-pagination .ws-btn{height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:7px!important;font-size:10.5px!important;box-shadow:none!important}
@media(min-width:1500px){
  body.ws-ui-v9 .ws-customer-audit-v954{width:min(1500px,calc(100% - 64px))}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-table tbody td{height:78px}
}
@media(max-width:1180px){
  body.ws-ui-v9 .ws-customer-audit-v954{width:calc(100% - 36px)}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-location{display:none}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-table{min-width:920px}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-customer{width:31%}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-contact{width:27%}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-code{width:14%}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-status{width:11%}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-col-action{width:17%}
}
@media(max-width:820px){
  body.ws-ui-v9 .ws-customer-audit-v954{width:auto;margin:0;padding:22px 14px 34px}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-page-header{min-height:0;flex-direction:column;gap:16px}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-heading h1{font-size:27px}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-header-actions{width:100%;padding-top:0}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-header-actions .ws-btn{flex:1 1 0}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-toolbar{align-items:stretch;flex-direction:column;padding:12px}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-search{max-width:none;flex-basis:auto}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-toolbar-side .ws-btn{width:100%}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-card-footer{align-items:flex-start;flex-direction:column}
  body.ws-ui-v9 .ws-customer-audit-v954 .ws-customer-pagination{width:100%;justify-content:space-between}
}

/* =========================================================
   v9.5.5 — Add Customer audit
   Simplified enterprise form hierarchy for Sales workflow.
   ========================================================= */
body.ws-ui-v9 .ws-customer-create-audit-v955{
  width:min(1240px,calc(100% - 48px))!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:28px 0 104px!important;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-header{
  min-height:86px;
  margin:0 0 18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-heading{min-width:0}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-breadcrumb{
  margin:0 0 8px;
  display:flex;
  align-items:center;
  gap:7px;
  color:#8a96a8;
  font-size:11.5px;
  line-height:1.3;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-breadcrumb a{color:#687890;text-decoration:none;font-weight:580}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-breadcrumb a:hover{color:#2457f5}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-breadcrumb i{font-size:9px;color:#a5afbd}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-titleline{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-titleline>div{min-width:0;flex:1}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-titleline h1{
  margin:0;
  color:#1f3048;
  font-size:30px;
  line-height:1.14;
  font-weight:730;
  letter-spacing:-.025em;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-titleline p{
  max-width:650px;
  margin:7px 0 0;
  color:#7d8999;
  font-size:13px;
  line-height:1.5;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-source-badge{
  min-height:30px;
  margin-top:3px;
  padding:0 10px;
  border:1px solid #dfe6ee;
  border-radius:999px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#63738a;
  font-size:10.75px;
  font-weight:650;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-source-badge i{color:#40805e}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-back-btn{
  min-height:40px!important;
  padding:0 13px!important;
  border-radius:8px!important;
  font-size:11.5px!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-alert{
  margin:0 0 16px!important;
  padding:12px 14px!important;
  border-radius:10px!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-alert>i{margin-top:2px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-alert strong,
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-alert span{display:block}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-alert span{margin-top:2px;font-size:12px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning{
  margin:0 0 16px;
  padding:13px 14px;
  border:1px solid #ead9ad;
  border-radius:10px;
  background:#fffaf0;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning-icon{
  width:36px;height:36px;border-radius:9px;background:#fff0c8;display:grid;place-items:center;color:#a96900;font-size:14px
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning-copy strong{display:block;color:#59431b;font-size:12.5px;font-weight:700}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning-copy span{display:block;margin-top:2px;color:#735b2d;font-size:11.5px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning-copy small{display:block;margin-top:2px;color:#927d56;font-size:10.75px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning-actions .ws-btn{min-height:38px!important;padding:0 12px!important;font-size:10.75px!important}

body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 286px;
  align-items:start;
  gap:18px;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-main{min-width:0;display:grid;gap:14px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-form-card{
  margin:0;
  border:1px solid #e1e7ee;
  border-radius:11px;
  background:#fff;
  box-shadow:none;
  overflow:hidden;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 details.ws-customer-form-card{overflow:visible}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-card-header{
  min-height:76px;
  padding:15px 18px;
  border-bottom:1px solid #edf1f5;
  background:#fff;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-card-header>div{min-width:0}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-section-kicker{
  display:block;
  margin:0 0 4px;
  color:#8793a5;
  font-size:9.75px;
  line-height:1.2;
  font-weight:720;
  letter-spacing:.07em;
  text-transform:uppercase;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-card-header h2{
  margin:0;
  color:#26374f;
  font-size:16px;
  line-height:1.3;
  font-weight:710;
  letter-spacing:-.012em;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-card-header p{
  max-width:690px;
  margin:4px 0 0;
  color:#8490a1;
  font-size:11.5px;
  line-height:1.45;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-required-chip,
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-optional-chip{
  min-height:28px;
  padding:0 9px;
  border:1px solid #e2e7ed;
  border-radius:999px;
  background:#f8fafc;
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#768397;
  font-size:10px;
  font-weight:650;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-required-chip span{color:#c84c58;font-size:12px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-card-body{padding:18px!important}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:17px 18px;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-field{min-width:0}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-span-2{grid-column:1/-1}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-label-row{
  min-height:21px;
  margin-bottom:6px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-label-row label{
  margin:0;
  color:#40516a;
  font-size:12.5px;
  line-height:1.3;
  font-weight:650;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-label-row label>span{color:#c94b58}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-label-row>span{
  color:#98a2b1;
  font-size:9.75px;
  line-height:1.2;
  font-weight:550;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-field .form-control{
  width:100%;
  min-height:46px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid #d9e0e8!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#2c3c54!important;
  font-size:13.5px!important;
  line-height:1.4!important;
  font-weight:450!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-field textarea.form-control{min-height:96px!important;resize:vertical}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-field .form-control::placeholder{color:#a4adba!important;font-weight:400!important}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-field .form-control:hover{border-color:#cbd5e1!important}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-field .form-control:focus{
  border-color:#7fa1ff!important;
  box-shadow:0 0 0 3px rgba(36,87,245,.08)!important;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-field>small{
  display:block;
  margin-top:6px;
  color:#929cab;
  font-size:10.5px;
  line-height:1.45;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-readonly-field{
  min-height:46px;
  padding:0 12px;
  border:1px solid #e1e6ec;
  border-radius:8px;
  background:#f7f9fb;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#5a6a80;
  font-size:13px;
  font-weight:500;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-readonly-field small{color:#919cac;font-size:9.75px;font-weight:700;letter-spacing:.06em}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-copy-link{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#4d6cb8;
  font-size:9.75px;
  font-weight:620;
  line-height:1.2;
  cursor:pointer;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-copy-link:hover{color:#2457f5;text-decoration:underline}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-live-duplicates{
  margin-top:15px;
  padding:11px;
  border:1px solid #dfe7f1;
  border-radius:9px;
  background:#f9fbfd;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-live-duplicates-head{display:flex;align-items:center;gap:7px;color:#62738a;font-size:10.75px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-live-duplicates-head strong{font-size:11.25px;color:#4a5d76}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-live-duplicates-head span{margin-left:auto;color:#929eae;font-size:9.75px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .customer-duplicate-row{
  margin-top:8px!important;
  padding:9px 10px!important;
  border:1px solid #e2e8ef!important;
  border-radius:8px!important;
  background:#fff!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:9px!important;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .customer-duplicate-row-icon{width:30px;height:30px;border-radius:7px;background:#f2f5f9;display:grid;place-items:center;color:#73849a}
body.ws-ui-v9 .ws-customer-create-audit-v955 .customer-duplicate-row strong{display:block;color:#33455e;font-size:11.5px!important;font-weight:650}
body.ws-ui-v9 .ws-customer-create-audit-v955 .customer-duplicate-row small{display:block;margin-top:2px;color:#8b97a6;font-size:9.75px!important}
body.ws-ui-v9 .ws-customer-create-audit-v955 .customer-duplicate-row a{color:#3d61bd!important;font-size:10.5px!important;font-weight:650;text-decoration:none}
body.ws-ui-v9 .ws-customer-create-audit-v955 .customer-duplicate-row a:hover{color:#2457f5!important}

body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-advanced-summary{cursor:pointer;list-style:none}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-advanced-summary::-webkit-details-marker{display:none}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-details-caret{margin-top:14px;color:#8794a5;transition:transform .16s ease}
body.ws-ui-v9 .ws-customer-create-audit-v955 details[open] .ws-details-caret{transform:rotate(180deg)}

body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-aside{
  position:sticky;
  top:74px;
  display:grid;
  gap:12px;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-card{
  margin:0;
  padding:15px;
  border:1px solid #e1e7ee;
  border-radius:10px;
  background:#fff;
  box-shadow:none;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-title{display:flex;align-items:center;gap:10px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-icon{width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#eef8f3;display:grid;place-items:center;color:#3f805d;font-size:13px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-title strong{display:block;color:#3a4b62;font-size:11.75px;font-weight:690;line-height:1.3}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-title small{display:block;margin-top:2px;color:#919cab;font-size:9.75px;line-height:1.35}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-meta{margin:13px 0 0;padding:0}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-meta>div{
  min-height:34px;
  margin:0;
  border-top:1px solid #eef1f4;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-meta dt{margin:0;color:#8a95a4;font-size:10.25px;font-weight:500}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-meta dd{margin:0;color:#52637a;font-size:10.75px;font-weight:650;text-align:right}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-dot{width:6px;height:6px;margin-right:4px;border-radius:50%;background:#4e9b6f;display:inline-block}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-kicker{
  display:block;margin:0 0 12px;color:#8b96a6;font-size:9.25px;font-weight:720;letter-spacing:.07em;text-transform:uppercase
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-workflow-step{position:relative;display:flex;align-items:flex-start;gap:9px;padding:5px 0 11px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-workflow-step:not(:last-child)::after{content:"";position:absolute;left:12px;top:31px;bottom:-1px;width:1px;background:#e3e8ef}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-workflow-step>span{width:25px;height:25px;flex:0 0 25px;border-radius:50%;background:#f1f4f7;display:grid;place-items:center;color:#77869a;font-size:9.75px;font-weight:700}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-workflow-step.is-current>span{background:#eaf0ff;color:#315fcf}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-workflow-step strong{display:block;color:#475970;font-size:10.75px;font-weight:650;line-height:1.3}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-workflow-step small{display:block;margin-top:2px;color:#919cab;font-size:9.5px;line-height:1.35}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-note{padding:2px 3px;display:flex;align-items:flex-start;gap:8px;color:#8995a5}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-note i{margin-top:2px;color:#8d9aae;font-size:11px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-note p{margin:0;font-size:9.75px;line-height:1.48}

body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-submitbar{
  position:fixed;
  z-index:45;
  left:calc(var(--ws-sidebar-collapsed,78px) + 30px);
  right:30px;
  bottom:18px;
  min-height:62px;
  padding:9px 12px 9px 14px;
  border:1px solid #dce3eb;
  border-radius:11px;
  background:rgba(255,255,255,.97);
  box-shadow:0 12px 32px rgba(27,39,59,.10);
  backdrop-filter:blur(12px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
body.ws-ui-v9.sidebar-open .ws-customer-create-audit-v955 .ws-customer-submitbar{left:calc(var(--ws-sidebar,248px) + 30px)}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-context{min-width:0;display:flex;align-items:center;gap:9px;color:#68788d}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-context>i{width:32px;height:32px;flex:0 0 32px;border-radius:8px;background:#eef8f3;display:grid;place-items:center;color:#478365;font-size:13px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-context strong{display:block;color:#465871;font-size:10.75px;font-weight:650}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-context small{display:block;margin-top:1px;color:#929dac;font-size:9.5px}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-actions .ws-btn{
  min-height:42px!important;
  padding:0 14px!important;
  border-radius:8px!important;
  font-size:11.25px!important;
  font-weight:650!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-actions .btn-primary{min-width:190px}

@media(max-width:1180px){
  body.ws-ui-v9 .ws-customer-create-audit-v955{width:calc(100% - 36px)!important}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-layout{grid-template-columns:minmax(0,1fr) 250px}
}
@media(max-width:980px){
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-layout{grid-template-columns:1fr}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-note{grid-column:1/-1}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-submitbar,
  body.ws-ui-v9.sidebar-open .ws-customer-create-audit-v955 .ws-customer-submitbar{left:18px;right:18px}
}
@media(max-width:720px){
  body.ws-ui-v9 .ws-customer-create-audit-v955{width:auto!important;margin:0!important;padding:22px 14px 116px!important}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-header{min-height:0;align-items:flex-start;flex-direction:column;gap:14px}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-titleline h1{font-size:27px}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-titleline{gap:8px}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-back-btn{width:100%;justify-content:center}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning{grid-template-columns:36px 1fr}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-duplicate-warning-actions{grid-column:1/-1;justify-content:flex-start}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-grid{grid-template-columns:1fr;gap:15px}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-span-2{grid-column:auto}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-card-header{min-height:0;padding:14px;align-items:flex-start}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-card-header p{font-size:10.75px}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-card-body{padding:14px!important}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-required-chip,
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-optional-chip{display:none}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-create-aside{grid-template-columns:1fr}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-aside-note{grid-column:auto}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-customer-submitbar,
  body.ws-ui-v9.sidebar-open .ws-customer-create-audit-v955 .ws-customer-submitbar{
    left:10px;right:10px;bottom:10px;padding:9px;align-items:stretch;flex-direction:column
  }
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-context{display:none}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-actions .ws-btn{width:100%}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-submit-actions .btn-primary{min-width:0;grid-column:1/-1}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .ws-live-duplicates-head span{display:none}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .customer-duplicate-row{grid-template-columns:30px 1fr!important}
  body.ws-ui-v9 .ws-customer-create-audit-v955 .customer-duplicate-row a{grid-column:2}
}

/* =========================================================
   v9.5.6 — Quotations list audit
   Enterprise proposal register, aligned with Customers audit.
   ========================================================= */
body.ws-ui-v9 .ws-quotation-list-audit-v956{
  --ws-quote-border:#e2e8f0;
  --ws-quote-border-soft:#edf1f5;
  --ws-quote-text:#26364d;
  --ws-quote-muted:#7d8ba0;
  --ws-quote-blue:#2457f5;
  width:min(1440px,calc(100% - 48px));
  margin:0 auto;
  padding:28px 0 48px;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-page-header{
  min-height:108px;
  margin-bottom:20px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:28px;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-heading{min-width:0;max-width:820px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-page-context{
  margin-bottom:7px;
  display:flex;
  align-items:center;
  gap:7px;
  color:#7a8aa2;
  font-size:11px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:.035em;
  text-transform:uppercase;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-page-context i{font-size:11px;color:#6e83a4}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-heading h1{
  margin:0;
  color:#1f3048;
  font-size:30px;
  line-height:1.15;
  font-weight:730;
  letter-spacing:-.035em;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-heading>p{
  max-width:720px;
  margin:8px 0 0;
  color:#74839a;
  font-size:13px;
  line-height:1.55;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-meta{
  margin-top:12px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-meta span{
  min-height:28px;
  padding:0 9px;
  border:1px solid #e2e8f0;
  border-radius:7px;
  background:#fff;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#657690;
  font-size:10.5px;
  font-weight:650;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-meta i{font-size:10px;color:#7186a5}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-header-actions{
  padding-top:22px;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:8px;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-header-actions .ws-btn{
  min-height:42px!important;
  padding:0 15px!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-size:12.5px!important;
  font-weight:680!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-header-actions .btn-primary{box-shadow:0 5px 12px rgba(36,87,245,.12)!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-alert{margin-bottom:16px;border-radius:9px;font-size:12.5px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-alert.ws-alert{display:flex;align-items:flex-start;gap:10px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-filter-banner{
  min-height:54px;
  margin:0 0 14px;
  padding:9px 12px;
  border:1px solid #dde6f2;
  border-radius:10px;
  background:#f8faff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-filter-banner>div{min-width:0;display:flex;align-items:center;gap:10px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-filter-icon{width:34px;height:34px;flex:0 0 34px;border:1px solid #dbe5fb;border-radius:8px;background:#fff;display:grid;place-items:center;color:#5573b7;font-size:12px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-filter-copy{min-width:0;display:grid;gap:1px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-filter-copy small{color:#8896a8;font-size:9.75px;font-weight:600}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-filter-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#40536d;font-size:11.75px;font-weight:680}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-filter-banner>a{min-height:32px;padding:0 9px;border-radius:7px;display:inline-flex;align-items:center;gap:6px;color:#60728b;font-size:10.5px;font-weight:650;text-decoration:none;white-space:nowrap}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-filter-banner>a:hover{background:#edf2fb;color:#315bc8}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-card{
  border:1px solid var(--ws-quote-border);
  border-radius:12px;
  background:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.025);
  overflow:visible;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-toolbar{
  min-height:72px;
  padding:13px 16px;
  border-bottom:1px solid var(--ws-quote-border-soft);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-search{
  flex:1 1 720px;
  max-width:780px;
  display:flex;
  align-items:center;
  gap:8px;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-search-box{position:relative;flex:1 1 auto}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-search-box>i{position:absolute;z-index:2;left:14px;top:50%;transform:translateY(-50%);color:#8a98ab;font-size:13px;pointer-events:none}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-search-box .form-control{
  height:44px!important;
  min-height:44px!important;
  padding:0 40px!important;
  border:1px solid #dce3eb!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#304159!important;
  font-size:12.75px!important;
  box-shadow:none!important;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-search-box .form-control::placeholder{color:#9ba6b5}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-search-box .form-control:focus{border-color:#91aaff!important;box-shadow:0 0 0 3px rgba(36,87,245,.075)!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-search-clear{position:absolute;z-index:3;right:10px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:6px;display:grid;place-items:center;color:#8b98aa;text-decoration:none}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-search-clear:hover{background:#f2f5f8;color:#52647d}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-search>.ws-btn{height:44px!important;min-height:44px!important;padding:0 14px!important;border-radius:8px!important;font-size:12px!important;font-weight:650!important;box-shadow:none!important;white-space:nowrap}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-toolbar-info{flex:0 0 auto;color:#8a96a7;font-size:10.75px;white-space:nowrap}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-table-wrap{width:100%;overflow-x:auto}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-table{
  width:100%;
  min-width:1120px;
  margin:0!important;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-table thead th{
  height:44px;
  padding:0 15px!important;
  border:0!important;
  border-bottom:1px solid #e7ecf2!important;
  background:#fafbfd!important;
  color:#7d8b9e!important;
  vertical-align:middle!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  white-space:nowrap;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-table tbody td{
  height:76px;
  padding:11px 15px!important;
  border:0!important;
  border-bottom:1px solid #edf1f5!important;
  background:#fff!important;
  color:#45566e!important;
  vertical-align:middle!important;
  font-size:12px!important;
  line-height:1.4!important;
}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-table tbody tr:last-child td{border-bottom:0!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-table tbody tr:hover td{background:#fbfcfe!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-quote{width:20%}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-quote-customer{width:22%}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-date{width:11%}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-total{width:14%}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-quote-status{width:11%}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-origin{width:11%}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-quote-action{width:11%;text-align:right}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-identity{min-width:0;display:flex;align-items:center;gap:11px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-doc{width:38px;height:38px;flex:0 0 38px;border:1px solid #dfe7f1;border-radius:10px;background:#f5f8fc;display:grid;place-items:center;color:#5e7392;font-size:14px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-copy{min-width:0}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-copy>a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#304159;font-size:12.75px;font-weight:690;line-height:1.35;text-decoration:none}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-copy>a:hover{color:#2457f5}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-copy span{display:block;margin-top:3px;color:#909bad;font-size:10.5px;line-height:1.35}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-customer{min-width:0;display:flex;align-items:center;gap:8px;color:#53657e;text-decoration:none;font-size:11.5px;font-weight:600}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-customer:hover{color:#2457f5}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-customer>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-customer-avatar{width:28px;height:28px;flex:0 0 28px;border:1px solid #e0e7ef;border-radius:8px;background:#fafbfd;display:grid;place-items:center;color:#72849e;font-size:8.75px;font-weight:750;letter-spacing:.02em}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-table-secondary{color:#718198;font-size:11.25px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-total>strong{color:#34465d;font-size:11.75px;font-weight:700;white-space:nowrap}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-status{min-height:28px;padding:0 9px;border:1px solid #e0e5eb;border-radius:999px;background:#f8fafc;display:inline-flex;align-items:center;gap:6px;color:#747f8e;font-size:10.25px;font-weight:680;white-space:nowrap}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-status>span{width:6px;height:6px;border-radius:50%;background:currentColor}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-status.gray{border-color:#e0e5eb;background:#f8fafc;color:#747f8e}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-status.blue{border-color:#d8e3ff;background:#f4f7ff;color:#4267c7}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-status.green{border-color:#d5eadc;background:#f4fbf6;color:#3d8560}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-status.red{border-color:#f0d7d9;background:#fff7f7;color:#b9555d}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quote-status.purple{border-color:#e5ddf6;background:#faf7ff;color:#7459a9}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-origin-pill{min-height:27px;padding:0 8px;border:1px solid #e2e7ed;border-radius:7px;background:#f8fafc;display:inline-flex;align-items:center;gap:6px;color:#6f7d8f;font-size:9.75px;font-weight:650;white-space:nowrap}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-origin-pill.is-workspace{border-color:#dce5fa;background:#f7f9ff;color:#5570b2}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-origin-pill i{font-size:9px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-origin-user{display:block;max-width:100%;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#929dad;font-size:9.25px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-row-primary{height:34px!important;min-height:34px!important;padding:0 9px!important;border-color:#d6e0ff!important;border-radius:7px!important;color:#345fd5!important;background:#fff!important;display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:10.5px!important;font-weight:680!important;white-space:nowrap;box-shadow:none!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-row-primary:hover{background:#f5f8ff!important;border-color:#bdd0ff!important;color:#2457f5!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-row-more{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:1px solid #e1e7ee!important;border-radius:7px!important;background:#fff!important;display:grid!important;place-items:center!important;color:#78879a!important;box-shadow:none!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-row-more:hover{background:#f7f9fb!important;color:#41536c!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-dropdown{min-width:210px;padding:6px;border:1px solid #e0e6ee;border-radius:9px;box-shadow:0 12px 34px rgba(15,23,42,.10)}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-dropdown .dropdown-item{min-height:36px;padding:0 10px;border-radius:6px;display:flex;align-items:center;gap:9px;color:#53637a;font-size:11.25px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-dropdown .dropdown-item:hover{background:#f5f7fa;color:#28405f}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-dropdown .dropdown-item i{width:15px;color:#7c8ba0;text-align:center}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-empty{min-height:340px;padding:44px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-empty .ws-empty-icon{width:50px;height:50px;margin-bottom:13px;border:1px solid #e1e7ef;border-radius:12px;background:#f7f9fc;display:grid;place-items:center;color:#7d90a9;font-size:18px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-empty strong{color:#34465f;font-size:14px;font-weight:700}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-empty p{max-width:390px;margin:6px 0 16px;color:#8492a5;font-size:11.5px;line-height:1.55}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-empty .ws-btn{min-height:40px!important;padding:0 14px!important;font-size:11.5px!important}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-card-footer{min-height:58px;padding:10px 16px;border-top:1px solid #edf1f5;background:#fbfcfd;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#8895a6;font-size:10.75px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-pagination{display:flex;align-items:center;gap:9px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-pagination>span{color:#7d899a;font-size:10.75px}
body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-pagination .ws-btn{height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:7px!important;font-size:10.5px!important;box-shadow:none!important}
@media(min-width:1500px){
  body.ws-ui-v9 .ws-quotation-list-audit-v956{width:min(1500px,calc(100% - 64px))}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-table tbody td{height:78px}
}
@media(max-width:1180px){
  body.ws-ui-v9 .ws-quotation-list-audit-v956{width:calc(100% - 36px)}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-origin{display:none}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-table{min-width:980px}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-quote{width:22%}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-quote-customer{width:24%}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-date{width:12%}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-total{width:16%}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-quote-status{width:12%}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-col-quote-action{width:14%}
}
@media(max-width:820px){
  body.ws-ui-v9 .ws-quotation-list-audit-v956{width:auto;margin:0;padding:22px 14px 34px}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-page-header{min-height:0;flex-direction:column;gap:16px}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-heading h1{font-size:27px}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-header-actions{width:100%;padding-top:0}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-header-actions .ws-btn{flex:1 1 0}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-filter-banner{align-items:flex-start}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-toolbar{align-items:stretch;flex-direction:column;padding:12px}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-search{max-width:none;flex-basis:auto}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-toolbar-info{padding-left:1px}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-card-footer{align-items:flex-start;flex-direction:column}
  body.ws-ui-v9 .ws-quotation-list-audit-v956 .ws-quotation-pagination{width:100%;justify-content:space-between}
}

/* ================================================================
   v9.5.7 — Quotation edit / clone / PDF regeneration
   ================================================================ */
body.ws-ui-v9 .quote-object-actions{flex-wrap:wrap}
body.ws-ui-v9 .quote-object-actions>form,
body.ws-ui-v9 .quote-object-actions .dropdown-menu form,
body.ws-ui-v9 .ws-quotation-dropdown form{margin:0}
body.ws-ui-v9 .quote-object-actions .dropdown-menu button.dropdown-item,
body.ws-ui-v9 .ws-quotation-dropdown button.dropdown-item{
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
}
body.ws-ui-v9 .quote-object-actions .dropdown-menu button.dropdown-item:hover,
body.ws-ui-v9 .ws-quotation-dropdown button.dropdown-item:hover{background:#f5f7fa}
body.ws-ui-v9 .quotation-composer-page .quote-create-header-actions{flex-wrap:wrap}
body.ws-ui-v9 .quotation-composer-page .quote-create-title-line .quote-status{flex:0 0 auto}
@media(max-width:820px){
  body.ws-ui-v9 .quotation-composer-page .quote-create-header-actions .ws-btn{flex:1 1 auto}
  body.ws-ui-v9 .quote-object-actions .dropdown{flex:1 1 auto}
  body.ws-ui-v9 .quote-object-actions .dropdown>.ws-btn{width:100%}
}

/* v9.5.9 — Quotation PDF preview pagination + modal layer correction */
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal{
  position:fixed!important;
  inset:0!important;
  z-index:12000!important;
  isolation:isolate;
  display:flex!important;
  align-items:center;
  justify-content:center;
  padding:24px;
  overflow:hidden;
}
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal[hidden]{display:none!important}
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.modal-backdrop{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  opacity:1!important;
  background:rgba(15,23,42,.34)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{
  position:relative!important;
  z-index:2!important;
  width:min(1120px,calc(100vw - 48px))!important;
  max-width:1120px!important;
  max-height:calc(100vh - 48px)!important;
  margin:0!important;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  opacity:1!important;
  filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transform:translateY(8px) scale(.992);
  transition:transform .16s ease,opacity .16s ease;
}
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal.is-open>.quote-pdf-preview-dialog{transform:none}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-head,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-body,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-footer{position:relative;z-index:3;background:#fff!important;filter:none!important}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-body{overflow:auto!important;background:#eef2f6!important}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-stage{display:grid;gap:20px;justify-items:center}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-toolbar{width:min(794px,100%)}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper{
  width:min(794px,100%);
  min-height:1123px;
  box-sizing:border-box;
  background:#fff;
  border:1px solid #dfe5ec;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper-bottom-total{align-items:flex-end!important}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-page-hint{display:flex;align-items:center;gap:7px;color:#8b97a8;font-size:10.5px;line-height:1.4}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-page-hint i{color:#6f7f94}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper-note-page{display:flex;flex-direction:column}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-note-page-head{flex:0 0 auto}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-note-page-body{flex:1;padding:42px 48px 48px}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-note-page-kicker{display:flex;align-items:center;justify-content:space-between;padding-bottom:17px;margin-bottom:26px;border-bottom:1px solid #e8edf3;color:#93a0b0}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-note-page-kicker span{font-size:10px;font-weight:750;letter-spacing:.12em}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-note-page-kicker i{font-size:18px;color:#61738b}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-public-note-page{max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-public-note-page>small{display:block;margin-bottom:12px;color:#33445d;font-size:12px;font-weight:750;text-transform:none;letter-spacing:0}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-public-note-page>p{margin:0;color:#52637a;font-size:12.5px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
body.modal-open{overflow:hidden!important}
@media(max-width:760px){
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal{padding:10px}
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}
  body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper{min-height:auto}
  body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-note-page-body{padding:28px 24px 34px;min-height:640px}
}


/* v9.6.0 — quotation brand + customer address */
body.ws-ui-v9 .quotation-composer-page .quote-selected-copy{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
body.ws-ui-v9 .quotation-composer-page .quote-selected-copy .quote-selected-address{font-size:11.5px!important;line-height:1.45!important;color:#4d5f78!important;white-space:normal!important}
body.ws-ui-v9 .quotation-composer-page .quote-selected-copy .quote-selected-meta{font-size:10.8px!important;color:#8a97a9!important}
body.ws-ui-v9 .quote-create-paper-brand-logo,
body.ws-ui-v9 .quote-document-brand-logo{display:flex!important;align-items:center!important;min-height:34px!important}
body.ws-ui-v9 .quote-create-paper-brand-logo img,
body.ws-ui-v9 .quote-document-brand-logo img{display:block!important;width:auto!important;height:34px!important;max-width:190px!important;object-fit:contain!important;object-position:left center!important}
body.ws-ui-v9 .quote-create-paper-meta>div:first-child>span,
body.ws-ui-v9 .quote-document-addresses>div:first-child>span{display:block!important;line-height:1.45!important}
@media (max-width:640px){body.ws-ui-v9 .quote-create-paper-brand-logo img,body.ws-ui-v9 .quote-document-brand-logo img{height:28px!important;max-width:150px!important}}

/* v9.6.1 — quotation composer ergonomics + rich text + preview scrolling */
body.ws-ui-v9 .quotation-composer-page .quote-composer-line{
  align-items:start!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-line-content{
  display:grid!important;
  gap:7px!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-line-source-switch{
  display:flex;
  align-items:center;
  gap:5px;
  min-height:30px;
}
body.ws-ui-v9 .quotation-composer-page .quote-source-option{
  min-height:30px;
  padding:0 9px;
  border:1px solid #dfe6ef;
  border-radius:7px;
  background:#fff;
  color:#66758b;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10.5px;
  font-weight:650;
  cursor:pointer;
}
body.ws-ui-v9 .quotation-composer-page .quote-source-option:hover{background:#f8fafc;color:#36577f}
body.ws-ui-v9 .quotation-composer-page .quote-source-option.active{
  border-color:#b8c7ff;
  background:#f2f5ff;
  color:#2457f5;
}
body.ws-ui-v9 .quotation-composer-page [data-product-picker][hidden]{display:none!important}

body.ws-ui-v9 .quotation-composer-page .quote-rich-editor{
  border:1px solid #d9e1eb;
  border-radius:8px;
  background:#fff;
  overflow:auto;
  box-shadow:none;
}
body.ws-ui-v9 .quotation-composer-page .quote-rich-editor:focus-within{
  border-color:#8ca7ff;
  box-shadow:0 0 0 3px rgba(36,87,245,.08);
}
body.ws-ui-v9 .quotation-composer-page .quote-rich-editor.has-error{border-color:#df5b67!important;box-shadow:0 0 0 3px rgba(223,91,103,.09)!important}
body.ws-ui-v9 .quotation-composer-page .quote-rich-toolbar{
  min-height:34px;
  padding:3px 5px;
  border-bottom:1px solid #edf1f5;
  background:#f8fafc;
  display:flex;
  align-items:center;
  gap:2px;
  flex-wrap:wrap;
}
body.ws-ui-v9 .quotation-composer-page .quote-rich-toolbar>span{
  width:1px;
  height:18px;
  margin:0 3px;
  background:#dde4ed;
}
body.ws-ui-v9 .quotation-composer-page .quote-rich-toolbar button{
  width:28px;
  height:27px;
  padding:0;
  border:1px solid transparent;
  border-radius:5px;
  background:transparent;
  color:#617086;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:12px;
}
body.ws-ui-v9 .quotation-composer-page .quote-rich-toolbar button:hover{border-color:#dce4ee;background:#fff;color:#2457f5}
body.ws-ui-v9 .quotation-composer-page .quote-rich-surface{
  min-height:62px;
  padding:9px 11px;
  outline:0;
  color:#34455e;
  font-size:13px;
  line-height:1.5;
  overflow-wrap:anywhere;
}
body.ws-ui-v9 .quotation-composer-page .quote-rich-surface:empty:before{
  content:attr(data-placeholder);
  color:#9aa6b6;
  pointer-events:none;
}
body.ws-ui-v9 .quotation-composer-page .quote-rich-surface p{margin:0 0 6px}
body.ws-ui-v9 .quotation-composer-page .quote-rich-surface p:last-child{margin-bottom:0}
body.ws-ui-v9 .quotation-composer-page .quote-rich-surface ul,
body.ws-ui-v9 .quotation-composer-page .quote-rich-surface ol{margin:4px 0 6px;padding-left:22px}
body.ws-ui-v9 .quotation-composer-page .quote-rich-surface a{color:#2457f5;text-decoration:underline}
body.ws-ui-v9 .quotation-composer-page .quote-line-rich-editor{
  min-height:98px;
  resize:vertical;
}
body.ws-ui-v9 .quotation-composer-page .quote-line-rich-editor .quote-rich-surface{min-height:62px}
body.ws-ui-v9 .quotation-composer-page .quote-note-rich-editor{
  min-height:190px;
  resize:vertical;
}
body.ws-ui-v9 .quotation-composer-page .quote-note-rich-editor .quote-rich-surface{min-height:150px}

/* Keep numeric inputs aligned with the description editor instead of the source controls. */
body.ws-ui-v9 .quotation-composer-page .quote-composer-line>.quote-mobile-label,
body.ws-ui-v9 .quotation-composer-page .quote-composer-line>.quote-line-amount,
body.ws-ui-v9 .quotation-composer-page .quote-composer-line>.quote-remove{
  align-self:start!important;
}
body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode="manual"]>.quote-mobile-label,
body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode="manual"]>.quote-line-amount,
body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode="manual"]>.quote-remove{margin-top:37px!important}
body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode="product"]>.quote-mobile-label,
body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode="product"]>.quote-line-amount,
body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode="product"]>.quote-remove{margin-top:84px!important}

/* Preview modal must have a real scrollable flex child. */
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal{overflow:auto!important;overscroll-behavior:contain}
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{
  height:min(920px,calc(100vh - 48px))!important;
  min-height:0!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-head,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-footer{flex:0 0 auto!important}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  padding-bottom:34px!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-stage{
  min-height:max-content!important;
  padding-bottom:10px;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich-note{
  color:inherit;
  line-height:1.6;
  overflow-wrap:anywhere;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich p,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich-note p{margin:0 0 5px}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich ul,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich ol,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich-note ul,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich-note ol{margin:4px 0 6px;padding-left:18px}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich a,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-rich-note a{color:#2457f5;text-decoration:underline}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-public-note-page>.quote-preview-rich-note{margin:0;color:#52637a;font-size:12.5px;line-height:1.7}

@media(max-width:900px){
  body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode]>.quote-mobile-label,
  body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode]>.quote-line-amount,
  body.ws-ui-v9 .quotation-composer-page .quote-composer-line[data-mode]>.quote-remove{margin-top:0!important}
  body.ws-ui-v9 .quotation-composer-page .quote-line-source-switch{flex-wrap:wrap}
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{height:calc(100vh - 20px)!important}
}


/* v9.7.0 — hard preview scroll fix */
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal{
  overflow:hidden!important;
  align-items:center!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{
  display:flex!important;
  flex-direction:column!important;
  width:min(1120px,calc(100vw - 48px))!important;
  height:calc(100dvh - 48px)!important;
  max-height:none!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-body{
  display:block!important;
  flex:1 1 0!important;
  min-height:0!important;
  height:0!important;
  overflow-y:scroll!important;
  overflow-x:auto!important;
  scrollbar-gutter:stable both-edges;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-stage{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:28px 24px 56px!important;
}
@media(max-width:760px){
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal{padding:0!important;align-items:stretch!important}
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{width:100vw!important;height:100dvh!important;max-width:none!important;border-radius:0!important}
  body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-stage{padding:18px 10px 42px!important}
}

/* v9.7.1 — definitive quotation preview scrolling: dialog owns the scroll */
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal{
  overflow:hidden!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{
  display:block!important;
  width:min(1120px,calc(100vw - 48px))!important;
  height:calc(100dvh - 48px)!important;
  max-height:calc(100dvh - 48px)!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-head{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  background:#fff!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-body{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  padding:0!important;
  background:#eef2f6!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-stage{
  display:grid!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  gap:20px!important;
  justify-items:center!important;
  padding:28px 24px 56px!important;
  box-sizing:border-box!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-footer{
  position:sticky!important;
  bottom:0!important;
  z-index:20!important;
  background:#fff!important;
  box-shadow:0 -8px 24px rgba(15,23,42,.06);
}
@media(max-width:760px){
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal{padding:0!important}
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{
    width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
  }
  body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-stage{padding:18px 10px 40px!important}
}


/* v9.7.2 — deterministic quotation preview scroll + saved PDF modal */
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal{
  overflow:hidden!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog{
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  width:min(1120px,calc(100vw - 48px))!important;
  height:calc(100dvh - 48px)!important;
  max-height:calc(100dvh - 48px)!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-head{
  position:relative!important;
  top:auto!important;
  z-index:20!important;
  flex:0 0 auto!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-body{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-gutter:stable!important;
  padding:0!important;
  background:#eef2f6!important;
  touch-action:pan-y!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-stage{
  display:grid!important;
  width:100%!important;
  min-width:0!important;
  height:max-content!important;
  min-height:max-content!important;
  grid-auto-rows:max-content!important;
  gap:20px!important;
  justify-items:center!important;
  padding:28px 24px 64px!important;
  box-sizing:border-box!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-preview-toolbar,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper,
body.ws-ui-v9 .quote-pdf-preview-modal .quote-next-flow{
  flex:none!important;
  position:relative!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper{
  height:auto!important;
  min-height:1123px!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper-note-page{
  min-height:1123px!important;
}
body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-footer{
  position:relative!important;
  bottom:auto!important;
  z-index:20!important;
  flex:0 0 auto!important;
  box-shadow:0 -8px 24px rgba(15,23,42,.06);
}

/* Saved/generated PDF modal */
body.ws-ui-v9 .quote-saved-pdf-modal.app-modal{
  position:fixed!important;
  inset:0!important;
  z-index:12100!important;
  isolation:isolate;
  display:flex!important;
  align-items:center;
  justify-content:center;
  padding:24px;
  overflow:hidden!important;
}
body.ws-ui-v9 .quote-saved-pdf-modal.app-modal[hidden]{display:none!important}
body.ws-ui-v9 .quote-saved-pdf-modal.app-modal>.modal-backdrop{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  opacity:1!important;
  background:rgba(15,23,42,.34)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
}
body.ws-ui-v9 .quote-saved-pdf-modal .quote-saved-pdf-dialog{
  position:relative!important;
  z-index:2!important;
  width:min(1180px,calc(100vw - 48px))!important;
  height:calc(100dvh - 48px)!important;
  max-width:1180px!important;
  max-height:calc(100dvh - 48px)!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.ws-ui-v9 .quote-saved-pdf-modal .quote-saved-pdf-body{
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#e9eef4!important;
}
body.ws-ui-v9 .quote-saved-pdf-modal .quote-saved-pdf-frame{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  border:0!important;
  background:#fff!important;
}
body.ws-ui-v9 .quote-saved-pdf-modal .quote-saved-pdf-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
@media(max-width:760px){
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal,
  body.ws-ui-v9 .quote-saved-pdf-modal.app-modal{padding:0!important;align-items:stretch!important}
  body.ws-ui-v9 .quote-pdf-preview-modal.app-modal>.quote-pdf-preview-dialog,
  body.ws-ui-v9 .quote-saved-pdf-modal .quote-saved-pdf-dialog{
    width:100vw!important;height:100dvh!important;max-width:none!important;max-height:100dvh!important;border-radius:0!important;
  }
  body.ws-ui-v9 .quote-pdf-preview-modal .quote-pdf-preview-stage{padding:18px 10px 48px!important}
  body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper,
  body.ws-ui-v9 .quote-pdf-preview-modal .quote-create-paper-note-page{min-height:900px!important}
}
/* v9.8.0 — Quotation dual PDF formats */
.ws-pdf-format-menu{min-width:260px;padding:7px}.ws-pdf-format-menu .dropdown-item{display:flex;align-items:flex-start;gap:10px;border-radius:9px;padding:10px 11px;white-space:normal}.ws-pdf-format-menu .dropdown-item i{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#f2f5fa;color:#3865d8;margin-top:1px}.ws-pdf-format-menu .dropdown-item span{display:flex;flex-direction:column;gap:2px}.ws-pdf-format-menu .dropdown-item strong{font-size:12px;color:#17243d}.ws-pdf-format-menu .dropdown-item small{font-size:10px;color:#8592a6;font-weight:500}.ws-pdf-format-menu .dropdown-item:hover i{background:#e8efff;color:#245bea}

/* v9.9.0 — SAP/Fiori-inspired quotation workbench. PDF is preview-only. */
body.ws-ui-v9 .quotation-composer-page .sap-quote-process{
  display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 12px;background:#fff;border:1px solid var(--ws-border);border-radius:12px;box-shadow:var(--ws-shadow)
}
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>a,
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>button{
  flex:1;min-width:0;display:flex;align-items:center;gap:9px;padding:8px 10px;border:0;border-radius:9px;background:transparent;text-align:left;text-decoration:none;color:#42526a;cursor:pointer
}
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>a:hover,
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>button:hover{background:#f5f8fc;color:#163c8c}
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>a.active{background:#eef4ff;color:#174ea6}
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>a>span,
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>button>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#eef2f7;color:#52647d;font-size:11px;font-weight:800;flex:0 0 auto}
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>a.active>span{background:#1d5fd1;color:#fff}
body.ws-ui-v9 .quotation-composer-page .sap-quote-process strong{display:block;font-size:12px;line-height:1.2}
body.ws-ui-v9 .quotation-composer-page .sap-quote-process small{display:block;margin-top:2px;font-size:9.5px;color:#8794a7}
body.ws-ui-v9 .quotation-composer-page .sap-quote-process>i{font-size:11px;color:#a4afbd}

body.ws-ui-v9 .quotation-composer-page .quote-composer-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:14px!important;align-items:start!important}
body.ws-ui-v9 .quotation-composer-page .sap-quote-summary{position:sticky;top:72px;min-width:0}
body.ws-ui-v9 .quotation-composer-page .sap-summary-card{overflow:hidden;background:#fff;border:1px solid var(--ws-border);border-radius:12px;box-shadow:var(--ws-shadow)}
body.ws-ui-v9 .quotation-composer-page .sap-summary-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;border-bottom:1px solid #e9eef4}
body.ws-ui-v9 .quotation-composer-page .sap-summary-card>header>div{display:flex;align-items:center;gap:9px}
body.ws-ui-v9 .quotation-composer-page .sap-summary-card>header>div>i{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;background:#eef4ff;color:#1d5fd1}
body.ws-ui-v9 .quotation-composer-page .sap-summary-card>header strong{display:block;font-size:12.5px;color:#253650}
body.ws-ui-v9 .quotation-composer-page .sap-summary-card>header small{display:block;margin-top:1px;font-size:9.5px;color:#8b97a8}
body.ws-ui-v9 .quotation-composer-page .sap-summary-context{padding:14px;border-bottom:1px solid #edf1f5}
body.ws-ui-v9 .quotation-composer-page .sap-summary-context small{display:block;font-size:9.5px;text-transform:uppercase;letter-spacing:.06em;color:#8c99aa;font-weight:700}
body.ws-ui-v9 .quotation-composer-page .sap-summary-context strong{display:block;margin-top:5px;font-size:14px;color:#21324c}
body.ws-ui-v9 .quotation-composer-page .sap-summary-context span{display:block;margin-top:4px;font-size:10.5px;line-height:1.45;color:#718097}
body.ws-ui-v9 .quotation-composer-page .sap-summary-facts{margin:0;padding:8px 14px;border-bottom:1px solid #edf1f5}
body.ws-ui-v9 .quotation-composer-page .sap-summary-facts>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
body.ws-ui-v9 .quotation-composer-page .sap-summary-facts dt{font-size:10.5px;color:#8290a3;font-weight:500}
body.ws-ui-v9 .quotation-composer-page .sap-summary-facts dd{margin:0;font-size:10.5px;color:#33445e;font-weight:700;text-align:right}
body.ws-ui-v9 .quotation-composer-page .sap-summary-money{padding:10px 14px 12px}
body.ws-ui-v9 .quotation-composer-page .sap-summary-money>div{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:11px;color:#6d7c91}
body.ws-ui-v9 .quotation-composer-page .sap-summary-money>div strong{color:#2f405a;font-size:11.5px}
body.ws-ui-v9 .quotation-composer-page .sap-summary-money .grand{margin-top:5px;padding-top:11px;border-top:1px solid #dfe6ef;color:#172a48;font-weight:700}
body.ws-ui-v9 .quotation-composer-page .sap-summary-money .grand strong{font-size:16px;color:#172a48}
body.ws-ui-v9 .quotation-composer-page .sap-summary-card>.btn{margin:0 14px;width:calc(100% - 28px)!important}
body.ws-ui-v9 .quotation-composer-page .sap-summary-help{display:flex;gap:6px;margin:10px 14px 14px;font-size:9.5px;line-height:1.45;color:#8794a7}
body.ws-ui-v9 .quotation-composer-page .sap-summary-help i{margin-top:1px;color:#5e7fb7}
body.ws-ui-v9 .quotation-composer-page .quote-editor-card{scroll-margin-top:84px}

/* Object Page: operational UI, not a simulated PDF. */
body.ws-ui-v9 .quotation-detail-page .sap-object-content{display:grid;gap:12px;min-width:0}
body.ws-ui-v9 .quotation-detail-page .sap-object-section{margin:0!important;overflow:hidden;border:1px solid var(--ws-border)!important;border-radius:11px!important;box-shadow:none!important;background:#fff}
body.ws-ui-v9 .quotation-detail-page .sap-object-section-head{min-height:52px;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9eef4;background:#fff}
body.ws-ui-v9 .quotation-detail-page .sap-object-section-head>div{display:flex;align-items:center;gap:9px}
body.ws-ui-v9 .quotation-detail-page .sap-object-section-head>div>i{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#f0f4fa;color:#49617f}
body.ws-ui-v9 .quotation-detail-page .sap-object-section-head strong{display:block;font-size:12.5px;color:#2d3e58}
body.ws-ui-v9 .quotation-detail-page .sap-object-section-head small{display:block;margin-top:1px;font-size:9.8px;color:#8995a6}
body.ws-ui-v9 .quotation-detail-page .sap-object-general{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:22px;padding:16px}
body.ws-ui-v9 .quotation-detail-page .sap-object-customer small{display:block;font-size:9.5px;text-transform:uppercase;letter-spacing:.06em;color:#8a97a9;font-weight:700}
body.ws-ui-v9 .quotation-detail-page .sap-object-customer strong{display:block;margin-top:5px;font-size:15px;color:#21324d}
body.ws-ui-v9 .quotation-detail-page .sap-object-customer span{display:block;margin-top:3px;font-size:11px;line-height:1.45;color:#6d7d93}
body.ws-ui-v9 .quotation-detail-page .sap-object-facts{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;border:1px solid #e7ecf2;border-radius:9px;overflow:hidden}
body.ws-ui-v9 .quotation-detail-page .sap-object-facts>div{padding:9px 11px;border-right:1px solid #edf1f5;border-bottom:1px solid #edf1f5}
body.ws-ui-v9 .quotation-detail-page .sap-object-facts>div:nth-child(2n){border-right:0}
body.ws-ui-v9 .quotation-detail-page .sap-object-facts>div:nth-last-child(-n+2){border-bottom:0}
body.ws-ui-v9 .quotation-detail-page .sap-object-facts dt{font-size:9.5px;color:#8794a6;font-weight:500}
body.ws-ui-v9 .quotation-detail-page .sap-object-facts dd{margin:4px 0 0;font-size:11.5px;color:#2c3e59;font-weight:700}
body.ws-ui-v9 .quotation-detail-page .sap-object-table-wrap{overflow-x:auto}
body.ws-ui-v9 .quotation-detail-page .sap-object-table{width:100%;border-collapse:collapse;font-size:11px}
body.ws-ui-v9 .quotation-detail-page .sap-object-table th{padding:9px 10px;background:#f7f9fc;color:#6f7f94;font-size:9.5px;text-transform:uppercase;letter-spacing:.045em;border-bottom:1px solid #e5eaf1;white-space:nowrap}
body.ws-ui-v9 .quotation-detail-page .sap-object-table td{padding:11px 10px;border-bottom:1px solid #edf1f5;color:#53647c;vertical-align:top;white-space:nowrap}
body.ws-ui-v9 .quotation-detail-page .sap-object-table td:nth-child(2){white-space:normal;min-width:310px}
body.ws-ui-v9 .quotation-detail-page .sap-object-table td:nth-child(2)>strong{display:block;color:#2e405a;font-size:11.5px}
body.ws-ui-v9 .quotation-detail-page .sap-object-table td:nth-child(2)>span{display:block;margin-top:3px;color:#728198;line-height:1.45}
body.ws-ui-v9 .quotation-detail-page .sap-object-table tbody tr:hover{background:#fbfcfe}
body.ws-ui-v9 .quotation-detail-page .sap-object-totalbar{display:flex;justify-content:flex-end;gap:22px;padding:12px 14px;background:#fafbfd}
body.ws-ui-v9 .quotation-detail-page .sap-object-totalbar>div{min-width:120px;display:flex;flex-direction:column;gap:3px;text-align:right}
body.ws-ui-v9 .quotation-detail-page .sap-object-totalbar span{font-size:9.5px;color:#8390a2}
body.ws-ui-v9 .quotation-detail-page .sap-object-totalbar strong{font-size:11.5px;color:#30415b}
body.ws-ui-v9 .quotation-detail-page .sap-object-totalbar .grand{padding-left:20px;border-left:1px solid #dfe5ed}
body.ws-ui-v9 .quotation-detail-page .sap-object-totalbar .grand strong{font-size:16px;color:#172a48}
body.ws-ui-v9 .quotation-detail-page .sap-object-note{padding:15px;font-size:11.5px;line-height:1.65;color:#53647c}
body.ws-ui-v9 .quotation-detail-page .sap-document-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:13px}
body.ws-ui-v9 .quotation-detail-page .sap-document-choice{display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:10px;padding:12px;border:1px solid #dfe6ef;border-radius:9px;background:#fff;text-align:left;color:#33445e;cursor:pointer}
body.ws-ui-v9 .quotation-detail-page .sap-document-choice:hover{border-color:#9eb6df;background:#f8fbff}
body.ws-ui-v9 .quotation-detail-page .sap-document-choice>i:first-child{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#eef4ff;color:#1d5fd1;font-size:15px}
body.ws-ui-v9 .quotation-detail-page .sap-document-choice span strong{display:block;font-size:12px;color:#2d3f59}
body.ws-ui-v9 .quotation-detail-page .sap-document-choice span small{display:block;margin-top:2px;font-size:9.8px;color:#8794a6}
body.ws-ui-v9 .quotation-detail-page .sap-document-choice>i:last-child{color:#9aa6b7}

@media (max-width:1180px){
  body.ws-ui-v9 .quotation-composer-page .quote-composer-grid{grid-template-columns:1fr!important}
  body.ws-ui-v9 .quotation-composer-page .sap-quote-summary{position:static;order:-1}
  body.ws-ui-v9 .quotation-composer-page .sap-summary-card{display:grid;grid-template-columns:1.2fr .8fr .9fr auto;align-items:stretch}
  body.ws-ui-v9 .quotation-composer-page .sap-summary-card>header{border-bottom:0;border-right:1px solid #e9eef4}
  body.ws-ui-v9 .quotation-composer-page .sap-summary-context{border-bottom:0;border-right:1px solid #edf1f5}
  body.ws-ui-v9 .quotation-composer-page .sap-summary-facts{border-bottom:0;border-right:1px solid #edf1f5}
  body.ws-ui-v9 .quotation-composer-page .sap-summary-money{min-width:230px}
  body.ws-ui-v9 .quotation-composer-page .sap-summary-card>.btn,
  body.ws-ui-v9 .quotation-composer-page .sap-summary-help{display:none}
}
@media (max-width:760px){
  body.ws-ui-v9 .quotation-composer-page .sap-quote-process{overflow-x:auto;padding:8px}
  body.ws-ui-v9 .quotation-composer-page .sap-quote-process>a,
  body.ws-ui-v9 .quotation-composer-page .sap-quote-process>button{min-width:145px;flex:0 0 auto}
  body.ws-ui-v9 .quotation-composer-page .sap-quote-process>i{display:none}
  body.ws-ui-v9 .quotation-composer-page .sap-summary-card{display:block}
  body.ws-ui-v9 .quotation-composer-page .sap-summary-card>header,
  body.ws-ui-v9 .quotation-composer-page .sap-summary-context,
  body.ws-ui-v9 .quotation-composer-page .sap-summary-facts{border-right:0;border-bottom:1px solid #edf1f5}
  body.ws-ui-v9 .quotation-detail-page .sap-object-general{grid-template-columns:1fr}
  body.ws-ui-v9 .quotation-detail-page .sap-object-facts{grid-template-columns:1fr}
  body.ws-ui-v9 .quotation-detail-page .sap-object-facts>div{border-right:0!important;border-bottom:1px solid #edf1f5!important}
  body.ws-ui-v9 .quotation-detail-page .sap-object-facts>div:last-child{border-bottom:0!important}
  body.ws-ui-v9 .quotation-detail-page .sap-object-totalbar{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body.ws-ui-v9 .quotation-detail-page .sap-object-totalbar .grand{grid-column:1/-1;padding:8px 0 0;border-left:0;border-top:1px solid #dfe5ed}
  body.ws-ui-v9 .quotation-detail-page .sap-document-choice-grid{grid-template-columns:1fr}
}

/* =========================================================
   Wazapbro Workspace v10.0.0 — SAP/Fiori-inspired global UI
   ========================================================= */
:root{
  --sap-blue:#0070f2;
  --sap-blue-2:#0057b8;
  --sap-blue-soft:#eaf3fc;
  --sap-ink:#1d2d3e;
  --sap-text:#32363a;
  --sap-muted:#556b82;
  --sap-subtle:#6a6d70;
  --sap-line:#d9d9d9;
  --sap-line-soft:#eaecee;
  --sap-bg:#f5f6f7;
  --sap-surface:#ffffff;
  --sap-shadow:0 1px 3px rgba(34,54,73,.12);
  --sap-radius:8px;
}

body.ws-ui-v9.ws-sap-theme{
  --ws-primary:var(--sap-blue);
  --ws-primary-2:var(--sap-blue-2);
  --ws-border:var(--sap-line);
  --ws-bg:var(--sap-bg);
  color:var(--sap-text)!important;
  background:var(--sap-bg)!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  letter-spacing:0!important;
}
body.ws-ui-v9.ws-sap-theme .main-content{background:var(--sap-bg)!important}
body.ws-ui-v9.ws-sap-theme a{transition:background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease}

/* Shell / navigation */
body.ws-ui-v9.ws-sap-theme .app-shell{background:var(--sap-bg)!important}
body.ws-ui-v9.ws-sap-theme .sidebar.compact-sidebar{
  background:#fff!important;
  border-right:1px solid #d5dadd!important;
  box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme .sidebar-brand-row{
  min-height:48px!important;
  padding:0!important;
  border-bottom:1px solid #e5e7e9!important;
  background:#fff!important;
}
body.ws-ui-v9.ws-sap-theme .sidebar-brand-toggle{
  min-height:48px!important;
  border-radius:0!important;
  padding:0 12px!important;
  color:var(--sap-ink)!important;
  background:#fff!important;
}
body.ws-ui-v9.ws-sap-theme .sidebar-brand-toggle:hover{background:#f2f3f4!important}
body.ws-ui-v9.ws-sap-theme .brand-mark{background:transparent!important;box-shadow:none!important;border:0!important}
body.ws-ui-v9.ws-sap-theme .ws-brand-logo-crop{width:29px!important;height:29px!important;border-radius:5px!important;background:#fff!important}
body.ws-ui-v9.ws-sap-theme .sidebar-brand-copy strong{font-size:13px!important;font-weight:700!important;color:#1d2d3e!important}
body.ws-ui-v9.ws-sap-theme .sidebar-brand-copy small{font-size:10px!important;color:#6a6d70!important}
body.ws-ui-v9.ws-sap-theme .sidebar-brand-caret{color:#5b738b!important}
body.ws-ui-v9.ws-sap-theme .enterprise-nav{padding:8px 7px 12px!important;gap:2px!important}
body.ws-ui-v9.ws-sap-theme .enterprise-nav>a,
body.ws-ui-v9.ws-sap-theme .nav-group-toggle{
  min-height:38px!important;
  padding:0 9px!important;
  border-radius:4px!important;
  color:#32363a!important;
  font-size:12px!important;
  font-weight:500!important;
  background:transparent!important;
}
body.ws-ui-v9.ws-sap-theme .enterprise-nav>a:hover,
body.ws-ui-v9.ws-sap-theme .nav-group-toggle:hover{background:#f2f3f4!important;color:#1d2d3e!important}
body.ws-ui-v9.ws-sap-theme .enterprise-nav>a.active,
body.ws-ui-v9.ws-sap-theme .nav-group.active>.nav-group-toggle{
  background:#e5f0fa!important;
  color:#074d92!important;
  box-shadow:inset 3px 0 0 var(--sap-blue)!important;
}
body.ws-ui-v9.ws-sap-theme .nav-icon{
  width:28px!important;height:28px!important;min-width:28px!important;
  display:grid!important;place-items:center!important;
  color:#4f6375!important;font-size:14px!important;
}
body.ws-ui-v9.ws-sap-theme .active>.nav-icon,
body.ws-ui-v9.ws-sap-theme .nav-group.active>.nav-group-toggle .nav-icon{color:var(--sap-blue)!important}
body.ws-ui-v9.ws-sap-theme .nav-label{
  color:#6a6d70!important;font-size:9.5px!important;font-weight:700!important;
  text-transform:uppercase!important;letter-spacing:.06em!important;padding:12px 10px 5px!important;
}
body.ws-ui-v9.ws-sap-theme .nav-divider{border-color:#e5e7e9!important;margin:7px 5px!important}
body.ws-ui-v9.ws-sap-theme .nav-submenu{padding:2px 0 5px 38px!important}
body.ws-ui-v9.ws-sap-theme .nav-submenu a{
  min-height:31px!important;border-radius:4px!important;color:#4f5f6f!important;font-size:11px!important;padding:0 8px!important;
}
body.ws-ui-v9.ws-sap-theme .nav-submenu a:hover{background:#f2f3f4!important;color:#1d2d3e!important}
body.ws-ui-v9.ws-sap-theme .nav-submenu a.active{background:#edf5fc!important;color:#075aa8!important;font-weight:600!important}
body.ws-ui-v9.ws-sap-theme .nav-submenu a i{color:#698096!important}
body.ws-ui-v9.ws-sap-theme .sidebar-user{
  background:#fff!important;border-top:1px solid #e5e7e9!important;border-radius:0!important;padding:9px 10px!important;
}
body.ws-ui-v9.ws-sap-theme .sidebar-user .user-copy strong{color:#29313a!important;font-size:11.5px!important}
body.ws-ui-v9.ws-sap-theme .sidebar-user .user-copy small{color:#6a6d70!important;font-size:9.5px!important}
body.ws-ui-v9.ws-sap-theme .sidebar-user .logout{color:#52697d!important;background:transparent!important}
body.ws-ui-v9.ws-sap-theme .sidebar-user .logout:hover{background:#edf5fc!important;color:#0064d9!important}

body.ws-ui-v9.ws-sap-theme .workspace-topbar{
  height:48px!important;min-height:48px!important;
  background:#fff!important;
  border-bottom:1px solid #d5dadd!important;
  box-shadow:0 1px 2px rgba(34,54,73,.06)!important;
  padding:0 14px!important;
}
body.ws-ui-v9.ws-sap-theme .ws-topbar-context{
  height:32px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;
  color:#1d2d3e!important;font-size:13px!important;font-weight:600!important;
}
body.ws-ui-v9.ws-sap-theme .ws-topbar-context i{color:#52697d!important;font-size:13px!important}
body.ws-ui-v9.ws-sap-theme .topbar-search-launch{
  height:32px!important;border:0!important;background:transparent!important;border-radius:4px!important;color:#556b82!important;padding:0 9px!important;
}
body.ws-ui-v9.ws-sap-theme .topbar-search-launch:hover{background:#f2f3f4!important;color:#1d2d3e!important}
body.ws-ui-v9.ws-sap-theme .topbar-notification{
  width:34px!important;height:34px!important;border-radius:4px!important;border:0!important;color:#3f566d!important;background:transparent!important;
}
body.ws-ui-v9.ws-sap-theme .topbar-notification:hover{background:#edf5fc!important;color:#0064d9!important}
body.ws-ui-v9.ws-sap-theme .ws-user-menu-toggle{
  min-height:36px!important;border:0!important;border-radius:4px!important;background:transparent!important;padding:3px 6px!important;
}
body.ws-ui-v9.ws-sap-theme .ws-user-menu-toggle:hover{background:#f2f3f4!important}
body.ws-ui-v9.ws-sap-theme .topbar-user-copy strong{font-size:11px!important;color:#29313a!important}
body.ws-ui-v9.ws-sap-theme .topbar-user-copy small{font-size:9px!important;color:#6a6d70!important}
body.ws-ui-v9.ws-sap-theme .avatar{background:#eaf3fc!important;color:#075aa8!important;border:1px solid #cbdff2!important}
body.ws-ui-v9.ws-sap-theme .ws-user-dropdown{border-radius:6px!important;border:1px solid #cfd4d8!important;box-shadow:0 8px 24px rgba(34,54,73,.15)!important}

/* Global component language */
body.ws-ui-v9.ws-sap-theme .ws-card,
body.ws-ui-v9.ws-sap-theme .card,
body.ws-ui-v9.ws-sap-theme .panel,
body.ws-ui-v9.ws-sap-theme .content-card{
  border-radius:var(--sap-radius)!important;
  border-color:#d5dadd!important;
  box-shadow:var(--sap-shadow)!important;
}
body.ws-ui-v9.ws-sap-theme .btn{
  min-height:34px!important;border-radius:4px!important;font-size:11.5px!important;font-weight:600!important;box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme .btn-primary{background:var(--sap-blue)!important;border-color:var(--sap-blue)!important;color:#fff!important}
body.ws-ui-v9.ws-sap-theme .btn-primary:hover{background:#0057b8!important;border-color:#0057b8!important}
body.ws-ui-v9.ws-sap-theme .btn-outline-secondary,
body.ws-ui-v9.ws-sap-theme .btn-light{background:#fff!important;border-color:#89919a!important;color:#223548!important}
body.ws-ui-v9.ws-sap-theme .btn-outline-secondary:hover,
body.ws-ui-v9.ws-sap-theme .btn-light:hover{background:#f2f3f4!important;border-color:#5b6875!important}
body.ws-ui-v9.ws-sap-theme .form-control,
body.ws-ui-v9.ws-sap-theme .form-select{
  min-height:36px!important;border-radius:4px!important;border:1px solid #89919a!important;background:#fff!important;color:#32363a!important;font-size:12px!important;
  box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme .form-control:focus,
body.ws-ui-v9.ws-sap-theme .form-select:focus{border-color:#0070f2!important;box-shadow:0 0 0 1px #0070f2!important}
body.ws-ui-v9.ws-sap-theme .form-label{color:#32363a!important;font-size:11px!important;font-weight:600!important;margin-bottom:5px!important}
body.ws-ui-v9.ws-sap-theme .table{font-size:11.5px!important;color:#32363a!important}
body.ws-ui-v9.ws-sap-theme .table>thead>tr>th{background:#f7f7f7!important;color:#475a6c!important;font-size:10px!important;font-weight:700!important;border-color:#d9d9d9!important}
body.ws-ui-v9.ws-sap-theme .table>tbody>tr>td{border-color:#e5e7e9!important;vertical-align:middle!important}
body.ws-ui-v9.ws-sap-theme .table>tbody>tr:hover>*{background:#f5faff!important}
body.ws-ui-v9.ws-sap-theme .badge{border-radius:999px!important;font-size:9.5px!important;font-weight:700!important}
body.ws-ui-v9.ws-sap-theme .modal-content{border-radius:7px!important;border:1px solid #c9cdd1!important;box-shadow:0 20px 60px rgba(34,54,73,.22)!important}
body.ws-ui-v9.ws-sap-theme .modal-header{min-height:48px!important;border-bottom:1px solid #d9d9d9!important;padding:9px 14px!important}
body.ws-ui-v9.ws-sap-theme .modal-footer{border-top:1px solid #d9d9d9!important;padding:9px 14px!important}

/* Login */
body.ws-ui-v9.ws-sap-theme.ws-sap-login{
  min-height:100vh!important;
  background:linear-gradient(90deg,#edf3f8 0,#edf3f8 42%,#f7f8f9 42%,#f7f8f9 100%)!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-shell{min-height:100vh!important;padding:0!important;display:grid!important;place-items:stretch!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-stage{
  min-height:100vh!important;width:100%!important;display:grid!important;grid-template-columns:minmax(320px,42%) minmax(420px,58%)!important;
  align-items:stretch!important;justify-content:stretch!important;position:relative!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-stage:before{
  content:"WORKSPACE";display:flex;align-items:flex-end;padding:0 7vw 9vh;
  background:
    radial-gradient(circle at 26% 24%,rgba(0,112,242,.15),transparent 24%),
    linear-gradient(145deg,#e9f2f9,#dfeaf4 58%,#edf3f8);
  color:#6d8295;font-size:11px;font-weight:700;letter-spacing:.18em;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-card{
  align-self:center;justify-self:start;width:min(420px,calc(100% - 72px))!important;
  margin-left:clamp(42px,7vw,116px)!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-branding{text-align:left!important;margin-bottom:26px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-sap-login-kicker{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#5c7186;margin-bottom:16px}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-logo-link{justify-content:flex-start!important;min-height:auto!important;margin-bottom:20px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-official-logo{width:196px!important;max-width:100%!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-context-badge{
  display:inline-flex!important;margin:0 0 13px!important;padding:4px 8px!important;border:1px solid #b9d6f2!important;border-radius:999px!important;background:#eef6fc!important;color:#075aa8!important;font-size:9.5px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-branding h1{font-size:24px!important;font-weight:700!important;letter-spacing:-.025em!important;color:#1d2d3e!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-branding p{margin:7px 0 0!important;max-width:340px!important;color:#556b82!important;font-size:12px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-form{gap:15px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-field{gap:5px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-field .form-label{font-size:11px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-input>i{left:12px!important;color:#64798d!important;font-size:13px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-input .form-control{height:42px!important;min-height:42px!important;padding-left:36px!important;border-radius:5px!important;font-size:12.5px!important;background:#fff!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-submit{height:42px!important;min-height:42px!important;border-radius:5px!important;margin-top:3px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-security{margin-top:14px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;display:flex!important;gap:7px!important;align-items:flex-start!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-security>i{width:auto!important;height:auto!important;flex:0 0 auto!important;background:transparent!important;color:#5f7285!important;border-radius:0!important;font-size:11px!important;margin-top:1px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-security strong{display:none!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-security span{font-size:10px!important;line-height:1.45!important;color:#6b7d8f!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-footer{justify-content:flex-start!important;font-size:9.5px!important;border-top:0!important;padding-top:0!important;margin-top:20px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-help{position:absolute;left:42%;right:0;bottom:22px;margin:0!important;text-align:center!important;color:#708090!important;font-size:10px!important;pointer-events:none}

/* SAP Launchpad style home */
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .main-content{background:#f5f6f7!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-home-shell{max-width:1560px;margin:0 auto;padding:22px 24px 40px}
body.ws-ui-v9.ws-sap-theme .ws-sap-page-header{margin-bottom:17px}
body.ws-ui-v9.ws-sap-theme .ws-sap-breadcrumb{display:flex;align-items:center;gap:7px;color:#5f7285;font-size:10px;margin-bottom:7px}
body.ws-ui-v9.ws-sap-theme .ws-sap-breadcrumb i{font-size:10px}
body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row h1{margin:0;color:#1d2d3e;font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.02em}
body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row p{margin:5px 0 0;color:#556b82;font-size:11.5px;line-height:1.45}
body.ws-ui-v9.ws-sap-theme .ws-sap-personalize{gap:6px!important;white-space:nowrap}
body.ws-ui-v9.ws-sap-theme .ws-sap-home-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
body.ws-ui-v9.ws-sap-theme .ws-sap-home-main{min-width:0;display:grid;gap:15px}
body.ws-ui-v9.ws-sap-theme .ws-sap-search-panel{
  display:grid;grid-template-columns:minmax(190px,.7fr) minmax(320px,1.3fr);gap:20px;align-items:center;
  padding:14px 16px;border:1px solid #d5dadd;border-radius:7px;background:#fff;box-shadow:0 1px 2px rgba(34,54,73,.05);
}
body.ws-ui-v9.ws-sap-theme .ws-sap-search-copy span{display:block;color:#26394b;font-size:12px;font-weight:700}
body.ws-ui-v9.ws-sap-theme .ws-sap-search-copy small{display:block;margin-top:2px;color:#718294;font-size:9.8px}
body.ws-ui-v9.ws-sap-theme .ws-sap-global-search{margin:0!important;height:38px!important;border:1px solid #89919a!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-global-search:focus-within{border-color:#0070f2!important;box-shadow:0 0 0 1px #0070f2!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-global-search input{height:36px!important;font-size:11.5px!important}
body.ws-ui-v9.ws-sap-theme .ws-search-hint{border-radius:3px!important;background:#f2f3f4!important;border:1px solid #d9d9d9!important;color:#5f6b77!important;font-size:9px!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-app-group{
  padding:15px 16px 17px;border:1px solid #d5dadd;border-radius:7px;background:#fff;box-shadow:0 1px 2px rgba(34,54,73,.05);
}
body.ws-ui-v9.ws-sap-theme .ws-sap-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:11px;padding-bottom:9px;border-bottom:1px solid #eceff1}
body.ws-ui-v9.ws-sap-theme .ws-sap-section-eyebrow{display:block;color:#6a7b8d;font-size:8.5px;text-transform:uppercase;letter-spacing:.075em;font-weight:700;margin-bottom:2px}
body.ws-ui-v9.ws-sap-theme .ws-sap-group-head h2{margin:0;color:#25384a;font-size:14px;font-weight:700}
body.ws-ui-v9.ws-sap-theme .ws-sap-group-head p{margin:2px 0 0;color:#7b8996;font-size:9.5px}
body.ws-ui-v9.ws-sap-theme .ws-sap-link{display:inline-flex;align-items:center;gap:5px;color:#0064d9;font-size:10.5px;font-weight:600}
body.ws-ui-v9.ws-sap-theme .ws-sap-tile-grid{grid-template-columns:repeat(auto-fill,minmax(126px,1fr))!important;gap:8px!important}
body.ws-ui-v9.ws-sap-theme .shortcut-card,
body.ws-ui-v9.ws-sap-theme .simple-shortcut-card{
  min-height:92px!important;padding:11px 10px!important;border:1px solid #d9dfe3!important;border-radius:5px!important;background:#fff!important;box-shadow:none!important;
  align-items:flex-start!important;justify-content:flex-start!important;
}
body.ws-ui-v9.ws-sap-theme .shortcut-card:hover,
body.ws-ui-v9.ws-sap-theme .simple-shortcut-card:hover{border-color:#7aaee0!important;background:#f5faff!important;box-shadow:0 2px 7px rgba(34,84,128,.10)!important;transform:none!important}
body.ws-ui-v9.ws-sap-theme .shortcut-card .shortcut-icon,
body.ws-ui-v9.ws-sap-theme .shortcut-card .icon,
body.ws-ui-v9.ws-sap-theme .simple-shortcut-card .shortcut-icon{
  width:31px!important;height:31px!important;border-radius:4px!important;margin:0 0 9px!important;box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme .shortcut-card strong,
body.ws-ui-v9.ws-sap-theme .simple-shortcut-card strong{font-size:10.5px!important;line-height:1.28!important;color:#26394b!important;font-weight:600!important;text-align:left!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-add-tile{min-height:92px!important;border:1px dashed #aeb8c2!important;border-radius:5px!important;background:#fbfcfd!important;color:#4d6478!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-add-tile:hover{border-color:#0070f2!important;background:#f5faff!important;color:#0064d9!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-add-tile>span{width:30px!important;height:30px!important;border-radius:4px!important;background:#edf3f8!important;color:#4f6f8b!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-add-tile strong{font-size:10px!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-side-column{display:grid;gap:12px;position:sticky;top:65px}
body.ws-ui-v9.ws-sap-theme .ws-sap-side-card{border:1px solid #d5dadd;border-radius:7px;background:#fff;box-shadow:0 1px 2px rgba(34,54,73,.05);overflow:hidden}
body.ws-ui-v9.ws-sap-theme .ws-sap-side-card-head{min-height:38px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6e9eb;color:#34495d;font-size:10.5px;font-weight:700;background:#fafafa}
body.ws-ui-v9.ws-sap-theme .ws-sap-side-card-head a{color:#0064d9;font-size:9.5px;font-weight:600}
body.ws-ui-v9.ws-sap-theme .ws-sap-user-context>strong{display:block;padding:13px 13px 0;color:#26394b;font-size:13px}
body.ws-ui-v9.ws-sap-theme .ws-sap-user-context>p{margin:2px 13px 11px;color:#708090;font-size:10px}
body.ws-ui-v9.ws-sap-theme .ws-sap-user-context>a{display:flex;align-items:center;justify-content:space-between;padding:9px 13px;border-top:1px solid #eceff1;color:#0064d9;font-size:10px;font-weight:600}
body.ws-ui-v9.ws-sap-theme .ws-sap-updates .ws-home-news-list{padding:3px 0!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-updates .ws-home-news-item{grid-template-columns:28px 1fr!important;gap:8px!important;padding:10px 12px!important;border-radius:0!important;border-bottom:1px solid #eef0f2!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-updates .ws-home-news-item:last-child{border-bottom:0!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-updates .ws-home-news-item:hover{background:#f5faff!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-updates .ws-home-news-icon{width:28px!important;height:28px!important;border-radius:4px!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-updates .ws-home-news-copy strong{font-size:10.5px!important;color:#2d4052!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-updates .ws-home-news-copy small{font-size:9px!important;line-height:1.35!important;color:#708090!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-updates .ws-home-news-copy time{font-size:8.5px!important;color:#8a949e!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-empty{border:1px dashed #c8cdd2!important;border-radius:7px!important;background:#fff!important}

/* Responsive */
@media (max-width:1180px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-home-layout{grid-template-columns:1fr}
  body.ws-ui-v9.ws-sap-theme .ws-sap-side-column{position:static;grid-template-columns:1fr 1fr}
}
@media (max-width:820px){
  body.ws-ui-v9.ws-sap-theme.ws-sap-login{background:#f5f6f7!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-stage{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px 16px!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-stage:before{display:none!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-card{width:min(420px,100%)!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-help{position:static!important;margin-top:14px!important;pointer-events:auto}
  body.ws-ui-v9.ws-sap-theme .ws-sap-home-shell{padding:16px 14px 30px}
  body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row{align-items:flex-start}
  body.ws-ui-v9.ws-sap-theme .ws-sap-search-panel{grid-template-columns:1fr;gap:9px}
  body.ws-ui-v9.ws-sap-theme .ws-sap-side-column{grid-template-columns:1fr}
}
@media (max-width:560px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row{display:block}
  body.ws-ui-v9.ws-sap-theme .ws-sap-personalize{margin-top:10px}
  body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row h1{font-size:21px}
  body.ws-ui-v9.ws-sap-theme .ws-sap-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ws-ui-v9.ws-sap-theme .workspace-topbar{padding:0 8px!important}
  body.ws-ui-v9.ws-sap-theme .topbar-user-copy{display:none!important}
}

/* =========================================================
   v10.0.2 — Clean login + SAP shell header navigation
   ========================================================= */

/* Login: reduce visual/text density to the essentials. */
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-branding{margin-bottom:22px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-logo-link{margin-bottom:22px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-official-logo{width:190px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-branding h1{font-size:25px!important;line-height:1.2!important;margin:0!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-form{gap:14px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-fallback{margin-top:18px!important;text-align:left!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-fallback a{font-size:10.5px!important;color:#6f7f8f!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-stage:before{content:""!important;color:transparent!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-footer,
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-help,
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-security,
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-sap-login-kicker,
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-context-badge,
body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-branding p{display:none!important}

/* SAP-style top shell replaces the desktop side rail. */
body.ws-ui-v9.ws-sap-theme .app-shell.ws-sap-header-shell{display:block!important;min-height:100vh!important;background:var(--sap-bg)!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-header-main{
  margin-left:0!important;width:100%!important;max-width:none!important;padding:0 30px 76px!important;background:var(--sap-bg)!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-shellbar{
  height:52px!important;min-height:52px!important;margin:0 -30px!important;padding:0 24px!important;
  display:flex!important;align-items:center!important;gap:18px!important;background:#fff!important;border-bottom:1px solid #d5dadd!important;
  box-shadow:0 1px 2px rgba(34,54,73,.07)!important;position:sticky!important;top:0!important;z-index:1040!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-brand{display:flex;align-items:center;gap:11px;flex:0 0 auto;min-width:175px}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo{display:flex;align-items:center;justify-content:center;text-decoration:none}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo .ws-brand-logo-crop{width:31px!important;height:31px!important;border:0!important;border-radius:5px!important;background:#fff!important;overflow:hidden!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo .ws-brand-logo-crop img{height:31px!important;width:auto!important;max-width:none!important;display:block!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-divider{width:1px;height:22px;background:#dfe3e6}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-product{font-size:13px;font-weight:650;color:#223548;white-space:nowrap}

body.ws-ui-v9.ws-sap-theme .ws-sap-primary-nav{display:flex!important;align-items:stretch!important;gap:2px!important;min-width:0;flex:1 1 auto;height:52px}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item{
  position:relative;display:flex;align-items:center;justify-content:center;height:52px;padding:0 12px;border:0;background:transparent;color:#344b60;
  font-size:11.5px;font-weight:600;text-decoration:none;white-space:nowrap;border-radius:0!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item:hover{background:#f5f7f8;color:#0a6ed1}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item.active{color:#0a6ed1;background:#f7fbff}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item.active:after{content:"";position:absolute;left:9px;right:9px;bottom:0;height:3px;background:#0a6ed1;border-radius:2px 2px 0 0}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item.dropdown-toggle:after{margin-left:7px;border-width:4px 3.5px 0;vertical-align:middle}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-dropdown{height:52px;display:flex;align-items:stretch}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-badge{margin-left:6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#d04343;color:#fff;font-size:8.5px;display:inline-flex;align-items:center;justify-content:center}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-menu{
  margin-top:0!important;padding:6px!important;border:1px solid #cfd6dc!important;border-radius:4px!important;box-shadow:0 8px 20px rgba(34,54,73,.16)!important;min-width:205px!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-menu .dropdown-item{min-height:34px;display:flex;align-items:center;gap:9px;border-radius:3px;color:#26394b;font-size:11px;padding:7px 9px}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-menu .dropdown-item i{width:17px;color:#5b738b;text-align:center}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-menu .dropdown-item:hover{background:#edf5fc;color:#075aa8}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-menu .dropdown-item.active{background:#e7f2fb;color:#075aa8;font-weight:650}
body.ws-ui-v9.ws-sap-theme .ws-sap-admin-menu{width:min(720px,calc(100vw - 40px));padding:12px!important;display:none;grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px}
body.ws-ui-v9.ws-sap-theme .ws-sap-admin-menu.show{display:grid!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-admin-group{padding:3px 5px;min-width:0}
body.ws-ui-v9.ws-sap-theme .ws-sap-admin-group>span{display:block;padding:4px 8px 7px;color:#708090;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.055em}
body.ws-ui-v9.ws-sap-theme .ws-sap-admin-group .dropdown-item{white-space:normal}

body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions{display:flex!important;align-items:center!important;gap:2px!important;flex:0 0 auto;margin-left:auto}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions .topbar-notification{width:34px!important;height:34px!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions .ws-user-menu-toggle{padding:2px 5px!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions .topbar-user-copy strong{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ws-ui-v9.ws-sap-theme .ws-sap-mobile-nav-toggle{display:none;border:0;background:transparent;color:#344b60;width:36px;height:36px;border-radius:4px;font-size:20px;align-items:center;justify-content:center}
body.ws-ui-v9.ws-sap-theme .ws-sap-mobile-nav-toggle:hover{background:#edf5fc;color:#0a6ed1}

/* Home becomes a cleaner launchpad below the shell navigation. */
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-breadcrumb{display:none!important}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-page-title-row p{max-width:680px}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-shell{padding-top:20px!important}

@media (max-width:1100px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-header-main{margin-left:0!important;width:100%!important;padding:0 18px 64px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shellbar{margin:0 -18px!important;padding:0 14px!important;gap:8px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-brand{min-width:auto}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-product{display:none}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-divider{display:none}
  body.ws-ui-v9.ws-sap-theme .ws-sap-mobile-nav-toggle{display:flex!important;order:2}
  body.ws-ui-v9.ws-sap-theme .ws-sap-primary-nav{
    display:none!important;position:absolute;left:0;right:0;top:51px;height:auto;max-height:calc(100vh - 52px);overflow:auto;background:#fff;border-bottom:1px solid #d5dadd;
    box-shadow:0 10px 24px rgba(34,54,73,.14);padding:8px 12px 14px;flex-direction:column;align-items:stretch!important;gap:2px!important;
  }
  body.ws-ui-v9.ws-sap-theme .ws-sap-primary-nav.show{display:flex!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item{height:40px;justify-content:flex-start;padding:0 12px;border-radius:4px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item.active:after{left:0;right:auto;top:8px;bottom:8px;width:3px;height:auto;border-radius:0 2px 2px 0}
  body.ws-ui-v9.ws-sap-theme .ws-sap-nav-dropdown{height:auto;display:block}
  body.ws-ui-v9.ws-sap-theme .ws-sap-nav-dropdown>.ws-sap-nav-item{width:100%;justify-content:space-between}
  body.ws-ui-v9.ws-sap-theme .ws-sap-nav-menu{position:static!important;transform:none!important;float:none!important;box-shadow:none!important;border:0!important;border-left:1px solid #d5dadd!important;border-radius:0!important;margin:0 0 4px 16px!important;padding:2px 0 2px 8px!important;width:auto!important;min-width:0!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-admin-menu.show{display:block!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-admin-group>span{padding-top:9px}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions{order:3}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-brand{order:1}
}

@media (max-width:620px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-header-main{padding:0 12px 52px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shellbar{margin:0 -12px!important;padding:0 8px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions>a:first-child{display:none!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions .topbar-user-copy{display:none!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-login .ws-login-stage{padding:24px 22px!important}
}


/* v10.0.3 — launchpad shortcut tiles: larger centered icons */
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-tile-grid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr))!important;gap:12px!important}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .shortcut-card,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .simple-shortcut,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .simple-shortcut-card{
  min-height:132px!important;
  padding:0!important;
  border-radius:8px!important;
  align-items:stretch!important;
  justify-content:stretch!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .shortcut-card > a,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .simple-shortcut-link,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .simple-shortcut-card > a{
  min-height:132px!important;
  height:100%!important;
  padding:16px 12px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  text-align:center!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .shortcut-card .shortcut-icon,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .shortcut-card .icon,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .simple-shortcut-link .tool-icon,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .simple-shortcut-card .shortcut-icon{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  border-radius:14px!important;
  margin:0 auto!important;
  font-size:24px!important;
  display:grid!important;
  place-items:center!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .shortcut-card strong,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .simple-shortcut-link strong,
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .simple-shortcut-card strong{
  display:block!important;
  width:100%!important;
  margin:0!important;
  font-size:12px!important;
  line-height:1.35!important;
  text-align:center!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-add-tile{
  min-height:132px!important;
  gap:12px!important;
  border-radius:8px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-add-tile > span{
  width:52px!important;
  height:52px!important;
  border-radius:14px!important;
  font-size:20px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-add-tile strong{
  font-size:12px!important;
  text-align:center!important;
}

/* v10.0.4 — SAP launchpad home hierarchy & side context polish */
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-shell{
  max-width:1540px!important;
  padding-top:24px!important;
  padding-bottom:52px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-page-header{margin-bottom:18px!important}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-page-title-row{align-items:center!important}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-page-title-row h1{
  font-size:26px!important;
  font-weight:700!important;
  letter-spacing:-.025em!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-page-title-row p{
  margin-top:6px!important;
  font-size:11.5px!important;
  color:#607487!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-layout{
  grid-template-columns:minmax(0,1fr) 286px!important;
  gap:22px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-main{gap:18px!important}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-search-panel{
  padding:13px 16px!important;
  border-color:#dfe3e7!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-search-copy span{font-size:12.5px!important}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-app-group{
  padding:18px 16px 20px!important;
  border-color:#dfe3e7!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-group-head{
  align-items:center!important;
  margin-bottom:16px!important;
  padding-bottom:11px!important;
  border-bottom-color:#edf0f2!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-group-head h2{
  font-size:15.5px!important;
  color:#203548!important;
  letter-spacing:-.01em!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-group-head p{
  margin-top:3px!important;
  font-size:10px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-section-eyebrow{
  font-size:8px!important;
  letter-spacing:.09em!important;
  color:#82909d!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-side-column{
  gap:14px!important;
  top:68px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-side-card{
  border-color:#dfe3e7!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-side-card-head{
  min-height:40px!important;
  padding:0 14px!important;
  background:#fff!important;
  border-bottom-color:#edf0f2!important;
  color:#30465a!important;
  font-size:10.5px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-user-context>strong{
  padding:15px 14px 0!important;
  font-size:13.5px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-user-context>p{
  margin:3px 14px 13px!important;
  font-size:10px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-user-context>a{
  padding:10px 14px!important;
  background:#fafbfd!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-updates .ws-home-news-item{
  padding:12px 14px!important;
  gap:10px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-updates .ws-home-news-icon{
  width:30px!important;
  height:30px!important;
  border-radius:7px!important;
}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-updates .ws-home-news-copy strong{font-size:11px!important}
body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-updates .ws-home-news-copy small{margin-top:2px!important}
@media(max-width:1100px){
  body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-home-layout{grid-template-columns:1fr!important}
  body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-side-column{position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  body.ws-ui-v9.ws-sap-theme.workspace-home-v9 .ws-sap-side-column{grid-template-columns:1fr!important}
}


/* v10.1.0 — SAP/Fiori List Report foundation (Customers + Quotations) */
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report{background:#f5f6f7!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .main-content{background:#f5f6f7!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-report{max-width:1440px!important;margin:0 auto!important;padding:24px 28px 56px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-header{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:28px!important;
  margin:0 0 18px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important
}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-header h1{margin:4px 0 5px!important;font-size:24px!important;line-height:1.2!important;font-weight:700!important;color:#1d2d3e!important;letter-spacing:-.02em!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-header p{margin:0!important;max-width:760px!important;font-size:12px!important;line-height:1.5!important;color:#5f6f7f!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-page-context{display:flex!important;align-items:center!important;gap:6px!important;margin:0 0 4px!important;color:#6a7b8c!important;font-size:10px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-meta,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 16px!important;margin-top:9px!important;color:#66788a!important;font-size:10px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-meta span,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-meta span{display:inline-flex!important;align-items:center!important;gap:5px!important;background:transparent!important;border:0!important;padding:0!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-header-actions,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-header-actions{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;margin-top:4px!important}

body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-result-card{
  border:1px solid #d5dadd!important;border-radius:7px!important;background:#fff!important;box-shadow:0 1px 2px rgba(34,54,73,.045)!important;overflow:visible!important
}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-filterbar{
  min-height:62px!important;padding:11px 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  border-bottom:1px solid #e4e8eb!important;background:#fafbfc!important;border-radius:7px 7px 0 0!important
}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search{display:flex!important;align-items:center!important;gap:8px!important;flex:1 1 auto!important;max-width:680px!important;margin:0!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search-box,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search-box{position:relative!important;flex:1!important;min-width:260px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search-box>i,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search-box>i{position:absolute!important;left:11px!important;top:50%!important;transform:translateY(-50%)!important;color:#63788d!important;font-size:13px!important;z-index:2!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search-box .form-control,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search-box .form-control{height:36px!important;padding:6px 34px 6px 34px!important;border:1px solid #8996a3!important;border-radius:4px!important;background:#fff!important;color:#24384b!important;font-size:12px!important;box-shadow:none!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search-box .form-control:focus,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search-box .form-control:focus{border-color:#0070f2!important;box-shadow:0 0 0 1px #0070f2!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-search-clear{right:10px!important;top:50%!important;transform:translateY(-50%)!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-toolbar-side,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-toolbar-info{display:flex!important;align-items:center!important;gap:8px!important;color:#607487!important;font-size:10px!important;white-space:nowrap!important}

body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table-wrap{overflow:auto!important;border-radius:0!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table{margin:0!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important;font-size:11.5px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table thead th{
  position:sticky!important;top:0!important;z-index:2!important;height:38px!important;padding:8px 12px!important;
  border:0!important;border-bottom:1px solid #d9dfe3!important;background:#f7f8f9!important;color:#475b6f!important;
  font-size:10px!important;font-weight:700!important;letter-spacing:.01em!important;text-transform:none!important;vertical-align:middle!important
}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table tbody td{height:54px!important;padding:8px 12px!important;border:0!important;border-bottom:1px solid #edf0f2!important;background:#fff!important;vertical-align:middle!important;color:#2b4054!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table tbody tr:last-child td{border-bottom:0!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table tbody tr:hover td{background:#f5faff!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-avatar,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quote-customer-avatar,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-doc{width:32px!important;height:32px!important;min-width:32px!important;border-radius:5px!important;display:grid!important;place-items:center!important;font-size:11px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-copy strong,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-copy>a{font-size:11.5px!important;font-weight:650!important;color:#1f3b57!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-copy span,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-copy span,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-table-secondary,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-origin-user{font-size:9.5px!important;color:#718296!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-status-pill,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quote-status,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-origin-pill,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-code-chip{min-height:22px!important;padding:3px 8px!important;border-radius:999px!important;font-size:9.5px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-row-actions,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-row-primary{height:28px!important;padding:4px 9px!important;border-radius:4px!important;font-size:10px!important;gap:4px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-row-more{width:28px!important;height:28px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:4px!important}

body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table-footer{
  min-height:48px!important;padding:9px 14px!important;border-top:1px solid #e4e8eb!important;background:#fafbfc!important;border-radius:0 0 7px 7px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;color:#657789!important;font-size:10px!important
}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-pagination,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-pagination{display:flex!important;align-items:center!important;gap:8px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-filter-banner{margin:0 0 12px!important;padding:9px 12px!important;border:1px solid #b7d5f5!important;border-radius:5px!important;background:#eef7ff!important;box-shadow:none!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-empty,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-empty{padding:52px 20px!important;text-align:center!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-empty-icon{width:42px!important;height:42px!important;border-radius:8px!important;margin:0 auto 12px!important;display:grid!important;place-items:center!important;background:#edf3f8!important;color:#4b6f8f!important;font-size:18px!important}

@media(max-width:900px){
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-report{padding:18px 14px 42px!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-header{flex-direction:column!important;gap:12px!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-header-actions,
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-header-actions{width:100%!important;justify-content:flex-start!important;margin:0!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-filterbar{align-items:stretch!important;flex-direction:column!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search,
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search{max-width:none!important;width:100%!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table{min-width:860px!important}
}
@media(max-width:560px){
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-header h1{font-size:21px!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search,
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search{flex-wrap:wrap!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search-box,
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search-box{min-width:100%!important}
 body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table-footer{align-items:flex-start!important;flex-direction:column!important}
}


/* =========================================================
   v10.2.0 — SAP/Fiori List Report Phase 2
   Administration + Knowledge + Operations
   ========================================================= */
body.ws-ui-v9.ws-sap-theme .enterprise-page.ws-admin-page,
body.ws-ui-v9.ws-sap-theme .ws-admin-shell,
body.ws-ui-v9.ws-sap-theme .content-page-v9,
body.ws-ui-v9.ws-sap-theme .notifications-page-v9,
body.ws-ui-v9.ws-sap-theme .services-page-v9{
  max-width:1460px!important;
  margin:0 auto!important;
}

/* Object/list page header */
body.ws-ui-v9.ws-sap-theme .enterprise-page .page-header,
body.ws-ui-v9.ws-sap-theme .ws-admin-shell .page-header,
body.ws-ui-v9.ws-sap-theme .content-page-head,
body.ws-ui-v9.ws-sap-theme .notifications-page-v9 .content-page-head,
body.ws-ui-v9.ws-sap-theme .services-page-v9 .content-page-head{
  min-height:auto!important;
  margin:0 0 16px!important;
  padding:22px 0 14px!important;
  border-bottom:1px solid #d9dfe3!important;
  background:transparent!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:20px!important;
}
body.ws-ui-v9.ws-sap-theme .enterprise-page .page-header h1,
body.ws-ui-v9.ws-sap-theme .ws-admin-shell .page-header h1,
body.ws-ui-v9.ws-sap-theme .content-page-head h1,
body.ws-ui-v9.ws-sap-theme .content-page-head .ws-page-title{
  margin:2px 0 3px!important;
  color:#1d2d3e!important;
  font-size:22px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
}
body.ws-ui-v9.ws-sap-theme .enterprise-page .page-header p,
body.ws-ui-v9.ws-sap-theme .ws-admin-shell .page-header p,
body.ws-ui-v9.ws-sap-theme .content-page-head p,
body.ws-ui-v9.ws-sap-theme .ws-page-subtitle{
  margin:0!important;color:#64798c!important;font-size:11.5px!important;line-height:1.45!important;
}
body.ws-ui-v9.ws-sap-theme .enterprise-page .section-kicker,
body.ws-ui-v9.ws-sap-theme .ws-kicker{
  color:#536b7f!important;font-size:9.5px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;
}

/* SAP filter bar */
body.ws-ui-v9.ws-sap-theme .data-toolbar,
body.ws-ui-v9.ws-sap-theme .content-admin-toolbar,
body.ws-ui-v9.ws-sap-theme .admin-inline-filter,
body.ws-ui-v9.ws-sap-theme .content-toolbar{
  min-height:54px!important;
  padding:9px 12px!important;
  border:0!important;
  border-bottom:1px solid #e4e9ed!important;
  background:#f7f9fa!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
body.ws-ui-v9.ws-sap-theme .toolbar-search,
body.ws-ui-v9.ws-sap-theme .ws-search-group{
  min-width:260px!important;max-width:440px!important;flex:1 1 300px!important;
}
body.ws-ui-v9.ws-sap-theme .toolbar-search input,
body.ws-ui-v9.ws-sap-theme .toolbar-select,
body.ws-ui-v9.ws-sap-theme .data-toolbar input,
body.ws-ui-v9.ws-sap-theme .data-toolbar select,
body.ws-ui-v9.ws-sap-theme .admin-inline-filter select,
body.ws-ui-v9.ws-sap-theme .admin-inline-filter input{
  min-height:34px!important;height:34px!important;border:1px solid #8996a3!important;border-radius:4px!important;background:#fff!important;font-size:11px!important;color:#1d2d3e!important;
}
body.ws-ui-v9.ws-sap-theme .toolbar-meta,
body.ws-ui-v9.ws-sap-theme .ws-count-pill{
  margin-left:auto!important;border:0!important;background:transparent!important;color:#536b7f!important;font-size:10.5px!important;font-weight:600!important;
}

/* List report surface */
body.ws-ui-v9.ws-sap-theme .data-card,
body.ws-ui-v9.ws-sap-theme .admin-data-card,
body.ws-ui-v9.ws-sap-theme .notification-list-v9{
  border:1px solid #d9dfe3!important;
  border-radius:6px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.ws-ui-v9.ws-sap-theme .table-wrap,
body.ws-ui-v9.ws-sap-theme .table-responsive{overflow:auto!important;max-width:100%!important}
body.ws-ui-v9.ws-sap-theme .data-table,
body.ws-ui-v9.ws-sap-theme .admin-table-v9{
  width:100%!important;margin:0!important;border-collapse:separate!important;border-spacing:0!important;font-size:11px!important;
}
body.ws-ui-v9.ws-sap-theme .data-table thead th,
body.ws-ui-v9.ws-sap-theme .admin-table-v9 thead th{
  position:sticky!important;top:0!important;z-index:2!important;
  height:38px!important;padding:0 12px!important;border-bottom:1px solid #c9d1d8!important;background:#f7f9fa!important;
  color:#41586d!important;font-size:9.5px!important;font-weight:700!important;letter-spacing:.02em!important;text-transform:none!important;vertical-align:middle!important;
}
body.ws-ui-v9.ws-sap-theme .data-table tbody td,
body.ws-ui-v9.ws-sap-theme .admin-table-v9 tbody td{
  min-height:44px!important;padding:9px 12px!important;border-bottom:1px solid #edf0f2!important;color:#25384a!important;vertical-align:middle!important;background:#fff!important;
}
body.ws-ui-v9.ws-sap-theme .data-table tbody tr:hover td,
body.ws-ui-v9.ws-sap-theme .admin-table-v9 tbody tr:hover td{background:#f5faff!important}
body.ws-ui-v9.ws-sap-theme .data-table tbody tr:last-child td,
body.ws-ui-v9.ws-sap-theme .admin-table-v9 tbody tr:last-child td{border-bottom:0!important}
body.ws-ui-v9.ws-sap-theme .row-title{display:flex!important;align-items:center!important;gap:9px!important}
body.ws-ui-v9.ws-sap-theme .row-title-copy strong{font-size:11.5px!important;color:#1d2d3e!important;font-weight:650!important}
body.ws-ui-v9.ws-sap-theme .row-title-copy small,
body.ws-ui-v9.ws-sap-theme .table-subtext{display:block!important;margin-top:2px!important;color:#71869a!important;font-size:9.5px!important;line-height:1.3!important}
body.ws-ui-v9.ws-sap-theme .table-avatar{width:30px!important;height:30px!important;font-size:10px!important;border-radius:50%!important}

/* Semantic statuses */
body.ws-ui-v9.ws-sap-theme .status,
body.ws-ui-v9.ws-sap-theme .ws-badge,
body.ws-ui-v9.ws-sap-theme .role-badge,
body.ws-ui-v9.ws-sap-theme .sync-pill,
body.ws-ui-v9.ws-sap-theme .identity-pill,
body.ws-ui-v9.ws-sap-theme .group-pill{
  min-height:22px!important;padding:3px 7px!important;border-radius:11px!important;font-size:9.5px!important;font-weight:600!important;line-height:1.15!important;box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme .status.active{background:#eaf7ed!important;color:#256f3a!important}
body.ws-ui-v9.ws-sap-theme .status.inactive{background:#f1f3f4!important;color:#5b6873!important}
body.ws-ui-v9.ws-sap-theme .row-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;white-space:nowrap!important}
body.ws-ui-v9.ws-sap-theme .row-actions .text-action{
  min-height:28px!important;padding:5px 8px!important;border-radius:4px!important;color:#0064d9!important;font-size:10px!important;font-weight:600!important;text-decoration:none!important;background:transparent!important;border:0!important;
}
body.ws-ui-v9.ws-sap-theme .row-actions .text-action:hover{background:#eaf3fc!important;color:#004f9f!important}
body.ws-ui-v9.ws-sap-theme .row-actions .text-action.danger{color:#aa0808!important}

/* Admin documents: remove dashboard-like metric emphasis; keep operational context */
body.ws-ui-v9.ws-sap-theme .content-admin-shell .metrics-grid,
body.ws-ui-v9.ws-sap-theme .content-admin-shell .metric-grid,
body.ws-ui-v9.ws-sap-theme .content-admin-shell .admin-metrics,
body.ws-ui-v9.ws-sap-theme .content-admin-shell .stats-grid{
  gap:8px!important;margin:0 0 12px!important;
}
body.ws-ui-v9.ws-sap-theme .content-admin-shell .metric-card,
body.ws-ui-v9.ws-sap-theme .ws-metric-card{
  min-height:58px!important;padding:10px 12px!important;border:1px solid #e2e7eb!important;border-radius:5px!important;box-shadow:none!important;background:#fff!important;
}
body.ws-ui-v9.ws-sap-theme .metric-card strong,
body.ws-ui-v9.ws-sap-theme .ws-metric-card strong{font-size:15px!important;color:#1d2d3e!important}
body.ws-ui-v9.ws-sap-theme .metric-card small,
body.ws-ui-v9.ws-sap-theme .ws-metric-card small{font-size:9.5px!important;color:#71869a!important}

/* Public Documents — Fiori content list rhythm */
body.ws-ui-v9.ws-sap-theme .content-toolbar-card{border:1px solid #d9dfe3!important;border-radius:6px!important;box-shadow:none!important;margin-bottom:14px!important}
body.ws-ui-v9.ws-sap-theme .resource-filter-chips{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important}
body.ws-ui-v9.ws-sap-theme .filter-chip{min-height:28px!important;padding:4px 9px!important;border-radius:14px!important;border:1px solid #b9c3cc!important;background:#fff!important;color:#41586d!important;font-size:9.5px!important}
body.ws-ui-v9.ws-sap-theme .filter-chip.active{border-color:#0070f2!important;background:#eaf3fc!important;color:#0057b8!important}
body.ws-ui-v9.ws-sap-theme .document-card-v9{border:1px solid #d9dfe3!important;border-radius:6px!important;box-shadow:none!important;transition:border-color .14s ease,background .14s ease!important}
body.ws-ui-v9.ws-sap-theme .document-card-v9:hover{border-color:#7aaee0!important;background:#f8fbfe!important;transform:none!important}

/* Newsroom: cleaner Fiori cards, less marketing-like */
body.ws-ui-v9.ws-sap-theme .news-feature-v9,
body.ws-ui-v9.ws-sap-theme .news-latest-v9,
body.ws-ui-v9.ws-sap-theme .news-card-v9{border:1px solid #d9dfe3!important;border-radius:6px!important;box-shadow:none!important}
body.ws-ui-v9.ws-sap-theme .news-card-v9:hover{border-color:#7aaee0!important;box-shadow:none!important;transform:none!important}
body.ws-ui-v9.ws-sap-theme .news-search-wrap{max-width:420px!important}

/* Notifications — SAP inbox rows */
body.ws-ui-v9.ws-sap-theme .notification-list-v9{display:block!important}
body.ws-ui-v9.ws-sap-theme .notification-item-v9,
body.ws-ui-v9.ws-sap-theme .notification-row-v9{
  border-bottom:1px solid #edf0f2!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;
}
body.ws-ui-v9.ws-sap-theme .notification-item-v9:hover,
body.ws-ui-v9.ws-sap-theme .notification-row-v9:hover{background:#f5faff!important}

/* Services — operational status list instead of dashboard cards */
body.ws-ui-v9.ws-sap-theme .service-grid-v9,
body.ws-ui-v9.ws-sap-theme .services-grid-v9{grid-template-columns:1fr!important;gap:0!important;border:1px solid #d9dfe3!important;border-radius:6px!important;overflow:hidden!important;background:#fff!important}
body.ws-ui-v9.ws-sap-theme .service-card-v9{margin:0!important;border:0!important;border-bottom:1px solid #edf0f2!important;border-radius:0!important;box-shadow:none!important;padding:12px 14px!important;background:#fff!important}
body.ws-ui-v9.ws-sap-theme .service-card-v9:last-child{border-bottom:0!important}
body.ws-ui-v9.ws-sap-theme .service-card-v9:hover{background:#f8fbfe!important;transform:none!important}

/* Modal and create/edit consistency */
body.ws-ui-v9.ws-sap-theme .ws-modal-dialog,
body.ws-ui-v9.ws-sap-theme .modal-dialog{border-radius:6px!important;box-shadow:0 12px 36px rgba(34,54,73,.20)!important}
body.ws-ui-v9.ws-sap-theme .modal-head{min-height:54px!important;padding:12px 16px!important;border-bottom:1px solid #d9dfe3!important;background:#fff!important}
body.ws-ui-v9.ws-sap-theme .modal-head h2{font-size:16px!important;color:#1d2d3e!important}
body.ws-ui-v9.ws-sap-theme .modal-head p{font-size:10px!important;color:#71869a!important}
body.ws-ui-v9.ws-sap-theme .modal-body{padding:16px!important}
body.ws-ui-v9.ws-sap-theme .modal-footer{min-height:52px!important;padding:9px 16px!important;border-top:1px solid #d9dfe3!important;background:#f7f9fa!important}

@media (max-width:760px){
  body.ws-ui-v9.ws-sap-theme .enterprise-page .page-header,
  body.ws-ui-v9.ws-sap-theme .ws-admin-shell .page-header,
  body.ws-ui-v9.ws-sap-theme .content-page-head{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
  body.ws-ui-v9.ws-sap-theme .page-actions{width:100%!important;display:flex!important;gap:6px!important;flex-wrap:wrap!important}
  body.ws-ui-v9.ws-sap-theme .page-actions .btn{flex:1 1 auto!important}
  body.ws-ui-v9.ws-sap-theme .toolbar-search,
  body.ws-ui-v9.ws-sap-theme .ws-search-group{max-width:none!important;width:100%!important;flex-basis:100%!important}
  body.ws-ui-v9.ws-sap-theme .toolbar-meta{margin-left:0!important;width:100%!important}
}


/* ========================================================================== 
   v10.3.0 — SAP/Fiori Form & Object Page Foundation
   ========================================================================== */
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page{
  --sap-form-border:#d5dadd;
  --sap-form-divider:#e6e9eb;
  --sap-form-muted:#5f6b75;
  --sap-form-title:#1d2d3e;
  --sap-form-surface:#fff;
  --sap-form-soft:#f7f9fa;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .enterprise-page,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .erp-page{
  max-width:1440px!important;
  margin:0 auto!important;
  padding-top:22px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .page-header,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-page-header,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-create-header,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-create-header{
  min-height:auto!important;
  margin:0 0 18px!important;
  padding:0 0 15px!important;
  border-bottom:1px solid var(--sap-form-border)!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .page-header h1,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-create-header h1,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-create-header h1{
  color:var(--sap-form-title)!important;
  font-size:24px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .page-header p,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-create-header p,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-create-header p{
  color:var(--sap-form-muted)!important;
  font-size:12px!important;
  line-height:1.55!important;
  max-width:760px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .section-kicker,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-section-kicker,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .settings-step{
  color:#556b7d!important;
  font-size:10px!important;
  font-weight:700!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}

/* Fiori form sections are flat object-page sections instead of floating cards. */
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-form-card,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .settings-card{
  border:1px solid var(--sap-form-border)!important;
  border-radius:6px!important;
  background:var(--sap-form-surface)!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-card-header,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card>header,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .settings-card>header{
  min-height:auto!important;
  padding:14px 16px!important;
  border-bottom:1px solid var(--sap-form-divider)!important;
  background:#fafafa!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-card-header h2,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card>header h2,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .settings-card>header h3{
  margin:2px 0 0!important;
  color:#26394b!important;
  font-size:14px!important;
  font-weight:700!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-card-header p,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card>header p,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .settings-card>header p{
  margin:4px 0 0!important;
  color:#6a7782!important;
  font-size:10.5px!important;
  line-height:1.45!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-card-body,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card-body,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .settings-card:not(.no-pad){
  --sap-section-pad:16px;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-card-body,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card-body{
  padding:16px!important;
}

/* Inputs: SAP compact/cozy density. */
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .form-control,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page select,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page textarea{
  border-color:#89919a!important;
  border-radius:4px!important;
  box-shadow:none!important;
  background:#fff!important;
  color:#1d2d3e!important;
  font-size:12px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page select{
  min-height:36px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .form-control:focus,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page input:focus,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page select:focus,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page textarea:focus{
  border-color:#0070f2!important;
  box-shadow:0 0 0 1px #0070f2!important;
  outline:0!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page label,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-label-row label{
  color:#364a5e!important;
  font-size:11px!important;
  font-weight:600!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page small,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .form-help{
  color:#6a7782!important;
  font-size:9.5px!important;
  line-height:1.45!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-label-row{margin-bottom:5px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-field{gap:4px!important}

/* Customer guided-create */
body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-create-layout{
  grid-template-columns:minmax(0,1fr) 270px!important;
  gap:16px!important;
  align-items:start!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-create-main{display:grid!important;gap:12px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-create-aside{display:grid!important;gap:10px!important;position:sticky!important;top:72px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-aside-card{
  border:1px solid var(--sap-form-border)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;padding:13px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-workflow-step{min-height:42px!important;padding:7px 0!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-workflow-step>span{width:24px!important;height:24px!important;font-size:10px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-submitbar{
  position:sticky!important;bottom:0!important;z-index:20!important;margin-top:16px!important;padding:10px 14px!important;
  border:1px solid var(--sap-form-border)!important;border-radius:6px 6px 0 0!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(8px)!important;box-shadow:0 -2px 8px rgba(34,54,73,.06)!important;
}

/* Quotation guided form: visually behaves like SAP object-page sections. */
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-composer-grid{
  grid-template-columns:minmax(0,1fr) 285px!important;gap:16px!important;align-items:start!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-editor-column{display:grid!important;gap:12px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-summary-column{position:sticky!important;top:72px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .sap-summary-card{
  border:1px solid var(--sap-form-border)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-line-table-head{
  min-height:34px!important;background:#f2f4f5!important;border-bottom:1px solid #d5dadd!important;color:#475b6d!important;font-size:10px!important;font-weight:700!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-composer-line{
  border-bottom:1px solid #e6e9eb!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-source-option{
  min-height:30px!important;border-radius:3px!important;font-size:10px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-source-option.active{background:#eaf4ff!important;color:#0064d9!important;border-color:#0070f2!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-rich-editor{border-radius:4px!important;border-color:#89919a!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-rich-toolbar{background:#f7f9fa!important;border-bottom:1px solid #d5dadd!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-composer-submitbar{
  position:sticky!important;bottom:0!important;z-index:25!important;border-radius:6px 6px 0 0!important;border:1px solid var(--sap-form-border)!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -2px 8px rgba(34,54,73,.06)!important;
}

/* User/Role edit dialogs use a consistent Fiori form-dialog pattern. */
body.ws-ui-v9.ws-sap-theme.ws-sap-users-admin .ws-modal-dialog,
body.ws-ui-v9.ws-sap-theme.ws-sap-roles-admin .ws-modal-dialog{
  width:min(640px,calc(100vw - 32px))!important;border-radius:6px!important;border:1px solid #bcc3c8!important;box-shadow:0 10px 30px rgba(34,54,73,.18)!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-users-admin .modal-head,
body.ws-ui-v9.ws-sap-theme.ws-sap-roles-admin .modal-head{
  min-height:54px!important;padding:12px 16px!important;background:#fff!important;border-bottom:1px solid #d5dadd!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-users-admin .modal-head h2,
body.ws-ui-v9.ws-sap-theme.ws-sap-roles-admin .modal-head h2{font-size:16px!important;color:#1d2d3e!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-users-admin .modal-body,
body.ws-ui-v9.ws-sap-theme.ws-sap-roles-admin .modal-body{padding:16px!important;background:#fff!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-users-admin .modal-actions,
body.ws-ui-v9.ws-sap-theme.ws-sap-roles-admin .modal-actions{padding:10px 16px!important;border-top:1px solid #d5dadd!important;background:#fafafa!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-users-admin .stack-form,
body.ws-ui-v9.ws-sap-theme.ws-sap-roles-admin .stack-form{display:grid!important;gap:12px!important}

/* Integration settings as SAP object page. */
body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .integration-layout{
  grid-template-columns:minmax(0,1fr) 280px!important;gap:16px!important;align-items:start!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .integration-main{display:grid!important;gap:12px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .integration-side{display:grid!important;gap:10px!important;position:sticky!important;top:72px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .side-card{
  border:1px solid #d5dadd!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;padding:13px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .settings-grid{gap:12px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .settings-savebar{
  position:sticky!important;bottom:0!important;z-index:25!important;padding:10px 14px!important;border:1px solid #d5dadd!important;border-radius:6px 6px 0 0!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -2px 8px rgba(34,54,73,.06)!important;
}

/* Action hierarchy — one visual primary action, secondary buttons remain neutral. */
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .btn-primary{
  background:#0070f2!important;border-color:#0070f2!important;border-radius:4px!important;box-shadow:none!important;font-weight:600!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .btn-outline-secondary,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .btn-outline-primary{
  border-radius:4px!important;box-shadow:none!important;font-weight:600!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-btn{min-height:34px!important;font-size:11px!important}

@media(max-width:1100px){
  body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-create-layout,
  body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-composer-grid,
  body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .integration-layout{grid-template-columns:1fr!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-create-aside,
  body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-summary-column,
  body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .integration-side{position:static!important}
}
@media(max-width:620px){
  body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .enterprise-page,
  body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .erp-page{padding-top:14px!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-card-body,
  body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card-body{padding:12px!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-card-header,
  body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card>header,
  body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .settings-card>header{padding:12px!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-submitbar,
  body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-composer-submitbar,
  body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .settings-savebar{margin-left:-4px!important;margin-right:-4px!important;border-radius:4px 4px 0 0!important}
}


/* v10.4.0 — SAP/Fiori Object Page detail foundation */
body.ws-ui-v9.ws-sap-theme .ws-object-link{color:#0a6ed1!important;text-decoration:none!important;font-weight:inherit}
body.ws-ui-v9.ws-sap-theme .ws-object-link:hover{text-decoration:underline!important}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-header{display:flex;align-items:flex-start;gap:16px;padding:18px 20px;border:1px solid #d5dadd;background:#fff;border-radius:7px;box-shadow:0 1px 2px rgba(34,54,73,.04)}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-avatar{width:48px;height:48px;min-width:48px;border-radius:6px;background:#eaf3fc;color:#0a6ed1;display:grid;place-items:center;font-size:21px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-main{min-width:0;flex:1}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-title h1{margin:0;color:#1d2d3e;font-size:21px;line-height:1.2;font-weight:700}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-main>p{margin:4px 0 12px;color:#66788a;font-size:11px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-meta{display:flex;gap:24px;flex-wrap:wrap}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-meta span{display:flex;flex-direction:column;gap:2px;min-width:120px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-meta small{color:#778899;font-size:9px;text-transform:uppercase;letter-spacing:.03em}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-meta strong{color:#2d4358;font-size:11px;font-weight:600;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions{margin-left:auto;display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.ws-ui-v9.ws-sap-theme .ws-semantic-status{display:inline-flex;align-items:center;gap:6px;min-height:24px;padding:0 8px;border-radius:12px;font-size:10px;font-weight:650;white-space:nowrap}
body.ws-ui-v9.ws-sap-theme .ws-semantic-status i{width:6px;height:6px;border-radius:50%;background:currentColor}
body.ws-ui-v9.ws-sap-theme .ws-semantic-status.success{color:#107e3e;background:#eef8f1}.ws-semantic-status.danger{color:#bb0000;background:#fff0f0}.ws-semantic-status.info{color:#0a6ed1;background:#edf5fd}.ws-semantic-status.neutral{color:#5b738b;background:#f1f4f6}.ws-semantic-status.warning{color:#8d5f00;background:#fff8e1}
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar{position:sticky;top:52px;z-index:20;display:flex;align-items:center;gap:2px;margin-top:10px;padding:0 8px;height:42px;border:1px solid #d5dadd;border-radius:6px;background:#fff;box-shadow:0 1px 2px rgba(34,54,73,.04);overflow-x:auto;scrollbar-width:none}
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar::-webkit-scrollbar{display:none}
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar a{height:40px;padding:0 12px;display:flex;align-items:center;color:#41576b;font-size:10.5px;font-weight:600;text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent}
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar a:hover{background:#f5faff;color:#0a6ed1}.ws-fiori-anchor-bar a.active{color:#0a6ed1!important;border-bottom-color:#0a6ed1!important}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px;margin-top:14px;align-items:start}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-content{display:grid;gap:14px;min-width:0}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-section{scroll-margin-top:106px;border:1px solid #d5dadd;border-radius:7px;background:#fff;overflow:hidden}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-section>header{min-height:46px;padding:9px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e5e9ec;background:#fbfcfd}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-section>header small{display:block;color:#7b8996;font-size:8.5px;text-transform:uppercase;letter-spacing:.06em;font-weight:650}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-section>header h2{margin:1px 0 0;color:#26394b;font-size:13px;font-weight:700}
body.ws-ui-v9.ws-sap-theme .ws-fiori-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:4px 14px 12px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-fact-grid>div{min-height:66px;padding:13px 8px;border-bottom:1px solid #edf0f2;display:flex;flex-direction:column;gap:4px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-fact-grid>div:nth-last-child(-n+2){border-bottom:0}
body.ws-ui-v9.ws-sap-theme .ws-fiori-fact-grid .span-2{grid-column:1/-1}
body.ws-ui-v9.ws-sap-theme .ws-fiori-fact-grid small{color:#738598;font-size:9px}.ws-fiori-fact-grid strong{color:#26394b;font-size:11.5px;font-weight:600}.ws-fiori-fact-grid span{color:#6b7c8d;font-size:10px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-process-strip{display:grid;grid-template-columns:repeat(3,1fr);padding:16px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-process-strip>div{position:relative;display:flex;gap:9px;padding-right:16px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-process-strip>div:not(:last-child):after{content:"";position:absolute;left:13px;right:-1px;top:12px;height:1px;background:#d5dadd;z-index:0}
body.ws-ui-v9.ws-sap-theme .ws-fiori-process-strip>div>span{position:relative;z-index:1;width:25px;height:25px;min-width:25px;border-radius:50%;display:grid;place-items:center;background:#eef2f5;color:#8091a2;font-size:11px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-process-strip .done>span{background:#e9f5ed;color:#107e3e}.ws-fiori-process-strip .current>span{background:#eaf3fc;color:#0a6ed1}
body.ws-ui-v9.ws-sap-theme .ws-fiori-process-strip strong{display:block;color:#2c4054;font-size:10.5px}.ws-fiori-process-strip small{display:block;margin-top:2px;color:#7b8996;font-size:9px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-related-list{padding:0}
body.ws-ui-v9.ws-sap-theme .ws-fiori-related-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto 120px 18px;align-items:center;gap:9px;min-height:54px;padding:7px 13px;border-bottom:1px solid #edf0f2;text-decoration:none;color:inherit}
body.ws-ui-v9.ws-sap-theme .ws-fiori-related-row:last-child{border-bottom:0}.ws-fiori-related-row:hover{background:#f7fbff}
body.ws-ui-v9.ws-sap-theme .ws-fiori-related-row .icon{width:32px;height:32px;border-radius:5px;background:#edf5fd;color:#0a6ed1;display:grid;place-items:center}.ws-fiori-related-row .copy strong{display:block;color:#26394b;font-size:10.5px}.ws-fiori-related-row .copy small{color:#7b8996;font-size:9px}.ws-fiori-related-row .amount{text-align:right;color:#26394b;font-size:10.5px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-related-empty{padding:22px;display:flex;align-items:center;justify-content:center;gap:10px;color:#6c7f91}.ws-fiori-related-empty>i{font-size:20px}.ws-fiori-related-empty strong,.ws-fiori-related-empty small{display:block}.ws-fiori-related-empty strong{font-size:11px}.ws-fiori-related-empty small{font-size:9px;margin-top:2px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-aside{position:sticky;top:108px;display:grid;gap:12px}
body.ws-ui-v9.ws-sap-theme .ws-fiori-side-panel{border:1px solid #d5dadd;border-radius:7px;background:#fff;overflow:hidden}.ws-fiori-side-panel>header{min-height:38px;padding:0 12px;display:flex;align-items:center;border-bottom:1px solid #e5e9ec;background:#fbfcfd;color:#34495d;font-size:10.5px;font-weight:700}.ws-fiori-side-body{padding:13px}.ws-fiori-side-body p{margin:10px 0 0;color:#708193;font-size:9.5px;line-height:1.5}
body.ws-ui-v9.ws-sap-theme .ws-fiori-quick-actions{display:grid}.ws-fiori-quick-actions a{display:flex;align-items:center;gap:9px;min-height:52px;padding:9px 12px;border-bottom:1px solid #edf0f2;text-decoration:none}.ws-fiori-quick-actions a:last-child{border-bottom:0}.ws-fiori-quick-actions a:hover{background:#f7fbff}.ws-fiori-quick-actions>a>i{width:28px;height:28px;border-radius:5px;background:#edf5fd;color:#0a6ed1;display:grid;place-items:center}.ws-fiori-quick-actions strong,.ws-fiori-quick-actions small{display:block}.ws-fiori-quick-actions strong{color:#2d4358;font-size:10px}.ws-fiori-quick-actions small{margin-top:2px;color:#7b8996;font-size:8.5px}
body.ws-ui-v9.ws-sap-theme .quotation-detail-page .sap-object-section{scroll-margin-top:106px}
body.ws-ui-v9.ws-sap-theme .quotation-detail-page .quote-object-header{box-shadow:0 1px 2px rgba(34,54,73,.04)!important}
body.ws-ui-v9.ws-sap-theme .quotation-detail-page .quote-status{border-radius:12px!important;padding:4px 9px!important}
@media(max-width:1000px){body.ws-ui-v9.ws-sap-theme .ws-fiori-object-layout{grid-template-columns:1fr}.ws-fiori-object-aside{position:static!important}.ws-fiori-object-actions{width:100%;justify-content:flex-start!important}.ws-fiori-object-header{flex-wrap:wrap}}
@media(max-width:620px){body.ws-ui-v9.ws-sap-theme .ws-fiori-object-header{padding:14px}.ws-fiori-object-avatar{width:42px!important;height:42px!important;min-width:42px!important}.ws-fiori-object-title h1{font-size:18px!important}.ws-fiori-object-meta{gap:12px!important}.ws-fiori-object-meta span{min-width:45%!important}.ws-fiori-object-actions .btn{flex:1}.ws-fiori-fact-grid{grid-template-columns:1fr!important}.ws-fiori-fact-grid .span-2{grid-column:auto!important}.ws-fiori-process-strip{grid-template-columns:1fr!important;gap:12px}.ws-fiori-process-strip>div:not(:last-child):after{left:12px;right:auto;top:24px;bottom:-12px;width:1px;height:auto}.ws-fiori-related-row{grid-template-columns:34px minmax(0,1fr) 18px!important}.ws-fiori-related-row .ws-semantic-status,.ws-fiori-related-row .amount{grid-column:2}.ws-fiori-anchor-bar{top:51px!important}}


/* v10.5.0 — SAP/Fiori semantic interaction layer */
body.ws-ui-v9.ws-sap-theme{--ws-semantic-success:#188918;--ws-semantic-warning:#e76500;--ws-semantic-error:#bb0000;--ws-semantic-info:#0070f2;--ws-semantic-surface:#fff;--ws-semantic-border:#d5dadd}
body.ws-ui-v9.ws-sap-theme .ws-sap-message-strip{min-height:40px;padding:9px 12px!important;border:1px solid!important;border-radius:4px!important;box-shadow:none!important;display:flex!important;align-items:flex-start!important;gap:9px!important;font-size:12px!important;line-height:1.45!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-message-icon{font-size:14px;line-height:1.4;flex:0 0 auto}
body.ws-ui-v9.ws-sap-theme .ws-sap-message-success{background:#f5fae5!important;border-color:#bde986!important;color:#256f3a!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-message-error{background:#ffeaf4!important;border-color:#ff8cb2!important;color:#aa0808!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-message-warning{background:#fff8d6!important;border-color:#f5c04a!important;color:#8d2a00!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-message-info{background:#eaf6ff!important;border-color:#89d1ff!important;color:#0057a3!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-message-collapsed{display:none!important}
.ws-sap-toast-region{position:fixed;top:64px;right:20px;z-index:10080;width:min(380px,calc(100vw - 32px));display:grid;gap:8px;pointer-events:none}
.ws-sap-toast{min-height:46px;background:#fff;border:1px solid #d5dadd;border-left:4px solid #0070f2;border-radius:4px;box-shadow:0 6px 20px rgba(34,54,73,.16);padding:10px 10px 10px 12px;display:grid;grid-template-columns:18px 1fr 28px;align-items:center;gap:8px;opacity:0;transform:translateY(-6px);transition:.18s ease;pointer-events:auto;color:#223548;font-size:12px}
.ws-sap-toast.show{opacity:1;transform:none}.ws-sap-toast-success{border-left-color:#188918}.ws-sap-toast-error{border-left-color:#bb0000}.ws-sap-toast-warning{border-left-color:#e76500}.ws-sap-toast-success>i{color:#188918}.ws-sap-toast-error>i{color:#bb0000}.ws-sap-toast-warning>i{color:#e76500}.ws-sap-toast-info>i{color:#0070f2}
.ws-sap-toast-close{width:28px;height:28px;border:0;background:transparent;color:#5b738b;display:grid;place-items:center;border-radius:3px}.ws-sap-toast-close:hover{background:#edf3f8;color:#223548}
.ws-sap-confirm-backdrop{position:fixed;inset:0;z-index:10100;background:rgba(18,35,52,.36);display:grid;place-items:center;padding:20px}.ws-sap-confirm-backdrop[hidden]{display:none!important}
.ws-sap-confirm-dialog{width:min(440px,100%);background:#fff;border:1px solid #cfd5da;border-radius:6px;box-shadow:0 18px 48px rgba(17,35,52,.22);padding:22px;display:grid;grid-template-columns:38px 1fr;gap:14px}
.ws-sap-confirm-icon{width:34px;height:34px;border-radius:50%;background:#fff0f0;color:#bb0000;display:grid;place-items:center;font-size:16px}.ws-sap-confirm-content h2{margin:1px 0 6px;font-size:16px;font-weight:700;color:#223548}.ws-sap-confirm-content p{margin:0;color:#5b738b;font-size:12px;line-height:1.55}.ws-sap-confirm-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:8px}
body.ws-ui-v9.ws-sap-theme .btn-danger{background:#bb0000!important;border-color:#bb0000!important}.ws-is-loading{display:inline-flex!important;align-items:center!important;gap:7px!important;cursor:wait!important}
body.ws-ui-v9.ws-sap-theme .ws-was-validated :is(input,select,textarea):invalid{border-color:#bb0000!important;box-shadow:0 0 0 1px #bb0000 inset!important;background-color:#fffafa!important}
body.ws-ui-v9.ws-sap-theme .ws-was-validated :is(input,select,textarea):valid:not(:placeholder-shown){border-color:#30914c!important}
body.ws-ui-v9.ws-sap-theme .text-action.danger{color:#bb0000!important}body.ws-ui-v9.ws-sap-theme .text-action.danger:hover{background:#fff0f0!important;color:#8e0000!important}
body.ws-ui-v9.ws-sap-theme .ws-empty-state,body.ws-ui-v9.ws-sap-theme .empty-state{padding:42px 24px!important;text-align:center!important;color:#5b738b!important;background:#fff!important;border:1px dashed #cfd5da!important;border-radius:6px!important}
body.ws-ui-v9.ws-sap-theme .ws-empty-state i,body.ws-ui-v9.ws-sap-theme .empty-state i{font-size:28px!important;color:#758ca3!important;margin-bottom:10px!important}
.ws-sap-skeleton{position:relative;overflow:hidden;background:#e8edf2!important;color:transparent!important;border-radius:3px!important}.ws-sap-skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:wsSapSkeleton 1.2s infinite}@keyframes wsSapSkeleton{100%{transform:translateX(100%)}}
@media(max-width:620px){.ws-sap-toast-region{top:58px;right:12px;width:calc(100vw - 24px)}.ws-sap-confirm-dialog{padding:18px}.ws-sap-confirm-actions .btn{flex:1}}


/* ========================================================================== 
   v10.6.0 — SAP/Fiori global density, typography & full-wide workspace
   ========================================================================== */
body.ws-ui-v9.ws-sap-theme{
  --sap-page-gutter:20px;
  --sap-section-gap:14px;
  --sap-control-height:36px;
  --sap-font-body:12px;
  --sap-font-label:11px;
  --sap-font-meta:10px;
}

/* Full-width application shell: use the viewport instead of centered max-width containers. */
body.ws-ui-v9.ws-sap-theme .ws-sap-header-main{
  width:100%!important;
  max-width:none!important;
  padding-left:var(--sap-page-gutter)!important;
  padding-right:var(--sap-page-gutter)!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-shellbar{
  margin-left:calc(var(--sap-page-gutter) * -1)!important;
  margin-right:calc(var(--sap-page-gutter) * -1)!important;
  padding-left:var(--sap-page-gutter)!important;
  padding-right:var(--sap-page-gutter)!important;
}
body.ws-ui-v9.ws-sap-theme .enterprise-page,
body.ws-ui-v9.ws-sap-theme .erp-page,
body.ws-ui-v9.ws-sap-theme .ws-page-shell,
body.ws-ui-v9.ws-sap-theme .ws-module-page,
body.ws-ui-v9.ws-sap-theme .ws-object-page{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Home / launchpad full wide. */
body.ws-ui-v9.ws-sap-theme .ws-sap-home-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:20px 0 42px!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-home-layout{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:20px!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-home-main{gap:16px!important}

/* List Reports use all available horizontal space. */
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-report,
body.ws-ui-v9.ws-sap-theme .ws-sap-list-page,
body.ws-ui-v9.ws-sap-theme .ws-list-report-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:22px 0 52px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-quotation-search,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-customer-search{
  max-width:820px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report table th{font-size:10px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report table td{font-size:11.5px!important}

/* Form pages full wide with SAP-like practical density. */
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .enterprise-page,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .erp-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-top:20px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-create-layout{
  grid-template-columns:minmax(0,1fr) 300px!important;
  gap:18px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-composer-grid{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:18px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .integration-layout{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:18px!important;
}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-card-body,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-editor-card-body{padding:15px 16px!important}
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .form-control,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page select{
  min-height:var(--sap-control-height)!important;
  font-size:12px!important;
}

/* Object Pages also use full canvas; keep a useful contextual side column. */
body.ws-ui-v9.ws-sap-theme .quotation-detail-page,
body.ws-ui-v9.ws-sap-theme .ws-customer-object-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-layout{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:18px!important;
}
body.ws-ui-v9.ws-sap-theme .quotation-detail-page .quote-detail-layout{
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:18px!important;
}

/* Typography hierarchy: slightly more readable while staying compact. */
body.ws-ui-v9.ws-sap-theme{font-size:var(--sap-font-body)!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row h1,
body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-header h1,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .page-header h1,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .ws-customer-create-header h1,
body.ws-ui-v9.ws-sap-theme.ws-sap-form-page .quote-create-header h1{font-size:23px!important;line-height:1.25!important}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-title h1{font-size:22px!important}
body.ws-ui-v9.ws-sap-theme label,
body.ws-ui-v9.ws-sap-theme .ws-label-row label{font-size:var(--sap-font-label)!important}
body.ws-ui-v9.ws-sap-theme small,
body.ws-ui-v9.ws-sap-theme .form-help{line-height:1.45}

/* Unified SAP compact control / action density. */
body.ws-ui-v9.ws-sap-theme .btn:not(.btn-lg){min-height:34px}
body.ws-ui-v9.ws-sap-theme .btn-sm{min-height:30px!important}
body.ws-ui-v9.ws-sap-theme .dropdown-item{min-height:34px;display:flex;align-items:center}
body.ws-ui-v9.ws-sap-theme .ws-semantic-status{min-height:23px!important}
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-section>header{min-height:44px!important}
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar{height:40px!important}
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar a{height:38px!important}

/* Wide screens: increase gutters modestly, never center/narrow content. */
@media(min-width:1600px){
  body.ws-ui-v9.ws-sap-theme{--sap-page-gutter:28px}
  body.ws-ui-v9.ws-sap-theme .ws-sap-home-layout{grid-template-columns:minmax(0,1fr) 340px!important;gap:24px!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-create-layout{grid-template-columns:minmax(0,1fr) 320px!important}
  body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-composer-grid{grid-template-columns:minmax(0,1fr) 340px!important}
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-layout{grid-template-columns:minmax(0,1fr) 340px!important}
}

@media(max-width:1100px){
  body.ws-ui-v9.ws-sap-theme{--sap-page-gutter:16px}
  body.ws-ui-v9.ws-sap-theme .ws-sap-home-layout,
  body.ws-ui-v9.ws-sap-theme.ws-sap-customer-form .ws-customer-create-layout,
  body.ws-ui-v9.ws-sap-theme.ws-sap-quotation-form .quote-composer-grid,
  body.ws-ui-v9.ws-sap-theme.ws-sap-integration-object-page .integration-layout,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-layout,
  body.ws-ui-v9.ws-sap-theme .quotation-detail-page .quote-detail-layout{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  body.ws-ui-v9.ws-sap-theme{--sap-page-gutter:12px;--sap-section-gap:10px}
  body.ws-ui-v9.ws-sap-theme .ws-sap-home-shell,
  body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-list-report{padding-top:14px!important}
}


/* ========================================================================== 
   v10.7.0 — SAP/Fiori shell, contextual toolbar & sticky action behavior
   ========================================================================== */
body.ws-ui-v9.ws-sap-theme{
  --sap-shell-height:52px;
  --sap-toolbar-height:46px;
  --sap-toolbar-sticky-top:52px;
}

/* Shell behaves like an application chrome, not a page card. */
body.ws-ui-v9.ws-sap-theme .ws-sap-shellbar{
  isolation:isolate;
  transition:box-shadow .16s ease,border-color .16s ease,background-color .16s ease;
}
body.ws-ui-v9.ws-sap-theme.ws-shell-scrolled .ws-sap-shellbar{
  border-bottom-color:#c6cdd3!important;
  box-shadow:0 3px 10px rgba(34,54,73,.12)!important;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-context{
  position:relative;
  margin-left:1px;
  padding-left:12px;
  color:#607487;
  font-size:10.5px;
  font-weight:500;
  white-space:nowrap;
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-context:before{
  content:"/";
  position:absolute;
  left:2px;
  color:#9aa7b3;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item[aria-current="page"]{color:#0a6ed1!important;background:#f7fbff!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item:focus-visible,
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions a:focus-visible,
body.ws-ui-v9.ws-sap-theme .ws-user-menu-toggle:focus-visible{
  outline:2px solid #0070f2!important;
  outline-offset:-2px!important;
}

/* Page title/action rows become a consistent Dynamic Page title region. */
body.ws-ui-v9.ws-sap-theme .ws-fiori-list-header,
body.ws-ui-v9.ws-sap-theme .ws-page-header,
body.ws-ui-v9.ws-sap-theme .quote-create-header,
body.ws-ui-v9.ws-sap-theme .ws-customer-create-header{
  position:relative;
}
body.ws-ui-v9.ws-sap-theme .ws-fiori-list-header:after,
body.ws-ui-v9.ws-sap-theme .ws-page-header:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-12px;
  height:1px;
  background:#e1e5e8;
}
body.ws-ui-v9.ws-sap-theme .ws-page-context,
body.ws-ui-v9.ws-sap-theme .section-kicker{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#607487!important;
  font-size:10px!important;
  font-weight:600!important;
  text-transform:none!important;
  letter-spacing:0!important;
}

/* Fiori filter/table toolbar: sticky directly below the shell on long lists. */
@media (min-width:901px){
  body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-filterbar,
  body.ws-ui-v9.ws-sap-theme .data-toolbar,
  body.ws-ui-v9.ws-sap-theme .content-toolbar,
  body.ws-ui-v9.ws-sap-theme .content-admin-toolbar{
    position:sticky!important;
    top:var(--sap-toolbar-sticky-top)!important;
    z-index:31!important;
    min-height:var(--sap-toolbar-height)!important;
    background:#fff!important;
    border-bottom:1px solid #d9dfe3!important;
    box-shadow:0 2px 5px rgba(34,54,73,.05)!important;
  }
  body.ws-ui-v9.ws-sap-theme.ws-sap-list-report .ws-fiori-table thead th,
  body.ws-ui-v9.ws-sap-theme .data-table thead th,
  body.ws-ui-v9.ws-sap-theme .ws-table thead th{
    position:sticky!important;
    top:calc(var(--sap-toolbar-sticky-top) + var(--sap-toolbar-height))!important;
    z-index:20!important;
    background:#f7f9fa!important;
    box-shadow:inset 0 -1px 0 #d9dfe3!important;
  }
}

/* Toolbar action hierarchy and visual separators. */
body.ws-ui-v9.ws-sap-theme .ws-fiori-filterbar,
body.ws-ui-v9.ws-sap-theme .data-toolbar,
body.ws-ui-v9.ws-sap-theme .content-toolbar,
body.ws-ui-v9.ws-sap-theme .content-admin-toolbar{
  gap:8px!important;
}
body.ws-ui-v9.ws-sap-theme .ws-fiori-filterbar .btn,
body.ws-ui-v9.ws-sap-theme .data-toolbar .btn,
body.ws-ui-v9.ws-sap-theme .content-toolbar .btn{
  min-height:32px!important;
  height:32px!important;
}
body.ws-ui-v9.ws-sap-theme .toolbar-meta,
body.ws-ui-v9.ws-sap-theme .ws-quotation-toolbar-info,
body.ws-ui-v9.ws-sap-theme .ws-customer-toolbar-side{
  margin-left:auto!important;
  padding-left:12px!important;
  border-left:1px solid #e1e5e8!important;
}

/* Header actions read like SAP emphasized / transparent / overflow actions. */
body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions,
body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions,
body.ws-ui-v9.ws-sap-theme .page-actions,
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions{
  align-items:center!important;
  gap:6px!important;
}
body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions .btn:not(.btn-primary),
body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions .btn:not(.btn-primary),
body.ws-ui-v9.ws-sap-theme .page-actions .btn:not(.btn-primary),
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions .btn:not(.btn-primary){
  background:transparent!important;
  box-shadow:none!important;
}
body.ws-ui-v9.ws-sap-theme .dropdown-menu .dropdown-divider{margin:5px 0!important;border-color:#e3e7ea!important}
body.ws-ui-v9.ws-sap-theme .dropdown-menu .dropdown-item{border-radius:3px!important}

/* Object-page anchors stay below the global shell and show a cleaner active tab. */
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar{
  top:var(--sap-shell-height)!important;
  z-index:30!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  box-shadow:0 2px 5px rgba(34,54,73,.05)!important;
}
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar a.active{
  color:#0a6ed1!important;
  background:#f7fbff!important;
  border-bottom-color:#0a6ed1!important;
}

/* Mobile shell: keep primary action readable; secondary actions wrap quietly. */
@media(max-width:900px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-context{display:none!important}
  body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions,
  body.ws-ui-v9.ws-sap-theme .page-actions,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions{width:100%!important;flex-wrap:wrap!important}
  body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .page-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions .btn-primary{order:-1}
  body.ws-ui-v9.ws-sap-theme .toolbar-meta,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-toolbar-info,
  body.ws-ui-v9.ws-sap-theme .ws-customer-toolbar-side{margin-left:0!important;padding-left:0!important;border-left:0!important}
}


/* v10.8.0 — SAP/Fiori Smart Filter Bar + View Variants */
body.ws-ui-v9.ws-sap-theme .ws-smart-list{overflow:visible!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-variantbar{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 12px;border-bottom:1px solid #e4e9ed;background:#fff}
body.ws-ui-v9.ws-sap-theme .ws-smart-variant-left,body.ws-ui-v9.ws-sap-theme .ws-smart-variant-actions,body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions{display:flex;align-items:center;gap:8px}
body.ws-ui-v9.ws-sap-theme .ws-smart-variant-left>label{margin:0;color:#536b7e;font-size:10.5px;font-weight:600}
body.ws-ui-v9.ws-sap-theme .ws-smart-variant-select{width:190px;min-height:30px;height:30px;padding-top:3px;padding-bottom:3px;border:0;border-bottom:1px solid transparent;border-radius:2px;background-color:#fff;color:#1d2d3e;font-size:12px;font-weight:700}
body.ws-ui-v9.ws-sap-theme .ws-smart-variant-select:hover{background-color:#f5faff;border-bottom-color:#9ebfe0}
body.ws-ui-v9.ws-sap-theme .ws-smart-save-view{padding:4px 7px!important;color:#0064d9!important;text-decoration:none!important;font-size:10.5px!important;font-weight:600!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-filterbar{display:block!important;padding:11px 12px 12px!important;background:#f7f9fa!important;border-bottom:1px solid #e4e9ed!important;transition:max-height .18s ease,padding .18s ease,opacity .18s ease!important;overflow:hidden!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-filterbar.is-collapsed{max-height:0!important;padding-top:0!important;padding-bottom:0!important;opacity:0!important;border-bottom:0!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-filter-form{display:grid!important;grid-template-columns:minmax(260px,2fr) minmax(150px,.8fr) minmax(150px,.8fr) auto!important;align-items:end!important;gap:10px!important;width:100%!important;max-width:none!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-list[data-smart-list="customers"] .ws-smart-filter-form{grid-template-columns:minmax(300px,2.2fr) minmax(170px,.8fr) auto!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-filter-field{display:grid;gap:4px;min-width:0}
body.ws-ui-v9.ws-sap-theme .ws-smart-filter-field>label{margin:0;color:#4a6174;font-size:9.5px;font-weight:600}
body.ws-ui-v9.ws-sap-theme .ws-smart-filter-field .form-select,body.ws-ui-v9.ws-sap-theme .ws-smart-filter-field .form-control{height:32px!important;min-height:32px!important;font-size:11px!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-filter-search .ws-customer-search-box,body.ws-ui-v9.ws-sap-theme .ws-smart-filter-search .ws-quotation-search-box{width:100%!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-filter-submit{display:flex;align-items:flex-end}
body.ws-ui-v9.ws-sap-theme .ws-smart-filter-submit .btn{height:32px!important;min-height:32px!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-result-toolbar{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px;border-bottom:1px solid #e4e9ed;background:#fff;position:sticky;top:52px;z-index:18}
body.ws-ui-v9.ws-sap-theme .ws-smart-result-title{display:flex;align-items:center;gap:7px;min-width:0}
body.ws-ui-v9.ws-sap-theme .ws-smart-result-title strong{color:#21384c;font-size:12px;font-weight:700}
body.ws-ui-v9.ws-sap-theme .ws-smart-result-title span{min-width:23px;height:20px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#eef3f7;color:#536b7e;font-size:9.5px;font-weight:700}
body.ws-ui-v9.ws-sap-theme .ws-smart-sort{width:145px!important;height:30px!important;min-height:30px!important;padding-top:3px!important;padding-bottom:3px!important;font-size:10.5px!important}
body.ws-ui-v9.ws-sap-theme .ws-icon-btn{width:32px!important;min-width:32px!important;padding-left:0!important;padding-right:0!important;justify-content:center!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-columns{min-width:190px;padding:6px 0 8px}
body.ws-ui-v9.ws-sap-theme .ws-smart-columns .dropdown-header{padding:7px 12px 5px;color:#526a7d;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
body.ws-ui-v9.ws-sap-theme .ws-smart-columns label{margin:0;padding:6px 12px;display:flex;align-items:center;gap:8px;color:#2d4356;font-size:10.5px;font-weight:500;cursor:pointer}
body.ws-ui-v9.ws-sap-theme .ws-smart-columns label:hover{background:#f5faff}
body.ws-ui-v9.ws-sap-theme .ws-smart-columns input{width:14px;height:14px;accent-color:#0a6ed1}
body.ws-ui-v9.ws-sap-theme .ws-smart-col-hidden{display:none!important}
body.ws-ui-v9.ws-sap-theme .ws-smart-no-results{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;color:#6b7e8e}
body.ws-ui-v9.ws-sap-theme .ws-smart-no-results i{font-size:25px;color:#8ba8bf}
body.ws-ui-v9.ws-sap-theme .ws-smart-no-results strong{color:#30485d;font-size:12px}
body.ws-ui-v9.ws-sap-theme .ws-smart-no-results span{font-size:10.5px}
body.ws-ui-v9.ws-sap-theme .ws-smart-view-modal .modal-content{border:1px solid #cfd9e2;border-radius:7px;box-shadow:0 14px 36px rgba(23,50,73,.18)}
body.ws-ui-v9.ws-sap-theme .ws-smart-view-modal .modal-header{padding:13px 15px;border-bottom:1px solid #e5e9ed}
body.ws-ui-v9.ws-sap-theme .ws-smart-view-modal .modal-header h5{margin:0;color:#20364a;font-size:14px;font-weight:700}
body.ws-ui-v9.ws-sap-theme .ws-smart-view-modal .modal-header small{display:block;margin-top:2px;color:#718496;font-size:9.5px}
body.ws-ui-v9.ws-sap-theme .ws-smart-view-modal .modal-body{padding:15px}
body.ws-ui-v9.ws-sap-theme .ws-smart-view-modal .modal-footer{padding:9px 15px;border-top:1px solid #e5e9ed}
@media(max-width:900px){
 body.ws-ui-v9.ws-sap-theme .ws-smart-variantbar,body.ws-ui-v9.ws-sap-theme .ws-smart-result-toolbar{position:static!important;align-items:flex-start;flex-direction:column!important}
 body.ws-ui-v9.ws-sap-theme .ws-smart-variant-left,body.ws-ui-v9.ws-sap-theme .ws-smart-variant-actions,body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions{width:100%;flex-wrap:wrap}
 body.ws-ui-v9.ws-sap-theme .ws-smart-variant-select{flex:1;width:auto;min-width:170px}
 body.ws-ui-v9.ws-sap-theme .ws-smart-filter-form,body.ws-ui-v9.ws-sap-theme .ws-smart-list[data-smart-list="customers"] .ws-smart-filter-form{grid-template-columns:1fr 1fr!important}
 body.ws-ui-v9.ws-sap-theme .ws-smart-filter-search{grid-column:1/-1}
 body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions{justify-content:flex-start}
}
@media(max-width:560px){
 body.ws-ui-v9.ws-sap-theme .ws-smart-filter-form,body.ws-ui-v9.ws-sap-theme .ws-smart-list[data-smart-list="customers"] .ws-smart-filter-form{grid-template-columns:1fr!important}
 body.ws-ui-v9.ws-sap-theme .ws-smart-filter-search{grid-column:auto}
 body.ws-ui-v9.ws-sap-theme .ws-smart-variant-left>label{display:none}
 body.ws-ui-v9.ws-sap-theme .ws-smart-sort{flex:1;width:auto!important}
}

/* v10.9.0 — SAP-style global search / command experience */
body.ws-global-search-open{overflow:hidden!important}
body.ws-ui-v9.ws-sap-theme .ws-shell-search-trigger{border:0;background:transparent;padding:0;display:inline-flex;align-items:center;justify-content:center}
.ws-global-search-backdrop{position:fixed;inset:0;z-index:2500;background:rgba(20,36,50,.38);backdrop-filter:blur(2px);padding:72px 18px 24px;opacity:0;transition:opacity .12s ease}
.ws-global-search-backdrop.show{opacity:1}
.ws-global-search-dialog{width:min(760px,100%);max-height:min(720px,calc(100vh - 96px));margin:0 auto;background:#fff;border:1px solid #c9d1d9;border-radius:8px;box-shadow:0 18px 48px rgba(18,43,66,.24);overflow:hidden;display:flex;flex-direction:column;transform:translateY(-8px);transition:transform .12s ease}
.ws-global-search-backdrop.show .ws-global-search-dialog{transform:translateY(0)}
.ws-global-search-inputbar{min-height:58px;padding:8px 12px 8px 16px;border-bottom:1px solid #dfe3e6;display:flex;align-items:center;gap:11px;background:#fff}
.ws-global-search-inputbar>i{font-size:17px;color:#526b7f}.ws-global-search-inputbar input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#1d2d3e;font-size:16px;font-weight:500}.ws-global-search-inputbar input::placeholder{color:#8393a1;font-weight:400}
.ws-global-search-inputbar kbd,.ws-global-search-footer kbd{border:1px solid #cfd6dc;background:#f5f6f7;color:#52616d;border-radius:4px;box-shadow:none;font-family:inherit;font-size:9px;font-weight:600;padding:2px 5px}.ws-global-search-inputbar button{width:32px;height:32px;border:0;border-radius:4px;background:transparent;color:#5b7083;display:grid;place-items:center}.ws-global-search-inputbar button:hover{background:#edf5fc;color:#0064d9}
.ws-global-search-recent{padding:8px 14px;border-bottom:1px solid #edf0f2;display:flex;align-items:center;gap:6px;overflow-x:auto;background:#fafbfc}.ws-global-search-recent-label{font-size:9px;font-weight:700;color:#6a7d8d;text-transform:uppercase;letter-spacing:.06em;margin-right:4px}.ws-global-search-recent a{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #d8e0e6;border-radius:999px;background:#fff;color:#41586b;padding:5px 8px;font-size:10px}.ws-global-search-recent a:hover{border-color:#8cbbe7;background:#f3f9ff;color:#0064d9}
.ws-global-search-results{overflow:auto;min-height:180px;padding:8px 0;overscroll-behavior:contain}.ws-global-search-group{padding:2px 8px 8px}.ws-global-search-group+.ws-global-search-group{border-top:1px solid #eef1f3;padding-top:8px}.ws-global-search-group-title{padding:4px 8px 5px;color:#607586;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.ws-global-search-result{min-height:52px;padding:7px 9px;border-radius:5px;display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.ws-global-search-result:hover,.ws-global-search-result.active{background:#edf6ff;color:inherit}.ws-global-search-result-icon{width:34px;height:34px;flex:0 0 34px;border-radius:5px;background:#edf3f8;color:#356783;display:grid;place-items:center;font-size:14px}.ws-global-search-result:hover .ws-global-search-result-icon,.ws-global-search-result.active .ws-global-search-result-icon{background:#d9edff;color:#0064d9}.ws-global-search-result-copy{min-width:0;display:grid;gap:1px;flex:1}.ws-global-search-result-copy strong{font-size:11.5px;line-height:1.3;color:#20364a;font-weight:650}.ws-global-search-result-copy small{font-size:9.5px;line-height:1.3;color:#718392;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ws-global-search-enter{opacity:0;color:#6e8293;font-size:12px}.ws-global-search-result:hover .ws-global-search-enter,.ws-global-search-result.active .ws-global-search-enter{opacity:1}
.ws-global-search-loading,.ws-global-search-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#708292;gap:7px;padding:24px}.ws-global-search-loading{flex-direction:row;font-size:10.5px}.ws-global-search-empty>i{font-size:24px;color:#8fa0ad}.ws-global-search-empty strong{color:#344b5e;font-size:12px}.ws-global-search-empty span{font-size:10px}.ws-global-search-footer{min-height:36px;padding:0 14px;border-top:1px solid #e4e8eb;background:#fafbfc;display:flex;align-items:center;gap:14px;color:#71818e;font-size:9px}.ws-global-search-footer span{display:inline-flex;align-items:center;gap:4px}
@media(max-width:620px){.ws-global-search-backdrop{padding:0;background:#fff}.ws-global-search-dialog{width:100%;height:100vh;max-height:none;border:0;border-radius:0;box-shadow:none}.ws-global-search-inputbar{min-height:58px}.ws-global-search-inputbar kbd{display:none}.ws-global-search-footer{display:none}.ws-global-search-result{min-height:58px}.ws-global-search-result-copy strong{font-size:12px}.ws-global-search-result-copy small{font-size:10px}}


/* v10.10.0 — SAP/Fiori responsive & accessibility hardening */
body.ws-ui-v9.ws-sap-theme .ws-skip-link{
  position:fixed;left:12px;top:8px;z-index:10050;transform:translateY(-140%);padding:8px 12px;border:2px solid #0a6ed1;border-radius:4px;background:#fff;color:#0a5fc2;font-size:12px;font-weight:700;box-shadow:0 4px 14px rgba(0,0,0,.16);transition:transform .12s ease;
}
body.ws-ui-v9.ws-sap-theme .ws-skip-link:focus{transform:translateY(0);outline:none}
body.ws-ui-v9.ws-sap-theme :where(a,button,input,select,textarea,[role="button"],[tabindex]):focus-visible{
  outline:2px solid #0a6ed1!important;outline-offset:2px!important;box-shadow:0 0 0 1px #fff!important;
}
body.ws-ui-v9.ws-sap-theme .btn:focus-visible,
body.ws-ui-v9.ws-sap-theme .form-control:focus-visible,
body.ws-ui-v9.ws-sap-theme .form-select:focus-visible{border-color:#0a6ed1!important}
body.ws-ui-v9.ws-sap-theme .dropdown-item:focus-visible{outline-offset:-2px!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item[aria-current="page"]{font-weight:700!important}
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions>a,
body.ws-ui-v9.ws-sap-theme .ws-sap-shell-actions>button,
body.ws-ui-v9.ws-sap-theme .ws-sap-mobile-nav-toggle{min-width:40px!important;min-height:40px!important}
body.ws-ui-v9.ws-sap-theme .ws-user-menu-toggle{min-height:40px!important}
body.ws-ui-v9.ws-sap-theme .dropdown-item{min-height:36px;display:flex;align-items:center}
body.ws-ui-v9.ws-sap-theme table th{white-space:nowrap}
body.ws-ui-v9.ws-sap-theme .table-responsive,
body.ws-ui-v9.ws-sap-theme .ws-sap-table-wrap,
body.ws-ui-v9.ws-sap-theme .ws-list-table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
body.ws-ui-v9.ws-sap-theme .modal-content{max-height:calc(100dvh - 28px)}
body.ws-ui-v9.ws-sap-theme .modal-body{overscroll-behavior:contain}
body.ws-ui-v9.ws-sap-theme img{max-width:100%}

/* laptop density: keep the full-wide shell while preventing toolbar collisions */
@media (max-width:1366px) and (min-width:1101px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-header-main{padding-left:16px!important;padding-right:16px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shellbar{margin-left:-16px!important;margin-right:-16px!important;padding-left:14px!important;padding-right:14px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-primary-nav{gap:1px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item{padding-left:8px!important;padding-right:8px!important;font-size:10.5px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-product{font-size:11px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-context{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions{gap:5px!important}
  body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions .btn{padding-left:8px!important;padding-right:8px!important}
}

/* tablet: move complex toolbars into comfortable wrapped rows */
@media (max-width:1100px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row,
  body.ws-ui-v9.ws-sap-theme .ws-customer-object-header-main,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-object-header-main{align-items:flex-start!important}
  body.ws-ui-v9.ws-sap-theme .ws-smart-variantbar,
  body.ws-ui-v9.ws-sap-theme .ws-smart-result-toolbar,
  body.ws-ui-v9.ws-sap-theme .data-toolbar,
  body.ws-ui-v9.ws-sap-theme .content-toolbar{position:static!important}
  body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions .btn,
  body.ws-ui-v9.ws-sap-theme .page-actions .btn,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions .btn{min-height:36px!important}
  body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar{overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:thin}
  body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar a{flex:0 0 auto!important;min-height:40px!important;display:inline-flex!important;align-items:center!important}
}

/* phone: touch-safe actions, one-column forms, horizontal data continuity */
@media (max-width:767.98px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-header-main{padding-left:10px!important;padding-right:10px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shellbar{margin-left:-10px!important;margin-right:-10px!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row{gap:12px!important;flex-direction:column!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row h1{font-size:19px!important;line-height:1.2!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-page-title-row p{font-size:11px!important}
  body.ws-ui-v9.ws-sap-theme .page-actions,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions,
  body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:7px!important}
  body.ws-ui-v9.ws-sap-theme .page-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions .btn-primary{grid-column:1/-1!important}
  body.ws-ui-v9.ws-sap-theme .page-actions .btn,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions .btn,
  body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions .btn,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions .btn{width:100%!important;min-height:42px!important;justify-content:center!important}
  body.ws-ui-v9.ws-sap-theme .ws-smart-variant-actions,
  body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions{gap:6px!important}
  body.ws-ui-v9.ws-sap-theme .ws-smart-variant-actions .btn,
  body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions .btn,
  body.ws-ui-v9.ws-sap-theme .ws-icon-btn{min-width:40px!important;min-height:40px!important}
  body.ws-ui-v9.ws-sap-theme .ws-smart-variant-select,
  body.ws-ui-v9.ws-sap-theme .ws-smart-sort{min-height:40px!important;height:40px!important}
  body.ws-ui-v9.ws-sap-theme .form-control,
  body.ws-ui-v9.ws-sap-theme .form-select{min-height:40px!important}
  body.ws-ui-v9.ws-sap-theme textarea.form-control{min-height:96px!important}
  body.ws-ui-v9.ws-sap-theme .table-responsive table,
  body.ws-ui-v9.ws-sap-theme .ws-sap-table-wrap table,
  body.ws-ui-v9.ws-sap-theme .ws-list-table-wrap table{min-width:780px}
  body.ws-ui-v9.ws-sap-theme .modal-dialog{margin:8px!important}
  body.ws-ui-v9.ws-sap-theme .modal-content{max-height:calc(100dvh - 16px)!important}
  body.ws-ui-v9.ws-sap-theme .modal-footer{position:sticky;bottom:0;background:#fff;z-index:2;flex-wrap:wrap}
  body.ws-ui-v9.ws-sap-theme .modal-footer .btn{min-height:42px}
}

@media (max-width:479.98px){
  body.ws-ui-v9.ws-sap-theme .page-actions,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions,
  body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions{grid-template-columns:1fr!important}
  body.ws-ui-v9.ws-sap-theme .page-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .ws-customer-header-actions .btn-primary,
  body.ws-ui-v9.ws-sap-theme .ws-quotation-header-actions .btn-primary{grid-column:auto!important}
  body.ws-ui-v9.ws-sap-theme .ws-sap-shell-logo .ws-brand-logo-crop{max-width:92px!important}
  body.ws-ui-v9.ws-sap-theme .ws-smart-variant-left,
  body.ws-ui-v9.ws-sap-theme .ws-smart-variant-actions,
  body.ws-ui-v9.ws-sap-theme .ws-smart-result-actions{width:100%!important}
}

@media (prefers-reduced-motion:reduce){
  body.ws-ui-v9.ws-sap-theme *,body.ws-ui-v9.ws-sap-theme *::before,body.ws-ui-v9.ws-sap-theme *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

@media (forced-colors:active){
  body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item.active,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar a.active,
  body.ws-ui-v9.ws-sap-theme .btn-primary{border:1px solid ButtonText!important}
}


/* =========================================================
   v10.11.0 — SAP/Fiori micro interaction + save state layer
   ========================================================= */
body.ws-ui-v9.ws-sap-theme{
  --sap-motion-fast:120ms;
  --sap-motion-normal:180ms;
}
body.ws-ui-v9.ws-sap-theme .btn,
body.ws-ui-v9.ws-sap-theme .ws-sap-nav-item,
body.ws-ui-v9.ws-sap-theme .dropdown-item,
body.ws-ui-v9.ws-sap-theme .ws-fiori-anchor-bar a{
  transition:background-color var(--sap-motion-fast) ease,border-color var(--sap-motion-fast) ease,box-shadow var(--sap-motion-fast) ease,color var(--sap-motion-fast) ease,transform var(--sap-motion-fast) ease!important;
}
body.ws-ui-v9.ws-sap-theme .ws-is-pressed{transform:translateY(1px)!important}

/* Compact form save-state indicator, injected into existing sticky action bars. */
body.ws-ui-v9.ws-sap-theme .ws-sap-save-state{
  display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 8px;border-radius:4px;
  color:#556b7e;font-size:11px;font-weight:600;white-space:nowrap;margin-right:auto;
}
body.ws-ui-v9.ws-sap-theme .ws-sap-save-state i{font-size:12px;line-height:1}
body.ws-ui-v9.ws-sap-theme .ws-sap-save-state.is-clean{color:#4f6678}
body.ws-ui-v9.ws-sap-theme .ws-sap-save-state.is-clean i{color:#188918}
body.ws-ui-v9.ws-sap-theme .ws-sap-save-state.is-dirty{background:#fff8e6;color:#6f4b00}
body.ws-ui-v9.ws-sap-theme .ws-sap-save-state.is-dirty i{color:#e9730c;font-size:7px}
body.ws-ui-v9.ws-sap-theme .ws-sap-save-state.is-saving{background:#f5faff;color:#355b7a}
body.ws-ui-v9.ws-sap-theme .ws-sap-save-state.is-saving .spinner-border{width:12px;height:12px;border-width:2px;color:#0070f2}

/* Unsaved forms get a very subtle semantic cue; avoid heavy warning chrome. */
body.ws-ui-v9.ws-sap-theme form.ws-form-dirty .quote-submit-actions,
body.ws-ui-v9.ws-sap-theme form.ws-form-dirty .customer-form-actions,
body.ws-ui-v9.ws-sap-theme form.ws-form-dirty .ws-customer-form-actions,
body.ws-ui-v9.ws-sap-theme form.ws-form-dirty .settings-actions{
  border-top-color:#f0ab00!important;
}

/* Busy state remains stable in width and cannot be double-submitted. */
body.ws-ui-v9.ws-sap-theme .btn.ws-is-loading{cursor:wait!important;opacity:.82!important;pointer-events:none!important}
body.ws-ui-v9.ws-sap-theme .btn.ws-is-loading .spinner-border{width:13px;height:13px;border-width:2px;margin-right:6px}

/* Smoother content appearance for server-rendered object/list pages. */
body.ws-ui-v9.ws-sap-theme .ws-sap-list-report,
body.ws-ui-v9.ws-sap-theme .ws-fiori-object-page,
body.ws-ui-v9.ws-sap-theme .ws-sap-home-shell{animation:wsSapContentIn var(--sap-motion-normal) ease-out both}
@keyframes wsSapContentIn{from{opacity:.72}to{opacity:1}}

@media (max-width:760px){
  body.ws-ui-v9.ws-sap-theme .ws-sap-save-state{width:100%;order:-1;margin:0 0 2px;padding-left:0;background:transparent!important}
}
@media (prefers-reduced-motion:reduce){
  body.ws-ui-v9.ws-sap-theme .ws-sap-list-report,
  body.ws-ui-v9.ws-sap-theme .ws-fiori-object-page,
  body.ws-ui-v9.ws-sap-theme .ws-sap-home-shell{animation:none!important}
  body.ws-ui-v9.ws-sap-theme .ws-is-pressed{transform:none!important}
}


/* v11.1.0 — Sales module audit & workflow improvements */
.ws-quote-validity{display:inline-flex!important;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.2}
.ws-quote-validity.success{color:#256f3a;background:#f1fdf4}.ws-quote-validity.warning{color:#8d5f00;background:#fff8d6}.ws-quote-validity.danger{color:#aa0808;background:#fff1f1}.ws-quote-validity.neutral{color:#556b7d;background:#f3f5f6}
.ws-table-validity{display:block;margin-top:3px;font-size:10px;font-weight:600;line-height:1.2}.ws-table-validity.success{color:#256f3a}.ws-table-validity.warning{color:#8d5f00}.ws-table-validity.danger{color:#aa0808}
.ws-fiori-quick-actions a .bi-whatsapp{color:#107e3e}.ws-fiori-quick-actions a .bi-envelope{color:#0064d9}
@media(max-width:780px){.ws-quote-validity{width:max-content}}
