/* TIAM v461 stable CSS bundle. Exact source order preserved. */

/* ===== BEGIN tiam-v426-foundation.css ===== */

/* TIAM v417 Foundation — conservative module dead-selector cleanup (workflow/lead/number).
   Derived from v416; current UI unchanged.
*/
/* TIAM v414 Foundation — conservative dead-selector cleanup in legacy layout/components.
   Derived from v413; current UI unchanged.
*/
/* TIAM v408 Foundation — exact top-level duplicate-rule cleanup only.
   Derived from v407 frozen foundation. Last duplicate occurrence retained to preserve cascade.
*/
/* TIAM v407 Legacy Foundation — inactive source files consolidated without semantic changes.
   TIAM v407 UI architecture cleanup. Source order is frozen; do not reorder sections.
*/

/* ===== SOURCE: tiam-fonts-v351.css | sha256:f2118c6378916db9459efcdf7bb5da8426459f529179fc25aa5d4c56fae387cf ===== */
/* TIAM v363 — Yekan Bakh FaNum from Tiam local verified assets only. */
@font-face{font-family:"Tiam Yekan Bakh FaNum";font-style:normal;font-weight:300;font-display:block;src:url("/static/fonts/yekan-bakh/YekanBakhFaNum-Light.woff2") format("woff2")}
@font-face{font-family:"Tiam Yekan Bakh FaNum";font-style:normal;font-weight:400;font-display:block;src:url("/static/fonts/yekan-bakh/YekanBakhFaNum-Regular.woff2") format("woff2")}
@font-face{font-family:"Tiam Yekan Bakh FaNum";font-style:normal;font-weight:500;font-display:block;src:url("/static/fonts/yekan-bakh/YekanBakhFaNum-Regular.woff2") format("woff2")}
@font-face{font-family:"Tiam Yekan Bakh FaNum";font-style:normal;font-weight:600;font-display:block;src:url("/static/fonts/yekan-bakh/YekanBakhFaNum-SemiBold.woff2") format("woff2")}
@font-face{font-family:"Tiam Yekan Bakh FaNum";font-style:normal;font-weight:700;font-display:block;src:url("/static/fonts/yekan-bakh/YekanBakhFaNum-Bold.woff2") format("woff2")}
@font-face{font-family:"Tiam Yekan Bakh FaNum";font-style:normal;font-weight:800;font-display:block;src:url("/static/fonts/yekan-bakh/YekanBakhFaNum-ExtraBold.woff2") format("woff2")}
@font-face{font-family:"Tiam Yekan Bakh FaNum";font-style:normal;font-weight:900 950;font-display:block;src:url("/static/fonts/yekan-bakh/YekanBakhFaNum-ExtraBlack.woff2") format("woff2")}
:root{--tiam-font:"Tiam Yekan Bakh FaNum",sans-serif}
html,body,button,input,select,textarea,option,table,th,td,label,summary,.modal,.drawer,.side-drawer,.tiam-page-hero,.sidebar{font-family:var(--tiam-font)!important}
@media print{html,body,button,input,select,textarea,option,table,th,td{font-family:var(--tiam-font)!important}}

/* ===== SOURCE: reset.css | sha256:26055cbbb217443c3dea2dbc94d6720f2cb83c696491c705906cb9833aedd06b ===== */
/* TIAM v234 RAW UI — browser reset */

html,body{margin:0;padding:0;min-height:100%}
html{font-family:"Tiam Yekan Bakh FaNum",sans-serif;direction:rtl;background:#f4f4f4;color:#222}
body{min-height:100vh;background:#f4f4f4;color:#222;font-size:14px;line-height:1.55}


img,svg{max-width:100%}
a{color:inherit}
h1,h2,h3,h4,h5,h6,p{margin-top:0}
table{border-collapse:collapse}
[hidden],.hidden{display:none!important}

/* ===== SOURCE: tokens.css | sha256:8a389e1f4196a8bff5acdc75c266637b697500e01198368b29864875e7e1bf47 ===== */
/*
 * TIAM DESIGN FOUNDATION — Stage 1 / v246
 *
 * This file is the only approved entry point for global visual constants.
 * Stage 1 deliberately preserves the current neutral appearance. Solid Surface
 * values will be introduced only after visual approval in the next stage.
 *
 * Compatibility rule:
 * - Existing --ui-*, --app-* and historical aliases remain available.
 * - New work must consume the semantic --tiam-* aliases below.
 */
:root {
  /* Current neutral base — intentionally unchanged in Stage 1. */
  --ui-bg: #d8edf8;
  --ui-surface: rgba(246,251,255,.78);
  --ui-surface-alt: rgba(224,240,251,.72);
  --ui-text: #0d3157;
  --ui-muted: rgba(13,49,87,.74);
  --ui-border: rgba(115,162,199,.44);
  --ui-border-strong: rgba(76,135,181,.62);
  --ui-focus: #1676c8;
  --ui-danger: #9b2c2c;
  --ui-success: #2f6b43;
  --ui-warning: #8a5a12;
  --ui-info: #365f82;

  /* Geometry and spacing. */
  --ui-radius: 20px;
  --ui-space-1: 4px;
  --ui-space-2: 8px;
  --ui-space-3: 12px;
  --ui-space-4: 16px;
  --ui-space-5: 20px;
  --ui-space-6: 24px;
  --ui-sidebar-width: 240px;
  --ui-topbar-height: 64px;

  /* Typography and density. */
  --app-font-size: 14.5px;
  --font-xs: 11.5px;
  --font-sm: 12.5px;
  --font-base: 14.5px;
  --font-md: 15.5px;
  --font-lg: 18px;
  --font-xl: 22px;
  --app-row-min-height: 44px;
  --app-heading-scale: 1;

  /* Runtime-compatible appearance values. */
  --user-primary: #315f91;
  --user-sidebar: rgba(244,250,255,.76);
  --user-accent: #315f91;
  --user-border: rgba(103,153,193,.44);
  --blue: #315f91;
  --blue2: #4f8dca;
  --navy: #163762;
  --navy2: #102a4a;
  --border: rgba(103,153,193,.44);
  --gold-2: #56789d;
  --shadow: 0 5px 12px rgba(22,68,112,.12),0 16px 34px rgba(22,68,112,.10);
  --shadow-hover: 0 7px 15px rgba(22,68,112,.15),0 20px 40px rgba(22,68,112,.13);
  --app-bg: #d9edf9;
  --app-card-bg: rgba(246,251,255,.82);
  --app-radius: 20px;
  --app-button-radius: 999px;
  --app-border-width: 1px;
  --app-border-style: solid;

  /* Canonical TIAM semantic aliases for all new UI work. */
  --tiam-color-canvas: var(--ui-bg);
  --tiam-color-surface: var(--ui-surface);
  --tiam-color-surface-muted: var(--ui-surface-alt);
  --tiam-color-text: var(--ui-text);
  --tiam-color-text-muted: var(--ui-muted);
  --tiam-color-border: var(--ui-border);
  --tiam-color-border-strong: var(--ui-border-strong);
  --tiam-color-focus: var(--ui-focus);
  --tiam-color-danger: var(--ui-danger);
  --tiam-color-success: var(--ui-success);
  --tiam-color-warning: var(--ui-warning);
  --tiam-color-info: var(--ui-info);

  --tiam-radius-control: var(--app-button-radius);
  --tiam-radius-surface: var(--app-radius);
  --tiam-control-min-height: var(--app-row-min-height);
  --tiam-layout-sidebar-width: var(--ui-sidebar-width);
  --tiam-layout-topbar-height: var(--ui-topbar-height);

  --tiam-space-1: var(--ui-space-1);
  --tiam-space-2: var(--ui-space-2);
  --tiam-space-3: var(--ui-space-3);
  --tiam-space-4: var(--ui-space-4);
  --tiam-space-5: var(--ui-space-5);
  --tiam-space-6: var(--ui-space-6);

  --tiam-font-xs: var(--font-xs);
  --tiam-font-sm: var(--font-sm);
  --tiam-font-base: var(--font-base);
  --tiam-font-md: var(--font-md);
  --tiam-font-lg: var(--font-lg);
  --tiam-font-xl: var(--font-xl);

  /* Reserved motion contract; no visual redesign is applied in Stage 1. */
  --tiam-motion-fast: 120ms;
  --tiam-motion-normal: 180ms;
  --tiam-motion-slow: 260ms;
  --tiam-ease-standard: cubic-bezier(.2, .7, .2, 1);
  --tiam-ease-press: cubic-bezier(.2, .85, .3, 1.15);
}

/* TIAM Solid Surface Enterprise — Stage 2 experimental token contract.
   These tokens are consumed only by the isolated Component Lab in v247. */
:root {
  --tiam-solid-mint-light: #cffff5;
  --tiam-solid-aqua: #78dff4;
  --tiam-solid-blue: #168bea;
  --tiam-solid-royal: #0a43bc;
  --tiam-solid-navy: #0b145f;

  --tiam-surface-blur-control: 9px;
  --tiam-surface-blur-floating: 14px;
  --tiam-surface-blur-panel: 16px;
  --tiam-surface-edge: rgba(102,155,196,.45);
  --tiam-surface-highlight: rgba(255,255,255,.56);
  --tiam-surface-shadow-near: 0 2px 4px rgba(5,27,83,.12);
  --tiam-surface-shadow-mid: 0 9px 22px rgba(9,45,113,.16);
  --tiam-surface-shadow-far: 0 20px 42px rgba(7,31,87,.08);
  --tiam-surface-control-height: 48px;
  --tiam-surface-control-radius: 999px;
}


/* TIAM v285 — enterprise clarity material contract. */
:root{
  --tiam-canvas:#d8edf8;
  --tiam-surface-base:rgba(244,250,255,.78);
  --tiam-surface-elevated:rgba(249,253,255,.90);
  --tiam-surface-interactive:rgba(238,248,255,.92);
  --tiam-surface-muted:rgba(223,239,250,.74);
  --tiam-ink:#0d3157;
  --tiam-ink-secondary:#365b7d;
  --tiam-ink-muted:#5b7690;
  --tiam-edge:rgba(86,139,181,.38);
  --tiam-edge-strong:rgba(56,117,165,.58);
  --tiam-highlight:rgba(255,255,255,.56);
  --tiam-shadow-contact:0 2px 5px rgba(17,58,98,.13);
  --tiam-shadow-ambient:0 14px 32px rgba(17,58,98,.12);
  --tiam-shadow-elevated:var(--tiam-shadow-contact),var(--tiam-shadow-ambient),inset 0 1px 0 rgba(255,255,255,.76);
  --tiam-shadow-hover:0 3px 7px rgba(17,58,98,.16),0 18px 36px rgba(17,58,98,.14),inset 0 1px 0 rgba(255,255,255,.82);
  --tiam-shadow-pressed:inset 0 5px 11px rgba(37,85,129,.16),inset 0 -2px 5px rgba(255,255,255,.45),0 1px 3px rgba(17,58,98,.08);
  --tiam-surface-surface:#fff;
  --tiam-surface-surface-strong:#fff;
  --tiam-surface-surface-soft:rgba(236,247,254,.80);
  --tiam-surface-border:var(--tiam-edge);
  --tiam-surface-border-strong:var(--tiam-edge-strong);
  --tiam-surface-shadow:var(--tiam-shadow-elevated);
  --tiam-surface-shadow-hover:var(--tiam-shadow-hover);
  --tiam-surface-shadow-pressed:var(--tiam-shadow-pressed);
  --tiam-surface-blur:14px;
  --tiam-surface-radius:22px;
  --tiam-surface-pill:999px;
  --tiam-surface-ink:var(--tiam-ink);
  --tiam-row-height-compact:45px;
  --tiam-control-height:42px;
  --tiam-table-font:13px;
  --tiam-table-font-secondary:11.5px;
  --tiam-table-heading:12.5px;
  --tiam-weight-regular:500;
  --tiam-weight-medium:600;
  --tiam-weight-strong:700;
  --tiam-weight-title:800;
}

/* ===== SOURCE: layout.css | sha256:53f355385cc54e3cceb31225114b01b2ba6a27860909d8c3d5cb12bb3e13193b ===== */
*{box-sizing:border-box}html, body{margin:0;min-height:100%;font-weight:400;line-height:1.65}#app-shell{direction:rtl;}.brand{display:flex;align-items:center;}.brand strong, .brand small{display:block}.brand small{margin-top:4px;}#main-nav{display:flex;flex-direction:column;}.nav-item{width:100%;text-align:right;cursor:pointer;display:flex;align-items:center;}.sidebar-bottom small{display:block;text-align:center;padding-top:8px;}.page-head h1{margin:0;}.page-head p{margin:7px 0 0;}.page-actions{display:flex;flex-wrap:wrap;}.grid{display:grid;}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.span-2{grid-column:span 2}.full{grid-column:1/-1}.mini-action{width:28px;height:28px;cursor:pointer}.status{display:inline-flex;font-size:10.5px;}.filter-bar{padding:16px;display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px;align-items:end}.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);padding:14px;}.summary-box small{display:block;}.summary-box b{display:block;margin-top:7px;}.help-inline{padding:14px;display:flex;gap:10px;align-items:flex-start;font-size:11px}.help-inline strong{display:block;margin-bottom:4px}.help-icon{width:25px;height:25px;display:grid;place-items:center;font-weight:bold;flex:0 0 auto}.import-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.import-symbol{display:grid;place-items:center;flex:0 0 auto;}.import-actions{display:flex;gap:7px;flex-wrap:wrap}.help-steps{list-style:none;padding:0;margin:10px 0}.help-steps li{position:relative;padding:7px 42px 7px 0}.pay-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pay-box{overflow:hidden}.pay-box h4{margin:0;padding:10px;text-align:center}.pay-line{display:flex;justify-content:space-between;}.net-pay{padding:13px;text-align:center;font-size:17px;font-weight:bold;margin-top:13px}@media (max-width:1150px){.grid-4{grid-template-columns:repeat(2,1fr)}.filter-bar{grid-template-columns:repeat(3,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}}@media (max-width:820px){.sidebar{transform:translateX(105%)}.sidebar.open{transform:translateX(0)}.workspace{width:100%;margin-right:0}.topbar{padding:0 14px}.page-content{padding:16px}.grid-4, .grid-3, .grid-2, .import-grid{grid-template-columns:1fr}.span-2, .span-3, .span-4{grid-column:auto}.filter-bar{grid-template-columns:1fr 1fr}.pay-columns{grid-template-columns:1fr}.page-head{flex-direction:column}.sidebar{width:270px}.summary-strip{grid-template-columns:1fr 1fr}}@media (max-width:500px){.filter-bar{grid-template-columns:1fr}.summary-strip{grid-template-columns:1fr}.page-content{padding:12px}.page-actions{width:100%}}.date-control{display:flex;align-items:stretch;direction:ltr;width:100%}.calendar-trigger{width:42px;font-size:18px;cursor:pointer}.jdate-picker{position:fixed;z-index:500;width:310px;padding:12px;direction:rtl}.jdate-head{display:grid;grid-template-columns:34px 1fr 84px 34px;gap:7px;align-items:center;margin-bottom:10px}.jweek, .jdays{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.jweek span{text-align:center;font-size:10.5px;padding:5px}.jday{height:34px;cursor:pointer}.jdate-foot{display:flex;justify-content:space-between;gap:8px;margin-top:10px;padding-top:10px}.filter-actions{display:flex;gap:7px;align-items:end}@media (max-width:1200px){}@media (max-width:650px){.filter-actions{display:grid;grid-template-columns:1fr 1fr}.jdate-picker{width:min(310px,calc(100vw - 20px))}}@media (max-width:1350px){}@media (max-width:1000px){}@media (max-width:650px){.accounting-filter, .allocation-filter, .import-summary{grid-template-columns:1fr}}.section-kicker{margin-bottom:3px;}.eyebrow{display:inline-block;font-size:10.5px;font-weight:800;margin-bottom:8px}.money-suffix{display:flex;align-items:center;justify-content:center;min-width:48px;padding:0 9px;font-size:10.5px;font-weight:700;direction:rtl}@media (max-width:1350px){}@media (max-width:1000px){}@media (max-width:820px){.workspace{width:100%;margin-right:0}.sidebar{width:280px}.page-content{padding:17px}}@media (max-width:540px){}.workspace{position:relative;isolation:isolate}.brand{position:relative;}.nav-item{overflow:hidden;}.status{padding:5px 10px}.commission-editor{min-width:0}.commission-editor-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px;margin-bottom:13px}.commission-person{display:flex;align-items:center;gap:11px}.commission-person b, .commission-person small{display:block}.commission-person b{font-size:16px}.commission-person small{font-size:10.5px;margin-top:3px}.commission-rule{text-align:left;direction:rtl;padding:9px 13px}.commission-rule span, .commission-rule b{display:block}.commission-rule span{font-size:10.5px}.commission-rule b{font-size:11px;margin-top:3px}.commission-matrix{min-width:750px}.commission-product{display:flex;align-items:center;gap:10px}.commission-product b, .commission-product small{display:block}.commission-product small{font-size:10.5px;margin-top:3px}.commission-product-icon{width:34px;height:34px;display:grid;place-items:center}@media (max-width:1100px){.commission-rule{display:none}}@media (max-width:820px){.commission-editor-head{align-items:flex-start}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.salary-source-box{padding:10px 12px;margin-bottom:12px;font-size:11px}.content{font-size:14px}.summary-box small{font-size:12px}.daily-bonus-info{margin-top:12px;padding:12px 14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.daily-bonus-info b{font-size:16px}.daily-bonus-info small{margin-right:auto}.segmented{display:flex;padding:3px}.seller-ranking{padding:14px}.seller-ranking h4{font-size:16px;margin:0 0 12px}.ranking-list{display:grid;gap:8px}.ranking-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:10px}.ranking-row .rank{width:30px;height:30px;display:grid;place-items:center;font-weight:800}.ranking-row b, .ranking-row small{display:block}.ranking-row small{font-size:10.5px}.ranking-row strong{font-size:13px}@media (max-width:760px){html, body{font-size:14px}.page-head h1{font-size:23px}.ranking-row{grid-template-columns:30px 1fr}.ranking-row strong{grid-column:2}.top-sellers-section .grid-2{grid-template-columns:1fr}}.leave-hint{margin-top:12px;padding:10px 12px;font-size:12px;font-weight:700}@media (max-width:900px){}body{line-height:1.7}.summary-strip{gap:12px}.actions-cell{display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap}.returned-row td{opacity:.92}.return-sale-summary{display:grid;gap:4px;padding:14px;margin-bottom:14px}.return-sale-summary b{font-size:17px}.return-sale-summary span{font-weight:800}.pay-line{font-size:13.5px;padding:9px 10px}.daily-bonus-info{font-size:13px}@media (max-width:1300px){}@media (max-width:900px){.page-content{padding:22px 18px 38px}.page-head h1{font-size:26px}}@media (max-width:600px){html, body{font-size:15px}.page-content{padding:18px 12px 32px}.page-head h1{font-size:23px}}.ltr-cell{direction:ltr;unicode-bidi:isolate;display:inline-block}.dashboard-reminder-main{min-width:0}.dashboard-reminder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:9px}.dashboard-reminder-head h3{margin:2px 0 0;font-size:16px}.dashboard-reminder-head small{font-size:11px}#dashboard-reminder{width:100%;min-height:86px;resize:vertical;padding:11px 13px;line-height:1.9}.dashboard-reminder-save{white-space:nowrap}@media (max-width:760px){.dashboard-reminder-save{grid-column:1/-1;width:100%}.dashboard-reminder-head{display:block}.dashboard-reminder-head small{display:block;margin-top:4px}}.daily-rules-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px}.daily-rules-head h3{margin:4px 0 5px}.daily-rules-head p{margin:0;font-size:12px}.daily-rule-totals{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.daily-rule-totals span{padding:8px 11px;font-size:11px}.daily-rule-totals b{display:block;margin-top:3px;font-size:13px}.daily-rules-grid{display:grid;grid-template-columns:1.25fr .9fr;gap:14px;padding:15px}.daily-rules-panel{padding:13px;min-width:0}.daily-rules-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.daily-rules-panel-head small{padding:3px 8px}.daily-rule-list{display:grid;gap:7px;max-height:310px;overflow:auto;padding-left:3px}.daily-rule-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:9px}.daily-rule-row b{display:block}.daily-rule-row small{display:block;margin-top:3px;font-size:10.5px}.daily-rule-row strong{white-space:nowrap;font-size:12px}.daily-rule-symbol{width:32px;height:32px;display:grid;place-items:center;font-size:17px}.daily-rule-more{text-align:center;font-size:10.5px;padding:7px}.daily-penalty-summary{display:grid;gap:5px;padding:12px;margin-bottom:10px}.daily-penalty-summary strong{font-size:19px}.daily-penalty-summary span{font-size:11px;line-height:1.8}.daily-rules-foot{padding:10px 17px;font-size:10.5px}.daily-rule-message{margin:10px 15px 0;padding:9px 11px;font-size:11px}@media (max-width:900px){.daily-rules-head{display:block}.daily-rule-totals{justify-content:flex-start;margin-top:12px}.daily-rules-grid{grid-template-columns:1fr}}@media (max-width:560px){.daily-rule-row{grid-template-columns:auto 1fr}.daily-rule-row strong{grid-column:2}.daily-rules-head{padding:15px}.daily-rules-grid{padding:10px}}.employee-list-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.employee-list-head h3{margin:4px 0 6px;font-size:22px}.employee-list-head p{margin:0;font-size:13px;max-width:700px}.employee-stat{min-width:140px;padding:14px 16px;text-align:center}.employee-stat small{display:block;font-size:12px}.employee-stat b{display:block;font-size:22px;margin-top:5px}.employee-identify{display:flex;align-items:center;gap:14px;min-width:0}.employee-identify h4{margin:0;font-size:19px}.employee-meta-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px;font-size:12px}.employee-meta-line .dot{width:5px;height:5px;display:inline-block}.employee-tag{display:inline-flex;align-items:center;justify-content:center;min-width:74px;padding:7px 12px;font-size:11px;font-weight:700}.employee-mini-grid{display:grid;gap:12px;}.employee-mini-item{padding:13px 14px}.employee-mini-item small{display:block;font-size:11px;margin-bottom:5px}.employee-mini-item b{display:block;font-size:14px;line-height:1.8}.employee-inline-panel{padding:18px}.employee-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.employee-panel-head h4{margin:4px 0 0;font-size:18px}.create-panel{margin-top:18px}.section-kicker{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;}@media (max-width:1180px){.employee-stat{flex:1}}@media (max-width:760px){.employee-list-head h3{font-size:18px}.employee-meta-line{font-size:11px}}.ui-icon{width:18px;height:18px;flex:0 0 auto}.sidebar{right:18px;top:18px;bottom:18px;}.brand{gap:13px;}.brand-mark{width:52px;height:52px;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain;padding:6px}.brand small{opacity:1;}.nav-item{gap:11px;}.nav-item svg{width:20px;height:20px}.nav-item span{width:auto;text-align:right;font-size:inherit}.nav-section{padding:15px 13px 7px;}.sidebar-bottom small{opacity:1}.workspace{margin:0 258px 0 0;}.top-title small{font-size:11px}.top-search{max-width:350px;height:45px;padding:0 14px}.top-search svg{width:19px;height:19px}.page-actions{gap:9px}@media (max-width:1180px){.top-search{max-width:270px}}@media (max-width:900px){body{padding:0}.sidebar{right:0;top:0;bottom:0;width:280px;transform:translateX(105%)}.sidebar.open{transform:translateX(0)}.workspace{width:100%;margin:0;min-height:100vh}.topbar{padding:0 14px;height:76px}.top-search{display:none}.page-content{padding:18px 14px 34px}}@media (max-width:560px){.top-title b{font-size:13px}.top-title small{font-size:10.5px}.page-head{align-items:flex-start}.page-head h1{font-size:21px}}body{overflow-x:hidden;}.nav-section{margin:15px 13px 5px;}.filter-result-caption{font-size:11px;margin-top:10px}.daily-close-box{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:14px;margin:14px 0}.daily-close-box .grow{flex:1 1 260px}.daily-review-section{padding:14px;margin-bottom:14px}.daily-review-list{display:grid;gap:8px;margin-top:10px}.daily-review-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:12px;align-items:center;padding:10px 12px}.daily-review-row small{display:block;margin-top:4px}.daily-review-actions{display:flex;gap:6px}.settings-grid{display:grid;grid-template-columns:1fr;gap:16px}@media (max-width:900px){body{padding:0}.sidebar{right:0;top:0;bottom:0}.daily-review-row{grid-template-columns:1fr}.daily-review-actions{justify-content:flex-start}}@media (max-width:560px){.page-content{padding:15px 11px 30px}.grid-5, .grid-4, .grid-3, .grid-2{grid-template-columns:1fr}.top-title b{font-size:12px}.top-title small{display:none}.page-head h1{font-size:20px}.employee-actions{grid-template-columns:1fr}}body.sidebar-lock{overflow:hidden}.nav-item{position:relative;padding:11px 16px;}.chart-legend, .legend-dot+span{font-size:12px}.sidebar-overlay{position:fixed;inset:0;z-index:25;opacity:0;pointer-events:none}.sidebar-overlay.show{opacity:1;pointer-events:auto}@media (max-width:900px){.page-content{padding:16px 12px 28px}.topbar{height:72px;padding:0 12px;gap:10px}.top-title{min-width:0;flex:1}.top-title b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-title small{display:none}.filter-bar, .report-filter-bar{grid-template-columns:1fr}.summary-strip{grid-template-columns:1fr 1fr}.top-search{display:none}}@media (max-width:560px){.summary-strip{grid-template-columns:1fr}.page-head{margin-bottom:14px}.page-actions{width:100%}}.settings-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}.settings-shortcuts span{grid-row:1/3;font-size:24px}@media (max-width:800px){.settings-shortcuts{grid-template-columns:1fr}}.invoice-image-actions{display:flex;align-items:center;justify-content:center;gap:6px}.invoice-thumb{width:54px;height:42px;padding:2px;cursor:pointer;overflow:hidden}.invoice-thumb img{width:100%;height:100%;object-fit:cover}.invoice-viewer{display:flex;align-items:center;justify-content:center;min-height:300px;max-height:70vh;overflow:auto;padding:12px}.invoice-viewer img{display:block;max-width:100%;max-height:66vh;object-fit:contain}.rec-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.rec-file-box{display:flex;flex-direction:column;gap:9px;padding:18px;cursor:pointer}.rec-file-box small, .block-muted{display:block;font-size:11px;margin-top:4px}.rec-options{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0}.rec-summary{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:16px}.rec-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.rec-parts{display:grid;gap:5px;min-width:260px}.rec-part{display:block;padding:6px 8px;font-size:11px;white-space:nowrap}@media (max-width:1000px){.rec-upload-grid{grid-template-columns:1fr}.rec-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-actions{width:100%}}.rec-amount, .rec-sale-date{min-width:130px}.rec-case-row.is-saving{opacity:.72}.rec-step-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.rec-step-strip>div{display:flex;align-items:center;gap:9px;padding:11px 13px}.rec-step-strip b{display:grid;place-items:center;width:28px;height:28px}.rec-new-batch>summary, .rec-history>summary, .rec-supervisor-details>summary, .rec-more-tools>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px}.rec-new-batch>summary::-webkit-details-marker, .rec-history>summary::-webkit-details-marker, .rec-supervisor-details>summary::-webkit-details-marker, .rec-more-tools>summary::-webkit-details-marker{display:none}.rec-new-batch>summary span, .rec-history>summary span, .rec-supervisor-details>summary span{display:grid;gap:3px}.rec-new-batch>summary small, .rec-history>summary small, .rec-supervisor-details>summary small{font-weight:400}.rec-upload-body{padding-top:14px}.rec-start-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.rec-start-row span{font-size:12px}.rec-advanced-options{margin-top:14px;padding-top:10px}.rec-advanced-options>summary{cursor:pointer;font-weight:700}.rec-current-batch{margin-top:16px}.rec-batch-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 2px 12px}.rec-batch-heading h2{margin:3px 0 4px}.rec-batch-heading p{margin:0}.rec-batch-files{display:grid;gap:4px;text-align:left;font-size:11px;max-width:42%}.rec-batch-files span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rec-simple-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.rec-workbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px}.rec-workbar h3{margin:0 0 4px}.rec-quick-actions{display:flex;gap:7px;padding:10px 18px}.rec-status-group{margin-bottom:10px;overflow:hidden}.rec-status-group>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;list-style:none}.rec-status-group>summary::-webkit-details-marker{display:none}.rec-status-group>summary span:first-child{display:grid;gap:3px}.rec-status-group>summary small{font-weight:400}.rec-status-count{display:grid;place-items:center;min-width:32px;height:32px;padding:0 9px;font-weight:800}.rec-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.rec-wait-icon{display:grid;place-items:center;width:20px;height:20px}.rec-case-title h4{margin:2px 0;font-size:15px}.rec-case-title span{font-size:11px}.rec-friendly-status{font-weight:800;white-space:nowrap;}.rec-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.rec-edit-grid label>small{font-size:10.5px}.rec-case-details{margin:0 12px 12px}.rec-case-details>summary{cursor:pointer;padding:9px 11px;font-size:12px;font-weight:700}.rec-payment-list{display:grid;gap:6px;padding:0 10px 10px}.rec-payment-line{display:grid;grid-template-columns:1.15fr 1fr 1fr 1.2fr;align-items:center;gap:7px;}.rec-action-hint{font-size:11px;margin-left:auto}.rec-more-tools{padding:12px 18px}.rec-more-tools>summary{font-size:12px;font-weight:800}.rec-more-tools-body{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px}.rec-supervisor-details, .rec-history{padding:15px}.rec-supervisor-details .rec-status-list{padding:14px 0 0}.rec-tech-summary{display:flex;gap:8px;flex-wrap:wrap;padding-top:10px}.rec-tech-summary span{padding:6px 10px;font-size:11px}.rec-all-done{text-align:center;padding:38px 20px}.rec-all-done>div{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 10px;font-size:25px}.rec-all-done h3{margin:0 0 5px}.rec-all-done p{margin:0}@media (max-width:1100px){.rec-case-grid{grid-template-columns:1fr}.rec-batch-heading{align-items:flex-start;flex-direction:column}.rec-batch-files{max-width:100%;text-align:right}.rec-payment-line{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.rec-step-strip{grid-template-columns:1fr}.rec-simple-summary{grid-template-columns:1fr}.rec-workbar{align-items:stretch;flex-direction:column}.rec-edit-grid{grid-template-columns:1fr}.rec-friendly-status{grid-column:2;justify-self:start}.rec-payment-line{grid-template-columns:1fr}.rec-quick-actions{flex-wrap:wrap}}.attachment-actions{display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap}.attachment-viewer{display:grid;gap:12px;justify-items:center}.attachment-viewer img{max-width:min(100%,760px);max-height:65vh;object-fit:contain}.attachment-viewer p{margin:0;font-size:.9rem}.refund-guide{margin-bottom:16px;overflow:hidden}.refund-guide>summary{cursor:pointer;display:flex;padding:16px 18px}.refund-guide>summary span{display:grid;gap:3px}.refund-guide-body{padding:16px 20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.65fr);gap:18px;align-items:start}.refund-guide-body ol{margin:0;padding-right:22px;line-height:2}.import-preview-notice{display:flex;flex-direction:column;gap:5px;padding:14px 16px;margin-bottom:14px}.import-issues{margin-top:14px;padding:14px 16px;max-height:280px;overflow:auto}.import-issues ol{margin:10px 0 0;padding-right:22px;line-height:1.9}.rec-delete-check{display:flex;align-items:center;gap:4px;font-size:.72rem;margin-top:7px;cursor:pointer;white-space:nowrap}.rec-quick-actions{flex-wrap:wrap}@media (max-width:800px){.refund-guide-body{grid-template-columns:1fr}}.dashboard-trend-controls{display:grid;grid-template-columns:1fr 1.4fr 1fr 1fr auto;gap:12px;align-items:end;margin:14px 0 8px;padding:12px}.trend-change{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.trend-change span{font-weight:800}.chart-area svg{width:100%;height:auto;min-height:300px;overflow:visible}.score-track{height:9px;overflow:hidden;margin-top:7px}.score-track i{display:block;height:100%}@media (max-width:1100px){.dashboard-trend-controls{grid-template-columns:repeat(2,1fr)}}@media (max-width:720px){.dashboard-trend-controls{grid-template-columns:1fr}}.login-screen{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:20px}.management-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px}.management-summary h2{margin:5px 0}.management-summary p{margin:0;line-height:1.9}.management-score{min-width:130px;height:110px;display:grid;place-content:center;text-align:center}.management-score b{font-size:28px}.management-score span{font-size:12px}.system-health{display:grid;gap:7px}.system-health h3{margin:0}.backup-status{text-align:left}.backup-status b, .backup-status small{display:block}@media (max-width:760px){.management-summary{align-items:stretch;flex-direction:column}.management-score{width:100%;height:80px}}.quality-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:280px}.quality-filter-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:14px 16px}.quality-filter-banner>div{display:flex;flex-direction:column;gap:4px}.quality-filter-banner span{font-size:12px}.current-month-invoice-summary{padding:0;overflow:hidden}@media (max-width:900px){.quality-actions{min-width:0;width:100%;justify-content:flex-start}.quality-filter-banner{align-items:flex-start;flex-direction:column}}.monthly-report-filter{grid-template-columns:minmax(180px,.7fr) minmax(220px,1fr) auto;align-items:end}.management-decision{display:grid;gap:4px;padding:12px 14px}.comparison-person-head{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.comparison-person-head>div{display:flex;justify-content:space-between;gap:10px;padding:12px 14px}.comparison-person-head span{font-size:12px}.comparison-score-gap{padding:8px 11px}.comparison-winner{font-weight:800}.evidence-result{display:inline-flex;padding:4px 8px;font-size:11px}.employee-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:1050px){.monthly-report-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.comparison-person-head{grid-template-columns:1fr}}@media (max-width:720px){.monthly-report-filter{grid-template-columns:1fr}.comparison-person-head>div{flex-direction:column}.employee-mini-grid{grid-template-columns:1fr}}body{padding:16px}.brand{padding:22px 18px 19px}.brand strong{font-size:16px;font-weight:850}.brand small{font-size:10.5px}.nav-section{font-size:10.5px;font-weight:750}.nav-item{min-height:45px;font-size:12.5px;font-weight:650}.nav-item.active{font-weight:850}.top-title b{font-weight:850;}.page-head h1{font-size:25px;font-weight:900}.page-head p{font-size:12.5px;line-height:1.9}.grid{gap:18px}.summary-box{padding:14px;text-align:center}.summary-box b{font-size:17px}.hero-panel p, .home-hero p, .accounting-hero p, .allocation-hero p, .finance-snapshot p{opacity:1}.settings-shortcuts{gap:14px}.chart-area svg text{font-weight:600}@media (max-width:900px){body{padding:0}.page-content{padding:18px 14px 34px}.topbar{height:74px;padding:0 13px}}@media (max-width:560px){.page-head h1{font-size:21px}.grid{gap:13px}}body.welcome-active{padding:0;overflow:auto}body.welcome-active #app-shell{display:none}.welcome-screen{position:relative;min-height:100vh;direction:rtl;overflow:hidden;isolation:isolate}.welcome-header{height:88px;max-width:1500px;margin:auto;padding:0 34px;display:flex;align-items:center;gap:34px}.welcome-brand{display:flex;align-items:center;gap:12px;min-width:240px}.welcome-brand>span:last-child{display:grid}.welcome-brand b{font-size:17px}.welcome-brand small{font-size:10.5px;margin-top:2px}.welcome-logo{width:50px;height:50px;display:grid;place-items:center}.welcome-logo img{width:40px;height:40px;object-fit:contain}.welcome-nav{display:flex;align-items:center;gap:28px;margin-right:auto}.welcome-nav a{font-size:12.5px;font-weight:750;position:relative;padding:33px 0}.welcome-enter span{font-size:20px;margin-right:8px}.welcome-enter-small{min-height:44px;padding:0 18px;font-size:12px;white-space:nowrap}.welcome-hero{max-width:1500px;min-height:660px;margin:auto;padding:72px 38px 48px;display:grid;grid-template-columns:minmax(440px,.86fr) minmax(560px,1.14fr);align-items:center;gap:62px}.welcome-eyebrow{display:inline-flex;padding:8px 13px;font-size:11px;font-weight:850}.welcome-copy h1{font-size:48px;line-height:1.55;margin:20px 0 16px;font-weight:950}.welcome-copy h1 em{position:relative}.welcome-copy>p{max-width:650px;font-size:14px;line-height:2.15;margin:0}.welcome-actions{display:flex;gap:12px;margin-top:28px}.welcome-trust{display:flex;gap:30px;margin-top:36px}.welcome-trust span{display:grid;padding-right:13px}.welcome-trust b{font-size:16px}.welcome-trust small{font-size:10.5px;margin-top:2px}.welcome-visual{position:relative;min-height:520px;display:grid;place-items:center}.welcome-dashboard-mock{width:min(100%,720px);height:465px;overflow:hidden}.mock-top{height:48px;display:flex;align-items:center;gap:6px;padding:0 17px;font-size:10.5px}.mock-top i{width:8px;height:8px}.mock-top span{margin-right:auto;font-weight:800}.mock-body{height:calc(100% - 48px);display:flex;direction:rtl}.mock-side{width:105px;padding:22px 14px;display:flex;flex-direction:column;gap:16px}.mock-side b{height:36px}.mock-side span{height:9px}.mock-side span:nth-of-type(2){width:75%}.mock-side span:nth-of-type(3){width:88%}.mock-side span:nth-of-type(4){width:68%}.mock-main{flex:1;padding:22px}.mock-greeting{display:grid}.mock-greeting span{font-size:13px;font-weight:900}.mock-greeting small{font-size:10.5px;margin-top:3px}.mock-chart{height:190px;margin-top:12px;padding:14px 15px 8px;overflow:hidden}.mock-chart-title{display:flex;align-items:center}.mock-chart-title b{font-size:10.5px}.mock-chart-title span{margin-right:auto;width:42px;height:7px}.mock-chart svg{width:100%;height:145px;margin-top:3px}.mock-bottom{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.mock-bottom>div{height:52px;display:grid;grid-template-columns:35px 1fr;grid-template-rows:1fr 1fr;gap:4px;padding:9px}.mock-bottom span{grid-row:1/3;width:30px;height:30px}.mock-bottom b{height:7px}.mock-bottom small{height:5px;width:68%}.welcome-float{position:absolute;padding:12px 15px}.float-sales{left:-6px;top:112px;display:grid}.float-sales span{font-size:10.5px}.float-sales b{font-size:15px;margin-top:2px}.float-quality{right:-18px;bottom:73px;display:flex;align-items:center;gap:9px}.float-quality i{width:34px;height:34px;display:grid;place-items:center;font-weight:900}.float-quality span{font-size:10.5px}.float-quality b{font-size:11px}.welcome-section{max-width:1500px;margin:auto;padding:92px 38px}.welcome-section-head{text-align:center;max-width:700px;margin:0 auto 36px}.welcome-section-head>span{font-size:11px;font-weight:900}.welcome-section-head h2{font-size:31px;margin:8px 0}.welcome-section-head p{font-size:13px;line-height:2}.welcome-module-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.welcome-module{text-align:right;min-height:245px;padding:24px;cursor:pointer;position:relative;overflow:hidden}.welcome-module>span{font-size:30px;font-weight:950;opacity:.28}.welcome-module h3{font-size:18px;margin:17px 0 8px}.welcome-module p{font-size:11px;line-height:1.95;min-height:66px}.welcome-module b{font-size:10.5px}.welcome-feature-band{max-width:1424px;margin:0 auto 90px;padding:30px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.welcome-feature-band>div{display:grid;grid-template-columns:50px 1fr;align-items:center;gap:3px 12px;padding:11px 16px}.welcome-feature-band span{grid-row:1/3;width:45px;height:45px;display:grid;place-items:center;font-size:18px}.welcome-feature-band b{font-size:13px}.welcome-feature-band small{font-size:10.5px;line-height:1.7}.welcome-footer{min-height:95px;display:flex;align-items:center;justify-content:space-between;padding:0 max(38px,calc((100vw - 1424px)/2));font-size:11px}.suite-nav{display:flex;align-items:center;gap:5px;flex:1;justify-content:center;min-width:0}@media (max-width:1050px){.welcome-header{padding:0 20px}.welcome-nav{display:none}.welcome-enter-small{margin-right:auto}.welcome-hero{grid-template-columns:1fr;padding-top:48px}.welcome-copy{text-align:center}.welcome-copy>p{margin-inline:auto}.welcome-actions, .welcome-trust{justify-content:center}.welcome-visual{min-height:500px}.welcome-module-grid{grid-template-columns:repeat(2,1fr)}.welcome-feature-band{margin-inline:20px;grid-template-columns:1fr}}@media (max-width:700px){.welcome-header{height:74px}.welcome-brand{min-width:0}.welcome-brand small{display:none}.welcome-logo{width:42px;height:42px}.welcome-logo img{width:34px;height:34px}.welcome-enter-small{min-height:39px;padding:0 12px}.welcome-hero{padding:46px 18px 35px;gap:28px;min-height:0}.welcome-copy h1{font-size:31px;line-height:1.65}.welcome-copy>p{font-size:12px}.welcome-actions{flex-direction:column}.welcome-trust{gap:9px;display:grid;grid-template-columns:repeat(3,1fr)}.welcome-trust span{padding:8px}.welcome-visual{min-height:340px}.welcome-dashboard-mock{height:310px}.mock-top{height:35px}.mock-body{height:calc(100% - 35px)}.mock-side{width:62px;padding:15px 8px}.mock-main{padding:12px}.mock-chart{height:125px}.mock-chart svg{height:86px}.mock-bottom{display:none}.welcome-float{display:none}.welcome-section{padding:65px 18px}.welcome-section-head h2{font-size:24px}.welcome-module-grid{grid-template-columns:1fr}.welcome-module{min-height:210px}.welcome-feature-band{margin:0 18px 55px;padding:18px}.welcome-footer{padding:20px;gap:15px;flex-direction:column;text-align:center}}.suite-nav, #global-help{display:none}@media (min-width:901px){.sidebar{display:flex}.workspace{width:calc(100% - 258px);margin:0 258px 0 0}}*::-webkit-scrollbar{width:10px;height:10px}#main-nav{overflow:visible;padding:13px 11px 10px;gap:6px;}.nav-section{display:none}.nav-dashboard{margin-bottom:2px}.side-nav-group{position:relative;flex:0 0 auto}.side-nav-trigger{width:100%;min-height:46px;padding:10px 14px;display:grid;grid-template-columns:21px 1fr 18px;align-items:center;gap:10px;font-size:12.5px;font-weight:780;text-align:right;cursor:pointer}.side-nav-trigger svg{width:20px;height:20px}.side-nav-trigger span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-nav-trigger i{font-size:17px;line-height:1;text-align:center}.side-nav-panel{gap:3px;}.side-nav-group.open>.side-nav-panel{padding:6px 8px 4px;}.side-nav-panel .nav-item{min-height:38px;padding:8px 12px;font-size:11.5px;gap:9px}.side-nav-panel .nav-item svg{width:18px;height:18px}@media (min-width:901px){.sidebar{overflow:hidden}.side-nav-group:hover>.side-nav-panel{pointer-events:auto}}@media (max-height:720px) and (min-width:901px){.brand{padding-top:13px;padding-bottom:12px}.brand-mark{width:44px;height:44px}#main-nav{padding-top:8px;gap:3px}.nav-item, .side-nav-trigger{min-height:39px;padding-top:7px;padding-bottom:7px}.side-nav-panel .nav-item{min-height:32px;padding-top:5px;padding-bottom:5px}.side-nav-group.open>.side-nav-panel{padding-top:3px;padding-bottom:2px}.sidebar-bottom{padding-top:6px;padding-bottom:8px}}@media (max-width:900px){#main-nav{overflow-y:auto;overflow-x:hidden}.side-nav-group.open>.side-nav-panel{max-height:420px}.side-nav-trigger{min-height:46px}}.side-nav-panel .nav-item.active{font-weight:850}.intro-screen{position:fixed;inset:0;z-index:7000;display:grid;place-items:center;overflow:hidden;isolation:isolate}.intro-center{width:min(680px,90vw);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px}.intro-logo{display:block;width:min(470px,68vw);height:auto;aspect-ratio:1/1;object-fit:contain;user-select:none}@media (max-width:700px){.intro-center{gap:22px}.intro-logo{width:min(390px,78vw)}}.settings-wide{grid-column:1/-1}.ranking-average{align-items:flex-start}.ranking-average>div{display:flex;flex-direction:column;gap:3px;min-width:0}.ranking-average small{display:block}.smart-ok{margin:14px 18px;padding:11px 14px}.mini-stat{padding:12px;text-align:center}.mini-stat span{display:block;font-size:10.5px}.mini-stat b{display:block;margin-top:6px;font-size:16px}@media (max-width:900px){.settings-wide{grid-column:auto}}.ai-daily-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.ai-daily-person{padding:14px}.ai-daily-person>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.ai-daily-person p{margin:10px 0;line-height:1.8}.ai-daily-person small{display:block;line-height:1.7}.ai-management-actions{margin-top:14px;padding-top:12px}.ai-management-actions ul{margin:8px 18px 0 0;line-height:1.9}.ai-chat-toolbar{padding:18px}.ai-connection-strip{margin-top:12px;padding:11px 14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ai-chat-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);gap:16px;align-items:start}.ai-chat-panel, .ai-conclusion-panel{padding:18px}.ai-messages{height:520px;overflow:auto;padding:15px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}.ai-message{max-width:88%;padding:12px 14px;line-height:1.9}.ai-message.manager{align-self:flex-start}.ai-message.assistant{align-self:flex-end}.ai-message-label{font-size:.78rem;font-weight:800;margin-bottom:4px}.ai-message small{display:block;margin-top:5px;font-size:.72rem}.ai-welcome{margin:auto;max-width:620px;text-align:center;line-height:2;padding:30px}.ai-compose{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px;align-items:end}.ai-generated-conclusion{margin:12px 0 16px;padding:14px;line-height:1.9;min-height:90px}.check-row{display:flex;align-items:center;gap:9px;cursor:pointer}@media (max-width:1000px){.ai-chat-layout{grid-template-columns:1fr}.ai-messages{height:440px}.ai-daily-grid{grid-template-columns:1fr}}@media (max-width:700px){.ai-compose{grid-template-columns:1fr}.ai-message{max-width:96%}}.rec-search-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:12px 0 14px;padding:12px}.rec-search-result{white-space:nowrap;}.seller-name-cell{min-width:170px;text-align:right;white-space:normal;line-height:1.7}.seller-name-cell b, .seller-name-cell small{display:block;text-align:right}.seller-name-cell small{margin-top:3px}@media (max-width:700px){.rec-search-bar{grid-template-columns:1fr}.rec-search-result{white-space:normal}}.rec-expand-cell{text-align:center;}.rec-row-toggle{cursor:pointer;display:inline-grid;place-items:center;}.rec-row-toggle span{display:inline-block;font-size:12px;line-height:1}.rec-pay-summary b{display:block;}.rec-pay-summary small{display:block;margin-top:4px;}.rec-row-actions .rec-action-hint{display:block;text-align:center;font-size:11px}.rec-case-detail-row{display:none}.rec-case-row.rec-row-expanded .rec-case-detail-row{display:table-row}.rec-case-detail-row>td{padding:0 42px 12px 12px}.rec-row-detail-panel{display:grid;gap:10px;}.rec-row-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px}.rec-row-detail-head small{font-size:11px}.rec-row-meta-grid{display:grid;}.rec-row-meta-grid span{display:block;margin-bottom:4px;}.rec-row-meta-grid b{display:block;word-break:break-word;}@media (max-width:900px){.rec-row-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-row-detail-head{align-items:flex-start;flex-direction:column}}.rec-expand-cell{width:34px}.rec-row-toggle{width:26px;height:26px}.rec-customer-cell{min-width:190px}.rec-type-cell{min-width:124px}.rec-pay-summary{min-width:145px}.rec-pay-summary b{font-size:11px}.rec-pay-summary small{font-size:10.5px}.rec-amount-cell{min-width:138px}.rec-row-actions{min-width:140px}.rec-friendly-status{font-size:10.5px;padding:4px 7px}.rec-delete-check span{font-size:10.5px}.rec-group-toolbar{display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding:8px 12px}.rec-row-meta-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.rec-row-meta-grid div{padding:6px}.rec-row-meta-grid span{font-size:10.5px}.rec-row-meta-grid b{font-size:11px}.rec-row-detail-panel{padding:9px}.rec-payment-line{padding:6px;font-size:10.5px}@media (max-width:900px){.rec-row-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}body[data-page="reconciliation"] .rec-workbar{padding:12px 14px}body[data-page="reconciliation"] .rec-workbar h3{font-size:15px}body[data-page="reconciliation"] .rec-workbar small{font-size:10.5px}body[data-page="reconciliation"] .rec-quick-actions{padding:7px 12px;gap:5px;flex-wrap:wrap}body[data-page="reconciliation"] .rec-delete-check{display:inline-flex;align-items:center;gap:2px;margin-inline-start:3px;cursor:pointer}body[data-page="reconciliation"] .rec-delete-check span{line-height:1;}body[data-page="reconciliation"] .rec-type-cell small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}body[data-page="reconciliation"] .rec-friendly-status{margin-inline-end:3px;}body[data-page="reconciliation"] .rec-row-actions{text-align:center;white-space:nowrap;}body[data-page="reconciliation"] .rec-action-hint{display:inline-grid;place-items:center;width:27px;height:27px;font-size:13px;margin:0}body[data-page="reconciliation"] .rec-case-detail-row{display:table-row}body[data-page="reconciliation"] .rec-case-detail-row>td{padding:0 30px 0 8px}body[data-page="reconciliation"] .rec-row-detail-shell{max-height:0;opacity:0;overflow:hidden}body[data-page="reconciliation"] .rec-case-row.rec-row-expanded .rec-row-detail-shell{max-height:980px;opacity:1;transform:none;padding:0 0 8px}body[data-page="reconciliation"] .rec-row-detail-panel{padding:9px;gap:8px}body[data-page="reconciliation"] .rec-decision-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px}body[data-page="reconciliation"] .rec-decision-box b{display:block;margin-bottom:3px;}body[data-page="reconciliation"] .rec-detail-section-title{margin:0 2px -2px;}body[data-page="reconciliation"] .rec-row-meta-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}body[data-page="reconciliation"] .rec-history-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body[data-page="reconciliation"] .rec-history-mini div{padding:6px 8px}body[data-page="reconciliation"] .rec-history-mini b{display:block;margin-bottom:2px;}body[data-page="reconciliation"] .rec-history-mini span{display:block;}@media (max-width:900px){body[data-page="reconciliation"] .rec-row-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="reconciliation"] .rec-history-mini{grid-template-columns:1fr}}body[data-page="reconciliation"] .rec-detail-save-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:0 10px 10px}@media (max-width:900px){body[data-page="reconciliation"] .rec-detail-save-bar{grid-template-columns:1fr;align-items:stretch}}body[data-page="reconciliation"] .rec-source-compare-list{display:grid;gap:9px;margin:8px 0 10px}body[data-page="reconciliation"] .rec-source-compare-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px}body[data-page="reconciliation"] .rec-source-compare-head b{font-size:12px}.rec-source-compare-head span{font-size:11px;font-weight:800}body[data-page="reconciliation"] .rec-source-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px}body[data-page="reconciliation"] .rec-source-missing{grid-column:1/-1;margin:0;padding:9px;font-size:11.5px;line-height:1.9}@media (max-width:900px){body[data-page="reconciliation"] .rec-source-columns{grid-template-columns:1fr}}body[data-page="reconciliation"] .rec-customer-cell{min-width:190px;max-width:240px}body[data-page="reconciliation"] .rec-customer-cell .rec-buyer{height:38px;font-size:14px;font-weight:800;padding:8px 10px}body[data-page="reconciliation"] .rec-type-cell{min-width:148px;max-width:170px}body[data-page="reconciliation"] .rec-type-cell small{font-size:12px;max-width:158px;line-height:1.6}body[data-page="reconciliation"] .rec-friendly-status{font-size:12.7px;padding:6px 10px}body[data-page="reconciliation"] .rec-amount-cell{max-width:178px;}body[data-page="reconciliation"] .rec-date-cell{min-width:122px;max-width:134px}body[data-page="reconciliation"] .rec-expert-cell, body[data-page="reconciliation"] .rec-product-cell{min-width:165px;max-width:188px}body[data-page="reconciliation"] .rec-row-toggle{width:32px;height:32px;font-size:15px}body[data-page="reconciliation"] .rec-expand-cell{width:40px}body[data-page="reconciliation"] .rec-delete-check span{font-size:14px;}body[data-page="reconciliation"] .rec-row-actions{min-width:50px;width:50px}body[data-page="reconciliation"] .rec-decision-box b{font-size:13.5px}body[data-page="reconciliation"] .rec-detail-section-title{font-size:13.5px}body[data-page="reconciliation"] .rec-row-meta-grid div{font-size:13px;padding:9px;line-height:1.75}body[data-page="reconciliation"] .rec-history-mini b{font-size:13px}body[data-page="reconciliation"] .rec-history-mini span{font-size:12px}body[data-page="reconciliation"] .rec-detail-save-bar-wide{grid-template-columns:minmax(140px,220px) minmax(0,1fr) auto}@media (max-width:900px){body[data-page="reconciliation"] .rec-detail-save-bar-wide{grid-template-columns:1fr}}.forgive-check{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;cursor:pointer}.forgive-check span{display:grid;gap:2px}.forgive-check small{font-size:11px}.forgiven-row td{opacity:.93}.forgiven-zero{display:block;font-size:11px;margin-top:2px}.mini-action.forgive{font-weight:900}.manual-access-panel{margin-top:14px;padding:14px}.manual-access-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.manual-access-head label{display:flex;align-items:center;gap:8px;font-weight:700}.access-page-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.access-page-check{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;cursor:pointer}.access-page-check span{display:grid;gap:2px}.access-page-check b{font-size:13px}.access-page-check small{font-size:11px}.d-block{display:block}.compact-section-nav{flex-wrap:wrap;gap:6px;margin:8px 0 12px;}.contract-inline{display:block;margin-top:5px;padding:4px 6px;font-size:11px;font-weight:800}.compact-import-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.import-symbol{width:38px;height:38px;font-size:20px}.case-top-meta{display:flex;flex-wrap:wrap;gap:6px}.case-top-meta span{padding:4px 8px;font-size:11px}.compact-case-grid{gap:7px}.fast-action-box h4{margin:0 0 8px;font-size:13px}.compact-summary-list{gap:7px}.compact-summary-list>div{padding:8px 9px}.compact-summary-list label{font-size:10.5px}.compact-summary-list b{font-size:12px}.compact-scroll-area{max-height:180px;overflow:auto}.compact-timeline-item{gap:7px}@media (max-width:1050px){.compact-scroll-area{max-height:none}}.case-v10-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:10px;align-items:stretch;padding:10px 12px}.case-v10-title small, .case-v10-section-head small{display:block;font-size:10.5px;font-weight:900}.case-v10-title h2{margin:2px 0 6px;font-size:20px;line-height:1.3}.case-v10-meta{display:flex;flex-wrap:wrap;gap:6px}.case-v10-meta span{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;font-size:11px;white-space:nowrap}.case-v10-meta b{font-size:11px}.case-v10-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;padding-bottom:7px}.case-v10-section-head h3{margin:0;font-size:15px;line-height:1.2}.case-v10-section-head span{font-size:11px}.case-v10-edit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.case-v10-workspace{display:grid;grid-template-columns:1.2fr .8fr;gap:8px;align-items:start}.case-v10-workspace .case-v10-box:first-child{grid-column:1/-1}.case-v10-box{padding:0;overflow:hidden}.case-v10-box summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 11px}.case-v10-box summary::-webkit-details-marker{display:none}.case-v10-box summary b{font-size:13px}.case-v10-box summary span{font-size:11px}.case-v10-fast-grid{display:grid;grid-template-columns:1.35fr .75fr;gap:8px;padding:9px}.case-v10-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.case-v10-mini-grid.one-col{grid-template-columns:1fr}.case-v10-list, .case-v10-timeline{padding:8px;display:grid;gap:7px;max-height:190px;overflow:auto}.case-v10-time-item{display:grid;grid-template-columns:12px 1fr;gap:7px}.case-v10-time-item i{width:9px;height:9px;margin-top:4px}.case-v10-time-item>div{padding:7px}.case-v10-time-item b{font-size:12px}.case-v10-time-item small{float:left;font-size:10.5px}.case-v10-time-item span{display:block;font-size:10.5px;margin-top:3px}.case-v10-time-item p{margin:4px 0 0;font-size:11.5px;line-height:1.5}@media (max-width:1050px){.case-v10-hero, .case-v10-edit-grid, .case-v10-workspace, .case-v10-fast-grid, .case-v10-mini-grid{grid-template-columns:1fr}.case-v10-workspace .case-v10-box:first-child{grid-column:auto}}.sidebar-bottom #version-label{line-height:1.7;display:block;white-space:normal;font-weight:700}#version-label{white-space:normal;}.import-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.import-summary .summary-box{min-height:96px;display:grid;align-content:center;gap:8px;padding:18px}.import-summary .summary-box small{font-size:15px;font-weight:900}.import-summary .summary-box b{font-size:31px;line-height:1.15}@media (max-width:650px){.import-summary{grid-template-columns:1fr}}#version-label{opacity:1;padding:8px 4px 0;font-weight:800;font-size:11px;line-height:1.75}.week-detail-icon{display:inline-block;font-weight:900}.sidebar .sidebar-bottom #version-label{display:block;text-align:center;margin:0;padding:8px 4px 0;opacity:1;font-weight:700;font-size:11px;line-height:1.7;white-space:normal}body[data-page="settings"] .settings-grid.settings-accordion-list{display:flex;flex-direction:column;gap:10px}body[data-page="settings"] .settings-accordion-row{overflow:hidden}body[data-page="settings"] .settings-accordion-row summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:58px;padding:12px 16px;cursor:pointer;user-select:none}body[data-page="settings"] .settings-accordion-row summary::-webkit-details-marker{display:none}body[data-page="settings"] .settings-accordion-icon{width:30px;height:30px;display:grid;place-items:center;font-size:22px;line-height:1;font-weight:1000;flex:0 0 auto}body[data-page="settings"] .settings-accordion-title{display:flex;flex-direction:column;gap:4px;min-width:0}body[data-page="settings"] .settings-accordion-title b{font-size:14px;font-weight:950;line-height:1.35}body[data-page="settings"] .settings-accordion-title small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}body[data-page="settings"] .settings-accordion-body{padding:14px 16px 16px}body[data-page="settings"] .settings-accordion-body>.grid.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media (max-width:900px){body[data-page="settings"] .settings-accordion-row summary{align-items:flex-start}body[data-page="settings"] .settings-accordion-title small{white-space:normal}body[data-page="settings"] .settings-accordion-body{padding:12px}body[data-page="settings"] .settings-accordion-body>.grid.grid-2{grid-template-columns:1fr}}body[data-page="dashboard"] .page-head{margin-bottom:14px;padding:16px 18px}body[data-page="dashboard"] .page-head h1{font-size:24px;font-weight:1000}.dashboard-v39-shell{display:grid;gap:14px;max-width:1500px;margin:0 auto}.dashboard-command-center{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;overflow:hidden;position:relative}.dashboard-command-center h2{margin:2px 0 0;font-size:25px;font-weight:1000}.dashboard-command-center .section-kicker{font-weight:950}.dashboard-command-meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.dashboard-brief-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-brief-grid>div{min-height:92px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:14px}.dashboard-brief-grid small{font-size:12px;font-weight:900}.dashboard-brief-grid b{margin-top:5px;font-size:20px;font-weight:1000;line-height:1.25}.dashboard-panel{overflow:hidden}.dashboard-panel summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:12px;padding:14px 18px;min-height:58px;user-select:none}.dashboard-panel summary::-webkit-details-marker{display:none}.dashboard-panel summary b{display:block;font-size:15px;font-weight:1000}.dashboard-panel summary small{display:block;margin-top:2px;font-size:11.5px;font-weight:750}.dashboard-chevron{width:30px;height:30px;display:grid;place-items:center;font-weight:1000}.dashboard-panel-body{padding:14px;display:grid;gap:12px}@media (max-width:900px){.dashboard-command-center{align-items:flex-start;flex-direction:column}.dashboard-brief-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.dashboard-brief-grid{grid-template-columns:1fr}.dashboard-panel summary{padding:12px}.dashboard-panel-body{padding:10px}}body[data-page="dashboard"] .dashboard-v43-unified{gap:16px;padding-top:0}body[data-page="dashboard"] .dashboard-v43-unified .dashboard-main-header{order:0;margin:0 0 2px}body[data-page="dashboard"] .dashboard-v43-unified .dashboard-command-center{margin:0}body[data-page="dashboard"] .dashboard-v43-unified .dashboard-brief-grid{display:none}body[data-page="dashboard"] .dashboard-v43-unified .dashboard-panel-body{padding:14px}body[data-page="dashboard"] .dashboard-v43-unified .dashboard-panel:not([open]) .dashboard-panel-body{display:none}@media (min-width:901px){.side-nav-group:hover>.side-nav-panel{pointer-events:none}.side-nav-group.open:hover>.side-nav-panel{pointer-events:auto}}.side-nav-trigger{user-select:none}.side-nav-group:not(.open)>.side-nav-panel{max-height:0;opacity:0;padding-top:0;padding-bottom:0;pointer-events:none}.side-nav-group.open>.side-nav-panel{max-height:420px;opacity:1;pointer-events:auto}.allocation-source-box{margin:12px 0 16px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.allocation-source-box b{display:block;font-size:13px}.allocation-source-box small{display:block;margin-top:3px}.allocation-source-list{display:flex;flex-wrap:wrap;gap:7px}.allocation-source-list span{padding:6px 9px;font-size:11px}.transfer-callout{margin:12px 0 14px;padding:12px 14px;font-size:11px;line-height:1.9}.transfer-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;font-size:10.5px;font-weight:800}.transfer-meta{margin-top:10px;padding:9px 12px;font-size:11px;font-weight:800}.counterparty-hub{display:flex;flex-direction:column;gap:14px}.obligations-hero{display:flex;align-items:center;justify-content:space-between;gap:16px}.obligations-hero h3{margin:4px 0 8px}.obligations-hero p{margin:0;max-width:760px;line-height:1.9}.installment-row.paid{opacity:.72}@media (max-width:1100px){.obligations-hero{flex-direction:column;align-items:flex-start}}body.ui-compact .page-content{padding:16px 18px 30px}html, body{font-size:var(--app-font-size)}body :where(h1){font-size:calc(var(--font-xl) * var(--app-heading-scale))}body :where(h2){font-size:calc(var(--font-lg) * var(--app-heading-scale))}body[data-page="reconciliation"] .rec-amount-cell{min-width:178px;width:178px;white-space:nowrap}body[data-page="reconciliation"] .rec-row-meta-grid div:has(span + b){min-width:0}body[data-page="reconciliation"] .rec-index-cell{width:86px;min-width:86px;text-align:center}body[data-page="reconciliation"] .rec-index-stack{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}body[data-page="reconciliation"] .rec-index-stack>b{min-width:26px;font-weight:900}body[data-page="reconciliation"] .rec-date-summary-cell{min-width:118px;max-width:130px}body[data-page="reconciliation"] .rec-date-summary-cell b, body[data-page="reconciliation"] .rec-payer-summary-cell b, body[data-page="reconciliation"] .rec-product-summary-cell b, body[data-page="reconciliation"] .rec-related-summary-cell b{display:block;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}body[data-page="reconciliation"] .rec-date-summary-cell small, body[data-page="reconciliation"] .rec-payer-summary-cell small, body[data-page="reconciliation"] .rec-product-summary-cell small, body[data-page="reconciliation"] .rec-related-summary-cell small, body[data-page="reconciliation"] .rec-confidence-summary-cell small, body[data-page="reconciliation"] .rec-status-summary-cell small{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-top:3px}body[data-page="reconciliation"] .rec-payer-summary-cell{min-width:180px;max-width:240px}body[data-page="reconciliation"] .rec-amount-summary-cell{min-width:154px;max-width:174px;text-align:left;direction:ltr;white-space:nowrap;font-weight:900}body[data-page="reconciliation"] .rec-product-summary-cell{min-width:150px;max-width:190px}body[data-page="reconciliation"] .rec-status-summary-cell{min-width:130px;max-width:160px;text-align:center}body[data-page="reconciliation"] .rec-confidence-summary-cell{min-width:110px;max-width:130px;text-align:center}body[data-page="reconciliation"] .rec-related-summary-cell{min-width:170px;max-width:220px}body[data-page="reconciliation"] .rec-row-actions-clean{min-width:132px;width:132px;text-align:center;white-space:nowrap}.rec-payment-summary-cell{min-width:150px;max-width:210px;white-space:normal}.rec-payment-summary-cell b{display:block;font-size:12px;line-height:1.5}.rec-payment-summary-cell small{display:block;font-size:10.5px;line-height:1.5;margin-top:2px}.return-sale-summary .ltr-cell{direction:ltr;unicode-bidi:plaintext}.sale-buyer-cell{display:flex;flex-direction:column;gap:3px;min-width:160px}.sale-buyer-cell small{font-size:11px}.trace-chip{padding:5px 8px;display:flex;flex-direction:column;gap:1px;align-items:flex-start;cursor:pointer;min-width:105px}.trace-chip b{font-size:11.5px}.trace-chip small{font-size:10.5px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tracking-hero{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px;margin-bottom:14px}.tracking-hero b{display:block;font-size:18px}.tracking-hero small{display:block;margin-top:4px}.tracking-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px}.tracking-grid>div{padding:10px}.tracking-grid small{display:block;font-size:11px;margin-bottom:4px}.tracking-grid b{font-size:13px}.tracking-section{margin-top:14px;padding-top:12px}.tracking-section h4{margin:0 0 10px}.report-filter-bar{grid-template-columns:repeat(6,minmax(130px,1fr))}.report-filter-bar .filter-actions{grid-column:auto / span 2;align-self:end}@media (max-width:980px){.report-filter-bar{grid-template-columns:repeat(2,minmax(130px,1fr))}.tracking-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.trace-chip{min-width:auto}}.rec-technical-placeholder{padding:18px;display:flex;align-items:center;justify-content:center;margin-top:12px}body .sidebar{overflow:hidden}body .brand{position:relative;z-index:1;padding:24px 18px 20px;gap:14px}body .brand-mark{width:54px;height:54px;overflow:hidden}body .brand-mark img{padding:7px}body .brand strong{font-size:16.5px;font-weight:950}body .brand small{opacity:1;font-size:10.7px;line-height:1.7}body #main-nav{position:relative;z-index:1;padding:14px 10px 8px;gap:6px}body .nav-item, body .side-nav-trigger{position:relative;z-index:1;overflow:hidden;min-height:46px;padding:11px 14px;gap:12px;font-size:12.7px;font-weight:760}body .nav-item svg, body .side-nav-trigger svg{width:20px;height:20px}body .nav-item span, body .side-nav-trigger span{font-size:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body .side-nav-trigger i{font-size:15px}body .side-nav-panel{margin-top:6px;padding:6px}body .side-nav-panel .nav-item{min-height:38px;padding:8px 12px;font-size:12px;font-weight:700}body .side-nav-panel .nav-item svg{width:18px;height:18px}body .nav-section{font-size:10.5px;font-weight:900;padding:14px 14px 6px}body .sidebar-bottom{position:relative;z-index:1;margin-top:auto;padding:12px 10px 16px}body .sidebar-bottom small, body .sidebar-bottom #version-label{line-height:1.75;font-size:10.5px;font-weight:700}@media (max-width:820px){body .sidebar{right:0;top:0;bottom:0}}.case-ref-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;}.case-ref-heading{display:flex;align-items:center;gap:13px;min-width:0}.case-ref-heading-icon{flex:0 0 46px;display:flex;align-items:center;justify-content:center;}.case-ref-breadcrumb{display:flex;align-items:center;gap:7px;margin-bottom:4px;}.case-ref-breadcrumb b{font-weight:850}.case-ref-breadcrumb i{font-size:15px}.case-ref-heading h2{margin:0;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.case-ref-heading p{margin:4px 0 0;}.case-ref-head-actions{display:flex;flex:0 0 auto;}.case-ref-current-status>span{white-space:nowrap;}.case-ref-summary-grid{display:grid;}.case-ref-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:start;min-width:0;}.case-ref-main, .case-ref-side{display:grid;gap:14px;min-width:0}.case-ref-side{position:sticky;top:0}.case-ref-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;}.case-ref-section-head.compact{margin-bottom:0;}.case-ref-section-head h3{margin:0;}.case-ref-section-head p{margin:3px 0 0;}.case-ref-section-head>span{display:flex}.case-ref-accordion summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;}.case-ref-accordion summary::-webkit-details-marker{display:none}.case-ref-accordion summary>div{display:flex;align-items:center;gap:8px}.case-ref-accordion summary b{font-weight:950;}.case-ref-accordion summary small{display:inline-flex;align-items:center;justify-content:center;font-weight:900;padding:0 6px;}.case-ref-accordion summary>span{font-size:17px}.case-ref-list, .case-ref-timeline{display:grid;max-height:245px;overflow:auto;}.case-ref-message-item header, .case-ref-timeline-item header{display:flex;justify-content:space-between;gap:8px;}.case-ref-timeline-item{display:grid;}@media (max-width:1100px){.case-ref-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.case-ref-layout{grid-template-columns:1fr}.case-ref-side{position:static;grid-template-columns:1fr 1fr}}@media (max-width:760px){.case-ref-page-head{align-items:flex-start;flex-direction:column;padding:14px}.case-ref-head-actions{width:100%;justify-content:space-between}.case-ref-heading h2{font-size:20px}.case-ref-heading p{display:none}.case-ref-current-status{flex:1}.case-ref-section-head{margin:-13px -13px 13px;padding:0 13px}.case-ref-section-head p{display:none}}@media (max-width:460px){.case-ref-heading-icon{display:none}.case-ref-head-actions{display:grid;grid-template-columns:1fr}.case-ref-breadcrumb{display:none}}.case-ref-page-head{padding:20px 22px}.case-ref-heading-icon{width:52px;height:52px;flex-basis:52px}.case-ref-heading-icon svg{width:28px;height:28px}.case-ref-breadcrumb{font-size:11px}.case-ref-heading h2{font-size:26px;font-weight:980}.case-ref-heading p{margin-top:6px;font-size:12.6px;line-height:1.8}.case-ref-layout{gap:16px}.case-ref-section-head{min-height:54px;margin:-18px -18px 18px;padding:0 18px}.case-ref-section-head.compact{min-height:58px}.case-ref-section-head h3{font-size:15.6px;font-weight:980}.case-ref-section-head p{margin-top:4px;font-size:11.4px;line-height:1.8}.case-ref-section-head>span{width:34px;height:34px;align-items:center;justify-content:center}.case-ref-section-head svg{width:19px;height:19px}.case-ref-accordion summary{min-height:56px;padding:0 16px}.case-ref-accordion summary b{font-size:13px}.case-ref-accordion summary small{min-width:42px;height:22px;font-size:10.5px}.case-ref-list, .case-ref-timeline{gap:10px;padding:12px}.case-ref-message-item, .case-ref-timeline-item>div{padding:11px 12px}.case-ref-message-item header, .case-ref-timeline-item header{align-items:flex-start}.case-ref-message-item b, .case-ref-timeline-item b{font-size:12px}.case-ref-message-item small, .case-ref-message-item span, .case-ref-timeline-item small, .case-ref-timeline-item span{font-size:10.5px}.case-ref-message-item p, .case-ref-timeline-item p{margin:7px 0;line-height:1.85;}.case-ref-timeline-item{grid-template-columns:15px minmax(0,1fr);gap:9px}.case-ref-timeline-item>i{width:10px;height:10px;margin-top:14px}@media (max-width:760px){.case-ref-page-head{padding:16px}.case-ref-heading h2{font-size:22px}.case-ref-section-head{margin:-15px -15px 15px;padding:0 15px}}.case-ref-page-head{position:relative;overflow:hidden}.case-ref-heading, .case-ref-head-actions{position:relative;z-index:1}.case-ref-message-item header b, .case-ref-timeline-item header b{font-size:12.3px}.case-ref-message-item p, .case-ref-timeline-item p{font-size:11.8px}@media (max-width:760px){.case-ref-page-head{padding:16px}}.case-ref-head-actions{align-items:stretch;gap:14px}.case-ref-current-status{min-height:74px;padding:12px 16px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px}.case-ref-current-status>span{font-size:12px;font-weight:980}.case-ref-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}@media (max-width:1180px){.case-ref-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.case-ref-head-actions{gap:10px}.case-ref-summary-grid{grid-template-columns:1fr}}body[data-page="reconciliation"] .page-content{overflow:visible}body[data-page="reconciliation"] .reconciliation-report-page{display:flex;flex-direction:column;}body[data-page="reconciliation"] .rec-report-hero{position:relative;isolation:isolate;min-height:118px;margin:0 0 12px;padding:18px 20px;overflow:visible;align-items:center}.rec-report-hero-title, .rec-report-hero .page-actions{position:relative;z-index:3}.rec-report-hero-title{display:flex;align-items:center;gap:13px;min-width:0}.rec-report-hero-icon{width:58px;height:58px;display:grid;place-items:center}.rec-report-hero-icon svg{width:29px;height:29px}.rec-report-hero-title small{display:block;font-size:10.8px;font-weight:900;margin-bottom:3px}.rec-report-hero-title h1{margin:0;font-size:24px;font-weight:950}.rec-header-icon-actions{display:flex;align-items:center;gap:8px;overflow:visible}.rec-header-operations, .rec-header-operations[open]{position:relative;z-index:50;margin:0;padding:0;isolation:isolate}.rec-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rec-batch-meta{display:grid;grid-template-columns:.55fr 1.4fr 1.4fr .85fr;gap:1px;padding:1px;overflow:hidden}.rec-batch-meta>div{min-width:0;padding:11px 13px}.rec-batch-meta span{display:block;font-size:10.5px;font-weight:850;margin-bottom:4px}.rec-batch-meta b{display:block;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rec-report-section-head{min-height:66px;padding:12px 15px;display:flex;align-items:center;gap:11px}.rec-report-section-head>span:first-child{width:40px;height:40px;display:grid;place-items:center}.rec-report-section-head>span:first-child svg{width:20px;height:20px}.rec-report-section-head>div:nth-child(2){display:grid;gap:2px;min-width:0}.rec-report-section-head b{font-size:14px;font-weight:950}.rec-report-section-head small{font-size:10.5px;font-weight:650}.rec-report-section-actions{margin-right:auto;display:flex;align-items:center;gap:8px;position:relative;z-index:20}.rec-plum-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:900}.rec-plum-primary svg{width:18px;height:18px}.rec-plum-primary i{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;font-size:11px}.rec-report-search{display:flex;align-items:end;gap:14px;padding:13px 15px}.rec-report-search label{font-size:10.5px;font-weight:900;margin-bottom:6px}.rec-search-result{flex:0 0 auto;min-width:185px;height:42px;display:flex;align-items:center;justify-content:center;padding:0 13px;font-size:11.5px}.rec-search-result b{font-size:13px;margin:0 4px}.rec-status-list{padding:12px}body[data-page="reconciliation"] .rec-status-group{position:relative;}body[data-page="reconciliation"] .rec-status-group>summary b{font-size:14.5px;font-weight:950}body[data-page="reconciliation"] .rec-status-group>summary small{font-size:10.5px}body[data-page="reconciliation"] .rec-group-toolbar{position:relative;z-index:30;display:flex;justify-content:flex-end;gap:7px;overflow:visible;}body[data-page="reconciliation"] .rec-delete-check span{display:grid;place-items:center}body[data-page="reconciliation"] .rec-delete-check span svg{width:15px;height:15px}.rec-file-box.rec-file-box-plum{position:relative;display:grid;grid-template-columns:auto 1fr;gap:4px 11px;padding:16px;cursor:pointer}.rec-file-box-plum .rec-file-icon{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center}.rec-file-box-plum .rec-file-icon svg{width:21px;height:21px}.rec-file-box-plum b{font-size:13.5px}.rec-file-box-plum small{margin:0;font-size:10.5px}@container reconciliationPage (max-width:1080px){.rec-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-batch-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@container reconciliationPage (max-width:620px){.rec-report-summary{grid-template-columns:1fr}.rec-batch-meta{grid-template-columns:1fr}.rec-report-section-head{align-items:flex-start;flex-wrap:wrap}.rec-report-section-actions{width:100%;margin:0;justify-content:flex-end}.rec-report-search{align-items:stretch;flex-direction:column}.rec-search-result{min-width:0;width:100%}}@media (max-width:820px){body[data-page="reconciliation"] .rec-report-hero{min-height:0;align-items:flex-start;flex-direction:column;padding:15px}.rec-header-icon-actions{align-self:flex-end}.rec-report-hero-title h1{font-size:20px}.rec-report-hero-icon{width:48px;height:48px}.rec-report-hero-icon svg{width:24px;height:24px}.rec-report-section-actions{flex-wrap:wrap}.rec-plum-primary{min-height:38px}}@media (max-width:560px){.rec-report-section-head>div:nth-child(2){max-width:calc(100% - 52px)}.rec-report-section-actions{justify-content:stretch}.rec-report-section-actions>*{flex:1}.rec-compact-action-trigger, .rec-report-section-actions>.rec-plum-primary{width:100%}}@supports not (container-type:inline-size){@media (max-width:1250px){.rec-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-batch-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.rec-report-summary, .rec-batch-meta{grid-template-columns:1fr}}}:root{--so-radius:20px}.section-kicker{font-weight:800;font-size:12px}@media (max-width:900px){}@media (max-width:560px){}.tiam-reference-hero{direction:rtl;position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(410px,.92fr);min-height:334px;margin:0 0 20px;padding:30px 34px 25px;overflow:hidden;isolation:isolate}.tiam-hero-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;z-index:2}.tiam-hero-breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:720;margin-bottom:13px}.tiam-hero-breadcrumb svg{width:20px;height:20px;padding:3px}.tiam-reference-hero h1{margin:0;font-size:clamp(30px,2.65vw,49px);font-weight:950;line-height:1.35}.tiam-reference-hero> .tiam-hero-copy>p{max-width:760px;margin:9px 0 21px;font-size:14px;font-weight:540;line-height:2}.tiam-hero-stats{display:grid;grid-template-columns:repeat(4,minmax(125px,1fr));gap:11px;width:100%;margin-top:auto}.tiam-hero-stat{position:relative;display:flex;align-items:center;gap:10px;min-height:84px;padding:12px 13px;overflow:hidden}.tiam-hero-stat-icon{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center}.tiam-hero-stat-icon svg{width:21px;height:21px}.tiam-hero-stat>div{min-width:0}.tiam-hero-stat small{display:block;font-size:10.5px;font-weight:850;white-space:nowrap}.tiam-hero-stat b{display:block;margin-top:2px;font-size:22px;font-weight:950;white-space:nowrap;line-height:1.3}.tiam-hero-stat em{display:block;font-size:10.5px}.tiam-hero-actions{display:flex;gap:11px;margin-top:16px;width:100%;justify-content:flex-start}.tiam-hero-art{direction:ltr;display:flex;align-items:center;justify-content:center;min-width:0;z-index:1}.tiam-hero-art-svg{display:block;width:100%;height:auto;max-height:310px;overflow:visible}.tiam-communications-shell{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(0,1.2fr);gap:16px;align-items:start}.tiam-com-list, .tiam-com-detail{overflow:hidden}.tiam-com-list>nav{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:13px}.tiam-com-list>div{max-height:630px;overflow:auto;padding:10px;display:grid;gap:8px}.tiam-com-item{position:relative;width:100%;display:grid;grid-template-columns:9px 1fr;gap:8px;padding:12px;text-align:right;cursor:pointer}.tiam-com-dot{width:8px;height:8px;margin-top:8px}.tiam-com-item header{display:flex;align-items:center;gap:7px;margin-bottom:4px}.tiam-com-item header b{font-size:11px}.tiam-com-item header small{padding:2px 7px;font-size:10.5px}.tiam-com-item header time{margin-right:auto;font-size:10.5px}.tiam-com-item strong{display:block;font-size:12px}.tiam-com-item p{margin:3px 0;font-size:10.5px;line-height:1.7}.tiam-com-item em{display:inline-flex;padding:2px 7px;font-size:10.5px}.tiam-com-detail{min-height:420px;padding:24px}.tiam-com-preview>header{display:flex;align-items:center;gap:12px;padding-bottom:17px}.tiam-com-preview header small{font-size:10.5px}.tiam-com-preview header h3{margin:1px 0}.tiam-com-preview header p{margin:0;font-size:10.5px}.tiam-com-preview-time{display:block;margin:16px 0 5px;font-size:10.5px}.tiam-com-preview h2{font-size:22px}.tiam-com-preview>p{font-size:13px;}.tiam-com-preview-actions{display:flex;gap:8px;margin-top:23px;flex-wrap:wrap}@media (max-width:1250px){.tiam-reference-hero{grid-template-columns:minmax(0,1fr) minmax(340px,.78fr);padding:26px}.tiam-reference-hero h1{font-size:34px}.tiam-hero-stats{grid-template-columns:repeat(2,minmax(140px,1fr))}.tiam-hero-art-svg{max-height:280px}}@media (max-width:930px){.tiam-reference-hero{grid-template-columns:1fr;min-height:auto}.tiam-hero-copy{order:1}.tiam-hero-art{order:2;margin-top:12px}.tiam-hero-art-svg{max-height:240px}.tiam-communications-shell{grid-template-columns:1fr}.tiam-com-list>div{max-height:430px}}@media (max-width:620px){.tiam-reference-hero{padding:20px 16px}.tiam-reference-hero h1{font-size:27px}.tiam-reference-hero>.tiam-hero-copy>p{font-size:11px;margin-bottom:15px}.tiam-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tiam-hero-stat{min-height:76px;padding:9px}.tiam-hero-stat-icon{width:36px;height:36px;flex-basis:36px}.tiam-hero-stat b{font-size:17px}.tiam-hero-actions{flex-direction:column}.tiam-hero-art-svg{max-height:205px}.tiam-com-list>nav{grid-template-columns:1fr}.tiam-com-detail{padding:16px}.tiam-com-item header{align-items:flex-start;flex-wrap:wrap}.tiam-com-item header time{width:100%;margin:0}}:root{--v115-radius:16px}.v115-page-stack{display:grid;gap:16px;max-width:1540px;margin:0 auto}.v115-status-board{overflow:hidden}.v115-filter-collapse{width:34px;height:34px;cursor:pointer;font-size:18px;display:grid;place-items:center}.v115-import-head{min-height:66px;padding:0 18px;display:flex;align-items:center;gap:12px;position:relative;overflow:hidden}.v115-import-head>span{width:39px;height:39px;display:grid;place-items:center;position:relative;z-index:1}.v115-import-head>span svg{width:20px;height:20px}.v115-import-head>div{position:relative;z-index:1}.v115-import-head b{display:block;font-size:14px}.v115-import-head small{font-size:10.5px}.v115-summary-head{min-height:62px;padding:0 16px;display:flex;align-items:center;justify-content:space-between}.v115-summary-head div small{display:block;font-size:10.5px}.v115-summary-head div b{display:block;margin-top:2px;font-size:14px}.v115-summary-head>span{width:38px;height:38px;display:grid;place-items:center}.v115-summary-head svg{width:20px;height:20px}.tiam-com-preview>p{line-height:2}.v115-skeleton{display:grid;gap:10px;padding:16px}.v115-skeleton span{height:12px}.v115-skeleton span:nth-child(2){width:76%}.v115-skeleton span:nth-child(3){width:54%}@media (max-width:680px){.v115-page-stack{gap:12px}.v115-section-head, .v115-filter-head, .v115-status-head{min-height:auto;padding:12px 14px;align-items:flex-start;flex-direction:column}}body[data-page="credit-assessment"] .v115-status-board{display:none}.credit-v116-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0}.credit-v116-summary article{min-height:54px;padding:8px 11px;display:flex;align-items:center;gap:9px}.credit-v116-summary article>span{width:30px;height:30px;display:grid;place-items:center;flex:0 0 auto}.credit-v116-summary article>span svg{width:16px;height:16px}.credit-v116-summary article div{min-width:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.credit-v116-summary article small{font-size:10.5px;white-space:nowrap}.credit-v116-summary article b{font-size:15px;line-height:1.2;white-space:nowrap}.credit-v116-summary article.is-wallet{grid-column:auto}.credit-v116-summary article.is-wallet b{font-size:12px}.credit-v116-panel{padding:0;overflow:visible}.credit-v116-panel-head{min-height:58px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.credit-v116-panel-head h3{margin:1px 0 0;font-size:14px}.credit-v116-panel-head p{margin:2px 0 0;font-size:10.5px}.credit-v116-panel-head .section-kicker{font-size:10.5px}.credit-v116-count{height:26px;padding:0 9px;display:inline-flex;align-items:center;font-size:10.5px;white-space:nowrap}.credit-v116-customer{display:table-cell;min-width:170px}.credit-v116-customer>div{display:inline-flex;vertical-align:middle;flex-direction:column;gap:2px;max-width:128px}.credit-v116-customer b{font-size:11px;overflow:hidden;text-overflow:ellipsis}.credit-v116-customer small{font-size:10.5px;direction:ltr;text-align:right;overflow:hidden;text-overflow:ellipsis}.credit-v116-national{min-width:105px}.credit-v116-time{display:flex;flex-direction:column;gap:2px;align-items:center}.credit-v116-time b{font-size:10.5px;font-weight:650}.credit-v116-time small{font-size:10.5px}.credit-v116-actions{display:flex;align-items:center;justify-content:center;gap:5px;direction:rtl;min-width:146px}.credit-v116-action{position:relative;width:31px;height:31px;min-width:31px;padding:0;display:grid;place-items:center;cursor:pointer}.credit-v116-action svg{width:15px;height:15px}.credit-v116-action.is-grade strong{font-size:10.5px}.credit-v116-grade-customer{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:9px 11px;margin-bottom:10px}.credit-v116-grade-customer small{font-size:10.5px}.credit-v116-grade-customer b{font-size:12px}.credit-v116-grade-customer em{font-size:10.5px}.credit-v116-grade-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:8px 0 12px}.credit-v116-grade-grid label{height:36px;display:grid;place-items:center;cursor:pointer}.credit-v116-grade-grid span{font-size:11px;font-weight:800}.credit-v116-complete-confirm{text-align:center;padding:3px 8px 6px}.credit-v116-complete-confirm>span{width:44px;height:44px;margin:0 auto 8px;display:grid;place-items:center}.credit-v116-complete-confirm>span svg{width:22px;height:22px}.credit-v116-complete-confirm h3{margin:0 0 5px;font-size:15px}.credit-v116-complete-confirm p{margin:0 0 9px;font-size:11px;line-height:1.9}.credit-v116-complete-confirm>span.text-green, .credit-v116-complete-confirm>span.text-amber{width:auto;height:auto;margin:6px auto;display:inline-block;font-size:10.5px}.credit-v116-complete-confirm small{display:block;margin-top:7px;font-size:10.5px}@media (max-width:1100px){.credit-v116-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.credit-v116-summary article.is-wallet{grid-column:auto}}@media (max-width:680px){.credit-v116-summary{grid-template-columns:1fr 1fr;gap:6px}.credit-v116-summary article{min-height:48px;padding:7px 8px}.credit-v116-summary article>span{width:27px;height:27px}.credit-v116-summary article small{font-size:10.5px}.credit-v116-summary article b{font-size:12px}.credit-v116-panel-head{padding:9px 10px}.credit-v116-panel-head p{display:none}.credit-v116-grade-grid{grid-template-columns:repeat(3,1fr)}}body[data-page="credit-assessment"] .v115-page-stack{gap:13px;min-width:0}.credit-v118-hero .tiam-hero-stats{gap:12px}.credit-v118-hero .credit-v118-stat{position:relative;isolation:isolate;min-height:92px;padding:14px 15px;overflow:hidden}.credit-v118-hero .credit-v118-stat-art{width:52px;height:52px;flex:0 0 52px}.credit-v118-hero .credit-v118-stat-art svg{width:36px;height:36px}.credit-v118-hero .credit-v118-stat>div{position:relative;z-index:2}.credit-v118-hero .credit-v118-stat small{font-size:10.5px;font-weight:850}.credit-v118-hero .credit-v118-stat b{font-size:21px;font-weight:950}.credit-v118-hero .credit-v118-archive-switch{position:relative;overflow:hidden}.credit-v118-switch-icon{width:22px;height:22px}.credit-v118-page-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;min-height:0}.credit-v118-panel-head{display:flex;align-items:center;gap:14px;}.credit-v118-panel-head>div{min-width:0}.credit-v118-panel-head .section-kicker{display:block;font-weight:800;}.credit-v118-panel-head h2{margin:2px 0 0;font-weight:900;}.credit-v118-panel-head p{margin:3px 0 0;font-size:10.5px;font-weight:500;line-height:1.8}.credit-v118-count{height:29px;padding:0 11px;display:inline-flex;align-items:center;font-size:10.5px;font-weight:800;white-space:nowrap}.credit-v118-customer{display:table-cell}.credit-v118-national, .credit-v118-date, .credit-v118-clock{direction:ltr;unicode-bidi:isolate}.credit-v118-date b, .credit-v118-clock b{font-weight:700}.credit-v118-grade{direction:ltr;unicode-bidi:isolate;display:inline-flex;align-items:center;justify-content:center;line-height:1;}.credit-v118-grade-letter, .credit-v118-grade-number{display:inline-block;line-height:1}.credit-v118-grade.is-compact{gap:2px;}.credit-v118-grade.is-inline{height:24px;min-width:38px;margin:0 4px;vertical-align:middle}.credit-v118-actions{display:flex;align-items:center;justify-content:center;gap:6px;direction:rtl;min-width:152px}.credit-v118-actions.is-archive{min-width:auto}.credit-v118-action{position:relative;width:32px;height:32px;min-width:32px;padding:0;display:grid;place-items:center;cursor:pointer}.credit-v118-action svg{width:16px;height:16px}.credit-v118-headset{width:19px;height:19px}.credit-v118-grade-customer{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:10px 12px;margin-bottom:11px}.credit-v118-grade-customer small{font-size:10.5px}.credit-v118-grade-customer b{font-size:12px}.credit-v118-grade-customer em{font-size:10.5px}.credit-v118-grade-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:9px 0 13px}.credit-v118-grade-grid label{height:39px;display:grid;place-items:center;cursor:pointer}.credit-v118-grade-option{direction:ltr;unicode-bidi:isolate;display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:13px;font-weight:850;line-height:1}.credit-v118-complete-confirm{text-align:center;padding:4px 8px 7px}.credit-v118-complete-confirm>span:first-child{width:46px;height:46px;margin:0 auto 9px;display:grid;place-items:center}.credit-v118-complete-confirm>span:first-child svg{width:23px;height:23px}.credit-v118-complete-confirm h3{margin:0 0 6px;font-size:15px}.credit-v118-complete-confirm p{margin:0 0 9px;font-size:11px;line-height:2}.credit-v118-complete-confirm>span.text-green, .credit-v118-complete-confirm>span.text-amber{display:inline-block;margin:6px auto;font-size:10.5px}.credit-v118-complete-confirm small{display:block;margin-top:7px;font-size:10.5px}@media (max-width:1100px){.credit-v118-hero .tiam-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.credit-v118-panel-head{padding:11px}.credit-v118-panel-head p{display:none}.credit-v118-grade-grid{grid-template-columns:repeat(3,1fr)}.credit-v118-hero .credit-v118-stat{min-height:82px;padding:10px}.credit-v118-hero .credit-v118-stat-art{width:43px;height:43px;flex-basis:43px}.credit-v118-hero .credit-v118-stat-art svg{width:29px;height:29px}.credit-v118-hero .credit-v118-stat b{font-size:17px}.credit-v118-page-actions{flex-direction:column;align-items:stretch}}.credit-v118-main-hero{position:relative;isolation:isolate;display:grid;grid-template-areas:"copy art";align-items:stretch;width:100%;overflow:hidden;}.credit-v118-hero-copy{grid-area:copy;display:flex;flex-direction:column;align-items:flex-start;min-width:0;z-index:2;padding:8px 0 0}.credit-v118-breadcrumb{margin-bottom:9px;font-size:12px;font-weight:700}.credit-v118-main-hero h1{margin:0;font-weight:950;}.credit-v118-hero-art{grid-area:art;position:relative;display:flex;align-items:center;justify-content:flex-start;min-width:0;z-index:1;direction:ltr}.credit-v118-hero-art img{position:relative;width:min(100%,650px);object-fit:contain;object-position:left center;user-select:none;}.credit-v118-summary-grid{margin-top:auto;}.credit-v118-summary-art{position:relative;z-index:2;flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center}.credit-v118-summary-art svg{width:34px;height:34px}.credit-v118-summary-copy{position:relative;z-index:2;display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center}.credit-v118-summary-copy small{display:block;width:100%;font-size:12px;font-weight:850;line-height:1.55;white-space:nowrap}.credit-v118-summary-copy b{display:block;width:100%;margin-top:3px;font-size:24px;font-weight:950;line-height:1.3;white-space:nowrap}.credit-v118-summary-copy b.is-money{direction:rtl;unicode-bidi:isolate;overflow:visible;text-overflow:clip;}.credit-v118-summary-chevron{position:absolute;left:9px;top:8px;z-index:2;font-size:19px;font-weight:700;opacity:.56}.credit-v118-archive-hero{overflow:hidden;}.credit-v118-archive-title{position:relative;z-index:2;}.credit-v118-archive-title>div>span{font-size:10.5px;font-weight:700;line-height:1.5;}.credit-v118-panel-head{min-height:58px;padding:9px 17px;justify-content:flex-start}.credit-v118-panel-head .section-kicker{font-size:10.5px;line-height:1.45}.credit-v118-panel-head h2{font-size:18px;line-height:1.5}.credit-v118-panel-head p, .credit-v118-count{display:none}.credit-v118-customer>b{display:inline-block;vertical-align:middle;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:850}.credit-v118-national{font-size:14px}.credit-v118-date, .credit-v118-clock{font-size:14px}.credit-v118-grade{min-width:44px;height:30px;gap:4px;padding:0 9px;}.credit-v118-grade.is-compact{min-width:28px;height:24px;padding:0 4px;font-size:10.5px}@media (max-width:1250px){.credit-v118-main-hero{grid-template-columns:minmax(0,1fr) minmax(315px,.78fr);min-height:330px;padding:24px}.credit-v118-main-hero h1{font-size:42px}.credit-v118-hero-art img{height:255px}.credit-v118-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.credit-v118-main-hero{grid-template-columns:1fr;grid-template-areas:"copy" "art";min-height:auto}.credit-v118-hero-copy{order:1}.credit-v118-hero-art{order:2;justify-content:center;margin-top:6px}.credit-v118-hero-art img{height:220px;max-width:620px}}@media (max-width:620px){.credit-v118-main-hero{padding:18px 14px}.credit-v118-main-hero h1{font-size:32px}.credit-v118-breadcrumb{font-size:10.5px}.credit-v118-summary-grid{gap:8px;padding-top:14px}.credit-v118-summary-art{width:40px;height:40px;flex-basis:40px}.credit-v118-summary-art svg{width:28px;height:28px}.credit-v118-summary-copy small{font-size:10.5px}.credit-v118-summary-copy b{font-size:18px}.credit-v118-summary-copy b.is-money{font-size:12px}.credit-v118-hero-art img{height:180px}.credit-v118-archive-hero{min-height:72px;padding:10px 13px}.credit-v118-archive-mark{width:42px;height:42px}.credit-v118-archive-title h1{font-size:19px}}.credit-v118-summary-copy b.is-money{font-size:clamp(11px,1.08vw,16px)}body[data-page="credit-assessment"] .credit-v118-breadcrumb{display:none}.credit-v118-main-hero{padding-top:28px;}.credit-v118-main-hero h1{margin-top:2px}.credit-v118-summary-wallet{padding-inline:22px;}.credit-v118-orb-ring{position:absolute;pointer-events:none;}.credit-v118-archive-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;}.credit-v118-archive-title{display:flex;align-items:center;gap:12px}.credit-v118-archive-title h1{margin:0;font-weight:900;line-height:1.45;}.credit-v118-archive-mark{place-items:center;}.credit-v118-archive-mark svg{width:28px;height:28px}.credit-v118-archive-back{display:inline-flex;align-items:center;gap:8px;font-weight:800;cursor:pointer;}.credit-v118-archive-back svg{width:19px;height:19px}@media (max-width:1180px){.credit-v118-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.credit-v118-main-hero{grid-template-columns:1fr;grid-template-areas:"copy" "art";padding:24px 20px}.credit-v118-hero-art{justify-content:center}.credit-v118-hero-art img{height:230px}}@media (max-width:640px){.credit-v118-archive-hero{flex-direction:column;align-items:stretch}.credit-v118-archive-back{justify-content:center;width:100%}.credit-v118-summary-grid{grid-template-columns:1fr}.credit-v118-orb-ring{inset:8px}}.credit-v118-archive-title span{display:initial}.credit-v118-archive-title>div>span{display:none}.credit-v118-archive-mark{display:grid}.credit-v120-back-icon{width:19px;height:19px}.credit-v118-summary-grid{grid-template-columns:136px 136px 136px minmax(184px,1fr);}.credit-v118-summary-wallet{flex-basis:156px;}.credit-v118-archive-hero{position:relative}.credit-v118-archive-back{position:relative;z-index:5;pointer-events:auto}@media (max-width:1200px){.credit-v118-summary-grid{gap:14px}.credit-v118-summary-wallet{flex-basis:148px;width:148px;height:148px;min-width:148px;min-height:148px;max-width:148px}}@media (max-width:900px){.credit-v118-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.credit-v118-summary-wallet .credit-v118-summary-copy b.is-money .money-amount{font-size:20px}}@media (max-width:640px){.credit-v118-summary-grid{grid-template-columns:1fr}}.credit-v118-main-hero h1{font-size:clamp(34px,3vw,48px);line-height:1.24;margin-bottom:6px}.credit-v118-main-subtitle{font-size:13px;line-height:1.8;margin-bottom:6px;}.credit-v118-hero-copy{gap:10px}.credit-v118-hero-art img{max-width:100%;}.credit-v118-archive-hero{padding:14px 18px;min-height:76px}.credit-v118-archive-title h1{font-size:25px}.credit-v118-archive-mark{width:50px;height:50px}.credit-v118-archive-back{height:40px;padding:0 14px;font-size:12px}@media (max-width:1120px){.credit-v118-main-hero{grid-template-columns:1fr;grid-template-areas:"copy" "art";min-height:auto;padding:20px 18px 16px}.credit-v118-hero-art{justify-content:center}.credit-v118-hero-art img{height:220px}.credit-v118-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}.credit-v118-main-hero{grid-template-columns:minmax(0,1.42fr) minmax(220px,.56fr);min-height:286px;padding:18px 20px 14px;gap:12px}.credit-v118-main-subtitle{max-width:620px}.credit-v118-hero-art img{height:235px}.credit-v118-summary-grid{display:flex;flex-wrap:nowrap;align-items:flex-end;width:100%;max-width:none;padding-top:10px;overflow:visible;}.credit-v118-summary-wallet{flex:0 0 170px;width:170px;height:170px;min-width:170px;max-width:170px;min-height:170px;max-height:170px;aspect-ratio:1/1;padding:15px 12px;gap:6px}.credit-v118-orb-ring{inset:9px;z-index:0}.credit-v118-national, .credit-v118-date, .credit-v118-clock{font-size:14.5px;font-weight:760}.credit-v118-grade{font-size:15px;font-weight:900}@media (max-width:1240px){.credit-v118-main-hero{grid-template-columns:1.35fr .5fr}.credit-v118-summary-grid{gap:8px}.credit-v118-summary-wallet{flex-basis:160px;width:160px;height:160px;min-width:160px;max-width:160px;min-height:160px;max-height:160px}}@media (max-width:1120px){.credit-v118-main-hero{grid-template-columns:1fr;grid-template-areas:"copy" "art";min-height:auto}.credit-v118-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}.credit-v118-summary-grid{justify-content:space-between;gap:8px}.credit-v181-hero-visual{position:relative;width:min(100%,520px);height:250px;overflow:hidden}.credit-v181-shield{position:absolute;left:48px;top:48px;width:104px;height:118px;display:grid;place-items:center;font-size:46px;font-weight:950;clip-path:polygon(50% 0,92% 16%,86% 72%,50% 100%,14% 72%,8% 16%)}.credit-v181-score{position:absolute;right:58px;top:52px;width:230px;height:104px;display:flex;align-items:flex-end;gap:12px;padding:18px 20px}.credit-v181-score span{flex:1}.credit-v181-score span:nth-child(1){height:28%}.credit-v181-score span:nth-child(2){height:44%}.credit-v181-score span:nth-child(3){height:59%}.credit-v181-score span:nth-child(4){height:76%}.credit-v181-score span:nth-child(5){height:92%}@media (max-width:900px){.credit-v181-hero-visual{width:min(100%,500px);height:220px}.credit-v181-shield{left:34px;top:38px}.credit-v181-score{right:34px;top:38px;width:210px}}@media (max-width:560px){.credit-v181-hero-visual{height:190px}.credit-v181-shield{left:18px;top:28px}.credit-v181-score{right:18px;top:28px;width:180px;height:88px;gap:8px;padding:14px}}body[data-page="credit-assessment"] .credit-v118-main-hero{grid-template-columns:minmax(0,1.55fr) minmax(180px,.45fr);min-height:282px;padding:18px 20px 14px;gap:10px;overflow:visible}body[data-page="credit-assessment"] .credit-v118-hero-art img{height:228px}body[data-page="credit-assessment"] .credit-v118-summary-grid{display:flex;flex-wrap:nowrap;align-items:flex-end;justify-content:space-between;gap:12px;width:100%;padding-top:8px;overflow:visible}body[data-page="credit-assessment"] .money-amount{font-size:21px;font-weight:950;line-height:1;direction:ltr}body[data-page="credit-assessment"] .money-unit{font-size:12px;font-weight:850;line-height:1}@media (max-width:1120px){body[data-page="credit-assessment"] .credit-v118-main-hero{grid-template-columns:1fr;grid-template-areas:"copy" "art"}body[data-page="credit-assessment"] .credit-v118-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}body[data-page="credit-assessment"] .credit-v118-summary-pending, body[data-page="credit-assessment"] .credit-v118-summary-progress, body[data-page="credit-assessment"] .credit-v118-summary-wallet{flex:0 0 170px;width:170px;height:170px;min-width:170px;max-width:170px;min-height:170px;max-height:170px}body[data-page="credit-assessment"] header.topbar .top-title{display:flex;align-items:center;min-width:0;margin-left:auto}body[data-page="credit-assessment"] header.topbar #app-title{display:block;font-size:13.5px;font-weight:920;line-height:1}body[data-page="credit-assessment"] header.topbar #so-notification-count{position:absolute;top:-4px;left:-4px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;font-size:10.5px;line-height:1}body[data-page="credit-assessment"] .sidebar .brand{position:relative;z-index:1}body[data-page="credit-assessment"] .sidebar .brand small{opacity:1}body[data-page="credit-assessment"] .sidebar .nav-item span, body[data-page="credit-assessment"] .sidebar .side-nav-trigger span{opacity:1}body[data-page="credit-assessment"] .sidebar .nav-item svg, body[data-page="credit-assessment"] .sidebar .side-nav-trigger svg{opacity:1}body[data-page="credit-assessment"] .sidebar .side-nav-trigger i{opacity:1}body[data-page="credit-assessment"] .sidebar .nav-section{opacity:1}body[data-page="credit-assessment"] .sidebar .nav-item:hover, body[data-page="credit-assessment"] .sidebar .side-nav-trigger:hover, body[data-page="credit-assessment"] .sidebar .side-nav-group.open>.side-nav-trigger{transform:none;}body[data-page="credit-assessment"] .sidebar .side-nav-panel{margin-top:6px;padding:6px}body[data-page="credit-assessment"] .sidebar .sidebar-bottom small, body[data-page="credit-assessment"] .sidebar .sidebar-bottom #version-label{opacity:1}body[data-page="credit-assessment"] .credit-v118-panel-head h2, body[data-page="credit-assessment"] .credit-v118-panel-head p{display:none}body[data-page="credit-assessment"] .credit-v131-minimal-panel-head, body[data-page="credit-assessment"] .credit-v118-panel-head{min-height:40px;padding:10px 14px 4px;justify-content:flex-end}body[data-page="credit-assessment"] .credit-v118-count{height:30px;padding:0 12px;font-size:10.8px;font-weight:860}body[data-page="credit-assessment"] .credit-v118-customer>b{font-size:13.9px;font-weight:810}body[data-page="credit-assessment"] .credit-v118-grade{min-width:52px;height:32px;padding:0 11px;font-size:13.6px;font-weight:900}body[data-page="credit-assessment"] .credit-v118-actions{gap:7px;}body[data-page="credit-assessment"] .credit-v118-action{width:34px;height:34px;min-width:34px}body[data-page="credit-assessment"] .credit-v118-panel{overflow:visible}body[data-page="credit-assessment"] .credit-v118-actions{width:100%;min-width:0;justify-content:center;flex-wrap:nowrap}@media (max-width:1366px){body[data-page="credit-assessment"] .credit-v118-action{width:30px;height:30px;min-width:30px}body[data-page="credit-assessment"] .credit-v118-actions{gap:4px}}@media (max-width:1180px){body[data-page="credit-assessment"] .credit-v118-action{width:27px;height:27px;min-width:27px}body[data-page="credit-assessment"] .credit-v118-actions{gap:2px}body[data-page="credit-assessment"] .credit-v118-grade{min-width:42px;height:28px;padding-right:7px;padding-left:7px;font-size:12px}}@media (max-width:1366px){body[data-page="credit-assessment"] .credit-v118-main-hero{margin-bottom:2px}}@media (max-width:680px){body[data-page="credit-assessment"] .credit-v118-main-hero{margin-bottom:2px}body[data-page="credit-assessment"] .credit-v131-minimal-panel-head, body[data-page="credit-assessment"] .credit-v118-panel-head{min-height:25px;height:25px;padding-inline:5px}body[data-page="credit-assessment"] .credit-v118-count{height:22px;min-height:22px;font-size:10.5px}}@media (max-width:1366px){body[data-page="credit-assessment"] #page-content > .credit-v118-main-hero{margin-bottom:1px}}@media (max-width:680px){body[data-page="credit-assessment"] #page-content > .credit-v118-main-hero{margin-bottom:1px}body[data-page="credit-assessment"] #page-content .credit-v131-minimal-panel-head, body[data-page="credit-assessment"] #page-content .credit-v118-panel-head{height:20px;min-height:20px;padding-inline:3px}body[data-page="credit-assessment"] #page-content .credit-v118-count{height:19px;min-height:19px;padding-inline:8px;font-size:10.5px}}@media (max-width:680px){body[data-page="credit-assessment"] #page-content > .credit-v140-floating-meta{height:18px;min-height:18px;padding-inline:2px}body[data-page="credit-assessment"] #page-content > .credit-v140-floating-meta .credit-v118-count{height:18px;min-height:18px;font-size:10.5px}}.employee-account-audit{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:14px 18px}.employee-account-audit b{display:block;margin-bottom:4px}.employee-account-audit span{font-size:.9rem}.employee-account-section{margin:18px 0 4px;padding:18px}.employee-account-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:14px}.employee-account-section h4{margin:3px 0 5px}.employee-account-section header p{margin:0;font-size:.88rem}.employee-account-status{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;font-weight:800;font-size:.82rem;white-space:nowrap}.employee-account-create, .employee-account-check{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;cursor:pointer}.employee-account-create{margin:14px 0}.employee-account-create b, .employee-account-check b{display:block}.employee-account-create small, .employee-account-check small{display:block;margin-top:3px;line-height:1.6}.employee-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px;align-items:end}.employee-password-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.employee-account-section>footer{display:flex;gap:20px;flex-wrap:wrap;margin-top:14px;padding-top:12px;font-size:.83rem}.initial-password-once{display:grid;gap:9px}.initial-password-once label{font-weight:800}.initial-password-once code{display:block;padding:13px 15px;direction:ltr;text-align:left;user-select:all}.forced-password-actions{display:flex;justify-content:flex-end;margin-top:5px}@layer tiam-login-v145{body.auth-active{margin:0;padding:0;overflow:hidden}body.auth-active #app-shell{display:none}#login-screen.tiam-login-page{position:fixed;inset:0;z-index:5000;display:block;min-height:100dvh;overflow:hidden;direction:rtl;isolation:isolate}.tiam-login-background{position:absolute;inset:0;z-index:-3;pointer-events:none;opacity:.42}.tiam-login-layout{position:relative;direction:ltr;width:100%;height:100dvh;min-height:640px;display:grid;grid-template-columns:minmax(0,3fr) minmax(360px,2fr);align-items:center;gap:clamp(20px,4vw,72px);padding:clamp(30px,5vh,66px) clamp(34px,5.5vw,98px) 54px;box-sizing:border-box}.tiam-login-logo-stage{position:relative;direction:rtl;width:min(100%,900px);aspect-ratio:1000/760;justify-self:center;display:grid;place-items:center;isolation:isolate}.tiam-login-logo{position:relative;z-index:3;width:clamp(210px,25vw,345px);height:auto;object-fit:contain;user-select:none;pointer-events:none}.tiam-login-password-toggle{position:absolute;left:10px;width:40px;height:40px;display:grid;place-items:center;padding:0;cursor:pointer;opacity:.78}.tiam-login-password-toggle svg{width:18px;height:18px}.tiam-eye-closed{display:none}.tiam-login-password-toggle[aria-pressed="true"] .tiam-eye-open{display:none}.tiam-login-password-toggle[aria-pressed="true"] .tiam-eye-closed{display:block}.tiam-login-submit{position:relative;width:100%;min-height:56px;margin-top:3px;display:flex;align-items:center;justify-content:center;gap:10px;overflow:hidden;font-size:14px;font-weight:950;cursor:pointer}.tiam-login-footer{position:absolute;right:clamp(16px,2.4vw,38px);bottom:clamp(12px,2vh,22px);z-index:4;font-size:10.5px;font-weight:560;white-space:nowrap;pointer-events:none}@media (max-width:1080px){body.auth-active{overflow:auto}#login-screen.tiam-login-page{position:relative;min-height:100dvh;overflow:auto}.tiam-login-layout{height:auto;min-height:100dvh;grid-template-columns:1fr;gap:2px;padding:24px 22px 68px}.tiam-login-logo-stage{width:min(100%,720px);max-height:54vh}.tiam-login-logo{width:clamp(170px,30vw,270px)}.tiam-login-footer{position:absolute}}@media (max-width:680px){.tiam-login-layout{min-height:100dvh;padding:13px 12px 60px;align-content:center}.tiam-login-logo-stage{width:min(100%,520px);max-height:none}.tiam-login-logo{width:clamp(130px,37vw,205px)}.tiam-login-submit{min-height:50px}.tiam-login-footer{right:12px;bottom:10px;font-size:10.5px}}@media (max-width:430px){.tiam-login-logo-stage{margin-top:-12px}.tiam-login-footer{max-width:calc(100vw - 24px);white-space:normal;line-height:1.6}}}@media (max-width:760px){}@media (max-width:560px){}body:not(.auth-active) header.topbar{min-height:48px;height:48px;padding:6px 14px;margin:8px 14px 10px;gap:8px;overflow:visible}body:not(.auth-active) header.topbar .top-title{display:flex;align-items:center;min-width:0;margin-left:auto;overflow:hidden}body:not(.auth-active) header.topbar #app-title{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:920;line-height:1}body:not(.auth-active) header.topbar #so-notification-count{position:absolute;top:-4px;left:-4px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;font-size:10.5px;font-weight:900;line-height:1}@media (max-width:900px){body:not(.auth-active) header.topbar{margin:7px 9px 9px;padding-inline:9px}body:not(.auth-active) header.topbar #app-title{max-width:46vw;font-size:11px}}@media (max-width:430px){body:not(.auth-active) header.topbar{min-height:46px;height:46px;gap:6px}body:not(.auth-active) header.topbar #app-title{max-width:38vw;font-size:10.5px}}body[data-page="settings"] .settings-center-shell, body[data-page="settings"] .settings-section-shell{display:grid;gap:18px;direction:rtl}body[data-page="settings"] .settings-center-intro, body[data-page="settings"] .settings-section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px}body[data-page="settings"] .settings-center-intro h2, body[data-page="settings"] .settings-section-toolbar h2{margin:3px 0 5px;font-size:22px}body[data-page="settings"] .settings-center-intro p, body[data-page="settings"] .settings-section-toolbar p{margin:0;line-height:1.8}body[data-page="settings"] .settings-center-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}body[data-page="settings"] .settings-center-icon{display:grid;place-items:center;width:48px;height:48px;font-size:22px;font-weight:900}body[data-page="settings"] .settings-center-copy{display:grid;gap:6px;min-width:0}body[data-page="settings"] .settings-center-copy b{font-size:15px;font-weight:950}body[data-page="settings"] .settings-center-copy small{font-size:12px;line-height:1.7}body[data-page="settings"] .settings-center-arrow{font-size:20px}body[data-page="settings"] .settings-center-shortcuts{display:flex;flex-wrap:wrap;gap:9px;padding:4px 2px}body[data-page="settings"] .settings-section-toolbar{justify-content:flex-start}body[data-page="settings"] .settings-section-toolbar>div{flex:1}body[data-page="settings"] .settings-section-content{display:grid;gap:16px}body[data-page="settings"] .settings-section-content>.grid{margin:0}@media (max-width:1100px){body[data-page="settings"] .settings-center-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){body[data-page="settings"] .settings-center-grid{grid-template-columns:1fr}body[data-page="settings"] .settings-center-intro, body[data-page="settings"] .settings-section-toolbar{align-items:stretch;flex-direction:column;padding:17px}body[data-page="settings"] .settings-center-icon{width:42px;height:42px}}body[data-page="settings"] .setting-toggle{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:76px;padding:12px;cursor:pointer}body[data-page="settings"] .setting-toggle span{display:grid;gap:4px}body[data-page="settings"] .setting-toggle b{font-size:12px}body[data-page="settings"] .setting-toggle small{font-size:10.5px;line-height:1.7}body[data-page="settings"] .users-access-page{gap:16px}body[data-page="settings"] .users-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body[data-page="settings"] .users-filterbar{display:grid;grid-template-columns:minmax(230px,1.5fr) minmax(170px,.7fr) minmax(150px,.6fr);gap:12px;align-items:end;margin-bottom:14px}body[data-page="settings"] .users-cell-sub{display:block;margin-top:4px;font-size:11px}body[data-page="settings"] .users-row-actions{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}@media (max-width:1000px){body[data-page="settings"] .users-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="settings"] .users-filterbar{grid-template-columns:1fr 1fr}}@media (max-width:700px){body[data-page="settings"] .users-summary-grid, body[data-page="settings"] .users-filterbar{grid-template-columns:1fr}}body[data-page="settings"] .special-rule-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}body[data-page="settings"] .special-rule-type{display:grid;gap:5px;padding:14px}body[data-page="settings"] .special-rule-type>span{font-weight:800}body[data-page="settings"] .special-rule-type>small{line-height:1.7}@media (max-width:900px){body[data-page="settings"] .special-rule-types{grid-template-columns:1fr}}body[data-page="settings"] .backup-center-page{display:grid;gap:16px}body[data-page="settings"] .backup-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body[data-page="settings"] .backup-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}body[data-page="settings"] .backup-row-sub{display:block;margin-top:4px;font-size:10.5px}body[data-page="settings"] .restore-confirm-box{display:grid;gap:14px}body[data-page="settings"] .restore-file-summary{display:grid;gap:5px;padding:14px}body[data-page="settings"] .restore-file-summary b{overflow-wrap:anywhere}@media (max-width:1100px){body[data-page="settings"] .backup-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:850px){body[data-page="settings"] .backup-action-grid{grid-template-columns:1fr}}@media (max-width:700px){body[data-page="settings"] .backup-summary-grid{grid-template-columns:1fr}}body[data-page="settings"] .connected-services-page{display:grid;gap:18px}body[data-page="settings"] .integration-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body[data-page="settings"] .integration-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);gap:16px;align-items:start}body[data-page="settings"] .integration-health-list{display:grid;gap:0;margin:0}body[data-page="settings"] .integration-health-list>div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:12px 0}body[data-page="settings"] .integration-health-list dd{margin:0;overflow-wrap:anywhere}@media (max-width:1100px){body[data-page="settings"] .integration-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="settings"] .integration-layout{grid-template-columns:1fr}}@media (max-width:640px){body[data-page="settings"] .integration-summary-grid{grid-template-columns:1fr}body[data-page="settings"] .integration-health-list>div{grid-template-columns:1fr;gap:4px}}.audit-center-page{display:grid;gap:16px}.audit-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.audit-summary-grid>div{padding:16px;display:grid;gap:4px}.audit-summary-grid b{font-size:1.55rem}.audit-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.audit-filter-actions{display:flex;gap:8px;align-items:center}.audit-json{direction:ltr;text-align:left;white-space:pre-wrap;word-break:break-word;padding:12px;max-height:260px;overflow:auto}@media (max-width:900px){.audit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.audit-summary-grid, .audit-filter-grid{grid-template-columns:1fr}.audit-filter-actions{grid-column:1}}.fr-shell{display:grid;gap:16px}.fr-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px}.fr-toolbar h2{margin:0}.fr-toolbar p{margin:4px 0 0}.fr-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.fr-stats>div{padding:14px}.fr-stats small{display:block;margin-bottom:7px}.fr-stats b{font-size:18px}.fr-filters{display:grid;grid-template-columns:minmax(220px,1fr) 190px 190px auto;gap:10px;padding:12px}.fr-list-head, .fr-row{display:grid;grid-template-columns:1.05fr 1.25fr 2fr 1.3fr 1.25fr auto;gap:12px;align-items:center}.fr-list-head{padding:0 16px 6px;font-size:12px}.fr-list{display:grid;gap:7px}.fr-row{min-height:62px;padding:8px 14px;cursor:pointer}.fr-row b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fr-row small{display:block;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fr-status{display:inline-flex;width:max-content;align-items:center;min-height:25px;padding:3px 9px;font-size:11px;font-weight:800}.fr-state{padding:45px 20px;text-align:center}.fr-state b{display:block;font-size:16px}.fr-detail{display:grid;gap:16px}.fr-detail-head{display:flex;justify-content:space-between;gap:18px;padding-bottom:15px}.fr-detail-head h3{margin:8px 0 4px}.fr-detail-head p{margin:0}.fr-amount{text-align:left;min-width:200px}.fr-amount b{font-size:21px}.fr-amount small{display:block;margin-top:5px}.fr-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.fr-detail-grid>div{padding:12px}.fr-detail-grid small{display:block;margin-bottom:6px}.fr-history{display:grid;gap:9px}.fr-history-item{display:grid;grid-template-columns:12px 1fr;gap:10px}.fr-history-item>span{width:9px;height:9px;margin-top:5px}.fr-history-item>div{padding-bottom:10px}.fr-history-item small{display:block;margin-top:3px}.fr-history-item p{margin:6px 0 0}.fr-check{display:flex;gap:8px;align-items:center;padding:10px 12px}@media (max-width:1100px){.fr-stats{grid-template-columns:repeat(3,1fr)}.fr-list-head{display:none}.fr-row{grid-template-columns:1fr 1fr 1.4fr}.fr-row>div:nth-child(4), .fr-row>div:nth-child(5){display:block}.fr-row .mini-action{justify-self:end}.fr-filters{grid-template-columns:1fr 1fr}}@media (max-width:720px){.fr-toolbar{align-items:stretch;flex-direction:column}.fr-stats{grid-template-columns:1fr 1fr}.fr-filters{grid-template-columns:1fr}.fr-row{grid-template-columns:1fr 1fr;padding:13px}.fr-row>div{min-width:0}.fr-purpose, .fr-money{grid-column:span 2}.fr-next{grid-column:1}.fr-row .mini-action{grid-column:2}.fr-detail-head{flex-direction:column}.fr-amount{text-align:right}.fr-detail-grid{grid-template-columns:1fr 1fr}}@media (max-width:430px){.fr-stats, .fr-detail-grid{grid-template-columns:1fr}.fr-row{grid-template-columns:1fr}.fr-purpose, .fr-money, .fr-next, .fr-row .mini-action{grid-column:1}.fr-row .mini-action{width:100%}}.fp-shell{display:grid;gap:16px;min-width:0}.fp-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px}.fp-head small{font-weight:900}.fp-head h1{margin:4px 0 5px;font-size:24px}.fp-head p{margin:0}.fp-head-actions{display:flex;gap:9px;flex-wrap:wrap}.fp-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.fp-stats article{padding:15px 16px;min-width:0}.fp-stats small{display:block;margin-bottom:8px}.fp-stats b{display:block;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fp-stats i{font-size:11px}.fp-filters{display:grid;grid-template-columns:minmax(230px,1fr) 170px 175px 175px auto;gap:9px;padding:12px}.fp-list-head, .fp-row{display:grid;grid-template-columns:minmax(250px,1.6fr) minmax(230px,1.25fr) 160px 125px 120px;gap:12px;align-items:center}.fp-list-head{padding:0 15px 5px;font-size:12px}.fp-list{display:grid;gap:7px}.fp-row{width:100%;min-height:76px;padding:10px 15px;text-align:right;cursor:pointer}.fp-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fp-row small{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fp-progress{display:block;height:5px;margin-top:7px;overflow:hidden}.fp-progress i{display:block;height:100%}.fp-status{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:4px 10px;font-size:11px;font-weight:900;white-space:nowrap}.fp-open{font-weight:850;font-size:12px}.fp-state{padding:55px 20px;text-align:center}.fp-state b{display:block;font-size:16px;margin-top:8px}.fp-state p{margin:6px 0 15px}.fp-installment-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0 9px;padding-top:15px}.fp-installment-head small{display:block;margin-top:4px}.fp-installment-editor{display:grid;gap:7px}.fp-installment-edit{display:grid;grid-template-columns:34px 150px 180px minmax(170px,1fr) 34px;gap:8px;align-items:center}.fp-installment-edit .fp-no{display:grid;place-items:center;width:30px;height:30px;font-weight:900}.fp-installment-total{text-align:left;margin-top:10px;padding:10px 12px;font-weight:900}.fp-detail{display:grid;gap:15px}.fp-detail-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.fp-detail-summary>div{padding:12px}.fp-detail-summary small{display:block;margin-bottom:6px}.fp-installments{display:grid;gap:10px}.fp-installment-values{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:11px 0}.fp-installment-values>div{padding:9px 10px}.fp-installment-values small{display:block;margin-bottom:4px}.fp-payment-history{display:grid;gap:6px;padding-top:10px}.fp-payment-history>div{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:8px;padding:7px 9px}.fp-payment-history span, .fp-payment-history small{font-size:11px}@media (max-width:1180px){.fp-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.fp-filters{grid-template-columns:minmax(210px,1fr) 155px 155px}.fp-list-head, .fp-row{grid-template-columns:minmax(220px,1.5fr) minmax(200px,1.2fr) 140px 115px 105px}}@media (max-width:1024px){.fp-head{align-items:flex-start}.fp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-filters{grid-template-columns:1fr 1fr}.fp-list{overflow-x:auto;padding-bottom:4px}.fp-list-head, .fp-row{min-width:930px}.fp-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-installment-edit{grid-template-columns:32px 140px 170px minmax(160px,1fr) 32px}}.cl-shell{display:grid;gap:18px}.cl-toolbar, .cl-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.cl-toolbar h2, .cl-panel h3{margin:0}.cl-toolbar p, .cl-panel small{margin:5px 0 0}.cl-actions{display:flex;gap:8px}.cl-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cl-stats>div{padding:16px}.cl-stats small{display:block;margin-bottom:8px}.cl-stats b{font-size:18px}.cl-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cl-account-top{display:flex;gap:10px;align-items:center}.cl-account-top>span{width:42px;height:42px;display:grid;place-items:center}.cl-account-top b, .cl-account-top small{display:block}.cl-account-top small{margin-top:3px}.cl-account-foot{display:flex;justify-content:space-between;align-items:center}.cl-panel{padding:16px}.cl-filters{display:flex;gap:8px;flex-wrap:wrap}.cl-list-head, .cl-row{display:grid;grid-template-columns:1.1fr 1fr 1.5fr 1fr .9fr 70px;gap:10px;align-items:center}.cl-list-head{padding:12px;font-size:12px}.cl-row{padding:13px 12px}.cl-row b, .cl-row small{display:block}.cl-row small{margin-top:4px}.cl-row.is-reversed{opacity:.58}.cl-kind, .cl-status{display:inline-flex;width:max-content;padding:4px 9px;font-size:12px;font-weight:700}@media (max-width:1100px){.cl-stats{grid-template-columns:repeat(2,1fr)}.cl-account-grid{grid-template-columns:repeat(2,1fr)}.cl-list-head{display:none}.cl-row{grid-template-columns:1fr 1fr 1fr}.cl-row>div:nth-child(4), .cl-row>div:nth-child(5), .cl-row>div:nth-child(6){text-align:right}}@media (max-width:700px){.cl-toolbar, .cl-panel-head{align-items:stretch;flex-direction:column}.cl-actions>*{flex:1}.cl-stats, .cl-account-grid{grid-template-columns:1fr}.cl-filters{display:grid;grid-template-columns:1fr}.cl-row{grid-template-columns:1fr 1fr;padding:14px 4px}.cl-row>div:nth-child(3), .cl-row>div:nth-child(4){grid-column:1/-1}.cl-row>div:nth-child(5), .cl-row>div:nth-child(6){text-align:right}}.cl-report-panel{margin:18px 0;padding:18px}.cl-report-actions, .cl-report-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.cl-report-filters{margin:14px 0 18px;padding:12px}.cl-report-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.cl-report-summary>div{padding:13px}.cl-report-summary small{display:block;margin-bottom:6px}.cl-report-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:14px;margin-top:14px}.cl-report-grid article, .cl-daily{padding:14px}.cl-report-grid h4, .cl-daily h4{margin:0 0 12px}.cl-source-list>div{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:10px 0}.cl-source-list small{display:block}.cl-daily{margin-top:14px}.cl-daily-list>div{display:grid;grid-template-columns:100px minmax(160px,1fr) minmax(220px,auto);gap:12px;align-items:center;padding:8px 0}.cl-daily-list .bars{display:grid;gap:4px}.cl-daily-list i{display:block;height:7px;min-width:2px}@media (max-width:1000px){.cl-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cl-report-grid{grid-template-columns:1fr}}@media (max-width:640px){.cl-report-summary{grid-template-columns:1fr}.cl-report-panel{padding:12px}.cl-daily-list>div{grid-template-columns:1fr}}@media print{body *{visibility:hidden}.cl-report-panel, .cl-report-panel *{visibility:visible}.cl-report-panel{position:absolute;inset:0;margin:0}.cl-report-actions, .cl-report-filters{display:none}}.cl-forecast-panel{margin:18px 0;padding:18px}.clf-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.clf-summary>div{padding:14px}.clf-summary small, .clf-summary b{display:block}.clf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}@media (max-width:900px){.clf-grid{grid-template-columns:1fr 1fr}}@media (max-width:620px){.clf-summary, .clf-grid{grid-template-columns:1fr}}.cl-topup-panel{margin:18px 0;padding:18px}.cl-topup-summary{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.cl-topup-summary span{padding:8px 12px}.cl-topup-list{display:grid;gap:8px}.cl-topup-row{display:grid;grid-template-columns:1fr 1.2fr 1.6fr 1fr auto;gap:12px;align-items:center;padding:12px}.cl-topup-row small{display:block;margin-top:4px}.cl-topup-actions{display:flex;gap:6px;flex-wrap:wrap}.cl-topup-row.rejected, .cl-topup-row.cancelled{opacity:.72}@media (max-width:900px){.cl-topup-row{grid-template-columns:1fr 1fr}.cl-topup-actions{grid-column:1/-1}}@media (max-width:560px){.cl-topup-row{grid-template-columns:1fr}}.aj-shell{display:grid;gap:18px}.aj-hero{display:flex;justify-content:space-between;align-items:center;padding:20px}.aj-hero h2{margin:0}.aj-hero p{margin:6px 0 0}.aj-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.aj-stats article{padding:15px;display:grid;gap:7px}.aj-stats b{font-size:18px}.aj-panel{overflow:hidden}.aj-panel-head{display:flex;justify-content:space-between;gap:16px;padding:18px}.aj-panel-head h3{margin:0}.aj-filters{display:flex;gap:8px;flex-wrap:wrap}.aj-list-head, .aj-row{display:grid;grid-template-columns:1.1fr 2fr 1.2fr 1fr 1fr .8fr .6fr;gap:10px;align-items:center}.aj-list-head{padding:10px 16px;font-size:12px}.aj-row{padding:13px 16px}.aj-row>div{min-width:0;display:grid;gap:4px}.aj-row b, .aj-row span{overflow:hidden;text-overflow:ellipsis}.aj-lines-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px}.aj-entry-line{display:grid;grid-template-columns:32px 1.6fr 1.4fr 1fr 1fr .8fr .8fr 32px;gap:7px;align-items:center;margin-bottom:8px}.aj-line-no{display:grid;place-items:center;width:28px;height:28px}.aj-remove{height:32px;font-size:20px}.aj-balance{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center;padding:12px;margin:14px 0}.aj-balance>div{display:grid;gap:4px}.aj-detail-head{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.aj-detail-head>div{padding:10px;display:grid;gap:5px}.aj-detail-desc{padding:14px 0}.aj-detail-lines{overflow:auto}.aj-detail-line{min-width:860px;display:grid;grid-template-columns:1.5fr 1.5fr 1fr 1fr .8fr .8fr;gap:8px;padding:10px}.aj-detail-line.head{font-size:12px}.aj-detail-line span{display:grid;gap:3px}.aj-detail-total{display:grid;grid-template-columns:4fr .8fr .8fr;gap:8px;padding:12px;font-weight:700}.aj-audit{margin-top:18px}.aj-audit>div{display:grid;grid-template-columns:150px 140px 1fr;gap:10px;padding:9px 0}.aj-audit p{margin:0}@media (max-width:1100px){.aj-stats{grid-template-columns:repeat(2,1fr)}.aj-list-head{display:none}.aj-row{grid-template-columns:1fr 1fr 1fr}.aj-entry-line{grid-template-columns:28px 1fr 1fr}.aj-remove{grid-column:3}}@media (max-width:700px){.aj-hero, .aj-panel-head{align-items:stretch;flex-direction:column}.aj-stats{grid-template-columns:1fr}.aj-row{grid-template-columns:1fr 1fr}.aj-filters>*{width:100%}.aj-entry-line{grid-template-columns:28px 1fr}.aj-remove{grid-column:2}.aj-detail-head{grid-template-columns:1fr 1fr}.aj-audit>div{grid-template-columns:1fr}.aj-balance{grid-template-columns:1fr 1fr}.aj-balance>:last-child{grid-column:1/-1}}.aj-hero-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.aj-reconciliation{overflow:hidden}.aj-reconciliation.skeleton-block{min-height:150px}.aj-recon-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px}.aj-recon-head h3{margin:3px 0 0}.aj-recon-head p{margin:6px 0 0}.aj-recon-head .section-kicker{font-size:11px;font-weight:800}.aj-recon-actions{display:flex;gap:8px;flex-wrap:wrap}.aj-recon-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px 18px}.aj-recon-summary article{display:grid;gap:5px;padding:12px}.aj-recon-summary b{font-size:17px}.aj-recon-filters{display:grid;grid-template-columns:180px 220px minmax(220px,1fr) auto;gap:8px;padding:12px 18px}.aj-recon-row{min-width:980px;display:grid;grid-template-columns:34px 150px minmax(350px,1fr) 150px 250px;gap:10px;align-items:center;padding:12px 18px}.aj-recon-row.head{font-size:12px}.aj-recon-row>span{min-width:0;display:grid;gap:4px}.aj-recon-row small{line-height:1.7}.aj-recon-row code{direction:ltr;text-align:left;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.aj-repair-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px}.aj-recon-clean{display:flex;align-items:center;gap:12px;margin:0 18px 18px;padding:16px}.aj-repair-check{width:18px;height:18px}@media (max-width:1180px){.aj-recon-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.aj-recon-filters{grid-template-columns:1fr 1fr}.aj-recon-head{align-items:flex-start}.aj-repair-bar{align-items:flex-start}}@media (max-width:1024px){.aj-recon-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.aj-recon-head, .aj-repair-bar{flex-direction:column}.aj-recon-actions{width:100%}.aj-hero-actions{justify-content:flex-end}}.aj-migration{overflow:hidden}.aj-migration.skeleton-block{min-height:170px}.aj-migration-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px}.aj-migration-head h3{margin:3px 0 0}.aj-migration-head p{margin:6px 0 0;max-width:760px;line-height:1.8}.aj-migration-head .section-kicker{font-size:11px;font-weight:800}.aj-migration-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.aj-migration-safety{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:13px 18px}.aj-migration-safety span{padding:10px;line-height:1.8}.aj-migration-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:14px 18px}.aj-migration-summary article{display:grid;gap:5px;padding:11px}.aj-migration-summary b{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aj-migration-runbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 18px}.aj-migration-runbar label{display:flex;align-items:center;gap:8px}.aj-migration-row{min-width:0;display:grid;grid-template-columns:1.2fr .8fr 1.2fr .75fr .8fr 1.5fr;gap:10px;align-items:center;padding:12px 18px}.aj-migration-row.head{font-size:12px}.aj-migration-row>span{min-width:0;display:grid;gap:4px}.aj-migration-row b, .aj-migration-row small, .aj-migration-row span{overflow:hidden;text-overflow:ellipsis}@media (max-width:1180px){.aj-migration-head{flex-direction:column}.aj-migration-actions{width:100%;justify-content:flex-start}.aj-migration-safety{grid-template-columns:1fr 1fr}.aj-migration-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.aj-migration-runbar{align-items:flex-start;flex-direction:column}}@media (max-width:1024px){.aj-migration-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.aj-migration-safety{grid-template-columns:1fr}.aj-migration-runbar label{width:100%;justify-content:space-between}}.al-shell{display:grid;gap:16px}.al-hero{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.al-hero h2{margin:0}.al-hero p{margin:6px 0 0}.al-hero-actions{display:flex;gap:8px}.al-filter-panel{padding:14px;display:grid;grid-template-columns:1fr 1fr 1fr 1.4fr auto auto;gap:10px;align-items:end}.al-filter-panel label, .al-ledger-filter label{font-size:12px}.al-check{display:flex;align-items:center;gap:7px;height:40px;white-space:nowrap}.al-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.al-summary article{padding:14px;display:grid;gap:7px;min-height:78px}.al-summary b{font-size:16px}.al-report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px}.al-report-head h3{margin:0}.al-balance-chip{display:inline-flex;padding:6px 10px;font-size:12px;white-space:nowrap}.al-trial-row{display:grid;grid-template-columns:2.1fr repeat(6,1fr) .55fr;gap:8px;align-items:center;padding:11px 14px}.al-trial-row.head{font-size:12px;position:sticky;top:0;z-index:2}.al-trial-row.group{font-weight:700}.al-trial-row.total{font-weight:800;position:sticky;bottom:0}.al-account-cell{display:grid;gap:2px;padding-right:calc(var(--level)*18px)}.al-account-cell>b{font-size:12px}.al-account-cell>small{font-weight:400}.al-ledger-filter{padding:13px;display:grid;grid-template-columns:1.4fr 1.3fr 1fr 1fr auto;gap:10px;align-items:end;margin-bottom:14px}.al-ledger-row{display:grid;grid-template-columns:.7fr 1fr 1.15fr 1.6fr 1.25fr .75fr .75fr .8fr .8fr;gap:8px;align-items:center;padding:10px 13px}.al-ledger-row.head{font-size:12px;position:sticky;top:0;z-index:2}.al-ledger-row.total{font-weight:800;position:sticky;bottom:0}.al-ledger-row>span{min-width:0;display:grid;gap:2px;overflow:hidden;text-overflow:ellipsis}.al-entry-link{padding:0;text-align:right;font-weight:700;cursor:pointer}.al-body{min-width:0}@media (max-width:1200px){.al-filter-panel{grid-template-columns:repeat(3,1fr)}.al-ledger-filter{grid-template-columns:repeat(2,1fr)}.al-summary{grid-template-columns:repeat(3,1fr)}}@media (max-width:760px){.al-hero, .al-report-head{align-items:stretch;flex-direction:column}.al-hero-actions>*{flex:1}.al-filter-panel, .al-ledger-filter{grid-template-columns:1fr 1fr}.al-check{grid-column:1/-1}.al-summary{grid-template-columns:1fr 1fr}.al-report-head .al-balance-chip{width:max-content}}@media (max-width:480px){.al-filter-panel, .al-ledger-filter, .al-summary{grid-template-columns:1fr}.al-hero-actions{display:grid}.al-hero-actions>*{width:100%}}@media print{body *{visibility:hidden}.al-shell, .al-shell *{visibility:visible}.al-shell{position:absolute;inset:0}.al-trial-row, .al-ledger-row{break-inside:avoid}}.fs-shell{display:grid;gap:16px}.fs-hero{padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.fs-hero h2{margin:0}.fs-hero p{margin:6px 0 0}.fs-actions{display:flex;gap:8px}.fs-filters{padding:14px;display:grid;grid-template-columns:1fr 1fr 1fr 1.3fr auto;gap:10px;align-items:end}.fs-filters label{font-size:12px}.fs-check{display:flex;align-items:center;gap:7px;height:40px;white-space:nowrap}.fs-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.fs-summary article{padding:14px;display:grid;gap:6px;min-height:94px}.fs-summary b{font-size:17px}.fs-body{display:grid;gap:16px;min-width:0}.fs-report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px}.fs-report-head h3{margin:0}.fs-status{display:inline-flex;padding:7px 11px;font-size:12px;white-space:nowrap}.fs-statement-row{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:9px;align-items:center;padding:11px 15px}.fs-statement-row.head, .fs-balance-row.head{font-size:12px}.fs-statement-row.group, .fs-balance-row.group{font-weight:700}.fs-account{display:grid;gap:2px;padding-right:calc(var(--level)*18px)}.fs-account b{font-size:12px}.fs-account small{font-weight:400}.fs-section-title{padding:9px 15px;font-weight:800}.fs-statement-row.total, .fs-balance-row.total{font-weight:800}.fs-statement-row.grand{font-weight:900;font-size:15px}.fs-trend{padding:12px 16px 18px;display:grid;gap:12px}.fs-trend-row{display:grid;grid-template-columns:90px 1fr 1fr 150px;gap:12px;align-items:center;padding:10px}.fs-trend-row>div{position:relative;height:30px;overflow:hidden}.fs-trend-row>div span{position:absolute;right:8px;z-index:2;font-size:11px;line-height:30px}.fs-trend-row>div i{display:block;height:100%;opacity:.34}.fs-trend-row>div em{position:absolute;left:8px;top:0;line-height:30px;font-size:11px}.fs-equation{padding:16px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.fs-equation b{font-size:18px}.fs-equation i{font-weight:900}.fs-equation em{width:100%;text-align:center;font-size:12px}.fs-balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.fs-balance-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:9px;align-items:center;padding:11px 15px}.fs-balance-row.subtotal{font-weight:800}.fs-balance-row.result{font-weight:800}@media (max-width:1150px){.fs-summary{grid-template-columns:repeat(3,1fr)}.fs-filters{grid-template-columns:repeat(3,1fr)}.fs-balance-grid{grid-template-columns:1fr}.fs-trend-row{grid-template-columns:80px 1fr 1fr}.fs-trend-row>small{grid-column:2/-1}}@media (max-width:760px){.fs-hero, .fs-report-head{align-items:stretch;flex-direction:column}.fs-actions>*{flex:1}.fs-filters{grid-template-columns:1fr 1fr}.fs-check{grid-column:1/-1}.fs-summary{grid-template-columns:1fr 1fr}.fs-trend-row{grid-template-columns:1fr}.fs-trend-row>small{grid-column:auto}}@media (max-width:480px){.fs-filters, .fs-summary{grid-template-columns:1fr}.fs-check{grid-column:auto}.fs-actions{display:grid}.fs-actions>*{width:100%}}@media print{body *{visibility:hidden}.fs-shell, .fs-shell *{visibility:visible}.fs-shell{position:absolute;inset:0}.fs-balance-grid{grid-template-columns:1fr 1fr}.fs-trend-row{break-inside:avoid}}.ap-shell{display:grid;gap:16px}.ap-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px}.ap-hero h2{margin:0 0 6px}.ap-hero p{margin:0}.ap-lock{padding:8px 12px;font-weight:800;font-size:12px}.ap-toolbar{display:flex;align-items:end;gap:10px;padding:14px}.ap-periods{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.ap-status{display:inline-flex;width:max-content;padding:4px 9px;font-size:11px;font-weight:900}.ap-summary{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:10px}.ap-summary article{display:grid;gap:5px;padding:14px}.ap-summary b{font-size:16px}.ap-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:12px;margin-top:12px}.ap-checks{display:grid;gap:8px}.ap-checks>div{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:9px 10px}.ap-checks i{display:grid;place-items:center;width:24px;height:24px;font-weight:900}.ap-checks b{font-size:12px}.ap-facts{display:grid;gap:2px;margin:0}.ap-facts div{display:flex;justify-content:space-between;gap:12px;padding:10px 0}.ap-facts dd{margin:0;font-weight:800;text-align:left}.ap-history{margin-top:12px}.ap-entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ap-entry-grid>div{display:grid;gap:5px;padding:11px}.ap-entry-link{text-align:right;font-weight:900;cursor:pointer;padding:0}.ap-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:12px;padding:14px}.ap-actions span{margin-left:auto}.ap-confirm{display:flex;gap:8px;align-items:center;margin-top:12px}.ap-preview>.skeleton-block{min-height:260px}@media (max-width:1000px){.ap-summary{grid-template-columns:repeat(2,1fr)}.ap-grid{grid-template-columns:1fr}.ap-entry-grid{grid-template-columns:1fr}}@media (max-width:640px){.ap-hero, .ap-toolbar, .ap-actions{align-items:stretch;flex-direction:column}.ap-summary{grid-template-columns:1fr}.ap-periods{grid-template-columns:1fr}}body:is([data-page="interdepartmental-tickets"],[data-page="referral-detail"]) .page-content{max-width:1500px}.ref170-shell, .ref170-detail{direction:rtl}.ref170-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 12px;margin-bottom:10px}.ref170-toolbar label{display:flex;align-items:center;gap:8px;min-width:min(520px,70%);padding:0 11px}.ref170-toolbar svg{width:18px;height:18px}.ref170-list{display:grid;gap:7px}.ref170-row{min-height:72px;padding:10px 13px;display:grid;grid-template-columns:minmax(430px,1.5fr) minmax(500px,1fr);gap:14px;align-items:center;cursor:pointer}.ref170-row.is-complete{opacity:.9}.ref170-main{display:grid;grid-template-columns:145px 210px minmax(160px,1fr);gap:12px;align-items:center;min-width:0}.ref170-code, .ref170-topic, .ref170-customer>div, .ref170-meta>div{min-width:0}.ref170-code b, .ref170-customer b, .ref170-topic b, .ref170-meta b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ref170-code small, .ref170-customer small, .ref170-topic small, .ref170-meta small{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.ref170-customer{display:flex;align-items:center;gap:9px;min-width:0}.ref170-customer>span{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;font-weight:900}.ref170-meta{display:grid;grid-template-columns:1.15fr 1fr .65fr .85fr;gap:10px;align-items:center}.ref170-status{display:flex;align-items:center;justify-content:flex-end;gap:7px}.ref170-status span{font-size:11px;font-weight:800;padding:6px 9px;white-space:nowrap}.ref170-status svg{width:17px;height:17px}.ref170-case-search{height:44px;display:flex;align-items:center;padding:0 11px;gap:8px}.ref170-case-search svg{width:18px;height:18px}.ref170-case-results{display:grid;gap:6px;max-height:260px;overflow:auto;margin-top:8px}.ref170-case-option{padding:9px 11px;display:flex;justify-content:space-between;gap:14px;text-align:right;cursor:pointer}.ref170-case-option span{min-width:0}.ref170-case-option b, .ref170-case-option small{display:block}.ref170-case-option small{font-size:11px;margin-top:2px}.ref170-detail{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:14px}.ref170-side{display:grid;gap:10px;align-content:start}.ref170-action-state{padding:14px;display:flex;gap:10px;align-items:center}.ref170-action-state>span{width:44px;height:44px;display:grid;place-items:center}.ref170-action-state svg{width:22px;height:22px}.ref170-action-state b, .ref170-action-state small{display:block}.ref170-action-state small{margin-top:3px}.ref170-legacy{padding:14px}.ref170-legacy p{margin:5px 0 0}.ref170-facts{padding:7px 14px}.ref170-facts b{text-align:left}.ref170-workflow{padding:0 14px}.ref170-workflow summary{padding:13px 0;cursor:pointer;font-weight:850}.ref170-workflow ol{list-style:none;padding:0 0 12px;margin:0}.ref170-workflow li{display:flex;gap:9px;padding:7px 0}.ref170-workflow li>span{width:9px;height:9px;margin-top:5px;flex:0 0 9px}.ref170-workflow b, .ref170-workflow small{display:block}.ref170-workflow p{margin:4px 0 0}.ref170-conversation{padding:16px;min-width:0}.ref170-conversation>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.ref170-conversation h3{margin:3px 0}.ref170-thread{display:flex;flex-direction:column;gap:8px;max-height:520px;overflow:auto;padding:4px}.ref170-message{max-width:78%;align-self:flex-start;padding:10px 12px}.ref170-message.is-own{align-self:flex-end}.ref170-message header{display:flex;align-items:center;gap:7px}.ref170-message header span{font-size:10.5px;padding:3px 6px}.ref170-message time{margin-inline-start:auto;font-size:10.5px}.ref170-message p{margin:7px 0 0;line-height:1.9;white-space:pre-wrap}.ref170-reply{margin-top:13px;padding-top:13px}.ref170-reply>label>span, .ref170-reply>div label>span{display:block;font-weight:800;margin-bottom:5px}.ref170-reply>div{display:flex;justify-content:flex-end;gap:9px;align-items:end;margin-top:9px}.ref170-reply>div label{min-width:230px}.ref170-waiting, .ref170-completed{margin-top:13px;padding:13px;display:flex;align-items:center;gap:10px}.ref170-completed{display:block}.ref170-completed p{margin:5px 0 10px}.ref170-waiting>span{width:40px;height:40px;display:grid;place-items:center}.ref170-waiting svg{width:20px;height:20px}.ref170-waiting b, .ref170-waiting p{display:block;margin:0}.ref170-waiting p{margin-top:4px}@media (max-width:1180px){.ref170-row{grid-template-columns:1fr}.ref170-main{grid-template-columns:130px 210px minmax(0,1fr)}.ref170-meta{padding-top:8px}.ref170-detail{grid-template-columns:300px minmax(0,1fr)}}@media (max-width:820px){.ref170-toolbar{align-items:stretch;flex-direction:column}.ref170-toolbar label{min-width:100%}.ref170-row{padding:12px}.ref170-main, .ref170-meta{grid-template-columns:1fr 1fr}.ref170-topic{grid-column:1/-1}.ref170-detail{grid-template-columns:1fr}.ref170-side{order:1}.ref170-conversation{order:0}.ref170-thread{max-height:none}.ref170-message{max-width:92%}}@media (max-width:520px){.ref170-main, .ref170-meta{grid-template-columns:1fr}.ref170-code, .ref170-status{display:flex;justify-content:space-between;align-items:center}.ref170-meta>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0}.ref170-meta small{margin:0}.ref170-case-option{flex-direction:column}.ref170-reply>div{align-items:stretch;flex-direction:column}.ref170-reply>div label{min-width:0}.ref170-message{max-width:100%}.ref170-conversation{padding:12px}}.refund172-shell{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;align-items:start}.refund172-summary, .refund172-history{padding:18px}.refund172-summary>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.refund172-stage{display:inline-flex;align-items:center;min-height:32px;padding:5px 12px;font-weight:800}.refund172-reason, .refund172-obligation{margin-top:12px;padding:13px}.refund172-reason small, .refund172-obligation small{display:block}.refund172-reason p{margin:6px 0 0;white-space:pre-wrap}.refund172-obligation{display:grid;grid-template-columns:1fr auto;gap:6px 12px}.refund172-obligation small{grid-column:1/-1}.refund172-history header{margin-bottom:12px}.refund172-history h3{margin:2px 0}.refund172-history ol{list-style:none;margin:0;padding:0}.refund172-history li{display:grid;grid-template-columns:14px 1fr;gap:10px;position:relative;padding:0 0 16px}.refund172-history li>span{width:10px;height:10px;margin-top:6px}.refund172-history li small{display:block;margin-top:3px}.refund172-history li p{margin:6px 0 0;white-space:pre-wrap}@media (max-width:850px){.refund172-shell{grid-template-columns:1fr}}@media (max-width:520px){.refund172-summary, .refund172-history{padding:13px}.refund172-summary>header{align-items:flex-start;flex-direction:column}}.counterparty-aging-shell{display:block}.aging-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.aging-title h2{margin:4px 0 7px;font-size:1.35rem}.aging-title p{margin:0;max-width:760px;line-height:1.9}.aging-asof{min-width:175px;padding:12px 15px;display:grid;gap:4px}.aging-asof span, .aging-asof small{font-size:.76rem}.aging-asof b{direction:ltr;text-align:right}.aging-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:14px}.aging-filters label{font-size:.75rem}.aging-filter-actions{display:flex;gap:8px;align-items:flex-end}.aging-priority-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}.aging-priority-strip b{font-size:1.05rem}.aging-priority-strip small{font-size:.72rem}.aging-bucket-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}.aging-export-actions{display:flex;gap:7px}.aging-party-ranking{margin-top:14px}@media (max-width:1200px){.aging-filters{grid-template-columns:repeat(3,1fr)}.aging-bucket-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:760px){.aging-asof{min-width:0}.aging-filters{grid-template-columns:1fr 1fr}.aging-filter-actions{grid-column:1/-1}.aging-priority-strip{grid-template-columns:1fr 1fr}.aging-bucket-grid{grid-template-columns:1fr 1fr}.aging-export-actions{flex-wrap:wrap}}@media (max-width:460px){.aging-filter-actions{display:grid;grid-template-columns:1fr 1fr}}@media print{body.printing-counterparty-aging #counterparty-aging-panel{display:block}}.cp-workspace{display:grid;gap:16px}.cp-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px}.cp-hero h1{margin:5px 0 7px;font-size:24px}.cp-hero p{margin:0}.cp-view-switch{display:flex;padding:4px}.cp-master-detail{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:16px;align-items:start}.cp-directory{padding:0;overflow:hidden;position:sticky;top:16px;max-height:calc(100vh - 120px);display:flex;flex-direction:column}.cp-filter-grid{display:grid;grid-template-columns:1fr 1fr;padding:12px;gap:9px}.cp-filter-grid .cp-search{grid-column:1/-1}.cp-party-list{overflow:auto;padding:8px}.cp-party-row{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-areas:"person-mark main balance" "person-mark overdue overdue";gap:3px 10px;align-items:center;padding:10px;text-align:right;cursor:pointer}.cp-party-main{grid-area:main;display:grid;gap:3px;min-width:0}.cp-party-main b, .cp-party-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-party-main small, .cp-party-balance small, .cp-party-overdue{font-size:11px}.cp-party-balance{grid-area:balance;text-align:left;display:grid}.cp-party-overdue{grid-area:overdue;text-align:left}.cp-party-overdue.has-overdue{font-weight:800}.cp-tab-content{min-height:260px}.cp-tab-head{padding:15px 18px}.cp-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px}.cp-info-grid section{padding:15px}.cp-info-grid section.full{grid-column:1/-1}.cp-info-grid h3{margin:0 0 12px}.cp-info-grid dl{display:grid;grid-template-columns:140px 1fr;gap:9px;margin:0}.cp-info-grid dd{margin:0;font-weight:700}.cp-timeline{padding:18px;display:grid;gap:0}.cp-timeline article{display:grid;grid-template-columns:18px 1fr;gap:10px;position:relative;padding-bottom:16px}.cp-timeline article>span{width:11px;height:11px;margin-top:5px}.cp-timeline b, .cp-timeline small, .cp-timeline p{display:block}.cp-timeline small{margin-top:3px}.cp-timeline p{margin:6px 0 0}.cp-check{display:grid;align-content:center;gap:8px}.cp-check label{display:flex;align-items:center;gap:7px}@media (max-width:1200px){.cp-master-detail{grid-template-columns:300px minmax(0,1fr)}}@media (max-width:900px){.cp-hero{align-items:flex-start;flex-direction:column}.cp-master-detail{grid-template-columns:1fr}.cp-directory{position:static;max-height:520px}}@media (max-width:620px){.cp-info-grid section.full{grid-column:auto}.cp-filter-grid{grid-template-columns:1fr}.cp-filter-grid .cp-search{grid-column:auto}.cp-view-switch{width:100%}}.cp-source-tools{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.cp-source-inactive{opacity:.66}.cp-match-queue{display:grid;gap:10px;max-height:58vh;overflow:auto;padding-left:4px}.cp-match-queue article{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,320px) auto auto;gap:10px;align-items:center;padding:12px}.cp-match-queue article>div{display:grid;gap:4px}.cp-inline-check{display:flex;align-items:center;gap:6px;white-space:nowrap}.cp-supplier-list{display:grid;gap:7px;max-height:220px;overflow:auto;margin-top:14px}.cp-supplier-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px}.cp-supplier-list span{font-size:12px}.cp-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}.cp-preview-grid>div{display:grid;gap:5px;padding:13px}.cp-preview-grid span{font-size:12px}.cp-preview-grid b{font-size:20px}@media (max-width:1180px) and (min-width:769px){.cp-match-queue article{grid-template-columns:1fr 1fr}.cp-source-tools{justify-content:flex-start}.cp-preview-grid{grid-template-columns:repeat(2,1fr)}}body[data-page="reconciliation"] .reconciliation-report-page{gap:14px}body[data-page="reconciliation"] #main-nav{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}body[data-page="reconciliation"] #main-nav::-webkit-scrollbar{display:block;width:7px}body[data-page="reconciliation"] .side-nav-panel .nav-item.active{font-weight:900}body[data-page="reconciliation"] .rec-report-hero.rec-report-hero-compact{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:78px;margin:0 0 10px;padding:12px 16px;overflow:visible}body[data-page="reconciliation"] .rec-report-hero-title, body[data-page="reconciliation"] .rec-header-icon-actions{position:relative;z-index:2}body[data-page="reconciliation"] .rec-report-hero-title{display:flex;align-items:center;gap:11px;min-width:0}body[data-page="reconciliation"] .rec-report-hero-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center}body[data-page="reconciliation"] .rec-report-hero-icon svg{width:23px;height:23px}body[data-page="reconciliation"] .rec-report-hero-copy{display:grid;gap:1px;min-width:0}body[data-page="reconciliation"] .rec-report-hero-copy small{margin:0;font-size:10.5px;font-weight:850}body[data-page="reconciliation"] .rec-report-hero-copy h1{margin:0;font-size:21px;font-weight:950;line-height:1.35}body[data-page="reconciliation"] .rec-report-hero-copy p{margin:0;font-size:10.5px;font-weight:650;line-height:1.55}body[data-page="reconciliation"] .rec-header-icon-actions{display:flex;align-items:center;gap:7px;margin-right:auto;overflow:visible}body[data-page="reconciliation"] .rec-header-operations{position:relative;z-index:50}body[data-page="reconciliation"] .rec-report-section-head{min-height:64px;margin-bottom:9px;padding:11px 14px}body[data-page="reconciliation"] .rec-report-search{margin-bottom:9px;padding:11px 13px}body[data-page="reconciliation"] .rec-status-list{padding:0}body[data-page="reconciliation"] .rec-status-group{margin-bottom:10px;overflow:visible}body[data-page="reconciliation"] .rec-status-group>summary{min-height:54px;padding:10px 13px}body[data-page="reconciliation"] .rec-group-toolbar{margin:7px 0;padding:7px 10px}body[data-page="reconciliation"] :is(.rec-date-summary-cell,.rec-payer-summary-cell,.rec-product-summary-cell,.rec-related-summary-cell,.rec-confidence-summary-cell,.rec-status-summary-cell) small{font-size:10.5px;line-height:1.35;margin-top:2px}body[data-page="reconciliation"] .rec-row-actions-clean{gap:5px}body[data-page="reconciliation"] .rec-delete-check span{width:24px;height:24px}@media (max-width:900px){body[data-page="reconciliation"] .sidebar{top:0;bottom:0;right:0}body[data-page="reconciliation"] .rec-report-section-head{align-items:flex-start;flex-wrap:wrap}body[data-page="reconciliation"] .rec-report-section-actions{width:100%;margin:0;justify-content:flex-end}}@media (max-width:768px){body[data-page="reconciliation"] .rec-report-search{align-items:stretch;flex-direction:column}body[data-page="reconciliation"] .rec-search-result{width:100%;min-width:0}body[data-page="reconciliation"] .rec-group-toolbar{justify-content:stretch;flex-wrap:wrap}body[data-page="reconciliation"] .rec-group-toolbar>*{flex:1 1 150px}body[data-page="reconciliation"] .rec-index-stack{justify-content:flex-start}body[data-page="reconciliation"] .rec-row-actions-clean{min-width:0;width:auto}}@media (max-width:560px){body[data-page="reconciliation"] .rec-report-section-actions{display:grid;grid-template-columns:1fr}body[data-page="reconciliation"] .rec-report-section-actions>*{width:100%}}@media (max-width:820px){body[data-page="reconciliation"] .rec-report-hero.rec-report-hero-compact{min-height:68px;flex-direction:row;align-items:center;padding:9px 11px;gap:8px}body[data-page="reconciliation"] .rec-report-hero-title{gap:8px;flex:1 1 auto}body[data-page="reconciliation"] .rec-report-hero-icon{width:40px;height:40px;flex-basis:40px}body[data-page="reconciliation"] .rec-report-hero-icon svg{width:20px;height:20px}body[data-page="reconciliation"] .rec-report-hero-copy small, body[data-page="reconciliation"] .rec-report-hero-copy p{display:none}body[data-page="reconciliation"] .rec-report-hero-copy h1{font-size:18px;white-space:nowrap}body[data-page="reconciliation"] .rec-header-icon-actions{width:auto;flex:0 0 auto;align-self:center;margin-right:auto;gap:5px}}@media (max-width:390px){body[data-page="reconciliation"] .rec-report-hero.rec-report-hero-compact{min-height:62px;padding:8px 9px;gap:6px}body[data-page="reconciliation"] .rec-report-hero-title{gap:6px}body[data-page="reconciliation"] .rec-report-hero-icon{width:36px;height:36px;flex-basis:36px}body[data-page="reconciliation"] .rec-report-hero-copy h1{font-size:16.5px}body[data-page="reconciliation"] .rec-header-icon-actions{gap:4px}}.rec-direct-payment-row td b, .rec-direct-payment-row td small{display:block}.rec-direct-payment-row td small{margin-top:3px;font-size:10.5px}.sidebar>.brand{display:none}#main-nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding-top:14px;scroll-behavior:smooth}#main-nav::-webkit-scrollbar{width:7px;display:block}body .sidebar .sidebar-bottom #version-label{display:block;margin:0;padding:8px 4px 0;text-align:center;font-size:10.5px;font-weight:750;line-height:1.75;white-space:normal}@media (min-width:901px) and (max-height:760px){#main-nav{padding-top:9px;padding-bottom:7px;gap:3px}.nav-item, .side-nav-trigger{min-height:39px;padding-top:7px;padding-bottom:7px}.side-nav-panel .nav-item{min-height:32px;padding-top:5px;padding-bottom:5px}.sidebar-bottom{padding-top:6px;padding-bottom:8px}}@media (prefers-reduced-motion:reduce){#main-nav{scroll-behavior:auto}}body[data-page="dashboard"] .page-content{max-width:1680px;margin-inline:auto}.mgmt-dashboard{display:grid;gap:14px;min-width:0}.mgmt-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px}.mgmt-hero h2{margin:4px 0 5px;font-size:25px}.mgmt-hero p{margin:0}.mgmt-health{display:flex;align-items:center;gap:10px;min-width:245px;padding:12px 14px}.mgmt-health>span{display:grid;place-items:center;width:36px;height:36px;font-weight:950}.mgmt-health b, .mgmt-health small{display:block}.mgmt-health small{margin-top:4px;font-size:11px}.mgmt-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.mgmt-metric{position:relative;min-width:0;min-height:126px;padding:15px;text-align:right;cursor:pointer}.mgmt-metric span, .mgmt-metric small, .mgmt-metric em{display:block;overflow:hidden;text-overflow:ellipsis}.mgmt-metric span{font-size:12px}.mgmt-metric b{display:block;margin:12px 0 7px;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mgmt-metric small{font-size:11px}.mgmt-metric em{margin-top:5px;font-size:10.5px}.mgmt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mgmt-span-2{grid-column:span 2}.mgmt-panel{min-width:0;padding:17px}.mgmt-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.mgmt-panel h3{margin:3px 0 0;font-size:16px}.mgmt-link{padding:6px 10px;font-size:11px;font-weight:850;cursor:pointer}.mgmt-count{display:grid;place-items:center;min-width:29px;height:29px;padding:0 8px;font-weight:900}.mgmt-chart{min-height:300px}.mgmt-bars{height:260px;display:flex;align-items:stretch;justify-content:space-around;gap:8px;padding:20px 8px 0}.mgmt-bar-period{flex:1;min-width:24px;display:grid;grid-template-rows:1fr 28px;gap:7px;align-items:end;text-align:center}.mgmt-bar-pair{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px}.mgmt-bar-pair i{display:block;width:min(18px,38%);min-height:3px}.mgmt-bar-period span{direction:ltr;font-size:10.5px}.mgmt-chart-legend{display:flex;justify-content:center;gap:18px;margin-top:11px;font-size:11px}.mgmt-chart-legend span{display:flex;align-items:center;gap:5px}.mgmt-chart-legend i{width:9px;height:9px}.mgmt-stack{display:grid;gap:7px}.mgmt-solidity-row{display:grid;grid-template-columns:minmax(160px,1.2fr) repeat(3,minmax(120px,1fr));align-items:center;gap:10px;padding:10px 12px}.mgmt-solidity-row>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.mgmt-solidity-row span{padding:3px 7px;font-size:10.5px;font-weight:850}.mgmt-solidity-row small, .mgmt-solidity-row strong{display:block}.mgmt-solidity-row small{font-size:10.5px}.mgmt-solidity-row strong{margin-top:3px;font-size:11px}.mgmt-aging-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px}.mgmt-aging-row b, .mgmt-aging-row small, .mgmt-aging-row strong{display:block}.mgmt-aging-row b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mgmt-aging-row small{margin-top:3px;font-size:10.5px}.mgmt-aging-row strong{font-size:11px;white-space:nowrap}.mgmt-recent-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 3px}.mgmt-recent-row b, .mgmt-recent-row small{display:block}.mgmt-recent-row b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mgmt-recent-row small{margin-top:3px;font-size:10.5px}.mgmt-recent-row strong{font-size:11px;white-space:nowrap}.mgmt-tx-icon{display:grid;place-items:center;width:32px;height:32px;font-weight:900}.mgmt-integrity{display:grid;gap:6px;margin:0}.mgmt-integrity>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px}.mgmt-integrity dd{margin:0;font-weight:900}.mgmt-state{display:flex;align-items:flex-start;justify-content:center;gap:12px;min-height:220px;padding:42px;text-align:right}.mgmt-state-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;font-weight:950}.mgmt-state b{display:block;font-size:15px}.mgmt-state p{margin:5px 0 12px;line-height:1.8}@media (max-width:1366px){.mgmt-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.mgmt-metric{min-height:112px}.mgmt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgmt-span-2{grid-column:span 2}.mgmt-grid>article:not(.mgmt-span-2){grid-column:auto}}@media (max-width:1080px){.mgmt-hero{align-items:flex-start}.mgmt-health{min-width:220px}.mgmt-grid{grid-template-columns:1fr}.mgmt-span-2, .mgmt-grid>article{grid-column:1}.mgmt-solidity-row{grid-template-columns:minmax(150px,1.2fr) repeat(3,minmax(105px,1fr));overflow:auto}.mgmt-bars{min-width:720px}.mgmt-chart{overflow:auto}}body[data-page]:not([data-page="reconciliation"]){--tiam-control-height:46px;--tiam-z-modal:1900}@media (min-width:901px){body[data-page]:not([data-page="reconciliation"]){--tiam-sidebar-width:264px}body[data-page]:not([data-page="reconciliation"]) .sidebar{width:var(--tiam-sidebar-width)}body[data-page]:not([data-page="reconciliation"]) .workspace{width:calc(100% - var(--tiam-sidebar-width));margin:0 var(--tiam-sidebar-width) 0 0;min-width:0}body[data-page]:not([data-page="reconciliation"]) .page-content{width:100%;min-width:0;padding:var(--tiam-page-block) var(--tiam-page-inline) 44px}}@media (min-width:901px) and (max-width:1280px){body[data-page]:not([data-page="reconciliation"]){--tiam-sidebar-width:236px;--tiam-control-height:44px}body[data-page]:not([data-page="reconciliation"]) .topbar{gap:12px;padding-inline:18px}body[data-page]:not([data-page="reconciliation"]) .top-title{min-width:0;flex:1 1 230px}body[data-page]:not([data-page="reconciliation"]) .top-title b{display:block;max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page]:not([data-page="reconciliation"]) .page-head h1{font-size:clamp(20px,2vw,23px)}}@media (min-width:901px) and (max-width:1100px){body[data-page]:not([data-page="reconciliation"]){--tiam-sidebar-width:218px}body[data-page]:not([data-page="reconciliation"]) .topbar{min-height:78px;height:auto;padding-block:10px;gap:9px}body[data-page]:not([data-page="reconciliation"]) .top-title{flex-basis:180px}body[data-page]:not([data-page="reconciliation"]) .top-title b{max-width:28vw;font-size:14px}body[data-page]:not([data-page="reconciliation"]) .page-actions{justify-content:flex-start}}@media (min-width:901px) and (max-width:1024px){body[data-page]:not([data-page="reconciliation"]){--tiam-sidebar-width:208px}body[data-page]:not([data-page="reconciliation"]) #main-nav{padding-inline:8px}body[data-page]:not([data-page="reconciliation"]) :where(.nav-item,.side-nav-trigger){padding-inline:10px;gap:8px}body[data-page]:not([data-page="reconciliation"]) :where(.nav-item,.side-nav-trigger) span{font-size:11px}body[data-page]:not([data-page="reconciliation"]) .top-title b{max-width:26vw}body[data-page]:not([data-page="reconciliation"]) .page-head{flex-wrap:wrap}body[data-page]:not([data-page="reconciliation"]) .page-actions{width:100%}}@media (min-width:901px) and (max-height:720px){body[data-page]:not([data-page="reconciliation"]) .topbar{min-height:68px;height:68px;padding-block:6px}}body.tiam-components-enabled[data-page]:not([data-page="reconciliation"]) .page-head{position:relative;isolation:isolate;overflow:hidden;padding:18px 20px}body.tiam-components-enabled[data-page]:not([data-page="reconciliation"]) .page-head h1{margin:0;font-size:clamp(20px,2vw,25px);font-weight:950;line-height:1.65}body.tiam-components-enabled[data-page]:not([data-page="reconciliation"]) .page-head p{max-width:820px;margin:4px 0 0;line-height:1.9}@media (min-width:901px) and (max-width:1024px){body.tiam-components-enabled[data-page]:not([data-page="reconciliation"]) .page-head{padding:15px 16px}}@layer tiam-login-v145{#login-screen.tiam-login-page{display:block}.tiam-login-background{opacity:1}.tiam-login-layout{direction:rtl;width:min(1540px,100%);height:100dvh;min-height:650px;margin:auto;display:grid;grid-template-columns:minmax(520px,1.12fr) minmax(410px,.88fr);gap:clamp(22px,3vw,48px);padding:clamp(24px,3.2vw,48px);align-items:stretch}.tiam-login-logo-stage{direction:rtl;width:100%;aspect-ratio:auto;min-height:0;justify-self:stretch;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:28px;padding:clamp(42px,6vw,80px);overflow:hidden;isolation:isolate}.tiam-login-brand-mark{width:108px;height:108px;display:grid;place-items:center;padding:13px}.tiam-login-logo{position:static;width:100%;height:100%;object-fit:contain}.tiam-login-brand-copy{max-width:680px}.tiam-login-brand-copy>span{display:inline-flex;padding:7px 12px;font-size:10.5px;font-weight:850}.tiam-login-brand-copy h1{margin:18px 0 12px;font-size:clamp(30px,3.2vw,48px);font-weight:950;line-height:1.6}.tiam-login-brand-copy p{max-width:610px;margin:0;font-size:13px;line-height:2.15}.tiam-login-capabilities{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px}.tiam-login-capabilities b{padding:9px 12px;font-size:10.5px;font-weight:780}.tiam-login-password-toggle{left:8px;width:40px;height:40px;opacity:1}.tiam-login-submit{min-height:54px;margin-top:4px;font-size:13.5px;font-weight:950}.tiam-login-footer{right:auto;left:clamp(18px,3vw,45px);bottom:16px;font-size:10.5px;font-weight:650}@media (max-width:1120px){.tiam-login-layout{height:100dvh;grid-template-columns:minmax(430px,1fr) minmax(370px,.85fr);gap:20px;padding:24px}.tiam-login-logo-stage{padding:44px;max-height:none}.tiam-login-brand-copy h1{font-size:31px}}@media (max-width:900px){body.auth-active{overflow:auto}#login-screen.tiam-login-page{position:relative;overflow:auto}.tiam-login-layout{height:auto;min-height:100dvh;grid-template-columns:1fr;padding:18px 18px 62px}.tiam-login-logo-stage{min-height:330px;padding:36px}.tiam-login-brand-mark{width:82px;height:82px}.tiam-login-brand-copy h1{font-size:27px}.tiam-login-footer{position:absolute}}@media (max-width:560px){.tiam-login-layout{padding:10px 10px 58px}.tiam-login-logo-stage{min-height:245px;padding:24px;gap:18px}.tiam-login-brand-copy h1{font-size:22px;margin:11px 0 7px}.tiam-login-brand-copy p{font-size:10.5px}.tiam-login-capabilities{display:none}.tiam-login-footer{left:12px;right:12px;text-align:center}}}body.tiam-header-system-v232{--tiam-header-eyebrow:rgba(238,245,252,.78);--tiam-header-radius:16px;--tiam-header-height:58px}body.tiam-header-system-v232 #page-content .tiam-header:not(.tiam-header--page){min-height:var(--tiam-header-height);height:auto;box-sizing:border-box;padding:var(--tiam-header-padding-block) var(--tiam-header-padding-inline);display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;isolation:isolate;overflow:hidden;text-align:right}body.tiam-header-system-v232 #page-content .tiam-header-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;position:relative;z-index:1}body.tiam-header-system-v232 #page-content .tiam-header-title{display:block;margin:0;padding:0;font-size:15.5px;font-weight:800;line-height:1.65;overflow-wrap:anywhere}body.tiam-header-system-v232 #page-content .tiam-header-subtitle, body.tiam-header-system-v232 #page-content .tiam-header-eyebrow{display:block;margin:0;padding:0;font-size:10.5px;font-weight:600;line-height:1.7;opacity:1;overflow-wrap:anywhere}body.tiam-header-system-v232 #page-content .tiam-header-eyebrow{min-width:0;width:auto;font-size:10.5px;font-weight:700}body.tiam-header-system-v232 #page-content .tiam-header-icon{width:38px;height:38px;min-width:38px;padding:0;display:grid;place-items:center;position:relative;z-index:1}body.tiam-header-system-v232 #page-content .tiam-header-icon svg{width:19px;height:19px}body.tiam-header-system-v232 #page-content .tiam-header-meta{font-size:10.5px;font-weight:700;white-space:nowrap}body.tiam-header-system-v232 #page-content .tiam-header--summary{min-height:64px}body.tiam-header-system-v232 #page-content .tiam-header--summary .tiam-header-title{font-size:14.5px}body.tiam-header-system-v232 #page-content .tiam-header--section, body.tiam-header-system-v232 #page-content .tiam-header--filter{min-height:56px}body.tiam-header-system-v232 #page-content .tiam-header--page{min-height:72px;height:auto;box-sizing:border-box;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;overflow:visible}body.tiam-header-system-v232 #page-content .tiam-header--page .tiam-header-title{font-size:clamp(19px,2vw,24px);font-weight:850;line-height:1.55}body.tiam-header-system-v232 #page-content .tiam-header--page .page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}@media (max-width:1100px){body.tiam-header-system-v232 #page-content .tiam-header--page{padding-inline:16px}}@media (max-width:760px){body.tiam-header-system-v232 #page-content .tiam-header:not(.tiam-header--page){min-height:auto;padding:11px 13px;gap:10px;flex-direction:row;align-items:center;flex-wrap:nowrap}body.tiam-header-system-v232 #page-content .tiam-header-title{font-size:14px}body.tiam-header-system-v232 #page-content .tiam-header-subtitle{font-size:10.5px}body.tiam-header-system-v232 #page-content .tiam-header-actions{max-width:52%;flex-wrap:nowrap;overflow-x:auto}body.tiam-header-system-v232 #page-content .tiam-header--page{align-items:flex-start;flex-direction:column;padding:13px 14px}body.tiam-header-system-v232 #page-content .tiam-header--page .page-actions{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}}@media (max-width:520px){body.tiam-header-system-v232 #page-content .tiam-header:not(.tiam-header--page){align-items:center;flex-direction:row;flex-wrap:nowrap;padding:10px 11px}body.tiam-header-system-v232 #page-content .tiam-header-copy{flex:1 1 auto;min-width:0}body.tiam-header-system-v232 #page-content .tiam-header-actions{width:auto;max-width:42%;justify-content:flex-end;flex:0 1 auto}body.tiam-header-system-v232 #page-content .tiam-header-icon{width:34px;height:34px;min-width:34px}body.tiam-header-system-v232 #page-content .tiam-header-title{font-size:13.5px;line-height:1.55}body.tiam-header-system-v232 #page-content .tiam-header-subtitle{font-size:10.5px;line-height:1.55}}body.customer-call-open{overflow:hidden}.customer-call-close, .customer-call-search-clear{display:grid;place-items:center;cursor:pointer}.customer-call-close{width:34px;height:34px;min-width:34px}.customer-call-close svg, .customer-call-search-clear svg{width:16px;height:16px}.customer-call-search-wrap{position:relative;}.customer-call-search-wrap>svg{position:absolute;inset-inline-start:14px;top:50%;width:17px;height:17px;pointer-events:none}.customer-call-search-clear{position:absolute;inset-inline-end:7px;top:7px;width:28px;height:28px}.customer-call-live{min-height:20px;padding:0 17px 7px;font-size:11px}.customer-call-content{min-height:0;overscroll-behavior:contain;}.customer-call-state{min-height:230px;display:grid;place-items:center;text-align:center;padding:28px}.customer-call-state>div{max-width:330px}.customer-call-state svg{width:38px;height:38px;margin-bottom:12px;opacity:.75}.customer-call-state h3{margin:0 0 6px;font-size:14px}.customer-call-state p{margin:0;font-size:12px;line-height:1.8}.customer-call-results{display:grid;gap:7px;padding-top:4px}.customer-call-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:60px;padding:9px 10px;cursor:pointer;text-align:right}.customer-call-result-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:850}.customer-call-result-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:5px;font-size:10.5px}.customer-call-phone{direction:ltr;unicode-bidi:isolate;font-weight:700}.customer-call-action{display:grid;place-items:center;width:34px;height:34px;min-width:34px;cursor:pointer}.customer-call-action svg{width:16px;height:16px}.customer-call-history-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:9px;padding:5px 0 10px}.customer-call-back{display:grid;place-items:center;width:32px;height:32px;cursor:pointer}.customer-call-back svg{width:15px;height:15px}.customer-call-customer{min-width:0}.customer-call-customer b, .customer-call-customer small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-call-customer b{font-size:13px}.customer-call-customer small{margin-top:2px;direction:ltr;text-align:right;font-size:10.5px}.customer-call-now{margin:0 0 10px;padding:10px}.customer-call-now-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.customer-call-now strong{font-size:12px}.customer-call-now p{margin:6px 0 0;font-size:10.5px;line-height:1.7}.customer-call-finalize{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:9px}.customer-call-caller b, .customer-call-caller small{display:block;white-space:nowrap}.customer-call-caller small{margin-top:2px;font-size:10.5px}.customer-call-more{display:block;margin:10px auto 0;min-width:120px;height:34px;font-size:11px;font-weight:800;cursor:pointer}#app-shell{display:flex;background:transparent;position:relative;isolation:isolate;}.sidebar{position:fixed;inset:8px 8px 8px auto;display:flex;flex-direction:column;background:rgba(239,248,255,.28);border:1px solid rgba(255,255,255,.72);border-radius:26px;box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 14px 34px rgba(40,84,132,.15);z-index:40;}.sidebar nav{flex:1;overflow:auto;padding:10px}.sidebar-bottom{border-top:1px solid rgba(255,255,255,.42);}.workspace{background:transparent;}.topbar{z-index:30;display:flex;align-items:center;margin:8px 8px 4px;background:rgba(239,248,255,.30);border:1px solid rgba(255,255,255,.74);border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 10px 26px rgba(40,84,132,.13);}.top-title b{display:block;font-size:15px}.top-title small{display:none}.top-date-pill, .profile{display:flex;align-items:center;gap:8px;min-height:38px}.profile{margin-right:0}.profile>div:last-of-type b, .profile>div:last-of-type small, .top-date-pill small, .top-date-pill b{display:block}.person-mark{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border:1px solid var(--tiam-surface-border);background:var(--tiam-surface-surface);border-radius:50%;box-shadow:var(--tiam-surface-shadow)}.person-mark img{width:100%;height:100%;object-fit:contain}.page-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px;}.page-head p{display:none}.page-actions, .tiam-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.grid, .form-grid, .summary-strip{display:grid;gap:12px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field.full{grid-column:1/-1}.table-wrap, .table-responsive, .data-table-wrap, .table-container{width:100%;overflow:auto}.card, .panel, .section-card, .form-card{margin-bottom:14px}.modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.28)}.modal{width:min(720px,95vw);max-height:88vh;display:flex;flex-direction:column;overflow:hidden;background:var(--tiam-surface-surface-strong);border:1px solid var(--tiam-surface-border);border-radius:26px;box-shadow:var(--tiam-surface-shadow-hover);}.modal-wide{width:min(1080px,96vw)}.modal-head, .modal-actions{display:flex;align-items:center;gap:8px;padding:12px 14px}.modal-head{justify-content:space-between;border-bottom:1px solid var(--ui-border)}.modal-body{padding:14px;overflow:auto}.modal-actions{justify-content:flex-start;border-top:1px solid var(--ui-border)}.customer-call-overlay{position:fixed;inset:0;z-index:166;background:rgba(0,0,0,.24);visibility:hidden;opacity:0;pointer-events:none}.customer-call-overlay.is-open{visibility:visible;opacity:1;pointer-events:auto}.customer-call-drawer{position:fixed;z-index:167;inset-block:0;right:0;width:min(520px,calc(100vw - 30px));display:flex;flex-direction:column;background:var(--tiam-surface-surface-strong);border-left:1px solid var(--tiam-surface-border);box-shadow:-16px 0 42px rgba(25,63,105,.16);transform:translateX(104%);visibility:hidden;overflow:hidden}.customer-call-drawer-head{min-height:60px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--ui-border)}.customer-call-search-wrap{display:flex;align-items:center;gap:8px;margin:12px}.customer-call-content{flex:1;overflow:auto;padding:0 12px 16px}#so-drawer-host, #so-notification-drawer{position:fixed;inset:0;z-index:150;pointer-events:none}#so-drawer-host.is-open, #so-notification-drawer.is-open{pointer-events:auto}#so-notification-drawer>aside{position:absolute;inset-block:0;right:0;width:min(520px,calc(100vw - 30px));background:var(--tiam-surface-surface-strong);border-left:1px solid var(--tiam-surface-border);box-shadow:-16px 0 42px rgba(25,63,105,.16);overflow:auto}.tiam-login-page{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:24px;background:#fff}.tiam-login-layout{display:grid;background:var(--tiam-surface-surface-strong);border:1px solid var(--tiam-surface-border);border-radius:30px;box-shadow:var(--tiam-surface-shadow-hover);overflow:hidden;}.tiam-login-logo-stage, .tiam-login-form-zone{padding:28px}.tiam-login-logo-stage{display:grid;align-content:center;justify-items:center;}.tiam-login-logo{object-fit:contain;}.tiam-login-form{display:grid;gap:14px}.tiam-login-footer{position:absolute;bottom:12px;font-size:11px;color:var(--ui-muted)}.forced-password-screen{position:fixed;inset:0;z-index:210;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.25)}.forced-password-card{width:min(520px,95vw);background:var(--tiam-surface-surface-strong);border:1px solid var(--tiam-surface-border);border-radius:26px;box-shadow:var(--tiam-surface-shadow-hover);padding:20px;}@media (max-width:1100px){:root{--ui-sidebar-width:210px}.top-date-pill{display:none}.page-content{padding:16px}.form-grid{grid-template-columns:1fr}}.tiam-login-layout{width:min(460px,96vw);grid-template-columns:1fr}.tiam-login-logo-stage{padding:18px;border-left:0;border-bottom:1px solid var(--ui-border)}.tiam-login-form-zone{padding:24px}.tiam-login-logo{width:72px;height:72px}/* TIAM v236 — compact application structure. */.sidebar{ width: var(--sidebar-width); }.topbar{   padding: 0 12px; gap: 8px; }.page-content{ padding: 12px; gap: 10px; }.page-head{ min-height: 34px; margin: 0 0 8px; gap: 8px; }.page-head.ui-duplicate-page-title > :first-child{ position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }.page-head.ui-duplicate-page-title{ justify-content: flex-end; min-height: 0; }.page-head.ui-duplicate-page-title .page-actions:empty{ display: none; }.page-head.ui-duplicate-page-title:has(.page-actions:empty){ display: none; }.nav-item, .side-nav-trigger{ min-height: 36px; padding: 7px 10px; gap: 8px; }.nav-item svg, .side-nav-trigger svg{ width: 17px; height: 17px; }.top-title{ min-width: 120px; }.customer-call-top-btn{ width: 34px; min-width: 34px; height: 34px; padding: 0; position: relative; }.top-date-pill{ height: 34px; padding: 0 9px; gap: 6px; }.top-date-pill svg{ width: 16px; height: 16px; }.profile{ min-width: 0; padding: 0 9px; gap: 0; }.profile > div{ min-width: 0; }.profile b{ max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.profile small{ display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.compact-section-nav{ display: none !important; }.grid, .section-grid, [class*="-grid"]{ gap: 8px; }.section-gap{ margin-top: 10px !important; }@media (max-width: 1180px){:root{ --sidebar-width: 208px; }.profile small{ display: none; }.top-title{ min-width: 90px; }}.ui-primary-page-title{ position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; }/* TIAM v237 — visibly compact application shell. */:root{--sidebar-width:204px;--topbar-height:46px}body.ui-compact-ready .sidebar{width:var(--sidebar-width)}body.ui-compact-ready .workspace{margin-right:var(--sidebar-width)}body.ui-compact-ready .topbar{height:var(--topbar-height);min-height:var(--topbar-height);margin:6px 8px 7px;padding:0 9px;gap:5px}body.ui-compact-ready .page-content{padding:8px;gap:7px}body.ui-compact-ready .page-head{min-height:30px;margin:0 0 5px;gap:5px}body.ui-compact-ready .ui-title-collapsed{justify-content:flex-end;min-height:0}body.ui-compact-ready .ui-title-collapsed:not(:has(.page-actions,.toolbar-actions,button,a)){display:none}body.ui-compact-ready .side-nav-panel{padding:2px 4px 4px}body.ui-compact-ready .nav-item, body.ui-compact-ready .side-nav-trigger{min-height:32px;padding:5px 8px;gap:7px;font-size:11.5px}body.ui-compact-ready .nav-item svg, body.ui-compact-ready .side-nav-trigger svg{width:15px;height:15px}body.ui-compact-ready .sidebar-bottom{padding:4px}body.ui-compact-ready .profile{padding:0 6px}body.ui-compact-ready .profile small{display:none}body.ui-compact-ready .top-date-pill{height:31px;padding:0 7px}body.ui-compact-ready .customer-call-top-btn{width:31px;min-width:31px;height:31px}body.ui-compact-ready .grid, body.ui-compact-ready .section-grid, body.ui-compact-ready [class*="-grid"]{gap:6px}body.ui-compact-ready .section-gap{margin-top:7px!important}body.ui-compact-ready .table-wrap{max-height:min(72vh,760px)}body[data-customer-calls="allowed"] #customer-call-top-btn{display:grid!important}body[data-customer-calls="denied"] #customer-call-top-btn{display:none!important}@media (max-width:1180px){:root{--sidebar-width:192px}}/* TIAM v238 — fixed shell, independent sidebar scroll and central page scroll. */html, body{height:100%;overflow:hidden}#app-shell{height:100vh;min-height:0;overflow:hidden}.sidebar{height:100vh;min-height:0;overflow:hidden}#main-nav, .sidebar nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a7a7a7 transparent;overscroll-behavior:contain}#main-nav::-webkit-scrollbar, .sidebar nav::-webkit-scrollbar, .page-content::-webkit-scrollbar{width:7px;height:7px}#main-nav::-webkit-scrollbar-thumb, .sidebar nav::-webkit-scrollbar-thumb, .page-content::-webkit-scrollbar-thumb{background:#a7a7a7;border-radius:8px}#main-nav::-webkit-scrollbar-track, .sidebar nav::-webkit-scrollbar-track, .page-content::-webkit-scrollbar-track{background:transparent}.sidebar-bottom{flex:0 0 auto;margin-top:0;padding:7px 10px 10px}.workspace{width:calc(100% - var(--sidebar-width,var(--ui-sidebar-width)));margin-right:var(--sidebar-width,var(--ui-sidebar-width));height:100vh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.topbar{position:relative!important;top:auto!important;flex:0 0 var(--topbar-height,var(--ui-topbar-height));height:var(--topbar-height,var(--ui-topbar-height))!important;min-height:var(--topbar-height,var(--ui-topbar-height))!important}.page-content{flex:1 1 auto;min-height:0;width:100%;max-width:none;margin:0;scrollbar-color:#a7a7a7 transparent;overscroll-behavior:contain;}body.ui-overlay-lock .page-content{overflow:hidden}.side-nav-panel{display:none!important;max-height:none!important;opacity:1!important;overflow:visible!important;pointer-events:auto!important;padding:0 8px!important;margin-top:3px!important;transition:none!important}.side-nav-group.open>.side-nav-panel{display:grid!important}.side-nav-group:not(.open)>.side-nav-panel{display:none!important}.side-nav-trigger, .side-nav-panel, .side-nav-trigger i{transition:none!important;animation:none!important}.side-nav-trigger i{transform:none!important}.side-nav-trigger[aria-expanded="true"] i{transform:rotate(180deg)!important}@media (max-width:820px){.workspace{height:100vh}.sidebar{height:100vh}}
/* v314 — Jalali picker must stay above every modal and remain anchored while modal scrolls. */
#jdate-picker.jdate-picker{z-index:10050!important;position:fixed!important;isolation:isolate;overflow:visible!important;opacity:1}
#jdate-picker.jdate-picker.hidden{display:none!important}
.modal-backdrop:has(#modal.employee-minimal-modal){overflow:visible}


/* TIAM v328 stable desktop shell */
.app-shell,.main,.main-content,.page-content{min-width:0}.main-content{overflow:hidden}.page-content{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.sidebar{overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.topbar{min-width:0}.topbar>*{min-width:0}@media (min-width:901px){body:not(.auth-active){overflow:hidden}.app-shell{height:100vh;max-height:100vh}.main-content{height:100vh}.page-content{height:calc(100vh - var(--topbar-height,64px));padding-bottom:104px}}

/* TIAM v328 — accounting journal restore-down */
@media(max-width:1180px){.aj-migration-row{grid-template-columns:1.1fr .8fr 1.15fr .8fr 1.35fr}.aj-migration-row>span:nth-child(5){display:none}}
@media(max-width:980px){.aj-migration-row{grid-template-columns:1fr .8fr 1fr 1.3fr}.aj-migration-row>span:nth-child(4){display:none}.aj-migration-row{padding-inline:11px;gap:7px}}

/* ===== SOURCE: components.css | sha256:c0a4da176ff775df160b745ad168cb8322475d114cb1a7cefc3b8112690e5761 ===== */
.profile{display:flex;align-items:center;gap:9px;}.profile b, .profile small{display:block}.profile b{font-size:12px}.profile small{margin-top:3px;}.icon-btn{cursor:pointer;font-size:17px;}.btn{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;}.btn-sm{font-size:11px;}.card-head{display:flex;align-items:center;justify-content:space-between;}.card-head h3{margin:0;}.kpi{display:flex;justify-content:space-between;align-items:flex-start;}.kpi .value{margin-top:12px;}.kpi .trend{margin-top:9px;}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.field label{display:flex;justify-content:space-between;align-items:center;}.field label em{font-weight:normal}.field input, .field select, .field textarea{width:100%;}.field textarea{resize:vertical;}.field .hint{font-size:10.5px;margin-top:5px}.form-footer{display:flex;justify-content:flex-start;gap:9px;margin-top:18px;}.data-table th{white-space:nowrap;}.data-table td{text-align:center;white-space:nowrap;}.data-table .money{font-weight:bold}.data-table .commission{font-weight:bold}.filter-bar .btn{height:39px}.import-card{display:flex;gap:15px;}.import-card h3{margin:0 0 6px;font-size:14px}.import-card p{font-size:11px;line-height:1.8;margin:0 0 14px}.modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(720px,95vw);display:flex;flex-direction:column;overflow:hidden;}.modal-head{display:flex;align-items:center;justify-content:space-between;}.modal-head h3{margin:0}.modal-body{overflow:auto;line-height:2;}.modal-actions{display:flex;justify-content:flex-start;}.toast-stack{flex-direction:column;}.toast{padding:12px 16px;min-width:270px;font-size:12px}@media (max-width:820px){.profile>div:not(.person-mark){display:none}.form-grid, .form-grid.cols-3{grid-template-columns:1fr}}@media (max-width:500px){.page-actions .btn{flex:1}.kpi .value{font-size:19px}}.date-control input{direction:ltr;text-align:center;cursor:pointer}.jdate-head button, .jdate-head select{height:36px}.jdate-head button{font-size:22px;cursor:pointer}.jday.selected{font-weight:bold}.filter-actions .btn{flex:1;white-space:nowrap}.field input[readonly][data-jdate]{font-weight:600}.jdate-picker select{cursor:pointer}.date-control input::placeholder{font-weight:400}.btn-lg{padding:13px 22px;font-size:13px}.premium-kpis .kpi{min-height:128px;position:relative;overflow:hidden}.money-input-shell{display:flex;align-items:stretch;width:100%;direction:ltr}.money-input-shell .money-input{text-align:left}.data-table thead th{font-weight:700}@media (max-width:1000px){}@media (max-width:820px){}@media (max-width:540px){}.btn{position:relative;overflow:hidden;}.field input, .field select, .field textarea{padding:11px 12px}.modal-wide{width:min(1040px,96vw)}.modal-head{padding:18px 22px}.commission-note{padding:11px 13px;margin-bottom:14px}.commission-input-wrap{position:relative;min-width:190px}.commission-input-wrap input{width:100%;padding:9px 12px 9px 45px;text-align:center;font-weight:700}.commission-input-wrap span{position:absolute;left:10px;top:50%;font-size:10.5px}.custom-badge, .default-badge{display:inline-flex;padding:5px 9px;font-size:10.5px;font-weight:700}.custom-badge.compact{padding:3px 6px;margin-right:5px}@media (max-width:820px){.modal-wide{width:98vw}}.commission-input-wrap .money-input-shell{min-width:190px}.commission-input-wrap .money-input-shell input{font-weight:750}.commission-input-wrap .money-suffix{position:static}.credit-summary-card .btn{white-space:nowrap}@media (max-width:1000px){.credit-summary-card .btn{grid-column:1/-1}}.segmented button{padding:7px 13px;cursor:pointer;font-weight:700}.schedule-table{min-width:500px}.schedule-table input[type=time]{min-width:105px;padding:7px}.schedule-table input[type=checkbox]{width:19px;height:19px}.field input[type=time]{direction:ltr;text-align:center}@media (max-width:900px){}.field label em{font-size:10.5px}.field textarea{min-height:90px}.data-table{font-size:13.5px}.data-table thead th{font-size:13px;padding:12px 10px}.data-table .money, .commission{font-weight:800}.status-pill{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;font-size:10.5px;font-weight:900}.return-note{display:block;font-size:10.5px;margin-top:4px;white-space:normal}.note-box{margin-top:14px;padding:12px 14px;line-height:1.8}.pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;padding:16px 8px 4px}.pagination button{font-weight:800;cursor:pointer;}.modal-head h3{font-size:18px}.modal-body{font-size:14px}.refund-payroll-card{margin-top:14px;overflow:hidden}.refund-payroll-card .card-head{padding:13px 15px}.segmented button{font-size:12px}@media (max-width:600px){.field input, .field select, .field textarea{font-size:16px}.data-table{font-size:13px}}.stat-value, .kpi-value, .amount, .money, .metric-value, .summary-value, .number-value, [data-money], input[inputmode="numeric"], .data-table td, .data-table td b{font-size:1.14em;font-weight:800}input, select, textarea{font-size:16px}.card small, .muted{font-size:14px}@media (max-width:760px){}.daily-rules-panel>.btn{margin-top:11px;width:100%}.employee-form-shell .form-footer{margin-top:14px}@media (max-width:1180px){}.profile{margin-right:0;margin-left:0;padding-right:14px}.profile .person-mark{width:44px;height:44px;overflow:hidden}.profile .person-mark img{width:100%;height:100%;object-fit:contain;}.profile small{font-size:10.5px}.icon-btn{display:grid;place-items:center;}.icon-btn svg{width:20px;height:20px}.card-head{padding:18px 20px}.card-head h3{font-size:15px}.card-head small{font-size:11px}.btn svg{width:17px;height:17px}.form-card{padding:22px}.field input, .field select, .field textarea{min-height:44px;font-size:13px}.action-btn-group .btn{justify-content:center}@media (max-width:1180px){}@media (max-width:900px){.profile{margin-right:auto;padding-right:0}}@media (max-width:560px){.profile>div:not(.person-mark){display:none}}.kpi{position:relative;}.data-table th{position:sticky;top:0;z-index:1}.daily-close-box .field{margin:0}.data-quality-alert{display:flex;align-items:center;justify-content:space-between;gap:20px}.data-quality-alert p{margin:5px 0 0}.data-quality-alert h3{margin:5px 0}.backup-card{min-height:210px;display:flex;flex-direction:column;align-items:flex-start}.backup-card .btn{margin-top:auto}.audit-card{max-height:520px;overflow:hidden}.audit-card .table-wrap{max-height:430px;overflow:auto}@media (max-width:1280px){}@media (max-width:900px){.data-quality-alert{align-items:flex-start;flex-direction:column}}@media (max-width:560px){.btn{min-height:42px}.daily-close-box .btn{width:100%}.data-table{min-width:680px}.premium-kpis .card{min-height:115px}}@media (max-width:560px){}.page-head p, .muted, .help-inline, .note-box, .top-title small, .profile small, .field .hint, .summary-box small, .chart-legend, .feature-row, .top-date-pill small{font-size:12px}.field label, .data-table th, .data-table td, .top-search input, .btn, .feature-card p{font-size:13px}.data-table td, .data-table th{padding:12px 10px}.kpi .label{font-size:13px}.kpi .trend{font-size:12px}.profile .person-mark img{padding:3px}@media (max-width:900px){.profile{margin-right:auto}.profile>div:not(.person-mark){display:none}}@media (max-width:560px){.btn{width:100%}.page-actions .btn, .page-actions a{flex:1 1 100%}}.settings-shortcuts button{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;align-items:center;cursor:pointer;}@media (max-width:800px){}.rec-options .field{margin:0;min-width:180px}.rec-cases-table td{vertical-align:top}.rec-cases-table .inline-input{min-width:155px;width:100%}.rec-cases-table input[type=checkbox]{width:18px;height:18px}@media (max-width:1000px){.rec-actions .btn, .rec-actions a{flex:1 1 180px}}.rec-status-card{padding:0;overflow:hidden}.rec-case-card{overflow:hidden}.rec-case-card-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:13px 14px}.rec-card-alert{margin:10px 12px 0;padding:8px 10px;font-size:12px}.rec-card-alert.bank-only{display:grid;gap:4px}.rec-card-alert.bank-only small{display:block}.rec-edit-grid label, .rec-note-field{display:grid;gap:5px}.rec-edit-grid label>span, .rec-note-field>span{font-size:11px;font-weight:800}.rec-edit-grid .inline-input, .rec-note-field .inline-input{min-width:0;width:100%;margin:0}.rec-payment-kind-field{display:grid;gap:3px}.rec-payment-kind-field>span{font-size:10.5px;font-weight:800}.rec-payment-kind-field .inline-input{padding:4px 7px;}.rec-note-field{padding:0 10px 10px}.rec-note-field textarea{resize:vertical}@media (max-width:720px){.rec-workbar .btn{width:100%}.rec-case-card-head{grid-template-columns:auto 1fr}.rec-card-actions .btn, .rec-card-actions .rec-send-btn{width:100%;max-width:none}.rec-quick-actions .btn{flex:1}.rec-start-row .btn{width:100%}}.dashboard-trend-controls .btn{height:43px}.salary-rules-card{margin-bottom:16px}.salary-rules-card> .grid{align-items:start}.salary-rule-form{padding:14px}.salary-rule-form h4{margin:0 0 12px;font-size:16px}@media (max-width:720px){.salary-rules-card> .grid{grid-template-columns:1fr}}.profile{position:relative}.login-card .btn{width:100%;justify-content:center;margin-top:4px}@media (max-width:760px){}.quality-actions .btn{white-space:nowrap}.current-month-invoice-summary .card-head{padding:18px 20px 12px}@media (max-width:900px){.quality-actions .btn{width:auto}.invoice-summary-table .btn{width:auto}}.monthly-picker-help{margin-top:10px;font-size:12px}.monthly-report-filter select{min-width:180px}@media (max-width:1050px){.monthly-report-filter .btn{align-self:end}}@media (max-width:720px){}#page-content .card, #page-content .summary-box, #page-content .employee-stat, #page-content .employee-mini-item, #page-content .daily-rules-panel, #page-content .fund-result, #page-content .allocation-product, #page-content .settings-shortcuts button, #page-content .rec-file-box, #page-content .quality-filter-banner, #page-content .return-sale-summary{position:relative}#page-content .card-head{padding:17px 19px}#page-content .card-head h3{font-size:15px;font-weight:850}.card-pad, .form-card{padding:21px}.kpi{min-height:122px;padding:18px;overflow:hidden}.kpi .value{font-size:23px;font-weight:900}.btn{font-size:12.5px;font-weight:800;}.field label{font-size:12px;font-weight:800}.field input, .field select, .field textarea, .inline-input{font-size:13px;min-height:44px}.form-footer{padding-top:17px}.data-table th{font-weight:850;}.data-table .money, .data-table .commission, .money, .commission{font-weight:850}.settings-shortcuts button{padding:17px;text-align:right}@media (max-width:560px){.card-pad, .form-card{padding:16px}}.mock-kpis article{height:76px;padding:12px;position:relative}.mock-kpis small, .mock-kpis b{display:block}.mock-kpis small{font-size:10.5px}.mock-kpis b{font-size:15px;margin-top:7px}.mock-kpis i{position:absolute;left:12px;top:14px;width:26px;height:26px}.welcome-footer button{min-height:42px}.top-nav-link, .suite-menu summary{min-height:40px;padding:0 12px;font-size:11.5px;font-weight:800;cursor:pointer;display:flex;align-items:center;white-space:nowrap}.suite-menu{position:relative}.suite-menu summary{list-style:none}.suite-menu summary::-webkit-details-marker{display:none}.suite-menu>div{position:absolute;z-index:80;top:48px;right:0;min-width:220px;padding:8px;display:grid;gap:3px}.suite-menu>div .top-nav-link{width:100%;justify-content:flex-start;text-align:right}@media (max-width:700px){.welcome-actions button{width:100%}.mock-kpis article{height:58px;padding:8px}.mock-kpis b{font-size:10.5px}.mock-kpis i{display:none}.welcome-footer button{width:100%}}@media (min-width:901px){.top-date-pill{margin-right:auto}}.intro-enter-btn{min-width:168px;height:52px;padding:0 34px;cursor:pointer;font-size:23px;font-weight:700;line-height:1}@media (max-width:700px){.intro-enter-btn{min-width:144px;height:48px;font-size:20px}}body.ui-compact .card-head{padding:12px 15px}body.ui-compact .form-card{padding:15px}body.ui-compact .data-table th, body.ui-compact .data-table td{padding:8px 7px}.average-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;font-size:10.5px;font-weight:800;white-space:nowrap}.ranking-average .average-badge{align-self:flex-start;margin-top:3px}.smart-staff-card{padding-bottom:16px;overflow:hidden}.smart-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px 18px}.smart-alert{display:flex;flex-direction:column;gap:3px;padding:10px 12px;font-size:11px}.deduction-detail-card{margin-bottom:16px;overflow:hidden}.deduction-detail-card{margin-top:16px}.deduction-detail-card .data-table td:nth-child(4){white-space:normal;min-width:280px;text-align:right;line-height:1.8}@media (max-width:900px){.smart-alerts{grid-template-columns:1fr}}.online-ai-daily-card{padding:22px}.ai-context-kpis{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:8px}.ai-context-kpis span{padding:9px 11px;display:flex;justify-content:space-between;gap:10px}.ai-compose textarea{min-height:78px;resize:vertical}.privacy-note{margin-top:14px;padding:11px 13px;line-height:1.8;font-size:.82rem}.check-row input{width:auto}@media (max-width:700px){.ai-context-kpis{grid-template-columns:1fr}}.rec-search-bar .field{margin:0}.rec-search-bar input{font-size:13px;font-weight:600;direction:rtl}.rec-case-table-wrap{overflow:auto;}.rec-row-table{border-collapse:separate;}.rec-row-table thead th{position:sticky;top:0;z-index:2;font-weight:900;white-space:nowrap;}.rec-row-table .rec-case-main-row td{vertical-align:middle;}.rec-row-table .rec-select-cell{min-width:64px}.rec-row-table .rec-id-cell small, .rec-row-table td>small{display:block;font-size:10.5px;margin-top:3px}.rec-row-table .rec-id-cell b{font-size:12px}.rec-customer-cell .inline-input{display:block;width:100%;margin:0 0 5px}.rec-row-table .inline-input{width:100%;}.rec-row-actions .btn{width:100%;}.rec-payment-list-table{padding:0;grid-template-columns:1fr}.rec-payment-list-table .rec-payment-line{font-size:11px;grid-template-columns:1.1fr 1fr 1fr 1.4fr}@media (max-width:900px){.rec-row-table{min-width:1180px}}.rec-money-badge{display:inline-flex;align-items:center;gap:5px;direction:ltr;white-space:nowrap;font-weight:800}.rec-money-badge em, .money-input-shell .money-suffix{display:inline-flex;align-items:center;justify-content:center;padding:2px 7px;font-size:10.5px;font-weight:800;line-height:1.4}.rec-amount-cell .money-input-shell{min-width:150px}.rec-amount-cell .money-input-shell input{text-align:center;font-weight:800}.rec-cases-table{min-width:1180px}.rec-row-table{min-width:1180px;border-spacing:0 6px}.rec-case-table-wrap{padding:8px}.rec-row-table thead th{font-size:10.5px;padding:7px 6px}.rec-row-table .rec-case-main-row td{padding:6px 6px;font-size:11px}.rec-row-table .inline-input{height:31px;font-size:11px;padding:5px 7px;min-width:94px}.rec-customer-cell .inline-input{margin-bottom:3px}.rec-row-table .rec-expert{min-width:135px}.rec-row-table .rec-product{min-width:135px}.rec-row-actions .btn{font-size:10.5px;padding:6px 7px;margin:2px 0}.rec-group-toolbar .btn{font-size:10.5px;padding:6px 8px}.rec-money-input{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px;min-width:128px}.rec-money-input .inline-input{min-width:0;text-align:left;direction:ltr}.rec-money-input span, .money-unit-badge{display:inline-grid;place-items:center;min-height:28px;padding:0 8px;font-weight:800;font-size:10.5px;white-space:nowrap}.rec-payment-kind-field .inline-input{height:29px;font-size:10.5px}@media (max-width:900px){.rec-row-table, .rec-cases-table{min-width:980px}}body[data-page="reconciliation"] .rec-quick-actions .btn{font-size:10.5px;padding:6px 8px}body[data-page="reconciliation"] .rec-cases-table, body[data-page="reconciliation"] .rec-row-table{min-width:930px;border-spacing:0 5px}body[data-page="reconciliation"] .rec-select-cell{width:58px;min-width:58px;text-align:center}body[data-page="reconciliation"] .rec-customer-cell .inline-input{margin-bottom:2px;}body[data-page="reconciliation"] .rec-confidence-pill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-weight:900;line-height:1.4;vertical-align:middle;}body[data-page="reconciliation"] .rec-date-cell .inline-input{text-align:center;}body[data-page="reconciliation"] .rec-row-actions .btn{display:none}body[data-page="reconciliation"] .rec-icon-btn{width:27px;height:27px;display:inline-grid;place-items:center;cursor:pointer;font-size:13px;line-height:1;margin:0 1px}body[data-page="reconciliation"] .rec-payment-list-table .rec-payment-line{grid-template-columns:1fr .9fr .8fr 1.1fr .8fr;gap:5px;}@media (max-width:900px){body[data-page="reconciliation"] .rec-row-table, body[data-page="reconciliation"] .rec-cases-table{min-width:900px}body[data-page="reconciliation"] .rec-payment-list-table .rec-payment-line{grid-template-columns:1fr}}body[data-page="reconciliation"] .rec-customer-cell .inline-input{height:31px;font-size:12.2px;padding:5px 8px}@media (max-width:900px){body[data-page="reconciliation"] .rec-row-table, body[data-page="reconciliation"] .rec-cases-table{min-width:940px}}body[data-page="reconciliation"] .rec-detail-save-bar .rec-note-field{padding:8px 0 0}body[data-page="reconciliation"] .rec-detail-save-btn{min-width:104px;height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12px;white-space:nowrap}body[data-page="reconciliation"] .rec-detail-save-btn b{font-size:11px;font-weight:800}@media (max-width:900px){body[data-page="reconciliation"] .rec-detail-save-btn{width:100%}}body[data-page="reconciliation"] .rec-delete-check input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;margin:0}body[data-page="reconciliation"] .rec-select-cell{white-space:nowrap}body[data-page="reconciliation"] .rec-source-compare-card{overflow:hidden}body[data-page="reconciliation"] .rec-source-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px;align-content:start}body[data-page="reconciliation"] .rec-source-card h4{grid-column:1/-1;margin:0 0 2px;}body[data-page="reconciliation"] .rec-source-card div{display:grid;gap:2px;min-width:0;padding:6px}body[data-page="reconciliation"] .rec-source-card div.wide{grid-column:1/-1}body[data-page="reconciliation"] .rec-source-card span{font-weight:800;}body[data-page="reconciliation"] .rec-source-card b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}@media (max-width:900px){body[data-page="reconciliation"] .rec-source-card{grid-template-columns:1fr}}body[data-page="reconciliation"] .rec-row-table, body[data-page="reconciliation"] .rec-cases-table{min-width:1040px;border-spacing:0 8px}body[data-page="reconciliation"] .rec-row-table thead th{font-size:13px;padding:9px 8px;line-height:1.7}body[data-page="reconciliation"] .rec-row-table .rec-case-main-row td{padding:10px 8px;font-size:14px;line-height:1.8;vertical-align:middle}body[data-page="reconciliation"] .rec-confidence-pill{font-size:12px;padding:5px 9px}body[data-page="reconciliation"] .rec-money-input{grid-template-columns:minmax(104px,1fr) auto;}body[data-page="reconciliation"] .rec-money-input .inline-input{height:38px;font-size:14px;font-weight:800;padding:8px 9px}body[data-page="reconciliation"] .rec-money-input span{min-height:36px;padding:0 9px;font-size:12px}body[data-page="reconciliation"] .rec-date-cell .inline-input{height:38px;min-width:112px;font-size:13.5px;padding:7px}body[data-page="reconciliation"] .rec-row-table .rec-expert, body[data-page="reconciliation"] .rec-row-table .rec-product{min-width:154px;height:38px;font-size:13.5px;font-weight:800;padding:7px 9px}body[data-page="reconciliation"] .rec-select-cell input[type=checkbox]{width:18px;height:18px}body[data-page="reconciliation"] .rec-icon-btn, body[data-page="reconciliation"] .rec-action-hint{font-size:17px;}body[data-page="reconciliation"] .rec-decision-box span:not(.rec-confidence-pill){font-size:13px;line-height:1.75}body[data-page="reconciliation"] .rec-payment-list-table .rec-payment-line{font-size:12.7px;padding:8px;line-height:1.75}body[data-page="reconciliation"] .rec-source-card h4{font-size:13px}body[data-page="reconciliation"] .rec-source-card span{font-size:11.5px}body[data-page="reconciliation"] .rec-source-card b{font-size:13px}body[data-page="reconciliation"] .rec-group-toolbar .btn{font-size:12px;padding:7px 10px}@media (max-width:900px){body[data-page="reconciliation"] .rec-row-table, body[data-page="reconciliation"] .rec-cases-table{min-width:1000px}}body[data-page="reconciliation"] .rec-phone-detail-field{display:grid;gap:5px;padding:8px 0 0}body[data-page="reconciliation"] .rec-phone-detail-field span{font-size:12px;font-weight:800}body[data-page="reconciliation"] .rec-phone-detail-field .inline-input{height:38px;font-size:13.5px}.forgive-check input{width:18px;height:18px;margin-top:4px}.forgiven-badge{display:inline-flex;margin-inline-start:6px;padding:3px 7px;font-size:11px;font-weight:800}.data-table{border-spacing:0;}.data-table th{line-height:1.35;padding:8px 9px;}.data-table td{line-height:1.45;padding:7px 9px;vertical-align:middle;}.data-table td b, .data-table .money, .data-table .commission{font-size:14px;line-height:1.45}.status, .status-pill, .forgiven-badge, .auto-adjustment-badge{line-height:1.2}.data-table td.ltr-cell, .data-table .ltr-cell, td.ltr-cell, .ltr-cell{display:table-cell;direction:ltr;unicode-bidi:isolate;text-align:center;vertical-align:middle;margin:0}.data-table td .ltr-cell, .data-table td span.ltr-cell, .data-table td b.ltr-cell, .data-table td small.ltr-cell{display:inline;padding:0;margin:0;text-align:center}.data-table td.money, .data-table td.commission{text-align:center;vertical-align:middle}.access-page-check input{width:17px;height:17px;margin-top:3px}.page-head p, .card-head small, .employee-list-head p, .mandatory-fields-note, .template-guide, .import-card p, .note-box.help-inline, .refund-guide, #global-help{display:none}.compact-section-nav button{padding:6px 10px;font-weight:800;cursor:pointer;font-size:12px}.compact-kpis{padding:10px}.hr-alerts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:0 0 12px}.hr-alert{padding:10px 12px;display:flex;flex-direction:column;gap:5px}.hr-alert b{font-size:13px}.hr-alert span{font-size:12px;line-height:1.7}.employee-list-table th, .employee-list-table td{padding:7px 8px;vertical-align:middle}.employee-list-table .block{display:block;margin-top:4px;font-size:11px}.employee-profile-row>td{padding:10px}.employee-profile-row .employee-inline-panel{margin:0}.contract-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;margin:2px 0 2px 4px;font-size:11px;font-weight:900;white-space:nowrap}.compact-table-card .table-wrap{max-height:none}.import-card{min-height:auto;padding:12px;align-items:center}.page-actions .btn{margin-bottom:4px}.table-wrap{max-width:100%;overflow-x:hidden;overflow-y:auto}.data-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}.data-table th, .data-table td{white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.55;padding:8px 7px;vertical-align:middle}.data-table th{font-size:12px}.data-table td{font-size:12.5px}.data-table .ltr-cell{direction:ltr;unicode-bidi:plaintext;word-break:break-all}.data-table .btn, .data-table .icon-action{white-space:nowrap}@media (max-width:900px){.data-table th, .data-table td{font-size:11px;padding:6px 5px}}.compact-note-card{padding:8px 10px}.case-v10-form-root{display:grid;gap:8px}.case-v10-status-card{display:grid;align-content:center;justify-items:start;gap:8px;padding:10px}.case-v10-status-card small{font-size:11px}.case-v10-edit-card, .case-v10-box{padding:10px}.case-v10-edit-grid .field, .case-v10-mini-grid .field{padding:6px;min-width:0}.case-v10-edit-grid .field-note{grid-column:span 2}.case-v10-mini-form{padding:8px}.case-v10-mini-form h4{margin:0 0 7px;font-size:13px}.case-v10-mini-grid .field-note{grid-column:1/-1}.case-v10-note{padding:7px}.case-v10-note div{display:flex;justify-content:space-between;gap:8px}.case-v10-note b{font-size:12px}.case-v10-note small, .case-v10-note span{font-size:10.5px}.case-v10-note p{margin:5px 0;font-size:11.5px;line-height:1.55}@media (max-width:1050px){.case-v10-edit-grid .field-note{grid-column:auto}}.profile-logout{min-width:70px;padding-inline:11px;font-weight:900}.btn-week-detail{height:32px;}.btn-week-detail{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:104px}body[data-page="settings"] .settings-accordion-body>.card, body[data-page="settings"] .settings-accordion-body>.grid{margin:0}.dashboard-command-meta span, .dashboard-command-meta .btn{padding:8px 10px;font-weight:850}.dashboard-panel-body>.section-gap, .dashboard-panel-body>.card, .dashboard-panel-body>section, .dashboard-panel-body>.grid{margin:0}body[data-page="dashboard"] .premium-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}body[data-page="dashboard"] .premium-kpis .kpi{min-height:118px;padding:15px}body[data-page="dashboard"] .premium-kpis .kpi .value{font-size:21px;font-weight:1000}body[data-page="dashboard"] .daily-rules-head, body[data-page="dashboard"] .card-head, body[data-page="dashboard"] .finance-snapshot-head{gap:12px}body[data-page="dashboard"] .data-table{border-collapse:separate;border-spacing:0 6px}body[data-page="dashboard"] .data-table thead th{font-size:12px;font-weight:950}body[data-page="dashboard"] .dashboard-v41-lean .dashboard-top-sales-kpis{margin:0 0 14px}body[data-page="dashboard"] .dashboard-v41-lean .dashboard-top-sales-kpis .premium-kpis{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin:0}body[data-page="dashboard"] .dashboard-v41-lean .dashboard-top-sales-kpis .kpi{min-height:108px;align-items:center}body[data-page="dashboard"] .dashboard-v41-lean .dashboard-top-sales-kpis .kpi .value{font-size:20px;font-weight:1000}body[data-page="dashboard"] .dashboard-v41-lean .dashboard-top-sales-kpis .kpi .label{font-weight:900}body[data-page="dashboard"] .dashboard-v41-lean .dashboard-top-sales-kpis .kpi .trend{font-size:11.5px}@media (max-width:1180px){body[data-page="dashboard"] .dashboard-v41-lean .dashboard-top-sales-kpis .premium-kpis{grid-template-columns:repeat(3,minmax(150px,1fr))}}@media (max-width:720px){body[data-page="dashboard"] .dashboard-v41-lean .dashboard-top-sales-kpis .premium-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}body[data-page="dashboard"] .dashboard-v43-unified .dashboard-top-sales-kpis{order:1;margin:0 0 2px}body[data-page="dashboard"] .dashboard-v43-unified .dashboard-top-sales-kpis .premium-kpis{display:grid;grid-template-columns:repeat(5,minmax(148px,1fr));gap:12px;margin:0}body[data-page="dashboard"] .dashboard-v43-unified .premium-kpis .trend, body[data-page="dashboard"] .dashboard-v43-unified .finance-mini-kpis em{font-size:11.5px;font-weight:800}body[data-page="dashboard"] .dashboard-v43-unified .executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-page="dashboard"] .dashboard-v43-unified .credit-summary-card{min-height:116px}body[data-page="dashboard"] .dashboard-v43-unified .credit-summary-card{grid-template-columns:1fr 1fr auto}@media (max-width:1180px){body[data-page="dashboard"] .dashboard-v43-unified .dashboard-top-sales-kpis .premium-kpis{grid-template-columns:repeat(3,minmax(150px,1fr))}body[data-page="dashboard"] .dashboard-v43-unified .executive-kpis{grid-template-columns:1fr}body[data-page="dashboard"] .dashboard-v43-unified .credit-summary-card{grid-template-columns:1fr 1fr}body[data-page="dashboard"] .dashboard-v43-unified .credit-summary-card .btn{grid-column:1/-1}}@media (max-width:720px){body[data-page="dashboard"] .dashboard-v43-unified .dashboard-top-sales-kpis .premium-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.compact-note{padding:8px 10px;font-size:12px;line-height:1.7;margin:0}#smart-allocation-form input[readonly]{font-weight:800}.btn-transfer-funds{font-weight:900}.allocation-history-table{width:100%;min-width:0;table-layout:fixed}.obligation-kpis.grid-4{grid-template-columns:repeat(4,minmax(180px,1fr))}.obligation-alerts{display:grid;gap:8px;min-width:220px}.obligation-alerts span{padding:10px 12px}.obligation-alerts b{display:block;margin-top:4px}.obligations-forms .form-card{min-height:100%}.automatic-creditor-card .data-table td small, .installments-card .data-table td small{display:block;margin-top:4px;font-size:10.5px}.modal-funds .fund-result{min-width:150px}@media (max-width:1100px){.obligation-kpis.grid-4{grid-template-columns:repeat(2,minmax(170px,1fr))}.obligation-alerts{width:100%;grid-template-columns:repeat(2,1fr)}}@media (max-width:760px){.obligation-kpis.grid-4{grid-template-columns:1fr}.obligation-alerts{grid-template-columns:1fr}}body.ui-compact .card-pad, body.ui-compact .form-card{padding:14px}body.ui-compact .data-table td{padding:7px 8px}body.ui-compact .field input, body.ui-compact .field select, body.ui-compact .field textarea{padding:8px 9px}body.ui-comfortable .page-content{padding:28px 30px 48px}body.ui-comfortable .data-table td{padding:12px 11px}.appearance-card .appearance-preview{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin-bottom:16px}.preview-card{padding:16px;display:flex;flex-direction:column;gap:8px}.preview-card span{font-size:11px}.preview-table .data-table{min-width:0}.settings-wide.appearance-card{grid-column:1/-1}@media (max-width:900px){.appearance-card .appearance-preview{grid-template-columns:1fr}}body :where(p,span,div,td,th,label,input,select,textarea,button,.btn,.nav-item,.side-nav-trigger,.field,.field *, .badge, .pill){font-size:var(--font-base)}body :where(small,.hint,.section-kicker,.card-head small,.profile small,.top-title small,.field small){font-size:var(--font-sm)}body :where(.data-table th,.data-table td,.data-table input,.data-table select,.data-table button,.table-wrap,.table-wrap *){font-size:var(--font-sm)}body :where(h3,.card-head h3){font-size:calc(var(--font-md) * var(--app-heading-scale))}body.ui-compact :where(.card,.card-pad,.form-card){padding:calc(10px * var(--app-font-scale))}body.ui-comfortable :where(.card,.card-pad,.form-card){padding:calc(16px * var(--app-font-scale))}body :where(.top-title b,#brand-title,#profile-name,.card b,.stat-value,.metric-value){font-weight:calc(var(--app-font-weight) + 150)}body[data-page="reconciliation"] .rec-money-input{display:flex;align-items:center;gap:6px;min-width:166px;white-space:nowrap}body[data-page="reconciliation"] .rec-money-input .rec-amount{min-width:118px;text-align:left;direction:ltr;font-size:11.5px;padding-inline:6px}body[data-page="reconciliation"] .rec-money-input>span{flex:0 0 auto;font-weight:800;font-size:10.5px}body[data-page="reconciliation"] .rec-money-input .money-input-shell, .rec-money-input .money-suffix{display:none}body[data-page="reconciliation"] .rec-summary-table th{position:sticky;top:0;z-index:2;white-space:nowrap;}body[data-page="reconciliation"] .rec-summary-table .rec-case-row td{vertical-align:middle;padding:8px 8px;font-size:13px;line-height:1.45}body[data-page="reconciliation"] .rec-detail-btn{font-weight:900;cursor:pointer;margin-inline-end:5px;}body[data-page="reconciliation"] .rec-summary-table .rec-row-actions-clean>input, body[data-page="reconciliation"] .rec-summary-table .rec-row-actions-clean>textarea, body[data-page="reconciliation"] .rec-summary-table .rec-row-actions-clean>select{display:none}body.rec-drawer-open{overflow:hidden}#rec-case-drawer-host{position:fixed;inset:0;z-index:9999;pointer-events:none}#rec-case-drawer-host .rec-drawer-backdrop{position:absolute;inset:0;opacity:0;pointer-events:auto}#rec-case-drawer-host .rec-case-drawer{position:absolute;top:0;bottom:0;left:0;width:min(760px,94vw);transform:translateX(-104%);pointer-events:auto;display:flex;flex-direction:column;direction:rtl}.rec-drawer-case-form{display:flex;flex-direction:column;min-height:100%;max-height:100%}.rec-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 20px}.rec-drawer-header h3{margin:4px 0 3px;font-size:20px}.rec-drawer-close{width:36px;height:36px;font-size:24px;line-height:1;cursor:pointer}.rec-drawer-scroll{flex:1;overflow:auto;padding:14px 18px 92px;display:grid;gap:12px}.rec-drawer-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.rec-drawer-summary-grid>div{padding:11px;min-width:0}.rec-drawer-summary-grid span{display:block;font-size:11px;font-weight:900;margin-bottom:5px}.rec-drawer-summary-grid b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.rec-drawer-section{padding:13px;display:grid;gap:10px}.rec-drawer-section h4{margin:0;font-size:14px;font-weight:900}.rec-drawer-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rec-drawer-edit-grid label{display:grid;gap:5px;min-width:0}.rec-drawer-edit-grid label>span{font-size:11px;font-weight:900}.rec-drawer-edit-grid .inline-input{width:100%;min-width:0;height:38px;font-size:13px}.rec-drawer-edit-grid textarea.inline-input{height:auto}.rec-drawer-note{padding:0}.rec-drawer-note textarea{width:100%;resize:vertical}.rec-drawer-footer{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:12px 18px}#rec-case-drawer-host .rec-row-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#rec-case-drawer-host .rec-source-columns{grid-template-columns:1fr}#rec-case-drawer-host .rec-payment-list-table .rec-payment-line{grid-template-columns:1.1fr 1fr 1fr 1.25fr .85fr}@media (max-width:900px){body[data-page="reconciliation"] .rec-summary-table{min-width:920px}#rec-case-drawer-host .rec-case-drawer{width:100vw;right:0;left:0;transform:none;}.rec-drawer-summary-grid, .rec-drawer-edit-grid{grid-template-columns:1fr}.rec-drawer-footer{flex-wrap:wrap}.rec-drawer-footer .btn{flex:1 1 150px}#rec-case-drawer-host .rec-row-meta-grid{grid-template-columns:1fr}#rec-case-drawer-host .rec-payment-list-table .rec-payment-line{grid-template-columns:1fr}}.customer-badge, .source-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:2px 8px;font-size:10.5px;font-weight:800;line-height:1.7}.case-ref-form-root{display:grid;gap:14px;min-width:0}.case-ref-call-button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;}.case-ref-call-button span{display:flex}.case-ref-summary-card{display:flex;align-items:center;justify-content:space-between;gap:13px;min-width:0;}.case-ref-summary-card>div{min-width:0}.case-ref-summary-card small{display:block;}.case-ref-summary-card b{display:block;}.case-ref-summary-card span{display:block;}.case-ref-summary-card>i{display:flex;align-items:center;justify-content:center;}.case-ref-card, .case-ref-accordion{overflow:hidden;min-width:0}.case-ref-form-grid{display:grid;}.case-ref-form-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.case-ref-form-grid .span-2{grid-column:span 2}.case-ref-form-grid .span-3{grid-column:1/-1}.case-ref-profile-card{padding-bottom:0}.case-ref-profile-list{margin:0;}.case-ref-profile-list>div{min-height:42px;display:grid;align-items:center;}.case-ref-profile-list dd{margin:0;}@media (max-width:1100px){.case-ref-profile-card{grid-column:1/-1}}@media (max-width:760px){.case-ref-summary-grid, .case-ref-side, .case-ref-form-grid.cols-3{grid-template-columns:1fr}.case-ref-form-grid .span-2, .case-ref-form-grid .span-3{grid-column:auto}.case-ref-summary-card{min-height:82px}.case-ref-call-button{flex:1}.case-ref-card{padding:13px}}@media (max-width:460px){.case-ref-current-status, .case-ref-call-button{width:100%}}.case-ref-profile-card{display:grid;gap:0;text-align:center}.case-ref-profile-card .case-ref-section-head.compact{justify-content:center;text-align:center}.case-ref-profile-card .case-ref-section-head.compact>div{width:100%;text-align:center}.case-ref-profile-card .case-ref-section-head.compact h3, .case-ref-profile-card .case-ref-section-head.compact p{text-align:center}.case-ref-profile-list>div{grid-template-columns:1fr;gap:4px;justify-items:center;text-align:center;}.case-ref-profile-list dt, .case-ref-profile-list dd{text-align:center}.case-ref-profile-list dd{white-space:normal;overflow:visible;text-overflow:clip;}@media (max-width:760px){.case-ref-profile-list>div{padding:10px 0}}.case-ref-call-button{font-size:12px;font-weight:950;}.case-ref-summary-card{position:relative;overflow:hidden;}.case-ref-summary-card b{white-space:normal;overflow:visible;text-overflow:clip;}.case-ref-summary-card span{white-space:normal;overflow:visible;text-overflow:clip;}.case-ref-summary-card>i{flex-basis:46px;}.case-ref-card{padding:18px;position:relative}.case-ref-form-grid{gap:12px}.case-ref-profile-list{padding:10px 0 4px}.case-ref-profile-list dt{font-size:11.4px;font-weight:900}.case-ref-profile-list dd{font-size:13.4px;line-height:1.8;}@media (max-width:1100px){.case-ref-summary-card{min-height:98px}.case-ref-profile-list dd{font-size:13px}}@media (max-width:760px){.case-ref-summary-card{min-height:92px;padding:14px 15px}.case-ref-summary-card small{font-size:11px}.case-ref-summary-card b{font-size:16px}.case-ref-summary-card span{font-size:10.5px}.case-ref-card{padding:15px}}.case-ref-summary-card>i{position:relative}.case-ref-card{overflow:hidden}.case-ref-profile-card .case-ref-section-head.compact{min-height:76px;position:relative;overflow:hidden}.case-ref-profile-card .case-ref-section-head.compact h3, .case-ref-profile-card .case-ref-section-head.compact p{position:relative;z-index:1}.case-ref-profile-list>div{margin-bottom:8px;padding:12px 10px}.case-ref-profile-list dd{font-weight:980}@media (max-width:760px){.case-ref-profile-card .case-ref-section-head.compact{min-height:68px}}.case-ref-call-button{height:74px;padding:0 18px;position:relative;overflow:hidden;gap:10px}.case-ref-call-button span, .case-ref-call-button b{position:relative;z-index:1}.case-ref-call-button svg{width:22px;height:22px}.case-ref-call-button b{font-size:13.1px;font-weight:980}.case-ref-summary-card{min-height:132px;padding:18px 18px}.case-ref-summary-card>div{position:relative;z-index:1}.case-ref-summary-card small{font-size:12.6px;font-weight:940;line-height:1.65}.case-ref-summary-card b{margin-top:10px;font-size:21px;font-weight:990;line-height:1.42}.case-ref-summary-card span{margin-top:10px;font-size:11.4px;font-weight:760;line-height:1.7}.case-ref-summary-card>i{width:62px;height:62px;flex:0 0 62px}.case-ref-summary-card svg{width:29px;height:29px}@media (max-width:1180px){.case-ref-summary-card{min-height:124px}}@media (max-width:760px){.case-ref-current-status, .case-ref-call-button{min-height:66px;height:auto}.case-ref-summary-card{min-height:116px;padding:16px}.case-ref-summary-card b{font-size:18.5px}.case-ref-summary-card>i{width:56px;height:56px;flex-basis:56px}.case-ref-summary-card svg{width:26px;height:26px}}details[data-action-menu]{position:relative;isolation:isolate}details[data-action-menu] > summary{cursor:pointer;user-select:none}details[data-action-menu] > summary::-webkit-details-marker{display:none}details[data-action-menu] > summary::marker{display:none}.rec-header-icon-button{width:43px;height:43px;min-width:43px;padding:0;display:grid;place-items:center;cursor:pointer}.rec-header-icon-button span{display:grid;place-items:center}.rec-header-icon-button svg{width:21px;height:21px}.rec-header-action-menu{position:absolute;top:calc(100% + 9px);left:0;z-index:500}.rec-report-kpi-card{position:relative;isolation:isolate;min-height:132px;padding:18px;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:right;cursor:pointer}.rec-report-kpi-copy{display:flex;flex-direction:column;min-width:0;z-index:1}.rec-report-kpi-copy small{font-size:11px;font-weight:900}.rec-report-kpi-copy b{font-size:31px;line-height:1.25;font-weight:950;white-space:nowrap}.rec-report-kpi-copy em{font-size:10.8px;font-weight:700}.rec-report-kpi-icon{position:relative;flex:0 0 auto;width:54px;height:54px;display:grid;place-items:center}.rec-report-kpi-icon svg{width:25px;height:25px;position:relative;z-index:1}.rec-report-list-card{position:relative;overflow:visible}.rec-bulk-action-menu, .rec-bulk-action-menu[open], .rec-group-action-menu, .rec-group-action-menu[open]{position:relative;margin:0;padding:0;z-index:35;overflow:visible}.rec-compact-action-trigger, .rec-group-menu-trigger, .rec-group-export-button{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;font-size:11.5px;font-weight:900;cursor:pointer;list-style:none}.rec-compact-action-trigger::-webkit-details-marker, .rec-group-menu-trigger::-webkit-details-marker{display:none}.rec-compact-action-trigger svg, .rec-group-menu-trigger svg, .rec-group-export-button svg{width:17px;height:17px}.rec-bulk-action-menu>.rec-action-menu, .rec-group-action-menu>.rec-action-menu{position:absolute;top:calc(100% + 7px);left:0;z-index:400}.rec-report-search .field{flex:1;margin:0}.rec-search-input-shell{height:42px;display:flex;align-items:center;gap:8px;padding:0 11px}.rec-search-input-shell>span{display:grid}.rec-search-input-shell svg{width:18px;height:18px}.rec-search-input-shell input{height:100%;flex:1;padding:0;font-size:12.5px}body[data-page="reconciliation"] .rec-table-wrap{overflow:auto}body[data-page="reconciliation"] .rec-summary-table th{height:38px;padding:7px 9px;font-size:11.2px;font-weight:950}body[data-page="reconciliation"] .rec-icon-btn, body[data-page="reconciliation"] .rec-action-hint{display:inline-grid;place-items:center;margin:0;vertical-align:middle;}.rec-icon-btn svg, .rec-action-hint svg{width:17px;height:17px}body.rec-upload-drawer-open, body.rec-technical-drawer-open{overflow:hidden}#rec-upload-drawer-host, #rec-technical-drawer-host{position:fixed;inset:0;z-index:480;pointer-events:none;direction:rtl}.rec-upload-drawer-backdrop, .rec-technical-drawer-backdrop{position:absolute;inset:0;opacity:0;pointer-events:auto}.rec-upload-drawer, .rec-technical-drawer{position:absolute;top:0;bottom:0;left:0;width:min(540px,94vw);display:flex;flex-direction:column;transform:translateX(-104%);pointer-events:auto}.rec-technical-drawer{width:min(820px,96vw)}.rec-upload-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:19px 20px}.rec-upload-drawer-header h3{margin:4px 0 3px;font-size:20px;font-weight:950}.rec-upload-drawer-header small{font-size:11px}.rec-upload-drawer-body{flex:1;overflow:auto;padding:18px;display:grid;align-content:start;gap:13px}.rec-file-box-plum input{grid-column:1/-1;margin-top:9px;width:100%;padding:10px;font-size:11.5px}.rec-upload-standard-note{display:flex;align-items:flex-start;gap:10px;padding:12px 13px}.rec-upload-standard-note>span{display:grid}.rec-upload-standard-note svg{width:20px;height:20px}.rec-upload-standard-note div{display:grid;gap:2px}.rec-upload-standard-note b{font-size:12px;font-weight:950}.rec-upload-standard-note small{font-size:10.5px;line-height:1.8}.rec-upload-drawer-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:13px 18px}.rec-technical-drawer-body{flex:1;overflow:auto;padding:14px}.rec-technical-drawer-body .rec-status-list{padding:0}.rec-technical-drawer-body .rec-tech-summary{position:sticky;bottom:0;padding:10px}@media (max-width:820px){.rec-header-action-menu{left:0;right:auto}.rec-upload-drawer-footer{display:grid;grid-template-columns:1fr 1.6fr}.rec-upload-drawer-footer .btn{width:100%}}@media (max-width:560px){.rec-header-icon-button{width:40px;height:40px;min-width:40px}.rec-report-kpi-card{min-height:112px;padding:15px}.rec-report-kpi-copy b{font-size:27px}.rec-report-kpi-icon{width:48px;height:48px}.rec-upload-drawer-footer{grid-template-columns:1fr}.rec-upload-drawer-header{padding:16px}.rec-upload-drawer-body{padding:14px}}.btn-week-detail{min-height:31px;padding:5px 8px;font-size:10.5px;font-weight:900}#so-drawer-host{position:fixed;inset:0;z-index:2500;opacity:0}#so-notification-drawer{position:fixed;inset:0;z-index:2700;opacity:0}#so-notification-drawer>aside{position:absolute;left:18px;top:72px;width:min(430px,calc(100vw - 36px));max-height:calc(100vh - 95px);overflow:hidden;transform:none;}#so-notification-drawer header{display:flex;justify-content:space-between;padding:16px 18px}#so-notification-drawer header h3{margin:3px 0}#so-notification-drawer header button{width:34px;height:34px;font-size:20px}#so-notification-drawer footer{padding:10px 14px;text-align:left}#so-notification-drawer footer button{font-weight:800;cursor:pointer}#so-notification-drawer aside{width:min(520px,95vw)}@media (max-width:900px){}@media (max-width:560px){}.tiam-hero-btn{min-height:48px;padding:0 23px;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;white-space:nowrap}.tiam-hero-btn svg{width:19px;height:19px}.tiam-com-list>nav button{padding:9px;cursor:pointer}.tiam-com-person-mark{width:50px;height:50px;display:grid;place-items:center;font-size:19px;font-weight:950}@media (max-width:620px){.tiam-hero-btn{width:100%}}body[data-page="credit-assessment"] .page-content, body[data-page="credit-task-detail"] .page-content, body[data-page="interdepartmental-tickets"] .page-content, body[data-page="referral-detail"] .page-content, body[data-page="communications-center"] .page-content, body[data-page="reconciliation"] .page-content{padding:22px 26px 40px}.v115-page-stack>.tiam-communications-shell{margin:0}.v115-table-meta{display:flex;align-items:center;gap:8px;font-size:10.5px}.v115-table-meta b{font-size:13px}@media (max-width:680px){.v115-table-meta{align-self:stretch;justify-content:space-between}}.credit-v116-table-wrap{padding:4px 7px 56px;overflow-x:auto;overflow-y:hidden}.credit-v116-table{width:100%;min-width:1040px;border-collapse:separate;border-spacing:0 6px}.credit-v116-table thead th{height:30px;padding:4px 8px;font-size:10.5px;font-weight:700;white-space:nowrap;text-align:center}.credit-v116-table thead th:first-child{text-align:right}.credit-v116-table tbody tr{height:58px}.credit-v116-table tbody td{height:58px;padding:5px 8px;font-size:10.5px;vertical-align:middle;text-align:center;white-space:nowrap}.credit-v116-table tbody td:first-child{text-align:right}.credit-v116-customer .credit-v116-person-mark{width:28px;height:28px;display:inline-grid;place-items:center;margin-left:7px;font-size:11px;font-weight:800;vertical-align:middle}.credit-v116-tooltip{position:absolute;z-index:999;top:calc(100% + 7px);left:50%;min-width:142px;padding:7px 9px;display:flex;flex-direction:column;gap:2px;opacity:0;visibility:hidden;pointer-events:none;text-align:center;white-space:nowrap}.credit-v116-tooltip b{font-size:10.5px}.credit-v116-tooltip em{font-size:10.5px}.credit-v116-action:hover .credit-v116-tooltip, .credit-v116-action:focus-visible .credit-v116-tooltip{visibility:visible}.credit-v116-grade-grid input{position:absolute;opacity:0;pointer-events:none}@media (max-width:680px){.credit-v116-table-wrap{padding-inline:4px}}.credit-v118-table th:nth-child(1), .credit-v118-table td:nth-child(1){width:175px}.credit-v118-table th:nth-child(2), .credit-v118-table td:nth-child(2){width:122px}.credit-v118-table th:nth-child(3), .credit-v118-table td:nth-child(3){width:126px}.credit-v118-table th:nth-child(4), .credit-v118-table td:nth-child(4){width:126px}.credit-v118-table th:nth-child(5), .credit-v118-table td:nth-child(5){width:112px}.credit-v118-table th:nth-child(6), .credit-v118-table td:nth-child(6){width:86px}.credit-v118-table th:nth-child(7), .credit-v118-table td:nth-child(7){width:84px}.credit-v118-table th:nth-child(8), .credit-v118-table td:nth-child(8){width:132px}.credit-v118-table th:nth-child(9), .credit-v118-table td:nth-child(9){width:176px}.credit-v118-person-mark{width:30px;height:30px;margin-left:8px;place-items:center;vertical-align:middle;font-size:11px;font-weight:900;}.credit-v118-tooltip-portal{position:fixed;z-index:100000;min-width:150px;max-width:min(260px,calc(100vw - 16px));padding:9px 11px;display:flex;flex-direction:column;gap:3px;text-align:center;pointer-events:none;opacity:0}.credit-v118-tooltip-portal b{font-weight:850;}.credit-v118-tooltip-portal span{line-height:1.7;white-space:normal;}.credit-v118-tooltip-portal span[dir="ltr"]{white-space:nowrap;}.credit-v118-grade-grid input{position:absolute;opacity:0;pointer-events:none}@media (max-width:680px){.credit-v118-table-wrap{padding-inline:4px}.credit-v118-page-actions .btn{width:100%}}.credit-v118-summary-card{isolation:isolate;display:flex;}.credit-v118-summary-card.is-clickable{cursor:pointer;width:100%}.credit-v118-person-mark{display:none}.credit-v118-table tbody td:nth-child(3) b, .credit-v118-table tbody td:nth-child(4) b{font-size:13px;font-weight:700}.credit-v118-tooltip-portal b{font-size:11px}.credit-v118-tooltip-portal span{font-size:10.5px}.credit-v118-tooltip-portal span[dir="ltr"]{font-size:12px}@media (max-width:620px){.credit-v118-summary-card{min-height:84px;padding:10px;gap:8px}}.credit-v118-summary-card[type="button"]{-webkit-appearance:none;appearance:none;margin:0}.credit-v118-summary-card[type="button"]{min-height:96px;padding:13px}@media (max-width:620px){.credit-v118-summary-card[type="button"]{min-height:84px;padding:10px}}.credit-v118-summary-card{position:relative;flex-direction:column;justify-content:center;align-items:center;text-align:center;overflow:hidden;}.credit-v118-summary-card.is-clickable{display:flex}.credit-v118-summary-card .credit-v118-summary-art{position:relative;z-index:2;display:grid;place-items:center;}.credit-v118-summary-card .credit-v118-summary-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;max-width:100%;}.credit-v118-summary-card .credit-v118-summary-copy small{line-height:1.5;}.credit-v118-summary-card .credit-v118-summary-copy b{font-weight:950;white-space:nowrap;}.credit-v118-summary-card .credit-v118-summary-chevron{line-height:1;font-weight:300;}@media (max-width:1180px){.credit-v118-summary-card, .credit-v118-summary-wallet{min-height:156px}}@media (max-width:900px){.credit-v118-summary-card, .credit-v118-summary-wallet{aspect-ratio:auto;min-height:138px}.credit-v118-summary-card .credit-v118-summary-copy b{font-size:24px}.credit-v118-summary-card .credit-v118-summary-copy b.is-money{font-size:20px}}@media (max-width:640px){.credit-v118-summary-card, .credit-v118-summary-wallet{min-height:120px;padding:14px 16px;flex-direction:row;justify-content:flex-start;text-align:right}.credit-v118-summary-card .credit-v118-summary-copy{align-items:flex-start}.credit-v118-summary-card .credit-v118-summary-copy b{font-size:22px}.credit-v118-summary-card .credit-v118-summary-copy b.is-money{font-size:18px}.credit-v118-summary-card .credit-v118-summary-chevron{top:50%;left:16px}}.credit-v118-summary-card .credit-v118-summary-art{width:48px;height:48px;min-width:48px}.credit-v118-summary-card .credit-v118-summary-art svg{width:31px;height:31px}.credit-v118-summary-card .credit-v118-summary-copy{gap:4px}.credit-v118-summary-card .credit-v118-summary-copy small{font-weight:850;}.credit-v118-summary-card .credit-v118-summary-copy b{line-height:1.05;}@media (max-width:1180px){.credit-v118-summary-card, .credit-v118-summary-wallet{width:auto;height:148px;min-height:148px}}@media (max-width:640px){.credit-v118-summary-card, .credit-v118-summary-wallet{width:auto;height:auto;min-height:116px}}.credit-v118-summary-card, .credit-v118-summary-wallet{flex:0 0 142px;width:142px;height:142px;min-width:142px;min-height:142px;max-width:142px;padding:14px 12px;gap:7px;}.credit-v118-summary-card .credit-v118-summary-copy small{font-size:11px}.credit-v118-summary-card .credit-v118-summary-copy b{font-size:25px}.credit-v118-summary-card .credit-v118-summary-copy b.is-money{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:unset;white-space:normal;line-height:1}.credit-v118-summary-card .credit-v118-summary-copy b.is-money .money-amount{display:block;font-size:22px;font-weight:950;line-height:1.05;direction:ltr}.credit-v118-summary-card .credit-v118-summary-copy b.is-money .money-unit{display:block;font-size:12px;font-weight:800;line-height:1.1}@media (max-width:1200px){.credit-v118-summary-card, .credit-v118-summary-wallet{flex-basis:134px;width:134px;height:134px;min-width:134px;min-height:134px;max-width:134px}}@media (max-width:900px){.credit-v118-summary-card, .credit-v118-summary-wallet{width:auto;height:152px;min-width:0;min-height:152px;max-width:none}}@media (max-width:640px){.credit-v118-summary-card, .credit-v118-summary-wallet{height:auto;min-height:122px}}.credit-v118-summary-card.credit-v118-summary-archive, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive.is-clickable, button.credit-v118-summary-card.credit-v118-summary-archive.is-clickable{box-sizing:border-box;flex:0 0 142px;width:142px;height:142px;min-width:142px;max-width:142px;min-height:142px;max-height:142px;aspect-ratio:1/1;padding:14px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;appearance:none;-webkit-appearance:none;overflow:hidden}.credit-v118-summary-card.credit-v118-summary-archive:hover, button.credit-v118-summary-card.credit-v118-summary-archive:hover, .credit-v118-summary-card.credit-v118-summary-archive:focus-visible, button.credit-v118-summary-card.credit-v118-summary-archive:focus-visible{width:142px;height:142px;min-width:142px;min-height:142px;max-width:142px;max-height:142px}@media (max-width:1200px){.credit-v118-summary-card.credit-v118-summary-archive, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive.is-clickable, button.credit-v118-summary-card.credit-v118-summary-archive.is-clickable{flex:0 0 134px;width:134px;height:134px;min-width:134px;max-width:134px;min-height:134px;max-height:134px}}@media (max-width:900px){.credit-v118-summary-card.credit-v118-summary-archive, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive.is-clickable, button.credit-v118-summary-card.credit-v118-summary-archive.is-clickable{width:auto;height:152px;min-height:152px;max-height:none;max-width:none}}@media (max-width:640px){.credit-v118-summary-card.credit-v118-summary-archive, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive.is-clickable, button.credit-v118-summary-card.credit-v118-summary-archive.is-clickable{height:auto;min-height:122px}}.credit-v118-summary-card, .credit-v118-summary-wallet{position:relative;overflow:visible;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;isolation:isolate}.credit-v118-summary-card .credit-v118-summary-art, .credit-v118-summary-wallet .credit-v118-summary-art{z-index:2;}.credit-v118-summary-card .credit-v118-summary-copy, .credit-v118-summary-wallet .credit-v118-summary-copy{position:relative;z-index:2;gap:3px;max-width:100%}.credit-v118-summary-card .credit-v118-summary-copy small, .credit-v118-summary-wallet .credit-v118-summary-copy small{line-height:1.35;}.credit-v118-summary-card .credit-v118-summary-copy b, .credit-v118-summary-wallet .credit-v118-summary-copy b{line-height:1.05;white-space:nowrap;}.credit-v118-summary-card .credit-v118-summary-copy b.is-money, .credit-v118-summary-wallet .credit-v118-summary-copy b.is-money{display:flex;flex-direction:column;align-items:center;gap:3px;white-space:normal}.credit-v118-summary-card .credit-v118-summary-copy b.is-money .money-amount, .credit-v118-summary-wallet .credit-v118-summary-copy b.is-money .money-amount{font-weight:950;direction:ltr;line-height:1;}.credit-v118-summary-card .credit-v118-summary-copy b.is-money .money-unit, .credit-v118-summary-wallet .credit-v118-summary-copy b.is-money .money-unit{line-height:1;}.credit-v118-summary-card .credit-v118-summary-chevron{position:absolute;top:12px;left:14px;font-size:20px;opacity:.78;z-index:2}button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive, button.credit-v118-summary-card.credit-v118-summary-archive.is-clickable, .credit-v118-summary-card.credit-v118-summary-archive.is-clickable{flex:0 0 126px;width:126px;height:126px;min-width:126px;max-width:126px;min-height:126px;max-height:126px;aspect-ratio:1/1}@media (max-width:1120px){.credit-v118-summary-card, .credit-v118-summary-wallet, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{width:auto;height:144px;min-width:0;max-width:none;min-height:144px;max-height:none}}@media (max-width:640px){.credit-v118-summary-card, .credit-v118-summary-wallet, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{height:auto;min-height:120px}}.credit-v118-summary-card, .credit-v118-summary-wallet, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{position:relative;overflow:visible;isolation:isolate}.credit-v118-summary-card{flex:0 0 148px;width:148px;height:148px;min-width:148px;max-width:148px;min-height:148px;max-height:148px;aspect-ratio:1/1;padding:14px 12px;gap:6px}button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{flex:0 0 148px;width:148px;height:148px;min-width:148px;max-width:148px;min-height:148px;max-height:148px}.credit-v118-summary-card .credit-v118-summary-copy small, .credit-v118-summary-wallet .credit-v118-summary-copy small{font-size:10.5px;font-weight:850}.credit-v118-summary-card .credit-v118-summary-copy b, .credit-v118-summary-wallet .credit-v118-summary-copy b{font-weight:950;}.credit-v118-summary-card .credit-v118-summary-copy b.is-money .money-amount, .credit-v118-summary-wallet .credit-v118-summary-copy b.is-money .money-amount{font-size:21px}.credit-v118-summary-card .credit-v118-summary-copy b.is-money .money-unit, .credit-v118-summary-wallet .credit-v118-summary-copy b.is-money .money-unit{font-weight:850;}.credit-v118-table tbody td:nth-child(2), .credit-v118-table tbody td:nth-child(5), .credit-v118-table tbody td:nth-child(6){font-size:14px;font-weight:740}@media (max-width:1240px){.credit-v118-summary-card{flex-basis:140px;width:140px;height:140px;min-width:140px;max-width:140px;min-height:140px;max-height:140px}button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{flex-basis:140px;width:140px;height:140px;min-width:140px;max-width:140px;min-height:140px;max-height:140px}}@media (max-width:1120px){.credit-v118-summary-card, .credit-v118-summary-wallet, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{width:auto;height:148px;min-width:0;max-width:none;min-height:148px;max-height:none}}@media (max-width:640px){.credit-v118-summary-card, .credit-v118-summary-wallet, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{height:auto;min-height:122px}}.credit-v118-summary-card, .credit-v118-summary-wallet, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{flex:0 0 168px;width:168px;height:168px;min-width:168px;max-width:168px;min-height:168px;max-height:168px;aspect-ratio:1/1;padding:15px 12px;gap:7px}.credit-v118-summary-card .credit-v118-summary-art, .credit-v118-summary-wallet .credit-v118-summary-art{width:56px;height:56px;min-width:56px;position:relative;overflow:hidden;display:grid;place-items:center}.credit-v118-summary-card .credit-v118-summary-art svg, .credit-v118-summary-wallet .credit-v118-summary-art svg{width:31px;height:31px;position:relative;z-index:2}.credit-v118-summary-card .credit-v118-summary-copy b, .credit-v118-summary-wallet .credit-v118-summary-copy b{font-size:25px}.credit-v118-summary-card .credit-v118-summary-copy b.is-money .money-unit, .credit-v118-summary-wallet .credit-v118-summary-copy b.is-money .money-unit{font-size:12px}@media (max-width:1320px){.credit-v118-summary-card, .credit-v118-summary-wallet, button.credit-v118-summary-card.credit-v118-summary-archive, .credit-v118-summary-card.credit-v118-summary-archive{flex-basis:158px;width:158px;height:158px;min-width:158px;max-width:158px;min-height:158px;max-height:158px}}.credit-v181-mini-card{position:absolute;right:82px;bottom:32px;min-width:190px;padding:14px 18px;text-align:right;direction:rtl}.credit-v181-mini-card b{display:block;font-size:18px;font-weight:950}.credit-v181-mini-card small{display:block;margin-top:4px;font-size:11px;font-weight:800}@media (max-width:900px){.credit-v181-mini-card{right:52px;bottom:24px}}@media (max-width:560px){.credit-v181-mini-card{right:30px;bottom:18px;min-width:165px;padding:10px 14px}.credit-v181-mini-card b{font-size:15px}}body[data-page="credit-assessment"] .credit-v118-summary-card, body[data-page="credit-assessment"] .credit-v118-summary-wallet, body[data-page="credit-assessment"] button.credit-v118-summary-card.credit-v118-summary-archive, body[data-page="credit-assessment"] .credit-v118-summary-card.credit-v118-summary-archive{box-sizing:border-box;flex:0 0 170px;width:170px;height:170px;min-width:170px;max-width:170px;min-height:170px;max-height:170px;aspect-ratio:1/1;padding:15px 12px;gap:7px;appearance:none;-webkit-appearance:none;overflow:visible}body[data-page="credit-assessment"] .credit-v118-summary-card .credit-v118-summary-art, body[data-page="credit-assessment"] .credit-v118-summary-wallet .credit-v118-summary-art{width:58px;height:58px;min-width:58px;overflow:hidden;display:grid;place-items:center}body[data-page="credit-assessment"] .credit-v118-summary-card .credit-v118-summary-art svg, body[data-page="credit-assessment"] .credit-v118-summary-wallet .credit-v118-summary-art svg{width:32px;height:32px;position:relative;z-index:2}body[data-page="credit-assessment"] .credit-v118-summary-card .credit-v118-summary-copy b.is-money, body[data-page="credit-assessment"] .credit-v118-summary-wallet .credit-v118-summary-copy b.is-money{display:flex;flex-direction:column;align-items:center;gap:4px;white-space:normal}@media (max-width:1280px){body[data-page="credit-assessment"] .credit-v118-summary-card, body[data-page="credit-assessment"] .credit-v118-summary-wallet, body[data-page="credit-assessment"] button.credit-v118-summary-card.credit-v118-summary-archive, body[data-page="credit-assessment"] .credit-v118-summary-card.credit-v118-summary-archive{flex-basis:158px;width:158px;height:158px;min-width:158px;max-width:158px;min-height:158px;max-height:158px}}@media (max-width:1120px){body[data-page="credit-assessment"] .credit-v118-summary-card, body[data-page="credit-assessment"] .credit-v118-summary-wallet, body[data-page="credit-assessment"] button.credit-v118-summary-card.credit-v118-summary-archive, body[data-page="credit-assessment"] .credit-v118-summary-card.credit-v118-summary-archive{width:auto;height:148px;min-width:0;max-width:none;min-height:148px;max-height:none}}body[data-page="credit-assessment"] header.topbar #page-subtitle, body[data-page="credit-assessment"] header.topbar .top-date-pill, body[data-page="credit-assessment"] header.topbar .profile>div:not(.person-mark), body[data-page="credit-assessment"] header.topbar .profile-logout, body[data-page="credit-assessment"] header.topbar input[type="search"], body[data-page="credit-assessment"] header.topbar .top-search, body[data-page="credit-assessment"] header.topbar .search, body[data-page="credit-assessment"] header.topbar .search-box, body[data-page="credit-assessment"] header.topbar .global-search{display:none}body[data-page="credit-assessment"] header.topbar :is(#so-notification-btn,#so-action-btn){display:grid;place-items:center;position:relative;width:34px;height:34px;min-width:34px;padding:0}body[data-page="credit-assessment"] header.topbar :is(#so-notification-btn,#so-action-btn)>span{display:none}body[data-page="credit-assessment"] header.topbar :is(#so-notification-btn,#so-action-btn) svg{width:17px;height:17px}body[data-page="credit-assessment"] header.topbar .profile{display:flex;align-items:center;margin:0;padding:0;gap:0}body[data-page="credit-assessment"] header.topbar .profile .person-mark{width:34px;height:34px;min-width:34px}body[data-page="credit-assessment"] .credit-v118-table tbody td b{font-size:13.8px;font-weight:800}body[data-page="credit-assessment"] .credit-v118-national, body[data-page="credit-assessment"] .credit-v118-date, body[data-page="credit-assessment"] .credit-v118-clock, body[data-page="credit-assessment"] .credit-v118-table tbody td:nth-child(2), body[data-page="credit-assessment"] .credit-v118-table tbody td:nth-child(5), body[data-page="credit-assessment"] .credit-v118-table tbody td:nth-child(6){font-size:14.2px;font-weight:820;direction:ltr;unicode-bidi:isolate}body[data-page="credit-assessment"] .credit-v118-table-wrap::-webkit-scrollbar{display:none;width:0;height:0}body[data-page="credit-assessment"] .credit-v118-table th, body[data-page="credit-assessment"] .credit-v118-table td, body[data-page="credit-assessment"] .credit-v118-table td>b, body[data-page="credit-assessment"] .credit-v118-table td>span, body[data-page="credit-assessment"] .credit-v118-table td>div{min-width:0;max-width:100%}body[data-page="credit-assessment"] .credit-v118-table td>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1366px){body[data-page="credit-assessment"] .credit-v118-table-wrap{padding-right:8px;padding-left:8px}body[data-page="credit-assessment"] .credit-v118-table thead tr, body[data-page="credit-assessment"] .credit-v118-table tbody tr{grid-template-columns:minmax(0,1.40fr)
      minmax(0,.94fr)
      minmax(0,1.02fr)
      minmax(0,1.02fr)
      minmax(0,.88fr)
      minmax(0,.63fr)
      minmax(0,.60fr)
      minmax(0,.96fr)
      minmax(120px,1.22fr);padding-right:10px;padding-left:10px}body[data-page="credit-assessment"] .credit-v118-table tbody td{padding-right:5px;padding-left:5px;font-size:12.7px}body[data-page="credit-assessment"] .credit-v118-table tbody td b{font-size:12.8px}body[data-page="credit-assessment"] .credit-v118-national, body[data-page="credit-assessment"] .credit-v118-date, body[data-page="credit-assessment"] .credit-v118-clock, body[data-page="credit-assessment"] .credit-v118-table tbody td:nth-child(2), body[data-page="credit-assessment"] .credit-v118-table tbody td:nth-child(5), body[data-page="credit-assessment"] .credit-v118-table tbody td:nth-child(6){font-size:13px}}@media (max-width:1180px){body[data-page="credit-assessment"] .credit-v118-table{width:100%;min-width:0}body[data-page="credit-assessment"] .credit-v118-table thead tr, body[data-page="credit-assessment"] .credit-v118-table tbody tr{grid-template-columns:minmax(0,1.34fr)
      minmax(0,.92fr)
      minmax(0,1fr)
      minmax(0,1fr)
      minmax(0,.86fr)
      minmax(0,.60fr)
      minmax(0,.58fr)
      minmax(0,.92fr)
      minmax(112px,1.18fr)}body[data-page="credit-assessment"] .credit-v118-table thead th{padding-right:3px;padding-left:3px;font-size:10.5px}body[data-page="credit-assessment"] .credit-v118-table tbody td{padding-right:3px;padding-left:3px;font-size:11.8px}body[data-page="credit-assessment"] .credit-v118-table tbody td b{font-size:11.9px}}body[data-page="credit-assessment"] #modal-backdrop.modal-backdrop{padding:20px}body[data-page="credit-assessment"] #modal.credit-v136-modal{position:relative;isolation:isolate;width:min(620px,calc(100vw - 32px));max-height:min(88vh,860px);overflow:hidden}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade{width:min(690px,calc(100vw - 32px))}body[data-page="credit-assessment"] #modal.credit-v136-modal-complete{width:min(540px,calc(100vw - 32px))}body[data-page="credit-assessment"] #modal.credit-v136-modal-attachment{width:min(900px,calc(100vw - 32px))}body[data-page="credit-assessment"] #modal.credit-v136-modal-wallet, body[data-page="credit-assessment"] #modal.credit-v136-modal-tariff{width:min(570px,calc(100vw - 32px))}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-head, body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-body, body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-actions{position:relative;z-index:1}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-head{min-height:68px;padding:12px 16px 12px 20px;display:flex;align-items:center;gap:12px}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-head h3, body[data-page="credit-assessment"] #modal.credit-v136-modal #modal-title{flex:1 1 auto;order:2;margin:0;font-size:16px;font-weight:920;line-height:1.6;text-align:right}body[data-page="credit-assessment"] #modal.credit-v136-modal #modal-close{order:1;width:36px;height:36px;min-width:36px;padding:0;display:grid;place-items:center}body[data-page="credit-assessment"] #modal.credit-v136-modal #modal-close svg{width:17px;height:17px}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-body{padding:22px 24px;overflow:auto;overscroll-behavior:contain;font-size:12.5px;line-height:1.9}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-body::-webkit-scrollbar{width:7px}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-actions{min-height:66px;padding:12px 20px;display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-actions .btn{min-height:40px;padding:0 18px;font-size:11.5px;font-weight:880}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-actions .btn:hover{transform:none;}body[data-page="credit-assessment"] #modal.credit-v136-modal .field{margin:0 0 14px}body[data-page="credit-assessment"] #modal.credit-v136-modal .field:last-child{margin-bottom:0}body[data-page="credit-assessment"] #modal.credit-v136-modal .field label{display:block;margin:0 0 7px;font-size:10.8px;font-weight:870}body[data-page="credit-assessment"] #modal.credit-v136-modal .field input, body[data-page="credit-assessment"] #modal.credit-v136-modal .field select, body[data-page="credit-assessment"] #modal.credit-v136-modal .field textarea{width:100%;min-height:44px;padding:10px 13px;font-size:12px;font-weight:680}body[data-page="credit-assessment"] #modal.credit-v136-modal .field textarea{min-height:92px;resize:vertical;line-height:1.9}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-customer{min-height:58px;padding:10px 14px;margin:0 0 16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-customer small{font-size:10.5px;font-weight:840}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-customer b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.8px;font-weight:900}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-customer em{min-width:104px;padding:6px 10px;font-size:11px;font-weight:800;text-align:center}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 16px}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label{position:relative;height:48px;cursor:pointer}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label:hover{transform:none;}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-option{font-size:14px;font-weight:900}body[data-page="credit-assessment"] #modal.credit-v136-modal-complete .credit-v118-complete-confirm{padding:4px 4px 2px;text-align:center}body[data-page="credit-assessment"] #modal.credit-v136-modal-complete .credit-v118-complete-confirm>span:first-child{width:74px;height:74px;margin:0 auto 14px;display:grid;place-items:center}body[data-page="credit-assessment"] #modal.credit-v136-modal-complete .credit-v118-complete-confirm>span:first-child svg{width:31px;height:31px}body[data-page="credit-assessment"] #modal.credit-v136-modal-complete .credit-v118-complete-confirm h3{margin:0 0 9px;font-size:17px;font-weight:920}body[data-page="credit-assessment"] #modal.credit-v136-modal-complete .credit-v118-complete-confirm p{max-width:430px;margin:0 auto 12px;font-size:11.6px;line-height:2.05}body[data-page="credit-assessment"] #modal.credit-v136-modal-complete .credit-v118-complete-confirm>span.text-green, body[data-page="credit-assessment"] #modal.credit-v136-modal-complete .credit-v118-complete-confirm>span.text-amber{display:inline-flex;align-items:center;justify-content:center;min-height:32px;margin:4px auto 10px;padding:5px 12px;font-size:10.5px;font-weight:860}body[data-page="credit-assessment"] #modal.credit-v136-modal-complete .credit-v118-complete-confirm small{display:block;max-width:430px;margin:0 auto;padding:10px 13px;font-size:10.5px;line-height:1.9}body[data-page="credit-assessment"] #modal.credit-v136-modal-attachment .modal-body{padding:18px}body[data-page="credit-assessment"] #modal.credit-v136-modal-attachment .attachment-viewer{display:grid;gap:12px;justify-items:center}body[data-page="credit-assessment"] #modal.credit-v136-modal-attachment .attachment-viewer img{width:auto;max-width:100%;max-height:62vh;object-fit:contain}body[data-page="credit-assessment"] #modal.credit-v136-modal-attachment .attachment-viewer p{margin:0;font-size:10.5px;text-align:center}body[data-page="credit-assessment"] #modal.credit-v136-modal-wallet #so-wallet-topup, body[data-page="credit-assessment"] #modal.credit-v136-modal-tariff #so-tariff-form{display:grid;gap:2px}@media (max-width:680px){body[data-page="credit-assessment"] #modal-backdrop.modal-backdrop{padding:10px;align-items:flex-end}body[data-page="credit-assessment"] #modal.credit-v136-modal{width:100%;max-height:92vh}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-head{min-height:62px;padding:10px 12px 10px 16px}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-head h3{font-size:14px}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-body{padding:17px 14px}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-actions{padding:10px 14px;gap:7px}body[data-page="credit-assessment"] #modal.credit-v136-modal .modal-actions .btn{flex:1 1 auto;min-width:118px;padding-inline:12px}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-customer{grid-template-columns:auto minmax(0,1fr)}body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-customer em{grid-column:1/-1;width:100%}}@media (max-width:1366px){body[data-page="credit-assessment"] .credit-v118-table-wrap{padding-right:6px;padding-left:6px}body[data-page="credit-assessment"] .credit-v118-table tbody{gap:6px}}@media (max-width:680px){body[data-page="credit-assessment"] .credit-v118-table-wrap{padding:0 2px 8px}body[data-page="credit-assessment"] .credit-v118-table tbody{gap:5px}}@media (max-width:1366px){body[data-page="credit-assessment"] #page-content .credit-v118-table-wrap{padding-right:5px;padding-left:5px}body[data-page="credit-assessment"] #page-content .credit-v118-table tbody{gap:5px}}@media (max-width:680px){body[data-page="credit-assessment"] #page-content .credit-v118-table thead tr, body[data-page="credit-assessment"] #page-content .credit-v118-table thead th{height:25px;min-height:25px}body[data-page="credit-assessment"] #page-content .credit-v118-table-wrap{padding:0 2px 8px}body[data-page="credit-assessment"] #page-content .credit-v118-table tbody{gap:4px}}@media (max-width:1366px){body[data-page="credit-assessment"] #page-content > .credit-v118-table-wrap{padding-inline:4px}body[data-page="credit-assessment"] #page-content > .credit-v118-table-wrap .credit-v118-table tbody{gap:4px}}@media (max-width:680px){body[data-page="credit-assessment"] #page-content > .credit-v118-table-wrap{padding:0 1px 7px}body[data-page="credit-assessment"] #page-content > .credit-v118-table-wrap .credit-v118-table thead, body[data-page="credit-assessment"] #page-content > .credit-v118-table-wrap .credit-v118-table thead tr, body[data-page="credit-assessment"] #page-content > .credit-v118-table-wrap .credit-v118-table thead th{height:23px;min-height:23px}body[data-page="credit-assessment"] #page-content > .credit-v118-table-wrap .credit-v118-table tbody{gap:4px}}.employee-account-create input, .employee-account-check input{margin-top:4px}.employee-account-grid>.field{margin:0}.employee-password-field{grid-column:span 2}.forced-password-card{width:min(520px,calc(100vw - 64px));padding:28px}.forced-password-card header{margin-bottom:18px}.forced-password-card h2{margin:0 0 7px}.forced-password-card p{margin:0;line-height:1.8}.forced-password-form{display:grid;gap:13px}.forced-password-form .field{margin:0}.forced-password-form input{direction:ltr;text-align:left}@layer tiam-login-v145{.tiam-login-form-zone{position:relative;direction:rtl;width:min(100%,520px);justify-self:center;display:grid;place-items:center}.tiam-login-form{position:relative;width:100%;display:grid;gap:24px;padding:clamp(32px,4vw,48px);box-sizing:border-box}.tiam-login-field{display:grid;gap:10px;font-size:13px;font-weight:820}.tiam-login-input-shell{position:relative;min-height:58px;display:flex;align-items:center}.tiam-login-input-shell>svg{position:absolute;right:19px;width:19px;height:19px;opacity:.88;pointer-events:none}.tiam-login-input-shell input{width:100%;height:56px;padding:0 52px 0 52px;font-size:14px;font-weight:700}.tiam-login-spinner{display:none;width:16px;height:16px}.tiam-login-submit.is-busy .tiam-login-spinner{display:block}@media (max-width:1080px){.tiam-login-form-zone{width:min(100%,520px);margin-top:-30px}.tiam-login-form{padding:30px}}@media (max-width:680px){.tiam-login-form-zone{margin-top:-35px}.tiam-login-form{gap:18px;padding:24px 18px}.tiam-login-field{gap:7px;font-size:11px}.tiam-login-input-shell{min-height:50px}.tiam-login-input-shell input{height:48px;font-size:13px}}@media (max-width:430px){.tiam-login-form-zone{margin-top:-48px}.tiam-login-form{padding:21px 15px}}}@media (max-width:560px){}body:not(.auth-active) header.topbar :is(#so-notification-btn,#so-action-btn){place-items:center;position:relative;width:34px;height:34px;min-width:34px;padding:0;margin:0;}body:not(.auth-active) header.topbar :is(#so-notification-btn,#so-action-btn)>span{display:none}body:not(.auth-active) header.topbar :is(#so-notification-btn,#so-action-btn) svg{width:17px;height:17px}body:not(.auth-active) header.topbar .profile{display:flex;align-items:center;margin:0;padding:0;gap:0;min-width:max-content}body:not(.auth-active) header.topbar .profile .person-mark{display:grid;place-items:center;width:34px;height:34px;min-width:34px;margin:0;padding:0;overflow:hidden}body:not(.auth-active) header.topbar .profile .person-mark img{width:100%;height:100%;object-fit:cover}@media (max-width:900px){}@media (max-width:430px){body:not(.auth-active) header.topbar :is(#so-notification-btn,#so-action-btn,.profile .person-mark){width:32px;height:32px;min-width:32px}}body[data-page="settings"] .settings-center-card{appearance:none;display:grid;grid-template-columns:48px minmax(0,1fr) 24px;align-items:center;gap:13px;min-height:112px;padding:18px;text-align:right;cursor:pointer}body[data-page="settings"] .settings-back-btn{flex:0 0 auto}body[data-page="settings"] .settings-section-content>.card{margin:0;width:100%}@media (max-width:700px){body[data-page="settings"] .settings-back-btn{align-self:flex-start}body[data-page="settings"] .settings-center-card{min-height:96px;padding:15px;grid-template-columns:42px minmax(0,1fr) 18px}}body[data-page="settings"] .appearance-policy-note{margin-bottom:16px;padding:14px 16px}body[data-page="settings"] .appearance-policy-note b{display:block;margin-bottom:5px;font-size:13px;font-weight:950}body[data-page="settings"] .appearance-policy-note p{margin:0;font-size:11.5px;line-height:1.8}body[data-page="settings"] .appearance-toggle-field{display:flex;align-items:stretch}body[data-page="settings"] .setting-toggle input{width:18px;height:18px;margin-top:2px}body[data-page="settings"] .users-summary-card{display:grid;gap:5px;padding:16px 18px}body[data-page="settings"] .users-summary-card b{font-size:23px}body[data-page="settings"] .users-summary-card span{font-size:12px}body[data-page="settings"] .users-list-card{padding:16px;margin:0}body[data-page="settings"] .users-table td{vertical-align:middle}@media (max-width:700px){body[data-page="settings"] .users-access-page .settings-section-toolbar>.btn-primary{width:100%}body[data-page="settings"] .users-table thead{display:none}body[data-page="settings"] .users-table, body[data-page="settings"] .users-table tbody, body[data-page="settings"] .users-table tr, body[data-page="settings"] .users-table td{display:block;width:100%}body[data-page="settings"] .users-table tr{margin-bottom:10px;padding:12px}body[data-page="settings"] .users-table td{display:flex;justify-content:space-between;gap:12px;padding:7px 0;text-align:right}}body[data-page="settings"] .special-rules-card{margin-top:14px}body[data-page="settings"] .special-rules-card .card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}body[data-page="settings"] .special-rule-type>.btn{justify-self:start;margin-top:4px}@media (max-width:650px){body[data-page="settings"] .special-rules-card .card-head{align-items:stretch;flex-direction:column}body[data-page="settings"] .special-rules-card .card-head .btn{width:100%}}body[data-page="settings"] .backup-summary-card{display:grid;gap:6px;min-height:112px;padding:16px 18px}body[data-page="settings"] .backup-summary-card>span{font-size:11px}body[data-page="settings"] .backup-summary-card>b{font-size:16px;line-height:1.65}body[data-page="settings"] .backup-summary-card>small{font-size:10.5px;overflow-wrap:anywhere}body[data-page="settings"] .backup-action-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;margin:0}body[data-page="settings"] .backup-action-card h3{margin:0 0 6px}body[data-page="settings"] .backup-action-card p{margin:0;line-height:1.8}body[data-page="settings"] .backup-action-buttons{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}body[data-page="settings"] .backup-list-card{margin:0;padding:16px}body[data-page="settings"] .backup-table td{vertical-align:middle}@media (max-width:850px){body[data-page="settings"] .backup-action-card{align-items:stretch;flex-direction:column}body[data-page="settings"] .backup-action-buttons{justify-content:flex-start}}@media (max-width:700px){body[data-page="settings"] .backup-table thead{display:none}body[data-page="settings"] .backup-table, body[data-page="settings"] .backup-table tbody, body[data-page="settings"] .backup-table tr, body[data-page="settings"] .backup-table td{display:block;width:100%}body[data-page="settings"] .backup-table tr{margin-bottom:10px;padding:12px}body[data-page="settings"] .backup-table td{display:flex;justify-content:space-between;gap:12px;padding:7px 0;text-align:right}}body[data-page="settings"] .integration-summary-card{min-height:112px;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:6px}body[data-page="settings"] .integration-summary-card span{font-size:12px}body[data-page="settings"] .integration-summary-card b{font-size:18px}body[data-page="settings"] .integration-summary-card small{overflow-wrap:anywhere}body[data-page="settings"] .integration-config-card, body[data-page="settings"] .integration-health-card, body[data-page="settings"] .integration-events-card{margin:0}body[data-page="settings"] .integration-events-card td{max-width:360px;white-space:normal;line-height:1.7}@media (max-width:640px){body[data-page="settings"] .integration-summary-card{min-height:92px}body[data-page="settings"] .integration-events-card .table-wrap{overflow:auto}}.audit-filter-card, .audit-list-card{padding:16px}.audit-table td{max-width:270px}.audit-table td:nth-child(6){white-space:normal}.audit-pagination{display:flex;justify-content:center;align-items:center;gap:12px;padding-top:14px}.audit-detail-drawer{position:fixed;inset:0;z-index:1600;pointer-events:none;visibility:hidden}.audit-detail-drawer.open{pointer-events:auto;visibility:visible}.audit-drawer-backdrop{position:absolute;inset:0;opacity:0}.audit-detail-drawer.open .audit-drawer-backdrop{opacity:1}.audit-detail-drawer aside{position:absolute;inset-block:0;right:0;width:min(520px,94vw);transform:translateX(105%);display:flex;flex-direction:column}.audit-detail-drawer.open aside{transform:translateX(0)}.audit-detail-drawer header{display:flex;justify-content:space-between;align-items:center;padding:18px}.audit-detail-drawer header h3{margin:4px 0 0}.audit-drawer-body{padding:18px;overflow:auto;display:grid;gap:18px}.audit-drawer-body dl{display:grid;grid-template-columns:120px 1fr;gap:10px}.audit-drawer-body dd{margin:0}.audit-drawer-body section{padding:14px}@media (max-width:640px){.audit-table th:nth-child(4), .audit-table td:nth-child(4), .audit-table th:nth-child(5), .audit-table td:nth-child(5){display:none}.audit-detail-drawer aside{width:100vw}.audit-drawer-body dl{grid-template-columns:1fr}.audit-drawer-body dt{margin-top:6px}}.fr-filters input, .fr-filters select{min-height:42px;padding:0 12px}.fr-check input{width:18px;height:18px}@media (max-width:720px){.fr-toolbar .btn{width:100%}}.fp-filters input, .fp-filters select, .fp-create input, .fp-create select, .fp-create textarea, .fp-pay-form input, .fp-pay-form select, .fp-pay-form textarea{width:100%;min-height:42px;padding:8px 11px}.fp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fp-form-grid .full, .fp-pay-form .full{grid-column:1/-1}.fp-form-grid textarea, .fp-pay-form textarea{min-height:80px;resize:vertical}.fp-installment-edit button{height:34px;font-size:20px;cursor:pointer}.fp-installment-card{padding:13px}.fp-installment-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.fp-installment-card>header span:first-child{display:block;font-size:12px}.fp-installment-card>header b{display:block;margin-top:3px}.fp-payment-history button{padding:5px 8px;cursor:pointer}.fp-pay-btn{margin-top:10px}.fp-pay-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}@media (max-width:1180px){.fp-filters button{grid-column:auto}}.cl-account-card{padding:16px}.cl-account-card.is-off{opacity:.58}.cl-account-card>strong{display:block;font-size:21px;margin:18px 0}.cl-account-card>strong small{font-size:12px}.cl-filters input, .cl-filters select{min-width:160px}@media (max-width:700px){.cl-filters input, .cl-filters select{width:100%;min-width:0}}.cl-report-filters .field{min-width:170px;flex:1}.cl-report-table{overflow:auto}.cl-report-table>div{display:grid;grid-template-columns:minmax(150px,1.5fr) repeat(5,minmax(105px,1fr));gap:8px;align-items:center;padding:10px;min-width:780px}.cl-report-table .head{font-weight:700}.cl-report-table small{display:block}@media (max-width:640px){.cl-report-actions .btn{flex:1}}.clf-card{padding:14px}.clf-card>div, .clf-card footer{display:flex;justify-content:space-between;gap:10px;align-items:center}.clf-card>div span{font-size:12px;padding:4px 9px}.clf-card>strong{display:block;font-size:20px;margin:10px 0}.clf-card dl{margin:12px 0}.clf-card dl div{display:flex;justify-content:space-between;padding:5px 0}.clf-card dt, .clf-card dd{margin:0;font-size:12px}.clf-card footer{padding-top:10px}.clf-card footer b{font-size:16px}.aj-filters input, .aj-filters select{min-height:38px;padding:0 10px}.aj-badge{display:inline-flex;width:max-content;padding:4px 9px;font-size:12px}.aj-entry-line input, .aj-entry-line select{min-width:0;height:40px;padding:0 8px}.aj-modal .modal-card{max-width:1120px}@media (max-width:1100px){.aj-entry-line input, .aj-entry-line select{grid-column:auto}}.aj-recon-filters input, .aj-recon-filters select{min-width:0;min-height:39px;padding:0 10px}.aj-recon-table{overflow:auto}.aj-recon-badge{display:inline-flex;width:max-content;padding:4px 9px;font-size:12px}@media (max-width:1180px){.aj-recon-filters input{grid-column:1/-1}.aj-recon-filters .btn{justify-self:start}}@media (max-width:1024px){.aj-recon-actions .btn{flex:1}}.aj-migration-actions select, .aj-migration-runbar select{height:40px;padding:0 10px;min-width:210px}.aj-migration-table{overflow:auto}.aj-migration-badge{display:inline-flex;width:max-content;padding:4px 9px;font-size:12px}@media (max-width:1024px){.aj-migration-actions select{min-width:260px}.aj-migration-runbar select{min-width:300px}}.al-filter-panel .field, .al-ledger-filter .field{display:grid;gap:6px}.al-filter-panel input, .al-filter-panel select, .al-ledger-filter input, .al-ledger-filter select{height:40px;padding:0 10px;min-width:0}.al-check input{height:auto;width:16px}.al-tabs{display:flex;gap:6px;padding:5px;width:max-content}.al-tabs button{padding:9px 18px;font-weight:700}.al-report-card{overflow:hidden}.al-table-wrap{overflow:auto}.al-trial-table{min-width:0}.al-ledger-table{min-width:0}@media (max-width:760px){.al-search-field{grid-column:1/-1}.al-tabs{width:100%}.al-tabs button{flex:1}.al-filter-panel>.btn, .al-ledger-filter>.btn{width:100%}}@media (max-width:480px){.al-search-field, .al-check{grid-column:auto}}@media print{.al-hero-actions, .al-filter-panel, .al-tabs, .al-ledger-filter, .mini-action{display:none}.al-table-wrap{overflow:visible}.al-trial-table, .al-ledger-table{min-width:0;font-size:10.5px}}.fs-filters .field{display:grid;gap:6px}.fs-filters input, .fs-filters select{height:40px;padding:0 10px;min-width:0}.fs-check input{height:auto;width:16px}.fs-tabs{display:flex;gap:6px;padding:5px;width:max-content}.fs-tabs button{padding:9px 20px;font-weight:700}.fs-report-card{overflow:hidden}.fs-statement-table, .fs-balance-table{min-width:760px}.fs-balance-table{min-width:0}@media (max-width:760px){.fs-tabs{width:100%}.fs-tabs button{flex:1}.fs-statement-table, .fs-balance-table{min-width:720px}.fs-report-card{overflow:auto}}@media print{.fs-actions, .fs-filters, .fs-tabs{display:none}.fs-statement-table, .fs-balance-table{min-width:0;font-size:10.5px}}.ap-toolbar .field{min-width:260px;margin:0}.ap-period-card{display:grid;gap:6px;text-align:right;padding:14px;cursor:pointer}.ap-period-card small, .ap-period-card em{font-size:12px}.ap-card{padding:16px}.ap-card-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:12px}.ap-card h3{margin:0 0 4px}.ap-note{margin-top:12px;padding:10px}@media (max-width:640px){.ap-toolbar .field{min-width:0}}.ref170-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}.ref170-tabs button{padding:12px 15px;display:flex;align-items:center;justify-content:space-between;font-weight:800;cursor:pointer}.ref170-tabs button b{min-width:31px;height:31px;display:grid;place-items:center}.ref170-toolbar input{width:100%;height:40px;padding:0}.ref170-status button{width:34px;height:34px;display:grid;place-items:center}.ref170-create-form{display:grid;gap:12px}.ref170-form-section{padding:14px}.ref170-form-section>header{margin-bottom:11px}.ref170-form-section>header b{display:block}.ref170-case-search input{width:100%}.ref170-selected{margin-top:9px;padding:10px 12px;display:flex;align-items:center;gap:10px}.ref170-selected>span{width:38px;height:38px;display:grid;place-items:center}.ref170-selected svg{width:19px;height:19px}.ref170-selected>div{flex:1}.ref170-selected b, .ref170-selected small{display:block}.ref170-selected button{padding:7px 10px;cursor:pointer}.ref170-case-card{overflow:hidden}.ref170-case-card header{padding:12px 14px;display:flex;justify-content:space-between}.ref170-case-card header span{font-weight:800}.ref170-case-card dl{margin:0;padding:5px 14px 12px}.ref170-case-card dl>div, .ref170-facts>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0}.ref170-case-card dd{margin:0;font-weight:800}.ref170-reply textarea{min-height:92px}@media (max-width:820px){.ref170-tabs{grid-template-columns:1fr}}.refund172-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.refund172-kpis>div{padding:12px}.refund172-kpis small{display:block;margin-bottom:6px}.refund172-kpis b{font-size:1rem}@media (max-width:850px){.refund172-kpis{grid-template-columns:1fr 1fr}}@media (max-width:520px){.refund172-kpis{grid-template-columns:1fr}}.aging-report-card{padding:20px;overflow:hidden}.aging-filters .field{min-width:0}.aging-filters input, .aging-filters select{height:40px}.aging-search-field{grid-column:span 2}.aging-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.aging-kpis article{padding:15px;display:grid;gap:5px}.aging-kpis article span{font-size:.78rem}.aging-kpis article b{font-size:1.18rem}.aging-priority-strip button{padding:10px 12px;text-align:right;display:grid;gap:3px;cursor:pointer}.aging-bucket-card{padding:12px;text-align:right;display:grid;gap:4px;cursor:pointer}.aging-bucket-card span{font-size:.78rem}.aging-bucket-card small{font-size:.68rem}.aging-detail-card{overflow:hidden}.aging-table-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px}.aging-table-head h3{margin:0 0 3px}.aging-table td small, .aging-party-ranking td small{display:block;margin-top:3px;font-size:.7rem}.aging-type, .aging-bucket-pill, .aging-priority{display:inline-flex;align-items:center;padding:4px 8px;font-size:.7rem;font-weight:700;white-space:nowrap}.aging-modal-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.aging-modal-summary span{padding:10px}@media (max-width:1200px){.aging-kpis{grid-template-columns:repeat(3,1fr)}}@media (max-width:760px){.aging-title, .aging-table-head{display:grid}.aging-search-field{grid-column:1/-1}.aging-kpis{grid-template-columns:1fr 1fr}.aging-table-wrap{overflow-x:auto}.aging-table{min-width:980px}}@media (max-width:460px){.aging-filters, .aging-kpis, .aging-priority-strip, .aging-bucket-grid{grid-template-columns:1fr}}@media print{body.printing-counterparty-aging #sidebar, body.printing-counterparty-aging .topbar, body.printing-counterparty-aging .page-head, body.printing-counterparty-aging .obligations-forms, body.printing-counterparty-aging .installments-card, body.printing-counterparty-aging .counterparty-hub>.grid:not(.aging-kpis){display:none}body.printing-counterparty-aging .aging-filters, body.printing-counterparty-aging .aging-export-actions, body.printing-counterparty-aging .aging-table button{display:none}body.printing-counterparty-aging .aging-table{font-size:9pt}}.cp-view-switch button{padding:9px 15px;cursor:pointer}.cp-view-switch button.active{font-weight:800}.cp-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.cp-kpis article{padding:16px;display:grid;gap:5px}.cp-kpis article b{font-size:21px}.cp-card-head, .cp-tab-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px}.cp-card-head h3, .cp-tab-head h3{margin:3px 0 0}.cp-filter-grid .field{margin:0}.cp-party-person-mark{grid-area:person-mark;width:42px;height:42px;display:grid;place-items:center;font-weight:900}.cp-profile{display:grid;gap:14px;min-width:0}.cp-profile-head{padding:20px;display:grid;grid-template-columns:1fr auto;gap:18px}.cp-profile-identity{display:flex;align-items:center;gap:14px}.cp-profile-person-mark{width:62px;height:62px;display:grid;place-items:center;font-size:24px;font-weight:900}.cp-profile-identity h2{margin:3px 0 4px}.cp-profile-identity p{margin:0}.cp-profile-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-content:start}.cp-profile-kpis{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.cp-profile-kpis>div{padding:12px 14px;display:grid;gap:4px}.cp-profile-kpis span, .cp-profile-kpis small{font-size:12px}.cp-profile-kpis b{font-size:18px}.cp-legacy-note{grid-column:1/-1;padding:10px 13px}.cp-profile-tabs{padding:0;overflow:hidden}.cp-profile-tabs>nav{display:flex;gap:3px;padding:8px 10px;overflow:auto}.cp-profile-tabs>nav button{white-space:nowrap;padding:10px 14px;cursor:pointer}.cp-profile-tabs>nav button.active{font-weight:800}.cp-table td small{display:block;margin-top:3px}.cp-table .cp-row-actions{white-space:nowrap}.cp-badge{display:inline-flex;align-items:center;padding:4px 8px;font-size:11px;font-weight:800}@media (max-width:1200px){.cp-kpis{grid-template-columns:repeat(3,1fr)}.cp-profile-kpis{grid-template-columns:repeat(2,1fr)}}@media (max-width:900px){.cp-profile-head{grid-template-columns:1fr}.cp-profile-actions{justify-content:flex-start}.cp-kpis{grid-template-columns:repeat(2,1fr)}}@media (max-width:620px){.cp-kpis, .cp-profile-kpis, .cp-info-grid{grid-template-columns:1fr}.cp-profile-head{padding:14px}.cp-profile-identity{align-items:flex-start}.cp-profile-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.cp-profile-actions .btn{width:100%}.cp-view-switch button{flex:1}.cp-table{min-width:980px}}.cp-supplier-form{padding-bottom:14px}.cp-source-table{table-layout:fixed;width:100%;min-width:700px}.cp-source-table th, .cp-source-table td{padding:9px 7px;vertical-align:middle}.cp-source-table th{white-space:nowrap;font-size:11px}.cp-source-table td{font-size:11px;overflow:hidden;text-overflow:ellipsis}.cp-source-table td:nth-child(1){width:13%}.cp-source-table td:nth-child(2){width:20%}.cp-source-table td:nth-child(3){width:15%}.cp-source-table td:nth-child(4){width:15%}.cp-source-table td:nth-child(5){width:14%}.cp-source-table td:nth-child(6){width:11%}.cp-source-table td:nth-child(7){width:12%;overflow:visible}.cp-source-table td b, .cp-source-table td small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-source-table .cp-source-date{direction:ltr;text-align:center;white-space:nowrap}.cp-source-table .mini-action{white-space:nowrap;min-width:72px;padding:6px 8px}.cp-source-table .cp-badge{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width:1180px) and (min-width:769px){.cp-source-table{min-width:760px}}body[data-page="reconciliation"] .rec-header-icon-button{width:39px;height:39px;min-width:39px;padding:0;display:grid;place-items:center}body[data-page="reconciliation"] .rec-header-icon-button svg{width:19px;height:19px}body[data-page="reconciliation"] .rec-header-action-menu{top:calc(100% + 8px);left:0;right:auto}body[data-page="reconciliation"] .rec-report-list-card{overflow:visible}body[data-page="reconciliation"] .rec-table-wrap{overflow-x:auto;overflow-y:visible}body[data-page="reconciliation"] .rec-summary-table{display:block;width:100%;min-width:1040px;padding:1px 4px 6px;border-collapse:separate;border-spacing:0}body[data-page="reconciliation"] .rec-summary-table thead, body[data-page="reconciliation"] .rec-summary-table tbody{display:grid;width:100%}body[data-page="reconciliation"] .rec-summary-table tbody{gap:5px}body[data-page="reconciliation"] .rec-summary-table thead tr, body[data-page="reconciliation"] .rec-summary-table .rec-case-row{display:grid;grid-template-columns:minmax(68px,.62fr) minmax(118px,.98fr) minmax(150px,1.22fr) minmax(130px,1.02fr) minmax(128px,1fr) minmax(120px,.92fr) minmax(104px,.78fr) minmax(140px,1.12fr) minmax(142px,1.08fr);align-items:center}body[data-page="reconciliation"] .rec-summary-table thead th{position:static;display:flex;align-items:center;justify-content:center;height:27px;padding:3px 7px;font-size:10.5px;font-weight:900}body[data-page="reconciliation"] .rec-summary-table .rec-case-row, body[data-page="reconciliation"] .rec-summary-table .rec-case-row:nth-child(odd), body[data-page="reconciliation"] .rec-summary-table .rec-case-row:nth-child(even), body[data-page="reconciliation"] .rec-summary-table .rec-case-row[class*="rec-status-"]{position:relative;isolation:isolate;height:61px;min-height:61px;margin:0;padding:0 14px;overflow:hidden}body[data-page="reconciliation"] .rec-summary-table .rec-case-row td, body[data-page="reconciliation"] .rec-summary-table .rec-case-row:nth-child(odd) td, body[data-page="reconciliation"] .rec-summary-table .rec-case-row:nth-child(even) td, body[data-page="reconciliation"] .rec-summary-table .rec-case-row[class*="rec-status-"] td, body[data-page="reconciliation"] .rec-summary-table .rec-case-row:hover td{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%;height:61px;min-height:61px;max-height:61px;padding:0 7px;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.6px;line-height:1.38;text-align:center}body[data-page="reconciliation"] .rec-summary-table .rec-case-row :is(.rec-date-summary-cell,.rec-product-summary-cell,.rec-status-summary-cell)>small{display:none}body[data-page="reconciliation"] .rec-summary-table .rec-case-row :is(.rec-date-summary-cell,.rec-payer-summary-cell,.rec-product-summary-cell,.rec-status-summary-cell,.rec-confidence-summary-cell,.rec-related-summary-cell){flex-direction:row;gap:5px;white-space:nowrap}body[data-page="reconciliation"] .rec-summary-table .rec-case-row :is(b,.rec-friendly-status,.rec-confidence-pill,.rec-money-badge){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page="reconciliation"] .rec-money-badge{white-space:nowrap}body[data-page="reconciliation"] .rec-detail-btn{min-height:31px;height:31px;padding:0 11px;font-size:11px}body[data-page="reconciliation"] .rec-icon-btn, body[data-page="reconciliation"] .rec-action-hint{width:30px;height:30px}body[data-page="reconciliation"] .rec-friendly-status, body[data-page="reconciliation"] .rec-confidence-pill{min-height:28px;display:inline-flex;align-items:center;justify-content:center;padding:3px 9px;font-size:10.5px;font-weight:900}body[data-page="reconciliation"].rec-upload-drawer-open, body[data-page="reconciliation"].rec-technical-drawer-open, body[data-page="reconciliation"].rec-drawer-open{overflow:hidden}body[data-page="reconciliation"] :is(.rec-upload-drawer-header,.rec-drawer-header){min-height:72px;padding:15px 18px}body[data-page="reconciliation"] :is(.rec-upload-drawer-header,.rec-drawer-header) .rec-drawer-close{width:36px;height:36px}body[data-page="reconciliation"] .rec-upload-drawer-footer, body[data-page="reconciliation"] .rec-drawer-footer{position:sticky;left:auto;right:auto;bottom:0;z-index:6;padding:12px 16px}body[data-page="reconciliation"] .rec-drawer-scroll{padding-bottom:16px}body[data-page="reconciliation"] #modal{width:min(680px,calc(100vw - 28px));max-height:88vh;overflow:hidden}body[data-page="reconciliation"] #modal .modal-head{min-height:66px;padding:12px 16px}body[data-page="reconciliation"] #modal .modal-head .icon-btn{width:36px;height:36px}body[data-page="reconciliation"] #modal .modal-body{overflow:auto;padding:20px 22px}body[data-page="reconciliation"] #modal .modal-actions{min-height:64px;padding:11px 18px}body[data-page="reconciliation"] #modal .modal-actions .btn{min-height:40px}@media (max-width:1180px){body[data-page="reconciliation"] .rec-summary-table{min-width:1000px}}@media (max-width:900px){body[data-page="reconciliation"] :is(.rec-upload-drawer,.rec-technical-drawer,#rec-case-drawer-host .rec-case-drawer){width:100vw;max-width:100vw;right:0;left:0}}@media (max-width:768px){body[data-page="reconciliation"] .rec-case-table-wrap{height:auto;max-height:none;overflow:visible}body[data-page="reconciliation"] .rec-summary-table{display:block;min-width:0;width:100%;padding:0;border-spacing:0}body[data-page="reconciliation"] .rec-summary-table thead{display:none}body[data-page="reconciliation"] .rec-summary-table tbody{display:grid;gap:8px}body[data-page="reconciliation"] .rec-summary-table .rec-case-row, body[data-page="reconciliation"] .rec-summary-table .rec-case-row:nth-child(odd), body[data-page="reconciliation"] .rec-summary-table .rec-case-row:nth-child(even){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;height:auto;min-height:0;padding:0;overflow:hidden}body[data-page="reconciliation"] .rec-summary-table .rec-case-row td, body[data-page="reconciliation"] .rec-summary-table .rec-case-row:nth-child(odd) td, body[data-page="reconciliation"] .rec-summary-table .rec-case-row:nth-child(even) td, body[data-page="reconciliation"] .rec-summary-table .rec-case-row[class*="rec-status-"] td{display:grid;align-content:center;min-width:0;width:auto;max-width:none;height:auto;min-height:58px;max-height:none;padding:8px 10px;text-align:right;direction:rtl}body[data-page="reconciliation"] .rec-summary-table .rec-case-row td:nth-child(1){grid-column:1/-1;min-height:44px}body[data-page="reconciliation"] .rec-summary-table .rec-case-row td:nth-child(3){grid-column:1/-1}body[data-page="reconciliation"] .rec-summary-table .rec-case-row td:nth-child(8){grid-column:1/-1}body[data-page="reconciliation"] .rec-summary-table .rec-case-row td:nth-child(9){grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:7px}}@media (max-width:560px){body[data-page="reconciliation"] .rec-upload-drawer-footer, body[data-page="reconciliation"] .rec-drawer-footer{display:grid;grid-template-columns:1fr}body[data-page="reconciliation"] .rec-upload-drawer-footer .btn, body[data-page="reconciliation"] .rec-drawer-footer .btn{width:100%}body[data-page="reconciliation"] .rec-summary-table .rec-case-row{grid-template-columns:1fr}body[data-page="reconciliation"] .rec-summary-table .rec-case-row td{grid-column:1/-1}}@media (max-width:820px){body[data-page="reconciliation"] .rec-header-icon-button{width:34px;height:34px;min-width:34px}body[data-page="reconciliation"] .rec-header-icon-button svg{width:17px;height:17px}}@media (max-width:390px){body[data-page="reconciliation"] .rec-header-icon-button{width:31px;height:31px;min-width:31px}}.mgmt-alert, .mgmt-solidity-row, .mgmt-aging-row{width:100%;text-align:right;cursor:pointer}.mgmt-alert{display:grid;grid-template-columns:30px 1fr;gap:9px;padding:10px}.mgmt-alert>span{display:grid;place-items:center;width:28px;height:28px;font-weight:950}.mgmt-alert b, .mgmt-alert p, .mgmt-alert small{display:block}.mgmt-alert b{font-size:12px}.mgmt-alert p{margin:3px 0;font-size:10.5px;line-height:1.6}.mgmt-alert small{font-weight:800}.mgmt-pill{padding:4px 8px;font-size:10.5px;font-weight:900}@media (min-width:901px){body[data-page]:not([data-page="reconciliation"]) :where(.page-head,.page-actions,.toolbar,.filter-actions,.card-actions,.modal-actions){min-width:0}body[data-page]:not([data-page="reconciliation"]) :where(.page-actions,.toolbar,.filter-actions,.card-actions){flex-wrap:wrap}body[data-page]:not([data-page="reconciliation"]) :where(.grid,.form-grid,.metrics-grid,.stats-grid,.dashboard-grid,.management-dashboard-grid)>*{min-width:0}body[data-page]:not([data-page="reconciliation"]) :where(.table-wrap,.table-responsive,.data-table-wrap,.table-container){max-width:100%;overflow-x:auto;overflow-y:visible}body[data-page]:not([data-page="reconciliation"]) :where(.modal,.drawer,.side-drawer,.panel-drawer){max-width:calc(100vw - 32px)}body[data-page]:not([data-page="reconciliation"]) :where(input,select,textarea,button,.btn){max-width:100%}body[data-page]:not([data-page="reconciliation"]) :where(h1,h2,h3,h4,p,td,th,.field,.card,.panel){overflow-wrap:anywhere}}@media (min-width:901px) and (max-width:1280px){body[data-page]:not([data-page="reconciliation"]) .profile{margin-right:0;min-width:0}body[data-page]:not([data-page="reconciliation"]) .profile>div:not(.person-mark){min-width:0}body[data-page]:not([data-page="reconciliation"]) :where(.page-head,.employee-list-head,.card-head,.section-head){gap:12px}body[data-page]:not([data-page="reconciliation"]) :where(.grid-4,.obligation-kpis.grid-4,.management-dashboard-metrics){grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:901px) and (max-width:1100px){body[data-page]:not([data-page="reconciliation"]) .top-date-pill{padding-inline:9px}body[data-page]:not([data-page="reconciliation"]) .top-date-pill small{display:none}body[data-page]:not([data-page="reconciliation"]) .profile small{display:none}body[data-page]:not([data-page="reconciliation"]) :where(.page-head,.card-head,.section-head){align-items:flex-start}body[data-page]:not([data-page="reconciliation"]) :where(.grid-3,.management-dashboard-grid,.forms-grid,.summary-grid){grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page]:not([data-page="reconciliation"]) :where(.modal-body,.drawer-body){padding-inline:16px}}@media (min-width:901px) and (max-width:1024px){body[data-page]:not([data-page="reconciliation"]) :where(.grid-3,.management-dashboard-grid,.forms-grid,.summary-grid){grid-template-columns:1fr}body[data-page]:not([data-page="reconciliation"]) :where(.modal){width:min(720px,calc(100vw - 28px));max-height:calc(100vh - 28px)}}body.tiam-components-enabled[data-page]:not([data-page="reconciliation"]) :where(.drawer-head,.drawer-header,.panel-drawer-head){position:sticky;top:0;z-index:3}@layer tiam-login-v145{.tiam-login-form-zone{direction:rtl;width:100%;max-width:520px;justify-self:center;display:flex;flex-direction:column;justify-content:center;align-items:stretch;padding:clamp(20px,3vw,38px)}.tiam-login-form-card-head{margin-bottom:26px}.tiam-login-form-kicker{display:inline-flex;padding:6px 11px;font-size:10.5px;font-weight:900}.tiam-login-form-card-head h2{margin:13px 0 5px;font-size:27px;font-weight:950;line-height:1.65}.tiam-login-form-card-head p{margin:0;font-size:11.5px;line-height:1.9}.tiam-login-form{width:100%;display:grid;gap:19px;padding:0}.tiam-login-field{display:grid;gap:8px;font-size:11.5px;font-weight:850}.tiam-login-input-shell{min-height:56px}.tiam-login-input-shell>svg{right:17px;width:19px;height:19px;opacity:.86}.tiam-login-input-shell input{height:54px;padding:0 50px;font-size:13.5px;font-weight:720}.tiam-login-security-note{margin:0;display:flex;align-items:center;justify-content:center;gap:6px;font-size:10.5px}.tiam-login-security-note span{display:grid;place-items:center;width:18px;height:18px;font-weight:950}@media (max-width:1120px){.tiam-login-form-zone{padding:24px;margin-top:0}}@media (max-width:900px){.tiam-login-form-zone{max-width:600px;margin:0 auto;padding:30px 14px}}@media (max-width:560px){.tiam-login-form-zone{padding:22px 8px}.tiam-login-form-card-head{margin-bottom:20px}.tiam-login-form-card-head h2{font-size:23px}}}.tiam-component-tooltip.tiam-v226-tooltip{position:fixed;z-index:var(--tiam-z-tooltip,2100);inset:0 auto auto 0;max-width:260px;padding:8px 11px;text-align:center;pointer-events:none;direction:rtl;white-space:normal}body.tiam-header-system-v232 #page-content .tiam-header-actions, body.tiam-header-system-v232 #page-content .v115-table-meta{min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;position:relative;z-index:2}body.tiam-header-system-v232 #page-content .tiam-header-action, body.tiam-header-system-v232 #page-content .tiam-header:not(.tiam-header--page) :is(.btn,.btn-soft,.btn-muted,.icon-btn,button,a)[class]{min-height:34px;height:auto;max-width:100%;padding:7px 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:10.5px;font-weight:750;line-height:1.4;white-space:nowrap;cursor:pointer}body.tiam-header-system-v232 #page-content .tiam-header-action--icon, body.tiam-header-system-v232 #page-content .tiam-header:not(.tiam-header--page) :is(.icon-btn,.rec-header-icon-button,.v115-filter-collapse){width:34px;height:34px;min-width:34px;padding:0}body.tiam-header-system-v232 #page-content .v115-status-board>.tiam-header, body.tiam-header-system-v232 #page-content .card>.tiam-header{margin:0;width:100%}body:not(.auth-active) header.topbar #customer-call-top-btn{display:grid;place-items:center;position:relative;width:34px;height:34px;min-width:34px;padding:0;margin:0}body:not(.auth-active) header.topbar #customer-call-top-btn svg{width:17px;height:17px}.customer-call-drawer{position:fixed;z-index:167;inset-block:0;right:0;width:min(520px,calc(100vw - 30px));display:flex;flex-direction:column;transform:translateX(104%);visibility:hidden;overflow:hidden}.customer-call-drawer-head{height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;}.customer-call-drawer-head span{display:block;font-size:10.5px;font-weight:800;margin-bottom:2px}.customer-call-drawer-head h2{margin:0;font-size:15px;line-height:1.35}.customer-call-search-wrap input{width:100%;height:42px;padding:0 42px;font-size:13px}.customer-call-spinner{width:28px;height:28px;margin:0 auto 12px}.customer-call-badge{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;font-size:10.5px;font-weight:850;white-space:nowrap}.customer-call-finalize select{min-width:0;height:34px;padding:0 8px;font-size:11px}.customer-call-finalize button{padding:0 12px;font-size:11px;font-weight:800;cursor:pointer}.customer-call-table-wrap{overflow:auto}.customer-call-table{width:100%;min-width:610px;border-collapse:separate;border-spacing:0;}.customer-call-table th{position:sticky;top:0;font-size:10.5px;font-weight:850;padding:8px 7px;text-align:right}.customer-call-table td{padding:8px 7px;vertical-align:middle}.customer-call-table .cc-ltr{direction:ltr;unicode-bidi:isolate;white-space:nowrap}@media (max-width:900px){.customer-call-drawer{width:min(500px,calc(100vw - 18px))}}/* TIAM v266 — root Solid Surface component foundation.
   This replaces the former flat/raw reset instead of layering over it. */body *{text-shadow:none}.ambient, .tsl151-bubbles, .tiam-login-orbits{display:none}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}button, .btn, [role="button"], a.btn{
  min-height:36px;padding:7px 13px;border:1px solid var(--tiam-surface-border);border-radius:var(--tiam-surface-pill);
  background:var(--tiam-surface-surface);color:var(--tiam-surface-ink);box-shadow:var(--tiam-surface-shadow);
  text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;
  
  transition:transform 170ms var(--tiam-ease-press),box-shadow 180ms var(--tiam-ease-standard),border-color 150ms ease,opacity 150ms ease
}body:not(.auth-active) button:hover, body:not(.auth-active) .btn:hover, body:not(.auth-active) [role="button"]:hover, body:not(.auth-active) a.btn:hover{background:var(--tiam-surface-surface);border-color:var(--tiam-surface-border-strong);transform:none;box-shadow:var(--tiam-surface-shadow-hover)}body:not(.auth-active) button:active, body:not(.auth-active) .btn:active, body:not(.auth-active) [role="button"]:active{background:var(--tiam-surface-surface);transform:none;box-shadow:var(--tiam-surface-shadow-pressed)}button:disabled, .btn:disabled, [aria-disabled="true"]{opacity:.52;cursor:not-allowed;transform:none}.btn-primary, .btn-success, .btn-muted, .btn-soft, .btn-outline, .customer-call-action, .tiam-login-submit{background:var(--tiam-surface-surface);border-color:var(--tiam-surface-border);color:var(--tiam-surface-ink)}.btn-danger{background:#fff;border-color:rgba(255,255,255,.78);color:#8a1f35}.icon-btn,.customer-call-top-btn,.customer-call-close,.customer-call-search-clear,.tiam-login-password-toggle{width:36px;min-width:36px;height:36px;min-height:36px;padding:0}input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea{
  width:100%;min-height:42px;padding:8px 14px;border:1px solid var(--tiam-surface-border);border-radius:var(--tiam-surface-pill);
  background:var(--tiam-surface-surface);color:var(--tiam-surface-ink);box-shadow:var(--tiam-surface-shadow);outline:none;
  
  transition:transform 150ms ease,box-shadow 170ms ease,border-color 150ms ease
}select{appearance:none;-webkit-appearance:none;padding-left:40px;background-image:#fff;background-position:left 18px center,left 12px center,center;background-size:6px 6px,6px 6px,100% 100%;background-repeat:no-repeat}select option{background:#e6f2fb;color:#163762}textarea{resize:vertical;border-radius:24px;line-height:1.8;}body:not(.auth-active) input:hover, body:not(.auth-active) select:hover, body:not(.auth-active) textarea:hover{transform:none;border-color:var(--tiam-surface-border-strong);box-shadow:var(--tiam-surface-shadow-hover)}body:not(.auth-active) input:focus, body:not(.auth-active) select:focus, body:not(.auth-active) textarea:focus, body:not(.auth-active) button:focus-visible, body:not(.auth-active) a:focus-visible, body:not(.auth-active) [tabindex]:focus-visible{outline:none;border-color:rgba(85,151,216,.60);box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 0 0 3px rgba(239,249,255,.92),0 0 0 6px rgba(68,136,207,.16),0 12px 22px rgba(56,105,162,.11)}.field, .form-field, .input-group, .filter-field, .form-group, .control-group{display:grid;gap:6px}.field label, .form-field label{font-size:12px;font-weight:800;color:rgba(22,55,98,.78)}.card, .panel, .section-card, .form-card, .summary-box, .metric-card, .widget-card, .customer-call-result, .customer-call-now{
  background:var(--tiam-surface-surface);border:1px solid var(--tiam-surface-border);border-radius:var(--tiam-surface-radius);box-shadow:var(--tiam-surface-shadow);
  }.card, .panel, .section-card, .form-card{padding:14px}.card:hover, .panel:hover, .customer-call-result:hover{box-shadow:var(--tiam-surface-shadow-hover)}.data-table, table{width:100%;background:transparent;border-collapse:separate;border-spacing:0 8px}.data-table thead th, table thead th{padding:8px 10px;border:0;background:rgba(233,245,253,.40);color:#163762;font-weight:850;white-space:nowrap}.data-table tbody tr, table tbody tr{background:rgba(239,248,255,.30);border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 7px 15px rgba(48,94,143,.08);transition:transform 150ms ease,box-shadow 170ms ease}.data-table tbody tr:hover, table tbody tr:hover{transform:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 12px 24px rgba(48,94,143,.13)}.data-table td, table td{padding:9px 10px;border:0;background:transparent;color:#163762;vertical-align:middle}.data-table tbody tr td:first-child, table tbody tr td:first-child{border-radius:0 18px 18px 0}.data-table tbody tr td:last-child, table tbody tr td:last-child{border-radius:18px 0 0 18px}.data-table tbody tr:nth-child(even) td, table tbody tr:nth-child(even) td{background:transparent}.badge, [class*="badge"], .status-badge, [class*="status"]{box-shadow:none}.badge, .status-badge, .customer-call-badge, .fp-status, .aj-badge{display:inline-flex;align-items:center;min-height:23px;padding:3px 9px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(239,248,255,.34);color:#163762;font-size:11px;white-space:nowrap}.is-green, .green, .success, .is-success{color:var(--ui-success)}.is-red, .red, .danger, .is-danger, .text-red{color:var(--ui-danger)}.is-amber, .warning, .warn, .is-warning{color:var(--ui-warning)}.is-blue, .info, .is-info{color:var(--ui-info)}.nav-item, .side-nav-trigger{width:100%;justify-content:flex-start;margin-bottom:4px;background:rgba(239,248,255,.16);border-color:rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}.nav-item.active, .side-nav-trigger[aria-expanded="true"]{background:rgba(239,248,255,.42);border-color:rgba(255,255,255,.72);box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 8px 16px rgba(48,94,143,.11)}.side-nav-panel{display:none;padding-right:10px}.side-nav-group.is-open .side-nav-panel, .side-nav-trigger[aria-expanded="true"]+.side-nav-panel{display:block}.top-date-pill, .profile{padding:4px 10px;border:1px solid var(--tiam-surface-border);border-radius:var(--tiam-surface-pill);background:var(--tiam-surface-surface);box-shadow:var(--tiam-surface-shadow);}.profile-logout{display:none}.customer-call-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px;margin-bottom:8px}.customer-call-result-main{min-width:0}.customer-call-result b, .customer-call-result small{display:block}.customer-call-history-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.customer-call-customer{flex:1}.customer-call-table{font-size:12px}.customer-call-state{min-height:220px;display:grid;place-items:center;text-align:center}.customer-call-finalize{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.toast-stack{position:fixed;left:16px;bottom:16px;z-index:300;display:grid;gap:8px}.toast, .notification-toast{max-width:360px;padding:11px 14px;background:var(--tiam-surface-surface-strong);border:1px solid var(--tiam-surface-border);border-radius:18px;box-shadow:var(--tiam-surface-shadow-hover);}.loading{display:flex;align-items:center;justify-content:center;gap:10px;}.spinner{width:24px;height:24px;border:2px solid rgba(72,112,151,.22);border-top-color:#315f91;border-radius:50%;animation:ui-spin .8s linear infinite}@keyframes ui-spin{to{transform:rotate(360deg)}}.tiam-login-brand-copy p, .tiam-login-brand-copy span, .tiam-login-capabilities, .tiam-login-security-note, .tiam-login-form-card-head p, .section-kicker, .tiam-header-eyebrow, .tiam-header-subtitle{display:none}.tiam-login-brand-copy h1{font-size:18px;margin:14px 0 0}.tiam-login-form-card-head h2{margin-bottom:18px}.tiam-login-input-shell{display:flex;align-items:center;gap:8px}.tiam-login-input-shell>svg{width:18px}.inline-input{min-width:140px;width:100%;padding:7px;text-align:center}[class*="hero"]{min-height:0;background:var(--tiam-surface-surface);border:1px solid var(--tiam-surface-border);border-radius:var(--tiam-surface-radius);box-shadow:var(--tiam-surface-shadow);filter:none;}/* v235: functional customer-call states retained after the raw UI reset. */.customer-call-drawer{transition:transform .15s ease,visibility 0s linear .15s}.customer-call-drawer.is-open{transition-delay:0s}.customer-call-overlay{transition:opacity .15s ease,visibility 0s linear .15s}.customer-call-overlay.is-open{transition-delay:0s}.customer-call-search-wrap>svg{transform:none;}.customer-call-spinner{border:3px solid #d9dde1;border-top-color:#4d5964;border-radius:50%;animation:customer-call-spin .75s linear infinite}.customer-call-badge[data-status="answered"]{background:#e8f4ec;border-color:#9fc6ad;color:#205d37}.customer-call-badge[data-status="no_answer"]{background:#fff1e3;border-color:#dfb27e;color:#88450f}.customer-call-badge[data-status="busy"]{background:#fff6d8;border-color:#d5bc67;color:#705500}.customer-call-badge[data-status="unreachable"], .customer-call-badge[data-status="unknown"]{background:#f0f1f2;border-color:#b7bdc3;color:#4f5962}.customer-call-badge[data-status="failed"]{background:#f9e9ea;border-color:#d7a0a4;color:#8b2530}.customer-call-badge[data-status="cancelled"]{background:#f1ebf6;border-color:#bca6ca;color:#5e3b73}.customer-call-badge[data-status="dial_requested"], .customer-call-badge[data-status="in_progress"]{background:#eaf0f8;border-color:#9eb2cc;color:#284f7d}@keyframes customer-call-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.customer-call-drawer, .customer-call-overlay{transition:none}.customer-call-spinner{animation-duration:1.2s}}/* TIAM v236 — compact components without changing behavior. */.card{ padding: 11px; }.card-pad{ padding: 12px; }.card-head{ min-height: 30px; margin-bottom: 8px; gap: 8px; }.card-head h2, .card-head h3, .card-head h4{ margin: 0; }.card-head small{ line-height: 1.45; }.page-actions, .card-actions, .toolbar-actions{ gap: 5px; flex-wrap: nowrap; }.btn{  padding: 6px 11px; }.btn-sm{  padding: 4px 9px; }.icon-btn{ width: 34px; height: 34px; }.field{ gap: 4px; }.field label{ margin-bottom: 0; }input, select, textarea{ min-height: 36px; padding: 7px 9px; }textarea{ min-height: 76px; }.form-grid{ gap: 9px; }.ui-filter-toggle{ width: 100%; min-height: 34px; margin: 0 0 7px; padding: 6px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--border); background: var(--ui-surface); color: var(--ui-text); border-radius: var(--ui-radius); cursor: pointer; }.ui-filter-toggle span{ font-weight: 700; }.ui-filter-toggle b{ margin-inline-start: auto; min-width: 20px; padding: 1px 6px; border: 1px solid var(--border); border-radius: 999px; font-size: 11px; }.ui-filter-toggle i{ font-style: normal; color: var(--ui-muted); }.ui-filter-panel:not(.is-open){ display: none !important; }.ui-filter-panel.is-open{ margin-bottom: 9px; }.ui-overflow-menu{ position: relative; display: inline-flex; }.ui-overflow-menu > summary{ list-style: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--ui-radius); background: var(--ui-surface); cursor: pointer; font-weight: 800; letter-spacing: 1px; }.ui-overflow-menu > summary::-webkit-details-marker{ display: none; }.ui-overflow-menu-list{ position: absolute; z-index: 1200; top: calc(100% + 5px); left: 0; min-width: 160px; padding: 5px; display: grid; gap: 3px; border: 1px solid var(--border); background: var(--ui-surface); box-shadow: 0 6px 16px rgba(0,0,0,.12); }.ui-overflow-menu-list > button, .ui-overflow-menu-list > a{ width: 100%; justify-content: flex-start; white-space: nowrap; }.data-table th, .data-table td, .ui-compact-table th, .ui-compact-table td{ padding: 7px 8px; line-height: 1.45; vertical-align: middle; }.data-table thead th, .ui-compact-table thead th{ position: sticky; top: 0; z-index: 3; background: var(--ui-surface-alt); }.data-table td small, .ui-compact-table td small{ display: block; margin-top: 1px; line-height: 1.35; }.table-wrap{ max-height: min(68vh, 720px); overflow: auto; }.kpi, .summary-box, [class*="-stat-card"], [class*="-summary-card"]{ min-height: 68px; padding: 9px 10px; }.kpi b, .summary-box b{ margin-top: 3px; }.ui-summary-strip{ align-items: stretch; }.ui-summary-strip > *{ min-width: 0; }.empty, .ui-compact-empty{ min-height: 0; padding: 18px 10px; }.loading{ min-height: 90px; padding: 16px; }.pagination, .ui-compact-pagination{ min-height: 36px; padding: 6px 0; gap: 4px; }.pagination button{ min-width: 30px; height: 30px; padding: 3px 7px; }.pagination small{ margin-inline-start: 5px; white-space: nowrap; }.modal{ max-height: 88vh; }.modal-body{ padding: 12px; }.modal-actions{ padding: 8px 12px; gap: 6px; }.customer-call-drawer-head{ min-height: 48px; padding: 8px 11px; }.customer-call-content{ padding: 8px 10px 12px; }.note-box, .warning, .alert, .danger-note{ padding: 9px 10px; }/* TIAM v237 — direct component density rules. */body.ui-compact-ready .section-kicker, body.ui-compact-ready .page-head p{display:none!important}body.ui-compact-ready .card, body.ui-compact-ready .ui-compact-surface{padding:8px}body.ui-compact-ready .card-head{min-height:26px;margin-bottom:5px;gap:5px}body.ui-compact-ready .card-head>small:not([data-keep-copy="1"]){display:none}body.ui-compact-ready .btn{min-height:31px;padding:4px 9px;font-size:11.5px}body.ui-compact-ready .btn-sm{min-height:27px;padding:3px 7px;font-size:10.5px}body.ui-compact-ready input, body.ui-compact-ready select, body.ui-compact-ready textarea{min-height:33px;padding:5px 8px;font-size:11.5px}body.ui-compact-ready textarea{min-height:62px}body.ui-compact-ready .form-grid{gap:7px}body.ui-compact-ready .field{gap:3px}body.ui-compact-ready .field label{font-size:10.5px}body.ui-compact-ready .ui-filter-toggle{min-height:31px;margin:0 0 5px;padding:4px 8px;font-size:11.5px}body.ui-compact-ready .ui-filter-panel:not(.is-open){display:none!important}body.ui-compact-ready .ui-filter-panel.is-open{margin-bottom:6px;padding:7px!important}body.ui-compact-ready .ui-overflow-menu>summary{width:31px;height:31px}body.ui-compact-ready .ui-overflow-menu-list{min-width:150px;padding:4px;gap:2px}body.ui-compact-ready .data-table th, body.ui-compact-ready .data-table td, body.ui-compact-ready .ui-compact-table th, body.ui-compact-ready .ui-compact-table td{padding:5px 7px;line-height:1.3;font-size:10.5px}body.ui-compact-ready .data-table tbody tr, body.ui-compact-ready .ui-compact-table tbody tr{height:36px}body.ui-compact-ready .kpi, body.ui-compact-ready .summary-box, body.ui-compact-ready [class*="-stat-card"], body.ui-compact-ready [class*="-summary-card"]{min-height:56px;padding:6px 8px}body.ui-compact-ready .ui-summary-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:6px}body.ui-compact-ready .empty, body.ui-compact-ready .ui-compact-empty{min-height:0;padding:11px 8px;font-size:11px}body.ui-compact-ready .loading{min-height:68px;padding:10px}body.ui-compact-ready .pagination, body.ui-compact-ready .ui-compact-pagination{min-height:31px;padding:4px 0;gap:3px}body.ui-compact-ready .pagination button{min-width:27px;height:27px;padding:2px 6px}body.ui-compact-ready .note-box, body.ui-compact-ready .warning, body.ui-compact-ready .alert, body.ui-compact-ready .danger-note{padding:7px 8px;font-size:10.5px}body.ui-compact-ready .modal-body{padding:9px}body.ui-compact-ready .modal-actions{padding:6px 9px;gap:4px}body.ui-compact-ready .customer-call-drawer{width:min(480px,calc(100vw - 28px))}body.ui-compact-ready .customer-call-drawer-head{min-height:46px;padding:7px 10px}body.ui-compact-ready .customer-call-content{padding:7px 9px 10px}/* TIAM v237 — final density corrections after browser measurement. */body.ui-compact-ready .page-head.ui-title-collapsed{height:auto!important;min-height:38px!important;padding:5px 7px!important;margin-bottom:5px!important}body.ui-compact-ready .ui-status-compact{height:auto!important;min-height:0!important}body.ui-compact-ready .ui-status-compact{padding:5px!important}/* TIAM v238 — icon-only logout and non-nested table scrolling. */.topbar-logout{order:999;flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid var(--ui-border);background:var(--tiam-surface-surface);color:#333;cursor:pointer}.topbar-logout.hidden{display:none!important}.topbar-logout svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.topbar-logout:hover{background:#f0f0f0;border-color:#bdbdbd}.topbar-logout:focus-visible{outline:2px solid #555;outline-offset:2px}.logout-confirm-message{margin:0;padding:8px 2px;font-size:13px;line-height:1.9}body:not(.auth-active) header.topbar .topbar-logout{display:grid;place-items:center}.modal-backdrop:not(.hidden), .customer-call-overlay.is-open{overscroll-behavior:contain}/* TIAM v239 — reliable notification center. */#so-notification-btn.has-error{border-color:#b42318!important;color:#b42318!important}/* TIAM v239.1 — show both notification entry points consistently. */body:not(.auth-active) header.topbar :is(#so-notification-btn,#so-action-btn){display:grid!important}#so-action-btn.has-items{font-weight:700}/* TIAM v240 — sales manager operational workspace. *//* v242 — internal customer ticket drawer */#internal-ticket-btn{position:relative}#internal-ticket-btn>svg{width:18px;height:18px}#internal-ticket-btn>svg use{pointer-events:none}#internal-ticket-count{position:absolute;inset-inline-start:-5px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#b42318;color:#fff;border:2px solid var(--surface,#fff);font-size:10.5px;line-height:13px;text-align:center;font-style:normal}#internal-ticket-btn.has-unread{border-color:#b42318}/* v243: private three-digit employee phone account */.employee-phone-account-field{max-width:220px}.employee-phone-account-field input{width:92px;max-width:100%;letter-spacing:.16em;text-align:center;font-variant-numeric:tabular-nums}.employee-phone-account-field small{display:block;margin-top:4px;color:var(--text-muted,#667085);font-size:11px}.customer-call-account-code{font-size:.86em;font-weight:500;color:var(--text-muted,#667085);direction:ltr;unicode-bidi:isolate}


/* TIAM v328 root safeguards — desktop/laptop/restore-down */
.page-content{min-width:0}.page-content>*{max-width:100%}.table-wrap,.table-responsive,.data-table-wrap,.table-container{max-width:100%;min-width:0;overscroll-behavior-inline:contain}.data-table{max-width:100%}.data-table th,.data-table td{line-height:1.55}.btn,.icon-btn,button{font-family:inherit}.btn{min-height:36px;height:auto;line-height:1.35;white-space:nowrap}.btn-sm{min-height:32px}.modal,.drawer,.side-drawer{max-width:calc(100vw - 28px)}.modal-body{min-width:0}.modal-actions{flex-wrap:wrap}.form-grid>*{min-width:0}@media (min-width:901px) and (max-width:1280px){.form-grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.card-head,.page-head,.section-head{min-width:0;gap:10px}.card-head>*:first-child,.page-head>*:first-child,.section-head>*:first-child{min-width:0}}@media (min-width:901px) and (max-width:1100px){.form-grid,.form-grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.page-actions,.card-actions,.filter-actions{flex-wrap:wrap}.modal{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px)}}


/* TIAM v328 — canonical density, overflow and accounting/allocation components */
:where(.btn,.btn-sm,.mini-action,.icon-action){box-sizing:border-box;max-width:100%;font-family:inherit;line-height:1.25}
:where(.btn,.btn-sm){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.filter-actions,.form-footer,.page-actions,.card-head>div:last-child){min-width:0;flex-wrap:wrap}
:where(.table-wrap)[data-v328-fit="1"]{width:100%;max-width:100%;overflow-x:visible}
:where(.data-table) th,:where(.data-table) td{max-width:360px;overflow-wrap:anywhere}
.v328-accounting-report-card{overflow:visible}.v328-accounting-report-card>.card-head{gap:12px}.v328-accounting-report-card>.card-head>div{min-width:0}.v328-accounting-table{width:100%;min-width:0!important;table-layout:fixed}.v328-accounting-table th:nth-child(1){width:12%}.v328-accounting-table th:nth-child(2){width:9%}.v328-accounting-table th:nth-child(3){width:18%}.v328-accounting-table th:nth-child(4){width:14%}.v328-accounting-table th:nth-child(5){width:17%}.v328-accounting-table th:nth-child(6){width:auto}.v328-accounting-table th:nth-child(7){width:116px}.v328-accounting-table td{white-space:normal!important;vertical-align:middle}.v328-accounting-table td small{display:block;margin-top:3px;color:#6d8194;font-size:10.5px;line-height:1.45}.accounting-date-cell b,.accounting-amount-cell b{white-space:nowrap}.accounting-source-cell,.accounting-related-cell{line-height:1.5}.accounting-description-cell{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55;text-align:right!important}.accounting-actions-cell{overflow:visible!important}.v328-accounting-actions{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}.v328-accounting-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v328-accounting-detail>div{min-width:0;padding:11px 12px;border:1px solid #dce6ee;border-radius:12px;background:#f8fbfd}.v328-accounting-detail small,.v328-accounting-detail b{display:block}.v328-accounting-detail small{color:#657b8e;font-size:10.5px}.v328-accounting-detail b{margin-top:4px;color:#173f61;font-size:12px;overflow-wrap:anywhere}.v328-accounting-detail .is-full{grid-column:1/-1}.v328-accounting-detail p{margin:5px 0 0;line-height:1.8;color:#334b60}
.v328-allocation-history{display:grid;gap:12px}.v328-allocation-history-card{border:1px solid #d9e4ec;border-radius:16px;background:#fff;overflow:hidden}.v328-allocation-history-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;background:#f7fafc;border-bottom:1px solid #e1e9ef}.v328-allocation-history-card>header small,.v328-allocation-history-card>header b{display:block}.v328-allocation-history-card>header small{font-size:10.5px;color:#6b8092}.v328-allocation-history-card>header b{margin-top:3px;color:#173f61}.v328-allocation-total{text-align:left}.v328-allocation-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.v328-allocation-sections>section{min-width:0;padding:13px 15px}.v328-allocation-sections>section+section{border-right:1px solid #e4ebf1}.v328-allocation-sections h4{margin:0 0 9px;color:#31516a;font-size:11px}.v328-allocation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.v328-allocation-grid>span{min-width:0;padding:8px 9px;border-radius:10px;background:#f6f9fb}.v328-allocation-grid small,.v328-allocation-grid b{display:block}.v328-allocation-grid small{color:#6c8193;font-size:10.5px;line-height:1.45}.v328-allocation-grid b{margin-top:3px;color:#173f61;font-size:10.5px;overflow-wrap:anywhere}.v328-allocation-history-card>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;border-top:1px solid #e4ebf1;background:#fbfcfd}.v328-icon-action.is-danger{color:#9d3833;border-color:#e8b7b2;background:#fff2f1}
@media(max-width:1280px){.v328-accounting-table th:nth-child(5),.v328-accounting-table td:nth-child(5){display:none}.v328-accounting-table th:nth-child(3){width:22%}.v328-accounting-table th:nth-child(6){width:auto}.v328-allocation-sections{grid-template-columns:1fr}.v328-allocation-sections>section+section{border-right:0;border-top:1px solid #e4ebf1}}
@media(max-width:1080px){.v328-accounting-table th:nth-child(6),.v328-accounting-table td:nth-child(6){display:none}.v328-accounting-table th:nth-child(1){width:18%}.v328-accounting-table th:nth-child(2){width:13%}.v328-accounting-table th:nth-child(3){width:27%}.v328-accounting-table th:nth-child(4){width:auto}.v328-accounting-detail{grid-template-columns:1fr}.v328-accounting-detail .is-full{grid-column:auto}.v328-allocation-grid{grid-template-columns:1fr}.v328-allocation-history-card>header{align-items:flex-start}.v328-allocation-total{max-width:55%}}


/* TIAM v328 — generic card layout for permitted 8+ column tables on laptop/Restore Down. */
.v328-responsive-table{width:100%;min-width:0!important}
@media (min-width:901px) and (max-width:1390px){
  .v328-responsive-table-wrap{overflow-x:visible!important}
  .v328-responsive-table{display:block;border-collapse:separate!important;border-spacing:0!important;background:transparent!important}
  .v328-responsive-table>thead{display:none!important}
  .v328-responsive-table>tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
  .v328-responsive-table>tbody>tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start;gap:0;height:auto!important;min-width:0!important;margin:0!important;padding:8px!important;border:1px solid #dce6ed!important;border-radius:14px!important;background:#fff!important;box-shadow:0 3px 12px rgba(28,61,86,.05)!important;overflow:visible!important}
  .v328-responsive-table>tbody>tr:nth-child(even){background:#fff!important}
  .v328-responsive-table>tbody>tr>td{position:relative!important;display:grid!important;grid-template-columns:minmax(72px,.72fr) minmax(0,1.28fr)!important;align-items:center;gap:7px;width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;padding:7px 8px!important;border:0!important;border-bottom:1px solid #edf2f5!important;text-align:right!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important}
  .v328-responsive-table>tbody>tr>td::before{content:attr(data-label);min-width:0;color:#6b8092;font-size:10.5px;font-weight:750;line-height:1.45}
  .v328-responsive-table>tbody>tr>td:nth-last-child(-n/**/+2){border-bottom:0!important}
  .v328-responsive-table>tbody>tr>td :is(.btn,.btn-sm,button,a){max-width:100%}
  .v328-responsive-table>tbody>tr>td:last-child{overflow:visible!important}
  .v328-responsive-table>tbody>tr.v328-responsive-empty-row{display:block!important;grid-column:1/-1;padding:0!important}
  .v328-responsive-table>tbody>tr.v328-responsive-empty-row>td{display:block!important;padding:16px!important;border:0!important;text-align:center!important}
  .v328-responsive-table>tbody>tr.v328-responsive-empty-row>td::before{display:none!important}
}
@media (min-width:901px) and (max-width:1080px){
  .v328-responsive-table>tbody{grid-template-columns:1fr}
}

/* ===== SOURCE: utilities.css | sha256:92bc40eae9c59057278d1ad6c19481126f8e815b25d93a473f4d38216a3e86fa ===== */
.hidden{display:none}.loading{height:65vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}.btn:disabled{cursor:not-allowed;}.success-box{padding:11px 13px;margin-top:10px}.empty{padding:35px;text-align:center}.jday.empty-day{cursor:default}.allocation-warning{padding:9px 12px;margin-bottom:8px;font-size:10.5px}.empty{font-size:14px}.pagination button:disabled{opacity:.45;cursor:not-allowed}.btn:disabled{opacity:.45}[data-dashboard-group][hidden]{display:none}.leave-time-field.is-hidden{display:none}.rec-danger-tools{display:flex;gap:8px;flex-wrap:wrap;padding:10px 14px}.rec-danger-tools .btn{font-size:.82rem}@media (max-width:800px){.rec-danger-tools{flex-direction:column}.rec-danger-tools .btn{width:100%}}.is-hidden{display:none}.permission-hidden{display:none!important}.employee-data-warning{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;padding:9px 11px;font-size:11px}.intro-enter-btn:disabled{opacity:.66;cursor:wait}.intro-error{min-height:23px;font-size:12px;text-align:center;margin-top:-14px}body.logo-hidden .brand-mark, body.logo-hidden .intro-logo{display:none}.report-errors{padding-bottom:14px}.report-errors ul{margin:12px 24px}.report-errors small{display:block;padding:0 18px}.ai-empty-state{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:110px}.ai-empty-state h3, .ai-empty-state p{margin:4px 0}@media (max-width:700px){.ai-empty-state{align-items:stretch;flex-direction:column}}.rec-search-hidden{display:none}body[data-page="reconciliation"] .rec-icon-btn:disabled{opacity:.65;cursor:wait}body[data-page="reconciliation"] .rec-history-mini.empty{display:block;font-size:10.5px;padding:8px}body[data-page="reconciliation"] .rec-source-empty{padding:9px;font-size:12px}body[data-page="reconciliation"] .rec-customer-cell .rec-phone[type="hidden"]{display:none}.page-head p:empty, #page-subtitle:empty{display:none}.card-head small:empty, .settings-shortcuts small:empty{display:none}.login-password-disabled-note{font-size:12px;}.login-password-disabled-field{display:none}.login-password-disabled-note{padding:9px 10px;text-align:center;font-weight:800;margin:6px 0 10px}body[data-page="brokerage"] .brokerage-notifications-card .empty{padding:18px;font-weight:900}body.logo-hidden .brand-mark, body.logo-hidden .logo-person-mark, body.logo-hidden .hero-logo-orb{display:none}.dashboard-empty-command{margin-bottom:16px}body[data-page="reconciliation"] .rec-warning-short{font-weight:800}#rec-case-drawer-host.is-open .rec-drawer-backdrop{opacity:1}#rec-case-drawer-host.is-open .rec-case-drawer{transform:translateX(0)}@media (max-width:900px){#rec-case-drawer-host.is-open .rec-case-drawer{transform:none;}}.loading-inline{padding:16px;text-align:center;font-weight:800}.case-ref-empty{text-align:center;}.case-ref-empty{padding:16px;font-size:11.3px}.rec-report-kpi-card:disabled{cursor:default;opacity:1}.rec-plum-primary:disabled{opacity:.52}.rec-empty-workspace{min-height:285px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px}.rec-empty-workspace>span{width:62px;height:62px;display:grid;place-items:center;margin-bottom:12px}.rec-empty-workspace>span svg{width:29px;height:29px}.rec-empty-workspace h2{margin:0 0 5px;font-size:19px}.rec-empty-workspace p{margin:0 0 17px;font-size:12.5px}#rec-upload-drawer-host.is-open .rec-upload-drawer-backdrop, #rec-technical-drawer-host.is-open .rec-technical-drawer-backdrop{opacity:1}#rec-upload-drawer-host.is-open .rec-upload-drawer, #rec-technical-drawer-host.is-open .rec-technical-drawer{transform:translateX(0)}.rec-technical-drawer-body>.loading-inline{min-height:160px;display:grid;place-items:center}#so-drawer-host.is-open{opacity:1}#so-notification-drawer.is-open{opacity:1}.credit-v116-empty-grade{font-size:10.5px}.credit-v116-action:hover:not(:disabled){z-index:20}.credit-v116-action:disabled{cursor:not-allowed;opacity:.44}.credit-v118-page-actions:empty{display:none}.credit-v118-action:hover:not(:disabled){z-index:3}.credit-v118-action:disabled{cursor:not-allowed;opacity:.42}.credit-v118-tooltip-portal.is-visible{opacity:1}.credit-v118-empty-grade{font-size:11px}body[data-page="credit-assessment"] .credit-v118-page-actions:empty, body.v115-brokerage-style[data-page="credit-assessment"] .credit-v118-page-actions:empty{display:none;margin:0;padding:0}body[data-page="credit-assessment"] #page-content > .credit-v118-page-actions:empty, body.v115-brokerage-style[data-page="credit-assessment"] #page-content > .credit-v118-page-actions:empty{width:0;}body[data-page="credit-assessment"] #page-content > .credit-v118-page-actions:empty, body.v115-brokerage-style[data-page="credit-assessment"] #page-content > .credit-v118-page-actions:empty{display:none;height:0;min-height:0;margin:0;padding:0}.employee-account-grid input:disabled, .employee-account-grid select:disabled{opacity:.62;cursor:not-allowed}.employee-account-warning{margin-top:14px;padding:11px 13px}.forced-password-screen.hidden{display:none}.forced-password-error{min-height:22px;font-weight:700;font-size:.88rem}@layer tiam-login-v145{#login-screen.tiam-login-page.hidden{display:none}.tiam-login-submit:disabled{cursor:wait;opacity:.80}.tiam-login-error{min-height:18px;margin-top:-10px;font-size:10.5px;font-weight:730;text-align:center;line-height:1.6}.tiam-login-error:empty{visibility:hidden}.tiam-login-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}body[data-page="settings"] .permission-state, body[data-page="settings"] .error-state{padding:22px;text-align:center}body[data-page="settings"] .permission-state b, body[data-page="settings"] .error-state b{display:block;margin-bottom:7px;font-size:16px}body[data-page="settings"] .warning-state{margin-bottom:14px}body[data-page="settings"] .danger-note{padding:14px 16px}body[data-page="settings"] .danger-note b{display:block;margin-bottom:5px}body[data-page="settings"] .danger-note p{margin:0;line-height:1.85}.permission-denied, .error-state{padding:28px;display:grid;gap:10px;justify-items:start}.cl-empty, .error-state{text-align:center;padding:40px 18px}.cl-empty b, .error-state b{display:block;font-size:17px}.warning-box{padding:12px;margin-bottom:14px}.cl-report-empty{text-align:center;padding:18px}.aj-migration-empty{display:grid;gap:7px;padding:24px 18px}.al-empty{padding:36px;text-align:center}.al-empty b{display:block;margin-bottom:6px}.al-body .warning-box{margin:12px 15px}.fs-empty{padding:28px;text-align:center}.ref170-empty, .ref170-state{padding:34px;text-align:center}.ref170-empty>span{width:50px;height:50px;margin:auto;display:grid;place-items:center}.ref170-empty svg{width:25px;height:25px}.ref170-empty b{display:block;margin:12px 0 4px}.ref170-empty p, .ref170-state p{margin:0}.ref170-mini-loading{padding:18px;display:flex;align-items:center;justify-content:center;gap:9px}.ref170-inline-error{padding:12px}.aging-integrity-warning{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;padding:13px 15px}.aging-integrity-warning>div{display:grid;gap:3px}.aging-integrity-warning span, .aging-integrity-warning small{line-height:1.7}.aging-integrity-warning small{font-size:.72rem}.aging-loading, .aging-error{padding:28px;text-align:center}.aging-error{display:grid;gap:10px;justify-items:center}.counterparty-aging-shell.is-loading{opacity:.65;pointer-events:none}.cp-empty, .cp-empty-profile{padding:28px;text-align:center}.cp-empty{display:grid;gap:5px}.cp-empty-profile{min-height:360px;display:grid;place-content:center;justify-items:center;gap:9px}.cp-empty-profile>div{font-size:42px}.cp-loading{min-height:260px;display:grid;place-content:center;justify-items:center;gap:12px}.counterparty-aging-shell.hidden, .cp-master-detail.hidden{display:none}.rec-file-box-disabled{position:relative;opacity:.72;cursor:not-allowed}.rec-disabled-pill{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;font-size:10.5px;font-weight:900}.mgmt-state.success{min-height:110px;justify-content:flex-start;padding:18px}.mgmt-stack .mgmt-state.empty{min-height:110px;padding:18px;justify-content:flex-start}body.tiam-components-enabled[data-page]:not([data-page="reconciliation"]) :where(.loading,.empty-state,.error-state,.permission-denied,.offline-state,.no-data){min-height:170px;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center}@layer tiam-login-v145{#login-screen.tiam-login-page.hidden{display:none}.tiam-login-submit:disabled{opacity:.66;cursor:wait}.tiam-login-error{min-height:19px;margin-top:-8px;font-size:10.5px;font-weight:760;text-align:right}}.tiam-component-tooltip[hidden]{display:none}body.tiam-header-system-v232 #page-content .tiam-header-action:disabled, body.tiam-header-system-v232 #page-content .tiam-header:not(.tiam-header--page) :is(button,a)[aria-disabled="true"]{opacity:.48;cursor:not-allowed}body.tiam-header-system-v232 #page-content .tiam-header :is(button,a,.page-actions,.tiam-header-actions)[hidden]{display:none}body.tiam-header-system-v232 #page-content .tiam-header--page .page-actions:empty{display:none}body:not(.auth-active) header.topbar #customer-call-top-btn.hidden{display:none}.customer-call-overlay.is-open{opacity:1;pointer-events:auto}.customer-call-drawer.is-open{transform:translateX(0);visibility:visible}.customer-call-action:disabled{opacity:.5;cursor:wait}.customer-call-more:disabled{opacity:.55;cursor:wait}.hidden, [hidden]{display:none}.is-invisible{visibility:hidden}.no-scroll,.drawer-open{overflow:hidden}.sr-only, .visually-hidden, .tiam-login-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ltr-cell, .cc-ltr{direction:ltr;text-align:left}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.nowrap{white-space:nowrap}.empty, .empty-state, .no-data, .permission-denied, .error-state{padding:20px;text-align:center;color:var(--ui-muted)}.error, .forced-password-error, .tiam-login-error{color:var(--ui-danger)}.success-box{color:var(--ui-success)}.note-box{border:1px solid var(--ui-border);padding:10px;background:#fafafa}body.ui-reduced-motion *{animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms;scroll-behavior:auto}@media (max-width:900px){.tiam-login-layout{grid-template-columns:1fr}.tiam-login-logo-stage{border-left:0;border-bottom:1px solid var(--ui-border);padding:18px}.tiam-login-logo{width:80px;height:80px}}/* TIAM v237 utility states. */.ui-primary-page-title{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}body.ui-compact-ready .sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}

/* ===== SOURCE: brokerage-workspace-v333.css | sha256:76a91fc919e2ca897e43a08aabeb2cb14fc41baee6203c17babbbce0781c9d0c ===== */
/* TIAM v333 — canonical brokerage cartable and workspace.
   Flat responsive rows, no Zebra rows, no horizontal overflow. */
body[data-page="brokerage"] .page-content{padding-top:7px}
.brokerage-v285-page{display:grid;gap:8px;width:100%;min-width:0;color:var(--tiam-ink)}

/* Compact page header */







.brokerage-v285-quick-action,.brokerage-reference-operations>summary{width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid rgba(57,120,168,.36);border-radius:13px;background:#fff;color:#174d78;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 3px 8px rgba(18,65,105,.10);cursor:pointer;text-decoration:none;transition:transform .14s,box-shadow .16s,border-color .14s}
.brokerage-v285-quick-action:hover,.brokerage-reference-operations>summary:hover{transform:none;border-color:rgba(24,111,176,.58);box-shadow:var(--tiam-shadow-hover)}
.brokerage-v285-quick-action:active,.brokerage-reference-operations>summary:active{transform:none;box-shadow:var(--tiam-shadow-pressed)}
.brokerage-v285-quick-action svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.brokerage-v285-quick-action>span{font-size:19px;font-weight:800;line-height:1}
.brokerage-reference-operations{position:relative}
.brokerage-reference-operations>summary{list-style:none;font-size:23px;font-weight:800}.brokerage-reference-operations>summary::-webkit-details-marker{display:none}
.brokerage-reference-operations-menu{position:absolute;top:45px;left:0;width:210px;display:grid;gap:3px;padding:7px;border:1px solid var(--tiam-edge-strong);border-radius:15px;background:rgba(249,253,255,.98);box-shadow:0 16px 36px rgba(17,58,98,.22);}
.brokerage-reference-operations-menu :is(button,a){display:flex;align-items:center;min-height:36px;padding:7px 10px;border:0;border-radius:10px;background:transparent;color:var(--tiam-ink);font-size:12.5px;font-weight:650;text-decoration:none;cursor:pointer;text-align:right}
.brokerage-reference-operations-menu :is(button,a):hover{background:rgba(215,238,251,.72)}

/* Active filters */
.brokerage-v285-active-filters{grid-column:1/-1;display:flex;align-items:center;gap:5px;overflow-x:auto;padding-top:2px;scrollbar-width:thin}
.brokerage-v285-filter-chip{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:3px 8px;border:1px solid rgba(43,115,170,.30);border-radius:999px;background:rgba(224,243,253,.88);color:#1a527e;font-size:11.5px;font-weight:600;white-space:nowrap}
.brokerage-v285-filter-chip b{font-weight:750}.brokerage-v285-filter-chip button{width:20px;height:20px;padding:0;border:0;border-radius:50%;background:rgba(36,103,153,.10);color:#1b5784;font-size:15px;line-height:1;cursor:pointer}
.brokerage-v285-clear-all{min-height:28px;padding:3px 9px;border:0;border-radius:999px;background:transparent;color:#8b2f39;font-size:11.5px;font-weight:700;white-space:nowrap;cursor:pointer}

/* Summary and status bar */
.brokerage-v285-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.brokerage-v285-summary article{position:relative;display:flex;align-items:center;gap:8px;min-height:55px;padding:7px 10px;border:1px solid rgba(72,132,176,.31);border-radius:16px;background:rgba(248,253,255,.88);box-shadow:0 2px 5px rgba(18,58,98,.08),inset 0 1px 0 rgba(255,255,255,.78);overflow:hidden}
.brokerage-v285-summary article::after{content:"";position:absolute;inset:auto 8px 0;height:2px;border-radius:999px;background:var(--summary-accent,#3b86be);opacity:.62}
.brokerage-v285-summary-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:12px;background:color-mix(in srgb,var(--summary-accent,#3b86be) 12%,white);color:var(--summary-accent,#3b86be)}
.brokerage-v285-summary-icon svg{width:19px;height:19px}.brokerage-v285-summary article>span:last-child{display:grid;gap:0}.brokerage-v285-summary small{font-size:11.5px;font-weight:650;color:var(--tiam-ink-secondary)!important}.brokerage-v285-summary b{font-size:18px;font-weight:800;line-height:1.2;color:var(--tiam-ink)}

.brokerage-v285-status-bar{display:flex;align-items:center;gap:6px;min-width:0;padding:6px 7px;border:1px solid var(--tiam-edge);border-radius:17px;background:rgba(243,251,255,.84);box-shadow:0 2px 6px rgba(18,58,98,.08)}
.brokerage-v285-status-primary{display:flex;align-items:center;gap:5px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin}
.brokerage-v285-status-chip{display:inline-flex;align-items:center;justify-content:space-between;gap:9px;min-width:125px;height:32px;padding:4px 9px;border:1px solid var(--brokerage-status-border,rgba(52,123,176,.28));border-radius:999px;background:color-mix(in srgb,var(--brokerage-status-bg,#dfeff9) 52%,white);color:var(--brokerage-status-fg,#174e79);box-shadow:inset 0 1px 0 rgba(255,255,255,.75);font-size:11.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.brokerage-v285-status-chip span{display:flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis}.brokerage-v285-status-chip i{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor;opacity:.72}.brokerage-v285-status-chip b{font-size:12.5px;font-weight:800}.brokerage-v285-status-chip:hover{border-color:color-mix(in srgb,var(--brokerage-status-fg,#267cb8) 48%,transparent);box-shadow:0 4px 10px rgba(18,58,98,.10)}.brokerage-v285-status-chip.is-active{box-shadow:0 0 0 2px color-mix(in srgb,var(--brokerage-status-fg,#267cb8) 28%,transparent),inset 0 1px 0 rgba(255,255,255,.85)}
.brokerage-v285-status-more{position:relative;flex:0 0 auto}.brokerage-v285-status-more>summary{height:32px;display:flex;align-items:center;gap:5px;padding:0 10px;border:1px solid rgba(65,126,174,.30);border-radius:999px;background:rgba(250,253,255,.86);color:#315b7e;font-size:11.5px;font-weight:700;cursor:pointer;list-style:none}.brokerage-v285-status-more>summary::-webkit-details-marker{display:none}.brokerage-v285-status-more>div{position:absolute;z-index:160;top:39px;left:0;width:min(540px,70vw);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px;border:1px solid var(--tiam-edge-strong);border-radius:16px;background:rgba(249,253,255,.98);box-shadow:0 18px 40px rgba(17,58,98,.22)}.brokerage-v285-status-more .brokerage-v285-status-chip{width:100%;min-width:0}.brokerage-v285-status-reset{height:32px;padding:0 9px;border:0;border-radius:999px;background:transparent;color:#8a313a;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}

/* Search panel */
.brokerage-v285-search-panel{display:grid;grid-template-columns:minmax(320px,1fr) auto 38px 38px;align-items:center;gap:7px;padding:7px 8px;border:1px solid var(--tiam-edge);border-radius:17px;background:rgba(244,251,255,.90);box-shadow:0 3px 8px rgba(18,58,98,.08)}
.brokerage-v285-search-panel[hidden]{display:none}.brokerage-v285-search-field{position:relative;height:40px;display:flex;align-items:center;border:1px solid rgba(50,119,171,.42);border-radius:13px;background:rgba(251,254,255,.96);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 2px 5px rgba(18,58,98,.06)}.brokerage-v285-search-field>span{position:absolute;right:13px;width:18px;height:18px;color:#326d9b}.brokerage-v285-search-field svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.brokerage-v285-search-field input{height:100%;width:100%;padding:0 42px 0 38px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:13px!important;font-weight:600!important}.brokerage-v285-search-field button{position:absolute;left:8px;width:27px;height:27px;padding:0;border:0;border-radius:9px;background:rgba(42,110,160,.08);color:#285f88;font-size:17px;cursor:pointer}.brokerage-v285-search-message,.brokerage-v285-search-filter{position:relative;width:38px;height:38px;display:grid;place-items:center;padding:0;border:1px solid rgba(54,121,171,.34);border-radius:12px;background:#fff;color:#235d88;cursor:pointer}.brokerage-v285-search-message svg,.brokerage-v285-search-filter svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}.brokerage-v285-search-panel em{position:absolute;top:-5px;left:-5px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px;border:2px solid #eef9ff;border-radius:999px;background:#cc3e4d;color:#fff;font-size:10.5px;font-style:normal;font-weight:800}

/* Cartable table — v329 compact hierarchy */
.brokerage-v285-table-card{min-width:0;padding:8px;border:1px solid var(--tiam-edge);border-radius:19px;background:rgba(246,252,255,.91);box-shadow:var(--tiam-shadow-elevated)}
.brokerage-v285-table-head{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 6px 5px}.brokerage-v285-table-head h2{margin:0;font-size:14px;font-weight:800}.brokerage-v285-table-head span{display:block;margin-top:1px;color:var(--tiam-ink-muted);font-size:11.5px;font-weight:600}

.brokerage-v285-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0 6px!important}

.brokerage-v285-table thead th{height:34px;padding:4px 9px!important;color:var(--tiam-ink-secondary)!important;font-size:11.8px!important;font-weight:750!important;text-align:right!important;white-space:nowrap}.brokerage-v285-table thead th:last-child{text-align:center!important}
.brokerage-v285-table tbody tr,.brokerage-v285-table tbody tr:nth-child(even){height:70px!important;background:rgba(252,254,255,.96)!important;box-shadow:0 2px 5px rgba(18,58,98,.08),0 7px 17px rgba(18,58,98,.055),inset 0 1px 0 rgba(255,255,255,.92)!important;transform:none!important;cursor:pointer;outline:none}
.brokerage-v285-table tbody tr:hover{background:#fff!important;box-shadow:0 4px 11px rgba(18,58,98,.12),0 10px 24px rgba(18,58,98,.08),inset 0 1px 0 rgba(255,255,255,.94)!important}.brokerage-v285-table tbody tr:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--brokerage-status-fg,#287db5) 24%,transparent),0 8px 22px rgba(18,58,98,.10)!important}
.brokerage-v285-table tbody td{height:70px!important;padding:8px 9px!important;border-block:1px solid rgba(87,139,178,.16)!important;background:transparent!important;color:var(--tiam-ink-secondary);font-size:12.5px!important;font-weight:600!important;line-height:1.35!important;text-align:right!important;vertical-align:middle!important;white-space:normal;overflow:hidden}.brokerage-v285-table tbody td:first-child{border-inline-start:1px solid rgba(87,139,178,.16)!important;border-radius:0 15px 15px 0}.brokerage-v285-table tbody td:last-child{border-inline-end:1px solid rgba(87,139,178,.16)!important;border-radius:15px 0 0 15px}

.brokerage-status-pill::before{content:"";width:6px;height:6px;flex:0 0 6px;margin-inline-end:5px;border-radius:50%;background:currentColor;opacity:.72}


.brokerage-case-summary :is(.brokerage-status-pill,.brokerage-blue-badge,.brokerage-green-badge,.brokerage-yellow-badge){width:100%;min-width:0;min-height:24px;padding:3px 4px;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brokerage-status-pill,.brokerage-blue-badge,.brokerage-green-badge,.brokerage-yellow-badge{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:27px;padding:4px 7px;border:1px solid var(--brokerage-status-border,rgba(65,126,173,.26));border-radius:999px;background:color-mix(in srgb,var(--brokerage-status-bg,#dfeff8) 58%,white);color:var(--brokerage-status-fg,#245d84);font-size:11.5px;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brokerage-green-badge{color:#17603f;background:rgba(207,242,224,.84);border-color:rgba(54,142,94,.28)}.brokerage-yellow-badge{color:#7d5317;background:rgba(255,235,195,.86);border-color:rgba(188,126,28,.29)}.brokerage-blue-badge{color:#285d85;background:rgba(219,238,250,.88);border-color:rgba(62,126,175,.26)}
.brokerage-row-actions{display:flex;align-items:center;justify-content:center;gap:4px}.brokerage-row-icon-btn{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;padding:0;border:1px solid rgba(57,121,168,.30);border-radius:10px;background:#fff;color:#245e89;box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 2px 5px rgba(18,58,98,.08);cursor:pointer;transition:box-shadow .15s,border-color .13s,background .13s}.brokerage-row-icon-btn svg{width:16px;height:16px}.brokerage-row-call-btn{color:#087f75;border-color:rgba(16,139,125,.27)}.brokerage-row-case-btn{color:#4b50ad;border-color:rgba(91,84,184,.26)}.brokerage-row-icon-btn:hover{background:rgba(247,252,255,.98);border-color:currentColor;box-shadow:0 4px 10px rgba(18,58,98,.12),inset 0 1px 0 rgba(255,255,255,.94)}.brokerage-row-icon-btn:active{box-shadow:var(--tiam-shadow-pressed)}.brokerage-row-icon-btn.is-disabled{opacity:.38;cursor:not-allowed;filter:grayscale(.25)}
.brokerage-v285-table-card .pagination{margin-top:5px;padding:3px 4px 0}

/* Empty, error and loading */
.brokerage-v285-empty{min-height:180px;display:grid;place-items:center;align-content:center;gap:5px;color:var(--tiam-ink-secondary)}.brokerage-v285-empty>span{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:rgba(218,239,251,.82);color:#2b719f}.brokerage-v285-empty svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.brokerage-v285-empty b{font-size:14px;font-weight:800}.brokerage-v285-empty p{margin:0;font-size:12px}.brokerage-v285-empty button{margin-top:4px;padding:6px 12px;border:1px solid var(--tiam-edge);border-radius:999px;background:rgba(249,253,255,.92);color:#245c84;font-weight:700;cursor:pointer}
.brokerage-v285-error{min-height:340px;display:grid;place-items:center;align-content:center;gap:8px;padding:25px;border:1px solid rgba(186,71,83,.30);border-radius:22px;background:rgba(255,246,247,.92);text-align:center}.brokerage-v285-error>span{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:rgba(211,72,83,.12);color:#a62f3a;font-size:24px;font-weight:800}.brokerage-v285-error h2{margin:0;font-size:17px}.brokerage-v285-error p{margin:0;color:#72505a}
.brokerage-v285-loading{display:grid;gap:9px}.brokerage-v285-loading header,.brokerage-v285-loading-strip,.brokerage-v285-loading-table{border:1px solid var(--tiam-edge);border-radius:19px;background:rgba(246,252,255,.86);box-shadow:var(--tiam-shadow-elevated)}.brokerage-v285-loading header{height:55px;display:flex;align-items:center;justify-content:space-between;padding:8px}.brokerage-v285-loading header span{width:220px;height:24px}.brokerage-v285-loading header i{display:inline-block;width:38px;height:38px;margin-right:6px}.brokerage-v285-loading-strip{height:58px;display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:7px}.brokerage-v285-loading-table{display:grid;gap:6px;padding:8px}.brokerage-v285-loading-table i{height:47px}.brokerage-v285-loading :is(span,i){border-radius:12px;background:#fff;background-size:220% 100%;animation:brokerageV285Shimmer 1.25s linear infinite}@keyframes brokerageV285Shimmer{to{background-position:-220% 0}}

/* Filter and message drawers remain desktop work surfaces. */
.brokerage-filter-backdrop{position:fixed;inset:0;z-index:1390;background:rgba(9,36,63,.30);}
.brokerage-filter-drawer{position:fixed;z-index:1400;top:12px;bottom:12px;right:12px;width:min(610px,calc(100vw - 24px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid var(--tiam-edge-strong);border-radius:24px;background:rgba(246,252,255,.97);box-shadow:0 24px 65px rgba(13,48,83,.28);overflow:hidden}
.brokerage-message-drawer{width:min(720px,calc(100vw - 24px))}
.brokerage-filter-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px;border-bottom:1px solid rgba(71,130,174,.25);background:rgba(231,245,253,.74)}.brokerage-filter-drawer-head h3{margin:2px 0;font-size:17px;font-weight:800}.brokerage-filter-drawer-head small{font-size:11.5px}.brokerage-filter-drawer-body{min-height:0;overflow:auto;padding:11px;scrollbar-width:thin}.brokerage-filter-drawer-footer{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:9px 12px;border-top:1px solid rgba(71,130,174,.25);background:rgba(235,247,254,.78)}
.brokerage-filter-section{padding:10px;margin-bottom:8px;border:1px solid rgba(76,135,180,.27);border-radius:16px;background:rgba(250,253,255,.88);box-shadow:0 2px 6px rgba(18,58,98,.06)}.brokerage-filter-section h4{margin:0 0 7px;font-size:13px;font-weight:800}.brokerage-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.brokerage-filter-grid .field{min-width:0}.brokerage-filter-section :is(input,select){width:100%;height:40px;min-height:40px;font-size:12.5px}
.brokerage-central-message-form{display:grid;gap:9px}.brokerage-message-drawer-list,.brokerage-notification-list{display:grid;gap:6px}.brokerage-notification-row,.brokerage-notification-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 9px;border:1px solid rgba(73,133,177,.27);border-radius:14px;background:rgba(249,253,255,.90);box-shadow:0 2px 6px rgba(18,58,98,.06)}.brokerage-notification-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:rgba(211,237,251,.84);color:#2b739f}.brokerage-notification-text{min-width:0}.brokerage-notification-text b{display:block;font-size:12.5px;font-weight:750}.brokerage-notification-text span,.brokerage-notification-time{font-size:11.5px;color:var(--tiam-ink-muted)}

/* Brokerage staff modal and dashboard adapter */
#modal.brokerage-staff-theme,.brokerage-staff-modal{width:min(1050px,calc(100vw - 40px));max-height:calc(100vh - 40px)}.brokerage-staff-table th,.brokerage-staff-table td{font-size:12.5px!important}
.brokerage-dashboard-widget .brokerage-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.brokerage-dashboard-widget .brokerage-kpi{min-height:70px;padding:9px;border:1px solid var(--tiam-edge);border-radius:15px;background:rgba(248,253,255,.88)}.brokerage-dashboard-widget .brokerage-kpi small{font-size:11.5px}.brokerage-dashboard-widget .brokerage-kpi b{display:block;font-size:19px;font-weight:800}.brokerage-dashboard-widget .brokerage-v285-status-bar{margin-top:8px}

@media(max-width:1280px){
  .brokerage-v285-page{gap:6px}.brokerage-v285-summary{gap:5px}.brokerage-v285-summary article{min-height:50px;padding:6px 7px}.brokerage-v285-summary-icon{width:30px;height:30px;flex-basis:30px}.brokerage-v285-summary b{font-size:16px}.brokerage-v285-status-chip{min-width:112px}
  
  .brokerage-v285-table tbody td{padding-inline:7px!important}.brokerage-case-summary :is(.brokerage-blue-badge,.brokerage-green-badge,.brokerage-yellow-badge){font-size:10.5px}
}
@media(max-width:1100px){
  .brokerage-v285-summary{grid-template-columns:repeat(5,minmax(116px,1fr));overflow-x:auto}.brokerage-v285-search-panel{grid-template-columns:minmax(260px,1fr) 38px 38px}
  
  .brokerage-v285-table tbody tr,.brokerage-v285-table tbody td{height:66px!important}.brokerage-v285-table tbody td{padding-inline:5px!important;font-size:11.8px!important}.brokerage-v285-table thead th{padding-inline:5px!important;font-size:10.8px!important}
  .brokerage-case-summary :is(.brokerage-blue-badge,.brokerage-green-badge,.brokerage-yellow-badge){min-height:22px;padding:2px 3px;font-size:10.5px}.brokerage-row-actions{gap:3px}.brokerage-row-icon-btn{width:29px;height:29px;flex-basis:29px}
}
@media(max-height:800px) and (min-width:1101px){
  body[data-page="brokerage"] .page-content{padding-top:3px}.brokerage-v285-page{gap:4px}.brokerage-v285-summary article{min-height:43px;padding-block:4px}.brokerage-v285-summary-icon{width:28px;height:28px;flex-basis:28px}.brokerage-v285-summary-icon svg{width:17px;height:17px}.brokerage-v285-summary b{font-size:15.5px}.brokerage-v285-summary small{font-size:11px}.brokerage-v285-status-bar{padding-block:3px}.brokerage-v285-status-chip,.brokerage-v285-status-more>summary,.brokerage-v285-status-reset{height:29px}.brokerage-v285-table tbody tr,.brokerage-v285-table tbody td{height:64px!important}.brokerage-v285-table thead th{height:31px}.brokerage-v285-table-head{min-height:31px}
}
/* v286 stacking repair: page operations must never fall behind summary/table surfaces. */


.brokerage-reference-operations[open]{z-index:var(--tiam-z-dropdown,600)}
.brokerage-reference-operations-menu{z-index:calc(var(--tiam-z-dropdown,600) + 1)}


/* TIAM v391: legacy compact row layout removed. The operational brokerage list is owned by tiam-brokerage-v391.css. */

/* ===== SOURCE: manager-activity-v281.css | sha256:c83a7309fa1012168f8f5e4310b7d3fa4a9ab0264fe8780f5bb560fca41240a4 ===== */
/* Admin-only company activity feed. Scoped to the otherwise-empty dashboard. */
body[data-page="dashboard"] .manager-activity-shell{
  width:min(1180px,100%);margin:0 auto;padding:clamp(8px,1.4vw,18px) 0 28px;
}
body[data-page="dashboard"] .manager-activity-panel{
  position:relative;overflow:hidden;border:1px solid var(--tiam-surface-border);
  border-radius:clamp(22px,2.5vw,30px);background:var(--tiam-surface-surface-strong);
  box-shadow:var(--tiam-surface-shadow);
  
}
body[data-page="dashboard"] .manager-activity-panel::before{
  content:"";position:absolute;inset:0 0 auto;height:1px;pointer-events:none;
  background:#fff;
}
body[data-page="dashboard"] .manager-activity-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px 14px;
  border-bottom:1px solid color-mix(in srgb,var(--tiam-color-border) 70%,transparent);
}
body[data-page="dashboard"] .manager-activity-title{display:flex;align-items:center;gap:12px;min-width:0}
body[data-page="dashboard"] .manager-activity-title-icon{
  display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:50%;
  color:var(--tiam-color-text);background:var(--tiam-surface-surface);border:1px solid var(--tiam-surface-border-strong);
  box-shadow:var(--tiam-surface-shadow-near),var(--tiam-surface-shadow-mid);
}
body[data-page="dashboard"] .manager-activity-title-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
body[data-page="dashboard"] .manager-activity-title h1{margin:0;font-size:clamp(18px,1.8vw,22px);font-weight:850;color:var(--tiam-color-text)}
body[data-page="dashboard"] .manager-activity-title p{margin:3px 0 0;font-size:var(--tiam-font-xs);color:var(--tiam-color-text-muted)}
body[data-page="dashboard"] .manager-activity-live{
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:var(--tiam-font-xs);font-weight:750;color:var(--tiam-color-text-muted)
}
body[data-page="dashboard"] .manager-activity-live-dot{width:8px;height:8px;border-radius:50%;background:var(--tiam-color-success);box-shadow:0 0 0 4px color-mix(in srgb,var(--tiam-color-success) 14%,transparent)}
body[data-page="dashboard"] .manager-activity-live.is-reconnecting .manager-activity-live-dot{background:var(--tiam-color-warning);box-shadow:0 0 0 4px color-mix(in srgb,var(--tiam-color-warning) 14%,transparent)}
body[data-page="dashboard"] .manager-activity-list{display:grid;gap:0;padding:5px 10px 12px}
body[data-page="dashboard"] .manager-activity-row{
  position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;
  min-height:66px;padding:10px 12px;border-radius:20px;border:1px solid transparent;
  transition:transform var(--tiam-motion-normal) var(--tiam-ease-standard),background var(--tiam-motion-normal) var(--tiam-ease-standard),border-color var(--tiam-motion-normal) var(--tiam-ease-standard),box-shadow var(--tiam-motion-normal) var(--tiam-ease-standard);
}
body[data-page="dashboard"] .manager-activity-row+.manager-activity-row::after{
  content:"";position:absolute;top:-1px;right:56px;left:12px;height:1px;background:color-mix(in srgb,var(--tiam-color-border) 64%,transparent)
}
body[data-page="dashboard"] .manager-activity-row.is-link{cursor:pointer}
body[data-page="dashboard"] .manager-activity-row.is-link:hover{
  transform:none;background:var(--tiam-surface-surface-soft);border-color:var(--tiam-surface-border);
  box-shadow:var(--tiam-surface-shadow-near)
}
body[data-page="dashboard"] .manager-activity-row:focus-visible{outline:2px solid var(--tiam-color-focus);outline-offset:2px}
body[data-page="dashboard"] .manager-activity-row.is-new{animation:managerActivityArrival 1.4s var(--tiam-ease-standard)}
@keyframes managerActivityArrival{0%{background:color-mix(in srgb,var(--tiam-color-info) 18%,transparent);transform:none;}100%{background:transparent;transform:none}}
body[data-page="dashboard"] .manager-activity-icon{
  display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:var(--tiam-color-text);
  background:var(--tiam-surface-surface);border:1px solid var(--tiam-surface-border);box-shadow:inset 0 1px 0 var(--tiam-surface-highlight),var(--tiam-surface-shadow-near)
}
body[data-page="dashboard"] .manager-activity-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body[data-page="dashboard"] .manager-activity-main{min-width:0}
body[data-page="dashboard"] .manager-activity-actor{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;margin-bottom:3px}
body[data-page="dashboard"] .manager-activity-actor b{font-size:var(--tiam-font-sm);font-weight:850;color:var(--tiam-color-text)}
body[data-page="dashboard"] .manager-activity-actor span{font-size:var(--tiam-font-xs);font-weight:650;color:var(--tiam-color-text-muted)}
body[data-page="dashboard"] .manager-activity-summary{margin:0;font-size:var(--tiam-font-sm);line-height:1.75;color:var(--tiam-color-text)}
body[data-page="dashboard"] .manager-activity-target{font-weight:800}
body[data-page="dashboard"] .manager-activity-counts{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
body[data-page="dashboard"] .manager-activity-count{
  display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;font-size:var(--tiam-font-xs);font-weight:700;
  color:var(--tiam-color-text-muted);background:color-mix(in srgb,var(--tiam-color-surface) 70%,transparent);border:1px solid color-mix(in srgb,var(--tiam-color-border) 72%,transparent)
}
body[data-page="dashboard"] .manager-activity-time{align-self:start;padding-top:3px;white-space:nowrap;font-size:var(--tiam-font-xs);color:var(--tiam-color-text-muted);direction:rtl}
body[data-page="dashboard"] .manager-activity-empty{display:grid;place-items:center;min-height:260px;padding:28px;text-align:center;color:var(--tiam-color-text-muted)}
body[data-page="dashboard"] .manager-activity-empty svg{width:34px;height:34px;margin-bottom:12px;fill:none;stroke:currentColor;stroke-width:1.5}
body[data-page="dashboard"] .manager-activity-error{margin:12px;padding:14px 16px;border-radius:16px;color:var(--tiam-color-danger);background:color-mix(in srgb,var(--tiam-color-danger) 8%,transparent);border:1px solid color-mix(in srgb,var(--tiam-color-danger) 22%,transparent)}
@media(max-width:780px){
  body[data-page="dashboard"] .manager-activity-head{align-items:flex-start;padding-inline:15px}
  body[data-page="dashboard"] .manager-activity-title p{display:none}
  body[data-page="dashboard"] .manager-activity-row{grid-template-columns:38px minmax(0,1fr);gap:9px;padding-inline:8px}
  body[data-page="dashboard"] .manager-activity-time{grid-column:2;padding:0}
}
@media(prefers-reduced-motion:reduce){body[data-page="dashboard"] .manager-activity-row{transition:none}body[data-page="dashboard"] .manager-activity-row.is-new{animation:none}}

/* v295 — decision-ready corporate dashboard */
.manager-activity-shell{display:grid;gap:16px;align-content:start}
.manager-activity-shell>.tiam-summary-bar{margin:0;min-height:92px}
.manager-activity-shell .summary-item.is-link{cursor:pointer}
.manager-activity-shell .summary-item.is-link:focus-visible{outline:3px solid #c79a43;outline-offset:-3px}
.manager-activity-shell .summary-item span{display:block;margin-top:4px;color:var(--tiam-muted);font-size:12px}
.manager-decision-panel{display:grid;grid-template-columns:minmax(210px,.32fr) minmax(0,1fr);gap:18px;align-items:center;padding:18px 20px;background:var(--tiam-surface);border:1px solid var(--tiam-border);border-radius:var(--tiam-radius-lg);box-shadow:var(--tiam-shadow)}
.manager-decision-panel header h2{margin:0;color:var(--tiam-navy-strong);font-size:17px}
.manager-decision-panel header p{margin:5px 0 0;color:var(--tiam-muted);font-size:12px}
.manager-decision-alerts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}
.manager-decision-alert{min-height:52px;padding:9px 14px;border:1px solid var(--tiam-border);border-radius:var(--tiam-radius);background:var(--tiam-surface-subtle);color:var(--tiam-text);text-align:right;cursor:pointer}
.manager-decision-alert strong,.manager-decision-alert span{display:block}.manager-decision-alert span{margin-top:3px;color:var(--tiam-muted);font-size:12px}
.manager-decision-alert.is-critical{border-right:4px solid var(--tiam-danger)}.manager-decision-alert.is-warning{border-right:4px solid var(--tiam-warning)}
.manager-decision-alert:focus-visible{outline:3px solid #c79a43;outline-offset:2px}
.manager-decision-clear{min-height:52px;display:flex;align-items:center;color:var(--tiam-muted);font-size:13px}
@media(max-width:1180px){.manager-decision-panel{grid-template-columns:1fr}.manager-activity-shell>.tiam-summary-bar{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== SOURCE: tiam-workspaces-v285.css | sha256:8568463a56112e2d034529b109a111cb12648d215289241a1df54354b0782e1b ===== */
/* TIAM v285 — canonical scoped workspace redesigns.
   New components use isolated class names so legacy drawer/login/modal generations
   cannot regain control through source-order changes. */
:root{
  --v282-blue:#2588e5;
  --v282-cyan:#18b9d5;
  --v282-teal:#18a989;
  --v282-green:#36a869;
  --v282-amber:#d68b20;
  --v282-coral:#d85757;
  --v282-purple:#7958d9;
  --v282-indigo:#516bd7;
  --v282-ink:#0d3157;
  --v282-muted:rgba(13,49,87,.74);
  --v282-panel:#fff;
  --v282-panel-strong:#fff;
  --v282-edge:rgba(71,133,180,.45);
  --v282-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 3px 8px rgba(19,61,106,.13),0 20px 48px rgba(19,61,106,.18);
  --v282-soft-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 3px 7px rgba(27,75,123,.10),0 12px 26px rgba(27,75,123,.10);
}

/* --------------------------------------------------------------------------
   Login — golden mark only, no navy plate, no numeric keypad
   -------------------------------------------------------------------------- */
body.auth-active{overflow:hidden}
#login-screen.tiam-login-v282{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;overflow:hidden;direction:rtl;}
#login-screen.tiam-login-v282.hidden{display:none}






@keyframes loginV282Float{to{transform:translate3d(12px,-12px,0) rotate(3deg)}}







@keyframes loginV282Orbit{to{transform:rotate(360deg)}}


























@media(max-width:1050px){}
@media(max-height:760px) and (min-width:1051px){}

/* --------------------------------------------------------------------------
   Brokerage case — one close action + vertical scroll only when needed
   -------------------------------------------------------------------------- */
/* TIAM v391: legacy bcv282 brokerage detail styles removed. The brokerage case workspace is rebuilt in tiam-brokerage-v391.css. */

/* --------------------------------------------------------------------------
   Customer call modal — lively two-column communication workspace
   -------------------------------------------------------------------------- */
.cc-v282-root{position:fixed;inset:0;z-index:2850;display:grid;place-items:center;pointer-events:none;visibility:hidden}
.cc-v282-root.is-open{pointer-events:auto;visibility:visible}.cc-v282-overlay{position:absolute;inset:0;background:rgba(14,39,69,.28);opacity:0;transition:opacity .18s}.cc-v282-root.is-open .cc-v282-overlay{opacity:1}
.cc-v282-modal{position:relative;width:min(1120px,calc(100vw - 48px));height:min(670px,calc(100vh - 42px));display:grid;grid-template-rows:72px minmax(0,1fr);border:1px solid var(--v282-edge);border-radius:31px;overflow:hidden;opacity:0;transform:none;transition:opacity .2s,transform .22s;}
.cc-v282-root.is-open .cc-v282-modal{opacity:1;transform:none}
.cc-v282-close{display:grid;place-items:center;cursor:pointer;}



@media(max-height:780px){.cc-v282-modal{height:calc(100vh - 24px)}.cc-v282-modal{grid-template-rows:64px minmax(0,1fr)}}

/* --------------------------------------------------------------------------
   Internal ticket modal — two-pane conversation workspace
   -------------------------------------------------------------------------- */
.it-v282-root{position:fixed;inset:0;z-index:2860;display:grid;place-items:center;pointer-events:none;visibility:hidden}.it-v282-root.is-open{pointer-events:auto;visibility:visible}.it-v282-overlay{position:absolute;inset:0;background:rgba(18,32,67,.29);opacity:0;transition:opacity .18s}.it-v282-root.is-open .it-v282-overlay{opacity:1}
.it-v282-modal{position:relative;width:min(1180px,calc(100vw - 42px));height:min(680px,calc(100vh - 36px));display:grid;grid-template-rows:68px minmax(0,1fr);border:1px solid var(--v282-edge);border-radius:31px;overflow:hidden;opacity:0;transform:none;transition:opacity .2s,transform .22s;}.it-v282-root.is-open .it-v282-modal{opacity:1;transform:none}
.it-v282-head{display:grid;grid-template-columns:46px 1fr auto 38px;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid rgba(255,255,255,.56);background:#fff}.it-v282-head-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#fff;color:#6850b7;box-shadow:inset 0 1px 0 #fff,0 9px 18px rgba(91,67,167,.13)}.it-v282-head-icon svg{width:23px;height:23px}.it-v282-head h2{margin:0;font-size:17px;font-weight:700}.it-v282-head small{display:block;margin-top:1px;color:var(--v282-muted);font-size:12.5px}.it-v282-close{width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.76);border-radius:12px;background:rgba(255,255,255,.24);color:#506986;cursor:pointer}.it-v282-close svg{width:17px;height:17px}
.it-v282-list-tools{padding:10px;display:grid;grid-template-columns:1fr 42px;gap:7px}.it-v282-ticket-row{width:100%;min-height:72px;margin-bottom:6px;padding:8px 9px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;text-align:right;border:1px solid rgba(80,137,181,.32);border-radius:14px;background:rgba(250,253,255,.88);color:var(--v282-ink);cursor:pointer}.it-v282-ticket-row:hover,.it-v282-ticket-row.is-selected{transform:none;}.it-v282-ticket-main{min-width:0;display:grid;gap:2px}.it-v282-ticket-main b{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.it-v282-ticket-main small,.it-v282-ticket-main em{font-style:normal;color:#6b8299;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.it-v282-ticket-meta{display:grid;justify-items:end;gap:4px}.it-v282-ticket-meta strong{min-width:19px;height:19px;display:grid;place-items:center;border-radius:999px;background:#d64e58;color:#fff;font-size:11px}.it-v282-ticket-meta .it-priority,.it-v282-ticket-meta .it-status{font-size:11px;padding:2px 6px}
.it-v282-detail{min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:7px;}.it-priority,.it-status{font-style:normal;border-radius:999px}.it-priority.normal{background:rgba(60,140,217,.11);color:#2d76b4}.it-priority.important{background:rgba(214,139,32,.13);color:#98631a}.it-priority.urgent{background:rgba(216,87,87,.13);color:#a23b3b}.it-status.open{background:rgba(37,136,229,.11);color:#2c72ad}.it-status.waiting{background:rgba(214,139,32,.12);color:#92621c}.it-status.closed{background:rgba(54,168,105,.12);color:#287d55}.it-v282-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.it-v282-info>div{padding:6px 8px;border:1px solid rgba(255,255,255,.56);border-radius:11px;background:rgba(255,255,255,.22)}.it-v282-info dt{font-size:11px;color:#6b8197}.it-v282-info dd{margin:1px 0 0;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.it-v282-participants{display:flex;align-items:center;gap:5px;min-height:27px;overflow:hidden}.it-v282-participants span{padding:4px 7px;border-radius:999px;background:rgba(94,181,206,.09);color:#397a91;font-size:11px;white-space:nowrap}.it-v282-manage{margin-inline-start:auto;display:flex;gap:5px}.it-v282-manage button{height:28px;padding:0 9px;font-size:11px}.it-v282-thread{min-height:0;overflow:auto;padding:4px 4px 2px;scrollbar-width:thin}.it-v282-message{max-width:82%;margin:0 0 7px;padding:8px 10px;border:1px solid rgba(255,255,255,.66);border-radius:14px 14px 5px 14px;background:rgba(255,255,255,.38);box-shadow:0 6px 14px rgba(48,77,120,.06)}.it-v282-message.own{margin-inline-start:auto;border-radius:14px 14px 14px 5px;background:#fff}.it-v282-message.system{max-width:100%;text-align:center;background:rgba(121,88,217,.07);border-style:dashed}.it-v282-message header{display:flex;align-items:center;justify-content:space-between;gap:8px}.it-v282-message header b{font-size:12.5px}.it-v282-message header small{font-size:11px;color:#718397}.it-v282-message p{margin:4px 0 0;font-size:12.5px;line-height:1.65}.it-v282-reply{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:7px;border:1px solid rgba(255,255,255,.64);border-radius:15px;background:rgba(255,255,255,.29)}.it-v282-reply textarea{height:48px;min-height:48px;resize:none;padding:7px 9px;border:1px solid rgba(255,255,255,.78);border-radius:11px;background:rgba(255,255,255,.30);font-size:12.5px}.it-v282-reply-actions :is(select,button,label){height:48px;display:flex;align-items:center;justify-content:center;border-radius:11px;font-size:12.5px}.it-v282-form-section :is(input,select,textarea){width:100%;height:34px;padding:0 8px;border:1px solid rgba(255,255,255,.76);border-radius:10px;background:rgba(255,255,255,.33);font-size:12.5px}
@media(max-height:780px){.it-v282-modal{height:calc(100vh - 20px)}.it-v282-workspace{padding:7px;gap:7px}.it-v282-modal{grid-template-rows:62px minmax(0,1fr)}.it-v282-detail{padding:7px;gap:5px}.it-v282-ticket-row{min-height:62px}.it-v282-message{padding:6px 8px;margin-bottom:5px}.it-v282-reply textarea,.it-v282-reply-actions :is(select,button,label){height:42px}.it-v282-info>div{padding:4px 6px}}

/* --------------------------------------------------------------------------
   Notification popover — anchored above dock
   -------------------------------------------------------------------------- */
#so-notification-popover-v282{position:fixed;inset:0;z-index:2870;pointer-events:none}.so-v282-backdrop{position:absolute;inset:0;background:rgba(13,37,66,.06);pointer-events:auto}.so-v282-popover{position:absolute;width:min(520px,calc(100vw - 30px));height:min(600px,calc(100vh - 90px));display:grid;grid-template-rows:66px 45px minmax(0,1fr) 47px;border:1px solid var(--v282-edge);border-radius:25px;background:var(--v282-panel-strong);box-shadow:0 28px 75px rgba(16,48,86,.28),inset 0 1px 0 #fff;overflow:hidden;pointer-events:auto;opacity:0;transform:none;transform-origin:bottom center;transition:opacity .16s,transform .18s}.is-open>.so-v282-popover{opacity:1;transform:none}.so-v282-head{display:grid;grid-template-columns:43px 1fr auto 35px;align-items:center;gap:9px;padding:9px 12px;border-bottom:1px solid rgba(255,255,255,.55);background:#fff}.so-v282-head h3{margin:0;font-size:15px;font-weight:800}.so-v282-head small{display:block;margin-top:1px;color:#6d8298;font-size:12.5px}.so-v282-close{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.72);border-radius:11px;background:rgba(255,255,255,.22);color:#526d88;cursor:pointer}.so-v282-close svg{width:16px;height:16px}.so-v282-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:7px 10px;border-bottom:1px solid rgba(255,255,255,.47)}.so-v282-tabs button{border:1px solid rgba(255,255,255,.55);border-radius:10px;background:rgba(255,255,255,.17);color:#607a93;font-size:12.5px;font-weight:700;cursor:pointer}.so-v282-tabs button.active{background:rgba(255,255,255,.62);color:#3174a9;box-shadow:0 5px 12px rgba(42,102,151,.09)}.so-v282-list{min-height:0;overflow:auto;padding:7px 9px;scrollbar-width:thin}.so-v282-group-title{position:sticky;top:-7px;z-index:2;margin:0 -2px 5px;padding:7px 6px 4px;background:#fff;color:#587590;font-size:11px;font-weight:800}.so-v282-item{position:relative;margin-bottom:6px;border:1px solid rgba(255,255,255,.64);border-radius:15px;background:rgba(250,253,255,.90);overflow:hidden;box-shadow:0 3px 8px rgba(36,77,116,.09)}.so-v282-item::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:3px;background:var(--kind,#438fd0)}.so-v282-item.kind-ticket{--kind:#7958d9}.so-v282-item.kind-call{--kind:#18b9d5}.so-v282-item.kind-hr{--kind:#4aa6dc}.so-v282-item.kind-money{--kind:#36a869}.so-v282-item.kind-refund{--kind:#d85757}.so-v282-item.kind-credit{--kind:#516bd7}.so-v282-item.kind-warning{--kind:#d68b20}.so-v282-main{width:100%;display:grid;grid-template-columns:35px minmax(0,1fr);gap:8px;padding:8px 9px 6px;border:0;background:transparent;text-align:right;color:var(--v282-ink);cursor:pointer}.so-v282-copy{min-width:0}.so-v282-copy strong{display:block;margin-top:1px;font-size:12.5px;font-weight:800}.so-v282-copy p{margin:2px 0 4px;color:#54708c;font-size:12.5px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.so-v282-copy footer{display:flex;align-items:center;justify-content:space-between;gap:7px}.so-v282-copy time{font-size:11px;color:#7b8da0}.so-v282-item.is-unread{background:rgba(242,249,255,.98)}.so-v282-item.is-unread .so-v282-copy strong{font-weight:800}.so-v282-error{margin:8px;padding:9px;border:1px solid rgba(216,87,87,.28);border-radius:12px;background:rgba(255,238,238,.45);color:#944044;font-size:12.5px}.so-v282-empty{height:100%;display:grid;place-items:center;text-align:center;color:#6d8398;font-size:12.5px}

/* Shared focus and reduced motion */
:is(.bcv282-shell,.cc-v282-modal,.it-v282-modal,.so-v282-popover,.login-v282-card) :focus-visible{outline:0;box-shadow:0 0 0 3px rgba(43,137,210,.20),0 0 0 1px rgba(43,137,210,.60)!important}
@media(prefers-reduced-motion:reduce){.cc-v282-modal,.it-v282-modal,.so-v282-popover{transition:none}}

/* v282 compatibility aliases for the existing ticket rendering logic */
.it-v282-workspace{display:grid;grid-template-columns:minmax(310px,35%) minmax(0,65%);gap:10px;padding:10px;min-height:0;direction:rtl}
.it-v282-sidebar,.it-v282-detail{min-height:0;border:1px solid rgba(71,133,180,.38);border-radius:21px;background:#fff;box-shadow:var(--v282-soft-shadow);overflow:hidden}
.it-v282-sidebar{display:grid;grid-template-rows:auto auto minmax(0,1fr);padding:9px;background:#fff}
.it-v282-sidebar .it-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:7px}.it-v282-sidebar .it-toolbar .btn{order:2;height:40px;padding:0 8px;font-size:12.5px}.it-v282-sidebar .it-search{height:40px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid rgba(255,255,255,.75);border-radius:13px;background:rgba(255,255,255,.32)}.it-v282-sidebar .it-search svg{width:16px;height:16px}.it-v282-sidebar .it-search input{width:100%;border:0!important;background:transparent!important;box-shadow:none!important;font-size:12.5px}.it-v282-sidebar .it-tabs{display:flex;gap:5px;overflow-x:auto;padding:8px 0 6px;scrollbar-width:none}.it-v282-sidebar .it-tab{flex:0 0 auto;height:29px;padding:0 8px;border:1px solid rgba(255,255,255,.62);border-radius:10px;background:rgba(255,255,255,.19);color:#60758d;font-size:11px;cursor:pointer}.it-v282-sidebar .it-tab.active{background:rgba(255,255,255,.66);color:#654bb3;box-shadow:0 5px 12px rgba(90,64,165,.09)}.it-v282-sidebar .it-list{min-height:0;overflow:auto;padding-inline-end:2px;scrollbar-width:thin}.it-v282-sidebar .it-ticket-row{width:100%;min-height:69px;margin-bottom:6px;padding:8px 9px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;text-align:right;border:1px solid rgba(80,137,181,.32);border-radius:14px;background:rgba(250,253,255,.88);color:var(--v282-ink);cursor:pointer;transition:.15s}.it-v282-sidebar .it-ticket-row:hover{background:rgba(236,241,255,.96);border-color:rgba(116,91,204,.46);transform:none}.it-v282-sidebar .it-ticket-row.is-unread{box-shadow:inset -3px 0 0 #755bd2}.it-v282-sidebar .it-ticket-main{min-width:0;display:grid;gap:2px}.it-v282-sidebar .it-ticket-main b{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.it-v282-sidebar .it-ticket-main small,.it-v282-sidebar .it-ticket-main em{font-style:normal;color:#6b8299;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.it-v282-sidebar .it-ticket-meta{display:grid;justify-items:end;gap:4px}.it-v282-sidebar .it-ticket-meta i{font-size:11px}.it-v282-sidebar .it-more{width:100%;height:30px;margin-top:4px}
.it-v282-detail{padding:9px;overflow:hidden}.it-v282-detail>.it-v282-empty-state,.it-v282-empty-state{height:100%;display:grid;place-content:center;justify-items:center;gap:6px;color:#6a7f94;text-align:center}.it-v282-empty-state b{font-size:15px;color:#3e5f7f}.it-v282-empty-state span{font-size:12.5px}.it-v282-detail .it-detail{height:100%;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:6px}.it-v282-detail .it-ticket-header{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid rgba(255,255,255,.65);border-radius:15px;background:#fff}.it-v282-detail .it-ticket-header h3{margin:2px 0;font-size:14px}.it-v282-detail .it-ticket-header p,.it-v282-detail .it-ticket-header span{margin:0;color:#687f96;font-size:11px}.it-v282-detail .it-ticket-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}.it-v282-detail .it-ticket-info>div{padding:6px 8px;border:1px solid rgba(255,255,255,.56);border-radius:11px;background:rgba(255,255,255,.22)}.it-v282-detail .it-ticket-info dt{font-size:11px;color:#6b8197}.it-v282-detail .it-ticket-info dd{margin:1px 0 0;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.it-v282-detail .it-participant-summary{display:flex;align-items:center;gap:5px;min-height:27px;overflow:hidden}.it-v282-detail .it-participant-summary span{padding:4px 7px;border-radius:999px;background:rgba(94,181,206,.09);color:#397a91;font-size:11px;white-space:nowrap}.it-v282-detail .it-manage{display:flex;gap:5px;margin-inline-start:auto}.it-v282-detail .it-manage button{height:28px;padding:0 9px;font-size:11px}.it-v282-detail .it-thread{min-height:0;overflow:auto;padding:4px;scrollbar-width:thin}.it-v282-detail .it-message{max-width:82%;margin:0 0 7px;padding:8px 10px;border:1px solid rgba(255,255,255,.66);border-radius:14px 14px 5px 14px;}.it-v282-detail .it-message.own{margin-inline-start:auto;border-radius:14px 14px 14px 5px;}.it-v282-detail .it-message.system{max-width:100%;text-align:center;border-style:dashed;}.it-v282-detail .it-message header{display:flex;align-items:center;justify-content:space-between;gap:8px}.it-v282-detail .it-message header b{font-size:12.5px}.it-v282-detail .it-message header small{font-size:11px;color:#718397}.it-v282-detail .it-message p{margin:4px 0 0;font-size:12.5px;line-height:1.65}.it-v282-detail .it-reply{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:7px;border:1px solid rgba(255,255,255,.64);border-radius:15px;}.it-v282-detail .it-reply textarea{height:48px;min-height:48px;resize:none}.it-v282-detail .it-reply>div{display:grid;grid-template-columns:110px 58px 62px;gap:5px}.it-v282-detail .it-reply :is(select,button,label){height:48px;display:flex;align-items:center;justify-content:center;border-radius:11px;font-size:12.5px}
@media(max-height:780px){.it-v282-workspace{padding:7px;gap:7px}.it-v282-sidebar,.it-v282-detail{border-radius:17px}.it-v282-detail{padding:7px}.it-v282-sidebar .it-ticket-row{min-height:61px}.it-v282-detail .it-message{padding:6px 8px;margin-bottom:5px}.it-v282-detail .it-reply textarea,.it-v282-detail .it-reply :is(select,button,label){height:42px}}

/* v285 — canonical scoped internals for the current ticket workspace.
   Legacy unscoped .it-* rules were removed from components.css. */
body.internal-ticket-open{overflow:hidden}
.it-v282-modal :is(.it-priority,.it-status){display:inline-flex;align-items:center;justify-content:center;min-height:23px;padding:3px 7px;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 24%,transparent);border-radius:999px;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}
.it-v282-sidebar :is(.it-loading,.it-empty,.it-error){min-height:150px;display:grid;place-items:center;padding:16px;border:1px dashed rgba(74,130,173,.32);border-radius:14px;background:rgba(248,252,255,.78);color:var(--v282-muted);font-size:12.5px;text-align:center}
.it-v282-sidebar .it-error{color:#963e47;border-color:rgba(198,76,87,.32);background:rgba(255,244,245,.88)}
.it-v282-sidebar .it-more{display:block;border:1px solid rgba(72,130,174,.34);border-radius:11px;background:rgba(249,253,255,.86);color:#315d80;font-size:12px;font-weight:700}
.it-v282-detail .it-back{border:0;background:transparent;color:#315d80;font-size:12.5px;font-weight:700;cursor:pointer}
.it-v282-detail .it-form{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-auto-rows:min-content;gap:8px;overflow:hidden}



.it-v282-detail .it-form-section :is(input,select,textarea){width:100%;min-height:38px;padding:7px 9px;border:1px solid rgba(66,126,173,.38);border-radius:11px;background:rgba(252,254,255,.94);color:var(--v282-ink);font-size:12.5px}





.it-v282-detail .it-person-check{display:flex!important;align-items:center;gap:7px!important;padding:6px;border:1px solid rgba(73,132,176,.25);border-radius:10px;background:rgba(248,252,255,.76)}
.it-v282-detail .it-person-check input{width:auto;min-height:0}.it-v282-detail .it-person-check span{display:grid}.it-v282-detail .it-person-check b{font-size:12px}.it-v282-detail .it-person-check small{font-size:11px;color:var(--v282-muted)}
.it-v282-detail :is(#it-customer-results,.it-customer-results){display:grid;gap:5px;max-height:120px;overflow:auto}.it-v282-detail .it-customer-result{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:7px 8px;border:1px solid rgba(72,132,177,.28);border-radius:10px;background:rgba(249,253,255,.82);text-align:right}.it-v282-detail .it-customer-result b{font-size:12.5px}.it-v282-detail .it-customer-result span,.it-v282-detail .it-customer-result small{font-size:11px;color:var(--v282-muted)}
.it-v282-detail .it-selected{display:flex;align-items:center;justify-content:space-between;padding:7px 8px;border:1px solid rgba(54,131,191,.38);border-radius:11px;background:rgba(224,243,253,.85)}.it-v282-detail .it-selected>div{display:grid}.it-v282-detail .it-selected b{font-size:12.5px}.it-v282-detail .it-selected span{font-size:11px;color:var(--v282-muted)}
.it-v282-detail .it-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px;padding-top:2px}.it-v282-detail .it-form-actions .btn{min-height:38px}
.it-v282-detail .it-attachments{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.it-v282-detail .it-image-attachment,.it-v282-detail .it-doc-attachment{border:1px solid rgba(72,132,177,.28);border-radius:10px;background:rgba(249,253,255,.88);overflow:hidden;text-decoration:none;color:var(--v282-ink)}.it-v282-detail .it-image-attachment{width:110px}.it-v282-detail .it-image-attachment img{width:100%;height:76px;object-fit:cover}.it-v282-detail .it-image-attachment span,.it-v282-detail .it-doc-attachment{padding:6px;font-size:11px}.it-v282-detail .it-doc-attachment{min-width:145px;display:grid}.it-v282-detail .it-doc-attachment b{font-size:12px}.it-v282-detail .it-doc-attachment small{font-size:11px;color:var(--v282-muted)}
.it-v282-detail .it-closed-note{padding:9px;border-radius:11px;background:rgba(224,233,241,.72);color:#557089;font-size:12px;text-align:center}
@media(max-width:1050px){.it-v282-detail .it-form{grid-template-columns:1fr}}

/* v285 — make the call-history pane use its full workspace width. */




.cc-v282-content .customer-call-table :is(th,td){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}



/* --------------------------------------------------------------------------
   v287 — canonical phone refinement, ticket vitality and darker login
   -------------------------------------------------------------------------- */
.cc-v282-modal{background:#fff;border-color:rgba(58,122,171,.52);box-shadow:0 38px 96px rgba(7,39,76,.34),inset 0 1px 0 rgba(255,255,255,.96)}

.cc-v282-close{width:44px;height:44px;border-radius:15px;border:1px solid rgba(220,70,79,.55);background:#fff;color:#a51f2d;box-shadow:inset 0 1px 0 #fff,0 9px 20px rgba(164,35,48,.20);transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.cc-v282-close svg{width:21px;height:21px;stroke-width:2.35}.cc-v282-close:hover{transform:none;background:#fff;box-shadow:inset 0 1px 0 #fff,0 13px 24px rgba(164,35,48,.28)}.cc-v282-close:active{transform:none;}












@keyframes ccV287Pulse{0%,100%{box-shadow:0 0 0 4px rgba(37,185,155,.10),0 0 12px rgba(37,185,155,.34)}50%{box-shadow:0 0 0 8px rgba(37,185,155,.05),0 0 24px rgba(37,185,155,.54)}}


.it-v282-modal{background:#fff;border-color:rgba(103,79,188,.44);box-shadow:0 38px 96px rgba(31,31,91,.34),inset 0 1px 0 rgba(255,255,255,.96)}


.it-v282-ticket-row{border-color:rgba(100,83,178,.28);box-shadow:0 7px 16px rgba(73,58,143,.07)}
.it-v282-ticket-row:hover,.it-v282-ticket-row.is-selected{background:#fff;border-color:rgba(111,78,210,.55);box-shadow:0 10px 21px rgba(75,55,158,.13)}
.it-v282-ticket-row.is-unread{box-shadow:inset -4px 0 0 #7651d4,0 8px 18px rgba(78,56,161,.10)}
.it-v282-detail .it-message{border-color:rgba(113,90,193,.25);background:#fff;box-shadow:0 8px 18px rgba(65,54,125,.09)}
.it-v282-detail .it-message.own{background:#fff;border-color:rgba(39,155,136,.30)}
.it-v282-detail .it-message.system{background:#fff;border-color:rgba(120,86,211,.30)}
.it-v282-detail .it-reply{background:#fff;border-color:rgba(75,137,184,.34);box-shadow:0 9px 20px rgba(49,82,123,.09)}

#login-screen.tiam-login-v282{color:#eaf4ff;background:#fff}
















@media(prefers-reduced-motion:reduce){}


/* TIAM v292 — login brand geometry: one positioning context for logo and all light rings. */







@media(max-width:1050px){}
@media(max-height:760px) and (min-width:1051px){}

/* ===== SOURCE: sales-hr-workspace-v286.css | sha256:1db449a19b28d48cb8114568f6e385c2e7a33847ed28dc9d9c6ca1de779ecaf9 ===== */
/* TIAM v286 — SINGLE ACTIVE STYLE SOURCE FOR SALES + HUMAN RESOURCES
   Extracted from legacy global files, then normalized below.
   No sales/HR selector should remain in layout.css, components.css or utilities.css. */

/* === Extracted from layout.css; TIAM v286 single-source migration === */
.payslip-preview{padding:18px}.payslip-title{text-align:center;font-size:20px;font-weight:bold}.payslip-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:12px;margin:13px 0}@media (max-width:820px){.payslip-meta{grid-template-columns:1fr 1fr}}@media (max-width:500px){.payslip-meta{grid-template-columns:1fr}}.adjustment-layout{align-items:start}.payslip-title{display:flex;align-items:center;justify-content:center;gap:11px}.payslip-title img{width:48px;height:48px;object-fit:contain;}.expert-hero{position:relative;min-height:240px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;padding:35px 42px}.expert-hero-copy{position:relative;z-index:2;max-width:720px}.expert-hero .eyebrow{padding:5px 11px}.expert-hero h2{margin:16px 0 8px;}.expert-hero p{margin:0;}.expert-hero-stats{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}.expert-hero-stats>div{min-width:135px;padding:11px 14px}.expert-hero-stats b,
.expert-hero-stats span{display:block}.expert-hero-stats b{font-size:17px}.expert-hero-stats span{font-size:11px;margin-top:3px}.expert-hero-logo{position:relative;z-index:2;width:176px;height:176px;display:grid;place-items:center;flex:0 0 auto}.expert-hero-logo img{width:125px;height:125px;object-fit:contain;padding:10px}.expert-layout{align-items:start}.expert-name-cell{display:flex;align-items:center;gap:10px;min-width:160px}.expert-name-cell b,
.expert-name-cell small{display:block}.expert-name-cell small{font-size:11px;margin-top:2px}@media (max-width:1100px){.expert-hero-logo{width:130px;height:130px}.expert-hero-logo img{width:100px;height:100px}.expert-hero h2{font-size:23px}.expert-layout{grid-template-columns:1fr}.expert-layout .span-2{grid-column:auto}}@media (max-width:820px){.expert-hero{padding:27px 23px}.expert-hero-logo{display:none}.expert-hero-stats>div{min-width:calc(50% - 5px)}}.payroll-summary-total{padding:18px;display:flex;align-items:center;gap:18px}.payroll-summary-total b{font-size:24px;margin-right:auto}@media (max-width:760px){.payroll-summary-total{align-items:flex-start;flex-direction:column}.payroll-summary-total b{margin-right:0}}.payslip-meta-rich{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}@media (max-width:760px){.payslip-meta-rich{grid-template-columns:1fr}}.attendance-intro{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:20px}.attendance-intro-icon{width:62px;height:62px;display:grid;place-items:center;font-size:34px}.attendance-intro h3{font-size:20px;margin:0 0 5px}.attendance-intro p{margin:0;}.attendance-rule{display:grid;grid-template-columns:auto auto;gap:3px 12px;padding:12px 15px;font-size:11px}.attendance-filter{grid-template-columns:2fr 1.2fr 1.2fr 1fr}.attendance-management{margin-top:16px}.attendance-enable{display:flex;gap:9px;align-items:center;margin-top:12px;padding:11px;font-size:12px;font-weight:700}.attendance-status{display:inline-flex;padding:4px 8px;font-size:11px;font-weight:800;white-space:nowrap}.attendance-import-history{margin-top:16px}.attendance-details{max-width:340px;white-space:pre-line;font-size:11px}.attendance-payroll-info{margin-top:12px;padding:12px 14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.attendance-payroll-info b{font-size:14px}.attendance-payroll-info small{margin-right:auto}@media (max-width:900px){.attendance-intro{grid-template-columns:auto 1fr}.attendance-rule{grid-column:1/-1}.attendance-filter{grid-template-columns:1fr 1fr}}@media (max-width:600px){.attendance-intro{grid-template-columns:1fr}.attendance-intro-icon{width:52px;height:52px}.attendance-filter{grid-template-columns:1fr}}.expert-hero,
.attendance-intro{position:relative;overflow:hidden}.expert-hero h2{font-size:28px}.expert-hero p{font-size:13.5px}.expert-clickable{cursor:pointer}.payslip-pastel .payslip-title{font-size:23px}.payslip-period{font-size:15px;font-weight:800;line-height:1.9;text-align:right;direction:rtl;padding:10px 14px}.payslip-pastel .pay-box h4{font-size:15px}.payslip-pastel .net-pay{font-size:20px}.payslip-meta-rich{font-size:13px}.attendance-payroll-info{font-size:13px}.attendance-intro p{font-size:13.5px}@media (max-width:900px){.expert-hero h2{font-size:24px}}.payslip-title img{padding:5px}.expert-hero-modern{position:relative;overflow:hidden;padding:28px 30px;display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:210px}.expert-hero-stats-modern{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}.expert-hero-stats-modern>div{min-width:132px;padding:14px 16px}.expert-hero-stats-modern b{display:block;font-size:24px}.expert-hero-stats-modern span{display:block;margin-top:4px;font-size:12px}.expert-hero-logo-modern img{width:88px;height:88px;object-fit:contain;padding:12px}@media (max-width:760px){.expert-hero-modern{padding:22px;flex-direction:column;align-items:flex-start}.expert-hero-logo-modern{align-self:flex-end}}.attendance-intro p{opacity:1}.analysis-score{width:132px;height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center}.analysis-score strong{font-size:34px;line-height:1}.analysis-score span{font-size:12px}.analysis-score b{margin-top:5px}.analysis-components{padding:18px}.analysis-component{margin:13px 0}.analysis-component>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:13px}.analysis-reasons{margin:18px 0 0;padding-right:20px;line-height:1.9}.analysis-bars{display:flex;flex-direction:column;gap:12px;padding:8px 0}.analysis-bar-row{display:grid;grid-template-columns:minmax(90px,1.1fr) 3fr minmax(80px,auto);gap:10px;align-items:center;font-size:12px}.analysis-bar-row>div{height:12px;overflow:hidden}.analysis-bar-row i{display:block;height:100%}.analysis-bar-row b{text-align:left}.analysis-findings h3{margin-top:0}.analysis-findings ul{padding-right:20px;line-height:1.9}@media (max-width:1100px){.analysis-score{width:110px;height:110px}.analysis-score strong{font-size:28px}}@media (max-width:720px){.analysis-filter{grid-template-columns:1fr}.analysis-score{margin:auto}.analysis-bar-row{grid-template-columns:90px 1fr}.analysis-bar-row b{grid-column:2}}.analysis-filter{grid-template-columns:1.4fr 1.4fr 1fr 1fr auto}@media (max-width:1050px){.analysis-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:720px){.analysis-filter{grid-template-columns:1fr}}.expert-hero-modern p,
.expert-hero p,
.attendance-intro p{opacity:1}.employee-analysis-header{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.employee-analysis-header h2,
.employee-analysis-header p{margin:3px 0}.sales-average-compact{padding:0}.sales-average-compact>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;padding:16px 18px;list-style:none}.sales-average-compact>summary::-webkit-details-marker{display:none}.sales-average-compact>summary b{display:block;font-size:14px}.sales-average-compact>summary small{display:block;margin-top:5px;line-height:1.8}.sales-average-compact>summary em{white-space:nowrap;padding:7px 12px;font-size:11px;font-weight:800}@media (max-width:700px){.sales-average-compact>summary{align-items:flex-start;flex-direction:column}.sales-average-compact>summary em{align-self:flex-start}}.compact-experts .expert-hero-stats-modern{gap:8px}.compact-experts .expert-hero-stats-modern>div{min-height:66px;padding:10px}body[data-page="experts"] .experts-shell{display:grid;}@media (max-width:980px){body[data-page="experts"] .experts-filter-bar{grid-template-columns:1fr 1fr}body[data-page="experts"] .expert-hero-stats-modern{grid-template-columns:repeat(2,minmax(0,1fr))}}body[data-page="experts"] .page-content{max-width:1500px}body[data-page="experts"] .page-head{display:flex;align-items:flex-end;gap:14px;margin-bottom:10px}body[data-page="experts"] .page-head h1{font-size:22px}body[data-page="experts"] .page-head p{font-size:12px}body[data-page="experts"] .page-actions{gap:7px;flex-wrap:wrap}body[data-page="experts"] .experts-shell{gap:10px}body[data-page="experts"] .expert-hero-stats-modern{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}body[data-page="experts"] .expert-hero-stats-modern>div{min-width:0;min-height:66px;padding:9px 8px;display:grid;place-items:center;text-align:center}body[data-page="experts"] .expert-hero-stats-modern b{font-size:22px;line-height:1.05}body[data-page="experts"] .expert-hero-stats-modern span{margin:3px 0 0;font-size:11px;font-weight:800}body[data-page="experts"] .experts-filter-bar{display:grid;grid-template-columns:minmax(260px,1.55fr) minmax(140px,.72fr) minmax(122px,.62fr) minmax(92px,auto) minmax(92px,auto);gap:8px;align-items:end}body[data-page="experts"] .experts-filter-bar label{font-size:11px;margin-bottom:4px}body[data-page="experts"] .filter-result-caption{margin-top:8px;font-size:11.2px}@media (max-width:1180px){body[data-page="experts"] .experts-filter-bar{grid-template-columns:1fr 1fr 1fr}}@media (max-width:760px){body[data-page="experts"] .page-head{display:block}body[data-page="experts"] .page-actions{margin-top:10px}body[data-page="experts"] .expert-hero-stats-modern{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="experts"] .experts-filter-bar{grid-template-columns:1fr}}.attendance-week-detail td{padding:10px 12px}.attendance-week-detail-box{overflow:auto;}.attendance-top-filter{margin-bottom:0}.attendance-accordion-stack{display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px}.attendance-accordion{overflow:hidden}.attendance-accordion summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:58px;padding:12px 16px;cursor:pointer;user-select:none}.attendance-accordion summary::-webkit-details-marker{display:none}.attendance-accordion-icon{width:30px;height:30px;display:grid;place-items:center;font-size:14px;font-weight:800;flex:0 0 auto}.attendance-accordion-title{display:flex;flex-direction:column;gap:4px;min-width:0}.attendance-accordion-title b{font-size:14px;font-weight:800;line-height:1.35}.attendance-accordion-title small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.attendance-accordion-body{padding:14px 16px 16px}.attendance-inline-row{grid-template-columns:minmax(170px,.9fr) minmax(220px,1.6fr) auto;padding:0;align-items:end}.attendance-personnel-code{display:inline-flex;align-items:center;min-height:30px;margin-bottom:10px;padding:5px 10px;font-size:11px;font-weight:800}@media (max-width:900px){.attendance-inline-row{grid-template-columns:1fr}.attendance-accordion summary{align-items:flex-start}.attendance-accordion-title small{white-space:normal}}.sales-report-operations{position:relative;display:inline-block}.sales-report-operations>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.sales-report-operations>summary::-webkit-details-marker{display:none}.sales-report-operations>summary i{font-size:14px}.sales-entry-head{position:relative;display:grid;align-items:center;overflow:hidden;}.sales-entry-head>*{position:relative;z-index:1}.sales-entry-head-icon{display:grid;place-items:center;}.sales-entry-head span{display:block;font-size:11px;font-weight:800;margin-bottom:3px}.sales-entry-head h2{margin:0;font-weight:800;}.sales-entry-head p{margin:6px 0 0;font-size:11.5px;line-height:1.8}.sales-entry-close{cursor:pointer;}.sales-entry-scroll{flex:1;overflow:auto;display:flex;flex-direction:column;}.sales-entry-section,
.sales-entry-advanced{overflow:hidden}.sales-entry-section-title{display:flex;align-items:center;}.sales-entry-section-title>span,
.sales-entry-advanced summary>span{display:grid;place-items:center;}.sales-entry-section-title b,
.sales-entry-advanced summary b{display:block;font-weight:800;}.sales-entry-section-title small,
.sales-entry-advanced summary small{display:block;font-size:11px;margin-top:2px}.sales-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.sales-entry-grid label{font-weight:800;}.sales-entry-grid label em{font-size:11px}.sales-entry-grid small{font-size:11px;line-height:1.7;margin-top:4px}.sales-product-context{margin-top:12px;padding:10px 12px;font-size:11px;line-height:1.8}.sales-entry-advanced>summary{list-style:none;cursor:pointer;display:grid;align-items:center;}.sales-entry-advanced>summary::-webkit-details-marker{display:none}.sales-entry-advanced>summary i{font-size:17px}.sales-entry-advanced-body{padding-top:15px;}.sales-entry-footer{flex:0 0 auto;display:flex;justify-content:flex-end;}@media (max-width:760px){.sales-entry-head{min-height:126px;padding:19px 18px;grid-template-columns:52px 1fr 37px}.sales-entry-head-icon{width:52px;height:52px}.sales-entry-head h2{font-size:19px}.sales-entry-head p{font-size:11px}.sales-entry-scroll{padding:13px}.sales-entry-grid{grid-template-columns:1fr}}@media (max-width:480px){.sales-entry-head p{display:none}.sales-entry-head{min-height:104px}.sales-entry-section{padding:14px}.sales-entry-footer{padding:11px 13px}}.sales-entry-head{min-height:92px;padding:16px 20px;grid-template-columns:48px 1fr 36px;gap:12px}.sales-entry-head-icon{width:48px;height:48px}.sales-entry-head-icon svg{width:25px;height:25px}.sales-entry-head h2{font-size:20px;line-height:1.35}.sales-entry-close{width:36px;height:36px;font-size:22px}.sales-entry-scroll{padding:12px;gap:9px}.sales-entry-section{padding:12px}.sales-entry-section-title{gap:9px;margin-bottom:10px}.sales-entry-section-title>span,
.sales-entry-advanced summary>span{width:34px;height:34px}.sales-entry-section-title svg,
.sales-entry-advanced summary svg{width:18px;height:18px}.sales-entry-section-title b,
.sales-entry-advanced summary b{font-size:13px}.sales-entry-grid{gap:9px 10px}.sales-entry-grid label{font-size:11.2px;margin-bottom:4px}.sales-entry-advanced>summary{grid-template-columns:34px 1fr 18px;gap:9px;padding:10px 12px}.sales-entry-advanced-body{padding:10px 12px 12px}.sales-entry-footer{gap:8px;padding:10px 12px}@media (min-width:1050px) and (min-height:680px){.sales-entry-scroll{overflow-y:auto}}@media (max-width:760px){.sales-entry-head{min-height:78px;padding:12px 14px;grid-template-columns:42px 1fr 34px}.sales-entry-head-icon{width:42px;height:42px}.sales-entry-head h2{font-size:18px}.sales-entry-scroll{padding:10px;gap:8px}.sales-entry-section{padding:10px}}@media (max-width:540px){.sales-entry-grid{grid-template-columns:1fr}.sales-entry-footer{padding:9px 10px}}body[data-page="sales-report"] .sales-report-hero{min-height:114px;margin:0 0 12px;padding:18px 20px;align-items:center;}body[data-page="sales-report"] .sales-report-hero>*{position:relative;z-index:1}.sales-report-hero-title{display:flex;align-items:center;gap:13px;min-width:0}.sales-report-hero-icon{display:grid;place-items:center;}.sales-report-hero-title small{display:block;font-weight:800;margin-bottom:3px;}.sales-report-hero h1{margin:0;font-weight:800;}.sales-report-hero .page-actions{align-items:center}.sales-report-page{display:flex;flex-direction:column;}.sales-report-section-head{min-height:54px;padding:10px 14px;display:flex;align-items:center;gap:10px}.sales-report-section-head>span{width:35px;height:35px;display:grid;place-items:center}.sales-report-section-head svg{width:19px;height:19px}.sales-report-section-head b{font-size:13.5px;font-weight:800}.sales-report-filter-body{padding:11px}.sales-report-primary-filters{display:grid;grid-template-columns:1.15fr 1.1fr 1fr 1fr 1fr auto;gap:8px;align-items:end}.sales-report-filter-actions{display:flex;gap:6px;align-items:end}.sales-filter-apply,
.sales-filter-clear{height:38px;min-height:38px;white-space:nowrap}.sales-filter-apply{padding:0 12px}.sales-filter-apply span{width:17px;height:17px;display:grid;place-items:center}.sales-filter-apply svg{width:100%;height:100%}.sales-filter-clear{padding:0 10px}.sales-bank-filter-panel{margin-top:8px;overflow:hidden}.sales-bank-filter-panel>summary{min-height:38px;padding:7px 10px;display:grid;grid-template-columns:28px 1fr 18px;align-items:center;gap:8px;list-style:none;cursor:pointer}.sales-bank-filter-panel>summary::-webkit-details-marker{display:none}.sales-bank-filter-panel>summary>span{width:28px;height:28px;display:grid;place-items:center}.sales-bank-filter-panel>summary svg{width:16px;height:16px}.sales-bank-filter-panel>summary b{font-size:11.8px;font-weight:800}.sales-bank-filter-grid{padding:9px 10px 10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sales-report-summary{padding:0;display:grid;}.sales-summary-icon{display:grid;place-items:center;}@media (max-width:1180px){.sales-report-primary-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-report-filter-actions{grid-column:auto}.sales-bank-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){body[data-page="sales-report"] .sales-report-hero{min-height:0;align-items:flex-start;flex-direction:column;padding:15px}.sales-report-hero .page-actions{width:100%}.sales-report-hero .page-actions>*{flex:1 1 auto}.sales-report-primary-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-report-filter-actions{grid-column:1/-1}}@media (max-width:560px){.sales-report-hero-title{gap:10px}.sales-report-hero-icon{width:46px;height:46px}.sales-report-hero h1{font-size:19px}.sales-report-hero-title small{font-size:11px}.sales-report-primary-filters,
.sales-bank-filter-grid{grid-template-columns:1fr}.sales-report-filter-actions{display:grid;grid-template-columns:1fr 1fr}.sales-report-summary{grid-template-columns:1fr}.sales-report-section-head{min-height:49px;padding:8px 10px}.sales-report-section-head>span{width:32px;height:32px}.sales-report-hero .sales-report-operations{flex:1}}body[data-page="sales-report"] .sales-report-hero,
.sales-average-detail-page .sales-report-hero{min-height:124px;padding:20px 22px}.sales-report-hero-title,
.sales-report-hero .page-actions{position:relative;z-index:2}.sales-report-hero-icon{width:58px;height:58px}.sales-report-hero-icon svg{width:29px;height:29px}.sales-report-hero-title small{font-size:11px}.sales-report-hero h1{font-size:24px}.sales-report-icon-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.sales-header-operations{position:relative;margin:0}.sales-header-operations>summary{display:grid}.sales-report-page{gap:12px}.sales-report-summary{order:-10;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sales-summary-icon{position:relative;z-index:2;width:60px;height:60px}.sales-summary-icon svg{width:29px;height:29px}.sales-average-detail-page{display:flex;flex-direction:column;gap:12px}.sales-average-detail-hero{margin-bottom:0}.sales-average-highlight-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sales-average-highlight{padding:14px 16px}.sales-average-highlight small{display:block;font-size:11px;font-weight:800}.sales-average-highlight b{display:block;font-size:15.5px;font-weight:800;margin-top:5px}.sales-average-highlight span{display:block;font-size:11px;margin-top:4px}.sales-average-bars{padding:12px 14px;display:flex;flex-direction:column;gap:8px}.sales-average-bar-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(180px,3fr) 88px;align-items:center;gap:12px;padding:9px 10px}.sales-average-bar-person b,
.sales-average-bar-person small{display:block}.sales-average-bar-person b{font-size:11.9px;font-weight:800}.sales-average-bar-person small{font-size:11px;margin-top:2px}.sales-average-bar-track{height:10px;overflow:hidden}.sales-average-bar-track i{display:block;height:100%}.sales-average-bar-value{text-align:left}.sales-average-bar-value b,
.sales-average-bar-value small{display:block}.sales-average-bar-value b{font-size:12.5px;font-weight:800}.sales-average-bar-value small{font-size:11px;margin-top:1px}@media (max-width:820px){body[data-page="sales-report"] .sales-report-hero,
.sales-average-detail-page .sales-report-hero{min-height:0;padding:16px}.sales-report-icon-actions{width:auto;align-self:flex-end}.sales-report-hero .page-actions>*{flex:0 0 auto}.sales-average-bar-row{grid-template-columns:130px minmax(130px,1fr) 74px;gap:8px}}@media (max-width:560px){.sales-average-highlight-grid{grid-template-columns:1fr}.sales-average-bar-row{grid-template-columns:1fr;gap:6px}.sales-average-bar-value{text-align:right;display:flex;align-items:center;gap:5px}.sales-average-bar-value b,
.sales-average-bar-value small{display:inline}.sales-report-hero .page-actions.sales-report-icon-actions{width:auto;display:flex}.sales-report-hero .page-actions.sales-report-icon-actions>*{flex:0 0 auto}}body[data-page="sales-report"] .sales-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%;margin:0;padding:0;order:-10;overflow:visible}@container salesReportPage (max-width:1060px){body[data-page="sales-report"] .sales-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@container salesReportPage (max-width:570px){body[data-page="sales-report"] .sales-report-summary{grid-template-columns:1fr;gap:10px}}@supports not (container-type:inline-size){@media (max-width:1300px){body[data-page="sales-report"] .sales-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){body[data-page="sales-report"] .sales-report-summary{grid-template-columns:1fr}}}body[data-page="sales-report"] .sales-report-hero{position:relative;}body[data-page="sales-report"] .sales-report-hero .page-actions,
body[data-page="sales-report"] .sales-report-icon-actions{position:relative;z-index:230;overflow:visible}body[data-page="sales-report"] .sales-report-summary{position:relative;z-index:10}body[data-page="sales-report"] .sales-header-operations{position:relative;overflow:visible;isolation:auto;}body[data-page="sales-report"] details.sales-report-operations.sales-header-operations,
body[data-page="sales-report"] details.sales-report-operations.sales-header-operations[open],
body[data-page="sales-report"] .sales-report-hero details.sales-header-operations,
body[data-page="sales-report"] .sales-report-hero details.sales-header-operations[open]{width:47px;min-width:47px;height:47px;min-height:47px;margin:0;padding:0;overflow:visible;isolation:isolate}body[data-page="sales-report"] .sales-header-operations>summary::-webkit-details-marker{display:none}body[data-page="sales-report"] .sales-header-operations>summary::marker{display:none}body[data-page="sales-report"] .sales-report-hero{z-index:500;overflow:visible}body[data-page="sales-report"] .sales-report-icon-actions{z-index:510;overflow:visible}body[data-page="sales-report"] .sales-header-operations{z-index:520}body[data-page="attendance"] .page-content{padding-bottom:36px;}body[data-page="attendance"] .attendance-v110-hero,
body[data-page="attendance"] .attendance-v110-file-hero{min-height:112px;padding:22px 24px;overflow:visible;position:relative;isolation:isolate}.attendance-v110-hero-title,
.attendance-v110-file-title{display:flex;align-items:center;gap:15px;min-width:0}.attendance-v110-hero-icon svg{width:31px;height:31px}.attendance-v110-hero-title small,
.attendance-v110-file-title small{display:block;font-size:11px;font-weight:800;margin-bottom:3px}.attendance-v110-hero-title h1,
.attendance-v110-file-title h1{margin:0;font-size:29px;font-weight:800}.attendance-v110-file-title p{margin:4px 0 0;font-size:11.5px;font-weight:700}.attendance-v110-header-actions{display:flex;align-items:center;gap:9px;position:relative;z-index:4}.attendance-v110-filter-grid{display:grid;grid-template-columns:1fr 1fr minmax(240px,1.7fr) auto;gap:12px;align-items:end}.attendance-v110-search-box{height:43px;display:flex;align-items:center;gap:8px;padding:0 12px}.attendance-v110-search-box span{width:20px;height:20px}.attendance-v110-search-box svg{width:19px;height:19px}.attendance-v110-primary{min-height:43px;font-weight:800}.attendance-v110-summary-grid,
.attendance-v110-file-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.attendance-v110-section-head{min-height:68px;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;overflow:hidden}.attendance-v110-section-head>div,
.attendance-v110-section-head>b{position:relative;z-index:1}.attendance-v110-section-head span{font-size:11px;font-weight:800}.attendance-v110-section-head h2{margin:2px 0 0;font-size:17px;font-weight:800}.attendance-v110-section-head>b{padding:6px 10px;font-size:11px}.attendance-v110-employee-list{padding:12px}.attendance-v110-person-cell{display:flex;align-items:center;gap:9px;text-align:right;min-width:220px}.attendance-v110-person-cell b{display:block;font-size:12px;font-weight:800}.attendance-v110-person-cell small{display:block;margin-top:2px;font-size:11px;font-weight:700}.attendance-v110-mode{display:inline-flex;padding:5px 9px;font-size:11px;font-weight:800}.attendance-v110-file-filter{margin-top:15px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.attendance-v110-file-filter b{display:block;font-size:12px}.attendance-v110-file-filter span{display:block;margin-top:2px;font-size:11px;font-weight:750;direction:ltr;text-align:right}.attendance-v110-file-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:start}.attendance-v110-file-main{min-width:0}.attendance-v110-file-side{display:grid;gap:12px;position:sticky;top:12px}.attendance-week-detail-box{padding:10px}.attendance-v110-mini-list{padding:8px 12px}.attendance-v110-mini-list>div{padding:8px 0;display:grid;grid-template-columns:1fr auto;gap:3px 8px}.attendance-v110-mini-list b{font-size:11px;font-weight:800}.attendance-v110-mini-list span{grid-row:2;font-size:11px}.attendance-v110-mini-list em{grid-column:2;grid-row:1/3;align-self:center;padding:4px 6px;font-size:11px;font-weight:800}.attendance-v110-calendar-sections{display:grid;gap:13px}.attendance-v110-rules-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.attendance-v110-rules-grid article{min-height:100px;padding:15px;display:flex;flex-direction:column;justify-content:center}.attendance-v110-rules-grid span{font-size:11px;font-weight:800}.attendance-v110-rules-grid b{margin-top:7px;font-size:18px;font-weight:800}@media (max-width:1120px){.attendance-v110-summary-grid,
.attendance-v110-file-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-v110-file-layout{grid-template-columns:1fr}.attendance-v110-file-side{grid-template-columns:repeat(3,minmax(0,1fr));position:static}.attendance-v110-filter-grid{grid-template-columns:1fr 1fr}}@media (max-width:760px){body[data-page="attendance"] .attendance-v110-hero,
body[data-page="attendance"] .attendance-v110-file-hero{padding:16px;min-height:auto;align-items:flex-start;gap:14px;flex-direction:column}.attendance-v110-header-actions{width:100%;justify-content:flex-start}.attendance-v110-hero-title h1,
.attendance-v110-file-title h1{font-size:23px}.attendance-v110-filter-grid{grid-template-columns:1fr}.attendance-v110-file-side{grid-template-columns:1fr}}@media (max-width:520px){.attendance-v110-summary-grid,
.attendance-v110-file-summary{grid-template-columns:1fr}.attendance-v110-file-filter{align-items:stretch;flex-direction:column}.attendance-v110-file-title{align-items:flex-start;flex-wrap:wrap}}body[data-page="attendance"] .workspace{position:relative;overflow:clip}body[data-page="attendance"] .topbar{z-index:38;padding:0 34px;}body[data-page="attendance"] .topbar .top-title{display:none}body[data-page="attendance"] .attendance-top-tools{align-items:center;gap:8px;}body:not([data-page="attendance"]) .attendance-top-tools{display:none}.attendance-top-tool{width:39px;height:39px;display:grid;place-items:center;cursor:pointer}.attendance-top-tool svg{width:20px;height:20px}.attendance-v111-hero{min-height:286px;margin:0 -26px 0;padding:104px 48px 36px;display:flex;align-items:center;justify-content:space-between;gap:32px;position:relative;overflow:hidden}.attendance-v111-hero-copy{position:relative;z-index:4;min-width:0;text-align:right}.attendance-v111-hero-copy small{display:block;margin-bottom:8px;font-size:11px;font-weight:800}.attendance-v111-hero-copy h1{margin:0;font-size:38px;line-height:1.35;font-weight:800}.attendance-v111-hero-copy p{max-width:650px;margin:10px 0 0;font-size:13px;font-weight:700;line-height:1.9}.attendance-v111-hero-rule{width:min(390px,70%);height:1px;margin-top:22px;position:relative}.attendance-v111-hero-actions{display:flex;align-items:center;gap:9px;position:relative;z-index:6;align-self:flex-start;margin-top:2px}.attendance-v111-hero-action,
.attendance-v111-back{width:44px;height:44px;display:grid;place-items:center;cursor:pointer}.attendance-v111-hero-action svg,
.attendance-v111-back svg{width:21px;height:21px}.attendance-v111-hero-visual{position:absolute;left:7.5%;top:95px;width:390px;height:170px;z-index:2;pointer-events:none}.attendance-v111-visual-circle{position:absolute}.attendance-v111-visual-circle.c1{width:142px;height:142px;left:120px;top:5px}.attendance-v111-visual-circle.c2{width:92px;height:92px;left:58px;top:52px}.attendance-v111-visual-circle.c3{width:56px;height:56px;left:0;top:94px}.attendance-v111-visual-line{position:absolute;height:1px;width:320px;left:20px;top:94px}.attendance-v111-visual-icons{position:absolute;left:15px;bottom:4px;display:flex;gap:30px}.attendance-v111-visual-icons span{width:52px;height:52px;display:grid;place-items:center}.attendance-v111-visual-icons svg{width:28px;height:28px}.attendance-v111-controlbar{min-height:72px;margin:18px 12px 16px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px}.attendance-v111-week-nav{display:flex;align-items:center;gap:7px;min-width:0}.attendance-v111-week-label small,
.attendance-v111-week-label b{display:block}.attendance-v111-week-label b{direction:rtl;}.attendance-v111-control-actions{display:flex;align-items:center;gap:9px;min-width:0}.attendance-v111-search{width:min(330px,34vw);height:42px;display:flex;align-items:center;gap:9px;padding:0 12px}.attendance-v111-search svg{width:19px;height:19px;flex:0 0 auto}.attendance-v111-export,
.attendance-v111-current{min-height:42px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.attendance-v111-export svg,
.attendance-v111-current svg{width:18px;height:18px}.attendance-v111-last-update{font-weight:750;}.attendance-v111-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 12px 16px}.attendance-v111-skeleton{min-height:110px}.attendance-v111-employee-panel{margin:0 12px;overflow:hidden}.attendance-v111-section-head{min-height:64px;padding:12px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.attendance-v111-section-head small{display:block;font-size:11px;font-weight:800}.attendance-v111-section-head h2{margin:2px 0 0;font-size:16px;font-weight:800}.attendance-v111-count{font-weight:800;}.attendance-v111-employee-list{padding:10px}.attendance-v111-employee-row{min-height:68px;padding:9px 10px;display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(120px,.8fr) repeat(4,minmax(86px,.62fr)) minmax(110px,.7fr) 42px;align-items:center;gap:9px;margin-bottom:8px}.attendance-v111-person{display:flex;align-items:center;gap:10px;min-width:0}.attendance-v111-person b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800}.attendance-v111-person small{display:block;margin-top:2px;font-size:11px;font-weight:750}.attendance-v111-role,
.attendance-v111-metric{text-align:center;font-size:11px;font-weight:800}.attendance-v111-metric span{display:block;font-size:11px;font-weight:750}.attendance-v111-program{display:inline-flex;justify-self:center;padding:5px 8px;font-size:11px;font-weight:800}.attendance-v111-file-meta{display:flex;align-items:center;gap:10px;margin-top:9px;flex-wrap:wrap}.attendance-v111-file-meta span{padding:4px 8px;font-size:11px;font-weight:800}.attendance-v111-week-head{min-height:57px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.attendance-v111-week-head div{display:flex;align-items:center;gap:9px}.attendance-v111-week-head i{width:34px;height:34px;display:grid;place-items:center}.attendance-v111-week-head i svg{width:19px;height:19px}.attendance-v111-week-head h2{margin:0;font-size:15px;font-weight:800}.attendance-v111-week-head small{font-size:11px;font-weight:800}.attendance-v111-week-body{display:grid;grid-template-columns:minmax(0,1fr) 188px;min-height:212px}.attendance-v111-week-days{display:grid;grid-template-columns:repeat(7,minmax(112px,1fr));min-width:784px;overflow:hidden}.attendance-v111-day{min-width:0;padding:13px 8px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;position:relative}.attendance-v111-day b{font-size:11px;font-weight:800}.attendance-v111-day time{font-size:11px;font-weight:750}.attendance-v111-day-icon{width:37px;height:37px;margin:4px 0 1px;display:grid;place-items:center}.attendance-v111-day-icon svg{width:19px;height:19px}.attendance-v111-day-status{font-size:11px;font-weight:800;line-height:1.45;min-height:28px;display:grid;place-items:center}.attendance-v111-day-main{font-size:11px;font-weight:800;direction:ltr}.attendance-v111-day-sub{font-size:11px;font-weight:750;line-height:1.55}.attendance-v111-day-sub span{display:block}.attendance-v111-week-scroll{min-width:0;overflow:auto}.attendance-v111-week-summary{display:grid;grid-template-rows:repeat(5,1fr)}.attendance-v111-week-summary div{display:grid;grid-template-columns:33px 1fr;align-items:center;gap:8px;padding:8px 11px}.attendance-v111-week-summary i{width:31px;height:31px;display:grid;place-items:center}.attendance-v111-week-summary i svg{width:17px;height:17px}.attendance-v111-week-summary small,
.attendance-v111-week-summary b{display:block}.attendance-v111-week-summary small{font-size:11px;font-weight:800}.attendance-v111-week-summary b{margin-top:1px;font-size:11px;font-weight:800}.attendance-v111-accordions{display:grid;gap:8px;margin:0 12px}.attendance-v111-accordion{overflow:hidden}.attendance-v111-accordion>summary{min-height:54px;padding:9px 14px;display:grid;grid-template-columns:34px 1fr auto 22px;align-items:center;gap:10px;cursor:pointer;list-style:none}.attendance-v111-accordion>summary::-webkit-details-marker{display:none}.attendance-v111-accordion-icon{width:34px;height:34px;display:grid;place-items:center}.attendance-v111-accordion-icon svg{width:18px;height:18px}.attendance-v111-accordion-title b{display:block;font-size:11.5px;font-weight:800}.attendance-v111-accordion-title small{display:block;margin-top:2px;font-size:11px;font-weight:750}.attendance-v111-chevron{font-size:16px}.attendance-v111-accordion-body{padding:12px}.attendance-v111-small-action{min-height:36px;cursor:pointer;}.attendance-v111-policy-grid,
.attendance-v111-calendar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.attendance-v111-policy-grid article,
.attendance-v111-calendar-grid article{padding:12px}.attendance-v111-policy-grid span,
.attendance-v111-calendar-grid span{display:block;font-size:11px;font-weight:800}.attendance-v111-policy-grid b,
.attendance-v111-calendar-grid b{display:block;margin-top:4px;font-size:11px;font-weight:800}@media (max-width:1240px){.attendance-v111-hero-visual{left:2%;opacity:.72}.attendance-v111-employee-row{grid-template-columns:minmax(200px,1.5fr) minmax(110px,.75fr) repeat(3,minmax(82px,.6fr)) minmax(105px,.72fr) 42px}.attendance-v111-employee-row .attendance-v111-optional{display:none}.attendance-v111-policy-grid,
.attendance-v111-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:992px){body[data-page="attendance"] .page-content{padding-inline:18px}.attendance-v111-hero{margin-inline:-18px;padding-inline:30px;min-height:252px}.attendance-v111-hero-copy h1{font-size:31px}.attendance-v111-hero-visual{opacity:.35;left:-60px}.attendance-v111-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-v111-controlbar{align-items:stretch;flex-direction:column}.attendance-v111-control-actions{justify-content:space-between}.attendance-v111-search{width:min(100%,520px);flex:1}.attendance-v111-week-body{grid-template-columns:1fr}.attendance-v111-week-summary{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:auto}.attendance-v111-week-summary div{grid-template-columns:28px 1fr}.attendance-v111-employee-row{grid-template-columns:minmax(190px,1.5fr) repeat(3,minmax(78px,.62fr)) 110px 42px}.attendance-v111-role,
.attendance-v111-program{display:none}}@media (max-width:768px){body[data-page="attendance"] .topbar{height:62px;padding:0 14px;gap:8px}body[data-page="attendance"] .attendance-top-tools .attendance-top-search{display:none}.attendance-v111-hero{min-height:220px;padding:88px 20px 28px}.attendance-v111-hero-copy h1{font-size:26px}.attendance-v111-hero-copy p{font-size:11px;max-width:90%}.attendance-v111-hero-visual{display:none}.attendance-v111-hero-actions{gap:6px}.attendance-v111-hero-action,
.attendance-v111-back{width:40px;height:40px}.attendance-v111-control-actions{flex-wrap:wrap}.attendance-v111-search{width:100%;flex-basis:100%}.attendance-v111-last-update{width:100%;text-align:center}.attendance-v111-summary-grid{grid-template-columns:1fr 1fr;gap:9px}.attendance-v111-employee-list{padding:8px}.attendance-v111-employee-row{grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.attendance-v111-employee-row .attendance-v111-metric,
.attendance-v111-employee-row .attendance-v111-role,
.attendance-v111-employee-row .attendance-v111-program{display:none}.attendance-v111-person b{white-space:normal}.attendance-v111-week-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-v111-accordion>summary{grid-template-columns:32px 1fr auto 20px;padding-inline:10px}.attendance-v111-accordion-title small{display:none}.attendance-v111-policy-grid,
.attendance-v111-calendar-grid{grid-template-columns:1fr}}@media (max-width:576px){body[data-page="attendance"] .page-content{padding-inline:11px;padding-bottom:32px}.attendance-v111-hero{margin-inline:-11px;padding-inline:16px}.attendance-v111-hero-copy h1{font-size:23px}.attendance-v111-hero-copy p{max-width:100%;line-height:1.7}.attendance-v111-hero-actions{position:absolute;left:13px;bottom:17px}.attendance-v111-week-label{min-width:0;flex:1}.attendance-v111-week-nav{width:100%}.attendance-v111-current{display:none}.attendance-v111-export{flex:1}.attendance-v111-summary-grid{grid-template-columns:1fr}.attendance-v111-section-head{min-height:58px}}.attendance-v111-employee-switch{width:min(250px,28vw);height:42px;padding:0 38px 0 12px;font-size:11px;font-weight:800;cursor:pointer}@media (max-width:768px){.attendance-v111-employee-switch{width:100%;flex-basis:100%}}.so-page-head{padding:22px 24px;overflow:hidden;position:relative;}.so-page-title{display:flex;align-items:center;gap:16px;position:relative;z-index:1}.so-page-title small{font-weight:800;font-size:12px}.so-page-title h1{margin:3px 0 4px;font-size:27px}.so-page-title p{margin:0;font-size:13px}.so-page-icon{display:grid;place-items:center;width:58px;height:58px}.so-page-icon svg{width:27px;height:27px}.so-two-column{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,.8fr);gap:16px;margin-bottom:16px}.so-panel{overflow:hidden}.so-panel>header,
.so-import-result>header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px}.so-panel>header h3,
.so-import-result h3{margin:3px 0 0}.so-panel>p{padding:18px 20px;margin:0;line-height:1.9}.so-funnel{padding:10px 16px 18px;display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:10px}.so-funnel b{font-size:18px}.so-today-panel{padding-bottom:10px}.so-today-panel svg{width:20px;height:20px}.so-today-panel div{flex:1}.so-today-panel b{display:block}.so-today-panel small{font-size:11px}.so-today-panel strong{font-size:20px}.so-import-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);gap:16px}.so-import-illustration{width:76px;height:76px;display:grid;place-items:center}.so-import-illustration svg{width:32px;height:32px}.so-file-drop{grid-column:1/-1;padding:24px;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}.so-file-drop svg{width:34px;height:34px}.so-import-guide h3{margin-top:0}.so-import-guide ul{padding-right:20px;line-height:2.3}.so-import-result{margin-top:16px;padding-bottom:18px}.so-leads-toolbar{display:grid;grid-template-columns:minmax(300px,1fr) 220px 170px;gap:14px;align-items:end;padding:16px 18px;margin-bottom:12px}.so-search-box{display:flex;align-items:center;overflow:hidden}.so-search-box svg{width:18px;height:18px;margin:0 10px}.so-lead-total{height:48px;padding:8px 14px;display:flex;justify-content:space-between;align-items:center}.so-lead-total span{font-size:11px}.so-lead-total b{font-size:21px}.so-bulk-bar{display:none;align-items:center;justify-content:space-between;padding:12px 16px;margin-bottom:12px}.so-bulk-bar small{display:block;opacity:.7}.so-bulk-bar>div:last-child{display:flex;gap:6px;flex-wrap:wrap}.so-person-cell{display:flex;align-items:center;gap:10px;min-width:180px}.so-person-cell>span{width:36px;height:36px;display:grid;place-items:center;font-weight:800}.so-open-detail{padding:7px 10px;display:inline-flex;align-items:center;gap:5px;cursor:pointer}.so-open-detail svg{width:15px;height:15px}.so-row-archived{opacity:.65}.so-detail-hero{display:flex;justify-content:space-between;align-items:center}.so-detail-hero span{display:block;opacity:.7;font-size:11px}.so-detail-hero b{font-size:17px}.so-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}.so-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.so-case-links{display:grid;gap:8px}.so-case-link{padding:10px;display:flex;gap:10px;align-items:center;text-align:right;cursor:pointer}.so-case-link svg{width:20px;height:20px}.so-timeline{position:relative}.so-timeline-item{display:flex;gap:12px;padding:10px 0}.so-timeline-item>span{width:11px;height:11px;margin-top:6px}.so-timeline-item p{margin:3px 0}.so-credit-summary{display:flex;align-items:center;gap:12px}.so-credit-summary>div{flex:1}.so-workflow{display:flex;align-items:center;gap:8px;padding:20px;flex-wrap:wrap}.so-workflow span{padding:9px 13px;font-weight:800}.so-chat-thread{display:flex;flex-direction:column;gap:9px;margin-bottom:16px}.so-chat-message{align-self:flex-start;max-width:86%;padding:10px 12px}.so-chat-message.is-own{align-self:flex-end}.so-chat-message p{margin:5px 0}.so-chat-message time{font-size:11px}.so-reconciliation-source{margin-bottom:16px;overflow:hidden}.so-reconciliation-source h3{margin:3px 0}.so-source-count{width:48px;height:48px;display:grid;place-items:center;font-size:20px;font-weight:800}.so-top-action{height:42px;display:flex;align-items:center;gap:6px;padding:0 10px;cursor:pointer}.so-top-action svg{width:17px;height:17px}.so-top-action span{font-size:11px;font-weight:800}.so-top-action b{display:grid;place-items:center;}.so-notification-backdrop{position:absolute;inset:0}.so-notification-list{max-height:60vh;overflow:auto;}.so-notification-list svg{width:18px;height:18px}.so-notification-list div{flex:1}.so-notification-list p{margin:3px 0;font-size:11px}.so-notification-list small{font-size:11px}@media (max-width:1100px){.so-two-column,
.so-import-layout{grid-template-columns:1fr}.so-leads-toolbar{grid-template-columns:1fr 1fr}.so-lead-total{grid-column:1/-1}}@media (max-width:760px){.so-page-head{padding:16px}.so-page-title p{display:none}.so-page-title h1{font-size:21px}.so-page-icon{width:48px;height:48px}.so-two-column{grid-template-columns:1fr}.so-import-illustration{display:none}.so-leads-toolbar{grid-template-columns:1fr}.so-bulk-bar{align-items:flex-start;gap:10px;flex-direction:column}.so-action-grid{grid-template-columns:repeat(2,1fr)}.so-top-action span{display:none}.so-top-actions{gap:4px}.so-top-action{padding:0 7px}}.so-full-detail-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px 20px}.so-full-detail-title{display:flex;align-items:center;gap:14px}.so-full-detail-icon{width:52px;height:52px;display:grid;place-items:center}.so-full-detail-icon svg{width:25px;height:25px}.so-full-detail-title small{font-weight:800}.so-full-detail-title h1{margin:2px 0 3px;font-size:23px}.so-full-detail-title p{margin:0}.so-full-detail-shell{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:18px;align-items:start}.so-full-summary{position:sticky;top:82px;display:grid;gap:14px;padding:18px}.so-full-main{display:grid;gap:16px;min-width:0}.so-full-status{display:grid;gap:5px;padding:15px}.so-full-status span{font-size:11px}.so-full-status b{font-size:15px}.so-detail-grid-single{grid-template-columns:1fr}.so-detail-grid-single>div{min-height:58px}.so-action-grid-full{grid-template-columns:repeat(3,minmax(0,1fr))}.so-case-link em{font-size:11px;font-weight:800;margin-inline-start:auto}.so-inline-workspace{margin-top:14px}.so-credit-summary-full{margin:0}.so-referral-layout{display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:18px;align-items:start}.so-referral-safe{position:sticky;top:82px;padding:17px;display:grid;gap:14px}.so-chat-thread-full{max-height:none;min-height:280px}.so-notification-list{padding:10px;display:grid;gap:8px}.so-notification-item{position:relative;overflow:hidden}.so-notification-main{width:100%;display:grid;grid-template-columns:10px 1fr;gap:8px;padding:12px;text-align:right;cursor:pointer}.so-notification-dot{width:8px;height:8px;margin-top:7px}.so-notification-sender{display:flex;align-items:center;gap:7px;margin-bottom:4px}.so-notification-sender b{font-size:12px}.so-notification-sender small{padding:2px 7px}.so-notification-main strong{display:block;font-size:13px}.is-unread .so-notification-main strong{font-weight:800}.so-notification-main p{margin:4px 0 7px;line-height:1.7}.so-notification-main footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.so-notification-main time{font-size:11px}.so-notification-main em{font-size:11px;padding:2px 7px}.so-notification-toggle{position:absolute;left:10px;top:8px;cursor:pointer}.so-notification-footer{padding:10px 14px}@media (max-width:1050px){.so-full-detail-shell,
.so-referral-layout{grid-template-columns:1fr}.so-full-summary,
.so-referral-safe{position:static}.so-action-grid-full{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.so-full-detail-head{align-items:flex-start;flex-direction:column}.so-full-detail-head .page-actions{width:100%}.so-action-grid-full{grid-template-columns:1fr}.so-full-detail-title h1{font-size:19px}.so-full-detail-shell{gap:12px}}body[data-page="lead-import"] .lead-import-v203-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:15px 18px}body[data-page="lead-import"] .lead-import-v203-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}body[data-page="lead-import"] .lead-import-v203-head-title{display:flex;align-items:center;gap:12px;min-width:0}body[data-page="lead-import"] .lead-import-v203-head-title>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto}body[data-page="lead-import"] .lead-import-v203-head-title svg{width:21px;height:21px}body[data-page="lead-import"] .lead-import-v203-head small{font-size:11px;font-weight:800}body[data-page="lead-import"] .lead-import-v203-head h1{margin:2px 0 0;font-size:22px}body[data-page="lead-import"] .lead-import-v203-upload-grid{display:grid;grid-template-columns:minmax(0,1fr) 230px auto;gap:12px;align-items:end;padding:18px}body[data-page="lead-import"] .lead-import-v203-file{grid-column:auto;padding:16px;min-height:92px;box-sizing:border-box}body[data-page="lead-import"] .lead-import-v203-file svg{width:27px;height:27px}body[data-page="lead-import"] .lead-import-v203-date{margin:0}body[data-page="lead-import"] .lead-import-v203-feedback{min-height:20px;margin:0 18px 14px;font-size:12px}body[data-page="lead-import"] .lead-import-v203-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;}body[data-page="lead-import"] .lead-import-v203-workspace-head h2{margin:3px 0;}body[data-page="lead-import"] .lead-import-v203-workspace-head p{margin:0;font-size:11px;overflow-wrap:anywhere}body[data-page="lead-import"] .lead-import-v203-summary{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}body[data-page="lead-import"] .lead-import-v203-summary span{display:flex;align-items:center;gap:6px;padding:6px 10px;font-size:11px}body[data-page="lead-import"] .lead-import-v203-summary b{font-size:13px}body[data-page="lead-import"] .lead-import-v203-toolbar{display:grid;align-items:end;}body[data-page="lead-import"] .lead-import-v203-long{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page="lead-import"] .lead-import-v203-delivery-cell{display:grid;gap:2px;max-width:240px}body[data-page="lead-import"] .lead-import-v203-delivery-cell b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page="lead-import"] .lead-import-v203-delivery-cell small,
body[data-page="lead-import"] .lead-import-v203-muted{font-size:11px}body[data-page="lead-import"] .lead-import-v203-delivery-result{margin:0 18px 16px;padding:14px}body[data-page="lead-import"] .lead-import-v203-delivery-result>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}body[data-page="lead-import"] .lead-import-v203-delivery-result>header small{display:block;font-size:11px}body[data-page="lead-import"] .lead-import-v203-delivery-result>header b{font-size:11px;overflow-wrap:anywhere}body[data-page="lead-import"] .lead-import-v203-delivery-result>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}body[data-page="lead-import"] .lead-import-v203-delivery-result>div span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;font-size:11px}body[data-page="lead-import"] .lead-import-v203-delivery-result>div b{font-size:16px}body[data-page="lead-import"] .lead-import-v203-delivery-result>p{margin:10px 0 0;font-size:11px}body[data-page="lead-import"] .lead-import-v203-delivery-result details p{margin:5px 0;font-size:11px}body[data-page="lead-import"] .lead-import-v203-operations{margin:0 18px 18px;padding-top:12px}body[data-page="lead-import"] .lead-import-v203-operations summary{cursor:pointer;font-weight:800}body[data-page="lead-import"] .lead-import-v203-operations td small{display:block;font-size:11px}body[data-page="lead-import"] .lead-import-v203-state{min-height:190px;margin-top:14px;padding:28px;display:grid;place-items:center;align-content:center;gap:9px;text-align:center}body[data-page="lead-import"] .lead-import-v203-state h2{margin:0}body[data-page="lead-import"] .lead-import-v203-state p{margin:0}body[data-page="lead-import"] .lead-import-v203-state>span svg{width:34px;height:34px}@media (max-width:1180px){body[data-page="lead-import"] .lead-import-v203-upload-grid{grid-template-columns:minmax(0,1fr) 220px}body[data-page="lead-import"] .lead-import-v203-toolbar{grid-template-columns:140px 100px 1fr}}@media (max-width:768px){body[data-page="lead-import"] .lead-import-v203-head{align-items:flex-start}body[data-page="lead-import"] .lead-import-v203-head h1{font-size:19px}body[data-page="lead-import"] .lead-import-v203-upload-grid,
body[data-page="lead-import"] .lead-import-v203-toolbar{grid-template-columns:1fr}body[data-page="lead-import"] .lead-import-v203-workspace-head{align-items:flex-start;flex-direction:column}body[data-page="lead-import"] .lead-import-v203-summary{justify-content:flex-start}body[data-page="lead-import"] .lead-import-v203-long,
body[data-page="lead-import"] .lead-import-v203-delivery-cell{max-width:100%}body[data-page="lead-import"] .lead-import-v203-delivery-result>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:430px){body[data-page="lead-import"] .lead-import-v203-head{flex-direction:column}body[data-page="lead-import"] .lead-import-v203-head>a{width:100%;justify-content:center;box-sizing:border-box}body[data-page="lead-import"] .lead-import-v203-summary{display:grid;grid-template-columns:1fr 1fr;width:100%}body[data-page="lead-import"] .lead-import-v203-summary span{justify-content:space-between}body[data-page="lead-import"] .lead-import-v203-delivery-result>header{align-items:flex-start;flex-direction:column}body[data-page="lead-import"] .lead-import-v203-delivery-result>div{grid-template-columns:1fr}}@media (max-width:430px){body[data-page="lead-import"] .lead-import-v203-head-actions{display:grid;grid-template-columns:1fr;width:100%}}body[data-page="contact-archive"] .contact-archive-v204-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:17px 19px}body[data-page="contact-archive"] .contact-archive-v204-title{display:flex;align-items:center;gap:12px;min-width:0}body[data-page="contact-archive"] .contact-archive-v204-title>span{width:45px;height:45px;display:grid;place-items:center;flex:0 0 auto}body[data-page="contact-archive"] .contact-archive-v204-title svg{width:24px;height:24px}body[data-page="contact-archive"] .contact-archive-v204-title small{display:block;font-size:11px}body[data-page="contact-archive"] .contact-archive-v204-title h1{margin:2px 0;font-size:22px}body[data-page="contact-archive"] .contact-archive-v204-title p{margin:0;font-size:11px;line-height:1.8}body[data-page="contact-archive"] .contact-archive-v204-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}body[data-page="contact-archive"] .contact-archive-v204-filters{display:grid;grid-template-columns:2fr repeat(3,minmax(135px,1fr));gap:11px;align-items:end;padding:15px;margin-bottom:14px}body[data-page="contact-archive"] .contact-archive-v204-search{grid-column:span 2}body[data-page="contact-archive"] .contact-archive-v204-filter-actions{display:flex;gap:8px;align-items:center}body[data-page="contact-archive"] .contact-archive-v204-file,
body[data-page="contact-archive"] .contact-archive-v204-identity,
body[data-page="contact-archive"] .contact-archive-v204-owner{display:grid;gap:2px;min-width:0;max-width:220px}body[data-page="contact-archive"] .contact-archive-v204-file b,
body[data-page="contact-archive"] .contact-archive-v204-identity b,
body[data-page="contact-archive"] .contact-archive-v204-owner b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page="contact-archive"] .contact-archive-v204-file span,
body[data-page="contact-archive"] .contact-archive-v204-identity span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page="contact-archive"] .contact-archive-v204-file small,
body[data-page="contact-archive"] .contact-archive-v204-identity small,
body[data-page="contact-archive"] .contact-archive-v204-owner small{font-size:11px}body[data-page="contact-archive"] .contact-archive-v204-validation{display:block;max-width:190px;margin-top:4px;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body[data-page="contact-archive"] .contact-archive-v204-corrected{display:block;margin-top:4px;font-size:11px;font-weight:800}body[data-page="contact-archive"] .contact-archive-v204-state{min-height:230px;display:grid;place-items:center;align-content:center;gap:10px;text-align:center}body[data-page="contact-archive"] .contact-archive-v204-state h2{margin:0}body[data-page="contact-archive"] .contact-archive-v204-state p{margin:0}.contact-archive-v204-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px}.contact-archive-v204-detail-head>div:first-child{display:grid;gap:3px;min-width:0}.contact-archive-v204-detail-head>div:last-child{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.contact-archive-v204-detail-head small,
.contact-archive-v204-detail-head span{font-size:11px}.contact-archive-v204-raw-grid,
.contact-archive-v204-normal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.contact-archive-v204-raw-grid>div,
.contact-archive-v204-normal-grid>div{min-width:0;padding:10px}.contact-archive-v204-raw-grid small,
.contact-archive-v204-normal-grid small{display:block;font-size:11px}.contact-archive-v204-raw-grid b,
.contact-archive-v204-normal-grid b{display:block;margin-top:3px;overflow-wrap:anywhere}.contact-archive-v204-history{display:grid;gap:7px}.contact-archive-v204-history article{display:grid;gap:2px;padding:9px}.contact-archive-v204-history span,
.contact-archive-v204-history small{font-size:11px}.contact-archive-v204-corrections{display:grid;gap:9px}.contact-archive-v204-corrections article{padding:10px}.contact-archive-v204-corrections header{display:flex;justify-content:space-between;gap:12px}.contact-archive-v204-corrections article>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.contact-archive-v204-corrections span{min-width:0;padding:8px}.contact-archive-v204-corrections code{display:block;margin-top:3px;white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;text-align:left;font-size:11px}@media (max-width:1366px){body[data-page="contact-archive"] .contact-archive-v204-filters{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-page="contact-archive"] .contact-archive-v204-search{grid-column:span 2}}@media (max-width:1024px){body[data-page="contact-archive"] .contact-archive-v204-head{align-items:flex-start;flex-direction:column}body[data-page="contact-archive"] .contact-archive-v204-actions{width:100%;justify-content:flex-start}body[data-page="contact-archive"] .contact-archive-v204-filters{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="contact-archive"] .contact-archive-v204-search{grid-column:1/-1}.contact-archive-v204-raw-grid,
.contact-archive-v204-normal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){body[data-page="contact-archive"] .contact-archive-v204-filters{grid-template-columns:1fr}body[data-page="contact-archive"] .contact-archive-v204-search{grid-column:auto}body[data-page="contact-archive"] .contact-archive-v204-filter-actions{display:grid;grid-template-columns:1fr 1fr}body[data-page="contact-archive"] .contact-archive-v204-file,
body[data-page="contact-archive"] .contact-archive-v204-identity,
body[data-page="contact-archive"] .contact-archive-v204-owner{max-width:100%}.contact-archive-v204-detail-head{flex-direction:column}.contact-archive-v204-detail-head>div:last-child{justify-content:flex-start}.contact-archive-v204-raw-grid,
.contact-archive-v204-normal-grid,
.contact-archive-v204-corrections article>div{grid-template-columns:1fr}}@media (max-width:430px){body[data-page="contact-archive"] .contact-archive-v204-title{align-items:flex-start}body[data-page="contact-archive"] .contact-archive-v204-title h1{font-size:19px}body[data-page="contact-archive"] .contact-archive-v204-actions{display:grid;grid-template-columns:1fr;width:100%}}.so-leads-toolbar>.v115-filter-head{grid-column:1/-1;margin:0 -17px 1px}@media (max-width:680px){.so-leads-toolbar>.v115-filter-head{margin-inline:-12px}}body[data-page="credit-assessment"] header.topbar .so-top-actions{display:flex;align-items:center;gap:6px;margin:0}@layer tiam-pgf-profile{.tiam-pgf-eyebrow{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;font-size:11px;font-weight:800}.tiam-pgf-hero-action{min-height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer}.tiam-pgf-hero-action svg{width:17px;height:17px}.tiam-pgf-request-services{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(230px,.75fr) minmax(430px,1.5fr);gap:9px;margin-top:8px}.tiam-pgf-workflow{margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:5px}.tiam-pgf-workflow span{min-height:25px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}.tiam-pgf-workflow i{font-size:14px}.tiam-pgf-requests-section{margin-top:8px}.tiam-pgf-requests-head{min-height:42px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;gap:12px}.tiam-pgf-requests-head small{display:block;font-size:11px;font-weight:750}.tiam-pgf-requests-head h2{margin:1px 0 0;font-size:15px;font-weight:800}.tiam-pgf-requests-head>span{min-height:23px;padding:0 10px;display:inline-flex;align-items:center;font-size:11px;font-weight:800}.tiam-pgf-request-row{min-height:62px;padding:0 15px}.tiam-pgf-request-row td{min-width:0;padding:5px 6px;font-size:11px;font-weight:620;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tiam-pgf-request-person{display:flex;align-items:center;gap:8px;text-align:right}.tiam-pgf-request-person>span{width:32px;height:32px;min-width:32px;display:grid;place-items:center;font-weight:800}.tiam-pgf-request-person b{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:800}.tiam-pgf-request-type{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:29px;padding:0 10px}.tiam-pgf-request-type svg{width:14px;height:14px}.tiam-pgf-request-type b{font-size:11px;font-weight:800}.tiam-pgf-status{min-height:27px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}.tiam-pgf-request-reason{text-align:right}.tiam-pgf-row-actions{display:flex;align-items:center;justify-content:center;gap:5px}.tiam-pgf-row-action{min-height:29px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:11px;font-weight:800;cursor:pointer}.tiam-pgf-row-action svg{width:13px;height:13px}@media (max-width:1180px){.tiam-pgf-request-services{grid-template-columns:1fr 1fr}}@media (max-width:680px){.tiam-pgf-hero-action{width:100%}.tiam-pgf-request-services{grid-template-columns:1fr}.tiam-pgf-workflow{flex-wrap:wrap;justify-content:center}}}body[data-page="sales-operations"] #page-content{max-width:1540px;padding-top:16px}.sm148-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;}.sm148-workspace-title{display:flex;align-items:center;gap:12px;min-width:0}.sm148-workspace-title>span{display:grid;place-items:center;width:44px;height:44px;flex:0 0 auto}.sm148-workspace-title svg{width:21px;height:21px}.sm148-workspace-title>div{min-width:0}.sm148-workspace-title small{display:block;font-size:11px;font-weight:800}.sm148-workspace-title h1{margin:2px 0 0;line-height:1.35;}.sm148-workspace-title p{margin:2px 0 0;}.sm148-workspace-meta{display:flex;align-items:stretch;gap:8px}.sm148-workspace-meta>div{display:grid;align-content:center;gap:2px;min-width:118px;padding:7px 10px}.sm148-workspace-meta small{font-size:11px}.sm148-workspace-meta b{font-size:11px}.sm148-role-nav{display:flex;align-items:center;margin-bottom:12px;overflow-x:auto;}.sm148-role-nav svg{width:16px;height:16px}.sm148-workspace-body{display:grid;gap:12px}.sm148-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 15px}.sm148-section-head h2{margin:2px 0 0;font-size:15px}.sm148-section-head p{margin:3px 0 0;font-size:11px}.sm148-section-actions{display:flex;align-items:center;gap:8px}.sm148-overview-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:12px}.sm148-panel{overflow:hidden}.sm148-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px}.sm148-panel>header h2{margin:2px 0 0;font-size:13px}.sm148-panel>header small{font-size:11px}.sm148-text-action{font-size:11px;font-weight:800;cursor:pointer}.sm148-attention-list{display:grid;gap:6px;padding:9px}.sm148-attention-list b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sm148-attention-list small{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sm148-pipeline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px}.sm148-pipeline-grid article{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:8px 10px}.sm148-pipeline-grid small{font-size:11px}.sm148-pipeline-grid b{font-size:16px}.sm148-row-person{display:grid;gap:2px;min-width:145px}.sm148-row-person b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sm148-row-person small{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sm148-allocation-bar{display:grid;grid-template-columns:auto minmax(180px,.75fr) minmax(220px,1fr) auto;align-items:end;gap:8px;padding:10px}.sm148-check-all{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;cursor:pointer}.sm148-page-size{display:flex;align-items:center;gap:7px}.sm148-request-context{display:flex;align-items:center;gap:9px;padding:9px 11px}.sm148-request-context>div{display:grid;gap:2px;flex:1}.sm148-request-context b{font-size:11px}.sm148-request-context small{font-size:11px}.sm148-advanced summary{padding:11px 13px;font-size:11px;font-weight:800;cursor:pointer}.sm148-advanced-body{display:grid;gap:9px;padding:0 11px 11px}.sm148-advanced-tools{display:flex;align-items:center;gap:7px}.sm148-advanced-tools span{margin-inline-start:auto;font-size:11px}.sm148-allocation-count{width:86px;height:34px;padding:0 8px;text-align:center}.sm148-request-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.sm148-request-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.sm148-request-metrics>div{display:grid;gap:2px;padding:6px;text-align:center}.sm148-request-metrics span{font-size:11px}.sm148-request-metrics b{font-size:11px}.sm148-own-requests{display:grid;gap:8px;padding:11px}.sm148-own-requests>header{display:flex;align-items:center;justify-content:space-between}.sm148-own-requests h3{margin:0;font-size:11px}.sm148-own-requests small{font-size:11px}.sm148-expert-workbench{padding:11px}.sm148-expert-workbench>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;padding:0 2px}.sm148-expert-workbench>header h2{margin:2px 0 0;font-size:13px}.sm148-expert-workbench>header p{margin:3px 0 0;font-size:11px}.sm148-updated{font-size:11px;white-space:nowrap}.sm148-contact-status{height:34px;min-width:126px;padding:0 8px;font-size:11px;font-weight:800;cursor:pointer}.sm148-followup-cell{display:grid;gap:2px;min-width:124px}.sm148-followup-cell b{font-size:11px}.sm148-followup-cell span{font-size:11px;font-weight:800}.sm148-case-link{display:grid;gap:2px;min-width:135px;padding:0;text-align:right;cursor:pointer}.sm148-case-link b{font-size:11px}.sm148-case-link small{font-size:11px}.sm148-no-case{font-size:11px}.sm148-row-actions{display:flex;align-items:center;gap:5px}.sm148-icon-action{display:grid;place-items:center;width:33px;height:33px;cursor:pointer}.sm148-icon-action svg{width:15px;height:15px;pointer-events:none}.sm148-ranking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sm148-my-score{padding:6px 9px;font-size:11px;white-space:nowrap}.sm148-rank-list{display:grid;gap:5px}.sm148-rank-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:35px;padding:5px 8px}.sm148-rank-number{display:grid;place-items:center;font-weight:800}.sm148-rank-row b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.sm148-rank-row strong{font-size:11px;white-space:nowrap}@media (max-width:1280px){.sm148-request-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sm148-workspace-meta>div{display:none}}@media (max-width:1050px){body[data-page="sales-operations"] #page-content{padding-inline:12px}.sm148-overview-grid{grid-template-columns:1fr}.sm148-allocation-bar{grid-template-columns:auto minmax(180px,1fr) minmax(200px,1fr)}.sm148-ranking-grid{grid-template-columns:1fr}}@media (max-width:820px){.sm148-workspace-head{align-items:flex-start}.sm148-workspace-meta{display:none}.sm148-workspace-title p{max-width:520px}.sm148-request-grid{grid-template-columns:1fr}.sm148-allocation-bar{grid-template-columns:1fr 1fr}.sm148-section-head{align-items:flex-start;flex-direction:column}.sm148-section-actions{width:100%;justify-content:flex-end}}@media (max-width:600px){.sm148-workspace-head{padding:12px}.sm148-workspace-title>span{width:40px;height:40px}.sm148-workspace-title h1{font-size:17px}.sm148-allocation-bar{grid-template-columns:1fr}.sm148-pipeline-grid{grid-template-columns:1fr}}body:not(.auth-active) header.topbar .so-top-actions{display:flex;align-items:center;gap:6px;margin:0;min-width:max-content}body[data-page="settings"] .payroll-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}@media (max-width:900px){body[data-page="settings"] .payroll-policy-grid{grid-template-columns:1fr}}body[data-page="reconciliation"] .so-reconciliation-source{margin:0;overflow:hidden}body[data-page="reconciliation"] .so-reconciliation-source>header{padding:14px 17px}.so-reconciliation-source>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 16px}.so-reconciliation-source p{margin:0;max-width:760px;font-size:11px;line-height:1.8}.so-direct-match-counts{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.so-direct-match-counts>span{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 10px;font-size:11px}.so-direct-match-counts b{font-size:11px}.so-bank-match-status{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;font-size:11px;font-weight:800}@media (max-width:900px){.so-reconciliation-source>header{flex-direction:column}.so-direct-match-counts{justify-content:flex-start}}@media (min-width:901px) and (max-width:1100px){body[data-page]:not([data-page="reconciliation"]) .so-top-actions{gap:5px}body[data-page]:not([data-page="reconciliation"]) .so-top-action{width:38px;min-width:38px;height:38px;padding:0;justify-content:center}body[data-page]:not([data-page="reconciliation"]) .so-top-action b{position:absolute;min-width:17px;height:17px;padding:0 4px}}@media (min-width:901px) and (max-width:1024px){body[data-page]:not([data-page="reconciliation"]) .attendance-top-tools{display:none}}.so-top-actions{display:flex;align-items:center;margin-right:auto;}.attendance-top-tools{display:flex;align-items:center}.so-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.so-page-head p{display:none}.so-panel,
.sm148-panel{margin-bottom:14px}.so-drawer-backdrop,
.so-notification-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.24)}.so-drawer{inset-block:0;right:0;background:var(--tiam-surface-surface-strong);border-left:1px solid var(--tiam-surface-border);box-shadow:-16px 0 42px rgba(25,63,105,.16);}.so-page-head.ui-duplicate-page-title .so-page-title,
.sm148-subpage-head.ui-duplicate-page-title > :first-child{ position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }.so-top-actions{ gap: 4px; }.so-top-action,
.attendance-top-tool{     position: relative; }.so-top-action b{ position: absolute; top: -4px; left: -4px; min-width: 17px; height: 17px; padding: 0 4px;  }body.ui-compact-ready .so-page-head,
body.ui-compact-ready .sm148-subpage-head{min-height:30px;margin:0 0 5px;gap:5px}body.ui-compact-ready .so-top-action,
body.ui-compact-ready .attendance-top-tool{width:31px;min-width:31px;height:31px}

/* === v286 residual extraction from layout.css === */
.adjustments-filter{grid-template-columns:1.5fr 1.2fr 1fr 1fr 1.3fr}
@media (max-width:1200px){.adjustments-filter{grid-template-columns:repeat(2,1fr)}}
@media (max-width:650px){.adjustments-filter{grid-template-columns:1fr}}
.experts-shell{display:grid;gap:18px}
.experts-summary{display:flex;gap:12px;flex-wrap:wrap}
@media (max-width:1180px){.experts-summary{width:100%}}
.experts-filter-bar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-top:18px;padding-top:16px}
.experts-filter-bar .grow{flex:1 1 260px}
@media (max-width:900px){.adjustments-filter{grid-template-columns:1fr}.experts-filter-bar{gap:10px}}
body[data-page="contact-archive"]{--ca-radius:16px}
/* === Extracted from components.css; TIAM v286 single-source migration === */
.adjustment-layout>.form-card{position:sticky;top:96px}@media (max-width:1150px){.adjustment-layout>.form-card{position:static}}.expert-form-card{position:sticky;top:104px}.expert-list-card{overflow:hidden}.expert-person-mark{width:37px;height:37px;display:grid;place-items:center;font-weight:800}.expert-person-mark.large{width:50px;height:50px;font-size:18px}@media (max-width:1100px){.expert-form-card{position:static}}.payroll-month-card{padding:18px 20px;display:flex;align-items:center;gap:16px;position:relative;overflow:hidden}.payroll-month-card>div:nth-child(2){flex:1}.payroll-month-card span,
.payroll-month-card b,
.payroll-month-card small{display:block}.payroll-month-card b{font-size:21px;margin:4px 0}.payroll-summary-modal{display:grid;gap:14px}@media (max-width:760px){.payroll-summary-modal table{min-width:850px}}.attendance-enable input{width:19px;height:19px}.attendance-policy-note{margin:10px 0 14px;padding:10px 13px;font-size:12px}@media (max-width:900px){.attendance-filter .btn{grid-column:1/-1}}.payroll-total{font-size:1.14em;font-weight:800}@media (max-width:900px){.expert-card-grid{grid-template-columns:1fr}}.attendance-policy-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.attendance-policy-badges span{padding:8px 10px;font-size:12px}.analysis-summary-card{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center;padding:24px}.analysis-summary-card p{line-height:2;margin:8px 0 12px}.analysis-kpis .kpi{min-height:106px;display:flex;flex-direction:column;justify-content:center}.analysis-kpis .kpi b{font-size:18px;margin-top:8px}.analysis-findings .card{padding:18px}@media (max-width:1100px){.analysis-kpis{grid-template-columns:repeat(2,1fr)}.analysis-summary-card{grid-template-columns:120px 1fr}}@media (max-width:720px){.analysis-summary-card{grid-template-columns:1fr;text-align:center}.analysis-kpis{grid-template-columns:1fr}}.analysis-filter-note{margin-top:10px;font-size:12px}.analysis-kpis .kpi small{display:block;margin-top:6px;font-size:11px}.expert-flex-minutes small{font-size:11px;margin-top:4px}.attendance-table{width:100%;min-width:0;table-layout:auto}.attendance-table td{white-space:nowrap}@media (max-width:1050px){.analysis-filter .btn{align-self:end}}#page-content .analysis-component,
#page-content .attendance-rule{position:relative}.expert-commission-input{font-size:13px;min-height:44px}.sales-average-card{margin-bottom:16px;overflow:hidden}.sales-average-table td,
.sales-average-table th{vertical-align:middle}.sales-average-table th:nth-child(2),
.sales-average-table td:nth-child(2){text-align:right;min-width:170px;white-space:normal}.sales-report-table td:nth-child(2),
.sales-report-table td:nth-child(6),
.sales-report-table td:nth-child(8),
.sales-report-table td:nth-child(9){text-align:center;vertical-align:middle}body[data-page="experts"] .hr-alerts{margin-bottom:4px;}body[data-page="experts"] .experts-toolbar-card{padding:12px}body[data-page="experts"] .experts-filter-bar .field{min-width:0}body[data-page="experts"] .compact-table-card{overflow:hidden}body[data-page="experts"] .employee-list-table th:nth-child(2),
body[data-page="experts"] .employee-list-table td:nth-child(2){white-space:normal;}body[data-page="experts"] .employee-list-table th:nth-child(4),
body[data-page="experts"] .employee-list-table td:nth-child(4){white-space:normal;}body[data-page="experts"] .employee-list-table .actions-cell{flex-wrap:wrap;justify-content:center;}body[data-page="experts"] .employee-list-table .btn-sm{padding:5px 7px;font-size:11px;min-height:28px}body[data-page="experts"] .contract-pill{font-size:11px;padding:3px 7px;white-space:normal;line-height:1.45}body[data-page="experts"] .page-actions .btn,
body[data-page="experts"] .page-actions a.btn{min-height:36px;padding:8px 11px;font-size:12px;font-weight:800}body[data-page="experts"] .hr-alerts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}body[data-page="experts"] .hr-alert{min-height:42px;padding:9px 11px;display:flex;align-items:center;gap:8px;overflow:hidden}body[data-page="experts"] .hr-alert b{flex:0 0 auto;font-size:11.5px;white-space:nowrap}body[data-page="experts"] .hr-alert span{min-width:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11.3px}body[data-page="experts"] .employee-summary-card{padding:10px}body[data-page="experts"] .experts-filter-bar input,
body[data-page="experts"] .experts-filter-bar select{height:38px;font-size:12.2px}body[data-page="experts"] .experts-filter-bar .btn{min-height:38px;padding:8px 11px;font-size:11.5px;white-space:nowrap}body[data-page="experts"] .compact-table-card .table-wrap{overflow-x:auto;max-width:100%}body[data-page="experts"] .employee-list-table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0}body[data-page="experts"] .employee-list-table th,
body[data-page="experts"] .employee-list-table td{padding:7px 7px;font-size:11.8px;line-height:1.48;vertical-align:middle;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;word-break:normal;white-space:normal}body[data-page="experts"] .employee-list-table th{position:sticky;top:0;z-index:1;font-size:11.2px;font-weight:800;text-align:center}body[data-page="experts"] .employee-list-table th:nth-child(1),
body[data-page="experts"] .employee-list-table td:nth-child(1){width:46px;text-align:center;white-space:nowrap}body[data-page="experts"] .employee-list-table th:nth-child(2),
body[data-page="experts"] .employee-list-table td:nth-child(2){width:31%;text-align:right}body[data-page="experts"] .employee-list-table th:nth-child(3),
body[data-page="experts"] .employee-list-table td:nth-child(3){width:92px;text-align:center;direction:ltr}body[data-page="experts"] .employee-list-table th:nth-child(4),
body[data-page="experts"] .employee-list-table td:nth-child(4){width:23%;text-align:right}body[data-page="experts"] .employee-list-table th:nth-child(5),
body[data-page="experts"] .employee-list-table td:nth-child(5){width:104px;text-align:center;direction:ltr}body[data-page="experts"] .employee-list-table th:nth-child(6),
body[data-page="experts"] .employee-list-table td:nth-child(6){width:82px;text-align:center}body[data-page="experts"] .employee-list-table th:nth-child(7),
body[data-page="experts"] .employee-list-table td:nth-child(7){width:196px;text-align:center;white-space:normal;overflow:visible}body[data-page="experts"] .employee-list-table td b{display:block;font-size:13.4px;line-height:1.45;font-weight:800;white-space:normal;overflow-wrap:anywhere}body[data-page="experts"] .employee-list-table .block{display:block;margin-top:2px;font-size:11px;white-space:normal;overflow-wrap:anywhere}body[data-page="experts"] .contract-pill,
body[data-page="experts"] .status-pill{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:3px 8px;font-size:11px;line-height:1.45;font-weight:800;white-space:normal;overflow-wrap:anywhere}body[data-page="experts"] .employee-list-table .actions-cell{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%}body[data-page="experts"] .employee-list-table .actions-cell .btn{width:100%;min-width:0;min-height:30px;padding:5px 6px;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body[data-page="experts"] .employee-profile-row td{padding:10px;overflow:visible}body[data-page="experts"] .employee-form-grid{gap:9px}body[data-page="experts"] .employee-form-grid .field label{font-size:11px}body[data-page="experts"] .employee-form-grid input,
body[data-page="experts"] .employee-form-grid select,
body[data-page="experts"] .employee-form-grid textarea{min-height:38px;font-size:12.3px}@media (max-width:1180px){body[data-page="experts"] .experts-filter-bar .btn{width:100%}}.attendance-weekly-card{margin-top:14px}.attendance-weekly-card .card-head{padding-bottom:10px;margin-bottom:8px}.attendance-weekly-table{table-layout:auto;}.attendance-weekly-table th,
.attendance-weekly-table td{white-space:nowrap;vertical-align:middle;text-align:center}.attendance-weekly-table th:nth-child(1),
.attendance-weekly-table td:nth-child(1){width:78px}.attendance-weekly-table th:nth-child(2),
.attendance-weekly-table td:nth-child(2){width:150px}.attendance-weekly-table th:nth-child(7),
.attendance-weekly-table td:nth-child(7){width:90px}.attendance-weekly-table th:nth-child(10),
.attendance-weekly-table td:nth-child(10){width:115px}.attendance-weekly-table th:nth-child(11),
.attendance-weekly-table td:nth-child(11){width:115px}.attendance-weekly-table th:nth-child(12),
.attendance-weekly-table td:nth-child(12){width:104px}.attendance-weekly-table .ltr-cell{display:flex;align-items:center;justify-content:center;gap:5px;direction:ltr}.attendance-day-detail-table{table-layout:fixed;}.attendance-day-detail-table th,
.attendance-day-detail-table td{font-size:11px;white-space:nowrap;text-align:center;padding:7px 8px}.attendance-day-detail-table th:nth-child(1),
.attendance-day-detail-table td:nth-child(1){width:92px}.attendance-day-detail-table th:nth-child(3),
.attendance-day-detail-table td:nth-child(3){width:120px}.attendance-day-detail-table th:nth-child(7),
.attendance-day-detail-table td:nth-child(7){width:135px}.attendance-day-detail-table th:nth-child(10),
.attendance-day-detail-table td:nth-child(10){width:120px}.attendance-accordion-body .table-wrap{margin-top:8px}.attendance-compact-form{gap:10px;align-items:end}.attendance-compact-form .field label,
.attendance-inline-row .field label{font-size:11px}.attendance-accordion-body .data-table{table-layout:auto}.attendance-accordion-body .data-table th,
.attendance-accordion-body .data-table td{vertical-align:middle}@media (max-width:900px){.attendance-compact-form.cols-3,
.attendance-compact-form{grid-template-columns:1fr}}body[data-page="dashboard"] .dashboard-v43-unified .payroll-month-card small{font-size:11.5px;font-weight:800}body[data-page="dashboard"] .dashboard-v43-unified .payroll-month-card{min-height:116px}.sales-report-table small.muted{display:block;margin-top:3px;font-size:11px}body.sales-drawer-open{overflow:hidden}.sales-new-button{min-height:42px;padding:0 16px;display:inline-flex;align-items:center;gap:9px;font-weight:800}.sales-new-button span,
.sales-submit-button span{width:21px;height:21px;display:grid;place-items:center}.sales-new-button svg,
.sales-submit-button svg{width:100%;height:100%}.sales-report-operations-menu{position:absolute;left:0;top:calc(100% + 8px);width:218px;padding:7px;z-index:120}.sales-report-operations-menu button,
.sales-report-operations-menu a{width:100%;min-height:38px;padding:8px 11px;text-align:right;display:flex;align-items:center;font-size:12px;font-weight:750;cursor:pointer}#sales-drawer-host{position:fixed;inset:0;z-index:11000;direction:rtl;pointer-events:none}.sales-drawer-backdrop{position:absolute;inset:0;opacity:0}.sales-entry-drawer{position:absolute;left:0;top:0;bottom:0;display:flex;flex-direction:column;transform:translateX(-103%);overflow:hidden;}.sales-entry-form{display:flex;flex:1;min-height:0;flex-direction:column}.sales-entry-grid .field{min-width:0}.sales-entry-grid .field.full{grid-column:1/-1}.sales-entry-grid input,
.sales-entry-grid select,
.sales-entry-grid textarea{width:100%;}.sales-entry-grid textarea{resize:vertical;}.sales-submit-button{display:inline-flex;align-items:center;gap:9px;font-weight:800;}@media (max-width:760px){.sales-entry-drawer{top:auto;right:0;width:100vw;height:min(92vh,850px);transform:none;}.sales-entry-footer .btn{flex:1}.sales-report-operations-menu{left:auto;right:0}}@media (max-width:480px){.page-actions .sales-new-button b{display:none}.page-actions .sales-new-button{width:43px;padding:0;justify-content:center}}.sales-entry-drawer{width:min(720px,94vw)}.sales-entry-grid input,
.sales-entry-grid select,
.sales-entry-grid textarea{min-height:39px;font-size:12.3px;padding:7px 10px}.sales-entry-grid textarea{min-height:68px}.sales-entry-footer .btn{min-height:40px}.sales-submit-button{min-height:40px;padding:0 16px}@media (max-width:760px){.sales-entry-drawer{height:min(94vh,820px)}}.sales-report-tabs{width:max-content;max-width:100%;margin:0;padding:5px}.sales-report-tabs button{min-height:34px;font-size:11.8px;font-weight:800}.sales-report-filter-card,
.sales-report-list-card{overflow:hidden}.sales-report-primary-filters .field,
.sales-bank-filter-grid .field{min-width:0}.sales-report-filter-card .field label{font-size:11px;font-weight:800;margin-bottom:4px}.sales-report-filter-card .field input,
.sales-report-filter-card .field select{height:38px;min-height:38px;padding:6px 9px;font-size:11.8px}.sales-report-summary .sales-summary-card{display:grid;align-items:center;text-align:right;}.sales-summary-card>div{min-width:0;}.sales-report-summary .sales-summary-card small{display:block;}.sales-report-summary .sales-summary-card b{display:block;font-weight:800;}.sales-report-list-card{padding-bottom:0}.sales-report-list-card #sales-table{padding:10px}.sales-report-list-card .sales-average-card{margin-bottom:9px;overflow:hidden}.sales-report-list-card .sales-average-compact>summary{padding:11px 13px}.sales-report-list-card .sales-average-compact>summary b{font-size:12.7px}.sales-report-list-card .sales-average-compact>summary small{font-size:11px;margin-top:2px}.sales-report-list-card .sales-average-compact>summary em{padding:5px 9px;font-size:11px}body[data-page="sales-report"] .sales-report-table{min-width:920px;border-collapse:separate;border-spacing:0}.sales-report-list-card .table-wrap{overflow:auto}.sales-report-table thead th{height:43px;padding:9px 8px;font-size:11.3px;font-weight:800;text-align:center;white-space:nowrap}.sales-report-table tbody td{padding:10px 8px;font-size:12px;vertical-align:middle}.sales-report-table .sale-buyer-cell{gap:3px;}.sales-report-table .sale-buyer-cell b{font-size:12.6px;font-weight:800}.sales-report-table .sale-buyer-cell small,
.sales-report-table small.muted{font-size:11px}.sales-report-table .money{font-size:12.7px;font-weight:800;white-space:nowrap}.sales-report-table .customer-badge{font-size:11px;padding:2px 7px}.sales-report-table .status-pill{font-size:11px;padding:4px 8px}.sales-report-table .trace-chip{min-width:96px;padding:5px 7px}.sales-report-table .mini-action{width:30px;height:30px;min-height:30px;font-size:12px}.sales-report-list-card .pagination{padding:9px 4px 2px}@media (max-width:820px){.sales-report-filter-actions .btn{flex:1}.sales-report-list-card #sales-table{padding:8px}.sales-report-tabs{width:100%}.sales-report-tabs button{flex:1}}@media (max-width:560px){.sales-report-summary .sales-summary-card{min-height:82px}.sales-report-list-card #sales-table{padding:6px}.sales-report-hero .sales-report-operations>summary,
.sales-report-hero .sales-new-button{width:100%}.sales-report-operations-menu{left:auto;right:0}}@media (max-width:768px){body[data-page="sales-report"] .sales-report-list-card .table-wrap{overflow:visible}body[data-page="sales-report"] .sales-report-table{min-width:0;width:100%;border-collapse:separate;border-spacing:0 9px}body[data-page="sales-report"] .sales-report-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}body[data-page="sales-report"] .sales-report-table tbody{display:grid;gap:9px}body[data-page="sales-report"] .sales-report-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:10px}body[data-page="sales-report"] .sales-report-table tbody td{display:grid;align-content:start;gap:4px;min-width:0;padding:7px;text-align:right}body[data-page="sales-report"] .sales-report-table tbody td:nth-child(3),
body[data-page="sales-report"] .sales-report-table tbody td:nth-child(4),
body[data-page="sales-report"] .sales-report-table tbody td:nth-child(6),
body[data-page="sales-report"] .sales-report-table tbody td:nth-child(7){grid-column:1/-1}body[data-page="sales-report"] .sales-report-table .sale-buyer-cell{min-width:0;max-width:100%}body[data-page="sales-report"] .sales-report-table .actions-cell{justify-content:flex-start;flex-wrap:wrap}}.sales-header-icon-button{appearance:none;position:relative;display:grid;place-items:center;width:47px;height:47px;min-width:47px;min-height:47px;padding:0;margin:0;cursor:pointer;list-style:none}.sales-header-icon-button::-webkit-details-marker{display:none}.sales-header-icon-button::marker{display:none}.sales-header-icon-button span{width:24px;height:24px;display:grid;place-items:center}.sales-header-icon-button svg{width:24px;height:24px;display:block}.sales-header-operations .sales-report-operations-menu{top:55px;left:0;right:auto;z-index:50;min-width:210px;overflow:hidden}.sales-header-operations .sales-report-operations-menu :is(button,a){min-height:38px;padding:8px 12px;font-size:11.5px;font-weight:800}.sales-report-summary .sales-summary-card{position:relative;min-height:126px;padding:15px 16px;grid-template-columns:60px minmax(0,1fr);gap:13px;overflow:hidden}.sales-summary-card>div{position:relative;z-index:2}.sales-report-summary .sales-summary-card small{font-size:12.2px;font-weight:800}.sales-report-summary .sales-summary-card b{font-size:19.5px;line-height:1.45;margin-top:6px;white-space:normal}.sales-report-summary .sales-summary-card em{display:block;margin-top:4px;font-size:11px;font-weight:750;line-height:1.55}.sales-report-list-card #sales-table>.sales-average-card{display:none}.sales-average-detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sales-average-detail-kpi{position:relative;min-height:126px;padding:15px 16px;display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:13px;overflow:hidden}.sales-average-detail-kpi>span{position:relative;z-index:1;width:58px;height:58px;display:grid;place-items:center}.sales-average-detail-kpi>span svg{width:28px;height:28px}.sales-average-detail-kpi>div{position:relative;z-index:1;min-width:0}.sales-average-detail-kpi small{display:block;font-size:11.6px;font-weight:800}.sales-average-detail-kpi b{display:block;margin-top:6px;font-size:18.5px;font-weight:800;line-height:1.5}.sales-average-detail-kpi em{display:block;margin-top:3px;font-size:11px;font-weight:750}.sales-average-detail-card{overflow:hidden}.sales-average-detail-card>.table-wrap{margin:10px;overflow:auto}.sales-average-detail-table{min-width:1040px}.sales-average-detail-table thead th{height:43px;padding:9px 8px;font-size:11px;font-weight:800;text-align:center}.sales-average-detail-table tbody td{padding:10px 8px;font-size:11.7px;text-align:center}.sales-average-detail-table .seller-name-cell{text-align:right}@media (max-width:1180px){.sales-report-summary,
.sales-average-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.sales-header-icon-button{width:44px;height:44px;min-width:44px;min-height:44px}.sales-header-operations .sales-report-operations-menu{left:auto;right:0}}@media (max-width:560px){.sales-report-summary,
.sales-average-detail-kpis{grid-template-columns:1fr}.sales-report-summary .sales-summary-card,
.sales-average-detail-kpi{min-height:104px;grid-template-columns:50px minmax(0,1fr);padding:13px}.sales-summary-icon,
.sales-average-detail-kpi>span{width:50px;height:50px}.sales-summary-icon svg,
.sales-average-detail-kpi>span svg{width:25px;height:25px}.sales-report-summary .sales-summary-card b,
.sales-average-detail-kpi b{font-size:16.5px}}body[data-page="sales-report"] .sales-report-kpi-card{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:132px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:16px}body[data-page="sales-report"] .sales-report-kpi-card>.sales-report-kpi-copy,
body[data-page="sales-report"] .sales-report-kpi-card>.sales-report-kpi-icon{position:relative;z-index:2}body[data-page="sales-report"] .sales-report-kpi-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1}body[data-page="sales-report"] .sales-report-kpi-copy small{display:block;font-size:12.7px;line-height:1.65;font-weight:800}body[data-page="sales-report"] .sales-report-kpi-copy b{display:block;max-width:100%;margin-top:9px;font-size:30px;line-height:1.18;font-weight:800;white-space:nowrap}body[data-page="sales-report"] .sales-report-kpi-copy b.is-money{font-size:clamp(18px,1.7vw,27px)}body[data-page="sales-report"] .sales-report-kpi-copy b>span{display:block;max-width:100%;overflow:hidden;text-overflow:clip}body[data-page="sales-report"] .sales-report-kpi-copy em{display:block;margin-top:9px;font-size:11.2px;line-height:1.7;font-weight:730}body[data-page="sales-report"] .sales-report-kpi-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center}body[data-page="sales-report"] .sales-report-kpi-icon svg{width:30px;height:30px}@container salesReportPage (max-width:570px){body[data-page="sales-report"] .sales-report-kpi-card{min-height:112px;padding:15px 16px}body[data-page="sales-report"] .sales-report-kpi-icon{width:56px;height:56px;flex-basis:56px}body[data-page="sales-report"] .sales-report-kpi-copy b{font-size:25px}body[data-page="sales-report"] .sales-report-kpi-copy b.is-money{font-size:clamp(17px,6vw,23px)}}body[data-page="sales-report"] .sales-report-filter-card,
body[data-page="sales-report"] .sales-report-list-card{position:relative;z-index:1}body[data-page="sales-report"] .sales-header-operations .sales-report-operations-menu{position:absolute;top:55px;left:0;right:auto;isolation:isolate;overflow:hidden;}@media (max-width:760px){body[data-page="sales-report"] .sales-header-operations .sales-report-operations-menu{left:auto;right:0}}body[data-page="sales-report"] .sales-header-operations .sales-report-operations-menu{z-index:10000}.attendance-v110-hero-icon,
.attendance-v110-file-person-mark{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center}.attendance-v110-file-person-mark{font-size:28px;font-weight:800}.attendance-v110-header-icon,
.attendance-v110-back-btn{width:45px;height:45px;min-width:45px;display:grid;place-items:center;cursor:pointer}.attendance-v110-header-icon svg,
.attendance-v110-back-btn svg{width:21px;height:21px}.attendance-v110-back-btn{width:40px;height:40px;min-width:40px}.attendance-v110-filter-card{margin-top:16px;padding:16px}.attendance-v110-filter-card .field label,
.attendance-v110-drawer .field label{font-size:11px;font-weight:800;margin-bottom:6px}.attendance-v110-filter-card input,
.attendance-v110-filter-card select,
.attendance-v110-drawer input,
.attendance-v110-drawer select,
.attendance-v110-drawer textarea{font-weight:750}.attendance-v110-search-box input{height:auto;padding:0}.attendance-v110-kpi{min-height:126px;padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;overflow:hidden}.attendance-v110-kpi>div{position:relative;z-index:1;min-width:0}.attendance-v110-kpi small{display:block;font-size:11.5px;font-weight:800;line-height:1.5}.attendance-v110-kpi b{display:inline-block;margin-top:8px;font-size:27px;font-weight:800;line-height:1}.attendance-v110-kpi span{margin-right:5px;font-size:11px;font-weight:800}.attendance-v110-kpi i{width:55px;height:55px;flex:0 0 55px;display:grid;place-items:center;position:relative;z-index:1}.attendance-v110-kpi i svg{width:25px;height:25px}.attendance-v110-employee-card{overflow:hidden}.attendance-v110-table-wrap{width:100%;overflow:auto}.attendance-v110-table{width:100%;min-width:0;border-collapse:separate;border-spacing:0 7px}.attendance-v110-table thead th{padding:10px 8px;font-size:11px;font-weight:800;text-align:center}.attendance-v110-table tbody td{height:55px;padding:7px 9px;font-size:11px;text-align:center;vertical-align:middle}.attendance-v110-person-mark{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;font-size:15px;font-weight:800}body[data-page="attendance"] .attendance-weekly-card{overflow:hidden}.attendance-weekly-card .card-head{min-height:65px;padding:12px 17px}.attendance-weekly-card .card-head h3{font-size:16px;font-weight:800}.attendance-weekly-card .card-head small{display:none}.attendance-weekly-table{width:100%;min-width:0}.attendance-weekly-table thead th{font-size:11px;font-weight:800}.attendance-weekly-table tbody td{font-size:11px}.attendance-day-detail-table{min-width:980px}.attendance-v110-side-card{overflow:hidden}.attendance-v110-side-card>header{min-height:53px;padding:10px 12px;display:flex;align-items:center;gap:8px}.attendance-v110-side-card>header>span{width:32px;height:32px;display:grid;place-items:center}.attendance-v110-side-card>header svg{width:17px;height:17px}.attendance-v110-side-card h3{margin:0;font-size:12px;font-weight:800}.attendance-v110-side-card header button{margin-right:auto;font-size:11px;font-weight:800;cursor:pointer}.attendance-v110-side-card dl{margin:0;padding:8px 13px}.attendance-v110-side-card dl>div{padding:8px 0;display:flex;justify-content:space-between;gap:10px}.attendance-v110-side-card dt{font-size:11px;font-weight:750}.attendance-v110-side-card dd{margin:0;font-size:11px;font-weight:800}body.attendance-v110-drawer-open{overflow:hidden}.attendance-v110-drawer-backdrop{position:fixed;inset:0;z-index:10020;opacity:0}.attendance-v110-drawer{position:fixed;z-index:10021;top:0;bottom:0;left:0;display:flex;flex-direction:column;transform:translateX(-102%);}.attendance-v110-drawer>header{display:flex;align-items:center;gap:11px;position:relative;overflow:hidden;}.attendance-v110-drawer-icon{flex:0 0 44px;display:grid;place-items:center;position:relative;z-index:1;}.attendance-v110-drawer-icon svg{width:22px;height:22px}.attendance-v110-drawer>header>div{position:relative;z-index:1}.attendance-v110-drawer>header h2{margin:0;font-weight:800;}.attendance-v110-drawer>header small{display:block;margin-top:3px;font-weight:700;}.attendance-v110-drawer>header>button{margin-right:auto;display:grid;place-items:center;cursor:pointer;position:relative;z-index:1;}.attendance-v110-drawer>header>button svg{width:19px;height:19px}.attendance-v110-drawer-body{overflow:auto;flex:1;}.attendance-v110-drawer-list{margin-top:13px}.attendance-v110-drawer-list h3,
.attendance-v110-calendar-sections h3{margin:0 0 11px;font-size:13px;font-weight:800}.attendance-v110-drawer .form-footer{margin-top:12px;padding-top:11px}.attendance-v110-policy-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.attendance-v110-policy-badges span{padding:9px;font-size:11px;font-weight:800}.attendance-v110-policy-badges b{display:block;margin-top:3px;font-size:11px}.attendance-v110-schedule-table input[type="time"]{min-width:104px}.attendance-v110-compact-table{min-width:620px}.attendance-v110-compact-table thead th{font-size:11px;font-weight:800}.attendance-v110-compact-table tbody td{font-size:11px}.attendance-v110-compact-table .mini-action svg{width:15px;height:15px}.attendance-v110-inline-form{display:grid;grid-template-columns:1fr 1.4fr auto;gap:9px;align-items:end;margin-bottom:12px}.attendance-v110-calendar-sections section:nth-child(3) .attendance-v110-inline-form{grid-template-columns:1fr .65fr 1.4fr auto}.attendance-v110-drawer .leave-hint{font-size:11px}@media (max-width:1120px){.attendance-v110-search-field{grid-column:1/-1}.attendance-v110-filter-grid>.btn{grid-column:1/-1}}@media (max-width:760px){.attendance-v110-hero-icon,
.attendance-v110-file-person-mark{width:52px;height:52px;flex-basis:52px}.attendance-v110-search-field{grid-column:auto}.attendance-v110-filter-grid>.btn{grid-column:auto}.attendance-v110-drawer{width:100vw}.attendance-v110-rules-grid,
.attendance-v110-policy-badges{grid-template-columns:1fr}.attendance-v110-inline-form,
.attendance-v110-calendar-sections section:nth-child(3) .attendance-v110-inline-form{grid-template-columns:1fr}}@media (max-width:520px){.attendance-v110-kpi{min-height:108px}.attendance-v110-back-btn{order:-1}.attendance-v110-drawer-body{padding:11px}.attendance-v110-drawer .form-grid.cols-2{grid-template-columns:1fr}}body[data-page="attendance"] .topbar .top-date-pill{height:43px;padding:0 12px}body[data-page="attendance"] .topbar .profile{margin-right:auto;padding-right:14px;gap:10px}body[data-page="attendance"] .topbar .profile .person-mark{width:41px;height:41px;position:relative;overflow:hidden}body[data-page="attendance"] .topbar .profile .person-mark img{display:none}body[data-page="attendance"] .topbar .profile b{font-size:12.5px;font-weight:800}body[data-page="attendance"] .topbar .profile small{font-size:11px}body[data-page="attendance"] .topbar .profile-logout{min-width:38px;width:38px;height:38px;padding:0;font-size:0;display:grid;place-items:center}.attendance-v111-week-nav button{width:36px;height:36px;display:grid;place-items:center;cursor:pointer}.attendance-v111-week-nav button svg{width:18px;height:18px}.attendance-v111-search input{width:100%;height:auto;padding:0;font-size:12px;font-weight:750}.attendance-v111-kpi{min-height:112px;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;overflow:hidden}.attendance-v111-kpi>div,
.attendance-v111-kpi>i{position:relative;z-index:1}.attendance-v111-kpi small{display:block;font-size:11px;font-weight:800}.attendance-v111-kpi b{display:inline-block;margin-top:7px;font-size:25px;font-weight:800;line-height:1}.attendance-v111-kpi em{margin-right:5px;font-size:11px;font-weight:800}.attendance-v111-kpi i{width:50px;height:50px;display:grid;place-items:center}.attendance-v111-kpi i svg{width:24px;height:24px}.attendance-v111-person-mark{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;font-size:14px;font-weight:800}.attendance-v111-case-btn{width:36px;height:36px;display:grid;place-items:center;cursor:pointer}.attendance-v111-case-btn svg{width:18px;height:18px}.attendance-v111-week-card{margin:0 12px 14px;overflow:hidden}.attendance-v111-badge{min-width:25px;height:23px;padding:0 7px;display:inline-grid;place-items:center;font-size:11px;font-weight:800}.attendance-v111-daily-table{width:100%;border-collapse:separate;border-spacing:0 6px;min-width:940px}.attendance-v111-daily-table th{padding:8px;font-size:11px;text-align:center}.attendance-v111-daily-table td{padding:8px;font-size:11px;text-align:center}@media (max-width:768px){body[data-page="attendance"] .topbar .top-date-pill{display:none}body[data-page="attendance"] .topbar .profile>div:not(.person-mark),
body[data-page="attendance"] .topbar .profile-logout{display:none}body[data-page="attendance"] .topbar .profile{padding:0;margin-right:auto}.attendance-v111-controlbar,
.attendance-v111-summary-grid,
.attendance-v111-employee-panel,
.attendance-v111-week-card,
.attendance-v111-accordions{margin-inline:0}.attendance-v111-kpi{min-height:98px;padding:13px}.attendance-v111-kpi b{font-size:21px}.attendance-v111-kpi i{width:43px;height:43px}}@media (max-width:576px){.attendance-v111-week-nav button{flex:0 0 36px}.attendance-v111-kpi{min-height:92px}}.so-kpi-grid{display:grid;grid-template-columns:repeat(7,minmax(145px,1fr));gap:12px;margin:0 0 18px}.so-kpi-grid-3{grid-template-columns:repeat(3,minmax(220px,1fr))}.so-kpi{min-height:118px;padding:16px;display:flex;align-items:flex-start;gap:12px;position:relative;overflow:hidden}.so-kpi>span{width:40px;height:40px;display:grid;place-items:center}.so-kpi svg{width:20px;height:20px}.so-kpi div{display:flex;flex-direction:column}.so-kpi small{font-size:11px;font-weight:700}.so-kpi b{font-size:24px;margin-top:6px}.so-kpi em{font-size:11px;margin-top:3px}.so-funnel button{padding:13px;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.so-today-panel>button{width:calc(100% - 24px);margin:8px 12px;padding:12px;display:flex;align-items:center;gap:12px;text-align:right;cursor:pointer}.so-today-panel>button>span{width:40px;height:40px;display:grid;place-items:center}.so-table td>small,
.so-table td b+small{display:block;font-size:11px;margin-top:3px}.so-table th{white-space:nowrap}.so-badge{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 9px;font-size:11px;font-weight:800}.so-import-card,
.so-import-guide{padding:25px}.so-import-card{display:grid;grid-template-columns:80px 1fr;gap:20px;align-items:start}.so-import-card>div:nth-child(2) h2{margin:4px 0}.so-import-card>div:nth-child(2) p{line-height:1.8}.so-file-drop input{display:none}.so-import-card>.field,
.so-import-card>.btn{grid-column:1/-1}.so-result-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:18px}.so-result-kpis>div{padding:14px;display:flex;justify-content:space-between}.so-result-kpis b{font-size:19px}.so-import-result>.btn,
.so-import-result details{margin:0 18px}.so-search-box input{flex:1}.so-search-box button{align-self:stretch;padding:0 16px;cursor:pointer}.so-bulk-bar button{padding:8px 10px;cursor:pointer}.so-pagination{display:flex;justify-content:center;align-items:center;gap:14px;padding:14px}.so-pagination button{padding:7px 14px}.so-drawer-backdrop{position:fixed;inset:0}.so-drawer{position:absolute;left:0;top:0;height:100%;width:min(620px,94vw);transform:translateX(-100%);overflow:auto}.so-drawer-head{position:sticky;top:0;z-index:2;padding:20px 22px;display:flex;justify-content:space-between;align-items:center}.so-drawer-head h2{margin:4px 0}.so-drawer-head>button{width:38px;height:38px;font-size:25px;cursor:pointer}.so-drawer-body{padding:18px 20px 32px}.so-drawer-body>section{padding:16px;margin-bottom:14px}.so-drawer-body h3{margin-top:0}.so-call-button{display:inline-flex;align-items:center;gap:7px;padding:10px 15px;font-weight:800}.so-call-button svg{width:18px;height:18px}.so-detail-grid>div,
.so-ticket-safe-fields>div{padding:12px}.so-detail-grid span,
.so-ticket-safe-fields span{display:block;font-size:11px}.so-action-grid button{padding:10px;cursor:pointer}.so-primary-action-card{display:flex;align-items:center;gap:13px}.so-primary-action-card>span{width:46px;height:46px;display:grid;place-items:center}.so-primary-action-card svg{width:22px;height:22px}.so-primary-action-card>div{flex:1}.so-primary-action-card b{display:block}.so-primary-action-card button{padding:9px 13px;cursor:pointer}.so-credit-summary button{padding:8px}.so-profile-hero{display:flex;align-items:center;gap:18px;padding:22px;margin-bottom:16px}.so-profile-person-mark{width:68px;height:68px;display:grid;place-items:center;font-size:27px;font-weight:800}.so-profile-hero h2{margin:4px 0}.so-profile-hero p{margin:0;opacity:.75}.so-profile-meta{margin-right:auto;display:flex;gap:10px}.so-profile-meta span{font-size:11px;}.so-profile-meta b{display:block;font-size:13px;margin-top:4px}.so-request-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:16px}.so-request-cards button{padding:14px;display:flex;align-items:center;gap:11px;text-align:right;cursor:pointer}.so-request-cards button>span{width:40px;height:40px;display:grid;place-items:center}.so-request-cards svg{width:20px;height:20px}.so-request-cards b{display:block}.so-ticket-note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin-bottom:14px}.so-ticket-note svg{width:24px;height:24px}.so-ticket-safe-fields{display:grid;gap:10px;margin-bottom:14px;}.so-notification-list>button{width:100%;padding:11px;display:flex;gap:10px;text-align:right;margin-bottom:6px;cursor:pointer}.so-notification-list>button.is-read{opacity:.55}.so-notification-list>button>span{width:37px;height:37px;display:grid;place-items:center}@media (max-width:1450px){.so-kpi-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width:1100px){.so-kpi-grid{grid-template-columns:repeat(3,1fr)}.so-profile-meta{display:none}}@media (max-width:760px){.so-kpi-grid,
.so-kpi-grid-3{grid-template-columns:repeat(2,1fr)}.so-import-card{grid-template-columns:1fr}.so-result-kpis{grid-template-columns:repeat(2,1fr)}.so-detail-grid,
.so-ticket-safe-fields{grid-template-columns:1fr}.so-profile-hero{align-items:flex-start}.so-request-cards{grid-template-columns:1fr}.so-drawer{width:100%}}.so-call-button-wide{justify-content:center;width:100%;box-sizing:border-box}.so-primary-action-card-full{margin:0}.so-inline-form{display:grid;gap:14px;padding:16px}.so-inline-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.so-inline-form-head b{display:block}.so-inline-form-head small{display:block;margin-top:3px}.so-inline-form-head button{width:30px;height:30px;cursor:pointer}.so-ticket-safe-fields{grid-template-columns:1fr}.so-ticket-safe-fields>div{min-height:64px}.so-notification-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px 14px}.so-notification-tabs button{padding:8px;cursor:pointer}.so-notification-footer button{cursor:pointer}@media (max-width:680px){.so-notification-tabs{grid-template-columns:1fr}}body[data-page="lead-import"] .lead-import-v203-upload,
body[data-page="lead-import"] .lead-import-v203-result-card,
body[data-page="lead-import"] .lead-import-v203-workspace-card{overflow:hidden}body[data-page="lead-import"] .lead-import-v203-upload>header,
body[data-page="lead-import"] .lead-import-v203-result-card>header{padding:15px 18px}body[data-page="lead-import"] :is(.lead-import-v203-upload,.lead-import-v203-result-card) h2{margin:3px 0 0;font-size:18px}body[data-page="lead-import"] .lead-import-v203-import-btn{min-height:44px;white-space:nowrap}body[data-page="lead-import"] .lead-import-v203-result-card{margin-top:14px}body[data-page="lead-import"] .lead-import-v203-result-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}body[data-page="lead-import"] .lead-import-v203-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px}body[data-page="lead-import"] .lead-import-v203-kpis>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px}body[data-page="lead-import"] .lead-import-v203-kpis span{font-size:11px}body[data-page="lead-import"] .lead-import-v203-kpis b{font-size:18px}body[data-page="lead-import"] .lead-import-v203-result-card details{margin:0 16px 16px}body[data-page="lead-import"] .lead-import-v203-toolbar .field{margin:0}body[data-page="lead-import"] .lead-import-v203-selected{box-sizing:border-box;padding:5px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;}body[data-page="lead-import"] .lead-import-v203-selected b{font-size:19px}body[data-page="lead-import"] .lead-import-v203-toolbar>.btn{white-space:nowrap;}body[data-page="lead-import"] .lead-import-v203-table-wrap{overflow:auto;}body[data-page="lead-import"] .lead-import-v203-table{margin:14px 0 0;min-width:760px}body[data-page="lead-import"] .lead-import-v203-table th:first-child,
body[data-page="lead-import"] .lead-import-v203-table td:first-child{width:44px;text-align:center}body[data-page="lead-import"] .lead-import-v203-table tbody tr.is-locked{opacity:.72}body[data-page="lead-import"] .lead-import-v203-table input[type="checkbox"]{width:17px;height:17px}body[data-page="lead-import"] .lead-import-v203-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 18px}body[data-page="lead-import"] .lead-import-v203-pagination span{font-size:11px}body[data-page="lead-import"] .lead-import-v203-operations table{min-width:850px;margin-top:10px}@media (max-width:1180px){body[data-page="lead-import"] .lead-import-v203-import-btn{grid-column:1/-1}body[data-page="lead-import"] .lead-import-v203-toolbar>.btn{grid-column:1/-1}}@media (max-width:768px){body[data-page="lead-import"] .lead-import-v203-import-btn,
body[data-page="lead-import"] .lead-import-v203-toolbar>.btn{grid-column:auto;width:100%}body[data-page="lead-import"] .lead-import-v203-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="lead-import"] .lead-import-v203-table-wrap{padding:0 12px;overflow:visible}body[data-page="lead-import"] .lead-import-v203-table{min-width:0;border-collapse:separate;border-spacing:0 9px}body[data-page="lead-import"] .lead-import-v203-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}body[data-page="lead-import"] .lead-import-v203-table tbody{display:grid;gap:9px}body[data-page="lead-import"] .lead-import-v203-table tr{display:grid;grid-template-columns:44px 1fr 1fr;padding:11px}body[data-page="lead-import"] .lead-import-v203-table td{display:grid;gap:3px;padding:6px 7px;min-width:0}body[data-page="lead-import"] .lead-import-v203-table td:first-child{grid-row:1/3;width:auto;align-content:center}body[data-page="lead-import"] .lead-import-v203-table td:nth-child(2){grid-column:2}body[data-page="lead-import"] .lead-import-v203-table td:nth-child(3){grid-column:3}body[data-page="lead-import"] .lead-import-v203-table td:nth-child(n/**/+4){grid-column:2/-1}}@media (max-width:430px){body[data-page="lead-import"] .lead-import-v203-kpis{grid-template-columns:1fr}}@media (max-width:430px){body[data-page="lead-import"] .lead-import-v203-head-actions .btn{width:100%;box-sizing:border-box;justify-content:center}}body[data-page="lead-import"] .lead-import-v203-view-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;}body[data-page="lead-import"] .lead-import-v203-view-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;cursor:pointer;}body[data-page="lead-import"] .lead-import-v203-view-tabs button svg{width:17px;height:17px;pointer-events:none}body[data-page="lead-import"] .lead-import-v203-view-tabs button b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;font-size:11px}body[data-page="lead-import"] .lead-import-v203-archive-note{display:flex;align-items:center;gap:9px;margin:14px 18px 0;padding:11px 13px;font-size:11px}body[data-page="lead-import"] .lead-import-v203-archive-note svg{width:18px;height:18px;flex:0 0 auto}body[data-page="lead-import"] .lead-import-v203-delivered-table{min-width:920px}body[data-page="lead-import"] .lead-import-v203-delivered-table time{font-size:11px;white-space:nowrap}@media (max-width:768px){body[data-page="lead-import"] .lead-import-v203-view-tabs{padding-inline:12px}body[data-page="lead-import"] .lead-import-v203-view-tabs button{flex:1 0 auto}body[data-page="lead-import"] .lead-import-v203-delivered-table{min-width:0}}@media (max-width:768px){body[data-page="lead-import"] .lead-import-v203-delivered-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="lead-import"] .lead-import-v203-delivered-table td:first-child{grid-row:auto;grid-column:auto;width:auto;align-content:initial}body[data-page="lead-import"] .lead-import-v203-delivered-table td:nth-child(n){grid-column:auto}body[data-page="lead-import"] .lead-import-v203-delivered-table td:nth-child(5),
body[data-page="lead-import"] .lead-import-v203-delivered-table td:nth-child(6){grid-column:1/-1}}@media (max-width:430px){body[data-page="lead-import"] .lead-import-v203-delivered-table tr{grid-template-columns:1fr}body[data-page="lead-import"] .lead-import-v203-delivered-table td:nth-child(n){grid-column:1}}body[data-page="contact-archive"] .contact-archive-v204-kpis{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-bottom:14px}body[data-page="contact-archive"] .contact-archive-v204-kpis article{min-width:0;padding:13px 14px}body[data-page="contact-archive"] .contact-archive-v204-kpis small{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body[data-page="contact-archive"] .contact-archive-v204-kpis b{display:block;margin-top:4px;font-size:20px}body[data-page="contact-archive"] .contact-archive-v204-filters .field{margin:0;min-width:0}body[data-page="contact-archive"] .contact-archive-v204-filters input,
body[data-page="contact-archive"] .contact-archive-v204-filters select{width:100%;box-sizing:border-box}body[data-page="contact-archive"] .contact-archive-v204-filter-actions .btn{min-height:42px;white-space:nowrap}body[data-page="contact-archive"] .contact-archive-v204-table-card{overflow:hidden}body[data-page="contact-archive"] .contact-archive-v204-table-card>header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:14px 17px}body[data-page="contact-archive"] .contact-archive-v204-table-card h2{margin:2px 0;font-size:18px}body[data-page="contact-archive"] .contact-archive-v204-table-card>header .field{width:135px;margin:0}body[data-page="contact-archive"] .contact-archive-v204-table-wrap{overflow:auto;padding:0 14px}body[data-page="contact-archive"] .contact-archive-v204-table{min-width:0;margin:12px 0 0}body[data-page="contact-archive"] .contact-archive-v204-table th{white-space:nowrap}body[data-page="contact-archive"] .contact-archive-v204-table td{vertical-align:middle}body[data-page="contact-archive"] .contact-archive-v204-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px}body[data-page="contact-archive"] .contact-archive-v204-pagination span{font-size:11px}.contact-archive-v204-modal .modal-body{display:grid;gap:16px}.contact-archive-v204-modal .modal-body>section{padding:14px}.contact-archive-v204-modal .modal-body h3{margin:0 0 11px;font-size:15px}.contact-archive-v204-validation-note{margin:10px 0 0;padding:9px;font-size:11px}@media (max-width:1366px){body[data-page="contact-archive"] .contact-archive-v204-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:768px){body[data-page="contact-archive"] .contact-archive-v204-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="contact-archive"] .contact-archive-v204-table-wrap{overflow:visible;padding:0 11px}body[data-page="contact-archive"] .contact-archive-v204-table{min-width:0;border-collapse:separate;border-spacing:0 9px}body[data-page="contact-archive"] .contact-archive-v204-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}body[data-page="contact-archive"] .contact-archive-v204-table tbody{display:grid;gap:9px}body[data-page="contact-archive"] .contact-archive-v204-table tr{display:grid;grid-template-columns:1fr 1fr;padding:10px}body[data-page="contact-archive"] .contact-archive-v204-table td{display:grid;gap:3px;padding:7px;min-width:0}body[data-page="contact-archive"] .contact-archive-v204-table td:first-child,
body[data-page="contact-archive"] .contact-archive-v204-table td:nth-child(4),
body[data-page="contact-archive"] .contact-archive-v204-table td:nth-child(5),
body[data-page="contact-archive"] .contact-archive-v204-table td:nth-child(6),
body[data-page="contact-archive"] .contact-archive-v204-table td:nth-child(7){grid-column:1/-1}}@media (max-width:430px){body[data-page="contact-archive"] .contact-archive-v204-kpis{grid-template-columns:1fr}body[data-page="contact-archive"] .contact-archive-v204-table-card>header{align-items:stretch;flex-direction:column}body[data-page="contact-archive"] .contact-archive-v204-table-card>header .field{width:100%}body[data-page="contact-archive"] .contact-archive-v204-pagination{flex-wrap:wrap}body[data-page="contact-archive"] .contact-archive-v204-table tr{grid-template-columns:1fr}body[data-page="contact-archive"] .contact-archive-v204-table td{grid-column:1}}body:is([data-page="sales-operations"],[data-page="lead-import"],[data-page="sales-leads"],[data-page="sales-case-detail"],[data-page="credit-assessment"],[data-page="reconciliation"],[data-page="interdepartmental-tickets"],[data-page="communications-center"],[data-page="employee-profile"]) .page-content{max-width:1560px}body[data-page="sales-operations"] .page-content,
body[data-page="sales-leads"] .page-content,
body[data-page="sales-contact-detail"] .page-content,
body[data-page="sales-case-detail"] .page-content,
body[data-page="employee-profile"] .page-content,
body[data-page="organization-settings"] .page-content{padding:22px 26px 40px}.v115-page-stack>.so-kpi-grid,
.v115-page-stack>.so-two-column,
.v115-page-stack>.so-import-layout,
.v115-page-stack>.so-leads-toolbar,
.v115-page-stack>.so-bulk-bar,
.v115-page-stack>.so-panel,
.v115-page-stack>.so-ticket-note,
.v115-page-stack>.so-profile-hero,
.v115-page-stack>.so-full-detail-shell,
.v115-page-stack>.so-referral-layout,
.v115-page-stack>.so-reconciliation-source{margin:0}.v115-status-board>.so-kpi-grid{margin:0;padding:14px 16px;display:flex;overflow-x:auto;gap:10px}.v115-status-board .so-kpi{flex:1 0 180px;min-height:76px;padding:11px 13px;align-items:center}.v115-status-board .so-kpi>span{width:42px;height:42px;flex:0 0 42px}.v115-status-board .so-kpi b{font-size:20px;margin-top:1px}.v115-status-board .so-kpi small{font-size:11px}.v115-status-board .so-kpi em{font-size:11px}.so-ticket-note p{margin:3px 0 0;font-size:11px}.so-profile-meta span{min-height:45px;padding:8px 11px}@media (max-width:680px){.so-profile-hero>div:nth-of-type(2){padding:0 14px}.so-profile-meta{grid-template-columns:1fr}}.credit-v118-table .so-badge{white-space:nowrap;}.credit-v118-table .so-badge{padding:5px 9px;line-height:1.45;}.credit-v118-table .so-badge{font-size:11.5px;font-weight:800}body[data-page="credit-assessment"] header.topbar .attendance-top-tools{display:none}body[data-page="credit-assessment"] .credit-v118-table .so-badge{min-height:32px;padding:5px 12px;font-size:11px;font-weight:800;position:relative;z-index:2;overflow:visible}@media (max-width:1366px){body[data-page="credit-assessment"] .credit-v118-table .so-badge{padding-right:8px;padding-left:8px;font-size:11px}}@layer tiam-pgf-profile{.tiam-pgf-profile-hero{position:relative;isolation:isolate;min-height:298px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(440px,.95fr);gap:18px;align-items:stretch;padding:25px 28px;overflow:hidden}.tiam-pgf-profile-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding-inline:6px}.tiam-pgf-profile-copy h1{margin:10px 0 5px;font-size:clamp(31px,3.4vw,50px);font-weight:800;line-height:1.34}.tiam-pgf-profile-copy>p{max-width:680px;margin:0;font-size:12.4px;font-weight:560;line-height:2}.tiam-pgf-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.tiam-pgf-profile-visual{position:relative;display:grid;grid-template-rows:auto 1fr;gap:12px;align-content:center}.tiam-pgf-profile-person-mark{width:66px;height:66px;min-width:66px;display:grid;place-items:center;font-size:25px;font-weight:800}.tiam-pgf-profile-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px}.tiam-pgf-profile-meta-grid article{min-height:68px;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:11px 14px}.tiam-pgf-profile-meta-grid article>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center}.tiam-pgf-profile-meta-grid svg{width:17px;height:17px}.tiam-pgf-profile-meta-grid small{font-size:11px;font-weight:770}.tiam-pgf-profile-meta-grid b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800}.tiam-pgf-workflow-card{padding:13px 16px}.tiam-pgf-workflow-card header{display:flex;align-items:center;gap:9px}.tiam-pgf-workflow-card header>span{width:37px;height:37px;display:grid;place-items:center}.tiam-pgf-workflow-card header svg{width:17px;height:17px}.tiam-pgf-workflow-card header small{display:block;font-size:11px;font-weight:760}.tiam-pgf-workflow-card header b{display:block;font-size:11.5px;font-weight:800}.tiam-pgf-workflow-card>p{margin:8px 0 0;font-size:11px;line-height:1.7}.tiam-pgf-request-table-wrap{width:100%;overflow-x:hidden;padding:0 6px 10px}.tiam-pgf-request-table{display:block;width:100%;border-collapse:separate;border-spacing:0}.tiam-pgf-request-table thead,
.tiam-pgf-request-table tbody{display:block;width:100%}.tiam-pgf-request-table thead tr,
.tiam-pgf-request-table tbody tr{display:grid;grid-template-columns:minmax(150px,1.25fr)
      minmax(105px,.72fr)
      minmax(160px,1.05fr)
      minmax(120px,.82fr)
      minmax(160px,1.25fr)
      minmax(125px,.85fr);align-items:center;width:100%}.tiam-pgf-request-table thead tr{height:29px;padding:0 15px}.tiam-pgf-request-table thead th{padding:0 6px;font-size:11px;font-weight:800;text-align:center;white-space:nowrap}.tiam-pgf-request-table tbody{display:grid;gap:6px}@media (max-width:1180px){.tiam-pgf-profile-hero{grid-template-columns:1fr;min-height:auto}.tiam-pgf-profile-visual{grid-template-columns:minmax(330px,.9fr) minmax(0,1.1fr);grid-template-rows:auto;align-items:center}.tiam-pgf-workflow-card{grid-column:1/-1}.tiam-pgf-request-table thead tr,
.tiam-pgf-request-table tbody tr{grid-template-columns:minmax(135px,1.15fr)
        minmax(95px,.7fr)
        minmax(145px,1fr)
        minmax(110px,.8fr)
        minmax(140px,1.15fr)
        minmax(120px,.85fr)}}@media (max-width:900px){.tiam-pgf-profile-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tiam-pgf-profile-visual{grid-template-columns:1fr}.tiam-pgf-request-table-wrap{overflow-x:auto}.tiam-pgf-request-table{min-width:900px}}@media (max-width:680px){.tiam-pgf-profile-hero{padding:18px 14px}.tiam-pgf-profile-copy{align-items:center;text-align:center}.tiam-pgf-profile-copy h1{font-size:29px}.tiam-pgf-profile-actions{width:100%;display:grid;grid-template-columns:1fr}.tiam-pgf-profile-meta-grid{grid-template-columns:1fr}.tiam-pgf-workflow-card{grid-column:auto}.tiam-pgf-request-table-wrap{padding-inline:0}}}.sm148-workspace-meta>button{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 12px;font-size:11px;font-weight:800;cursor:pointer}.sm148-workspace-meta>button span{display:grid;place-items:center;min-width:23px;height:23px;padding:0 5px}.sm148-role-nav button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;white-space:nowrap;cursor:pointer;}.sm148-role-nav button>b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;font-size:11px}.sm148-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.sm148-kpi{display:flex;align-items:center;gap:9px;min-width:0;text-align:right;}.sm148-kpi:is(button){width:100%;cursor:pointer}.sm148-kpi>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 auto}.sm148-kpi svg{width:17px;height:17px}.sm148-kpi>div{display:grid;gap:1px;min-width:0}.sm148-kpi small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sm148-kpi b{line-height:1.25;}.sm148-kpi em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.sm148-expert-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.sm148-attention-list>button{display:flex;align-items:center;gap:9px;width:100%;min-height:48px;padding:7px 9px;text-align:right;cursor:pointer}.sm148-attention-list>button>span{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto}.sm148-attention-list>button>div{display:grid;gap:2px;min-width:0;flex:1}.sm148-attention-list>button>svg{width:15px;height:15px}.sm148-table{min-width:760px;margin:0}.sm148-table th,
.sm148-table td{height:48px;padding:7px 9px;font-size:11px;vertical-align:middle}.sm148-table th{font-weight:800}.sm148-team-table{width:100%;min-width:0}.sm148-table td>small,
.sm148-table td b+small{display:block;margin-top:2px;font-size:11px}.sm148-badge{justify-content:center;}.sm148-selected{display:grid;place-items:center;min-width:92px;min-height:49px;padding:6px 9px}.sm148-selected b{font-size:17px}.sm148-selected span{font-size:11px}.sm148-field{display:grid;gap:4px}.sm148-field>span,
.sm148-page-size>span{font-size:11px;font-weight:800}.sm148-field :is(input,select),
.sm148-page-size select{height:36px;padding:0 9px;font-size:11px}.sm148-allocate-button,
.sm148-soft-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 12px;font-size:11px;font-weight:800;cursor:pointer}.sm148-allocate-button svg,
.sm148-soft-action svg{width:15px;height:15px}.sm148-check-all input,
.sm148-select{width:17px;height:17px}.sm148-request-context>button{font-size:11px;font-weight:800;cursor:pointer}.sm148-pagination{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px}.sm148-pagination button{min-height:32px;padding:0 10px;font-size:11px;font-weight:800;cursor:pointer}.sm148-pagination span{font-size:11px}.sm148-advanced-tools button{min-height:31px;padding:0 9px;font-size:11px;cursor:pointer}.sm148-request-card{display:grid;gap:9px;padding:11px}.sm148-request-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.sm148-request-card>header>div{display:grid;gap:2px}.sm148-request-card>header b{font-size:11px}.sm148-request-card>header small{font-size:11px}.sm148-request-card>p{margin:0;font-size:11px}.sm148-request-card>footer{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sm148-request-card>footer .btn{min-height:32px;padding-inline:9px;font-size:11px}.sm148-folder-tabs{display:flex;align-items:center;gap:5px;margin:0 0 9px;padding:4px;overflow-x:auto}.sm148-folder-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 10px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.sm148-folder-tabs button b{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px}.sm148-contact-table-wrap{overflow:auto}.sm148-contact-table{min-width:940px;margin:0}.sm148-supervisor-contact-table{width:100%;min-width:0}.sm148-contact-table th{height:36px;font-size:11px}.sm148-contact-table td{height:52px;padding:6px 8px;font-size:11px;vertical-align:middle}.sm148-contact-row :is(select,input,button){pointer-events:auto}.sm148-performance-score{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.sm148-performance-score article{display:grid;gap:3px;padding:11px 13px}.sm148-performance-score small{font-size:11px}.sm148-performance-score b{font-size:20px}.sm148-ranking-card{padding:12px}.sm148-ranking-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.sm148-ranking-card h3{margin:2px 0 0;font-size:12px}.sm148-case-flow-note{display:flex;align-items:center;gap:9px;margin-bottom:12px;padding:9px 10px}.sm148-case-flow-note svg{width:18px;height:18px}.sm148-case-flow-note>div{display:grid;gap:2px}.sm148-case-flow-note b{font-size:11px}.sm148-case-flow-note small{font-size:11px}@media (max-width:1280px){.sm148-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sm148-expert-kpis{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto}}@media (max-width:1050px){.sm148-allocation-bar .sm148-allocate-button{grid-column:1/-1}.sm148-team-table{width:100%;min-width:0}}@media (max-width:820px){.sm148-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sm148-performance-score{grid-template-columns:repeat(2,minmax(0,1fr))}.sm148-allocation-bar .sm148-selected{min-width:0}.sm148-allocation-bar .sm148-note,
.sm148-allocation-bar .sm148-allocate-button{grid-column:1/-1}}@media (max-width:600px){.sm148-kpi-grid{grid-template-columns:1fr 1fr}.sm148-kpi{min-height:64px}.sm148-role-nav button{min-height:36px;padding-inline:9px}.sm148-allocation-bar .sm148-note,
.sm148-allocation-bar .sm148-allocate-button{grid-column:auto}.sm148-performance-score{grid-template-columns:1fr 1fr}.sm148-contact-table-wrap{max-width:100%}}body:not(.auth-active) header.topbar :is(
  #page-subtitle,
  .attendance-top-tools,
  .top-date-pill,
  .profile>div:not(.person-mark),
  .profile-logout,
  input[type="search"],
  .top-search,
  .search,
  .search-box,
  .global-search
){display:none}body[data-page="settings"] .payroll-policy-grid>.form-card:first-child{grid-column:1/-1}@media (max-width:900px){body[data-page="settings"] .payroll-policy-grid>.form-card:first-child{grid-column:auto}}body[data-page="reconciliation"] .so-reconciliation-source .table-wrap{padding:7px 8px 12px;overflow-x:auto;overflow-y:visible}body[data-page="reconciliation"] .so-reconciliation-source .so-table{display:block;width:100%;border-collapse:separate;border-spacing:0}body[data-page="reconciliation"] .so-reconciliation-source .so-table thead,
body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody{display:grid;width:100%}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody{gap:5px}body[data-page="reconciliation"] .so-reconciliation-source .so-table thead tr,
body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr{display:grid;grid-template-columns:minmax(150px,1.25fr) minmax(115px,.95fr) minmax(130px,1fr) minmax(145px,1.05fr) minmax(84px,.72fr) minmax(110px,.86fr) minmax(120px,.95fr) minmax(125px,.9fr);align-items:center}body[data-page="reconciliation"] .so-reconciliation-source .so-table thead th{display:flex;align-items:center;justify-content:center;height:28px;padding:3px 7px;font-size:11px}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr,
body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr:nth-child(odd),
body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr:nth-child(even){position:relative;isolation:isolate;height:61px;min-height:61px;margin:0;padding:0 14px;overflow:hidden}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody td,
body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr:nth-child(odd) td,
body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr:nth-child(even) td,
body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr:hover td{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%;height:61px;min-height:61px;max-height:61px;padding:0 8px;font-size:12.2px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody td small{display:block;margin-top:2px;font-size:11px;line-height:1.35}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody .rec-direct-actions{display:flex;align-items:center;justify-content:center;gap:5px;overflow:visible}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody .btn.btn-sm{min-height:30px;height:30px;padding:0 10px;font-size:11px;line-height:1}@media (max-width:768px){body[data-page="reconciliation"] .so-reconciliation-source .table-wrap{height:auto;max-height:none;overflow:visible}body[data-page="reconciliation"] .so-reconciliation-source .so-table,
body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody{display:grid;min-width:0;gap:9px}body[data-page="reconciliation"] .so-reconciliation-source .so-table thead{display:none}html body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr.rec-direct-payment-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;min-height:0;max-height:none;padding:0;overflow:hidden}html body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr.rec-direct-payment-row td{display:grid;min-width:0;height:auto;min-height:58px;max-height:none;padding:9px 10px;text-align:right}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody td:nth-child(1){grid-column:1/-1}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody td:nth-child(8){grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:7px}}@media (max-width:560px){body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody tr{grid-template-columns:1fr}body[data-page="reconciliation"] .so-reconciliation-source .so-table tbody td{grid-column:1/-1}}.so-direct-bank-table{min-width:1180px}@media (max-width:900px){.so-direct-bank-table{min-width:1080px}}@media (min-width:901px) and (max-width:1100px){body[data-page]:not([data-page="reconciliation"]) :where(.top-date-pill,.so-top-action){min-width:0}body[data-page]:not([data-page="reconciliation"]) .so-top-action span{display:none}}body.tiam-header-system-v232 #page-content .so-panel>.tiam-header,
body.tiam-header-system-v232 #page-content .so-import-card>.tiam-header,
body.tiam-header-system-v232 #page-content .so-import-guide>.tiam-header,
body.tiam-header-system-v232 #page-content .so-import-result>.tiam-header,
body.tiam-header-system-v232 #page-content .so-reconciliation-source>.tiam-header{margin:0;width:100%}.so-top-action,
.attendance-top-tool{width:36px;min-width:36px;height:36px;min-height:36px;padding:0}.so-top-action span{display:none}.so-top-action b{font-size:11px}.so-panel,
.sm148-panel{
  background:var(--tiam-surface-surface);border:1px solid var(--tiam-surface-border);border-radius:var(--tiam-surface-radius);box-shadow:var(--tiam-surface-shadow);
  }.so-panel,
.sm148-panel{padding:14px}.sm148-badge{display:inline-flex;align-items:center;min-height:23px;padding:3px 9px;border:1px solid rgba(255,255,255,.72);border-radius:999px;background:rgba(239,248,255,.34);color:#163762;white-space:nowrap;}.sm148-role-description,
.sm148-subpage-head p{display:none}body.ui-compact-ready .so-page-head p,
body.ui-compact-ready .sm148-subpage-head p{display:none!important}body.ui-compact-ready .sales-report-hero.ui-title-collapsed{height:auto!important;min-height:38px!important;padding:5px 7px!important;margin-bottom:5px!important}body.ui-compact-ready .sales-report-hero.ui-title-collapsed .page-actions{min-height:31px!important;align-items:center!important}:where(.table-wrap,.table-responsive,.data-table-wrap,.table-container,.sm148-contact-table-wrap,.al-table-wrap,.customer-call-table-wrap){max-height:none!important;height:auto!important;overflow-x:auto!important;overflow-y:visible!important}.so-notification-error{margin:10px 12px;padding:10px;border:1px solid #e4a09a;background:#fff7f6;display:grid;gap:4px;font-size:12px}.so-notification-error button{justify-self:start;border:1px solid #b42318;background:var(--tiam-surface-surface);color:#b42318;padding:5px 9px;cursor:pointer}.so-notification-loading{padding:28px;text-align:center;color:#666}.so-notification-item.is-resolved{opacity:.76}.so-notification-item footer em.is-done{background:#eee;color:#555}.so-notification-item footer em.is-open{background:#fff2cc;color:#765500}.so-notification-item-actions{display:flex;gap:6px;align-items:center;padding:0 8px 8px}.so-notification-complete{border:1px solid #777;background:var(--tiam-surface-surface);color:#222;padding:5px 8px;cursor:pointer}.so-notification-page{max-width:980px;margin-inline:auto}.so-notification-page .so-notification-list{max-height:none;overflow:visible}.so-top-action b.hidden{display:none!important}.sm240-manager-head{min-height:44px!important;padding:7px 10px!important;align-items:center!important}.sm240-manager-head .sm148-workspace-title{align-items:center}.sm240-manager-head .sm148-workspace-title>span{width:30px;height:30px}.sm240-manager-head .sm148-workspace-title h1{font-size:16px;margin:0}.sm240-manager-head-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto}.sm240-manager-head-actions small{font-size:11px;color:var(--ui-muted)}.sm240-manager-workspace{display:grid;gap:10px;max-width:100%}.sm240-section{border:1px solid var(--ui-border);background:var(--ui-surface);padding:10px;border-radius:var(--ui-radius);min-width:0}.sm240-section>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;min-height:28px}.sm240-section>header h2{font-size:14px;line-height:1.4;margin:0;color:var(--ui-text)}.sm240-text-action{border:0;background:transparent;color:var(--ui-info);padding:4px 6px;cursor:pointer;font-size:11.5px}.sm240-text-action:hover{text-decoration:underline}.sm240-table{font-size:12px;min-width:760px}.sm240-table th{font-size:11px;white-space:nowrap}.sm240-table td{height:42px;padding-block:6px;vertical-align:middle}.sm240-table td b{display:block;font-size:12px}.sm240-table td small{display:block;font-size:11px;color:var(--ui-muted);margin-top:2px}.sm240-table tr.is-urgent td:first-child{border-inline-start:3px solid #a61b1b}.sm240-inventory-summary{display:grid;grid-template-columns:minmax(150px,1.1fr) repeat(3,minmax(130px,1fr)) auto;align-items:center;gap:8px}.sm240-inventory-summary>div:not(.sm240-inline-actions){min-height:55px;border:1px solid var(--ui-border);padding:8px;display:grid;align-content:center;gap:3px;background:var(--ui-surface-alt)}.sm240-inventory-summary span{font-size:11px;color:var(--ui-muted)}.sm240-inventory-summary b{font-size:14px}.sm240-inventory-summary>div:first-child b{font-size:21px}.sm240-request-state small{font-size:11px;color:var(--ui-muted)}.sm240-inline-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}.sm240-inline-actions .btn{white-space:nowrap;min-height:34px}.sm240-credit-metrics{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:7px}.sm240-credit-metrics button{border:1px solid var(--ui-border);background:var(--ui-surface-alt);padding:10px;text-align:right;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;min-height:52px}.sm240-credit-metrics button:hover{border-color:var(--ui-focus)}.sm240-credit-metrics button.is-alert{border-color:#b85b53;background:#fff8f7}.sm240-credit-metrics span{font-size:11.5px}.sm240-credit-metrics b{font-size:20px}.sm240-delay-note{margin-top:7px;border:1px solid #d7b05a;background:#fffaf0;color:#664b00;padding:6px 8px;font-size:11px;cursor:pointer}.sm240-member-name{display:grid;gap:2px}.sm240-member-name.is-child{padding-inline-start:18px;position:relative}.sm240-member-name.is-child:before{content:"";position:absolute;inset-inline-start:5px;top:50%;width:8px;border-top:1px solid var(--ui-border-strong)}.sm240-table tr.is-supervisor{background:var(--ui-surface-alt)}.sm240-icon-action{width:30px;height:30px;min-width:30px;padding:0;border:1px solid var(--ui-border);background:var(--tiam-surface-surface);color:var(--ui-text);display:inline-grid;place-items:center;cursor:pointer;border-radius:var(--ui-radius)}.sm240-icon-action:hover{background:var(--ui-surface-alt);border-color:var(--ui-border-strong)}.sm240-icon-action:disabled{opacity:.45;cursor:not-allowed}.sm240-icon-action svg{width:15px;height:15px}.sm240-row-action{min-height:29px;border:1px solid var(--ui-border-strong);background:var(--tiam-surface-surface);padding:3px 9px;cursor:pointer;border-radius:var(--ui-radius);font-size:11.5px}.sm240-row-action:disabled{opacity:.45;cursor:not-allowed}.sm240-row-actions{display:flex;gap:4px;align-items:center}.sm240-reason{display:block;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sm240-allocation-context{display:flex;align-items:center;gap:10px;padding:7px 8px;border:1px solid var(--ui-border);background:var(--ui-surface-alt);margin-bottom:8px}.sm240-allocation-context span{font-size:11px;color:var(--ui-muted)}.sm240-allocation-context button{margin-inline-start:auto;border:0;background:transparent;cursor:pointer;color:var(--ui-info)}.sm240-allocation-controls{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1.2fr) auto;gap:7px;align-items:end;margin-bottom:8px}.sm240-allocation-controls label{display:grid;gap:4px}.sm240-allocation-controls label span{font-size:11px;color:var(--ui-muted)}.sm240-allocation-controls select,
.sm240-allocation-controls input{height:34px}.sm240-current-request{display:grid;gap:7px;padding:8px;border:1px solid var(--ui-border);background:var(--ui-surface-alt)}.sm240-current-request b{font-size:14px}.sm240-current-request span,
.sm240-current-request small{font-size:12px}.sm240-member-detail{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:7px}.sm240-member-detail>div{border:1px solid var(--ui-border);padding:8px;display:grid;gap:4px;background:var(--ui-surface-alt)}.sm240-member-detail span{font-size:11px;color:var(--ui-muted)}.sm240-member-detail b{font-size:13px}.lead-import-v240-requests{margin-bottom:10px;padding:10px}.lead-import-v240-requests>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.lead-import-v240-requests h2{font-size:14px;margin:0}.lead-import-v240-actions{display:flex;gap:4px}.lead-import-v240-actions button{border:1px solid var(--ui-border);background:var(--tiam-surface-surface);padding:4px 7px;cursor:pointer;font-size:11px}.lead-import-v240-actions button.is-danger{border-color:#b85b53;color:#8b1a12}.lead-import-v240-requests.is-error{border-color:#b85b53;color:#8b1a12}@media(max-width:1180px){.sm240-inventory-summary{grid-template-columns:repeat(2,minmax(150px,1fr))}.sm240-inline-actions{justify-content:flex-start}.sm240-allocation-controls{grid-template-columns:1fr 1fr}.sm240-allocation-controls>.btn{grid-column:1/-1;justify-self:start}}

/* === v286 residual extraction from components.css === */
.adjustments-table{width:100%;min-width:0;table-layout:auto}

.experts-toolbar-card{padding:22px 24px}
.experts-filter-bar .field{margin:0}
@media (max-width:900px){.experts-filter-bar .field{flex:1 1 100%}}
@media (max-width:560px){.experts-filter-bar .btn{width:100%}}
.performance-average-card{margin-bottom:16px;overflow:hidden}
.performance-average-card{padding-bottom:16px}
.performance-average-card>.grid{padding:16px}
@media (max-width:900px){.performance-average-card>.grid{grid-template-columns:repeat(2,1fr)}}
.smart-sales-table .row-index{height:34px;padding:4px 5px;font-size:11px;text-align:center;white-space:nowrap}
@media (max-width:980px){.smart-sales-table{min-width:980px}}
body[data-page="performance"] .performance-report-hero{position:relative;min-height:114px;margin:0 0 12px;padding:18px 20px;overflow:visible;align-items:center;z-index:10}
body[data-page="performance"] .performance-report-hero>*{position:relative;z-index:2}
.performance-report-hero-title{display:flex;align-items:center;gap:13px;min-width:0}
.performance-report-hero-icon{width:54px;height:54px;display:grid;place-items:center}
.performance-report-hero-icon svg{width:28px;height:28px}
.performance-report-hero-title small{display:block;font-size:11.2px;font-weight:800;margin-bottom:3px}
.performance-report-hero h1{margin:0;font-size:24px;font-weight:800}
.performance-report-page{display:flex;flex-direction:column;gap:12px}
.performance-report-result{display:flex;flex-direction:column;gap:12px}
.performance-filter-card, .performance-section-card, .performance-average-card-v109{overflow:hidden}
.performance-section-head{min-height:54px;padding:10px 14px;display:flex;align-items:center;gap:10px}
.performance-section-head>span{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center}
.performance-section-head svg{width:19px;height:19px}
.performance-section-head>div{min-width:0;display:flex;flex-direction:column;gap:1px}
.performance-section-head b{font-size:13.5px;font-weight:800}
.performance-section-head small{font-size:11.2px;font-weight:740;white-space:normal}
.performance-filter-body{padding:12px}
.performance-primary-filters{display:grid;grid-template-columns:1.6fr 1fr 1fr auto;gap:9px;align-items:end}
.performance-filter-card .field{min-width:0}
.performance-filter-card .field label{font-size:11.2px;font-weight:800;margin-bottom:4px}
.performance-filter-card .field input, .performance-filter-card .field select{height:39px;min-height:39px;padding:6px 9px;font-size:12.2px}
.performance-filter-apply{height:39px;min-width:142px;padding:0 14px;display:flex;align-items:center;justify-content:center;gap:7px}
.performance-filter-apply svg{width:18px;height:18px}
.performance-filter-apply b{font-size:11.8px;font-weight:800}
.performance-expert-banner{min-height:78px;padding:13px 16px;display:flex;align-items:center;gap:12px}
.performance-expert-person-mark{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center}
.performance-expert-person-mark svg{width:24px;height:24px}
.performance-expert-banner>div{display:flex;flex-direction:column;min-width:0}
.performance-expert-banner small{font-size:11.2px;font-weight:800}
.performance-expert-banner b{margin-top:2px;font-size:16px;font-weight:800}
.performance-expert-banner em{margin-top:2px;font-size:11.2px;font-weight:730}
.performance-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.performance-kpi-card{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:132px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.performance-kpi-copy, .performance-kpi-icon{position:relative;z-index:2}
.performance-kpi-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1}
.performance-kpi-copy small{display:block;font-size:12.7px;line-height:1.65;font-weight:800}
.performance-kpi-copy b{display:block;max-width:100%;margin-top:9px;font-size:30px;line-height:1.18;font-weight:800;white-space:nowrap}
.performance-kpi-copy b.is-money{font-size:clamp(18px,1.7vw,27px)}
.performance-kpi-copy b>span{display:block;max-width:100%;overflow:hidden}
.performance-kpi-copy em{display:block;margin-top:9px;font-size:11.2px;font-weight:730}
.performance-kpi-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center}
.performance-kpi-icon svg{width:30px;height:30px}
.performance-refund-notice, .performance-compact-note{padding:12px 15px;display:flex;align-items:center;gap:11px}
.performance-refund-notice>span, .performance-compact-note>span{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center}
.performance-refund-notice svg, .performance-compact-note svg{width:21px;height:21px}
.performance-refund-notice div, .performance-compact-note div{display:flex;flex-direction:column}
.performance-refund-notice small, .performance-compact-note small{font-size:11.2px;font-weight:800;opacity:.76}
.performance-refund-notice b, .performance-compact-note b{font-size:13px;font-weight:800}
.performance-average-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px}
.performance-average-grid>div{min-height:94px;padding:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.performance-average-grid small{font-size:11.2px;font-weight:800}
.performance-average-grid b{margin-top:5px;font-size:20px;font-weight:800}
.performance-average-grid em{margin-top:3px;font-size:11.2px}
.performance-average-grid .average-status{margin-top:4px}
.performance-section-body{padding:11px}
.performance-formula{margin-bottom:10px;padding:10px 12px;font-size:11.4px;font-weight:730}
.performance-rule-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:11px 11px 0}
.performance-rule-summary>div{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.performance-rule-summary small{font-size:11.2px;font-weight:800}
.performance-rule-summary b{font-size:12.3px;font-weight:800}
.performance-result-pill{display:inline-flex;align-items:center;justify-content:center;min-width:62px;min-height:25px;padding:3px 8px;font-size:11.2px;font-weight:800}
.performance-table{width:100%;min-width:760px}
.performance-table thead th{height:42px;padding:8px 7px;font-size:11.4px;font-weight:800;text-align:center;white-space:nowrap}
.performance-table tbody td{height:43px;padding:8px 8px;font-size:12.2px;font-weight:660;text-align:center}
.performance-table .money, .performance-table .commission{white-space:nowrap}
.performance-products-table{min-width:920px}
.performance-invoices{min-width:1040px}
.performance-buyer-cell, .performance-product-cell{text-align:right;font-weight:800}
.performance-invoices tbody td:first-child{width:54px;font-weight:800}
.performance-invoices .return-note{display:block;margin-top:3px;font-size:11.2px;white-space:normal}
.performance-section-card .pagination{margin:10px 0 2px}
@container performancePage (max-width:1060px){.performance-kpi-grid, .performance-average-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container performancePage (max-width:680px){.performance-primary-filters{grid-template-columns:1fr}.performance-filter-apply{width:100%}.performance-kpi-grid, .performance-average-grid, .performance-rule-summary{grid-template-columns:1fr}.performance-kpi-card{min-height:112px;padding:15px 16px}.performance-kpi-icon{width:56px;height:56px;flex-basis:56px}.performance-kpi-copy b{font-size:25px}.performance-kpi-copy b.is-money{font-size:clamp(17px,6vw,23px)}}
@media (max-width:820px){body[data-page="performance"] .performance-report-hero{min-height:0;padding:16px}.performance-report-hero-title{gap:10px}.performance-report-hero-icon{width:46px;height:46px}.performance-report-hero h1{font-size:19px}.performance-report-hero-title small{font-size:11.2px}.performance-section-head{min-height:49px;padding:8px 10px}.performance-section-head>span{width:32px;height:32px;flex-basis:32px}}
body[data-page="lead-import"] .page-content{padding:22px 26px 40px}
/* === Extracted from utilities.css; TIAM v286 single-source migration === */
@media (max-width:700px){.employee-analysis-header{align-items:stretch;flex-direction:column}}body.logo-hidden .expert-hero-logo{display:none}#sales-drawer-host.is-open{pointer-events:auto}#sales-drawer-host.is-open .sales-drawer-backdrop{opacity:1}#sales-drawer-host.is-open .sales-entry-drawer{transform:translateX(0)}.sales-submit-button.is-loading{opacity:.68;cursor:wait}@media (max-width:760px){#sales-drawer-host.is-open .sales-entry-drawer{transform:none;}}.sales-report-list-card .empty{min-height:110px}@media (max-width:768px){body[data-page="sales-report"] .sales-report-table tbody .empty{grid-column:1/-1;min-height:120px;display:grid;place-items:center}}.attendance-v110-loading-card{grid-column:1/-1;min-height:118px;display:grid;place-items:center}.attendance-v110-case-btn,
.attendance-v110-row-danger{width:35px;height:35px;display:inline-grid;place-items:center;cursor:pointer}.attendance-v110-case-btn svg,
.attendance-v110-row-danger svg{width:18px;height:18px}.attendance-v110-mini-list .empty{padding:12px 4px;font-size:11px}#attendance-drawer-host.is-open .attendance-v110-drawer-backdrop{opacity:1}#attendance-drawer-host.is-open .attendance-v110-drawer{transform:translateX(0)}.attendance-v110-drawer-form,
.attendance-v110-drawer-list,
.attendance-v110-calendar-sections>section,
.attendance-v110-danger-zone{padding:15px}.attendance-v110-danger-zone{margin-top:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.attendance-v110-danger-zone h3{margin:0;font-size:13px}.attendance-v110-danger-zone p{margin:4px 0 0;font-size:11px}@media (max-width:760px){.attendance-v110-danger-zone{align-items:stretch;flex-direction:column}}.attendance-v111-employee-row.is-hidden{display:none}.attendance-v111-empty{padding:24px;text-align:center;font-size:11px;font-weight:750}.attendance-v111-error{padding:22px;text-align:center}.attendance-v111-error button{margin-top:10px}.so-error-list{max-height:180px;overflow:auto;padding:10px}.so-error-list p{margin:4px}.so-bulk-bar.is-visible{display:flex}.so-pagination button:disabled{opacity:.4}#so-drawer-host.is-open .so-drawer{transform:translateX(0)}.so-empty{text-align:center;padding:35px 18px}.so-empty>span{display:inline-grid;place-items:center;}.so-empty svg{width:27px;height:27px}.so-empty h3{margin:12px 0 4px}.so-empty p{margin:0}body[data-page="lead-import"] .lead-import-v203-warning{margin:12px 18px 0;padding:10px 12px;font-size:12px}body[data-page="contact-archive"] .contact-archive-v204-warning{margin-bottom:14px;padding:12px 14px;font-size:11px;line-height:1.9}.contact-archive-v204-modal-loading{min-height:180px;display:grid;place-items:center;align-content:center;gap:8px}.so-leads-toolbar.is-collapsed>*:not(.v115-filter-head){display:none}.so-leads-toolbar.is-collapsed{padding-bottom:0}body.v115-brokerage-style .so-empty{padding:34px 20px}.so-empty>span{width:54px;height:54px}@layer tiam-pgf-profile{.tiam-pgf-empty-row{display:block;min-height:110px;padding:0}.tiam-pgf-empty-row td{display:block;width:100%}.tiam-pgf-empty{min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.tiam-pgf-empty>span{width:38px;height:38px;display:grid;place-items:center}.tiam-pgf-empty svg{width:18px;height:18px}.tiam-pgf-empty b{font-size:11px;font-weight:800}.tiam-pgf-empty small{font-size:11px}}.sm148-balance-warning,
.sm148-due-banner{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;text-align:right;cursor:pointer}.sm148-balance-warning>div,
.sm148-due-banner>div{display:grid;gap:2px;flex:1}.sm148-balance-warning b,
.sm148-due-banner b{font-size:11px}.sm148-balance-warning small,
.sm148-due-banner small{font-size:11px}.sm148-balance-warning>svg,
.sm148-due-banner>svg{width:19px;height:19px}.sm148-pagination button:disabled{opacity:.45;cursor:not-allowed}.sm148-contact-status:disabled{opacity:.7;cursor:not-allowed}.sm148-empty{display:flex;align-items:center;justify-content:center;gap:7px;min-height:88px;font-size:11px}.sm148-empty svg{width:18px;height:18px}.sm148-workspace-error{display:grid;place-items:center;gap:9px;min-height:220px;text-align:center}.sm148-workspace-error h2,
.sm148-workspace-error p{margin:0}.sm148-loading{display:grid;grid-template-columns:repeat(3,10px);place-content:center;gap:6px;min-height:240px}.sm148-loading span{width:10px;height:10px}.sm148-loading p{grid-column:1/-1;margin:6px 0 0;font-size:11px;text-align:center}.so-drawer-open{overflow:hidden}

/* === v286 residual extraction from utilities.css === */
.performance-empty-state, .performance-loading{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}
.performance-empty-state>span{width:52px;height:52px;display:grid;place-items:center}
.performance-empty-state svg{width:26px;height:26px}
.performance-empty-state b{font-size:14px;font-weight:800}
.performance-empty-state small{font-size:11.5px}
.performance-loading{flex-direction:row;min-height:120px;font-weight:800}
body[data-page="lead-import"] button:disabled, body[data-page="lead-import"] select:disabled{cursor:not-allowed;opacity:.55}
/* ========================================================================== */
/* TIAM v286 normalization — enterprise clarity, progressive disclosure       */
/* ========================================================================== */
:root{
  --tiam-z-content:10;
  --tiam-z-sticky:120;
  --tiam-z-dropdown:420;
  --tiam-z-popover:520;
  --tiam-z-drawer-overlay:700;
  --tiam-z-drawer:720;
  --tiam-z-modal-overlay:900;
  --tiam-z-modal:920;
  --tiam-z-toast:1200;
  --v286-ink:#102f50;
  --v286-muted:#4e6b86;
  --v286-line:rgba(72,113,148,.28);
  --v286-surface:rgba(249,252,255,.91);
  --v286-elevated:rgba(255,255,255,.96);
  --v286-shadow:0 12px 30px rgba(23,57,91,.12),0 2px 6px rgba(23,57,91,.08);
}
body[data-page^="sales"],body[data-page="products"],body[data-page="commissions"],body[data-page="performance"],body[data-page="employee-analysis"],body[data-page="attendance"],body[data-page="payslip"],body[data-page="adjustments"],body[data-page="experts"],body[data-page="employee-profile"],body[data-page="organization-settings"]{
  color:var(--v286-ink);
}
body[data-page^="sales"] .page-content,body[data-page="products"] .page-content,body[data-page="commissions"] .page-content,body[data-page="performance"] .page-content,body[data-page="employee-analysis"] .page-content,body[data-page="attendance"] .page-content,body[data-page="payslip"] .page-content,body[data-page="adjustments"] .page-content,body[data-page="experts"] .page-content,body[data-page="employee-profile"] .page-content,body[data-page="organization-settings"] .page-content{
  padding-bottom:104px;
}
body[data-page^="sales"] .card,body[data-page="products"] .card,body[data-page="commissions"] .card,body[data-page="performance"] .card,body[data-page="employee-analysis"] .card,body[data-page="attendance"] .card,body[data-page="payslip"] .card,body[data-page="adjustments"] .card,body[data-page="experts"] .card,body[data-page="employee-profile"] .card,body[data-page="organization-settings"] .card{
  background:var(--v286-surface);
  border-color:var(--v286-line);
  box-shadow:var(--v286-shadow);
}
/* Hard minimum only inside Sales/HR workspaces; no typography spill to other modules. */
.sm148-workspace-head,.sm148-workspace-body,.sm240-manager-workspace,.so-page,.so-panel,.sales-report-page,.lead-page,.contact-archive-page,.tiam-pgf-profile-hero,.tiam-pgf-requests-section,.attendance-v111-employee-panel,.attendance-v110-file-layout,.payslip-page,.adjustments-page,.experts-page,.employee-analysis-page,.organization-page,
.v286-module-head,.v286-panel,.v286-settlement-modal{
  font-size:13px;
  line-height:1.55;
}
.sm148-workspace-head small,.sm148-workspace-body small,.sm240-manager-workspace small,.so-page small,.so-panel small,.sales-report-page small,.lead-page small,.tiam-pgf-profile-hero small,.tiam-pgf-requests-section small,.attendance-v111-employee-panel small,.attendance-v110-file-layout small,.payslip-page small,.adjustments-page small,.experts-page small,.employee-analysis-page small,.organization-page small,
.v286-module-head small,.v286-panel small,.v286-settlement-modal small{
  font-size:11.5px;
  line-height:1.55;
  color:var(--v286-muted);
}
.sm148-table,.sm240-table,.so-table,.sales-report-table,.lead-table,.attendance-v110-table,.attendance-day-detail-table,.attendance-weekly-table,.payslip-table,.adjustments-table,.experts-table,.v286-table{
  font-size:13px;
}
.sm148-table th,.sm240-table th,.so-table th,.sales-report-table th,.lead-table th,.attendance-v110-table th,.attendance-day-detail-table th,.attendance-weekly-table th,.payslip-table th,.adjustments-table th,.experts-table th,.v286-table th{
  font-size:12px;
  font-weight:700;
  color:#244e70;
  background:rgba(221,237,249,.82);
}
.sm148-table td,.sm240-table td,.so-table td,.sales-report-table td,.lead-table td,.attendance-v110-table td,.attendance-day-detail-table td,.attendance-weekly-table td,.payslip-table td,.adjustments-table td,.experts-table td,.v286-table td{
  font-size:13px;
  min-height:44px;
  padding-block:9px;
  color:#173a59;
}
.sm148-table tbody tr,.sm240-table tbody tr,.so-table tbody tr,.sales-report-table tbody tr,.lead-table tbody tr,.attendance-v110-table tbody tr,.attendance-day-detail-table tbody tr,.attendance-weekly-table tbody tr,.payslip-table tbody tr,.adjustments-table tbody tr,.experts-table tbody tr,.v286-table tbody tr{
  transform:none!important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease!important;
}
.sm148-table tbody tr:hover,.sm240-table tbody tr:hover,.so-table tbody tr:hover,.sales-report-table tbody tr:hover,.lead-table tbody tr:hover,.attendance-v110-table tbody tr:hover,.attendance-day-detail-table tbody tr:hover,.attendance-weekly-table tbody tr:hover,.payslip-table tbody tr:hover,.adjustments-table tbody tr:hover,.experts-table tbody tr:hover,.v286-table tbody tr:hover{
  transform:none!important;
  background:rgba(225,242,253,.72)!important;
  box-shadow:inset 0 0 0 1px rgba(54,132,180,.25)!important;
}
/* Sales workspace */
.sm148-workspace-head{
  min-height:76px;
  padding:14px 18px;
  border:1px solid var(--v286-line);
  background:#fff;
  box-shadow:var(--v286-shadow);
}
.sm148-workspace-title h1{font-size:20px;font-weight:800;color:#103a5e}
.sm148-workspace-title p{font-size:12px;color:var(--v286-muted);margin-top:2px}
.sm148-role-nav{
  position:sticky;
  top:6px;
  z-index:var(--tiam-z-sticky);
  gap:7px;
  padding:7px;
  margin:9px 0;
  background:rgba(247,252,255,.94);
  border:1px solid var(--v286-line);
  
  box-shadow:0 7px 20px rgba(25,65,100,.10);
}
.sm148-role-nav button{min-height:39px;font-size:12px;font-weight:700;color:#315a78}
.sm148-role-nav button.is-active{color:#0d4168;background:#fff;box-shadow:inset 0 0 0 1px rgba(67,139,184,.28),0 5px 12px rgba(30,92,132,.12)}
.sm148-kpi{min-height:90px;padding:13px;border-color:var(--v286-line);background:rgba(255,255,255,.94)}
.sm148-kpi small{font-size:11.5px}.sm148-kpi b{font-size:22px}.sm148-kpi em{font-size:11px}
.sm148-panel,.sm240-section{background:var(--v286-elevated);border:1px solid var(--v286-line);box-shadow:var(--v286-shadow)}
.sm148-panel>header h2,.sm240-section h2{font-size:16px;font-weight:800;color:#173f61}
.sm148-request-card,.sm148-attention-list button,.sm148-expert-row{font-size:12.5px}
.sm148-badge{font-size:11px;font-weight:700}
.sm148-call,.sm240-icon-action,.so-open-detail{min-width:36px;min-height:36px}
/* Sales report and returns */
.sales-report-kpi-card{min-height:100px;background:rgba(255,255,255,.94);border-color:var(--v286-line)}
.sales-report-kpi-copy small{font-size:11.5px}.sales-report-kpi-copy b{font-size:20px}.sales-report-kpi-copy em{font-size:11px}
.v286-return-summary{background:#fff;border:1px solid var(--v286-line);box-shadow:0 8px 20px rgba(26,65,96,.10)}
.v286-return-form fieldset{min-width:0}
.v286-commission-decision{display:grid;gap:8px;margin:4px 0 2px;padding:12px;border:1px solid rgba(59,119,164,.28);border-radius:18px;background:rgba(231,244,253,.72)}
.v286-commission-decision legend{padding:0 8px;font-size:13px;font-weight:800;color:#174a70}
.v286-choice{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 12px;border:1px solid rgba(77,124,158,.22);border-radius:15px;background:rgba(255,255,255,.88);cursor:pointer;transition:border-color .16s,box-shadow .16s,background .16s}
.v286-choice:has(input:checked){border-color:#2582bd;background:#f8fdff;box-shadow:0 0 0 3px rgba(37,130,189,.11)}
.v286-choice input[type=radio]{width:18px;height:18px;accent-color:#1e78b2}
.v286-choice span{display:grid;gap:2px}.v286-choice b{font-size:12.5px;color:#163d5e}.v286-choice small{font-size:11px;color:#58738a}.v286-choice em{font-style:normal;font-size:12px;font-weight:800;color:#1f5c83;white-space:nowrap}
.v286-percent-wrap{display:flex;align-items:center;gap:4px;opacity:.5}.v286-percent-wrap.is-active{opacity:1}.v286-percent-wrap input{width:78px;min-height:34px;text-align:center}
.v286-return-preview{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;align-items:center;margin-top:12px;padding:12px 15px;border-radius:16px;border:1px solid rgba(39,116,164,.28);background:#fff}
.v286-return-preview span{font-size:11.5px;color:#49687e}.v286-return-preview b{font-size:19px;color:#174f77}.v286-return-preview small{grid-column:1/-1;font-size:11px;color:#5c7184}
/* Unified HR module */
.v286-module-head{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:78px;padding:14px 18px;border-radius:22px;border:1px solid var(--v286-line);background:#fff;box-shadow:var(--v286-shadow)}
.v286-module-title{display:flex;align-items:center;gap:13px}.v286-module-title>span{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:#fff;border:1px solid rgba(63,130,174,.28);box-shadow:inset 0 1px 0 #fff,0 8px 18px rgba(35,91,128,.12)}.v286-module-title svg{width:22px;height:22px;color:#185c87}.v286-module-title small{display:block;font-size:11px;color:#668096}.v286-module-title h1{margin:1px 0;font-size:20px;font-weight:800;color:#153e60}.v286-module-title p{margin:0;font-size:12px;color:#56728a}
.v286-module-tabs{margin:9px 0 12px;padding:6px;border:1px solid var(--v286-line);border-radius:17px;background:rgba(248,252,255,.94);box-shadow:0 6px 17px rgba(28,70,102,.09);position:sticky;top:6px;z-index:var(--tiam-z-sticky);}
.v286-module-tabs button{border:0;padding:0 14px;border-radius:12px;background:transparent;color:#46667f;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;}.v286-module-tabs button.is-active{color:#0b4b77;background:#fff;box-shadow:inset 0 0 0 1px rgba(44,126,179,.26),0 5px 12px rgba(25,88,130,.10)}
.v286-loading{display:grid;place-items:center;gap:8px;min-height:260px;color:var(--v286-muted)}.v286-loading span{width:28px;height:28px;border-radius:50%;border:3px solid rgba(40,114,160,.18);border-top-color:#267cb1;animation:v286spin .8s linear infinite}@keyframes v286spin{to{transform:rotate(360deg)}}
.v286-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}.v286-kpi-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.v286-kpi{display:flex;align-items:center;gap:10px;min-height:78px;padding:12px 14px;border:1px solid var(--v286-line);border-radius:19px;background:rgba(255,255,255,.95);box-shadow:0 7px 18px rgba(25,66,98,.09)}.v286-kpi>span{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#e5f2fa}.v286-kpi svg{width:20px;height:20px}.v286-kpi div{display:grid;gap:2px}.v286-kpi small{font-size:11px;color:#607a90}.v286-kpi b{font-size:19px;font-weight:800;color:#163f61}.v286-kpi.is-amber>span{background:#fff0cf;color:#9b6100}.v286-kpi.is-red>span{background:#ffe4e5;color:#aa3740}.v286-kpi.is-violet>span{background:#eee8ff;color:#6946a2}.v286-kpi.is-blue>span{background:#dff1fb;color:#17638f}
.v286-panel{margin-bottom:12px;border:1px solid var(--v286-line);border-radius:22px;background:var(--v286-elevated);box-shadow:var(--v286-shadow);}.v286-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;border-bottom:1px solid rgba(76,118,150,.17)}.v286-panel>header small{display:block;font-size:11px;color:#668096}.v286-panel>header h2{margin:1px 0 0;font-size:16px;font-weight:800;color:#173f61}.v286-panel>header>b{font-size:12px;color:#3d617c}.v286-table-search{width:min(340px,42vw);min-height:38px}
.v286-action-list{padding:8px}.v286-action-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:58px;padding:8px 10px;border-bottom:1px solid rgba(76,118,150,.13)}.v286-action-row:last-child{border-bottom:0}.v286-action-row>span{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#e8f4fb}.v286-action-row b{display:block;font-size:12.5px;color:#173e5e}.v286-action-row small{display:block;font-size:11px;color:#5c768b}.v286-action-row button{border:1px solid rgba(36,116,165,.25);min-height:34px;padding:0 12px;border-radius:11px;background:#f2f9fd;color:#17577e;font-family:inherit;font-weight:700;cursor:pointer}.v286-action-row.is-red>span{background:#ffe8e8;color:#a83840}.v286-empty{padding:30px;text-align:center;color:#627b8f}
.v286-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v286-quick-grid button{display:flex;align-items:center;gap:11px;min-height:72px;padding:12px 14px;border:1px solid var(--v286-line);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 7px 18px rgba(25,66,98,.08);font-family:inherit;text-align:right;cursor:pointer}.v286-quick-grid button>svg{width:22px;height:22px;color:#17618e}.v286-quick-grid span{display:grid;gap:2px}.v286-quick-grid b{font-size:12.5px;color:#173f61}.v286-quick-grid small{font-size:11px;color:#617a8e}
.v286-person{display:flex;align-items:center;gap:9px}.v286-person>span,.v286-termination-person>span{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#fff;border:1px solid rgba(50,125,173,.24);color:#165a84;font-weight:800}.v286-person div{display:grid;gap:1px}.v286-person b{font-size:13px}.v286-person small{font-size:11px}.v286-quality{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;font-size:11px;font-weight:700}.v286-quality.is-warning{background:#fff1d5;color:#8c5a06}.v286-quality.is-ok{background:#dcf5e7;color:#197044}.v286-row-actions{display:flex;gap:6px;justify-content:center}.v286-row-actions button{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;border:1px solid rgba(53,120,163,.23);background:#f4faff;color:#185a82;cursor:pointer;font-family:inherit;font-weight:800}.v286-row-actions button.is-danger{background:#fff0f0;color:#a63c44;border-color:rgba(177,66,73,.23)}.v286-row-actions svg{width:18px;height:18px}
.v286-profile-page .v286-profile-compact{min-height:auto;padding:18px}.v286-profile-page .tiam-pgf-profile-copy p{font-size:12px}.v286-profile-page .tiam-pgf-profile-copy h1{font-size:21px}.v286-profile-page .tiam-pgf-request-table{font-size:12.5px}.v286-profile-page .tiam-pgf-request-table th{font-size:12px}.v286-profile-page .tiam-pgf-request-table small{font-size:11px}
.v286-legacy-attendance>.v286-module-head,.v286-legacy-payslip>.v286-module-head,.v286-analysis-page>.v286-module-head,.v286-organization-page>.v286-module-head{margin-bottom:9px}.v286-legacy-attendance>.v286-module-tabs,.v286-legacy-payslip>.v286-module-tabs,.v286-analysis-page>.v286-module-tabs,.v286-organization-page>.v286-module-tabs{margin-bottom:12px}
/* Payroll and settlement */
.v286-status{display:inline-flex;align-items:center;min-height:27px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:750;white-space:nowrap}.v286-status.is-green{background:#dff5e8;color:#176a42}.v286-status.is-amber{background:#fff0d1;color:#8a5700}.v286-status.is-red{background:#ffe5e5;color:#a13840}.v286-status.is-blue{background:#e1f1fa;color:#176086}
.v286-termination-person{display:flex;align-items:center;gap:11px;margin-bottom:13px;padding:11px;border-radius:16px;background:#edf7fc;border:1px solid var(--v286-line)}.v286-termination-person div{display:grid}.v286-termination-person b{font-size:14px;color:#173f61}.v286-termination-person small{font-size:11px}.v286-legal-note{margin-top:12px;padding:11px 13px;border-radius:14px;background:#fff5dc;border:1px solid rgba(171,116,23,.25);color:#75500d;font-size:11.5px;line-height:1.7}
.v286-settlement-modal{z-index:var(--tiam-z-modal)}.v286-settlement-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:13px 15px;border-radius:17px;background:#fff;border:1px solid var(--v286-line)}.v286-settlement-head h2{margin:1px 0;font-size:18px;color:#173f61}.v286-settlement-head p{margin:0;font-size:11.5px;color:#56728a}.v286-settlement-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.v286-settlement-totals article{display:grid;gap:3px;padding:11px;border:1px solid var(--v286-line);border-radius:15px;background:#fff}.v286-settlement-totals small{font-size:11px}.v286-settlement-totals b{font-size:14px;color:#174768}.v286-settlement-totals .is-net{background:#fff;border-color:rgba(38,139,92,.28)}.v286-settlement-totals .is-net b{font-size:16px;color:#17623e}.v286-settlement-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v286-settlement-columns section{min-width:0;border:1px solid var(--v286-line);border-radius:17px;background:#fff;overflow:hidden}.v286-settlement-columns h3{margin:0;padding:10px 13px;font-size:14px;color:#173f61;background:#edf6fb}.v286-acknowledgment{margin-top:10px;padding:12px 14px;border:1px solid rgba(56,105,140,.25);border-radius:15px;background:#f9fcfe}.v286-acknowledgment b{font-size:12px}.v286-acknowledgment p{margin:5px 0 0;font-size:11.5px;color:#49677e}.v286-audit{margin-top:9px;border:1px solid var(--v286-line);border-radius:14px;background:#fff}.v286-audit summary{padding:10px 13px;cursor:pointer;font-weight:750}.v286-audit>div{display:grid;grid-template-columns:180px 1fr;gap:2px 10px;padding:9px 13px;border-top:1px solid rgba(77,119,151,.14)}.v286-audit>div b{font-size:11.5px}.v286-audit>div span,.v286-audit>div small{font-size:11px}.v286-audit>div small{grid-column:1/-1}
.v286-checkbox{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px}.v286-checkbox input{width:18px;height:18px}
/* Central overlay scale — only reinforces known roots, no arbitrary 9999 values. */
#modal-backdrop{z-index:var(--tiam-z-modal-overlay)}#modal{z-index:var(--tiam-z-modal)}.so-drawer-overlay{z-index:var(--tiam-z-drawer-overlay)}.so-drawer{z-index:var(--tiam-z-drawer)}.dropdown-menu,.sales-report-actions-menu,.page-actions-menu{z-index:var(--tiam-z-dropdown)}.toast-container,.toast-stack{z-index:var(--tiam-z-toast)}
@media(max-width:1200px){.v286-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v286-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v286-settlement-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.sm148-role-nav{overflow-x:auto;justify-content:flex-start}.sm148-role-nav button{flex:0 0 auto}}
@media(max-width:900px){.v286-module-head{align-items:flex-start}.v286-module-actions{max-width:48%}.v286-module-tabs{overflow-x:auto;justify-content:flex-start}.v286-module-tabs button{flex:0 0 auto}.v286-kpi-grid,.v286-kpi-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.v286-settlement-columns{grid-template-columns:1fr}.v286-choice{grid-template-columns:22px 1fr}.v286-choice>em,.v286-percent-wrap{grid-column:2}.v286-table-search{width:280px}}

/* v286 additions — self service, preview import, products and approval queue */
.profile#profile-menu-btn{appearance:none;border:0;font-family:inherit;cursor:pointer;text-align:right;transition:transform .15s,filter .15s;min-width:0}
.profile#profile-menu-btn:hover{transform:none;filter:saturate(1.08)}
.profile#profile-menu-btn:focus-visible{outline:3px solid rgba(37,130,189,.26);outline-offset:3px}
.v286-profile-modal-shell{z-index:var(--tiam-z-modal);width:min(560px,94vw)!important}
.v286-profile-modal-shell #modal-actions{display:none!important}
.v286-profile-modal-shell #modal-body{padding:14px 16px 18px!important;background:#f6f9fb!important}
.v286-profile-modal{display:grid;gap:12px}
.v286-profile-identity{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 18px 17px;border:1px solid #d9e5ed;border-radius:17px;background:#fff;overflow:hidden}
.v286-profile-identity::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:#174f76}
.v286-profile-name{min-width:0;display:grid;gap:3px}.v286-profile-name h2{margin:0;font-size:20px;line-height:1.45;color:#123e61}.v286-profile-name p{margin:0;display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11.5px;font-weight:650;color:#60798c}.v286-profile-name p span{opacity:.5}.v286-profile-name small{margin-top:2px;font-size:10.5px;color:#8a9aa6;direction:ltr;text-align:right}
.v286-profile-quick{flex:0 0 auto;display:flex;align-items:stretch;border:1px solid #e0e9ef;border-radius:13px;background:#f7fafc;overflow:hidden}.v286-profile-quick>span{min-width:88px;padding:8px 10px;display:grid;gap:2px;text-align:center}.v286-profile-quick>span+span{border-inline-start:1px solid #e0e9ef}.v286-profile-quick small{font-size:10px;color:#718797}.v286-profile-quick b{font-size:12px;color:#173f61;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v286-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v286-profile-actions button{min-height:52px;padding:0 15px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #cbdde8;border-radius:14px;background:#fff;color:#174f76;font-family:inherit;cursor:pointer;box-shadow:0 4px 12px rgba(18,62,97,.05);transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease}.v286-profile-actions button:hover{border-color:#86abc2;transform:translateY(-1px);box-shadow:0 7px 16px rgba(18,62,97,.09)}.v286-profile-actions button.is-primary{background:#153f60;border-color:#153f60;color:#fff}.v286-profile-actions svg{width:19px;height:19px;flex:0 0 auto}.v286-profile-actions b{font-size:12.5px;font-weight:800}
.v286-profile-recent{border:1px solid #d9e5ed;border-radius:17px;background:#fff;overflow:hidden}.v286-profile-recent header{min-height:46px;padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e4ebf0}.v286-profile-recent h3{margin:0;font-size:13.5px;color:#173f61}.v286-profile-recent header>span{font-size:10.5px;color:#7b8f9d}.v286-profile-request{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:52px;padding:7px 11px;border-bottom:1px solid rgba(76,118,150,.11)}.v286-profile-request:last-child{border-bottom:0}.v286-profile-request>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf5f9;color:#23658e}.v286-profile-request>span svg{width:17px;height:17px}.v286-profile-request b{display:block;font-size:11.8px;color:#173f61}.v286-profile-request small{font-size:10.5px;color:#6c8190}.v286-profile-request em{font-style:normal;font-size:10px;font-weight:750;color:#805813;background:#fff4dd;padding:4px 7px;border-radius:999px;white-space:nowrap}.v286-profile-empty{min-height:82px;display:grid;place-items:center;padding:18px;color:#8496a2;font-size:11.5px}
@media(max-width:1050px){.v286-modal-summary{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.v286-profile-identity{align-items:flex-start;flex-direction:column;padding:16px}.v286-profile-quick{width:100%}.v286-profile-quick>span{flex:1;min-width:0}.v286-profile-actions{grid-template-columns:1fr}.v286-profile-modal-shell{width:min(94vw,520px)!important}}
.v286-sales-report-tabs{display:flex;align-items:center;gap:7px;margin-bottom:10px;padding:6px;border:1px solid var(--v286-line);border-radius:17px;background:rgba(248,252,255,.96);box-shadow:0 6px 16px rgba(27,71,104,.08)}
.v286-sales-report-tabs button{min-height:38px;padding:0 14px;border:0;border-radius:12px;background:transparent;color:#46667f;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}.v286-sales-report-tabs button.is-active{color:#0d527e;background:#fff;box-shadow:inset 0 0 0 1px rgba(44,126,179,.25)}
.sales-report-operations-menu .v286-menu-section{display:block;padding:7px 10px 3px;color:#688197;font-size:11px;font-weight:800;border-top:1px solid rgba(75,116,147,.13)}.sales-report-operations-menu .v286-menu-section:first-child{border-top:0}


/* v305 — پرونده کارکنان به‌صورت Modal مینیمال و فشرده */
#modal.employee-minimal-modal{max-height:calc(100vh - 56px);border-radius:22px;overflow:hidden;}
#modal.employee-minimal-modal #modal-header{min-height:58px;padding:12px 18px;border-bottom:1px solid rgba(15,35,64,.10)}
#modal.employee-minimal-modal #modal-title{font-size:16px;font-weight:800}
#modal.employee-minimal-modal #modal-body{max-height:calc(100vh - 150px);}
#modal.employee-minimal-modal #modal-actions{display:none}
.employee-modal-intro{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:9px 12px;border:1px solid rgba(15,35,64,.08);border-radius:14px;background:rgba(255,255,255,.55)}
.employee-modal-intro span{font-size:11px;font-weight:800;color:#17345c;white-space:nowrap}
.employee-modal-intro p{margin:0;font-size:11px;color:#617086}
#modal.employee-minimal-modal .employee-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 12px}
#modal.employee-minimal-modal .field{gap:4px}
#modal.employee-minimal-modal .field label{font-size:11px;font-weight:700;color:#35465e}
#modal.employee-minimal-modal input,#modal.employee-minimal-modal select,#modal.employee-minimal-modal textarea{min-height:36px;height:36px;padding:6px 10px;border-radius:10px;font-size:12px}
#modal.employee-minimal-modal textarea{height:auto;min-height:58px;resize:vertical}
#modal.employee-minimal-modal .field small{font-size:10.5px}
#modal.employee-minimal-modal .employee-account-section{padding:12px;border-radius:15px;}
#modal.employee-minimal-modal .employee-account-section header h4{font-size:13px}
#modal.employee-minimal-modal .employee-account-section header p{font-size:10.5px}
#modal.employee-minimal-modal .employee-account-grid{gap:9px 12px}
#modal.employee-minimal-modal .form-footer{position:sticky;background:rgba(249,251,254,.94);backdrop-filter:blur(14px);border-top:1px solid rgba(15,35,64,.09);}
#modal.employee-minimal-modal .form-footer .btn{min-height:36px;padding:7px 16px;font-size:12px}
@media(max-width:900px){#modal.employee-minimal-modal .employee-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.v286-inline-error{margin:16px;padding:16px;border:1px solid rgba(185,28,28,.22);border-radius:16px;background:rgba(254,242,242,.72)}.v286-inline-error b{display:block;color:#991b1b;margin-bottom:6px}.v286-inline-error p{margin:0 0 12px;color:#7f1d1d}.v286-inline-error .v286-row-actions{justify-content:flex-start}

/* v311 — payroll primary action must remain available independently of title layers. */
.v311-payroll-empty{display:grid;place-items:center;gap:10px;min-height:112px;padding:14px;text-align:center}
.v311-payroll-empty>span{font-size:12px;color:#60788d}
.v311-payroll-action-guard{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 10px;padding:10px 12px;border:1px solid rgba(41,112,160,.28);border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(24,66,98,.09)}
.v311-payroll-action-guard>span{display:grid;gap:2px}.v311-payroll-action-guard b{font-size:12.5px;color:#173f61}.v311-payroll-action-guard small{font-size:11px;color:#637d91}
@media(max-width:720px){.v311-payroll-action-guard{align-items:stretch;flex-direction:column}.v311-payroll-action-guard .btn{width:100%}}

/* v312 payroll engine detail */
.v312-payroll-summary{display:grid;gap:10px;margin-bottom:12px;}.v312-payroll-summary article{padding:12px 14px;border:1px solid rgba(18,42,73,.12);border-radius:14px;background:rgba(255,255,255,.68)}.v312-payroll-summary small{display:block;font-size:11px}.v312-payroll-summary b{display:block;margin-top:5px;font-size:16px}.v312-payroll-note{padding:10px 12px;margin-bottom:12px;border-radius:12px;background:rgba(245,158,11,.09);border:1px solid rgba(245,158,11,.2);font-size:12px}.v312-payroll-warning{display:block;max-width:280px;white-space:normal;line-height:1.65;margin:2px 0}.v312-payroll-detail-modal tr.is-error{background:rgba(220,38,38,.06)}.v312-payroll-detail-modal tr.is-warning{background:rgba(245,158,11,.05)}@media(max-width:900px){.v312-payroll-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
.v312-payroll-blocker{display:grid;gap:4px;margin:0 0 10px;padding:11px 13px;border:1px solid rgba(185,28,28,.24);border-radius:13px;background:rgba(254,242,242,.86)}
.v312-payroll-blocker b{font-size:12.5px;color:#991b1b}.v312-payroll-blocker span{font-size:11.5px;line-height:1.7;color:#7f1d1d}


/* v313 — product editor actions must survive modal theme changes. */
#modal.product-editor-modal{width:min(720px,calc(100vw - 48px));max-height:calc(100vh - 48px)}
#modal.product-editor-modal #modal-body{min-height:0;overflow:auto}
#modal.product-editor-modal #modal-actions{display:flex!important;visibility:visible!important;opacity:1!important;min-height:62px!important;flex:0 0 auto;position:relative;z-index:8;background:#fff}
#modal.product-editor-modal #modal-actions .btn{min-width:132px}
/* v314 — employee file tabs, reliable modal dates and payroll policy display. */

#modal.employee-minimal-modal #modal-body{padding:0;overflow:auto;}
#modal.employee-minimal-modal .employee-form-shell{min-height:540px;display:flex;flex-direction:column;}
#modal.employee-minimal-modal .employee-profile-tabs{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:12px 18px;background:rgba(248,251,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(15,35,64,.09)}
#modal.employee-minimal-modal .employee-profile-tabs button{min-height:38px;border:1px solid rgba(15,35,64,.10);border-radius:12px;background:rgba(255,255,255,.72);color:#344760;font:inherit;font-size:11.5px;font-weight:800;cursor:pointer}
#modal.employee-minimal-modal .employee-profile-tabs button.is-active{background:#fff;color:#123f68;border-color:rgba(18,78,125,.28);box-shadow:0 6px 18px rgba(25,63,105,.10),inset 0 1px 0 rgba(255,255,255,.95)}
#modal.employee-minimal-modal .employee-profile-panels{flex:1;padding:14px 18px 4px}
#modal.employee-minimal-modal .employee-profile-panel[hidden]{display:none!important}
#modal.employee-minimal-modal .employee-profile-panel.is-active{display:block;animation:employeePanelIn .16s ease-out}
#modal.employee-minimal-modal .employee-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:10px 12px;border:1px solid rgba(15,35,64,.08);border-radius:13px;background:rgba(247,250,254,.8)}
#modal.employee-minimal-modal .employee-panel-head b,#modal.employee-minimal-modal .employee-panel-head small{display:block}
#modal.employee-minimal-modal .employee-panel-head b{font-size:13px;color:#173c61}
#modal.employee-minimal-modal .employee-panel-head small{font-size:10.5px;margin-top:3px;color:#718096}
#modal.employee-minimal-modal .employee-account-section{margin-top:0}
#modal.employee-minimal-modal .form-footer{bottom:0;margin:14px 0 0;padding:11px 18px;z-index:7}
@keyframes employeePanelIn{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}
.v312-payroll-policy{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:10px 13px;border-radius:12px;border:1px solid}
.v312-payroll-policy b,.v312-payroll-policy span{display:block}.v312-payroll-policy span{font-size:11px;line-height:1.75}
.v312-payroll-policy.transitional{background:#fffbeb;border-color:#fcd34d;color:#78350f}.v312-payroll-policy.strict{background:#ecfeff;border-color:#67e8f9;color:#155e75}
.v312-payroll-detail-modal .data-table th:last-child,.v312-payroll-detail-modal .data-table td:last-child{width:92px;min-width:92px}
@media(max-width:900px){#modal.employee-minimal-modal .employee-profile-tabs{grid-template-columns:repeat(2,1fr)}}


/* ========================================================================== */
/* TIAM v328 — Root UI stabilization (canonical HR / payroll rules)           */
/* ========================================================================== */
body[data-page="experts"] .page-content,
body[data-page="attendance"] .page-content,
body[data-page="adjustments"] .page-content,
body[data-page="payslip"] .page-content,
body[data-page="organization-settings"] .page-content,
body[data-page="employee-analysis"] .page-content{min-width:0;overflow-x:hidden}
.v286-module-head{min-width:0}.v286-module-title{min-width:0}.v286-module-title>div{min-width:0}.v286-module-title h1,.v286-module-title p{overflow-wrap:anywhere}
.v286-panel{min-width:0;overflow:visible}.v286-panel>.table-wrap{max-width:100%;overflow-x:auto;overflow-y:visible;scrollbar-width:thin}
.v328-table-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.v328-table-search{position:relative;display:flex;align-items:center;width:min(360px,38vw);min-width:200px}.v328-table-search>span{position:absolute;right:11px;display:grid;place-items:center;color:#58758d;pointer-events:none}.v328-table-search svg{width:17px;height:17px}.v328-table-search input{width:100%;height:36px;padding:0 38px 0 11px;border:1px solid rgba(73,112,143,.28);border-radius:11px;background:#fff;font:inherit;font-size:11.5px}.v328-table-tools select{height:36px;min-width:138px;padding:0 10px;border:1px solid rgba(73,112,143,.28);border-radius:11px;background:#fff;font:inherit;font-size:11.5px}
body[data-page="experts"] #v286-employee-table{width:100%;min-width:0!important;table-layout:fixed}body[data-page="experts"] #v286-employee-table :is(th,td){white-space:normal;overflow-wrap:anywhere}body[data-page="experts"] #v286-employee-table :is(.employee-person-column,.employee-person-cell){width:30%}body[data-page="experts"] #v286-employee-table :is(.employee-role-column,.employee-role-cell){width:25%}body[data-page="experts"] #v286-employee-table :is(.employee-supervisor-column,.employee-supervisor-cell){width:18%}body[data-page="experts"] #v286-employee-table :is(.employee-quality-column,.employee-quality-cell){width:17%}body[data-page="experts"] #v286-employee-table :is(.employee-actions-column,.employee-actions-cell){width:96px;min-width:96px;max-width:96px}.v328-role-stack{display:grid;gap:3px;text-align:right}.v328-role-stack b{font-size:12px;color:#173f61}.v328-role-stack small{font-size:10.5px;color:#6a7f91}.v286-quality{max-width:100%;white-space:normal;text-align:center;line-height:1.45}
.v328-row-menu-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:5px}.v328-icon-action{width:34px;height:34px;min-width:34px;padding:0;border:1px solid #c9d7e4;border-radius:10px;background:#fff;color:#355b77;font:inherit;font-weight:900;display:inline-grid;place-items:center;cursor:pointer;box-shadow:none}.v328-icon-action svg{width:16px;height:16px}.v328-icon-action.is-primary{background:#eef7fc;color:#155d87;border-color:#abd0e5}.v328-icon-action:hover{background:#f2f7fb;border-color:#6f94b0}.v328-icon-action:focus-visible{outline:2px solid #3b82b6;outline-offset:2px}.v328-row-menu{position:absolute;z-index:560;top:calc(100% + 6px);left:0;display:none;width:220px;padding:6px;border:1px solid rgba(57,94,124,.24);border-radius:12px;background:#fff;box-shadow:0 16px 38px rgba(19,48,75,.2);direction:rtl}.v328-row-menu.is-open{display:grid}.v328-row-menu button{width:100%;min-height:36px;padding:7px 9px;border:0;border-radius:9px;background:transparent;color:#274861;font:inherit;font-size:11.5px;font-weight:750;display:flex;align-items:center;gap:8px;text-align:right;cursor:pointer}.v328-row-menu button svg{width:16px;height:16px}.v328-row-menu button:hover{background:#eef6fb}.v328-row-menu button.is-danger{color:#9d3833}.v328-row-menu button.is-danger:hover{background:#fff0ef}
.payroll-runs-wrap{overflow-x:visible!important}.payroll-runs-table{width:100%;min-width:0!important;table-layout:fixed}.payroll-runs-table :is(th,td){white-space:normal!important}.payroll-runs-table :is(.payroll-period-column,.payroll-period-cell){width:21%}.payroll-runs-table :is(.payroll-status-column,.payroll-status-cell){width:16%}.payroll-runs-table :is(.payroll-employees-column,.payroll-employees-cell){width:8%;text-align:center}.payroll-runs-table :is(.payroll-finance-column,.payroll-finance-cell){width:30%}.payroll-runs-table :is(.payroll-issues-column,.payroll-issues-cell){width:12%}.payroll-runs-table :is(.payroll-action-column,.payroll-actions-cell){width:13%;min-width:120px}.payroll-period-cell b{display:block;font-size:12.5px}.payroll-period-cell small{display:block;font-size:10.5px;margin-top:2px;color:#71869a}.payroll-finance-cell{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;text-align:right}.payroll-finance-cell>span{display:grid;gap:2px;min-width:0;padding:6px;border-radius:9px;background:#f6f9fc}.payroll-finance-cell small{font-size:10.5px;color:#71869a}.payroll-finance-cell b{font-size:10.5px;line-height:1.45;overflow-wrap:anywhere}.payroll-finance-cell .is-net{background:#eef9f3}.payroll-finance-cell .is-net b{color:#17623e}.payroll-issues-cell{display:grid;justify-items:center;gap:4px}.v328-issue{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 7px;border-radius:999px;font-size:10.5px;font-weight:850;white-space:nowrap}.v328-issue.is-error{background:#fff0ef;color:#9d3833}.v328-issue.is-warning{background:#fff6df;color:#7d5800}.v328-issue.is-ok{background:#eaf8f0;color:#17623e}.payroll-run-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;width:auto!important;flex-wrap:nowrap!important}.payroll-row-action{height:34px!important;min-height:34px!important;min-width:0!important;max-width:150px;padding:0 9px!important;border-radius:9px!important;border:1px solid #c9d7e4!important;background:#fff!important;color:#244765!important;font:inherit!important;font-size:10.5px!important;font-weight:850!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;white-space:nowrap!important;cursor:pointer}.payroll-row-action.primary{background:#173f61!important;border-color:#173f61!important;color:#fff!important}.payroll-row-action.danger{background:#fff0ef!important;border-color:#e8b7b2!important;color:#9d3833!important}.payroll-row-action>span:first-child{font-size:13px}.payroll-run-actions .v328-row-menu{left:0}
.v328-payroll-detail-list{display:grid;gap:10px}.v328-payroll-detail-card{border:1px solid rgba(55,94,124,.2);border-radius:15px;background:#fff;overflow:hidden}.v328-payroll-detail-card.is-error{border-color:rgba(185,28,28,.32);background:#fffafa}.v328-payroll-detail-card.is-warning{border-color:rgba(180,120,0,.28);background:#fffdf7}.v328-payroll-detail-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid rgba(55,94,124,.13)}.v328-payroll-detail-card>header>div:first-child{display:grid;gap:2px}.v328-payroll-detail-card>header b{font-size:12.5px;color:#173f61}.v328-payroll-detail-card>header small{font-size:10.5px;color:#687f92}.v328-payroll-card-net{text-align:left}.v328-payroll-card-net b{display:block;font-size:13px;color:#17623e}.v328-payroll-card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:10px 13px}.v328-payroll-card-grid>span{display:grid;gap:2px;padding:7px 8px;border-radius:10px;background:#f5f8fb}.v328-payroll-card-grid small{font-size:10.5px;color:#71869a}.v328-payroll-card-grid b{font-size:10.5px;overflow-wrap:anywhere}.v328-payroll-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;background:#f9fbfd;border-top:1px solid rgba(55,94,124,.1)}.v328-payroll-control{min-width:0;display:grid;gap:3px;font-size:10.5px}.v328-control-ok{color:#17623e}.payroll-slip-action{height:34px;min-width:90px;padding:0 10px;border:1px solid #c9d7e4;border-radius:9px;background:#fff;color:#244765;font:inherit;font-size:10.5px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;cursor:pointer}
.modal.v312-payroll-detail-modal{width:min(92vw,1120px)!important;max-width:1120px!important;max-height:92vh!important}.v312-payroll-detail-modal .modal-body{max-height:76vh!important;overflow:auto!important;padding:16px!important}.v312-payroll-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-page="adjustments"] :is(.adjustments-table,.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table){width:100%!important;min-width:0!important;table-layout:auto!important}body[data-page="adjustments"] :is(.manual-adjustments-wrap,.daily-history-table-wrap){max-height:none!important;overflow-x:auto!important;overflow-y:visible!important}.manual-adjustment-actions,.daily-rule-actions,.daily-history-actions{min-width:0!important;display:flex!important;gap:5px!important;flex-wrap:wrap!important}.adj-action,.daily-action,.history-action{min-width:34px!important;height:34px!important;padding:0 8px!important;font-size:10.5px!important}
body[data-page="attendance"] :is(.attendance-table,.attendance-weekly-table,.attendance-day-detail-table){width:100%;min-width:0!important;table-layout:auto}.attendance-weekly-table th,.attendance-weekly-table td,.attendance-day-detail-table th,.attendance-day-detail-table td{white-space:normal!important}.attendance-v111-employee-row{min-width:0}.attendance-v111-person,.attendance-v111-person>div{min-width:0}
#modal.employee-minimal-modal{width:min(92vw,980px)!important;max-width:980px!important}.employee-profile-tabs{max-width:100%;overflow-x:auto}.employee-profile-tabs button{white-space:nowrap}.employee-form-grid,.employee-account-grid{min-width:0}.employee-form-grid>*{min-width:0}
@media (max-width:1280px){.v286-module-head{align-items:flex-start}.v286-module-actions{max-width:44%;}.v328-table-tools{width:100%;justify-content:stretch}.v328-table-search{width:100%;flex:1}.v328-payroll-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.payroll-runs-table :is(.payroll-employees-column,.payroll-employees-cell){display:none}.payroll-runs-table :is(.payroll-period-column,.payroll-period-cell){width:23%}.payroll-runs-table :is(.payroll-status-column,.payroll-status-cell){width:17%}.payroll-runs-table :is(.payroll-finance-column,.payroll-finance-cell){width:34%}.payroll-runs-table :is(.payroll-issues-column,.payroll-issues-cell){width:12%}.payroll-runs-table :is(.payroll-action-column,.payroll-actions-cell){width:14%}}
@media (max-width:1120px){body[data-page="experts"] #v286-employee-table :is(.employee-supervisor-column,.employee-supervisor-cell){display:none}body[data-page="experts"] #v286-employee-table :is(.employee-person-column,.employee-person-cell){width:34%}body[data-page="experts"] #v286-employee-table :is(.employee-role-column,.employee-role-cell){width:30%}body[data-page="experts"] #v286-employee-table :is(.employee-quality-column,.employee-quality-cell){width:22%}.v286-module-title p{display:none}.v286-module-tabs button{padding-inline:10px}.payroll-finance-cell{grid-template-columns:1fr}.payroll-finance-cell>span:not(.is-net){display:none}.payroll-runs-table :is(.payroll-period-column,.payroll-period-cell){width:28%}.payroll-runs-table :is(.payroll-status-column,.payroll-status-cell){width:20%}.payroll-runs-table :is(.payroll-finance-column,.payroll-finance-cell){width:24%}.payroll-runs-table :is(.payroll-issues-column,.payroll-issues-cell){width:13%}.payroll-runs-table :is(.payroll-action-column,.payroll-actions-cell){width:15%}.payroll-row-action>span:last-child{display:none}.payroll-row-action{width:34px!important;min-width:34px!important;padding:0!important}.v328-payroll-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* TIAM v328 — responsive high-density views without horizontal page scrolling */
body:is([data-page="experts"],[data-page="attendance"],[data-page="payslip"],[data-page="adjustments"],[data-page="organization-settings"],[data-page="employee-analysis"]) #page-content{min-width:0;overflow-x:hidden}
body:is([data-page="experts"],[data-page="attendance"],[data-page="payslip"],[data-page="adjustments"]) :where(.v286-panel,.card,.table-wrap){max-width:100%;min-width:0}
.v328-employee-panel,.v328-employee-panel>.table-wrap,.payroll-runs-wrap{overflow:visible!important}
.sales-report-table{width:100%;min-width:0!important;table-layout:fixed}.sales-report-table th:nth-child(1){width:50px}.sales-report-table th:nth-child(2){width:105px}.sales-report-table th:nth-child(3){width:25%}.sales-report-table th:nth-child(4){width:22%}.sales-report-table th:nth-child(5){width:15%}.sales-report-table th:nth-child(6){width:16%}.sales-report-table th:nth-child(7){width:132px}.sales-report-table td{white-space:normal!important;vertical-align:middle}.sales-report-table .actions-cell{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.sales-report-table .sale-buyer-cell{min-width:0}.sales-report-table .sale-buyer-cell :is(b,small){overflow-wrap:anywhere}
.attendance-weekly-table,.attendance-day-detail-table,.attendance-v111-daily-table,.attendance-v110-compact-table{width:100%;min-width:0!important;table-layout:auto}.attendance-weekly-table :is(th,td),.attendance-day-detail-table :is(th,td),.attendance-v111-daily-table :is(th,td){padding-inline:6px!important;font-size:10.5px!important}.attendance-weekly-table .btn-week-detail{min-width:34px!important;padding-inline:7px!important}.attendance-weekly-table .week-detail-text{display:none}
.daily-rule-manager-table,.daily-history-table,.payroll-invoice-preview table{width:100%;min-width:0!important;table-layout:auto}.daily-rule-manager-table :is(th,td),.daily-history-table :is(th,td){white-space:normal!important}.daily-rule-actions,.daily-history-actions{justify-content:flex-start!important}.daily-rule-manager-table .daily-rule-actions .daily-action span+span,.daily-history-table .history-action{font-size:10.5px}
@media(max-width:1180px){
  body[data-page="sales-report"] .sales-report-table thead{display:none}body[data-page="sales-report"] .sales-report-table tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body[data-page="sales-report"] .sales-report-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;border:1px solid #dbe5ed;border-radius:14px;background:#fff;overflow:hidden}body[data-page="sales-report"] .sales-report-table td{display:grid;align-content:center;min-width:0;min-height:54px;padding:8px 10px!important;border-bottom:1px solid #edf1f4!important;text-align:right!important}body[data-page="sales-report"] .sales-report-table td::before{content:attr(data-label);display:block;margin-bottom:3px;color:#738799;font-size:10.5px;font-weight:800}body[data-page="sales-report"] .sales-report-table td:nth-child(3),body[data-page="sales-report"] .sales-report-table td:nth-child(4),body[data-page="sales-report"] .sales-report-table td:nth-child(6),body[data-page="sales-report"] .sales-report-table td:nth-child(7){grid-column:1/-1}body[data-page="sales-report"] .sales-report-table td:nth-child(1){display:none}body[data-page="sales-report"] .sales-report-table .actions-cell{justify-content:flex-start}
  .sm148-team-table th:nth-child(7),.sm148-team-table td:nth-child(7),.sm148-team-table th:nth-child(9),.sm148-team-table td:nth-child(9){display:none}.sm148-supervisor-contact-table th:nth-child(4),.sm148-supervisor-contact-table td:nth-child(4){display:none}
}
@media(max-width:1050px){body[data-page="sales-report"] .sales-report-table tbody{grid-template-columns:1fr}.attendance-weekly-table th:nth-child(3),.attendance-weekly-table td:nth-child(3),.attendance-weekly-table th:nth-child(4),.attendance-weekly-table td:nth-child(4),.attendance-weekly-table th:nth-child(7),.attendance-weekly-table td:nth-child(7){display:none}.attendance-weekly-table th,.attendance-weekly-table td{white-space:normal!important}.attendance-day-detail-table th:nth-child(2),.attendance-day-detail-table td:nth-child(2),.attendance-day-detail-table th:nth-child(3),.attendance-day-detail-table td:nth-child(3),.attendance-day-detail-table th:nth-child(10),.attendance-day-detail-table td:nth-child(10){display:none}.daily-rule-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* TIAM v328 — attendance weekly cards */
.v328-attendance-weekly{overflow:hidden}.v328-attendance-week-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 15px 15px}.v328-attendance-week-card{min-width:0;border:1px solid #dce6ed;border-radius:15px;background:#fff;overflow:hidden}.v328-attendance-week-card.has-issue{border-color:#ead3a8;background:#fffdf8}.v328-attendance-week-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 13px;background:#f7fafc;border-bottom:1px solid #e6edf2}.v328-attendance-week-card>header div{display:grid;gap:3px;min-width:0}.v328-attendance-week-card>header small{font-size:10.5px;color:#708497}.v328-attendance-week-card>header b{font-size:11.5px;color:#173f61;white-space:normal}.v328-attendance-week-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:11px 13px}.v328-attendance-week-metrics>span{display:grid;gap:3px;min-width:0;padding:7px 8px;border-radius:10px;background:#f5f8fb}.v328-attendance-week-metrics small{font-size:10.5px;color:#71869a}.v328-attendance-week-metrics b{font-size:10.5px;color:#29475e;overflow-wrap:anywhere}.v328-attendance-week-metrics .is-danger{background:#fff0ef}.v328-attendance-week-metrics .is-danger b{color:#a23a35}.v328-attendance-week-card>footer{display:flex;justify-content:flex-end;padding:9px 13px;background:#fbfcfd;border-top:1px solid #e6edf2}.v328-attendance-week-card .btn-week-detail{height:34px;min-height:34px;padding:0 10px;font-size:10.5px}.v328-attendance-day-details{display:block;padding:0 13px 13px}.v328-attendance-day-details.is-hidden{display:none}.v328-attendance-day-grid{display:grid;gap:8px;padding-top:10px;border-top:1px dashed #d9e4eb}.v328-attendance-day-card{border:1px solid #dfe8ee;border-radius:12px;background:#fff;overflow:hidden}.v328-attendance-day-card.has-issue{border-color:#ecd0cc}.v328-attendance-day-card>header{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px 9px;background:#f8fafc}.v328-attendance-day-card>header>div{display:grid;gap:2px}.v328-attendance-day-card>header b{font-size:10.5px}.v328-attendance-day-card>header small{font-size:10.5px;color:#71869a}.v328-attendance-day-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px 9px}.v328-attendance-day-metrics>span{display:grid;gap:2px;min-width:0}.v328-attendance-day-metrics small{font-size:10.5px;color:#75899a}.v328-attendance-day-metrics b{font-size:10.5px;color:#2b475c;overflow-wrap:anywhere}.v328-attendance-day-card>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;background:#fbfcfd;border-top:1px solid #edf1f4}.v328-attendance-day-card>footer small{font-size:10.5px;color:#71869a}.v328-attendance-day-card>footer b{font-size:10.5px}
@media(max-width:1180px){.v328-attendance-week-grid{grid-template-columns:1fr}.v328-attendance-week-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.v328-attendance-week-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.v328-attendance-day-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* TIAM v328 — adjustments restore-down cards and stable HR navigation */
.v286-module-tabs{display:flex;align-items:center;gap:5px;max-width:100%;overflow-x:auto;scrollbar-width:thin}.v286-module-tabs button{flex:0 0 auto;min-height:36px;white-space:nowrap}.v286-module-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:0}.v286-module-actions .btn{min-height:36px;height:36px;max-width:100%}
@media(max-width:1180px){
 body[data-page="adjustments"] :is(.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table) thead{display:none}
 body[data-page="adjustments"] :is(.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table) tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}
 body[data-page="adjustments"] :is(.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table) tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto!important;min-width:0;border:1px solid #dce6ed;border-radius:14px;background:#fff!important;overflow:visible}
 body[data-page="adjustments"] :is(.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table) tbody tr>td{display:grid;align-content:center;min-width:0;min-height:52px;padding:8px 10px!important;border-bottom:1px solid #edf1f4!important;text-align:right!important;white-space:normal!important;background:#fff!important}
 body[data-page="adjustments"] :is(.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table) tbody tr>td::before{display:block;margin-bottom:3px;color:#718698;font-size:10.5px;font-weight:850}
 body[data-page="adjustments"] .manual-adjustments-table td:nth-child(1)::before{content:"ردیف"}body[data-page="adjustments"] .manual-adjustments-table td:nth-child(2)::before{content:"تاریخ"}body[data-page="adjustments"] .manual-adjustments-table td:nth-child(3)::before{content:"کارمند"}body[data-page="adjustments"] .manual-adjustments-table td:nth-child(4)::before{content:"نوع"}body[data-page="adjustments"] .manual-adjustments-table td:nth-child(5)::before{content:"مبلغ"}body[data-page="adjustments"] .manual-adjustments-table td:nth-child(6)::before{content:"وضعیت"}body[data-page="adjustments"] .manual-adjustments-table td:nth-child(7)::before{content:"توضیحات و مدرک"}body[data-page="adjustments"] .manual-adjustments-table td:nth-child(8)::before{content:"عملیات"}
 body[data-page="adjustments"] .daily-rule-manager-table td:nth-child(1)::before{content:"تاریخ"}body[data-page="adjustments"] .daily-rule-manager-table td:nth-child(2)::before{content:"کارمند"}body[data-page="adjustments"] .daily-rule-manager-table td:nth-child(3)::before{content:"سمت و قانون"}body[data-page="adjustments"] .daily-rule-manager-table td:nth-child(4)::before{content:"تعداد فاکتور"}body[data-page="adjustments"] .daily-rule-manager-table td:nth-child(5)::before{content:"نتیجه"}body[data-page="adjustments"] .daily-rule-manager-table td:nth-child(6)::before{content:"مبلغ"}body[data-page="adjustments"] .daily-rule-manager-table td:nth-child(7)::before{content:"اقدام"}
 body[data-page="adjustments"] .daily-history-table td:nth-child(1)::before{content:"تاریخ"}body[data-page="adjustments"] .daily-history-table td:nth-child(2)::before{content:"کارمند"}body[data-page="adjustments"] .daily-history-table td:nth-child(3)::before{content:"نوع"}body[data-page="adjustments"] .daily-history-table td:nth-child(4)::before{content:"فاکتور"}body[data-page="adjustments"] .daily-history-table td:nth-child(5)::before{content:"مبلغ"}body[data-page="adjustments"] .daily-history-table td:nth-child(6)::before{content:"تصمیم"}body[data-page="adjustments"] .daily-history-table td:nth-child(7)::before{content:"پرداخت"}body[data-page="adjustments"] .daily-history-table td:nth-child(8)::before{content:"عملیات"}
 body[data-page="adjustments"] :is(.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table) tbody tr>.empty{grid-column:1/-1;min-height:100px;place-items:center;text-align:center!important}
 body[data-page="adjustments"] :is(.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table) tbody tr>td:nth-last-child(1){grid-column:1/-1}
 body[data-page="adjustments"] :is(.daily-rule-actions,.daily-history-actions,.adjustment-actions){justify-content:flex-start!important;flex-wrap:wrap!important}
}
@media(max-width:940px){body[data-page="adjustments"] :is(.manual-adjustments-table,.daily-rule-manager-table,.daily-history-table) tbody{grid-template-columns:1fr}.v286-module-head{display:grid;grid-template-columns:1fr}.v286-module-actions{justify-content:flex-start;max-width:none!important}}

/* TIAM v336 — Professional attendance and leave workspace
   Canonical, page-scoped attendance presentation. */
body[data-page="attendance"] .topbar{
  position:relative!important;
  inset:auto!important;
  min-height:var(--topbar-height,var(--ui-topbar-height,52px))!important;
  height:var(--topbar-height,var(--ui-topbar-height,52px))!important;
  padding-inline:12px!important;
}
body[data-page="attendance"] .page-content{
  max-width:none!important;
  margin:0!important;
  padding:14px 16px 32px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
body[data-page="attendance"] .attendance-top-tools{display:none!important}
.v336-attendance-workspace{display:block;min-width:0}

.attendance-v336-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:104px;
  margin:0 0 12px;
  padding:18px 20px;
  border:1px solid var(--tiam-surface-border,#d9e4ec);
  border-radius:22px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.94),rgba(246,250,253,.9)),
    var(--tiam-surface-surface-strong,#fff);
  box-shadow:0 10px 28px rgba(29,67,99,.08);
  overflow:hidden;
  position:relative;
}
.attendance-v336-head::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  left:-80px;
  top:-110px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(72,130,181,.13),rgba(72,130,181,0) 68%);
  pointer-events:none;
}
.attendance-v336-head-identity{display:flex;align-items:center;gap:14px;min-width:0;position:relative;z-index:1}
.attendance-v336-head-icon{
  width:54px;
  height:54px;
  flex:0 0 54px;
  display:grid;
  place-items:center;
  border:1px solid rgba(37,91,132,.18);
  border-radius:17px;
  color:#214d70;
  background:rgba(238,246,252,.88);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 7px 18px rgba(35,81,116,.08);
}
.attendance-v336-head-icon svg{width:25px;height:25px}
.attendance-v336-head-icon.is-person{border-radius:50%}
.attendance-v336-head-identity>div{min-width:0}
.attendance-v336-head-identity small{display:block;color:#6c8192;font-size:10.5px;font-weight:800;margin-bottom:3px}
.attendance-v336-head-identity h1{margin:0;color:#173b58;font-size:23px;line-height:1.35;font-weight:850}
.attendance-v336-head-identity p{margin:5px 0 0;color:#64798a;font-size:11.5px;line-height:1.8;font-weight:650}
.attendance-v336-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;position:relative;z-index:2}
.attendance-v336-action{
  min-height:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 11px;
  border:1px solid #d7e2ea;
  border-radius:11px;
  color:#2b526f;
  background:rgba(255,255,255,.86);
  font-size:10.5px;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 3px 10px rgba(35,72,101,.05);
}
.attendance-v336-action svg{width:16px;height:16px;flex:0 0 16px}
.attendance-v336-action:hover{border-color:#afc5d5;box-shadow:0 6px 16px rgba(35,72,101,.09);transform:translateY(-1px)}
.attendance-v336-action:active{transform:translateY(0);box-shadow:inset 0 2px 5px rgba(30,67,95,.08)}
.attendance-v336-action.is-primary{color:#fff;border-color:#245b83;background:linear-gradient(180deg,#2e6d99,#245a82)}
.attendance-v336-action.is-icon{width:36px;min-width:36px;padding:0}
.attendance-v336-action.is-back{background:#f5f8fa;color:#556d7f}
.attendance-v336-file-back{
  width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;
  border:1px solid #d7e2ea;border-radius:11px;background:#fff;color:#41627a;cursor:pointer
}
.attendance-v336-file-back svg{width:17px;height:17px}
.attendance-v336-file-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px}
.attendance-v336-file-meta span{padding:4px 8px;border:1px solid #dce6ed;border-radius:999px;background:#f7fafc;color:#577083;font-size:10.5px;font-weight:800}

.attendance-v336-controlbar{
  display:grid;
  grid-template-columns:auto minmax(250px,1fr) auto;
  align-items:center;
  gap:12px;
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid var(--tiam-surface-border,#dce5ec);
  border-radius:16px;
  background:var(--tiam-surface-surface-strong,#fff);
  box-shadow:0 5px 18px rgba(31,68,96,.05);
}
.attendance-v336-period-nav{display:flex;align-items:center;gap:5px;min-width:0}
.attendance-v336-period-nav>button{
  width:34px;height:34px;display:grid;place-items:center;padding:0;
  border:1px solid #dbe5ec;border-radius:10px;background:#f8fafc;color:#345b76;cursor:pointer
}
.attendance-v336-period-nav>button svg{width:16px;height:16px}
.attendance-v336-period-nav .attendance-v336-current{width:auto;padding:0 9px;display:inline-flex;gap:6px;font-size:10.5px;font-weight:800}
.attendance-v111-week-label{min-width:190px!important;padding:0 8px!important;text-align:center}
.attendance-v111-week-label small{display:block;color:#8193a1;font-size:10.5px;font-weight:750}
.attendance-v111-week-label b{display:block;margin-top:2px;color:#244b68;font-size:10.5px;font-weight:850;white-space:nowrap}
.attendance-v336-control-filter{min-width:0}
.attendance-v336-search,
.attendance-v336-employee-select{
  width:100%;height:38px;display:flex;align-items:center;gap:8px;padding:0 11px;
  border:1px solid #d8e3ea;border-radius:11px;background:#f8fafc;color:#557083
}
.attendance-v336-search span,.attendance-v336-employee-select span{display:grid;place-items:center;flex:0 0 18px}
.attendance-v336-search svg,.attendance-v336-employee-select svg{width:17px;height:17px}
.attendance-v336-search input{height:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:11px!important}
.attendance-v336-employee-select select{width:100%!important;height:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0 4px!important;font-size:11px!important}
.attendance-v336-control-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.attendance-v336-export{height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border:1px solid #d8e3ea;border-radius:10px;background:#fff;color:#315b78;font-size:10.5px;font-weight:800;white-space:nowrap}
.attendance-v336-export svg{width:15px;height:15px}
.attendance-v111-last-update{color:#7c8e9b!important;font-size:10.5px!important;white-space:nowrap}

.attendance-v336-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:0 0 12px!important}
.attendance-v336-kpi{
  min-height:82px!important;padding:12px 13px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;
  border:1px solid #dce6ed!important;border-radius:15px!important;background:#fff!important;box-shadow:0 4px 14px rgba(31,68,96,.045)!important
}
.attendance-v336-kpi i{width:38px!important;height:38px!important;flex:0 0 38px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:#eef5fa!important;color:#2e6388!important}
.attendance-v336-kpi i svg{width:19px!important;height:19px!important}
.attendance-v336-kpi>div{min-width:0}
.attendance-v336-kpi small{display:block;color:#758997;font-size:10.5px;font-weight:800}
.attendance-v336-kpi p{display:flex;align-items:baseline;gap:5px;margin:5px 0 0}
.attendance-v336-kpi b{font-size:21px!important;line-height:1!important;color:#21465f}
.attendance-v336-kpi em{font-style:normal;color:#82939f;font-size:10.5px;font-weight:750}
.attendance-v336-kpi.amber i{background:#fff6e6!important;color:#a66d10!important}
.attendance-v336-kpi.violet i{background:#f2effb!important;color:#6650a2!important}
.attendance-v336-kpi.blue i{background:#edf6fc!important;color:#2a6a94!important}
.attendance-v336-kpi.indigo i{background:#eef1fb!important;color:#455f9d!important}

.attendance-v336-employee-panel{
  overflow:hidden;border:1px solid #dbe5ec;border-radius:18px;background:#fff;box-shadow:0 7px 22px rgba(29,66,95,.055)
}
.attendance-v336-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;border-bottom:1px solid #e5ecf1;background:#fbfcfd}
.attendance-v336-section-head small{display:block;color:#718797;font-size:10.5px;font-weight:800}
.attendance-v336-section-head h2{margin:2px 0 0;color:#1e455f;font-size:15px;font-weight:850}
.attendance-v336-section-head p{margin:4px 0 0;color:#7a8d9a;font-size:10.5px;font-weight:650}
.attendance-v111-count{padding:5px 9px!important;border-radius:999px!important;background:#eef4f8!important;color:#315b78!important;font-size:10.5px!important}
.attendance-v336-list-columns,
.attendance-v336-employee-row{
  display:grid;
  grid-template-columns:minmax(205px,1.55fr) minmax(112px,.78fr) minmax(75px,.52fr) minmax(82px,.56fr) minmax(112px,.76fr) minmax(105px,.68fr) 38px;
  align-items:center;
  gap:9px;
}
.attendance-v336-list-columns{padding:8px 12px;border-bottom:1px solid #e7edf2;background:#f5f8fa;color:#7b8d9a;font-size:10.5px;font-weight:800}
.attendance-v336-employee-list{padding:0!important}
.attendance-v336-employee-row{
  min-height:58px!important;margin:0!important;padding:8px 12px!important;border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:0!important;background:#fff!important;box-shadow:none!important
}
.attendance-v336-employee-row:last-child{border-bottom:0!important}
.attendance-v336-employee-row:hover{background:#f9fbfc!important}
.attendance-v336-person{gap:9px!important}
.attendance-v336-person .attendance-v111-person-mark{width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#eef5f9;color:#2d658a;display:grid;place-items:center}
.attendance-v336-person .attendance-v111-person-mark svg{width:17px;height:17px}
.attendance-v336-person b{font-size:11px!important;color:#24485f}
.attendance-v336-person small{font-size:10.5px!important;color:#80919d!important}
.attendance-v336-cell{display:grid;gap:2px;min-width:0}
.attendance-v336-cell small{font-size:10.5px;color:#8898a3;font-weight:750}
.attendance-v336-cell b{font-size:10.5px;color:#405d71;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attendance-v336-coverage b{font-size:14px;color:#245c82}
.attendance-v336-issues{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px;border-radius:10px;background:#f5f8fa}
.attendance-v336-issues span{display:grid;text-align:center;gap:1px}
.attendance-v336-issues small{font-size:10.5px;color:#83939e}
.attendance-v336-issues b{font-size:10.5px;color:#4f6879}
.attendance-v336-issues.has-issue{background:#fff5ee}
.attendance-v336-issues.has-issue b{color:#a34d2d}
.attendance-v336-open-file{width:34px!important;height:34px!important;border-radius:10px!important;border:1px solid #d4e1e9!important;background:#f7fafc!important;color:#315f7e!important}
.attendance-v336-open-file svg{width:17px!important;height:17px!important}
.attendance-v336-row-skeleton{min-height:58px!important;margin:0!important;border-bottom:1px solid #edf1f4;border-radius:0!important}

.attendance-v336-file{display:grid;gap:12px;min-width:0}
.attendance-v336-week{overflow:hidden;border:1px solid #dbe5ec;border-radius:18px;background:#fff;box-shadow:0 7px 22px rgba(29,66,95,.055)}
.attendance-v336-week-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #e4ebf0;background:#fbfcfd}
.attendance-v336-week-head>div{display:flex;align-items:center;gap:9px}
.attendance-v336-week-head i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf5fa;color:#2c648a}
.attendance-v336-week-head i svg{width:17px;height:17px}
.attendance-v336-week-head small{display:block;color:#7b8d99;font-size:10.5px;font-weight:750}
.attendance-v336-week-head h2{margin:2px 0 0;color:#21465f;font-size:14px;font-weight:850}
.attendance-v336-week-head>b{color:#526e81;font-size:10.5px;font-weight:800}
.attendance-v336-week-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:11px 13px;border-bottom:1px solid #e8edf1;background:#fff}
.attendance-v336-week-summary>div{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 9px;border:1px solid #e3eaef;border-radius:11px;background:#f8fafb}
.attendance-v336-week-summary i{width:29px;height:29px;flex:0 0 29px;display:grid;place-items:center;border-radius:9px;background:#edf4f8;color:#466b84}
.attendance-v336-week-summary i svg{width:15px;height:15px}
.attendance-v336-week-summary small{display:block;color:#82929d;font-size:10.5px;font-weight:750}
.attendance-v336-week-summary b{display:block;margin-top:2px;color:#36566b;font-size:10.5px;font-weight:850;white-space:nowrap}
.attendance-v336-week-summary .is-success{background:#f1faf6;border-color:#d9ede2}.attendance-v336-week-summary .is-success i{background:#e1f3e8;color:#317252}
.attendance-v336-week-summary .is-leave{background:#f7f3fb;border-color:#e8def1}.attendance-v336-week-summary .is-leave i{background:#ece4f5;color:#72549a}
.attendance-v336-week-summary .is-warning{background:#fff9ee;border-color:#f0e2c5}.attendance-v336-week-summary .is-warning i{background:#fff0d3;color:#9a6919}
.attendance-v336-week-summary .is-danger{background:#fff3f1;border-color:#efd9d5}.attendance-v336-week-summary .is-danger i{background:#fbe3df;color:#a54b3f}
.attendance-v336-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;padding:12px 13px 14px}
.attendance-v336-day{min-width:0;overflow:hidden;border:1px solid #e0e8ed;border-radius:13px;background:#fff}
.attendance-v336-day.is-today{border-color:#8fb8d3;box-shadow:0 0 0 2px rgba(64,126,169,.09)}
.attendance-v336-day>header{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:8px 8px 6px;background:#f8fafb}
.attendance-v336-day>header>div{display:grid;gap:1px;min-width:0}
.attendance-v336-day>header b{color:#31566e;font-size:10.5px;font-weight:850}
.attendance-v336-day>header time{color:#8797a2;font-size:10.5px;font-weight:700}
.attendance-v336-day>header>span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#edf4f8;color:#416d88}
.attendance-v336-day>header svg{width:13px;height:13px}
.attendance-v336-day-status{min-height:31px;padding:7px 8px;color:#476376;font-size:10.5px;font-weight:800;line-height:1.6}
.attendance-v336-day-times{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:0 8px 7px}
.attendance-v336-day-times span{display:grid;gap:1px;padding:5px;border-radius:8px;background:#f6f8fa;text-align:center}
.attendance-v336-day-times small{color:#8897a1;font-size:10.5px}.attendance-v336-day-times b{color:#344f62;font-size:10.5px}
.attendance-v336-day>footer{min-height:36px;display:grid;gap:2px;padding:6px 8px;border-top:1px solid #edf1f4;background:#fbfcfd}
.attendance-v336-day>footer span{color:#7c8d98;font-size:10.5px;line-height:1.5}.attendance-v336-day>footer b{color:#a05a32;font-size:10.5px}
.attendance-v336-day.success{border-color:#dcebe2}.attendance-v336-day.success>header>span{background:#e9f6ee;color:#397456}
.attendance-v336-day.leave{border-color:#e6ddef}.attendance-v336-day.leave>header>span{background:#f0e8f7;color:#71539a}
.attendance-v336-day.warning{border-color:#eddcbe}.attendance-v336-day.warning>header>span{background:#fff1d8;color:#9c6919}
.attendance-v336-day.danger{border-color:#ebd4d0}.attendance-v336-day.danger>header>span{background:#fbe7e3;color:#a64e42}

.attendance-v336-accordions{display:grid;gap:8px}
.attendance-v336-accordions .attendance-v111-accordion{margin:0!important;border:1px solid #dce5ec!important;border-radius:15px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 4px 15px rgba(29,66,95,.04)!important}
.attendance-v336-accordions .attendance-v111-accordion>summary{min-height:58px;padding:10px 13px!important;grid-template-columns:34px 1fr auto 18px!important;background:#fbfcfd!important}
.attendance-v336-accordions .attendance-v111-accordion[open]>summary{border-bottom:1px solid #e6ecf0;background:#f7fafc!important}
.attendance-v336-accordions .attendance-v111-accordion-icon{width:32px!important;height:32px!important;border-radius:10px!important;background:#edf4f8!important;color:#346581!important}
.attendance-v336-accordions .attendance-v111-accordion-title b{font-size:11px!important;color:#294b61}.attendance-v336-accordions .attendance-v111-accordion-title small{font-size:10.5px!important;color:#80919c}
.attendance-v336-accordions .attendance-v111-badge{min-width:27px;padding:4px 7px!important;border-radius:999px!important;background:#eaf1f5!important;color:#315c77!important;font-size:10.5px!important}
.attendance-v336-accordions .attendance-v111-accordion-body{padding:12px!important}
.attendance-v111-accordion-actions{display:flex;justify-content:flex-end;margin-bottom:9px}
.attendance-v111-small-action{height:34px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:0 10px!important;border:1px solid #d6e2e9!important;border-radius:10px!important;background:#fff!important;color:#315d79!important;font-size:10.5px!important;font-weight:800!important}
.attendance-v111-small-action svg{width:15px;height:15px}

.attendance-v336-history{overflow:hidden;border:1px solid #e1e8ed;border-radius:12px}
.attendance-v336-history-head,
.attendance-v336-history-row{display:grid;grid-template-columns:minmax(150px,1.15fr) minmax(105px,.82fr) minmax(80px,.58fr) minmax(120px,.85fr) minmax(105px,.76fr) minmax(105px,.76fr) minmax(115px,.82fr);align-items:center;gap:7px}
.attendance-v336-history-head{padding:8px 10px;background:#f4f7f9;color:#7b8d99;font-size:10.5px;font-weight:800}
.attendance-v336-history-row{min-height:55px;padding:7px 10px;border-top:1px solid #edf1f4;background:#fff}
.attendance-v336-history-row:hover{background:#fafcfd}
.attendance-v336-history-row.has-issue{border-right:3px solid #dfa67e}
.attendance-v336-history-row>div{display:grid;gap:2px;min-width:0}
.attendance-v336-history-row b{color:#38566a;font-size:10.5px;font-weight:800;overflow-wrap:anywhere}
.attendance-v336-history-row small{color:#8796a0;font-size:10.5px;font-weight:700;line-height:1.5}
.attendance-v336-history-row .attendance-status{justify-self:start;max-width:100%;white-space:normal!important;line-height:1.4}

.attendance-v336-leave-list{overflow:hidden;border:1px solid #e0e8ed;border-radius:12px;background:#fff}
.attendance-v336-leave-head,
.attendance-v336-leave-row{display:grid;grid-template-columns:minmax(170px,1.3fr) minmax(135px,1fr) minmax(95px,.72fr) 72px 34px;align-items:center;gap:8px}
.attendance-v336-leave-head{padding:8px 10px;background:#f4f7f9;color:#7b8d99;font-size:10.5px;font-weight:800}
.attendance-v336-leave-row{min-height:55px;padding:8px 10px;border-top:1px solid #edf1f4}
.attendance-v336-leave-row>div:first-child,.attendance-v336-leave-row>div:nth-child(2){display:grid;gap:2px;min-width:0}
.attendance-v336-leave-row b{color:#37566a;font-size:10.5px;font-weight:800}.attendance-v336-leave-row small{color:#8796a0;font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attendance-v336-pay-effect{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 8px;border-radius:999px;font-size:10.5px;font-weight:850;white-space:nowrap}
.attendance-v336-pay-effect.is-paid{background:#e9f6ee;color:#357354}.attendance-v336-pay-effect.is-deduct{background:#fbe9e6;color:#a24d42}
.attendance-v336-leave-attachments{display:flex;justify-content:center;gap:4px}.attendance-v336-leave-attachments .mini-action{width:28px;height:28px;display:grid;place-items:center;border:1px solid #d8e3e9;border-radius:8px;background:#fff;color:#416981;font-size:14px;font-weight:800}
.attendance-v110-row-danger{width:30px!important;height:30px!important;border-radius:9px!important;border:1px solid #efd8d4!important;background:#fff5f3!important;color:#a34d42!important}
.attendance-v336-leave-empty{border:1px dashed #dbe5eb;border-radius:12px;background:#fafcfd}

.attendance-v110-drawer{width:min(760px,94vw)!important;background:#f5f8fa!important;border-right:1px solid #d8e2e9!important;box-shadow:18px 0 46px rgba(20,55,82,.18)!important}
.attendance-v110-drawer>header{min-height:72px!important;padding:12px 15px!important;background:#fff!important;border-bottom:1px solid #dde6ec!important}
.attendance-v110-drawer>header h2{font-size:15px!important;color:#244b64}.attendance-v110-drawer>header small{font-size:10.5px!important;color:#778b9a}
.attendance-v110-drawer-icon{width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:11px!important;background:#edf5fa!important;color:#326688!important}
.attendance-v110-drawer>header>button{width:34px!important;height:34px!important;border:1px solid #dbe5eb!important;border-radius:10px!important;background:#f8fafb!important;color:#526e80!important}
.attendance-v110-drawer-body{padding:12px!important;overflow-y:auto!important;overflow-x:hidden!important}
.attendance-v336-leave-drawer{display:grid;gap:12px}
.attendance-v336-leave-form-card,.attendance-v336-leave-history{border:1px solid #dce5ec;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 5px 16px rgba(29,66,95,.045)}
.attendance-v336-leave-form-card>header{display:flex;align-items:center;gap:10px;padding:12px 13px;border-bottom:1px solid #e5ecf1;background:#fbfcfd}
.attendance-v336-leave-form-card>header>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f0e8f7;color:#73559a}.attendance-v336-leave-form-card>header svg{width:17px;height:17px}
.attendance-v336-leave-form-card h3,.attendance-v336-leave-history h3{margin:0;color:#294d64;font-size:12px;font-weight:850}.attendance-v336-leave-form-card p{margin:3px 0 0;color:#7a8d99;font-size:10.5px;line-height:1.6}
.attendance-v336-leave-form-card form{padding:12px!important}
.attendance-v336-leave-form-card .field label{color:#526d7f!important;font-size:10.5px!important}
.attendance-v336-leave-form-card :is(input,select,textarea){border-radius:10px!important;border-color:#d8e3e9!important;background:#fbfcfd!important;font-size:10.5px!important}
.attendance-v336-leave-form-card textarea{resize:vertical;min-height:70px}
.attendance-v336-form-footer{display:flex;justify-content:flex-end!important;border-top:1px solid #e8edf1!important;padding-top:10px!important}
.attendance-v336-form-footer .attendance-v110-primary{height:36px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:0 13px!important;border-radius:10px!important}.attendance-v336-form-footer svg{width:16px;height:16px}
.attendance-v336-leave-history>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-bottom:1px solid #e5ecf1;background:#fbfcfd}.attendance-v336-leave-history>header small{display:block;color:#7b8e9b;font-size:10.5px;font-weight:750}.attendance-v336-leave-history>header b{padding:4px 7px;border-radius:999px;background:#edf3f7;color:#3b6078;font-size:10.5px}
.attendance-v336-leave-history #leave-list{padding:10px}
.leave-hint{margin-top:9px!important;padding:9px 10px!important;border-radius:10px!important;font-size:10.5px!important;font-weight:800!important}

@media(max-width:1240px){
  .attendance-v336-day-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .attendance-v336-list-columns,.attendance-v336-employee-row{grid-template-columns:minmax(190px,1.45fr) minmax(95px,.7fr) 70px 76px minmax(105px,.75fr) minmax(95px,.66fr) 36px}
  .attendance-v336-history-head,.attendance-v336-history-row{grid-template-columns:minmax(145px,1.15fr) minmax(100px,.8fr) 75px minmax(105px,.8fr) 100px minmax(90px,.7fr) minmax(105px,.8fr)}
}
@media(max-width:1050px){
  .attendance-v336-head{align-items:flex-start;flex-direction:column}.attendance-v336-head-actions{width:100%;justify-content:flex-start}
  .attendance-v336-controlbar{grid-template-columns:1fr auto}.attendance-v336-control-filter{grid-column:1/-1;grid-row:2}.attendance-v336-control-tools{grid-column:2;grid-row:1}
  .attendance-v336-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .attendance-v336-list-columns{display:none}
  .attendance-v336-employee-row{grid-template-columns:minmax(180px,1.5fr) 90px 78px minmax(105px,.85fr) 105px 36px;grid-template-areas:"person plan coverage issues status action"}
  .attendance-v336-person{grid-area:person}.attendance-v336-role{display:none}.attendance-v336-plan{grid-area:plan}.attendance-v336-coverage{grid-area:coverage}.attendance-v336-issues{grid-area:issues}.attendance-v336-employee-row>div:nth-last-of-type(1){grid-area:status}.attendance-v336-open-file{grid-area:action}
  .attendance-v336-week-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .attendance-v336-history-head{display:none}.attendance-v336-history-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:9px 10px}.attendance-v336-history-row>div:first-child{grid-column:span 2}.attendance-v336-history-row>div:nth-child(2){grid-column:span 2}
}
@media(max-width:820px){
  body[data-page="attendance"] .page-content{padding:10px 11px 26px!important}
  .attendance-v336-head{min-height:0;padding:14px;border-radius:17px}.attendance-v336-head-icon{width:44px;height:44px;flex-basis:44px;border-radius:13px}.attendance-v336-head-identity h1{font-size:19px}.attendance-v336-head-identity p{font-size:10.5px}.attendance-v336-action span{display:none}.attendance-v336-action{width:34px;min-width:34px;padding:0}.attendance-v336-action.is-primary,.attendance-v336-action.is-back{width:auto;padding:0 10px}.attendance-v336-action.is-primary span,.attendance-v336-action.is-back span{display:inline}
  .attendance-v336-controlbar{grid-template-columns:1fr;gap:8px}.attendance-v336-period-nav{width:100%}.attendance-v336-control-tools{grid-column:1;grid-row:3;justify-content:space-between}.attendance-v336-control-filter{grid-column:1;grid-row:2}.attendance-v111-week-label{flex:1;min-width:0!important}
  .attendance-v336-employee-row{grid-template-columns:minmax(0,1fr) auto 34px;grid-template-areas:"person status action" "plan coverage issues";row-gap:7px;min-height:78px!important}.attendance-v336-plan,.attendance-v336-coverage,.attendance-v336-issues{align-self:stretch}.attendance-v336-issues{min-width:105px}.attendance-v336-cell small{display:none}.attendance-v336-cell b{white-space:normal}.attendance-v336-open-file{align-self:start}
  .attendance-v336-week-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-v336-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .attendance-v336-leave-head{display:none}.attendance-v336-leave-row{grid-template-columns:minmax(0,1fr) auto 32px;grid-template-areas:"period effect delete" "type attachment delete";gap:6px}.attendance-v336-leave-row>div:first-child{grid-area:period}.attendance-v336-leave-row>div:nth-child(2){grid-area:type}.attendance-v336-leave-row>div:nth-child(3){grid-area:effect}.attendance-v336-leave-attachments{grid-area:attachment;justify-content:flex-start}.attendance-v336-leave-row>.attendance-v110-row-danger{grid-area:delete}
  .attendance-v336-history-row{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-v336-history-row>div:first-child,.attendance-v336-history-row>div:nth-child(2){grid-column:span 1}
}
@media(max-width:560px){
  .attendance-v336-head-identity{align-items:flex-start}.attendance-v336-head-icon.is-person{display:none}.attendance-v336-file-back{margin-top:4px}.attendance-v336-head-actions{gap:5px}
  .attendance-v336-summary-grid{grid-template-columns:1fr!important}.attendance-v336-kpi{min-height:70px!important}
  .attendance-v336-week-summary{grid-template-columns:1fr}.attendance-v336-day-grid{grid-template-columns:1fr}.attendance-v336-day{display:grid;grid-template-columns:110px 1fr;grid-template-areas:"head status" "times times" "footer footer"}.attendance-v336-day>header{grid-area:head}.attendance-v336-day-status{grid-area:status;display:grid;align-items:center}.attendance-v336-day-times{grid-area:times}.attendance-v336-day>footer{grid-area:footer}
  .attendance-v336-history-row{grid-template-columns:1fr 1fr}.attendance-v336-history-row>div:nth-child(4),.attendance-v336-history-row>div:nth-child(7){grid-column:span 2}
  .attendance-v110-drawer{width:100vw!important}.attendance-v336-leave-form-card .form-grid.cols-2{grid-template-columns:1fr!important}
}


/* TIAM v369 — compact number import + immediately visible uploaded rows */
body[data-page="lead-import"] .lead-import-v369-upload{margin:0 0 10px!important;overflow:visible!important}
body[data-page="lead-import"] .lead-import-v369-upload-row{display:grid!important;grid-template-columns:minmax(170px,.7fr) minmax(260px,1.35fr) 180px auto!important;gap:10px!important;align-items:end!important;padding:10px 12px!important}
body[data-page="lead-import"] .lead-import-v369-upload-title{display:flex!important;align-items:center!important;gap:9px!important;min-height:44px!important}
body[data-page="lead-import"] .lead-import-v369-upload-title>span{width:36px!important;height:36px!important;min-width:36px!important;display:grid!important;place-items:center!important}
body[data-page="lead-import"] .lead-import-v369-upload-title svg{width:18px!important;height:18px!important}
body[data-page="lead-import"] .lead-import-v369-upload-title small{display:block!important;font-size:11px!important;font-weight:800!important}
body[data-page="lead-import"] .lead-import-v369-upload-title h2{margin:1px 0 0!important;font-size:15px!important;line-height:1.35!important}
body[data-page="lead-import"] .lead-import-v369-file-picker{min-width:0!important;min-height:44px!important;height:44px!important;padding:0 11px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:9px!important;cursor:pointer!important}
body[data-page="lead-import"] .lead-import-v369-file-picker input{display:none!important}
body[data-page="lead-import"] .lead-import-v369-file-picker>span{width:28px!important;height:28px!important;min-width:28px!important;display:grid!important;place-items:center!important}
body[data-page="lead-import"] .lead-import-v369-file-picker svg{width:17px!important;height:17px!important}
body[data-page="lead-import"] .lead-import-v369-file-picker>div{min-width:0!important;display:grid!important;gap:1px!important}
body[data-page="lead-import"] .lead-import-v369-file-picker b{font-size:12px!important;font-weight:850!important;line-height:1.25!important}
body[data-page="lead-import"] .lead-import-v369-file-picker small{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important}
body[data-page="lead-import"] .lead-import-v369-date{min-width:0!important;margin:0!important}
body[data-page="lead-import"] .lead-import-v369-date label{margin-bottom:4px!important;font-size:11px!important}
body[data-page="lead-import"] .lead-import-v369-date input{height:44px!important;min-height:44px!important;padding-block:6px!important}
body[data-page="lead-import"] .lead-import-v369-import-btn{height:44px!important;min-height:44px!important;padding-inline:15px!important;white-space:nowrap!important}
body[data-page="lead-import"] .lead-import-v369-feedback{min-height:0!important;margin:0 12px!important;padding:0!important;font-size:11.5px!important}
body[data-page="lead-import"] .lead-import-v369-feedback:not(:empty){margin-bottom:9px!important;padding:7px 10px!important}
body[data-page="lead-import"] .lead-import-v369-result-strip{margin:0 0 10px!important;padding:9px 12px!important;display:flex!important;align-items:center!important;gap:14px!important;min-height:54px!important;overflow:visible!important}
body[data-page="lead-import"] .lead-import-v369-result-title{display:flex!important;align-items:center!important;gap:8px!important;min-width:190px!important}
body[data-page="lead-import"] .lead-import-v369-result-title>span{width:32px!important;height:32px!important;display:grid!important;place-items:center!important}
body[data-page="lead-import"] .lead-import-v369-result-title svg{width:17px!important;height:17px!important}
body[data-page="lead-import"] .lead-import-v369-result-title b{display:block!important;font-size:12.5px!important}
body[data-page="lead-import"] .lead-import-v369-result-title small{display:block!important;font-size:11px!important;direction:ltr!important;text-align:right!important}
body[data-page="lead-import"] .lead-import-v369-result-kpis{flex:1!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(90px,1fr))!important;gap:7px!important}
body[data-page="lead-import"] .lead-import-v369-result-kpis>div{min-height:36px!important;padding:5px 9px!important}
body[data-page="lead-import"] .lead-import-v369-result-kpis span{font-size:11px!important}
body[data-page="lead-import"] .lead-import-v369-result-kpis b{font-size:15px!important}
body[data-page="lead-import"] .lead-import-v203-workspace-card{margin-top:0!important}
body[data-page="lead-import"] .lead-import-v203-workspace-head{padding:11px 14px!important}
body[data-page="lead-import"] .lead-import-v203-workspace-head h2{font-size:17px!important}
body[data-page="lead-import"] .lead-import-v203-view-tabs{padding:7px 14px!important}
body[data-page="lead-import"] .lead-import-v203-view-tabs button{min-height:34px!important;padding:5px 11px!important}
body[data-page="lead-import"] .lead-import-v203-toolbar{grid-template-columns:120px 96px minmax(210px,1fr) auto!important;gap:8px!important;padding:9px 14px!important}
body[data-page="lead-import"] .lead-import-v203-selected{height:40px!important}
body[data-page="lead-import"] .lead-import-v203-toolbar>.btn{min-height:40px!important;height:40px!important}
body[data-page="lead-import"] .lead-import-v203-table-wrap{padding:0 14px!important}
body[data-page="lead-import"] .lead-import-v203-table{margin-top:7px!important}
body[data-page="lead-import"] .lead-import-v203-table th{padding-top:9px!important;padding-bottom:9px!important}
body[data-page="lead-import"] .lead-import-v203-table td{padding-top:8px!important;padding-bottom:8px!important}
body[data-page="lead-import"] .lead-import-v240-requests{margin-top:10px!important;margin-bottom:0!important}
@media(max-width:1180px){body[data-page="lead-import"] .lead-import-v369-upload-row{grid-template-columns:minmax(180px,.8fr) minmax(240px,1.25fr) 170px!important}body[data-page="lead-import"] .lead-import-v369-import-btn{grid-column:1/-1!important;justify-self:end!important;width:auto!important}body[data-page="lead-import"] .lead-import-v203-toolbar{grid-template-columns:120px 96px minmax(200px,1fr)!important}body[data-page="lead-import"] .lead-import-v203-toolbar>.btn{grid-column:1/-1!important;justify-self:end!important;width:auto!important}}
@media(max-width:760px){body[data-page="lead-import"] .lead-import-v369-upload-row{grid-template-columns:1fr!important}body[data-page="lead-import"] .lead-import-v369-import-btn{grid-column:auto!important;width:100%!important}body[data-page="lead-import"] .lead-import-v369-result-strip{align-items:stretch!important;flex-direction:column!important}body[data-page="lead-import"] .lead-import-v369-result-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-page="lead-import"] .lead-import-v203-toolbar{grid-template-columns:1fr!important}body[data-page="lead-import"] .lead-import-v203-toolbar>.btn{grid-column:auto!important;width:100%!important}}

/* v374 employee profile redesign */
@layer tiam-employee-profile-v374 {
  .v374-employee-profile-page{display:grid;gap:12px}
  .v374-profile-header,
  .v374-profile-summary,
  .v374-profile-info-grid article,
  .v374-request-panel{
    background:#fff;
    border:1px solid #d8e3eb;
    border-radius:20px;
    box-shadow:0 8px 20px rgba(18,62,97,.06);
  }
  .v374-profile-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px 22px;
    min-height:134px;
  }
  .v374-profile-identity{display:flex;align-items:center;gap:16px;min-width:0;flex:1}
  .v374-profile-avatar{width:70px;height:70px;min-width:70px;border-radius:50%;display:grid;place-items:center;border:1px solid #d8e3eb;background:#f7fafc;color:#123e61}
  .v374-profile-avatar svg{width:38px;height:38px}
  .v374-profile-copy{min-width:0;display:grid;gap:4px}
  .v374-profile-kicker{font-size:11px;font-weight:800;color:#62829a}
  .v374-profile-copy h1{margin:0;font-size:28px;line-height:1.3;font-weight:800;color:#123e61}
  .v374-profile-copy p{margin:0;font-size:12px;font-weight:700;color:#4f6a80}
  .v374-profile-tags{display:flex;flex-wrap:wrap;gap:7px 8px;margin-top:5px}
  .v374-profile-tags span{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 12px;border:1px solid #d8e3eb;border-radius:999px;background:#f8fbfd;font-size:11px;font-weight:700;color:#425d72}
  .v374-profile-primary-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
  .v374-primary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid #c9d9e4;border-radius:999px;background:#fff;color:#123e61;font-size:11px;font-weight:800;cursor:pointer}
  .v374-primary-action svg{width:16px;height:16px}
  .v374-primary-action.is-primary{background:#123e61;color:#fff;border-color:#123e61}
  .v374-profile-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:hidden}
  .v374-profile-summary article{display:grid;gap:3px;padding:12px 14px;min-height:72px;align-content:center;text-align:center;border-inline-start:1px solid #ecf2f6}
  .v374-profile-summary article:first-child{border-inline-start:none}
  .v374-profile-summary small{font-size:11px;font-weight:700;color:#6a8398}
  .v374-profile-summary b{font-size:18px;font-weight:800;color:#123e61}
  .v374-profile-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .v374-profile-info-grid article{padding:14px 16px;display:grid;gap:4px;min-height:74px;align-content:center}
  .v374-profile-info-grid small{font-size:11px;font-weight:700;color:#6a8398}
  .v374-profile-info-grid b{font-size:13px;font-weight:800;color:#123e61;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .v374-request-panel{overflow:hidden}
  .v374-request-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #ecf2f6}
  .v374-request-panel-head small{display:block;font-size:11px;font-weight:800;color:#6a8398}
  .v374-request-panel-head h2{margin:4px 0 0;font-size:21px;font-weight:800;color:#123e61}
  .v374-request-panel-head p{margin:6px 0 0;font-size:11px;line-height:1.9;color:#5e7a90;max-width:780px}
  .v374-request-panel-tools{display:grid;gap:8px;justify-items:end;min-width:280px}
  .v374-request-total{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border:1px solid #d8e3eb;border-radius:999px;background:#f8fbfd;font-size:11px;font-weight:800;color:#123e61}
  .v374-request-table-wrap{padding:0 16px 16px;overflow:auto}
  .v374-request-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:960px}
  .v374-request-table thead th{position:sticky;top:0;background:#123e61;color:#fff;height:44px;padding:0 10px;font-size:11px;font-weight:800;text-align:center}
  .v374-request-table thead th:first-child{border-top-right-radius:14px}
  .v374-request-table thead th:last-child{border-top-left-radius:14px}
  .v374-request-table tbody td{padding:12px 10px;border-bottom:1px solid #edf2f6;font-size:11px;font-weight:700;color:#27465e;text-align:center;vertical-align:middle;background:#fff}
  .v374-request-table tbody tr:hover td{background:#fbfdff}
  .v374-cell-reason{text-align:right;white-space:normal;line-height:1.9}
  .v374-request-type{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid #d8e3eb;background:#f8fbfd;color:#123e61}
  .v374-request-type svg{width:15px;height:15px}
  .v374-request-type.is-leave{background:#f5fbff;border-color:#cfe2ef}
  .v374-request-type.is-advance{background:#fbf8ff;border-color:#ddd4f1}
  .v374-row-actions{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
  .v374-row-action{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:0 10px;border-radius:999px;border:1px solid #d8e3eb;background:#fff;font-size:11px;font-weight:800;color:#123e61;cursor:pointer}
  .v374-row-action.is-approve{background:#eef8f2;border-color:#cae7d2;color:#1a6b3a}
  .v374-row-action.is-reject{background:#fff4f4;border-color:#ebd0d0;color:#b64040}
  .v374-row-action.is-pay{background:#eef5ff;border-color:#cadbf3;color:#24578d}
  .v374-row-empty{color:#90a4b5;font-weight:800}
  .v374-empty-row td{padding:0;border-bottom:none}
  .v374-empty-state{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#567286}
  .v374-empty-state span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f4f8fb;border:1px solid #e2ebf0}
  .v374-empty-state svg{width:18px;height:18px}
  .v374-empty-state b{font-size:12px;font-weight:800;color:#123e61}
  .v374-empty-state small{font-size:11px;font-weight:700}
  @media (max-width:1180px){
    .v374-profile-header{flex-direction:column;align-items:flex-start}
    .v374-profile-primary-actions{justify-content:flex-start}
    .v374-profile-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
    .v374-profile-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .v374-request-panel-head{flex-direction:column}
    .v374-request-panel-tools{width:100%;justify-items:start;min-width:0}
  }
  @media (max-width:760px){
    .v374-profile-header{padding:16px}
    .v374-profile-identity{align-items:flex-start}
    .v374-profile-copy h1{font-size:24px}
    .v374-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
    .v374-profile-summary article:nth-child(odd){border-inline-start:none}
    .v374-profile-info-grid{grid-template-columns:1fr}
    .v367-request-tabs{width:100%}
  }
  @media (max-width:560px){
    .v374-profile-identity{flex-direction:column}
    .v374-profile-tags{display:grid;grid-template-columns:1fr}
    .v374-profile-primary-actions{width:100%;display:grid;grid-template-columns:1fr}
    .v374-profile-summary{grid-template-columns:1fr}
    .v374-profile-summary article{border-inline-start:none;border-top:1px solid #ecf2f6}
    .v374-profile-summary article:first-child{border-top:none}
  }
}

/* ===== SOURCE: credit-workspace-v288.css | sha256:793a8dabada5ead5da401ce19ed5f0ed758e3b92bb6bd9776a6e34cd235242c8 ===== */
/* TIAM v288 — canonical credit workspace visual module. */
/* Credit assessment becomes a first-class TIAM module. */
body[data-page="credit-assessment"]{--credit-surface:rgba(247,252,255,.72);--credit-edge:rgba(81,141,187,.25);--credit-ink:#153b60;--credit-muted:rgba(21,59,96,.62)}
body[data-page="credit-assessment"] .page-content{max-width:1560px!important}






body[data-page="credit-assessment"] .credit-v118-summary-grid{display:grid!important;grid-template-columns:repeat(4,minmax(130px,1fr))!important;gap:9px!important;margin:0!important}
body[data-page="credit-assessment"] .credit-v118-summary-card{position:relative;width:auto!important;height:auto!important;min-width:0!important;max-width:none!important;min-height:74px!important;max-height:none!important;border-radius:20px!important;padding:10px 12px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;background:rgba(255,255,255,.55)!important;border:1px solid rgba(76,139,184,.20)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 8px 17px rgba(35,82,119,.07)!important;overflow:hidden!important}
body[data-page="credit-assessment"] .credit-v118-summary-card:hover{transform:none;border-color:rgba(51,145,190,.36)!important;box-shadow:inset 0 1px 0 #fff,0 12px 22px rgba(35,82,119,.11)!important}



body[data-page="credit-assessment"] .credit-v118-summary-copy{position:relative!important;inset:auto!important;display:grid!important;align-items:center!important;text-align:right!important;z-index:2}
body[data-page="credit-assessment"] .credit-v118-summary-copy small{font-size:10.5px!important;color:var(--credit-muted)!important}body[data-page="credit-assessment"] .credit-v118-summary-copy b{font-size:17px!important;color:var(--credit-ink)!important;line-height:1.4!important}


body[data-page="credit-assessment"] .credit-v118-table-wrap{padding:10px!important;border:1px solid var(--credit-edge)!important;border-radius:24px!important;background:rgba(247,252,255,.61)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 13px 28px rgba(31,75,111,.08)!important;overflow-x:auto!important}
body[data-page="credit-assessment"] .credit-v118-table{border-collapse:separate!important;border-spacing:0 7px!important;min-width:1120px!important}
body[data-page="credit-assessment"] .credit-v118-table thead th{height:34px!important;padding:5px 8px!important;font-size:11px!important;color:rgba(21,59,96,.65)!important;background:transparent!important;border:0!important}
body[data-page="credit-assessment"] .credit-v118-table tbody{display:table-row-group!important}
body[data-page="credit-assessment"] .credit-v118-table tbody tr{height:54px!important;background:rgba(255,255,255,.70)!important;box-shadow:0 6px 14px rgba(28,71,106,.06)!important;transition:border-color .16s,background .16s,box-shadow .16s!important}
body[data-page="credit-assessment"] .credit-v118-table tbody tr:nth-child(even){background:rgba(231,242,253,.75)!important}
body[data-page="credit-assessment"] .credit-v118-table tbody tr:hover{background:rgba(219,239,249,.94)!important;box-shadow:0 10px 20px rgba(28,71,106,.11)!important;transform:none!important}
body[data-page="credit-assessment"] .credit-v118-table tbody td{height:54px!important;padding:7px 8px!important;font-size:11.5px!important;border-block:1px solid rgba(80,139,181,.14)!important;background:transparent!important}
body[data-page="credit-assessment"] .credit-v118-table tbody td:first-child{border-radius:0 17px 17px 0;border-right:1px solid rgba(80,139,181,.14)!important}body[data-page="credit-assessment"] .credit-v118-table tbody td:last-child{border-radius:17px 0 0 17px;border-left:1px solid rgba(80,139,181,.14)!important}
body[data-page="credit-assessment"] .credit-v118-actions{display:flex!important;gap:6px!important;justify-content:center!important}
body[data-page="credit-assessment"] .credit-v118-action{width:36px!important;height:36px!important;min-width:36px!important;border-radius:12px!important;border:1px solid!important;background:var(--action-bg)!important;color:var(--action-fg)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.76),0 6px 12px color-mix(in srgb,var(--action-fg) 13%,transparent)!important;transform:none!important}
body[data-page="credit-assessment"] .credit-v118-action:hover{transform:none;filter:saturate(1.08)!important;box-shadow:inset 0 1px 0 #fff,0 10px 17px color-mix(in srgb,var(--action-fg) 18%,transparent)!important}
body[data-page="credit-assessment"] .credit-v118-action.is-call{--action-fg:var(--action-call);--action-bg:var(--action-call-bg);border-color:var(--action-call-border)!important}
body[data-page="credit-assessment"] .credit-v118-action.is-upload{--action-fg:var(--action-upload);--action-bg:var(--action-upload-bg);border-color:var(--action-upload-border)!important}
body[data-page="credit-assessment"] .credit-v118-action.is-grade{--action-fg:var(--action-grade);--action-bg:var(--action-grade-bg);border-color:var(--action-grade-border)!important}
body[data-page="credit-assessment"] .credit-v118-action.is-complete{--action-fg:var(--action-complete);--action-bg:var(--action-complete-bg);border-color:var(--action-complete-border)!important}
body[data-page="credit-assessment"] .credit-v118-action.is-done{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--action-fg) 34%,transparent),0 7px 14px color-mix(in srgb,var(--action-fg) 18%,transparent)!important}
body[data-page="credit-assessment"] .credit-v118-action:disabled{opacity:1!important;color:#8a9aaa!important;background:rgba(225,231,237,.60)!important;border-color:rgba(133,150,167,.20)!important;box-shadow:none!important;filter:none!important}


@media(max-width:1100px){body[data-page="credit-assessment"] .credit-v288-page-head{grid-template-columns:1fr}body[data-page="credit-assessment"] .credit-v118-summary-grid{grid-template-columns:repeat(2,minmax(140px,1fr))!important}}
@media(max-width:680px){body[data-page="credit-assessment"] .credit-v118-summary-grid{grid-template-columns:1fr 1fr!important}}

/* v368 — branch credit fund, top-up workflow and readable operational states */
body[data-page="credit-assessment"] .credit-v368-fund{margin:0 0 14px;padding:16px 18px;border:1px solid rgba(31,89,132,.16);border-radius:22px;background:#fff;box-shadow:0 10px 24px rgba(31,75,111,.07)}
body[data-page="credit-assessment"] .credit-v368-fund.is-low{border-color:rgba(202,145,35,.35);background:linear-gradient(180deg,#fffdf7,#fff)}
.credit-v368-fund>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.credit-v368-fund>header h3{margin:3px 0 0;font-size:16px;color:#173d61}
.credit-v368-fund-actions{display:flex;gap:8px;flex-wrap:wrap}








.credit-v368-view-only{font-size:11px;color:#7b8fa1;white-space:nowrap}

.credit-v368-request-context{display:grid;grid-template-columns:auto 1fr;gap:7px 14px;margin-bottom:14px;padding:12px;border-radius:15px;background:#f5f9fc}.credit-v368-request-context span{font-size:11px;color:#72879a}.credit-v368-request-context b{font-size:12px;color:#254963}
.credit-v368-request-detail>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid #e3edf4}.credit-v368-request-detail>header small{color:#71889a}.credit-v368-request-detail>header h3{margin:3px 0 0;font-size:17px;color:#173e60}.credit-v368-request-detail>header>span{font-size:11px;color:#6e8495}
.credit-v368-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.credit-v368-detail-grid>div{padding:10px;border-radius:13px;background:#f7fafc;border:1px solid #e3edf3;display:grid;gap:4px}.credit-v368-detail-grid small{color:#72889a;font-size:10.5px}.credit-v368-detail-grid b{font-size:12.5px;color:#244a67}
.credit-v368-reason{padding:10px 12px;margin:8px 0;border-radius:13px;background:#fff7e8;border:1px solid #efd59c;display:grid;gap:4px}.credit-v368-reason b{font-size:11px;color:#7e5a13}.credit-v368-reason span{font-size:11.5px;color:#5d5140}
.credit-v368-timeline{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}.credit-v368-timeline li{display:grid;grid-template-columns:12px 1fr;gap:8px}.credit-v368-timeline li>span{width:8px;height:8px;border-radius:50%;background:#3a8bb4;margin-top:6px}.credit-v368-timeline li>div{display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:center;padding-bottom:8px;border-bottom:1px solid #edf2f6}.credit-v368-timeline b,.credit-v368-timeline strong{font-size:11px}.credit-v368-timeline p{grid-column:1/-1;margin:2px 0;font-size:11px;color:#687d8d}.credit-v368-timeline small{font-size:10.5px;color:#8b9ba8}
.credit-v368-execute-box{margin-top:12px;padding:12px;border:1px solid #dbe9f2;border-radius:14px;background:#f8fbfd;display:grid;gap:7px}.credit-v368-execute-box label{font-size:11px;font-weight:800}.credit-v368-execute-box select{min-height:40px;border:1px solid #cbdbe6;border-radius:10px;background:#fff;padding:0 10px;font:inherit}
.credit-v368-all-requests .credit-v368-request-list{display:grid;gap:6px;max-height:56vh;overflow:auto}.credit-v368-all-requests .credit-v368-request-list>button{display:grid;grid-template-columns:1fr auto 190px;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e0eaf1;border-radius:13px;background:#fff;text-align:right;cursor:pointer}.credit-v368-all-requests .credit-v368-request-list>button:hover{background:#f6fafc}.credit-v368-all-requests span{display:grid}.credit-v368-all-requests small{color:#8496a4}.credit-v368-all-requests strong{font-size:11.5px}.credit-v368-all-requests em{font-style:normal;font-size:11px;color:#54758d}
.credit-v368-ledger .table-wrap{max-height:58vh;overflow:auto}.credit-v368-ledger .data-table{min-width:760px}.credit-v368-ledger .data-table td,.credit-v368-ledger .data-table th{font-size:11.5px!important}
@media(max-width:900px){.credit-v368-fund-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.credit-v368-request-row{grid-template-columns:1fr auto}.credit-v368-request-row em{grid-column:1/-1;text-align:right}.credit-v368-all-requests .credit-v368-request-list>button{grid-template-columns:1fr auto}.credit-v368-all-requests em{grid-column:1/-1}}
@media(max-width:620px){.credit-v368-fund>header{align-items:flex-start;flex-direction:column}.credit-v368-fund-kpis{grid-template-columns:1fr 1fr}.credit-v368-detail-grid{grid-template-columns:1fr}.credit-v368-open-request small{margin-inline-start:0;width:100%}}
.credit-v368-ledger-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.credit-v368-ledger-filters select,.credit-v368-ledger-filters input{min-height:38px;border:1px solid #cfdee8;border-radius:10px;background:#fff;padding:0 10px;font:inherit;font-size:11.5px}.credit-v368-ledger-filters input{min-width:170px;flex:1}.credit-v368-ledger-filters select{min-width:145px}

/* v368 — accounting decision / request filters */
.credit-v368-decision-panel{margin-top:12px;padding:13px;border:1px solid #dbe8f1;border-radius:15px;background:#f8fbfd;display:grid;gap:10px}
.credit-v368-decision-panel h4,.credit-v368-execute-box h4{margin:0;font-size:12.5px;color:#244b69}
.credit-v368-decision-panel p,.credit-v368-execute-box p{margin:0;font-size:11px;line-height:1.8;color:#6f8596}
.credit-v368-decision-panel .field label{font-size:11.5px;font-weight:800;color:#35566f}
.credit-v368-decision-panel .field label small{font-size:10.5px;font-weight:500;color:#8395a3}
.credit-v368-decision-panel input,.credit-v368-decision-panel textarea{width:100%;border:1px solid #cbdbe6;border-radius:10px;background:#fff;padding:9px 10px;font:inherit;font-size:11.5px;color:#26465f;outline:none}
.credit-v368-decision-panel input:focus,.credit-v368-decision-panel textarea:focus,.credit-v368-execute-box select:focus{border-color:#5aa4c9;box-shadow:0 0 0 3px rgba(75,157,198,.12)}
.credit-v368-request-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.credit-v368-request-filters select{min-height:38px;min-width:180px;border:1px solid #cfdee8;border-radius:10px;background:#fff;padding:0 10px;font:inherit;font-size:11.5px;color:#294a63}
@media(max-width:620px){.credit-v368-request-filters select{width:100%;min-width:0}.credit-v368-decision-panel .form-grid.cols-2{grid-template-columns:1fr!important}}

/* ===== SOURCE: tiam-corporate-solid.css | sha256:cc0e5cd072ecb8c592dff9da706ca241656a8375e977b2e423f1d2fd943b5904 ===== */
/* Tiam Corporate Solid — central desktop design system */
:root{
  --tiam-bg:#f3f5f6;
  --tiam-surface:#ffffff;
  --tiam-surface-soft:#faf8f2;
  --tiam-navy:#12324a;
  --tiam-navy-strong:#0b2235;
  --tiam-navy-soft:#e8eef2;
  --tiam-gold:#c79a43;
  --tiam-gold-soft:#f4ead4;
  --tiam-text:#17232d;
  --tiam-muted:#5d6b76;
  --tiam-border:#d5dde3;
  --tiam-border-strong:#b7c4cd;
  --tiam-success:#276749;
  --tiam-success-bg:#edf7f1;
  --tiam-danger:#a12b2b;
  --tiam-danger-bg:#fff1f1;
  --tiam-warning:#8a5a12;
  --tiam-warning-bg:#fff7e5;
  --tiam-radius-sm:6px;
  --tiam-radius:10px;
  --tiam-radius-lg:14px;
  --tiam-control-h:42px;
  --tiam-row-h:44px;
  --tiam-sidebar-width:236px;
  --tiam-sidebar-width-compact:218px;
  --tiam-content-max:1680px;
  --tiam-shadow:0 2px 8px rgba(20,38,52,.08);
  --tiam-font:"Tiam Yekan Bakh FaNum",sans-serif;
}

html{
  min-width:980px;
  min-height:100%;
  scrollbar-gutter:auto;
  overflow:hidden;
  background:var(--tiam-bg);
}
body{
  min-height:100vh;
  margin:0;
  padding:0!important;
  overflow:hidden!important;
  color:var(--tiam-text);
  background:var(--tiam-bg)!important;
  font-family:var(--tiam-font)!important;
  font-size:14px;
  line-height:1.65;
  text-rendering:optimizeLegibility;
}
*,*::before,*::after{box-sizing:border-box}
*:not(.spinner):not(.tiam-login-spinner){
  animation:none!important;
  
  
}
body *,body *::before,body *::after{
  background-image:none!important;
  text-shadow:none!important;
}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
.hidden{display:none!important}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}

/* Stable application frame — fixed right menu, one central scroll */
#app-shell{
  width:100vw;
  min-height:100vh;
  height:100vh;
  overflow:hidden;
  background:var(--tiam-bg)!important;
}
#app-shell>.sidebar{
  position:fixed!important;
  inset:0 0 0 auto!important;
  z-index:80!important;
  display:flex!important;
  flex-direction:column!important;
  width:var(--tiam-sidebar-width)!important;
  height:100vh!important;
  min-height:0!important;
  visibility:visible!important;
  pointer-events:auto!important;
  overflow:hidden!important;
  border:0!important;
  border-left:1px solid rgba(255,255,255,.12)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#163c60 0%,#0c2945 58%,#071d33 100%)!important;
  color:#f7fbff!important;
  box-shadow:-8px 0 24px rgba(6,24,42,.16)!important;
}
.workspace{
  width:calc(100% - var(--tiam-sidebar-width))!important;
  height:100vh!important;
  min-height:0!important;
  margin:0 var(--tiam-sidebar-width) 0 0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:var(--tiam-bg)!important;
}
.topbar{
  display:none!important;
  min-height:0!important;
  height:0!important;
  flex:0 0 0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  background:transparent!important;
  box-shadow:none!important;
}
#page-content,.content,.workspace-content{
  flex:1 1 auto!important;
  width:min(100%,var(--tiam-content-max));
  min-height:0!important;
  height:100vh!important;
  margin:0 auto!important;
  padding:22px 24px 28px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#9caeba transparent;
  background:transparent!important;
}
/* Central summary bar */
.summary-strip,.summary-bar,.summary-grid,.kpi-strip,.dashboard-kpis,.sales-report-kpi-grid,.performance-kpi-grid,.tiam-summary-bar{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
  gap:0!important;
  min-height:86px!important;
  margin:0 0 18px!important;
  overflow:hidden!important;
  border:1px solid var(--tiam-border)!important;
  border-radius:var(--tiam-radius)!important;
  background:var(--tiam-surface)!important;
  box-shadow:none!important;
}
.summary-box,.summary-item,.kpi-card,.metric-card,.dashboard-kpi,.sales-report-kpi-card,.performance-kpi-card{
  min-width:0!important;
  min-height:84px!important;
  margin:0!important;
  padding:14px 18px!important;
  border:0!important;
  border-left:1px solid var(--tiam-border)!important;
  border-radius:0!important;
  background:var(--tiam-surface)!important;
  box-shadow:none!important;
  transform:none!important;
}
.summary-box:last-child,.summary-item:last-child,.kpi-card:last-child,.metric-card:last-child{border-left:0!important}
.summary-box small,.summary-item small,.kpi-card small,.metric-card small{display:block!important;color:var(--tiam-muted)!important;font-size:12px!important;font-weight:500!important}
.summary-box b,.summary-item b,.kpi-card b,.metric-card b{display:block!important;margin-top:4px!important;color:var(--tiam-navy-strong)!important;font-size:21px!important;font-weight:800!important;line-height:1.25!important}

/* Surfaces */
.card,.panel,.form-card,.table-wrap,.filter-bar,.section-card,.settings-section-shell,.settings-center-shell,.performance-section-card{
  border:1px solid var(--tiam-border)!important;
  border-radius:var(--tiam-radius)!important;
  background:var(--tiam-surface)!important;
  box-shadow:none!important;
  opacity:1!important;
  transform:none!important;
}
.card{padding:18px!important}
.card-head{min-height:46px!important;margin:-2px 0 14px!important;padding-bottom:10px!important;border-bottom:1px solid var(--tiam-border)!important}
.card-head h2,.card-head h3,.card h2,.card h3{color:var(--tiam-navy-strong)!important;font-weight:700!important}
.section-gap{display:grid;gap:18px}

/* Buttons */
.btn,.icon-btn,.icon-action,.mini-action,.side-nav-trigger,.nav-item,.dock-profile-btn,.dock-logout-btn,.dock-help-btn{
  min-height:var(--tiam-control-h)!important;
  border:1px solid var(--tiam-border-strong)!important;
  border-radius:var(--tiam-radius-sm)!important;
  background:var(--tiam-surface)!important;
  color:var(--tiam-navy)!important;
  box-shadow:none!important;
  transform:none!important;
  transition:background-color .12s ease,border-color .12s ease,color .12s ease!important;
}
.btn:hover,.icon-btn:hover,.icon-action:hover,.mini-action:hover{background:var(--tiam-navy-soft)!important;border-color:var(--tiam-navy)!important;transform:none!important}
.btn:active,.icon-btn:active,.icon-action:active{transform:none!important}
.btn-primary,.btn-success,.login-solid-submit{
  border-color:var(--tiam-navy)!important;
  background:var(--tiam-navy)!important;
  color:#fff!important;
}
.btn-primary:hover,.btn-success:hover,.login-solid-submit:hover{background:var(--tiam-navy-strong)!important;color:#fff!important}
.btn-danger,.danger{border-color:#d5a7a7!important;background:var(--tiam-danger-bg)!important;color:var(--tiam-danger)!important}
.btn:disabled,button:disabled{opacity:.48!important;cursor:not-allowed!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(18,50,74,.22)!important;outline-offset:2px!important}

/* Forms */
.field{min-width:0}
.field label{display:block!important;margin:0 0 6px!important;color:var(--tiam-text)!important;font-size:12px!important;font-weight:700!important}
input,select,textarea,.input-shell,.date-control{
  width:100%;
  min-height:var(--tiam-control-h)!important;
  border:1px solid var(--tiam-border-strong)!important;
  border-radius:var(--tiam-radius-sm)!important;
  background:#fff!important;
  color:var(--tiam-text)!important;
  box-shadow:none!important;
}
input,select,textarea{padding:9px 11px!important}
textarea{min-height:92px!important;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--tiam-navy)!important;box-shadow:0 0 0 3px rgba(18,50,74,.1)!important}
.field-error,.error-text,.login-solid-error{min-height:22px;color:var(--tiam-danger)!important;font-size:12px}
.form-grid{gap:14px!important}
.filter-bar{min-height:58px!important;padding:12px!important}

/* Tables — dense, stable, no zebra */
.table-wrap{width:100%;overflow-x:auto!important;overflow-y:visible!important;padding:0!important}
.data-table,table{width:100%!important;border-collapse:collapse!important;border-spacing:0!important;background:#fff!important}
.data-table thead th,table thead th{
  height:44px!important;
  padding:9px 10px!important;
  border-bottom:1px solid var(--tiam-border-strong)!important;
  background:#eef2f4!important;
  color:var(--tiam-navy-strong)!important;
  font-size:12px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.data-table tbody tr,table tbody tr{height:var(--tiam-row-h)!important;background:#fff!important;transform:none!important;box-shadow:none!important}
.data-table tbody tr:nth-child(odd),.data-table tbody tr:nth-child(even),table tbody tr:nth-child(odd),table tbody tr:nth-child(even){background:#fff!important}
.data-table tbody td,table tbody td{height:var(--tiam-row-h)!important;padding:7px 10px!important;border-bottom:1px solid #e5eaee!important;background:#fff!important;color:var(--tiam-text)!important;vertical-align:middle!important}
.data-table tbody tr:hover td,table tbody tr:hover td{background:#f5f8fa!important;transform:none!important}
body[data-page="brokerage"] .data-table tbody tr:nth-child(odd) td,
body[data-page="brokerage"] .data-table tbody tr:nth-child(even) td,
.brokerage-page .data-table tbody tr:nth-child(odd) td,
.brokerage-page .data-table tbody tr:nth-child(even) td{background:#fff!important}

/* Statuses */
.status,.status-pill,.badge,.chip{border:1px solid var(--tiam-border)!important;border-radius:999px!important;background:#f4f6f7!important;color:var(--tiam-text)!important;box-shadow:none!important}
.status.active,.status-pill.active,.text-green{color:var(--tiam-success)!important;background:var(--tiam-success-bg)!important;border-color:#b8d8c7!important}
.status.returned,.status-pill.returned,.text-red{color:var(--tiam-danger)!important;background:var(--tiam-danger-bg)!important;border-color:#e2bcbc!important}

/* Loading/empty/error states reserve useful space */
.loading,.empty,.error-state,.permission-denied{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-height:180px!important;
  padding:28px!important;
  border:1px solid var(--tiam-border)!important;
  border-radius:var(--tiam-radius)!important;
  background:var(--tiam-surface)!important;
  color:var(--tiam-muted)!important;
}
.spinner,.tiam-login-spinner{width:20px!important;height:20px!important;border:2px solid #cfd8de!important;border-top-color:var(--tiam-navy)!important;border-radius:50%!important;animation:tiam-spin .8s linear infinite!important}
@keyframes tiam-spin{to{transform:rotate(360deg)}}

/* Modal, drawer and popover */
.modal-backdrop,.drawer-backdrop{background:rgba(14,29,40,.34)!important;}
.modal,.drawer,.popover,.side-nav-panel{
  border:1px solid var(--tiam-border-strong)!important;
  border-radius:var(--tiam-radius-lg)!important;
  background:var(--tiam-surface)!important;
  box-shadow:0 12px 32px rgba(18,34,48,.18)!important;
  
}
.modal{max-height:calc(100vh - 60px)!important;overflow:auto!important}
.modal-head{min-height:58px!important;border-bottom:1px solid var(--tiam-border)!important;background:#fff!important}
.modal-actions{min-height:62px!important;border-top:1px solid var(--tiam-border)!important;background:#fff!important}

/* Login — fixed geometry, no layout shift */
body.auth-active{overflow:hidden!important;background:var(--tiam-bg)!important}
.tiam-login-solid{
  position:fixed;
  inset:0;
  z-index:10000;
  display:grid;
  place-items:center;
  overflow:auto;
  padding:28px;
  background:var(--tiam-bg)!important;
}
.login-solid-layout{
  display:grid;
  grid-template-columns:minmax(330px,440px) minmax(390px,480px);
  width:min(960px,calc(100vw - 56px));
  min-height:560px;
  overflow:hidden;
  border:1px solid var(--tiam-border-strong);
  border-radius:18px;
  background:var(--tiam-surface);
  box-shadow:0 16px 48px rgba(18,34,48,.14);
}
.login-solid-brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:48px;
  border-left:1px solid var(--tiam-border);
  background:var(--tiam-navy)!important;
  color:#fff;
}
.login-solid-logo{display:block;width:170px;height:170px;object-fit:contain;flex:none}
.login-solid-brand-copy{text-align:center}
.login-solid-brand-copy strong{display:block;font-size:34px;line-height:1.3;color:#fff}
.login-solid-brand-copy span{display:block;margin-top:8px;color:#dce6ed;font-size:14px}
.login-solid-card{display:flex;flex-direction:column;justify-content:center;padding:48px;background:#fff!important}
.login-solid-card-head{min-height:118px;margin-bottom:24px}
.login-solid-card-head>span{color:var(--tiam-gold);font-size:12px;font-weight:800}
.login-solid-card-head h1{margin:7px 0 8px;color:var(--tiam-navy-strong);font-size:27px;line-height:1.35}
.login-solid-card-head p{margin:0;color:var(--tiam-muted)}
.login-solid-form{display:grid;gap:15px}
.login-solid-field>span{display:block;margin-bottom:6px;font-size:12px;font-weight:700}
.login-solid-input-shell{position:relative;display:flex;align-items:center;height:46px;border:1px solid var(--tiam-border-strong);border-radius:8px;background:#fff!important}
.login-solid-input-shell>svg{width:20px;height:20px;margin:0 12px;fill:none;stroke:var(--tiam-muted);stroke-width:1.7;flex:none}
.login-solid-input-shell input{height:44px!important;min-height:44px!important;padding:8px 0!important;border:0!important;outline:0!important;box-shadow:none!important;background:#fff!important}
.login-solid-password-toggle{display:grid;place-items:center;width:44px;height:44px;border:0;background:#fff;color:var(--tiam-muted)}
.login-solid-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.login-solid-password-toggle[aria-pressed="false"] .tiam-eye-closed,.login-solid-password-toggle[aria-pressed="true"] .tiam-eye-open{display:none}
.login-solid-submit{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:46px!important;margin-top:4px;border-radius:8px!important;font-weight:800}
.login-solid-submit .tiam-login-spinner{display:none}
.login-solid-submit.is-busy .tiam-login-spinner{display:block}
.login-solid-status{min-height:22px;color:var(--tiam-muted);font-size:12px;text-align:center}
.login-solid-error{min-height:24px;text-align:center}
.login-solid-foot{min-height:30px;margin-top:18px;padding-top:14px;border-top:1px solid var(--tiam-border);color:var(--tiam-muted);font-size:11px;text-align:center}

/* Right sidebar navigation — replaces the retired circular bottom dock */
#tiam-bottom-dock,#tiam-dock-tooltip{display:none!important}
.tiam-sidebar-brand{
  flex:0 0 auto;
  min-height:74px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px 15px 11px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.tiam-sidebar-brand img{width:42px;height:42px;object-fit:contain;flex:none}
.tiam-sidebar-brand div{min-width:0;display:grid;gap:1px}
.tiam-sidebar-brand b{color:#fff;font-size:17px;font-weight:850;line-height:1.35}
.tiam-sidebar-brand span{color:rgba(231,241,249,.72);font-size:10.5px;font-weight:650}
body.tiam-right-sidebar-mode #main-nav{
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  padding:10px 9px 12px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(207,226,239,.38) transparent!important;
}
body.tiam-right-sidebar-mode #main-nav::-webkit-scrollbar{display:block!important;width:6px!important}
body.tiam-right-sidebar-mode #main-nav::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(207,226,239,.38)!important}
body.tiam-right-sidebar-mode #main-nav :is(.nav-item,.side-nav-trigger):not([hidden]):not(.permission-hidden):not([aria-hidden="true"]),
.tiam-sidebar-tool-item{
  width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  grid-template-columns:none!important;
  gap:9px!important;
  margin:0!important;
  padding:7px 10px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  color:rgba(244,249,253,.88)!important;
  box-shadow:none!important;
  text-align:right!important;
  transform:none!important;
}
body.tiam-right-sidebar-mode #main-nav :is(.nav-item,.side-nav-trigger):hover,
.tiam-sidebar-tool-item:hover{
  border-color:rgba(255,255,255,.13)!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
body.tiam-right-sidebar-mode #main-nav .nav-item.active,
body.tiam-right-sidebar-mode #main-nav .side-nav-group.current>.side-nav-trigger,
body.tiam-right-sidebar-mode #main-nav .side-nav-trigger[aria-expanded="true"]{
  border-color:rgba(255,255,255,.22)!important;
  background:rgba(255,255,255,.15)!important;
  color:#fff!important;
  box-shadow:inset -3px 0 0 #d6aa50!important;
}
body.tiam-right-sidebar-mode #main-nav :is(.nav-item,.side-nav-trigger)>svg,
.tiam-sidebar-tool-item>svg{
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  flex:none!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
}
body.tiam-right-sidebar-mode #main-nav :is(.nav-item,.side-nav-trigger)>span,
.tiam-sidebar-item-label{
  min-width:0!important;
  flex:1 1 auto!important;
  width:auto!important;
  overflow:hidden!important;
  color:inherit!important;
  font-size:11.7px!important;
  font-weight:720!important;
  line-height:1.55!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
body.tiam-right-sidebar-mode #main-nav .side-nav-trigger>i{
  width:16px!important;
  margin-right:auto!important;
  color:rgba(231,241,249,.62)!important;
  font-style:normal!important;
  text-align:center!important;
}
body.tiam-right-sidebar-mode #main-nav .side-nav-group{position:relative!important;flex:0 0 auto!important}
body.tiam-right-sidebar-mode #main-nav .side-nav-panel{
  position:static!important;
  inset:auto!important;
  display:none!important;
  width:auto!important;
  max-width:none!important;
  max-height:none!important;
  margin:2px 0 4px!important;
  padding:3px 8px 3px 0!important;
  gap:2px!important;
  overflow:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
body.tiam-right-sidebar-mode #main-nav .side-nav-group.open>.side-nav-panel{display:grid!important}
body.tiam-right-sidebar-mode #main-nav .side-nav-panel .nav-item{
  min-height:34px!important;
  padding:6px 10px!important;
  border-radius:8px!important;
  color:rgba(235,244,250,.79)!important;
}
body.tiam-right-sidebar-mode #main-nav .side-nav-panel .nav-item>svg{width:17px!important;height:17px!important;min-width:17px!important}
body.tiam-right-sidebar-mode #main-nav .nav-section-label{
  display:block!important;
  padding:8px 11px 3px!important;
  color:rgba(223,237,247,.55)!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
.tiam-sidebar-tools{
  flex:0 0 auto;
  display:grid;
  gap:5px;
  margin-top:5px;
  padding-top:9px;
  border-top:1px solid rgba(255,255,255,.12);
}
.tiam-sidebar-section-title{display:block;padding:0 10px 3px;color:rgba(223,237,247,.55);font-size:10.5px;font-weight:800}
.tiam-sidebar-tools-list{display:grid;gap:3px}
.tiam-sidebar-tool-item{position:relative!important;cursor:pointer!important}
.tiam-sidebar-tool-item>b{
  min-width:20px!important;
  height:20px!important;
  display:grid!important;
  place-items:center!important;
  margin-right:auto!important;
  padding:0 5px!important;
  border-radius:999px!important;
  background:#d6aa50!important;
  color:#102d48!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
.tiam-sidebar-tool-item>b.hidden{display:none!important}
.sidebar-bottom{
  flex:0 0 auto!important;
  margin:0!important;
  padding:8px 9px 10px!important;
  border-top:1px solid rgba(255,255,255,.12)!important;
  background:rgba(4,18,31,.18)!important;
}
.tiam-sidebar-account{display:grid;gap:5px}
.tiam-sidebar-profile,
.tiam-sidebar-logout{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  padding:6px 9px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.06)!important;
  color:#f5f9fc!important;
  box-shadow:none!important;
}
.tiam-sidebar-profile:hover,.tiam-sidebar-logout:hover{background:rgba(255,255,255,.11)!important;border-color:rgba(255,255,255,.22)!important}
.tiam-sidebar-profile-icon{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:8px;background:rgba(255,255,255,.1)}
.tiam-sidebar-profile-icon svg,.tiam-sidebar-logout>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.tiam-sidebar-profile>div{min-width:0;display:grid;flex:1;text-align:right}
.tiam-sidebar-profile b{overflow:hidden;color:#fff;font-size:11.5px;white-space:nowrap;text-overflow:ellipsis}
.tiam-sidebar-profile small{overflow:hidden;color:rgba(226,239,248,.65);font-size:10.5px;white-space:nowrap;text-overflow:ellipsis}
.tiam-sidebar-logout{color:#ffdede!important}
.tiam-sidebar-logout .tiam-sidebar-item-label{font-size:11px!important}
.sidebar-bottom>#version-label{display:block!important;padding:7px 2px 0!important;color:rgba(224,238,247,.48)!important;font-size:10.5px!important;text-align:center!important}

/* Restore Down desktop tuning */
@media (max-width:1280px){
  :root{--tiam-sidebar-width:var(--tiam-sidebar-width-compact);--tiam-row-h:42px}
  #page-content,.content,.workspace-content{padding:17px 17px 22px!important}
  .tiam-sidebar-brand{min-height:66px;padding:10px 12px}
  .tiam-sidebar-brand img{width:38px;height:38px}
  body.tiam-right-sidebar-mode #main-nav{padding:8px 7px 10px!important;gap:3px!important}
  body.tiam-right-sidebar-mode #main-nav :is(.nav-item,.side-nav-trigger),.tiam-sidebar-tool-item{min-height:35px!important;padding:6px 8px!important}
  .login-solid-layout{grid-template-columns:minmax(300px,380px) minmax(360px,440px);min-height:520px}
  .login-solid-card,.login-solid-brand{padding:34px}
}

@media (max-width:900px){
  html{min-width:0}
  #app-shell>.sidebar{width:min(280px,88vw)!important;transform:translateX(105%)!important;transition:transform .16s ease!important;z-index:190!important}
  #app-shell>.sidebar.open{transform:translateX(0)!important}
  .workspace{width:100%!important;margin:0!important}
  
  #page-content,.content,.workspace-content{padding-top:62px!important}
}

@media print{
  #app-shell>.sidebar,#tiam-bottom-dock,.topbar,.page-actions{display:none!important}
  html,body,#app-shell,.workspace,#page-content{min-width:0!important;background:#fff!important}
  .workspace{width:100%!important;margin:0!important}
  #page-content{padding:0!important}
  .card,.table-wrap{box-shadow:none!important}
}


/* ===== SOURCE: tiam-mobile-bottom-v358.css | sha256:ec5dde0a61afc6f0738a89600a5b623bb42d7e5c9c4462b8928ac76a3a6bf2a1 ===== */
.tiam-mobile-bottom-v358,.tiam-mobile-more-v358{display:none}
@media(max-width:900px){
 body.auth-active{padding-bottom:76px}
 #app-shell>.sidebar{display:none!important}
 .tiam-mobile-bottom-v358{position:fixed;z-index:1200;right:10px;left:10px;bottom:max(8px,env(safe-area-inset-bottom));min-height:62px;padding:6px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;border:1px solid rgba(15,42,67,.14);border-radius:18px;background:#fff;box-shadow:0 8px 26px rgba(16,42,67,.14)}
 .tiam-mobile-bottom-v358 button{appearance:none;border:0;background:transparent;min-width:0;min-height:50px;padding:5px 2px;border-radius:12px;color:#526576;display:grid;place-items:center;gap:2px;font-family:inherit;font-size:10.5px;font-weight:750}
 .tiam-mobile-bottom-v358 button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
 .tiam-mobile-bottom-v358 button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .tiam-mobile-bottom-v358 button.is-active{background:#eef4f8;color:#0e3556}
 .tiam-mobile-more-v358{display:block;position:fixed;inset:0;z-index:1300}
 .tiam-mobile-more-backdrop{position:absolute;inset:0;border:0;background:rgba(4,18,31,.35)}
 .tiam-mobile-more-v358>section{position:absolute;right:0;left:0;bottom:0;max-height:72vh;overflow:auto;padding:14px 14px calc(16px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:#fff}
 .tiam-mobile-more-v358 header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.tiam-mobile-more-v358 header b{font-size:16px}.tiam-mobile-more-v358 header button{width:44px;height:44px;border:0;border-radius:12px;background:#f2f5f7;font-size:22px}
 .tiam-mobile-more-v358 section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tiam-mobile-more-v358 section>div>button{min-height:58px;border:1px solid #dfe7ec;border-radius:13px;background:#fff;padding:9px;display:flex;align-items:center;gap:9px;text-align:right;font:inherit;font-size:12px;font-weight:750}.tiam-mobile-more-v358 section>div>button svg{width:22px;height:22px;fill:none;stroke:#174766;stroke-width:1.8}
}
@media print{.tiam-mobile-bottom-v358,.tiam-mobile-more-v358{display:none!important}}

/* ===== SOURCE: tiam-enterprise-ui-v298.css | sha256:845b8c143bff8f13ad54a8b47ebd7683412d1017a946a502f94a46af7471383a ===== */
/* TIAM v298 — Enterprise UI consolidation. Loaded last intentionally. */
:root{
  --tiam-v298-navy:#0a2748;
  --tiam-v298-navy-2:#123a67;
  --tiam-v298-navy-3:#174c82;
  --tiam-v298-white:#fff;
  --tiam-v298-border:#d5e0ec;
  --tiam-v298-row:#ffffff;
  --tiam-v298-row-hover:#f4f8fc;
  --tiam-v298-muted:#60758b;
  --tiam-v298-shadow:0 12px 30px rgba(8,39,72,.14);
  --tiam-v298-radius:20px;
  --tiam-v298-header-height:92px;
  --tiam-z-dropdown:500;
  --tiam-z-dock:700;
  --tiam-z-drawer-overlay:900;
  --tiam-z-drawer:950;
  --tiam-z-modal-overlay:1100;
  --tiam-z-modal:1150;
  --tiam-z-system-modal:1200;
  --tiam-z-toast:1300;
}

/* Global page spacing after topbar removal */
body:not(.auth-active) #page-content{padding-top:10px!important;padding-bottom:112px!important;}
body:not(.auth-active) .topbar{display:none!important;}

/* One navy page hero per route */
.tiam-page-hero,
#page-content>.page-head,
#page-content>.so-page-head,
#page-content>.sales-report-hero,
#page-content>.rec-report-hero,
#page-content>.brokerage-v285-page-head,
#page-content>.lead-import-v203-head,
#page-content>.contact-archive-v204-head,
#page-content>.fp-head,
#page-content>.credit-v288-page-head{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:var(--tiam-v298-header-height)!important;
  max-height:108px!important;
  margin:0 0 12px!important;
  padding:14px 20px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:var(--tiam-v298-radius)!important;
  background:linear-gradient(125deg,var(--tiam-v298-navy) 0%,var(--tiam-v298-navy-2) 72%,var(--tiam-v298-navy-3) 100%)!important;
  color:#fff!important;
  box-shadow:var(--tiam-v298-shadow)!important;
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:16px!important;
  overflow:hidden!important;
  position:relative!important;
}
.tiam-page-hero::after,
#page-content>.page-head::after,
#page-content>.brokerage-v285-page-head::after,
#page-content>.lead-import-v203-head::after,
#page-content>.contact-archive-v204-head::after,
#page-content>.fp-head::after,
#page-content>.credit-v288-page-head::after{
  content:"";position:absolute;inset:auto -40px -75px auto;width:190px;height:190px;border-radius:50%;
  border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);pointer-events:none;
}
.tiam-page-hero__visual{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);position:relative;z-index:1;}
.tiam-page-hero__visual svg{width:34px!important;height:34px!important;stroke:#fff!important;fill:none!important;stroke-width:1.65!important;}
.tiam-page-hero__copy{min-width:0;position:relative;z-index:1;}
.tiam-page-hero h1,
#page-content>.page-head h1,
#page-content>.brokerage-v285-page-head h1,
#page-content>.lead-import-v203-head h1,
#page-content>.contact-archive-v204-head h1,
#page-content>.fp-head h1,
#page-content>.credit-v288-page-head h1{margin:0!important;color:#fff!important;font-size:21px!important;font-weight:850!important;line-height:1.45!important;}
.tiam-page-hero p,
#page-content>.page-head p,
#page-content>.brokerage-v285-page-head p,
#page-content>.contact-archive-v204-head p,
#page-content>.fp-head p,
#page-content>.credit-v288-page-head p{margin:3px 0 0!important;color:rgba(255,255,255,.78)!important;font-size:12.5px!important;line-height:1.6!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.tiam-page-hero small,
#page-content>.page-head small,
#page-content>.brokerage-v285-page-head small,
#page-content>.lead-import-v203-head small,
#page-content>.contact-archive-v204-head small,
#page-content>.fp-head small,
#page-content>.credit-v288-page-head small{color:rgba(255,255,255,.72)!important;}
.tiam-page-hero__actions,.tiam-page-hero .page-actions,
#page-content>.page-head .page-actions,
#page-content>.brokerage-v285-page-head .brokerage-v285-head-actions,
#page-content>.lead-import-v203-head .lead-import-v203-head-actions,
#page-content>.contact-archive-v204-head .contact-archive-v204-actions,
#page-content>.fp-head .fp-head-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:nowrap!important;position:relative;z-index:2;}
.tiam-page-hero__actions:empty{display:none!important;}
.tiam-page-hero__actions :is(.btn,button,a),
#page-content>.page-head .page-actions :is(.btn,button,a),
#page-content>.lead-import-v203-head :is(.btn,button,a),
#page-content>.contact-archive-v204-head :is(.btn,button,a),
#page-content>.fp-head :is(.btn,button,a){min-height:38px!important;padding:7px 12px!important;border:1px solid rgba(255,255,255,.34)!important;background:#fff!important;color:var(--tiam-v298-navy)!important;border-radius:10px!important;box-shadow:none!important;white-space:nowrap!important;font-size:12px!important;}
.tiam-page-hero__actions :is(.btn,button,a):hover{background:#eef5fc!important;transform:translateY(-1px)!important;}

/* Normalize adopted custom headers */
#page-content>.brokerage-v285-page-head{grid-template-columns:minmax(0,1fr) auto!important;}
#page-content>.brokerage-v285-page-head .brokerage-v285-title{color:#fff!important;}
#page-content>.brokerage-v285-page-head .brokerage-reference-title-icon{background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.24)!important;color:#fff!important;}
#page-content>.brokerage-v285-page-head .brokerage-v285-title>div>span{color:rgba(255,255,255,.75)!important;}
#page-content>.brokerage-v285-page-head .brokerage-v285-quick-action{background:#fff!important;color:var(--tiam-v298-navy)!important;border-color:rgba(255,255,255,.5)!important;}
#page-content>.brokerage-v285-page-head .brokerage-v285-active-filters{grid-column:1/-1!important;margin:0!important;}
#page-content>.lead-import-v203-head,#page-content>.contact-archive-v204-head,#page-content>.fp-head{grid-template-columns:minmax(0,1fr) auto!important;}
#page-content>.lead-import-v203-head-title>span,#page-content>.contact-archive-v204-title>span{width:60px!important;height:60px!important;background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important;}

/* Adopted legacy headers keep their native title illustration and use a true two-column layout. */
.tiam-page-hero.tiam-page-hero--adopted.tiam-page-hero--native-visual{grid-template-columns:minmax(0,1fr) auto!important;}
.tiam-page-hero.tiam-page-hero--adopted.tiam-page-hero--native-visual>.tiam-page-hero__copy{min-width:0!important;width:auto!important;height:auto!important;max-height:72px!important;align-self:center!important;}
.tiam-redundant-module-head[hidden]{display:none!important;}

/* Credit: separate the dedicated header from a genuinely compact summary strip. */
#page-content>.credit-v288-page-head{grid-template-columns:64px minmax(0,1fr) auto!important;min-height:92px!important;max-height:104px!important;padding:12px 16px!important;}
.credit-v118-main-hero .credit-v118-hero-copy{padding:0!important;min-width:0!important;}
#page-content>.credit-v288-page-head>.credit-v118-page-actions{margin:0!important;min-height:0!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:7px!important;}
.credit-v118-summary-grid.tiam-credit-summary-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;align-items:stretch!important;margin:0 0 8px!important;padding:7px!important;border:1px solid var(--tiam-v298-border)!important;border-radius:15px!important;background:#edf3f8!important;box-shadow:0 5px 16px rgba(8,39,72,.06)!important;}
.tiam-credit-summary-strip .credit-v118-summary-card{min-height:56px!important;height:56px!important;padding:7px 9px!important;border-radius:11px!important;background:#fff!important;border:1px solid #d7e1eb!important;box-shadow:none!important;display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;gap:7px!important;color:var(--tiam-v298-navy)!important;}
.tiam-credit-summary-strip .credit-v118-summary-art{width:30px!important;height:30px!important;min-width:30px!important;background:#eaf1f8!important;border:1px solid #d4e0eb!important;color:var(--tiam-v298-navy)!important;}
.tiam-credit-summary-strip .credit-v118-summary-art svg{width:17px!important;height:17px!important;color:var(--tiam-v298-navy)!important;stroke:currentColor!important;}
.tiam-credit-summary-strip .credit-v118-summary-copy small{font-size:10.5px!important;color:#60758a!important;}
.tiam-credit-summary-strip .credit-v118-summary-copy b{font-size:15px!important;color:var(--tiam-v298-navy)!important;line-height:1.25!important;}
.credit-v118-orb-ring,.credit-v118-orb-glow{display:none!important;}
body[data-page="credit-assessment"] #page-content{gap:8px!important;}
body[data-page="credit-assessment"] .credit-v118-table-wrap{margin-top:0!important;}

/* All table headers navy/white; all table rows compact */
#page-content table{border-collapse:separate!important;border-spacing:0!important;}
#page-content table>thead{display:table-header-group!important;visibility:visible!important;opacity:1!important;}
#page-content table>thead>tr>th,
.customer-call-table>thead>tr>th,
.modal table>thead>tr>th,
[role="dialog"] table>thead>tr>th{
  height:38px!important;padding:8px 9px!important;background:var(--tiam-v298-navy)!important;color:#fff!important;border:0!important;border-left:1px solid rgba(255,255,255,.12)!important;font-size:12px!important;font-weight:800!important;line-height:1.45!important;text-align:center!important;vertical-align:middle!important;white-space:nowrap!important;
}
#page-content table>thead>tr>th:first-child,[role="dialog"] table>thead>tr>th:first-child{border-top-right-radius:10px!important;}
#page-content table>thead>tr>th:last-child,[role="dialog"] table>thead>tr>th:last-child{border-top-left-radius:10px!important;border-left:0!important;}
#page-content table>tbody>tr>td,
.customer-call-table>tbody>tr>td,
.modal table>tbody>tr>td,
[role="dialog"] table>tbody>tr>td{height:44px!important;padding:8px 9px!important;background:var(--tiam-v298-row)!important;border-bottom:1px solid #e1e8f0!important;font-size:12.5px!important;line-height:1.55!important;vertical-align:middle!important;}
#page-content table>tbody>tr:hover>td,[role="dialog"] table>tbody>tr:hover>td{background:var(--tiam-v298-row-hover)!important;}
body[data-page="brokerage"] table>tbody>tr:nth-child(even)>td{background:#fff!important;}
.tiam-row-number-col,.tiam-row-number-cell{width:56px!important;min-width:56px!important;max-width:56px!important;text-align:center!important;font-variant-numeric:tabular-nums!important;}
.tiam-row-number-cell{font-weight:800!important;color:var(--tiam-v298-navy)!important;}/* Unified modal and drawer close button */
.tiam-modal-close,#modal-close,.cc-v282-close,.rec-drawer-close,.sales-entry-close,.so-v282-close,.bcv282-close,button[class*="close"][aria-label*="بستن"],button[id*="close"][aria-label*="بستن"]{
  box-sizing:border-box!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:1px solid #071e38!important;border-radius:10px!important;background:var(--tiam-v298-navy)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:0!important;line-height:0!important;box-shadow:0 6px 14px rgba(8,39,72,.20)!important;overflow:hidden!important;cursor:pointer!important;}.tiam-modal-close svg,#modal-close svg,.cc-v282-close svg,.rec-drawer-close svg,.sales-entry-close svg,.so-v282-close svg,.bcv282-close svg,button[class*="close"][aria-label*="بستن"] svg,button[id*="close"][aria-label*="بستن"] svg{width:18px!important;height:18px!important;stroke:#fff!important;fill:none!important;stroke-width:2.2!important;display:block!important;}
.tiam-modal-close:hover,#modal-close:hover,.cc-v282-close:hover,.rec-drawer-close:hover,button[class*="close"][aria-label*="بستن"]:hover{background:var(--tiam-v298-navy-3)!important;transform:translateY(-1px)!important;}
.modal-backdrop{z-index:var(--tiam-z-modal-overlay)!important;}
.modal{z-index:var(--tiam-z-modal)!important;}
.toast-stack{z-index:var(--tiam-z-toast)!important;}

/* Settings search — prevent oversized free SVG */
.settings-center-search{box-sizing:border-box!important;width:min(520px,100%)!important;height:42px!important;display:flex!important;align-items:center!important;gap:9px!important;padding:0 12px!important;border:1px solid var(--tiam-v298-border)!important;border-radius:11px!important;background:#fff!important;overflow:hidden!important;}
.settings-center-search>svg{width:19px!important;height:19px!important;min-width:19px!important;max-width:19px!important;stroke:var(--tiam-v298-navy)!important;fill:none!important;stroke-width:2!important;}
.settings-center-search>input{min-width:0!important;flex:1!important;height:40px!important;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;}
.settings-center-icon svg{width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;}

/* Phone: one active tab, clean keypad, no overlapping fixed rows */
.cc-v282-root{z-index:var(--tiam-z-system-modal)!important;}
.cc-v282-overlay{z-index:0!important;background:rgba(4,19,36,.56)!important;backdrop-filter:blur(7px)!important;}
.cc-v282-modal{z-index:1!important;border-radius:20px!important;background:#f6f9fc!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-shadow:0 25px 70px rgba(3,20,39,.30)!important;}
.cc-v282-head{background:linear-gradient(125deg,var(--tiam-v298-navy),var(--tiam-v298-navy-2))!important;color:#fff!important;border:0!important;}
.cc-v282-head h2{font-size:19px!important;color:#fff!important;}.cc-v282-head p{font-size:11.5px!important;color:rgba(255,255,255,.75)!important;}
.customer-call-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:8px 12px!important;background:#edf3f9!important;border-bottom:1px solid var(--tiam-v298-border)!important;}
.customer-call-tab{height:38px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:var(--tiam-v298-navy)!important;font-weight:800!important;cursor:pointer!important;}
.customer-call-tab.is-active{background:#fff!important;border-color:#cdd9e6!important;box-shadow:0 3px 10px rgba(8,39,72,.08)!important;}
.cc-v282-workspace{overflow:auto!important;}
.cc-v282-pane{width:min(520px,100%)!important;margin:0 auto!important;min-height:0!important;height:auto!important;max-height:none!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;}

.cc-v282-pane-head{display:none!important;}
.cc-v282-dialer{background:#fff!important;border:1px solid var(--tiam-v298-border)!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(8,39,72,.08)!important;}
.cc-v282-dial-display{height:52px!important;display:flex!important;align-items:center!important;gap:8px!important;border:1px solid #cbd8e5!important;border-radius:12px!important;background:#f9fbfd!important;padding:0 8px!important;}
.cc-v282-dial-display input{height:48px!important;min-height:48px!important;flex:1!important;font-size:21px!important;font-weight:800!important;text-align:center!important;direction:ltr!important;letter-spacing:1px!important;}
.customer-call-dial-display-actions{gap:5px!important;}
.customer-call-dial-mini{width:36px!important;height:36px!important;min-width:36px!important;border-radius:9px!important;background:#eaf1f8!important;color:var(--tiam-v298-navy)!important;border:1px solid #d3dfeb!important;place-items:center!important;}
.customer-call-dial-mini svg{width:17px!important;height:17px!important;stroke:currentColor!important;fill:none!important;}
.cc-v282-keypad{display:grid!important;grid-template-columns:repeat(3,64px)!important;grid-auto-rows:58px!important;justify-content:center!important;gap:8px!important;margin:2px auto!important;}
.customer-call-key{width:64px!important;height:58px!important;min-height:58px!important;border-radius:14px!important;border:1px solid #cedae7!important;background:#fff!important;color:var(--tiam-v298-navy)!important;font-size:21px!important;font-weight:850!important;box-shadow:0 3px 8px rgba(8,39,72,.07)!important;display:grid!important;place-items:center!important;overflow:hidden!important;}
.customer-call-key::before,.customer-call-key::after{content:none!important;display:none!important;}
.customer-call-key:hover{background:#eef5fb!important;border-color:#9eb7cf!important;transform:translateY(-1px)!important;}.customer-call-key:active{transform:translateY(1px)!important;box-shadow:none!important;}
.customer-call-key-spacer{width:64px!important;height:58px!important;}
.cc-v282-call-button{width:100%!important;height:46px!important;min-height:46px!important;border:0!important;border-radius:12px!important;background:var(--tiam-v298-navy)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;font-size:13px!important;font-weight:850!important;box-shadow:none!important;}
.cc-v282-call-button svg{width:19px!important;height:19px!important;stroke:#fff!important;fill:none!important;}.cc-v282-call-button:disabled{opacity:.45!important;}
.cc-v282-dial-status{height:auto!important;overflow:auto!important;margin:0!important;padding:0!important;}
.cc-v282-search{height:42px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 10px!important;border:1px solid var(--tiam-v298-border)!important;border-radius:11px!important;background:#fff!important;}
.cc-v282-search>svg{width:18px!important;height:18px!important;min-width:18px!important;stroke:var(--tiam-v298-navy)!important;fill:none!important;}.cc-v282-search>input{height:40px!important;min-height:40px!important;border:0!important;background:transparent!important;box-shadow:none!important;flex:1!important;}
.cc-v282-content{margin-top:8px!important;background:#fff!important;border:1px solid var(--tiam-v298-border)!important;border-radius:14px!important;overflow:auto!important;}
.customer-call-table{min-width:650px!important;}

/* Dock technical repairs without changing its accepted visual identity */
#tiam-bottom-dock{z-index:var(--tiam-z-dock)!important;}
body:has(.modal-backdrop:not(.hidden)) #tiam-bottom-dock,
body.customer-call-open #tiam-bottom-dock,
body.rec-upload-drawer-open #tiam-bottom-dock,
body.drawer-open #tiam-bottom-dock{pointer-events:none!important;filter:saturate(.8)!important;}
#tiam-dock-tooltip{position:fixed!important;z-index:calc(var(--tiam-z-dock) + 5)!important;display:block!important;padding:7px 10px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:8px!important;background:var(--tiam-v298-navy)!important;color:#fff!important;font-size:11px!important;font-weight:750!important;white-space:nowrap!important;box-shadow:0 8px 22px rgba(3,20,39,.22)!important;pointer-events:none!important;opacity:0!important;transition:opacity .12s ease,transform .12s ease!important;}
#tiam-dock-tooltip[data-placement="above"]{margin-top:-8px!important;transform:translate(-50%,-100%) translateY(4px)!important;}
#tiam-dock-tooltip[data-placement="below"]{margin-top:8px!important;transform:translate(-50%,4px)!important;}
#tiam-dock-tooltip[data-placement="above"].is-visible{opacity:1!important;transform:translate(-50%,-100%)!important;}
#tiam-dock-tooltip[data-placement="below"].is-visible{opacity:1!important;transform:translate(-50%,0)!important;}
#tiam-bottom-dock .side-nav-panel{transform:translateX(var(--dock-panel-shift,0px))!important;max-height:min(64vh,540px)!important;overflow:auto!important;}
#tiam-bottom-dock .dock-nav-group:not(.open)>.side-nav-panel{display:none!important;}
#tiam-bottom-dock .dock-nav-group.open>.side-nav-panel{display:grid!important;}
#tiam-bottom-dock .dock-nav-group.open>.side-nav-panel.dock-cols-2{display:grid!important;grid-template-columns:repeat(2,minmax(210px,1fr))!important;width:max-content!important;max-width:min(720px,calc(100vw - 32px))!important;}
#tiam-bottom-dock .dock-nav-group.open>.side-nav-panel.dock-cols-3{display:grid!important;grid-template-columns:repeat(3,minmax(200px,1fr))!important;width:max-content!important;max-width:min(860px,calc(100vw - 32px))!important;}
#tiam-bottom-dock .side-nav-panel :is(.nav-section-label,.dock-section-label){grid-column:1/-1!important;}
#tiam-bottom-dock .side-nav-panel .nav-item{min-height:43px!important;height:43px!important;}
#tiam-bottom-dock .side-nav-panel tiam-v295-panel-icon{flex:none!important;}
#tiam-bottom-dock .side-nav-panel tiam-v295-panel-icon svg{width:20px!important;height:20px!important;}
#tiam-bottom-dock[data-density="compact"] .tiam-bottom-dock-cluster{gap:10px!important;}
#tiam-bottom-dock[data-density="standard"] .tiam-bottom-dock-cluster{gap:8px!important;}
#tiam-bottom-dock[data-density="dense"] .tiam-bottom-dock-cluster{gap:5px!important;}
#tiam-bottom-dock .dock-nav-group.current>.side-nav-trigger,#tiam-bottom-dock .dock-nav-group.open>.side-nav-trigger,#tiam-bottom-dock .side-nav-trigger[aria-expanded="true"]{border-color:var(--tiam-v298-navy)!important;box-shadow:0 0 0 3px rgba(10,39,72,.12)!important;}
/* v299 — root fix for optical icon centering inside dock circles */
#tiam-bottom-dock :is(tiam-v295-icon,tiam-v295-menu-icon,tiam-v295-panel-icon){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  margin:0!important;
  padding:0!important;
  flex:none!important;
  line-height:1!important;
}
#tiam-bottom-dock .side-nav-panel tiam-v295-panel-icon{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
}
#tiam-bottom-dock :is(tiam-v295-icon,tiam-v295-menu-icon,tiam-v295-panel-icon) > svg{
  display:block!important;
  width:24px!important;
  height:24px!important;
  margin:0!important;
  transform-box:view-box!important;
  transform-origin:50% 50%!important;
  transform:translate(var(--tiam-optical-x,0px),var(--tiam-optical-y,0px)) scale(var(--tiam-optical-scale,1))!important;
  overflow:visible!important;
}
#tiam-bottom-dock button > :is(tiam-v295-icon,tiam-v295-menu-icon),
#tiam-bottom-dock .side-nav-trigger > :is(tiam-v295-icon,tiam-v295-menu-icon),
#tiam-bottom-dock .nav-item > :is(tiam-v295-icon,tiam-v295-menu-icon){
  position:relative!important;
  top:0!important;
  left:0!important;
}
#tiam-bottom-dock :is(button,.side-nav-trigger,.nav-item){
  place-content:center!important;
  justify-items:center!important;
  align-items:center!important;
  justify-content:center!important;
}

#tiam-bottom-dock .dock-icon-group[hidden]+.dock-icon-group::before,#tiam-bottom-dock .dock-icon-group:first-child::before{display:none!important;}

@media(max-width:1250px){
  :root{--tiam-v298-header-height:86px;}
  .tiam-page-hero,#page-content>.page-head,#page-content>.brokerage-v285-page-head,#page-content>.lead-import-v203-head,#page-content>.contact-archive-v204-head,#page-content>.fp-head,#page-content>.credit-v288-page-head{padding:11px 15px!important;gap:12px!important;}
  .tiam-page-hero__visual{width:58px;height:58px;}
  #page-content>.credit-v288-page-head{grid-template-columns:220px minmax(0,1fr)!important;}
  .credit-v118-summary-card{padding:6px!important;}
  .tiam-page-hero__actions :is(.btn,button,a){padding-inline:9px!important;}
}
@media(max-width:1050px){
  #page-content>.credit-v288-page-head{display:block!important;max-height:none!important;}
  .credit-v118-main-hero .credit-v118-hero-copy{margin-bottom:8px!important;}
  .credit-v118-main-hero .credit-v118-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  #tiam-bottom-dock .dock-nav-group.open>.side-nav-panel.dock-cols-3{grid-template-columns:repeat(2,minmax(210px,1fr))!important;}
}
@media print{.tiam-page-hero{background:#fff!important;color:#000!important;box-shadow:none!important;border:1px solid #bbb!important}.tiam-page-hero *{color:#000!important}}
#tiam-bottom-dock .dock-nav-group.open>.side-nav-panel.dock-cols-1{display:grid!important;grid-template-columns:1fr!important;}

.tiam-modal-close:focus-visible,#tiam-bottom-dock button:focus-visible,.customer-call-tab:focus-visible,.customer-call-key:focus-visible{outline:3px solid rgba(55,139,219,.35)!important;outline-offset:2px!important;}

/* v298 final specificity guards: defeat legacy page-head and credit bubble rules. */
#page-content>.tiam-page-hero.tiam-page-hero--adopted.tiam-page-hero--native-visual{
  grid-template-columns:minmax(0,1fr) auto!important;
}
#page-content>.tiam-page-hero.tiam-page-hero--adopted.tiam-page-hero--native-visual>.tiam-page-hero__copy{
  width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:72px!important;
}
body[data-page="credit-assessment"] #page-content>.credit-v288-page-head{
  direction:ltr!important;
  grid-template-columns:auto minmax(0,1fr) 64px!important;
  grid-template-areas:"actions copy visual"!important;
}
body[data-page="credit-assessment"] #page-content>.credit-v288-page-head>.tiam-page-hero__visual{
  grid-area:visual!important;direction:rtl!important;align-self:center!important;
}
body[data-page="credit-assessment"] #page-content>.credit-v288-page-head>.credit-v118-hero-copy{
  grid-area:copy!important;grid-column:auto!important;direction:rtl!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:72px!important;align-self:center!important;
}
body[data-page="credit-assessment"] #page-content>.credit-v288-page-head>.credit-v118-page-actions{
  grid-area:actions!important;direction:rtl!important;align-self:center!important;width:auto!important;
}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip>.credit-v118-summary-card,
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip>button.credit-v118-summary-card,
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip>.credit-v118-summary-wallet{
  box-sizing:border-box!important;position:relative!important;flex:none!important;width:auto!important;min-width:0!important;max-width:none!important;
  aspect-ratio:auto!important;margin:0!important;padding:7px 9px!important;
  display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;grid-auto-rows:auto!important;align-items:center!important;gap:7px!important;
  border-radius:11px!important;background:#fff!important;border:1px solid #d7e1eb!important;box-shadow:none!important;overflow:hidden!important;color:var(--tiam-v298-navy)!important;
}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip .credit-v118-summary-art{
  width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:30px!important;max-height:30px!important;
}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip .credit-v118-summary-copy b{font-size:15px!important;color:var(--tiam-v298-navy)!important;}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip .credit-v118-summary-copy small{font-size:10.5px!important;color:#60758a!important;}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip{grid-auto-rows:64px!important;}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip>.credit-v118-summary-card,
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip>button.credit-v118-summary-card,
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip>.credit-v118-summary-wallet{height:64px!important;min-height:64px!important;max-height:64px!important;}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip .credit-v118-summary-copy b.is-money .money-amount{font-size:14px!important;line-height:1.1!important;}
body[data-page="credit-assessment"] #page-content>.tiam-credit-summary-strip .credit-v118-summary-copy b.is-money .money-unit{font-size:10.5px!important;line-height:1.1!important;}

/* Final hero interior reset: legacy title/action wrappers must not recreate white bars inside the navy header. */
#page-content>.tiam-page-hero>.tiam-page-hero__copy,
#page-content>.tiam-page-hero>.tiam-page-hero__actions{
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  margin:0!important;padding:0!important;color:#fff!important;min-width:0!important;
}
#page-content>.tiam-page-hero>.tiam-page-hero__copy :is(h1,h2,h3,h4,b,strong){color:#fff!important;text-shadow:none!important;}
#page-content>.tiam-page-hero>.tiam-page-hero__copy :is(p,small){color:rgba(255,255,255,.76)!important;text-shadow:none!important;}
#page-content>.tiam-page-hero.tiam-page-hero--native-visual>.tiam-page-hero__copy>span:first-child:has(svg),
#page-content>.tiam-page-hero.tiam-page-hero--native-visual>.tiam-page-hero__copy>.so-page-icon,
#page-content>.tiam-page-hero.tiam-page-hero--native-visual>.tiam-page-hero__copy>.sales-report-hero-icon,
#page-content>.tiam-page-hero.tiam-page-hero--native-visual>.tiam-page-hero__copy>.performance-report-hero-icon,
#page-content>.tiam-page-hero.tiam-page-hero--native-visual>.tiam-page-hero__copy>.rec-report-hero-icon{
  box-sizing:border-box!important;width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;
  display:grid!important;place-items:center!important;border-radius:16px!important;background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.24)!important;color:#fff!important;box-shadow:none!important;
}
#page-content>.tiam-page-hero.tiam-page-hero--native-visual>.tiam-page-hero__copy svg{color:#fff!important;stroke:#fff!important;}
#page-content>.tiam-page-hero>.tiam-page-hero__actions :is(.page-actions,.sales-report-icon-actions){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;}
.settings-center-intro{display:none!important;}
.settings-center-shell{padding-top:18px!important;}

/* Empty/loading rows span the complete CSS-grid table after the row-number column is added. */
#page-content table>tbody>tr>td[colspan],
[role="dialog"] table>tbody>tr>td[colspan],
.modal table>tbody>tr>td[colspan]{grid-column:1/-1!important;width:100%!important;max-width:none!important;text-align:center!important;white-space:normal!important;}

/* Phone header and controls: remove the inherited three-column grid that crushed the title vertically. */
.cc-v282-head{
  box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
  direction:rtl!important;width:100%!important;height:72px!important;min-height:72px!important;max-height:72px!important;flex:0 0 72px!important;
  gap:14px!important;padding:11px 16px!important;overflow:hidden!important;
}
.cc-v282-head>div{flex:1 1 auto!important;min-width:0!important;width:auto!important;height:auto!important;max-height:52px!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;}
.cc-v282-head h2{display:block!important;width:auto!important;height:auto!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.45!important;}
.cc-v282-head p{display:block!important;width:auto!important;height:auto!important;margin:2px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.45!important;}
.cc-v282-head>.cc-v282-close{flex:0 0 40px!important;align-self:center!important;margin-inline-start:0!important;}
.cc-v282-dial-display input{background:none!important;background-image:none!important;border:0!important;outline:0!important;box-shadow:none!important;}
.customer-call-dial-display-actions{display:flex!important;flex:0 0 auto!important;position:static!important;opacity:1!important;visibility:visible!important;}
.customer-call-dial-mini{display:grid!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;}

/* Page titles inside the dedicated hero must remain visible; ui-runtime only hides legacy duplicate H1s. */
#page-content>.tiam-page-hero h1,
#page-content>.tiam-page-hero h1.ui-primary-page-title{
  position:static!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
  margin:0!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;
  display:block!important;color:#fff!important;font-size:21px!important;font-weight:850!important;line-height:1.45!important;
}
#page-content>.tiam-page-hero.ui-title-collapsed h1{position:static!important;width:auto!important;height:auto!important;clip:auto!important;white-space:normal!important;}

/* Keep the phone workspace only as tall as its active content instead of leaving a large empty panel. */




/* v298 release hardening — table empty states must remain real table cells. */
#page-content table.tiam-data-table>tbody>tr>td[colspan],
[role="dialog"] table.tiam-data-table>tbody>tr>td[colspan],
.modal table.tiam-data-table>tbody>tr>td[colspan],
.customer-call-table>tbody>tr>td[colspan]{
  display:table-cell!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  height:72px!important;min-height:72px!important;max-height:none!important;
  padding:18px 20px!important;
  text-align:center!important;vertical-align:middle!important;
  white-space:normal!important;line-height:1.9!important;
  grid-column:auto!important;grid-area:auto!important;
}

/* Structured non-table lists: visible navy title row plus a real sequential row column. */
.tiam-structured-list-head{
  box-sizing:border-box!important;min-height:38px!important;margin:0!important;padding:8px 12px!important;
  align-items:center!important;gap:10px!important;border:0!important;border-radius:10px 10px 0 0!important;
  background:var(--tiam-v298-navy)!important;color:#fff!important;
  font-size:12px!important;font-weight:800!important;line-height:1.45!important;
  box-shadow:none!important;
}
.tiam-structured-list-head>*{color:#fff!important;min-width:0!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.tiam-structured-list-row>.tiam-list-row-number-cell,
.tiam-structured-list-head>.tiam-list-row-number-col{
  box-sizing:border-box!important;width:56px!important;min-width:56px!important;max-width:56px!important;
  display:grid!important;place-items:center!important;text-align:center!important;font-weight:850!important;font-variant-numeric:tabular-nums!important;
}
.tiam-structured-list-row>.tiam-list-row-number-cell{color:var(--tiam-v298-navy)!important;align-self:stretch!important;min-height:34px!important;}
.fr-list-head,.fr-row{grid-template-columns:56px 1.05fr 1.25fr 2fr 1.3fr 1.25fr auto!important;}
.cl-list-head,.cl-row{grid-template-columns:56px 1.1fr 1fr 1.5fr 1fr .9fr 70px!important;}
.aj-list-head,.aj-row{grid-template-columns:56px 1.1fr 2fr 1.2fr 1fr 1fr .8fr .6fr!important;}
.fp-list-head,.fp-row{grid-template-columns:56px minmax(250px,1.6fr) minmax(230px,1.25fr) 160px 125px 120px!important;}
.fr-list-head,.cl-list-head,.aj-list-head,.fp-list-head{display:grid!important;}

/* Attendance is a tabular card list and therefore receives its own title row and sequence column. */
.attendance-v298-list-head,
.attendance-v111-employee-row.tiam-structured-list-row{
  grid-template-columns:56px minmax(220px,1.6fr) minmax(120px,.8fr) repeat(4,minmax(86px,.62fr)) minmax(110px,.7fr) 42px!important;
}
.attendance-v298-list-head{margin:0 0 8px!important;border-radius:10px!important;}
.attendance-v111-employee-row.tiam-structured-list-row{padding-inline:10px!important;}
@media(max-width:1240px){
  .attendance-v298-list-head,
  .attendance-v111-employee-row.tiam-structured-list-row{
    grid-template-columns:56px minmax(200px,1.5fr) minmax(110px,.75fr) repeat(3,minmax(82px,.6fr)) minmax(105px,.72fr) 42px!important;
  }
  .attendance-v298-list-head>.tiam-attendance-optional{display:none!important;}
  .fp-list-head,.fp-row{grid-template-columns:56px minmax(220px,1.5fr) minmax(200px,1.2fr) 140px 115px 105px!important;}
}

/* Phone root fix: neutralize the inherited CSS-grid pane that collapsed the dialer to 58px. */
.cc-v282-modal{
  width:min(780px,calc(100vw - 48px))!important;
  height:auto!important;min-height:0!important;max-height:calc(100vh - 40px)!important;
}
.cc-v282-workspace{
  box-sizing:border-box!important;display:block!important;flex:0 1 auto!important;
  width:100%!important;min-height:0!important;max-height:calc(100vh - 166px)!important;
  overflow-x:hidden!important;overflow-y:auto!important;padding:12px!important;
}
.cc-v282-pane,
.cc-v282-dial-pane,
.cc-v282-history-pane{
  box-sizing:border-box!important;display:block!important;grid-template-rows:none!important;grid-template-columns:none!important;
  width:min(520px,100%)!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0 auto!important;overflow:visible!important;
}
.cc-v282-pane[hidden]{display:none!important;}
.cc-v282-dialer{
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  gap:9px!important;padding:12px!important;overflow:visible!important;
}
.cc-v282-keypad{
  flex:0 0 auto!important;width:208px!important;height:256px!important;min-height:256px!important;max-height:256px!important;
}
.cc-v282-dial-status{flex:0 0 auto!important;min-height:44px!important;max-height:120px!important;}
.cc-v282-call-button{flex:0 0 46px!important;}
.cc-v282-content{min-height:280px!important;max-height:calc(100vh - 286px)!important;}
@media(max-height:720px){
  .cc-v282-modal{max-height:calc(100vh - 24px)!important;}
  .cc-v282-workspace{max-height:calc(100vh - 150px)!important;padding:9px!important;}
  .cc-v282-dialer{gap:7px!important;padding:10px!important;}
  .cc-v282-keypad{grid-template-columns:repeat(3,58px)!important;grid-auto-rows:50px!important;width:190px!important;height:218px!important;min-height:218px!important;max-height:218px!important;gap:6px!important;}
  .customer-call-key,.customer-call-key-spacer{width:58px!important;height:50px!important;min-height:50px!important;}
  .cc-v282-dial-display{height:48px!important;}.cc-v282-dial-display input{height:44px!important;min-height:44px!important;}
  .cc-v282-call-button{height:42px!important;min-height:42px!important;flex-basis:42px!important;}
}

/* Compact workspaces use the same close language at a proportionate size. */
.so-inline-form-head>.tiam-modal-close{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;}


/* v302 — inline rebuilt dock icons for the four asymmetric top-level modules */
#tiam-bottom-dock :is(tiam-v295-icon,tiam-v295-menu-icon,tiam-v295-panel-icon) > svg{
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}


/* v303 — definitive root fix: legacy sidebar trigger grid was shifting the four module icons */
#tiam-bottom-dock .dock-nav-group > .side-nav-trigger{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  grid-auto-columns:auto!important;
  grid-auto-rows:auto!important;
  gap:0!important;
  margin:0!important;
  text-align:center!important;
}
#tiam-bottom-dock .dock-nav-group > .side-nav-trigger > tiam-v295-icon{
  position:static!important;
  margin:0!important;
  inset:auto!important;
}

/* v311 — preserve actionable controls when the enterprise hero adopts HR module heads. */
#page-content>.v286-module-head.tiam-page-hero{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;overflow:visible!important;
}
#page-content>.v286-module-head.tiam-page-hero>.v286-module-title{min-width:0!important;}
#page-content>.v286-module-head.tiam-page-hero>.v286-module-actions,
#page-content>.tiam-page-hero>.tiam-page-hero__actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;
  position:relative!important;z-index:3!important;visibility:visible!important;opacity:1!important;overflow:visible!important;
}

/* ===== SOURCE: table-row-number-v306.css | sha256:67cfcae353c232b08a0dbfc6f081e69c39518490c6b21b91d49164f2b13c8129 ===== */
/* TIAM v306 — compact and consistent row-number columns. */
:root{
  --tiam-row-number-column-width:46px;
}

:is(.data-table,table)[data-tiam-row-number-ready="true"] :is(th,td).tiam-row-number-cell{
  box-sizing:border-box!important;
  inline-size:var(--tiam-row-number-column-width)!important;
  width:var(--tiam-row-number-column-width)!important;
  min-inline-size:var(--tiam-row-number-column-width)!important;
  min-width:var(--tiam-row-number-column-width)!important;
  max-inline-size:var(--tiam-row-number-column-width)!important;
  max-width:var(--tiam-row-number-column-width)!important;
  padding-inline:4px!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  font-variant-numeric:tabular-nums;
}

:is(.data-table,table)[data-tiam-row-number-ready="true"] th.tiam-row-number-cell{
  font-size:10.5px!important;
  letter-spacing:0!important;
}

:is(.data-table,table)[data-tiam-row-number-ready="true"] td.tiam-row-number-cell{
  font-size:11px!important;
  font-weight:700;
}

/* ===== SOURCE: tiam-modal-system-v315.css | sha256:6779b4e67c74412c01f51de5a5ff1c2cf8904d968ed34178b104728388525ed1 ===== */
/* Tiam Modal System v315 — centralized desktop modal, density and row system */
:root{
  --tm-navy-950:#081a2d;--tm-navy-900:#0d2743;--tm-navy-850:#123352;--tm-navy-700:#244e72;
  --tm-canvas:#edf3f8;--tm-surface:#fff;--tm-surface-alt:#f4f8fc;--tm-surface-hover:#e8f1fa;
  --tm-surface-selected:#dceaf7;--tm-border:#cfdae5;--tm-border-strong:#b8c8d8;--tm-text:#12263a;
  --tm-muted:#63778b;--tm-danger:#b42318;--tm-warning:#9a6700;--tm-success:#087443;
  --tm-radius-sm:10px;--tm-radius-md:14px;--tm-radius-lg:20px;--tm-control-h:39px;--tm-row-h:39px;
  --tm-shadow:0 28px 70px rgba(5,22,39,.28),0 8px 22px rgba(5,22,39,.14);
  --tm-z-overlay:4200;--tm-z-modal:4210;--tm-z-float:4300;
}
/* overlay and one-scroll architecture */
.modal-backdrop{z-index:var(--tm-z-overlay)!important;background:rgba(5,18,32,.42)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:18px!important;overflow:hidden!important}
#modal,.modal{z-index:var(--tm-z-modal)!important;width:min(640px,calc(100vw - 36px));max-height:calc(100vh - 36px)!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;background:var(--tm-canvas)!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:var(--tm-radius-lg)!important;box-shadow:var(--tm-shadow)!important;color:var(--tm-text)!important;isolation:isolate}
#modal[data-modal-size="small"]{width:min(480px,calc(100vw - 36px))}
#modal[data-modal-size="default"],#modal[data-modal-size="medium"]{width:min(640px,calc(100vw - 36px))}
#modal[data-modal-size="wide"],#modal.modal-wide{width:min(920px,calc(100vw - 36px))}
#modal[data-modal-size="workspace"],#modal.brokerage-case-v282-theme,.modal-workspace{width:min(1200px,calc(100vw - 28px))}
.modal-head,#modal-header{position:relative;z-index:3;min-height:58px!important;padding:11px 16px!important;display:flex!important;align-items:center!important;gap:12px;background:linear-gradient(135deg,var(--tm-navy-950),var(--tm-navy-850))!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.13)!important;color:#fff!important;overflow:hidden}
.modal-head::after,#modal-header::after{content:"";position:absolute;inset:auto -10% -85% 34%;height:150px;background:radial-gradient(circle,rgba(255,255,255,.15),transparent 68%);pointer-events:none}
.modal-head h2,.modal-head h3,#modal-title{color:#fff!important;font-size:16px!important;font-weight:750!important;letter-spacing:-.15px;margin:0!important;line-height:1.45!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#modal-close,.modal-head .modal-close,.modal-head button[aria-label*="بستن"]{flex:0 0 36px;width:36px!important;height:36px!important;min-height:36px!important;border-radius:11px!important;color:#fff!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:inset 0 1px rgba(255,255,255,.1)!important}
#modal-close:hover,.modal-head .modal-close:hover{background:rgba(255,255,255,.18)!important;transform:translateY(-1px)}
.modal-body,#modal-body{position:relative;z-index:1;min-height:0!important;max-height:none!important;overflow:auto!important;overscroll-behavior:contain;padding:14px!important;background:linear-gradient(180deg,#f4f8fc 0%,#edf3f8 100%)!important;color:var(--tm-text)!important;font-size:12px!important;line-height:1.65!important;scrollbar-width:thin;scrollbar-color:#a9bacb transparent}
.modal-actions,#modal-actions{position:relative;z-index:3;min-height:58px!important;padding:9px 14px!important;display:flex!important;align-items:center!important;flex-wrap:wrap;gap:8px!important;background:rgba(242,247,251,.96)!important;border:0!important;border-top:1px solid var(--tm-border)!important;backdrop-filter:none}
.modal-actions:empty,#modal-actions:empty{display:none!important}
/* cards and sections inside modal */
.modal-body>section,.modal-body>.card,.modal-body>.form-card,.modal-body>.note-box,#modal-body>section,#modal-body>.card,#modal-body>.form-card,#modal-body>.note-box{border:1px solid var(--tm-border)!important;border-radius:var(--tm-radius-md)!important;background:rgba(255,255,255,.88)!important;box-shadow:0 5px 14px rgba(15,39,66,.045)!important}
.modal-body h3,.modal-body h4,#modal-body h3,#modal-body h4{color:var(--tm-navy-900);line-height:1.45;margin-block:0 8px}
/* compact forms */
.modal .form-grid{gap:9px 12px!important}.modal .field{min-width:0}.modal .field label{margin-bottom:5px!important;font-size:11px!important;line-height:1.4!important;color:#29435c!important}.modal :is(input:not([type="checkbox"]):not([type="radio"]),select){height:var(--tm-control-h)!important;min-height:var(--tm-control-h)!important;padding:7px 10px!important;border:1px solid var(--tm-border)!important;border-radius:10px!important;background:#fff!important;color:var(--tm-text)!important;font-size:12px!important;box-shadow:inset 0 1px 2px rgba(16,38,60,.035)!important}.modal textarea{min-height:70px!important;padding:8px 10px!important;border:1px solid var(--tm-border)!important;border-radius:10px!important;background:#fff!important;line-height:1.6!important}.modal :is(input,select,textarea):focus{outline:0!important;border-color:#477aa4!important;box-shadow:0 0 0 3px rgba(42,101,150,.13)!important}.modal .field small,.modal .hint{font-size:10.5px!important;line-height:1.45!important;color:var(--tm-muted)!important;margin-top:4px!important}.modal .form-footer{position:sticky;bottom:0;z-index:5;margin:12px -14px -14px!important;padding:9px 14px!important;min-height:58px;background:rgba(242,247,251,.97)!important;border-top:1px solid var(--tm-border)!important;backdrop-filter:none}
/* compact buttons */
.modal .btn,.modal-actions .btn{min-height:38px!important;height:38px!important;padding:0 14px!important;border-radius:11px!important;font-size:11.5px!important;line-height:1!important}.modal .btn-primary,.modal-actions .btn-primary{background:linear-gradient(135deg,var(--tm-navy-900),var(--tm-navy-700))!important;color:#fff!important;border:1px solid rgba(5,26,47,.35)!important;box-shadow:0 5px 12px rgba(13,39,67,.16),inset 0 1px rgba(255,255,255,.14)!important}.modal .btn-primary:hover{filter:brightness(1.06);transform:translateY(-1px)}
/* unified compact tables and zebra rows across app */
.data-table,table.tiam-data-table,.modal table{border-collapse:separate!important;border-spacing:0!important}.data-table th,table.tiam-data-table th,.modal table th{height:38px!important;padding:7px 9px!important;background:#e8eff6!important;color:#203b55!important;font-size:11px!important;line-height:1.35!important;border-bottom:1px solid var(--tm-border-strong)!important}.data-table td,table.tiam-data-table td,.modal table td{height:var(--tm-row-h)!important;min-height:var(--tm-row-h)!important;padding:6px 9px!important;font-size:11.5px!important;line-height:1.45!important;border-bottom:1px solid rgba(190,205,219,.62)!important;background:#fff!important}.data-table tbody tr:nth-child(even)>td,table.tiam-data-table tbody tr:nth-child(even)>td,.modal table tbody tr:nth-child(even)>td{background:var(--tm-surface-alt)!important}.data-table tbody tr:hover>td,table.tiam-data-table tbody tr:hover>td,.modal table tbody tr:hover>td{background:var(--tm-surface-hover)!important}.data-table tbody tr.is-selected>td,table.tiam-data-table tbody tr.is-selected>td,.modal table tbody tr.is-selected>td{background:var(--tm-surface-selected)!important}.data-table tbody tr.is-error>td,.modal table tbody tr.is-error>td{background:#fff1f1!important}.data-table tbody tr.is-warning>td,.modal table tbody tr.is-warning>td{background:#fff8e6!important}
/* div-based rows */
.tiam-zebra-list>:nth-child(odd),.modal [class*="list"]>[class*="item"]:nth-child(odd),.modal [class*="rows"]>[class*="row"]:nth-child(odd){background:#fff}.tiam-zebra-list>:nth-child(even),.modal [class*="list"]>[class*="item"]:nth-child(even),.modal [class*="rows"]>[class*="row"]:nth-child(even){background:var(--tm-surface-alt)}
/* short validation and error presentation */
.tiam-field-error{display:flex!important;align-items:center;gap:6px;margin-top:5px;padding:6px 8px;border:1px solid #f1bbb6;border-radius:9px;background:#fff2f1;color:var(--tm-danger);font-size:10.5px;line-height:1.4}.tiam-field-error::before{content:"!";display:grid;place-items:center;flex:0 0 17px;width:17px;height:17px;border-radius:50%;background:var(--tm-danger);color:#fff;font-size:10.5px;font-weight:800}.modal .error-box,.modal .alert-error,.modal [class*="validation-note"]{line-height:1.5!important;font-size:11px!important}
/* employee dossier — denser, categorized and visually anchored */
#modal.employee-minimal-modal{width:min(1040px,calc(100vw - 30px))!important}
#modal.employee-minimal-modal #modal-body{padding:0!important;background:#edf3f8!important}
.employee-form-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:min(650px,calc(100vh - 120px));background:#edf3f8}
.employee-profile-tabs{display:flex!important;gap:6px!important;padding:9px 12px!important;background:#e7eef5!important;border-bottom:1px solid var(--tm-border)!important;overflow-x:auto}.employee-profile-tabs button{height:36px!important;min-height:36px!important;padding:0 13px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#405c74!important;font-size:11px!important;font-weight:700!important;white-space:nowrap}.employee-profile-tabs button.is-active{background:var(--tm-navy-900)!important;color:#fff!important;border-color:var(--tm-navy-900)!important;box-shadow:0 4px 10px rgba(13,39,67,.14)!important}.employee-profile-panels{min-height:0;overflow:auto;padding:12px!important}.employee-profile-panel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.employee-panel-head{min-height:48px!important;margin-bottom:9px!important;padding:9px 12px!important;border-radius:12px!important;background:linear-gradient(135deg,#fff,#f6f9fc)!important;border:1px solid var(--tm-border)!important}.employee-panel-head b{display:block;color:var(--tm-navy-900);font-size:12px}.employee-panel-head small{display:block;margin-top:2px;color:var(--tm-muted);font-size:10.5px}.employee-form-grid{padding:12px!important;border:1px solid var(--tm-border)!important;border-radius:14px!important;background:rgba(255,255,255,.9)!important;box-shadow:0 6px 16px rgba(15,39,66,.045)!important}.employee-form-shell>.form-footer{margin:0!important;bottom:auto!important}.employee-form-shell .field.full textarea{min-height:62px!important}
/* date picker always above modal and compact */
#jdate-picker,.jdate-picker{z-index:var(--tm-z-float)!important;border:1px solid var(--tm-border-strong)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 20px 48px rgba(5,22,39,.24)!important;overflow:hidden!important}.jdate-head{background:var(--tm-navy-900)!important;color:#fff!important;padding:8px!important}.jdate-head select,.jdate-head button{height:34px!important;min-height:34px!important}.jday{min-height:32px!important;border-radius:8px!important}.jday:hover{background:var(--tm-surface-hover)!important}.jday.selected{background:var(--tm-navy-900)!important;color:#fff!important}
/* dialogs not using #modal */
[role="dialog"]:not(#modal):not(.forced-password-screen){border-radius:var(--tm-radius-lg);box-shadow:var(--tm-shadow)}
/* restore-down desktop only */
@media(max-width:1100px){#modal.employee-minimal-modal{width:min(940px,calc(100vw - 24px))!important}.modal .form-grid.cols-3,.employee-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-height:760px){#modal,.modal{max-height:calc(100vh - 18px)!important}.modal-head,#modal-header{min-height:52px!important}.modal-actions,#modal-actions{min-height:52px!important}.employee-form-shell{min-height:calc(100vh - 36px)}}
@media print{.modal-backdrop{position:static!important;padding:0!important;background:#fff!important;backdrop-filter:none!important}.modal-head,.modal-actions{display:none!important}#modal,.modal{width:100%!important;max-height:none!important;box-shadow:none!important;border:0!important}.modal-body{overflow:visible!important;padding:0!important;background:#fff!important}}

/* ===== SOURCE: tiam-readability-system-v317.css | sha256:399b7d15dd40465b259c157a6bf2bee1f3ae0ff33452c6ef6a13b02ecc18b251 ===== */
/* Tiam v317 — corrected numeric readability, conservative row audit, navy Dock */
:root{
  --tiam-v317-navy-1:#132d4d;
  --tiam-v317-navy-2:#071a31;
  --tiam-v317-row-even:#f3f8fc;
  --tiam-v317-row-hover:#e8f2fa;
  --tiam-v317-row-selected:#dcecf8;
}
html,body,button,input,select,textarea,table{
  font-variant-numeric:tabular-nums lining-nums;
  font-feature-settings:"tnum" 1,"lnum" 1;
}
[data-money],input[type="number"],input[type="tel"],input[type="time"],.ltr-cell,.money,.amount,.numeric,.number,.date,.time,.phone,.tracking-code{
  direction:ltr!important;
  unicode-bidi:plaintext;
  text-align:left!important;
  letter-spacing:.01em;
  font-family:"Tiam Yekan Bakh FaNum",sans-serif!important;
  font-weight:600;
  font-variant-numeric:tabular-nums lining-nums;
}

/* Dense, readable rows. Brokerage keeps its approved non-zebra appearance. */
.data-table tbody tr:not(.tiam-v317-detail-row),table tbody tr:not(.tiam-v317-detail-row){min-height:38px!important}
body:not([data-page="brokerage"]) .data-table tbody tr:not(.tiam-v317-detail-row):nth-child(even),
body:not([data-page="brokerage"]) table tbody tr:not(.tiam-v317-detail-row):nth-child(even){background:var(--tiam-v317-row-even)!important}
.data-table tbody tr:not(.tiam-v317-detail-row):hover,table tbody tr:not(.tiam-v317-detail-row):hover{background:var(--tiam-v317-row-hover)!important}
body[data-page="brokerage"] .data-table tbody tr:not(.tiam-v317-detail-row):nth-child(even),
body[data-page="brokerage"] table tbody tr:not(.tiam-v317-detail-row):nth-child(even){background:var(--brokerage-row-bg,transparent)!important}
.data-table tbody tr[aria-selected="true"],.data-table tbody tr.is-selected,table tbody tr[aria-selected="true"],table tbody tr.is-selected{background:var(--tiam-v317-row-selected)!important}
.data-table th,.data-table td,table th,table td{padding-top:8px!important;padding-bottom:8px!important;vertical-align:middle!important;line-height:1.5!important}
.data-table td,.data-table th{max-width:310px}
.data-table td:not(.actions-cell),.data-table th:not(.actions-cell){overflow-wrap:anywhere}
.tiam-v317-secondary-col,.tiam-v317-composite-source{display:none!important}
.tiam-v317-composite-sub{display:block;margin-top:2px;color:#64748b;font-size:11px;font-weight:550;direction:ltr;text-align:inherit}
.tiam-v317-row-detail-trigger{display:inline-grid!important;place-items:center!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;margin-inline-start:5px!important;border:1px solid rgba(19,45,77,.2)!important;border-radius:50%!important;background:#fff!important;color:#132d4d!important;font-size:18px!important;font-weight:800!important;line-height:1!important;box-shadow:none!important}
.tiam-v317-row-detail-trigger:hover,.tiam-v317-row-detail-trigger[aria-expanded="true"]{background:#e9f2f9!important;border-color:#315d88!important}
.tiam-v317-detail-row{background:#edf5fb!important}.tiam-v317-detail-row:hover{background:#edf5fb!important}.tiam-v317-detail-row>td{padding:10px 14px!important;border-top:0!important}
.tiam-v317-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px 14px}
.tiam-v317-detail-item{display:grid;gap:3px;padding:8px 10px;border:1px solid rgba(19,45,77,.10);border-radius:9px;background:rgba(255,255,255,.82)}
.tiam-v317-detail-item>span{color:#64748b;font-size:11px;font-weight:650}.tiam-v317-detail-item>b{color:#102a47;font-size:12px;font-weight:750;white-space:normal;overflow-wrap:anywhere}

/* Navy glass Dock. Only the main circular controls are recolored; flyout items keep independent styling. */
#tiam-bottom-dock{border-color:rgba(255,255,255,.16)!important;background:linear-gradient(180deg,rgba(28,57,91,.97),rgba(7,26,49,.985))!important;box-shadow:0 -1px 0 rgba(255,255,255,.13) inset,0 12px 34px rgba(2,14,29,.34)!important;backdrop-filter:blur(18px) saturate(125%)!important;-webkit-backdrop-filter:blur(18px) saturate(125%)!important}
#tiam-bottom-dock::before{content:"";position:absolute;inset:1px 16px auto;height:1px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);pointer-events:none}
#tiam-bottom-dock .dock-icon-group+.dock-icon-group{border-right-color:rgba(255,255,255,.17)!important}
#tiam-bottom-dock .dock-icon-group>button,
#tiam-bottom-dock .dock-icon-group>.nav-item,
#tiam-bottom-dock .dock-nav-group > .side-nav-trigger{border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.94)!important;color:#102d4e!important;box-shadow:0 4px 12px rgba(0,0,0,.16),0 1px 0 rgba(255,255,255,.8) inset!important}
#tiam-bottom-dock .dock-icon-group>button:hover,
#tiam-bottom-dock .dock-icon-group>.nav-item:hover,
#tiam-bottom-dock .dock-nav-group > .side-nav-trigger:hover{border-color:rgba(255,255,255,.58)!important;background:rgba(236,246,253,.98)!important;color:#071a31!important;transform:translateY(-2px)!important;box-shadow:0 7px 17px rgba(0,0,0,.22),0 1px 0 #fff inset!important}
#tiam-bottom-dock .dock-icon-group>button:active,
#tiam-bottom-dock .dock-icon-group>.nav-item:active,
#tiam-bottom-dock .dock-nav-group > .side-nav-trigger:active{transform:translateY(0) scale(.97)!important}
#tiam-bottom-dock .dock-icon-group>.active,
#tiam-bottom-dock .dock-nav-group>.side-nav-trigger.active,
#tiam-bottom-dock .dock-nav-group.current>.side-nav-trigger{border-color:rgba(255,255,255,.72)!important;background:linear-gradient(180deg,#315f8d,#173b61)!important;color:#fff!important;box-shadow:0 0 0 3px rgba(125,183,230,.17),0 7px 18px rgba(0,0,0,.26),0 1px 0 rgba(255,255,255,.34) inset!important}
#tiam-bottom-dock .side-nav-panel{border:1px solid rgba(19,45,77,.14)!important;background:rgba(249,252,255,.99)!important;box-shadow:0 18px 44px rgba(2,14,29,.24)!important}
#tiam-bottom-dock .side-nav-panel .nav-item{background:#fff!important;color:#102d4e!important;border-color:rgba(19,45,77,.14)!important;box-shadow:none!important;transform:none!important}
#tiam-bottom-dock .side-nav-panel .nav-item:hover{background:#eef5fa!important;color:#071a31!important;border-color:rgba(19,45,77,.28)!important;transform:none!important;box-shadow:none!important}
@media(max-width:1100px){.tiam-v317-detail-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}

/* ===== SOURCE: tiam-safe-hardening-v319.css | sha256:4f5a5f6e097f7d7b8605024037db69aaf4a1201f341545babcb0f4e86caae3d3 ===== */
/* Tiam v319 — safe, scoped enterprise hardening.
   No page geometry, Dock structure, brokerage row styling, business state,
   form submission behavior, or API-bound values are rewritten here. */
:root{
  --tiam-focus-ring:0 0 0 3px rgba(37,99,235,.22);
  --tiam-focus-border:#2563eb;
  --tiam-disabled-opacity:.58;
}
:where(button,[role="button"],a[href],input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--tiam-focus-border)!important;
  outline-offset:2px!important;
  box-shadow:var(--tiam-focus-ring)!important;
}
:where(button,input,select,textarea):disabled,
:where(button,input,select,textarea,[role="button"])[aria-disabled="true"]{
  opacity:var(--tiam-disabled-opacity);
  cursor:not-allowed!important;
}
[role="button"][aria-disabled="true"]{pointer-events:none}
.tiam-number,[data-tiam-number="true"],.amount,.phone,.date,.time,.code,
input[inputmode="numeric"],input[inputmode="decimal"],input[type="number"],input[type="tel"]{
  font-variant-numeric:tabular-nums lining-nums;
}
.tiam-field-invalid,:where(input,select,textarea)[aria-invalid="true"]{
  border-color:#dc2626!important;
  box-shadow:0 0 0 3px rgba(220,38,38,.12)!important;
}
.tiam-field-error{display:block;margin-top:6px;color:#b91c1c;font-size:12px;line-height:1.6}
table[data-tiam-audited="true"] th[scope="col"]{position:relative}
table[data-tiam-audited="true"] tbody tr:focus-within{box-shadow:inset 0 0 0 1px rgba(37,99,235,.22)}
/* Fallback only for semantic modal dialogs. Existing modal systems remain authoritative. */
html.tiam-semantic-modal-open:has([role="dialog"][aria-modal="true"]){overflow:hidden}
[role="dialog"][aria-modal="true"]{isolation:isolate}
[aria-busy="true"]{cursor:progress}
button[aria-busy="true"]{pointer-events:none}
button[aria-busy="true"]::after{content:"";display:inline-block;inline-size:12px;block-size:12px;margin-inline-start:7px;border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:tiam-v319-spin .75s linear infinite;vertical-align:-2px}
@keyframes tiam-v319-spin{to{transform:rotate(360deg)}}
@media (max-width:1180px) and (min-width:760px){.page-content,.workspace-content,main{min-width:0}table{max-width:100%}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{#tiam-bottom-dock,.dock,.toast-container,[role="tooltip"],.no-print{display:none!important}body{background:#fff!important}}

/* ===== SOURCE: tiam-datepicker-system-v320.css | sha256:9a188b88d2fbf2400732f2b4704fc4bfa89dea24855492959d46a6fae1e5af7d ===== */
/* TIAM v320 — unified compact Jalali date controls. Visual-only layer; business logic unchanged. */
:root{
  --tdp-navy:#0b2946;
  --tdp-navy-strong:#071f37;
  --tdp-border:#c8d7e6;
  --tdp-border-focus:#7fa6c8;
  --tdp-surface:#ffffff;
  --tdp-surface-soft:#f5f9fc;
  --tdp-text:#10263d;
  --tdp-muted:#6f8194;
  --tdp-danger:#b43b45;
  --tdp-danger-bg:#fff5f5;
  --tdp-radius:12px;
}

/* Input + trigger behave as one component. */
.date-control{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 44px;
  width:100%;
  min-width:0;
  direction:ltr;
  border:1px solid var(--tdp-border);
  border-radius:var(--tdp-radius);
  background:rgba(255,255,255,.92);
  box-shadow:0 2px 7px rgba(10,41,70,.06);
  overflow:hidden;
  transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease;
}
.date-control:hover{border-color:#abc1d5;background:#fff}
.date-control:focus-within{
  border-color:var(--tdp-border-focus);
  box-shadow:0 0 0 3px rgba(70,126,174,.13),0 4px 12px rgba(10,41,70,.08);
}
.date-control>input,
.field .date-control>input{
  width:100%!important;
  min-width:0;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 14px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:var(--tdp-text)!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:46px!important;
  direction:ltr!important;
  text-align:center!important;
  font-variant-numeric:tabular-nums lining-nums;
  cursor:pointer;
}
.date-control>input::placeholder{color:#93a2b1!important;font-size:14px!important;font-weight:400!important;opacity:1}
.date-control>.calendar-trigger{
  width:44px!important;
  min-width:44px!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center;
  border:0!important;
  border-left:1px solid var(--tdp-border)!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#fff,#f7fafc)!important;
  color:var(--tdp-navy)!important;
  box-shadow:none!important;
  transform:none!important;
  cursor:pointer;
  transition:background-color .14s ease,color .14s ease,box-shadow .14s ease;
}
.date-control>.calendar-trigger:hover{background:#eef5fa!important;color:#061c31!important;box-shadow:inset 0 0 0 1px rgba(59,105,145,.08)!important}
.date-control>.calendar-trigger:active{background:#e5eff7!important;transform:none!important}
.date-control>.calendar-trigger:focus-visible{outline:2px solid var(--tdp-border-focus)!important;outline-offset:-3px!important}
.date-control>.calendar-trigger svg{width:19px!important;height:19px!important;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.date-control:has(input:disabled),.date-control:has(input[aria-disabled="true"]){opacity:.62;background:#f4f6f8;pointer-events:none}

/* Validation is attached to the field, not visually fused into the control. */
.field:has(.date-control) .hint,
.field:has(.date-control) .error,
.field:has(.date-control) [role="alert"]{
  margin-top:7px;
  min-height:26px;
  padding:5px 9px;
  border:1px solid rgba(180,59,69,.16);
  border-right:3px solid var(--tdp-danger);
  border-radius:8px;
  background:var(--tdp-danger-bg);
  color:#8f3038;
  font-size:11px;
  font-weight:650;
  line-height:1.55;
}
.field:has(.date-control) .hint:not(.error):not([role="alert"]){border-color:#dfe8ef;border-right-color:#9eb3c5;background:#f7fafc;color:#607386}

/* Compact professional date picker. */
#jdate-picker.jdate-picker{
  width:356px!important;
  max-width:calc(100vw - 20px)!important;
  padding:10px!important;
  direction:rtl;
  border:1px solid rgba(131,159,184,.62)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 18px 42px rgba(7,31,55,.20),0 2px 8px rgba(7,31,55,.08)!important;
  overflow:hidden!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
#jdate-picker .jdate-head{
  display:grid!important;
  grid-template-columns:34px minmax(0,1.15fr) minmax(0,.9fr) 34px!important;
  align-items:center;
  gap:7px!important;
  min-height:48px!important;
  margin:-10px -10px 9px!important;
  padding:7px 10px!important;
  border-radius:15px 15px 0 0!important;
  background:linear-gradient(180deg,var(--tdp-navy),var(--tdp-navy-strong))!important;
}
#jdate-picker .jdate-head select{
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  padding:0 10px!important;
  border:1px solid rgba(211,227,240,.9)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:var(--tdp-text)!important;
  box-shadow:0 1px 3px rgba(0,0,0,.08)!important;
  font-size:12px!important;
  font-weight:650!important;
  text-align:center;
  direction:rtl;
  font-variant-numeric:tabular-nums lining-nums;
}
#jdate-picker .jdate-nav{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  display:grid!important;
  place-items:center;
  border:1px solid rgba(255,255,255,.34)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.96)!important;
  color:var(--tdp-navy)!important;
  box-shadow:none!important;
  font-size:22px!important;
  line-height:1!important;
  cursor:pointer;
  transition:background-color .14s ease,transform .14s ease;
}
#jdate-picker .jdate-nav:hover{background:#eaf2f8!important;transform:translateY(-1px)!important}
#jdate-picker .jdate-nav:active{transform:translateY(0)!important}
#jdate-picker .jweek,
#jdate-picker .jdays{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:5px!important;
}
#jdate-picker .jweek{margin:0 0 5px!important;padding:0 2px!important;color:#4d6073;font-size:10.5px;font-weight:750;text-align:center}
#jdate-picker .jweek span{height:21px;display:grid;place-items:center}
#jdate-picker .jdays{direction:rtl;padding:0 1px!important}
#jdate-picker .jday{
  position:relative;
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  display:grid!important;
  place-items:center;
  border:1px solid #d4e0ea!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#132b42!important;
  box-shadow:0 1px 3px rgba(7,31,55,.05)!important;
  font-size:12px!important;
  font-weight:600!important;
  font-variant-numeric:tabular-nums lining-nums;
  cursor:pointer;
  transition:border-color .13s ease,background-color .13s ease,color .13s ease,box-shadow .13s ease,transform .13s ease;
}
#jdate-picker .jday:hover:not(.empty-day){z-index:1;border-color:#9dbbd3!important;background:#f2f7fb!important;box-shadow:0 4px 10px rgba(8,43,74,.11)!important;transform:translateY(-1px)}
#jdate-picker .jday:focus-visible{outline:2px solid #6d9bc1!important;outline-offset:1px!important}
#jdate-picker .jday.empty-day{visibility:hidden!important;pointer-events:none!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important}
#jdate-picker .jday.today:not(.selected){border-color:#5f8fb7!important;box-shadow:inset 0 0 0 1px #5f8fb7!important;color:#0a3558!important;font-weight:800!important}
#jdate-picker .jday.today:not(.selected)::after{content:"";position:absolute;bottom:3px;width:4px;height:4px;border-radius:50%;background:#5f8fb7}
#jdate-picker .jday.selected{
  border-color:var(--tdp-navy)!important;
  background:linear-gradient(180deg,#153d60,var(--tdp-navy))!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(11,41,70,.22)!important;
  font-weight:800!important;
}
#jdate-picker .jdate-foot{
  display:flex!important;
  align-items:center;
  justify-content:space-between!important;
  gap:8px!important;
  margin:10px 0 0!important;
  padding:9px 1px 0!important;
  border-top:1px solid #e4ebf1;
}
#jdate-picker .jdate-foot .btn,
#jdate-picker .jdate-time-row .btn{
  min-height:34px!important;
  height:34px!important;
  padding:0 12px!important;
  border-radius:9px!important;
  box-shadow:none!important;
  font-size:11px!important;
}
#jdate-picker .jdate-time-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:end!important;
  margin-top:9px!important;
  padding-top:9px!important;
  border-top:1px solid #e4ebf1!important;
}
#jdate-picker .jdate-time-row label{display:grid;gap:4px;color:#53677a;font-size:10.5px;font-weight:700}
#jdate-picker .jdate-time-row input{height:34px!important;min-height:34px!important;padding:0 8px!important;border:1px solid var(--tdp-border)!important;border-radius:9px!important;background:#fff!important;text-align:center!important;font-variant-numeric:tabular-nums lining-nums}

@media (prefers-reduced-motion:reduce){
  .date-control,#jdate-picker .jday,#jdate-picker .jdate-nav{transition:none!important}
}

/* ===== SOURCE: payroll-financial-v341.css | sha256:0138d8919556704161b59b265bc3bcbf3ecdd7eb732e2c8ed0cd2b45930ad296 ===== */
/* Tiam v341 — direct payroll adjustments + professional financial statements. */
body[data-page="adjustments"] .v341-adjustments,
body[data-page="financial-statements"] .v341-financials{display:grid;gap:10px;min-width:0}

/* Adjustments */






.v341-adjustment-form .field{min-width:0}

.v341-adjustment-toolbar .field label{font-size:10.5px}
.v341-adjustment-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:10px 12px;background:#f7f9fb;border-bottom:1px solid #e7edf2}.v341-adjustment-summary article{min-width:0;padding:9px 10px;border:1px solid #e2e8ee;border-radius:12px;background:#fff}.v341-adjustment-summary small{display:block;font-size:10.5px;color:#718292}.v341-adjustment-summary b{display:block;margin-top:4px;font-size:12px;color:#1c425f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v341-adjustment-summary .is-plus b{color:#197044}.v341-adjustment-summary .is-minus b{color:#ad3930}
.v341-adjustment-list{display:grid;min-width:0}.v341-icon-action{width:30px;height:30px;display:grid;place-items:center;border:1px solid #dce5ec;border-radius:10px;background:#fff;color:#315a76;cursor:pointer;font-size:13px}.v341-icon-action:hover{background:#f2f7fb}.v341-icon-action.is-danger{color:#a33a34}.v341-icon-action.is-warning{color:#8a6300}.v341-empty{padding:36px;text-align:center;color:#718292;font-size:11px}

/* Financial statements */
.v341-financial-control{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(140px,.8fr) minmax(140px,.8fr) auto auto;gap:7px;align-items:end;padding:10px 12px;border:1px solid #dfe7ed;border-radius:16px;background:#fff}.v341-financial-control label{font-size:10.5px}.v341-financial-control input,.v341-financial-control select{min-height:34px}.v341-fs-tabs{display:flex;gap:5px;padding:4px;border:1px solid #dfe7ed;border-radius:13px;background:#f5f8fa;width:max-content}.v341-fs-tabs button{min-height:30px;padding:0 13px;border:0;border-radius:9px;background:transparent;color:#52687a;font-size:10.5px;font-weight:900;cursor:pointer}.v341-fs-tabs button.is-active{background:#fff;color:#193f5d;box-shadow:0 2px 8px rgba(31,68,96,.10)}
.v341-result-hero{display:grid;grid-template-columns:minmax(240px,1.3fr) repeat(3,minmax(130px,.65fr));gap:8px}.v341-result-main,.v341-kpi{padding:13px 14px;border:1px solid #dfe7ed;border-radius:16px;background:#fff}.v341-result-main{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.v341-result-main small,.v341-kpi small{display:block;font-size:10.5px;color:#718292}.v341-result-main b{display:block;margin-top:4px;font-size:21px;color:#1a6542}.v341-result-main.is-loss b{color:#ae3a32}.v341-result-main p{margin:5px 0 0;font-size:10.5px;color:#506576;line-height:1.7}.v341-result-state{display:grid;place-items:center;min-width:74px;min-height:58px;padding:6px;border-radius:13px;background:#eaf7ef;color:#17643d;font-size:11px;font-weight:900}.v341-result-main.is-loss .v341-result-state{background:#fff0ef;color:#a43a32}.v341-kpi b{display:block;margin-top:5px;font-size:14px;color:#193f5d}.v341-kpi em{display:block;margin-top:3px;font-size:10.5px;color:#7a8997;font-style:normal}
.v341-quality-warning{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid #f0d99a;border-radius:13px;background:#fff8e6;color:#705500;font-size:10.5px}.v341-quality-warning[hidden]{display:none}
.v341-statement-card{border:1px solid #dfe7ed;border-radius:17px;background:#fff;overflow:hidden}.v341-statement-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-bottom:1px solid #e7edf2}.v341-statement-title h2{margin:0;font-size:14px;color:#183b5b}.v341-statement-title small{display:block;margin-top:2px;font-size:10.5px;color:#748494}.v341-statement-head,.v341-statement-row{display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(4,minmax(105px,.7fr));gap:8px;align-items:center;padding:8px 12px}.v341-statement-head{min-height:34px;background:#f5f8fa;color:#637688;font-size:10.5px;font-weight:900;border-bottom:1px solid #e4ebf0}.v341-statement-row{min-height:43px;border-bottom:1px solid #edf1f4;font-size:10.5px}.v341-statement-row:last-child{border-bottom:0}.v341-statement-account{display:flex;align-items:center;gap:7px;min-width:0;padding-right:calc(var(--level,0)*15px)}.v341-statement-account button{width:24px;height:24px;border:1px solid #dce5ec;border-radius:8px;background:#fff;cursor:pointer}.v341-statement-account b{font-size:10.5px;color:#6b7f8f}.v341-statement-account span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#24475f;font-weight:800}.v341-statement-row.is-group{background:#fafcfd;font-weight:900}.v341-statement-row.is-total{background:#eff5f9;font-weight:950;color:#173d5a}.v341-statement-row.is-grand{background:#eaf7ef;color:#17643d;font-weight:950}.v341-statement-row.is-grand.is-loss{background:#fff0ef;color:#a43a32}.v341-number{text-align:left;direction:ltr;white-space:nowrap}.v341-positive{color:#177044}.v341-negative{color:#ad3930}
.v341-trend{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;padding:11px}.v341-trend article{padding:10px;border:1px solid #e4ebf0;border-radius:12px;background:#fbfcfd}.v341-trend b{font-size:10.5px}.v341-bar{height:7px;margin-top:6px;border-radius:99px;background:#eef2f5;overflow:hidden}.v341-bar i{display:block;height:100%;border-radius:99px;background:#6b91ad}.v341-bar.is-expense i{background:#b78c7e}.v341-trend small{display:flex;justify-content:space-between;margin-top:4px;font-size:10.5px;color:#70808f}
.v341-balance-equation{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px;border:1px solid #cfe2d7;border-radius:15px;background:#eff9f3;color:#1b6542;font-size:11px;font-weight:900}.v341-balance-equation.is-bad{background:#fff0ef;border-color:#e8b7b2;color:#a43a32}.v341-balance-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v341-balance-row{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(105px,.7fr) minmax(105px,.7fr);gap:8px;align-items:center;min-height:42px;padding:7px 11px;border-bottom:1px solid #edf1f4;font-size:10.5px}.v341-balance-row.is-group{background:#fafcfd;font-weight:900}.v341-balance-row.is-total{background:#eff5f9;font-weight:950}.v341-print-header{display:none}

@media(max-width:1180px){.v341-adjustment-grid{grid-template-columns:320px minmax(0,1fr)}.v341-adjustment-summary{grid-template-columns:repeat(3,1fr)}.v341-adjustment-row{grid-template-columns:minmax(150px,1.2fr) minmax(105px,.8fr) minmax(100px,.7fr) minmax(120px,.8fr)}.v341-adjustment-row .v341-adjustment-meta{grid-column:2/4}.v341-result-hero{grid-template-columns:repeat(3,1fr)}.v341-result-main{grid-column:1/-1}.v341-statement-head,.v341-statement-row{grid-template-columns:minmax(180px,1.35fr) repeat(4,minmax(90px,.65fr))}}
@media(max-width:900px){.v341-adjustment-grid{grid-template-columns:1fr}.v341-adjustment-toolbar{grid-template-columns:1fr 1fr}.v341-adjustment-summary{grid-template-columns:repeat(2,1fr)}.v341-adjustment-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:start}.v341-adjustment-meta{grid-column:1/3!important}.v341-adjustment-actions{grid-column:3;grid-row:1/3}.v341-financial-control{grid-template-columns:1fr 1fr}.v341-result-hero{grid-template-columns:1fr 1fr}.v341-result-main{grid-column:1/-1}.v341-statement-head{display:none}.v341-statement-row{grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:10px 11px}.v341-statement-row>span:nth-child(n/**/+3){font-size:10.5px}.v341-statement-row>span:nth-child(3)::before{content:"دوره قبل: ";color:#7b8995}.v341-statement-row>span:nth-child(4)::before{content:"تغییر: ";color:#7b8995}.v341-statement-row>span:nth-child(5)::before{content:"درصد: ";color:#7b8995}.v341-statement-row>span:nth-child(n/**/+3){grid-column:1/-1;text-align:right;direction:rtl}.v341-balance-grid{grid-template-columns:1fr}}
@media(max-width:600px){.v341-adjustment-head,.v341-financial-head{align-items:flex-start;flex-direction:column}.v341-adjustment-toolbar,.v341-financial-control{grid-template-columns:1fr}.v341-adjustment-summary,.v341-result-hero{grid-template-columns:1fr}.v341-adjustment-row{grid-template-columns:minmax(0,1fr) auto}.v341-adjustment-meta{grid-column:1!important}.v341-adjustment-actions{grid-column:2;grid-row:1/4}.v341-balance-row{grid-template-columns:minmax(0,1fr) auto}.v341-balance-row>span:nth-child(3){grid-column:1/-1;text-align:right}}

@media print{
 body[data-page="financial-statements"] .sidebar,body[data-page="financial-statements"] .topbar,body[data-page="financial-statements"] .v341-financial-control,body[data-page="financial-statements"] .v341-financial-actions,body[data-page="financial-statements"] .v341-fs-tabs{display:none!important}
 body[data-page="financial-statements"] html,body[data-page="financial-statements"] body,body[data-page="financial-statements"] #app-shell,body[data-page="financial-statements"] .workspace,body[data-page="financial-statements"] .page-content{height:auto!important;overflow:visible!important;margin:0!important;padding:0!important;width:100%!important}
 .v341-print-header{display:grid;grid-template-columns:1fr auto;gap:12px;padding:0 0 12px;margin-bottom:12px;border-bottom:2px solid #243f55}.v341-print-header h2{margin:0;font-size:18px}.v341-print-header small{font-size:10.5px}.v341-financial-head{display:none}.v341-statement-card,.v341-result-main,.v341-kpi,.v341-balance-equation{box-shadow:none;break-inside:avoid;border-color:#999}.v341-statement-row,.v341-balance-row{break-inside:avoid}.v341-trend{display:none}.v341-result-hero{grid-template-columns:2fr repeat(3,1fr)}
 @page{size:A4;margin:14mm 12mm}
}

/* ===== SOURCE: tiam-enterprise-root-v343.css | sha256:8e09a9e85b27760df3c9c1f666959ab105271182c9ba5a07b02d9c51e7ecfbb8 ===== */
/* TIAM v343 — Enterprise root redesign
   One page header, unified controls, professional financial workspace,
   readable payroll details and a dedicated sidebar utility rail. */

:root{
  --v343-control:44px;
  --v343-control-compact:38px;
  --v343-radius:14px;
  --v343-radius-lg:22px;
  --v343-ink:#10263c;
  --v343-muted:#64778a;
  --v343-line:#d8e3ec;
  --v343-soft:#f4f8fb;
  --v343-blue:#123a5a;
  --v343-blue-2:#0f4f78;
  --v343-glow:0 18px 44px rgba(13,55,84,.10);
  --v343-card-shadow:0 8px 24px rgba(22,58,82,.07);
}

/* ---------- Root control contract ---------- */
#page-content :is(input:not([type="checkbox"]):not([type="radio"]),select,button.btn,a.btn,.date-control,.jdate-control),
.modal :is(input:not([type="checkbox"]):not([type="radio"]),select,button.btn,a.btn,.date-control,.jdate-control){
  min-height:var(--v343-control) !important;
  height:var(--v343-control) !important;
  box-sizing:border-box !important;
  line-height:1.2 !important;
}
#page-content textarea,.modal textarea{min-height:88px !important;height:auto !important;line-height:1.75 !important}
#page-content :is(input,select,textarea),.modal :is(input,select,textarea){
  border:1px solid #c9d7e2 !important;border-radius:12px !important;background:#fff !important;
  color:var(--v343-ink) !important;padding-inline:13px !important;font-size:14px !important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease !important;
}
#page-content :is(input,select,textarea):focus,.modal :is(input,select,textarea):focus{
  outline:none !important;border-color:#5c91b4 !important;box-shadow:0 0 0 4px rgba(43,112,153,.12) !important;
}
#page-content .field,.modal .field{gap:7px !important;min-width:0}
#page-content .field>label,.modal .field>label{display:block !important;overflow:visible !important;line-height:1.35 !important;min-height:19px !important;font-size:12px !important;font-weight:750 !important;color:#40566a !important;margin:0 !important}
#page-content :is(.filter-bar,.filters,.filter-panel,.cl-report-filters,.cl-filters,.fr-filters,.fp-filters,.aj-filters,.al-filter-panel,.fs-filters,.aging-filters){align-items:end !important}
#page-content :is(.filter-bar,.filters,.filter-panel,.cl-report-filters,.cl-filters,.fr-filters,.fp-filters,.aj-filters,.al-filter-panel,.fs-filters,.aging-filters) :is(button.btn,a.btn){align-self:end !important}
#page-content .icon-btn,.modal .icon-btn,#page-content .tiam-icon-only,#page-content .tiam-head-icon-action{
  width:var(--v343-control) !important;min-width:var(--v343-control) !important;height:var(--v343-control) !important;
  min-height:var(--v343-control) !important;padding:0 !important;display:inline-grid !important;place-items:center !important;
}

/* ---------- Single page header ---------- */
#page-content>.tiam-page-hero{
  min-height:86px !important;margin:0 0 18px !important;padding:16px 18px !important;border-radius:var(--v343-radius-lg) !important;
  background:
    radial-gradient(circle at 86% 8%,rgba(255,255,255,.18),transparent 30%),
    linear-gradient(135deg,#0f2f4b 0%,#123e61 55%,#0c5277 100%) !important;
  border:1px solid rgba(255,255,255,.18) !important;box-shadow:0 18px 42px rgba(7,39,61,.18) !important;
  color:#fff !important;display:grid !important;grid-template-columns:auto minmax(0,1fr) auto !important;align-items:center !important;gap:14px !important;
  position:relative !important;overflow:hidden !important;
}
#page-content>.tiam-page-hero::after{content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px rgba(255,255,255,.26),inset 0 -18px 35px rgba(0,0,0,.06)}
#page-content>.tiam-page-hero .tiam-page-hero__visual{width:50px !important;height:50px !important;border-radius:16px !important;background:rgba(255,255,255,.12) !important;border:1px solid rgba(255,255,255,.2) !important;display:grid !important;place-items:center !important;position:relative;z-index:1}
#page-content>.tiam-page-hero .tiam-page-hero__visual svg{width:25px;height:25px;stroke:#fff}
#page-content>.tiam-page-hero .tiam-page-hero__copy{position:relative;z-index:1;min-width:0}
#page-content>.tiam-page-hero .tiam-page-hero__copy h1{font-size:20px !important;line-height:1.4 !important;margin:0 !important;color:#fff !important;white-space:normal !important}
#page-content>.tiam-page-hero .tiam-page-hero__copy p{font-size:12px !important;margin:3px 0 0 !important;color:rgba(255,255,255,.72) !important}
#page-content>.tiam-page-hero .tiam-page-hero__actions{display:flex !important;align-items:center !important;gap:8px !important;position:relative;z-index:2;flex-wrap:wrap;justify-content:flex-end}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a){
  width:42px !important;min-width:42px !important;height:42px !important;min-height:42px !important;padding:0 !important;border-radius:13px !important;
  background:rgba(255,255,255,.11) !important;border:1px solid rgba(255,255,255,.25) !important;color:#fff !important;display:inline-grid !important;place-items:center !important;
  box-shadow:inset 0 1px rgba(255,255,255,.24),0 7px 18px rgba(0,0,0,.12) !important;font-size:0 !important;text-decoration:none !important;
}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a)::before{font-size:20px;line-height:1}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a):hover{transform:translateY(-1px);background:rgba(255,255,255,.18) !important;box-shadow:inset 0 1px rgba(255,255,255,.36),0 10px 22px rgba(0,0,0,.16) !important}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a):active{transform:translateY(1px) scale(.97)}
#page-content>.tiam-page-hero .tiam-page-hero__actions .is-primary{background:rgba(255,255,255,.24) !important}
.tiam-head-icon-action{font-size:20px !important}

/* Duplicate page intros are removed by JS; hide during the first paint as well. */
body[data-page="payslip"] #page-content>.v338-payroll-hero,
body[data-page="payslip"] #page-content>.v338-payroll-subnav,
body[data-page="adjustments"] #page-content>.v286-module-head,
body[data-page="adjustments"] #page-content>.v286-module-tabs,
body[data-page="financial-statements"] #page-content .fs-hero,
body[data-page="accounting-ledger"] #page-content .al-hero,
body[data-page="accounting-periods"] #page-content .ap-hero,
body[data-page="accounting-journal"] #page-content .aj-hero,
body[data-page="future-payments"] #page-content .fp-head,
body[data-page="cash-ledger"] #page-content .cl-toolbar{display:none !important}

/* ---------- Shared topbar utility group ---------- */
.topbar>.so-top-actions{display:flex !important;align-items:center;gap:6px;margin-inline-start:auto;min-width:0}
.sidebar{display:flex !important;flex-direction:column !important}
#main-nav{flex:1 1 auto !important;min-height:0 !important;overflow-y:auto !important;padding-bottom:12px !important}
/* Retired sidebar utility structures must never reappear. */
.v343-sidebar-utilities,#tiam-sidebar-tools,#tiam-sidebar-account{display:none !important}

/* ---------- Financial workspace system ---------- */
body[data-page^="accounting"] #page-content,
body[data-page="cash-ledger"] #page-content,
body[data-page="financial-requests"] #page-content,
body[data-page="future-payments"] #page-content,
body[data-page="counterparties"] #page-content,
body[data-page="financial-statements"] #page-content{background:linear-gradient(180deg,#f6f9fb 0%,#eef4f7 100%) !important}
body[data-page^="accounting"] #page-content>:not(.tiam-page-hero),
body[data-page="cash-ledger"] #page-content>:not(.tiam-page-hero),
body[data-page="financial-requests"] #page-content>:not(.tiam-page-hero),
body[data-page="future-payments"] #page-content>:not(.tiam-page-hero),
body[data-page="counterparties"] #page-content>:not(.tiam-page-hero),
body[data-page="financial-statements"] #page-content>:not(.tiam-page-hero){max-width:100%}
:is(.fr-shell,.fp-shell,.cl-shell,.aj-shell,.al-shell,.fs-shell,.ap-shell,.cp-shell){display:grid;gap:16px !important}
:is(.fr-stats,.fp-stats,.cl-stats,.aj-stats,.al-summary,.fs-summary,.cp-kpis,.cl-report-summary,.clf-summary,.cl-topup-summary){display:grid !important;grid-template-columns:repeat(auto-fit,minmax(165px,1fr)) !important;gap:10px !important}
:is(.fr-stats,.fp-stats,.cl-stats,.aj-stats,.al-summary,.fs-summary,.cp-kpis,.cl-report-summary,.clf-summary)>:is(article,div),.cl-topup-summary>span{
  min-height:92px;border:1px solid #dbe5ed;border-radius:17px;background:linear-gradient(155deg,#fff,#f7fafc);box-shadow:var(--v343-card-shadow);padding:14px 15px;display:flex;flex-direction:column;justify-content:center;gap:5px;position:relative;overflow:hidden
}
:is(.fr-stats,.fp-stats,.cl-stats,.aj-stats,.al-summary,.fs-summary,.cp-kpis,.cl-report-summary,.clf-summary)>:is(article,div)::after{content:"";position:absolute;inset-inline-end:-25px;top:-28px;width:80px;height:80px;border-radius:50%;background:rgba(39,112,154,.06)}
:is(.fr-stats,.fp-stats,.cl-stats,.aj-stats,.al-summary,.fs-summary,.cp-kpis,.cl-report-summary,.clf-summary) small{color:var(--v343-muted);font-size:11px}
:is(.fr-stats,.fp-stats,.cl-stats,.aj-stats,.al-summary,.fs-summary,.cp-kpis,.cl-report-summary,.clf-summary) b{color:var(--v343-ink);font-size:17px;line-height:1.45}
:is(.fr-toolbar,.fp-head,.cl-toolbar,.aj-hero,.al-hero,.fs-hero,.ap-hero){margin:0 !important}
:is(.fr-filters,.fp-filters,.cl-report-filters,.aj-filters,.al-filter-panel,.fs-filters,.aging-filters,.filter-bar){
  display:grid !important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;gap:10px !important;padding:13px !important;border:1px solid var(--v343-line) !important;border-radius:17px !important;background:rgba(255,255,255,.86) !important;box-shadow:var(--v343-card-shadow) !important;backdrop-filter:blur(12px)
}
:is(.fr-panel,.cl-panel,.cl-forecast-panel,.cl-topup-panel,.cl-report-panel,.aj-panel,.al-panel,.fs-panel,.ap-toolbar,.ap-preview,.cp-panel,.premium-card){border:1px solid var(--v343-line) !important;border-radius:19px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important;padding:15px !important}
:is(.fr-row,.fp-row,.cl-row,.aj-row,.cp-row,.ap-period-card){border:1px solid #e0e8ee !important;border-radius:15px !important;background:#fff !important;box-shadow:0 4px 14px rgba(16,51,75,.045) !important;margin-block:7px !important;transition:.16s ease !important}
:is(.fr-row,.fp-row,.cl-row,.aj-row,.cp-row,.ap-period-card):hover{border-color:#b9cfde !important;box-shadow:0 9px 22px rgba(16,51,75,.09) !important;transform:translateY(-1px)}
.data-table{border-collapse:separate !important;border-spacing:0 7px !important;background:transparent !important}
.data-table thead th{background:transparent !important;color:#5e7182 !important;font-size:11px !important;border:0 !important;padding:4px 10px !important}
.data-table tbody tr{background:#fff !important;box-shadow:0 3px 12px rgba(19,52,73,.05) !important}
.data-table tbody td{border-block:1px solid #e1e8ed !important;padding:10px !important;vertical-align:middle !important;font-size:13px !important}
.data-table tbody td:first-child{border-inline-start:1px solid #e1e8ed !important;border-radius:0 13px 13px 0 !important}
.data-table tbody td:last-child{border-inline-end:1px solid #e1e8ed !important;border-radius:13px 0 0 13px !important}

/* Center financial / performance */
body[data-page="accounting-dashboard"] .accounting-workspace-nav{display:none !important}
body[data-page="accounting-dashboard"] .accounting-dashboard-grid{gap:14px !important}
body[data-page="accounting-dashboard"] .card{border:1px solid var(--v343-line) !important;border-radius:19px !important;box-shadow:var(--v343-card-shadow) !important}
body[data-page="employee-analysis"] #page-content .v286-module-head,body[data-page="employee-analysis"] #page-content .v286-module-tabs{display:none !important}
body[data-page="employee-analysis"] #page-content :is(.card,.analysis-card,.v286-panel){border-radius:19px !important;border:1px solid var(--v343-line) !important;box-shadow:var(--v343-card-shadow) !important}

/* ---------- Payroll / adjustments ---------- */
.v343-attendance-warning{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;margin:0 0 14px;padding:11px 13px;border:1px solid #ead49c;border-radius:15px;background:#fffaf0;color:#72551e;box-shadow:0 5px 16px rgba(130,91,17,.07)}
.v343-attendance-warning>span{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:#f0c96d;color:#523b10;font-weight:900}
.v343-attendance-warning b{display:block;font-size:13px}.v343-attendance-warning small{display:block;margin-top:3px;color:#8a6e36;font-size:11px}
.v343-attendance-warning button{height:36px !important;min-height:36px !important;border:1px solid #d9bc74;border-radius:10px;background:#fff;color:#72551e;padding:0 12px;font-weight:750}
.v338-payroll-kpis{grid-template-columns:repeat(auto-fit,minmax(170px,1fr)) !important;gap:10px !important;margin-bottom:16px !important}
.v338-payroll-kpis article,.v338-payroll-section{border:1px solid var(--v343-line) !important;border-radius:18px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important}
.v338-payroll-section{padding:15px !important;margin-bottom:15px !important}
.v338-payroll-run-row,.v338-settlement-row{border:1px solid #dce6ed !important;border-radius:16px !important;background:#fff !important;box-shadow:0 5px 15px rgba(16,51,75,.05) !important}
.v338-payroll-primary-action{height:38px !important;min-height:38px !important;border-radius:11px !important}
.v338-payroll-primary-action>span:last-child{font-size:11px !important}

.v343-payroll-detail-shell{display:grid;gap:13px}
.v343-payroll-person-list{display:grid;gap:9px}
.v343-payroll-person-card{border:1px solid #dce6ed;border-radius:17px;background:#fff;box-shadow:0 5px 17px rgba(15,48,69,.055);overflow:hidden}
.v343-payroll-person-card>summary{list-style:none;display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(3,minmax(120px,.8fr)) 82px 24px;align-items:center;gap:12px;padding:13px 14px;cursor:pointer}
.v343-payroll-person-card>summary::-webkit-details-marker{display:none}
.v343-payroll-person-card[open]>summary{background:#f7fafc;border-bottom:1px solid #e1e9ef}
.v343-payroll-person-card>summary>span:not(.v343-person-identity):not(.v343-chevron){display:flex;flex-direction:column;gap:3px}.v343-payroll-person-card>summary small{font-size:10.5px;color:#738596}.v343-payroll-person-card>summary b{font-size:13px;color:#183349}
.v343-person-identity{display:flex;align-items:center;gap:10px}.v343-person-identity>i{width:38px;height:38px;border-radius:13px;background:linear-gradient(145deg,#e8f3f9,#d5e8f2);display:grid;place-items:center;color:#1c5578;font-style:normal;font-weight:850}.v343-person-identity>span{display:flex;flex-direction:column;gap:3px}
.v343-net b{font-size:15px !important;color:#0f6b55 !important}.v343-net.is-negative b{color:#b13a3a !important}
.v343-card-state{justify-self:end;padding:6px 9px;border-radius:10px;background:#eef7f3;color:#26705b;font-size:10.5px;font-weight:800;display:block !important}.has-warning .v343-card-state{background:#fff7e7;color:#8b681e}.has-error .v343-card-state{background:#fff0f0;color:#9f3535}
.v343-chevron{font-size:17px;color:#6d8293;transition:.16s}.v343-payroll-person-card[open] .v343-chevron{transform:rotate(180deg)}
.v343-payroll-person-body{padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:13px;background:#fbfdfe}
.v343-payroll-person-body>section{border:1px solid #e1e9ef;border-radius:15px;background:#fff;padding:12px}.v343-payroll-person-body section>header{margin-bottom:10px}.v343-payroll-person-body h4{font-size:13px;margin:0;color:#183349}.v343-payroll-person-body header small{color:#7a8c9a;font-size:10.5px}
.v343-money-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:7px}.v343-money-grid>span{display:flex;flex-direction:column;gap:3px;padding:9px;border-radius:11px;background:#f4f9fb}.v343-money-grid.is-deduction>span{background:#fff7f5}.v343-money-grid small{font-size:10.5px;color:#6f8291}.v343-money-grid b{font-size:12px;color:#17364c}
.v343-adjustment-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 9px;border-radius:10px;margin-top:6px;background:#f1f9f6}.v343-adjustment-line.is-deduction{background:#fff4f2}.v343-adjustment-line span{display:flex;flex-direction:column;gap:2px}.v343-adjustment-line b{font-size:11px}.v343-adjustment-line small{font-size:10.5px;color:#778b99}.v343-adjustment-line strong{font-size:11px;color:#176a54}.v343-adjustment-line.is-deduction strong{color:#a7463c}.v343-adjustment-empty{font-size:11px;color:#7b8c99;padding:9px;background:#f7fafb;border-radius:10px}
.v343-payroll-person-body>footer{grid-column:1/-1;display:flex;justify-content:flex-end}.tiam-icon-only{border:1px solid #cbdbe6;background:#fff;color:#1f5678;border-radius:11px;font-size:18px}

body[data-page="adjustments"] #page-content :is(.filter-bar,.adjustment-filters,.v343-adjustment-filters){
  display:grid !important;
  grid-template-columns:minmax(220px,1.4fr) minmax(160px,.8fr) minmax(175px,.8fr) minmax(175px,.8fr) auto !important;
  align-items:end !important;
  gap:10px !important;
  padding:13px !important;
  border:1px solid var(--v343-line) !important;
  border-radius:17px !important;
  background:#fff !important;
  box-shadow:var(--v343-card-shadow) !important;
}
body[data-page="adjustments"] #page-content .v343-adjustment-filters>*{min-width:0}
body[data-page="adjustments"] #page-content .filter-actions{display:flex;align-items:end;gap:8px}

/* ---------- Dashboard ---------- */
.manager-activity-shell{display:grid;gap:15px}
.v343-dashboard-hero{position:relative;overflow:hidden;border-radius:23px;padding:20px;background:linear-gradient(135deg,#102f49 0%,#154b6e 58%,#0e6682 100%);color:#fff;box-shadow:0 20px 45px rgba(12,54,79,.19);display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:18px;align-items:center}
.v343-dashboard-hero::after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;left:-120px;top:-180px;background:radial-gradient(circle,rgba(255,255,255,.18),transparent 65%)}
.v343-dashboard-hero h1{margin:0;font-size:23px;color:#fff}.v343-dashboard-hero p{margin:7px 0 0;color:rgba(255,255,255,.72);font-size:12px;max-width:620px}.v343-dashboard-health{justify-self:end;min-width:230px;border:1px solid rgba(255,255,255,.2);border-radius:18px;padding:14px;background:rgba(255,255,255,.1);backdrop-filter:blur(12px)}.v343-dashboard-health small{display:block;color:rgba(255,255,255,.66)}.v343-dashboard-health b{display:block;margin-top:5px;font-size:20px}.v343-dashboard-health span{display:block;margin-top:5px;font-size:11px;color:rgba(255,255,255,.72)}
.tiam-summary-bar{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr)) !important;gap:10px !important}
.tiam-summary-bar .summary-item{border:1px solid var(--v343-line) !important;border-radius:18px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important;min-height:105px !important;padding:15px !important;display:flex !important;flex-direction:column !important;justify-content:center !important;gap:5px !important;position:relative;overflow:hidden}
.tiam-summary-bar .summary-item::before{content:"";position:absolute;inset-inline-start:0;top:17px;bottom:17px;width:3px;border-radius:3px;background:#3e83a8}.tiam-summary-bar .summary-item b{font-size:18px;color:#142f44}.tiam-summary-bar .summary-item small,.tiam-summary-bar .summary-item span{color:#6b7f90;font-size:11px}
.manager-decision-panel,.manager-activity-panel{border:1px solid var(--v343-line) !important;border-radius:20px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important;padding:16px !important}
.manager-decision-alerts{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) !important;gap:9px !important}.manager-decision-alert{border-radius:14px !important;border:1px solid #e1e8ed !important;background:#fbfdfe !important;min-height:66px !important;text-align:right !important}.manager-activity-row{border:1px solid #e1e9ef !important;border-radius:14px !important;margin-top:7px !important;background:#fff !important}

/* ---------- Print / URL hygiene ---------- */
@media print{
  a[href]::after{content:"" !important}
  .tiam-page-hero__actions,.v343-sidebar-utilities,.topbar,.sidebar,.modal-actions,.no-print{display:none !important}
}

@media (max-width:1100px){
  .v343-payroll-person-card>summary{grid-template-columns:minmax(180px,1.4fr) repeat(2,minmax(110px,.8fr)) 82px 24px}.v343-payroll-person-card>summary>span:nth-child(3){display:none !important}
  .v343-payroll-person-body{grid-template-columns:1fr}
  .v343-dashboard-hero{grid-template-columns:1fr}.v343-dashboard-health{justify-self:stretch}
  body[data-page="adjustments"] #page-content :is(.filter-bar,.adjustment-filters,.v343-adjustment-filters){grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width:760px){
  #page-content>.tiam-page-hero{grid-template-columns:auto minmax(0,1fr) !important}.tiam-page-hero__actions{grid-column:1/-1;justify-content:flex-start !important}
  .v343-payroll-person-card>summary{grid-template-columns:1fr auto}.v343-payroll-person-card>summary>span:not(.v343-person-identity):not(.v343-chevron){display:none !important}
  .v343-attendance-warning{grid-template-columns:36px 1fr}.v343-attendance-warning button{grid-column:1/-1;width:100%}
  body[data-page="adjustments"] #page-content :is(.filter-bar,.adjustment-filters,.v343-adjustment-filters){grid-template-columns:1fr !important}
}

/* v343 accessibility and visibility corrections */
.v343-sidebar-utility-row>button.hidden,.v343-sidebar-utility-row>button[hidden]{display:none !important}
.v343-sidebar-utility-row>button>b.hidden,.v343-sidebar-utility-row>button>b[hidden]{display:none !important}
.v343-utility-source-empty{display:none !important}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a)[data-v343-icon]::before{content:attr(data-v343-icon);font-size:20px !important;line-height:1 !important;font-weight:800}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a) svg{width:20px !important;height:20px !important;stroke:currentColor !important}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a):has(svg)::before{display:none}
.v343-financial-workspace{isolation:isolate}

/* Dashboard uses the single canonical page header as its live executive status. */
body[data-page="dashboard"] #page-content>.tiam-page-hero{min-height:118px !important;padding:20px 22px !important;grid-template-columns:58px minmax(0,1fr) minmax(250px,360px) !important}
body[data-page="dashboard"] #page-content>.tiam-page-hero .tiam-page-hero__copy h1{font-size:24px !important}
body[data-page="dashboard"] #page-content>.tiam-page-hero .tiam-page-hero__copy p{font-size:12px !important;max-width:620px}
body[data-page="dashboard"] #page-content>.tiam-page-hero .tiam-page-hero__actions{display:block !important}
body[data-page="dashboard"] .v343-dashboard-health{min-width:0;width:100%;border:1px solid rgba(255,255,255,.22);border-radius:18px;padding:12px 14px;background:rgba(255,255,255,.10);backdrop-filter:blur(12px);box-shadow:inset 0 1px rgba(255,255,255,.18)}
body[data-page="dashboard"] .v343-dashboard-health small{display:block;color:rgba(255,255,255,.66);font-size:10.5px}
body[data-page="dashboard"] .v343-dashboard-health b{display:block;margin-top:4px;color:#fff;font-size:17px}
body[data-page="dashboard"] .v343-dashboard-health span{display:block;margin-top:4px;color:rgba(255,255,255,.75);font-size:10.5px;line-height:1.65}
body[data-page="dashboard"] .v343-dashboard-health time{display:block;margin-top:5px;color:rgba(255,255,255,.52);font-size:10.5px;direction:ltr;text-align:left}
body[data-page="dashboard"] .v343-dashboard-health.is-critical{background:rgba(132,35,42,.30);border-color:rgba(255,190,190,.34)}
body[data-page="dashboard"] .v343-dashboard-health.is-warning{background:rgba(138,93,15,.25);border-color:rgba(255,221,148,.32)}
body[data-page="dashboard"] .v343-dashboard-health.is-positive{background:rgba(15,112,84,.28);border-color:rgba(170,244,217,.30)}
@media(max-width:900px){body[data-page="dashboard"] #page-content>.tiam-page-hero{grid-template-columns:50px minmax(0,1fr) !important}body[data-page="dashboard"] #page-content>.tiam-page-hero .tiam-page-hero__actions{grid-column:1/-1 !important}}

/* Context controls preserved after duplicate-title removal */
.v343-context-note{margin:-7px 0 15px;padding:9px 13px;border:1px solid #dfc987;border-radius:13px;background:#fff9e9;color:#76581c;font-size:11px;font-weight:750;box-shadow:0 4px 14px rgba(116,83,17,.06)}
.v343-view-switch{display:inline-flex;justify-self:start;gap:5px;margin:-7px 0 15px;padding:5px;border:1px solid var(--v343-line);border-radius:14px;background:#fff;box-shadow:var(--v343-card-shadow)}
.v343-view-switch button{height:36px !important;min-height:36px !important;border:0;border-radius:10px;padding:0 14px;background:transparent;color:#50677a;font-size:12px;font-weight:750}
.v343-view-switch button.active{background:#e9f3f8;color:#174c6b;box-shadow:inset 0 0 0 1px #c9dce7}

/* ---------- v343 financial operations: root component layer ---------- */
.v343-financial-period-filter,
body[data-page="accounting-dashboard"] .accounting-filter-panel{
  display:grid !important;grid-template-columns:minmax(170px,.8fr) minmax(170px,.8fr) auto auto !important;
  align-items:end !important;gap:10px !important;margin:0 0 14px !important;padding:13px !important;
  border:1px solid var(--v343-line) !important;border-radius:18px !important;background:rgba(255,255,255,.92) !important;
  box-shadow:var(--v343-card-shadow) !important;backdrop-filter:blur(14px);
}
body[data-page="accounting-dashboard"] .accounting-action-queue{
  display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:10px !important;margin:0 0 13px !important;
}
body[data-page="accounting-dashboard"] .accounting-action-queue>button{
  min-height:92px !important;height:auto !important;padding:13px !important;border:1px solid #d8e4ec !important;border-radius:18px !important;
  background:linear-gradient(145deg,#fff,#f5f9fb) !important;color:var(--v343-ink) !important;box-shadow:0 7px 20px rgba(21,55,78,.06) !important;
  display:grid !important;grid-template-columns:36px minmax(0,1fr) !important;grid-template-rows:auto auto !important;column-gap:10px !important;row-gap:3px !important;text-align:right !important;
}
body[data-page="accounting-dashboard"] .accounting-action-queue>button>span{grid-row:1/3;width:36px;height:36px;border-radius:12px;background:#e9f3f8;color:#1a5c80;display:grid;place-items:center;font-size:18px;font-weight:850}
body[data-page="accounting-dashboard"] .accounting-action-queue>button>b{font-size:12px;align-self:end}
body[data-page="accounting-dashboard"] .accounting-action-queue>button>small{font-size:10.5px;line-height:1.65;color:#708291;align-self:start}
body[data-page="accounting-dashboard"] .accounting-action-queue>button:hover{transform:translateY(-2px);border-color:#aec8d9 !important;box-shadow:0 13px 28px rgba(21,55,78,.11) !important}
body[data-page="accounting-dashboard"] .premium-kpis .kpi{min-height:118px !important;position:relative;overflow:hidden;padding:17px !important}
body[data-page="accounting-dashboard"] .premium-kpis .kpi::after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;inset-inline-end:-35px;top:-35px;background:rgba(31,101,139,.07)}
body[data-page="accounting-dashboard"] .premium-kpis .value{font-size:19px !important;letter-spacing:.1px}
body[data-page="accounting-dashboard"] .premium-card{padding:15px !important;background:rgba(255,255,255,.96) !important}
body[data-page="accounting-dashboard"] .premium-chart{min-height:300px;border-radius:14px;background:linear-gradient(180deg,#fbfdfe,#f3f8fa);padding:8px}

/* Accounting transaction entry */
.v343-accounting-entry-shell{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.65fr);gap:14px;align-items:start}
.v343-accounting-entry-form{padding:17px !important;border:1px solid var(--v343-line) !important;border-radius:21px !important;background:#fff !important;box-shadow:var(--v343-glow) !important}
.v343-accounting-entry-form .card-head{margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #e5edf2}
.v343-accounting-entry-form .form-grid{gap:12px !important}
.v343-accounting-entry-form .form-footer{display:flex;align-items:center;gap:8px;margin-top:15px;padding-top:13px;border-top:1px solid #e5edf2}
.v343-entry-guidance{display:grid;gap:12px;position:sticky;top:8px;padding:16px;border:1px solid #cfdee8;border-radius:21px;background:linear-gradient(155deg,#fafdff,#edf5f9);box-shadow:var(--v343-card-shadow)}
.v343-entry-guide-icon{width:48px;height:48px;border-radius:16px;background:linear-gradient(145deg,#164b6b,#0d6687);color:#fff;display:grid;place-items:center;font-size:20px;box-shadow:0 10px 22px rgba(15,78,108,.22)}
.v343-entry-guidance h3{margin:4px 0 8px;font-size:16px;color:#17364b}.v343-entry-guidance ul{margin:0;padding:0 18px 0 0;display:grid;gap:7px;color:#5d7181;font-size:11px;line-height:1.75}
.v343-entry-guidance .help-inline{margin:2px 0 0 !important;border:1px solid #ead9a9 !important;border-radius:14px !important;background:#fffaf0 !important;padding:11px !important;align-items:flex-start !important}
.v343-entry-preview{display:grid;gap:12px;padding:16px;border:1px solid #d6e3eb;border-radius:21px;background:#fff;box-shadow:var(--v343-card-shadow)}
.v343-entry-preview__head{display:flex;align-items:center;justify-content:space-between;gap:10px}.v343-entry-preview__head span{font-size:11px;color:#6c7f8f}.v343-entry-preview__head b{padding:5px 9px;border-radius:9px;background:#fff1ee;color:#a3483e;font-size:10.5px}
.v343-entry-preview.is-deposit .v343-entry-preview__head b{background:#edf8f3;color:#176b52}
.v343-entry-preview__amount{padding:13px;border-radius:15px;background:#f5f8fa}.v343-entry-preview__amount small{display:block;font-size:10.5px;color:#748695}.v343-entry-preview__amount strong{display:block;margin-top:4px;font-size:19px;color:#a53e36;direction:ltr;text-align:right}.v343-entry-preview.is-deposit .v343-entry-preview__amount strong{color:#126a50}.v343-entry-preview__amount em{font-size:10.5px;font-style:normal;color:#748695}
.v343-entry-preview dl{display:grid;gap:8px;margin:0}.v343-entry-preview dl>div{display:flex;justify-content:space-between;gap:12px;padding-bottom:7px;border-bottom:1px dashed #dce5eb}.v343-entry-preview dt{font-size:10.5px;color:#768896}.v343-entry-preview dd{margin:0;font-size:11px;font-weight:800;color:#213c50;text-align:left}.v343-entry-preview p{margin:0;font-size:10.5px;line-height:1.75;color:#7b8c99}

/* Accounting report */
.v343-accounting-report-filter{padding:13px !important;border-radius:19px !important;border:1px solid var(--v343-line) !important;box-shadow:var(--v343-card-shadow) !important}
.v343-accounting-report-filter .accounting-filter{display:grid !important;grid-template-columns:repeat(2,minmax(150px,.8fr)) repeat(4,minmax(145px,.75fr)) minmax(190px,1.2fr) auto !important;gap:9px !important}
.v343-accounting-report-result{margin-top:14px;display:grid;gap:12px}
.v343-accounting-report-result .summary-strip{grid-template-columns:repeat(4,minmax(0,1fr)) !important}.v343-accounting-report-result .summary-box{min-height:92px;border:1px solid #dce6ed;border-radius:16px;background:#fff;box-shadow:var(--v343-card-shadow);display:flex;flex-direction:column;justify-content:center;padding:14px}
.v343-accounting-report-result .summary-box small{font-size:10.5px;color:#748695}.v343-accounting-report-result .summary-box b{margin-top:5px;font-size:15px;color:#19394f}
.v343-accounting-report-result .v328-accounting-report-card{padding:15px !important;border-radius:20px !important;border:1px solid var(--v343-line) !important;box-shadow:var(--v343-card-shadow) !important}

/* Allocation control center */
body[data-page="accounting-allocation"] .allocation-workspace{padding:16px !important;border:1px solid var(--v343-line) !important;border-radius:22px !important;background:linear-gradient(150deg,#fff,#f3f8fa) !important;box-shadow:var(--v343-glow) !important}
body[data-page="accounting-allocation"] .allocation-topbar{display:grid !important;grid-template-columns:minmax(260px,1fr) minmax(220px,.45fr) !important;gap:12px !important;align-items:end !important;padding-bottom:14px !important;border-bottom:1px solid #dce6ed !important}
body[data-page="accounting-allocation"] .allocation-total{min-height:73px !important;border-radius:16px !important;background:#123b5a !important;color:#fff !important;padding:12px 15px !important;display:flex !important;flex-direction:column !important;justify-content:center !important}
body[data-page="accounting-allocation"] .allocation-product-grid{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:11px !important;margin-top:14px !important}
body[data-page="accounting-allocation"] .allocation-product{border:1px solid #d9e4eb !important;border-radius:18px !important;background:#fff !important;padding:14px !important;box-shadow:0 6px 18px rgba(18,53,75,.055) !important}
body[data-page="accounting-allocation"] .allocation-product .product-icon{width:38px;height:38px;border-radius:13px;background:#e9f3f8;color:#185978;display:grid;place-items:center}
body[data-page="accounting-allocation"] .allocation-footer{display:grid !important;grid-template-columns:minmax(220px,1fr) auto auto !important;gap:9px !important;align-items:end !important;margin-top:14px !important;padding-top:14px !important;border-top:1px solid #dce6ed !important}
body[data-page="accounting-allocation"] .preview-placeholder{min-height:220px;border:1px dashed #bfd1dd;border-radius:20px;background:rgba(255,255,255,.72);display:grid;place-content:center;justify-items:center;text-align:center;padding:26px;color:#647989}
body[data-page="accounting-allocation"] .legacy-allocation{border:1px solid #d9e4eb;border-radius:17px;background:#fff;overflow:hidden}body[data-page="accounting-allocation"] .legacy-allocation>summary{padding:13px 15px;cursor:pointer;font-weight:800;color:#31536a}

/* Financial module pages share one visual language */
:is(.fr-filters,.fp-filters,.cl-report-filters,.cl-filters,.aj-filters,.al-filter-panel,.al-ledger-filter,.fs-filters,.aging-filters,.cp-filter-grid){
  padding:12px !important;border:1px solid var(--v343-line) !important;border-radius:17px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important;gap:9px !important;
}
:is(.fr-list-head,.fp-list-head,.cl-list-head,.aj-list-head,.aging-table-head){padding:0 10px 6px !important;color:#65798a !important;font-size:10.5px !important;font-weight:800 !important}
:is(.fr-row,.fp-row,.cl-row,.aj-row){min-height:64px !important;padding:10px 12px !important}
:is(.fr-state,.fp-state,.cl-empty,.al-empty,.fs-empty,.cp-empty,.aging-loading,.aging-error){border:1px dashed #cad9e3 !important;border-radius:17px !important;background:#fbfdfe !important;color:#687c8c !important}
:is(.cl-panel,.cl-report-panel,.cl-forecast-panel,.cl-topup-panel,.aj-panel,.al-report-card,.fs-report-card,.ap-card,.cp-directory,.cp-profile-head,.aging-party-ranking,.aging-report-card){border:1px solid var(--v343-line) !important;border-radius:20px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important;padding:15px !important}
:is(.cl-panel-head,.aj-panel-head,.al-report-head,.fs-report-head,.ap-card-head,.cp-card-head,.cp-tab-head){padding-bottom:11px !important;margin-bottom:11px !important;border-bottom:1px solid #e5edf2 !important}
:is(.fr-stats,.fp-stats,.cl-stats,.aj-stats,.al-summary,.fs-summary,.cp-kpis,.aging-kpis)>*{min-height:96px !important;display:flex !important;flex-direction:column !important;justify-content:center !important}

/* Journal, ledger, trial balance and statements */
body[data-page="accounting-journal"] :is(.aj-reconciliation,.aj-migration){border:1px solid var(--v343-line);border-radius:20px;background:#fff;box-shadow:var(--v343-card-shadow);padding:15px}
body[data-page="accounting-journal"] .aj-recon-summary{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) !important;gap:9px !important}
body[data-page="accounting-journal"] .aj-recon-row{border-bottom:1px solid #e5edf2 !important;padding:9px !important}
body[data-page="accounting-ledger"] .al-tabs,body[data-page="financial-statements"] .fs-tabs{display:inline-flex !important;gap:5px !important;padding:5px !important;border:1px solid var(--v343-line) !important;border-radius:15px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important}
body[data-page="accounting-ledger"] .al-tabs button,body[data-page="financial-statements"] .fs-tabs button{height:37px !important;min-height:37px !important;border:0 !important;border-radius:10px !important;background:transparent !important;padding:0 14px !important;color:#5b7182 !important;font-weight:800 !important}
body[data-page="accounting-ledger"] .al-tabs button.active,body[data-page="financial-statements"] .fs-tabs button.active{background:#e9f3f8 !important;color:#164f70 !important}
:is(.al-trial-row,.fs-statement-row,.fs-balance-row){border-bottom:1px solid #e5edf2 !important;min-height:43px !important}
:is(.al-trial-row.head,.fs-statement-row.head){background:#edf4f8 !important;border-radius:12px !important;color:#405b6d !important;font-weight:850 !important}
:is(.al-trial-row.total,.fs-statement-row.total,.fs-statement-row.grand){background:#f2f7f9 !important;font-weight:900 !important;border-radius:11px !important}

/* Period close and counterparties */
body[data-page="accounting-periods"] .ap-toolbar{display:grid !important;grid-template-columns:minmax(180px,1fr) auto auto !important;align-items:end !important;gap:9px !important;padding:12px !important;border:1px solid var(--v343-line) !important;border-radius:17px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important}
body[data-page="accounting-periods"] .ap-grid{display:grid !important;grid-template-columns:minmax(250px,.65fr) minmax(0,1.35fr) !important;gap:13px !important}
body[data-page="accounting-periods"] .ap-checks{display:grid !important;gap:7px !important}.ap-checks>*{padding:9px;border-radius:11px;background:#f5f8fa}
body[data-page="counterparties"] .cp-master-detail{display:grid !important;grid-template-columns:minmax(285px,.72fr) minmax(0,1.28fr) !important;gap:13px !important;align-items:start !important}
body[data-page="counterparties"] .cp-party-list{display:grid !important;gap:7px !important}.cp-party-row{border:1px solid #e0e8ee !important;border-radius:14px !important;background:#fff !important;padding:10px !important}.cp-party-row.active{border-color:#6fa1bc !important;background:#edf6fa !important;box-shadow:0 0 0 3px rgba(50,123,163,.09) !important}
body[data-page="counterparties"] .cp-profile-kpis{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr)) !important;gap:9px !important}
body[data-page="counterparties"] .aging-bucket-grid{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:8px !important}.aging-bucket-card{border:1px solid #dfe8ee !important;border-radius:15px !important;background:#fff !important;padding:12px !important}

/* Reconciliation as a finance-grade comparison workspace */
body[data-page="reconciliation"] #page-content{background:linear-gradient(180deg,#f7f9fb,#eef4f7) !important}
body[data-page="reconciliation"] :is(.rec-report-kpis,.rec-report-summary,.rec-summary-grid){display:grid !important;grid-template-columns:repeat(auto-fit,minmax(165px,1fr)) !important;gap:9px !important}
body[data-page="reconciliation"] :is(.rec-report-kpi-card,.rec-summary-card,.rec-upload-card,.rec-workspace-card,.rec-case-card){border:1px solid var(--v343-line) !important;border-radius:18px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important}
body[data-page="reconciliation"] .rec-source-columns{display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px !important}.rec-source-card{border:1px solid #dfe7ed !important;border-radius:15px !important;padding:12px !important;background:#fbfdfe !important}.rec-source-card.bank{background:#f1f8f5 !important}.rec-source-card.seller{background:#f5f8fb !important}
body[data-page="reconciliation"] .rec-case-drawer{box-shadow:-28px 0 65px rgba(6,31,49,.24) !important}

/* Employee performance center */
body[data-page="employee-analysis"] #page-content{background:linear-gradient(180deg,#f5f8fa,#edf3f6) !important}
body[data-page="employee-analysis"] .analysis-filter{display:grid !important;grid-template-columns:repeat(2,minmax(190px,1fr)) repeat(2,minmax(165px,.8fr)) auto !important;gap:9px !important;align-items:end !important}
body[data-page="employee-analysis"] .analysis-filter-note{margin-top:11px;padding:10px 12px;border-radius:13px;background:#eef5f8;color:#5a7182;font-size:10.5px;line-height:1.75}
body[data-page="employee-analysis"] .analysis-summary-card{display:grid !important;grid-template-columns:170px minmax(0,1fr) !important;gap:18px !important;align-items:center !important;padding:19px !important;border-radius:22px !important;background:linear-gradient(140deg,#103650,#165776) !important;color:#fff !important;box-shadow:0 18px 40px rgba(14,57,82,.18) !important}
body[data-page="employee-analysis"] .analysis-summary-card h3{font-size:21px !important;color:#fff !important;margin:4px 0 !important}body[data-page="employee-analysis"] .analysis-summary-card p{color:rgba(255,255,255,.76) !important;line-height:1.85 !important}
body[data-page="employee-analysis"] .analysis-score{width:145px;height:145px;border-radius:50%;display:grid !important;place-content:center !important;text-align:center !important;background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.2),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.25);box-shadow:inset 0 0 0 8px rgba(255,255,255,.05)}
body[data-page="employee-analysis"] .analysis-score strong{font-size:37px !important;color:#fff !important}body[data-page="employee-analysis"] .analysis-score span,body[data-page="employee-analysis"] .analysis-score b{color:rgba(255,255,255,.78) !important}
body[data-page="employee-analysis"] .management-decision{margin-top:10px;padding:10px 12px;border:1px solid rgba(255,255,255,.17);border-radius:13px;background:rgba(255,255,255,.08)}
body[data-page="employee-analysis"] .analysis-kpis{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important}.analysis-kpis .kpi{min-height:112px !important;padding:14px !important;border-radius:17px !important}.analysis-kpis .kpi span{font-size:10.5px;color:#6c8191}.analysis-kpis .kpi b{font-size:16px;color:#18374d;margin-top:6px}
body[data-page="employee-analysis"] :is(.analysis-components,.risk-card,.analysis-findings>.card,.analysis-attendance){padding:15px !important}
body[data-page="employee-analysis"] .analysis-findings>.card{position:relative;overflow:hidden}.analysis-findings>.card::before{content:"";position:absolute;inset-inline-start:0;top:16px;bottom:16px;width:3px;border-radius:3px;background:#347f9e}.analysis-findings>.card:nth-child(2)::before{background:#d49b35}.analysis-findings>.card:nth-child(3)::before{background:#5b8298}

/* Settings subpages after root removal of their second header */
body[data-page="settings"] .settings-section-shell,body[data-page="accounting-settings"] #page-content{display:grid;gap:14px}
body[data-page="settings"] .settings-section-content,body[data-page="settings"] :is(.users-list-card,.audit-list-card,.audit-filter-card),body[data-page="accounting-settings"] .card{border:1px solid var(--v343-line) !important;border-radius:19px !important;background:#fff !important;box-shadow:var(--v343-card-shadow) !important}
body[data-page="settings"] :is(.users-summary-grid,.audit-summary-grid){display:grid !important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr)) !important;gap:9px !important}.users-summary-card,.audit-summary-grid>div{min-height:90px;border:1px solid #dfe7ed;border-radius:16px;background:#fff;box-shadow:var(--v343-card-shadow);padding:14px;display:flex;flex-direction:column;justify-content:center}

/* Root responsive behavior for finance workspaces */
@media(max-width:1260px){
  .v343-accounting-report-filter .accounting-filter{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
  body[data-page="accounting-dashboard"] .accounting-action-queue{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  body[data-page="accounting-allocation"] .allocation-product-grid{grid-template-columns:1fr 1fr !important}
  body[data-page="counterparties"] .aging-bucket-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:980px){
  .v343-accounting-entry-shell{grid-template-columns:1fr}.v343-entry-guidance{position:static;grid-template-columns:auto 1fr}.v343-entry-guidance .help-inline{grid-column:1/-1}
  body[data-page="accounting-periods"] .ap-grid,body[data-page="counterparties"] .cp-master-detail{grid-template-columns:1fr !important}
  body[data-page="employee-analysis"] .analysis-filter{grid-template-columns:repeat(2,minmax(0,1fr)) !important}.analysis-filter>button{width:100%}
  body[data-page="employee-analysis"] .analysis-kpis{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  body[data-page="reconciliation"] .rec-source-columns{grid-template-columns:1fr !important}
}
@media(max-width:760px){
  .v343-financial-period-filter,body[data-page="accounting-dashboard"] .accounting-filter-panel,.v343-accounting-report-filter .accounting-filter{grid-template-columns:1fr !important}
  body[data-page="accounting-dashboard"] .accounting-action-queue{grid-template-columns:1fr !important}
  body[data-page="accounting-allocation"] .allocation-topbar,body[data-page="accounting-allocation"] .allocation-product-grid,body[data-page="accounting-allocation"] .allocation-footer{grid-template-columns:1fr !important}
  .v343-accounting-report-result .summary-strip{grid-template-columns:1fr 1fr !important}
  body[data-page="employee-analysis"] .analysis-summary-card{grid-template-columns:1fr !important;text-align:center}.analysis-score{margin:auto}
  body[data-page="employee-analysis"] .analysis-filter,body[data-page="employee-analysis"] .analysis-kpis{grid-template-columns:1fr !important}
  body[data-page="counterparties"] .aging-bucket-grid{grid-template-columns:1fr 1fr !important}
  body[data-page="accounting-periods"] .ap-toolbar{grid-template-columns:1fr !important}
}

/* ---------- v343 live financial pulse ---------- */
body[data-page="dashboard"] .v343-financial-pulse{border:1px solid var(--v343-line);border-radius:20px;background:linear-gradient(155deg,#fff,#f7fafc);box-shadow:var(--v343-card-shadow);padding:16px;overflow:hidden}
body[data-page="dashboard"] .v343-financial-pulse>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
body[data-page="dashboard"] .v343-financial-pulse>header small{display:block;color:#6d8091;font-size:10.5px;font-weight:800}
body[data-page="dashboard"] .v343-financial-pulse>header h2{margin:3px 0 0;color:#102f49;font-size:17px}
body[data-page="dashboard"] .v343-financial-pulse>header button{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;border:1px solid #d7e2ea!important;border-radius:13px!important;background:#fff!important;color:#17486b!important;box-shadow:0 6px 16px rgba(16,53,78,.08)!important}
body[data-page="dashboard"] .v343-financial-pulse>header button svg{width:20px;height:20px;stroke:currentColor;fill:none}
body[data-page="dashboard"] .v343-pulse-body{display:grid;grid-template-columns:minmax(280px,.86fr) minmax(320px,1.14fr);gap:20px;align-items:stretch}
body[data-page="dashboard"] .v343-pulse-metrics{display:grid;gap:10px}
body[data-page="dashboard"] .v343-pulse-metrics article{display:grid;gap:7px;padding:10px 12px;border:1px solid #e1e9ef;border-radius:14px;background:rgba(255,255,255,.86)}
body[data-page="dashboard"] .v343-pulse-metrics article>span{display:flex;align-items:center;justify-content:space-between;gap:12px}
body[data-page="dashboard"] .v343-pulse-metrics b{color:#50687b;font-size:11px}body[data-page="dashboard"] .v343-pulse-metrics strong{color:#163b57;font-size:13px}
body[data-page="dashboard"] .v343-pulse-metrics article>i{display:block;height:7px;border-radius:8px;background:#e9f0f4;overflow:hidden}
body[data-page="dashboard"] .v343-pulse-metrics article>i>em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#286e97,#35a5bd);transition:width .45s ease}
body[data-page="dashboard"] .v343-pulse-metrics article:nth-child(2)>i>em{background:linear-gradient(90deg,#a77137,#e0ae56)}
body[data-page="dashboard"] .v343-pulse-metrics article.is-positive>i>em{background:linear-gradient(90deg,#167457,#42b58d)}
body[data-page="dashboard"] .v343-pulse-metrics article.is-negative>i>em{background:linear-gradient(90deg,#9f3e47,#df6f73)}
body[data-page="dashboard"] .v343-pulse-timeline{min-height:142px;display:flex;align-items:stretch;justify-content:flex-start;gap:10px;padding:12px 10px 4px;border:1px solid #e1e9ef;border-radius:15px;background:rgba(255,255,255,.7);direction:ltr;overflow-x:auto}
body[data-page="dashboard"] .v343-pulse-month{flex:1 0 42px;max-width:72px;display:grid;grid-template-rows:1fr auto;gap:7px;min-height:115px}
body[data-page="dashboard"] .v343-pulse-month>div{display:flex;align-items:flex-end;justify-content:center;gap:4px;border-bottom:1px solid #dce6ed}
body[data-page="dashboard"] .v343-pulse-month i,body[data-page="dashboard"] .v343-pulse-month em{display:block;width:10px;min-height:0;border-radius:6px 6px 2px 2px;background:#2386a4;transition:height .4s ease}
body[data-page="dashboard"] .v343-pulse-month em{background:#d7a64e}
body[data-page="dashboard"] .v343-pulse-month small{text-align:center;color:#6e8190;font-size:10.5px;white-space:nowrap}
body[data-page="dashboard"] .v343-pulse-empty{min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #cfdae2;border-radius:15px;background:rgba(255,255,255,.62);padding:18px}
body[data-page="dashboard"] .v343-pulse-empty b{color:#35546a;font-size:12px}body[data-page="dashboard"] .v343-pulse-empty span{max-width:440px;margin-top:5px;color:#778a99;font-size:10.5px;line-height:1.8}
@media(max-width:980px){body[data-page="dashboard"] .v343-pulse-body{grid-template-columns:1fr}}
@media(max-width:620px){body[data-page="dashboard"] .v343-financial-pulse{padding:13px}body[data-page="dashboard"] .v343-pulse-metrics article>span{align-items:flex-start;flex-direction:column;gap:3px}}

/* ===== SOURCE: reconciliation-workspace-v344.css | sha256:79621a343afa3de414a28bd8ee66e942f58161a415fc7a1fe24502d72a336f93 ===== */
/* TIAM v344 — Reconciliation workspace redesign
   Visual-only redesign. Backend matching and financial rules are unchanged. */

body[data-page="reconciliation"]{
  --rec-navy:#0b2948;
  --rec-navy-2:#123b62;
  --rec-blue:#2167a5;
  --rec-blue-soft:#eaf3fb;
  --rec-border:#d9e4ee;
  --rec-border-strong:#c6d5e3;
  --rec-surface:#ffffff;
  --rec-canvas:#f3f7fa;
  --rec-text:#102a43;
  --rec-muted:#64788a;
  --rec-green:#17845b;
  --rec-green-soft:#e8f7f0;
  --rec-amber:#a96300;
  --rec-amber-soft:#fff5df;
  --rec-red:#b63d43;
  --rec-red-soft:#fff0f1;
  --rec-purple:#7450a3;
  --rec-purple-soft:#f3edf9;
  --rec-shadow:0 12px 32px rgba(15,52,84,.08);
  --rec-shadow-hover:0 18px 42px rgba(15,52,84,.14);
}

body[data-page="reconciliation"] .page-content{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  background:var(--rec-canvas)!important;
}
body[data-page="reconciliation"] #page-content{
  padding:14px 16px 34px!important;
}
body[data-page="reconciliation"] .reconciliation-report-page{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  container-type:inline-size;
  container-name:reconciliationPage;
}

/* Hero */
body[data-page="reconciliation"] #page-content>.rec-report-hero{
  min-height:112px!important;
  margin:0 0 12px!important;
  padding:18px 20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:18px!important;
  background:linear-gradient(124deg,#082742 0%,#123e65 62%,#1c5d8d 100%)!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(7,37,64,.19)!important;
  overflow:visible!important;
}











body[data-page="reconciliation"] .rec-header-icon-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  overflow:visible!important;
  position:relative!important;
  z-index:30!important;
}
body[data-page="reconciliation"] .rec-head-action{
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:7px 11px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:800!important;
  text-decoration:none!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
body[data-page="reconciliation"] .rec-head-action:hover{background:rgba(255,255,255,.18)!important;transform:translateY(-1px)!important;}
body[data-page="reconciliation"] .rec-head-action svg{width:17px!important;height:17px!important;stroke:currentColor!important;}
body[data-page="reconciliation"] .rec-head-primary{
  border-color:#fff!important;
  background:#fff!important;
  color:var(--rec-navy)!important;
}
body[data-page="reconciliation"] .rec-head-primary:hover{background:#eef6fc!important;}
body[data-page="reconciliation"] .rec-header-operations{position:relative!important;z-index:70!important;}
body[data-page="reconciliation"] .rec-header-operations>summary{list-style:none!important;}
body[data-page="reconciliation"] .rec-header-operations>summary::-webkit-details-marker{display:none!important;}
body[data-page="reconciliation"] .rec-header-action-menu{
  top:calc(100% + 8px)!important;
  left:0!important;
  right:auto!important;
  min-width:230px!important;
  border:1px solid var(--rec-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 18px 40px rgba(9,39,67,.20)!important;
  overflow:hidden!important;
}
body[data-page="reconciliation"] .rec-header-action-menu :is(a,button){color:var(--rec-text)!important;background:#fff!important;}
body[data-page="reconciliation"] .rec-header-action-menu :is(a,button):hover{background:#f1f6fa!important;}
body[data-page="reconciliation"] .rec-header-action-menu hr{height:1px!important;margin:4px 0!important;border:0!important;background:var(--rec-border)!important;}
body[data-page="reconciliation"] .rec-header-action-menu .rec-action-danger{color:var(--rec-red)!important;}

/* Workflow */
body[data-page="reconciliation"] .rec-workflow{
  display:grid!important;
  grid-template-columns:minmax(130px,1fr) 42px minmax(130px,1fr) 42px minmax(130px,1fr) 42px minmax(130px,1fr)!important;
  align-items:center!important;
  gap:0!important;
  padding:12px 16px!important;
  border:1px solid var(--rec-border)!important;
  border-radius:15px!important;
  background:var(--rec-surface)!important;
  box-shadow:0 5px 18px rgba(15,52,84,.05)!important;
}
body[data-page="reconciliation"] .rec-workflow>div{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:9px!important;
  align-items:center!important;
  padding:4px!important;
}
body[data-page="reconciliation"] .rec-workflow>div>span{
  grid-row:1/3!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid var(--rec-border-strong)!important;
  border-radius:50%!important;
  background:#f4f7fa!important;
  color:#73879a!important;
  font-size:12px!important;
  font-weight:900!important;
}
body[data-page="reconciliation"] .rec-workflow>div>b{color:var(--rec-text)!important;font-size:11.5px!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body[data-page="reconciliation"] .rec-workflow>div>small{color:var(--rec-muted)!important;font-size:10.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body[data-page="reconciliation"] .rec-workflow>i{height:2px!important;background:#dce5ed!important;}
body[data-page="reconciliation"] .rec-workflow>div.is-done>span{border-color:#b8e1d0!important;background:var(--rec-green-soft)!important;color:var(--rec-green)!important;}
body[data-page="reconciliation"] .rec-workflow>div.is-active>span{border-color:var(--rec-blue)!important;background:var(--rec-blue)!important;color:#fff!important;box-shadow:0 0 0 4px rgba(33,103,165,.12)!important;}
body[data-page="reconciliation"] .rec-workflow>div.is-active>b{color:var(--rec-blue)!important;}
body[data-page="reconciliation"] .rec-workflow>i.is-done{background:#8fcbb4!important;}

/* KPI strip */
body[data-page="reconciliation"] .rec-report-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
body[data-page="reconciliation"] .rec-report-kpi-card{
  min-height:84px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:12px!important;
  border:1px solid var(--rec-border)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--rec-text)!important;
  text-align:right!important;
  box-shadow:0 5px 16px rgba(15,52,84,.05)!important;
  cursor:pointer!important;
  opacity:1!important;
}
body[data-page="reconciliation"] .rec-report-kpi-card:not(:disabled):hover{border-color:#a9c2d7!important;box-shadow:var(--rec-shadow)!important;transform:translateY(-2px)!important;}
body[data-page="reconciliation"] .rec-report-kpi-card:disabled{cursor:default!important;}
body[data-page="reconciliation"] .rec-report-kpi-icon{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#edf3f8!important;
  color:var(--rec-navy)!important;
}
body[data-page="reconciliation"] .rec-report-kpi-icon svg{width:21px!important;height:21px!important;stroke:currentColor!important;}
body[data-page="reconciliation"] .rec-report-kpi-copy{display:grid!important;min-width:0!important;}
body[data-page="reconciliation"] .rec-report-kpi-copy small{color:var(--rec-muted)!important;font-size:10.5px!important;font-weight:750!important;}
body[data-page="reconciliation"] .rec-report-kpi-copy b{color:var(--rec-text)!important;font-size:23px!important;font-weight:900!important;line-height:1.3!important;}
body[data-page="reconciliation"] .rec-report-kpi-copy em{color:#7d8f9e!important;font-size:10.5px!important;font-style:normal!important;}
body[data-page="reconciliation"] .rec-report-kpi-card>strong{display:block!important;color:var(--rec-text)!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important;}
body[data-page="reconciliation"] .rec-report-kpi-card>strong small{font-size:10.5px!important;color:var(--rec-muted)!important;}
body[data-page="reconciliation"] .rec-kpi-ready .rec-report-kpi-icon{background:var(--rec-green-soft)!important;color:var(--rec-green)!important;}
body[data-page="reconciliation"] .rec-kpi-review .rec-report-kpi-icon{background:var(--rec-amber-soft)!important;color:var(--rec-amber)!important;}
body[data-page="reconciliation"] .rec-kpi-waiting .rec-report-kpi-icon{background:var(--rec-purple-soft)!important;color:var(--rec-purple)!important;}

/* Batch strip */
body[data-page="reconciliation"] .rec-batch-meta{
  display:grid!important;
  grid-template-columns:.55fr 1.4fr .9fr 1fr!important;
  gap:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid var(--rec-border)!important;
  border-radius:13px!important;
  background:#fff!important;
}
body[data-page="reconciliation"] .rec-batch-meta>div{min-width:0!important;padding:10px 13px!important;border-left:1px solid #e8eef3!important;}
body[data-page="reconciliation"] .rec-batch-meta>div:last-child{border-left:0!important;}
body[data-page="reconciliation"] .rec-batch-meta span{display:block!important;margin:0 0 3px!important;color:var(--rec-muted)!important;font-size:10.5px!important;font-weight:750!important;}
body[data-page="reconciliation"] .rec-batch-meta b{display:block!important;color:var(--rec-text)!important;font-size:11px!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}

/* Workspace */
body[data-page="reconciliation"] .rec-report-list-card{
  position:relative!important;
  padding-bottom:12px!important;
  overflow:visible!important;
  border:1px solid var(--rec-border)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:var(--rec-shadow)!important;
}
body[data-page="reconciliation"] .rec-report-section-head{
  min-height:68px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  padding:12px 14px!important;
  border-bottom:1px solid var(--rec-border)!important;
  background:#fbfdff!important;
  border-radius:16px 16px 0 0!important;
}
body[data-page="reconciliation"] .rec-report-section-head>span:first-child{
  width:40px!important;height:40px!important;display:grid!important;place-items:center!important;
  border-radius:11px!important;background:var(--rec-blue-soft)!important;color:var(--rec-blue)!important;
}
body[data-page="reconciliation"] .rec-report-section-head>span:first-child svg{width:20px!important;height:20px!important;}
body[data-page="reconciliation"] .rec-report-section-head>div:nth-child(2){display:grid!important;gap:1px!important;min-width:0!important;}
body[data-page="reconciliation"] .rec-report-section-head>div:nth-child(2)>b{color:var(--rec-text)!important;font-size:14px!important;font-weight:900!important;}
body[data-page="reconciliation"] .rec-report-section-head>div:nth-child(2)>small{color:var(--rec-muted)!important;font-size:10.5px!important;line-height:1.6!important;}
body[data-page="reconciliation"] .rec-report-section-actions{margin-right:auto!important;}
body[data-page="reconciliation"] .rec-workspace-export,
body[data-page="reconciliation"] .rec-group-secondary,
body[data-page="reconciliation"] .rec-group-export-button{
  min-height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  padding:6px 10px!important;border:1px solid var(--rec-border-strong)!important;border-radius:9px!important;background:#fff!important;color:var(--rec-navy)!important;font-size:10.5px!important;font-weight:800!important;cursor:pointer!important;
}
body[data-page="reconciliation"] :is(.rec-workspace-export,.rec-group-secondary,.rec-group-export-button):hover{background:#eef5fa!important;border-color:#9ebbd0!important;}
body[data-page="reconciliation"] :is(.rec-workspace-export,.rec-group-secondary,.rec-group-export-button) svg{width:15px!important;height:15px!important;}
body[data-page="reconciliation"] .rec-controls{display:grid!important;grid-template-columns:minmax(260px,1fr) auto!important;gap:12px!important;align-items:center!important;padding:12px 14px!important;border-bottom:1px solid #e8eef3!important;}
body[data-page="reconciliation"] .rec-report-search{display:flex!important;align-items:center!important;gap:9px!important;padding:0!important;min-width:0!important;}
body[data-page="reconciliation"] .rec-search-input-shell{
  min-width:0!important;flex:1!important;height:40px!important;display:flex!important;align-items:center!important;gap:8px!important;
  padding:0 11px!important;border:1px solid var(--rec-border-strong)!important;border-radius:10px!important;background:#fff!important;color:#6f8495!important;
}
body[data-page="reconciliation"] .rec-search-input-shell:focus-within{border-color:#6e9fc4!important;box-shadow:0 0 0 3px rgba(33,103,165,.10)!important;}
body[data-page="reconciliation"] .rec-search-input-shell svg{width:17px!important;height:17px!important;flex:0 0 auto!important;}
body[data-page="reconciliation"] .rec-search-input-shell input{width:100%!important;height:100%!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;color:var(--rec-text)!important;font-size:11px!important;}
body[data-page="reconciliation"] .rec-search-result{min-width:112px!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 9px!important;border:1px solid var(--rec-border)!important;border-radius:10px!important;background:#f7fafc!important;color:var(--rec-muted)!important;font-size:10.5px!important;}
body[data-page="reconciliation"] .rec-search-result b{margin-left:3px!important;color:var(--rec-text)!important;font-size:12px!important;}
body[data-page="reconciliation"] .rec-view-filters{display:flex!important;align-items:center!important;gap:5px!important;padding:4px!important;border:1px solid var(--rec-border)!important;border-radius:11px!important;background:#f2f6f9!important;}
body[data-page="reconciliation"] .rec-view-filter{
  min-height:32px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:5px 9px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#5f7487!important;font-size:10.5px!important;font-weight:800!important;cursor:pointer!important;white-space:nowrap!important;
}
body[data-page="reconciliation"] .rec-view-filter b{min-width:20px!important;height:20px!important;display:grid!important;place-items:center!important;padding:0 5px!important;border-radius:999px!important;background:#e3ebf1!important;color:#52697d!important;font-size:10.5px!important;}
body[data-page="reconciliation"] .rec-view-filter:hover{background:#fff!important;}
body[data-page="reconciliation"] .rec-view-filter.is-active{background:var(--rec-navy)!important;color:#fff!important;box-shadow:0 4px 10px rgba(11,41,72,.16)!important;}
body[data-page="reconciliation"] .rec-view-filter.is-active b{background:rgba(255,255,255,.17)!important;color:#fff!important;}
body[data-page="reconciliation"] .rec-status-list{display:grid!important;gap:12px!important;padding:12px!important;}

/* Status groups */
body[data-page="reconciliation"] .rec-work-group{
  overflow:visible!important;
  border:1px solid var(--rec-border)!important;
  border-radius:14px!important;
  background:#f9fbfd!important;
}
body[data-page="reconciliation"] .rec-work-group.rec-group-filtered-empty{display:none!important;}
body[data-page="reconciliation"] .rec-work-group-head{
  min-height:60px!important;display:grid!important;grid-template-columns:minmax(220px,1fr) auto auto!important;align-items:center!important;gap:14px!important;padding:10px 12px!important;border-bottom:1px solid var(--rec-border)!important;background:#fff!important;border-radius:14px 14px 0 0!important;
}
body[data-page="reconciliation"] .rec-group-title{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;}
body[data-page="reconciliation"] .rec-group-indicator{width:9px!important;height:38px!important;flex:0 0 9px!important;border-radius:999px!important;background:#8498a9!important;}
body[data-page="reconciliation"] .rec-tone-green .rec-group-indicator{background:var(--rec-green)!important;}
body[data-page="reconciliation"] .rec-tone-amber .rec-group-indicator{background:#d99727!important;}
body[data-page="reconciliation"] .rec-tone-purple .rec-group-indicator{background:var(--rec-purple)!important;}
body[data-page="reconciliation"] .rec-group-title>div{display:grid!important;gap:2px!important;min-width:0!important;}
body[data-page="reconciliation"] .rec-group-title b{color:var(--rec-text)!important;font-size:12.5px!important;font-weight:900!important;}
body[data-page="reconciliation"] .rec-group-title small{color:var(--rec-muted)!important;font-size:10.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body[data-page="reconciliation"] .rec-group-stats{display:flex!important;align-items:center!important;gap:7px!important;}
body[data-page="reconciliation"] .rec-group-stats>span{min-height:31px!important;display:inline-flex!important;align-items:center!important;gap:4px!important;padding:4px 8px!important;border:1px solid #e0e8ef!important;border-radius:8px!important;background:#f6f9fb!important;color:var(--rec-muted)!important;font-size:10.5px!important;white-space:nowrap!important;}
body[data-page="reconciliation"] .rec-group-stats b{color:var(--rec-text)!important;font-size:10.5px!important;}
body[data-page="reconciliation"] .rec-group-actions{display:flex!important;align-items:center!important;gap:6px!important;}
body[data-page="reconciliation"] .rec-group-no-results{display:none!important;padding:24px!important;text-align:center!important;color:var(--rec-muted)!important;font-size:11px!important;}

/* Case cards */
body[data-page="reconciliation"] .rec-case-card-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  padding:10px!important;
}
body[data-page="reconciliation"] .rec-case-card{
  position:relative!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:visible!important;
  border:1px solid var(--rec-border)!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 4px 13px rgba(16,52,82,.045)!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
body[data-page="reconciliation"] .rec-case-card:hover{border-color:#aec4d5!important;box-shadow:var(--rec-shadow-hover)!important;transform:translateY(-2px)!important;z-index:4!important;}
body[data-page="reconciliation"] .rec-case-card.is-dirty{border-color:#e2a846!important;box-shadow:0 0 0 3px rgba(226,168,70,.12)!important;}
body[data-page="reconciliation"] .rec-case-card.rec-status-green{border-top:3px solid var(--rec-green)!important;}
body[data-page="reconciliation"] .rec-case-card.rec-status-amber{border-top:3px solid #d99626!important;}
body[data-page="reconciliation"] .rec-case-card.rec-status-purple{border-top:3px solid var(--rec-purple)!important;}
body[data-page="reconciliation"] .rec-case-card.rec-status-red{border-top:3px solid var(--rec-red)!important;}
body[data-page="reconciliation"] .rec-case-card-head{min-height:42px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:8px 9px 4px!important;}
body[data-page="reconciliation"] .rec-card-select-zone{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;}
body[data-page="reconciliation"] .rec-send-check{width:23px!important;height:23px!important;display:grid!important;place-items:center!important;cursor:pointer!important;}
body[data-page="reconciliation"] .rec-send-check input{position:absolute!important;opacity:0!important;pointer-events:none!important;}
body[data-page="reconciliation"] .rec-send-check span{width:19px!important;height:19px!important;display:block!important;border:1.5px solid #aabac7!important;border-radius:6px!important;background:#fff!important;position:relative!important;}
body[data-page="reconciliation"] .rec-send-check input:checked+span{border-color:var(--rec-green)!important;background:var(--rec-green)!important;}
body[data-page="reconciliation"] .rec-send-check input:checked+span:after{content:"✓"!important;position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;color:#fff!important;font-size:11px!important;font-weight:900!important;}
body[data-page="reconciliation"] .rec-card-wait{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;border-radius:6px!important;background:#f0f3f6!important;color:#7b8e9f!important;}
body[data-page="reconciliation"] .rec-card-wait svg{width:14px!important;height:14px!important;}
body[data-page="reconciliation"] .rec-friendly-status{
  min-height:24px!important;display:inline-flex!important;align-items:center!important;padding:3px 8px!important;border-radius:999px!important;font-size:10.5px!important;font-weight:850!important;white-space:nowrap!important;
}





body[data-page="reconciliation"] .rec-confidence-pill{
  min-height:24px!important;display:inline-flex!important;align-items:center!important;padding:3px 8px!important;border-radius:999px!important;font-size:10.5px!important;font-weight:850!important;white-space:nowrap!important;
}



body[data-page="reconciliation"] .rec-card-clickarea{
  width:100%!important;flex:1!important;display:flex!important;flex-direction:column!important;gap:10px!important;padding:5px 11px 11px!important;border:0!important;background:transparent!important;color:inherit!important;text-align:right!important;cursor:pointer!important;
}
body[data-page="reconciliation"] .rec-card-identity{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;}

body[data-page="reconciliation"] .rec-card-identity>div{display:grid!important;min-width:0!important;}
body[data-page="reconciliation"] .rec-card-identity b{color:var(--rec-text)!important;font-size:12.5px!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body[data-page="reconciliation"] .rec-card-identity small{color:var(--rec-muted)!important;font-size:10.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body[data-page="reconciliation"] .rec-card-amount{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:8px!important;padding:9px 10px!important;border-radius:10px!important;background:#f3f7fa!important;}
body[data-page="reconciliation"] .rec-card-amount>small{color:var(--rec-muted)!important;font-size:10.5px!important;font-weight:700!important;}
body[data-page="reconciliation"] .rec-money-badge{display:inline-flex!important;align-items:baseline!important;gap:4px!important;direction:rtl!important;white-space:nowrap!important;}
body[data-page="reconciliation"] .rec-money-badge b{color:var(--rec-navy)!important;font-size:14px!important;font-weight:900!important;font-variant-numeric:tabular-nums!important;}
body[data-page="reconciliation"] .rec-money-badge em{color:var(--rec-muted)!important;font-size:10.5px!important;font-style:normal!important;}
body[data-page="reconciliation"] .rec-card-meta-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;}
body[data-page="reconciliation"] .rec-card-meta-grid>div{min-width:0!important;padding:6px 7px!important;border:1px solid #e7edf2!important;border-radius:8px!important;background:#fff!important;}
body[data-page="reconciliation"] .rec-card-meta-grid span{display:block!important;margin-bottom:2px!important;color:#8494a2!important;font-size:10.5px!important;}
body[data-page="reconciliation"] .rec-card-meta-grid b{display:block!important;color:#31495d!important;font-size:10.5px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body[data-page="reconciliation"] .rec-card-decision{min-height:45px!important;display:grid!important;grid-template-columns:25px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;padding:7px 8px!important;border:1px solid #e3ebf1!important;border-radius:9px!important;background:#f8fbfd!important;color:#527087!important;}
body[data-page="reconciliation"] .rec-card-decision>span{width:25px!important;height:25px!important;display:grid!important;place-items:center!important;border-radius:7px!important;background:#e8f0f6!important;color:var(--rec-blue)!important;}
body[data-page="reconciliation"] .rec-card-decision svg{width:14px!important;height:14px!important;}
body[data-page="reconciliation"] .rec-card-decision p{margin:0!important;font-size:10.5px!important;line-height:1.65!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
body[data-page="reconciliation"] .rec-card-decision.has-warning{border-color:#f0d5a6!important;background:#fffaf0!important;color:#8c5a13!important;}
body[data-page="reconciliation"] .rec-card-decision.has-warning>span{background:#fff0d2!important;color:#a96300!important;}
body[data-page="reconciliation"] .rec-case-card-actions{min-height:45px!important;display:flex!important;align-items:center!important;gap:6px!important;padding:7px 9px!important;border-top:1px solid #e7edf2!important;background:#fbfdfe!important;border-radius:0 0 13px 13px!important;position:relative!important;}
body[data-page="reconciliation"] .rec-detail-btn,
body[data-page="reconciliation"] .rec-card-send{
  min-height:31px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:5px 9px!important;border-radius:8px!important;font-size:10.5px!important;font-weight:850!important;cursor:pointer!important;
}
body[data-page="reconciliation"] .rec-detail-btn{border:1px solid var(--rec-border-strong)!important;background:#fff!important;color:var(--rec-navy)!important;}
body[data-page="reconciliation"] .rec-detail-btn:hover{background:#edf4f9!important;}
body[data-page="reconciliation"] .rec-card-send{border:1px solid var(--rec-green)!important;background:var(--rec-green)!important;color:#fff!important;}
body[data-page="reconciliation"] .rec-card-send:hover{background:#116f4c!important;}
body[data-page="reconciliation"] .rec-card-send svg{width:14px!important;height:14px!important;}
body[data-page="reconciliation"] .rec-card-disabled-action{color:#8293a1!important;font-size:10.5px!important;}
body[data-page="reconciliation"] .rec-card-more{margin-right:auto!important;position:relative!important;z-index:12!important;}
body[data-page="reconciliation"] .rec-card-more>summary{width:31px!important;height:31px!important;display:grid!important;place-items:center!important;list-style:none!important;border:1px solid var(--rec-border)!important;border-radius:8px!important;background:#fff!important;color:#5d7284!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important;}
body[data-page="reconciliation"] .rec-card-more>summary::-webkit-details-marker{display:none!important;}
body[data-page="reconciliation"] .rec-card-more .rec-action-menu{left:0!important;right:auto!important;bottom:calc(100% + 5px)!important;top:auto!important;min-width:170px!important;border:1px solid var(--rec-border)!important;border-radius:10px!important;background:#fff!important;box-shadow:0 14px 32px rgba(13,42,69,.18)!important;padding:5px!important;}
body[data-page="reconciliation"] .rec-delete-option{display:flex!important;align-items:center!important;gap:7px!important;padding:8px!important;border-radius:7px!important;color:var(--rec-red)!important;font-size:10.5px!important;font-weight:800!important;cursor:pointer!important;}
body[data-page="reconciliation"] .rec-delete-option:hover{background:var(--rec-red-soft)!important;}
body[data-page="reconciliation"] .rec-delete-option input{width:15px!important;height:15px!important;accent-color:var(--rec-red)!important;}
body[data-page="reconciliation"] .rec-delete-option span{display:flex!important;align-items:center!important;gap:6px!important;}
body[data-page="reconciliation"] .rec-delete-option svg{width:14px!important;height:14px!important;}

/* Sticky bulk action */
body[data-page="reconciliation"] .rec-bulk-bar{
  position:sticky!important;
  bottom:10px!important;
  z-index:45!important;
  width:calc(100% - 24px)!important;
  min-height:62px!important;
  margin:0 12px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:9px 11px!important;
  border:1px solid rgba(255,255,255,.17)!important;
  border-radius:13px!important;
  background:rgba(9,39,67,.97)!important;
  color:#fff!important;
  box-shadow:0 16px 38px rgba(5,30,54,.27)!important;
  opacity:0!important;
  transform:translateY(16px)!important;
  pointer-events:none!important;
  transition:opacity .18s ease,transform .18s ease!important;
}
body[data-page="reconciliation"] .rec-bulk-bar.is-visible{opacity:1!important;transform:translateY(0)!important;pointer-events:auto!important;}
body[data-page="reconciliation"] .rec-bulk-bar>div:first-child{display:grid!important;grid-template-columns:auto 1fr!important;grid-template-rows:auto auto!important;column-gap:8px!important;margin-left:auto!important;}
body[data-page="reconciliation"] #rec-selection-total{grid-row:1/3!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;font-size:15px!important;font-weight:900!important;}
body[data-page="reconciliation"] .rec-bulk-bar>div:first-child b{font-size:10.5px!important;}
body[data-page="reconciliation"] .rec-bulk-bar>div:first-child small{color:#b8cbd9!important;font-size:10.5px!important;}
body[data-page="reconciliation"] .rec-bulk-bar>button{min-height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:6px 10px!important;border-radius:9px!important;font-size:10.5px!important;font-weight:850!important;cursor:pointer!important;}
body[data-page="reconciliation"] .rec-bulk-clear{border:1px solid rgba(255,255,255,.24)!important;background:transparent!important;color:#fff!important;}
body[data-page="reconciliation"] .rec-bulk-delete{border:1px solid rgba(255,126,134,.45)!important;background:rgba(182,61,67,.18)!important;color:#ffd6d8!important;}
body[data-page="reconciliation"] .rec-bulk-delete:disabled{opacity:.45!important;cursor:not-allowed!important;}
body[data-page="reconciliation"] .rec-bulk-bar .rec-plum-primary{border:1px solid #fff!important;background:#fff!important;color:var(--rec-navy)!important;}
body[data-page="reconciliation"] .rec-bulk-bar svg{width:15px!important;height:15px!important;}
body[data-page="reconciliation"] .rec-bulk-bar i{min-width:21px!important;height:21px!important;display:grid!important;place-items:center!important;border-radius:999px!important;background:#e2edf5!important;color:var(--rec-navy)!important;font-size:10.5px!important;font-style:normal!important;}

/* Empty workspace */
body[data-page="reconciliation"] .rec-empty-workspace{
  min-height:330px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:36px 24px!important;border:1px dashed #b9cad8!important;border-radius:16px!important;background:linear-gradient(180deg,#fff 0%,#f7fbfe 100%)!important;text-align:center!important;
}
body[data-page="reconciliation"] .rec-empty-workspace>span:first-child{width:68px!important;height:68px!important;display:grid!important;place-items:center!important;margin:0 0 3px!important;border-radius:19px!important;background:var(--rec-blue-soft)!important;color:var(--rec-blue)!important;}
body[data-page="reconciliation"] .rec-empty-workspace>span:first-child svg{width:31px!important;height:31px!important;}
body[data-page="reconciliation"] .rec-empty-workspace h2{margin:0!important;color:var(--rec-text)!important;font-size:18px!important;font-weight:900!important;}
body[data-page="reconciliation"] .rec-empty-workspace p{max-width:640px!important;margin:0!important;color:var(--rec-muted)!important;font-size:11px!important;line-height:1.8!important;}
body[data-page="reconciliation"] .rec-empty-benefits{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex-wrap:wrap!important;margin:5px 0 8px!important;}
body[data-page="reconciliation"] .rec-empty-benefits span{padding:5px 9px!important;border:1px solid #dce8f0!important;border-radius:999px!important;background:#fff!important;color:#4f697d!important;font-size:10.5px!important;}
body[data-page="reconciliation"] .rec-empty-workspace .rec-plum-primary{min-height:40px!important;padding:8px 14px!important;border:1px solid var(--rec-navy)!important;border-radius:10px!important;background:var(--rec-navy)!important;color:#fff!important;}
body[data-page="reconciliation"] .rec-empty-workspace .rec-plum-primary svg{width:17px!important;height:17px!important;}

/* Upload drawer */
#rec-upload-drawer-host,#rec-technical-drawer-host,#rec-case-drawer-host{position:fixed!important;inset:0!important;z-index:190!important;pointer-events:none!important;}
#rec-upload-drawer-host.is-open,#rec-technical-drawer-host.is-open,#rec-case-drawer-host.is-open{pointer-events:auto!important;}
.rec-upload-drawer-backdrop,.rec-technical-drawer-backdrop,.rec-drawer-backdrop{position:absolute!important;inset:0!important;background:rgba(5,26,45,.43)!important;backdrop-filter:blur(2px)!important;opacity:0!important;transition:opacity .2s ease!important;}
#rec-upload-drawer-host.is-open .rec-upload-drawer-backdrop,#rec-technical-drawer-host.is-open .rec-technical-drawer-backdrop,#rec-case-drawer-host.is-open .rec-drawer-backdrop{opacity:1!important;}
.rec-upload-drawer,.rec-technical-drawer{
  position:absolute!important;inset-block:0!important;left:0!important;right:auto!important;width:min(520px,calc(100vw - 24px))!important;display:flex!important;flex-direction:column!important;background:#fff!important;box-shadow:18px 0 55px rgba(5,28,49,.25)!important;transform:translateX(-104%)!important;transition:transform .22s ease!important;overflow:hidden!important;
}
#rec-upload-drawer-host.is-open .rec-upload-drawer,#rec-technical-drawer-host.is-open .rec-technical-drawer{transform:translateX(0)!important;}
.rec-upload-drawer-header{
  min-height:84px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:16px!important;border-bottom:1px solid var(--rec-border)!important;background:#fbfdff!important;
}
.rec-upload-drawer-header>div{display:grid!important;gap:2px!important;}
.rec-upload-drawer-header h3{margin:0!important;color:var(--rec-text)!important;font-size:17px!important;font-weight:900!important;}
.rec-upload-drawer-header small{color:var(--rec-muted)!important;font-size:10.5px!important;line-height:1.7!important;}
.rec-upload-drawer-body{flex:1!important;overflow:auto!important;display:flex!important;flex-direction:column!important;gap:13px!important;padding:16px!important;background:#f7fafc!important;}
.rec-upload-flow{display:grid!important;grid-template-columns:1fr 28px 1fr 28px 1fr!important;align-items:center!important;gap:3px!important;padding:10px!important;border:1px solid var(--rec-border)!important;border-radius:12px!important;background:#fff!important;}
.rec-upload-flow>span{display:grid!important;justify-items:center!important;gap:4px!important;color:#7b8f9f!important;font-size:10.5px!important;font-weight:800!important;text-align:center!important;}
.rec-upload-flow>span b{width:27px!important;height:27px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#edf2f6!important;color:#607789!important;font-size:10.5px!important;}
.rec-upload-flow>span.is-done{color:var(--rec-green)!important;}.rec-upload-flow>span.is-done b{background:var(--rec-green-soft)!important;color:var(--rec-green)!important;}
.rec-upload-flow>span.is-active{color:var(--rec-blue)!important;}.rec-upload-flow>span.is-active b{background:var(--rec-blue)!important;color:#fff!important;}
.rec-upload-flow>i{height:2px!important;background:#dfe7ed!important;}
.rec-dropzone{
  min-height:210px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:24px!important;border:2px dashed #a8bfd1!important;border-radius:15px!important;background:#fff!important;color:var(--rec-text)!important;text-align:center!important;cursor:pointer!important;transition:border-color .16s ease,background .16s ease,transform .16s ease!important;
}
.rec-dropzone:hover,.rec-dropzone.is-dragging{border-color:var(--rec-blue)!important;background:#f1f8fd!important;transform:translateY(-1px)!important;}
.rec-dropzone input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}
.rec-dropzone-icon{width:58px!important;height:58px!important;display:grid!important;place-items:center!important;margin-bottom:3px!important;border-radius:16px!important;background:var(--rec-blue-soft)!important;color:var(--rec-blue)!important;}
.rec-dropzone-icon svg{width:27px!important;height:27px!important;}
.rec-dropzone b{font-size:13px!important;font-weight:900!important;}.rec-dropzone small{font-size:10.5px!important;color:var(--rec-muted)!important;}.rec-dropzone em{margin-top:5px!important;padding:4px 8px!important;border-radius:999px!important;background:#f0f4f7!important;color:#758897!important;font-size:10.5px!important;font-style:normal!important;}
.rec-upload-file-preview{min-height:58px!important;display:grid!important;grid-template-columns:37px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;padding:9px 10px!important;border:1px solid var(--rec-border)!important;border-radius:11px!important;background:#fff!important;}
.rec-upload-file-preview>span{width:37px!important;height:37px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:#edf3f7!important;color:var(--rec-navy)!important;}.rec-upload-file-preview>span svg{width:18px!important;height:18px!important;}
.rec-upload-file-preview>div{display:grid!important;min-width:0!important;}.rec-upload-file-preview b{color:var(--rec-text)!important;font-size:10.5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}.rec-upload-file-preview small{color:var(--rec-muted)!important;font-size:10.5px!important;}.rec-upload-file-preview>i{width:25px!important;height:25px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--rec-green-soft)!important;color:var(--rec-green)!important;font-size:11px!important;font-style:normal!important;}
.rec-upload-file-preview:not(.has-file)>i{display:none!important;}
.rec-upload-standard-note{display:grid!important;grid-template-columns:35px minmax(0,1fr)!important;gap:9px!important;padding:10px!important;border:1px solid #d7e5ef!important;border-radius:11px!important;background:#eef6fb!important;color:#365d79!important;}
.rec-upload-standard-note>span{width:35px!important;height:35px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:#fff!important;color:var(--rec-blue)!important;}.rec-upload-standard-note svg{width:18px!important;height:18px!important;}.rec-upload-standard-note div{display:grid!important;gap:2px!important;}.rec-upload-standard-note b{font-size:10.5px!important;}.rec-upload-standard-note small{font-size:10.5px!important;line-height:1.7!important;}
.rec-upload-drawer-footer{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;padding:12px 16px!important;border-top:1px solid var(--rec-border)!important;background:#fff!important;}
.rec-upload-drawer-footer .rec-plum-primary{min-height:38px!important;border:1px solid var(--rec-navy)!important;border-radius:9px!important;background:var(--rec-navy)!important;color:#fff!important;}.rec-upload-drawer-footer .rec-plum-primary:disabled{opacity:.45!important;cursor:not-allowed!important;}.rec-upload-drawer-footer .rec-plum-primary svg{width:16px!important;height:16px!important;}

/* Case drawer: wide comparison workspace */
.rec-case-drawer{
  position:absolute!important;inset-block:0!important;left:0!important;right:auto!important;width:min(920px,calc(100vw - 24px))!important;display:flex!important;flex-direction:column!important;background:#f6f9fb!important;box-shadow:18px 0 55px rgba(5,28,49,.28)!important;transform:translateX(-104%)!important;transition:transform .22s ease!important;overflow:hidden!important;
}
#rec-case-drawer-host.is-open .rec-case-drawer{transform:translateX(0)!important;}
.rec-drawer-case-form{height:100%!important;display:flex!important;flex-direction:column!important;min-height:0!important;}
.rec-drawer-header{min-height:78px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:14px 16px!important;border-bottom:1px solid var(--rec-border)!important;background:#fff!important;}
.rec-drawer-header h3{margin:0!important;color:var(--rec-text)!important;font-size:17px!important;font-weight:900!important;}.rec-drawer-header small{color:var(--rec-muted)!important;font-size:10.5px!important;}.rec-drawer-header .section-kicker{color:var(--rec-blue)!important;font-size:10.5px!important;}
.rec-drawer-scroll{flex:1!important;min-height:0!important;overflow:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-content:start!important;padding:12px!important;}
.rec-drawer-summary-grid{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:7px!important;}
.rec-drawer-summary-grid>div{min-width:0!important;min-height:62px!important;padding:8px!important;border:1px solid var(--rec-border)!important;border-radius:10px!important;background:#fff!important;}.rec-drawer-summary-grid span:first-child{display:block!important;margin-bottom:4px!important;color:var(--rec-muted)!important;font-size:10.5px!important;}.rec-drawer-summary-grid b{display:block!important;color:var(--rec-text)!important;font-size:10.5px!important;font-weight:850!important;overflow:hidden!important;text-overflow:ellipsis!important;}.rec-drawer-summary-grid .rec-money-badge b{font-size:11px!important;}
.rec-drawer-section{min-width:0!important;margin:0!important;padding:11px!important;border:1px solid var(--rec-border)!important;border-radius:12px!important;background:#fff!important;}.rec-drawer-section:nth-of-type(3),.rec-drawer-section:nth-of-type(4),.rec-drawer-section:nth-of-type(5){grid-column:1/-1!important;}.rec-drawer-section h4{margin:0 0 9px!important;color:var(--rec-text)!important;font-size:11.5px!important;font-weight:900!important;}
.rec-drawer-edit-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}.rec-drawer-edit-grid label{display:grid!important;gap:4px!important;}.rec-drawer-edit-grid label>span{color:var(--rec-muted)!important;font-size:10.5px!important;font-weight:750!important;}.rec-drawer-edit-grid :is(input,select){height:37px!important;border:1px solid var(--rec-border-strong)!important;border-radius:8px!important;background:#fff!important;font-size:10.5px!important;}
.rec-decision-box{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:9px!important;border-radius:10px!important;}.rec-decision-box>div{display:grid!important;gap:2px!important;min-width:0!important;}.rec-decision-box>div b{font-size:10.5px!important;}.rec-decision-box>div span{font-size:10.5px!important;line-height:1.7!important;}
.rec-source-compare-list{display:grid!important;gap:9px!important;}.rec-source-compare-card{border:1px solid var(--rec-border)!important;border-radius:11px!important;overflow:hidden!important;}.rec-source-compare-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:8px 10px!important;background:#f2f6f9!important;border-bottom:1px solid var(--rec-border)!important;}.rec-source-compare-head b{font-size:10.5px!important;}.rec-source-compare-head span{font-size:10.5px!important;color:var(--rec-muted)!important;}.rec-source-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;}.rec-source-card{padding:9px!important;background:#fff!important;}.rec-source-card+ .rec-source-card{border-right:1px solid var(--rec-border)!important;}.rec-source-card h4{margin:0 0 7px!important;padding-bottom:6px!important;border-bottom:1px solid #e8eef3!important;font-size:10.5px!important;}.rec-source-card.seller h4{color:#6b4b98!important;}.rec-source-card.bank h4{color:var(--rec-blue)!important;}.rec-source-card>div{min-height:29px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:4px 0!important;border-bottom:1px dashed #edf1f4!important;}.rec-source-card>div:last-child{border-bottom:0!important;}.rec-source-card span{color:var(--rec-muted)!important;font-size:10.5px!important;}.rec-source-card b{max-width:62%!important;color:var(--rec-text)!important;font-size:10.5px!important;text-align:left!important;}.rec-source-card .wide{align-items:flex-start!important;flex-direction:column!important;}.rec-source-card .wide b{max-width:none!important;text-align:right!important;}
.rec-drawer-footer{min-height:62px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;padding:10px 14px!important;border-top:1px solid var(--rec-border)!important;background:#fff!important;}.rec-drawer-footer .btn{min-height:37px!important;border-radius:9px!important;font-size:10.5px!important;}

/* Responsive */
@container reconciliationPage (max-width:1280px){
  body[data-page="reconciliation"] .rec-case-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body[data-page="reconciliation"] .rec-controls{grid-template-columns:1fr!important;}
  body[data-page="reconciliation"] .rec-view-filters{width:max-content!important;max-width:100%!important;overflow:auto!important;}
}
@container reconciliationPage (max-width:980px){
  body[data-page="reconciliation"] .rec-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body[data-page="reconciliation"] .rec-workflow{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;}
  body[data-page="reconciliation"] .rec-workflow>i{display:none!important;}
  body[data-page="reconciliation"] .rec-batch-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body[data-page="reconciliation"] .rec-work-group-head{grid-template-columns:minmax(0,1fr) auto!important;}.rec-group-actions{grid-column:1/-1!important;justify-content:flex-end!important;}
}
@container reconciliationPage (max-width:700px){
  body[data-page="reconciliation"] #page-content>.rec-report-hero{align-items:flex-start!important;flex-direction:column!important;}
  body[data-page="reconciliation"] .rec-header-icon-actions{width:100%!important;justify-content:flex-start!important;}
  body[data-page="reconciliation"] .rec-head-action{flex:1!important;}
  body[data-page="reconciliation"] .rec-workflow{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body[data-page="reconciliation"] .rec-report-summary{grid-template-columns:1fr!important;}
  body[data-page="reconciliation"] .rec-batch-meta{grid-template-columns:1fr!important;}
  body[data-page="reconciliation"] .rec-case-card-grid{grid-template-columns:1fr!important;}
  body[data-page="reconciliation"] .rec-report-search{align-items:stretch!important;flex-direction:column!important;}.rec-search-result{width:100%!important;}
  body[data-page="reconciliation"] .rec-work-group-head{grid-template-columns:1fr!important;}.rec-group-stats,.rec-group-actions{justify-content:flex-start!important;}
  body[data-page="reconciliation"] .rec-bulk-bar{flex-wrap:wrap!important;}.rec-bulk-bar>div:first-child{width:100%!important;}
  .rec-drawer-scroll{grid-template-columns:1fr!important;}.rec-drawer-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.rec-drawer-section{grid-column:1/-1!important;}.rec-source-columns{grid-template-columns:1fr!important;}.rec-source-card+ .rec-source-card{border-right:0!important;border-top:1px solid var(--rec-border)!important;}
}
@media (max-width:560px){
  body[data-page="reconciliation"] #page-content{padding:8px!important;}
  body[data-page="reconciliation"] .rec-report-hero-title{align-items:flex-start!important;}
  body[data-page="reconciliation"] .rec-report-hero-icon{width:48px!important;height:48px!important;flex-basis:48px!important;}.rec-report-hero-icon svg{width:23px!important;height:23px!important;}
  body[data-page="reconciliation"] .rec-report-hero-copy h1{font-size:19px!important;}
  body[data-page="reconciliation"] .rec-head-action span{display:none!important;}.rec-head-action{flex:0 0 40px!important;width:40px!important;padding:0!important;}
  body[data-page="reconciliation"] .rec-report-kpi-card{grid-template-columns:40px minmax(0,1fr)!important;}.rec-report-kpi-card>strong{grid-column:2!important;}
  body[data-page="reconciliation"] .rec-card-meta-grid{grid-template-columns:1fr 1fr!important;}.rec-card-meta-grid>div:last-child{grid-column:1/-1!important;}
  body[data-page="reconciliation"] .rec-case-card-actions{flex-wrap:wrap!important;}.rec-card-disabled-action{width:100%!important;}
  .rec-upload-drawer,.rec-technical-drawer,.rec-case-drawer{width:100vw!important;}
}


/* TIAM v347 — reconciliation uses the shared neutral page-header contract. */
body[data-page="reconciliation"] #page-content>.rec-workspace-hero{
  width:100%!important;min-height:66px!important;max-height:none!important;margin:0 0 16px!important;padding:10px 2px 11px!important;
  display:grid!important;grid-template-columns:40px minmax(150px,1fr) auto!important;grid-template-rows:auto!important;align-items:center!important;gap:11px!important;
  border:0!important;border-bottom:1px solid var(--tiam-border,#d8e2e9)!important;border-radius:0!important;background:transparent!important;color:var(--tiam-text,#17354b)!important;box-shadow:none!important;overflow:visible!important;isolation:auto!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero::after{display:none!important;content:none!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero>.rec-workspace-hero__visual{
  width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;
  display:grid!important;place-items:center!important;border:1px solid #d7e5ee!important;border-radius:11px!important;background:#eef5f9!important;color:var(--tiam-primary,#185a83)!important;box-shadow:none!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero>.rec-workspace-hero__visual svg{width:20px!important;height:20px!important;stroke:currentColor!important;color:inherit!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero>.rec-workspace-hero__copy{min-width:0!important;padding:0!important;background:transparent!important;color:var(--tiam-text,#17354b)!important;text-align:right!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero>.rec-workspace-hero__copy h1{margin:0!important;color:var(--tiam-text,#17354b)!important;font-size:20px!important;font-weight:850!important;line-height:1.45!important;white-space:normal!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero>.rec-header-panel{
  min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--tiam-text,#17354b)!important;position:static!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status{
  width:auto!important;max-width:170px!important;min-height:34px!important;margin:0!important;padding:0 9px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;
  border:1px solid var(--tiam-border,#d8e2e9)!important;border-radius:10px!important;background:#fff!important;color:var(--tiam-muted,#667b8b)!important;box-shadow:none!important;overflow:hidden!important;white-space:nowrap!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status>svg{width:14px!important;height:14px!important;min-width:14px!important;stroke:currentColor!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status>span{min-width:0!important;display:flex!important;align-items:center!important;gap:4px!important;white-space:nowrap!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status small{display:none!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status b{min-width:0!important;max-width:135px!important;overflow:hidden!important;color:var(--tiam-muted,#667b8b)!important;font-size:10.5px!important;font-weight:750!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:nowrap!important;min-width:0!important;overflow:visible!important;direction:rtl!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-action,
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-header-operations>summary.rec-head-action{
  width:auto!important;min-width:40px!important;max-width:none!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  border:1px solid var(--tiam-border,#d8e2e9)!important;border-radius:10px!important;background:#fff!important;color:var(--tiam-text,#17354b)!important;box-shadow:none!important;font-size:11px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;transform:none!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-action:hover,
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-header-operations>summary.rec-head-action:hover{background:var(--tiam-surface-soft,#f6f9fb)!important;border-color:var(--tiam-border-strong,#bccdd9)!important;color:var(--tiam-text,#17354b)!important;transform:none!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-primary{min-width:105px!important;border-color:var(--tiam-primary,#185a83)!important;background:var(--tiam-primary,#185a83)!important;color:#fff!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-primary:hover{background:var(--tiam-primary-hover,#124b70)!important;color:#fff!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row .rec-head-action svg{width:17px!important;height:17px!important;min-width:17px!important;stroke:currentColor!important;color:currentColor!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row .rec-head-action span{display:inline!important;color:inherit!important;font-size:inherit!important;font-weight:inherit!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-operations{position:relative!important;z-index:80!important;display:block!important;margin:0!important;padding:0!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-operations>summary{list-style:none!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-operations>summary::marker{content:""!important;font-size:0!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-operations>summary::-webkit-details-marker{display:none!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-operations:not([open])>.rec-header-action-menu{display:none!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-action-menu{
  position:absolute!important;top:calc(100% + 7px)!important;left:0!important;right:auto!important;z-index:100!important;display:grid!important;gap:3px!important;min-width:226px!important;padding:6px!important;
  border:1px solid var(--tiam-border,#d8e2e9)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--tiam-elevation-2,0 10px 28px rgba(15,45,65,.13))!important;overflow:hidden!important;direction:rtl!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-action-menu :is(a,button){width:100%!important;min-height:36px!important;padding:8px 10px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;border:0!important;border-radius:8px!important;background:#fff!important;color:var(--tiam-text,#17354b)!important;box-shadow:none!important;font-size:10.5px!important;font-weight:750!important;text-align:right!important;text-decoration:none!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-action-menu :is(a,button):hover{background:var(--tiam-surface-soft,#f6f9fb)!important;color:var(--tiam-text,#17354b)!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-action-menu .rec-action-danger{color:var(--rec-red)!important}
@media(max-width:1180px){
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-action:not(.rec-head-primary) span,
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-header-operations>summary span{display:none!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-action:not(.rec-head-primary),
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-header-operations>summary.rec-head-action{width:40px!important;min-width:40px!important;padding:0!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status{max-width:145px!important}
}
@media(max-width:700px){
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero{grid-template-columns:40px minmax(0,1fr)!important;grid-template-rows:auto auto!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero>.rec-header-panel{grid-column:1/-1!important;width:100%!important;justify-content:space-between!important;padding-top:8px!important;border-top:1px solid var(--tiam-border,#d8e2e9)!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status{max-width:150px!important}
}
@media(max-width:430px){
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero>.rec-header-panel{align-items:flex-start!important;flex-direction:column!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row{width:100%!important;justify-content:flex-start!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-primary{flex:1 1 auto!important}
}

/* ===== SOURCE: tiam-interface-unification-v346.css | sha256:0ae048afc200f1c1e290539cb457f8410c1515f0b6a3a642e687e2acd1d7d135 ===== */
/* TIAM v346 — shared interface unification.
   Loaded after legacy page styles so page headers, icon buttons and settings cards
   use one predictable design system without changing business behavior. */
:root{
  --tiam-v346-radius-card:14px;
  --tiam-v346-radius-control:10px;
  --tiam-v346-control-height:40px;
  --tiam-v346-border:#d8e2ea;
  --tiam-v346-border-strong:#c7d5df;
  --tiam-v346-surface:#fff;
  --tiam-v346-surface-soft:#f6f9fb;
  --tiam-v346-text:#17354c;
  --tiam-v346-muted:#667c8e;
  --tiam-v346-primary:#164d70;
  --tiam-v346-focus:rgba(24,93,132,.28);
}
html[dir="rtl"],html[dir="rtl"] body{direction:rtl;text-align:right}

/* ---------- One compact page header ---------- */
#page-content>.tiam-page-hero{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:72px!important;
  margin:0 0 12px!important;
  padding:10px 13px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  border-radius:16px!important;
  overflow:visible!important;
}
#page-content>.tiam-page-hero .tiam-page-hero__visual{
  box-sizing:border-box!important;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  border-radius:12px!important;display:grid!important;place-items:center!important;padding:0!important;line-height:0!important;
}
#page-content>.tiam-page-hero .tiam-page-hero__visual svg{display:block!important;width:21px!important;height:21px!important;margin:auto!important}
#page-content>.tiam-page-hero .tiam-page-hero__copy{min-width:0!important;align-self:center!important}
#page-content>.tiam-page-hero .tiam-page-hero__copy :is(h1,h2){
  margin:0!important;max-width:100%!important;color:#fff!important;font-size:19px!important;font-weight:850!important;line-height:1.55!important;
  overflow-wrap:anywhere!important;
}
#page-content>.tiam-page-hero .tiam-page-hero__copy>:is(p,small,[class*="eyebrow"],[class*="kicker"]){display:none!important}
#page-content>.tiam-page-hero .tiam-page-hero__actions{
  min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;
}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a):not(.rec-head-action){
  box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;
  padding:0!important;display:inline-grid!important;place-items:center!important;line-height:0!important;border-radius:10px!important;
}
#page-content>.tiam-page-hero .tiam-page-hero__actions :is(button,a) svg{display:block!important;width:18px!important;height:18px!important;margin:auto!important}

/* Dashboard keeps its live health status, but no descriptive line under the title. */
body[data-page="dashboard"] #page-content>.tiam-page-hero{
  min-height:88px!important;padding:13px 16px!important;grid-template-columns:48px minmax(0,1fr) minmax(230px,330px)!important;
}
body[data-page="dashboard"] #page-content>.tiam-page-hero .tiam-page-hero__copy h1{font-size:22px!important}
body[data-page="dashboard"] .v343-dashboard-health{border-radius:12px!important;padding:9px 11px!important}

/* ---------- Shared icon button alignment ---------- */
:where(.icon-btn,.icon-action,.mini-action,.tiam-icon-only,.so-top-action,.customer-call-top-btn,.attendance-top-tool,.topbar-logout,.rec-icon-btn,[class*="icon-btn"],[class*="icon-action"]){
  box-sizing:border-box!important;display:inline-grid!important;place-items:center!important;padding:0!important;line-height:0!important;text-align:center!important;
}
:where(.icon-btn,.icon-action,.mini-action,.tiam-icon-only,.so-top-action,.customer-call-top-btn,.attendance-top-tool,.topbar-logout,.rec-icon-btn,[class*="icon-btn"],[class*="icon-action"])>svg{
  display:block!important;width:18px!important;height:18px!important;margin:auto!important;position:static!important;transform:none!important;vertical-align:middle!important;
}
:where(button,a,[role="button"]):focus-visible{outline:3px solid var(--tiam-v346-focus)!important;outline-offset:2px!important}

/* ---------- Dashboard summary: five balanced cards ---------- */
body[data-page="dashboard"] #manager-financial-summary.tiam-summary-bar{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important;align-items:stretch!important;
}
body[data-page="dashboard"] #manager-financial-summary>.summary-item{
  min-width:0!important;height:100%!important;min-height:94px!important;padding:12px!important;border-radius:var(--tiam-v346-radius-card)!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;
}
body[data-page="dashboard"] #manager-financial-summary>.summary-item :is(small,b,span){max-width:100%!important;overflow-wrap:anywhere!important}
@media (max-width:1279px){
  body[data-page="dashboard"] #manager-financial-summary.tiam-summary-bar{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:880px){
  body[data-page="dashboard"] #manager-financial-summary.tiam-summary-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:last-child:nth-child(odd){grid-column:1/-1!important}
}
@media (max-width:540px){
  body[data-page="dashboard"] #manager-financial-summary.tiam-summary-bar{grid-template-columns:1fr!important}
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:last-child{grid-column:auto!important}
}

/* ---------- Settings center ---------- */
body[data-page="settings"] .settings-center-shell{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body[data-page="settings"] .settings-center-toolbar{display:flex;align-items:center;justify-content:flex-start;margin:0 0 12px!important}
body[data-page="settings"] .settings-center-search{
  width:min(480px,100%)!important;height:40px!important;border:1px solid var(--tiam-v346-border)!important;border-radius:10px!important;background:#fff!important;
  box-shadow:none!important;
}
body[data-page="settings"] .settings-center-grid{
  width:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:11px!important;align-items:stretch!important;
}
body[data-page="settings"] .settings-center-card{
  box-sizing:border-box!important;position:relative!important;width:100%!important;min-width:0!important;height:100%!important;margin:0!important;padding:15px!important;
  display:grid!important;grid-template-columns:44px minmax(0,1fr) 24px!important;align-items:center!important;gap:11px!important;
  direction:rtl!important;text-align:right!important;border:1px solid var(--tiam-v346-border)!important;border-radius:var(--tiam-v346-radius-card)!important;
  background:var(--tiam-v346-surface)!important;color:var(--tiam-v346-text)!important;box-shadow:0 2px 8px rgba(20,55,77,.035)!important;cursor:pointer!important;
  transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease!important;
}
body[data-page="settings"] .settings-center-card:hover{border-color:#9eb8ca!important;background:#fbfdfe!important;box-shadow:0 8px 20px rgba(20,55,77,.075)!important;transform:none!important}
body[data-page="settings"] .settings-center-card:active{background:#f2f7fa!important;box-shadow:none!important}
body[data-page="settings"] .settings-center-card.is-filtered-out{display:none!important}
body[data-page="settings"] .settings-center-icon{
  box-sizing:border-box!important;width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border:1px solid #dce7ee!important;border-radius:11px!important;background:#f3f7fa!important;color:var(--tiam-v346-primary)!important;line-height:0!important;
}
body[data-page="settings"] .settings-center-icon svg{display:block!important;width:22px!important;height:22px!important;margin:auto!important;stroke:currentColor!important}
body[data-page="settings"] .settings-center-copy{min-width:0!important;display:grid!important;gap:5px!important;align-content:center!important}
body[data-page="settings"] .settings-center-copy b{margin:0!important;color:var(--tiam-v346-text)!important;font-size:13px!important;font-weight:850!important;line-height:1.6!important}
body[data-page="settings"] .settings-center-copy small{margin:0!important;color:var(--tiam-v346-muted)!important;font-size:10.5px!important;line-height:1.8!important;overflow-wrap:anywhere!important}
body[data-page="settings"] .settings-center-arrow{display:grid!important;place-items:center!important;color:#8298a8!important;font-size:18px!important;line-height:1!important}
body[data-page="settings"] .settings-center-secondary{margin-top:18px!important;padding-top:14px!important;border-top:1px solid var(--tiam-v346-border)!important}
body[data-page="settings"] .settings-center-secondary>header{margin:0 0 9px!important}
body[data-page="settings"] .settings-center-secondary h2{margin:0!important;color:var(--tiam-v346-text)!important;font-size:14px!important}
body[data-page="settings"] .settings-center-secondary>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body[data-page="settings"] .settings-center-secondary-card{
  box-sizing:border-box!important;min-width:0!important;min-height:82px!important;padding:12px 14px!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) 22px!important;align-items:center!important;gap:10px!important;
  border:1px solid var(--tiam-v346-border)!important;border-radius:12px!important;background:#fff!important;text-align:right!important;color:var(--tiam-v346-text)!important;cursor:pointer!important;
}
body[data-page="settings"] .settings-center-secondary-card:hover{border-color:#9eb8ca!important;background:#f9fcfd!important}
body[data-page="settings"] .settings-center-secondary-card>.settings-center-icon{width:40px!important;height:40px!important}
body[data-page="settings"] .settings-center-secondary-card>span:nth-child(2){min-width:0!important;display:grid!important;gap:3px!important}
body[data-page="settings"] .settings-center-secondary-card b{font-size:12.5px!important;color:var(--tiam-v346-text)!important}
body[data-page="settings"] .settings-center-secondary-card small{font-size:10.5px!important;color:var(--tiam-v346-muted)!important;line-height:1.7!important}
body[data-page="settings"] .settings-center-secondary-card i{font-style:normal!important;color:#8298a8!important;font-size:17px!important}
body[data-page="settings"] .settings-section-toolbar{
  display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 12px!important;padding:12px!important;border:1px solid var(--tiam-v346-border)!important;border-radius:12px!important;background:#fff!important;
}
body[data-page="settings"] .settings-section-toolbar>div{min-width:0!important;flex:1!important}
body[data-page="settings"] .settings-section-toolbar h2{margin:0!important;font-size:15px!important;color:var(--tiam-v346-text)!important}
body[data-page="settings"] .settings-section-toolbar p{margin:3px 0 0!important;font-size:10.5px!important;color:var(--tiam-v346-muted)!important}
body[data-page="settings"] .settings-back-btn{order:2!important}
@media (max-width:1399px){body[data-page="settings"] .settings-center-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:900px){body[data-page="settings"] .settings-center-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:620px){
  body[data-page="settings"] .settings-center-grid,body[data-page="settings"] .settings-center-secondary>div{grid-template-columns:1fr!important}
  body[data-page="settings"] .settings-center-card{min-height:96px!important;padding:12px!important}
  body[data-page="settings"] .settings-section-toolbar{align-items:stretch!important;flex-direction:column!important}
  body[data-page="settings"] .settings-back-btn{order:0!important;width:100%!important}
}

/* ---------- Organization management report states ---------- */

body[data-page="monthly-report"] .monthly-report-filter{display:grid!important;grid-template-columns:minmax(150px,220px) minmax(150px,220px) auto!important;align-items:end!important;gap:10px!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
body[data-page="monthly-report"] :is(.report-loading-state,.report-empty-state,.report-error-state,.report-initial-state,.page-error-state){
  min-height:150px!important;padding:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;text-align:center!important;border-radius:var(--tiam-v346-radius-card)!important;
}
body[data-page="monthly-report"] :is(.report-empty-state,.report-error-state){flex-direction:column!important}
body[data-page="monthly-report"] :is(.report-empty-state,.report-error-state)>span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#f2f6f8;font-size:22px;font-weight:900}
body[data-page="monthly-report"] :is(.report-empty-state,.report-error-state) h2{margin:0!important;font-size:16px!important;color:var(--tiam-v346-text)!important}
body[data-page="monthly-report"] :is(.report-empty-state,.report-error-state) p{margin:4px 0 0!important;color:var(--tiam-v346-muted)!important;line-height:1.8!important}
body[data-page="monthly-report"] .report-error-state>span{background:#fff1f1;color:#a23a3a}
body[data-page="monthly-report"] .organization-report-kpis>.kpi{border-radius:var(--tiam-v346-radius-card)!important;}
.page-error-state{min-height:150px!important;padding:24px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;text-align:center!important}
.page-error-state>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#fff1f1;color:#a23a3a;font-weight:900;font-size:20px}
.page-error-state h2,.page-error-state p{margin:0!important}.page-error-state p{margin-top:4px!important;color:var(--tiam-v346-muted)!important}
@media (max-width:720px){body[data-page="monthly-report"] .monthly-report-filter{grid-template-columns:1fr 1fr!important}body[data-page="monthly-report"] .monthly-report-filter>.btn{grid-column:1/-1!important;width:100%!important}}
@media (max-width:480px){body[data-page="monthly-report"] .monthly-report-filter{grid-template-columns:1fr!important}body[data-page="monthly-report"] .monthly-report-filter>.btn{grid-column:auto!important}}

/* ---------- Reconciliation header uses the common structure ---------- */
body[data-page="reconciliation"] #page-content>.rec-workspace-hero{
  min-height:82px!important;padding:11px 13px!important;grid-template-columns:44px minmax(180px,1fr) minmax(0,auto)!important;gap:11px!important;border-radius:16px!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-workspace-hero__visual{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:12px!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-workspace-hero__copy{display:block!important;align-self:center!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-workspace-hero__copy h1{margin:0!important;font-size:19px!important;line-height:1.55!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-panel{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status{min-height:38px!important;padding:6px 9px!important;border-radius:10px!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status>span{gap:4px!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status b{max-width:145px!important;font-size:10.5px!important}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-action,
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-header-operations>summary.rec-head-action{
  box-sizing:border-box!important;min-height:38px!important;height:38px!important;padding:0 10px!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;line-height:1!important;font-size:10.5px!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-actions-row>.rec-head-primary{min-width:105px!important}
@media (max-width:1040px){
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero{grid-template-columns:44px minmax(0,1fr)!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-panel{grid-column:1/-1!important;justify-content:flex-start!important;width:100%!important}
}
@media (max-width:620px){
  #page-content>.tiam-page-hero{grid-template-columns:40px minmax(0,1fr)!important;min-height:66px!important;padding:9px 10px!important}
  #page-content>.tiam-page-hero .tiam-page-hero__visual{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
  #page-content>.tiam-page-hero .tiam-page-hero__actions{grid-column:1/-1!important;justify-content:flex-start!important}
  body[data-page="dashboard"] #page-content>.tiam-page-hero{grid-template-columns:40px minmax(0,1fr)!important}
  body[data-page="dashboard"] #page-content>.tiam-page-hero .tiam-page-hero__actions{grid-column:1/-1!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero{grid-template-columns:40px minmax(0,1fr)!important}
  body[data-page="reconciliation"] #page-content>.rec-workspace-hero .rec-header-status{width:100%!important}
}

/* ---------- General responsive safety ---------- */
#page-content{min-width:0!important;overflow-x:hidden!important}
#page-content>*{min-width:0!important;max-width:100%!important}
:where(.card,.panel,.table-wrap,.filter-bar,.form-grid)>*{min-width:0}
:where(h1,h2,h3,h4,p,small,b,strong,span){overflow-wrap:anywhere}


/* ---------- v346.1: preserve useful setting descriptions ---------- */
body[data-page="settings"] .settings-center-copy small[data-keep-copy="1"]{
  display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;max-height:none!important;
  color:#667d8d!important;font-size:10.5px!important;line-height:1.75!important;font-weight:500!important;
}
body[data-page="settings"] .settings-center-card{min-height:122px!important}

/* ---------- v346.1: organization report controls and table ---------- */
body[data-page="monthly-report"] .organization-report-filter{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body[data-page="monthly-report"] .organization-report-controls{
  display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto!important;gap:10px!important;
  align-items:end!important;padding:13px!important;border:1px solid var(--tiam-v346-border)!important;border-radius:14px!important;
  background:#fff!important;box-shadow:0 2px 8px rgba(20,55,77,.035)!important;
}
body[data-page="monthly-report"] .organization-report-controls.ui-filter-panel{display:grid!important}
body[data-page="monthly-report"] .organization-report-filter>.ui-filter-toggle{display:none!important}
body[data-page="monthly-report"] .organization-report-controls .field{display:grid!important;gap:6px!important}
body[data-page="monthly-report"] .organization-report-controls .btn{height:42px!important;min-height:42px!important;align-self:end!important}
body[data-page="monthly-report"] .organization-report-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body[data-page="monthly-report"] .organization-report-kpis>.kpi{min-height:88px!important;height:100%!important}
body[data-page="monthly-report"] .organization-report-table-wrap{width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain}
@media (min-width:901px){
  body[data-page="monthly-report"] .organization-report-table{
    display:table!important;width:100%!important;min-width:860px!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important;
  }
  body[data-page="monthly-report"] .organization-report-table thead{display:table-header-group!important}
  body[data-page="monthly-report"] .organization-report-table tbody{display:table-row-group!important}
  body[data-page="monthly-report"] .organization-report-table tr{display:table-row!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
  body[data-page="monthly-report"] .organization-report-table th,
  body[data-page="monthly-report"] .organization-report-table td{
    display:table-cell!important;width:auto!important;min-width:0!important;padding:10px 8px!important;border:0!important;border-bottom:1px solid #e3ebf0!important;
    text-align:right!important;vertical-align:middle!important;background:#fff!important;
  }
  body[data-page="monthly-report"] .organization-report-table th{background:#143e5d!important;color:#fff!important;white-space:nowrap!important;border-bottom:0!important}
  body[data-page="monthly-report"] .organization-report-table th:first-child{border-radius:0 10px 0 0!important}
  body[data-page="monthly-report"] .organization-report-table th:last-child{border-radius:10px 0 0 0!important}
  body[data-page="monthly-report"] .organization-report-table td::before{display:none!important;content:none!important}
  body[data-page="monthly-report"] .organization-report-table tbody tr:hover td{background:#f7fafc!important}
}
@media (max-width:900px){
  body[data-page="monthly-report"] .organization-report-controls{grid-template-columns:1fr 1fr!important}
  body[data-page="monthly-report"] .organization-report-controls .btn{grid-column:1/-1!important;width:100%!important}
  body[data-page="monthly-report"] .organization-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:560px){
  body[data-page="monthly-report"] .organization-report-controls{grid-template-columns:1fr!important}
  body[data-page="monthly-report"] .organization-report-controls .btn{grid-column:auto!important}
  body[data-page="monthly-report"] .organization-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body[data-page="monthly-report"] .organization-report-kpis>.kpi{min-height:96px!important;padding:12px!important}
}

/* ---------- v346.2: keep five dashboard cards balanced at tablet widths ---------- */
@media (max-width:880px) and (min-width:601px){
  body[data-page="dashboard"] #manager-financial-summary.tiam-summary-bar{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  body[data-page="dashboard"] #manager-financial-summary>.summary-item{
    grid-column:span 2!important;
  }
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:nth-child(n/**/+4){
    grid-column:span 3!important;
  }
}
@media (max-width:600px) and (min-width:431px){
  body[data-page="dashboard"] #manager-financial-summary.tiam-summary-bar{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
  }
  body[data-page="dashboard"] #manager-financial-summary>.summary-item{
    grid-column:span 3!important;
  }
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:nth-child(n/**/+3){
    grid-column:span 2!important;
  }
}
@media (max-width:430px){
  body[data-page="dashboard"] #manager-financial-summary.tiam-summary-bar{grid-template-columns:1fr!important}
  body[data-page="dashboard"] #manager-financial-summary>.summary-item{grid-column:auto!important}
}

/* v346.2.1 — override the former odd-last full-row rule. */
@media (max-width:880px) and (min-width:601px){
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:nth-child(4),
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:nth-child(5):last-child{
    grid-column:span 3!important;
  }
}
@media (max-width:600px) and (min-width:431px){
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:nth-child(3),
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:nth-child(4),
  body[data-page="dashboard"] #manager-financial-summary>.summary-item:nth-child(5):last-child{
    grid-column:span 2!important;
  }
}

/* ===== SOURCE: tiam-design-system-v347.css | sha256:0ea7e1d32f90867e036f8ae2505a5bb431e80241912dadcbd024e5db4a8d4d63 ===== */
/* TIAM v347 — shared enterprise design system */
:root{
  --tiam-control-height:42px;--tiam-icon-button:40px;--tiam-icon-size:20px;
  --tiam-radius-sm:8px;--tiam-radius:12px;--tiam-radius-lg:16px;
  --tiam-border:#d8e2e9;--tiam-border-strong:#bccdd9;--tiam-focus:#2f759f;
  --tiam-text:#17354b;--tiam-muted:#667b8b;--tiam-surface:#fff;--tiam-surface-soft:#f6f9fb;
  --tiam-primary:#185a83;--tiam-primary-hover:#124b70;
  --tiam-elevation-0:none;--tiam-elevation-1:0 4px 12px rgba(15,45,65,.06);
  --tiam-elevation-2:0 10px 28px rgba(15,45,65,.13);--tiam-elevation-3:0 20px 55px rgba(15,45,65,.20);
  --tiam-page-header-min-height:66px;--tiam-page-gap:16px;
}
/* Base control contract. Composite controls own the only visible frame. */
#page-content :where(input:not([type="checkbox"]):not([type="radio"]):not([data-jdate]):not(.jdate-input),select,textarea),
.modal :where(input:not([type="checkbox"]):not([type="radio"]):not([data-jdate]):not(.jdate-input),select,textarea){
  box-sizing:border-box;min-height:var(--tiam-control-height);border:1px solid var(--tiam-border);border-radius:var(--tiam-radius);background:var(--tiam-surface);color:var(--tiam-text);font-size:max(13px,1em);box-shadow:none;
}
#page-content :where(input,select,textarea):focus-visible,.modal :where(input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--tiam-focus) 22%,transparent);outline-offset:1px;border-color:var(--tiam-focus)}
:where(.date-control,.jdate-control,.search-box,.search-control,.input-with-icon,.password-control,.money-control,.file-control){min-height:var(--tiam-control-height);border:1px solid var(--tiam-border);border-radius:var(--tiam-radius);background:var(--tiam-surface);box-shadow:none;display:flex;align-items:center;overflow:hidden}
#page-content :where(.date-control,.jdate-control,.search-box,.search-control,.input-with-icon,.password-control,.money-control,.file-control)>input,
.modal :where(.date-control,.jdate-control,.search-box,.search-control,.input-with-icon,.password-control,.money-control,.file-control)>input{width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;margin:0!important}
:where(.date-control,.jdate-control,.search-box,.search-control,.input-with-icon,.password-control,.money-control,.file-control):focus-within{border-color:var(--tiam-focus);outline:3px solid color-mix(in srgb,var(--tiam-focus) 18%,transparent);outline-offset:1px}
:where(.date-control,.jdate-control)>.calendar-trigger{height:100%!important;min-height:0!important;flex:0 0 40px;border:0!important;border-inline-start:1px solid var(--tiam-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.icon-button,.icon-btn,.tiam-icon-only,.tiam-head-icon-action{width:var(--tiam-icon-button)!important;height:var(--tiam-icon-button)!important;min-width:var(--tiam-icon-button)!important;min-height:var(--tiam-icon-button)!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;flex:0 0 auto!important}
:where(.icon-button,.icon-btn,.tiam-icon-only,.tiam-head-icon-action)>:where(svg,i,img){width:var(--tiam-icon-size)!important;height:var(--tiam-icon-size)!important;display:block!important;flex:0 0 auto!important;margin:0!important;transform:none!important}
:where(button,a,[role="button"]):focus-visible{outline:3px solid color-mix(in srgb,var(--tiam-focus) 26%,transparent)!important;outline-offset:2px!important}
/* Compact neutral page header. */
#page-content>.tiam-page-hero,#page-content>.rec-workspace-hero.tiam-page-hero{
  min-height:var(--tiam-page-header-min-height)!important;margin:0 0 var(--tiam-page-gap)!important;padding:10px 2px 11px!important;border:0!important;border-bottom:1px solid var(--tiam-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--tiam-text)!important;overflow:visible!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;align-items:center!important;gap:11px!important;
}
#page-content>.tiam-page-hero::after{display:none!important;content:none!important}
#page-content>.tiam-page-hero .tiam-page-hero__visual{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border:1px solid #d7e5ee!important;border-radius:11px!important;background:#eef5f9!important;box-shadow:none!important;display:grid!important;place-items:center!important;color:var(--tiam-primary)!important}
#page-content>.tiam-page-hero .tiam-page-hero__visual svg{width:20px!important;height:20px!important;stroke:currentColor!important;color:inherit!important}
#page-content>.tiam-page-hero .tiam-page-hero__copy{min-width:0!important;color:var(--tiam-text)!important}
#page-content>.tiam-page-hero .tiam-page-hero__copy h1{margin:0!important;color:var(--tiam-text)!important;font-size:20px!important;line-height:1.45!important;font-weight:850!important}
#page-content>.tiam-page-hero .tiam-page-hero__copy p{margin:2px 0 0!important;color:var(--tiam-muted)!important;font-size:12px!important;line-height:1.55!important}
#page-content>.tiam-page-hero .tiam-page-hero__actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;position:static!important}
#page-content>.tiam-page-hero .tiam-page-hero__actions :where(button,a){width:auto!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0 12px!important;border:1px solid var(--tiam-border)!important;border-radius:10px!important;background:#fff!important;color:var(--tiam-text)!important;box-shadow:none!important;font-size:12px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-decoration:none!important;transform:none!important}
#page-content>.tiam-page-hero .tiam-page-hero__actions :where(button,a):hover{border-color:var(--tiam-border-strong)!important;background:var(--tiam-surface-soft)!important;box-shadow:none!important;transform:none!important}
#page-content>.tiam-page-hero .tiam-page-hero__actions :where(.btn-primary,.is-primary){border-color:var(--tiam-primary)!important;background:var(--tiam-primary)!important;color:#fff!important}
#page-content>.tiam-page-hero .tiam-page-hero__actions :where(.btn-primary,.is-primary):hover{background:var(--tiam-primary-hover)!important}
/* Elevation hierarchy. */
:where(.field,input,select,textarea,.date-control,.search-box,.summary-item,.data-table tbody tr){box-shadow:var(--tiam-elevation-0)!important}
:where(.card,.panel,.settings-center-card,.v341-adjustment-list-card){box-shadow:var(--tiam-elevation-1)!important}
:where(.dropdown-menu,.popover,.jdate-picker){box-shadow:var(--tiam-elevation-2)!important}
.modal{box-shadow:var(--tiam-elevation-3)!important}
.data-table :where(td,th){font-size:max(12px,1em)}
:where(.money,.currency,.v341-adjustment-value,.ltr-cell){font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:clip!important}
@media(max-width:760px){
  #page-content>.tiam-page-hero{grid-template-columns:40px minmax(0,1fr)!important}
  #page-content>.tiam-page-hero .tiam-page-hero__actions{grid-column:1/-1!important;justify-content:flex-start!important;width:100%!important}
  #page-content>.tiam-page-hero .tiam-page-hero__actions :where(button,a){flex:1 1 auto!important}
}
@media(max-width:430px){#page-content>.tiam-page-hero .tiam-page-hero__copy p{display:none!important}}
/* Reconciliation uses the same shared control/header contract. */
body[data-page="reconciliation"] #page-content>.rec-workspace-hero.tiam-page-hero{
  min-height:var(--tiam-page-header-min-height)!important;padding:10px 2px 11px!important;border:0!important;border-bottom:1px solid var(--tiam-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
body[data-page="reconciliation"] #page-content>.rec-workspace-hero.tiam-page-hero::after{display:none!important;content:none!important;box-shadow:none!important}
body[data-page="reconciliation"] #page-content .rec-search-input-shell>input{
  width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;margin:0!important;
}
/* ---------- v347 adjustments workspace ---------- */
body[data-page="adjustments"] #page-content{overflow-x:hidden!important}
.v347-adjustments{display:grid;gap:14px;min-width:0}
.v347-adjustment-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;background:transparent;border:0;box-shadow:none}
.v347-adjustment-summary article{min-height:78px;padding:12px 14px;border:1px solid var(--tiam-border);border-radius:var(--tiam-radius);background:#fff;box-shadow:none;display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0}
.v347-adjustment-summary small{font-size:12px;color:var(--tiam-muted)}
.v347-adjustment-summary b{font-size:17px;color:var(--tiam-text);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:visible;text-overflow:clip}
.v347-adjustment-summary .is-plus b{color:#167047}.v347-adjustment-summary .is-minus b{color:#a83c35}
.v347-adjustment-tabs{display:flex;gap:4px;width:max-content;max-width:100%;padding:4px;border:1px solid var(--tiam-border);border-radius:11px;background:#f3f7f9;box-shadow:none}
.v347-adjustment-tabs button{min-height:36px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--tiam-muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.v347-adjustment-tabs button.is-active{background:#fff;color:var(--tiam-text);box-shadow:0 1px 4px rgba(15,45,65,.08)}
.v347-adjustment-tabs button span{min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#e6eef3;color:#486174;display:inline-grid;place-items:center;font-size:10.5px}
.v347-adjustment-tabs button.is-active span{background:#e6f1f7;color:var(--tiam-primary)}
.v347-adjustment-panel{display:grid;gap:12px;min-width:0}.v347-adjustment-panel[hidden]{display:none!important}
.v347-adjustment-filters{display:grid;grid-template-columns:minmax(220px,1.45fr) repeat(3,minmax(130px,.75fr)) repeat(2,minmax(135px,.75fr)) minmax(125px,.7fr) minmax(145px,.8fr) auto;gap:9px;align-items:end;padding:12px;border:1px solid var(--tiam-border);border-radius:var(--tiam-radius-lg);background:#fff;box-shadow:var(--tiam-elevation-1)}
.v347-adjustment-filters .field{display:grid;gap:6px;min-width:0}.v347-adjustment-filters .field>span{font-size:11px;font-weight:750;color:#40586a}
.v347-adjustment-filters .search-control{display:flex!important}.v347-adjustment-filters .search-control svg{width:18px;height:18px;margin-inline:11px 4px;color:#718695;flex:0 0 auto}
.v347-adjustment-filters :where(input,select){width:100%;min-width:0}
.v347-clear-filters{height:var(--tiam-control-height)!important;white-space:nowrap}
.v347-records-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 1px}
.v347-records-head h2{margin:0;font-size:15px;color:var(--tiam-text)}.v347-records-head small{display:block;margin-top:3px;font-size:11px;color:var(--tiam-muted)}
.v347-records-head>label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--tiam-muted);white-space:nowrap}.v347-records-head select{width:76px;min-height:36px;height:36px}
.v347-adjustment-table-wrap{width:100%;min-width:0;overflow:auto;border:1px solid var(--tiam-border);border-radius:var(--tiam-radius-lg);background:#fff;box-shadow:var(--tiam-elevation-1)}
.v347-adjustment-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;table-layout:auto}
.v347-adjustment-table thead th{position:sticky;top:0;z-index:2;padding:10px 9px;background:#f4f7f9;color:#536a7a;font-size:11px;font-weight:850;white-space:nowrap;border-bottom:1px solid var(--tiam-border)}
.v347-adjustment-table td{padding:10px 9px;vertical-align:middle;border-bottom:1px solid #e8eef2;font-size:12px;color:var(--tiam-text);background:#fff}
.v347-adjustment-table tbody tr:last-child td{border-bottom:0}.v347-adjustment-table tbody tr:hover td{background:#fafcfd}
.v347-person{display:grid;gap:2px;min-width:135px}.v347-person b{font-size:12px}.v347-person small{font-size:10.5px;color:var(--tiam-muted)}
.v347-item-type{display:inline-flex;align-items:center;min-height:26px;padding:3px 8px;border-radius:7px;background:#eef5f9;color:#295c7c;font-size:10.5px;font-weight:800;white-space:nowrap}.v347-item-type.is-deduction{background:#fff2f0;color:#9c3d35}
.v347-money{min-width:150px}.v347-money b{display:block;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.v347-money small{display:block;margin-top:2px;font-size:10.5px;color:var(--tiam-muted);white-space:normal}.v347-money.is-plus b{color:#167047}.v347-money.is-minus b{color:#a83c35}
.v347-row-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:10.5px;color:#526b7b}.v347-row-status i{width:7px;height:7px;border-radius:50%;background:#42a46f;flex:0 0 auto}.v347-row-status.is-warning i{background:#d39b27}.v347-row-status.is-muted i{background:#9aa9b4}
.v347-attachment-state{font-size:10.5px;color:#346681}.v347-attachment-state.is-empty{color:#8796a1}
.v347-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;position:relative}.v347-row-actions>.btn{min-height:34px!important;height:34px!important;padding:0 10px!important;font-size:10.5px!important}
.v347-row-menu{position:relative}.v347-row-menu>summary{list-style:none;border:1px solid var(--tiam-border);border-radius:9px;background:#fff;color:#405d72;cursor:pointer;font-size:13px;letter-spacing:1px}.v347-row-menu>summary::-webkit-details-marker{display:none}
.v347-row-menu>div{position:absolute;inset-inline-end:0;top:calc(100% + 5px);z-index:40;min-width:190px;padding:5px;border:1px solid var(--tiam-border);border-radius:10px;background:#fff;box-shadow:var(--tiam-elevation-2);display:grid}
.v347-row-menu button{min-height:34px;padding:0 10px;border:0;border-radius:7px;background:transparent;text-align:right;color:var(--tiam-text);font:inherit;font-size:11px;cursor:pointer}.v347-row-menu button:hover{background:#f3f7f9}.v347-row-menu button.is-danger{color:#a23535}.v347-row-menu hr{width:100%;height:1px;border:0;background:var(--tiam-border);margin:4px 0}
.v347-adjustment-pagination{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.v347-adjustment-pagination button{min-width:36px;height:36px;padding:0 9px;border:1px solid var(--tiam-border);border-radius:8px;background:#fff;color:var(--tiam-text);cursor:pointer}.v347-adjustment-pagination button.is-active{background:var(--tiam-primary);border-color:var(--tiam-primary);color:#fff}.v347-adjustment-pagination button:disabled{opacity:.45;cursor:not-allowed}.v347-adjustment-pagination small{margin-inline-start:5px;color:var(--tiam-muted);font-size:10.5px}
.v347-empty-state,.v347-error-state{min-height:210px;padding:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}.v347-empty-state>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#edf4f8;color:#5b7d92;font-size:20px}.v347-empty-state h3,.v347-empty-state p,.v347-error-state p{margin:0}.v347-empty-state h3,.v347-error-state b{font-size:14px;color:var(--tiam-text)}.v347-empty-state p,.v347-error-state p{font-size:11px;color:var(--tiam-muted)}
.v347-auto-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v347-auto-summary article{min-height:74px;padding:12px;border:1px solid var(--tiam-border);border-radius:var(--tiam-radius);background:#fff}.v347-auto-summary small{display:block;font-size:11px;color:var(--tiam-muted)}.v347-auto-summary b{display:block;margin-top:5px;font-size:16px;color:var(--tiam-text)}
.v347-auto-manager{border:1px solid var(--tiam-border);border-radius:var(--tiam-radius-lg);background:#fff;box-shadow:var(--tiam-elevation-1);padding:12px;min-width:0}
/* Modal form */
.modal[data-modal-kind="adjustment"]{width:min(620px,calc(100vw - 28px))!important;max-width:620px!important}
.v347-adjustment-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v347-adjustment-form .field{display:grid;gap:6px}.v347-adjustment-form .field.is-full,.v347-adjustment-effect,.v347-form-warning{grid-column:1/-1}.v347-adjustment-form label{font-size:12px;font-weight:800;color:#40586a}.v347-adjustment-form textarea{min-height:82px!important;resize:vertical}
.v347-adjustment-effect{min-height:52px;padding:9px 11px;border:1px solid var(--tiam-border);border-radius:10px;background:#f6f9fb;display:flex;align-items:center;justify-content:space-between;gap:10px}.v347-adjustment-effect span{font-size:11px;color:var(--tiam-muted)}.v347-adjustment-effect b{font-size:13px;white-space:nowrap}.v347-adjustment-effect.is-plus b{color:#167047}.v347-adjustment-effect.is-minus b{color:#a83c35}
.v347-form-warning{padding:9px 11px;border:1px solid #ead59f;border-radius:10px;background:#fff9ea;color:#785b18;font-size:11px}
@media(max-width:1320px){.v347-adjustment-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.v347-search-field{grid-column:span 2}.v347-clear-filters{width:100%}}
@media(max-width:900px){.v347-adjustment-summary,.v347-auto-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.v347-adjustment-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.v347-search-field{grid-column:1/-1}}
@media(max-width:720px){.v347-adjustment-table{min-width:0}.v347-adjustment-table thead{display:none}.v347-adjustment-table,.v347-adjustment-table tbody,.v347-adjustment-table tr,.v347-adjustment-table td{display:block;width:100%}.v347-adjustment-table tr{padding:10px 12px;border-bottom:1px solid var(--tiam-border)}.v347-adjustment-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px;padding:6px 0;border:0;background:transparent!important}.v347-adjustment-table td::before{content:attr(data-label);font-size:10.5px;font-weight:800;color:var(--tiam-muted)}.v347-row-actions{justify-content:flex-start}.v347-row-menu>div{inset-inline-end:auto;inset-inline-start:0}.v347-records-head{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.v347-adjustment-summary,.v347-auto-summary,.v347-adjustment-filters{grid-template-columns:1fr}.v347-search-field{grid-column:auto}.v347-adjustment-tabs{width:100%}.v347-adjustment-tabs button{flex:1}.v347-adjustment-form{grid-template-columns:1fr}.v347-adjustment-form .field.is-full,.v347-adjustment-effect,.v347-form-warning{grid-column:auto}.modal[data-modal-kind="adjustment"]{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important}}
.v347-row-note{display:block;margin-top:4px;max-width:240px;color:var(--tiam-muted);font-size:10.5px;line-height:1.55;white-space:normal}


/* v347 stage 4 — source-level page-header architecture */
body[data-page="dashboard"] #page-content > .manager-activity-shell{display:grid;gap:var(--space-4,16px)}
body[data-page="dashboard"] .v347-dashboard-health{
  width:auto;min-width:0;justify-self:stretch;display:grid;grid-template-columns:minmax(150px,.55fr) minmax(180px,.8fr) minmax(260px,1.65fr);align-items:center;gap:12px;
  padding:12px 16px;border:1px solid var(--ds-border,#dce4eb);border-radius:var(--ds-radius-md,12px);background:var(--ds-surface,#fff);box-shadow:none;backdrop-filter:none;color:var(--ds-text,#172a3a)
}
body[data-page="dashboard"] .v347-dashboard-health small,body[data-page="dashboard"] .v347-dashboard-health b,body[data-page="dashboard"] .v347-dashboard-health span{margin:0;color:inherit}
body[data-page="dashboard"] .v347-dashboard-health small{font-size:12px;font-weight:750}
body[data-page="dashboard"] .v347-dashboard-health b{font-size:14px;font-weight:900}
body[data-page="dashboard"] .v347-dashboard-health span{font-size:12px;line-height:1.7;color:var(--ds-text-muted,#607080)}
body[data-page="dashboard"] .v347-dashboard-health.is-critical{border-color:#efc8cc;background:#fff8f8;color:#8c2730}
body[data-page="dashboard"] .v347-dashboard-health.is-warning{border-color:#ead6a5;background:#fffaf0;color:#7c5a11}
body[data-page="dashboard"] .v347-dashboard-health.is-positive{border-color:#b8dfd0;background:#f5fcf9;color:#1d684e}
body[data-page="dashboard"] .manager-activity-title h2{margin:0;font-size:18px}

body[data-page="sales-operations"] #page-content>.sm148-workspace-head{margin-top:0}
body[data-page="sales-operations"] .sm148-workspace-title h2{margin:0;font-size:18px;line-height:1.45}

body[data-page="attendance"] .attendance-v347-file-context{
  display:flex;align-items:center;gap:12px;margin:0;padding:12px 16px;border:1px solid var(--ds-border,#dce4eb);border-radius:var(--ds-radius-md,12px);background:var(--ds-surface,#fff);box-shadow:none
}
body[data-page="attendance"] .attendance-v347-file-context h2{margin:0;font-size:18px;line-height:1.45}
body[data-page="attendance"] .attendance-v347-file-context small{display:block;margin-bottom:3px;color:var(--ds-text-muted,#607080)}
body[data-page="attendance"] .attendance-v347-file-context .attendance-v337-head-icon{position:static;flex:0 0 auto}

body[data-page="credit-assessment"] .credit-v347-archive-context{
  display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--ds-border,#dce4eb);border-radius:var(--ds-radius-md,12px);background:var(--ds-surface,#fff);box-shadow:none
}
body[data-page="credit-assessment"] .credit-v347-archive-context h2{margin:0;font-size:18px}
body[data-page="credit-assessment"] .credit-v347-archive-context small{display:block;margin-bottom:3px;color:var(--ds-text-muted,#607080)}
body[data-page="credit-assessment"] #page-content>.credit-v118-summary-grid{margin:0}

@media (max-width:768px){
  body[data-page="dashboard"] .v347-dashboard-health{grid-template-columns:1fr;gap:4px}
  body[data-page="attendance"] .attendance-v347-file-context{align-items:flex-start}
}


/* v347 stage 4 — remaining route-level page headers */
body[data-page="brokerage"] .brokerage-v347-count{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border:1px solid var(--ds-border,#dce4eb);border-radius:999px;background:var(--ds-surface-soft,#f6f8fa);font-size:12px;font-weight:800;color:var(--ds-text-muted,#607080);white-space:nowrap}
body[data-page="brokerage"] #page-content>.brokerage-v285-active-filters{margin:0}
body[data-page="brokerage"] #page-content>.brokerage-v285-page{margin-top:0}
body[data-page="sales-report"] .sales-report-icon-actions,body[data-page="performance"] .sales-report-icon-actions{display:contents}
body[data-page="financial-statements"] #page-content>.v341-financials,body[data-page="future-payments"] #page-content>.fp-shell{margin-top:0}
@media print{body[data-page="financial-statements"] #page-content>.tiam-page-hero{display:none!important}}

/* v347 stage 5 — topbar utilities and mobile dialog contract */
.topbar .so-top-actions{display:flex;align-items:center;gap:6px;min-width:0}
.topbar .so-top-actions > :is(button,a),
.topbar > #logout-btn,
.topbar #customer-call-top-btn{
  width:var(--ds-icon-button,40px)!important;height:var(--ds-icon-button,40px)!important;min-width:var(--ds-icon-button,40px)!important;min-height:var(--ds-icon-button,40px)!important;
  padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;flex:0 0 auto!important
}
.topbar .so-top-actions > :is(button,a) > svg,
.topbar > #logout-btn > svg,
.topbar #customer-call-top-btn > svg{width:20px!important;height:20px!important;display:block!important;margin:0!important;flex:0 0 auto!important}
.topbar .so-top-actions > :is(button,a) > b{position:absolute!important;inset-inline-start:-3px!important;inset-block-start:-4px!important;margin:0!important}

@media (max-width:600px){
  #modal-backdrop.modal-backdrop{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
  #modal-backdrop #modal.modal{
    width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;min-height:100dvh!important;
    margin:0!important;border-radius:0!important;inset:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important
  }
  #modal-backdrop #modal .modal-head{flex:0 0 auto!important}
  #modal-backdrop #modal .modal-body{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important}
  #modal-backdrop #modal .modal-actions{flex:0 0 auto!important;position:sticky!important;bottom:0!important}
}

/* v347 stage 5 — restore the shared application topbar and responsive tool overflow. */
body:not(.auth-active) .topbar{
  display:flex!important;align-items:center!important;gap:8px!important;direction:rtl!important;
  width:100%!important;height:54px!important;min-height:54px!important;flex:0 0 54px!important;
  margin:0!important;padding:0 14px!important;overflow:visible!important;border:0!important;border-bottom:1px solid var(--tiam-border)!important;
  background:#fff!important;box-shadow:none!important;position:relative!important;z-index:90!important;
}
body:not(.auth-active) #page-content{height:auto!important;min-height:0!important;padding-top:16px!important}
body:not(.auth-active) .topbar .top-title{display:block!important;min-width:70px!important;flex:0 1 auto!important}
body:not(.auth-active) .topbar .top-title b{display:block!important;font-size:14px!important;line-height:1.2!important;color:var(--tiam-text)!important;white-space:nowrap!important}
body:not(.auth-active) .topbar>.so-top-actions{display:flex!important;margin-inline-start:auto!important}
body:not(.auth-active) .topbar .v347-tool-label{display:none!important}
body:not(.auth-active) .topbar :where(.so-top-action,.customer-call-top-btn,.topbar-logout,#v347-topbar-more>summary){
  position:relative!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--tiam-border)!important;border-radius:10px!important;background:#fff!important;color:var(--tiam-text)!important;box-shadow:none!important;
}
body:not(.auth-active) .topbar :where(.so-top-action,.customer-call-top-btn,.topbar-logout,#v347-topbar-more>summary):hover{background:var(--tiam-surface-soft)!important;border-color:var(--tiam-border-strong)!important}
body:not(.auth-active) .topbar :where(.so-top-action,.customer-call-top-btn,.topbar-logout,#v347-topbar-more>summary)>svg{width:20px!important;height:20px!important;display:block!important;margin:0!important;stroke:currentColor!important;fill:none!important}
body:not(.auth-active) .topbar .profile{margin:0!important;min-width:40px!important;min-height:40px!important;height:40px!important;padding:0 8px!important;border:1px solid var(--tiam-border)!important;border-radius:10px!important;background:#fff!important;display:flex!important;align-items:center!important;gap:8px!important;box-shadow:none!important}
body:not(.auth-active) .topbar .v347-profile-mark{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:8px;background:#eaf2f7;color:var(--tiam-primary);font-size:12px;font-weight:900}
body:not(.auth-active) .topbar .profile>div{min-width:0}
body:not(.auth-active) .topbar .profile b{font-size:11px!important;max-width:120px!important}
body:not(.auth-active) .topbar .profile small{font-size:10.5px!important;max-width:120px!important}
body:not(.auth-active) .topbar .top-date-pill{height:40px!important;min-height:40px!important;border:1px solid var(--tiam-border)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
.v347-topbar-more{position:relative;flex:0 0 auto}
.v347-topbar-more>summary{list-style:none;cursor:pointer}.v347-topbar-more>summary::-webkit-details-marker{display:none}
.v347-topbar-more-menu{position:absolute;inset-inline-end:0;top:calc(100% + 7px);z-index:220;display:grid;gap:4px;width:220px;padding:7px;border:1px solid var(--tiam-border);border-radius:12px;background:#fff;box-shadow:var(--tiam-elevation-2)}
.v347-topbar-more:not([open])>.v347-topbar-more-menu{display:none}
body:not(.auth-active) .topbar .v347-topbar-more-menu>button{width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--tiam-text)!important;text-align:right!important}
body:not(.auth-active) .topbar .v347-topbar-more-menu>button:hover{background:var(--tiam-surface-soft)!important}
body:not(.auth-active) .topbar .v347-topbar-more-menu>button>svg{width:19px!important;height:19px!important;flex:0 0 19px!important}
body:not(.auth-active) .topbar .v347-topbar-more-menu .v347-tool-label{display:block!important;font-size:12px!important;font-weight:750!important}
@media(max-width:1100px){body:not(.auth-active) .topbar .top-date-pill{display:none!important}}
@media(max-width:900px){
  body:not(.auth-active) #page-content{padding-top:14px!important}
  body:not(.auth-active) .topbar .top-title{min-width:54px!important}
  body:not(.auth-active) .topbar .profile>div{display:none!important}
  body:not(.auth-active) .topbar .profile{width:40px!important;padding:0!important;justify-content:center!important}
}
@media(max-width:600px){
  body:not(.auth-active) .topbar{padding:0 8px!important;gap:5px!important}
  body:not(.auth-active) .topbar .top-title{min-width:0!important;max-width:54px!important}
  body:not(.auth-active) .topbar>.so-top-actions{display:none!important}
  .v347-topbar-more-menu{position:fixed;inset-inline:8px!important;top:58px!important;width:auto!important}
}

@media(max-width:900px){}

@media(max-width:900px){}
body:not(.auth-active) .topbar .v347-topbar-more-menu>#customer-call-top-btn{width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;padding:0 10px!important;display:flex!important;justify-content:flex-start!important;gap:10px!important}

/* ===== SOURCE: tiam-header-navy-v348.css | sha256:63b4627009b11c4d5aacdc0dedb9277c5d8e038e57b5506e6bff787495ac6df5 ===== */
/* TIAM v348 — restore the compact navy page header without restoring duplicate headers. */
:root{
  --tiam-header-navy-1:#0f2f4b;
  --tiam-header-navy-2:#123e61;
  --tiam-header-navy-3:#0c5277;
  --tiam-header-ink:#fff;
  --tiam-header-muted:rgba(255,255,255,.72);
  --tiam-header-border:rgba(255,255,255,.22);
  --tiam-header-control:rgba(255,255,255,.10);
  --tiam-header-control-hover:rgba(255,255,255,.18);
}

/* The navy Page Header owns page identity and the Global Tools trigger; the drawer itself is body-level. */
#page-content > .tiam-page-hero,
#page-content > .rec-workspace-hero.tiam-page-hero{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:72px!important;
  margin:0 0 14px!important;
  padding:10px 13px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  border:1px solid rgba(9,38,60,.34)!important;
  border-radius:16px!important;
  background:
    radial-gradient(circle at 88% 4%,rgba(255,255,255,.16),transparent 31%),
    linear-gradient(135deg,var(--tiam-header-navy-1) 0%,var(--tiam-header-navy-2) 57%,var(--tiam-header-navy-3) 100%)!important;
  color:var(--tiam-header-ink)!important;
  box-shadow:0 5px 14px rgba(10,43,66,.12)!important;
  overflow:visible!important;
  position:relative!important;
  isolation:isolate!important;
}
#page-content > .tiam-page-hero::after,
#page-content > .rec-workspace-hero.tiam-page-hero::after{display:none!important;content:none!important}

#page-content > .tiam-page-hero .tiam-page-hero__visual{
  box-sizing:border-box!important;
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
  margin:0!important;padding:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid var(--tiam-header-border)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.11)!important;
  color:#fff!important;
  box-shadow:none!important;
  line-height:1!important;
}
#page-content > .tiam-page-hero .tiam-page-hero__visual > svg{
  width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;
  display:block!important;margin:0!important;padding:0!important;
  position:static!important;inset:auto!important;transform:none!important;
  color:inherit!important;stroke:currentColor!important;fill:none;
  stroke-width:1.85!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  overflow:visible!important;flex:0 0 21px!important;
}

#page-content > .tiam-page-hero .tiam-page-hero__copy{min-width:0!important;align-self:center!important;color:#fff!important}
#page-content > .tiam-page-hero .tiam-page-hero__copy :where(h1,h2){
  margin:0!important;max-width:100%!important;
  color:#fff!important;font-size:19px!important;font-weight:850!important;line-height:1.55!important;
  overflow-wrap:anywhere!important;text-shadow:none!important;
}
/* User requested the compact title-only header; descriptions stay removed. */
#page-content > .tiam-page-hero .tiam-page-hero__copy > :where(p,small,[class*="eyebrow"],[class*="kicker"]){display:none!important}

#page-content > .tiam-page-hero .tiam-page-hero__actions{
  min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:7px!important;flex-wrap:wrap!important;position:static!important;color:#fff!important;
}
#page-content > .tiam-page-hero .tiam-page-hero__actions :where(button,a,summary){
  box-sizing:border-box!important;
  min-width:40px!important;height:40px!important;min-height:40px!important;
  padding:0 11px!important;margin:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  border:1px solid var(--tiam-header-border)!important;border-radius:10px!important;
  background:var(--tiam-header-control)!important;color:#fff!important;
  box-shadow:none!important;line-height:1!important;text-decoration:none!important;
  transform:none!important;vertical-align:middle!important;white-space:nowrap!important;
}
#page-content > .tiam-page-hero .tiam-page-hero__actions :where(button,a,summary):hover{
  background:var(--tiam-header-control-hover)!important;border-color:rgba(255,255,255,.34)!important;
  color:#fff!important;box-shadow:none!important;transform:none!important;
}
#page-content > .tiam-page-hero .tiam-page-hero__actions :where(button,a,summary):active{transform:translateY(1px)!important}
#page-content > .tiam-page-hero .tiam-page-hero__actions :where(.icon-button,.icon-btn,.tiam-icon-only,.tiam-head-icon-action,.rec-head-icon,.rec-icon-btn){
  width:40px!important;min-width:40px!important;padding:0!important;
}
#page-content > .tiam-page-hero .tiam-page-hero__actions :where(button,a,summary) > svg{
  width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;
  display:block!important;margin:0!important;padding:0!important;flex:0 0 18px!important;
  position:static!important;inset:auto!important;transform:none!important;
  color:inherit!important;stroke:currentColor!important;fill:none;
  stroke-width:1.85!important;stroke-linecap:round!important;stroke-linejoin:round!important;overflow:visible!important;
}
#page-content > .tiam-page-hero .tiam-page-hero__actions :where(.btn-primary,.is-primary,.rec-head-primary){
  border-color:#fff!important;background:#fff!important;color:#123e61!important;font-weight:850!important;
}
#page-content > .tiam-page-hero .tiam-page-hero__actions :where(.btn-primary,.is-primary,.rec-head-primary):hover{
  background:#eef6fb!important;border-color:#eef6fb!important;color:#0f3554!important;
}

/* Dashboard health stays inside the navy header and no longer becomes a white card. */
body[data-page="dashboard"] #page-content > .tiam-page-hero{
  min-height:88px!important;padding:12px 15px!important;
  grid-template-columns:46px minmax(0,1fr) minmax(260px,430px)!important;
}
body[data-page="dashboard"] #page-content > .tiam-page-hero .tiam-page-hero__copy h1{font-size:21px!important}
body[data-page="dashboard"] #page-content > .tiam-page-hero .v347-dashboard-health,
body[data-page="dashboard"] #page-content > .tiam-page-hero .v343-dashboard-health{
  width:100%!important;min-width:0!important;min-height:54px!important;
  padding:8px 11px!important;display:grid!important;
  grid-template-columns:minmax(105px,.55fr) minmax(120px,.7fr) minmax(170px,1.45fr)!important;
  align-items:center!important;gap:9px!important;
  border:1px solid var(--tiam-header-border)!important;border-radius:11px!important;
  background:rgba(255,255,255,.10)!important;box-shadow:none!important;backdrop-filter:none!important;
  color:#fff!important;
}
body[data-page="dashboard"] #page-content > .tiam-page-hero .v347-dashboard-health :where(small,b,span),
body[data-page="dashboard"] #page-content > .tiam-page-hero .v343-dashboard-health :where(small,b,span){color:#fff!important;margin:0!important}
body[data-page="dashboard"] #page-content > .tiam-page-hero .v347-dashboard-health span,
body[data-page="dashboard"] #page-content > .tiam-page-hero .v343-dashboard-health span{color:var(--tiam-header-muted)!important}
body[data-page="dashboard"] #page-content > .tiam-page-hero .v347-dashboard-health:is(.is-critical,.is-warning,.is-positive){
  border-color:var(--tiam-header-border)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;
}

/* Reconciliation keeps its richer controls, but follows the same navy contract. */
body[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero{
  min-height:80px!important;padding:10px 13px!important;
  grid-template-columns:44px minmax(220px,1fr) minmax(0,auto)!important;
}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-panel{
  min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:7px!important;flex-wrap:wrap!important;
}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-status{
  box-sizing:border-box!important;min-height:40px!important;height:40px!important;padding:0 9px!important;
  display:flex!important;align-items:center!important;gap:7px!important;
  border:1px solid var(--tiam-header-border)!important;border-radius:10px!important;
  background:rgba(255,255,255,.10)!important;color:#fff!important;box-shadow:none!important;
}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-status > svg{
  width:17px!important;height:17px!important;display:block!important;margin:0!important;flex:0 0 17px!important;
  stroke:currentColor!important;color:inherit!important;transform:none!important;
}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-status :where(small,b){color:#fff!important;line-height:1.25!important}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-status small{opacity:.68!important;font-size:10.5px!important}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-status b{font-size:10.5px!important}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row > .rec-head-action,
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row > .rec-header-operations > summary.rec-head-action{
  height:40px!important;min-height:40px!important;padding:0 10px!important;
  border:1px solid var(--tiam-header-border)!important;border-radius:10px!important;
  background:var(--tiam-header-control)!important;color:#fff!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  line-height:1!important;box-shadow:none!important;transform:none!important;
}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row > .rec-head-primary{
  background:#fff!important;border-color:#fff!important;color:#123e61!important;
}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row .rec-head-action > svg{
  width:18px!important;height:18px!important;display:block!important;margin:0!important;flex:0 0 18px!important;
  position:static!important;transform:none!important;stroke:currentColor!important;color:inherit!important;
}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-action-menu{
  color:var(--tiam-text)!important;background:#fff!important;border-color:var(--tiam-border)!important;
}
body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-action-menu :where(a,button){
  min-height:38px!important;height:auto!important;color:var(--tiam-text)!important;background:#fff!important;border:0!important;
}

/* Topbar icon geometry: no manual offsets and no text glyph pretending to be an icon. */
body:not(.auth-active) .topbar :where(.so-top-action,.customer-call-top-btn,.topbar-logout,#v347-topbar-more>summary){
  line-height:1!important;text-indent:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
body:not(.auth-active) .topbar :where(.so-top-action,.customer-call-top-btn,.topbar-logout,#v347-topbar-more>summary) > svg,
body:not(.auth-active) .topbar .v348-profile-icon > svg{
  width:20px!important;height:20px!important;display:block!important;margin:0!important;padding:0!important;
  position:static!important;inset:auto!important;transform:none!important;flex:0 0 20px!important;
  stroke:currentColor!important;fill:none;stroke-width:1.8!important;overflow:visible!important;
}
body:not(.auth-active) .topbar .v348-profile-icon{
  width:26px!important;height:26px!important;flex:0 0 26px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:8px!important;background:#eaf2f7!important;color:var(--tiam-primary)!important;
}

@media(max-width:1100px){
  body[data-page="dashboard"] #page-content > .tiam-page-hero{grid-template-columns:44px minmax(0,1fr)!important}
  body[data-page="dashboard"] #page-content > .tiam-page-hero .tiam-page-hero__actions{grid-column:1/-1!important;width:100%!important}
}
@media(max-width:900px){
  #page-content > .tiam-page-hero,
  #page-content > .rec-workspace-hero.tiam-page-hero{grid-template-columns:44px minmax(0,1fr)!important}
  #page-content > .tiam-page-hero .tiam-page-hero__actions{grid-column:1/-1!important;width:100%!important;justify-content:flex-start!important}
  body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-panel{grid-column:1/-1!important;width:100%!important;justify-content:flex-start!important}
  body[data-page="dashboard"] #page-content > .tiam-page-hero .v347-dashboard-health,
  body[data-page="dashboard"] #page-content > .tiam-page-hero .v343-dashboard-health{grid-template-columns:1fr!important;gap:3px!important}
}
@media(max-width:600px){
  #page-content > .tiam-page-hero,
  #page-content > .rec-workspace-hero.tiam-page-hero{padding:10px!important;border-radius:13px!important}
  #page-content > .tiam-page-hero .tiam-page-hero__actions :where(button,a,summary){flex:0 1 auto!important}
  body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-status{width:100%!important;justify-content:flex-start!important}
  body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row{width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row > .rec-head-action:not(.rec-head-primary) span,
  body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row > .rec-header-operations > summary span{display:none!important}
  body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row > .rec-head-action:not(.rec-head-primary),
  body[data-page="reconciliation"] #page-content > .rec-workspace-hero .rec-header-actions-row > .rec-header-operations > summary{width:40px!important;min-width:40px!important;padding:0!important}
}

/* Final specificity guard against legacy page-scoped neutral-header rules. */
body:not(.auth-active) #page-content > .tiam-page-hero,
body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero{
  border:1px solid rgba(9,38,60,.34)!important;
  border-radius:16px!important;
  background:
    radial-gradient(circle at 88% 4%,rgba(255,255,255,.16),transparent 31%),
    linear-gradient(135deg,var(--tiam-header-navy-1) 0%,var(--tiam-header-navy-2) 57%,var(--tiam-header-navy-3) 100%)!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(10,43,66,.12)!important;
}
body:not(.auth-active) #page-content > .tiam-page-hero .tiam-page-hero__copy :where(h1,h2),
body:not(.auth-active) #page-content > .tiam-page-hero :where(h1,h2).ui-primary-page-title,
body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero #rec-page-title{
  position:static!important;inset:auto!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
  overflow:visible!important;clip:auto!important;clip-path:none!important;
  white-space:normal!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  opacity:1!important;visibility:visible!important;
}
body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero .rec-header-panel,
body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero .rec-header-actions-row{color:#fff!important}
body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero .rec-header-status b{
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:.92!important;
}

/* Explicit action type classes prevent legacy page CSS from shrinking text actions to icon squares. */
body:not(.auth-active) #page-content > .tiam-page-hero .tiam-page-hero__actions > :where(button,a,summary).tiam-header-action--text,
body:not(.auth-active) #page-content > .tiam-page-hero .tiam-page-hero__actions :where(.rec-header-actions-row) > :where(button,a).tiam-header-action--text,
body:not(.auth-active) #page-content > .tiam-page-hero .tiam-page-hero__actions :where(.rec-header-operations) > summary.tiam-header-action--text{
  width:auto!important;min-width:40px!important;height:40px!important;min-height:40px!important;
  padding:0 11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;line-height:1!important;font-size:12px!important;text-indent:0!important;overflow:visible!important;
}
body:not(.auth-active) #page-content > .tiam-page-hero .tiam-page-hero__actions :where(button,a,summary).tiam-header-action--text > svg{
  align-self:center!important;margin:0!important;position:static!important;transform:none!important;
}
body:not(.auth-active) #page-content > .tiam-page-hero .tiam-page-hero__actions :where(button,a,summary).tiam-header-action--text > span{
  display:inline!important;position:static!important;margin:0!important;line-height:1.4!important;color:inherit!important;
}
body:not(.auth-active) #page-content > .tiam-page-hero .tiam-page-hero__actions :where(button,a,summary).tiam-header-action--icon{
  width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;
  padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
@media(max-width:600px){
  body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero .rec-header-actions-row > :where(button,a).tiam-header-action--text:not(.rec-head-primary),
  body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero .rec-header-operations > summary.tiam-header-action--text{
    width:40px!important;min-width:40px!important;padding:0!important;
  }
  body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero .rec-header-actions-row > :where(button,a).tiam-header-action--text:not(.rec-head-primary) > span,
  body:not(.auth-active)[data-page="reconciliation"] #page-content > .rec-workspace-hero.tiam-page-hero .rec-header-operations > summary.tiam-header-action--text > span{display:none!important}
}

/* ===== SOURCE: tiam-ui-corrections-v349.css | sha256:5d1110be377a2bcf6037b97a351b1102d99bca2680e47b1c859f2c77aa61b167 ===== */
/* TIAM v349 — requested UI corrections: one navy header, compact KPI cards, unified icons and composite controls. */
:root{--tiam-v349-control:42px;--tiam-v349-icon-button:40px;--tiam-v349-icon:20px;--tiam-v349-radius:12px;--tiam-v349-border:#d6e2eb}

/* Remove the duplicate white global bar while retaining its event targets in DOM. */
body:not(.auth-active) header.topbar{display:none!important;height:0!important;min-height:0!important;flex:0 0 0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:hidden!important}
body:not(.auth-active) .workspace{height:100vh!important;min-height:0!important}
body:not(.auth-active) #page-content{flex:1 1 auto!important;height:100%!important;min-height:0!important;padding-top:12px!important}

/* The only page identity surface remains the navy Page Header. */
body:not(.auth-active) #page-content>.tiam-page-hero,
body:not(.auth-active)[data-page="reconciliation"] #page-content>.rec-workspace-hero.tiam-page-hero{margin-top:0!important}

/* One geometry contract for all icon-only controls. */
:where(.icon-button,.icon-btn,.tiam-icon-only,.tiam-head-icon-action,.tiam-header-action--icon,.sales-header-icon-button,.brokerage-v285-quick-action){
  box-sizing:border-box!important;width:var(--tiam-v349-icon-button)!important;height:var(--tiam-v349-icon-button)!important;min-width:var(--tiam-v349-icon-button)!important;min-height:var(--tiam-v349-icon-button)!important;max-width:var(--tiam-v349-icon-button)!important;max-height:var(--tiam-v349-icon-button)!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;flex:0 0 var(--tiam-v349-icon-button)!important
}
:where(.icon-button,.icon-btn,.tiam-icon-only,.tiam-head-icon-action,.tiam-header-action--icon,.sales-header-icon-button,.brokerage-v285-quick-action)>:where(svg,i,img,span>svg){
  box-sizing:border-box!important;width:var(--tiam-v349-icon)!important;height:var(--tiam-v349-icon)!important;min-width:var(--tiam-v349-icon)!important;min-height:var(--tiam-v349-icon)!important;max-width:var(--tiam-v349-icon)!important;max-height:var(--tiam-v349-icon)!important;display:block!important;margin:0!important;padding:0!important;position:static!important;inset:auto!important;transform:none!important;flex:0 0 var(--tiam-v349-icon)!important;stroke:currentColor!important;fill:none!important;stroke-width:1.85!important;stroke-linecap:round!important;stroke-linejoin:round!important
}
#page-content>.tiam-page-hero .tiam-page-hero__actions>:where(button,a,summary){box-sizing:border-box!important;height:40px!important;min-height:40px!important;margin:0!important;align-self:center!important}
#page-content>.tiam-page-hero .tiam-page-hero__actions>:where(.tiam-head-icon-action,.tiam-header-action--icon,.icon-button,.icon-btn){width:40px!important;min-width:40px!important;max-width:40px!important;padding:0!important}

/* v352: global tools drawer styles moved to tiam-global-tools-v352.css. */

/* Settings search is one composite control: wrapper owns the only frame. */
body[data-page="settings"] .settings-center-search{
  box-sizing:border-box!important;width:min(520px,100%)!important;height:44px!important;min-height:44px!important;padding:0!important;gap:0!important;display:flex!important;align-items:center!important;overflow:hidden!important;border:1px solid var(--tiam-v349-border)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;direction:rtl!important
}
body[data-page="settings"] #page-content .settings-center-search>input{
  box-sizing:border-box!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;height:100%!important;min-height:0!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important
}
body[data-page="settings"] #page-content .settings-center-search>svg{
  box-sizing:border-box!important;order:-1!important;width:48px!important;height:100%!important;min-width:48px!important;max-width:48px!important;padding:13px!important;margin:0!important;border-inline-start:1px solid var(--tiam-v349-border)!important;stroke:#123e61!important;fill:none!important;background:#fff!important
}
body[data-page="settings"] #page-content .settings-center-search:focus-within{border-color:#397da5!important;outline:3px solid rgba(47,117,159,.16)!important;outline-offset:1px!important}

/* Credit summary is a compact KPI strip, never a full-height grid. */
body[data-page="credit-assessment"] #page-content>.credit-v118-summary-grid{
  box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 12px!important;padding:0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:96px!important;align-items:stretch!important;align-content:start!important;gap:10px!important;overflow:visible!important
}
body[data-page="credit-assessment"] #page-content>.credit-v118-summary-grid>.credit-v118-summary-card{
  box-sizing:border-box!important;width:100%!important;height:96px!important;min-height:96px!important;max-height:96px!important;margin:0!important;padding:14px 15px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important;align-content:center!important;gap:11px!important;border:1px solid #d5e2eb!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;transform:none!important;text-align:right!important;color:#173f5d!important
}
body[data-page="credit-assessment"] #page-content>.credit-v118-summary-grid>.credit-v118-summary-card:hover{border-color:#a9c2d3!important;background:#fbfdfe!important;box-shadow:0 4px 12px rgba(15,45,65,.06)!important;transform:none!important}
body[data-page="credit-assessment"] .credit-v118-summary-art{box-sizing:border-box!important;width:42px!important;height:42px!important;min-width:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #d9e5ed!important;border-radius:11px!important;background:#f2f7fa!important;color:#315f7c!important}
body[data-page="credit-assessment"] .credit-v118-summary-art>svg{width:20px!important;height:20px!important;min-width:20px!important;display:block!important;margin:0!important;stroke:currentColor!important;fill:none!important}
body[data-page="credit-assessment"] .credit-v118-summary-copy{position:static!important;inset:auto!important;display:grid!important;gap:3px!important;align-content:center!important;min-width:0!important;text-align:right!important}
body[data-page="credit-assessment"] .credit-v118-summary-copy>small{font-size:12px!important;line-height:1.35!important;color:#627b8d!important;white-space:nowrap!important}
body[data-page="credit-assessment"] .credit-v118-summary-copy>b{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:5px!important;min-width:0!important;margin:0!important;font-size:20px!important;line-height:1.25!important;color:#0f3858!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
body[data-page="credit-assessment"] .credit-v118-summary-copy .money-amount,body[data-page="credit-assessment"] .credit-v118-summary-copy .money-unit{display:inline!important;white-space:nowrap!important}
body[data-page="credit-assessment"] .credit-v118-summary-copy .money-unit{font-size:12px!important;font-weight:750!important;color:#597487!important}
body[data-page="credit-assessment"] .credit-v118-summary-chevron,body[data-page="credit-assessment"] .credit-v118-orb-ring,body[data-page="credit-assessment"] .credit-v118-orb-glow{display:none!important}
@media(max-width:1100px){body[data-page="credit-assessment"] #page-content>.credit-v118-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:96px!important}}
@media(max-width:560px){body[data-page="credit-assessment"] #page-content>.credit-v118-summary-grid{grid-template-columns:1fr!important;grid-auto-rows:88px!important}body[data-page="credit-assessment"] #page-content>.credit-v118-summary-grid>.credit-v118-summary-card{height:88px!important;min-height:88px!important;max-height:88px!important}}

/* Specificity guard for legacy page-root icon rules. */
body:not(.auth-active) #page-content>.tiam-page-hero .tiam-page-hero__actions>:where(.tiam-head-icon-action,.tiam-header-action--icon,.icon-button,.icon-btn)>svg,
body:not(.auth-active) #page-content>.tiam-page-hero .tiam-page-hero__actions>:where(.tiam-head-icon-action,.tiam-header-action--icon,.icon-button,.icon-btn)>span>svg{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;flex-basis:20px!important}
/* v352: global tools trigger is a direct icon button; drawer is body-level. */
/* Normalize legacy nested SVG wrappers used by sales/report headers. */
#page-content>.tiam-page-hero .tiam-page-hero__actions :where(.sales-header-icon-button,.tiam-mobile-nav-action)>span>svg,
#page-content>.tiam-page-hero .tiam-page-hero__actions :where(.sales-header-icon-button,.tiam-mobile-nav-action)>svg,
#page-content>.rec-workspace-hero.tiam-page-hero .tiam-mobile-nav-action>svg{
  box-sizing:border-box!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;display:block!important;margin:0!important;padding:0!important;transform:none!important
}
/* The sidebar reduces usable width on laptop viewports; collapse the adjustment filter grid earlier. */
@media(max-width:1600px){
  body[data-page="adjustments"] .v347-adjustment-filters{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;min-width:0!important}
  body[data-page="adjustments"] .v347-search-field{grid-column:span 2!important}
  body[data-page="adjustments"] .v347-clear-filters{width:100%!important}
  body[data-page="adjustments"] .v347-records-head,
  body[data-page="adjustments"] .v347-adjustment-table-wrap{width:100%!important;min-width:0!important;max-width:100%!important}
}

/* ===== SOURCE: tiam-design-system-v350.css | sha256:f45a8c780e6e85091adb961cb7826b605f41c37a5ebd9273a78ebd4d4bf85b10 ===== */
/* TIAM v350 design layer, carried into v352. Font loading is owned by tiam-fonts-v351.css. */
:root{
  --tiam-font:"Tiam Yekan Bakh FaNum",sans-serif;
  --tiam-navy:#123f61;--tiam-navy-strong:#0c3554;--tiam-navy-line:rgba(18,63,97,.18);
  --tiam-control-height:42px;--tiam-icon-button:40px;--tiam-icon-size:20px;--tiam-radius:12px;
  --tiam-line:#d9e4eb;--tiam-focus:#2e719d;--tiam-shadow-card:0 4px 12px rgba(15,45,65,.055);
  --tiam-z-header-menu:12000;--tiam-z-drawer:13000;--tiam-z-modal:14000;
}
html,body,button,input,select,textarea,table,option,.modal,.drawer,.side-drawer,.tiam-page-hero,.sidebar{font-family:var(--tiam-font)!important}
@media print{html,body,table,button,input,select,textarea{font-family:var(--tiam-font)!important}}
/* The legacy white topbar is removed from markup in v350. Keep a defensive rule for cached DOM only. */
header.topbar{display:none!important}
/* A single geometry contract for icon-only actions. */
:where(.icon-button,.icon-btn,.tiam-icon-only,.tiam-head-icon-action,.tiam-header-action--icon,.sales-header-icon-button,.attendance-v337-open-file,.sales-row-edit,.sales-row-more>summary){box-sizing:border-box!important;width:var(--tiam-icon-button)!important;height:var(--tiam-icon-button)!important;min-width:var(--tiam-icon-button)!important;min-height:var(--tiam-icon-button)!important;max-width:var(--tiam-icon-button)!important;max-height:var(--tiam-icon-button)!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;flex:0 0 var(--tiam-icon-button)!important}
:where(.icon-button,.icon-btn,.tiam-icon-only,.tiam-head-icon-action,.tiam-header-action--icon,.sales-header-icon-button,.attendance-v337-open-file,.sales-row-edit,.sales-row-more>summary) svg{box-sizing:border-box!important;width:var(--tiam-icon-size)!important;height:var(--tiam-icon-size)!important;min-width:var(--tiam-icon-size)!important;min-height:var(--tiam-icon-size)!important;display:block!important;margin:0!important;padding:0!important;transform:none!important;stroke:currentColor!important;fill:none!important;stroke-width:1.85!important}
/* v352: global tools are portaled into a dedicated body-level drawer. */
/* Composite controls: wrapper owns the frame, inner controls never create a second capsule. */
:where(.search-box,.search-control,.input-with-icon,.settings-center-search,.attendance-v337-search,.it-search,.customer-call-search-wrap){box-sizing:border-box}
:where(.search-box,.search-control,.input-with-icon,.settings-center-search,.attendance-v337-search,.it-search,.customer-call-search-wrap)>input{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
:where(.date-control)>input[data-jdate]{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}
:where(.search-box,.search-control,.input-with-icon,.settings-center-search,.attendance-v337-search,.it-search,.customer-call-search-wrap):focus-within,.date-control:focus-within{border-color:var(--tiam-focus)!important;box-shadow:0 0 0 3px rgba(46,113,157,.12)!important}
/* Attendance controls and KPI cards: subtle navy framing, not heavy decoration. */
body[data-page="attendance"] :is(.attendance-v337-controlbar,.attendance-v337-kpi,.attendance-v337-employee-panel){border-color:var(--tiam-navy-line)!important;box-shadow:none!important}
body[data-page="attendance"] .attendance-v337-controlbar:focus-within{border-color:rgba(18,63,97,.42)!important}
/* Attendance roster: preserve a true one-row table on laptop, readable typography, no nested issue card. */
.attendance-v337-list-columns,.attendance-v337-employee-row{grid-template-columns:minmax(190px,1.45fr) minmax(110px,.82fr) 78px minmax(110px,.82fr) minmax(130px,.95fr) minmax(110px,.78fr) 40px!important;gap:10px!important}
.attendance-v337-list-columns{display:grid!important;padding:9px 14px!important;font-size:11.5px!important;background:#f5f8fa!important}
.attendance-v337-employee-row{min-height:58px!important;padding:8px 14px!important;grid-template-areas:none!important}.attendance-v337-employee-row>*{grid-area:auto!important}.attendance-v337-role{display:grid!important}
.attendance-v337-person b{font-size:13px!important}.attendance-v337-person small{font-size:11px!important}
.attendance-v337-cell small{font-size:11px!important}.attendance-v337-cell b{font-size:12px!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}
.attendance-v337-coverage b{font-size:12.5px!important;color:#245c82!important;font-variant-numeric:tabular-nums}
.attendance-v337-issues{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#557084!important}
.attendance-v337-issues b{font-size:11.5px!important;font-weight:750!important;color:inherit!important;white-space:nowrap!important}.attendance-v337-issues.has-issue{background:transparent!important;color:#9a542d!important}.attendance-v350-issue-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#65a17c}.attendance-v337-issues.has-issue .attendance-v350-issue-dot{background:#d18342}
.attendance-v337-status-cell{min-width:0}.attendance-v337-status-cell .attendance-status{font-size:11.5px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.attendance-v337-status-cell .attendance-status:not(.warning):not(.danger):not(.needs-review){color:#587183!important}
@media(max-width:840px){.attendance-v337-list-columns{display:none!important}.attendance-v337-employee-row{grid-template-columns:minmax(0,1.45fr) 78px 105px 118px 40px!important;grid-template-areas:"person person status status action" "role plan coverage issues issues"!important;row-gap:6px!important;min-height:92px!important}.attendance-v337-person{grid-area:person!important}.attendance-v337-role{display:grid!important;grid-area:role}.attendance-v337-plan{grid-area:plan!important}.attendance-v337-coverage{grid-area:coverage!important}.attendance-v337-issues{grid-area:issues!important;align-self:center!important;min-width:0!important}.attendance-v337-status-cell{grid-area:status!important;align-self:center}.attendance-v337-open-file{grid-area:action!important;align-self:start}.attendance-v337-cell small{display:block!important}.attendance-v337-cell b{white-space:nowrap!important}}
@media(max-width:700px){.attendance-v337-employee-row{grid-template-columns:minmax(0,1fr) auto 40px!important;grid-template-areas:"person status action" "role plan coverage" "issues issues issues"!important;min-height:118px!important}.attendance-v337-issues{align-self:center!important}}
@media(max-width:560px){.attendance-v337-employee-row{grid-template-columns:minmax(0,1fr) auto 40px!important;grid-template-areas:"person status action" "coverage coverage coverage" "issues issues issues"!important;min-height:108px!important}.attendance-v337-role,.attendance-v337-plan{display:none!important}}
/* Sales list: a stable enterprise table through laptop widths. */
body[data-page="sales-report"] .sales-report-table-wrap{overflow-x:auto!important;overflow-y:visible!important}
body[data-page="sales-report"] .sales-report-table{display:table!important;width:100%!important;min-width:1010px!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important}
body[data-page="sales-report"] .sales-report-table thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
body[data-page="sales-report"] .sales-report-table tbody{display:table-row-group!important}
body[data-page="sales-report"] .sales-report-table tr{display:table-row!important;background:#fff!important;border:0!important;border-radius:0!important;overflow:visible!important}
body[data-page="sales-report"] .sales-report-table th,body[data-page="sales-report"] .sales-report-table td{display:table-cell!important;min-height:0!important;padding:10px 9px!important;border-bottom:1px solid #e8eef2!important;text-align:right!important;vertical-align:middle!important;white-space:nowrap!important}
body[data-page="sales-report"] .sales-report-table th{height:42px!important;background:#f5f8fa!important;color:#526d80!important;font-size:11.5px!important;font-weight:800!important}
body[data-page="sales-report"] .sales-report-table tbody tr{height:58px!important}body[data-page="sales-report"] .sales-report-table tbody tr:hover{background:#f9fbfc!important}
body[data-page="sales-report"] .sales-report-table td::before{display:none!important;content:none!important}.sales-report-table .row-index{width:50px;text-align:center!important}.sales-date-cell{width:105px;text-align:center!important}.sales-customer-cell{min-width:190px;white-space:normal!important}.sales-product-cell{min-width:150px;white-space:normal!important}.sales-expert-cell{min-width:120px}.sales-amount-cell{min-width:150px;text-align:left!important;direction:rtl}.sales-amount-cell b{display:inline;font-size:13px;font-variant-numeric:tabular-nums}.sales-amount-cell small{display:inline;margin-inline-start:4px;color:#718494;font-size:10.5px}.sales-status-cell{min-width:130px;white-space:normal!important}.sales-actions-cell{width:92px;text-align:center!important;overflow:visible!important}
.sale-buyer-cell{display:grid!important;gap:3px!important}.sale-buyer-cell>div{display:flex;align-items:center;gap:6px;min-width:0}.sale-buyer-cell b{font-size:12.5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sale-buyer-cell small{font-size:10.8px!important;color:#718596!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sale-buyer-cell .customer-badge.unknown{padding:2px 6px!important;font-size:10.5px!important;white-space:nowrap}
.sales-status{display:inline-flex;align-items:center;gap:6px;color:#587183;font-size:11.5px;font-weight:750;white-space:nowrap}.sales-status i{width:7px;height:7px;border-radius:50%;background:#6ca282}.sales-status--warning{color:#986327}.sales-status--warning i{background:#d39448}.sales-status--returned{color:#9a4a4a}.sales-status--returned i{background:#c76565}.sales-status-cell .return-note{display:block;margin-top:3px;font-size:10.5px;color:#7b8b96;white-space:normal}
.sales-row-actions{display:flex;align-items:center;justify-content:center;gap:6px;position:relative}.sales-row-edit,.sales-row-more>summary{border:1px solid #d4e2eb;border-radius:10px;background:#f8fbfd;color:#285f82;cursor:pointer;list-style:none}.sales-row-more>summary::-webkit-details-marker{display:none}.sales-row-more{position:relative}.sales-row-more__menu{position:absolute;inset-inline-end:0;top:calc(100% + 7px);z-index:12010;width:215px;padding:6px;border:1px solid #d6e2ea;border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(15,45,65,.16);display:grid;gap:2px;text-align:right}.sales-row-more:not([open])>.sales-row-more__menu{display:none}.sales-row-more__menu button{width:100%;min-height:38px;padding:0 9px;border:0;border-radius:8px;background:transparent;color:#284e68;display:flex;align-items:center;gap:8px;font:inherit;font-size:11.5px;font-weight:750;cursor:pointer}.sales-row-more__menu button:hover{background:#f1f6f9}.sales-row-more__menu button.is-danger{margin-top:3px;border-top:1px solid #edf1f4;border-radius:0 0 8px 8px;color:#aa3d3d}.sales-row-more__menu svg{width:18px;height:18px;flex:0 0 18px}
/* Only real mobile turns the sales table into cards. */
@media(max-width:700px){body[data-page="sales-report"] .sales-report-table-wrap{overflow:visible!important}body[data-page="sales-report"] .sales-report-table{display:block!important;min-width:0!important;width:100%!important}body[data-page="sales-report"] .sales-report-table thead{display:none!important}body[data-page="sales-report"] .sales-report-table tbody{display:grid!important;gap:9px!important}body[data-page="sales-report"] .sales-report-table tbody tr{display:grid!important;grid-template-columns:1fr 1fr!important;height:auto!important;padding:9px!important;border:1px solid #dbe5ed!important;border-radius:13px!important;overflow:visible!important}body[data-page="sales-report"] .sales-report-table tbody td{display:grid!important;align-content:center!important;min-width:0!important;padding:7px 8px!important;text-align:right!important;white-space:normal!important;border-bottom:1px solid #edf1f4!important}body[data-page="sales-report"] .sales-report-table tbody td::before{display:block!important;content:attr(data-label)!important;margin-bottom:3px;color:#748899;font-size:10.5px;font-weight:800}body[data-page="sales-report"] .sales-report-table tbody td:nth-child(1){display:none!important}body[data-page="sales-report"] .sales-customer-cell,body[data-page="sales-report"] .sales-product-cell,body[data-page="sales-report"] .sales-status-cell,body[data-page="sales-report"] .sales-actions-cell{grid-column:1/-1!important}.sales-actions-cell{text-align:right!important}.sales-row-actions{justify-content:flex-start}.sales-row-more__menu{position:fixed;inset-inline:12px;bottom:12px;top:auto;width:auto;z-index:13020}}
/* Long financial numbers are never ellipsized. */
.money,[data-money],.sales-amount-cell,.credit-v118-summary-copy>b{font-variant-numeric:tabular-nums}.money,.sales-amount-cell b,.credit-v118-summary-copy>b{overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
/* v350 mobile sales override must beat the older ID-scoped table visibility rule. */
@media(max-width:700px){
  body[data-page="sales-report"] #page-content .sales-report-table>thead{display:none!important;visibility:hidden!important;opacity:0!important;position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
  body[data-page="sales-report"] #page-content .sales-report-table tbody td{background:transparent!important;box-shadow:none!important}
  body[data-page="sales-report"] #page-content .sales-actions-cell{overflow:visible!important;min-width:0!important}
  body[data-page="sales-report"] #page-content .sales-row-actions{width:100%!important;max-width:100%!important;flex-wrap:nowrap!important;overflow:visible!important}
}

/* ===== SOURCE: tiam-global-tools-v352.css | sha256:33c624252ea77911adfce1e0a58b790b013866dd5742e407a6b108c5a5a0155e ===== */
/* TIAM v352 — Global Tools Drawer
   The drawer is portaled to <body>; it never lives inside Page Header layout. */
:root{
  --tiam-tools-overlay-z:12800;
  --tiam-tools-drawer-z:12810;
  --tiam-tools-width:360px;
}
.tiam-global-tools-trigger{position:relative!important}
.tiam-global-tools-layer[hidden]{display:none!important}
.tiam-global-tools-layer{
  position:fixed!important;inset:0!important;z-index:var(--tiam-tools-overlay-z)!important;
  pointer-events:none!important;direction:rtl!important;font-family:var(--tiam-font,"Tiam Yekan Bakh FaNum",sans-serif)!important;
}
.tiam-global-tools-layer.is-open{pointer-events:auto!important}
.tiam-global-tools-backdrop{
  position:absolute!important;inset:0!important;
  background:rgba(7,27,43,.32)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  opacity:0!important;transition:opacity .18s ease!important;cursor:default!important;
}
.tiam-global-tools-layer.is-open .tiam-global-tools-backdrop{opacity:1!important}
.tiam-global-tools-drawer{
  box-sizing:border-box!important;position:absolute!important;top:0!important;bottom:0!important;left:0!important;right:auto!important;
  z-index:var(--tiam-tools-drawer-z)!important;width:min(var(--tiam-tools-width),calc(100vw - 20px))!important;height:100dvh!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  border:0!important;border-right:1px solid #d4e1e9!important;border-radius:0!important;background:#f7fafc!important;color:#173b55!important;
  box-shadow:14px 0 34px rgba(7,32,50,.16)!important;transform:translateX(-104%)!important;
  transition:transform .2s cubic-bezier(.2,.8,.2,1)!important;outline:0!important;
}
.tiam-global-tools-layer.is-open .tiam-global-tools-drawer{transform:translateX(0)!important}
.tiam-global-tools-head{
  box-sizing:border-box!important;min-height:76px!important;padding:14px 16px!important;display:grid!important;
  grid-template-columns:42px minmax(0,1fr) 40px!important;align-items:center!important;gap:11px!important;
  background:#fff!important;border-bottom:1px solid #dbe5eb!important;flex:0 0 auto!important;
}
.tiam-global-tools-head__icon{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border:1px solid #cbdce7!important;border-radius:12px!important;background:#edf5f9!important;color:#174d70!important}
.tiam-global-tools-head__icon svg{width:20px!important;height:20px!important;display:block!important;stroke:currentColor!important;fill:none!important}
.tiam-global-tools-head__copy{min-width:0!important}.tiam-global-tools-head__copy h2{margin:0!important;font-size:15px!important;line-height:1.55!important;font-weight:850!important;color:#133e5d!important}.tiam-global-tools-head__copy p{margin:2px 0 0!important;font-size:10.8px!important;line-height:1.6!important;color:#708593!important}
.tiam-global-tools-close{box-sizing:border-box!important;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid #d6e2e9!important;border-radius:11px!important;background:#fff!important;color:#47697e!important;cursor:pointer!important}
.tiam-global-tools-close:hover{background:#f1f6f9!important;color:#123f61!important}.tiam-global-tools-close svg{width:19px!important;height:19px!important;display:block!important;stroke:currentColor!important;fill:none!important}
.tiam-global-tools-body{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;padding:14px!important;scrollbar-gutter:stable!important}
.tiam-global-tools-section{margin:0 0 14px!important}.tiam-global-tools-section:last-child{margin-bottom:0!important}.tiam-global-tools-section>h3{margin:0 4px 7px!important;font-size:10.5px!important;line-height:1.6!important;font-weight:800;color:#738895!important}
.tiam-global-tools-list{display:grid!important;gap:6px!important}
.tiam-global-tool-item{
  box-sizing:border-box!important;width:100%!important;min-height:54px!important;height:auto!important;margin:0!important;padding:7px 9px!important;
  display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;
  border:1px solid #dce6ec!important;border-radius:12px!important;background:#fff!important;color:#234e69!important;box-shadow:none!important;
  font:inherit!important;text-align:right!important;cursor:pointer!important;transform:none!important;white-space:normal!important;
}
.tiam-global-tool-item:hover{border-color:#b9cfdd!important;background:#fbfdfe!important;color:#123f61!important;transform:none!important}
.tiam-global-tool-item:focus-visible{outline:3px solid rgba(46,113,157,.18)!important;outline-offset:1px!important;border-color:#5f91b0!important}
.tiam-global-tool-item__icon{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border:1px solid #d4e2ea!important;border-radius:10px!important;background:#eef5f9!important;color:#2d6688!important}
.tiam-global-tool-item__icon svg{box-sizing:border-box!important;width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;display:block!important;margin:0!important;stroke:currentColor!important;fill:none!important;stroke-width:1.85!important}
.tiam-global-tool-item__copy{min-width:0!important;display:grid!important;gap:2px!important}.tiam-global-tool-item__copy b{font-size:12.3px!important;line-height:1.5!important;font-weight:800!important;color:inherit!important}.tiam-global-tool-item__copy small{font-size:10.5px!important;line-height:1.55!important;font-weight:600!important;color:#7a8c98!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tiam-global-tool-item .tiam-tool-badge{justify-self:end!important;margin:0!important;min-width:22px!important;height:22px!important;padding:0 6px!important;display:inline-grid!important;place-items:center!important;border-radius:999px!important;background:#b64040!important;color:#fff!important;font-size:10.5px!important;font-weight:850!important}
.tiam-global-tool-item .tiam-tool-badge[hidden]{display:none!important}.tiam-global-tool-item.has-error{border-color:#efcece!important;background:#fff8f8!important;color:#9b3838!important}.tiam-global-tool-item[aria-disabled="true"]{display:none!important}
.tiam-global-tool-item.is-danger{margin-top:2px!important;border-color:#efdada!important;color:#a33d3d!important}.tiam-global-tool-item.is-danger .tiam-global-tool-item__icon{border-color:#efdada!important;background:#fff4f4!important;color:#a33d3d!important}
body.tiam-global-tools-open{overflow:hidden!important}
@media(max-width:560px){
  :root{--tiam-tools-width:100vw}.tiam-global-tools-drawer{width:100vw!important;max-width:none!important;border-right:0!important}.tiam-global-tools-head{min-height:70px!important;padding:11px 12px!important}.tiam-global-tools-body{padding:12px!important}.tiam-global-tool-item{min-height:52px!important}
}
@media(prefers-reduced-motion:reduce){.tiam-global-tools-backdrop,.tiam-global-tools-drawer{transition:none!important}}

/* v365 demo role switcher */
.demo-role-switcher{display:grid;gap:14px}.demo-role-switcher .note-box{display:grid;gap:5px}.demo-role-switcher .note-box span{font-size:11.5px;line-height:1.9}.demo-role-switcher select{width:100%;min-height:44px}

/* v379 — root overlay fix: backdrop is a screen layer, never a pill/control. */
.tiam-global-tools-backdrop{
  appearance:none!important;-webkit-appearance:none!important;
  min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;outline:0!important;display:block!important;gap:0!important;
  transform:none!important;filter:none!important;
}

/* ===== SOURCE: tiam-typography-v353.css | sha256:8919ad93e897008e8e6328d7b2dd8699e70af5d5dc72a80c703e8f1d7c02ac6f ===== */
/* TIAM v353 — centralized Persian typography/readability layer.
   Loaded last on purpose: legacy workspace styles contain many 7.5–11px hard-coded sizes.
   This layer establishes a readable Yekan Bakh scale without changing business logic. */
:root{
  --tiam-type-2xs:11.5px; /* decorative / version only */
  --tiam-type-xs:12px;    /* metadata, helper, badges */
  --tiam-type-sm:13px;    /* table headers, controls, compact labels */
  --tiam-type-md:14px;    /* normal application text */
  --tiam-type-lg:15.5px;  /* section/card headings */
  --tiam-type-xl:17px;    /* prominent section headings */
  --tiam-type-page:21px;  /* page title */
  --tiam-type-kpi:22px;   /* KPI value baseline */
  --tiam-line-normal:1.65;
  --tiam-line-compact:1.45;
}

html{font-size:16px}
body{font-size:var(--tiam-type-md)!important;line-height:var(--tiam-line-normal)}

/* --------------------------------------------------------------------------
   Application shell / navigation
   -------------------------------------------------------------------------- */
body #main-nav :is(.nav-item,.side-nav-trigger){font-size:var(--tiam-type-sm)!important;line-height:1.45!important}
body #main-nav :is(.nav-item,.side-nav-trigger)>span{font-size:inherit!important;line-height:inherit!important}
body #main-nav .nav-section-label{font-size:var(--tiam-type-xs)!important;line-height:1.4!important;letter-spacing:0!important}
body .sidebar :is(.sidebar-title,.sidebar-brand,.sidebar-user-name){font-size:max(var(--tiam-type-sm),1em)!important}
body .sidebar .sidebar-bottom small{font-size:var(--tiam-type-2xs)!important;line-height:1.45!important}

/* The body-level global-tools drawer is part of the common shell. */
body #tiam-global-tools-drawer :is(button,a,summary,label){font-size:var(--tiam-type-sm)!important}
body #tiam-global-tools-drawer :is(small,.tiam-global-tool-note,.tiam-global-tool-meta){font-size:var(--tiam-type-xs)!important;line-height:1.55!important}

/* --------------------------------------------------------------------------
   Base content scale
   -------------------------------------------------------------------------- */
body #page-content{font-size:var(--tiam-type-md)!important;line-height:var(--tiam-line-normal)}
body #page-content h1{font-size:var(--tiam-type-page)!important;line-height:1.35!important}
body #page-content h2{font-size:var(--tiam-type-xl)!important;line-height:1.42!important}
body #page-content h3{font-size:var(--tiam-type-lg)!important;line-height:1.45!important}
body #page-content h4{font-size:var(--tiam-type-md)!important;line-height:1.5!important}

/* Interactive text must be comfortably readable. Icon-only controls keep their geometry. */
body #page-content :is(button,summary,[role="button"],[role="tab"],a.btn,.btn){font-size:var(--tiam-type-sm)!important;line-height:1.4!important}
body #page-content :is(input,select,textarea){font-size:var(--tiam-type-sm)!important;line-height:1.55!important}
body #page-content label{font-size:var(--tiam-type-sm)!important;line-height:1.5!important}
body #page-content :is(.field .hint,.form-hint,.help-text,.helper-text,.input-hint){font-size:var(--tiam-type-xs)!important;line-height:1.6!important}

/* Small/meta copy remains subordinate but not microscopic. */
body #page-content :is(small,em,time,dt){font-size:var(--tiam-type-xs)!important;line-height:1.55!important}
body #page-content :is(p,li,dd){line-height:1.7}

/* Data-dense UI: 13px cells + 12.5px headers gives Yekan Bakh enough x-height. */
body #page-content table :is(th,[role="columnheader"]){font-size:12.5px!important;line-height:1.45!important}
body #page-content table :is(td,[role="cell"]){font-size:var(--tiam-type-sm)!important;line-height:1.5!important}
body #page-content table :is(td,th) :is(small,em,time){font-size:var(--tiam-type-xs)!important}

/* Common status primitives from multiple generations. */
body #page-content :is(
  .badge,.status,.chip,.pill,.tag,
  [class$="-badge"],[class*="-badge "],
  [class$="-pill"],[class*="-pill "],
  [class$="-chip"],[class*="-chip "],
  [class$="-status"],[class*="-status "]
){font-size:var(--tiam-type-xs)!important;line-height:1.4!important}

/* Page hero/header action text: slightly smaller than body, never 10–11px. */
body :is(.tiam-page-hero,.tiam-page-header,.page-head) :is(button,summary,a,.tiam-header-action,.tiam-header-action--text){font-size:12.5px!important;line-height:1.4!important}
body :is(.tiam-page-hero,.tiam-page-header,.page-head) :is(small,.eyebrow,.meta){font-size:var(--tiam-type-xs)!important}

/* --------------------------------------------------------------------------
   Attendance — previously 9–11.5px in KPI labels, period controls and roster.
   -------------------------------------------------------------------------- */
body[data-page="attendance"] #page-content :is(.attendance-v337-controlbar,.attendance-v337-toolbar) :is(small,em,label,button,b,span){font-size:12.5px!important;line-height:1.45!important}
body[data-page="attendance"] #page-content .attendance-v337-kpi small{font-size:12.5px!important;line-height:1.45!important}
body[data-page="attendance"] #page-content .attendance-v337-kpi :is(b,strong){line-height:1.25!important}
body[data-page="attendance"] #page-content :is(.attendance-v111-count,.attendance-v111-last-update,.attendance-v337-current){font-size:var(--tiam-type-xs)!important}
body[data-page="attendance"] #page-content .attendance-v337-list-columns{font-size:var(--tiam-type-xs)!important;line-height:1.45!important}
body[data-page="attendance"] #page-content .attendance-v337-person b{font-size:var(--tiam-type-sm)!important}
body[data-page="attendance"] #page-content .attendance-v337-person small,
body[data-page="attendance"] #page-content .attendance-v337-cell small{font-size:var(--tiam-type-xs)!important}
body[data-page="attendance"] #page-content .attendance-v337-cell b{font-size:12.5px!important}
body[data-page="attendance"] #page-content .attendance-v337-coverage b{font-size:var(--tiam-type-sm)!important}
body[data-page="attendance"] #page-content .attendance-v337-issues b,
body[data-page="attendance"] #page-content .attendance-v337-status-cell .attendance-status{font-size:var(--tiam-type-xs)!important}
body[data-page="attendance"] #page-content .attendance-v337-employee-row{min-height:62px!important}
body[data-page="attendance"] #page-content .attendance-v337-employee-panel p{font-size:12.5px!important;line-height:1.65!important}

/* --------------------------------------------------------------------------
   Reconciliation — the most compressed legacy workspace (8–10px labels).
   -------------------------------------------------------------------------- */
body[data-page="reconciliation"] #page-content :is(button,summary,label,input,select,textarea){font-size:12.5px!important}
body[data-page="reconciliation"] #page-content :is(small,em,time,i){font-size:var(--tiam-type-xs)!important;line-height:1.5!important}
body[data-page="reconciliation"] #page-content :is(.rec-view-filter,.rec-bulk-clear,.rec-bulk-delete,.rec-plum-primary,.rec-workspace-export,.rec-head-action){font-size:12.5px!important}
body[data-page="reconciliation"] #page-content :is(.rec-kpi,.rec-summary-card,.rec-stat-card) :is(small,span,em){font-size:var(--tiam-type-xs)!important}
body[data-page="reconciliation"] #page-content table :is(th,td){font-size:12.5px!important}

/* --------------------------------------------------------------------------
   Payroll / payslip — labels and settlement table were 9–10.5px.
   -------------------------------------------------------------------------- */
body[data-page="payslip"] #page-content :is(small,em,time){font-size:var(--tiam-type-xs)!important}
body[data-page="payslip"] #page-content :is(label,button,summary,input,select,textarea){font-size:var(--tiam-type-sm)!important}
body[data-page="payslip"] #page-content table th{font-size:12.5px!important}
body[data-page="payslip"] #page-content table td{font-size:var(--tiam-type-sm)!important}
body[data-page="payslip"] #page-content :is(.payroll-status,.settlement-status,[class*="payroll-"][class*="badge"],[class*="payroll-"][class*="pill"]){font-size:var(--tiam-type-xs)!important}

/* --------------------------------------------------------------------------
   Sales report — customer badges, phone/meta lines and mobile data labels.
   -------------------------------------------------------------------------- */
body[data-page="sales-report"] #page-content .customer-badge{font-size:var(--tiam-type-xs)!important}
body[data-page="sales-report"] #page-content :is(.sales-status,.sales-status-cell .return-note){font-size:var(--tiam-type-xs)!important}
body[data-page="sales-report"] #page-content :is(.sales-customer-cell,.sales-product-cell,.sales-amount-cell) small{font-size:var(--tiam-type-xs)!important}
body[data-page="sales-report"] #page-content .sales-row-more__menu button{font-size:var(--tiam-type-xs)!important}
@media(max-width:700px){body[data-page="sales-report"] #page-content .sales-report-table tbody td::before{font-size:var(--tiam-type-xs)!important}}

/* --------------------------------------------------------------------------
   Experts / organization roster.
   -------------------------------------------------------------------------- */
body[data-page="experts"] #page-content :is(.v286-quality,.tiam-v317-composite-sub){font-size:var(--tiam-type-xs)!important}
body[data-page="experts"] #page-content :is(small,em,time){font-size:var(--tiam-type-xs)!important}

/* --------------------------------------------------------------------------
   Brokerage — desktop and especially mobile used 7.8–10.2px.
   -------------------------------------------------------------------------- */
body[data-page="brokerage"] #page-content :is(.brokerage-status-pill,.brokerage-v285-status-chip){font-size:var(--tiam-type-xs)!important}
body[data-page="brokerage"] #page-content :is(small,em,time){font-size:var(--tiam-type-xs)!important}
body[data-page="brokerage"] #page-content table :is(th,td){font-size:12.5px!important}
body[data-page="brokerage"] #page-content :is(button,summary,label,input,select,textarea){font-size:var(--tiam-type-sm)!important}
@media(max-width:700px){
  body[data-page="brokerage"] #page-content :is(small,em,time,.brokerage-status-pill,.brokerage-v285-status-chip){font-size:var(--tiam-type-xs)!important}
  body[data-page="brokerage"] #page-content :is(button,summary,label,input,select,textarea){font-size:var(--tiam-type-sm)!important}
}

/* --------------------------------------------------------------------------
   Accounting / financial workspaces.
   -------------------------------------------------------------------------- */
body[data-page^="accounting-"] #page-content :is(.ratio-note,.money-suffix,.allocation-warning,.verified-badge){font-size:var(--tiam-type-xs)!important;line-height:1.55!important}
body[data-page^="accounting-"] #page-content :is(small,em,time,dt){font-size:var(--tiam-type-xs)!important}
body[data-page^="accounting-"] #page-content :is(button,summary,label,input,select,textarea){font-size:var(--tiam-type-sm)!important}
body[data-page="financial-statements"] #page-content :is(small,em,time){font-size:var(--tiam-type-xs)!important}
body[data-page="financial-statements"] #page-content :is(button,summary,label,input,select,textarea){font-size:var(--tiam-type-sm)!important}
body[data-page="financial-statements"] #page-content p{font-size:var(--tiam-type-sm)!important;line-height:1.7!important}

/* Generic accounting-related pages whose route name does not start with accounting-. */
body:is([data-page="cash-ledger"],[data-page="future-payments"],[data-page="financial-requests"],[data-page="counterparties"]) #page-content :is(small,em,time,dt){font-size:var(--tiam-type-xs)!important}
body:is([data-page="cash-ledger"],[data-page="future-payments"],[data-page="financial-requests"],[data-page="counterparties"]) #page-content :is(button,summary,label,input,select,textarea){font-size:var(--tiam-type-sm)!important}

/* Settings cards: descriptions must be readable from laptop distance. */
body[data-page="settings"] #page-content :is(.settings-card,.settings-center-card,.settings-tile) small{font-size:var(--tiam-type-xs)!important;line-height:1.65!important}

/* Dashboard supporting copy. */
body[data-page="dashboard"] #page-content :is(small,em,time){font-size:var(--tiam-type-xs)!important}
body[data-page="dashboard"] #page-content p{font-size:var(--tiam-type-sm)!important;line-height:1.7!important}

/* --------------------------------------------------------------------------
   Responsive: reflow layout; do not shrink readable text on smaller screens.
   -------------------------------------------------------------------------- */
@media(max-width:1100px){
  body{font-size:var(--tiam-type-md)!important}
  body #main-nav :is(.nav-item,.side-nav-trigger){font-size:var(--tiam-type-sm)!important}
  body #page-content :is(input,select,textarea,button,summary,[role="button"],[role="tab"]){font-size:var(--tiam-type-sm)!important}
}
@media(max-width:700px){
  body #page-content{font-size:var(--tiam-type-md)!important}
  body #page-content :is(small,em,time){font-size:var(--tiam-type-xs)!important}
  body #page-content table :is(th,td){font-size:var(--tiam-type-sm)!important}
  body #page-content :is(input,select,textarea,button,summary,[role="button"],[role="tab"]){font-size:var(--tiam-type-sm)!important}
}

/* Print/read-only browser reports: readable Yekan Bakh baseline. */
@media print{
  html,body{font-size:12px!important;line-height:1.6!important}
  table th{font-size:11.5px!important}
  table td{font-size:12px!important}
  small,em,time{font-size:11.5px!important}
}

/* Exact shell overrides for high-specificity legacy rules. */
body.tiam-right-sidebar-mode #main-nav :is(.nav-item,.side-nav-trigger)>span,
body.tiam-right-sidebar-mode #main-nav :is(.nav-item,.side-nav-trigger){font-size:var(--tiam-type-sm)!important}
body.tiam-right-sidebar-mode #main-nav .nav-section-label{font-size:var(--tiam-type-xs)!important;line-height:1.45!important}
body .tiam-sidebar-brand span{font-size:var(--tiam-type-xs)!important;line-height:1.45!important}
body .tiam-sidebar-section-title{font-size:var(--tiam-type-xs)!important}
body .tiam-sidebar-tool-item>b{font-size:var(--tiam-type-xs)!important}
body .tiam-sidebar-profile b{font-size:var(--tiam-type-sm)!important}
body .tiam-sidebar-profile small{font-size:var(--tiam-type-xs)!important}
body .tiam-sidebar-logout .tiam-sidebar-item-label{font-size:var(--tiam-type-sm)!important}
body .sidebar-bottom>#version-label{font-size:var(--tiam-type-2xs)!important;line-height:1.45!important}

/* Readable empty-state copy (legacy compact layer used 11px). */
body #page-content :is(.empty,.ui-compact-empty){font-size:var(--tiam-type-xs)!important;line-height:1.65!important}

/* Mobile KPI amount must remain complete after the typography increase. */
@media(max-width:560px){
  body[data-page="sales-report"] #page-content .sales-report-kpi-card{gap:8px!important;padding:12px!important}
  body[data-page="sales-report"] #page-content .sales-report-kpi-icon{width:42px!important;height:42px!important;flex:0 0 42px!important}
  body[data-page="sales-report"] #page-content .sales-report-kpi-icon svg{width:22px!important;height:22px!important}
  body[data-page="sales-report"] #page-content .sales-report-kpi-copy b.is-money{font-size:14px!important;width:100%!important;max-width:none!important}
  body[data-page="sales-report"] #page-content .sales-report-kpi-copy b>span{max-width:none!important;overflow:visible!important;text-overflow:clip!important}
}

/* Payroll period names are information, not decorative labels: wrap instead of ellipsis. */
@media(max-width:700px){
  body[data-page="payslip"] #page-content .v338-payroll-period>b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.55!important}
  body[data-page="experts"] #page-content #v286-employee-table th{white-space:normal!important;line-height:1.45!important}
}

/* Informational panels that are operational guidance, not microcopy. */
body #page-content :is(.note-box,.analysis-filter-note){font-size:var(--tiam-type-xs)!important;line-height:1.7!important}


/* Overlay typography: drawers and modals live outside #page-content. */
#tiam-global-tools-drawer .tiam-global-tools-group>h3{font-size:var(--tiam-type-xs)!important;line-height:1.5!important}
#modal .v347-form-warning{font-size:var(--tiam-type-xs)!important;line-height:1.65!important}
#attendance-drawer-host .attendance-v110-drawer-head small{font-size:var(--tiam-type-xs)!important;line-height:1.5!important}
#attendance-drawer-host :is(.attendance-v110-rules-grid article span,.attendance-v110-danger-zone p){font-size:var(--tiam-type-xs)!important;line-height:1.6!important}
#attendance-drawer-host :is(button,input,select,textarea,label){font-size:var(--tiam-type-sm)!important}

/* ===== SOURCE: tiam-multibranch-v354.css | sha256:46fafa881b3d65205e0c862297d9d2e3f2d958cea1c50f9e138132dca5853b39 ===== */
/* Tiam v354 multi-branch UI. Intentionally namespaced to avoid altering v353 layout. */
.tiam-branch-switcher{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:4px 8px;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;white-space:nowrap}
.tiam-branch-switcher>span{font-size:12px;font-weight:700;opacity:.82}
.tiam-branch-switcher select{min-width:116px;height:28px;border:0!important;outline:0;background:transparent!important;color:inherit!important;font:inherit;font-size:12.5px;font-weight:700;padding:0 4px;box-shadow:none!important}
.tiam-branch-switcher select option{color:#111827;background:#fff}
.tiam-branch-badge{display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.branch-center-page .settings-section-toolbar{align-items:center}
.branch-add-btn{margin-inline-start:auto}
.branch-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}
.branch-summary-grid>div{display:flex;flex-direction:column;gap:5px;padding:14px 16px;border:1px solid var(--border,#e5e7eb);border-radius:14px;background:var(--surface,#fff)}
.branch-summary-grid b{font-size:20px;line-height:1.2}.branch-summary-grid span{font-size:12px;color:var(--muted,#64748b)}
.branch-policy-card{display:flex;align-items:center;gap:14px;margin-bottom:14px;padding:15px 17px!important}
.branch-policy-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:#eef4f8;color:#123e61}.branch-policy-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}
.branch-policy-card b{display:block;margin-bottom:3px}.branch-policy-card p{margin:0;color:var(--muted,#64748b);font-size:12.5px;line-height:1.8}
.branch-table .branch-head-office{display:block;margin-top:3px;color:#64748b;font-size:11.5px;font-weight:500}.branch-row-actions{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.branch-editor-form .form-grid,.branch-transfer-box .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.branch-editor-form .field-span-2,.branch-transfer-box .field-span-2{grid-column:1/-1}
.branch-structure{display:grid;gap:18px}.branch-structure>section{border:1px solid var(--border,#e5e7eb);border-radius:14px;padding:14px}.branch-structure h4{margin:0 0 8px}
.branch-unit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.branch-unit-row{display:flex;align-items:center;gap:9px;min-height:54px;padding:9px 11px;border:1px solid var(--border,#e5e7eb);border-radius:11px;background:#fff;cursor:pointer}.branch-unit-row input{flex:0 0 auto}.branch-unit-row span{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.branch-unit-row small{font-size:11px;color:#64748b;line-height:1.55}.branch-unit-row em{font-style:normal;font-size:10.5px;font-weight:700;color:#123e61;background:#eef4f8;border-radius:999px;padding:3px 7px}.branch-unit-row.is-central{background:#f8fafc;cursor:default}
.branch-transfer-box{background:#fafcfd}
@media(max-width:1000px){.branch-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.tiam-branch-switcher>span{display:none}.tiam-branch-switcher select{min-width:96px}.branch-summary-grid,.branch-unit-list,.branch-editor-form .form-grid,.branch-transfer-box .form-grid{grid-template-columns:1fr}.branch-editor-form .field-span-2,.branch-transfer-box .field-span-2{grid-column:auto}.branch-add-btn{margin-inline-start:0}}
.brokerage-origin-branch{display:inline-flex!important;align-items:center;width:max-content;margin-top:3px;padding:2px 7px;border-radius:999px;background:#eef4f8;color:#123e61!important;font-size:10.5px!important;font-weight:700;line-height:1.5}

/* ===== SOURCE: tiam-v356-refresh.css | sha256:590713521766c6aaa316c089cca5e2b6f3e33ac2f81b19fb37151fbed9fa5bfb ===== */
/* Tiam v356 final UI layer — scoped and intentionally low-risk. */
:root{--v356-navy:#123e61;--v356-ink:#17364d;--v356-muted:#617386;--v356-line:#dbe5ec;--v356-soft:#f5f8fa;--v356-green:#b9d5cf;--v356-green-ink:#163e45}
.tiam-page-hero__copy p{display:none!important}.tiam-page-hero{min-height:72px!important}.tiam-page-hero__actions{gap:7px!important;align-items:center!important;flex-wrap:nowrap!important}
.tiam-page-hero__actions .tiam-header-action--icon,.tiam-page-hero__actions .tiam-v356-auto-icon,.tiam-page-hero__actions a.tiam-header-action--icon{width:40px!important;height:40px!important;min-width:40px!important;display:inline-grid!important;place-items:center!important;padding:0!important;border-radius:12px!important;font-size:0!important;line-height:0!important}
.tiam-page-hero__actions svg,.tiam-v356-back svg,.tiam-v356-sales-tool svg{width:21px!important;height:21px!important;display:block!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important}
.tiam-v356-sales-tool{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important}
.tiam-branch-switcher{height:40px!important;min-width:0!important;max-width:180px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:0 10px!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:12px!important;background:rgba(255,255,255,.08)!important;box-shadow:none!important}
.tiam-branch-switcher>span{display:none!important}.tiam-branch-switcher svg{width:18px!important;height:18px!important;flex:none}.tiam-branch-switcher select{appearance:none!important;border:0!important;background:transparent!important;color:inherit!important;min-width:84px!important;padding:0!important;font:inherit!important;font-size:13px!important;font-weight:700!important}.tiam-branch-switcher select option{color:#17364d}.tiam-branch-badge{height:40px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:0 11px!important;border-radius:12px!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.2)!important}.tiam-branch-badge svg{width:18px!important;height:18px!important}
/* management health contrast */
.tiam-v356-positive-health,.management-health-card,.md-health-card{background:var(--v356-green)!important;color:var(--v356-green-ink)!important}.tiam-v356-positive-health *,.management-health-card *,.md-health-card *{color:var(--v356-green-ink)!important;opacity:1!important;text-shadow:none!important}
/* login */
.tiam-login-solid{background:#eef4f7!important}.login-solid-layout{max-width:1040px!important;border-radius:28px!important;overflow:hidden!important;box-shadow:0 20px 55px rgba(17,56,81,.12)!important;}.login-solid-brand{background:linear-gradient(155deg,#123e61,#0e304b)!important;padding:54px!important}.login-solid-brand-copy strong{font-size:34px!important}.login-solid-card{padding:44px 48px!important;background:#fff!important}.login-solid-card-head p{font-size:13px!important;color:#66788a!important}.login-solid-field>span{font-size:13px!important}.login-solid-input-shell{min-height:48px!important;border-radius:13px!important;box-shadow:none!important}.login-solid-submit{min-height:48px!important;border-radius:13px!important}.v356-login-separator{display:flex;align-items:center;gap:12px;margin:18px 0 12px;color:#8493a0;font-size:12px}.v356-login-separator:before,.v356-login-separator:after{content:"";height:1px;flex:1;background:#e1e8ed}
/* finance common */
.v356-finance-page,.v356-entry-layout,.v356-journal,.v356-cash{max-width:100%;margin:0!important}.v356-section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px}.v356-section-head h2,.v356-journal h2,.v356-cash h2{font-size:18px;margin:0;color:var(--v356-ink)}.v356-section-head p{font-size:13px;color:var(--v356-muted);margin:4px 0 0}.v356-table-wrap{border:1px solid var(--v356-line);border-radius:14px;overflow:auto;background:#fff}.v356-table{width:100%;border-collapse:collapse;min-width:760px}.v356-table th{height:42px;padding:0 12px;text-align:right;font-size:12px;background:#f5f8fa;color:#536879;border-bottom:1px solid var(--v356-line)}.v356-table td{padding:10px 12px;border-bottom:1px solid #edf1f4;font-size:13px}.v356-table td b{display:block}.v356-table td small{font-size:12px;color:#718291}.v356-table .icon-btn svg{width:18px;height:18px}.v356-details{margin-top:12px;border:1px solid var(--v356-line);border-radius:13px;background:#fff;overflow:hidden}.v356-details>summary{cursor:pointer;min-height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:13px;font-weight:800;color:var(--v356-ink)}.v356-details[open]>summary{border-bottom:1px solid var(--v356-line)}.v356-category-list{padding:14px;display:flex;flex-wrap:wrap;gap:8px}.v356-category-list span{font-size:12px;border:1px solid #dae4ea;border-radius:999px;padding:5px 9px}.v356-fund-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v356-fund-form .full{grid-column:1/-1}.v356-check{font-size:13px;display:flex;align-items:center;gap:8px}
/* entry */
.v356-entry-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.v356-entry-form{background:#fff;border:1px solid var(--v356-line);border-radius:15px;padding:18px;box-shadow:none!important}.v356-entry-form>section{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #edf1f4}.v356-entry-form>section>header{display:flex;align-items:center;gap:9px;margin-bottom:12px}.v356-entry-form>section>header>span{width:27px;height:27px;border-radius:9px;background:#e9f1f5;color:#174665;display:grid;place-items:center;font-weight:900}.v356-entry-form h2{font-size:15px;margin:0}.v356-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v356-grid .full{grid-column:1/-1}.v356-entry-more{border:0!important;margin:0 0 16px!important}.v356-entry-more summary{font-size:13px;font-weight:800;cursor:pointer;margin-bottom:12px}.v356-entry-form footer{display:flex;gap:8px}.v356-entry-preview{position:sticky;top:14px;border:1px solid #cfe0e7;background:#f6fafb;border-radius:15px;padding:18px;box-shadow:none!important}.v356-entry-preview>span{font-size:12px;color:#677b8a}.v356-entry-preview>strong{display:block;margin-top:13px;color:#174665;font-size:15px}.v356-entry-preview>b{display:block;font-size:22px;margin:6px 0 14px;font-variant-numeric:tabular-nums}.v356-entry-preview dl{margin:0}.v356-entry-preview dl div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #e1eaee;font-size:12px}.v356-entry-preview dt{color:#758794}.v356-entry-preview dd{margin:0;font-weight:800}.v356-entry-preview>small{display:block;margin-top:12px;font-size:12px;color:#6b7d8b}.v356-success-summary{display:grid;gap:7px}.v356-success-summary b{font-size:18px}
/* journal/cash flatten card rows into ledger rows */
.v356-journal .aj-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;border:1px solid var(--v356-line)!important;border-radius:13px!important;overflow:hidden!important;background:#fff!important}.v356-journal .aj-stats article{min-height:68px!important;border:0!important;border-left:1px solid #edf1f4!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:11px 13px!important}.v356-journal .aj-stats small{font-size:12px!important}.v356-journal .aj-stats b{font-size:16px!important}.v356-journal .aj-panel,.v356-cash .cl-panel{margin-top:14px!important;border:1px solid var(--v356-line)!important;border-radius:14px!important;box-shadow:none!important;background:#fff!important}.v356-journal .aj-panel-head,.v356-cash .cl-panel-head{padding:14px!important}.v356-journal .aj-filters{display:grid!important;grid-template-columns:150px 150px 150px minmax(190px,1fr)!important;gap:8px!important}.v356-journal .aj-filters label{display:grid;gap:4px}.v356-journal .aj-filters label>span{font-size:12px;color:#657887}.v356-journal-head,.v356-cash-head{display:grid;align-items:center;min-height:40px;background:#f5f8fa;border-top:1px solid var(--v356-line);border-bottom:1px solid var(--v356-line);font-size:12px;font-weight:800;color:#596d7c;padding:0 10px;gap:8px}.v356-journal-head{grid-template-columns:1.15fr 2fr 1fr 1fr 1fr .8fr 60px}.v356-journal .aj-row{border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:0!important;box-shadow:none!important;margin:0!important;min-height:52px!important;transform:none!important}.v356-journal .aj-row:hover{transform:none!important;background:#f9fbfc!important}.v356-journal .aj-row *{font-size:max(12px,1em)}
.v356-cash #cl-stats .cl-stat-grid,.v356-cash .cl-stats{box-shadow:none!important}.v356-cash #cl-accounts{display:flex!important;gap:8px!important;overflow:auto!important;padding:10px 0!important}.v356-cash #cl-accounts article{min-width:190px!important;box-shadow:none!important;border:1px solid var(--v356-line)!important;border-radius:12px!important}.v356-cash .cl-forecast-panel,.v356-cash .cl-topup-panel,.v356-cash .cl-report-panel{border:0!important;box-shadow:none!important;margin:0!important}.v356-cash-head{grid-template-columns:1.1fr 1.1fr 2fr 1fr 1fr .8fr 60px}.v356-cash .cl-row,.v356-cash .cl-transaction-row{border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:0!important;box-shadow:none!important;margin:0!important;transform:none!important}.v356-cash .cl-row:hover,.v356-cash .cl-transaction-row:hover{transform:none!important;background:#f9fbfc!important}.v356-cash .cl-filters{display:grid!important;grid-template-columns:150px 140px 140px minmax(220px,1fr)!important;gap:8px!important}
/* remove legacy heavy shadows globally from main financial pages only */
[data-page-hero="accounting-entry"]~*,[data-page-hero="accounting-journal"]~*,[data-page-hero="cash-ledger"]~*{--shadow-card:none!important}input[type="date"]{min-height:42px;border:1px solid #cbd9e2;border-radius:11px;background:#fff;font:inherit;font-size:13px;padding:0 10px}
/* no operational microtext */
#page-content table,#page-content input,#page-content select,#page-content textarea,#page-content button,#page-content .badge,#page-content small{font-size:max(12px,1em)}
@media(max-width:1100px){.v356-entry-layout{grid-template-columns:1fr}.v356-entry-preview{position:static}.v356-journal .aj-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v356-cash .cl-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v356-journal-head,.v356-journal .aj-list{min-width:860px}.v356-journal .aj-panel{overflow:auto}.v356-cash-head,.v356-cash .cl-list{min-width:860px}.v356-cash .cl-panel{overflow:auto}}
@media(max-width:768px){.tiam-page-hero__actions{max-width:55vw;overflow-x:auto}.tiam-branch-switcher{max-width:135px}.v356-fund-form,.v356-grid{grid-template-columns:1fr}.v356-fund-form .full,.v356-grid .full{grid-column:auto}.v356-journal .aj-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.login-solid-brand{display:none!important}.login-solid-layout{min-height:0!important;max-width:520px!important;border-radius:22px!important}.login-solid-card{padding:30px 22px!important}}
@media(max-width:420px){.login-solid-card{padding:24px 16px!important}.v356-journal .aj-filters,.v356-cash .cl-filters{grid-template-columns:1fr!important}.tiam-page-hero__visual{display:none!important}}

.sm148-header-tool{position:relative}.sm148-header-badge{position:absolute;top:-4px;left:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#d94b55;color:#fff;font-size:10.5px!important;line-height:18px!important;text-align:center}.sm148-header-tool.is-active{background:rgba(255,255,255,.18)!important;border-color:rgba(255,255,255,.4)!important}

.action-permission-panel{margin-top:14px!important}.action-permission-panel .manual-access-head small{color:var(--v356-muted);font-size:12px}

/* v359 test build: transparent brand mark + working role demos */
.login-solid-logo{width:150px!important;height:150px!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important}
.demo-role-panel{margin-top:18px;padding-top:16px;border-top:1px solid #e1e8ed}
.demo-role-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.demo-role-head b{color:#123e61;font-size:13px}.demo-role-head span{color:#738391;font-size:11px}
.demo-role-grid{display:grid;gap:7px;}.demo-role-grid button{padding:6px 8px;border:1px solid #d9e3e9;border-radius:9px;background:#f8fafb;color:#25445a;font-family:inherit;font-size:11.5px;font-weight:700;cursor:pointer;}.demo-role-grid button:hover{border-color:#b99a52;background:#fffaf0;color:#123e61}.demo-role-grid button:disabled{opacity:.55;cursor:wait}.demo-role-panel>small{display:block;margin-top:10px;text-align:center;color:#8493a0;font-size:10.5px}
@media(max-width:768px){.demo-role-grid{grid-template-columns:1fr 1fr}.demo-role-head{align-items:flex-start;flex-direction:column;gap:2px}}

/* v359 demo users: visible and testable from login + Users */
.login-solid-layout{min-height:720px!important}
.login-solid-card{justify-content:flex-start!important;overflow:auto!important;max-height:calc(100vh - 56px)!important}
.login-solid-card-head{min-height:auto!important;margin-bottom:16px!important}
.demo-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.demo-role-panel>small b{font-weight:900;color:#123e61}
.demo-user-badge{display:inline-flex;align-items:center;margin-right:6px;padding:2px 7px;border-radius:999px;background:#fff4d8;color:#816018;font-size:10.5px;font-weight:900;vertical-align:middle}
.demo-user-login{white-space:nowrap}
@media(max-width:900px){.demo-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.login-solid-layout{min-height:0!important}}

/* v363 named demo roster */
.demo-role-grid button{text-align:right;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:44px!important}
.demo-role-grid button b{font-size:11.5px;line-height:1.45;color:inherit}
.demo-role-grid button span{font-size:10.5px;line-height:1.35;color:#71808c;font-weight:600}
.demo-role-grid{max-height:360px;overflow:auto;padding-left:3px;scrollbar-gutter:stable}
@media(max-width:700px){.demo-role-grid{grid-template-columns:1fr!important;max-height:320px}}

/* ===== SOURCE: tiam-finance-v358.css | sha256:298d5087e0b5cbcb4fec3881dd8d69da65f105c5665a57df69ae7639dce0bb7e ===== */
.fin358{display:grid;gap:16px;max-width:1500px;margin:0 auto}.fin358-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border:1px solid var(--border,#dce3ea);border-radius:16px;background:#fff}.fin358-intro h2{margin:4px 0 6px;font-size:22px;color:#123e61}.fin358-intro p{margin:0;color:#5b6875}.fin358-kicker{font-size:12px;font-weight:700;color:#55768e}.fin358-total{min-width:180px;text-align:center;padding:12px 16px;border:1px solid #dbe5ec;border-radius:14px}.fin358-total span,.fin358-total small{display:block;font-size:12px;color:#667581}.fin358-total b{display:block;font-size:22px;margin:4px 0;color:#123e61;font-variant-numeric:tabular-nums}.fin358-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fin358-card{border:1px solid #dce4ea;background:#fff;border-radius:16px;padding:18px;display:grid;grid-template-columns:48px 1fr 24px;align-items:center;gap:14px;text-align:right;cursor:pointer;min-height:112px}.fin358-card:hover{border-color:#a8bdcd;transform:translateY(-1px)}.fin358-card-icon{width:48px;height:48px;border-radius:13px;background:#eef4f8;display:grid;place-items:center;color:#123e61}.fin358-card svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.fin358-card b,.fin358-card small{display:block}.fin358-card b{font-size:15px;color:#16364c;margin-bottom:6px}.fin358-card small{font-size:12px;line-height:1.8;color:#65727d}.fin358-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fin358-kpi,.fin358-panel,.fin358-fund{background:#fff;border:1px solid #dce4ea;border-radius:15px}.fin358-kpi{padding:16px}.fin358-kpi span,.fin358-kpi small{display:block;color:#667581;font-size:12px}.fin358-kpi b{display:block;font-size:20px;color:#143c59;margin:8px 0 3px;font-variant-numeric:tabular-nums}.fin358-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fin358-panel{padding:16px;min-width:0}.fin358-panel>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.fin358-panel>header h3{margin:0;color:#173e5b;font-size:16px}.fin358-panel>header span{font-size:12px;color:#6c7983}.fin358-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fin358-form label{display:grid;gap:6px;font-size:12px;font-weight:650;color:#485966}.fin358-form .full{grid-column:1/-1}.fin358-form input,.fin358-form select,.fin358-filter select{min-height:42px;border:1px solid #ccd8e0;border-radius:10px;background:#fff;padding:8px 10px;font:inherit;font-size:13px}.fin358-form .check{display:flex;align-items:center;gap:8px}.fin358-form .check input{min-height:auto;width:18px;height:18px}.fin358-actions{display:flex;gap:8px}.fin358-cash-row{display:grid;grid-template-columns:1fr repeat(3,auto);gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f4;font-size:12px}.fin358-cash-row strong.pos{color:#15805f}.fin358-cash-row strong.neg{color:#b13c47}.fin358-bars>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f4;font-size:13px}.fin358-note{padding:12px 14px;border:1px solid #dbe5ec;background:#f8fafb;border-radius:12px;font-size:12px;color:#50616d}.fin358-fund-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fin358-fund{padding:16px}.fin358-fund.main{border-color:#9eb7c9}.fin358-fund header{display:grid;gap:3px}.fin358-fund header span{font-size:11px;color:#6b7882}.fin358-fund header b{font-size:15px;color:#183f5c}.fin358-fund>strong{display:block;font-size:21px;margin:15px 0;color:#123e61}.fin358-fund>strong small{font-size:11px}.fin358-fund>div{display:flex;justify-content:space-between;padding:7px 0;font-size:12px;border-top:1px solid #eef2f4}.fin358-fund footer{display:flex;gap:7px;margin-top:12px}.fin358-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.fin358-filter select{min-width:180px}.fin358-report-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.fin358-report-summary span{padding:10px;background:#f5f8fa;border-radius:9px;font-size:12px}.fin358-report-summary b{display:block;margin-top:4px;font-variant-numeric:tabular-nums}.fin358 .data-table td,.fin358 .data-table th{font-size:12px}.fin358 .data-table td small{display:block;color:#74818a;margin-top:3px}.fin358 .hidden{display:none!important}@media(max-width:1050px){.fin358-grid,.fin358-fund-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fin358-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.fin358-grid,.fin358-fund-grid,.fin358-two,.fin358-kpis{grid-template-columns:1fr}.fin358-intro{align-items:flex-start;flex-direction:column}.fin358-total{width:100%}.fin358-form{grid-template-columns:1fr}.fin358-form .full{grid-column:auto}.fin358-cash-row{grid-template-columns:1fr 1fr}.fin358-report-summary{grid-template-columns:1fr 1fr}}

/* ===== SOURCE: tiam-font-lock-v360.css | sha256:3fbfdaf792226526d7b6030d04e859e1dac5c7014be5a74f8eea078503b07285 ===== */
/* TIAM v360 FONT LOCK — MUST REMAIN THE LAST STYLESHEET IN <head>.
   Prevents old modules from replacing Yekan Bakh with Tahoma/Segoe UI/Arial. */
:root{--tiam-font:"Tiam Yekan Bakh FaNum",sans-serif!important}
html,body,body *,button,input,select,textarea,option,table,th,td,label,summary{
  font-family:var(--tiam-font)!important;
}
html,body{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
[data-money],input[type="number"],input[type="tel"],input[type="time"],.ltr-cell,.money,.amount,.numeric,.number,.date,.time,.phone,.tracking-code{
  font-family:var(--tiam-font)!important;
}
@media print{html,body,body *,button,input,select,textarea,option,table,th,td{font-family:var(--tiam-font)!important}}

/* ===== SOURCE: tiam-dashboard-v366.css | sha256:ddd9bb2b96b2ff5107932dc1d3d0447c804f19958d3357ae987f4a647e2cdcec ===== */
/* TIAM v366 — executive dashboard visual correction.
   Fixes the live management status card being styled as if it lived inside the navy page hero. */

body[data-page="dashboard"] #page-content > .tiam-page-hero{
  min-height:72px!important;
  padding:10px 13px!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
  gap:11px!important;
  margin-bottom:12px!important;
}
body[data-page="dashboard"] #page-content > .tiam-page-hero .tiam-page-hero__copy h1{
  font-size:20px!important;
  line-height:1.5!important;
}
body[data-page="dashboard"] #page-content > .tiam-page-hero .tiam-page-hero__actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
}

body[data-page="dashboard"] .manager-activity-shell{
  width:min(1380px,100%)!important;
  margin:0 auto!important;
  padding:8px 0 28px!important;
  gap:12px!important;
}

/* Live executive status: neutral surface; colour is reserved for the state badge only. */
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:76px!important;
  margin:0!important;
  padding:13px 16px!important;
  display:grid!important;
  grid-template-columns:minmax(210px,.72fr) minmax(300px,1.6fr) minmax(180px,.58fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:20px!important;
  row-gap:4px!important;
  border:1px solid #d8e4ec!important;
  border-radius:15px!important;
  background:#fff!important;
  color:#16344b!important;
  box-shadow:0 4px 14px rgba(16,52,77,.07)!important;
  backdrop-filter:none!important;
  position:relative!important;
  overflow:hidden!important;
}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health::after,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health::after{
  content:"";
  position:absolute;
  inset:0 0 0 auto;
  width:4px;
  background:#8195a3;
}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health small,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health small{
  grid-column:1;
  grid-row:1;
  display:block!important;
  margin:0!important;
  color:#708493!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.6!important;
}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health b,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health b{
  grid-column:1;
  grid-row:2;
  justify-self:start;
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  padding:3px 10px!important;
  border:1px solid #d9e4ea!important;
  border-radius:999px!important;
  background:#f3f7f9!important;
  color:#24485f!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.5!important;
}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health span,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health span{
  grid-column:2;
  grid-row:1 / span 2;
  display:block!important;
  margin:0!important;
  color:#405d70!important;
  font-size:12.5px!important;
  font-weight:650!important;
  line-height:1.9!important;
  text-align:right!important;
}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health time,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health time{
  grid-column:3;
  grid-row:1 / span 2;
  display:block!important;
  margin:0!important;
  color:#7a8d9b!important;
  font-size:10.5px!important;
  font-weight:650!important;
  line-height:1.7!important;
  direction:rtl!important;
  text-align:left!important;
  white-space:normal!important;
}

body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health.is-positive::after,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health.is-positive::after{background:#238463!important}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health.is-positive b,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health.is-positive b{
  border-color:#b9dfd1!important;background:#edf8f4!important;color:#17664e!important;
}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health.is-warning::after,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health.is-warning::after{background:#c78b23!important}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health.is-warning b,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health.is-warning b{
  border-color:#ead5aa!important;background:#fff8e9!important;color:#815a13!important;
}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health.is-critical::after,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health.is-critical::after{background:#b54851!important}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health.is-critical b,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health.is-critical b{
  border-color:#edc5c9!important;background:#fff1f2!important;color:#8d2f38!important;
}
body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health.is-neutral::after,
body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health.is-neutral::after{background:#6f8697!important}

@media (max-width:980px){
  body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health,
  body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health{
    grid-template-columns:minmax(185px,.8fr) minmax(0,1.4fr)!important;
  }
  body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health time,
  body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health time{
    grid-column:2!important;grid-row:3!important;text-align:right!important;margin-top:1px!important;
  }
  body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health span,
  body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health span{grid-row:1 / span 2!important;}
}
@media (max-width:680px){
  body[data-page="dashboard"] #page-content > .tiam-page-hero{
    grid-template-columns:42px minmax(0,1fr)!important;
  }
  body[data-page="dashboard"] #page-content > .tiam-page-hero .tiam-page-hero__actions{
    grid-column:1/-1!important;justify-content:flex-start!important;
  }
  body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health,
  body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health{
    min-height:0!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
    gap:5px!important;
    padding:13px 14px!important;
  }
  body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health :where(small,b,span,time),
  body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health :where(small,b,span,time){
    grid-column:1!important;grid-row:auto!important;text-align:right!important;
  }
  body[data-page="dashboard"] .manager-activity-shell > .v343-dashboard-health span,
  body[data-page="dashboard"] .manager-activity-shell > .v347-dashboard-health span{font-size:12px!important;}
}

/* ===== SOURCE: tiam-workflow-v367.css | sha256:c6f78c267ac3513b5d5c81bcc3d0e733cb8724ed40f9ad26bc613becc6870f6c ===== */
/* Tiam v367 — unified workflow, action center, badges and request UX */
.tiam-global-tools-trigger{position:relative}.tiam-global-tools-combined-badge{position:absolute;inset-inline-start:-7px;top:-7px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#c93b3b;color:#fff;border:2px solid #123e61;font:700 10.5px/16px var(--tiam-font-family,"Yekan Bakh FaNum",sans-serif);display:grid;place-items:center;box-shadow:0 3px 10px #0003;z-index:4}.tiam-global-tools-trigger.has-pending-items{box-shadow:0 0 0 2px #fff2 inset}
.tiam-action-center-v367{position:fixed;inset:0;z-index:10070;display:grid;grid-template-columns:1fr min(600px,92vw);direction:rtl}.tiam-action-center-v367[hidden]{display:none}.v367-action-backdrop{grid-column:1/3;grid-row:1;background:#07182780;border:0}.v367-action-drawer{grid-column:2;grid-row:1;background:#f7fafc;height:100%;overflow:hidden;display:flex;flex-direction:column;box-shadow:-20px 0 50px #06192933;transform:translateX(102%);transition:.18s ease}.tiam-action-center-v367.is-open .v367-action-drawer{transform:none}.v367-action-drawer>header{background:#123e61;color:#fff;padding:20px 22px;display:flex;justify-content:space-between;align-items:flex-start}.v367-action-drawer h2{margin:3px 0;font-size:22px}.v367-action-drawer header p{margin:5px 0 0;color:#d7e6f1;font-size:13px}.v367-action-close{width:38px;height:38px;border:1px solid #ffffff40;background:#ffffff12;color:#fff;border-radius:11px;display:grid;place-items:center}.v367-action-close svg,.v367-action-icon svg,.v367-action-open svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.v367-action-toolbar{padding:12px 16px;background:#fff;border-bottom:1px solid #dce6ee;display:flex;gap:10px;justify-content:space-between}.v367-action-toolbar nav{display:flex;gap:6px;overflow:auto}.v367-action-toolbar nav button{border:1px solid #dbe5ed;background:#fff;border-radius:10px;padding:8px 11px;white-space:nowrap;font:600 12px/1 var(--tiam-font-family)}.v367-action-toolbar nav button.active{background:#123e61;color:#fff;border-color:#123e61}.v367-action-toolbar nav b{margin-inline-start:4px}.v367-action-list{padding:14px;overflow:auto;display:grid;gap:10px}.v367-action-card{background:#fff;border:1px solid #dce6ee;border-radius:15px;padding:13px;display:grid;grid-template-columns:42px 1fr 34px;gap:11px;align-items:center;box-shadow:0 4px 14px #11324d0b;cursor:pointer;position:relative}.v367-action-card:hover{border-color:#9fb8c9;box-shadow:0 8px 20px #11324d15}.v367-action-card.is-overdue{border-inline-start:4px solid #c53c3c}.v367-action-card.is-urgent{border-inline-start:4px solid #d38c24}.v367-action-open{border:0;background:transparent;color:#45667e}.v367-empty,.v367-loading{min-height:180px;display:grid;place-items:center;align-content:center;gap:6px;text-align:center;color:#687e8e;background:#fff;border:1px dashed #d6e2e9;border-radius:15px}.v367-empty b{color:#1a3a52}.v367-empty.is-error{color:#a92e2e}
.v367-request-detail{display:grid;gap:14px}.v367-request-detail>header{display:flex;justify-content:space-between;align-items:start;background:#f1f6f9;border:1px solid #dae5ec;border-radius:14px;padding:14px}.v367-request-detail>header span{font-size:11px;color:#6f8493}.v367-request-detail>header h3{margin:3px 0;font-size:17px;color:#123e61}.v367-request-detail>header p{margin:0;font-size:12px}.v367-request-id{direction:ltr}.v367-request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v367-request-grid>div{padding:10px 12px;border:1px solid #e0e8ee;border-radius:11px;display:grid;gap:4px}.v367-request-grid span,.v367-balance span{font-size:11px;color:#708493}.v367-request-grid b,.v367-balance b{font-size:13px;color:#173750}.v367-request-grid .is-wide{grid-column:1/-1}.v367-request-grid .is-warning{background:#fff8ea;border-color:#f0d89f}.v367-balance{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.v367-balance>div{background:#f7fafc;border-radius:10px;padding:9px;display:grid;gap:4px}.v367-balance .is-over{background:#fff3e8}.v367-timeline{border-top:1px solid #e2e9ee;padding-top:12px}.v367-timeline h4{margin:0 0 10px}.v367-timeline ol{list-style:none;padding:0;margin:0;display:grid}.v367-timeline li{display:grid;grid-template-columns:16px 1fr;gap:7px;position:relative;padding-bottom:12px}.v367-timeline li:after{content:"";position:absolute;right:7px;top:13px;bottom:0;border-right:1px solid #dbe5eb}.v367-timeline li:last-child:after{display:none}.v367-time-dot{width:9px;height:9px;border-radius:50%;background:#1f668f;margin-top:4px;z-index:1}.v367-timeline li>div{display:grid;grid-template-columns:auto 1fr;gap:3px 8px}.v367-timeline strong{font-size:12px;color:#36576e}.v367-timeline p,.v367-timeline small{grid-column:1/-1;margin:0;font-size:11px;color:#708493}
.v367-leave-form [hidden]{display:none!important}.v367-leave-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#f4f8fa;border:1px solid #dce7ed;border-radius:12px;padding:10px}.v367-leave-preview>div{display:grid;gap:3px}.v367-leave-preview span{font-size:11px;color:#678091}.v367-leave-preview b{font-size:13px;color:#153a54}.v367-leave-preview .is-warning{grid-column:1/-1;background:#fff3df;border-radius:9px;padding:8px;color:#9d6719}.v367-leave-preview small{font-size:10.5px}.v367-leave-preview .is-error{grid-column:1/-1;color:#a92e2e}.v367-leave-form input[type=time]{direction:ltr;text-align:center;font-variant-numeric:tabular-nums}
/* profile request table stability */
.tiam-pgf-status{white-space:normal;line-height:1.6}
/* reconciliation table: header and rows share a stable, compact data-table geometry */

/* Ticket v367 refinements */
.it-tabs{display:flex;gap:5px;overflow:auto}.it-tab{white-space:nowrap}.it-reply textarea{min-height:78px;resize:vertical}.it-reply>div{justify-content:flex-end!important}.it-ticket-header .it-waiting-label{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef5f8;color:#315b76;font-size:11px}.it-message.system{border-style:dashed!important;background:#f6f8fa!important;color:#607384!important}.it-form [data-it-target-panel][hidden]{display:none!important}
@media(max-width:700px){.tiam-action-center-v367{grid-template-columns:1fr}.v367-action-backdrop,.v367-action-drawer{grid-column:1}.v367-action-drawer{width:100%}.v367-request-grid,.v367-balance,.v367-leave-preview{grid-template-columns:1fr}.v367-request-grid .is-wide,.v367-leave-preview .is-warning{grid-column:auto}.v367-action-toolbar{align-items:flex-start;flex-direction:column}}
.v367-request-tabs{display:flex;gap:5px;flex-wrap:wrap}.v367-request-tabs button{border:1px solid #d7e3ea;background:#fff;color:#3d5d73;border-radius:999px;padding:6px 9px;font:600 11px/1 var(--tiam-font-family)}.v367-request-tabs button.active{background:#123e61;color:#fff;border-color:#123e61}.tiam-pgf-request-row[hidden]{display:none!important}

@media(max-width:760px){.v367-sla-settings label,.v367-calendar-grid label,.v367-exception-row{grid-template-columns:1fr 1fr}.v367-sla-settings label>span,.v367-exception-row .date-control{grid-column:1/-1}}
/* v367 notification inbox: news only, action center is separate */
.so-v282-item{border-radius:13px!important}.so-v282-copy>strong{font-size:13.5px!important;color:#153650!important;line-height:1.7}.so-v282-copy>p{margin:3px 0 6px!important;color:#526d80!important;line-height:1.65}.so-v282-copy footer{order:4!important}.so-v282-copy footer time{font-size:10.5px;color:#8093a0}.so-v282-item.is-unread .so-v282-copy>strong{font-weight:800}.so-v282-item.is-unread{box-shadow:inset -3px 0 #236a94}
/* Critical v367 reconciliation repair: remove legacy CSS-grid table emulation. */
@media (min-width:769px){
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table{display:table!important;width:100%!important;min-width:1180px;border-collapse:separate;border-spacing:0;table-layout:fixed}
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table thead{display:table-header-group!important}
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table tbody{display:table-row-group!important}
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table :is(thead,tbody) tr{display:table-row!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important}
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table thead th{display:table-cell!important;height:42px!important;padding:8px 10px!important;font-size:11.5px!important;text-align:center;vertical-align:middle;background:#0f3659;color:#fff;white-space:normal}
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table tbody td{display:table-cell!important;height:auto!important;min-height:52px!important;max-height:none!important;padding:10px 9px!important;font-size:12px!important;text-align:center!important;vertical-align:middle!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;border-bottom:1px solid #e4ebf0}
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table tbody td b,body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table tbody td small{display:block;white-space:normal;overflow-wrap:anywhere}
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(1){width:5%}body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(2){width:16%}body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(3){width:14%}body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(4){width:9%}body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(5){width:12%}body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(6){width:11%}body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(7){width:13%}body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(8){width:9%}body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table th:nth-child(9){width:11%}
 body[data-page="reconciliation"] .so-reconciliation-source .so-direct-bank-table .rec-row-number{font-weight:800;color:#506b7e;background:#f1f6f9!important}
}

/* v368 — branch-aware action-center filter for organisation accounting */
.v367-action-toolbar .v367-action-branch{min-height:36px;min-width:145px;border:1px solid rgba(47,91,124,.18);border-radius:10px;background:#fff;padding:0 10px;font:inherit;font-size:11.5px;color:#31536c}
.v367-action-toolbar .v367-action-branch[hidden]{display:none!important}
@media(max-width:720px){.v367-action-toolbar .v367-action-branch{width:100%;min-width:0;order:2}}

/* ===== SOURCE: lead-import-inventory-v370.css | sha256:003c46f6429d60298a3fba57a847269d5e1c3dbba616bfc0c71b65331f94c0e0 ===== */
/* TIAM v370 — number inventory page */
body[data-page="lead-import"] #page-content{display:block}
body[data-page="lead-import"] .tiam-page-hero{margin-bottom:10px!important}




body[data-page="lead-import"] .lead-v370-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 9px;}
body[data-page="lead-import"] .lead-v370-kpi{min-width:0;border:1px solid #dde6ec;border-radius:12px;background:#fff;text-align:right;display:grid;grid-template-columns:1fr auto;grid-template-areas:"label value" "hint value";align-items:center;gap:2px 8px;cursor:pointer;}
body[data-page="lead-import"] .lead-v370-kpi:hover{border-color:#c8d9e4;background:#fbfdfe}
body[data-page="lead-import"] .lead-v370-kpi small{grid-area:label;color:#536f81;font-size:11.5px;font-weight:850}
body[data-page="lead-import"] .lead-v370-kpi b{grid-area:value;color:#234f6b;font-size:22px;font-weight:900;line-height:1}
body[data-page="lead-import"] .lead-v370-kpi span{grid-area:hint;color:#8495a0;font-size:10.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="lead-import"] .lead-v370-kpi.is-ready{border-right:3px solid #67a28e}
body[data-page="lead-import"] .lead-v370-kpi.is-allocated{border-right:3px solid #648aaf}
body[data-page="lead-import"] .lead-v370-kpi.is-review{border-right:3px solid #c49a59}

body[data-page="lead-import"] .lead-v370-import-result{min-height:46px;margin:0 0 9px;padding:7px 10px;border:1px solid #cfe3d6;border-radius:11px;background:#f7fbf8;display:flex;align-items:center;gap:12px;position:relative}
body[data-page="lead-import"] .lead-v370-import-result-title{min-width:175px;display:flex;align-items:center;gap:8px}
body[data-page="lead-import"] .lead-v370-import-result-title>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e7f3eb;color:#3d7658}
body[data-page="lead-import"] .lead-v370-import-result-title svg{width:16px;height:16px}
body[data-page="lead-import"] .lead-v370-import-result-title b{display:block;color:#315e47;font-size:12px}
body[data-page="lead-import"] .lead-v370-import-result-title small{display:block;color:#71867a;font-size:10.5px;direction:ltr;text-align:right}
body[data-page="lead-import"] .lead-v370-import-result-stats{display:flex;align-items:center;gap:7px;flex:1;flex-wrap:wrap}
body[data-page="lead-import"] .lead-v370-import-result-stats span{padding:5px 8px;border:1px solid #deebe2;border-radius:8px;background:#fff;color:#687f70;font-size:10.5px;font-weight:750}
body[data-page="lead-import"] .lead-v370-import-result-stats b{color:#2e6849;font-size:12px}
body[data-page="lead-import"] .lead-v370-result-close{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#698075;font-size:20px;cursor:pointer}

body[data-page="lead-import"] .lead-v370-inventory-card{margin:0;overflow:hidden;border-radius:13px}
body[data-page="lead-import"] .lead-v370-inventory-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e8edf1;background:#fff;}
body[data-page="lead-import"] .lead-v370-inventory-head small{display:block;color:#7f929e;font-size:10.5px;font-weight:800}
body[data-page="lead-import"] .lead-v370-inventory-head h2{margin:0;color:#294f67;font-size:16px;line-height:1.35}
body[data-page="lead-import"] .lead-v370-inventory-head p{margin:1px 0 0;color:#8998a2;font-size:10.5px}
body[data-page="lead-import"] .lead-v370-head-tools{display:flex;align-items:center;gap:6px}

body[data-page="lead-import"] .lead-v370-filters{display:grid;grid-template-columns:minmax(190px,1.3fr) 145px minmax(220px,1.25fr) 128px 128px auto;align-items:end;border-bottom:1px solid #e8edf1;background:#fafcfd;}
body[data-page="lead-import"] .lead-v370-filters .field{margin:0;min-width:0}
body[data-page="lead-import"] .lead-v370-filters label{margin-bottom:3px!important;color:#6f8492!important;font-size:10.5px!important;font-weight:800!important}
body[data-page="lead-import"] .lead-v370-filters :is(input,select){padding-top:4px!important;padding-bottom:4px!important;border-radius:9px!important;font-size:11px!important;background:#fff!important;}
body[data-page="lead-import"] .lead-v370-filter-actions{display:flex;align-items:center;gap:5px}
body[data-page="lead-import"] .lead-v370-filter-actions .btn{padding-inline:10px;}

body[data-page="lead-import"] .lead-v370-bulk{display:none;border-bottom:1px solid #dbe7ed;}
body[data-page="lead-import"] .lead-v370-bulk.is-visible{display:flex}



body[data-page="lead-import"] .lead-v370-bulk .field{margin:0;width:min(290px,32vw)}
body[data-page="lead-import"] .lead-v370-bulk label{font-size:10.5px!important;margin-bottom:3px!important}
body[data-page="lead-import"] .lead-v370-bulk select{height:36px!important;min-height:36px!important}
body[data-page="lead-import"] .lead-v370-bulk>.btn{height:36px;min-height:36px;white-space:nowrap}


body[data-page="lead-import"] .lead-v370-table-wrap{padding:0;overflow:auto;background:#fff;}
body[data-page="lead-import"] .lead-v370-table{width:100%;margin:0;border-collapse:separate;border-spacing:0;}
body[data-page="lead-import"] .lead-v370-table thead{position:sticky;top:0;z-index:3}
body[data-page="lead-import"] .lead-v370-table th{height:38px;padding:7px 9px!important;background:#f3f7f9!important;border-bottom:1px solid #dfe7ec!important;color:#607887!important;font-size:10.5px!important;font-weight:850!important;white-space:nowrap}
body[data-page="lead-import"] .lead-v370-table td{height:43px;padding:6px 9px!important;border-bottom:1px solid #edf1f3!important;background:#fff!important;font-size:11px!important;vertical-align:middle}
body[data-page="lead-import"] .lead-v370-table tbody tr:hover td{background:#fbfdfe!important}
body[data-page="lead-import"] .lead-v370-table tbody tr.is-locked{opacity:.8}
body[data-page="lead-import"] .lead-v370-table .lead-v370-check{text-align:center;}
body[data-page="lead-import"] .lead-v370-table input[type="checkbox"]{width:16px;height:16px}
body[data-page="lead-import"] .lead-v370-phone{display:inline-block;min-width:105px;color:#274f68;font-weight:850;direction:ltr;text-align:left;}
body[data-page="lead-import"] .lead-v370-source{gap:1px;}
body[data-page="lead-import"] .lead-v370-source b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#405f72;}
body[data-page="lead-import"] .lead-v370-source small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#91a0aa;font-size:10.5px}
body[data-page="lead-import"] .lead-v370-allocation{display:block;max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#546e7e;font-weight:750}
body[data-page="lead-import"] .lead-v370-table .mini-action{min-width:74px;height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d9e3e9;border-radius:8px;background:#fff;color:#416982;font-size:10.5px;font-weight:800}
body[data-page="lead-import"] .lead-v370-table .mini-action svg{width:14px;height:14px}

body[data-page="lead-import"] .lead-v370-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e5ebef;background:#fbfcfd;}
body[data-page="lead-import"] .lead-v370-pagination .field{margin:0;display:flex;align-items:center;}
body[data-page="lead-import"] .lead-v370-pagination label{margin:0!important;white-space:nowrap;}

body[data-page="lead-import"] .lead-v370-page-nav{display:flex;align-items:center;gap:8px}
body[data-page="lead-import"] .lead-v370-page-nav span{min-width:110px;text-align:center;color:#687e8d;font-size:10.5px;font-weight:800}
body[data-page="lead-import"] .lead-v370-page-nav .btn{padding-inline:10px;}

body[data-page="lead-import"] .lead-v370-manager-requests{margin-top:9px;overflow:hidden}
body[data-page="lead-import"] .lead-v370-manager-requests>summary{min-height:44px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:#456679;font-size:11px;font-weight:850}
body[data-page="lead-import"] .lead-v370-manager-requests>summary b{padding:4px 7px;border-radius:8px;background:#edf4f8;color:#426981;font-size:10.5px}
body[data-page="lead-import"] .lead-v370-loading{min-height:300px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center}
body[data-page="lead-import"] .lead-v370-loading.is-error{color:#8d4d45}

.lead-v370-modal{display:grid;gap:12px}





.lead-v370-file-picker{min-height:62px;padding:9px 11px;border:1px dashed #cbdbe5;border-radius:11px;background:#fbfdfe;display:flex;align-items:center;gap:10px;cursor:pointer}
.lead-v370-file-picker input{display:none}
.lead-v370-file-picker>span{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#eef5f9;color:#3b6b87}
.lead-v370-file-picker svg{width:18px;height:18px}
.lead-v370-file-picker b{display:block;color:#365d75;font-size:11.5px}
.lead-v370-file-picker small{display:block;margin-top:2px;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8797a1;font-size:10.5px}
.lead-v370-modal textarea{min-height:145px!important;resize:vertical;line-height:1.9!important;font-size:12px!important}
.lead-v370-modal-feedback{min-height:0;padding:0;font-size:10.5px;font-weight:800}
.lead-v370-modal-feedback:not(:empty){padding:8px 10px;border-radius:9px;background:#f4f7f9;color:#5e7685}
.lead-v370-modal-feedback.is-error{background:#fff1ef;color:#9b5046}
.lead-v370-modal-feedback.is-loading{background:#eef5f9;color:#456d84}

@media(max-width:1220px){
  body[data-page="lead-import"] .lead-v370-filters{grid-template-columns:minmax(180px,1.2fr) 140px minmax(210px,1fr) 125px 125px}
  body[data-page="lead-import"] .lead-v370-filter-actions{grid-column:1/-1;justify-content:flex-end}
  body[data-page="lead-import"] .lead-v370-table-wrap{max-height:calc(100vh - 395px)}
}
@media(max-width:850px){
  body[data-page="lead-import"] .lead-v370-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-page="lead-import"] .lead-v370-filters{grid-template-columns:1fr 1fr}
  body[data-page="lead-import"] .lead-v370-search,body[data-page="lead-import"] .lead-v370-batch{grid-column:1/-1}
  body[data-page="lead-import"] .lead-v370-bulk{align-items:stretch;flex-wrap:wrap}
  body[data-page="lead-import"] .lead-v370-bulk .field{width:min(100%,320px)}
  body[data-page="lead-import"] .lead-v370-table-wrap{max-height:none;min-height:240px}
}
@media(max-width:560px){
  body[data-page="lead-import"] .lead-v370-summary{grid-template-columns:1fr}
  body[data-page="lead-import"] .lead-v370-kpi{min-height:62px}
  body[data-page="lead-import"] .lead-v370-filters{grid-template-columns:1fr}
  body[data-page="lead-import"] .lead-v370-search,body[data-page="lead-import"] .lead-v370-batch{grid-column:auto}
  body[data-page="lead-import"] .lead-v370-filter-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}
  body[data-page="lead-import"] .lead-v370-inventory-head{align-items:flex-start}
  body[data-page="lead-import"] .lead-v370-head-tools{display:none}
  body[data-page="lead-import"] .lead-v370-import-result{align-items:flex-start;flex-direction:column;padding-left:35px}
  body[data-page="lead-import"] .lead-v370-pagination{align-items:stretch;flex-direction:column}
  body[data-page="lead-import"] .lead-v370-page-nav{justify-content:space-between}
}

/* TIAM v376 — compact number inventory + reliable allocation */
body[data-page="lead-import"] .tiam-page-hero__actions{display:flex!important;align-items:center!important;gap:6px!important}
body[data-page="lead-import"] .lead-v376-icon-action,
body[data-page="lead-import"] .lead-v376-small-icon{
  width:38px;height:38px;min-width:38px;padding:0;border:1px solid rgba(255,255,255,.24);border-radius:10px;
  display:inline-grid;place-items:center;background:rgba(255,255,255,.10);color:#fff;cursor:pointer;box-shadow:none;
}
body[data-page="lead-import"] .lead-v376-icon-action:hover{background:rgba(255,255,255,.17);border-color:rgba(255,255,255,.34)}
body[data-page="lead-import"] .lead-v376-icon-action.is-excel{background:#fff;color:#123e61;border-color:#fff}
body[data-page="lead-import"] .lead-v376-icon-action svg,
body[data-page="lead-import"] .lead-v376-small-icon svg{width:18px;height:18px}
body[data-page="lead-import"] .lead-v376-small-icon{width:34px;height:34px;min-width:34px;color:#315f7b;background:#f7fafc;border-color:#d8e4eb}

body[data-page="lead-import"] .lead-v370-summary{gap:9px}
body[data-page="lead-import"] .lead-v370-kpi{min-height:68px;padding:9px 12px;border-width:1px!important;border-right-width:4px!important;box-shadow:none!important}
body[data-page="lead-import"] .lead-v370-kpi:not(.is-ready):not(.is-allocated):not(.is-review){background:#f4f8ff!important;border-color:#cbdcf2!important;border-right-color:#4f7fb6!important}
body[data-page="lead-import"] .lead-v370-kpi.is-ready{background:#f2fbf7!important;border-color:#cde7dc!important;border-right-color:#3d9977!important}
body[data-page="lead-import"] .lead-v370-kpi.is-allocated{background:#f7f4ff!important;border-color:#ddd5f2!important;border-right-color:#7558a8!important}
body[data-page="lead-import"] .lead-v370-kpi.is-review{background:#fff8ef!important;border-color:#ecdcc4!important;border-right-color:#c58132!important}
body[data-page="lead-import"] .lead-v370-kpi:not(.is-ready):not(.is-allocated):not(.is-review) b{color:#34689f}
body[data-page="lead-import"] .lead-v370-kpi.is-ready b{color:#237b5b}
body[data-page="lead-import"] .lead-v370-kpi.is-allocated b{color:#624994}
body[data-page="lead-import"] .lead-v370-kpi.is-review b{color:#a76620}

body[data-page="lead-import"] .lead-v370-inventory-head{min-height:50px!important;padding:7px 12px!important}
body[data-page="lead-import"] .lead-v370-filters{padding:7px 12px!important;gap:6px!important}
body[data-page="lead-import"] .lead-v370-filters :is(input,select){height:34px!important;min-height:34px!important}
body[data-page="lead-import"] .lead-v370-filter-actions .btn{height:34px!important;min-height:34px!important}

body[data-page="lead-import"] .lead-v370-bulk{min-height:48px!important;padding:6px 12px!important;align-items:center!important;gap:8px!important;background:#f4f8fb!important}
body[data-page="lead-import"] .lead-v376-selection-summary{height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:0;background:transparent;color:#536f81;white-space:nowrap}
body[data-page="lead-import"] .lead-v376-selection-summary b{font-size:15px;color:#123e61}
body[data-page="lead-import"] .lead-v376-selection-summary span{font-size:11px;font-weight:800}
body[data-page="lead-import"] .lead-v376-manager-field{margin:0!important;width:min(290px,34vw)!important}
body[data-page="lead-import"] .lead-v376-manager-field select{height:36px!important;min-height:36px!important;border-radius:10px!important;text-align:center!important;text-align-last:center!important;font-size:11px!important}
body[data-page="lead-import"] .lead-v376-allocate-button{height:36px!important;min-height:36px!important;padding:0 13px!important;border-radius:10px!important;gap:6px!important;white-space:nowrap}
body[data-page="lead-import"] .lead-v376-allocate-button svg{width:15px;height:15px}
body[data-page="lead-import"] .lead-v376-allocate-button:disabled{opacity:.48!important;cursor:default!important}

body[data-page="lead-import"] .lead-v370-table-wrap{max-height:calc(100vh - 330px)!important;min-height:300px!important}
body[data-page="lead-import"] .lead-v370-table{min-width:970px!important;table-layout:fixed!important}
body[data-page="lead-import"] .lead-v370-table > thead > tr > th{height:36px!important;min-height:36px!important;padding:4px 7px!important;font-size:10.5px!important;line-height:1.25!important}
body[data-page="lead-import"] .lead-v370-table > tbody > tr{height:42px!important;min-height:42px!important}
body[data-page="lead-import"] .lead-v370-table > tbody > tr > td{height:42px!important;min-height:42px!important;padding:4px 7px!important;font-size:11px!important;line-height:1.35!important}
body[data-page="lead-import"] .lead-v370-table .lead-v370-check{width:40px!important;min-width:40px!important}
body[data-page="lead-import"] .lead-v370-source{display:block!important;max-width:190px!important}
body[data-page="lead-import"] .lead-v370-source b{display:block!important;font-size:10.5px!important;line-height:1.3!important}
body[data-page="lead-import"] .lead-v370-source small{display:none!important}
body[data-page="lead-import"] .lead-v370-phone{font-size:11.5px!important}
body[data-page="lead-import"] .lead-v376-row-icon{width:30px;height:30px;min-width:30px;padding:0;border:1px solid #d7e3ea;border-radius:8px;background:#fff;color:#315f7b;display:inline-grid;place-items:center;cursor:pointer}
body[data-page="lead-import"] .lead-v376-row-icon:hover{background:#f4f8fb;border-color:#bfd2de}
body[data-page="lead-import"] .lead-v376-row-icon:disabled{opacity:.35;cursor:not-allowed}
body[data-page="lead-import"] .lead-v376-row-icon svg{width:15px;height:15px}

body[data-page="lead-import"] .lead-v370-pagination{min-height:44px!important;padding:5px 12px!important}
body[data-page="lead-import"] .lead-v370-pagination .field{height:34px!important;gap:7px!important}
body[data-page="lead-import"] .lead-v370-pagination label{font-size:10.5px!important}
body[data-page="lead-import"] .lead-v370-pagination select{width:58px!important;min-width:58px!important;height:32px!important;min-height:32px!important;padding:0 7px!important;border-radius:9px!important;text-align:center!important;text-align-last:center!important;line-height:32px!important;font-size:11px!important;font-weight:800!important}
body[data-page="lead-import"] .lead-v370-page-nav .btn{height:32px!important;min-height:32px!important}



.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:850px){
  body[data-page="lead-import"] .lead-v376-manager-field{width:min(100%,320px)!important}
  body[data-page="lead-import"] .lead-v370-table-wrap{max-height:none!important}
}

/* ===== SOURCE: employee-v373.css | sha256:48c9225aa98dba7cd72511697108ad603c3cb91cda8aaf6ff3fb44b3fd74f940 ===== */
/* TIAM v388 — canonical employee file; replaces layered v373/v383/stage3 styling. */
.employee-v373-page{max-width:1180px;margin:0 auto;padding:8px 0 28px}.employee-v373-header{display:flex;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid #e3e9ee}.employee-v373-back{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 10px;border:1px solid #d9e2e8;border-radius:8px;background:#fff;color:#24475f;font-weight:800;cursor:pointer}.employee-v373-back svg{width:16px;height:16px}.employee-v373-identity{min-width:0}.employee-v373-identity>div{display:grid;gap:2px}.employee-v383-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.employee-v373-identity h1{margin:0;font-size:18px;color:#183b55}.employee-v373-identity p{margin:0;font-size:11.5px;color:#6c7f8e}.employee-v373-identity small{font-size:10.5px;color:#8795a0}.employee-v383-state{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:900}.employee-v383-state.is-active{background:#eaf7ef;color:#17643d}.employee-v383-state.is-inactive{background:#f1f3f5;color:#6d7780}.employee-v373-warning{display:flex;gap:6px;align-items:center;margin:8px 0 0;padding:7px 10px;border:1px solid #f0d79a;border-radius:8px;background:#fff8e6;color:#735500;font-size:11px}.employee-v373-main{padding-top:10px}.employee-v373-form{overflow:hidden;border:1px solid #dfe6eb;border-radius:12px;background:#fff;box-shadow:none}.employee-v373-tabs{display:flex;align-items:center;gap:2px;overflow:auto;padding:0 10px;border-bottom:1px solid #e3e9ee;background:#fafcfd}.employee-v373-tabs button{flex:0 0 auto;min-height:40px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:#667887;font-size:11.5px;font-weight:850;cursor:pointer}.employee-v373-tabs button.is-active{border-bottom-color:#173f5d;color:#173f5d}.employee-v373-panels{padding:15px 16px 8px}.employee-profile-panel{padding:0;border:0;background:transparent}.employee-v373-section-title{display:flex;align-items:center;min-height:30px;margin-bottom:8px;border-bottom:1px solid #eef2f5}.employee-v373-section-title b{font-size:13px;color:#173a54}.employee-v373-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.employee-v373-data-grid .field{margin:0;min-width:0}.employee-v373-data-grid .field.full{grid-column:1/-1}.employee-v373-form .field>label{display:block;margin:0 0 4px;font-size:11px;color:#425d70;font-weight:800}.employee-v373-form input:not([type=checkbox]):not([type=radio]),.employee-v373-form select,.employee-v373-form .date-control{min-height:37px;height:37px;border-radius:8px;font-size:11.5px}.employee-v373-form textarea{min-height:66px;padding:8px 10px;border-radius:8px;font-size:11.5px;resize:vertical}.employee-v373-form .field>small{display:block;margin-top:3px;font-size:10px;color:#8694a0}.employee-v373-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:0 0 12px;border:1px solid #e4eaee;border-radius:9px;background:#fafcfd;overflow:hidden}.employee-v373-facts article{padding:8px 10px;border-inline-end:1px solid #e8edf1}.employee-v373-facts article:last-child{border:0}.employee-v373-facts small{display:block;font-size:10px;color:#7e8d99}.employee-v373-facts b{display:block;margin-top:2px;font-size:11.5px;color:#25485f}.employee-v373-module-links,.employee-v373-inline-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.employee-v373-module-links button{min-height:34px;padding:0 10px;border:1px solid #dbe5eb;border-radius:7px;background:#fff;color:#2f5873;font-size:11px;font-weight:800;cursor:pointer}.employee-v373-special-rule{display:flex;gap:8px;align-items:center;margin-top:10px;padding:8px 10px;border-radius:8px;background:#f2f7fa;font-size:10.5px}.employee-v373-footer{display:flex;justify-content:flex-end;padding:10px 16px;border-top:1px solid #e3e9ee;background:#fafcfd}.employee-v373-timeline{display:grid;gap:6px;margin-top:10px}.employee-v373-timeline-row{display:grid;grid-template-columns:120px 1fr;gap:10px;padding:8px 10px;border:1px solid #e5ebef;border-radius:8px;background:#fff;font-size:10.5px}.employee-v373-contract-list{display:grid;gap:6px}.employee-v373-contract-list>*{border-radius:8px!important;box-shadow:none!important}.employee-account-section{margin-top:4px;border:1px solid #e0e7ec;border-radius:10px;background:#fbfcfd;overflow:hidden}.employee-account-head{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;border-bottom:1px solid #e5ebef}.employee-account-heading .section-kicker{display:none}.employee-account-heading h4{margin:0;font-size:12.5px;color:#193d57}.employee-account-status{padding:2px 7px;border-radius:999px;font-size:10px;font-weight:900;background:#f1f3f5;color:#69747e}.employee-account-status.is-active{background:#eaf7ef;color:#17643d}.employee-account-access-mode,.employee-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:10px 11px}.employee-account-fields{border-top:1px solid #e8edf1}.employee-account-options{display:flex;gap:8px;flex-wrap:wrap;padding:0 11px 10px}.employee-account-check{display:flex;gap:7px;align-items:center;padding:7px 9px;border:1px solid #e0e7ec;border-radius:8px;background:#fff}.employee-account-check small{display:none}.employee-account-section footer{display:flex;gap:18px;padding:8px 11px;border-top:1px solid #e5ebef;font-size:10px;color:#70818e}.employee-account-section footer b{margin-left:4px;color:#324f63}.employee-account-warning{margin:0 11px 10px;padding:7px 9px;border-radius:7px;background:#fff6df;color:#765600;font-size:10.5px}.employee-password-reset-box{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid #e3e9ee;border-radius:8px;background:#fff}.employee-password-reset-box small{display:none}.employee-password-row{display:flex;gap:6px}.employee-v373-form.is-readonly .employee-v373-footer{display:none}@media(max-width:760px){.employee-v373-page{padding-inline:4px}.employee-v373-header{align-items:flex-start}.employee-v373-data-grid,.employee-account-access-mode,.employee-account-grid{grid-template-columns:1fr}.employee-v373-tabs{padding:0 4px}.employee-v373-tabs button{padding-inline:9px}.employee-v373-panels{padding:12px 10px}.employee-v373-facts{grid-template-columns:1fr}.employee-v373-facts article{border-inline-end:0;border-bottom:1px solid #e8edf1}.employee-v373-timeline-row{grid-template-columns:1fr}}

/* ===== SOURCE: tiam-v377-role-ui-hardening.css | sha256:479adcd7a72b025b6c3336591c3e0c365002677c944c68820e485017a8463b76 ===== */
/* TIAM v377 — role navigation + UI hardening. Loaded last on purpose. */

/* Security/permission visibility must always beat later visual design selectors. */
html body #app-shell>.sidebar #main-nav [hidden],
html body #app-shell>.sidebar #main-nav .permission-hidden,
html body #app-shell>.sidebar #main-nav [aria-hidden="true"],
html body #app-shell>.sidebar #main-nav [data-role-nav-visible="0"]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
html body #app-shell>.sidebar #main-nav .side-nav-group[hidden],
html body #app-shell>.sidebar #main-nav .side-nav-group.permission-hidden{
  display:none!important;
}

/* Global tools: flat overlay, no browser-compositing blur halo. */
.tiam-global-tools-backdrop{
  background:rgba(7,27,43,.32)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.tiam-global-tools-drawer{box-shadow:14px 0 38px rgba(7,32,50,.17)!important}

/* The option name is enough; remove secondary helper copy to reduce noise. */
#tiam-global-tools-drawer .tiam-global-tool-item__copy small{display:none!important}
#tiam-global-tools-drawer .tiam-global-tool-item{min-height:48px!important;padding-block:6px!important}
#tiam-global-tools-drawer .tiam-global-tool-item__copy{gap:0!important}
#tiam-global-tools-drawer .tiam-global-tools-list{gap:5px!important}

/* Allocation button: disabled is neutral cursor; active is clearly clickable. */
body[data-page="lead-import"] .lead-v376-allocate-button:disabled{
  cursor:default!important;
  opacity:.5!important;
}
body[data-page="lead-import"] .lead-v376-allocate-button:not(:disabled){cursor:pointer!important}
body[data-page="lead-import"] .lead-v376-allocate-button[aria-busy="true"]{cursor:progress!important}

/* Contact archive — compact management strip. */
body[data-page="contact-archive"] .contact-archive-v377-summary{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  min-height:66px!important;
  margin:0 0 12px!important;
  overflow:hidden!important;
  border:1px solid #d9e4ea!important;
  border-radius:12px!important;
  background:#fff!important;
}
body[data-page="contact-archive"] .contact-archive-v377-summary article{
  min-width:0!important;
  min-height:66px!important;
  padding:8px 12px!important;
  display:grid!important;
  align-content:center!important;
  gap:2px!important;
  border-inline-start:1px solid #e5ecef!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[data-page="contact-archive"] .contact-archive-v377-summary article:first-child{border-inline-start:0!important}
body[data-page="contact-archive"] .contact-archive-v377-summary small{
  font-size:10.5px!important;font-weight:750!important;color:#6b7f8c!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
}
body[data-page="contact-archive"] .contact-archive-v377-summary b{font-size:17px!important;line-height:1.2!important;color:#123e61!important}
body[data-page="contact-archive"] .contact-archive-v377-summary span{font-size:9.8px!important;color:#8998a2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-page="contact-archive"] .contact-archive-v377-summary .is-secondary b{font-size:15px!important;color:#526f81!important}

body[data-page="contact-archive"] .contact-archive-v204-table-card>header{
  min-height:54px!important;align-items:center!important;padding:10px 14px!important
}
body[data-page="contact-archive"] .contact-archive-v204-table-card>header h2{margin:0!important;font-size:16px!important}
body[data-page="contact-archive"] .contact-archive-v377-table-count{font-size:10.5px!important;color:#718593!important;font-weight:750!important}
body[data-page="contact-archive"] .contact-archive-v204-table-wrap{padding:0 12px!important}
body[data-page="contact-archive"] .contact-archive-v204-table{min-width:760px!important;margin:0!important}
body[data-page="contact-archive"] .contact-archive-v204-table th{height:38px!important;padding:7px 9px!important;font-size:10.5px!important}
body[data-page="contact-archive"] .contact-archive-v204-table td{height:48px!important;padding:6px 9px!important;font-size:11px!important}
body[data-page="contact-archive"] .contact-archive-v377-contact,
body[data-page="contact-archive"] .contact-archive-v204-file,
body[data-page="contact-archive"] .contact-archive-v377-owner{display:grid!important;gap:1px!important;min-width:0!important}
body[data-page="contact-archive"] .contact-archive-v377-contact b,
body[data-page="contact-archive"] .contact-archive-v204-file b,
body[data-page="contact-archive"] .contact-archive-v377-owner b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body[data-page="contact-archive"] .contact-archive-v377-contact small,
body[data-page="contact-archive"] .contact-archive-v204-file small{font-size:10px!important;color:#8797a2!important}
body[data-page="contact-archive"] .contact-archive-v377-details{
  width:31px!important;height:31px!important;min-width:31px!important;padding:0!important;display:inline-grid!important;place-items:center!important;
  border:1px solid #d6e2e8!important;border-radius:8px!important;background:#fff!important;color:#315f7b!important;cursor:pointer!important
}
body[data-page="contact-archive"] .contact-archive-v377-details:hover{background:#f4f8fb!important;border-color:#bfd2de!important}
body[data-page="contact-archive"] .contact-archive-v377-details svg{width:15px!important;height:15px!important}
body[data-page="contact-archive"] .contact-archive-v204-pagination{
  min-height:50px!important;padding:7px 12px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:10px!important;border-top:1px solid #e5ebef!important;background:#fbfcfd!important
}
body[data-page="contact-archive"] .contact-archive-v377-page-size{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important}
body[data-page="contact-archive"] .contact-archive-v377-page-size label{margin:0!important;font-size:10.5px!important;white-space:nowrap!important}
body[data-page="contact-archive"] .contact-archive-v377-page-size select{width:72px!important;height:34px!important;min-height:34px!important}
body[data-page="contact-archive"] .contact-archive-v377-page-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important}
body[data-page="contact-archive"] .contact-archive-v377-page-nav span{min-width:150px!important;text-align:center!important;font-size:10.5px!important;color:#6f8290!important}
body[data-page="contact-archive"] .contact-archive-v377-page-nav .btn{height:34px!important;min-height:34px!important;padding-inline:10px!important}

@media(max-width:1000px){
  body[data-page="contact-archive"] .contact-archive-v377-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body[data-page="contact-archive"] .contact-archive-v204-pagination{grid-template-columns:1fr!important;justify-items:stretch!important}
  body[data-page="contact-archive"] .contact-archive-v377-page-size{justify-content:center!important}
}
@media(max-width:600px){
  body[data-page="contact-archive"] .contact-archive-v377-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:768px){
  body[data-page="contact-archive"] .contact-archive-v204-table td:nth-child(5){grid-column:1/-1!important}
}

/* ===== SOURCE: tiam-overlay-hardening-v379.css | sha256:a00ed8dd89e0c2dd2a4667523caf669380f045912caa20e484a22c200d83f745 ===== */
/* TIAM v379 — Overlay Backdrop Root Hardening
   Full-screen dimming layers are structural surfaces, not UI controls.
   This neutralizes the global button pill contract when legacy overlays use <button>. */
:where(
  button.tiam-global-tools-backdrop,
  button.v367-action-backdrop,
  button.tiam-mobile-more-backdrop
){
  appearance:none!important;
  -webkit-appearance:none!important;
  min-width:0!important;
  min-height:0!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  gap:0!important;
  transform:none!important;
  filter:none!important;
}
.tiam-global-tools-backdrop{
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
}

/* ===== SOURCE: tiam-v380-workspace-redesign.css | sha256:a0a71abd476cec986b15e4cd7fb69cacd954722958ef8b867ab2564bbbddc33f ===== */
/* TIAM v380 — hierarchy, density, overlay and operational workspace hardening */
:root{--v380-canvas:#eef2f4;--v380-surface:#fff;--v380-soft:#f5f7f8;--v380-line:#d5dee4;--v380-navy:#0d3555;--v380-text:#173047;--v380-muted:#687d8e;--v380-amber:#9b6a17;--v380-blue:#25658e;--v380-green:#267054;--v380-red:#a44444}
/* Permission barrier: source-order proof. */
:is(#main-nav,#tiam-bottom-dock) :is([hidden],[aria-hidden="true"],.permission-hidden,[data-role-nav-visible="0"]){display:none!important;visibility:hidden!important;pointer-events:none!important}
/* Structural overlays are flat rectangles, never pill controls. */
:where(.modal-backdrop,.tiam-global-tools-backdrop,.v367-action-backdrop,.so-v282-backdrop,.it-v282-overlay,.cc-v282-overlay,.customer-call-overlay,[class*="drawer-backdrop"]){border-radius:0!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.modal-backdrop{background:rgba(8,24,38,.42)!important}
/* Fewer decorative sentences. */
body:not(.auth-active) :is(.section-kicker,.sm148-section-head p,.sm148-workspace-title p,.credit-v368-fund>header .section-kicker){display:none!important}
/* Sales cart hierarchy */
.v380-sales-head{min-height:62px!important;padding:10px 14px!important;background:#fff!important;border:1px solid var(--v380-line)!important;box-shadow:none!important;border-radius:12px!important}
.v380-sales-head .sm148-workspace-title>span{width:34px!important;height:34px!important;border-radius:9px!important;background:#edf3f6!important;color:var(--v380-navy)!important}
.v380-sales-head .sm148-workspace-title h2{font-size:16px!important;color:var(--v380-navy)!important}
.v380-sales-head .sm148-workspace-meta{gap:16px!important}.v380-sales-head .sm148-workspace-meta>div{padding:0!important;border:0!important;background:transparent!important}.v380-sales-head .sm148-workspace-meta small{font-size:10px!important}.v380-sales-head .sm148-workspace-meta b{font-size:11.5px!important}
.v380-subpage-head{min-height:48px!important;padding:7px 2px!important;margin-bottom:8px!important;border-bottom:1px solid var(--v380-line)!important;background:transparent!important}
.v380-subpage-title{display:flex;align-items:center;gap:10px}.v380-subpage-title h2{margin:0!important;font-size:16px!important}.v380-sales-back{height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 10px;border:1px solid #c9d7df;border-radius:9px;background:#fff;color:var(--v380-navy);font:inherit;font-size:11px;font-weight:800;cursor:pointer}.v380-sales-back svg{width:15px;height:15px}
.sm148-empty{min-height:120px!important;border:1px dashed var(--v380-line)!important;border-radius:10px!important;background:var(--v380-soft)!important}.sm148-empty svg{display:none!important}
.sm148-kpi-grid{gap:8px!important}.sm148-kpi{min-height:72px!important;border-radius:10px!important;box-shadow:none!important;background:#fff!important;border-color:var(--v380-line)!important}.sm148-kpi>span{width:34px!important;height:34px!important;border-radius:8px!important}.sm148-kpi em{display:none!important}
.sm148-panel,.sm148-request-card,.sm240-section{border-radius:10px!important;box-shadow:none!important}
.sm148-request-card{padding:10px!important}.sm148-request-metrics{gap:0!important;border-top:1px solid var(--v380-line);border-bottom:1px solid var(--v380-line)}.sm148-request-metrics>div{background:transparent!important;border:0!important;border-inline-start:1px solid #e6ecef!important;border-radius:0!important;padding:7px!important}
/* Credit: distinct layers instead of one white block */
body[data-page="credit-assessment"] .credit-v380-fund{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;display:grid;gap:10px}
.credit-v380-fund-head{min-height:48px;margin:0!important;padding:8px 12px;border:1px solid var(--v380-line);border-radius:10px;background:#e8eef2!important}.credit-v380-fund-head h3{margin:0!important;font-size:14px!important}
.credit-v380-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--v380-line);border-radius:10px;overflow:hidden;background:#fff}.credit-v380-metrics>div{min-height:70px;padding:10px 12px;display:grid;align-content:center;gap:3px;border-inline-start:1px solid #e2e8ec}.credit-v380-metrics>div:first-child{border-inline-start:0}.credit-v380-metrics small{font-size:10.5px;color:var(--v380-muted)}.credit-v380-metrics b{font-size:14px;color:var(--v380-text)}.credit-v380-metrics em{font-style:normal;font-size:10px;color:var(--v380-muted)}
.credit-v380-active-request{border:1px solid #c9d8e3;border-inline-start:4px solid var(--v380-blue);border-radius:9px;background:#fff}.credit-v380-active-request header{display:flex;align-items:center;justify-content:space-between;padding:8px 11px;border-bottom:1px solid #e6ecef}.credit-v380-active-request h4{margin:0;font-size:12px}.credit-v380-active-request>div{display:flex;align-items:center;gap:12px;padding:8px 11px}.credit-v380-active-request>div b{font-size:12px}.credit-v380-active-request>div .btn{margin-inline-start:auto}.credit-v380-status{font-size:10.5px;padding:3px 7px;border-radius:7px;background:#fff4dd;color:#805a12}
.credit-v380-low{padding:8px 10px;border:1px solid #e4c98f;border-radius:8px;background:#fff9ec;color:#765714;font-size:11px}
.credit-v380-recent{border:1px solid var(--v380-line);border-radius:10px;background:#fff;overflow:hidden}.credit-v380-recent>header{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;background:#f5f7f8;border-bottom:1px solid var(--v380-line)}.credit-v380-recent h4{margin:0;font-size:12px}.credit-v380-recent header button{border:0;background:transparent;color:var(--v380-blue);font:inherit;font-size:10.5px;font-weight:800;cursor:pointer}.credit-v380-request-row{width:100%;display:grid;grid-template-columns:150px 1fr 180px;gap:10px;align-items:center;min-height:42px;padding:6px 11px;border:0;border-bottom:1px solid #e8edf0;background:#fff;text-align:right;color:var(--v380-text);cursor:pointer}.credit-v380-request-row:last-child{border-bottom:0}.credit-v380-request-row:hover{background:#f7f9fa}.credit-v380-request-row span,.credit-v380-request-row b,.credit-v380-request-row em{font-size:11px}.credit-v380-request-row em{font-style:normal;color:var(--v380-amber)}
/* Notification popover: flat, readable rows */
.so-v282-popover.v380-notifications{height:min(560px,calc(100vh - 70px))!important;border-radius:14px!important;background:#fff!important;box-shadow:0 18px 45px rgba(13,37,60,.22)!important;grid-template-rows:56px 38px minmax(0,1fr) auto!important}.v380-notifications .so-v282-head{grid-template-columns:1fr auto auto 34px!important;padding:8px 11px!important;border-bottom:1px solid var(--v380-line)!important}.v380-notifications .so-v282-unread{border-radius:7px!important;padding:4px 7px!important}.so-v282-read-all{border:0;background:transparent;color:var(--v380-blue);font:inherit;font-size:10.5px;font-weight:800;cursor:pointer}.v380-notifications .so-v282-tabs{display:flex!important;gap:4px!important;padding:4px 10px!important;border-bottom:1px solid var(--v380-line)!important}.v380-notifications .so-v282-tabs button{height:28px;padding:0 10px;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important}.v380-notifications .so-v282-tabs button.active{background:#edf2f5!important;color:var(--v380-navy)!important}.v380-notifications .so-v282-list{padding:5px 9px!important}.v380-notifications .so-v282-group-title{position:static!important;margin:5px 0 3px!important;padding:3px 2px!important;background:transparent!important;font-size:10px!important}.v380-notifications .so-v282-item{margin:0!important;border:0!important;border-bottom:1px solid #e4e9ec!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}.v380-notifications .so-v282-item::before{display:none!important}.v380-notifications .so-v282-item.is-unread{background:#f7fafc!important}.v380-notifications .so-v282-main{display:block!important;padding:9px 7px!important}.v380-notifications .so-v282-copy strong{font-size:12px!important}.v380-notifications .so-v282-copy p{margin:2px 0!important;font-size:11px!important;line-height:1.55!important;-webkit-line-clamp:2}.v380-notifications .so-v282-copy footer{justify-content:flex-end!important}.v380-notifications .so-v282-footer{justify-content:center!important;padding:5px!important}
/* Action centre: operational rows, not cards */
.tiam-action-center-v367{grid-template-columns:1fr min(560px,92vw)!important}.v367-action-drawer{background:#f2f5f7!important}.v367-action-drawer>header{min-height:58px;padding:11px 14px!important;background:var(--v380-navy)!important;align-items:center!important}.v367-action-drawer h2{margin:0!important;font-size:16px!important}.v367-action-toolbar{padding:7px 10px!important;background:#fff!important}.v367-action-toolbar nav{gap:4px!important}.v367-action-toolbar nav button{border:0!important;border-radius:7px!important;padding:7px 9px!important;background:transparent!important}.v367-action-toolbar nav button.active{background:#e8eef2!important;color:var(--v380-navy)!important}.v367-action-card{min-height:64px!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:10px!important;padding:9px 10px!important;border:0!important;border-bottom:1px solid #dde4e8!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;cursor:pointer}.v367-action-card:hover{background:#f7f9fa!important;transform:none!important}.v367-action-card.is-overdue{border-inline-start:3px solid var(--v380-red)!important}.v367-action-card.is-urgent{border-inline-start:3px solid #c69030!important}.v367-action-copy{display:grid;gap:2px!important}.v367-action-copy strong{font-size:12px!important}.v367-action-copy p{margin:0!important;font-size:11px!important;color:var(--v380-muted)!important}.v367-sla{border-radius:7px!important;background:#f1f3f5!important;font-size:10px!important}.v367-sla.is-overdue{background:#fff0f0!important}.v367-action-open{min-width:54px;height:30px;border:1px solid #c8d5de!important;border-radius:8px!important;background:#fff!important;color:var(--v380-navy)!important;font:inherit;font-size:10.5px;font-weight:800}.v367-empty{min-height:110px!important;border-radius:9px!important;box-shadow:none!important}
/* Global tools compact and text-light */
.tiam-global-tools-head{min-height:62px!important;grid-template-columns:36px minmax(0,1fr) 36px!important;padding:9px 12px!important}.tiam-global-tools-head__icon{width:36px!important;height:36px!important}.tiam-global-tools-head__copy p{display:none!important}.tiam-global-tool-item{min-height:45px!important;padding:5px 7px!important;border-radius:9px!important}
/* Tickets: two clear columns, flatter form */
.it-v282-modal{border-radius:14px!important;background:#f1f4f6!important}.it-v282-head{min-height:56px!important;padding:9px 12px!important}.it-v282-head small:empty{display:none!important}.it-v282-workspace{grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr)!important;gap:8px!important;padding:8px!important}.it-v282-sidebar,.it-v282-detail{border-radius:10px!important;box-shadow:none!important;background:#fff!important}.it-v282-sidebar .it-ticket-row{border-radius:7px!important;box-shadow:none!important}.it-v282-detail .it-form.v380-ticket-form{grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr)!important;gap:8px!important}.v380-ticket-form .it-form-section{border-radius:9px!important;background:#f8fafb!important;box-shadow:none!important}.v380-ticket-form .it-form-section h3{font-size:12px!important}.v380-ticket-form .it-form-actions{border-top:1px solid var(--v380-line);padding-top:8px!important}.it-v282-empty-state span{display:none!important}
/* General hierarchy: avoid white-on-white ambiguity */
body:not(.auth-active) #page-content{background:var(--v380-canvas)!important}.card,.panel,.section-card{box-shadow:none!important}.summary-strip,.summary-bar,.summary-grid,.kpi-strip{border-color:var(--v380-line)!important}
@media(max-width:900px){.credit-v380-metrics{grid-template-columns:repeat(2,1fr)}.credit-v380-request-row{grid-template-columns:1fr auto}.credit-v380-request-row em{grid-column:1/-1}.it-v282-workspace{grid-template-columns:1fr!important}.it-v282-sidebar{max-height:42vh}.it-v282-detail .it-form.v380-ticket-form{grid-template-columns:1fr!important}}

/* Sales operational tables: dense rows, clear hierarchy, no explanatory prose. */
.sm148-panel>header p,.sm148-expert-workbench>header p,.sm148-supervisor-workbench>header p{display:none!important}
.sm148-contact-table-wrap{border:1px solid var(--v380-line)!important;border-radius:10px!important;overflow:auto!important;background:#fff!important}
.sm148-contact-table{border-spacing:0!important}.sm148-contact-table th{height:34px!important;padding:6px 9px!important;font-size:10.5px!important}.sm148-contact-table td{height:48px!important;padding:6px 9px!important;font-size:11px!important;background:#fff!important}.sm148-contact-table tbody tr:nth-child(even)>td{background:#f8fafb!important}.sm148-contact-table tbody tr:hover>td{background:#eef4f7!important}.sm148-contact-status{min-height:32px!important;height:32px!important;border-radius:8px!important;background:#fff!important}.sm148-case-link{border-radius:8px!important;box-shadow:none!important;padding:4px 7px!important}.sm148-row-actions{gap:5px!important}.sm148-icon-action{width:31px!important;height:31px!important;min-width:31px!important;border-radius:8px!important;box-shadow:none!important}
/* Archive/list pages are lists, not pill cards. */
body[data-page="contact-archive"] :is(.contact-archive-v204-table,.contact-archive-table) tbody tr>td{border-radius:0!important;box-shadow:none!important}

/* ===== SOURCE: tiam-v381-completion.css | sha256:fa9a72894759b7a5469b1741f9309430b34bd5e707fc8e62f7e1859f20275b3b ===== */
/* TIAM v381 — completion pass after full v380 recheck.
   Goal: compact, operational, clearly separated surfaces; permission/overlay rules stay fail-closed. */
:root{
  --v381-ink:#12324a;
  --v381-muted:#617587;
  --v381-line:#d7e1e8;
  --v381-canvas:#eef2f4;
  --v381-surface:#ffffff;
  --v381-soft:#f7f9fa;
  --v381-blue-soft:#edf4f8;
  --v381-amber-soft:#fff6e7;
  --v381-green-soft:#eef7f2;
  --v381-red-soft:#fff1f1;
}

/* Permission is behavioral state, never a visual preference. */
#main-nav [hidden],#main-nav .permission-hidden,#main-nav [data-role-nav-visible="0"],
#tiam-bottom-dock [hidden],#tiam-bottom-dock .permission-hidden,#tiam-bottom-dock [data-role-nav-visible="0"]{
  display:none!important;visibility:hidden!important;pointer-events:none!important;
}

/* Backdrops are structural flat layers — never capsule buttons/shadows. */
:is(.tiam-global-tools-backdrop,.v367-action-backdrop,.tiam-mobile-more-backdrop,.so-v282-backdrop,.it-v282-overlay,
.modal-backdrop,.so-drawer-backdrop,.audit-drawer-backdrop,.attendance-v110-drawer-backdrop,.rec-drawer-backdrop,
.rec-upload-drawer-backdrop,.rec-technical-drawer-backdrop,.brokerage-filter-backdrop){
  border:0!important;border-radius:0!important;box-shadow:none!important;background:rgba(8,27,42,.30)!important;background-image:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}

/* ---------------- Sales workspace ---------------- */
body[data-page="sales-operations"] .v381-sales-head{
  min-height:62px!important;padding:10px 14px!important;margin-bottom:10px!important;border:1px solid var(--v381-line)!important;
  border-radius:11px!important;background:#fff!important;box-shadow:none!important;color:var(--v381-ink)!important;
}
body[data-page="sales-operations"] .v381-sales-head .sm148-workspace-title>span{
  width:34px!important;height:34px!important;border-radius:8px!important;background:var(--v381-blue-soft)!important;color:#315f7d!important;
}
body[data-page="sales-operations"] .v381-sales-head h2{font-size:16px!important;color:var(--v381-ink)!important;margin:0!important}
body[data-page="sales-operations"] .v381-sales-role{font-size:10.5px!important;color:var(--v381-muted)!important;margin-top:1px!important}
body[data-page="sales-operations"] .v381-sales-head .sm148-workspace-meta{gap:14px!important}
body[data-page="sales-operations"] .v381-sales-head .sm148-workspace-meta>div{padding:0!important;border:0!important;background:transparent!important}
body[data-page="sales-operations"] .v381-sales-head .sm148-workspace-meta small{font-size:10px!important;color:var(--v381-muted)!important}
body[data-page="sales-operations"] .v381-sales-head .sm148-workspace-meta b{font-size:11.5px!important;color:var(--v381-ink)!important}
body[data-page="sales-operations"] .v380-subpage-head{
  min-height:46px!important;padding:7px 9px!important;margin:0 0 9px!important;border:1px solid var(--v381-line)!important;
  border-radius:10px!important;background:#f8fafb!important;box-shadow:none!important;
}
body[data-page="sales-operations"] .v380-subpage-title{display:flex!important;align-items:center!important;gap:9px!important}
body[data-page="sales-operations"] .v380-subpage-title h2{font-size:14px!important;margin:0!important;color:var(--v381-ink)!important}
body[data-page="sales-operations"] .v380-sales-back{
  min-height:32px!important;height:32px!important;padding:0 9px!important;border:1px solid #c8d7e2!important;border-radius:8px!important;
  background:#fff!important;color:#204f6f!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;gap:5px!important;
}
body[data-page="sales-operations"] .v380-sales-back svg{width:15px!important;height:15px!important}
body[data-page="sales-operations"] :is(.sm148-panel,.sm240-section,.sm148-expert-workbench,.sm148-supervisor-workbench){
  border-radius:10px!important;box-shadow:none!important;border-color:var(--v381-line)!important;background:#fff!important;
}
body[data-page="sales-operations"] :is(.sm148-table,.sm240-table) tbody tr{height:44px!important;min-height:44px!important}
body[data-page="sales-operations"] :is(.sm148-table,.sm240-table) tbody td{padding-block:5px!important;font-size:11.5px!important}
body[data-page="sales-operations"] :is(.sm148-table,.sm240-table) tbody tr:nth-child(even){background:#f8fafb!important}
body[data-page="sales-operations"] :is(.sm148-table,.sm240-table) small{font-size:9.8px!important;color:var(--v381-muted)!important}
body[data-page="sales-operations"] .sm148-empty{min-height:78px!important;padding:14px!important;border-radius:9px!important;background:#fafbfc!important}
body[data-page="sales-operations"] .sm148-empty svg{width:18px!important;height:18px!important}
body[data-page="sales-operations"] .sm148-empty span{font-size:11px!important}
body[data-page="sales-operations"] .sm148-kpi-grid{gap:7px!important}
body[data-page="sales-operations"] .sm148-kpi{min-height:70px!important;padding:9px 10px!important;border-radius:10px!important;box-shadow:none!important}
body[data-page="sales-operations"] .sm148-kpi>span{width:31px!important;height:31px!important;border-radius:8px!important}
body[data-page="sales-operations"] .sm148-kpi small{font-size:10px!important}
body[data-page="sales-operations"] .sm148-kpi b{font-size:16px!important}

/* ---------------- Internal tickets: exactly two main panes ---------------- */
.it-v282-modal{background:var(--v381-canvas)!important}
.it-v282-workspace{grid-template-columns:minmax(300px,.68fr) minmax(0,1.32fr)!important;gap:8px!important;padding:8px!important}
.it-v282-sidebar,.it-v282-detail{border:1px solid var(--v381-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
.it-v282-detail .it-form.v381-ticket-form{
  height:100%!important;min-height:0!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;
  gap:8px!important;overflow:auto!important;padding:2px!important;
}
.v381-ticket-main{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;align-content:start!important;min-width:0!important}
.v381-ticket-customer,.v381-ticket-fields{
  border:1px solid var(--v381-line)!important;border-radius:9px!important;background:#f8fafb!important;padding:10px!important;box-shadow:none!important;
}
.v381-ticket-field-title{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:7px!important;color:var(--v381-ink)!important}
.v381-ticket-field-title b{font-size:12px!important}
.v381-ticket-text-action{border:0!important;background:transparent!important;color:#245f84!important;padding:2px 4px!important;font-size:10.5px!important;min-height:0!important;height:auto!important;box-shadow:none!important}
.v381-ticket-search{height:38px!important;border-radius:8px!important;background:#fff!important;border:1px solid #ccd9e2!important}
.v381-ticket-search input{min-height:34px!important;height:34px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.v381-ticket-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.v381-ticket-fields>label,.v381-ticket-fields>[data-it-target-panel] label{display:grid!important;gap:4px!important;font-size:11px!important;color:#36566d!important;font-weight:750!important}
.v381-ticket-fields .is-wide{grid-column:1/-1!important}
.v381-ticket-fields :is(input,select,textarea){width:100%!important;min-height:38px!important;border:1px solid #cbd8e1!important;border-radius:8px!important;background:#fff!important;padding:7px 9px!important;box-shadow:none!important}
.v381-ticket-fields textarea{min-height:82px!important;resize:vertical!important}
.v381-ticket-form .it-form-actions{grid-column:1!important;display:flex!important;justify-content:flex-end!important;gap:6px!important;border-top:1px solid var(--v381-line)!important;padding-top:8px!important}
.it-v282-sidebar .it-ticket-row{min-height:58px!important;border-radius:7px!important;box-shadow:none!important}
.it-v282-sidebar :is(.it-loading,.it-empty,.it-error){min-height:88px!important;border-radius:8px!important;background:#fafbfc!important}

/* ---------------- Credit/fund hierarchy ---------------- */
body[data-page="credit-assessment"] .credit-v118-summary-grid{gap:8px!important}
body[data-page="credit-assessment"] .credit-v118-summary-card.v381-credit-kpi{
  min-height:76px!important;border-radius:10px!important;box-shadow:none!important;padding:10px 12px!important;
  display:grid!important;grid-template-columns:34px 1fr!important;align-items:center!important;gap:9px!important;overflow:hidden!important;
}
body[data-page="credit-assessment"] .credit-v118-summary-pending{background:var(--v381-amber-soft)!important;border-color:#ead4a9!important}
body[data-page="credit-assessment"] .credit-v118-summary-progress{background:var(--v381-blue-soft)!important;border-color:#c8dbe7!important}
body[data-page="credit-assessment"] .credit-v118-summary-archive{background:#f3f5f6!important;border-color:#d8e0e5!important}
body[data-page="credit-assessment"] .credit-v118-summary-wallet{background:var(--v381-green-soft)!important;border-color:#cfe1d7!important}
body[data-page="credit-assessment"] .v381-credit-kpi-icon{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:8px!important;background:rgba(255,255,255,.72)!important;color:#315d78!important}
body[data-page="credit-assessment"] .v381-credit-kpi-icon svg{width:17px!important;height:17px!important}
body[data-page="credit-assessment"] .v381-credit-kpi :is(.credit-v118-orb-ring,.credit-v118-orb-glow,.credit-v118-summary-chevron){display:none!important}
body[data-page="credit-assessment"] .credit-v380-fund{display:grid!important;gap:10px!important;margin-top:10px!important}
body[data-page="credit-assessment"] .credit-v380-fund-head{
  min-height:50px!important;padding:8px 11px!important;border:1px solid #c7d7e2!important;border-radius:10px!important;background:#e5edf2!important;
}
body[data-page="credit-assessment"] .credit-v380-metrics{background:#f4f6f7!important;border-color:#d4dee5!important;border-radius:10px!important}
body[data-page="credit-assessment"] .credit-v380-metrics>div{min-height:66px!important;background:#fff!important}
body[data-page="credit-assessment"] .credit-v380-active-request{
  border:1px solid #bcd2e0!important;border-inline-start:4px solid #2d6e95!important;border-radius:10px!important;background:#edf5fa!important;box-shadow:none!important;
}
body[data-page="credit-assessment"] .credit-v380-active-request header{background:rgba(255,255,255,.58)!important}
.credit-v380-status,.credit-v381-status{display:inline-flex!important;align-items:center!important;width:max-content!important;border-radius:6px!important;padding:3px 7px!important;font-style:normal!important;font-size:10px!important;font-weight:800!important}
:is(.credit-v380-status,.credit-v381-status).is-pending{background:#fff0cf!important;color:#765414!important}
:is(.credit-v380-status,.credit-v381-status).is-progress{background:#e4f1f8!important;color:#245e80!important}
:is(.credit-v380-status,.credit-v381-status).is-returned{background:#fff3df!important;color:#885f1a!important}
:is(.credit-v380-status,.credit-v381-status).is-done{background:#e9f5ee!important;color:#2b6848!important}
:is(.credit-v380-status,.credit-v381-status).is-rejected{background:#fdeaea!important;color:#943e3e!important}
body[data-page="credit-assessment"] .credit-v380-recent{border-radius:10px!important;border-color:#d3dde4!important;box-shadow:none!important}
body[data-page="credit-assessment"] .credit-v380-recent>header{background:#e9edef!important;padding:8px 10px!important}
body[data-page="credit-assessment"] .credit-v380-request-row{min-height:40px!important;background:#fff!important}
body[data-page="credit-assessment"] .credit-v380-request-row:nth-child(even){background:#f8fafb!important}

/* ---------------- Notifications / actions ---------------- */
.so-v282-popover.v380-notifications{border-radius:12px!important;background:#f4f6f7!important;box-shadow:0 14px 36px rgba(16,44,65,.18)!important}
.v380-notifications .so-v282-head{min-height:52px!important;padding:8px 10px!important;background:#fff!important;border-bottom:1px solid var(--v381-line)!important}
.v380-notifications .so-v282-head h3{font-size:14px!important}
.v380-notifications .so-v282-tabs{padding:6px 8px!important;background:#f4f6f7!important}
.v380-notifications .so-v282-tabs button{min-height:30px!important;border-radius:7px!important;box-shadow:none!important}
.v380-notifications .so-v282-list{padding:0 8px 8px!important;gap:0!important}
.v380-notifications .so-v282-item{min-height:64px!important;border:0!important;border-bottom:1px solid #e0e7eb!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;padding:8px 9px!important}
.v380-notifications .so-v282-item:last-child{border-bottom:0!important}
.v380-notifications .so-v282-item.is-unread{background:#f0f6fa!important;box-shadow:inset -3px 0 #2f7298!important}
.v380-notifications .so-v282-actions{display:none!important}
.v380-notifications .so-v282-read-all{border:0!important;background:transparent!important;box-shadow:none!important;color:#2b6282!important;font-size:10.5px!important}

.tiam-action-center-v367{background:transparent!important}
.v367-action-drawer{background:#f3f5f6!important;box-shadow:-12px 0 28px rgba(9,32,50,.17)!important}
.v367-action-drawer>header{min-height:58px!important;padding:11px 14px!important;background:#123a58!important}
.v367-action-drawer h2{font-size:16px!important;margin:0!important}
.v367-action-toolbar{padding:7px 9px!important;border-bottom:1px solid var(--v381-line)!important;box-shadow:none!important}
.v367-action-toolbar nav button{min-height:31px!important;padding:6px 8px!important;border-radius:7px!important;box-shadow:none!important}
.v367-action-refresh{width:32px!important;height:32px!important;min-width:32px!important;border:1px solid var(--v381-line)!important;border-radius:7px!important;background:#fff!important;color:#315d79!important;padding:0!important;display:grid!important;place-items:center!important}
.v367-action-refresh svg{width:16px!important;height:16px!important}
.v367-action-list{padding:8px!important;gap:0!important}
.v367-action-card{min-height:60px!important;border:0!important;border-bottom:1px solid #dde5ea!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;padding:8px 9px!important;grid-template-columns:32px 1fr 28px!important}
.v367-action-card:last-child{border-bottom:0!important}
.v367-action-icon{width:32px!important;height:32px!important;border-radius:7px!important}
.v367-action-card.is-overdue{border-inline-start:3px solid #b94343!important;background:#fff8f8!important}
.v367-action-card.is-urgent{border-inline-start:3px solid #c28a2a!important;background:#fffaf0!important}
.v367-empty,.v367-loading{min-height:90px!important;border-radius:8px!important;box-shadow:none!important}

/* ---------------- Global tools ---------------- */
.tiam-global-tools-head{min-height:64px!important;padding:10px 12px!important}
.tiam-global-tools-head__copy h2{font-size:14px!important}
.tiam-global-tools-body{padding:10px!important}
.tiam-global-tools-section{margin-bottom:10px!important}
.tiam-global-tool-item{min-height:46px!important;padding:6px 8px!important;border-radius:9px!important;box-shadow:none!important}
.tiam-global-tool-item__icon{width:32px!important;height:32px!important;border-radius:8px!important}
.tiam-global-tool-item__copy small{display:none!important}

@media(max-width:900px){
  .it-v282-workspace{grid-template-columns:1fr!important}.it-v282-sidebar{max-height:40vh!important}.v381-ticket-fields{grid-template-columns:1fr!important}.v381-ticket-fields .is-wide{grid-column:1!important}
  body[data-page="credit-assessment"] .credit-v380-metrics{grid-template-columns:repeat(2,1fr)!important}
  body[data-page="credit-assessment"] .credit-v380-request-row{grid-template-columns:1fr auto!important}.credit-v381-status{grid-column:1/-1!important}
}
body[data-page="sales-operations"] :is(.sm240-icon-action,.sm240-row-action):disabled{cursor:default!important}

/* ===== SOURCE: tiam-v382-notification-action.css | sha256:9125a64d82563e0b95b388f7fa5fb7dae1d1c36e96336c12ace4708e32966d58 ===== */
/* TIAM v382 — approved Notification + My Actions panels
   Visual contract: flat rows, clear hierarchy, no capsule cards, compact Persian RTL. */
:root{
  --v382-navy:#0d3152;
  --v382-ink:#0f2f4d;
  --v382-text:#51677c;
  --v382-muted:#7b8a98;
  --v382-line:#dce5eb;
  --v382-soft:#f6f8fa;
  --v382-blue:#2f80ed;
  --v382-orange:#f5a11a;
  --v382-red:#c44747;
}

/* ---------- Notifications ---------- */
#so-notification-popover-v282{direction:rtl!important}
#so-notification-popover-v282 .so-v282-backdrop{
  border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:rgba(10,29,45,.16)!important;
}
.so-v282-popover.v382-notifications{
  width:min(520px,calc(100vw - 24px))!important;
  height:min(600px,calc(100vh - 24px))!important;
  grid-template-rows:72px 55px minmax(0,1fr) 54px!important;
  border:1px solid #cbd7df!important;border-radius:18px!important;
  background:#fff!important;color:var(--v382-ink)!important;
  box-shadow:0 16px 42px rgba(12,38,58,.20)!important;
  overflow:hidden!important;
}
.v382-notifications .so-v282-head{
  min-height:72px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  background:#fff;border:0!important;border-bottom:1px solid var(--v382-line)!important;
}
.v382-notifications .so-v382-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.v382-notifications .so-v382-title h3{margin:0!important;font-size:19px!important;font-weight:900;line-height:1.2!important;color:var(--v382-ink)}
.v382-notifications .so-v382-bell{width:24px!important;height:24px!important;fill:none!important;stroke:var(--v382-navy)!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.v382-notifications .so-v282-close{
  order:2!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;display:grid!important;place-items:center!important;
  border:0!important;border-radius:11px!important;background:var(--v382-navy)!important;color:#fff!important;box-shadow:0 7px 16px rgba(9,42,70,.16)!important;
}
.v382-notifications .so-v282-close svg{width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important}
.v382-notifications .so-v382-filterbar{
  min-height:55px!important;display:flex!important;align-items:stretch!important;justify-content:space-between!important;gap:10px!important;padding:0 14px!important;
  background:#fff!important;border-bottom:1px solid var(--v382-line)!important;
}
.v382-notifications .so-v282-tabs{
  flex:0 1 250px!important;display:flex!important;align-items:stretch!important;gap:18px!important;padding:0!important;border:0!important;background:transparent!important;
}
.v382-notifications .so-v282-tabs button{
  position:relative!important;min-width:76px!important;height:54px!important;padding:0 6px!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:#758493;box-shadow:none!important;font-size:12px!important;font-weight:800;
}
.v382-notifications .so-v282-tabs button.active{color:var(--v382-ink);background:transparent!important;box-shadow:none!important}
.v382-notifications .so-v282-tabs button.active::after{
  content:"";position:absolute;right:0;left:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--v382-navy);
}
.v382-notifications .so-v282-read-all{
  align-self:center!important;display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:32px!important;height:32px!important;padding:0 4px!important;
  border:0!important;border-radius:0!important;background:transparent!important;color:#165b94;box-shadow:none!important;font-size:11.5px!important;font-weight:800;white-space:nowrap!important;
}
.v382-notifications .so-v282-read-all svg{width:17px!important;height:17px!important;stroke:currentColor!important;fill:none!important}
.v382-notifications .so-v282-read-all[disabled]{opacity:.48!important;cursor:default!important}
.v382-notifications .so-v282-list{min-height:0!important;overflow:auto!important;padding:0!important;background:#fff!important;scrollbar-width:thin!important}
.v382-notifications .so-v382-group{margin:0!important;padding:0!important}
.v382-notifications .so-v282-group-title{
  position:static!important;margin:0!important;padding:12px 18px 8px!important;background:#fff;color:#6d7d8c;font-size:11.5px!important;font-weight:850;
}
.v382-notifications .so-v282-item{
  position:relative!important;margin:0!important;min-height:92px!important;padding:0!important;border:0!important;border-bottom:1px solid var(--v382-line)!important;
  border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:visible!important;
}
.v382-notifications .so-v282-item::before{display:none!important}
.v382-notifications .so-v282-item.is-unread{background:#fff;box-shadow:none}
.v382-notifications .so-v282-main{
  width:100%!important;min-height:92px!important;padding:14px 18px!important;display:grid!important;grid-template-columns:10px minmax(0,1fr) 92px!important;align-items:center!important;gap:11px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;text-align:right!important;cursor:pointer!important;
}
.v382-notifications .so-v382-notification-dot{width:8px!important;height:8px!important;border-radius:50%!important;background:var(--v382-blue)!important;align-self:start!important;margin-top:7px!important;box-shadow:none!important}
.v382-notifications .kind-warning .so-v382-notification-dot{background:var(--v382-orange)}
.v382-notifications .kind-money .so-v382-notification-dot{background:#38a169}
.v382-notifications .kind-refund .so-v382-notification-dot{background:var(--v382-red)}
.v382-notifications .kind-ticket .so-v382-notification-dot{background:#7459d9!important}
.v382-notifications .so-v282-copy{min-width:0!important;display:block!important}
.v382-notifications .so-v282-copy strong{display:block!important;margin:0!important;color:var(--v382-ink);font-size:13.5px;line-height:1.7!important;font-weight:900;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.v382-notifications .so-v282-copy p{display:block!important;margin:4px 0 0!important;color:var(--v382-text);font-size:11.5px;line-height:1.75!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.v382-notifications .so-v382-notification-meta{direction:rtl!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;color:#788795!important;white-space:nowrap!important}
.v382-notifications .so-v382-notification-meta time{font-size:10.5px!important;color:#788795}
.v382-notifications .so-v382-notification-meta svg{width:15px!important;height:15px!important;stroke:#536779!important;fill:none!important}
.v382-notifications .so-v382-panel-footer{
  min-height:54px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;
  border-top:1px solid var(--v382-line)!important;background:#fff!important;color:#165b94!important;
}
.v382-notifications .so-v382-panel-footer>span{display:inline-flex!important;align-items:center!important;gap:8px!important;font-size:11.5px!important;font-weight:800}
.v382-notifications .so-v382-panel-footer svg{width:19px!important;height:19px!important;stroke:currentColor!important;fill:none!important}
.v382-notifications .so-v382-panel-footer button{margin-inline-start:auto!important;border:0!important;background:transparent!important;color:#536d83!important;font-size:11px!important}
.v382-notifications .so-v282-empty{min-height:160px!important;height:auto!important;background:#fff!important;color:#718291!important}

/* ---------- My Actions ---------- */
.tiam-action-center-v367.v382-action-center{grid-template-columns:1fr min(600px,calc(100vw - 20px))!important;direction:rtl!important}
.v382-action-center .v367-action-backdrop{border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;background:rgba(10,29,45,.18)!important}
.v382-action-center .v367-action-drawer{
  align-self:center!important;height:calc(100% - 20px)!important;margin:10px 0 10px 10px!important;
  border:1px solid #cbd7df!important;border-radius:18px!important;background:#fff!important;color:var(--v382-ink)!important;
  box-shadow:-10px 0 36px rgba(12,38,58,.18)!important;overflow:hidden!important;
}
.v382-action-center .v367-action-drawer>header{
  min-height:72px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  background:#fff!important;color:var(--v382-ink)!important;border-bottom:1px solid var(--v382-line)!important;
}
.v382-action-center .v367-action-drawer h2{margin:0!important;font-size:19px!important;line-height:1.2!important;font-weight:900;color:var(--v382-ink)}
.v382-action-center .v367-action-close{
  width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;display:grid!important;place-items:center!important;
  border:0!important;border-radius:11px!important;background:var(--v382-navy)!important;color:#fff!important;box-shadow:0 7px 16px rgba(9,42,70,.16)!important;
}
.v382-action-center .v367-action-close svg{width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important}
.v382-action-center .v367-action-toolbar{
  min-height:55px!important;padding:0 14px!important;display:flex!important;flex-direction:row!important;align-items:stretch!important;justify-content:space-between!important;gap:10px!important;
  border-bottom:1px solid var(--v382-line)!important;background:#fff!important;box-shadow:none!important;
}
.v382-action-center .v367-action-toolbar nav{flex:1 1 auto!important;display:flex!important;align-items:stretch!important;gap:20px!important;overflow:visible!important}
.v382-action-center .v367-action-toolbar nav button{
  position:relative!important;min-width:80px!important;height:54px!important;padding:0 6px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#758493;
  box-shadow:none!important;font:800 12px/1 var(--tiam-font-family,var(--tiam-font),sans-serif)!important;white-space:nowrap!important;
}
.v382-action-center .v367-action-toolbar nav button.active{background:transparent!important;color:var(--v382-ink);border:0!important;box-shadow:none!important}
.v382-action-center .v367-action-toolbar nav button.active::after{content:"";position:absolute;right:0;left:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--v382-navy)}
.v382-action-center .v367-action-toolbar nav b{display:inline-grid!important;place-items:center!important;min-width:24px!important;height:24px!important;margin-inline-start:6px!important;padding:0 6px!important;border-radius:7px!important;background:#edf1f4;color:var(--v382-ink)!important;font-size:10.5px!important}
.v382-action-center .v367-action-refresh{display:none!important}
.v382-action-center .v367-action-branch{align-self:center!important;min-width:120px!important;height:34px!important;min-height:34px!important;border:1px solid var(--v382-line)!important;border-radius:7px!important;background:#fff!important;font-size:10.5px!important}
.v382-action-center .v367-action-list{flex:1 1 auto!important;min-height:0!important;padding:0!important;display:block!important;overflow:auto!important;background:#fff!important}
.v382-action-center .v382-action-group{margin:0!important;padding:0!important}
.v382-action-center .v382-action-group>h3{margin:0!important;padding:14px 18px 9px!important;border-bottom:1px solid var(--v382-line)!important;background:#fff;color:#53687b;font-size:12px!important;font-weight:900}
.v382-action-center .v367-action-card{
  width:100%!important;min-width:0!important;min-height:128px!important;margin:0!important;padding:18px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 155px!important;align-items:center!important;gap:18px!important;
  border:0!important;border-bottom:1px solid var(--v382-line)!important;border-radius:0!important;background:#fff;box-shadow:none!important;cursor:pointer!important;overflow:hidden!important;
}
.v382-action-center .v367-action-card:hover{background:#fbfcfd;border-color:var(--v382-line)!important;box-shadow:none!important;transform:none!important}
.v382-action-center .v367-action-card.is-overdue,.v382-action-center .v367-action-card.is-urgent{border-inline-start:0!important;background:#fff!important}
.v382-action-center .v382-action-content{min-width:0!important;display:grid!important;gap:5px!important;align-content:center!important}
.v382-action-center .v382-action-title{min-width:0!important;display:flex!important;align-items:center!important;gap:9px!important}
.v382-action-center .v382-action-dot{width:8px!important;height:8px!important;min-width:8px!important;border-radius:50%!important;background:var(--v382-orange)}
.v382-action-center .is-overdue .v382-action-dot{background:var(--v382-red)}
.v382-action-center .v382-action-title strong{min-width:0!important;color:var(--v382-ink);font-size:14px;line-height:1.7!important;font-weight:900;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.v382-action-center .v382-action-content>p{margin:0 17px 0 0!important;color:var(--v382-text);font-size:11.5px;line-height:1.75!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.v382-action-center .v382-action-category{margin:3px 17px 0 0!important;display:inline-flex!important;align-items:center!important;gap:6px!important;color:#687b8c;font-size:10.5px!important;font-weight:650}
.v382-action-center .v382-action-category svg{width:15px!important;height:15px!important;stroke:currentColor!important;fill:none!important}
.v382-action-center .v382-action-side{min-width:0!important;display:grid!important;justify-items:center!important;align-content:center!important;gap:11px!important}
.v382-action-center .v382-action-time{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#6f7f8e!important;font-size:10.5px!important;white-space:nowrap!important}
.v382-action-center .v382-action-time svg{width:16px!important;height:16px!important;stroke:currentColor!important;fill:none!important}
.v382-action-center .v367-action-open{
  width:112px!important;min-width:112px!important;height:38px!important;min-height:38px!important;padding:0 14px!important;border:1px solid #2f80ed!important;border-radius:8px!important;
  background:#fff!important;color:#155a96;box-shadow:none!important;font:850 11.5px/1 var(--tiam-font-family,var(--tiam-font),sans-serif)!important;
}
.v382-action-center .v367-action-open:hover{background:#f5f9fe!important}
.v382-action-center .v382-action-footer{
  flex:0 0 54px!important;min-height:54px!important;padding:0 16px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;border-top:1px solid var(--v382-line)!important;background:#fff!important;color:#165b94!important;
}
.v382-action-center .v382-action-footer span{display:inline-flex!important;align-items:center!important;gap:8px!important;font-size:11.5px!important;font-weight:800}
.v382-action-center .v382-action-footer svg{width:19px!important;height:19px!important;stroke:currentColor!important;fill:none!important}
.v382-action-center .v367-empty,.v382-action-center .v367-loading{min-height:160px!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}

@media(max-width:700px){
  .so-v282-popover.v382-notifications{width:calc(100vw - 12px)!important;height:calc(100vh - 12px)!important;border-radius:15px!important}
  .v382-notifications .so-v282-main{grid-template-columns:9px minmax(0,1fr) 78px!important;padding-inline:13px!important}
  .v382-notifications .so-v282-copy strong{font-size:12.5px}.v382-notifications .so-v282-copy p{font-size:10.8px}
  .v382-notifications .so-v382-filterbar{padding-inline:10px!important}.v382-notifications .so-v282-tabs{gap:7px!important;flex-basis:205px!important}
  .v382-notifications .so-v282-read-all span{display:none!important}

  .tiam-action-center-v367.v382-action-center{grid-template-columns:1fr!important}
  .v382-action-center .v367-action-backdrop,.v382-action-center .v367-action-drawer{grid-column:1!important}
  .v382-action-center .v367-action-drawer{width:calc(100% - 12px)!important;height:calc(100% - 12px)!important;margin:6px!important;border-radius:15px!important}
  .v382-action-center .v367-action-toolbar{flex-direction:row!important;align-items:stretch!important;padding-inline:10px!important}
  .v382-action-center .v367-action-toolbar nav{gap:5px!important}.v382-action-center .v367-action-toolbar nav button{min-width:0!important;flex:1 1 0!important;padding-inline:2px!important;font-size:11px!important}
  .v382-action-center .v367-action-branch{display:none!important}
  .v382-action-center .v367-action-card{grid-template-columns:minmax(0,1fr) 126px!important;gap:10px!important;padding:15px 13px!important;min-height:118px!important}
  .v382-action-center .v367-action-open{width:96px!important;min-width:96px!important;height:36px!important;min-height:36px!important}
  .v382-action-center .v382-action-title strong{font-size:12.5px}.v382-action-center .v382-action-content>p{font-size:10.8px}
}
@media(max-width:430px){
  .v382-action-center .v367-action-card{grid-template-columns:1fr!important;gap:10px!important}
  .v382-action-center .v382-action-side{display:flex!important;justify-content:space-between!important;justify-items:stretch!important}
  .v382-action-center .v367-action-open{width:92px!important}
}

/* ===== SOURCE: tiam-v384-password-field.css | sha256:e7f700e9199599083cb061c0943102cfac91c49496b6238c3e95ed0379a73c18 ===== */
/* TIAM v384 — password control visual fix
   Login password is a single control: no pill/circle around the eye icon. */
:root{
  --v384-password-h:42px;
  --v384-password-radius:10px;
  --v384-password-icon:18px;
}

/* Keep the login field visually one piece. */
.login-solid-field .login-solid-input-shell{
  box-sizing:border-box!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  height:var(--v384-password-h)!important;
  min-height:var(--v384-password-h)!important;
  overflow:hidden!important;
  border:1px solid #b9cbd8!important;
  border-radius:var(--v384-password-radius)!important;
  background:#fff!important;
  box-shadow:none!important;
  transition:border-color .15s ease,box-shadow .15s ease!important;
}
.login-solid-field .login-solid-input-shell:focus-within{
  border-color:#5c8eac!important;
  box-shadow:0 0 0 3px rgba(42,101,150,.10)!important;
}

/* Lock is an in-field affordance, not a separate control. */
.login-solid-field .login-solid-input-shell>svg{
  box-sizing:border-box!important;
  width:var(--v384-password-icon)!important;
  height:var(--v384-password-icon)!important;
  min-width:var(--v384-password-icon)!important;
  min-height:var(--v384-password-icon)!important;
  margin:0 11px!important;
  padding:0!important;
  flex:0 0 var(--v384-password-icon)!important;
  fill:none!important;
  stroke:#667f91!important;
  stroke-width:1.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.login-solid-field .login-solid-input-shell input{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:7px 2px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Explicitly defeat legacy global pill-button rules. */
.login-solid-field .login-solid-input-shell button#login-password-toggle.login-solid-password-toggle{
  appearance:none!important;
  -webkit-appearance:none!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#667f91!important;
  box-shadow:none!important;
  transform:none!important;
  outline:0!important;
  cursor:pointer!important;
}
.login-solid-field .login-solid-input-shell button#login-password-toggle.login-solid-password-toggle:hover{
  background:#f4f7f9!important;
  color:#244f6b!important;
}
.login-solid-field .login-solid-input-shell button#login-password-toggle.login-solid-password-toggle:focus-visible{
  background:#eef4f7!important;
  color:#174765!important;
  box-shadow:inset 0 0 0 2px rgba(42,101,150,.18)!important;
}
.login-solid-field .login-solid-input-shell button#login-password-toggle.login-solid-password-toggle svg{
  box-sizing:border-box!important;
  width:var(--v384-password-icon)!important;
  height:var(--v384-password-icon)!important;
  min-width:var(--v384-password-icon)!important;
  min-height:var(--v384-password-icon)!important;
  margin:0!important;
  padding:0!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Password inputs elsewhere inherit the same compact geometry, without changing their logic. */
.forced-password-form input[type="password"],
#modal input[type="password"],
#page-content input[type="password"]{
  min-height:42px!important;
  height:42px!important;
  border-radius:10px!important;
}

/* ===== SOURCE: tiam-v386-raw-ui-cleanup.css | sha256:784f5b000066e2f0db2dbf3ab4ec01686e86113f8ad20ed0c02678642f293861 ===== */
/* TIAM v386 — staged UI cleanup + raw-data delivery safeguards. */
body[data-page="sales-operations"] .sm386-inventory-section{
  padding:10px 12px!important;
}
body[data-page="sales-operations"] .sm386-inventory-section>header{
  margin-bottom:6px!important;
}
body[data-page="sales-operations"] .sm386-inventory{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:8px 10px;
  border-top:1px solid var(--ui-border);
  background:transparent;
}
body[data-page="sales-operations"] .sm386-inventory-copy{
  min-width:0;
  display:flex;
  align-items:center;
  gap:18px;
  flex:1 1 auto;
}
body[data-page="sales-operations"] .sm386-inventory-count{
  flex:0 0 auto;
  display:flex;
  align-items:baseline;
  gap:7px;
  min-width:132px;
}
body[data-page="sales-operations"] .sm386-inventory-count b{
  font-size:25px;
  line-height:1;
  color:var(--ui-text);
  font-weight:850;
}
body[data-page="sales-operations"] .sm386-inventory-count span{
  font-size:11.5px;
  color:var(--ui-muted);
  white-space:nowrap;
}
body[data-page="sales-operations"] .sm386-inventory-meta{
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px 13px;
  flex-wrap:wrap;
  color:var(--ui-muted);
  font-size:11px;
}
body[data-page="sales-operations"] .sm386-inventory-meta>span+span{
  position:relative;
  padding-inline-start:13px;
}
body[data-page="sales-operations"] .sm386-inventory-meta>span+span::before{
  content:"";
  position:absolute;
  inset-inline-start:2px;
  top:50%;
  width:3px;
  height:3px;
  margin-top:-1.5px;
  border-radius:50%;
  background:var(--ui-border-strong);
}
body[data-page="sales-operations"] .sm386-inventory-meta b{
  color:var(--ui-text);
  font-size:11.5px;
}
body[data-page="sales-operations"] .sm386-inventory-request{
  color:var(--ui-muted);
}
body[data-page="sales-operations"] .sm386-inventory-action{
  flex:0 0 auto;
  min-width:106px;
  min-height:36px!important;
  white-space:nowrap;
}
/* The request-number action already exists in the page header for sales managers.
   v386 deliberately has no duplicate body action. */
@media(max-width:900px){
  body[data-page="sales-operations"] .sm386-inventory{
    align-items:flex-start;
    flex-direction:column;
  }
  body[data-page="sales-operations"] .sm386-inventory-copy{
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }
}

/* ===== SOURCE: tiam-stage4-password-reset.css | sha256:df97259a310a8a6a673d9cbcf174b6b18a62f56f485e3f4f79fca992053a0978 ===== */
/* TIAM stage 4 — explicit, secure employee password reset UX */
body[data-page="experts"] .employee-password-reset-box{
  min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;
  padding:10px 11px;border:1px solid #e0e7ec;border-radius:8px;background:#f8fafb;
}
body[data-page="experts"] .employee-password-reset-box>div{display:grid;gap:2px;min-width:0}
body[data-page="experts"] .employee-password-reset-box b{font-size:11.2px;color:#29495f;line-height:1.55}
body[data-page="experts"] .employee-password-reset-box small{font-size:9.9px;color:#738694;line-height:1.6}
body[data-page="experts"] .employee-password-reset-box .btn{height:34px;min-height:34px;padding:0 12px;border-radius:8px;white-space:nowrap}
.initial-password-once{display:grid;gap:8px;direction:rtl}
.initial-password-once .success-box{margin-bottom:3px;line-height:1.8}
.initial-password-once label{font-size:10.5px;color:#617788;font-weight:800}
.initial-password-once code{direction:ltr;text-align:center;display:block;padding:10px 12px;border:1px solid #d9e3e9;border-radius:8px;background:#f8fafb;color:#173f61;font:800 16px/1.4 var(--tiam-font);letter-spacing:.8px;user-select:all}
@media(max-width:720px){body[data-page="experts"] .employee-password-reset-box{grid-template-columns:1fr}.employee-password-reset-box .btn{width:100%}}

/* ===== SOURCE: tiam-stage5-datetime-system.css | sha256:c12a09de339042e601362e364e170c31dd2122bae366be52b7f934848dc235e0 ===== */
/* TIAM stage 5 — reliable Jalali date + deterministic 24-hour time controls. */
:root{
  --s5-date-navy:#0b2946;
  --s5-date-border:#cbd9e4;
  --s5-date-soft:#f5f8fb;
  --s5-date-danger:#a8323b;
}

/* RTL shell: date text on the right, calendar action on the left. */
.date-control{
  direction:rtl!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  min-height:42px!important;
  border-color:var(--s5-date-border)!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
.date-control>input,
.field .date-control>input{
  height:42px!important;
  min-height:42px!important;
  line-height:42px!important;
  padding:0 12px!important;
  direction:ltr!important;
  text-align:center!important;
  font-size:13px!important;
  letter-spacing:.05px;
}
.date-control>input::placeholder{font-size:12.5px!important}
.date-control>.calendar-trigger{
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  border-left:0!important;
  border-right:1px solid var(--s5-date-border)!important;
  background:#f8fafc!important;
}
.date-control>.calendar-trigger:hover{background:#edf3f8!important}
.date-control>.calendar-trigger svg{width:18px!important;height:18px!important}

/* The picker is intentionally compact so it can sit above/below fields in modals. */
#jdate-picker.jdate-picker{
  width:330px!important;
  max-width:calc(100vw - 20px)!important;
  max-height:calc(100vh - 20px)!important;
  padding:9px!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  border-radius:14px!important;
  box-shadow:0 14px 34px rgba(7,31,55,.20),0 2px 7px rgba(7,31,55,.08)!important;
}
#jdate-picker .jdate-head{
  grid-template-columns:32px minmax(0,1.15fr) minmax(0,.82fr) 32px!important;
  gap:6px!important;
  min-height:44px!important;
  margin:-9px -9px 8px!important;
  padding:6px 9px!important;
}
#jdate-picker .jdate-head select,
#jdate-picker .jdate-nav{
  height:32px!important;
  min-height:32px!important;
}
#jdate-picker .jdate-nav{width:32px!important;min-width:32px!important}
#jdate-picker .jweek,
#jdate-picker .jdays{gap:4px!important}
#jdate-picker .jweek{margin-bottom:4px!important}
#jdate-picker .jday{
  height:30px!important;
  min-height:30px!important;
  border-radius:8px!important;
  font-size:11.5px!important;
  box-shadow:none!important;
}
#jdate-picker .jday[disabled]{
  opacity:.28!important;
  background:#f5f7f9!important;
  border-color:#e6ebef!important;
  color:#7f8b96!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:none!important;
}
#jdate-picker .jdate-selection-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
  padding:7px 9px;
  border:1px solid #e0e8ef;
  border-radius:9px;
  background:#f8fafc;
  color:#617487;
  font-size:10.5px;
}
#jdate-picker .jdate-selection-summary b{
  color:var(--s5-date-navy);
  font-size:12px;
  font-weight:800;
  font-variant-numeric:tabular-nums lining-nums;
}
#jdate-picker .jdate-time-row{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  margin-top:7px!important;
  padding-top:7px!important;
}
#jdate-picker .jdate-time-fields{
  display:grid;
  grid-template-columns:minmax(72px,1fr) 9px minmax(72px,1fr);
  align-items:end;
  gap:5px;
  direction:ltr;
}
#jdate-picker .jdate-time-fields>label{display:grid;gap:3px}
#jdate-picker .jdate-time-fields>label>span{
  direction:rtl;
  color:#64778a;
  font-size:10px;
  font-weight:700;
  text-align:center;
}
#jdate-picker .jdate-time-fields>b{
  align-self:end;
  height:32px;
  display:grid;
  place-items:center;
  color:#52677a;
  font-size:15px;
}
#jdate-picker .jdate-time-fields select{
  width:100%;
  height:32px!important;
  min-height:32px!important;
  padding:0 6px!important;
  border:1px solid var(--s5-date-border)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#10263d!important;
  direction:ltr;
  text-align:center;
  font-size:12px!important;
  font-weight:700;
  font-variant-numeric:tabular-nums lining-nums;
}
#jdate-picker .jdate-inline-error{
  margin-top:7px;
  padding:7px 9px;
  border:1px solid rgba(168,50,59,.22);
  border-radius:8px;
  background:#fff5f5;
  color:var(--s5-date-danger);
  font-size:10.5px;
  line-height:1.6;
}
#jdate-picker .jdate-inline-error.hidden{display:none!important}
#jdate-picker .jdate-foot{margin-top:8px!important;padding-top:8px!important}

/* Native time inputs are upgraded by app.js to this deterministic 24-hour text control. */
input.tiam-time24,
.field input.tiam-time24{
  direction:ltr!important;
  text-align:center!important;
  font-variant-numeric:tabular-nums lining-nums!important;
  letter-spacing:.35px;
  min-width:88px;
}
input.tiam-time24::placeholder{direction:ltr;color:#92a0ad!important;letter-spacing:.2px}
input.tiam-time24:invalid:not(:placeholder-shown){border-color:#d49aa0!important;box-shadow:0 0 0 2px rgba(168,50,59,.06)!important}

@media (max-width:540px){
  #jdate-picker.jdate-picker{width:min(330px,calc(100vw - 16px))!important}
  #jdate-picker .jdate-time-row{grid-template-columns:1fr!important}
  #jdate-picker .jdate-time-row .btn{width:100%}
}

/* ===== SOURCE: tiam-stage6-sales-hierarchy.css | sha256:97831365c34a110ee8e960f1b0d0b258b6174a8d75b38ce43b715072459bbadd ===== */
/* TIAM Stage 6 — sales hierarchy/action-state hardening
   Allocation actions are constructive operations: never present a destructive red hover state. */
body[data-page="sales-operations"] :is(
  .sm148-allocate-button,
  #sm240-allocate-submit,
  .sm240-row-action:not(.is-danger)
){
  border-color:#123e61!important;
  background:#123e61!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}
body[data-page="sales-operations"] :is(
  .sm148-allocate-button,
  #sm240-allocate-submit,
  .sm240-row-action:not(.is-danger)
):hover:not(:disabled){
  border-color:#174f76!important;
  background:#174f76!important;
  color:#fff!important;
  filter:none!important;
  box-shadow:0 4px 12px rgba(18,62,97,.16)!important;
  transform:translateY(-1px)!important;
}
body[data-page="sales-operations"] :is(
  .sm148-allocate-button,
  #sm240-allocate-submit,
  .sm240-row-action:not(.is-danger)
):active:not(:disabled){
  border-color:#0b304d!important;
  background:#0b304d!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:translateY(0)!important;
}
body[data-page="sales-operations"] :is(
  .sm148-allocate-button,
  #sm240-allocate-submit,
  .sm240-row-action:not(.is-danger)
):disabled{
  border-color:#cbd7df!important;
  background:#e9eef2!important;
  color:#7b8d99!important;
  opacity:1!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
  transform:none!important;
}

/* ===== SOURCE: tiam-stage7-number-workspace.css | sha256:e5050414ff0ead811bb2187279f65285f67a89de51315439364fb81fcc11a239 ===== */
/* TIAM Stage 7 — compact contact rows + inline customer-name editing. */

/* Sales expert contact rows: use restrained status color, not heavy cards. */
body[data-page="sales-operations"] .sm148-contact-table{
  border-collapse:separate!important;
  border-spacing:0 5px!important;
}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row{
  --stage7-row-bg:#f7fbff;
  --stage7-row-accent:#3f78a3;
  background:var(--stage7-row-bg)!important;
  min-height:48px!important;
  transition:background .14s ease,border-color .14s ease,transform .14s ease;
}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-inbox{--stage7-row-bg:#f6faff;--stage7-row-accent:#3d74a0}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-followup{--stage7-row-bg:#fff9ee;--stage7-row-accent:#b47a29}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-followup.is-due{--stage7-row-bg:#fff2e8;--stage7-row-accent:#c46028}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-no_interest{--stage7-row-bg:#f7f8f9;--stage7-row-accent:#7c8790}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-registered{--stage7-row-bg:#f2faf6;--stage7-row-accent:#3f8664}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row:hover{filter:brightness(.992)}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td{
  height:48px!important;
  min-height:48px!important;
  padding:5px 8px!important;
  vertical-align:middle!important;
  border-top:1px solid color-mix(in srgb,var(--stage7-row-accent) 18%,#e4ebef)!important;
  border-bottom:1px solid color-mix(in srgb,var(--stage7-row-accent) 18%,#e4ebef)!important;
  background:transparent!important;
}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td:first-child{
  border-inline-start:3px solid var(--stage7-row-accent)!important;
  border-radius:0 10px 10px 0!important;
}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td:last-child{
  border-inline-end:1px solid color-mix(in srgb,var(--stage7-row-accent) 18%,#e4ebef)!important;
  border-radius:10px 0 0 10px!important;
}
body[data-page="sales-operations"] .sm148-row-person{min-width:132px!important;gap:0!important}
body[data-page="sales-operations"] .sm148-row-person>small{display:none!important}
body[data-page="sales-operations"] .sm148-inline-contact-name{min-width:155px!important;max-width:230px!important}
body[data-page="sales-operations"] .sm148-contact-name-input{
  width:100%!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 8px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:var(--ui-text)!important;
  font:inherit!important;
  font-size:11.5px!important;
  font-weight:800!important;
  text-align:right!important;
  outline:none!important;
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease;
}
body[data-page="sales-operations"] .sm148-contact-name-input::placeholder{color:#8b99a3!important;font-weight:650!important}
body[data-page="sales-operations"] .sm148-contact-name-input:hover{background:rgba(255,255,255,.65)!important;border-color:rgba(61,116,160,.18)!important}
body[data-page="sales-operations"] .sm148-contact-name-input:focus{background:#fff!important;border-color:#6b96b5!important;box-shadow:0 0 0 2px rgba(61,116,160,.10)!important}
body[data-page="sales-operations"] .sm148-contact-name-input.is-saving{opacity:.62!important;cursor:progress!important}
body[data-page="sales-operations"] .sm148-contact-name-input.is-saved{border-color:#6ca684!important;background:#f6fff9!important}
body[data-page="sales-operations"] .sm148-contact-status{height:31px!important;min-height:31px!important;border-radius:8px!important;background:rgba(255,255,255,.72)!important}
body[data-page="sales-operations"] .sm148-followup-cell{min-width:110px!important}
body[data-page="sales-operations"] .sm148-row-actions{justify-content:center!important}
body[data-page="sales-operations"] .sm148-icon-action{width:30px!important;height:30px!important;border-radius:8px!important}
body[data-page="sales-operations"] .sm148-expert-workbench>header{min-height:34px!important;margin-bottom:7px!important}


/* Import dialogs: fields only; no tutorial blocks. */
body[data-page="lead-import"] .lead-v370-modal{gap:10px!important}

body[data-page="lead-import"] .lead-v370-excel-modal .lead-v370-file-picker{margin-top:0!important}

@media(max-width:820px){
  body[data-page="sales-operations"] .sm148-inline-contact-name{min-width:145px!important;max-width:190px!important}
}

/* ===== SOURCE: tiam-stage8-manager-cards.css | sha256:feca68e9c05a48caf655ef7f1822e6080690753e1d7b5fbc7938fbee870b6571 ===== */
/* TIAM Stage 8 — compact navy KPI cards for the sales-manager workspace. */
:root{
  --sm8-navy:#123e61;
  --sm8-navy-2:#174f76;
  --sm8-navy-soft:#f4f8fb;
  --sm8-border:#b9cad7;
  --sm8-border-hover:#7899b0;
  --sm8-muted:#667d8d;
}
body[data-page="sales-operations"] .sm8-manager-home{
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:10px;
}
body[data-page="sales-operations"] .sm8-manager-home>.sm240-priority-section,
body[data-page="sales-operations"] .sm8-manager-home>.sm240-team-section,
body[data-page="sales-operations"] .sm8-manager-home>.sm240-referrals-section{
  grid-column:1/-1;
}
body[data-page="sales-operations"] .sm8-manager-home>.sm240-referrals-section{
  min-height:245px!important;
}
body[data-page="sales-operations"] .sm8-manager-home>.sm240-referrals-section .table-wrap{
  min-height:165px!important;
}
body[data-page="sales-operations"] .sm8-manager-home>.sm240-referrals-section .sm240-table tbody .empty{
  height:120px!important;
  vertical-align:middle!important;
}
body[data-page="sales-operations"] .sm8-manager-home>.sm240-inventory-section,
body[data-page="sales-operations"] .sm8-manager-home>.sm240-credit-section{
  grid-column:span 6;
}
body[data-page="sales-operations"] .sm8-summary-section{
  padding:11px 12px!important;
  border:1px solid var(--sm8-border)!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[data-page="sales-operations"] .sm8-summary-section>header{
  min-height:24px!important;
  margin:0 0 8px!important;
  padding:0!important;
  border:0!important;
}
body[data-page="sales-operations"] .sm8-summary-section>header h2{
  margin:0!important;
  color:var(--sm8-navy)!important;
  font-size:13.5px!important;
  font-weight:850!important;
}
body[data-page="sales-operations"] .sm8-inventory-card{
  min-height:78px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
  padding:9px 10px!important;
  border:1px solid #d7e2e9!important;
  border-radius:11px!important;
  background:#fff!important;
  transition:background-color .16s ease,border-color .16s ease!important;
}
body[data-page="sales-operations"] .sm8-inventory-card:hover{
  background:var(--sm8-navy-soft)!important;
  border-color:var(--sm8-border-hover)!important;
}
body[data-page="sales-operations"] .sm8-inventory-primary{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:138px;
}
body[data-page="sales-operations"] .sm8-kpi-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border:1px solid #c7d7e2;
  border-radius:9px;
  background:#f7fafc;
  color:var(--sm8-navy);
}
body[data-page="sales-operations"] .sm8-kpi-icon svg{
  width:17px;
  height:17px;
}
body[data-page="sales-operations"] .sm8-inventory-value{
  min-width:0!important;
  display:grid!important;
  gap:2px!important;
  align-items:center!important;
}
body[data-page="sales-operations"] .sm8-inventory-value b{
  color:var(--sm8-navy)!important;
  font-size:27px!important;
  line-height:1!important;
  font-weight:900!important;
}
body[data-page="sales-operations"] .sm8-inventory-value span{
  color:var(--sm8-muted)!important;
  font-size:10.5px!important;
  white-space:nowrap;
}
body[data-page="sales-operations"] .sm8-inventory-meta{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  gap:8px 14px!important;
  flex-wrap:wrap!important;
  color:var(--sm8-muted)!important;
  font-size:10.5px!important;
}
body[data-page="sales-operations"] .sm8-inventory-meta-item{
  display:grid;
  gap:1px;
  min-width:0;
  padding:0!important;
}
body[data-page="sales-operations"] .sm8-inventory-meta-item::before{
  display:none!important;
  content:none!important;
}
body[data-page="sales-operations"] .sm8-inventory-meta-item small{
  color:#7a8e9b!important;
  font-size:9.5px!important;
  line-height:1.35;
}
body[data-page="sales-operations"] .sm8-inventory-meta-item b{
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#34556b!important;
  font-size:10.8px!important;
  font-weight:750!important;
}
body[data-page="sales-operations"] .sm8-inventory-meta-item em{
  color:#7a8e9b;
  font-size:9.5px;
  font-style:normal;
}
body[data-page="sales-operations"] .sm8-inventory-action{
  min-width:112px!important;
  min-height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
body[data-page="sales-operations"] .sm8-inventory-action svg{
  width:15px;
  height:15px;
}
body[data-page="sales-operations"] .sm8-credit-metrics{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
}
body[data-page="sales-operations"] .sm8-credit-kpi{
  min-height:78px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  padding:9px!important;
  border:1px solid #d7e2e9!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--sm8-navy)!important;
  text-align:right!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease!important;
}
body[data-page="sales-operations"] .sm8-credit-kpi:hover,
body[data-page="sales-operations"] .sm8-credit-kpi:focus-visible{
  background:var(--sm8-navy-soft)!important;
  border-color:var(--sm8-border-hover)!important;
  outline:none!important;
}
body[data-page="sales-operations"] .sm8-credit-kpi:active,
body[data-page="sales-operations"] .sm8-credit-kpi.is-active{
  background:var(--sm8-navy)!important;
  border-color:var(--sm8-navy)!important;
  color:#fff!important;
}
body[data-page="sales-operations"] .sm8-credit-kpi:active .sm8-kpi-icon,
body[data-page="sales-operations"] .sm8-credit-kpi.is-active .sm8-kpi-icon{
  border-color:rgba(255,255,255,.35)!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
}
body[data-page="sales-operations"] .sm8-credit-kpi.has-attention{
  border-inline-start-width:3px!important;
}
body[data-page="sales-operations"] .sm8-credit-kpi-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
body[data-page="sales-operations"] .sm8-credit-kpi-copy small{
  color:#5f7787!important;
  font-size:10.5px!important;
  line-height:1.4;
  white-space:nowrap;
}
body[data-page="sales-operations"] .sm8-credit-kpi-copy b{
  color:var(--sm8-navy)!important;
  font-size:23px!important;
  line-height:1!important;
  font-weight:900!important;
}
body[data-page="sales-operations"] .sm8-credit-kpi:active .sm8-credit-kpi-copy small,
body[data-page="sales-operations"] .sm8-credit-kpi:active .sm8-credit-kpi-copy b,
body[data-page="sales-operations"] .sm8-credit-kpi.is-active .sm8-credit-kpi-copy small,
body[data-page="sales-operations"] .sm8-credit-kpi.is-active .sm8-credit-kpi-copy b{
  color:#fff!important;
}
body[data-page="sales-operations"] .sm8-delay-note{
  width:auto!important;
  min-height:30px!important;
  margin-top:7px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:4px 7px!important;
  border:1px solid #dfc98f!important;
  border-radius:8px!important;
  background:#fffaf0!important;
  color:#70571d!important;
  font-size:10px!important;
  box-shadow:none!important;
}
body[data-page="sales-operations"] .sm8-delay-note svg{
  width:13px;
  height:13px;
}
body[data-page="sales-operations"] .sm8-delay-note b{
  font-size:11px;
}
@media(max-width:1180px){
  body[data-page="sales-operations"] .sm8-manager-home>.sm240-inventory-section,
  body[data-page="sales-operations"] .sm8-manager-home>.sm240-credit-section{
    grid-column:1/-1;
  }
}
@media(max-width:760px){
  body[data-page="sales-operations"] .sm8-inventory-card{
    grid-template-columns:1fr auto;
  }
  body[data-page="sales-operations"] .sm8-inventory-meta{
    grid-column:1/-1;
    order:3;
  }
  body[data-page="sales-operations"] .sm8-credit-metrics{
    grid-template-columns:1fr!important;
  }
  body[data-page="sales-operations"] .sm8-credit-kpi{
    min-height:62px!important;
  }
}

/* ===== SOURCE: tiam-stage10-followup-workflow.css | sha256:153ecdb7a5abfabbf004002a196892f006061cd67ca74b288a849b941e4f4fde ===== */
/* TIAM Stage 10 — reliable follow-up lifecycle, edit affordance and due-state visibility. */
body[data-page="sales-operations"] .sm148-followup-cell{
  min-width:154px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
body[data-page="sales-operations"] .sm148-followup-empty{
  color:#9aa7b0!important;
  font-size:11px!important;
}
body[data-page="sales-operations"] .sm148-followup-card{
  width:100%!important;
  min-height:36px!important;
  border:1px solid #cadce8!important;
  border-radius:9px!important;
  background:#f6fbff!important;
  color:#274f6d!important;
  display:grid!important;
  grid-template-columns:1fr 19px!important;
  grid-template-areas:"state icon" "time icon"!important;
  align-items:center!important;
  gap:1px 5px!important;
  padding:4px 7px!important;
  text-align:right!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:background .14s ease,border-color .14s ease,box-shadow .14s ease!important;
}
body[data-page="sales-operations"] .sm148-followup-card>span{
  grid-area:state!important;
  font-size:9.7px!important;
  line-height:1.2!important;
  font-weight:750!important;
  color:#668297!important;
}
body[data-page="sales-operations"] .sm148-followup-card>b{
  grid-area:time!important;
  font-size:10.8px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  font-variant-numeric:tabular-nums!important;
}
body[data-page="sales-operations"] .sm148-followup-card>i{
  grid-area:icon!important;
  width:19px!important;
  height:19px!important;
  display:grid!important;
  place-items:center!important;
  color:#4d7898!important;
}
body[data-page="sales-operations"] .sm148-followup-card>i svg{width:15px!important;height:15px!important}
body[data-page="sales-operations"] .sm148-followup-card:hover{
  background:#edf7fd!important;
  border-color:#8db4cc!important;
  box-shadow:0 0 0 2px rgba(44,94,130,.06)!important;
}
body[data-page="sales-operations"] .sm148-followup-card.is-overdue{
  background:#fff5ed!important;
  border-color:#e8b991!important;
  color:#7b431d!important;
}
body[data-page="sales-operations"] .sm148-followup-card.is-overdue>span,
body[data-page="sales-operations"] .sm148-followup-card.is-overdue>i{color:#a75c28!important}
body[data-page="sales-operations"] .sm148-followup-card.is-overdue:hover{background:#ffecdf!important;border-color:#d99762!important}

/* The follow-up dialog keeps the previous schedule visible while editing. */
.sm148-followup-modal-state{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  min-height:38px!important;
  margin:0 0 12px!important;
  padding:7px 10px!important;
  border:1px solid #d6e4ed!important;
  border-radius:10px!important;
  background:#f7fbfe!important;
  color:#365d78!important;
}
.sm148-followup-modal-state>span{font-size:11px!important;font-weight:800!important}
.sm148-followup-modal-state>b{font-size:11px!important;font-weight:750!important;font-variant-numeric:tabular-nums!important}
.sm148-followup-modal-state.is-overdue{background:#fff5ed!important;border-color:#ebc4a5!important;color:#8a4a20!important}
#sm148-followup-save[disabled],#sm148-supervisor-followup-save[disabled]{opacity:.62!important;cursor:wait!important}

@media(max-width:820px){
  body[data-page="sales-operations"] .sm148-followup-cell{min-width:140px!important}
  body[data-page="sales-operations"] .sm148-followup-card{min-width:136px!important}
}

/* ===== SOURCE: tiam-stage11-caller-identity.css | sha256:f7f83d517a05204c19284b7ceceba04b93827706701fb737b729acf69380224d ===== */
/* TIAM stage 11 — incoming caller identification center */
.cc-stage11-root{position:fixed!important;inset:0!important;z-index:10020!important;pointer-events:none!important}
.cc-stage11-root.is-open{pointer-events:auto!important}
.cc-stage11-overlay{position:absolute!important;inset:0!important;background:rgba(13,31,45,.44)!important;backdrop-filter:blur(3px)!important;opacity:0!important;transition:opacity .16s ease!important}
.cc-stage11-overlay.is-open{opacity:1!important}
.cc-stage11-modal{position:absolute!important;inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-48%) scale(.985)!important;width:min(820px,calc(100vw - 36px))!important;height:auto!important;max-height:min(82vh,760px)!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid #d9e3ea!important;border-radius:18px!important;box-shadow:0 24px 70px rgba(12,35,52,.24)!important;overflow:hidden!important;opacity:0!important;visibility:hidden!important;transition:opacity .16s ease,transform .16s ease!important;direction:rtl!important}
.cc-stage11-modal.is-open{opacity:1!important;visibility:visible!important;transform:translate(-50%,-50%) scale(1)!important}
.cc-stage11-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:17px 20px!important;background:#123e61!important;color:#fff!important;min-height:74px!important}
.cc-stage11-heading{display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}.cc-stage11-head-icon{width:38px!important;height:38px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.15)!important;flex:none!important}.cc-stage11-head-icon svg,.cc-stage11-close svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}.cc-stage11-heading h2{margin:0!important;font-size:18px!important;font-weight:850!important;color:#fff!important}.cc-stage11-heading p{margin:3px 0 0!important;font-size:11.5px!important;color:rgba(255,255,255,.72)!important}.cc-stage11-close{width:36px!important;height:36px!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.09)!important;color:#fff!important;display:grid!important;place-items:center!important;cursor:pointer!important;flex:none!important}.cc-stage11-close:hover{background:rgba(255,255,255,.17)!important}
.cc-stage11-body{padding:18px 20px 20px!important;overflow:auto!important;min-height:300px!important}.cc-stage11-search{height:52px!important;display:grid!important;grid-template-columns:24px minmax(0,1fr) 32px 82px!important;align-items:center!important;gap:8px!important;border:1px solid #cbd9e3!important;border-radius:14px!important;background:#fff!important;padding:0 8px 0 7px!important;box-shadow:0 2px 10px rgba(20,53,75,.04)!important}.cc-stage11-search:focus-within{border-color:#668ca7!important;box-shadow:0 0 0 3px rgba(18,62,97,.08)!important}.cc-stage11-search>svg{width:20px!important;height:20px!important;stroke:#678194!important;fill:none!important;stroke-width:1.8!important;margin-inline-start:3px!important}.cc-stage11-search input{width:100%!important;height:46px!important;border:0!important;outline:0!important;background:transparent!important;padding:0 4px!important;font-size:13.5px!important;font-weight:650!important;color:#18374c!important;text-align:right!important;direction:rtl!important}.cc-stage11-search input::placeholder{color:#8ba0af!important;font-weight:550!important}.cc-stage11-search-clear{width:30px!important;height:30px!important;border:0!important;background:transparent!important;color:#8498a7!important;border-radius:8px!important;display:grid!important;place-items:center!important;cursor:pointer!important}.cc-stage11-search-clear.hidden{visibility:hidden!important;pointer-events:none!important}.cc-stage11-search-clear svg{width:16px!important;height:16px!important;stroke:currentColor!important;fill:none!important}.cc-stage11-search-submit{height:38px!important;border:0!important;border-radius:10px!important;background:#123e61!important;color:#fff!important;font-weight:800!important;font-size:12.5px!important;cursor:pointer!important}.cc-stage11-search-submit:hover{background:#174f76!important}
.cc-stage11-statusline{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:34px!important;padding:7px 3px 5px!important}.cc-stage11-statusline>b{font-size:11px!important;color:#536f82!important;font-weight:800!important}.cc-stage11-statusline span{font-size:10.5px!important;color:#8296a4!important}.cc-stage11-content{min-height:215px!important}.cc-stage11-empty,.cc-stage11-state,.cc-stage11-error{min-height:215px!important;border:1px dashed #dbe4ea!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-align:center!important;padding:24px!important;background:#fbfcfd!important;color:#496679!important}.cc-stage11-empty svg{width:28px!important;height:28px!important;stroke:#7893a5!important;fill:none!important}.cc-stage11-empty b,.cc-stage11-state b,.cc-stage11-error b{font-size:13px!important;color:#2c4c61!important}.cc-stage11-empty p,.cc-stage11-error p{margin:0!important;font-size:11.5px!important;color:#8093a0!important}.cc-stage11-empty.is-small{min-height:110px!important}.cc-stage11-spinner{width:25px!important;height:25px!important;border:3px solid #dfe7ec!important;border-top-color:#123e61!important;border-radius:50%!important;animation:cc11spin .7s linear infinite!important}@keyframes cc11spin{to{transform:rotate(360deg)}}
.cc-stage11-identity{border:1px solid #d8e3ea!important;border-radius:16px!important;padding:17px!important;background:#fff!important;box-shadow:0 5px 20px rgba(25,58,80,.045)!important;position:relative!important;overflow:hidden!important}.cc-stage11-identity:before{content:""!important;position:absolute!important;inset:0 0 auto!important;height:3px!important;background:#507c99!important}.cc-stage11-identity.is-customer:before{background:#3d7f72!important}.cc-stage11-identity.is-raw:before{background:#bc8b3d!important}.cc-stage11-identity.is-history:before{background:#766ca8!important}.cc-stage11-identity.is-unknown:before{background:#7c8d99!important}.cc-stage11-identity-top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important}.cc-stage11-identity-badge{display:inline-flex!important;align-items:center!important;height:26px!important;padding:0 9px!important;border-radius:999px!important;background:#eef4f7!important;color:#406075!important;font-size:10.5px!important;font-weight:850!important;white-space:nowrap!important}.is-customer .cc-stage11-identity-badge{background:#eaf5f1!important;color:#397366!important}.is-raw .cc-stage11-identity-badge{background:#fff5df!important;color:#8a641f!important}.is-history .cc-stage11-identity-badge{background:#f1eff9!important;color:#655b93!important}.cc-stage11-name{text-align:right!important}.cc-stage11-name h3{margin:0!important;color:#17394f!important;font-size:18px!important;font-weight:900!important}.cc-stage11-name>b{display:block!important;margin-top:4px!important;color:#657f91!important;font-size:13px!important;font-weight:700!important;direction:ltr!important}.cc-stage11-identity-note{margin:12px 0 0!important;padding:9px 11px!important;border-radius:10px!important;background:#f8fafb!important;color:#6a808f!important;font-size:11px!important;line-height:1.8!important}.cc-stage11-sources{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin-top:11px!important}.cc-stage11-sources span{padding:4px 8px!important;border:1px solid #dce6ec!important;border-radius:8px!important;font-size:10px!important;color:#657f90!important;background:#fafcfd!important}.cc-stage11-facts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin-top:13px!important}.cc-stage11-fact{min-height:70px!important;border:1px solid #e1e9ee!important;border-radius:11px!important;background:#fbfcfd!important;padding:9px 10px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important}.cc-stage11-fact small{font-size:9.8px!important;color:#8698a5!important}.cc-stage11-fact b{font-size:11.5px!important;color:#294b60!important}.cc-stage11-fact span{font-size:9.8px!important;color:#8294a0!important}.cc-stage11-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-top:14px!important;padding-top:13px!important;border-top:1px solid #edf1f4!important}.cc-stage11-action{height:38px!important;border:1px solid #d5e0e7!important;border-radius:10px!important;background:#fff!important;color:#3f6177!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:11px!important;font-weight:800!important;cursor:pointer!important}.cc-stage11-action svg{width:17px!important;height:17px!important;stroke:currentColor!important;fill:none!important}.cc-stage11-action:hover:not(:disabled){background:#f3f7f9!important;border-color:#bdced9!important}.cc-stage11-action.is-primary{background:#123e61!important;border-color:#123e61!important;color:#fff!important}.cc-stage11-action.is-primary:hover{background:#174f76!important}.cc-stage11-action:disabled{opacity:.45!important;cursor:not-allowed!important}
.cc-stage11-current-call{margin-top:12px!important;border:1px solid #cddde7!important;border-radius:11px!important;background:#f7fafc!important;padding:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.cc-stage11-current-call>div:first-child{display:flex!important;align-items:center!important;gap:8px!important}.cc-stage11-current-call b{font-size:11px!important;color:#38586c!important}.cc-stage11-finalize{display:flex!important;gap:6px!important}.cc-stage11-finalize select{height:34px!important;border:1px solid #ccd9e2!important;border-radius:9px!important;background:#fff!important;padding:0 9px!important;font-size:11px!important}.cc-stage11-finalize button{height:34px!important;border:0!important;border-radius:9px!important;background:#123e61!important;color:#fff!important;padding:0 13px!important;font-weight:800!important;cursor:pointer!important}.cc-stage11-call-status{display:inline-flex!important;align-items:center!important;padding:3px 7px!important;border-radius:999px!important;background:#eef2f5!important;color:#637989!important;font-size:9.5px!important;font-weight:800!important}.cc-stage11-call-status.is-answered{background:#e7f4ef!important;color:#397565!important}.cc-stage11-call-status.is-no_answer,.cc-stage11-call-status.is-busy,.cc-stage11-call-status.is-unreachable{background:#fff2dd!important;color:#896024!important}.cc-stage11-call-status.is-failed,.cc-stage11-call-status.is-cancelled{background:#f6eaea!important;color:#8b5656!important}
.cc-stage11-results{display:grid!important;gap:7px!important}.cc-stage11-result{width:100%!important;min-height:58px!important;border:1px solid #dce5eb!important;border-radius:11px!important;background:#fff!important;padding:8px 11px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:right!important;cursor:pointer!important}.cc-stage11-result:hover{background:#f8fafb!important;border-color:#bfcfd9!important}.cc-stage11-result>div{display:flex!important;flex-direction:column!important;gap:2px!important}.cc-stage11-result>div:last-child{align-items:flex-end!important}.cc-stage11-result b{font-size:12px!important;color:#294a5f!important}.cc-stage11-result span,.cc-stage11-result small{font-size:10px!important;color:#7e929f!important}.cc-stage11-history-head{display:flex!important;align-items:center!important;gap:12px!important;margin-bottom:10px!important;padding:0 2px!important}.cc-stage11-history-head>button{border:1px solid #d6e1e7!important;background:#fff!important;border-radius:9px!important;height:34px!important;padding:0 10px!important;display:flex!important;align-items:center!important;gap:5px!important;color:#4f6f83!important;font-size:10.5px!important;cursor:pointer!important}.cc-stage11-history-head svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important}.cc-stage11-history-head>div{display:flex!important;flex-direction:column!important}.cc-stage11-history-head b{font-size:12px!important;color:#294a5f!important}.cc-stage11-history-head span{font-size:10px!important;color:#81939f!important}.cc-stage11-history-list{display:grid!important;gap:6px!important}.cc-stage11-history-list article{min-height:55px!important;border:1px solid #e0e7ec!important;border-radius:10px!important;background:#fff!important;padding:7px 10px!important;display:grid!important;grid-template-columns:1fr .8fr auto!important;align-items:center!important;gap:10px!important}.cc-stage11-history-list article>div{display:flex!important;flex-direction:column!important;gap:2px!important}.cc-stage11-history-list b{font-size:11px!important;color:#36576b!important}.cc-stage11-history-list small,.cc-stage11-history-list span{font-size:9.7px!important;color:#83949f!important}
.cc-stage11-referral-form{display:grid!important;gap:12px!important}.cc-stage11-referral-person{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:8px!important;padding:9px 11px!important;border:1px solid #e0e7ec!important;border-radius:10px!important;background:#fafcfd!important}.cc-stage11-referral-person small{font-size:10px!important;color:#8294a1!important}.cc-stage11-referral-person b{font-size:12px!important;color:#2c4c61!important}.cc-stage11-referral-person span{font-size:11px!important;color:#728896!important}.cc-stage11-referral-form textarea{resize:vertical!important;min-height:72px!important}
@media(max-width:720px){.cc-stage11-modal{width:calc(100vw - 20px)!important;max-height:88vh!important}.cc-stage11-head{padding:14px!important}.cc-stage11-body{padding:14px!important}.cc-stage11-search{grid-template-columns:20px minmax(0,1fr) 30px 68px!important}.cc-stage11-facts{grid-template-columns:1fr!important}.cc-stage11-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.cc-stage11-action{justify-content:center!important}.cc-stage11-action:last-child{grid-column:1/-1!important}.cc-stage11-history-list article{grid-template-columns:1fr auto!important}.cc-stage11-history-list article>.cc-stage11-call-status{grid-column:1/-1!important;justify-self:start!important}.cc-stage11-current-call{align-items:stretch!important;flex-direction:column!important}.cc-stage11-finalize{display:grid!important;grid-template-columns:1fr auto!important}}

/* ===== SOURCE: tiam-stage12-call-referrals.css | sha256:e4d64e2935eec4ff9b1d175188accb095ea8c78f1d218b11f8435529d66a09ce ===== */
/* TIAM stage 12 — sales expert call-referral task queue */
.sm411-referral-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}.sm411-referral-summary article{min-height:70px;border:1px solid #dbe5eb;border-radius:13px;background:#fff;padding:10px 12px;display:flex;align-items:center;justify-content:space-between}.sm411-referral-summary small{font-size:10px;color:#7b909e}.sm411-referral-summary b{font-size:21px;color:#123e61;font-weight:900}.sm411-referral-summary article.is-due b{color:#a26626}.sm411-referral-list{display:grid;gap:9px}.sm411-referral-card{position:relative;border:1px solid #dce5eb;border-radius:14px;background:#fff;padding:13px 14px;overflow:hidden}.sm411-referral-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#8da0ad}.sm411-referral-card.is-new:before{background:#356f98}.sm411-referral-card.is-due:before{background:#bd7835}.sm411-referral-card.is-followup:before{background:#b08a3c}.sm411-referral-card.is-called:before{background:#4a8173}.sm411-referral-card.is-closed:before{background:#8897a1}.sm411-referral-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.sm411-referral-title{display:flex;align-items:center;gap:9px}.sm411-referral-title>span{width:34px;height:34px;border-radius:10px;background:#edf3f6;color:#123e61;display:grid;place-items:center}.sm411-referral-title svg,.sm411-referral-actions svg{width:17px;height:17px;fill:none;stroke:currentColor}.sm411-referral-title>div{display:flex;flex-direction:column;gap:2px}.sm411-referral-title b{font-size:12.5px;color:#294a5f}.sm411-referral-title small{font-size:10px;color:#81939f}.sm411-referral-status{padding:4px 8px;border-radius:999px;background:#eef3f6;color:#5b7383;font-size:9.5px;font-weight:850}.is-new .sm411-referral-status{background:#eaf3f8;color:#316a91}.is-due .sm411-referral-status{background:#fff0df;color:#985f25}.sm411-referral-grid{display:grid;grid-template-columns:.85fr 1fr 1.7fr;gap:8px;margin-top:10px}.sm411-referral-grid>div{min-height:59px;border:1px solid #e4ebef;border-radius:10px;background:#fafcfd;padding:8px 9px;display:flex;flex-direction:column;gap:2px;justify-content:center}.sm411-referral-grid small{font-size:9.5px;color:#8798a3}.sm411-referral-grid b{font-size:10.8px;color:#3c5a6d}.sm411-referral-grid span{font-size:9.5px;color:#83949f}.sm411-referral-grid .is-alert{color:#a1662b;font-weight:750}.sm411-referral-grid p{font-size:10.6px;color:#586f7f;margin:0;line-height:1.8}.sm411-referral-result{margin-top:8px;padding:7px 9px;border-radius:9px;background:#f4f7f9;display:flex;gap:7px}.sm411-referral-result small{font-size:9.5px;color:#8999a4}.sm411-referral-result span{font-size:10px;color:#536d7d}.sm411-referral-actions{display:flex;gap:7px;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid #edf1f4}.sm411-referral-actions .btn{height:34px!important;min-height:34px!important;font-size:10.5px!important;padding:0 11px!important;display:inline-flex!important;align-items:center!important;gap:5px!important}.sm411-referral-done{font-size:10px;color:#83939e}.modal[data-modal-kind="customer-referral-result"] .modal-body{min-width:min(520px,80vw)}
@media(max-width:760px){.sm411-referral-summary{grid-template-columns:1fr 1fr 1fr}.sm411-referral-grid{grid-template-columns:1fr}.sm411-referral-actions{display:grid;grid-template-columns:1fr 1fr}.sm411-referral-actions .btn{justify-content:center!important}}

/* ===== SOURCE: tiam-stage13-context-header.css | sha256:7d0d6520651e6436c2e8ffbf6a2414735f1b4b6e84087f73abf03f1f3bc5bf32 ===== */
/* TIAM stage 13 — orderly role / direct-manager context */
.sm-stage13-head{display:grid!important;grid-template-columns:auto minmax(330px,1fr) auto!important;align-items:center!important;gap:16px!important}.sm-stage13-context{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;min-width:0!important}.sm-stage13-context>div{min-width:0!important;padding:6px 10px!important;border-inline-start:1px solid rgba(18,62,97,.1)!important;display:flex!important;flex-direction:column!important;gap:1px!important}.sm-stage13-context small{font-size:9.5px!important;color:#8698a5!important;font-weight:600!important}.sm-stage13-context b{font-size:10.8px!important;color:#37586c!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.sm-stage13-context em{font-style:normal!important;font-size:8.8px!important;color:#94a2ab!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.sm-stage13-head .sm148-workspace-meta{justify-self:end!important}.sm-stage13-head .sm148-workspace-meta>div{display:none!important}
@media(max-width:1000px){.sm-stage13-head{grid-template-columns:1fr auto!important}.sm-stage13-context{grid-column:1/-1!important;grid-row:2!important}.sm-stage13-context>div:first-child{border-inline-start:0!important}}@media(max-width:640px){.sm-stage13-context{grid-template-columns:1fr 1fr!important}.sm-stage13-context>div:last-child{grid-column:1/-1!important}}

/* ===== SOURCE: tiam-stage14-ui-cleanup.css | sha256:a4c051521218b800c60161e0826a9507b2b1e7af3f9410947a46be79ef448aff ===== */
/* TIAM stage 14 — final UI consistency and noise reduction */
body[dir="rtl"] .field>label{line-height:1.55}.modal .field input,.modal .field select,.modal .field textarea{max-width:100%}
.page-content button:not(.danger):not(.btn-danger):not([data-destructive="true"]){transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease}
.page-content button:not(.danger):not(.btn-danger):not([data-destructive="true"]):focus-visible,.cc-stage11-modal button:focus-visible,.cc-stage11-modal input:focus-visible{outline:2px solid rgba(18,62,97,.32)!important;outline-offset:2px!important}
.sm148-workspace-body .section-kicker:empty,.so-drawer-body .section-kicker:empty{display:none!important}
.sm148-workspace-body .empty,.customer-call-content .empty{font-size:11px!important;color:#82939f!important}
@media(min-width:900px){.modal:not(.modal-wide) .form-grid{column-gap:14px;row-gap:12px}}

/* ===== SOURCE: tiam-v387-design-system.css | sha256:50da3e9df285dcf3748bf213c990080e36b318295a08bf7ab35788cde58e09aa ===== */
/* Tiam v387 shared component layer for the 2026-08-16 rework.
   New/changed views use these components directly; this file does not patch legacy ticket selectors. */
:root{
  --v387-control-h:38px;
  --v387-radius:10px;
  --v387-border:#d7e1e8;
  --v387-border-strong:#bdcdd8;
  --v387-surface:#fff;
  --v387-surface-soft:#f6f9fb;
  --v387-navy:#123e61;
  --v387-navy-hover:#174f76;
  --v387-text:#263e50;
  --v387-muted:#718390;
  --v387-focus:#2d6e98;
}
.v387-icon-btn{width:var(--v387-control-h)!important;height:var(--v387-control-h)!important;min-width:var(--v387-control-h)!important;padding:0!important;display:inline-grid!important;place-items:center!important;border:1px solid var(--v387-border)!important;border-radius:var(--v387-radius)!important;background:var(--v387-surface)!important;color:var(--v387-navy)!important;cursor:pointer;line-height:1!important}
.v387-icon-btn:hover{background:#eef5f9!important;border-color:var(--v387-border-strong)!important;color:var(--v387-navy-hover)!important}.v387-icon-btn:focus-visible{outline:3px solid rgba(45,110,152,.2)!important;outline-offset:1px}.v387-icon-btn svg{width:17px!important;height:17px!important}.v387-icon-btn span{display:none!important}
.v387-toolbar-chip{height:var(--v387-control-h)!important;min-height:var(--v387-control-h)!important;display:inline-flex!important;align-items:center!important;gap:6px!important;padding:0 10px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:var(--v387-radius)!important;background:rgba(255,255,255,.1)!important;color:inherit!important;white-space:nowrap!important}.v387-toolbar-chip svg{width:16px;height:16px}.v387-toolbar-chip b{font-size:12px!important}
.tiam-branch-switcher.v387-icon-select{position:relative;width:var(--v387-control-h)!important;min-width:var(--v387-control-h)!important;height:var(--v387-control-h)!important;padding:0!important;display:grid!important;place-items:center!important;overflow:hidden;border-radius:var(--v387-radius)!important}.tiam-branch-switcher.v387-icon-select>svg:first-child{width:17px!important;height:17px!important;margin:0!important}.tiam-branch-switcher.v387-icon-select>svg:last-child{display:none!important}.tiam-branch-switcher.v387-icon-select select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;padding:0!important}
.v387-page-size{height:var(--v387-control-h);display:inline-flex;align-items:center;gap:6px;padding:0 8px;border:1px solid var(--v387-border);border-radius:var(--v387-radius);background:#fff;color:var(--v387-muted);font-size:11.5px;white-space:nowrap}.v387-page-size select{width:58px!important;height:30px!important;min-height:30px!important;padding:0 7px!important;border:1px solid var(--v387-border)!important;border-radius:8px!important;background:#fff!important;font:inherit!important}.v387-page-size b{font-size:11px;color:var(--v387-muted);font-weight:700}
body[data-page="sales-operations"] .v380-subpage-head{min-height:50px!important;padding:6px 0!important;gap:8px!important}body[data-page="sales-operations"] .v380-subpage-title{display:flex;align-items:center;gap:8px}body[data-page="sales-operations"] .sm148-section-actions{display:flex;align-items:center;gap:6px;min-height:var(--v387-control-h)}
body[data-page="sales-operations"] .sm240-allocation-controls{grid-template-columns:minmax(210px,.9fr) minmax(220px,1.2fr) auto;gap:8px;align-items:end;margin-bottom:8px}body[data-page="sales-operations"] .sm240-allocation-controls :is(select,input){height:var(--v387-control-h);min-height:var(--v387-control-h);border-radius:var(--v387-radius);white-space:nowrap}body[data-page="sales-operations"] .sm240-allocation-controls .btn{height:var(--v387-control-h);white-space:nowrap}.v387-team-request-grid{grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr)!important;align-items:start}.v387-request-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.v387-request-section{margin:0!important;min-width:0}.v387-request-section>header{min-height:44px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:8px 10px!important}.v387-request-section>header>div{display:flex;align-items:center;gap:7px}.v387-request-section .sm148-request-grid{padding:8px;gap:8px}.sm148-empty{min-height:92px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:6px!important;color:var(--v387-muted)!important;background:var(--v387-surface-soft)!important;border:1px dashed var(--v387-border)!important;border-radius:var(--v387-radius)!important}
/* Personal request progression */
.v387-profile-request{display:grid!important;gap:7px!important;padding:9px!important}.v387-request-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px}.v387-request-head>span{width:30px;height:30px;display:grid;place-items:center}.v387-request-head>span svg{width:15px;height:15px}.v387-request-head>div{display:grid;gap:1px}.v387-request-head em{font-style:normal;font-size:11.5px;white-space:nowrap}.v387-request-progress{display:flex;align-items:flex-start;gap:0;overflow-x:auto;padding:3px 0 1px}.v387-request-progress>span{position:relative;min-width:74px;display:grid;justify-items:center;gap:3px;padding-inline:5px;color:#8796a0;font-size:11.5px;white-space:nowrap}.v387-request-progress>span:not(:last-child)::after{content:"";position:absolute;top:5px;inset-inline-start:calc(50% + 7px);width:calc(100% - 14px);height:2px;background:#e1e7eb}.v387-request-progress i{z-index:1;width:11px;height:11px;border:2px solid #c9d4db;border-radius:50%;background:#fff}.v387-request-progress .is-done{color:#387253}.v387-request-progress .is-done i{border-color:#5b9a72;background:#5b9a72}.v387-request-progress .is-done:not(:last-child)::after{background:#8eb89e}.v387-request-progress .is-current{color:#1f6089;font-weight:800}.v387-request-progress .is-current i{border-color:#2d6e98;box-shadow:0 0 0 3px rgba(45,110,152,.13)}.v387-request-progress .is-attention{color:#9a6822;font-weight:800}.v387-request-progress .is-attention i{border-color:#c48835;background:#fff5df}.v387-request-progress .is-rejected{color:#994e4e;font-weight:800}.v387-request-progress .is-rejected i{border-color:#bb6767;background:#fff0f0}.v387-request-current{display:block;color:#526c7e;font-size:11.5px;text-align:right}
/* Workflow settings */
.v387-workflow-settings{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:540px}.v387-settings-tabs{display:flex;gap:4px;padding:5px;border:1px solid var(--v387-border);border-radius:12px;background:var(--v387-surface-soft);margin-bottom:9px}.v387-settings-tabs button{height:36px;flex:1;border:0;border-radius:8px;background:transparent;color:var(--v387-muted);font:inherit;font-size:12px;font-weight:750;cursor:pointer}.v387-settings-tabs button.is-active{background:#fff;color:var(--v387-navy);box-shadow:0 1px 4px rgba(22,54,76,.08)}.v387-settings-pane{display:none;min-height:0;overflow:auto;padding:1px}.v387-settings-pane.is-active{display:block}.v387-settings-pane>footer{position:sticky;bottom:0;display:flex;justify-content:flex-start;padding:9px 0 1px;background:linear-gradient(transparent,#fff 25%)}.v387-setting-groups{display:grid;gap:10px}.v387-setting-groups article,.v387-sla-table,.v387-branch-picker,.v387-calendar-exception{border:1px solid var(--v387-border);border-radius:12px;background:#fff;padding:10px}.v387-setting-groups article>header{margin-bottom:7px}.v387-setting-groups h3{margin:0;font-size:13px}.v387-stage-list{display:grid;gap:5px}.v387-stage-row{min-height:48px;display:grid;grid-template-columns:28px minmax(0,1fr) auto 62px;align-items:center;gap:8px;padding:5px 7px;border:1px solid #e4eaee;border-radius:9px;background:#fafcfd}.v387-stage-order{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#edf4f8;color:var(--v387-navy);font-size:11px;font-weight:800}.v387-stage-row>div{display:grid}.v387-stage-row b{font-size:11.5px}.v387-stage-row small{font-size:11.5px;color:var(--v387-muted)}.v387-order-input{height:32px!important;width:58px!important;padding:0 6px!important;text-align:center!important}.v387-toggle{display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:11.5px!important;white-space:nowrap!important}.v387-toggle input{width:16px!important;height:16px!important;min-height:16px!important}.v387-sla-head,.v387-sla-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(150px,.8fr) minmax(150px,.8fr) 74px;align-items:center;gap:8px;padding:7px}.v387-sla-head{color:var(--v387-muted);font-size:11.5px;border-bottom:1px solid #e5ebef}.v387-sla-row{min-height:48px;border-bottom:1px solid #eef2f4}.v387-sla-row:last-child{border-bottom:0}.v387-sla-row>span:first-child{font-size:11.5px;font-weight:750}.v387-sla-row label{display:flex;align-items:center;gap:5px}.v387-sla-row input{height:34px!important;min-height:34px!important;width:90px!important}.v387-sla-row small{font-size:11.5px;color:var(--v387-muted)}.v387-status-dot{display:inline-flex;align-items:center;gap:5px;font-size:11.5px}.v387-status-dot::before{content:"";width:7px;height:7px;border-radius:50%;background:#60a174}.v387-branch-picker{margin-bottom:8px}.v387-branch-picker label{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:750}.v387-branch-picker select{height:36px!important;min-height:36px!important;max-width:240px}.v387-calendar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.v387-calendar-grid>label{display:grid;grid-template-columns:minmax(72px,1fr) auto 82px 82px;align-items:center;gap:6px;padding:7px 8px;border:1px solid var(--v387-border);border-radius:9px;background:#fff}.v387-calendar-grid b{font-size:11.5px}.v387-calendar-grid input[type=time]{height:34px!important;min-height:34px!important}.v387-calendar-exception{margin-top:8px}.v387-calendar-exception h4{margin:0 0 7px;font-size:12px}.v387-calendar-exception-grid{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(180px,1.2fr) auto 88px 88px;gap:6px;align-items:center}.v387-calendar-exception-grid :is(input,select){height:36px!important;min-height:36px!important}
/* Leave adjustment modal */
.v387-compact-modal{width:min(560px,calc(100vw - 28px))!important}.v387-compact-modal .modal-body{padding:14px!important}.v387-compact-modal .modal-footer{min-height:auto!important;padding:9px 14px!important}.v387-leave-adjust{display:grid;gap:10px}.v387-leave-adjust .field{display:grid;gap:5px;margin:0}.v387-leave-adjust .field>span{font-size:11.5px;font-weight:750;color:#425e71}.v387-leave-adjust :is(input,select){height:38px!important;min-height:38px!important}.v387-leave-adjust textarea{min-height:76px!important;height:76px!important;resize:vertical}.v387-leave-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v387-unit-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px}.v387-unit-input small{font-size:11.5px;color:var(--v387-muted)}
/* Brokerage search */
body[data-page="brokerage"] .brokerage-v285-search-field{max-width:520px;min-height:var(--v387-control-h)}body[data-page="brokerage"] .brokerage-v285-search-field input{height:var(--v387-control-h);min-height:var(--v387-control-h);font-size:12px}body[data-page="brokerage"] .brokerage-v285-search-hint{display:none!important}
@media(max-width:1100px){.v387-team-request-grid{grid-template-columns:1fr!important}.v387-calendar-grid{grid-template-columns:1fr}.v387-sla-head,.v387-sla-row{grid-template-columns:minmax(130px,1fr) minmax(130px,.8fr) minmax(130px,.8fr) 64px}}
@media(max-width:760px){.v387-request-sections{grid-template-columns:1fr}.v387-leave-grid{grid-template-columns:1fr}.v387-stage-row{grid-template-columns:28px minmax(0,1fr) auto}.v387-order-input{grid-column:2/4;justify-self:start}.v387-sla-head{display:none}.v387-sla-row{grid-template-columns:1fr 1fr;padding:9px}.v387-sla-row>span:first-child{grid-column:1/-1}.v387-calendar-exception-grid{grid-template-columns:1fr 1fr}.v387-calendar-exception-grid>*:nth-child(-n/**/+2){grid-column:1/-1}.v387-calendar-grid>label{grid-template-columns:1fr auto 76px 76px}.v387-workflow-settings{min-height:460px}}
@media(max-width:520px){.v387-calendar-grid>label{grid-template-columns:1fr auto}.v387-calendar-grid>label input[type=time]{width:100%}.v387-page-size>span,.v387-page-size>b{display:none}.v387-page-size{padding:0 4px}.v387-request-progress>span{min-width:66px}}
.v286-profile-recent{max-height:min(430px,48vh);overflow:auto}.v286-profile-recent>header{position:sticky;top:0;z-index:2;background:#fff}

.v387-empty-state{min-height:92px;display:grid;place-items:center;align-content:center;gap:6px;color:var(--v387-muted);background:var(--v387-surface-soft);border:1px dashed var(--v387-border);border-radius:var(--v387-radius);font-size:11.5px;text-align:center;padding:12px}.v387-empty-state svg{width:18px;height:18px;opacity:.72}

/* ===== SOURCE: tiam-v388-hr-redesign.css | sha256:5ab3f38341c6aa4937e60a426a6b058ca01d8cac66b31a497d6d71f8f0ffddca ===== */
/* TIAM v388 — Human Resources canonical UI. No legacy overlay dependency. */
body[data-page="experts"] #page-content,body[data-page="attendance"] #page-content,body[data-page="payslip"] #page-content,body[data-page="adjustments"] #page-content,body[data-page="organization-settings"] #page-content,body[data-page="employee-analysis"] #page-content{--hr-border:#dfe6eb;--hr-muted:#718390;--hr-ink:#173b55;--hr-soft:#f7f9fb;--hr-navy:#173f5d}.hr388-page{display:grid;gap:10px;max-width:1320px;margin:0 auto;padding-bottom:24px}.hr388-panel{border:1px solid var(--hr-border);border-radius:11px;background:#fff;box-shadow:none;overflow:visible}.hr388-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:8px 11px;border-bottom:1px solid #e7edf1}.hr388-panel-head h2{margin:0;font-size:13.5px;color:var(--hr-ink)}.hr388-panel-head small,.hr388-panel-head>span{font-size:10.5px;color:var(--hr-muted)}.hr388-summary-strip{display:flex;align-items:stretch;gap:0;border:1px solid var(--hr-border);border-radius:10px;background:#fff;overflow:auto}.hr388-summary-strip>span{display:grid;gap:1px;min-width:120px;padding:7px 11px;border-inline-end:1px solid #e8edf1}.hr388-summary-strip>span:last-child{border:0}.hr388-summary-strip small{font-size:9.8px;color:#7a8a96}.hr388-summary-strip b{font-size:12px;color:#274a61;white-space:nowrap}.hr388-summary-strip .is-warning b,.hr388-status.is-warning{color:#8a6100}.hr388-summary-strip .is-danger b{color:#a33c35}.hr388-summary-strip .is-ok b{color:#17643d}.hr388-table{width:100%;font-size:11px}.hr388-table th{height:35px;padding:7px 9px;background:#f7f9fb;color:#607381;font-size:10px;font-weight:900}.hr388-table td{height:44px;padding:7px 9px;border-bottom:1px solid #edf1f4;color:#354f61}.hr388-person{display:grid;gap:1px}.hr388-person b{font-size:11.5px;color:#183c56}.hr388-person small{font-size:9.8px;color:#84919b}.hr388-status{display:inline-flex;align-items:center;width:max-content;padding:3px 7px;border-radius:999px;background:#fff5dc;font-size:9.8px;font-weight:900}.hr388-status.is-ok{background:#eaf7ef;color:#17643d}.hr388-table-tools{display:flex;align-items:center;gap:6px}.hr388-search{display:flex;align-items:center;gap:6px;min-width:220px;height:34px;padding:0 8px;border:1px solid #dce5ea;border-radius:8px;background:#fff}.hr388-search svg{width:15px;height:15px;color:#758895}.hr388-search input{min-width:0;width:100%;height:30px;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;font-size:11px}.hr388-table-tools select,.hr388-record-meta select{height:34px;min-height:34px;border-radius:8px;font-size:10.5px}.hr388-inline-warning{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border:1px solid #efd99f;border-radius:8px;background:#fff8e8;color:#715500;font-size:10.5px}.hr388-inline-warning button{min-height:30px;border:1px solid #dec77e;border-radius:7px;background:#fff;color:#725500;font-weight:800;cursor:pointer}.hr388-tabs{display:flex;gap:3px;width:max-content;padding:3px;border:1px solid var(--hr-border);border-radius:9px;background:#f5f8fa}.hr388-tabs button{min-height:30px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:#647786;font-size:10.5px;font-weight:900;cursor:pointer}.hr388-tabs button.is-active{background:#fff;color:#173f5d;box-shadow:0 1px 4px rgba(20,54,78,.08)}
.hr388-adjustments .v347-adjustment-panel{padding:0}.hr388-filterbar{display:grid;grid-template-columns:minmax(200px,1.3fr) repeat(4,minmax(130px,.7fr)) auto;gap:7px;align-items:end;padding:9px 10px;border-bottom:1px solid #e7edf1}.hr388-filterbar>label,.hr388-analysis-filters>label,.hr388-attendance-picker{display:grid;gap:3px;font-size:9.8px;color:#637887}.hr388-filterbar select,.hr388-filterbar input,.hr388-analysis-filters select,.hr388-analysis-filters input,.hr388-attendance-picker select{height:34px;min-height:34px;border-radius:8px;font-size:10.5px}.hr388-filterbar .hr388-search{align-self:end}.hr388-more-filters{position:relative}.hr388-more-filters>summary{display:flex;align-items:center;justify-content:center;height:34px;padding:0 10px;border:1px solid #dce5ea;border-radius:8px;background:#fff;color:#35576d;font-size:10.5px;font-weight:850;cursor:pointer;list-style:none}.hr388-more-filters>div{position:absolute;z-index:20;top:40px;left:0;display:grid;gap:8px;width:260px;padding:10px;border:1px solid #dbe4e9;border-radius:10px;background:#fff;box-shadow:0 10px 30px rgba(27,54,73,.12)}.hr388-more-filters label{display:grid;gap:3px;font-size:10px}.hr388-record-meta{display:flex;align-items:center;gap:10px}.hr388-record-meta label{display:flex;align-items:center;gap:5px;font-size:10px;color:#6d7e89}.hr388-adjustments .v347-adjustment-table{font-size:10.5px}.hr388-adjustments .v347-adjustment-table th{font-size:9.8px}.hr388-adjustments .v347-adjustment-table td{padding-block:7px}.hr388-auto-summary{margin:10px}.hr388-adjustments #daily-rule-manager{padding:0 10px 10px}.hr388-organization .hr388-summary-strip{width:max-content;max-width:100%}.hr388-modal-form textarea{min-height:64px}
.hr388-attendance-workspace .page-head{margin-bottom:8px}.hr388-attendance-control{display:grid;grid-template-columns:auto minmax(270px,1fr) auto;gap:8px;align-items:end;padding:8px 10px;border:1px solid var(--hr-border);border-radius:10px;background:#fff}.hr388-week-nav{display:flex;align-items:center;gap:4px}.hr388-week-nav button{height:32px;min-width:32px;padding:0 8px;border:1px solid #dce5ea;border-radius:7px;background:#fff;color:#35566d;font-size:10px;font-weight:800;cursor:pointer}.hr388-week-nav button svg{width:15px;height:15px}.hr388-week-nav b{min-width:155px;text-align:center;font-size:10.5px;color:#24475f}.hr388-attendance-picker{grid-template-columns:auto minmax(160px,1fr) auto;align-items:center;gap:5px}.hr388-attendance-picker>span{font-size:9.5px}.hr388-attendance-picker button{height:34px;border:0;border-radius:7px;background:#173f5d;color:#fff;font-size:10.5px;font-weight:900;cursor:pointer}.hr388-attendance-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px}.hr388-attendance-tools a{display:inline-flex;align-items:center;gap:4px;height:32px;padding:0 8px;border:1px solid #dce5ea;border-radius:7px;background:#fff;color:#2f5872;font-size:10px;font-weight:850;text-decoration:none}.hr388-attendance-tools a svg{width:14px;height:14px}.hr388-attendance-tools small{font-size:9.5px;color:#8997a1}.hr388-attendance-issues{display:grid;gap:0}.hr388-attendance-issue{display:grid!important;grid-template-columns:minmax(180px,1.4fr) minmax(150px,.8fr) minmax(150px,.8fr) auto;align-items:center;gap:10px;min-height:52px;padding:7px 10px;border-bottom:1px solid #edf1f4;background:#fff}.hr388-attendance-issue:last-child{border-bottom:0}.hr388-attendance-issue>div{display:grid;gap:1px}.hr388-attendance-issue>div b{font-size:11.5px;color:#173b55}.hr388-attendance-issue>div small,.hr388-attendance-issue>small{font-size:9.8px;color:#7e8d98}.hr388-attendance-issue.is-hidden{display:none!important}.hr388-open{height:31px;padding:0 9px;border:1px solid #cddbe4;border-radius:7px;background:#fff;color:#244e69;font-size:10px;font-weight:900;cursor:pointer}.hr388-empty{padding:26px 14px;text-align:center;color:#7b8b96;font-size:11px}.hr388-file-context{display:flex;align-items:center;padding:7px 10px;border:1px solid var(--hr-border);border-radius:9px;background:#fff}.hr388-file-context h2{margin:0;font-size:13px;color:#173b55}.hr388-file-context span{font-size:10px;color:#788995}.hr388-attendance-file{display:grid;gap:10px}.hr388-attendance-primary{display:grid;gap:10px}.hr388-secondary-tools{display:flex;gap:6px;flex-wrap:wrap}.hr388-secondary-tools button{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 9px;border:1px solid #dce5ea;border-radius:8px;background:#fff;color:#31566e;font-size:10.5px;font-weight:850;cursor:pointer}.hr388-secondary-tools svg{width:15px;height:15px}.hr388-attendance-workspace .attendance-v337-week{margin:0;border:1px solid var(--hr-border);border-radius:10px;box-shadow:none}.hr388-attendance-workspace .attendance-v337-week-head{min-height:44px;padding:7px 10px}.hr388-attendance-workspace .attendance-v337-week-head h2{font-size:12px}.hr388-attendance-workspace .attendance-v337-week-summary{gap:0;border-top:1px solid #edf1f4;border-bottom:1px solid #edf1f4}.hr388-attendance-workspace .attendance-v337-week-summary>div{min-height:54px;padding:6px 8px;border-radius:0;border:0;border-inline-end:1px solid #edf1f4;background:#fff}.hr388-attendance-workspace .attendance-v337-day-grid{gap:6px;padding:8px}.hr388-attendance-workspace .attendance-v337-day{min-height:116px;border-radius:8px;box-shadow:none}.hr388-attendance-workspace .attendance-v337-history{padding:0}.hr388-attendance-workspace .attendance-v337-history-head,.hr388-attendance-workspace .attendance-v337-history-row{padding-inline:9px;font-size:10px}.hr388-attendance-workspace .attendance-v337-history-row{min-height:46px}.hr388-attendance-workspace .attendance-v337-history-row small{font-size:9px}.hr388-attendance-workspace .attendance-v111-leave-table{margin:0}.hr388-attendance-workspace .attendance-v111-empty{padding:18px;font-size:10.5px}
.v338-payroll-workspace{display:grid;gap:10px}.v338-payroll-workspace .v338-payroll-kpis{display:none}.v338-payroll-workspace .v338-payroll-section{border:1px solid var(--hr-border);border-radius:10px;background:#fff;box-shadow:none;overflow:hidden}.v338-payroll-workspace .v338-payroll-section>header{min-height:46px;padding:7px 10px;border-bottom:1px solid #e7edf1}.v338-payroll-workspace .v338-payroll-section>header small{display:none}.v338-payroll-workspace .v338-payroll-section>header h2{font-size:13px}.v338-payroll-workspace .v338-payroll-section-meta>span{display:none}.v338-payroll-workspace .v338-payroll-run-row,.v338-payroll-workspace .v338-settlement-row{min-height:58px;padding-block:7px}.v338-payroll-workspace .v338-payroll-list-head,.v338-payroll-workspace .v338-settlement-head{min-height:34px;font-size:9.8px}.v338-payroll-workspace .v338-payroll-period b,.v338-payroll-workspace .v338-settlement-row b{font-size:10.8px}.v338-payroll-workspace .v338-payroll-money b,.v338-payroll-workspace .v338-settlement-net{font-size:10.5px}.hr388-payroll-summary{margin-bottom:0}
.hr388-analysis-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 145px 145px auto;gap:7px;align-items:end;padding:9px 10px}.hr388-analysis-result{display:grid;gap:9px}.hr388-analysis-hero{display:grid;grid-template-columns:100px 1fr;gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--hr-border);border-radius:10px;background:#fff}.hr388-analysis-score{display:grid;place-items:center;min-height:74px;border:1px solid #d8e4eb;border-radius:9px;background:#f7fafc}.hr388-analysis-score b{font-size:24px;color:#173f5d}.hr388-analysis-score small{font-size:9.5px;color:#6e818f}.hr388-analysis-hero h2{margin:0 0 3px;font-size:15px;color:#173b55}.hr388-analysis-hero p{margin:0 0 5px;font-size:10.5px;line-height:1.75;color:#617685}.hr388-analysis-hero span{font-size:10.5px;font-weight:900;color:#244e68}.hr388-detail{border:1px solid var(--hr-border);border-radius:10px;background:#fff;overflow:hidden}.hr388-detail>summary{display:flex;align-items:center;min-height:42px;padding:0 11px;background:#fafcfd;color:#24485f;font-size:11px;font-weight:900;cursor:pointer;list-style:none}.hr388-detail[open]>summary{border-bottom:1px solid #e7edf1}.hr388-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px}.hr388-span-all{grid-column:1/-1}.hr388-score-row{display:grid;grid-template-columns:minmax(120px,1fr) 1.2fr auto;align-items:center;gap:7px;min-height:34px;font-size:10.5px}.hr388-score-row>div{height:6px;border-radius:99px;background:#edf2f5;overflow:hidden}.hr388-score-row i{display:block;height:100%;background:#547d98;border-radius:99px}.hr388-score-row b{font-size:9.8px;color:#607585}.hr388-list{margin:8px 0 0;padding-right:18px;font-size:10.5px;line-height:1.8;color:#4e6575}.hr388-mini-card{padding:9px;border:1px solid #e5ebef;border-radius:8px}.hr388-mini-card h3,.hr388-detail h3{margin:0 0 7px;font-size:11.5px;color:#24475f}.hr388-analysis .analysis-bars{gap:5px}.hr388-analysis .analysis-bar-row{font-size:9.5px}.hr388-analysis .analysis-filter-note{display:none}
@media(max-width:1050px){.hr388-filterbar{grid-template-columns:1fr 1fr 1fr}.hr388-attendance-control{grid-template-columns:1fr 1fr}.hr388-attendance-tools{grid-column:1/-1}.hr388-analysis-filters{grid-template-columns:1fr 1fr 1fr}.hr388-analysis-filters button{min-height:34px}.hr388-attendance-issue{grid-template-columns:1fr 1fr auto}.hr388-attendance-issue>small{display:none}}
@media(max-width:720px){.hr388-page{gap:8px}.hr388-panel-head{align-items:flex-start;flex-direction:column}.hr388-table-tools{width:100%}.hr388-search{min-width:0;flex:1}.hr388-filterbar,.hr388-analysis-filters,.hr388-attendance-control{grid-template-columns:1fr}.hr388-more-filters>div{right:0;left:auto}.hr388-attendance-picker{grid-template-columns:1fr auto}.hr388-attendance-picker>span{grid-column:1/-1}.hr388-attendance-tools{grid-column:auto;justify-content:flex-start}.hr388-attendance-issue{grid-template-columns:1fr auto}.hr388-attendance-issue>.hr388-status,.hr388-attendance-issue>small{grid-column:1/-1}.hr388-analysis-hero{grid-template-columns:1fr}.hr388-analysis-score{width:110px}.hr388-detail-grid{grid-template-columns:1fr}.hr388-span-all{grid-column:auto}.hr388-summary-strip>span{min-width:110px}.hr388-attendance-workspace .attendance-v337-day-grid{grid-template-columns:1fr 1fr}.hr388-attendance-workspace .attendance-v337-history-head{display:none}.hr388-attendance-workspace .attendance-v337-history-row{grid-template-columns:1fr 1fr}.hr388-attendance-workspace .attendance-v337-history-row>div:nth-child(n/**/+3){display:none}}

/* v388 attendance: canonical functional layouts retained without the retired v337 skin. */
.hr388-attendance-workspace .attendance-v337-week-head{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbfcfd;border-bottom:1px solid #e7edf1}.hr388-attendance-workspace .attendance-v337-week-head>div{display:flex;align-items:center;gap:8px}.hr388-attendance-workspace .attendance-v337-week-head i{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#eef4f7;color:#466b84}.hr388-attendance-workspace .attendance-v337-week-head i svg{width:15px;height:15px}.hr388-attendance-workspace .attendance-v337-week-head small{display:block;font-size:9.5px;color:#82919b}.hr388-attendance-workspace .attendance-v337-week-head>b{font-size:10px;color:#617685}.hr388-attendance-workspace .attendance-v337-week-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;background:#fff}.hr388-attendance-workspace .attendance-v337-week-summary>div{display:flex;align-items:center;gap:6px;min-width:0}.hr388-attendance-workspace .attendance-v337-week-summary i{width:26px;height:26px;flex:0 0 26px;display:grid;place-items:center;border-radius:7px;background:#f0f4f7;color:#4c6d82}.hr388-attendance-workspace .attendance-v337-week-summary i svg{width:13px;height:13px}.hr388-attendance-workspace .attendance-v337-week-summary small{display:block;font-size:9px;color:#87949d}.hr388-attendance-workspace .attendance-v337-week-summary b{display:block;margin-top:1px;font-size:10px;color:#3a596b;white-space:nowrap}.hr388-attendance-workspace .attendance-v337-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.hr388-attendance-workspace .attendance-v337-day{min-width:0;overflow:hidden;border:1px solid #e1e8ed;background:#fff}.hr388-attendance-workspace .attendance-v337-day.is-today{border-color:#9ab9cc;box-shadow:0 0 0 1px rgba(65,113,144,.08)}.hr388-attendance-workspace .attendance-v337-day>header{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px;background:#f8fafb}.hr388-attendance-workspace .attendance-v337-day>header>div{display:grid;gap:1px;min-width:0}.hr388-attendance-workspace .attendance-v337-day>header b{font-size:10px;color:#31566e}.hr388-attendance-workspace .attendance-v337-day>header time{font-size:9px;color:#8797a2}.hr388-attendance-workspace .attendance-v337-day>header>span{width:23px;height:23px;display:grid;place-items:center;border-radius:6px;background:#eef3f6;color:#456b82}.hr388-attendance-workspace .attendance-v337-day>header svg{width:12px;height:12px}.hr388-attendance-workspace .attendance-v337-day-status{min-height:29px;padding:6px 7px;font-size:9.5px;font-weight:800;line-height:1.5;color:#496476}.hr388-attendance-workspace .attendance-v337-day-times{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:0 7px 6px}.hr388-attendance-workspace .attendance-v337-day-times span{display:grid;gap:1px;padding:4px;border-radius:6px;background:#f6f8fa;text-align:center}.hr388-attendance-workspace .attendance-v337-day-times small{font-size:8.8px;color:#8997a0}.hr388-attendance-workspace .attendance-v337-day-times b{font-size:9.5px;color:#344f62}.hr388-attendance-workspace .attendance-v337-day>footer{min-height:32px;display:grid;gap:1px;padding:5px 7px;border-top:1px solid #edf1f4;background:#fbfcfd}.hr388-attendance-workspace .attendance-v337-day>footer span,.hr388-attendance-workspace .attendance-v337-day>footer b{font-size:9px;line-height:1.45}.hr388-attendance-workspace .attendance-v337-day>footer span{color:#7c8d98}.hr388-attendance-workspace .attendance-v337-day>footer b{color:#985b38}.hr388-attendance-workspace .attendance-v337-history{overflow:hidden;border:1px solid #e1e8ed;border-radius:8px;background:#fff}.hr388-attendance-workspace .attendance-v337-history-head,.hr388-attendance-workspace .attendance-v337-history-row{display:grid;grid-template-columns:minmax(145px,1.15fr) minmax(95px,.82fr) minmax(72px,.58fr) minmax(105px,.85fr) minmax(92px,.76fr) minmax(92px,.76fr) minmax(100px,.82fr);align-items:center;gap:6px}.hr388-attendance-workspace .attendance-v337-history-head{min-height:33px;background:#f6f8fa;color:#748792;font-weight:850}.hr388-attendance-workspace .attendance-v337-history-row{border-top:1px solid #edf1f4;background:#fff}.hr388-attendance-workspace .attendance-v337-history-row>div{display:grid;gap:1px;min-width:0}.hr388-attendance-workspace .attendance-v337-history-row b{font-size:9.8px;color:#38566a;overflow-wrap:anywhere}.hr388-attendance-workspace .attendance-v337-history-row.has-issue{box-shadow:inset -2px 0 0 #d9a071}.hr388-attendance-workspace .attendance-status{display:inline-flex;width:max-content;max-width:100%;padding:3px 6px;border-radius:999px;background:#f1f5f7;color:#526b7b;font-size:9.5px;font-weight:850;white-space:normal;line-height:1.35}.hr388-attendance-workspace .attendance-v337-leave-list{overflow:hidden;border:1px solid #e0e8ed;border-radius:8px;background:#fff}.hr388-attendance-workspace .attendance-v337-leave-head,.hr388-attendance-workspace .attendance-v337-leave-row{display:grid;grid-template-columns:minmax(160px,1.3fr) minmax(125px,1fr) minmax(90px,.72fr) 70px 68px;align-items:center;gap:7px}.hr388-attendance-workspace .attendance-v337-leave-head{min-height:33px;padding:0 9px;background:#f6f8fa;color:#748792;font-size:9.5px;font-weight:850}.hr388-attendance-workspace .attendance-v337-leave-row{min-height:49px;padding:6px 9px;border-top:1px solid #edf1f4}.hr388-attendance-workspace .attendance-v337-leave-row>div:first-child,.hr388-attendance-workspace .attendance-v337-leave-row>div:nth-child(2){display:grid;gap:1px;min-width:0}.hr388-attendance-workspace .attendance-v337-leave-row b{font-size:9.8px;color:#37566a}.hr388-attendance-workspace .attendance-v337-leave-row small{font-size:9px;color:#8796a0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hr388-attendance-workspace .attendance-v337-pay-effect{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 6px;border-radius:999px;font-size:9px;font-weight:850;white-space:nowrap}.hr388-attendance-workspace .attendance-v337-pay-effect.is-paid{background:#eaf6ef;color:#357354}.hr388-attendance-workspace .attendance-v337-pay-effect.is-deduct{background:#fbecea;color:#a24d42}.hr388-attendance-workspace .attendance-v337-leave-attachments{display:flex;justify-content:center;gap:3px}.hr388-attendance-workspace .attendance-v337-leave-attachments .mini-action,.hr388-attendance-workspace .attendance-v110-row-danger{width:27px;height:27px;display:grid;place-items:center;border:1px solid #d8e3e9;border-radius:7px;background:#fff;color:#416981;cursor:pointer}.hr388-attendance-workspace .attendance-v110-row-danger{border-color:#efd8d4;background:#fff7f5;color:#a34d42}
/* Attendance drawers are intentionally flat and fully painted to avoid half-white/transparent panels. */
body .attendance-v110-drawer{background:#f7f9fb!important;border-right:1px solid #d8e2e9!important;box-shadow:18px 0 42px rgba(20,55,82,.16)!important}.attendance-v110-drawer>header{min-height:62px!important;padding:10px 13px!important;background:#fff!important;border-bottom:1px solid #dde6ec!important}.attendance-v110-drawer>header h2{font-size:13.5px!important;color:#244b64}.attendance-v110-drawer>header small{font-size:9.8px!important;color:#778b9a}.attendance-v110-drawer-icon{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:8px!important;background:#eef4f7!important;color:#326688!important}.attendance-v110-drawer>header>button{width:32px!important;height:32px!important;border:1px solid #dbe5eb!important;border-radius:8px!important;background:#fff!important;color:#526e80!important}.attendance-v110-drawer-body{padding:10px!important;background:#f7f9fb!important;overflow-y:auto!important;overflow-x:hidden!important}.attendance-v110-drawer-form,.attendance-v337-leave-drawer{display:grid;gap:9px}.attendance-v337-leave-form-card,.attendance-v337-leave-history,.attendance-v110-side-card{border:1px solid #dce5ec;border-radius:10px;background:#fff;overflow:hidden;box-shadow:none}.attendance-v337-leave-form-card>header,.attendance-v337-leave-history>header,.attendance-v110-side-card>header{display:flex;align-items:center;gap:8px;padding:9px 10px;border-bottom:1px solid #e5ecf1;background:#fbfcfd}.attendance-v337-leave-form-card h3,.attendance-v337-leave-history h3,.attendance-v110-side-card h3{margin:0;font-size:11px;color:#294d64}.attendance-v337-leave-form-card p{display:none}.attendance-v337-leave-form-card form{padding:10px!important;background:#fff}.attendance-v337-leave-history #leave-list{padding:8px;background:#fff}.attendance-v110-drawer .field label{font-size:9.8px!important;color:#526d7f!important}.attendance-v110-drawer :is(input,select,textarea){border-radius:8px!important;border-color:#d8e3e9!important;background:#fff!important;font-size:10.5px!important}.attendance-v110-drawer textarea{min-height:62px}.attendance-v110-policy-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.attendance-v110-policy-badges span{padding:7px;border:1px solid #e2e9ee;border-radius:8px;background:#fff;font-size:9.5px}.attendance-v110-policy-badges b{display:block;margin-top:2px;font-size:10px}.attendance-v110-inline-form{display:grid;grid-template-columns:1fr 1.35fr auto;gap:7px;align-items:end}.attendance-v110-compact-table{min-width:600px}.attendance-v110-schedule-table input[type="time"]{min-width:98px}.attendance-v110-drawer .form-footer{margin-top:8px;padding-top:8px;border-top:1px solid #e8edf1}.attendance-v110-primary{min-height:34px!important;border-radius:8px!important}.leave-hint{margin-top:7px!important;padding:7px 8px!important;border-radius:8px!important;font-size:9.8px!important}.leave-hint.paid{background:#edf8f1!important;color:#3c7255!important}.leave-hint.deduct{background:#fff0ed!important;color:#9a4c40!important}

/* v388 payroll: all active v338 DOM gets its layout from this canonical file. */
.v338-payroll-loading{min-height:180px;display:grid;place-items:center;align-content:center;gap:9px;color:#587184}.v338-payroll-loading>span{width:28px;height:28px;border:3px solid #d9e5ed;border-top-color:#2c668e;border-radius:50%;animation:v388PayrollSpin .8s linear infinite}@keyframes v388PayrollSpin{to{transform:rotate(360deg)}}.v338-payroll-section>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.v338-payroll-section-meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.v338-payroll-section-meta>b{min-height:24px;padding:0 7px;display:inline-flex;align-items:center;border-radius:999px;background:#edf4f8;color:#315c79;font-size:9.5px;white-space:nowrap}.v338-payroll-list-head,.v338-settlement-head{display:grid;align-items:center;gap:7px;padding:0 10px;background:#f5f8fa;color:#6e8495;font-weight:850;border-bottom:1px solid #dce6ed}.v338-payroll-list-head{grid-template-columns:minmax(145px,1.2fr) minmax(140px,1fr) 62px minmax(245px,1.7fr) minmax(90px,.7fr) minmax(140px,1fr)}.v338-payroll-run-row{position:relative;display:grid;grid-template-columns:minmax(145px,1.2fr) minmax(140px,1fr) 62px minmax(245px,1.7fr) minmax(90px,.7fr) minmax(140px,1fr);align-items:center;gap:7px;padding:7px 10px;border-bottom:1px solid #e4ebf0;background:#fff;overflow:visible}.v338-payroll-run-row:last-child{border-bottom:0}.v338-payroll-run-row::before{content:"";position:absolute;right:0;top:10px;bottom:10px;width:2px;border-radius:2px;background:#bdd2e0}.v338-payroll-run-row.has-error::before{background:#d55d55}.v338-payroll-run-row.has-warning::before{background:#d7a72d}.v338-payroll-run-row.is-success::before{background:#4d9a71}.v338-payroll-period,.v338-payroll-stage{min-width:0;display:grid;gap:2px}.v338-payroll-period>span{display:flex;align-items:center;gap:4px;font-size:9.5px;color:#60798b}.v338-payroll-period small,.v338-payroll-stage small{font-size:9px;color:#7f909c;line-height:1.45}.v338-payroll-people{text-align:center;display:grid;justify-items:center;gap:1px}.v338-payroll-people b{font-size:13px;color:#173f61}.v338-payroll-people small{font-size:9px;color:#7b8f9e}.v338-payroll-money{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0}.v338-payroll-money>span{min-width:0;display:grid;gap:1px;padding:4px 5px;border-radius:7px;background:#f6f8fa}.v338-payroll-money small{font-size:8.8px;color:#758999}.v338-payroll-money .is-net{background:#edf8f2}.v338-payroll-checks{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap}.v338-payroll-checks>span{min-height:22px;padding:2px 6px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:9px;font-weight:850;white-space:nowrap}.v338-payroll-checks .is-error{background:#fff0ef;color:#9d3833}.v338-payroll-checks .is-warning{background:#fff6df;color:#765500}.v338-payroll-checks .is-ok{background:#eaf8f0;color:#17623e}.v338-payroll-row-actions,.v338-payroll-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;min-width:0!important;overflow:visible!important}.v338-payroll-primary-action{height:31px;min-width:0;max-width:132px;padding:0 8px;border:1px solid #c8d7e2;border-radius:7px;background:#fff;color:#284d69;font:inherit;font-size:9.5px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;cursor:pointer}.v338-payroll-primary-action.is-primary{background:#173f61;border-color:#173f61;color:#fff}.v338-payroll-primary-action.is-danger{background:#fff1f0;border-color:#e8bbb7;color:#973a34}.v338-settlement-head{grid-template-columns:minmax(115px,.9fr) minmax(150px,1.25fr) minmax(100px,.75fr) minmax(115px,.9fr) minmax(135px,1fr) 110px}.v338-settlement-row{display:grid;grid-template-columns:minmax(115px,.9fr) minmax(150px,1.25fr) minmax(100px,.75fr) minmax(115px,.9fr) minmax(135px,1fr) 110px;align-items:center;gap:7px;padding:7px 10px;border-bottom:1px solid #e5edf2;background:#fff}.v338-settlement-row:last-child{border-bottom:0}.v338-settlement-row>div{min-width:0}.v338-settlement-row small{font-size:9px;color:#7b8f9e}.v338-settlement-row time{font-size:9.5px;color:#365b74}.v338-settlement-open{height:30px;width:100%;padding:0 8px;border:1px solid #c8dae6;border-radius:7px;background:#fff;color:#245f88;font:inherit;font-size:9.5px;font-weight:850;cursor:pointer}.v338-payroll-empty{min-height:88px;display:flex;align-items:center;justify-content:center;gap:9px;padding:14px;text-align:right;color:#5f7688}.v338-payroll-empty>span{width:34px;height:34px;min-width:34px;display:grid;place-items:center;border-radius:9px;background:#edf5f9;color:#3b6e8e}.v338-payroll-empty>span svg{width:17px;height:17px}.v338-payroll-empty>div{display:grid;gap:2px}.v338-payroll-empty b{font-size:10.5px;color:#294f6a}.v338-payroll-empty small{font-size:9.5px;color:#758a9a}.v338-payroll-error{min-height:88px;display:grid;place-items:center;align-content:center;gap:5px;padding:14px;color:#913d37;font-size:10px}
#modal[data-modal-kind="payroll-create-v338"]{width:min(92vw,650px)!important;max-width:650px!important}#modal[data-modal-kind="payroll-create-v338"] .modal-body{overflow-y:auto!important;max-height:70vh!important}.v338-payroll-create-intro{display:flex;align-items:center;gap:8px;margin-bottom:9px;padding:8px 9px;border:1px solid #d8e4ec;border-radius:8px;background:#f7fafc}.v338-payroll-create-intro>span{width:30px;height:30px;min-width:30px;display:grid;place-items:center;border-radius:7px;background:#e8f3f9;color:#2c648a}.v338-payroll-create-intro b{font-size:10.5px;color:#214a66}.v338-payroll-create-intro small{font-size:9.5px;color:#718695}
#modal[data-modal-kind="payroll-detail-v338"]{width:min(95vw,1200px)!important;max-width:1200px!important;max-height:94vh!important}#modal[data-modal-kind="payroll-detail-v338"] .modal-body{max-height:calc(94vh - 132px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:11px!important}.v338-payroll-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:7px}.v338-payroll-detail-summary article{min-height:54px;display:grid;align-content:center;gap:2px;padding:7px 9px;border:1px solid #d8e3ea;border-radius:8px;background:#f8fbfc}.v338-payroll-detail-summary small{font-size:9px;color:#778b99}.v338-payroll-detail-summary b{font-size:11px;color:#214963;overflow-wrap:anywhere}.v338-payroll-detail-summary article.is-net{background:#edf8f2;border-color:#cce4d6}.v338-payroll-detail-summary article.is-net b{color:#17623e}.v338-payroll-policy,.v338-payroll-blocker{display:flex;align-items:flex-start;gap:6px;margin-bottom:6px;padding:6px 8px;border-radius:8px;font-size:9.5px;line-height:1.55}.v338-payroll-blocker{border:1px solid #efcac7;background:#fff4f3;color:#8f3933}.v338-payroll-detail-toolbar{position:sticky;top:-11px;z-index:5;min-height:48px;display:grid;grid-template-columns:minmax(165px,1fr) minmax(210px,340px) auto;align-items:center;gap:8px;padding:6px 8px;border:1px solid #dce6ed;border-radius:8px 8px 0 0;background:rgba(255,255,255,.98)}.v338-payroll-detail-toolbar>div{display:grid;gap:1px}.v338-payroll-detail-toolbar>div b{font-size:10px;color:#214963}.v338-payroll-detail-toolbar>div small{font-size:9px;color:#7a8e9c}.v338-payroll-detail-toolbar label{position:relative;display:flex;align-items:center}.v338-payroll-detail-toolbar label>span{position:absolute;right:9px;display:grid;place-items:center;color:#6e8494;pointer-events:none}.v338-payroll-detail-toolbar input{width:100%;height:32px;padding:0 31px 0 9px;border:1px solid #ccdbe5;border-radius:7px;background:#fff;font:inherit;font-size:9.8px}.v338-payroll-detail-toolbar>b{font-size:9.5px;color:#486b83;white-space:nowrap}.v338-payroll-detail-control{min-width:0;display:grid;gap:1px;font-size:9px;line-height:1.4;color:#765500;max-height:48px;overflow:auto}#modal.v286-settlement-modal{width:min(94vw,1080px)!important;max-width:1080px!important;max-height:94vh!important}#modal.v286-settlement-modal .modal-body{max-height:calc(94vh - 132px)!important;overflow-y:auto!important;overflow-x:hidden!important}#modal.v286-settlement-modal .v286-settlement-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important}
@media(max-width:1240px){.hr388-attendance-workspace .attendance-v337-day-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.v338-payroll-list-head,.v338-payroll-run-row{grid-template-columns:minmax(140px,1.15fr) minmax(130px,1fr) 58px minmax(225px,1.55fr) minmax(85px,.68fr) minmax(125px,.9fr)}.v338-payroll-detail-head,.v338-payroll-detail-row{grid-template-columns:minmax(130px,1fr) minmax(220px,1.6fr) minmax(100px,.8fr) minmax(105px,.8fr) minmax(130px,1fr) 36px}}
@media(max-width:900px){.hr388-attendance-workspace .attendance-v337-week-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.hr388-attendance-workspace .attendance-v337-history-head{display:none}.hr388-attendance-workspace .attendance-v337-history-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.hr388-attendance-workspace .attendance-v337-leave-head{display:none}.hr388-attendance-workspace .attendance-v337-leave-row{grid-template-columns:minmax(0,1fr) auto 65px;grid-template-areas:"period effect ops" "type attachment ops"}.hr388-attendance-workspace .attendance-v337-leave-row>div:first-child{grid-area:period}.hr388-attendance-workspace .attendance-v337-leave-row>div:nth-child(2){grid-area:type}.hr388-attendance-workspace .attendance-v337-leave-row>div:nth-child(3){grid-area:effect}.hr388-attendance-workspace .attendance-v337-leave-attachments{grid-area:attachment;justify-content:flex-start}.hr388-attendance-workspace .attendance-v337-leave-row>div:last-child{grid-area:ops}.v338-payroll-section{overflow-x:auto}.v338-payroll-list-head,.v338-payroll-run-row{min-width:850px}.v338-settlement-head,.v338-settlement-row{min-width:760px}.v338-payroll-detail-list{overflow-x:auto}.v338-payroll-detail-head,.v338-payroll-detail-row{min-width:900px}.v338-payroll-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.v338-payroll-detail-toolbar{grid-template-columns:1fr 1fr}.v338-payroll-detail-toolbar>b{grid-column:1/-1}}
@media(max-width:560px){.hr388-attendance-workspace .attendance-v337-week-summary{grid-template-columns:1fr 1fr}.hr388-attendance-workspace .attendance-v337-day-grid{grid-template-columns:1fr}.hr388-attendance-workspace .attendance-v337-history-row{grid-template-columns:1fr 1fr}.attendance-v110-drawer{width:100vw!important}.attendance-v110-policy-badges{grid-template-columns:1fr}.attendance-v110-inline-form{grid-template-columns:1fr}.v338-payroll-detail-summary{grid-template-columns:1fr}.v338-payroll-detail-toolbar{grid-template-columns:1fr}}

/* ===== SOURCE: tiam-brokerage-support-v390.css | sha256:d0d46b5500e691bd25925325e312d004e5fb47ad5695aa31b477baec95d8a3e7 ===== */
/* TIAM v390 — canonical brokerage-support workspace.
   This file replaces the former v355 visual layer; it does not depend on v355 CSS. */
:root{
  --v390-navy:#173b5b;
  --v390-ink:#183042;
  --v390-muted:#687b89;
  --v390-line:#d8e1e7;
  --v390-canvas:#f4f6f5;
  --v390-surface:#ffffff;
  --v390-teal:#17766f;
  --v390-teal-soft:#e7f4f1;
  --v390-blue:#286d9d;
  --v390-blue-soft:#eaf3f9;
  --v390-amber:#a86a09;
  --v390-amber-soft:#fff3d9;
  --v390-red:#a5433d;
  --v390-red-soft:#fae9e6;
  --v390-green:#3e7d58;
  --v390-green-soft:#eaf5ed;
  --v390-purple:#6f5b94;
  --v390-purple-soft:#f0ebf8;
  --v390-warm:#f5efe7;
}

.v390-support-page{display:grid;gap:12px;min-width:0;color:var(--v390-ink)}
.v390-support-context{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #d6e1df;border-radius:14px;background:linear-gradient(110deg,#eef7f5 0%,#f7f4ed 100%)}
.v390-support-context>div:first-child{display:flex;align-items:center;gap:9px;min-width:0}.v390-support-context b{font-size:14px}.v390-context-mark{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--v390-teal-soft);color:var(--v390-teal);font-size:11.5px;font-weight:800;border:1px solid #bfdfd9}
.v390-context-actions{display:flex;align-items:center;gap:8px}.v390-commission-chip{display:flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #ead8b7;border-radius:11px;background:#fff8e9;color:#6f521f}.v390-commission-chip small{font-size:11px}.v390-commission-chip b{font-size:12.5px}.v390-refresh-btn{width:34px;height:34px;display:grid;place-items:center;border:1px solid #cbd8df;border-radius:10px;background:#fff;color:var(--v390-blue);font:700 19px/1 inherit;cursor:pointer}.v390-refresh-btn:hover{background:var(--v390-blue-soft)}

.v390-support-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v390-support-summary article{min-height:64px;padding:9px 12px;border-radius:13px;border:1px solid transparent;display:flex;align-items:center;justify-content:space-between;gap:12px}.v390-support-summary article span{font-size:12px;font-weight:650}.v390-support-summary article b{font-size:21px;line-height:1}.v390-support-summary .tone-blue{background:var(--v390-blue-soft);border-color:#cfe3f0;color:#245b7d}.v390-support-summary .tone-amber{background:var(--v390-amber-soft);border-color:#f0d69b;color:#805207}.v390-support-summary .tone-red{background:var(--v390-red-soft);border-color:#efc5bf;color:#8d3833}.v390-support-summary .tone-green{background:var(--v390-green-soft);border-color:#cbe5d3;color:#356d4c}

.v390-support-toolbar{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(130px,.72fr)) auto;gap:8px;align-items:end;padding:9px;border:1px solid var(--v390-line);border-radius:13px;background:#fbfcfc}.v390-support-toolbar label{display:grid;gap:4px;min-width:0}.v390-support-toolbar label>span{font-size:10.8px;color:var(--v390-muted);font-weight:700}.v390-support-toolbar input,.v390-support-toolbar select{width:100%;min-height:36px;border:1px solid #ccd8df;border-radius:9px;background:#fff;color:var(--v390-ink);padding:6px 9px;font:inherit;font-size:12px}.v390-support-toolbar input:focus,.v390-support-toolbar select:focus{outline:2px solid rgba(40,109,157,.18);border-color:#7ba9c7}.v390-visible-count{min-height:36px;display:flex;align-items:center;gap:4px;padding:0 9px;border:1px solid #d6e1df;border-radius:9px;background:var(--v390-teal-soft);white-space:nowrap;color:var(--v390-teal)}.v390-visible-count small,.v390-visible-count span{font-size:10.8px}.v390-visible-count b{font-size:14px}

.v390-support-table{border:1px solid var(--v390-line);border-radius:14px;overflow:hidden;background:#fff}.v390-support-head,.v390-support-row{display:grid;grid-template-columns:1.35fr .85fr .86fr 1.05fr .9fr .72fr .82fr;align-items:center;gap:9px}.v390-support-head{min-height:38px;padding:7px 11px;background:#eef2f3;border-bottom:1px solid var(--v390-line);color:#5b6f7d;font-size:11.5px;font-weight:750}.v390-support-row{position:relative;min-height:68px;padding:8px 11px;border-bottom:1px solid #edf0f2;cursor:pointer;transition:background .15s ease,box-shadow .15s ease}.v390-support-row:last-of-type{border-bottom:0}.v390-support-row::before{content:"";position:absolute;inset-block:8px;inset-inline-start:0;width:3px;border-radius:0 4px 4px 0;background:#cfd8de}.v390-support-row.priority-overdue::before{background:var(--v390-red)}.v390-support-row.priority-callback::before{background:var(--v390-amber)}.v390-support-row.priority-due::before{background:var(--v390-blue)}.v390-support-row.priority-done::before{background:var(--v390-green)}.v390-support-row:hover{background:#f8fbfc;box-shadow:inset 0 0 0 1px #dbe6ec}.v390-support-row:focus-visible{outline:2px solid #6d9fbd;outline-offset:-2px}
.v390-customer-cell,.v390-branch-cell,.v390-contact-time,.v390-result-cell{min-width:0;display:grid;gap:2px}.v390-customer-cell b{font-size:13px}.v390-customer-cell span{font-size:11.5px;color:#365b73}.v390-customer-cell small,.v390-branch-cell small,.v390-contact-time small,.v390-result-cell small{font-size:10.7px;color:var(--v390-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v390-branch-cell b,.v390-contact-time b,.v390-result-cell b{font-size:11.7px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v390-status-pill{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;min-height:27px;padding:3px 8px;border-radius:999px;border:1px solid #d4dce2;font-size:10.8px;font-weight:800;white-space:nowrap;background:#f4f6f7;color:#52636f}.v390-status-pill.is-info{background:var(--v390-blue-soft);border-color:#c8dfed;color:#275f83}.v390-status-pill.is-due{background:#e9f6f8;border-color:#c2e3e8;color:#196a75}.v390-status-pill.is-callback{background:var(--v390-amber-soft);border-color:#ebd08e;color:#87570a}.v390-status-pill.is-success{background:var(--v390-green-soft);border-color:#c7e1cf;color:#39714f}.v390-status-pill.is-manager{background:var(--v390-purple-soft);border-color:#d9ccef;color:#655184}.v390-sla{display:inline-flex;align-items:center;min-height:26px;padding:3px 7px;border-radius:8px;background:#f1f4f5;color:#627482;font-size:10.7px;font-weight:750}.v390-sla.is-overdue{background:var(--v390-red-soft);color:var(--v390-red);border:1px solid #efc3bd}
.v390-row-actions{display:flex;align-items:center;justify-content:flex-start;gap:5px}.v390-call-btn,.v390-open-btn{min-height:34px;border-radius:9px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.v390-call-btn{padding:0 9px;background:var(--v390-teal-soft);border-color:#baddd6;color:var(--v390-teal)}.v390-call-btn:hover{background:#d8eee9}.v390-call-btn svg,.v390-open-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.v390-call-btn.is-disabled{opacity:.48;cursor:not-allowed}.v390-open-btn{width:34px;padding:0;background:#f1f4f6;border-color:#d7e0e5;color:#526a7a}.v390-open-btn:hover{background:#e8eef2}.v390-filter-empty{padding:22px;text-align:center;color:var(--v390-muted);font-size:12px;background:#fafbfb}

.v390-support-manager-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d7e1e3;border-radius:12px;background:linear-gradient(110deg,#eef7f5,#fff8e9)}.v390-support-manager-entry>div{display:flex;align-items:center;gap:8px}.v390-support-manager-entry span{font-size:11px;color:var(--v390-teal);font-weight:800}.v390-support-manager-entry b{font-size:12.5px}.v390-support-manager-entry button{min-height:34px;padding:0 11px;border:1px solid #b9d9d3;border-radius:9px;background:#fff;color:var(--v390-teal);font:inherit;font-size:11.5px;font-weight:800;cursor:pointer}
.v390-support-loading,.v390-support-error{padding:24px;border:1px solid var(--v390-line);border-radius:13px;background:#fff;font-size:12px;color:var(--v390-muted)}.v390-support-error{background:var(--v390-red-soft);border-color:#efc3bd;color:var(--v390-red)}

/* Case modal */
#modal.v390-support-modal{width:min(1000px,calc(100vw - 30px))}
#modal.v390-support-modal #modal-body{padding:10px;background:#f1f4f4;font-size:12px;line-height:1.6}
#modal.v390-support-modal #modal-actions{background:#f7f8f7}
#modal.v390-support-modal .data-table th,#modal.v390-support-modal .data-table td{font-size:11.5px;line-height:1.45;padding:7px 8px}
.v390-support-case{display:grid;gap:9px}.v390-case-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid #d7dfdc;border-radius:14px;background:linear-gradient(115deg,#f5efe7 0%,#edf7f4 100%)}.v390-case-identity{min-width:0}.v390-case-identity small{font-size:10.8px;color:#72828a}.v390-case-identity h3{margin:2px 0 4px;font-size:17px;color:var(--v390-ink)}.v390-case-meta{display:flex;flex-wrap:wrap;gap:6px 12px;color:#506773;font-size:11.3px}.v390-case-primary{display:flex;align-items:center;gap:8px;flex:0 0 auto}.v390-case-primary .v390-call-btn{min-height:38px;background:var(--v390-teal);border-color:var(--v390-teal);color:#fff}.v390-case-primary .v390-call-btn:hover{background:#126760}
.v390-case-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.v390-case-strip>div{min-width:0;padding:8px 9px;border:1px solid #dbe3e6;border-radius:10px;background:#fff}.v390-case-strip>div:nth-child(1){background:#fff8e9;border-color:#ead9b9}.v390-case-strip>div:nth-child(2){background:#edf5fa;border-color:#cee0ea}.v390-case-strip>div:nth-child(3){background:#edf7f4;border-color:#cde3dc}.v390-case-strip>div:nth-child(4){background:#f3eff8;border-color:#ddd2ea}.v390-case-strip small{display:block;font-size:10.5px;color:#6c7d87;margin-bottom:2px}.v390-case-strip b{display:block;font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v390-case-tabs{display:flex;gap:5px;padding:4px;border:1px solid #d9e1e5;border-radius:11px;background:#e9edef}.v390-case-tabs button{flex:1;min-height:34px;border:0;border-radius:8px;background:transparent;color:#5c6f7b;font:inherit;font-size:11.5px;font-weight:750;cursor:pointer}.v390-case-tabs button.is-active{background:#fff;color:var(--v390-ink);box-shadow:0 1px 4px rgba(24,48,66,.1)}
.v390-case-panel{display:grid;gap:9px;padding:10px;border:1px solid #d9e1e4;border-radius:13px;background:#fff}.v390-case-panel[hidden]{display:none}
.v390-call-focus{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:1px solid #bfe0d9;border-radius:12px;background:var(--v390-teal-soft)}.v390-call-focus>div{display:flex;align-items:center;gap:9px}.v390-call-focus-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#fff;color:var(--v390-teal);border:1px solid #c5e0db}.v390-call-focus-icon svg{width:19px;height:19px}.v390-call-focus b{display:block;font-size:12.5px;color:#245f59}.v390-call-focus small{display:block;margin-top:1px;font-size:10.8px;color:#66817d}.v390-call-focus .v390-call-btn{min-height:36px;background:var(--v390-teal);color:#fff;border-color:var(--v390-teal)}
.v390-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v390-contact-form label{display:grid;gap:4px}.v390-contact-form label>span{font-size:10.8px;color:#60717b;font-weight:750}.v390-contact-form select,.v390-contact-form input,.v390-contact-form textarea{width:100%;min-height:36px;padding:7px 9px;border:1px solid #ccd8de;border-radius:9px;background:#fff;font:inherit;font-size:11.7px}.v390-contact-form textarea{min-height:64px;resize:vertical}.v390-contact-form :is(input,select,textarea):focus-visible{outline:2px solid rgba(40,109,157,.2);outline-offset:1px;border-color:#76a6c4}.v390-contact-form [name="next_contact_at"].is-required{border-color:#d19a35;background:#fffaf0}.v390-contact-form .is-wide{grid-column:1/-1}.v390-contact-submit{display:flex;justify-content:flex-start}.v390-contact-submit .btn{min-width:128px}.v390-recent-head,.v390-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.v390-recent-head h4,.v390-section-head h4{margin:0;font-size:12.5px;color:var(--v390-ink)}.v390-recent-head small,.v390-section-head small{font-size:10.7px;color:var(--v390-muted)}.v390-contacts-table{max-height:230px}.v390-note-cell{white-space:normal!important;min-width:180px;text-align:right!important}
.v390-customer-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.v390-customer-facts>div{padding:8px 9px;border:1px solid #dbe3e5;border-radius:10px;background:#f8faf9}.v390-customer-facts>div:nth-child(1){background:#edf5fa}.v390-customer-facts>div:nth-child(2){background:#fff7e7}.v390-customer-facts>div:nth-child(3){background:#eef7f4}.v390-customer-facts .is-wide{grid-column:1/-1}.v390-customer-facts small{display:block;font-size:10.5px;color:var(--v390-muted)}.v390-customer-facts b{display:block;margin-top:2px;font-size:11.6px;font-weight:700;white-space:normal}.v390-edit-details,.v390-history-group{border:1px solid #d9e2e5;border-radius:10px;background:#fafbfb;overflow:hidden}.v390-edit-details>summary,.v390-history-group>summary{padding:9px 10px;cursor:pointer;font-size:11.5px;font-weight:800;color:#516975;list-style:none}.v390-edit-details>summary::-webkit-details-marker,.v390-history-group>summary::-webkit-details-marker{display:none}.v390-edit-details[open]>summary,.v390-history-group[open]>summary{border-bottom:1px solid #dce4e7;background:#f0f4f5}.v390-edit-details form{padding:9px}.v390-edit-details>.btn{margin:0 9px 9px}.v390-services-block{display:grid;gap:7px;padding-top:3px}.v390-service-list{display:flex;flex-wrap:wrap;gap:6px}.v390-service-chip{position:relative}.v390-service-chip input{position:absolute;opacity:0;pointer-events:none}.v390-service-chip span{display:inline-flex;align-items:center;min-height:30px;padding:4px 9px;border:1px solid #d2dce0;border-radius:999px;background:#f7f9fa;color:#526875;font-size:10.8px;font-weight:700;cursor:pointer}.v390-service-chip input:checked+span{border-color:#9dcfc5;background:var(--v390-teal-soft);color:var(--v390-teal)}
.v390-history-group>div,.v390-history-group>ol{margin:0;padding:9px}.v390-payment-list,.v390-entitlement-list{display:grid;gap:6px;padding:8px}.v390-payment-item,.v390-entitlement-list>div{padding:8px 9px;border:1px solid #dbe3e6;border-radius:9px;background:#fff}.v390-payment-item>div,.v390-entitlement-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.v390-payment-item details{margin-top:8px}.v390-payment-item summary{cursor:pointer;font-size:10.8px;color:#526a78}.v390-entitlement-list>small{font-size:10.6px;color:var(--v390-muted)}.v390-timeline{list-style:none;display:grid;gap:0}.v390-timeline li{display:grid;grid-template-columns:135px minmax(0,1fr);gap:10px;padding:8px;border-bottom:1px solid #e5eaec}.v390-timeline li:last-child{border-bottom:0}.v390-timeline time{font-size:10.6px;color:#758690;direction:ltr;text-align:right}.v390-timeline div{display:grid;gap:2px}.v390-timeline b{font-size:11.5px}.v390-timeline span,.v390-timeline small{font-size:10.7px;color:#667985;white-space:normal}.v390-case-link{border:0;background:transparent;padding:0;color:var(--v390-blue);font:inherit;font-weight:800;cursor:pointer}.v390-case-link+small{display:block;margin-top:2px;font-size:10.5px;color:var(--v390-muted)}.v390-manager-assign{display:flex;gap:5px;align-items:center}.v390-manager-assign select{min-width:150px}

@media(max-width:1180px){.v390-support-toolbar{grid-template-columns:minmax(200px,1.2fr) repeat(2,minmax(130px,.7fr)) auto}.v390-support-toolbar label:nth-of-type(4){grid-column:2}.v390-support-head,.v390-support-row{grid-template-columns:1.35fr .8fr .9fr 1fr .85fr .75fr}.v390-support-head>span:nth-child(2),.v390-support-row>.v390-branch-cell{display:none}}
@media(max-width:900px){.v390-support-summary{grid-template-columns:repeat(3,1fr)}.v390-support-toolbar{grid-template-columns:1fr 1fr}.v390-support-toolbar .v390-search{grid-column:1/-1}.v390-visible-count{justify-content:center}.v390-support-head{display:none}.v390-support-row{grid-template-columns:1fr auto;gap:7px;min-height:0;padding:10px}.v390-support-row>*{min-width:0}.v390-support-row>.v390-customer-cell{grid-column:1}.v390-support-row>.v390-row-actions{grid-column:2;grid-row:1}.v390-support-row>.v390-branch-cell{display:grid;grid-column:1}.v390-support-row>div:nth-child(3),.v390-support-row>.v390-contact-time,.v390-support-row>.v390-result-cell,.v390-support-row>div:nth-child(6){grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}.v390-case-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.v390-support-context{align-items:flex-start;flex-direction:column}.v390-context-actions{width:100%;justify-content:space-between}.v390-support-summary{grid-template-columns:1fr}.v390-support-summary article{min-height:54px}.v390-support-toolbar{grid-template-columns:1fr}.v390-support-toolbar .v390-search{grid-column:auto}.v390-support-toolbar label:nth-of-type(4){grid-column:auto}.v390-case-hero{align-items:flex-start;flex-direction:column}.v390-case-primary{width:100%;justify-content:space-between}.v390-case-strip{grid-template-columns:1fr}.v390-case-tabs{overflow:auto}.v390-case-tabs button{min-width:110px}.v390-contact-form{grid-template-columns:1fr}.v390-contact-form .is-wide{grid-column:auto}.v390-customer-facts{grid-template-columns:1fr}.v390-customer-facts .is-wide{grid-column:auto}.v390-call-focus{align-items:flex-start;flex-direction:column}.v390-call-focus .v390-call-btn{width:100%}.v390-timeline li{grid-template-columns:1fr;gap:3px}.v390-timeline time{text-align:right}.v390-manager-assign{align-items:stretch;flex-direction:column}}

/* ===== SOURCE: tiam-brokerage-v391.css | sha256:921552c9dc6a92d20d9d0ce976ece0fcdc905a219fe4d084072612c981a618f3 ===== */
/* TIAM v391 — Brokerage cases operational redesign
   Canonical UI for the brokerage case list, case workspace and field manager.
   Legacy bcv282 / v333 list styling is intentionally removed from its source files. */

body[data-page="brokerage"] .brokerage-v285-page{gap:10px}
body[data-page="brokerage"] .brokerage-v285-table-card.bc391-table-card{padding:10px;border:1px solid #d9e3eb;border-radius:16px;background:#f8fafc;box-shadow:0 8px 26px rgba(18,49,75,.08);overflow:hidden}
body[data-page="brokerage"] .brokerage-v285-table-head{min-height:46px;padding:4px 4px 10px}
body[data-page="brokerage"] .brokerage-v285-table-head h2{font-size:16px!important;font-weight:800!important;color:#17324d}
body[data-page="brokerage"] .brokerage-v285-table-head span{font-size:13px!important;color:#66798c!important}
body[data-page="brokerage"] .bc391-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #dbe5ec;border-radius:13px;background:#fff}
body[data-page="brokerage"] .brokerage-row-list{min-width:var(--bc391-min,760px);width:100%;border:0;border-radius:0;background:#fff;overflow:visible}
body[data-page="brokerage"] .brokerage-row-list-head,
body[data-page="brokerage"] .brokerage-case-row{display:grid;align-items:center;gap:10px;min-width:0}
body[data-page="brokerage"] .brokerage-row-list-head{min-height:42px;padding:7px 12px;border-bottom:1px solid #dbe5ec;background:#edf3f7;color:#41576b;font-size:13px!important;font-weight:800}
body[data-page="brokerage"] .brokerage-row-list-head>span:last-child{text-align:center}
body[data-page="brokerage"] .brokerage-case-row,
body[data-page="brokerage"] .brokerage-case-row:nth-child(even){min-height:60px;padding:8px 12px;border:0;border-bottom:1px solid #e5ebf0;border-radius:0;background:#fff!important;box-shadow:none!important;cursor:pointer;outline:none;transition:background .14s ease,box-shadow .14s ease}
body[data-page="brokerage"] .brokerage-case-row:last-child{border-bottom:0}
body[data-page="brokerage"] .brokerage-case-row:hover{background:#f5f9fc!important}
body[data-page="brokerage"] .brokerage-case-row:focus-visible{box-shadow:inset 0 0 0 2px #4c93c7!important}
body[data-page="brokerage"] .bc391-list-cell{min-width:0;font-size:14px;color:#20384e}
body[data-page="brokerage"] .bc391-customer{display:grid;gap:3px;min-width:0}
body[data-page="brokerage"] .bc391-customer b{font-size:14.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#152f47}
body[data-page="brokerage"] .bc391-customer small{font-size:13px!important;color:#708396!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="brokerage"] .bc391-cell-text{display:block;min-width:0;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#334c62}
body[data-page="brokerage"] .bc391-money{font-size:14px;color:#21513e;white-space:nowrap}
body[data-page="brokerage"] .bc391-money small{font-size:12.5px!important;font-weight:650;color:#6b7f71!important}
body[data-page="brokerage"] .brokerage-status-pill{min-height:29px!important;padding:4px 10px!important;font-size:13px!important;font-weight:800!important;border-radius:999px!important}
.bc391-state-chip{display:inline-flex;align-items:center;justify-content:center;min-height:29px;padding:4px 10px;border:1px solid transparent;border-radius:999px;font-size:13px;font-weight:800;white-space:nowrap}
.bc391-state-chip.is-signed,.bc391-state-chip.is-paid,.bc391-state-chip.is-accepted{background:#dcfce7;border-color:#86efac;color:#166534}
.bc391-state-chip.is-unsigned,.bc391-state-chip.is-unpaid{background:#fff0e1;border-color:#fdba74;color:#9a4512}
.bc391-state-chip.is-rejected{background:#fee2e2;border-color:#fca5a5;color:#991b1b}
.bc391-state-chip.is-unknown{background:#eef2f6;border-color:#cbd5e1;color:#536475}
body[data-page="brokerage"] .bc391-multi{display:flex;gap:4px;flex-wrap:wrap}.bc391-multi i{font-style:normal;padding:3px 7px;border-radius:999px;background:#e8f4f5;color:#17646a;font-size:12.5px}
body[data-page="brokerage"] .bc391-attachment{display:flex;align-items:center;gap:5px;font-size:13px;color:#315d84}.bc391-attachment svg{width:16px;height:16px}
body[data-page="brokerage"] .brokerage-row-actions{display:flex;justify-content:center;align-items:center;gap:6px;min-width:0}
body[data-page="brokerage"] .brokerage-row-icon-btn{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important}
body[data-page="brokerage"] .brokerage-row-icon-btn svg{width:18px!important;height:18px!important}
body[data-page="brokerage"] .brokerage-v285-summary small{font-size:13px!important}
body[data-page="brokerage"] .brokerage-v285-summary b{font-size:17px!important}
body[data-page="brokerage"] .brokerage-v285-search-field input{font-size:14px!important}

/* Case workspace */
#modal.brokerage-case-v391-theme{width:min(1480px,calc(100vw - 28px));height:min(920px,calc(100vh - 22px));max-width:none!important;border-radius:22px;overflow:hidden!important;background:#eef3f7}
#modal.brokerage-case-v391-theme>.modal-head{display:none!important}
#modal.brokerage-case-v391-theme>.modal-body{min-height:0!important;max-height:none!important;height:auto!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;background:#eef3f7}
#modal.brokerage-case-v391-theme>.modal-actions{position:sticky!important;bottom:0!important;z-index:8!important;min-height:58px;height:auto!important;padding:8px 16px;display:flex!important;align-items:center!important;gap:8px!important;border-top:1px solid #d2dde6;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)!important;box-shadow:0 -8px 22px rgba(25,56,82,.08)}
#modal.brokerage-case-v391-theme>.modal-actions .btn{min-height:40px;padding:0 16px;font-size:14px;font-weight:700!important}
.bcv391-shell{min-height:100%;background:#eef3f7;color:#1c344a}
.bcv391-form{display:grid;gap:12px;padding:12px}
.bcv391-head{position:sticky;top:0;z-index:7;display:grid;grid-template-columns:minmax(280px,1fr) auto auto;align-items:center;gap:14px;padding:12px 14px;border:1px solid #d6e0e8;border-radius:17px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);box-shadow:0 8px 24px rgba(21,56,84,.09)}
.bcv391-identity{display:flex;align-items:center;gap:11px;min-width:0}
.bcv391-file-icon{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:13px;background:#e5f1fa;color:#276b9d}.bcv391-file-icon svg{width:24px;height:24px}
.bcv391-identity small{display:block;font-size:13px;font-weight:700;color:#63798d}.bcv391-identity h2{margin:1px 0;font-size:21px;line-height:1.3;font-weight:850;color:#17324d}.bcv391-head-meta{display:flex;align-items:center;gap:7px;color:#5e7385;font-size:13.5px}.bcv391-head-meta i{width:4px;height:4px;border-radius:50%;background:#9dafbd}
.bcv391-head-states{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}.bcv391-head-states .brokerage-status-pill,.bcv391-head-states .bc391-state-chip{font-size:13px!important;min-height:29px!important}
.bcv391-head-actions{display:flex;align-items:center;gap:7px}.bcv391-call{height:40px;padding:0 13px;display:flex;align-items:center;gap:7px;border:0;border-radius:11px;background:#0f766e;color:#fff;text-decoration:none;font-size:14px;font-weight:800;box-shadow:0 6px 15px rgba(15,118,110,.20)}.bcv391-call svg{width:19px;height:19px;stroke:currentColor}.bcv391-close{width:40px;height:40px;border:1px solid #c9d5df;border-radius:11px;background:#fff;color:#41596e;font-size:24px;line-height:1;cursor:pointer}
.bcv391-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px}
.bcv391-summary article{position:relative;min-height:88px;padding:13px 15px;display:grid;align-content:center;gap:2px;border-radius:16px;color:#fff;overflow:hidden;box-shadow:0 9px 22px rgba(28,61,88,.12)}
.bcv391-summary article::after{content:"";position:absolute;inset-inline-end:-25px;bottom:-45px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.12)}
.bcv391-summary .tone-blue{background:linear-gradient(135deg,#2474c6,#2d8bd5)}
.bcv391-summary .tone-green{background:linear-gradient(135deg,#16865e,#25a879)}
.bcv391-summary .tone-amber{background:linear-gradient(135deg,#b86712,#db8e24)}
.bcv391-summary .tone-purple{background:linear-gradient(135deg,#6d4cc5,#8b65d8)}
.bcv391-summary small{position:relative;z-index:1;font-size:13px;font-weight:700;color:rgba(255,255,255,.84)}
.bcv391-summary b{position:relative;z-index:1;font-size:17px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcv391-summary b em{font-style:normal;font-size:12.5px;font-weight:650}.bcv391-summary span{position:relative;z-index:1;font-size:13px;color:rgba(255,255,255,.82);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bcv391-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(310px,.82fr);gap:12px;align-items:start;min-height:0}
.bcv391-main,.bcv391-sidebar{display:grid;gap:12px;min-width:0}.bcv391-sidebar{position:relative}
.bcv391-section{min-width:0;padding:14px;border:1px solid #d8e2ea;border-radius:17px;background:#fff;box-shadow:0 6px 18px rgba(30,61,85,.06)}
.bcv391-section>header{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.bcv391-section>header small{display:block;font-size:13px;font-weight:700;color:#718495}.bcv391-section>header h3{margin:0;font-size:16px;font-weight:850;color:#1d3a52}.bcv391-section>header>svg{width:23px;height:23px;color:#4c82ad}.bcv391-section-hint{font-size:13px;color:#6e8293}
.bcv391-status-grid{display:grid;grid-template-columns:minmax(170px,1.15fr) repeat(3,minmax(180px,1fr));gap:10px;margin-bottom:13px}.bcv391-status-block{display:grid;gap:7px;min-width:0}.bcv391-status-block>span,.bcv391-field-label>span{font-size:13.5px;font-weight:800;color:#38546c}.bcv391-status-select{height:42px;border:1px solid #b8cad8;border-radius:12px;background:#f7fafc;color:#1f3c53;padding:0 11px;font-size:14px;font-weight:750}
.bcv391-segments{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:5px;padding:4px;border:1px solid #d4dfe7;border-radius:12px;background:#f4f7f9}.bcv391-segments button{min-height:34px;padding:4px 7px;border:0;border-radius:9px;background:transparent;color:#627689;font-size:13px;font-weight:750;cursor:pointer}.bcv391-segments button.is-active{background:#fff;color:#1d435e;box-shadow:0 3px 9px rgba(31,63,89,.10)}.bcv391-segments[data-tone="signature"] button.is-active[data-bcv391-value="امضا شده"]{background:#dcfce7;color:#166534}.bcv391-segments[data-tone="signature"] button.is-active[data-bcv391-value="امضا نشده"]{background:#fff0e1;color:#9a4512}.bcv391-segments[data-tone="payment"] button.is-active[data-bcv391-value*="پرداخت شد"]{background:#dcfce7;color:#166534}.bcv391-segments[data-tone="acceptance"] button.is-active[data-bcv391-value="پذیرفت"]{background:#e0f2fe;color:#075985}.bcv391-segments[data-tone="acceptance"] button.is-active[data-bcv391-value*="عدم"]{background:#fee2e2;color:#991b1b}
.bcv391-assignee{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;align-items:end;padding-top:12px;border-top:1px solid #e4ebf0}.bcv391-field-label{display:grid;gap:2px}.bcv391-field-label small{font-size:12.5px;color:#7a8c9c}.bcv391-assignee-controls{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(230px,1fr);gap:8px}.bcv391-assignee-search{height:42px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #c6d4df;border-radius:12px;background:#f8fafc}.bcv391-assignee-search svg{width:18px;height:18px;fill:none;stroke:#678096;stroke-width:1.8}.bcv391-assignee-search input{width:100%;height:38px;border:0!important;background:transparent!important;font-size:14px;box-shadow:none!important}.bcv391-assignee select,.bcv391-fields :is(input,select,textarea),.bcv391-custom-field :is(input,select,textarea){width:100%;min-height:42px;border:1px solid #c6d4df;border-radius:12px;background:#fff;color:#1e3a50;padding:0 10px;font-family:inherit;font-size:14px;font-weight:600}.bcv391-readonly-assignee{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid #e4ebf0}.bcv391-readonly-assignee span{font-size:13.5px;font-weight:750;color:#536c80}.bcv391-readonly-assignee b{padding:6px 10px;border-radius:999px;background:#e7f1f8;color:#285c82;font-size:14px}
.bcv391-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bcv391-fields label,.bcv391-custom-field{display:grid;gap:5px;min-width:0}.bcv391-fields label>span,.bcv391-custom-field>span{font-size:13.5px;font-weight:750;color:#405c73}.bcv391-fields textarea,.bcv391-custom-field textarea{height:auto;min-height:84px;padding:9px 10px;line-height:1.6;resize:vertical}.bcv391-notes{grid-column:1/-1}.bcv391-fields :is(input,select,textarea):focus,.bcv391-custom-field :is(input,select,textarea):focus,.bcv391-assignee :is(input,select):focus{outline:0;border-color:#6fa9d1;box-shadow:0 0 0 3px rgba(76,147,199,.12)}
.bcv391-secondary{margin-top:11px;border-top:1px solid #e3eaf0;padding-top:9px}.bcv391-secondary summary{cursor:pointer;font-size:13.5px;font-weight:750;color:#60778b}.bcv391-secondary .bcv391-fields{margin-top:10px}
.bcv391-custom-section{border-inline-start:4px solid #5b9aa0}.bcv391-custom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bcv391-custom-field.is-wide{grid-column:1/-1}.bcv391-custom-field>span em{font-style:normal;color:#b91c1c;margin-inline-start:3px}.bcv391-custom-field select[multiple]{height:96px;padding:7px}.bcv391-custom-field input[type="file"]{padding:7px;height:auto}.bcv391-file-current{display:flex;align-items:center;gap:6px;margin-bottom:4px;padding:7px 9px;border-radius:10px;background:#edf6f8;color:#17646a;text-decoration:none;font-size:13px}.bcv391-file-current svg{width:16px;height:16px}
.bcv391-profile dl{display:grid;margin:0}.bcv391-profile dl>div{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:10px;min-height:44px;border-bottom:1px solid #e7edf2}.bcv391-profile dl>div:last-child{border-bottom:0}.bcv391-profile dt{font-size:13px;color:#718394}.bcv391-profile dd{margin:0;min-width:0;font-size:14px;font-weight:750;color:#243f55;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bcv391-activity>header>b{padding:5px 9px;border-radius:999px;background:#f0eafd;color:#644ba5;font-size:13px}.bcv391-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border-radius:12px;background:#eef2f6}.bcv391-tabs button{height:36px;border:0;border-radius:9px;background:transparent;color:#607489;font-size:13.5px;font-weight:750;cursor:pointer}.bcv391-tabs button.is-active{background:#fff;color:#5b4597;box-shadow:0 3px 9px rgba(43,61,78,.09)}.bcv391-tabs i{font-style:normal;font-size:12.5px;margin-inline-start:3px}.bcv391-tab-panel{max-height:430px;overflow:auto;padding-top:7px}.bcv391-tab-panel:not(.is-active){display:none}.bcv391-tab-panel .case-ref-timeline-item,.bcv391-tab-panel .case-ref-message-item{margin:0 0 7px;padding:9px 10px;border:1px solid #e0e8ee;border-radius:11px;background:#fafcfd;box-shadow:none}.bcv391-tab-panel .case-ref-timeline-item header,.bcv391-tab-panel .case-ref-message-item header{display:flex;justify-content:space-between;gap:7px}.bcv391-tab-panel :is(b,header){font-size:13.5px}.bcv391-tab-panel :is(small,span){font-size:13px}.bcv391-tab-panel p{margin:4px 0 0;font-size:13.5px;line-height:1.6;color:#40576c}

/* Field manager */
#modal.bcf391-modal{width:min(1460px,calc(100vw - 34px))!important;max-width:none!important}.bcf391-manager{display:grid;gap:10px}.bcf391-manager-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid #dce5eb;border-radius:14px;background:#f7fafc}.bcf391-manager-head h3{margin:0;font-size:17px}.bcf391-manager-head p{margin:3px 0 0;font-size:13px;color:#63778a}.bcf391-legend{display:flex;gap:16px;flex-wrap:wrap;padding:0 4px;color:#6c7e8f;font-size:13px}.bcf391-field-list{display:grid;gap:7px}.bcf391-row{display:grid;grid-template-columns:28px minmax(170px,1.2fr) 125px 150px 62px 72px 72px minmax(150px,.9fr) minmax(210px,1.25fr);align-items:center;gap:7px;padding:8px;border:1px solid #dde6ed;border-radius:12px;background:#fff;font-size:13px}.bcf391-row.is-dragging{opacity:.55;border-color:#5d9ec9}.bcf391-drag{font-size:20px;color:#8b9aa7;cursor:grab;text-align:center}.bcf391-field-name{display:grid;gap:3px;min-width:0}.bcf391-field-name input,.bcf391-row select,.bcf391-options{width:100%;height:36px;border:1px solid #cbd8e2;border-radius:9px;background:#fff;padding:0 8px;font-size:13px}.bcf391-field-name small{font-size:11.5px;color:#8494a2}.bcf391-lock,.bcf391-custom-badge{width:max-content;padding:2px 6px;border-radius:999px;font-size:11.5px;font-weight:750}.bcf391-lock{background:#eef2f6;color:#596b7b}.bcf391-custom-badge{background:#e6f5f3;color:#176c64}.bcf391-check{display:grid;justify-items:center;gap:2px;font-size:12px;color:#5d7183}.bcf391-check input{width:17px;height:17px}.bcf391-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}.bcf391-actions button{min-height:30px;padding:3px 7px;border:1px solid #cbd8e2;border-radius:8px;background:#f8fafc;color:#435a6d;font-size:12px;font-weight:750;cursor:pointer}.bcf391-actions .is-save{background:#e6f1f9;color:#245c84}.bcf391-actions .is-off{background:#fff5df;color:#8a5a15}.bcf391-actions .is-delete{background:#feecec;color:#9f2d2d}.bcf391-add-form{padding:4px}.bcf391-add-check{display:flex;align-items:center;gap:7px;min-height:40px;font-size:13.5px}

@media(max-width:1180px){.bcv391-head{grid-template-columns:minmax(260px,1fr) auto}.bcv391-head-states{grid-column:1/-1;grid-row:2}.bcv391-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bcv391-layout{grid-template-columns:minmax(0,1.55fr) minmax(285px,.75fr)}.bcv391-assignee{grid-template-columns:1fr}.bcf391-row{min-width:1180px}.bcf391-field-list{overflow-x:auto}}
@media(max-width:860px){#modal.brokerage-case-v391-theme{width:calc(100vw - 12px)!important;height:calc(100vh - 12px)!important;border-radius:16px!important}.bcv391-form{padding:8px}.bcv391-head{position:relative;grid-template-columns:1fr auto}.bcv391-head-states{justify-content:flex-start}.bcv391-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.bcv391-layout{grid-template-columns:1fr}.bcv391-status-grid{grid-template-columns:1fr}.bcv391-assignee-controls,.bcv391-fields,.bcv391-custom-grid{grid-template-columns:1fr}.bcv391-notes,.bcv391-custom-field.is-wide{grid-column:auto}.bcv391-sidebar{grid-row:auto}.bcv391-tab-panel{max-height:360px}.bc391-state-chip{font-size:12.5px}.bcv391-head-meta{flex-wrap:wrap}}
@media(max-width:520px){.bcv391-head{padding:10px}.bcv391-file-icon{display:none}.bcv391-identity h2{font-size:19px!important}.bcv391-head-actions{align-self:start}.bcv391-summary{grid-template-columns:1fr 1fr}.bcv391-summary article{min-height:78px;padding:10px}.bcv391-summary b{font-size:15.5px!important}.bcv391-section{padding:11px}.bcv391-profile dl>div{grid-template-columns:105px minmax(0,1fr)}#modal.brokerage-case-v391-theme>.modal-actions{padding-inline:8px!important}#modal.brokerage-case-v391-theme>.modal-actions .btn{padding-inline:10px!important}}

.bc391-state-chip.is-assigned{background:#e6f4f6;color:#146873;border-color:#b9dfe4;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ===== SOURCE: internal-tickets-v398.css | sha256:a267d5f4339a4c3cff8a9f65ef10da4e3a95a34d7566c9ef62e5a7d48342d24f ===== */
/* TIAM v395 — hardened ticket workspace: runtime-safe list, normalized customer search, polished create flow. */
.it393-root{position:fixed;inset:0;z-index:2860;display:grid;place-items:center;visibility:hidden;pointer-events:none;font-size:14px}.it393-root.is-open{visibility:visible;pointer-events:auto}.it393-backdrop{position:absolute;inset:0;}.it393-dialog{position:relative;display:grid;grid-template-rows:66px minmax(0,1fr);overflow:hidden;border:1px solid #cbd9e1;border-radius:18px;background:#eef3f5;box-shadow:0 34px 90px rgba(14,36,54,.30);opacity:0;transform:translateY(4px);transition:opacity .16s,transform .16s;}.it393-root.is-open .it393-dialog{opacity:1;transform:none}
.it393-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 16px;background:linear-gradient(115deg,#173d5d 0%,#1f596f 56%,#28747b 100%);color:#fff}.it393-brand{display:flex;align-items:center;gap:10px}.it393-head-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}.it393-head-icon svg,.it393-icon-btn svg{width:19px;height:19px}.it393-head h2{margin:0;font-size:18px;font-weight:850}.it393-head small{font-size:13px;color:rgba(255,255,255,.80)}.it393-head-actions{display:flex;gap:7px}.it393-icon-btn{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:11px;background:rgba(255,255,255,.10);color:inherit;cursor:pointer;transition:.16s}.it393-icon-btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.18)}.it393-icon-btn.is-new{background:#fff;color:#1f6370;border-color:#fff}
.it393-work{min-height:0;display:grid;grid-template-columns:minmax(330px,31%) minmax(0,69%);gap:10px;padding:10px}.it393-list,.it393-main{min-height:0;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px rgba(35,60,78,.06)}.it393-list{display:grid;grid-template-rows:auto minmax(0,1fr);background:#f7f9f8;border:1px solid #d7e1e4}.it393-main{display:grid;background:#f9fbfb;border:1px solid #d7e1e4}
.it393-list-tools{padding:10px;background:linear-gradient(180deg,#f8fbfb,#f1f6f5);border-bottom:1px solid #dce6e6}.it393-search{height:42px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #cddde0;border-radius:11px;background:#fff}.it393-search svg{width:16px;height:16px;color:#4c7b86}.it393-search input{height:100%;width:100%;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;font-size:14px!important}.it393-tabs{display:flex;gap:5px;margin-top:8px;overflow:auto;scrollbar-width:none}.it393-tabs button{height:34px;flex:none;display:flex;align-items:center;gap:5px;padding:0 9px;border:1px solid transparent;border-radius:9px;background:#e9efef;color:#566a70;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}.it393-tabs button small{min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:999px;background:rgba(255,255,255,.72);font-size:13px}.it393-tabs button.is-active{font-weight:800}.it393-tabs .is-all.is-active{background:#dbe9ef;color:#1f5570;border-color:#bcd2dd}.it393-tabs .is-needs_reply.is-active{background:#fff0d2;color:#8b5e13;border-color:#edcf93}.it393-tabs .is-waiting.is-active{background:#ffe4c7;color:#8c5319;border-color:#eec08d}.it393-tabs .is-open.is-active{background:#d8eff1;color:#17636c;border-color:#add4d7}.it393-tabs .is-resolved.is-active{background:#dff1e5;color:#2d7146;border-color:#bad9c5}.it393-tabs .is-closed.is-active{background:#e8e8ee;color:#606071;border-color:#d0d0db}
.it393-list-scroll{min-height:0;overflow:auto;padding:8px}.it393-row{position:relative;width:100%;min-height:78px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;margin-bottom:7px;padding:9px 10px;text-align:right;border:1px solid #dce5e6;border-radius:12px;background:#fff;color:#243b45;cursor:pointer;overflow:hidden;transition:.15s}.it393-row:before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:#84a4ad}.it393-row:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(38,74,82,.08)}.it393-row.is-active{border-color:#76aebb;box-shadow:0 0 0 2px rgba(44,130,139,.10),0 5px 14px rgba(38,74,82,.08)}.it393-row.is-status-open:before{background:#2a9aa2}.it393-row.is-status-waiting:before{background:#e39b35}.it393-row.is-status-resolved:before{background:#4f9c67}.it393-row.is-status-closed:before{background:#8d8c9d}.it393-row.is-priority-urgent{background:#fff5f3;border-color:#ecc6c0}.it393-row.is-priority-urgent:before{background:#d56558}.it393-row.is-needs-action{box-shadow:inset -4px 0 #e9a33c}.it393-row.is-unread .it393-row-main b{font-weight:900}.it393-row-main{min-width:0;display:grid;gap:3px}.it393-row-top{display:flex;align-items:center;gap:6px;min-width:0}.it393-row-top b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.it393-row small,.it393-row em{font-size:13px;font-style:normal;color:#6f8187;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.it393-action-dot{flex:none!important;padding:2px 6px;border-radius:999px;background:#fff0d3;color:#8a5c12!important;font-weight:800}.it393-row-meta{display:grid;justify-items:end;gap:5px}.it393-row-meta strong{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#245f7d;color:#fff;font-size:13px}
.it393-status,.it393-priority{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:3px 8px;border-radius:999px;font-size:13px;font-style:normal;font-weight:800;white-space:nowrap}.it393-status.is-open{background:#d8eff1;color:#17636c}.it393-status.is-waiting{background:#ffe4c7;color:#8c5319}.it393-status.is-resolved{background:#dff1e5;color:#2d7146}.it393-status.is-closed{background:#e7e7ed;color:#606071}.it393-priority.is-normal{background:#edf1f2;color:#68767a}.it393-priority.is-important{background:#f1e4f6;color:#744783}.it393-priority.is-urgent{background:#f9ddd8;color:#a44338}.it393-loading,.it393-error,.it393-empty,.it393-placeholder{height:100%;display:grid;place-items:center;align-content:center;gap:8px;color:#637980;text-align:center;padding:20px;font-size:14px}.it393-placeholder{background:radial-gradient(circle at 50% 35%,#e0eff0 0,#f8fbfb 45%)}.it393-placeholder svg{width:44px;height:44px;color:#4b8790}.it393-placeholder b{font-size:15px}.it393-placeholder span{font-size:13px}.it393-error{color:#a34a42}.it393-load-more{width:100%;min-height:42px;margin-top:5px;border:1px dashed #9fc0c5;border-radius:10px;background:#e8f2f2;color:#356d75;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.it393-load-more small{margin-inline-start:5px;font-size:13px;color:#678287}
.it393-detail{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.it393-ticket-head{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 14px;background:linear-gradient(100deg,#eef7f6,#f4f0f8 58%,#fff5e6);border-bottom:1px solid #d9e3e2}.it393-ticket-title{min-width:0}.it393-ticket-title>span{font-size:13px;color:#4e7881;font-weight:750}.it393-ticket-title h3{margin:2px 0;font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.it393-ticket-title p{margin:0;font-size:13px;color:#657a80}.it393-ticket-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.it393-ticket-actions .it393-icon-btn{border-color:#c7d8dc;background:#fff;color:#315e6b}.it393-ticket-actions .is-claim{background:#dff1e5;color:#2d7146;border-color:#b9d7c4}.it393-ticket-actions .is-assign{background:#eee4f4;color:#70477d;border-color:#d6c0df}.it393-ticket-actions .is-status{background:#fff0d4;color:#8a5d16;border-color:#eed09b}
.it393-body{min-height:0;display:grid;grid-template-columns:minmax(250px,31%) minmax(0,69%);gap:10px;padding:10px;background:#eef3f5}.it393-summary{min-height:0;overflow:auto}.it393-summary-grid{display:grid;gap:8px}.it393-summary-grid article{min-height:86px;display:grid;align-content:center;gap:3px;padding:10px 12px;border-radius:12px;color:#243b45;box-shadow:0 3px 10px rgba(35,60,78,.05)}.it393-summary-grid article small{font-size:13px;opacity:.76}.it393-summary-grid article b{font-size:14px;line-height:1.45}.it393-summary-grid article span{font-size:13px;opacity:.82}.it393-summary-grid .is-teal{background:#d9efec;border:1px solid #b7ddd7}.it393-summary-grid .is-purple{background:#eee4f4;border:1px solid #dac8e2}.it393-summary-grid .is-amber{background:#fff0d4;border:1px solid #efd39e}.it393-summary-grid .is-blue{background:#dcebf5;border:1px solid #bfd8e8}.it393-more-info{margin-top:8px;border:1px solid #d4dfe1;border-radius:12px;background:#f8faf9;overflow:hidden}.it393-more-info summary{padding:10px 12px;font-size:13px;font-weight:800;color:#3b6870;cursor:pointer;background:#e9f1f1}.it393-participants{display:grid;gap:5px;padding:9px}.it393-participants span{display:flex;justify-content:space-between;gap:7px;padding:7px 8px;border-radius:8px;background:#ece8f1;font-size:13px}.it393-participants small{font-size:13px;color:#735f7b}.it393-history{padding:0 10px 10px}.it393-history h4{margin:8px 0;font-size:14px}.it393-system-event{display:grid;grid-template-columns:10px 1fr;gap:7px;position:relative;padding-bottom:10px}.it393-system-event>span{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#6c9da5}.it393-system-event.is-assignment>span{background:#8a65a0}.it393-system-event.is-claim>span{background:#4d9b66}.it393-system-event.is-status>span{background:#e09a37}.it393-system-event>div{display:grid}.it393-system-event b,.it393-system-event small,.it393-system-event p{font-size:13px}.it393-system-event small{color:#78898d}.it393-system-event p{margin:2px 0 0;color:#60767b}
.it393-conversation{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;border:1px solid #d6e1e3;border-radius:13px;background:#f3f7f7;overflow:hidden}.it393-thread{min-height:0;overflow:auto;padding:14px;background:linear-gradient(180deg,#f3f8f7 0%,#f7f5f9 100%)}.it393-bubble{max-width:78%;margin-bottom:10px;padding:9px 11px;border:1px solid #d9e3e4;box-shadow:0 2px 7px rgba(31,59,70,.05)}.it393-bubble.is-other{margin-inline-end:auto;border-radius:13px 13px 4px 13px;background:#eee8f3;border-color:#ddd0e4}.it393-bubble.is-own{margin-inline-start:auto;border-radius:13px 13px 13px 4px;background:#dff1ee;border-color:#bfddd7}.it393-bubble header{display:flex;justify-content:space-between;gap:10px}.it393-bubble header b,.it393-bubble header small{font-size:13px}.it393-bubble header small{color:#74878b}.it393-bubble p{margin:5px 0 0;font-size:14px;line-height:1.75;color:#2e4349}.it393-attachments{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.it393-attachment{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #c7d8db;border-radius:8px;background:rgba(255,255,255,.72);color:#365f69;text-decoration:none;font-size:13px}.it393-attachment svg{width:14px;height:14px}.it393-composer{display:grid;grid-template-columns:minmax(0,1fr) 42px auto;gap:7px;padding:9px;border-top:1px solid #d8e2e3;background:#fff}.it393-composer textarea{height:54px;min-height:54px;resize:none;border-radius:9px!important;font-size:14px!important}.it393-attach-btn{width:42px;height:42px;align-self:center;display:grid;place-items:center;border:1px solid #c9d9dc;border-radius:10px;background:#e8f1f2;cursor:pointer;color:#376d76}.it393-attach-btn svg{width:17px;height:17px}.it393-composer .btn{align-self:center;height:42px;font-size:14px}.it393-readonly{padding:11px 14px;text-align:center;color:#6c7078;background:#e9e9ef;border-top:1px solid #d4d4dc;font-size:13px;line-height:1.7}
.it393-create{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.it393-create>header{display:flex;align-items:center;gap:10px;padding:11px 12px;background:linear-gradient(90deg,#e1f0ef,#eee7f2);border-bottom:1px solid #d6e0e1}.it393-create>header div{display:grid}.it393-create>header b{font-size:15px}.it393-create>header small{font-size:13px;color:#687c81}.it393-back{display:flex;align-items:center;gap:5px;border:0;background:#fff;color:#356b74;cursor:pointer;font:inherit;font-size:13px;padding:7px 9px;border-radius:9px}.it393-back svg{width:15px;height:15px}.it393-create-grid{min-height:0;display:grid;grid-template-columns:1fr 1fr;}.it393-create-card{min-height:0;overflow:auto;border-radius:13px;}.it393-create-card.is-blue{border:1px solid #c6dde6;}.it393-create-card.is-purple{border:1px solid #dbcce2;}.it393-section-title{display:flex;align-items:center;gap:8px;}.it393-section-title>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.72);font-size:14px;font-weight:900;color:#385f6c}.it393-section-title h3{margin:0;font-size:15px}.it393-section-title small{font-size:13px;color:#687b82}.it393-create-grid label{display:grid;gap:5px;margin-bottom:9px;font-size:13px;font-weight:750;color:#415e67}.it393-create-grid label>small{font-size:13px;font-weight:500;color:#77878c}.it393-create-grid :is(input,select,textarea){width:100%;min-height:42px;border:1px solid #c8d8dc;border-radius:9px;background:#fff;padding:8px 10px;font:inherit;font-size:14px}.it393-customer{width:100%;justify-content:space-between;gap:9px;padding:8px 9px;border:1px solid #c7dce4;border-radius:9px;background:#fff;text-align:right;margin-bottom:5px;cursor:pointer;}.it393-customer b,.it393-customer span{font-size:13px}.it393-customer span{color:#6e838a}.it393-selected{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;margin:6px 0;border-radius:9px;background:#d8ece8;color:#2f6863;border:1px solid #b9d9d3}.it393-selected>div{display:grid}.it393-selected span{font-size:14px;font-weight:850}.it393-selected small{font-size:13px}.it393-selected button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:8px;background:rgba(255,255,255,.75);color:#5c7475;cursor:pointer}.it393-selected button svg{width:14px;height:14px}.it393-file input{padding:7px;background:rgba(255,255,255,.72)}.it393-create>footer{display:flex;justify-content:flex-end;gap:7px;background:#fff;border-top:1px solid #d7e1e3;}.it393-create>footer .btn{font-size:14px}.it393-empty.compact{height:auto;min-height:46px;font-size:13px;padding:10px}
@media(max-width:980px){.it393-dialog{width:calc(100vw - 14px);height:calc(100vh - 14px)}.it393-work{grid-template-columns:1fr;grid-template-rows:minmax(220px,34%) minmax(0,66%)}.it393-body{grid-template-columns:1fr;overflow:auto}.it393-summary{overflow:visible}.it393-summary-grid{grid-template-columns:1fr 1fr}.it393-conversation{min-height:420px}.it393-create-grid{grid-template-columns:1fr;overflow:auto}.it393-create-card{overflow:visible}.it393-bubble{max-width:90%}}
@media(max-width:620px){.it393-head{padding-inline:9px}.it393-head small{display:none}.it393-work{padding:6px;gap:6px}.it393-dialog{border-radius:13px}.it393-tabs{padding-bottom:2px}.it393-row{min-height:72px}.it393-ticket-head{align-items:flex-start;flex-direction:column}.it393-ticket-actions{width:100%;justify-content:flex-start}.it393-summary-grid{grid-template-columns:1fr}.it393-summary-grid article{min-height:72px}.it393-body{padding:7px}.it393-composer{grid-template-columns:minmax(0,1fr) 42px}.it393-composer .btn{grid-column:1/-1;width:100%}}


/* v395 hardening + create-flow polish */
.it393-backdrop{background:rgba(10,24,38,.56);backdrop-filter:blur(4px)}
.it393-dialog{width:min(1260px,calc(100vw - 36px));height:min(790px,calc(100vh - 36px))}
.it393-icon-btn[hidden]{display:none!important}
.it393-create-grid{gap:12px;padding:12px;background:#f3f6f7}
.it393-create-card{padding:14px 15px}
.it393-create-card.is-blue{background:#f3fafc;border-color:#c8dfe7}
.it393-create-card.is-purple{background:#faf6fc;border-color:#dfd0e5}
.it393-section-title{margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid rgba(80,110,120,.12)}
.it393-create-grid :is(input,select,textarea){outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
.it393-create-grid :is(input,select,textarea):focus{border-color:#6ba4ae;box-shadow:0 0 0 3px rgba(63,139,150,.12);background:#fff}
.it393-create-grid select{cursor:pointer}
.it393-customer-search-box{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 10px;border:1px solid #c8d8dc;border-radius:10px;background:#fff;transition:border-color .15s,box-shadow .15s}
.it393-customer-search-box:focus-within{border-color:#6ba4ae;box-shadow:0 0 0 3px rgba(63,139,150,.12)}
.it393-customer-search-box svg{width:16px;height:16px;color:#5d8790;flex:none}
.it393-customer-search-box input{min-height:42px!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.it393-search-state{display:block;min-height:20px;margin:-3px 0 6px;color:#73858a;font-size:13px;font-weight:500}
.it393-customer-results{max-height:220px;overflow:auto;margin-bottom:4px}
.it393-mini-loading{min-height:46px;display:grid;place-items:center;padding:9px;border:1px dashed #bfd5da;border-radius:9px;background:#f8fcfc;color:#638087;font-size:13px}
.it393-customer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.it393-customer:hover{border-color:#91bcc5;background:#f7fcfd}
.it393-customer-name{display:grid;gap:2px;min-width:0}
.it393-customer-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.it393-customer-name small{color:#70868c;font-size:13px;font-weight:500;direction:ltr;text-align:right}
.it393-customer-ref{padding:4px 7px;border-radius:999px;background:#edf3f4;color:#5b7379;font-size:13px;white-space:nowrap}
.it393-file{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px 9px;margin-top:2px}
.it393-file-label{grid-column:1/-1;font-size:13px;font-weight:750;color:#415e67}
.it393-file-label small{margin-inline-start:4px;color:#7a898d;font-size:13px;font-weight:500}
.it393-file-picker{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid #c6d8dc;border-radius:9px;background:#fff;color:#3c6d77;font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.it393-file-picker:hover{background:#f3f9fa;border-color:#9ebfc6}
.it393-file-picker svg{width:16px;height:16px}
.it393-file>small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#75878c;font-size:13px;font-weight:500}
.it393-create>footer{padding:10px 13px}
.it393-create>footer .btn{min-height:42px}
.it393-create>footer .btn-primary{min-width:112px;font-weight:850}
.it393-create>footer .btn:disabled{opacity:.6;cursor:not-allowed}
.it393-error.compact{height:auto;min-height:46px;padding:10px}
@media(max-width:980px){
  .it393-dialog{width:calc(100vw - 14px);height:calc(100vh - 14px)}
  .it393-file{grid-template-columns:1fr}
  .it393-file-label{grid-column:auto}
}


/* v396 ticket visual hardening — final cascade owner */
#it393-root .it393-head{
  min-height:66px!important;
  background:#123e61!important;
  background-image:linear-gradient(115deg,#0f3452 0%,#123e61 55%,#18536f 100%)!important;
  color:#fff!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 5px 16px rgba(12,45,70,.16)!important;
}
#it393-root .it393-head h2{color:#fff!important;text-shadow:none!important}
#it393-root .it393-head small{color:rgba(255,255,255,.78)!important}
#it393-root .it393-head-icon{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
}
#it393-root .it393-head .it393-icon-btn:not(.is-new){
  background:rgba(255,255,255,.09)!important;
  border-color:rgba(255,255,255,.22)!important;
  color:#fff!important;
}
#it393-root .it393-head .it393-icon-btn:not(.is-new):hover{
  background:rgba(255,255,255,.18)!important;
  border-color:rgba(255,255,255,.35)!important;
}
#it393-root .it393-head .it393-icon-btn.is-new{
  background:#fff!important;
  border-color:#fff!important;
  color:#123e61!important;
}
#it393-root .it393-head .it393-icon-btn.is-new:hover{background:#edf5f9!important}
#it393-root .it393-head svg,
#it393-root .it393-ticket-actions .it393-icon-btn svg,
#it393-root .it393-attach-btn svg,
#it393-root .it393-file-picker svg,
#it393-root .it393-back svg{
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
#it393-root .it393-ticket-actions .it393-icon-btn,
#it393-root .it393-attach-btn{position:relative!important}
#it393-root .it393-ticket-actions .it393-icon-btn:empty,
#it393-root .it393-attach-btn:empty{display:none!important}
#it393-root .it393-attach-btn:hover{background:#dcebed!important;border-color:#a9c8ce!important;color:#245e69!important}

/* v398 — ticket search/list visual unification and single-focus contract */
#it393-root{
  --it398-navy:#123e61;
  --it398-navy-strong:#0f3452;
  --it398-navy-soft:#eaf1f6;
  --it398-border:#d7e1e8;
  --it398-muted:#6b7d89;
}

/* Search/list header is one coherent block; no clipped horizontal filter rail. */
#it393-root .it393-list-tools{
  width:100%!important;
  min-width:0!important;
  padding:10px!important;
  background:#f8fafc!important;
  border-bottom:1px solid var(--it398-border)!important;
  overflow:visible!important;
}
#it393-root .it393-search{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  margin:0!important;
  padding:0 11px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  border:1px solid #cbd8e2!important;
  border-radius:10px!important;
  background:#fff!important;
  outline:0!important;
  box-shadow:0 2px 8px rgba(18,62,97,.035)!important;
  overflow:hidden!important;
  transition:border-color .14s ease,box-shadow .14s ease!important;
}
#it393-root .it393-search:focus-within{
  border-color:var(--it398-navy)!important;
  outline:0!important;
  box-shadow:0 3px 10px rgba(18,62,97,.09)!important;
}
#it393-root .it393-search svg{color:var(--it398-navy)!important;flex:0 0 auto!important}
#it393-root .it393-search>input,
#it393-root .it393-search>input:hover,
#it393-root .it393-search>input:focus,
#it393-root .it393-search>input:focus-visible{
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  outline-offset:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}

#it393-root .it393-tabs{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
  margin:8px 0 0!important;
  padding:0!important;
  overflow:visible!important;
}
#it393-root .it393-tabs button{
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  padding:0 7px!important;
  justify-content:center!important;
  gap:5px!important;
  border:1px solid #d9e2e8!important;
  border-radius:9px!important;
  background:#f1f4f6!important;
  color:#5f707c!important;
  box-shadow:none!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#it393-root .it393-tabs button span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#it393-root .it393-tabs button small{
  flex:0 0 auto!important;
  min-width:19px!important;
  height:19px!important;
  padding:0 5px!important;
  background:#fff!important;
  color:#667986!important;
  border:1px solid #e1e7eb!important;
}
#it393-root .it393-tabs button:hover{
  border-color:#b9c9d5!important;
  background:#eaf0f4!important;
  color:var(--it398-navy)!important;
}
#it393-root .it393-tabs button.is-active,
#it393-root .it393-tabs .is-all.is-active,
#it393-root .it393-tabs .is-needs_reply.is-active,
#it393-root .it393-tabs .is-waiting.is-active,
#it393-root .it393-tabs .is-open.is-active,
#it393-root .it393-tabs .is-resolved.is-active,
#it393-root .it393-tabs .is-closed.is-active{
  background:var(--it398-navy)!important;
  border-color:var(--it398-navy)!important;
  color:#fff!important;
  font-weight:850!important;
}
#it393-root .it393-tabs button.is-active small{
  background:rgba(255,255,255,.15)!important;
  border-color:rgba(255,255,255,.18)!important;
  color:#fff!important;
}

/* One navy accent language for list rows; status semantics remain in badges, not side bars. */
#it393-root .it393-row:before,
#it393-root .it393-row.is-status-open:before,
#it393-root .it393-row.is-status-waiting:before,
#it393-root .it393-row.is-status-resolved:before,
#it393-root .it393-row.is-status-closed:before,
#it393-root .it393-row.is-priority-urgent:before{
  background:var(--it398-navy)!important;
}
#it393-root .it393-row.is-needs-action{box-shadow:none!important}
#it393-root .it393-row:hover{
  border-color:#c4d2dc!important;
  box-shadow:0 5px 14px rgba(18,62,97,.07)!important;
}
#it393-root .it393-row.is-active{
  border-color:#9eb5c6!important;
  background:#fbfdff!important;
  box-shadow:0 0 0 2px rgba(18,62,97,.08),0 5px 14px rgba(18,62,97,.07)!important;
}
#it393-root .it393-action-dot{
  background:var(--it398-navy-soft)!important;
  color:var(--it398-navy)!important;
  border:1px solid #cbd9e3!important;
}

/* Customer search: the wrapper owns focus. The native/global input focus ring is fully suppressed. */
#it393-root .it393-customer-search-box{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  border:1px solid #cbd8e2!important;
  border-radius:10px!important;
  outline:0!important;
  box-shadow:0 2px 8px rgba(18,62,97,.035)!important;
  overflow:hidden!important;
  background:#fff!important;
}
#it393-root .it393-customer-search-box:focus-within{
  border-color:var(--it398-navy)!important;
  outline:0!important;
  box-shadow:0 3px 10px rgba(18,62,97,.09)!important;
}
#it393-root .it393-customer-search-box svg{color:var(--it398-navy)!important}
#it393-root .it393-customer-search-box>input,
#it393-root .it393-customer-search-box>input:hover,
#it393-root .it393-customer-search-box>input:focus,
#it393-root .it393-customer-search-box>input:focus-visible{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  outline-offset:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}

@media(max-width:620px){
  #it393-root .it393-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ===== SOURCE: tiam-datetime-display-v397.css | sha256:78fe4add7d47062ee21c5e25244d7d2106298df9a7b6c61e74aab4a96d1a3675 ===== */
/* Tiam v397 — one visible date/time language across the entire application. */
.tiam-datetime-output{
  font-variant-numeric:tabular-nums lining-nums;
  white-space:nowrap;
}
/* Keep legacy LTR timestamp cells readable in RTL without letting date/time collide. */
.ltr-cell.tiam-datetime-output,
time.tiam-datetime-output,
small.tiam-datetime-output{
  unicode-bidi:isolate;
}

/* ===== SOURCE: tiam-v399-employee-create-redesign.css | sha256:368545bf22e3c7d1fa29a9c6cabe81231bb67abe4897dd848f89e6eef8e8db37 ===== */
/* TIAM v399 — Employee create/edit form redesign
   Scope: personnel file, especially "افزودن کارمند".
   Goals: quieter navy-led surface, aligned controls, less white, clearer sections. */
:root{
  --hr399-navy:#0b2f4f;
  --hr399-navy-2:#143f60;
  --hr399-ink:#17374f;
  --hr399-muted:#6d8291;
  --hr399-page:#edf3f7;
  --hr399-panel:#f4f7fa;
  --hr399-panel-2:#eaf1f6;
  --hr399-border:#cedbe5;
  --hr399-border-soft:#dde6ed;
  --hr399-focus:#5f8cab;
  --hr399-white:#fff;
  --hr399-radius:12px;
}

body[data-page="experts"] #page-content:has(.employee-v373-page){
  background:var(--hr399-page)!important;
}
#page-content>.employee-v373-page{
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:12px 14px 28px!important;
}

/* Create header: one compact navy band instead of another white card. */
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-header{
  min-height:78px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  margin:0!important;
  padding:13px 16px!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,var(--hr399-navy),var(--hr399-navy-2))!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-back{
  min-height:38px!important;
  height:38px!important;
  padding:0 11px!important;
  border:1px solid rgba(255,255,255,.30)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-back:hover{
  background:rgba(255,255,255,.17)!important;
  border-color:rgba(255,255,255,.48)!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-identity h1{
  color:#fff!important;
  font-size:18px!important;
  line-height:1.45!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-identity p{
  color:rgba(255,255,255,.78)!important;
  font-size:11.5px!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-identity small{
  display:none!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-main{padding-top:10px!important}

/* Form shell uses tinted surfaces, not white-on-white. */
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-form{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border:1px solid var(--hr399-border)!important;
  border-radius:14px!important;
  background:var(--hr399-panel)!important;
  box-shadow:0 8px 24px rgba(17,53,79,.05)!important;
  overflow:hidden!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-tabs{
  min-height:50px!important;
  display:grid!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(130px,1fr)!important;
  align-items:stretch!important;
  gap:4px!important;
  padding:6px!important;
  overflow-x:auto!important;
  border-bottom:1px solid var(--hr399-border)!important;
  background:var(--hr399-panel-2)!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-tabs button{
  min-height:38px!important;
  height:38px!important;
  padding:0 12px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#536d7f!important;
  font-size:11.5px!important;
  font-weight:800!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-tabs button:hover{
  background:rgba(255,255,255,.62)!important;
  color:var(--hr399-navy)!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-tabs button.is-active{
  border-color:var(--hr399-navy)!important;
  background:var(--hr399-navy)!important;
  color:#fff!important;
  box-shadow:none!important;
}

.employee-v373-page:is(.is-create,.is-edit) .employee-v373-panels{
  padding:14px!important;
  background:var(--hr399-panel)!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-profile-panel{
  min-height:285px!important;
  padding:14px!important;
  border:1px solid var(--hr399-border-soft)!important;
  border-radius:12px!important;
  background:#f9fbfc!important;
  box-shadow:none!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-section-title{
  min-height:36px!important;
  margin:0 0 12px!important;
  padding:0 0 9px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  border-bottom:1px solid var(--hr399-border-soft)!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-section-title b{
  color:var(--hr399-navy)!important;
  font-size:13px!important;
  font-weight:900!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-section-title small{
  display:inline!important;
  margin:0!important;
  color:#8495a2!important;
  font-size:10.5px!important;
  font-weight:600!important;
}
.employee-v373-page .employee-v373-secondary-title{margin-top:18px!important}

/* Two-column rhythm: every control starts and ends on the same baseline. */
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-data-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  gap:12px 16px!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-data-grid .field,
.employee-v373-page:is(.is-create,.is-edit) .employee-account-access-mode .field,
.employee-v373-page:is(.is-create,.is-edit) .employee-account-grid .field{
  min-width:0!important;
  margin:0!important;
  display:grid!important;
  grid-template-rows:20px minmax(44px,auto) auto!important;
  align-content:start!important;
  gap:4px!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-data-grid .field.full{grid-column:1/-1!important}
.employee-v373-page:is(.is-create,.is-edit) [data-employee-panel="overview"] .employee-v373-data-grid>.field:first-child{grid-column:1/-1!important}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form .field>label{
  min-height:20px!important;
  height:20px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  color:#405d71!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form :is(input:not([type="checkbox"]):not([type="radio"]),select){
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  height:44px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid var(--hr399-border)!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--hr399-ink)!important;
  font-size:12px!important;
  line-height:1.4!important;
  box-shadow:none!important;
  outline:0!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form select{
  cursor:pointer!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form :is(input:not([type="checkbox"]):not([type="radio"]),select):hover{
  border-color:#b9cbd8!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form :is(input:not([type="checkbox"]):not([type="radio"]),select):focus{
  border-color:var(--hr399-focus)!important;
  box-shadow:0 0 0 3px rgba(58,112,151,.10)!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form input[readonly]{
  background:#f1f5f8!important;
  color:#607787!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form textarea{
  width:100%!important;
  min-height:76px!important;
  height:76px!important;
  max-height:120px!important;
  margin:0!important;
  padding:10px 12px!important;
  border:1px solid var(--hr399-border)!important;
  border-radius:9px!important;
  background:#fff!important;
  color:var(--hr399-ink)!important;
  font-size:12px!important;
  line-height:1.7!important;
  box-shadow:none!important;
  outline:0!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form textarea:focus{
  border-color:var(--hr399-focus)!important;
  box-shadow:0 0 0 3px rgba(58,112,151,.10)!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-form .field>small{
  display:block!important;
  min-height:0!important;
  margin:0!important;
  color:#8797a4!important;
  font-size:9.8px!important;
  line-height:1.45!important;
}

/* Date control is exactly the same height as input/select. */
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form .date-control{
  width:100%!important;
  min-height:44px!important;
  height:44px!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  margin:0!important;
  border:1px solid var(--hr399-border)!important;
  border-radius:9px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form .date-control:focus-within{
  border-color:var(--hr399-focus)!important;
  box-shadow:0 0 0 3px rgba(58,112,151,.10)!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form .date-control input{
  min-height:42px!important;
  height:42px!important;
  line-height:42px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-form .date-control .calendar-trigger{
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  border:0!important;
  border-inline-start:1px solid var(--hr399-border)!important;
  border-radius:0!important;
  background:#f3f7fa!important;
  color:var(--hr399-navy)!important;
  box-shadow:none!important;
}

/* Organization/account sections follow the same grid, not separate white cards. */
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-facts{
  background:var(--hr399-panel-2)!important;
  border-color:var(--hr399-border)!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-account-section{
  margin-top:0!important;
  border:1px solid var(--hr399-border-soft)!important;
  border-radius:10px!important;
  background:var(--hr399-panel-2)!important;
  overflow:hidden!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-account-head{
  min-height:46px!important;
  padding:8px 11px!important;
  border-bottom:1px solid var(--hr399-border-soft)!important;
  background:transparent!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-account-heading h4{font-size:12px!important;color:var(--hr399-navy)!important}
.employee-v373-page:is(.is-create,.is-edit) .employee-account-access-mode,
.employee-v373-page:is(.is-create,.is-edit) .employee-account-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  gap:12px 16px!important;
  padding:12px!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-account-fields{
  border-top:1px solid var(--hr399-border-soft)!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-account-options{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  padding:0 12px 12px!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-account-check{
  min-height:42px!important;
  margin:0!important;
  padding:7px 10px!important;
  border:1px solid var(--hr399-border)!important;
  border-radius:9px!important;
  background:#f9fbfc!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-account-check input{
  width:17px!important;
  min-width:17px!important;
  height:17px!important;
  min-height:17px!important;
  padding:0!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-password-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:6px!important;
  align-items:stretch!important;
}
.employee-v373-page:is(.is-create,.is-edit) .employee-password-row .btn{
  min-height:44px!important;
  height:44px!important;
  white-space:nowrap!important;
}

/* Footer is calm, sticky and clearly separates the primary action. */
.employee-v373-page:is(.is-create,.is-edit) .employee-v373-footer{
  position:sticky!important;
  bottom:0!important;
  z-index:4!important;
  min-height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding:9px 14px!important;
  border-top:1px solid var(--hr399-border)!important;
  background:rgba(234,241,246,.96)!important;
  backdrop-filter:blur(8px)!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-footer .btn{
  min-width:104px!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 15px!important;
  border-radius:9px!important;
  font-size:11.5px!important;
  box-shadow:none!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-footer .btn-primary{
  border-color:var(--hr399-navy)!important;
  background:var(--hr399-navy)!important;
  color:#fff!important;
}
#page-content .employee-v373-page:is(.is-create,.is-edit) .employee-v373-footer .employee-v399-cancel{
  background:transparent!important;
  border-color:#bfccd6!important;
  color:#526b7c!important;
}

/* Edit page also gets baseline alignment fixes without changing its established visual language. */
.employee-v373-page.is-edit .employee-v373-data-grid{align-items:start!important}
.employee-v373-page.is-edit .employee-v373-data-grid .field{min-width:0!important}
#page-content .employee-v373-page.is-edit .employee-v373-data-grid :is(input:not([type="checkbox"]):not([type="radio"]),select,.date-control){width:100%!important}

@media(max-width:900px){
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-tabs{grid-auto-columns:minmax(120px,1fr)!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-data-grid,
  .employee-v373-page:is(.is-create,.is-edit) .employee-account-access-mode,
  .employee-v373-page:is(.is-create,.is-edit) .employee-account-grid{grid-template-columns:1fr!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-account-options{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  #page-content>.employee-v373-page{padding:8px!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-header{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:12px!important;
  }
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-identity{order:1!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-back{order:2!important;justify-self:start!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-panels{padding:8px!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-profile-panel{padding:11px!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-tabs{display:flex!important;padding:5px!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-tabs button{min-width:118px!important;flex:0 0 auto!important}
  .employee-v373-page:is(.is-create,.is-edit) .employee-v373-footer{padding:8px!important}
}

/* ===== SOURCE: tiam-v400-request-visual-hardening.css | sha256:fd50f646764459ed03b80eb479e6ab0752ac7a2462e7e3db6df03333bf36bed5 ===== */
:root{
  --v400-navy:#153f60;
  --v400-navy-strong:#123a59;
  --v400-navy-soft:#eef4f9;
  --v400-border:#cad9e4;
  --v400-close-size:42px;
  --v400-close-icon:18px;
}

/* v400 — استانداردسازی دکمه‌های بستن/خروج در Modal / Drawer / Panel */
:where(#modal-close,button[aria-label*="بستن"],.sales-entry-close,.rec-drawer-close,.v367-action-close,.bcv391-close,[data-drawer-close]){
  box-sizing:border-box!important;
  width:var(--v400-close-size)!important;
  height:var(--v400-close-size)!important;
  min-width:var(--v400-close-size)!important;
  min-height:var(--v400-close-size)!important;
  max-width:var(--v400-close-size)!important;
  max-height:var(--v400-close-size)!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(21,63,96,.18)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f3f7fa 100%)!important;
  color:var(--v400-navy)!important;
  box-shadow:0 6px 16px rgba(17,50,78,.08)!important;
  cursor:pointer!important;
  flex:0 0 var(--v400-close-size)!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease!important;
}
:where(#modal-close,button[aria-label*="بستن"],.sales-entry-close,.rec-drawer-close,.v367-action-close,.bcv391-close,[data-drawer-close]):hover{
  border-color:rgba(21,63,96,.34)!important;
  background:linear-gradient(180deg,#ffffff 0%,#eaf1f6 100%)!important;
  box-shadow:0 10px 22px rgba(17,50,78,.12)!important;
  transform:translateY(-1px)!important;
}
:where(#modal-close,button[aria-label*="بستن"],.sales-entry-close,.rec-drawer-close,.v367-action-close,.bcv391-close,[data-drawer-close]):active{
  transform:none!important;
  box-shadow:0 4px 10px rgba(17,50,78,.10)!important;
}
:where(#modal-close,button[aria-label*="بستن"],.sales-entry-close,.rec-drawer-close,.v367-action-close,[data-drawer-close]) svg{
  width:var(--v400-close-icon)!important;
  height:var(--v400-close-icon)!important;
  min-width:var(--v400-close-icon)!important;
  min-height:var(--v400-close-icon)!important;
}
.bcv391-close{
  font-size:26px!important;
  line-height:1!important;
}
@media(max-width:640px){
  :where(#modal-close,button[aria-label*="بستن"],.sales-entry-close,.rec-drawer-close,.v367-action-close,.bcv391-close,[data-drawer-close]){
    width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;flex-basis:40px!important;
  }
}

/* v400 — پروفایل کاربر / درخواست‌های شخصی */
.v286-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.v286-profile-actions button,
.v286-profile-actions button.is-primary,
.v374-primary-action,
.v374-primary-action.is-primary{
  min-height:54px!important;
  border-radius:15px!important;
  border:1px solid var(--v400-navy)!important;
  background:linear-gradient(180deg,#18486d 0%,#123c5d 100%)!important;
  color:#fff!important;
  box-shadow:0 9px 18px rgba(18,62,97,.14)!important;
}
.v286-profile-actions button:hover,
.v286-profile-actions button.is-primary:hover,
.v374-primary-action:hover,
.v374-primary-action.is-primary:hover{
  border-color:#0f3451!important;
  background:linear-gradient(180deg,#1a5079 0%,#144263 100%)!important;
}
.v286-profile-actions b,.v374-primary-action span{font-size:13px!important;font-weight:800!important;color:#fff!important}
.v286-profile-actions svg,.v374-primary-action svg{width:18px!important;height:18px!important;color:#fff!important}

/* درخواست‌های من — جلوگیری از افتادن نوشته‌ها روی هم */
.v286-profile-request.v387-profile-request{
  gap:10px!important;
  padding:10px 12px!important;
}
.v387-request-head{
  grid-template-columns:32px minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:10px!important;
}
.v387-request-head>div{gap:3px!important}
.v387-request-head>div small{
  display:block!important;
  white-space:normal!important;
  line-height:1.7!important;
}
.v387-request-head em{
  align-self:start!important;
  margin-top:1px!important;
  font-size:10.5px!important;
}
.v387-request-progress{
  display:grid!important;
  
  gap:8px!important;
  align-items:stretch!important;
  overflow:visible!important;
  padding:2px 0 0!important;
}
.v387-request-progress>span{
  min-width:0!important;
  display:grid!important;
  justify-items:center!important;
  align-content:start!important;
  gap:6px!important;
  padding:8px 6px!important;
  border:1px solid #d8e5ed!important;
  border-radius:13px!important;
  background:#f7fafc!important;
  color:#647985!important;
  font-size:11.5px!important;
  line-height:1.55!important;
  white-space:normal!important;
  text-align:center!important;
}
.v387-request-progress>span::after{display:none!important}
.v387-request-progress>span b{
  display:block!important;
  width:100%!important;
  white-space:normal!important;
  word-break:break-word!important;
  font-size:11.5px!important;
  line-height:1.55!important;
}
.v387-request-progress i{
  width:12px!important;
  height:12px!important;
  border-width:2px!important;
}
.v387-request-progress .is-done{
  background:#eef7f1!important;
  border-color:#bfd8c5!important;
  color:#356949!important;
}
.v387-request-progress .is-current{
  background:#edf4fb!important;
  border-color:#b8d0e6!important;
  color:#1d567b!important;
  font-weight:800!important;
}
.v387-request-progress .is-attention{
  background:#fff6e7!important;
  border-color:#ecd3a3!important;
  color:#94651d!important;
}
.v387-request-progress .is-rejected{
  background:#fff1f1!important;
  border-color:#e4b4b4!important;
  color:#9c4c4c!important;
}
.v387-request-current{
  margin-top:2px!important;
  font-size:11px!important;
  line-height:1.7!important;
  white-space:normal!important;
}
@media(max-width:620px){
  .v286-profile-actions{grid-template-columns:1fr!important}
  .v387-request-progress{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v400 — هدر اطلاعات کاربر در کارتابل فروش */
body[data-page="sales-operations"] .sm148-workspace-meta .v381-sales-quick{display:none!important}
.sm-stage13-head{
  grid-template-columns:auto minmax(420px,1fr) auto!important;
  gap:18px!important;
}
.sm-stage13-context{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  min-width:0!important;
}
.sm-stage13-context>div{
  min-width:0!important;
  padding:12px 14px!important;
  border:1px solid rgba(18,62,97,.12)!important;
  border-inline-start:0!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#f8fbfd 0%,#eef4f8 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}
.sm-stage13-context small{
  font-size:11px!important;
  color:#6d8393!important;
  font-weight:700!important;
}
.sm-stage13-context b{
  font-size:14px!important;
  line-height:1.7!important;
  color:#173f61!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.sm-stage13-context em{
  font-size:11px!important;
  line-height:1.55!important;
  color:#7d92a0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.sm-stage13-head .sm148-workspace-title h2{font-size:22px!important}
.sm-stage13-head .sm148-workspace-title small{font-size:12px!important}
@media(max-width:1000px){
  .sm-stage13-head{grid-template-columns:1fr auto!important}
  .sm-stage13-context{grid-column:1/-1!important;grid-row:2!important}
}
@media(max-width:720px){
  .sm-stage13-context{grid-template-columns:1fr!important}
}

/* v400.1 — هدر صاحب صفحه: کاهش سفیدی + سلسله‌مراتب خواناتر */
body[data-page="sales-operations"] .sm-stage13-head{
  padding:12px 14px!important;
  border:1px solid #c9d9e5!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#edf4f8 0%,#f7fafc 58%,#e9f1f6 100%)!important;
  box-shadow:0 8px 22px rgba(18,62,97,.07)!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title{
  min-height:70px!important;
  padding:12px 16px!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#173f61 0%,#123a59 100%)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(18,58,89,.16)!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title>span{
  color:#fff!important;
  background:rgba(255,255,255,.11)!important;
  border-color:rgba(255,255,255,.18)!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title h2{
  color:#fff!important;
  font-size:21px!important;
  line-height:1.5!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title small{
  color:rgba(255,255,255,.78)!important;
  font-size:12.5px!important;
}
body[data-page="sales-operations"] .sm-stage13-context>div{
  min-height:70px!important;
  justify-content:center!important;
  background:linear-gradient(180deg,#ffffff 0%,#f1f6f9 100%)!important;
}
body[data-page="sales-operations"] .sm-stage13-context small{font-size:11.5px!important}
body[data-page="sales-operations"] .sm-stage13-context b{font-size:14.5px!important;font-weight:850!important}
body[data-page="sales-operations"] .sm-stage13-context em{font-size:11.5px!important}
body[data-page="sales-operations"] .sm148-workspace-meta:empty{display:none!important}

/* v400.1 — مراحل درخواست دقیقاً بر اساس تعداد مرحله تقسیم می‌شوند؛ متن هر مرحله هرگز روی مرحله بعد نمی‌افتد. */
.v387-request-progress{
  grid-template-columns:repeat(var(--v400-step-count,4),minmax(0,1fr))!important;
}
.v387-request-progress>span{
  min-height:58px!important;
  justify-content:center!important;
}
.v387-request-progress>span b{
  overflow-wrap:anywhere!important;
  hyphens:auto!important;
}
@media(max-width:760px){
  .v387-request-progress{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:430px){
  .v387-request-progress{grid-template-columns:1fr!important}
}

/* v400.1 — دکمه‌های درخواست شخصی هر دو Primary سورمه‌ای با متن سفید */
body[data-page="sales-operations"] :is(.v286-profile-actions button,.v374-primary-action){
  background:#153f60!important;
  border-color:#153f60!important;
  color:#fff!important;
}
body[data-page="sales-operations"] :is(.v286-profile-actions button,.v374-primary-action) :is(b,span,svg){color:#fff!important}
body[data-page="sales-operations"] :is(.v286-profile-actions button,.v374-primary-action):hover{
  background:#1b4d73!important;
  border-color:#1b4d73!important;
}

/* ===== SOURCE: tiam-v401-settings-simplification.css | sha256:dbb45e2d1becaffa42017e32f9e8437fc3091ee794d5ed4b2cbb42bfcd0f4821 ===== */
/* TIAM v401 — simplified settings experience */
body[data-page="settings"] #page-content{background:#f4f7f9!important;padding:16px 18px 28px!important}
body[data-page="settings"] .settings-center-shell,body[data-page="settings"] .settings-section-shell{max-width:1320px!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.v401-settings-hub{display:grid;gap:18px}.v401-settings-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,#123e61,#173f5d);color:#fff;box-shadow:0 10px 28px rgba(18,62,97,.14)}.v401-settings-hero>div{display:flex;align-items:center;gap:13px;min-width:0}.v401-settings-hero>div>span{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.12)}.v401-settings-hero svg{width:24px;height:24px;stroke:currentColor;fill:none}.v401-settings-hero h1{margin:0;font-size:20px;font-weight:900}.v401-settings-hero p{margin:3px 0 0;font-size:13px;line-height:1.8;color:rgba(255,255,255,.78)}body[data-page="settings"] .v401-settings-hero .settings-center-search{width:min(390px,42vw)!important;height:44px!important;margin:0!important;background:rgba(255,255,255,.96)!important;border-color:rgba(255,255,255,.25)!important}body[data-page="settings"] .v401-settings-hero .settings-center-search input{font-size:14px!important}
.v401-settings-group{display:grid;gap:9px}.v401-settings-group>header{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:0 3px}.v401-settings-group h2{margin:0;color:#153f5d;font-size:15.5px}.v401-settings-group p{margin:0;color:#7a8d9a;font-size:12px}.v401-settings-group.is-filtered-out{display:none}.v401-settings-group .settings-center-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}body[data-page="settings"] .settings-center-card{min-height:92px!important;padding:14px!important;border:1px solid #dce5eb!important;border-radius:14px!important;background:#fff!important;box-shadow:0 2px 7px rgba(23,63,93,.04)!important;grid-template-columns:46px minmax(0,1fr) 24px!important}body[data-page="settings"] .settings-center-card:hover{border-color:#9eb8c9!important;background:#fbfdff!important;box-shadow:0 8px 20px rgba(23,63,93,.08)!important}body[data-page="settings"] .settings-center-copy b{font-size:15px!important;color:#173f5d!important}body[data-page="settings"] .settings-center-copy small{font-size:12px!important;line-height:1.75!important;color:#718491!important}body[data-page="settings"] .settings-center-icon{width:44px!important;height:44px!important;border-radius:12px!important;background:#eef4f7!important;color:#174f76!important}.v401-settings-shortcuts{margin-top:2px!important;padding-top:14px!important}.v401-settings-shortcuts>header{display:flex;align-items:end;justify-content:space-between}.v401-settings-shortcuts>header p{margin:0;color:#80909b;font-size:11.5px}
.v401-settings-head{min-height:82px!important;margin:0 0 12px!important;padding:14px 16px!important;border:0!important;border-radius:17px!important;background:linear-gradient(135deg,#123e61,#173f5d)!important;color:#fff!important;box-shadow:0 8px 22px rgba(18,62,97,.12)!important}.v401-settings-head>div:nth-child(2){min-width:0;flex:1}.v401-settings-head h2{font-size:18px!important;color:#fff!important;font-weight:900!important}.v401-settings-head p{margin:3px 0 0!important;color:rgba(255,255,255,.76)!important;font-size:12.5px!important;line-height:1.7!important}.v401-back{height:40px!important;min-height:40px!important;padding:0 12px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:11px!important;background:rgba(255,255,255,.1)!important;color:#fff!important;display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:12.5px!important}.v401-back:hover{background:rgba(255,255,255,.18)!important;border-color:rgba(255,255,255,.38)!important}.v401-back svg{width:18px;height:18px;stroke:currentColor;fill:none}.v401-head-actions{display:flex;align-items:center;gap:7px}.v401-settings-head .v401-head-actions .btn{background:#fff!important;color:#123e61!important;border-color:#fff!important}
.v401-settings-content{display:grid;gap:11px}.v401-settings-content>.card,.v401-settings-content form.card{margin:0!important;border:1px solid #dde6ec!important;border-radius:15px!important;background:#fff!important;box-shadow:0 2px 8px rgba(20,57,82,.04)!important}.v401-card-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:14px}.v401-card-title>span{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:11px;background:#edf4f8;color:#174f76}.v401-card-title svg{width:20px;height:20px;stroke:currentColor;fill:none}.v401-card-title h3{margin:0;color:#173f5d;font-size:15px}.v401-card-title p{margin:3px 0 0;color:#748793;font-size:12px;line-height:1.7}.v401-simple-form{max-width:920px;padding:18px!important}.v401-settings-page .field label{font-size:13px!important;color:#304f63!important}.v401-settings-page :is(input,select,textarea){font-size:14px!important}.v401-settings-page :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px!important;border-radius:10px!important}.v401-settings-page textarea{min-height:86px!important;border-radius:10px!important}.v401-settings-page .form-grid{gap:13px 15px!important}.v401-settings-page .form-footer{margin-top:14px!important;padding-top:12px!important;border-top:1px solid #edf1f4!important}.v401-sticky-save{position:sticky;bottom:8px;display:flex;justify-content:flex-start;padding:9px 0;background:linear-gradient(transparent,#f4f7f9 34%);z-index:4}
.v401-option-form{display:grid;gap:10px;max-width:960px}.v401-choice-card{padding:18px!important}.v401-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.v401-choice{position:relative;display:flex;min-height:70px;padding:12px;border:1px solid #dce5eb;border-radius:12px;background:#fafcfd;cursor:pointer}.v401-choice input{position:absolute;opacity:0;pointer-events:none}.v401-choice span{display:grid;gap:3px}.v401-choice b{font-size:14px;color:#264c66}.v401-choice small{font-size:11.5px;color:#788a96}.v401-choice:has(input:checked){border-color:#174f76;background:#eef5f9;box-shadow:inset 0 0 0 1px #174f76}.v401-inline-setting{max-width:360px}.v401-toggle-list{display:grid;padding:5px 16px!important}.v401-toggle-list>label{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #edf1f4}.v401-toggle-list>label:last-child{border:0}.v401-toggle-list>label>span{display:grid;gap:2px}.v401-toggle-list b{font-size:13.5px;color:#274b63}.v401-toggle-list small{font-size:11.5px;color:#7b8c97}.v401-toggle-list input[type=checkbox],.v401-manager-toggle input[type=checkbox]{width:20px!important;height:20px!important;min-height:20px!important}
.v401-unit-input{display:flex;align-items:stretch;overflow:hidden;border:1px solid #d7e2e9;border-radius:10px;background:#fff}.v401-unit-input input{border:0!important;border-radius:0!important;box-shadow:none!important}.v401-unit-input span{display:flex;align-items:center;padding:0 11px;border-inline-start:1px solid #e2e8ec;background:#f7f9fa;color:#687d8c;font-size:11.5px;white-space:nowrap}.v401-advanced{overflow:hidden!important;padding:0!important}.v401-advanced>summary{list-style:none;min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;cursor:pointer;background:#fff}.v401-advanced>summary::-webkit-details-marker{display:none}.v401-advanced>summary>span{display:flex;align-items:center;gap:9px;color:#244b64}.v401-advanced>summary svg{width:19px;height:19px;stroke:currentColor;fill:none}.v401-advanced>summary b{font-size:13.5px}.v401-advanced>summary small{font-size:11.5px;color:#7d8d97}.v401-advanced[open]>summary{border-bottom:1px solid #e8eef2;background:#f9fbfc}.v401-advanced-body{padding:14px}
.v401-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:980px}.v401-module-card{min-height:92px;margin:0!important;padding:14px!important;display:grid;grid-template-columns:44px minmax(0,1fr) 24px;align-items:center;gap:11px;text-align:right;cursor:pointer;color:#244b64}.v401-module-card>span{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#edf4f8;color:#174f76}.v401-module-card svg{width:21px;height:21px;stroke:currentColor;fill:none}.v401-module-card div{display:grid;gap:3px}.v401-module-card b{font-size:14px}.v401-module-card small{font-size:11.5px;color:#788b97}.v401-module-card i{font-style:normal;color:#8ba0ad}.v401-info-note{padding:10px 12px;border:1px solid #d6e3ea;border-radius:11px;background:#eef5f8;color:#436377;font-size:12px;line-height:1.8}
/* Existing settings pages normalized */
body[data-page="settings"] :is(.branch-summary-grid,.users-summary-grid,.backup-summary-grid,.audit-summary-grid){display:flex!important;align-items:stretch!important;gap:0!important;margin:0 0 10px!important;border:1px solid #dfe7ec!important;border-radius:12px!important;background:#fff!important;overflow:auto!important}body[data-page="settings"] :is(.branch-summary-grid,.users-summary-grid,.backup-summary-grid,.audit-summary-grid)>*{min-width:145px!important;flex:1!important;padding:9px 12px!important;border:0!important;border-inline-end:1px solid #e8edf1!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}body[data-page="settings"] :is(.branch-summary-grid,.users-summary-grid,.backup-summary-grid,.audit-summary-grid)>*:last-child{border-inline-end:0!important}body[data-page="settings"] :is(.branch-summary-grid,.users-summary-grid,.backup-summary-grid,.audit-summary-grid) b{font-size:15px!important;color:#214a64!important}body[data-page="settings"] :is(.branch-summary-grid,.users-summary-grid,.backup-summary-grid,.audit-summary-grid) span,body[data-page="settings"] :is(.branch-summary-grid,.users-summary-grid,.backup-summary-grid,.audit-summary-grid) small{font-size:11px!important;color:#748792!important}.branch-policy-card{padding:11px 13px!important;background:#eef5f8!important;border-color:#d7e4eb!important}.branch-policy-card p{margin:3px 0 0!important;font-size:11.5px!important}.branch-row-actions .btn{min-height:36px!important;font-size:12px!important}.users-filterbar{padding:12px!important;background:#f8fafb!important}.users-list-card,.backup-list-card,.audit-list-card{overflow:hidden!important}.backup-action-grid{gap:9px!important}.backup-action-card{padding:15px!important}.backup-action-card h3{font-size:14px!important}.backup-action-card p{font-size:11.5px!important}.backup-action-card.danger{border-color:#ead2d0!important;background:#fffafa!important}.backup-center-page .backup-summary-card small{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.payroll-policy-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}.payroll-policy-grid>.card{padding:15px!important}.payroll-policy-grid .card-head h3{font-size:14px!important}.payroll-policy-grid .form-grid{grid-template-columns:1fr!important}.special-rules-card{padding:14px!important}.v401-advanced .special-rules-card{border:0!important;box-shadow:none!important;margin:0!important}
/* Branch structure as a full settings page */
.v401-branch-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;border:1px solid #dce5eb;border-radius:13px;background:#eef3f6;max-width:760px}.v401-branch-tabs button{min-height:39px;border:0;border-radius:9px;background:transparent;color:#637987;font:inherit;font-size:12.5px;font-weight:850;cursor:pointer}.v401-branch-tabs button.is-active{background:#153f5d;color:#fff;box-shadow:0 3px 9px rgba(21,63,93,.16)}.v401-branch-pane{display:none;gap:10px}.v401-branch-pane.is-active{display:grid}.v401-unit-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.v401-unit-list .branch-unit-row{min-height:64px!important;margin:0!important;padding:10px 12px!important;border-radius:11px!important;background:#fff!important}.v401-unit-list .branch-unit-row b{font-size:13px!important}.v401-unit-list .branch-unit-row small{font-size:11px!important}.v401-pane-footer{display:flex;justify-content:flex-start;padding-top:5px}.v401-table-card{padding:0!important;overflow:hidden!important}.v401-table-card>header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e8edf1}.v401-table-card h3{margin:0;font-size:14px;color:#214a64}.v401-table-card p{margin:3px 0 0;font-size:11.5px;color:#7a8c97}.v401-table-card td:first-child b,.v401-table-card td:first-child small{display:block}.v401-table-card td:first-child small{font-size:10.5px;color:#8997a0}.v401-transfer-card{max-width:900px;padding:16px!important}.v401-manager-toggle{display:flex;align-items:end}.v401-manager-toggle .setting-toggle{width:100%;min-height:44px!important;padding:8px 10px!important;border:1px solid #dce5eb;border-radius:10px;background:#fafcfd}.v401-policy-strip{display:flex;overflow:auto;border:1px solid #dfe7ec;border-radius:12px;background:#fff}.v401-policy-strip>div{min-width:220px;display:grid;gap:2px;padding:12px 14px;border-inline-end:1px solid #e8edf1}.v401-policy-strip>div:last-child{border:0}.v401-policy-strip span{font-size:11.5px;color:#758894}.v401-policy-strip b{font-size:16px;color:#204a65}
.v401-audit-advanced{grid-column:1/-1;border:1px solid #dce5eb;border-radius:10px;background:#fafcfd}.v401-audit-advanced>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;cursor:pointer;list-style:none}.v401-audit-advanced>summary::-webkit-details-marker{display:none}.v401-audit-advanced>summary b{font-size:12px;color:#31556c}.v401-audit-advanced>summary span{font-size:10.5px;color:#82919b}.v401-audit-advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 10px 10px}.action-permission-panel.v401-advanced{margin-top:10px!important}
@media(max-width:1050px){.v401-settings-group .settings-center-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.payroll-policy-grid{grid-template-columns:1fr!important}.v401-unit-list{grid-template-columns:1fr!important}}
@media(max-width:760px){body[data-page="settings"] #page-content{padding:10px!important}.v401-settings-hero{align-items:stretch;flex-direction:column;padding:14px}.v401-settings-hero .settings-center-search{width:100%!important}.v401-settings-group .settings-center-grid,.v401-module-grid,.v401-choice-grid{grid-template-columns:1fr!important}.v401-settings-head{min-height:auto!important;align-items:flex-start!important;flex-wrap:wrap!important}.v401-settings-head>div:nth-child(2){order:2;flex-basis:100%}.v401-settings-head p{font-size:11.5px!important}.v401-branch-tabs{grid-template-columns:1fr!important}.v401-audit-advanced-grid{grid-template-columns:1fr}.v401-settings-group>header,.v401-settings-shortcuts>header{align-items:flex-start;flex-direction:column}.v401-settings-shortcuts>div{grid-template-columns:1fr!important}}
/* Unify legacy settings subpages with the v401 language */
body[data-page="settings"] .settings-section-shell>.settings-section-toolbar{min-height:82px!important;margin:0 0 12px!important;padding:14px 16px!important;border:0!important;border-radius:17px!important;background:linear-gradient(135deg,#123e61,#173f5d)!important;color:#fff!important;box-shadow:0 8px 22px rgba(18,62,97,.12)!important;display:flex!important;align-items:center!important;gap:12px!important}
body[data-page="settings"] .settings-section-shell>.settings-section-toolbar>div{min-width:0!important;flex:1!important}
body[data-page="settings"] .settings-section-shell>.settings-section-toolbar h2{margin:0!important;font-size:18px!important;color:#fff!important;font-weight:900!important}
body[data-page="settings"] .settings-section-shell>.settings-section-toolbar p{margin:3px 0 0!important;color:rgba(255,255,255,.76)!important;font-size:12.5px!important;line-height:1.7!important}
body[data-page="settings"] .settings-section-shell>.settings-section-toolbar .settings-back-btn{height:40px!important;min-height:40px!important;padding:0 12px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:11px!important;background:rgba(255,255,255,.1)!important;color:#fff!important;font-size:12.5px!important;box-shadow:none!important}
body[data-page="settings"] .settings-section-shell>.settings-section-toolbar .settings-back-btn:hover{background:rgba(255,255,255,.18)!important;border-color:rgba(255,255,255,.38)!important}
body[data-page="settings"] .settings-section-shell>.settings-section-toolbar>.btn-primary{background:#fff!important;color:#123e61!important;border-color:#fff!important}
body[data-page="settings"] .settings-section-shell :is(.field label,.setting-toggle b){font-size:13px!important}
body[data-page="settings"] .settings-section-shell :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px!important;font-size:14px!important;border-radius:10px!important}
body[data-page="settings"] .settings-section-shell textarea{font-size:14px!important;border-radius:10px!important}
body[data-page="settings"] .settings-section-shell .card-head h3{font-size:14px!important;color:#214a64!important}
body[data-page="settings"] .settings-section-shell .card-head small{font-size:11.5px!important;line-height:1.65!important;color:#7b8c97!important}
body[data-page="settings"] .settings-section-shell .data-table th{font-size:12px!important}
body[data-page="settings"] .settings-section-shell .data-table td{font-size:13px!important}
@media(max-width:760px){body[data-page="settings"] .settings-section-shell>.settings-section-toolbar{min-height:auto!important;align-items:flex-start!important;flex-wrap:wrap!important}body[data-page="settings"] .settings-section-shell>.settings-section-toolbar>div{order:2;flex-basis:100%!important}body[data-page="settings"] .settings-section-shell>.settings-section-toolbar>.btn-primary{margin-inline-start:auto!important}}

/* ===== SOURCE: tiam-v402-brokerage-workspace-redesign.css | sha256:27b537582f8dff3ed80f81c6e180897109e7808330f78ca65621934da0b50b59 ===== */
/* TIAM v402 — Brokerage case professional workspace redesign
   Goals: less white, clearer hierarchy, compact summary, navy identity, fewer boxes. */
:root{
  --bc402-navy:#123e61;
  --bc402-navy-2:#184f76;
  --bc402-page:#e9f0f4;
  --bc402-panel:#f7fafc;
  --bc402-panel-2:#eef4f7;
  --bc402-border:#d4e0e8;
  --bc402-text:#17344c;
  --bc402-muted:#6b8192;
}

/* Known v401 regression: unit checkboxes must never inherit full-width input rules. */
body[data-page="settings"] .v401-unit-list .branch-unit-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-height:62px!important;
  overflow:hidden!important;
}
body[data-page="settings"] .v401-unit-list .branch-unit-row>input[type="checkbox"]{
  appearance:auto!important;
  width:20px!important;height:20px!important;
  min-width:20px!important;min-height:20px!important;
  max-width:20px!important;max-height:20px!important;
  flex:0 0 20px!important;
  margin:0!important;padding:0!important;
  accent-color:var(--bc402-navy)!important;
  box-shadow:none!important;
}
body[data-page="settings"] .v401-unit-list .branch-unit-row>span{
  min-width:0!important;width:auto!important;
  writing-mode:horizontal-tb!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
body[data-page="settings"] .v401-unit-list .branch-unit-row b,
body[data-page="settings"] .v401-unit-list .branch-unit-row small{
  writing-mode:horizontal-tb!important;
  white-space:normal!important;
}

/* Workspace foundation */
#modal.brokerage-case-v391-theme{
  width:min(1480px,calc(100vw - 24px))!important;
  height:min(930px,calc(100vh - 18px))!important;
  border-radius:22px!important;
  background:var(--bc402-page)!important;
  box-shadow:0 24px 70px rgba(17,48,72,.25)!important;
}
#modal.brokerage-case-v391-theme>.modal-body{
  background:linear-gradient(180deg,#e7eef3 0,#edf3f6 46%,#e9f0f4 100%)!important;
}
.bcv391-shell{background:transparent!important;color:var(--bc402-text)!important}
.bcv391-form{gap:10px!important;padding:10px!important}

/* One strong identity header instead of another white card. */
.bcv391-head{
  top:0!important;
  grid-template-columns:minmax(300px,1fr) auto auto!important;
  gap:12px!important;
  min-height:88px!important;
  padding:13px 15px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:18px!important;
  background:linear-gradient(125deg,var(--bc402-navy) 0%,#174d73 72%,#1c587e 100%)!important;
  box-shadow:0 10px 24px rgba(18,62,97,.18)!important;
  backdrop-filter:none!important;
}
.bcv391-file-icon{
  width:44px!important;height:44px!important;flex-basis:44px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.11)!important;
  color:#fff!important;
}
.bcv391-file-icon svg{width:23px!important;height:23px!important}
.bcv391-identity small{font-size:12.5px!important;color:rgba(255,255,255,.72)!important}
.bcv391-identity h2{font-size:22px!important;color:#fff!important;letter-spacing:-.15px}
.bcv391-head-meta{font-size:13px!important;color:rgba(255,255,255,.78)!important}
.bcv391-head-meta i{background:rgba(255,255,255,.44)!important}
.bcv391-head-states{justify-content:flex-end!important;gap:5px!important;max-width:500px}
.bcv391-head-states .brokerage-status-pill,
.bcv391-head-states .bc391-state-chip{
  min-height:28px!important;
  padding:4px 9px!important;
  border-color:rgba(255,255,255,.20)!important;
  box-shadow:none!important;
  font-size:12.5px!important;
}
.bcv391-head-states .brokerage-status-pill{background:rgba(255,255,255,.94)!important;color:#193e59!important}
.bcv391-head-actions{gap:7px!important}
.bcv391-call{
  height:42px!important;padding:0 14px!important;border-radius:11px!important;
  background:#0b8a78!important;color:#fff!important;
  box-shadow:0 5px 14px rgba(0,85,73,.24)!important;
}
.bcv391-close{
  width:42px!important;height:42px!important;min-width:42px!important;
  display:grid!important;place-items:center!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.bcv391-close:hover{background:rgba(255,255,255,.18)!important;border-color:rgba(255,255,255,.38)!important}
.bcv391-close svg{width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important}

/* Compact summary strip — readable dark values, subtle semantic tint, no washed-out white text. */
.bcv391-summary{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
.bcv391-summary article{
  min-height:82px!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  column-gap:10px!important;row-gap:0!important;
  align-items:center!important;
  align-content:center!important;
  padding:10px 12px!important;
  border:1px solid var(--bc402-border)!important;
  border-radius:14px!important;
  color:var(--bc402-text)!important;
  box-shadow:0 4px 13px rgba(28,60,83,.055)!important;
  overflow:hidden!important;
}
.bcv391-summary article::after{display:none!important}
.bcv391-summary .tone-blue{background:linear-gradient(135deg,#e8f1f7,#f3f7fa)!important;border-inline-start:3px solid #2d6f9e!important}
.bcv391-summary .tone-green{background:linear-gradient(135deg,#e9f4f2,#f4f9f8)!important;border-inline-start:3px solid #3d7d78!important}
.bcv391-summary .tone-amber{background:linear-gradient(135deg,#f0f4f7,#f7f9fb)!important;border-inline-start:3px solid #667f92!important}
.bcv391-summary .tone-purple{background:linear-gradient(135deg,#edf1f6,#f7f8fb)!important;border-inline-start:3px solid #586f8b!important}
.bcv391-summary article.is-attention{background:linear-gradient(135deg,#fff1dc,#fff8ec)!important;border-inline-start-color:#c77b20!important}
.bcv391-summary article.is-ok{background:linear-gradient(135deg,#e7f4ed,#f3faf6)!important;border-inline-start-color:#3f8a63!important}
.bcv402-summary-icon{
  grid-column:1!important;grid-row:1/4!important;
  width:36px;height:36px;display:grid;place-items:center;
  border-radius:11px;background:rgba(18,62,97,.08);color:var(--bc402-navy);
  font-style:normal;
}
.bcv402-summary-icon svg{width:19px;height:19px;stroke:currentColor}
.bcv391-summary small,.bcv391-summary b,.bcv391-summary span{grid-column:2!important;min-width:0!important}
.bcv391-summary small{
  font-size:11.8px!important;font-weight:750!important;
  color:#657c8e!important;
}
.bcv391-summary b{
  font-size:18px!important;line-height:1.45!important;font-weight:900!important;
  color:#163b57!important;
}
.bcv391-summary b em{font-size:11.5px!important;color:#647b8c!important}
.bcv391-summary span{
  font-size:11.8px!important;line-height:1.4!important;
  color:#718696!important;
}

/* Clear main workspace: soft page, quiet panels, one primary operational panel. */
.bcv391-layout{grid-template-columns:minmax(0,2.08fr) minmax(300px,.78fr)!important;gap:10px!important}
.bcv391-main,.bcv391-sidebar{gap:10px!important}
.bcv391-section{
  padding:14px!important;
  border:1px solid #d5e0e7!important;
  border-radius:15px!important;
  background:rgba(248,251,252,.96)!important;
  box-shadow:0 3px 12px rgba(28,59,81,.045)!important;
}
.bcv391-operations{
  position:relative;
  background:linear-gradient(180deg,#f5f9fb,#f9fbfc)!important;
  border-top:3px solid var(--bc402-navy)!important;
}
.bcv391-section>header{min-height:39px!important;margin-bottom:10px!important}
.bcv391-section>header small{font-size:11.8px!important;color:#728798!important}
.bcv391-section>header h3{font-size:16.5px!important;color:#193b55!important}
.bcv391-section-hint{font-size:12px!important;color:#718596!important}

/* Management controls — fewer floating boxes, navy active state, semantic colors only where useful. */
.bcv391-status-grid{gap:8px!important;margin-bottom:11px!important}
.bcv391-status-block{gap:5px!important}
.bcv391-status-block>span,.bcv391-field-label>span{font-size:12.6px!important;color:#36566e!important}
.bcv391-status-select{
  height:40px!important;
  border-color:#c8d6df!important;
  border-radius:10px!important;
  background:#fff!important;
  font-size:13px!important;
}
.bcv391-segments{
  gap:4px!important;padding:3px!important;
  border:1px solid #d5e0e7!important;border-radius:10px!important;
  background:#eaf0f4!important;
}
.bcv391-segments button{min-height:33px!important;border-radius:8px!important;font-size:12.5px!important;color:#5e7487!important}
.bcv391-segments button.is-active{background:var(--bc402-navy)!important;color:#fff!important;box-shadow:0 2px 7px rgba(18,62,97,.16)!important}
.bcv391-segments[data-tone="signature"] button.is-active[data-bcv391-value="امضا شده"],
.bcv391-segments[data-tone="payment"] button.is-active[data-bcv391-value*="پرداخت شد"]{background:#367a5a!important;color:#fff!important}
.bcv391-segments[data-tone="signature"] button.is-active[data-bcv391-value="امضا نشده"]{background:#a9651e!important;color:#fff!important}
.bcv391-segments[data-tone="acceptance"] button.is-active[data-bcv391-value="پذیرفت"]{background:#286f8d!important;color:#fff!important}
.bcv391-segments[data-tone="acceptance"] button.is-active[data-bcv391-value*="عدم"]{background:#9a4d4d!important;color:#fff!important}

/* Assignee becomes one quiet operational row. */
.bcv391-assignee{
  grid-template-columns:170px minmax(0,1fr)!important;
  gap:10px!important;padding-top:11px!important;border-top:1px solid #dce5eb!important;
}
.bcv391-assignee-controls{gap:7px!important}
.bcv391-assignee-search{height:40px!important;border-color:#cbd8e1!important;border-radius:10px!important;background:#fff!important}
.bcv391-assignee-search input{height:36px!important;font-size:13px!important}
.bcv391-assignee select,.bcv391-fields :is(input,select,textarea),.bcv391-custom-field :is(input,select,textarea){
  min-height:40px!important;
  border-color:#cad7e0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1d3c53!important;
  font-size:13.2px!important;
  box-shadow:none!important;
}
.bcv391-field-label small{font-size:11.5px!important}

/* Financial form */
.bcv391-fields{gap:9px!important}
.bcv391-fields label>span,.bcv391-custom-field>span{font-size:12.6px!important;color:#405f76!important}
.bcv391-fields textarea,.bcv391-custom-field textarea{min-height:78px!important}
.bcv391-secondary{border-top-color:#dce5eb!important}

/* Sidebar behaves like a dossier, not nested white cards. */
.bcv391-profile{background:#f1f6f9!important}
.bcv391-profile dl>div{min-height:42px!important;border-bottom-color:#dce6ec!important}
.bcv391-profile dt{font-size:12.2px!important;color:#738797!important}
.bcv391-profile dd{font-size:13.5px!important;color:#203e55!important}
.bcv391-activity{background:#f5f7fa!important}
.bcv391-activity>header>b{background:#e5edf3!important;color:#315a76!important;font-size:12px!important}
.bcv391-tabs{padding:3px!important;border:1px solid #d7e1e8!important;border-radius:10px!important;background:#e9eff3!important}
.bcv391-tabs button{height:34px!important;border-radius:8px!important;font-size:12.8px!important;color:#607789!important}
.bcv391-tabs button.is-active{background:var(--bc402-navy)!important;color:#fff!important;box-shadow:none!important}
.bcv391-tab-panel{padding-top:8px!important}
.bcv391-tab-panel .case-ref-timeline-item,
.bcv391-tab-panel .case-ref-message-item{
  margin:0!important;
  padding:8px 10px!important;
  border:0!important;
  border-inline-start:2px solid #c9d8e2!important;
  border-radius:0!important;
  background:transparent!important;
}
.bcv391-tab-panel .case-ref-timeline-item+.case-ref-timeline-item,
.bcv391-tab-panel .case-ref-message-item+.case-ref-message-item{margin-top:5px!important}
.bcv391-tab-panel :is(b,header){font-size:12.8px!important}
.bcv391-tab-panel :is(small,span){font-size:11.8px!important}
.bcv391-tab-panel p{font-size:12.8px!important;color:#425e73!important}

/* Sticky action bar: clear priority. */
#modal.brokerage-case-v391-theme>.modal-actions{
  min-height:60px!important;
  padding:8px 14px!important;
  border-top:1px solid #ccd9e2!important;
  background:rgba(237,243,247,.97)!important;
  box-shadow:0 -6px 18px rgba(25,56,82,.07)!important;
}
#modal.brokerage-case-v391-theme>.modal-actions .btn{
  min-height:42px!important;
  border-radius:10px!important;
  padding:0 16px!important;
  font-size:13.5px!important;
}
#modal.brokerage-case-v391-theme>.modal-actions .btn-primary{background:var(--bc402-navy)!important;border-color:var(--bc402-navy)!important;color:#fff!important}
#modal.brokerage-case-v391-theme>.modal-actions .btn-soft{background:#fff!important;border:1px solid #98b1c2!important;color:#244e6b!important}
#modal.brokerage-case-v391-theme>.modal-actions .btn-muted{background:transparent!important;border:1px solid #c3d0d9!important;color:#536b7c!important}

/* Responsive */
@media(max-width:1180px){
  .bcv391-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bcv391-layout{grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr)!important}
  .bcv391-head{grid-template-columns:minmax(260px,1fr) auto!important}
  .bcv391-head-states{grid-column:1/-1!important;grid-row:2!important;justify-content:flex-start!important;max-width:none!important}
}
@media(max-width:860px){
  #modal.brokerage-case-v391-theme{width:calc(100vw - 10px)!important;height:calc(100vh - 10px)!important}
  .bcv391-head{position:relative!important;grid-template-columns:1fr auto!important;min-height:auto!important}
  .bcv391-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bcv391-layout{grid-template-columns:1fr!important}
  .bcv391-section{padding:12px!important}
  .bcv391-assignee{grid-template-columns:1fr!important}
}
@media(max-width:540px){
  .bcv391-form{padding:6px!important}
  .bcv391-head{padding:10px!important;border-radius:14px!important}
  .bcv391-identity h2{font-size:19px!important}
  .bcv391-summary{grid-template-columns:1fr!important}
  .bcv391-summary article{min-height:72px!important}
  .bcv391-status-grid,.bcv391-fields,.bcv391-custom-grid,.bcv391-assignee-controls{grid-template-columns:1fr!important}
}

/* ===== SOURCE: tiam-v403-expense-employee-redesign.css | sha256:a0506805440905524f1f5c92b9239289d14578696b58af1cca360f87a9881f83 ===== */
/* TIAM v403 — expense workspace + employee file unification */
:root{--v403-navy:#123f61;--v403-navy-2:#0b2f4f;--v403-bg:#edf3f7;--v403-surface:#f7fafc;--v403-line:#d5e1e9;--v403-ink:#17384f;--v403-muted:#6d8291}
body[data-page="finance-expense"] #page-content{background:var(--v403-bg)!important}
.fin403-expense-page{max-width:1480px!important;margin:0 auto!important;padding:12px 16px 28px!important;display:grid!important;gap:12px!important}
.fin403-head-action{width:42px!important;height:42px!important;min-width:42px!important;border-radius:11px!important}
.fin403-fund-strip{border:1px solid var(--v403-line);border-radius:14px;background:#f6f9fb;padding:12px 13px;box-shadow:0 6px 18px rgba(16,56,84,.04)}
.fin403-fund-strip>header{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}
.fin403-fund-strip>header small,.fin403-list-head small{display:block;color:#7890a1;font-size:11px;font-weight:750;margin-bottom:2px}.fin403-fund-strip h3,.fin403-list-head h3{margin:0;color:var(--v403-ink);font-size:15px}.fin403-fund-strip>header>span{color:#7c8e9a;font-size:11px}
.fin403-fund-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}
.fin403-fund-mini{min-width:0;min-height:62px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;border:1px solid #d9e4eb;border-radius:11px;background:#fff;color:var(--v403-ink);font:inherit;text-align:right;cursor:pointer;box-shadow:none;transition:.15s ease}
.fin403-fund-mini:hover{border-color:#8eb0c6;background:#fbfdfe;transform:translateY(-1px)}.fin403-fund-mini>span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eaf2f7;color:#1d5c86}.fin403-fund-mini svg{width:17px;height:17px}.fin403-fund-mini>div{min-width:0;display:grid;gap:1px}.fin403-fund-mini>div b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fin403-fund-mini>div small{font-size:10px;color:#8495a2}.fin403-fund-mini>strong{display:flex;align-items:baseline;gap:3px;color:#173f5c;font-size:14px;white-space:nowrap}.fin403-fund-mini>strong em{font-style:normal;font-size:9px;color:#8999a4}.fin403-fund-mini.is-empty{opacity:.58}.fin403-fund-mini.is-empty>strong{color:#8a969e}.fin403-fund-empty{padding:14px;color:#7a8c98;text-align:center}
.fin403-expense-list{margin:0!important;border:1px solid var(--v403-line)!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important}.fin403-list-head{min-height:60px;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px 14px!important;border-bottom:1px solid #e1e9ee!important;background:#fbfcfd!important}.fin403-list-summary{display:flex;align-items:center;gap:8px}.fin403-list-summary b,.fin403-list-summary span{min-height:29px;display:inline-flex;align-items:center;padding:0 9px;border-radius:8px;background:#edf4f8;color:#28536f;font-size:10.5px;font-weight:800}.fin403-list-summary span{background:#f3f5f7;color:#526b7c}
.fin403-filter{display:grid;grid-template-columns:minmax(170px,1.3fr) repeat(4,minmax(125px,.8fr)) repeat(2,minmax(150px,.9fr)) auto;gap:8px;align-items:end;padding:10px 12px;border-bottom:1px solid #e5ebef;background:#f6f9fb}.fin403-filter>label{min-width:0;display:grid;gap:4px}.fin403-filter>label>span{font-size:10.5px;color:#5e7686;font-weight:800}.fin403-filter :is(input,select){width:100%!important;min-width:0!important;height:39px!important;min-height:39px!important;border:1px solid #cfdce5!important;border-radius:9px!important;background:#fff!important;font-size:11px!important;box-shadow:none!important}.fin403-filter .date-control{height:39px!important;min-height:39px!important;border:1px solid #cfdce5!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important}.fin403-filter .date-control input{height:37px!important;min-height:37px!important;border:0!important}.fin403-filter-actions{display:flex;gap:6px}.fin403-filter-actions .btn{min-height:39px!important;height:39px!important;padding-inline:11px!important;font-size:11px!important}
.fin403-loading,.fin403-error{padding:32px;text-align:center;color:#748894}.fin403-error{color:#994d4d}.fin403-table-wrap{max-height:58vh;overflow:auto}.fin403-expense-table{min-width:1040px!important}.fin403-expense-table th{position:sticky;top:0;z-index:2;background:#f4f8fa!important}.fin403-expense-table td{vertical-align:middle!important}.fin403-exp-desc{display:grid;gap:2px;text-align:right}.fin403-exp-desc b{font-size:12px;color:#213f55}.fin403-exp-desc small{font-size:9.5px;color:#8a9aa5}.fin403-money{display:block;color:#163f5d;font-size:12.5px}.fin403-expense-table td>small{font-size:9px;color:#8b99a2}.fin403-row-actions{display:flex;justify-content:center;gap:5px}.fin403-row-actions .tiam-icon-only{width:34px!important;height:34px!important;min-width:34px!important;border-radius:9px!important}.fin403-row-actions .is-danger{color:#a14343!important;border-color:#e8caca!important;background:#fff7f7!important}
.fin403-expense-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 14px!important}.fin403-create-intro{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:#eef5f9;color:#173f5d}.fin403-create-intro>span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#fff}.fin403-create-intro svg{width:18px;height:18px}.fin403-create-intro div{display:grid;gap:1px}.fin403-create-intro b{font-size:13px}.fin403-create-intro small{font-size:10.5px;color:#708696}

/* Employee file: edit mode follows the v399 create language instead of reverting to legacy white UI. */
body[data-page="experts"] #page-content:has(.employee-v373-page.is-edit){background:var(--hr399-page,#edf3f7)!important}
.employee-v373-page.is-edit .employee-v373-header{min-height:78px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:14px!important;margin:0!important;padding:13px 16px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,var(--hr399-navy,#0b2f4f),var(--hr399-navy-2,#143f60))!important}.employee-v373-page.is-edit .employee-v373-back{min-height:38px!important;height:38px!important;padding:0 11px!important;border:1px solid rgba(255,255,255,.3)!important;border-radius:9px!important;background:rgba(255,255,255,.1)!important;color:#fff!important}.employee-v373-page.is-edit .employee-v373-identity h1{color:#fff!important;font-size:18px!important}.employee-v373-page.is-edit .employee-v373-identity p{color:rgba(255,255,255,.8)!important;font-size:11.5px!important}.employee-v373-page.is-edit .employee-v373-identity small{color:rgba(255,255,255,.68)!important}.employee-v373-page.is-edit .employee-v383-state{background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important}.employee-v373-page.is-edit .employee-v373-main{padding-top:10px!important}.employee-v373-page.is-edit .employee-v373-form{border:1px solid var(--hr399-border,#cedbe5)!important;border-radius:14px!important;background:var(--hr399-panel,#f4f7fa)!important;box-shadow:0 8px 24px rgba(17,53,79,.05)!important}.employee-v373-page.is-edit .employee-v373-tabs{min-height:50px!important;display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(130px,1fr)!important;gap:4px!important;padding:6px!important;border-bottom:1px solid var(--hr399-border,#cedbe5)!important;background:var(--hr399-panel-2,#eaf1f6)!important}.employee-v373-page.is-edit .employee-v373-tabs button{min-height:38px!important;height:38px!important;padding:0 12px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:#536d7f!important;font-size:11.5px!important;font-weight:800!important}.employee-v373-page.is-edit .employee-v373-tabs button.is-active{border-color:var(--hr399-navy,#0b2f4f)!important;background:var(--hr399-navy,#0b2f4f)!important;color:#fff!important}.employee-v373-page.is-edit .employee-v373-panels{padding:14px!important;background:var(--hr399-panel,#f4f7fa)!important}.employee-v373-page.is-edit .employee-profile-panel{padding:14px!important;border:1px solid var(--hr399-border-soft,#dde6ed)!important;border-radius:12px!important;background:#f9fbfc!important}.employee-v373-page.is-edit .employee-v373-section-title{min-height:36px!important;margin:0 0 12px!important;padding-bottom:9px!important;border-bottom:1px solid var(--hr399-border-soft,#dde6ed)!important}.employee-v373-page.is-edit .employee-v373-section-title b{font-size:13px!important;color:var(--hr399-navy,#0b2f4f)!important}.employee-v373-page.is-edit .employee-v373-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 16px!important}.employee-v373-page.is-edit .employee-v373-data-grid .field{display:grid!important;grid-template-rows:20px minmax(44px,auto) auto!important;gap:4px!important}.employee-v373-page.is-edit .employee-v373-form .field>label{min-height:20px!important;margin:0!important;display:flex!important;align-items:center!important;color:#405d71!important;font-size:11.5px!important}.employee-v373-page.is-edit .employee-v373-form :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px!important;height:44px!important;border:1px solid var(--hr399-border,#cedbe5)!important;border-radius:9px!important;background:#fff!important;color:#17374f!important;font-size:12px!important;box-shadow:none!important}.employee-v373-page.is-edit .employee-v373-form textarea{min-height:76px!important;border:1px solid var(--hr399-border,#cedbe5)!important;border-radius:9px!important;background:#fff!important;font-size:12px!important}.employee-v373-page.is-edit .date-control{min-height:44px!important;height:44px!important;border:1px solid var(--hr399-border,#cedbe5)!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important}.employee-v373-page.is-edit .employee-v373-facts{background:#eaf1f6!important;border-color:#d7e2ea!important}.employee-v373-page.is-edit .employee-account-section{background:#f6f9fb!important;border-color:#d8e3ea!important}.employee-v373-page.is-edit .employee-v373-footer{padding:11px 16px!important;background:#eaf1f6!important;border-top-color:#d5e1e9!important}
@media(max-width:1180px){.fin403-filter{grid-template-columns:repeat(4,minmax(140px,1fr))}.fin403-filter-actions{grid-column:span 1}}
@media(max-width:760px){.fin403-expense-page{padding-inline:8px!important}.fin403-fund-strip>header{align-items:flex-start;flex-direction:column}.fin403-filter{grid-template-columns:1fr 1fr}.fin403-filter-actions{grid-column:1/-1}.fin403-expense-form,.employee-v373-page.is-edit .employee-v373-data-grid{grid-template-columns:1fr!important}}
@media(max-width:480px){.fin403-filter{grid-template-columns:1fr}.fin403-filter-actions{grid-column:auto}.fin403-fund-cards{grid-template-columns:1fr}}

/* ===== SOURCE: tiam-v404-finance-system.css | sha256:b7e42e4517d2b147a0465817f9f51df62bbe7697e94e3bbdd0477005c5b6078a ===== */
/* TIAM v404 — finance/accounting redesign + request-card regression repair */
:root{--fin404-navy:#153f60;--fin404-navy-2:#1c5278;--fin404-bg:#eef4f7;--fin404-surface:#fff;--fin404-soft:#f5f8fa;--fin404-line:#cfdee7;--fin404-text:#17384f;--fin404-muted:#657b8a;--fin404-green:#2f7250;--fin404-amber:#94651d;--fin404-red:#9a4545;--fin404-radius:16px}

/* regression: personal requests must be one column, never inherit the legacy 32px icon grid */
.v286-profile-request.v387-profile-request{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;min-width:0!important;height:auto!important;min-height:0!important;padding:12px 14px!important;gap:10px!important}
.v286-profile-request.v387-profile-request>.v387-request-head,.v286-profile-request.v387-profile-request>.v387-request-progress,.v286-profile-request.v387-profile-request>.v387-request-current{grid-column:1/-1!important;min-width:0!important;width:100%!important}
.v286-profile-recent{max-height:none!important;overflow:visible!important}
.v286-profile-recent>header{position:static!important}
.v387-request-head{grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important}
.v387-request-head>div{min-width:0!important}.v387-request-head>div>*{max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
.v387-request-progress{display:grid!important;grid-template-columns:repeat(var(--v400-step-count,4),minmax(0,1fr))!important;gap:7px!important;overflow:visible!important;width:100%!important}
.v387-request-progress>span{min-width:0!important;min-height:48px!important;padding:7px 8px!important;align-content:center!important;white-space:normal!important}
.v387-request-progress>span b{font-size:12px!important;line-height:1.55!important;word-break:normal!important;overflow-wrap:break-word!important}
.v387-request-current{font-size:12px!important;line-height:1.65!important;margin:0!important}
@media(max-width:700px){.v387-request-progress{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:430px){.v387-request-progress{grid-template-columns:1fr!important}}

/* finance common */
body:is([data-page="accounting-dashboard"],[data-page="finance-dashboard"],[data-page="finance-expense"],[data-page="finance-funds"],[data-page="finance-commitments"],[data-page="finance-people"],[data-page="finance-history"],[data-page="financial-requests"],[data-page="financial-statements"],[data-page="accounting-journal"],[data-page="accounting-ledger"],[data-page="accounting-periods"]) #page-content{background:linear-gradient(180deg,#edf4f7 0%,#f5f8fa 38%,#eef4f7 100%)!important}
.fin404{max-width:1540px;margin:0 auto;padding:2px 4px 24px;display:grid;gap:14px;color:var(--fin404-text)}
.fin404 svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fin404 button,.fin404 input,.fin404 select,.fin404 textarea{font-family:inherit}
.fin404 :is(input,select,textarea){font-size:14px!important;color:var(--fin404-text)!important;background:#fff!important;border:1px solid #cbdbe5!important;border-radius:11px!important;box-shadow:none!important}
.fin404 :is(input,select){min-height:43px!important}.fin404 textarea{min-height:82px!important}
.fin404 :is(input,select,textarea):focus{border-color:#5d8eaf!important;outline:0!important;box-shadow:0 0 0 3px rgba(34,100,145,.10)!important}
.fin404-head-action{width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;border-radius:12px!important;background:#fff!important;color:var(--fin404-navy)!important;border:1px solid #bed1de!important}
.fin404-head-action:hover{background:#edf5fa!important;border-color:#6e9bb8!important}
.fin404-back{min-height:42px!important;border-radius:12px!important;background:#fff!important;color:var(--fin404-navy)!important;border:1px solid #bed1de!important}

.fin404-hero{min-height:128px;padding:24px 26px;border-radius:20px;background:linear-gradient(135deg,#153f60 0%,#1c5378 100%);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 14px 32px rgba(21,63,96,.14)}
.fin404-hero>div:first-child{max-width:760px}.fin404-hero small{font-size:12.5px;color:rgba(255,255,255,.74);font-weight:750}.fin404-hero h1{margin:5px 0 5px;font-size:24px;line-height:1.5;color:#fff}.fin404-hero p{margin:0;font-size:13.5px;line-height:1.9;color:rgba(255,255,255,.78)}
.fin404-hero-balance{min-width:220px;padding:13px 18px;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:rgba(255,255,255,.10);text-align:center}.fin404-hero-balance span,.fin404-hero-balance small{display:block}.fin404-hero-balance b{display:block;margin:4px 0;font-size:24px;color:#fff;font-variant-numeric:tabular-nums}

.fin404-quick-metrics,.fin404-primary-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fin404-primary-metrics.is-compact{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}
.fin404-metric{position:relative;overflow:hidden;min-height:105px;padding:15px 16px;border:1px solid #d2e0e8;border-radius:16px;background:#fff;display:grid;align-content:center;gap:2px;box-shadow:0 5px 14px rgba(25,67,99,.04)}
.fin404-metric::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:#255f87}.fin404-metric.is-green::before{background:#4a8d68}.fin404-metric.is-amber::before{background:#c69345}.fin404-metric.is-red::before{background:#ba6666}
.fin404-metric span{font-size:12.5px;color:#6c7f8c;font-weight:750}.fin404-metric b{font-size:20px;line-height:1.55;color:#153f60;font-variant-numeric:tabular-nums}.fin404-metric small{font-size:11.5px;color:#8797a1}.fin404-metric em{font-size:11.5px;color:#6f8492;font-style:normal;margin-top:2px}
.fin404-metric.is-green{background:#f4faf6}.fin404-metric.is-amber{background:#fffaf0}.fin404-metric.is-red{background:#fff7f7}

.fin404-group,.fin404-surface{border:1px solid #d1dfe7;border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 7px 18px rgba(22,61,89,.045);overflow:hidden}.fin404-group{padding:16px}.fin404-surface{padding:17px}
.fin404-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}.fin404-section-head>div:first-child{min-width:0}.fin404-section-head small{display:block;font-size:11.5px;font-weight:800;color:#708491;margin-bottom:2px}.fin404-section-head h2{margin:0;font-size:17px;color:#173f5b;line-height:1.55}.fin404-section-head p{margin:3px 0 0;font-size:12.5px;line-height:1.75;color:#70828f}.fin404-section-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.fin404-nav-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.fin404-nav-card{min-width:0;min-height:86px;padding:12px 13px;border:1px solid #d3e0e8;border-radius:15px;background:#f9fbfc;color:#173b55;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:11px;text-align:right;cursor:pointer;transition:background .14s,border-color .14s,transform .14s}.fin404-nav-card:hover{background:#f0f6f9;border-color:#91afc2;transform:translateY(-1px)}.fin404-nav-icon{width:42px;height:42px;border-radius:12px;background:#e8f1f6;color:#1d5b82;display:grid;place-items:center}.fin404-nav-copy{min-width:0}.fin404-nav-copy b{display:block;font-size:14px;color:#163f5e;margin-bottom:3px}.fin404-nav-copy small{display:block;font-size:11.8px;line-height:1.65;color:#71838f}.fin404-nav-card>i{display:grid;place-items:center;color:#7792a4}.fin404-nav-card>i svg{width:15px;height:15px}

.fin404-scope-bar{min-height:54px;padding:7px 9px;border:1px solid #cedde6;border-radius:15px;background:rgba(255,255,255,.88);display:flex;align-items:end;gap:8px;flex-wrap:wrap}.fin404-scope-bar label,.fin404-filter>label,.fin404-more-filter label{display:grid;gap:5px;min-width:170px}.fin404-scope-bar label span,.fin404-filter label>span,.fin404-more-filter label>span{font-size:11.5px;font-weight:750;color:#6b7f8d}.fin404-scope-reset{height:43px;padding:0 13px;border:0;background:transparent;color:#245f86;font-weight:800;cursor:pointer}
.fin404-secondary-strip,.fin404-fund-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border:1px solid #d1e0e8;border-radius:16px;overflow:hidden;background:#dbe6ec}.fin404-secondary-strip>span,.fin404-fund-summary>span{min-height:74px;padding:11px 14px;background:#f8fbfc;display:grid;align-content:center;gap:2px}.fin404-secondary-strip small,.fin404-fund-summary small{font-size:11.5px;color:#728591}.fin404-secondary-strip b,.fin404-fund-summary b{font-size:15px;color:#173f5e}.fin404-secondary-strip .is-forecast{background:#f3f0f8;border:1px dashed #b7aec9}
.fin404-split{display:grid;grid-template-columns:1.15fr .85fr;gap:12px}.fin404-cash-list{display:grid;gap:0}.fin404-cash-row{display:grid;grid-template-columns:minmax(115px,.8fr) repeat(2,minmax(120px,1fr)) minmax(120px,.8fr);gap:8px;align-items:center;padding:11px 4px;border-bottom:1px solid #e4ebef}.fin404-cash-row:last-child{border-bottom:0}.fin404-cash-row>b{font-size:13px;color:#244b66}.fin404-cash-row span,.fin404-cash-row strong{display:grid;gap:1px;font-size:12.5px}.fin404-cash-row small{font-size:10.8px;color:#788b96}.fin404-cash-row strong{font-size:14px}.fin404-cash-row strong.pos{color:#2f7250}.fin404-cash-row strong.neg{color:#9a4545}
.fin404-mix{display:grid;gap:10px}.fin404-mix>div{display:grid;gap:5px}.fin404-mix>div>span{display:flex;justify-content:space-between;gap:10px;align-items:center}.fin404-mix b{font-size:12.5px}.fin404-mix small{font-size:11.5px;color:#6f818c}.fin404-mix i{height:7px;border-radius:999px;background:#e5edf2;overflow:hidden}.fin404-mix em{display:block;height:100%;border-radius:inherit;background:#245f86}.fin404-info,.fin404-warning,.fin404-hint{padding:11px 13px;border-radius:13px;font-size:12.5px;line-height:1.75}.fin404-info{background:#edf5fa;border:1px solid #c9dce8;color:#275675;display:flex;gap:8px;align-items:center}.fin404-warning{background:#fff7e9;border:1px solid #ead1a7;color:#7b561d}.fin404-hint{margin-top:9px;background:#f5f8fa;border:1px solid #d5e1e8;color:#637884}.fin404-empty{padding:24px;text-align:center;color:#7a8e99;font-size:13px}

.fin404-fund-ribbon{padding:15px;border:1px solid #cfdfe8;border-radius:18px;background:rgba(255,255,255,.86)}.fin404-fund-ribbon .fin404-section-head{margin-bottom:10px}.fin404-fund-ribbon-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}.fin404-fund-ribbon-list>button{min-width:0;min-height:68px;padding:9px 11px;border:1px solid #d0dee7;border-radius:13px;background:#f7fafc;color:#183f5d;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;text-align:right;cursor:pointer}.fin404-fund-ribbon-list>button:hover:not(:disabled){background:#eef5f9;border-color:#86a9bf}.fin404-fund-ribbon-list>button:disabled{opacity:.48;cursor:not-allowed}.fin404-fund-ribbon-list>button>span{width:34px;height:34px;border-radius:10px;background:#e7f0f5;display:grid;place-items:center}.fin404-fund-ribbon-list b,.fin404-fund-ribbon-list small{display:block}.fin404-fund-ribbon-list b{font-size:12.8px}.fin404-fund-ribbon-list small{font-size:10.8px;color:#788b97;margin-top:2px}.fin404-fund-ribbon-list strong{font-size:14px;white-space:nowrap}.fin404-fund-ribbon-list em{font-size:10px;font-style:normal;margin-inline-start:3px;color:#788b97}

.fin404-filter{display:grid;grid-template-columns:minmax(240px,1.5fr) repeat(2,minmax(160px,.8fr)) auto;gap:8px;align-items:end;padding:10px;border:1px solid #d8e4eb;border-radius:14px;background:#f5f8fa;margin-bottom:12px}.fin404-filter .is-search{min-width:240px}.fin404-filter .is-wide{min-width:260px}.fin404-filter-actions{display:flex;align-items:center;gap:6px;min-height:43px}.fin404-more-filter{grid-column:1/-1;border-top:1px solid #dce6eb;padding-top:7px}.fin404-more-filter>summary{list-style:none;display:inline-flex;align-items:center;min-height:34px;padding:5px 9px;border-radius:9px;color:#245f86;font-size:12px;font-weight:800;cursor:pointer}.fin404-more-filter>summary::-webkit-details-marker{display:none}.fin404-more-filter[open]>summary{background:#e8f1f6}.fin404-more-filter>div{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:8px;padding-top:7px}.fin404-list-summary{display:flex;align-items:center;gap:8px}.fin404-list-summary b,.fin404-list-summary span{font-size:12px;padding:5px 8px;border-radius:999px;background:#edf4f8;color:#315e79}
.fin404-table{max-height:none!important;overflow:auto}.fin404-table .data-table{min-width:900px!important}.fin404-table .data-table th{font-size:12.5px!important;padding:10px 9px!important;color:#31566f!important}.fin404-table .data-table td{font-size:13px!important;padding:9px!important;line-height:1.55!important}.fin404-table .data-table td small{font-size:11.5px!important;color:#758894!important;margin-top:3px!important}.fin404-table .data-table td b{font-size:13.2px!important}.fin404-state{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:3px 8px;border:1px solid #cbdbe5;border-radius:999px;background:#f4f8fa;color:#486778;font-size:11.5px;font-weight:800;white-space:nowrap}.fin404-state.is-overdue,.fin404-state.is-void{background:#fff1f1;border-color:#dfb4b4;color:#914545}.fin404-state.is-today,.fin404-state.is-near,.fin404-state.is-partial{background:#fff7e8;border-color:#e5c99a;color:#8a611e}.fin404-state.is-posted,.fin404-state.is-settled,.fin404-state.is-open{background:#eef7f1;border-color:#bed8c6;color:#386d4e}.fin404-row-actions{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}

.fin404-funds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fin404-fund-card{padding:15px;border:1px solid #d0dee7;border-radius:17px;background:#fff;display:grid;gap:13px;box-shadow:0 5px 14px rgba(25,67,99,.04)}.fin404-fund-card.is-main{border-color:#89abc0;background:#f7fbfd}.fin404-fund-card>header{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:9px;align-items:center}.fin404-fund-card>header>span{width:38px;height:38px;border-radius:11px;background:#e8f1f6;color:#205f87;display:grid;place-items:center}.fin404-fund-card h3{margin:0;font-size:14px}.fin404-fund-card header small,.fin404-fund-card header em{display:block;font-size:10.8px;color:#778a96;font-style:normal}.fin404-fund-card>strong{font-size:22px;color:#153f60}.fin404-fund-card>strong small{font-size:11px;font-weight:600;color:#81919b}.fin404-fund-card>footer{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e3ebef;padding-top:9px;gap:8px}.fin404-fund-card>footer span{display:grid;gap:2px}.fin404-fund-card>footer small{font-size:10.8px;color:#788b96}.fin404-fund-card>footer b{font-size:13px}.fin404-fund-card details{position:relative}.fin404-fund-card details>summary{list-style:none;width:34px;height:34px;border-radius:9px;border:1px solid #d3e0e8;background:#fff;display:grid;place-items:center;cursor:pointer}.fin404-fund-card details>summary::-webkit-details-marker{display:none}.fin404-fund-card details>div{position:absolute;z-index:30;top:40px;inset-inline-end:0;width:150px;padding:5px;border:1px solid #d1dee6;border-radius:11px;background:#fff;box-shadow:0 12px 26px rgba(20,52,74,.15);display:grid;gap:3px}.fin404-fund-card details button{min-height:34px;border:0;border-radius:8px;background:transparent;text-align:right;padding:5px 8px;cursor:pointer;color:#294f69}.fin404-fund-card details button:hover{background:#eef4f7}.fin404-fund-card details button.is-danger{color:#9a4545}

.fin404-checkbox{display:flex!important;align-items:center!important;gap:8px!important;min-height:43px!important}.fin404-checkbox input{width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;margin:0!important}.fin404-checkbox span{font-size:13px!important;color:#405d70!important}
.fin404-period-preview{display:grid;gap:8px;padding:8px}.fin404-period-preview b{font-size:15px;color:#163f5d}.fin404-period-preview p{margin:0;font-size:13px;color:#617684}.fin404-period-preview small{font-size:12px;color:#6d8190}

/* financial requests joins the same finance language */
body[data-page="financial-requests"] .fr-shell{max-width:1540px;margin:0 auto;padding:4px;display:grid;gap:12px}
body[data-page="financial-requests"] .fr-toolbar{padding:16px 18px!important;border:1px solid #cedde6!important;border-radius:17px!important;background:#fff!important;box-shadow:0 6px 16px rgba(20,58,85,.04)!important}
body[data-page="financial-requests"] .fr-toolbar h2{font-size:18px!important;color:#173f5e!important}body[data-page="financial-requests"] .fr-toolbar p{font-size:12.5px!important;color:#6c808d!important}
body[data-page="financial-requests"] .fr-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important}
body[data-page="financial-requests"] .fr-stats>div{min-height:76px!important;padding:10px 12px!important;border:1px solid #d2e0e8!important;border-radius:14px!important;background:#f9fbfc!important}
body[data-page="financial-requests"] .fr-stats small{font-size:11.5px!important;color:#758894!important}body[data-page="financial-requests"] .fr-stats b{font-size:16px!important;color:#173f5e!important}
body[data-page="financial-requests"] .fr-filters{padding:9px!important;border:1px solid #d4e1e8!important;border-radius:14px!important;background:#f4f8fa!important;gap:7px!important}
body[data-page="financial-requests"] .fr-filters :is(input,select){min-height:42px!important;font-size:13.5px!important;border-radius:10px!important}
body[data-page="financial-requests"] .fr-row{border:1px solid #d5e2e9!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;min-height:66px!important;padding:9px 11px!important}
body[data-page="financial-requests"] .fr-row :is(b){font-size:12.8px!important}body[data-page="financial-requests"] .fr-row small{font-size:11px!important}

/* financial statements: reduce legacy white-on-white and English output labels are changed in JS source */
body[data-page="financial-statements"] .v341-financials{max-width:1540px!important;margin:0 auto!important;padding:4px!important;display:grid!important;gap:12px!important}
body[data-page="financial-statements"] .v341-financial-control,body[data-page="financial-statements"] .v341-fs-summary,body[data-page="financial-statements"] #v341-fs-body{border:1px solid #d1dfe7!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 14px rgba(25,67,99,.04)!important}
body[data-page="financial-statements"] .v341-financial-control{padding:11px!important}body[data-page="financial-statements"] .v341-financial-control :is(label,input,select,button){font-size:13px!important}
body[data-page="financial-statements"] .v341-fs-tabs{padding:5px!important;border:1px solid #d1dee6!important;border-radius:13px!important;background:#eaf1f5!important}body[data-page="financial-statements"] .v341-fs-tabs button{min-height:39px!important;border-radius:9px!important;font-size:13px!important}.v341-fs-tabs button.is-active{background:#153f60!important;color:#fff!important}

/* keep finance typography readable even when global compact mode is on */
body.ui-compact-ready:is([data-page="accounting-dashboard"],[data-page="finance-dashboard"],[data-page="finance-expense"],[data-page="finance-funds"],[data-page="finance-commitments"],[data-page="finance-people"],[data-page="finance-history"],[data-page="financial-requests"],[data-page="financial-statements"],[data-page="accounting-journal"],[data-page="accounting-ledger"],[data-page="accounting-periods"]) #page-content :is(button,label,input,select,textarea){font-size:13px!important}
body.ui-compact-ready:is([data-page="accounting-dashboard"],[data-page="finance-dashboard"],[data-page="finance-expense"],[data-page="finance-funds"],[data-page="finance-commitments"],[data-page="finance-people"],[data-page="finance-history"],[data-page="accounting-journal"],[data-page="accounting-ledger"],[data-page="accounting-periods"]) #page-content .data-table :is(th,td){font-size:12.5px!important;line-height:1.5!important}

@media(max-width:1100px){.fin404-nav-grid,.fin404-funds-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fin404-quick-metrics,.fin404-primary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fin404-split{grid-template-columns:1fr}.fin404-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.fin404-filter .is-search,.fin404-filter .is-wide{min-width:0}.fin404-more-filter{grid-column:1/-1}.fin404-secondary-strip,.fin404-fund-summary{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page="financial-requests"] .fr-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.fin404{padding-inline:0}.fin404-hero{align-items:flex-start;flex-direction:column;padding:18px}.fin404-hero-balance{width:100%;min-width:0}.fin404-nav-grid,.fin404-funds-grid,.fin404-quick-metrics,.fin404-primary-metrics{grid-template-columns:1fr}.fin404-filter{grid-template-columns:1fr}.fin404-more-filter>div{grid-template-columns:1fr}.fin404-secondary-strip,.fin404-fund-summary{grid-template-columns:1fr 1fr}.fin404-cash-row{grid-template-columns:1fr 1fr}.fin404-cash-row>b{grid-column:1/-1}.fin404-section-head{align-items:flex-start;flex-direction:column}.fin404-section-actions{width:100%}body[data-page="financial-requests"] .fr-stats{grid-template-columns:1fr 1fr!important}}
.fin404-confirm{display:grid;gap:7px;padding:15px 16px;border:1px solid #cddce6;border-radius:14px;background:#f4f8fb;color:#173f5d}.fin404-confirm b{font-size:14px}.fin404-confirm p{margin:0;color:#61798a;font-size:12.5px;line-height:1.9}.fin404-confirm.is-danger{background:#fff6f5;border-color:#ecc8c3;color:#842f2c}


/* ===== END tiam-v426-foundation.css ===== */


/* ===== BEGIN tiam-v435-current-ui.css ===== */

/* TIAM v412 — semantic token consolidation; computed values preserved from v411. */
/* TIAM v412 Current UI — typography normalization on the approved end-of-cascade styles.
   TIAM v409 keeps layout/cascade structure stable while standardizing visual font weight hierarchy. Source order is frozen; do not reorder sections.
*/

/* ===== SOURCE: tiam-v405-brokerage-minimal.css | sha256:0bef041981b1838796a9a8c2388132e73b7b6f285a400f760c0027dc747777de ===== */
/* TIAM v405 — brokerage case + brokerage support minimal UI hardening */
:root{
  --tiam-fw-regular:400;
  --tiam-fw-medium:500;
  --tiam-fw-semibold:600;
  --tiam-fw-emphasis:650;
  --tiam-fw-strong:700;
  --bc405-navy:#123e61;
  --bc405-navy-hover:#1b527b;
  --bc405-ink:#19384f;
  --bc405-muted:#6e8292;
  --bc405-line:#ccd9e2;
  --bc405-canvas:#edf3f7;
  --bc405-surface:#ffffff;
  --bc405-soft:#f4f7f9;
}


/* v412 shared semantic tokens: aliases only; values intentionally match v411 exactly. */
:root{
  --tiam-ui-white:#fff;
  --tiam-ui-navy:#123e61;
  --tiam-ui-canvas:#edf3f7;
  --tiam-ui-soft:#f8fbfd;
  --tiam-ui-line:#bdceda;
  --tiam-ui-focus:#4d7d9f;
  --tiam-ui-text:#344f62;
  --tiam-ui-muted:#6b7f8f;
  --tiam-ui-line-soft:#d4dfe7;
}
/* ---- Brokerage case: four statuses are identical dropdown controls ---- */
#modal.brokerage-case-v391-theme .bcv391-status-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:end!important;
  margin-bottom:14px!important;
}
#modal.brokerage-case-v391-theme .bcv405-status-block{
  display:grid!important;
  grid-template-rows:auto 44px!important;
  gap:6px!important;
  min-width:0!important;
}
#modal.brokerage-case-v391-theme .bcv405-status-block>span{
  min-height:18px!important;
  font-size:12.8px!important;
  line-height:18px!important;
  font-weight:var(--tiam-fw-emphasis)!important;
  color:#36566e!important;
  white-space:nowrap!important;
}
#modal.brokerage-case-v391-theme .bcv405-status-select{
  box-sizing:border-box!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0 12px!important;
  border:1px solid var(--tiam-ui-line)!important;
  border-radius:11px!important;
  background:var(--tiam-ui-white)!important;
  color:#183b55!important;
  font-family:inherit!important;
  font-size:13.5px!important;
  font-weight:var(--tiam-fw-emphasis)!important;
  line-height:1!important;
  box-shadow:none!important;
  outline:0!important;
}
#modal.brokerage-case-v391-theme .bcv405-status-select:focus-visible{
  border-color:var(--tiam-ui-focus)!important;
  box-shadow:0 0 0 3px rgba(18,62,97,.10)!important;
}
/* Legacy segmented controls are not used in v405, but keep them out of the way if stale DOM is cached. */
#modal.brokerage-case-v391-theme .bcv391-segments{display:none!important}

/* ---- Assignee search: one border, one focus state ---- */
#modal.brokerage-case-v391-theme .bcv391-assignee-search{
  box-sizing:border-box!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:0 11px!important;
  border:1px solid var(--tiam-ui-line)!important;
  border-radius:11px!important;
  background:var(--tiam-ui-white)!important;
  box-shadow:none!important;
  outline:0!important;
  overflow:hidden!important;
}
#modal.brokerage-case-v391-theme .bcv391-assignee-search:focus-within{
  border-color:var(--tiam-ui-focus)!important;
  box-shadow:0 0 0 3px rgba(18,62,97,.10)!important;
}
#modal.brokerage-case-v391-theme .bcv391-assignee-search input,
#modal.brokerage-case-v391-theme .bcv391-assignee-search input:focus,
#modal.brokerage-case-v391-theme .bcv391-assignee-search input:focus-visible{
  box-sizing:border-box!important;
  flex:1 1 auto!important;
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#1c3c53!important;
  box-shadow:none!important;
  outline:0!important;
  font-size:13.5px!important;
}
#modal.brokerage-case-v391-theme .bcv391-assignee-search svg{
  width:17px!important;height:17px!important;flex:0 0 17px!important;color:#54748b!important;
}
#modal.brokerage-case-v391-theme .bcv391-assignee select{
  height:44px!important;min-height:44px!important;border-radius:11px!important;
}

/* ---- Profile card: compact dossier with two meaningful groups ---- */
#modal.brokerage-case-v391-theme .bcv405-profile{
  padding:12px!important;
  background:var(--tiam-ui-canvas)!important;
  border-color:#cbd9e3!important;
}
#modal.brokerage-case-v391-theme .bcv405-profile>header{
  min-height:36px!important;
  margin-bottom:8px!important;
  padding:0 2px 7px!important;
  border-bottom:1px solid #d5e1e8!important;
}
#modal.brokerage-case-v391-theme .bcv405-profile>header h3{font-size:15.5px!important}
#modal.brokerage-case-v391-theme .bcv405-profile>header>svg{width:18px!important;height:18px!important;color:#477494!important}
#modal.brokerage-case-v391-theme .bcv405-profile-groups{display:grid!important;gap:8px!important}
#modal.brokerage-case-v391-theme .bcv405-profile-group{
  min-width:0!important;
  padding:7px 10px!important;
  border:1px solid rgba(190,207,219,.78)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.62)!important;
}
#modal.brokerage-case-v391-theme .bcv405-profile-group h4{
  margin:0 0 3px!important;
  font-size:11.8px!important;
  font-weight:var(--tiam-fw-strong)!important;
  color:#60798b!important;
}
#modal.brokerage-case-v391-theme .bcv405-profile-group dl{margin:0!important}
#modal.brokerage-case-v391-theme .bcv405-profile-group dl>div{
  grid-template-columns:105px minmax(0,1fr)!important;
  min-height:36px!important;
  gap:9px!important;
  border-bottom:1px solid rgba(203,216,225,.75)!important;
}
#modal.brokerage-case-v391-theme .bcv405-profile-group dl>div:last-child{border-bottom:0!important}
#modal.brokerage-case-v391-theme .bcv405-profile-group dt{
  font-size:11.8px!important;color:#788b99!important;white-space:nowrap!important;
}
#modal.brokerage-case-v391-theme .bcv405-profile-group dd{
  margin:0!important;font-size:13.2px!important;font-weight:var(--tiam-fw-emphasis)!important;color:#183a52!important;
}
#modal.brokerage-case-v391-theme .bcv405-unassigned{
  display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:2px 9px!important;
  border:1px solid #c6d9e5!important;border-radius:999px!important;background:#e8f2f7!important;color:#2e627f!important;
  font-size:11.8px!important;font-weight:var(--tiam-fw-strong)!important;
}

/* ---- Footer actions: exactly one visual language ---- */
#modal.brokerage-case-v391-theme>.modal-actions{
  justify-content:flex-start!important;
  gap:9px!important;
}
#modal.brokerage-case-v391-theme>.modal-actions .bcv405-footer-btn,
#modal.brokerage-case-v391-theme>.modal-actions .btn-primary,
#modal.brokerage-case-v391-theme>.modal-actions .btn-soft,
#modal.brokerage-case-v391-theme>.modal-actions .btn-muted{
  box-sizing:border-box!important;
  width:128px!important;
  min-width:128px!important;
  max-width:128px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  padding:0 12px!important;
  border:1px solid var(--bc405-navy)!important;
  border-radius:10px!important;
  background:var(--bc405-navy)!important;
  color:var(--tiam-ui-white)!important;
  font-size:13.5px!important;
  font-weight:var(--tiam-fw-strong)!important;
  line-height:1!important;
  box-shadow:0 3px 9px rgba(18,62,97,.12)!important;
}
#modal.brokerage-case-v391-theme>.modal-actions :is(.bcv405-footer-btn,.btn-primary,.btn-soft,.btn-muted):hover{
  background:var(--bc405-navy-hover)!important;
  border-color:var(--bc405-navy-hover)!important;
  color:var(--tiam-ui-white)!important;
}
#modal.brokerage-case-v391-theme>.modal-actions :is(.bcv405-footer-btn,.btn-primary,.btn-soft,.btn-muted):focus-visible{
  outline:3px solid rgba(18,62,97,.18)!important;outline-offset:2px!important;
}

/* ---- Minimal brokerage support manager, matching v405 approved direction ---- */
#modal.v405-support-manager-modal{
  width:min(1080px,calc(100vw - 30px))!important;
  max-height:92vh!important;
  border-radius:18px!important;
  background:#f7f9fb!important;
  overflow:hidden!important;
  box-shadow:0 24px 64px rgba(15,44,67,.20)!important;
}
#modal.v405-support-manager-modal>.modal-head{
  min-height:64px!important;
  padding:12px 16px!important;
  background:linear-gradient(90deg,#0f3554,var(--tiam-ui-navy))!important;
  border-bottom:0!important;
}
#modal.v405-support-manager-modal>.modal-head h3{
  color:var(--tiam-ui-white)!important;font-size:20px!important;font-weight:var(--tiam-fw-strong)!important;
}
#modal.v405-support-manager-modal>.modal-head .icon-btn{
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
  border:1px solid rgba(255,255,255,.24)!important;border-radius:11px!important;
  background:rgba(255,255,255,.06)!important;color:var(--tiam-ui-white)!important;box-shadow:none!important;
}
#modal.v405-support-manager-modal>.modal-head .icon-btn:hover{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.38)!important}
#modal.v405-support-manager-modal>.modal-body{
  padding:18px 20px!important;
  background:#f2f6f9!important;
}
.v405-support-manager{display:grid!important;gap:16px!important}
#modal.v405-support-manager-modal .v405-support-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
#modal.v405-support-manager-modal .v405-support-summary article{
  box-sizing:border-box!important;
  min-height:86px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:11px!important;
  padding:12px 14px!important;
  border:1px solid #d2dfe8!important;
  border-radius:13px!important;
  background:var(--tiam-ui-white)!important;
  color:#24465f!important;
  box-shadow:none!important;
}
#modal.v405-support-manager-modal .v405-support-summary article>i{
  width:42px!important;height:42px!important;display:grid!important;place-items:center!important;
  border-radius:50%!important;background:#eef4f8!important;color:#2d6e98!important;font-style:normal!important;
}
#modal.v405-support-manager-modal .v405-support-summary .tone-amber>i{background:#fff4dd!important;color:#a46b0c!important}
#modal.v405-support-manager-modal .v405-support-summary .tone-red>i{background:#fdeceb!important;color:#b24d46!important}
#modal.v405-support-manager-modal .v405-support-summary .tone-green>i{background:#eaf6ef!important;color:#3c7d59!important}
#modal.v405-support-manager-modal .v405-support-summary svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
#modal.v405-support-manager-modal .v405-support-summary article>div{display:grid!important;gap:4px!important;min-width:0!important}
#modal.v405-support-manager-modal .v405-support-summary article span{font-size:12.5px!important;font-weight:var(--tiam-fw-strong)!important;color:#6c7e8b!important}
#modal.v405-support-manager-modal .v405-support-summary article b{font-size:21px!important;font-weight:var(--tiam-fw-strong)!important;color:#173b55!important}

#modal.v405-support-manager-modal .v405-support-table-wrap{
  overflow:auto!important;
  border:1px solid #cfdae3!important;
  border-radius:14px!important;
  background:var(--tiam-ui-white)!important;
}
#modal.v405-support-manager-modal .v405-support-table{
  width:100%!important;
  min-width:760px!important;
  table-layout:fixed!important;
  border-collapse:collapse!important;
  background:var(--tiam-ui-white)!important;
}
#modal.v405-support-manager-modal .v405-support-table thead th{
  height:48px!important;
  padding:9px 14px!important;
  border:0!important;
  border-bottom:1px solid var(--tiam-ui-line-soft)!important;
  background:#eef3f7!important;
  color:#193b54!important;
  font-size:13px!important;
  font-weight:var(--tiam-fw-strong)!important;
  text-align:center!important;
}
#modal.v405-support-manager-modal .v405-support-table thead th:first-child{text-align:right!important}
#modal.v405-support-manager-modal .v405-support-table tbody td{
  height:66px!important;
  padding:9px 14px!important;
  border:0!important;
  border-bottom:1px solid #e2e8ed!important;
  background:var(--tiam-ui-white)!important;
  color:#2b465a!important;
  font-size:13px!important;
  line-height:1.55!important;
  text-align:center!important;
  vertical-align:middle!important;
}
#modal.v405-support-manager-modal .v405-support-table tbody tr:last-child td{border-bottom:0!important}
#modal.v405-support-manager-modal .v405-support-table tbody tr:hover td{background:#f8fafc!important}
#modal.v405-support-manager-modal .v405-support-table tbody td:first-child{text-align:right!important}
#modal.v405-support-manager-modal .v390-case-link{
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  padding:0!important;color:#163d59!important;font-size:13.5px!important;font-weight:var(--tiam-fw-strong)!important;text-decoration:none!important;
}
#modal.v405-support-manager-modal .v390-case-link+small{margin-top:3px!important;font-size:11.5px!important;color:#7b8b97!important}
#modal.v405-support-manager-modal .v390-status-pill{
  min-height:29px!important;padding:4px 11px!important;border-radius:999px!important;
  background:#edf5fa!important;border-color:#c7ddea!important;color:#2c678e!important;
  font-size:11.8px!important;font-weight:var(--tiam-fw-strong)!important;
}
#modal.v405-support-manager-modal .v405-support-owner{font-size:12.8px!important;font-weight:var(--tiam-fw-emphasis)!important;color:var(--tiam-ui-text)!important}
#modal.v405-support-manager-modal .v390-manager-assign{
  display:grid!important;grid-template-columns:minmax(130px,1fr) 82px!important;gap:7px!important;align-items:center!important;
}
#modal.v405-support-manager-modal .v390-manager-assign select{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;
  padding:0 9px!important;border:1px solid #c9d7e1!important;border-radius:9px!important;background:var(--tiam-ui-white)!important;
  color:var(--tiam-ui-text)!important;font-size:12px!important;font-weight:var(--tiam-fw-strong)!important;box-shadow:none!important;outline:0!important;
}
#modal.v405-support-manager-modal .v390-manager-assign select:focus-visible{border-color:#5a84a2!important;box-shadow:0 0 0 3px rgba(18,62,97,.09)!important}
#modal.v405-support-manager-modal .v405-support-assign{
  box-sizing:border-box!important;width:82px!important;height:38px!important;min-height:38px!important;
  padding:0 10px!important;border:1px solid #315f80!important;border-radius:9px!important;background:var(--tiam-ui-white)!important;color:#244e6b!important;
  font-family:inherit!important;font-size:12px!important;font-weight:var(--tiam-fw-strong)!important;cursor:pointer!important;
}
#modal.v405-support-manager-modal .v405-support-assign:hover{background:#edf4f8!important}
#modal.v405-support-manager-modal>.modal-actions{
  min-height:58px!important;padding:8px 16px!important;background:#f8fafb!important;border-top:1px solid var(--tiam-ui-line-soft)!important;
}
#modal.v405-support-manager-modal>.modal-actions .v405-support-close{
  width:104px!important;height:42px!important;min-height:42px!important;border-radius:10px!important;
  background:var(--bc405-navy)!important;border-color:var(--bc405-navy)!important;color:var(--tiam-ui-white)!important;
}

@media(max-width:1120px){
  #modal.brokerage-case-v391-theme .bcv391-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #modal.v405-support-manager-modal .v405-support-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  #modal.brokerage-case-v391-theme .bcv391-status-grid{grid-template-columns:1fr!important}
  #modal.brokerage-case-v391-theme>.modal-actions .bcv405-footer-btn,
  #modal.brokerage-case-v391-theme>.modal-actions .btn-primary,
  #modal.brokerage-case-v391-theme>.modal-actions .btn-soft,
  #modal.brokerage-case-v391-theme>.modal-actions .btn-muted{width:auto!important;min-width:0!important;max-width:none!important;flex:1 1 0!important}
  #modal.v405-support-manager-modal .v405-support-summary{grid-template-columns:1fr!important}
  #modal.v405-support-manager-modal>.modal-body{padding:10px!important}
}

/* ===== SOURCE: tiam-v406-workflow-polish.css | sha256:685e23e5c5abb9490c87150f9fb4329177b44387a1e7e45df99c9fc658eadc9a ===== */
/* TIAM v406 — workflow counters, notification contrast and sales request action polish. */
:root{
  --v406-navy:var(--tiam-ui-navy);--v406-ink:#17354b;--v406-text:#50697c;--v406-muted:#718593;
  --v406-line:#d8e3ea;--v406-soft:#f6f9fb;--v406-blue:#2f7ebc;--v406-amber:#d68a24;
  --v406-red:#c64b4b;--v406-green:#3b8965;
}
/* Global tools: readable typography and differentiated semantic badges. */
.tiam-global-tools-head__copy h2{font-weight:700!important}
.tiam-global-tools-section>h3{font-weight:600!important;color:#748896!important}
.tiam-global-tool-item__copy b{font-weight:600!important}
.tiam-global-tools-trigger{overflow:visible!important}
.tiam-global-tool-item .tiam-tool-badge,
.tiam-global-tools-combined-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  vertical-align:middle!important;
  line-height:1!important;
  font-size:11px!important;
  font-weight:700!important;
  font-variant-numeric:tabular-nums!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.tiam-global-tool-item .tiam-tool-badge{
  justify-self:end!important;
  align-self:center!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 6px!important;
  border-radius:999px!important;
}
.tiam-global-tools-combined-badge{
  inset-inline-start:-6px!important;
  top:-6px!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 6px!important;
  border-radius:999px!important;
  background:#d97706!important;
  color:#fff!important;
  border:2px solid #123e61!important;
  box-shadow:0 2px 8px rgba(0,0,0,.16)!important;
}
[data-tiam-global-tool="notifications"] .tiam-tool-badge{background:var(--v406-blue)!important;color:#fff!important}
[data-tiam-global-tool="actions"] .tiam-tool-badge{background:#d97706!important;color:#fff!important}
[data-tiam-global-tool="tickets"] .tiam-tool-badge{background:#7559b5!important;color:#fff!important}

/* Notification centre: controlled contrast, no over-bold copy. */
.so-v282-popover.v382-notifications{border-color:#cbd9e2!important;background:var(--tiam-ui-white)!important}
.v382-notifications .so-v282-head{background:var(--tiam-ui-soft)!important;border-bottom-color:var(--v406-line)!important}
.v382-notifications .so-v382-title h3{font-weight:var(--tiam-fw-strong)!important;color:var(--v406-navy)!important}
.v382-notifications .so-v282-tabs button{font-weight:var(--tiam-fw-semibold)!important;color:var(--tiam-ui-muted)!important}
.v382-notifications .so-v282-tabs button.active{font-weight:var(--tiam-fw-strong)!important;color:var(--v406-navy)!important}
.v382-notifications .so-v282-tabs button.active::after{background:var(--v406-blue)!important}
.v382-notifications .so-v282-read-all{font-weight:var(--tiam-fw-semibold)!important;color:#286f9e!important}
.v382-notifications .so-v282-group-title{font-weight:var(--tiam-fw-semibold)!important;color:#667c8d!important;background:#fbfcfd!important}
.v382-notifications .so-v282-item{border-bottom-color:#e0e8ed!important}
.v382-notifications .so-v282-item.is-unread{background:#f4f9fc!important;box-shadow:inset -3px 0 0 rgba(47,126,188,.65)!important}
.v382-notifications .so-v282-item:hover{background:var(--tiam-ui-soft)!important}
.v382-notifications .so-v282-copy strong{font-weight:var(--tiam-fw-emphasis)!important;color:var(--v406-ink)!important;font-size:13px!important}
.v382-notifications .so-v282-item.is-unread .so-v282-copy strong{font-weight:var(--tiam-fw-strong)!important}
.v382-notifications .so-v282-copy p{color:var(--v406-text)!important;font-size:11.8px!important}
.v382-notifications .so-v382-notification-meta time{color:#6f8291!important}
.v382-notifications .so-v382-panel-footer>span{font-weight:var(--tiam-fw-semibold)!important;color:#2c6f9b!important}
.v382-notifications .kind-warning .so-v382-notification-dot{background:var(--v406-amber)!important}
.v382-notifications .kind-money .so-v382-notification-dot{background:var(--v406-green)!important}
.v382-notifications .kind-refund .so-v382-notification-dot{background:var(--v406-red)!important}

/* Action centre: normal tasks remain neutral, urgent/overdue use restrained semantic tint. */
.v382-action-center .v367-action-drawer>header{background:var(--tiam-ui-soft)!important;border-bottom-color:var(--v406-line)!important}
.v382-action-center .v367-action-drawer h2{font-weight:var(--tiam-fw-strong)!important;color:var(--v406-navy)!important}
.v382-action-center .v367-action-toolbar nav button{font-weight:var(--tiam-fw-semibold)!important;color:var(--tiam-ui-muted)!important}
.v382-action-center .v367-action-toolbar nav button.active{font-weight:var(--tiam-fw-strong)!important;color:var(--v406-navy)!important}
.v382-action-center .v367-action-toolbar nav button.active::after{background:var(--v406-blue)!important}
.v382-action-center .v367-action-toolbar nav b{font-weight:var(--tiam-fw-emphasis)!important;background:#edf3f6!important}
.v382-action-center .v382-action-group>h3{font-weight:var(--tiam-fw-semibold)!important;background:#fbfcfd!important;color:#607788!important}
.v382-action-center .v367-action-card{background:var(--tiam-ui-white)!important;border-bottom-color:#e0e8ed!important}
.v382-action-center .v367-action-card:hover{background:var(--tiam-ui-soft)!important}
.v382-action-center .v367-action-card.is-urgent{background:#fffaf2!important}
.v382-action-center .v367-action-card.is-overdue{background:#fff7f7!important}
.v382-action-center .v382-action-title strong{font-weight:var(--tiam-fw-emphasis)!important;color:var(--v406-ink)!important;font-size:13.5px!important}
.v382-action-center .v382-action-content>p{color:var(--v406-text)!important;font-size:11.8px!important}
.v382-action-center .v382-action-category{font-weight:var(--tiam-fw-medium)!important;color:#667d8d!important}
.v382-action-center .v367-action-open{font-weight:var(--tiam-fw-emphasis)!important;border-color:#77a5c4!important;color:#1d628f!important}
.v382-action-center .v382-action-footer span{font-weight:var(--tiam-fw-semibold)!important}
.v382-action-center .v382-action-dot{background:var(--v406-amber)!important}.v382-action-center .is-overdue .v382-action-dot{background:var(--v406-red)!important}

/* Sales header: direct request-number action is visually distinct but still native to Tiam. */
body[data-page="sales-operations"] .sm148-request-number-tool{position:relative!important;border-color:#a9c6d8!important;background:#eef6fa!important;color:#155d87!important}
body[data-page="sales-operations"] .sm148-request-number-tool:hover{border-color:#78a7c3!important;background:#e6f2f8!important;color:#0f4d73!important}
body[data-page="sales-operations"] .sm148-request-number-tool svg{stroke-width:1.9!important}
body[data-page="sales-operations"] .sm148-header-badge{font-weight:var(--tiam-fw-strong)!important}


/* ===== TIAM v426 — payroll periods visual hierarchy and Persian status polish ===== */
body[data-page="payslip"] .v338-payroll-workspace .v338-payroll-section{
  border-color:#d7e2e9!important;
  border-radius:12px!important;
  overflow:visible!important;
}
body[data-page="payslip"] .v338-payroll-list-head{
  min-height:38px!important;
  padding:0 12px!important;
  grid-template-columns:minmax(205px,1.25fr) minmax(170px,1fr) 78px minmax(320px,1.8fr) 110px minmax(175px,1fr)!important;
  gap:8px!important;
  background:#f2f6f8!important;
  color:#5c7485!important;
  border-bottom:1px solid #cfdee7!important;
  font-size:10.5px!important;
  font-weight:650!important;
  letter-spacing:0!important;
}
body[data-page="payslip"] .v338-payroll-run-list{
  display:grid!important;
  gap:5px!important;
}
body[data-page="payslip"] .v338-payroll-run-row{
  min-height:62px!important;
  grid-template-columns:minmax(205px,1.25fr) minmax(170px,1fr) 78px minmax(320px,1.8fr) 110px minmax(175px,1fr)!important;
  gap:8px!important;
  padding:6px 12px!important;
  border:1px solid #d9e4eb!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[data-page="payslip"] .v338-payroll-run-row:hover{
  border-color:#c7d8e2!important;
  background:#fcfdfe!important;
}
body[data-page="payslip"] .v338-payroll-run-row::before{
  top:9px!important;
  bottom:9px!important;
  width:2px!important;
  opacity:.85!important;
}
body[data-page="payslip"] .v338-payroll-period,
body[data-page="payslip"] .v338-payroll-stage{
  gap:2px!important;
  align-content:center!important;
}
body[data-page="payslip"] .v338-payroll-period>b{
  font-size:11.5px!important;
  line-height:1.45!important;
  font-weight:700!important;
  color:#173f61!important;
}
body[data-page="payslip"] .v338-payroll-period>span{
  gap:5px!important;
  font-size:9.5px!important;
  line-height:1.35!important;
  color:#5f788a!important;
}
body[data-page="payslip"] .v338-payroll-period small,
body[data-page="payslip"] .v338-payroll-stage small{
  font-size:9.2px!important;
  line-height:1.4!important;
  color:#7b8f9d!important;
  font-weight:500!important;
}
body[data-page="payslip"] .v338-payroll-stage .v286-status{
  min-height:24px!important;
  width:auto!important;
  max-width:100%!important;
  padding:0 9px!important;
  justify-self:start!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:700!important;
}
body[data-page="payslip"] .v338-payroll-stage .v286-status.is-green{background:#e5f4eb!important;color:#17623f!important}
body[data-page="payslip"] .v338-payroll-stage .v286-status.is-amber{background:#fff3df!important;color:#835500!important}
body[data-page="payslip"] .v338-payroll-stage .v286-status.is-red{background:#fff0ef!important;color:#973b36!important}
body[data-page="payslip"] .v338-payroll-stage .v286-status.is-blue{background:#e9f3f9!important;color:#235f85!important}
body[data-page="payslip"] .v338-payroll-people{
  display:flex!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:4px!important;
  white-space:nowrap!important;
}
body[data-page="payslip"] .v338-payroll-people b{
  font-size:13px!important;
  line-height:1!important;
  font-weight:700!important;
  color:#173f61!important;
}
body[data-page="payslip"] .v338-payroll-people small{
  font-size:9.5px!important;
  font-weight:500!important;
  color:#718695!important;
}
body[data-page="payslip"] .v338-payroll-money{
  gap:5px!important;
  align-items:stretch!important;
}
body[data-page="payslip"] .v338-payroll-money>span{
  min-height:43px!important;
  align-content:center!important;
  gap:2px!important;
  padding:5px 7px!important;
  border:1px solid transparent!important;
  border-radius:8px!important;
  background:#f5f8fa!important;
}
body[data-page="payslip"] .v338-payroll-money>span:first-child{
  background:#f2f7fa!important;
}
body[data-page="payslip"] .v338-payroll-money>span:nth-child(2){
  background:#f7f8f9!important;
}
body[data-page="payslip"] .v338-payroll-money .is-net{
  background:#eaf6f0!important;
  border-color:#d8ede2!important;
}
body[data-page="payslip"] .v338-payroll-money small{
  font-size:9px!important;
  line-height:1.25!important;
  font-weight:500!important;
  color:#748897!important;
}
body[data-page="payslip"] .v338-payroll-money b{
  font-size:10.2px!important;
  line-height:1.4!important;
  font-weight:600!important;
  color:#21445e!important;
  white-space:nowrap!important;
}
body[data-page="payslip"] .v338-payroll-money .is-net b{
  font-size:10.8px!important;
  font-weight:700!important;
  color:#145b3b!important;
}
body[data-page="payslip"] .v338-payroll-checks{
  gap:4px!important;
}
body[data-page="payslip"] .v338-payroll-checks>span{
  min-height:23px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  font-size:9.7px!important;
  line-height:1!important;
  font-weight:650!important;
}
body[data-page="payslip"] .v338-payroll-checks .is-ok{background:#e8f6ee!important;color:#17623f!important}
body[data-page="payslip"] .v338-payroll-checks .is-warning{background:#fff3df!important;color:#805600!important}
body[data-page="payslip"] .v338-payroll-checks .is-error{background:#fff0ef!important;color:#973b36!important}
body[data-page="payslip"] .v338-payroll-row-actions,
body[data-page="payslip"] .v338-payroll-actions{
  justify-content:flex-start!important;
  gap:4px!important;
}
body[data-page="payslip"] .v338-payroll-primary-action{
  height:31px!important;
  max-width:118px!important;
  padding:0 8px!important;
  border-radius:8px!important;
  font-size:9.8px!important;
  font-weight:650!important;
  gap:4px!important;
}
body[data-page="payslip"] .v338-payroll-primary-action svg{
  width:14px!important;
  height:14px!important;
}
body[data-page="payslip"] .v338-payroll-quick-actions{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
}
body[data-page="payslip"] .v338-payroll-icon-action,
body[data-page="payslip"] .v338-payroll-actions .v328-icon-action{
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid #cbdbe5!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#315b78!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
body[data-page="payslip"] .v338-payroll-icon-action:hover,
body[data-page="payslip"] .v338-payroll-actions .v328-icon-action:hover{
  background:#f0f6f9!important;
  border-color:#9fbccc!important;
  color:#174f72!important;
}
body[data-page="payslip"] .v338-payroll-icon-action svg,
body[data-page="payslip"] .v338-payroll-actions .v328-icon-action svg{
  width:15px!important;
  height:15px!important;
}
body[data-page="payslip"] .v338-payroll-actions .v328-row-menu{
  top:calc(100% + 5px)!important;
  left:0!important;
  width:188px!important;
  padding:5px!important;
  border:1px solid #d2dee6!important;
  border-radius:9px!important;
  box-shadow:0 9px 24px rgba(20,48,70,.13)!important;
}
body[data-page="payslip"] .v338-payroll-actions .v328-row-menu button{
  min-height:34px!important;
  padding:6px 8px!important;
  border-radius:7px!important;
  font-size:10.7px!important;
  line-height:1.35!important;
  font-weight:600!important;
  gap:7px!important;
}
body[data-page="payslip"] .v338-payroll-actions .v328-row-menu button svg{
  width:14px!important;
  height:14px!important;
}
@media(max-width:1240px){
  body[data-page="payslip"] .v338-payroll-list-head,
  body[data-page="payslip"] .v338-payroll-run-row{
    grid-template-columns:minmax(180px,1.15fr) minmax(150px,1fr) 70px minmax(285px,1.65fr) 100px minmax(160px,.95fr)!important;
  }
}
body[data-page="payslip"] .v338-payroll-workspace .v338-payroll-section>header{
  min-height:44px!important;
  padding:7px 11px!important;
  border-bottom:1px solid #d7e2e9!important;
  background:#fff!important;
}
body[data-page="payslip"] .v338-payroll-workspace .v338-payroll-section>header h2{
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:700!important;
  color:#173f61!important;
}
body[data-page="payslip"] .v338-payroll-section-meta>b{
  min-height:24px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  background:#edf4f8!important;
  color:#315c79!important;
  font-size:9.7px!important;
  font-weight:600!important;
}
body[data-page="payslip"] .v338-payroll-row-actions,
body[data-page="payslip"] .v338-payroll-actions{
  justify-content:center!important;
}

/* ===== TIAM v430 — stable header geometry + true whole-row status color ===== */
/* Header controls are geometry-locked. Badge text can never change button sizing. */
#page-content>.tiam-page-hero .tiam-page-hero__actions{flex-wrap:nowrap!important;align-items:center!important}
#page-content>.tiam-page-hero .tiam-page-hero__actions>:is(button,a,summary)[data-tiam-header-kind="icon"],
#page-content>.tiam-page-hero .tiam-page-hero__actions>:is(.tiam-header-action--icon,.sm148-header-tool,.tiam-global-tools-trigger){
  position:relative!important;box-sizing:border-box!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0!important;flex:0 0 40px!important;line-height:1!important;transform:none!important;
}
#page-content>.tiam-page-hero .tiam-page-hero__actions>:is(button,a,summary)[data-tiam-header-kind="icon"]>svg,
#page-content>.tiam-page-hero .tiam-page-hero__actions>:is(.tiam-header-action--icon,.sm148-header-tool,.tiam-global-tools-trigger)>svg{
  width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;min-height:20px!important;max-height:20px!important;flex:0 0 20px!important;transform:none!important;
}
#page-content>.tiam-page-hero .tiam-page-hero__actions>:is(button,a,summary):is(:hover,:active,:focus-visible){transform:none!important}
#page-content>.tiam-page-hero .sm148-header-badge,
#page-content>.tiam-page-hero .tiam-global-tools-combined-badge{
  position:absolute!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;font-size:10.5px!important;font-weight:700!important;min-width:19px!important;height:19px!important;padding:0 5px!important;border-radius:999px!important;white-space:nowrap!important;pointer-events:none!important;
}
#page-content>.tiam-page-hero .sm148-header-badge{top:-5px!important;inset-inline-start:-5px!important;left:auto!important}
#page-content>.tiam-page-hero .tiam-global-tools-combined-badge{top:-6px!important;inset-inline-start:-6px!important;left:auto!important}
#page-content>.tiam-page-hero .tiam-global-tools-combined-badge[hidden]{display:none!important}

/* Contact table: exact centering plus semantic tint across every cell. */
body[data-page="sales-operations"] .sm148-contact-table{--sm148-row-neutral:#f8fbfd}
body[data-page="sales-operations"] .sm148-contact-table thead th,
body[data-page="sales-operations"] .sm148-contact-table tbody td{text-align:center!important;vertical-align:middle!important}
body[data-page="sales-operations"] .sm148-contact-table thead th{font-weight:600!important}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row{--sm148-status-bg:var(--sm148-row-neutral)}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-inbox{--sm148-status-bg:#e8f4fb}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-followup{--sm148-status-bg:#fff2d9}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-followup.is-due{--sm148-status-bg:#ffe7dc}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-no_interest{--sm148-status-bg:#fde9e9}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-registered{--sm148-status-bg:#e7f6ed}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td{
  background:var(--sm148-status-bg)!important;border-inline-start-color:#c8d8e2!important;border-inline-end-color:#c8d8e2!important;border-top-color:#d5e1e8!important;border-bottom-color:#d5e1e8!important;box-shadow:none!important;transition:background-color .14s ease!important;
}
/* No colored status rail: status is communicated by the whole row only. */
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td:first-child{border-inline-start:1px solid #c8d8e2!important}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td:last-child{border-inline-end:1px solid #c8d8e2!important}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row:hover>td{filter:brightness(.985)!important}
body[data-page="sales-operations"] .sm148-contact-table .sm148-row-person,
body[data-page="sales-operations"] .sm148-contact-table .sm148-inline-contact-name,
body[data-page="sales-operations"] .sm148-contact-table .sm148-followup-cell,
body[data-page="sales-operations"] .sm148-contact-table .sm148-row-actions{justify-content:center!important;justify-items:center!important;align-items:center!important;text-align:center!important}
body[data-page="sales-operations"] .sm148-contact-table .ltr-cell{display:table-cell!important;text-align:center!important;direction:ltr!important;unicode-bidi:isolate!important;font-variant-numeric:tabular-nums!important}
body[data-page="sales-operations"] .sm148-contact-table .sm148-contact-name-input{margin-inline:auto!important;text-align:center!important;background:rgba(255,255,255,.40)!important}
body[data-page="sales-operations"] .sm148-contact-table .sm148-contact-status{margin-inline:auto!important;text-align:center!important;text-align-last:center!important;background:rgba(255,255,255,.44)!important;border-color:#c4d5df!important}
body[data-page="sales-operations"] .sm148-contact-table .sm148-case-link,
body[data-page="sales-operations"] .sm148-contact-table .sm148-case-link-simple,
body[data-page="sales-operations"] .sm148-contact-table .sm148-no-case,
body[data-page="sales-operations"] .sm148-contact-table .sm148-followup-empty{margin-inline:auto!important;text-align:center!important}

/* ===== TIAM v431 — HR information architecture cleanup ===== */
:root{
  --tiam431-navy:#0b3558;
  --tiam431-navy-2:#164d73;
  --tiam431-line:#d6e2e9;
  --tiam431-soft:#f4f8fa;
  --tiam431-text:#12324a;
  --tiam431-muted:#6f8594;
  --tiam431-green:#08775e;
  --tiam431-green-bg:#e9f6f1;
  --tiam431-amber:#9a6500;
  --tiam431-amber-bg:#fff5dc;
  --tiam431-red:#a63a3a;
  --tiam431-red-bg:#fdecec;
  --tiam431-purple:#6851a8;
  --tiam431-purple-bg:#f0ecfb;
}

/* Compact KPI cards instead of long segmented strips. */
.hr431-employee-summary,
.hr431-adjustment-summary,
body[data-page="attendance"] #attendance-overview-summary{
  display:grid!important;
  gap:8px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.hr431-employee-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.hr431-adjustment-summary,
body[data-page="attendance"] #attendance-overview-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.hr431-employee-summary>article,
.hr431-adjustment-summary>article,
body[data-page="attendance"] #attendance-overview-summary>span{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:66px!important;
  padding:10px 14px!important;
  border:1px solid #bed3df!important;
  border-radius:12px!important;
  background:#eaf3f8!important;
  color:var(--tiam431-navy)!important;
  box-shadow:0 2px 8px rgba(19,55,78,.04)!important;
}
.hr431-employee-summary>article:nth-child(2),
.hr431-adjustment-summary>article.is-minus,
body[data-page="attendance"] #attendance-overview-summary>span.is-warning{
  background:var(--tiam431-amber-bg)!important;
  border-color:#eed9a5!important;
  color:#765000!important;
}
.hr431-employee-summary>article:nth-child(3),
.hr431-adjustment-summary>article.is-plus{
  background:var(--tiam431-green-bg)!important;
  border-color:#bfe1d4!important;
  color:#075f4c!important;
}
.hr431-adjustment-summary>article:nth-child(3){background:var(--tiam431-purple-bg)!important;border-color:#d6cef0!important;color:#594397!important}
.hr431-adjustment-summary>article:nth-child(4){background:#eaf3f8!important;border-color:#bed3df!important;color:var(--tiam431-navy)!important}
.hr431-employee-summary small,
.hr431-adjustment-summary small,
body[data-page="attendance"] #attendance-overview-summary small{font-size:11px!important;font-weight:600!important;opacity:.78!important}
.hr431-employee-summary b,
.hr431-adjustment-summary b,
body[data-page="attendance"] #attendance-overview-summary b{margin-top:3px!important;font-size:16px!important;line-height:1.35!important;font-weight:800!important}

/* Attendance — one compact control row. */
body[data-page="attendance"] .hr388-page{gap:10px!important}
body[data-page="attendance"] .hr431-attendance-control{
  display:grid!important;
  grid-template-columns:auto minmax(300px,1fr) auto!important;
  align-items:end!important;
  gap:10px!important;
  min-height:0!important;
  padding:9px 11px!important;
  border:1px solid var(--tiam431-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[data-page="attendance"] .hr431-attendance-control .hr388-week-nav{display:flex!important;align-items:center!important;gap:5px!important;white-space:nowrap!important}
body[data-page="attendance"] .hr431-attendance-control .hr388-week-nav button,
body[data-page="attendance"] .hr431-attendance-control .hr388-attendance-tools>a,
body[data-page="attendance"] .hr431-attendance-picker button{
  min-height:36px!important;height:36px!important;border-radius:9px!important;font-size:11.5px!important;font-weight:700!important;
}
body[data-page="attendance"] .hr431-attendance-control .hr388-week-nav button:not(:last-child){width:36px!important;min-width:36px!important;padding:0!important}
body[data-page="attendance"] .hr431-attendance-control .hr388-week-nav>b{font-size:12px!important;color:var(--tiam431-text)!important;padding-inline:5px!important}
body[data-page="attendance"] .hr431-attendance-picker{display:grid!important;grid-template-columns:auto minmax(210px,1fr) auto!important;align-items:center!important;gap:7px!important;min-width:0!important}
body[data-page="attendance"] .hr431-attendance-picker>span{font-size:10.5px!important;color:var(--tiam431-muted)!important;font-weight:650!important}
body[data-page="attendance"] .hr431-attendance-picker select{width:100%!important;min-width:0!important;height:36px!important;border-radius:9px!important;background:#fff!important}
body[data-page="attendance"] .hr431-attendance-picker button{padding:0 13px!important;background:var(--tiam431-navy)!important;color:#fff!important;border-color:var(--tiam431-navy)!important}
body[data-page="attendance"] .hr431-attendance-control .hr388-attendance-tools{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;white-space:nowrap!important}
body[data-page="attendance"] .hr431-attendance-control .hr388-attendance-tools>a{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:0 11px!important}
body[data-page="attendance"] .hr431-attendance-control .hr388-attendance-tools small{font-size:9.7px!important;color:var(--tiam431-muted)!important}
body[data-page="attendance"] .hr388-panel{border-color:var(--tiam431-line)!important;border-radius:12px!important;box-shadow:none!important}
body[data-page="attendance"] .hr388-panel-head{min-height:46px!important;padding:8px 12px!important}
body[data-page="attendance"] .hr388-panel-head h2{font-size:14px!important}
body[data-page="attendance"] .hr388-panel-head .hr388-search{width:min(310px,34vw)!important;min-width:220px!important}
body[data-page="attendance"] .hr388-attendance-issues{padding:4px 8px 8px!important}
body[data-page="attendance"] .hr388-attendance-issue{min-height:52px!important;padding:7px 10px!important;border-radius:9px!important;margin-top:5px!important}
body[data-page="attendance"] .hr388-attendance-issue>div b{font-size:12.5px!important}
body[data-page="attendance"] .hr388-attendance-issue>div small{font-size:10.5px!important}

/* Attendance employee file — weekly table replaces duplicate day cards/history. */
body[data-page="attendance"] .hr431-attendance-week{overflow:hidden!important;border:1px solid var(--tiam431-line)!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important}
body[data-page="attendance"] .hr431-attendance-week>.attendance-v337-week-head{min-height:54px!important;padding:9px 13px!important;border-bottom:1px solid var(--tiam431-line)!important;background:#fbfdfe!important}
body[data-page="attendance"] .hr431-attendance-week>.attendance-v337-week-head h2{font-size:15px!important;margin:0!important}
body[data-page="attendance"] .hr431-attendance-week>.attendance-v337-week-head small{font-size:9.5px!important;color:var(--tiam431-muted)!important}
body[data-page="attendance"] .attendance-v337-week-summary{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;border-bottom:1px solid var(--tiam431-line)!important;background:#fff!important}
body[data-page="attendance"] .attendance-v337-week-summary>div{min-height:54px!important;padding:8px 11px!important;border:0!important;border-inline-start:1px solid #e2ebf0!important;background:#fff!important}
body[data-page="attendance"] .attendance-v337-week-summary>div:first-child{border-inline-start:0!important}
body[data-page="attendance"] .attendance-v337-week-summary>div i{width:28px!important;height:28px!important;border-radius:8px!important;background:#eff5f8!important;color:var(--tiam431-navy-2)!important}
body[data-page="attendance"] .attendance-v337-week-summary>div small{font-size:9.8px!important;color:var(--tiam431-muted)!important}
body[data-page="attendance"] .attendance-v337-week-summary>div b{font-size:12.5px!important;color:var(--tiam431-text)!important}
body[data-page="attendance"] .attendance-v337-week-summary>div.is-warning i{background:var(--tiam431-amber-bg)!important;color:var(--tiam431-amber)!important}
body[data-page="attendance"] .attendance-v337-week-summary>div.is-danger i{background:var(--tiam431-red-bg)!important;color:var(--tiam431-red)!important}
body[data-page="attendance"] .attendance-v337-week-summary>div.is-success i{background:var(--tiam431-green-bg)!important;color:var(--tiam431-green)!important}
body[data-page="attendance"] .attendance-v337-week-summary>div.is-leave i{background:var(--tiam431-purple-bg)!important;color:var(--tiam431-purple)!important}
body[data-page="attendance"] .hr431-weekly-table-wrap{overflow:auto!important;padding:0!important;background:#fff!important}
body[data-page="attendance"] .hr431-weekly-table{width:100%!important;min-width:980px!important;border:0!important;border-collapse:separate!important;border-spacing:0!important}
body[data-page="attendance"] .hr431-weekly-table thead th{
  height:38px!important;padding:7px 9px!important;background:#edf4f8!important;color:#31566f!important;border:0!important;border-bottom:1px solid #d2e0e8!important;font-size:10.5px!important;font-weight:700!important;text-align:center!important;
}
body[data-page="attendance"] .hr431-weekly-table tbody td{height:48px!important;padding:7px 9px!important;border:0!important;border-bottom:1px solid #e4ecef!important;background:#fff!important;font-size:11.2px!important;text-align:center!important;vertical-align:middle!important}
body[data-page="attendance"] .hr431-weekly-table tbody tr:last-child td{border-bottom:0!important}
body[data-page="attendance"] .hr431-weekly-table tbody tr:hover td{background:#f8fbfc!important}
body[data-page="attendance"] .hr431-weekly-table td small{display:block!important;margin-top:2px!important;font-size:9.2px!important;font-weight:500!important;color:var(--tiam431-muted)!important}
body[data-page="attendance"] .hr431-weekly-table .attendance-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:24px!important;padding:0 8px!important;border-radius:999px!important;font-size:10px!important;font-weight:700!important;white-space:nowrap!important}
body[data-page="attendance"] .hr431-leave-chip{display:inline-flex!important;align-items:center!important;min-height:23px!important;padding:0 8px!important;border-radius:999px!important;background:var(--tiam431-purple-bg)!important;color:var(--tiam431-purple)!important;font-size:10px!important;font-weight:700!important}
body[data-page="attendance"] .hr431-attendance-primary{display:block!important;margin-top:10px!important}
body[data-page="attendance"] .hr431-leaves-panel>.hr388-panel-head>div small{display:block!important;margin-top:2px!important;font-size:9.5px!important;color:var(--tiam431-muted)!important}
body[data-page="attendance"] .hr431-leave-list{padding:0!important}
body[data-page="attendance"] .hr431-leave-list .attendance-v337-leave-head,
body[data-page="attendance"] .hr431-leave-list .attendance-v337-leave-row{grid-template-columns:minmax(150px,1.2fr) minmax(130px,1fr) minmax(150px,1.1fr) 80px 90px!important}
body[data-page="attendance"] .hr431-leave-list .attendance-v337-leave-head{min-height:36px!important;padding:0 10px!important;background:#f1f6f9!important;color:#48677b!important;font-size:10px!important}
body[data-page="attendance"] .hr431-leave-list .attendance-v337-leave-row{min-height:48px!important;padding:5px 10px!important;border-bottom:1px solid #e4ecef!important}
body[data-page="attendance"] .hr431-leave-list .attendance-v337-leave-row:last-child{border-bottom:0!important}
body[data-page="attendance"] .hr431-leave-list b{font-size:11px!important}
body[data-page="attendance"] .hr431-leave-list small{font-size:9.2px!important;color:var(--tiam431-muted)!important}
body[data-page="attendance"] .hr431-secondary-tools{display:flex!important;justify-content:flex-start!important;gap:6px!important;margin-top:8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body[data-page="attendance"] .hr431-secondary-tools button{min-height:34px!important;height:34px!important;padding:0 10px!important;border:1px solid #cbdbe4!important;border-radius:9px!important;background:#fff!important;color:var(--tiam431-navy)!important;font-size:10.5px!important;font-weight:650!important;box-shadow:none!important}

/* Employees — compact rows, no internal TIAM code, local branch grouping. */
body[data-page="experts"] .hr388-page{gap:9px!important}
body[data-page="experts"] .hr388-panel{border-color:var(--tiam431-line)!important;border-radius:12px!important;box-shadow:none!important}
body[data-page="experts"] .hr388-panel-head{min-height:50px!important;padding:7px 10px!important;gap:10px!important}
body[data-page="experts"] .hr431-employee-tools{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:nowrap!important;min-width:0!important}
body[data-page="experts"] .hr431-employee-tools .hr388-search{width:240px!important;min-width:190px!important}
body[data-page="experts"] .hr431-employee-tools select{height:36px!important;min-width:120px!important;border-radius:9px!important}
body[data-page="experts"] .hr431-branch-group-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;height:36px!important;padding:0 10px!important;border:1px solid #bcd2df!important;border-radius:9px!important;background:#fff!important;color:var(--tiam431-navy)!important;font-size:10.5px!important;font-weight:700!important;white-space:nowrap!important}
body[data-page="experts"] .hr431-branch-group-toggle.is-active{background:var(--tiam431-navy)!important;color:#fff!important;border-color:var(--tiam431-navy)!important}
body[data-page="experts"] .hr431-branch-group-toggle svg{width:16px!important;height:16px!important}
body[data-page="experts"] .hr431-employee-table{border:0!important;border-collapse:separate!important;border-spacing:0!important}
body[data-page="experts"] .hr431-employee-table thead th{height:38px!important;padding:7px 10px!important;background:#edf4f8!important;color:#31566f!important;border:0!important;border-bottom:1px solid #d1dfe7!important;text-align:center!important;font-size:10.8px!important;font-weight:700!important}
body[data-page="experts"] .hr431-employee-table tbody td{height:50px!important;padding:6px 10px!important;background:#fff!important;border:0!important;border-bottom:1px solid #e2ebef!important;text-align:center!important;vertical-align:middle!important;font-size:11.3px!important}
body[data-page="experts"] .hr431-employee-table tbody tr[data-employee-row]:hover td{background:#f8fbfc!important}
body[data-page="experts"] .hr431-employee-table .hr388-person{display:block!important;text-align:center!important}
body[data-page="experts"] .hr431-employee-table .hr388-person b{font-size:12px!important;font-weight:750!important;color:var(--tiam431-text)!important}
body[data-page="experts"] .hr431-employee-table .v328-row-menu-wrap{justify-content:center!important}
body[data-page="experts"] .hr431-employee-table .v328-icon-action{width:34px!important;min-width:34px!important;height:34px!important;border-radius:9px!important}
body[data-page="experts"] .hr431-branch-group td{height:34px!important;padding:5px 12px!important;background:#e8f1f6!important;color:#234d69!important;text-align:right!important;border-bottom:1px solid #cfdee7!important}
body[data-page="experts"] .hr431-branch-group td>b{font-size:11px!important}
body[data-page="experts"] .hr431-branch-group td>span{margin-inline-start:8px!important;font-size:9.5px!important;color:#6b8392!important}

/* Adjustments — true tabs, one toolbar, lighter table and shorter rows. */
body[data-page="adjustments"] .hr431-adjustments{gap:9px!important}
body[data-page="adjustments"] .hr431-adjustment-tabs{display:flex!important;justify-content:flex-start!important;gap:4px!important;padding:4px!important;border:1px solid var(--tiam431-line)!important;border-radius:10px!important;background:#eef4f7!important;width:max-content!important;max-width:100%!important;box-shadow:none!important}
body[data-page="adjustments"] .hr431-adjustment-tabs button{min-height:34px!important;padding:0 12px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#506d80!important;font-size:11px!important;font-weight:700!important}
body[data-page="adjustments"] .hr431-adjustment-tabs button.is-active{background:var(--tiam431-navy)!important;color:#fff!important;box-shadow:none!important}
body[data-page="adjustments"] .v347-adjustment-panel{border:1px solid var(--tiam431-line)!important;border-radius:12px!important;box-shadow:none!important;overflow:visible!important}
body[data-page="adjustments"] .hr431-adjustment-filterbar{display:grid!important;grid-template-columns:minmax(230px,1.25fr) repeat(4,minmax(145px,.8fr)) auto!important;gap:7px!important;padding:9px!important;border-bottom:1px solid var(--tiam431-line)!important;background:#fbfdfe!important}
body[data-page="adjustments"] .hr431-adjustment-filterbar>label>span{font-size:9.5px!important;color:var(--tiam431-muted)!important}
body[data-page="adjustments"] .hr431-adjustment-filterbar input,
body[data-page="adjustments"] .hr431-adjustment-filterbar select,
body[data-page="adjustments"] .hr431-adjustment-filterbar summary{height:36px!important;min-height:36px!important;border-radius:9px!important;font-size:10.8px!important}
body[data-page="adjustments"] .hr431-records-head{min-height:46px!important;padding:7px 10px!important;background:#fff!important}
body[data-page="adjustments"] .hr431-records-head h2{font-size:13px!important;margin:0!important}
body[data-page="adjustments"] .hr431-records-head small{font-size:9.5px!important;color:var(--tiam431-muted)!important}
body[data-page="adjustments"] .hr431-adjustment-table{border:0!important;border-collapse:separate!important;border-spacing:0!important}
body[data-page="adjustments"] .hr431-adjustment-table thead th{height:38px!important;padding:7px 10px!important;background:#edf4f8!important;color:#31566f!important;border:0!important;border-bottom:1px solid #d1dfe7!important;text-align:center!important;font-size:10.6px!important;font-weight:700!important}
body[data-page="adjustments"] .hr431-adjustment-table tbody td{height:52px!important;padding:7px 10px!important;background:#fff!important;border:0!important;border-bottom:1px solid #e2ebef!important;text-align:center!important;vertical-align:middle!important;font-size:11.2px!important}
body[data-page="adjustments"] .hr431-adjustment-table tbody tr:hover td{background:#f8fbfc!important}
body[data-page="adjustments"] .hr431-adjustment-table .v347-person b{font-size:11.8px!important;color:var(--tiam431-text)!important}
body[data-page="adjustments"] .hr431-adjustment-item{display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important}
body[data-page="adjustments"] .hr431-adjustment-item small{max-width:240px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9.4px!important;color:var(--tiam431-muted)!important}
body[data-page="adjustments"] .hr431-adjustment-table .v347-money{background:#fff!important}
body[data-page="adjustments"] .hr431-adjustment-table .v347-money b{font-size:11.5px!important;font-weight:800!important}
body[data-page="adjustments"] .hr431-adjustment-table .v347-money small{font-size:9px!important;color:var(--tiam431-muted)!important}
body[data-page="adjustments"] .hr431-adjustment-table .v347-row-status{min-height:23px!important;padding:0 8px!important;font-size:9.8px!important;white-space:nowrap!important}
body[data-page="adjustments"] .hr431-adjustment-table .v347-row-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
body[data-page="adjustments"] .hr431-adjustment-table .hr431-edit-action,
body[data-page="adjustments"] .hr431-adjustment-table .v347-row-menu>summary{width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;border-radius:9px!important}

@media (max-width:1100px){
  body[data-page="attendance"] .hr431-attendance-control{grid-template-columns:1fr 1fr!important}
  body[data-page="attendance"] .hr431-attendance-control .hr388-attendance-tools{grid-column:1/-1!important;justify-content:flex-start!important}
  body[data-page="experts"] .hr431-employee-tools{flex-wrap:wrap!important}
  body[data-page="adjustments"] .hr431-adjustment-filterbar{grid-template-columns:repeat(3,minmax(160px,1fr))!important}
}
@media (max-width:760px){
  .hr431-employee-summary,.hr431-adjustment-summary,body[data-page="attendance"] #attendance-overview-summary{grid-template-columns:1fr 1fr!important}
  body[data-page="attendance"] .hr431-attendance-control{grid-template-columns:1fr!important;align-items:stretch!important}
  body[data-page="attendance"] .hr431-attendance-picker{grid-template-columns:1fr!important}
  body[data-page="attendance"] .attendance-v337-week-summary{grid-template-columns:1fr 1fr!important}
  body[data-page="adjustments"] .hr431-adjustment-filterbar{grid-template-columns:1fr!important}
}

/* ===== TIAM v432 — credit workspace polish, global tools refinement, centered counters ===== */
:root{
  --tiam432-navy:#0b3558;
  --tiam432-ink:#15364f;
  --tiam432-line:#d5e2ea;
  --tiam432-shadow:0 10px 24px rgba(18,62,97,.08);
}

/* --- Credit workspace: compact, semantic KPI cards --- */
body[data-page="credit-assessment"] .credit-v118-summary-grid{
  gap:10px!important;
  margin:0 0 12px!important;
}
body[data-page="credit-assessment"] .credit-v118-summary-card{
  min-height:82px!important;
  padding:12px 14px!important;
  grid-template-columns:40px minmax(0,1fr)!important;
  border-radius:16px!important;
  border:1px solid transparent!important;
  box-shadow:0 8px 18px rgba(18,62,97,.08)!important;
  color:#fff!important;
  overflow:hidden!important;
}
body[data-page="credit-assessment"] .credit-v118-summary-card .credit-v118-summary-copy small,
body[data-page="credit-assessment"] .credit-v118-summary-card .credit-v118-summary-copy b,
body[data-page="credit-assessment"] .credit-v118-summary-card .money-unit{color:inherit!important}
body[data-page="credit-assessment"] .credit-v118-summary-card .credit-v118-summary-copy small{opacity:.82!important;font-size:11.5px!important}
body[data-page="credit-assessment"] .credit-v118-summary-card .credit-v118-summary-copy b{font-size:18px!important;font-weight:700!important}
body[data-page="credit-assessment"] .credit-v118-summary-card .v381-credit-kpi-icon{
  width:40px!important;height:40px!important;display:grid!important;place-items:center!important;
  border-radius:12px!important;background:rgba(255,255,255,.14)!important;color:inherit!important;
}
body[data-page="credit-assessment"] .credit-v118-summary-card .v381-credit-kpi-icon svg{width:22px!important;height:22px!important;stroke:currentColor!important}
body[data-page="credit-assessment"] .credit-v118-summary-pending{background:linear-gradient(135deg,#a76d14,#c58825)!important;border-color:#d7a650!important;color:#fff!important}
body[data-page="credit-assessment"] .credit-v118-summary-progress{background:linear-gradient(135deg,#256d9e,#3287bc)!important;border-color:#5fa4cd!important;color:#fff!important}
body[data-page="credit-assessment"] .credit-v118-summary-archive{background:linear-gradient(135deg,#596f82,#71889a)!important;border-color:#90a4b3!important;color:#fff!important}
body[data-page="credit-assessment"] .credit-v118-summary-wallet{background:linear-gradient(135deg,#0b466a,#0d5b83)!important;border-color:#397b9d!important;color:#fff!important}
body[data-page="credit-assessment"] .credit-v118-summary-card:hover{filter:brightness(1.035)!important;transform:translateY(-1px)!important;box-shadow:0 12px 22px rgba(18,62,97,.13)!important}

/* --- Credit fund/status center: compact toolbar and mini metrics --- */
body[data-page="credit-assessment"] .credit-v380-fund{
  margin:0 0 12px!important;padding:12px!important;border-radius:16px!important;
  border:1px solid #d3e0e8!important;background:#f7fafc!important;box-shadow:none!important;
}
body[data-page="credit-assessment"] .credit-v380-fund-head{
  min-height:42px!important;margin:0 0 9px!important;padding:0 2px 9px!important;
  border-bottom:1px solid #dbe6ed!important;align-items:center!important;
}
body[data-page="credit-assessment"] .credit-v380-fund-head h3{font-size:14.5px!important;font-weight:700!important;color:#173e5e!important}
body[data-page="credit-assessment"] .credit-v368-fund-actions{gap:7px!important}
body[data-page="credit-assessment"] .credit-v368-fund-actions .btn{min-height:36px!important;height:36px!important;padding:0 12px!important;border-radius:9px!important;font-size:11.5px!important}
body[data-page="credit-assessment"] .credit-v380-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body[data-page="credit-assessment"] .credit-v380-metrics>div{
  min-height:61px!important;padding:9px 11px!important;border:1px solid #dbe5eb!important;
  border-radius:11px!important;background:#fff!important;display:grid!important;align-content:center!important;gap:3px!important;
}
body[data-page="credit-assessment"] .credit-v380-metrics small{font-size:10.7px!important;color:#718796!important}
body[data-page="credit-assessment"] .credit-v380-metrics b{font-size:13.5px!important;font-weight:700!important;color:#173b57!important}
body[data-page="credit-assessment"] .credit-v380-metrics em{font-size:10px!important;font-style:normal!important;color:#7b8f9d!important}

/* --- Credit table search/filter toolbar --- */
body[data-page="credit-assessment"] .credit-v432-table-toolbar{
  display:grid!important;grid-template-columns:minmax(280px,1fr) 180px auto!important;gap:8px!important;align-items:end!important;
  margin:0 0 8px!important;padding:9px!important;border:1px solid #d6e2e9!important;border-radius:13px!important;background:#f6f9fb!important;
}
body[data-page="credit-assessment"] .credit-v432-search{position:relative!important;display:block!important;margin:0!important}
body[data-page="credit-assessment"] .credit-v432-search>span.credit-v432-search-icon{
  position:absolute!important;inset-inline-start:12px!important;top:50%!important;transform:translateY(-50%)!important;
  width:18px!important;height:18px!important;color:#56768c!important;pointer-events:none!important;
}
body[data-page="credit-assessment"] .credit-v432-search svg{width:18px!important;height:18px!important}
body[data-page="credit-assessment"] .credit-v432-search input{
  box-sizing:border-box!important;width:100%!important;height:38px!important;min-height:38px!important;padding:0 40px 0 12px!important;
  border:1px solid #cbd9e2!important;border-radius:9px!important;background:#fff!important;color:#173b57!important;font-size:12px!important;outline:0!important;
}
body[data-page="credit-assessment"] .credit-v432-search input:focus{border-color:#6994b2!important;box-shadow:0 0 0 3px rgba(47,126,188,.10)!important}
body[data-page="credit-assessment"] .credit-v432-filter-field{display:grid!important;gap:4px!important;margin:0!important}
body[data-page="credit-assessment"] .credit-v432-filter-field>span{font-size:10.5px!important;font-weight:600!important;color:#6b8292!important}
body[data-page="credit-assessment"] .credit-v432-filter-field select{height:38px!important;min-height:38px!important;padding:0 10px!important;border:1px solid #cbd9e2!important;border-radius:9px!important;background:#fff!important;font-size:12px!important;color:#173b57!important}
body[data-page="credit-assessment"] .credit-v432-visible-count{height:38px!important;min-width:112px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;border:1px solid #d4e1e9!important;border-radius:9px!important;background:#fff!important;color:#607a8c!important}
body[data-page="credit-assessment"] .credit-v432-visible-count small,body[data-page="credit-assessment"] .credit-v432-visible-count span{font-size:10.5px!important}
body[data-page="credit-assessment"] .credit-v432-visible-count b{font-size:13px!important;color:#173e5e!important}

/* --- Credit table: tighter geometry + true row status tint --- */
body[data-page="credit-assessment"] .credit-v118-table-wrap{padding:8px!important;border-radius:16px!important;background:#f2f6f8!important;overflow-x:auto!important}
body[data-page="credit-assessment"] .credit-v118-table{border-spacing:0 5px!important}
body[data-page="credit-assessment"] .credit-v118-table thead th{
  height:36px!important;padding:6px 8px!important;background:#0d3558!important;color:#fff!important;font-size:11.3px!important;font-weight:700!important;border:0!important;
}
body[data-page="credit-assessment"] .credit-v118-table thead th:first-child{border-radius:0 10px 10px 0!important}
body[data-page="credit-assessment"] .credit-v118-table thead th:last-child{border-radius:10px 0 0 10px!important}
body[data-page="credit-assessment"] .credit-v118-table tbody tr{height:50px!important;background:transparent!important;box-shadow:none!important}
body[data-page="credit-assessment"] .credit-v118-table tbody td{
  height:50px!important;padding:6px 8px!important;background:var(--credit-row-bg,#fff)!important;border-block:1px solid var(--credit-row-border,#d7e2e9)!important;transition:background-color .14s ease,border-color .14s ease!important;
}
body[data-page="credit-assessment"] .credit-v118-row-pending{--credit-row-bg:#fff3d8;--credit-row-hover:#ffedc6;--credit-row-border:#ead5a5}
body[data-page="credit-assessment"] .credit-v118-row-in_progress{--credit-row-bg:#e8f4fb;--credit-row-hover:#dceef9;--credit-row-border:#c6dfed}
body[data-page="credit-assessment"] .credit-v118-row-ready{--credit-row-bg:#e7f6ed;--credit-row-hover:#d9f0e3;--credit-row-border:#c5e3d2}
body[data-page="credit-assessment"] .credit-v118-row-blocked-funds{--credit-row-bg:#fde9e6;--credit-row-hover:#fbdcd7;--credit-row-border:#edc8c1}
body[data-page="credit-assessment"] .credit-v118-row-archived{--credit-row-bg:#eef2f5;--credit-row-hover:#e6ecef;--credit-row-border:#d4dde3}
body[data-page="credit-assessment"] .credit-v118-table tbody .credit-v118-row:hover>td{background:var(--credit-row-hover,#f5f9fb)!important;filter:none!important}
body[data-page="credit-assessment"] .credit-v118-table tbody .credit-v118-row[hidden]{display:none!important}

/* --- Credit action buttons: semantic identity --- */
body[data-page="credit-assessment"]{
  --action-call:#08775e;--action-call-bg:#e7f6f0;--action-call-border:#b8dfd0;
  --action-upload:#2877ad;--action-upload-bg:#eaf4fb;--action-upload-border:#bfd9ea;
  --action-grade:#6d55ad;--action-grade-bg:#f0ecfa;--action-grade-border:#d6cef0;
  --action-complete:#9a6500;--action-complete-bg:#fff2d7;--action-complete-border:#e8d09a;
}
body[data-page="credit-assessment"] .credit-v118-actions{gap:7px!important;overflow:visible!important}
body[data-page="credit-assessment"] .credit-v118-action{
  box-sizing:border-box!important;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;
  display:grid!important;place-items:center!important;border-radius:10px!important;border-width:1px!important;box-shadow:none!important;overflow:visible!important;
}
body[data-page="credit-assessment"] .credit-v118-action svg{width:17px!important;height:17px!important}
body[data-page="credit-assessment"] .credit-v118-action.is-call{--action-fg:var(--action-call);--action-bg:var(--action-call-bg);border-color:var(--action-call-border)!important}
body[data-page="credit-assessment"] .credit-v118-action.is-upload{--action-fg:var(--action-upload);--action-bg:var(--action-upload-bg);border-color:var(--action-upload-border)!important}
body[data-page="credit-assessment"] .credit-v118-action.is-grade{--action-fg:var(--action-grade);--action-bg:var(--action-grade-bg);border-color:var(--action-grade-border)!important}
body[data-page="credit-assessment"] .credit-v118-action.is-complete{--action-fg:var(--action-complete);--action-bg:var(--action-complete-bg);border-color:var(--action-complete-border)!important}
body[data-page="credit-assessment"] .credit-v118-action:hover:not(:disabled){filter:brightness(.98) saturate(1.06)!important;box-shadow:0 5px 12px rgba(18,62,97,.10)!important;transform:translateY(-1px)!important}
body[data-page="credit-assessment"] .credit-v118-action:focus-visible{outline:3px solid rgba(47,126,188,.18)!important;outline-offset:2px!important}
body[data-page="credit-assessment"] .credit-v118-action:disabled{background:#eef2f4!important;border-color:#d7e0e5!important;color:#91a0aa!important;opacity:1!important}

/* Readable portal tooltip: detached from table overflow, RTL-safe. */
.credit-v118-tooltip-portal{
  box-sizing:border-box!important;position:fixed!important;z-index:100000!important;
  min-width:164px!important;max-width:min(300px,calc(100vw - 16px))!important;padding:9px 12px!important;
  display:flex!important;flex-direction:column!important;gap:2px!important;
  border:1px solid rgba(255,255,255,.10)!important;border-radius:10px!important;
  background:#092d49!important;color:#fff!important;box-shadow:0 12px 28px rgba(6,26,42,.24)!important;
  direction:rtl!important;text-align:center!important;pointer-events:none!important;opacity:0!important;
  transform:translateY(2px)!important;transition:opacity .12s ease,transform .12s ease!important;
  font-family:var(--tiam-font,"Tiam Yekan Bakh FaNum",sans-serif)!important;
}
.credit-v118-tooltip-portal.is-visible{opacity:1!important;transform:translateY(0)!important}
.credit-v118-tooltip-portal b{font-size:12.7px!important;line-height:1.55!important;font-weight:700!important;color:#fff!important;white-space:nowrap!important}
.credit-v118-tooltip-portal span{font-size:11.8px!important;line-height:1.65!important;font-weight:500!important;color:rgba(255,255,255,.86)!important;white-space:normal!important}
.credit-v118-tooltip-portal span[dir="ltr"]{direction:ltr!important;unicode-bidi:isolate!important;white-space:nowrap!important}

/* --- Credit grade modal: fix missing theme class + compact hierarchy --- */
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade{
  width:min(700px,calc(100vw - 32px))!important;max-height:min(86vh,760px)!important;border-radius:18px!important;background:#f6f9fb!important;overflow:hidden!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade>.modal-head{
  min-height:58px!important;padding:10px 14px!important;background:#0b3558!important;border-bottom:0!important;color:#fff!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade>.modal-head #modal-title{color:#fff!important;font-size:16px!important;font-weight:700!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade>.modal-head #modal-close{
  width:36px!important;height:36px!important;min-width:36px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:10px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade>.modal-body{padding:14px 16px!important;overflow-x:hidden!important;line-height:1.65!important;background:#f6f9fb!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-context{
  display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(180px,.7fr)!important;gap:8px!important;margin:0 0 10px!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-context>div{
  min-width:0!important;min-height:66px!important;padding:9px 11px!important;border:1px solid #d7e3ea!important;border-radius:11px!important;background:#fff!important;display:grid!important;align-content:center!important;gap:2px!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-context small{font-size:10.5px!important;color:#718695!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-context b{font-size:13px!important;font-weight:700!important;color:#173b57!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-context .ltr-cell{direction:ltr!important;text-align:right!important;font-size:11.3px!important;color:#536f82!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-grade-help{margin:0 0 7px!important;font-size:11.5px!important;color:#587185!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-grade-selected-line{
  min-height:36px!important;margin:0 0 8px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border:1px solid #d9e3e9!important;border-radius:9px!important;background:#fff!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-grade-selected-line small{font-size:10.5px!important;color:#718695!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-grade-selected-line b{font-size:12px!important;color:#173b57!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:0 0 10px!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label{
  box-sizing:border-box!important;height:40px!important;min-height:40px!important;border:1px solid #d5e0e7!important;border-radius:9px!important;background:#fff!important;color:#284a62!important;display:grid!important;place-items:center!important;outline:0!important;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label:hover{border-color:#9fb7c7!important;background:#f9fbfc!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label.is-selected{border-color:#286f9e!important;background:#eaf4fa!important;box-shadow:0 0 0 2px rgba(47,126,188,.12)!important;color:#154d72!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label.grade-family-a{border-inline-start:3px solid #3b8965!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label.grade-family-b{border-inline-start:3px solid #2b8b87!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label.grade-family-c{border-inline-start:3px solid #347eaf!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label.grade-family-d{border-inline-start:3px solid #c88724!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-grid label.grade-family-e{border-inline-start:3px solid #c55454!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v118-grade-option{font-size:13px!important;font-weight:700!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-costline{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:0 0 10px!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-costline>div{min-height:50px!important;padding:7px 9px!important;border:1px solid #dbe5eb!important;border-radius:9px!important;background:#fff!important;display:grid!important;align-content:center!important;gap:2px!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-costline small{font-size:10px!important;color:#718695!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-costline b{font-size:11.8px!important;color:#173b57!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .field{margin:0!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .field label{margin-bottom:5px!important;font-size:10.8px!important;color:#536f82!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .field textarea{box-sizing:border-box!important;min-height:68px!important;height:68px!important;padding:8px 10px!important;border:1px solid #cfdee7!important;border-radius:10px!important;background:#fff!important;font-size:12px!important;line-height:1.7!important;resize:vertical!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade>.modal-actions{
  min-height:58px!important;padding:8px 14px!important;border-top:1px solid #dbe5eb!important;background:#fff!important;gap:8px!important;
}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade>.modal-actions .btn{min-width:104px!important;height:40px!important;min-height:40px!important;border-radius:9px!important;font-size:12px!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade>.modal-actions .btn-primary{background:#0b3558!important;border-color:#0b3558!important;color:#fff!important}
body[data-page="credit-assessment"] #modal.credit-v136-modal-grade>.modal-actions .btn-primary:disabled{background:#aebdc7!important;border-color:#aebdc7!important;color:#fff!important;opacity:1!important}

/* --- Global tools drawer: keep structure, refine hierarchy and semantic icons --- */
.tiam-global-tools-drawer{background:#f5f8fa!important}
.tiam-global-tools-head{min-height:66px!important;padding:10px 14px!important;grid-template-columns:38px minmax(0,1fr) 38px!important;gap:10px!important}
.tiam-global-tools-head__icon{width:38px!important;height:38px!important;border-radius:10px!important;background:#edf5f9!important}
.tiam-global-tools-head__copy h2{font-size:14.5px!important;font-weight:700!important}
.tiam-global-tools-close{width:38px!important;height:38px!important;min-width:38px!important;border-radius:10px!important;background:#0f4b77!important;border-color:#0f4b77!important;color:#fff!important}
.tiam-global-tools-close:hover{background:#123e61!important;border-color:#123e61!important;color:#fff!important}
.tiam-global-tools-body{padding:13px 14px!important}
.tiam-global-tools-section{margin:0 0 15px!important}
.tiam-global-tools-section>h3{margin:0 3px 7px!important;font-size:10.8px!important;font-weight:700!important;color:#708695!important}
.tiam-global-tools-list{gap:6px!important}
.tiam-global-tool-item{
  min-height:48px!important;padding:5px 8px!important;grid-template-columns:34px minmax(0,1fr) auto!important;gap:9px!important;
  border-color:#d6e2e9!important;border-radius:10px!important;background:#fff!important;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease!important;
}
.tiam-global-tool-item:hover{background:#fafdff!important;border-color:#b9cfdd!important;box-shadow:0 4px 10px rgba(18,62,97,.05)!important}
.tiam-global-tool-item__icon{width:34px!important;height:34px!important;border-radius:9px!important}
.tiam-global-tool-item__icon svg{width:17px!important;height:17px!important}
.tiam-global-tool-item__copy b{font-size:12.2px!important;font-weight:650!important}
[data-tiam-global-tool="phone"] .tiam-global-tool-item__icon{background:#e6f6f2!important;border-color:#c3e6dc!important;color:#08775e!important}
[data-tiam-global-tool="tickets"] .tiam-global-tool-item__icon{background:#f0ecfb!important;border-color:#d9d0f1!important;color:#6b55ad!important}
[data-tiam-global-tool="notifications"] .tiam-global-tool-item__icon{background:#eaf4fb!important;border-color:#c5ddeb!important;color:#2f7ebc!important}
[data-tiam-global-tool="actions"] .tiam-global-tool-item__icon{background:#fff2dd!important;border-color:#ead5aa!important;color:#b36f11!important}
[data-tiam-global-tool="demoSwitch"] .tiam-global-tool-item__icon{background:#f1eef8!important;border-color:#dbd4ea!important;color:#675b86!important}
[data-tiam-global-tool="profile"] .tiam-global-tool-item__icon{background:#edf5f9!important;border-color:#d0e0e9!important;color:#346b8e!important}
.tiam-global-tool-item.is-danger{margin-top:10px!important;border-color:#efd3d3!important;background:#fffafa!important;color:#a64040!important}
.tiam-global-tool-item.is-danger .tiam-global-tool-item__icon{background:#fff0f0!important;border-color:#efcaca!important;color:#b54848!important}

/* Exact badge centering: border-box prevents single digit pills from becoming off-center. */
.tiam-global-tool-item .tiam-tool-badge,
.tiam-global-tools-combined-badge,
.sm148-header-badge{
  box-sizing:border-box!important;display:grid!important;place-items:center!important;
  min-width:20px!important;height:20px!important;padding:0 5px!important;margin:0!important;
  line-height:20px!important;text-align:center!important;font-size:10.8px!important;font-weight:700!important;
  font-variant-numeric:tabular-nums!important;border-radius:999px!important;
}
.tiam-global-tool-item .tiam-tool-badge{justify-self:end!important;align-self:center!important}

/* --- Sales contact workbench: visible whole-row semantic tint --- */
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row{
  --sm148-status-bg:#f8fbfd;--sm148-status-hover:#f1f7fa;--sm148-status-border:#cfdee7;
}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-inbox{--sm148-status-bg:#e8f4fb;--sm148-status-hover:#dceef9;--sm148-status-border:#c5deed}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-followup{--sm148-status-bg:#fff2d7;--sm148-status-hover:#ffe9bf;--sm148-status-border:#ead3a0}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-followup.is-due{--sm148-status-bg:#ffe5d8;--sm148-status-hover:#ffd9c8;--sm148-status-border:#edc2ad}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-no_interest{--sm148-status-bg:#fdeaea;--sm148-status-hover:#fbdede;--sm148-status-border:#eccaca}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-registered{--sm148-status-bg:#e6f5ec;--sm148-status-hover:#d9efe2;--sm148-status-border:#c3e0ce}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td{
  background-color:var(--sm148-status-bg)!important;background-image:none!important;border-block-color:var(--sm148-status-border)!important;filter:none!important;
}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row:hover>td{background-color:var(--sm148-status-hover)!important;filter:none!important}
body[data-page="sales-operations"] .sm148-contact-table .sm148-contact-status,
body[data-page="sales-operations"] .sm148-contact-table .sm148-contact-name-input{background:rgba(255,255,255,.58)!important}

@media(max-width:900px){
  body[data-page="credit-assessment"] .credit-v380-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-page="credit-assessment"] .credit-v432-table-toolbar{grid-template-columns:1fr 160px!important}
  body[data-page="credit-assessment"] .credit-v432-visible-count{grid-column:1/-1!important;justify-self:start!important}
}
@media(max-width:680px){
  body[data-page="credit-assessment"] .credit-v118-summary-grid{grid-template-columns:1fr 1fr!important}
  body[data-page="credit-assessment"] .credit-v432-table-toolbar{grid-template-columns:1fr!important}
  body[data-page="credit-assessment"] .credit-v432-visible-count{grid-column:auto!important}
  body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-context{grid-template-columns:1fr!important}
  body[data-page="credit-assessment"] #modal.credit-v136-modal-grade .credit-v373-costline{grid-template-columns:1fr!important}
}


/* ==========================================================================
   TIAM v433 — Support separation, scoped credit operations, row-root cleanup
   ========================================================================== */

/* Global header counters: true single-digit circle + optical centering. */
.tiam-global-tools-combined-badge{box-sizing:border-box!important;width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;max-height:24px!important;padding:1px 0 0!important;display:grid!important;place-items:center!important;border-radius:50%!important;line-height:1!important;font-size:11px!important;font-weight:700!important;text-indent:.25px!important}
.tiam-global-tools-combined-badge.is-multi{width:auto!important;min-width:28px!important;padding:1px 6px 0!important;border-radius:999px!important}
.tiam-global-tool-item .tiam-tool-badge{box-sizing:border-box!important;min-width:22px!important;height:22px!important;padding:1px 6px 0!important;display:grid!important;place-items:center!important;line-height:1!important}

/* Sales contact rows: one semantic background source; no old colored rails. */
body[data-page="sales-operations"] .sm148-contact-table{border-collapse:separate!important;border-spacing:0 3px!important}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row{background:transparent!important;--sm148-status-bg:#f3f8fc;--sm148-status-hover:#eaf3f9}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-inbox{--sm148-status-bg:#e8f4fb;--sm148-status-hover:#deeff8}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-followup{--sm148-status-bg:#fff2d9;--sm148-status-hover:#ffeac2}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-followup.is-due{--sm148-status-bg:#ffe7dc;--sm148-status-hover:#ffddcf}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-no_interest{--sm148-status-bg:#fde9e9;--sm148-status-hover:#f9dddd}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row.is-registered{--sm148-status-bg:#e7f6ed;--sm148-status-hover:#dcefe4}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td{background:var(--sm148-status-bg)!important;border-top:1px solid #d5e1e8!important;border-bottom:1px solid #d5e1e8!important;border-inline-start:0!important;border-inline-end:0!important;box-shadow:none!important;filter:none!important}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td:first-child{border-inline-start:1px solid #d5e1e8!important;border-radius:0 10px 10px 0!important}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row>td:last-child{border-inline-end:1px solid #d5e1e8!important;border-radius:10px 0 0 10px!important}
body[data-page="sales-operations"] .sm148-contact-table>tbody>tr.sm148-contact-row:hover>td{background:var(--sm148-status-hover)!important;filter:none!important}

/* Credit rows: full-row tint only; neutral separators. */
body[data-page="credit-assessment"] .credit-v118-table{border-collapse:separate!important;border-spacing:0 3px!important}
body[data-page="credit-assessment"] .credit-v118-table tbody .credit-v118-row{background:transparent!important}
body[data-page="credit-assessment"] .credit-v118-table tbody .credit-v118-row>td{background:var(--credit-row-bg,#fff)!important;border-top:1px solid #d5e1e8!important;border-bottom:1px solid #d5e1e8!important;border-inline-start:0!important;border-inline-end:0!important;box-shadow:none!important}
body[data-page="credit-assessment"] .credit-v118-table tbody .credit-v118-row>td:first-child{border-inline-start:1px solid #d5e1e8!important;border-radius:0 10px 10px 0!important}
body[data-page="credit-assessment"] .credit-v118-table tbody .credit-v118-row>td:last-child{border-inline-end:1px solid #d5e1e8!important;border-radius:10px 0 0 10px!important}
body[data-page="credit-assessment"] .credit-v118-table tbody .credit-v118-row:hover>td{background:var(--credit-row-hover,#f5f9fb)!important;border-color:#cbd9e2!important}

/* Compact credit archive. */
body[data-page="credit-assessment"] .credit-v347-archive-context{min-height:58px!important;margin:0 0 8px!important;padding:9px 13px!important;border-radius:13px!important}
body[data-page="credit-assessment"] .credit-v347-archive-context .credit-v118-archive-mark{width:38px!important;height:38px!important;min-width:38px!important}
body[data-page="credit-assessment"] .credit-v347-archive-context h2{margin:0!important;font-size:16px!important;line-height:1.35!important}
body[data-page="credit-assessment"] .credit-v347-archive-context small{font-size:10.5px!important}
body[data-page="credit-assessment"] .credit-v118-table.is-archive th:last-child,body[data-page="credit-assessment"] .credit-v118-table.is-archive td:last-child{width:82px!important;min-width:82px!important;max-width:82px!important}
body[data-page="credit-assessment"] .credit-v118-table.is-archive .credit-v118-actions{justify-content:center!important}
body[data-page="credit-assessment"] .credit-v118-table.is-archive tbody tr,body[data-page="credit-assessment"] .credit-v118-table.is-archive tbody td{height:46px!important}

/* Brokerage case: bounded compact workspace instead of near-fullscreen. */
#modal.brokerage-case-v391-theme{width:min(1220px,calc(100vw - 72px))!important;height:min(84vh,760px)!important;max-width:1220px!important;max-height:calc(100vh - 56px)!important;border-radius:18px!important}
#modal.brokerage-case-v391-theme>.modal-body{min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important}
#modal.brokerage-case-v391-theme .bcv391-form{padding:10px 12px!important;gap:9px!important}
#modal.brokerage-case-v391-theme .bcv391-head{position:sticky!important;top:0!important;min-height:64px!important;padding:9px 12px!important;gap:10px!important;border-radius:14px!important}
#modal.brokerage-case-v391-theme .bcv391-identity h2{font-size:18px!important;line-height:1.25!important}
#modal.brokerage-case-v391-theme .bcv391-identity small,#modal.brokerage-case-v391-theme .bcv391-head-meta{font-size:11.5px!important}
#modal.brokerage-case-v391-theme .bcv391-head-states .brokerage-status-pill,#modal.brokerage-case-v391-theme .bcv391-head-states .bc391-state-chip{min-height:25px!important;padding:3px 8px!important;font-size:11px!important}
#modal.brokerage-case-v391-theme .bcv391-call{height:34px!important;min-height:34px!important;font-size:12px!important}
#modal.brokerage-case-v391-theme .bcv391-close{width:34px!important;height:34px!important}
#modal.brokerage-case-v391-theme .bcv391-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
#modal.brokerage-case-v391-theme .bcv391-summary article{min-height:60px!important;padding:8px 10px!important;border-radius:12px!important}
#modal.brokerage-case-v391-theme .bcv391-summary small{font-size:10.5px!important}
#modal.brokerage-case-v391-theme .bcv391-summary b{font-size:13.5px!important}
#modal.brokerage-case-v391-theme .bcv391-summary span{font-size:10.5px!important}
#modal.brokerage-case-v391-theme .bcv391-layout{grid-template-columns:minmax(0,2.65fr) minmax(250px,.92fr)!important;gap:9px!important}
#modal.brokerage-case-v391-theme .bcv391-main,#modal.brokerage-case-v391-theme .bcv391-sidebar{gap:8px!important}
#modal.brokerage-case-v391-theme .bcv391-section,#modal.brokerage-case-v391-theme .bcv405-profile{padding:9px 10px!important;border-radius:12px!important}
#modal.brokerage-case-v391-theme .bcv391-status-grid{gap:7px!important;margin-bottom:9px!important}
#modal.brokerage-case-v391-theme .bcv405-status-block{grid-template-rows:auto 36px!important;gap:4px!important}
#modal.brokerage-case-v391-theme .bcv405-status-select,#modal.brokerage-case-v391-theme .bcv391-assignee-search,#modal.brokerage-case-v391-theme .bcv391-assignee select{height:36px!important;min-height:36px!important;max-height:36px!important;border-radius:9px!important;font-size:12px!important}
#modal.brokerage-case-v391-theme .bcv391-assignee-search input{height:32px!important;min-height:32px!important;font-size:12px!important}
#modal.brokerage-case-v391-theme textarea{min-height:62px!important}
#modal.brokerage-case-v391-theme>.modal-actions{min-height:52px!important;padding:6px 12px!important;gap:7px!important}
#modal.brokerage-case-v391-theme>.modal-actions .bcv405-footer-btn,#modal.brokerage-case-v391-theme>.modal-actions .btn-primary,#modal.brokerage-case-v391-theme>.modal-actions .btn-soft,#modal.brokerage-case-v391-theme>.modal-actions .btn-muted{width:112px!important;min-width:112px!important;max-width:112px!important;height:38px!important;min-height:38px!important;max-height:38px!important;font-size:12px!important;border-radius:9px!important}

/* Independent Support page: compact operational rhythm; finance stays absent. */
body[data-page="support"] .v390-support-page{max-width:1320px!important;margin-inline:auto!important}
body[data-page="support"] .v390-support-context{min-height:48px!important;padding:8px 11px!important;margin-bottom:7px!important}
body[data-page="support"] .v390-support-summary{gap:7px!important;margin-bottom:7px!important}
body[data-page="support"] .v390-support-summary article{min-height:58px!important;padding:8px 10px!important}
body[data-page="support"] .v390-support-toolbar{padding:8px!important;gap:7px!important;margin-bottom:7px!important}
body[data-page="support"] .v390-support-row{min-height:52px!important}
body[data-page="support"] .v390-commission-chip{display:none!important}

@media(max-width:900px){
  #modal.brokerage-case-v391-theme{width:calc(100vw - 20px)!important;height:calc(100vh - 20px)!important;max-height:calc(100vh - 20px)!important}
  #modal.brokerage-case-v391-theme .bcv391-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #modal.brokerage-case-v391-theme .bcv391-layout{grid-template-columns:1fr!important}
}

/* ==========================================================================
   TIAM v434 — root UI contracts + case-scoped brokerage messaging
   ========================================================================== */

:root{
  --tiam-search-height:44px;
  --tiam-search-radius:11px;
  --tiam-search-border:#c9d8e2;
  --tiam-search-border-focus:#547f9c;
  --tiam-search-bg:#fff;
  --tiam-search-text:#173a53;
  --tiam-search-placeholder:#7c8f9d;
  --tiam-search-focus-ring:rgba(69,116,149,.09);
}

/* Native details semantics are authoritative. Author CSS must never leave a
   closed dropdown body painted on the page (the old ghost white panel bug). */
details:not([open]) > :not(summary){display:none!important}
.brokerage-reference-operations:not([open])>.brokerage-reference-operations-menu{display:none!important}
.brokerage-reference-operations[open]>.brokerage-reference-operations-menu{display:grid!important}

/* Search/input design-system contract. Runtime tags genuine search controls so
   this stays global without changing ordinary form fields. */
input[data-tiam-search-input="1"]{
  box-sizing:border-box!important;
  height:var(--tiam-search-height)!important;
  min-height:var(--tiam-search-height)!important;
  max-height:var(--tiam-search-height)!important;
  padding-inline:13px!important;
  border:1px solid var(--tiam-search-border)!important;
  border-radius:var(--tiam-search-radius)!important;
  outline:0!important;
  background:var(--tiam-search-bg)!important;
  color:var(--tiam-search-text)!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:550!important;
  line-height:1.4!important;
  text-align:start!important;
}
input[data-tiam-search-input="1"]::placeholder{color:var(--tiam-search-placeholder)!important;font-weight:500!important;opacity:1!important}
input[data-tiam-search-input="1"]:focus{border-color:var(--tiam-search-border-focus)!important;box-shadow:0 0 0 3px var(--tiam-search-focus-ring)!important}
[data-tiam-search-shell="1"]{
  position:relative!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  height:var(--tiam-search-height)!important;
  min-height:var(--tiam-search-height)!important;
  max-height:var(--tiam-search-height)!important;
  padding:0!important;
  border:1px solid var(--tiam-search-border)!important;
  border-radius:var(--tiam-search-radius)!important;
  outline:0!important;
  background:var(--tiam-search-bg)!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
[data-tiam-search-shell="1"]:focus-within{border-color:var(--tiam-search-border-focus)!important;box-shadow:0 0 0 3px var(--tiam-search-focus-ring)!important}
[data-tiam-search-shell="1"]>input[data-tiam-search-input="1"]{
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding-inline:13px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
[data-tiam-search-shell="1"][data-tiam-search-leading="1"]>input[data-tiam-search-input="1"]{padding-inline-start:44px!important}
[data-tiam-search-shell="1"][data-tiam-search-clear="1"]>input[data-tiam-search-input="1"]{padding-inline-end:42px!important}
[data-tiam-search-leading-icon="1"]{
  position:absolute!important;
  inset-inline-start:13px!important;
  top:50%!important;
  translate:0 -50%!important;
  width:18px!important;
  height:18px!important;
  display:grid!important;
  place-items:center!important;
  color:#426f8e!important;
  pointer-events:none!important;
  z-index:2!important;
}
[data-tiam-search-leading-icon="1"] svg{width:18px!important;height:18px!important}
[data-tiam-search-clear-button="1"]{
  position:absolute!important;
  inset-inline-end:7px!important;
  top:50%!important;
  translate:0 -50%!important;
  z-index:3!important;
}

/* Brokerage search had an extra styled wrapper around an already styled input.
   Make the panel structural only: one field = one visible border. */
body[data-page="brokerage"] .brokerage-v285-search-panel{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body[data-page="brokerage"] .brokerage-v285-search-field{max-width:560px!important}
body[data-page="brokerage"] .brokerage-v285-search-field>span{right:auto!important;left:auto!important}
body[data-page="brokerage"] .brokerage-v285-search-field>button{left:auto!important;right:auto!important}

/* Notification / action-needed readability: full content, calm contrast and a
   lighter weight hierarchy instead of truncation and visually heavy rows. */
.v382-notifications .so-v282-item{border-bottom-color:#e1e9ee!important;background:#fff!important}
.v382-notifications .so-v282-item.is-unread{background:#f5f9fc!important;box-shadow:inset -2px 0 #5d8ba8!important}
.v382-notifications .so-v282-main{height:auto!important;min-height:72px!important;align-items:start!important}
.v382-notifications .so-v282-copy strong{
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  font-size:13px!important;font-weight:700!important;line-height:1.65!important;
}
.v382-notifications .so-v282-item.is-unread .so-v282-copy strong{font-weight:750!important}
.v382-notifications .so-v282-copy p{
  display:block!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  margin-top:4px!important;font-size:11.8px!important;font-weight:500!important;line-height:1.75!important;color:#526b7d!important;
}
.v382-action-center .v382-action-title{align-items:flex-start!important}
.v382-action-center .v382-action-title strong{
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  font-size:13.5px!important;font-weight:700!important;line-height:1.65!important;
}
.v382-action-center .v382-action-content>p{
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  font-size:11.8px!important;font-weight:500!important;line-height:1.75!important;color:#526b7d!important;
}

/* Brokerage case: manager-only case message action and inline composer. */
#modal.brokerage-case-v391-theme .bcv434-case-message-open{
  height:34px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:0 10px;border:1px solid #c4d8e5;border-radius:9px;background:#f7fbfd;color:#245c7d;
  font:inherit;font-size:11.5px;font-weight:650;cursor:pointer;box-shadow:none;
}
#modal.brokerage-case-v391-theme .bcv434-case-message-open:hover{background:#edf6fb;border-color:#aac8d9}
#modal.brokerage-case-v391-theme .bcv434-case-message-open svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
#modal.brokerage-case-v391-theme .bcv434-case-message{
  display:grid;gap:8px;margin:0 0 10px;padding:10px;border:1px solid #cfe0e9;border-radius:11px;background:#f8fbfd;
}
#modal.brokerage-case-v391-theme .bcv434-case-message-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#modal.brokerage-case-v391-theme .bcv434-case-message-head div{display:grid;gap:1px}
#modal.brokerage-case-v391-theme .bcv434-case-message-head small{font-size:10px;color:#718696}
#modal.brokerage-case-v391-theme .bcv434-case-message-head strong{font-size:12.5px;font-weight:700;color:#173d57}
#modal.brokerage-case-v391-theme .bcv434-case-message-head>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#e8f2f7;color:#2c698d}
#modal.brokerage-case-v391-theme .bcv434-case-message-head svg,#modal.brokerage-case-v391-theme .bcv434-case-message-submit svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
#modal.brokerage-case-v391-theme .bcv434-case-message label{display:grid;gap:4px;font-size:10.5px;font-weight:650;color:#536c7c}
#modal.brokerage-case-v391-theme .bcv434-case-message select,#modal.brokerage-case-v391-theme .bcv434-case-message textarea{
  width:100%;box-sizing:border-box;border:1px solid #cbdbe4;border-radius:9px;background:#fff;color:#193c52;box-shadow:none;font:inherit;font-size:11.8px;
}
#modal.brokerage-case-v391-theme .bcv434-case-message select{height:35px;padding-inline:8px}
#modal.brokerage-case-v391-theme .bcv434-case-message textarea{min-height:72px!important;padding:8px;resize:vertical;line-height:1.7}
#modal.brokerage-case-v391-theme .bcv434-case-message select:focus,#modal.brokerage-case-v391-theme .bcv434-case-message textarea:focus{outline:0;border-color:#6d96ad;box-shadow:0 0 0 3px rgba(79,126,153,.08)}
#modal.brokerage-case-v391-theme .bcv434-case-message-submit{justify-self:start;height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 11px;border:0;border-radius:9px;background:#245f82;color:#fff;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer}
#modal.brokerage-case-v391-theme .bcv434-case-message-submit:disabled{opacity:.55;cursor:wait}

@media(max-width:700px){
  :root{--tiam-search-height:42px}
  #modal.brokerage-case-v391-theme .bcv434-case-message-open b{display:none}
  #modal.brokerage-case-v391-theme .bcv434-case-message-open{width:34px;padding:0}
}

/* ========================================================================== */
/* TIAM v435 — Support module separation + dense operational UI               */
/* ========================================================================== */

/* Support belongs to its own workspace. The brokerage page must not visually
   inherit the former support-manager strip. */
body[data-page="brokerage"] .v390-support-manager-entry{display:none!important}

/* ---- Support workspace: flat table, lower visual noise, no capsule rows. ---- */
body[data-page="support"] .v435-support-page{gap:8px!important;max-width:1380px!important}
body[data-page="support"] .v435-support-context{
  min-height:42px!important;padding:6px 9px!important;margin:0!important;
  border:1px solid #d8e1e7!important;border-radius:8px!important;background:#f8fafb!important;box-shadow:none!important;
}
body[data-page="support"] .v435-support-context .v390-context-mark{
  min-height:25px!important;padding:0 8px!important;border-radius:6px!important;background:#eef6f4!important;
  border-color:#d2e7e2!important;font-size:11px!important;
}
body[data-page="support"] .v435-support-context b{font-size:12.8px!important;font-weight:700!important;color:#173b5b!important}
body[data-page="support"] .v435-support-manage,
body[data-page="support"] .v390-refresh-btn{
  min-height:32px!important;height:32px!important;border-radius:7px!important;box-shadow:none!important;
}
body[data-page="support"] .v435-support-manage{
  padding:0 11px;border:1px solid #bfd6e3;background:#fff;color:#174e72;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer;
}
body[data-page="support"] .v435-support-manage:hover{background:#eef5f9}

body[data-page="support"] .v435-support-summary{gap:6px!important;margin:0!important}
body[data-page="support"] .v435-support-summary article{
  min-height:48px!important;padding:6px 10px!important;border-radius:8px!important;box-shadow:none!important;
}
body[data-page="support"] .v435-support-summary article span{font-size:11.5px!important;font-weight:650!important}
body[data-page="support"] .v435-support-summary article b{font-size:18px!important;font-weight:750!important}

body[data-page="support"] .v435-support-toolbar{
  display:grid!important;grid-template-columns:minmax(260px,1.65fr) repeat(3,minmax(135px,.72fr)) auto!important;
  align-items:center!important;gap:6px!important;padding:7px!important;margin:0!important;
  border:1px solid #d8e1e7!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;
}
body[data-page="support"] .v435-support-toolbar>input,
body[data-page="support"] .v435-support-toolbar>select{
  width:100%!important;height:36px!important;min-height:36px!important;padding:0 10px!important;
  border:1px solid #ccd8df!important;border-radius:7px!important;background:#fff!important;color:#17374e!important;
  box-shadow:none!important;font-size:11.8px!important;
}
body[data-page="support"] .v435-support-toolbar>input:focus,
body[data-page="support"] .v435-support-toolbar>select:focus{
  outline:0!important;border-color:#7ca4bd!important;box-shadow:0 0 0 3px rgba(49,101,135,.07)!important;
}
body[data-page="support"] .v435-visible-count{
  height:36px!important;min-height:36px!important;padding:0 9px!important;border-radius:7px!important;background:#f0f6f5!important;
  border-color:#d3e5e1!important;font-size:11px!important;
}
body[data-page="support"] .v435-visible-count b{font-size:13px!important}

body[data-page="support"] .v435-support-table{
  border:1px solid #d4dee5!important;border-radius:8px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important;
}
body[data-page="support"] .v435-support-head,
body[data-page="support"] .v435-support-row{
  grid-template-columns:minmax(220px,1.35fr) minmax(155px,.9fr) minmax(125px,.75fr) minmax(185px,1.05fr) minmax(170px,.95fr) 92px!important;
  gap:10px!important;
}
body[data-page="support"] .v435-support-head{
  min-height:36px!important;padding:6px 12px!important;border-radius:0!important;background:#edf2f5!important;
  border-bottom:1px solid #cad7df!important;font-size:11.4px!important;font-weight:750!important;color:#526a7b!important;
}
body[data-page="support"] .v435-support-row{
  min-height:58px!important;padding:7px 12px!important;margin:0!important;border:0!important;border-bottom:1px solid #e7edf1!important;
  border-radius:0!important;background:#fff!important;box-shadow:none!important;transform:none!important;overflow:visible!important;
}
body[data-page="support"] .v435-support-row:last-of-type{border-bottom:0!important}
body[data-page="support"] .v435-support-row::before{
  inset-block:0!important;inset-inline-start:0!important;width:3px!important;border-radius:0!important;opacity:.9!important;
}
body[data-page="support"] .v435-support-row:hover{background:#f8fbfd!important;box-shadow:none!important}
body[data-page="support"] .v435-support-row:focus-visible{outline:2px solid #7ba5bd!important;outline-offset:-2px!important}
body[data-page="support"] .v435-customer-cell,
body[data-page="support"] .v435-branch-cell,
body[data-page="support"] .v435-contact-time,
body[data-page="support"] .v435-followup-cell{gap:1px!important}
body[data-page="support"] .v435-customer-cell b{font-size:12.7px!important;font-weight:750!important;color:#102f46!important}
body[data-page="support"] .v435-customer-cell span,
body[data-page="support"] .v435-customer-cell small,
body[data-page="support"] .v435-branch-cell small,
body[data-page="support"] .v435-contact-time small,
body[data-page="support"] .v435-followup-cell small{font-size:10.5px!important;font-weight:500!important;color:#718390!important}
body[data-page="support"] .v435-branch-cell b,
body[data-page="support"] .v435-contact-time b,
body[data-page="support"] .v435-followup-cell b{font-size:11.6px!important;font-weight:700!important;color:#1c3c53!important}
body[data-page="support"] .v435-followup-cell small.is-overdue{color:#a53d36!important;font-weight:700!important}
body[data-page="support"] .v435-status-cell{display:flex;align-items:center}
body[data-page="support"] .v390-status-pill{
  min-height:25px!important;padding:2px 7px!important;border-radius:7px!important;font-size:10.7px!important;font-weight:700!important;
}
body[data-page="support"] .v435-row-actions{justify-content:flex-start!important}
body[data-page="support"] .v435-row-actions .v390-call-btn{
  min-height:32px!important;height:32px!important;padding:0 9px!important;border-radius:7px!important;font-size:10.8px!important;box-shadow:none!important;
}

/* ---- Support case: one clear task at a time, compact modal, progressive disclosure. ---- */
#modal.v435-support-modal{width:min(860px,calc(100vw - 42px))!important;max-height:calc(100vh - 42px)!important}
#modal.v435-support-modal #modal-body{padding:12px 14px!important;background:#fff!important;font-size:12px!important}
#modal.v435-support-modal #modal-actions{padding-block:9px!important;background:#f8fafb!important;border-top:1px solid #dbe4e9!important}
#modal.v435-support-modal .v435-support-case{gap:0!important}
#modal.v435-support-modal .v435-case-hero{
  display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 0 10px!important;
  border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
}
#modal.v435-support-modal .v390-case-identity h3{margin:2px 0!important;font-size:16px!important;font-weight:750!important}
#modal.v435-support-modal .v390-case-identity small{font-size:10.5px!important;color:#758591!important}
#modal.v435-support-modal .v390-case-meta{gap:5px 10px!important;font-size:11px!important;color:#526b7b!important}
#modal.v435-support-modal .v390-case-primary{gap:7px!important}
#modal.v435-support-modal .v390-case-primary .v390-call-btn{
  min-height:34px!important;height:34px!important;border-radius:7px!important;padding:0 10px!important;
}
#modal.v435-support-modal .v435-case-brief{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 8px;padding:7px 0;
  border-block:1px solid #e1e8ec;background:#fafcfd;
}
#modal.v435-support-modal .v435-case-brief>div{min-width:0;padding:0 10px;border-inline-start:1px solid #e3e9ed}
#modal.v435-support-modal .v435-case-brief>div:first-child{border-inline-start:0}
#modal.v435-support-modal .v435-case-brief small{display:block;margin-bottom:1px;font-size:10px;color:#788995}
#modal.v435-support-modal .v435-case-brief b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.4px;font-weight:700;color:#244154}

#modal.v435-support-modal .v435-case-tabs{
  display:flex!important;gap:18px!important;padding:0!important;margin:0!important;border:0!important;border-bottom:1px solid #dfe7ec!important;
  border-radius:0!important;background:#fff!important;overflow:visible!important;
}
#modal.v435-support-modal .v435-case-tabs button{
  flex:0 0 auto!important;min-width:0!important;min-height:34px!important;padding:0 2px!important;border:0!important;border-bottom:2px solid transparent!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#6a7c88!important;font-size:11.5px!important;font-weight:650!important;
}
#modal.v435-support-modal .v435-case-tabs button.is-active{color:#123e61!important;border-bottom-color:#123e61!important;background:transparent!important;box-shadow:none!important}

#modal.v435-support-modal .v435-case-panel{
  gap:10px!important;padding:12px 0 0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
}
#modal.v435-support-modal .v435-call-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 9px;border-bottom:1px solid #edf1f4;background:#fff;
}
#modal.v435-support-modal .v435-call-bar>div{display:grid;gap:1px}
#modal.v435-support-modal .v435-call-bar b{font-size:12.4px;font-weight:750;color:#19384d}
#modal.v435-support-modal .v435-call-bar small{font-size:10.6px;color:#758691}
#modal.v435-support-modal .v435-call-bar .v390-call-btn{min-height:34px!important;height:34px!important;border-radius:7px!important;background:#17766f!important;color:#fff!important}
#modal.v435-support-modal .v435-contact-form{gap:8px!important}
#modal.v435-support-modal .v435-contact-form label>span{font-size:10.7px!important;font-weight:650!important;color:#546c7b!important}
#modal.v435-support-modal .v435-contact-form select,
#modal.v435-support-modal .v435-contact-form input,
#modal.v435-support-modal .v435-contact-form textarea{
  min-height:38px!important;border-radius:7px!important;border-color:#cbd8df!important;font-size:11.8px!important;box-shadow:none!important;
}
#modal.v435-support-modal .v435-contact-form textarea{min-height:78px!important}
#modal.v435-support-modal .v390-contact-submit{justify-content:flex-start!important}
#modal.v435-support-modal .v390-contact-submit .btn{min-height:36px!important;border-radius:7px!important;min-width:135px!important}
#modal.v435-support-modal .v435-last-contact{
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0 0;border-top:1px solid #edf1f4;
}
#modal.v435-support-modal .v435-last-contact>div{display:grid;gap:1px;min-width:0}
#modal.v435-support-modal .v435-last-contact small{font-size:10px;color:#7b8b96}
#modal.v435-support-modal .v435-last-contact b{font-size:11.4px;color:#2a475a;font-weight:700}
#modal.v435-support-modal .v435-last-contact span{max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.6px;color:#73838e}
#modal.v435-support-modal .v435-last-contact button{
  flex:0 0 auto;border:0;background:transparent;color:#245f82;font:inherit;font-size:10.8px;font-weight:700;cursor:pointer;padding:5px 0;
}
#modal.v435-support-modal .v435-customer-facts{gap:0!important;border-block:1px solid #e5ebef!important}
#modal.v435-support-modal .v435-customer-facts>div{
  padding:8px 9px!important;border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:0!important;background:#fff!important;
}
#modal.v435-support-modal .v435-customer-facts .is-wide{border-bottom:0!important}
#modal.v435-support-modal .v390-edit-details,
#modal.v435-support-modal .v390-history-group{border-radius:7px!important;box-shadow:none!important}
#modal.v435-support-modal .v390-service-chip span{min-height:29px!important;border-radius:6px!important}

/* Brokerage case: make the manager-only message action impossible to miss by
   placing it inside the actual case operations block, not only in the header. */
#modal.brokerage-case-v391-theme .bcv435-case-primary-actions{
  display:flex;justify-content:flex-start;margin-top:8px;padding-top:9px;border-top:1px solid #e3e9ed;
}
#modal.brokerage-case-v391-theme .bcv435-case-message-open{
  width:auto!important;min-width:118px!important;height:36px!important;min-height:36px!important;padding:0 12px!important;
  border-radius:8px!important;background:#123e61!important;border-color:#123e61!important;color:#fff!important;font-size:11.8px!important;font-weight:750!important;
}
#modal.brokerage-case-v391-theme .bcv435-case-message-open:hover{background:#0f3552!important;border-color:#0f3552!important}
#modal.brokerage-case-v391-theme .bcv435-case-message-open b{display:inline!important}

@media(max-width:1100px){
  body[data-page="support"] .v435-support-toolbar{grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(135px,.8fr)) auto!important}
  body[data-page="support"] .v435-support-toolbar #v390-support-priority{grid-column:2}
  body[data-page="support"] .v435-support-head,
  body[data-page="support"] .v435-support-row{grid-template-columns:minmax(210px,1.35fr) minmax(120px,.75fr) minmax(175px,1fr) minmax(165px,.9fr) 86px!important}
  body[data-page="support"] .v435-support-head>span:nth-child(2),body[data-page="support"] .v435-support-row>.v435-branch-cell{display:none!important}
}
@media(max-width:760px){
  body[data-page="support"] .v435-support-toolbar{grid-template-columns:1fr 1fr!important}
  body[data-page="support"] .v435-support-search{grid-column:1/-1!important}
  body[data-page="support"] .v435-support-toolbar #v390-support-priority{grid-column:auto!important}
  body[data-page="support"] .v435-support-head{display:none!important}
  body[data-page="support"] .v435-support-row{
    grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px!important;padding:9px 10px!important;min-height:0!important;
  }
  body[data-page="support"] .v435-support-row>.v435-customer-cell{grid-column:1!important;grid-row:1!important}
  body[data-page="support"] .v435-support-row>.v435-row-actions{grid-column:2!important;grid-row:1!important}
  body[data-page="support"] .v435-support-row>.v435-status-cell,
  body[data-page="support"] .v435-support-row>.v435-contact-time,
  body[data-page="support"] .v435-support-row>.v435-followup-cell{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
  #modal.v435-support-modal{width:calc(100vw - 18px)!important;max-height:calc(100vh - 18px)!important}
  #modal.v435-support-modal .v435-case-hero{align-items:flex-start!important;flex-direction:column!important}
  #modal.v435-support-modal .v390-case-primary{width:100%!important;justify-content:space-between!important}
  #modal.v435-support-modal .v435-case-brief{grid-template-columns:1fr!important}
  #modal.v435-support-modal .v435-case-brief>div{padding:5px 9px!important;border-inline-start:0!important;border-bottom:1px solid #edf1f4!important}
  #modal.v435-support-modal .v435-case-brief>div:last-child{border-bottom:0!important}
  #modal.v435-support-modal .v435-case-tabs{gap:14px!important;overflow:auto!important}
  #modal.v435-support-modal .v435-contact-form{grid-template-columns:1fr!important}
  #modal.v435-support-modal .v435-contact-form .is-wide{grid-column:auto!important}
  #modal.v435-support-modal .v435-last-contact{align-items:flex-start!important;flex-direction:column!important}
  #modal.v435-support-modal .v435-last-contact span{max-width:100%!important;white-space:normal!important}
  #modal.brokerage-case-v391-theme .bcv435-case-message-open{width:auto!important;padding:0 12px!important}
  #modal.brokerage-case-v391-theme .bcv435-case-message-open b{display:inline!important}
}


/* ===== END tiam-v435-current-ui.css ===== */


/* ===== BEGIN tiam-v436-brokerage-scroll-redesign.css ===== */

/* TIAM v436 — Brokerage cases: root scroll ownership + principled workspace redesign.
   Contract:
   1) page-content is the only vertical scroll owner for the brokerage page;
   2) the case table owns horizontal overflow only when its configured columns need it;
   3) no summary/status/filter strip creates a nested scroll surface;
   4) Support remains an independent module and is intentionally absent here. */

body[data-page="brokerage"]{
  --bc436-navy:#123e61;
  --bc436-navy-2:#184f76;
  --bc436-ink:#17344c;
  --bc436-muted:#6f8190;
  --bc436-page:#edf3f6;
  --bc436-line:#d3dee6;
  --bc436-soft:#e6eef3;
}

/* Root scroll architecture — one vertical owner. */
body[data-page="brokerage"] .workspace{
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
}
body[data-page="brokerage"] #page-content,
body[data-page="brokerage"] .page-content{
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;
  scrollbar-gutter:stable;
  background:linear-gradient(180deg,#f3f7f9 0%,var(--bc436-page) 100%)!important;
}
body[data-page="brokerage"] .brokerage-v436-page,
body[data-page="brokerage"] .brokerage-v436-controls,
body[data-page="brokerage"] .brokerage-v285-summary,
body[data-page="brokerage"] .brokerage-v285-status-bar,
body[data-page="brokerage"] .brokerage-v285-table-card,
body[data-page="brokerage"] .brokerage-row-list{
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body[data-page="brokerage"] .brokerage-v436-page{
  width:100%;
  min-width:0;
  display:grid;
  gap:11px!important;
  padding-bottom:18px;
}

/* Active filters wrap instead of becoming a second horizontal scroller. */
body[data-page="brokerage"] .brokerage-v285-active-filters{
  width:100%;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  overflow:visible!important;
  padding:5px 1px 0!important;
}
body[data-page="brokerage"] .brokerage-v285-filter-chip{
  min-height:30px!important;
  padding:4px 9px!important;
  border-color:#c9dbe7!important;
  background:#e3eff6!important;
  color:#245675!important;
  font-size:12px!important;
}
body[data-page="brokerage"] .brokerage-v285-clear-all{font-size:12px!important}

/* Summary: five distinct, fully tinted cards — no washed-out white cards. */
body[data-page="brokerage"] .brokerage-v285-summary{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
}
body[data-page="brokerage"] .brokerage-v285-summary article{
  min-height:76px!important;
  padding:10px 12px!important;
  border-radius:15px!important;
  border:1px solid transparent!important;
  box-shadow:0 5px 15px rgba(27,59,82,.07)!important;
  overflow:hidden!important;
}
body[data-page="brokerage"] .brokerage-v285-summary article::after{display:none!important}
body[data-page="brokerage"] .brokerage-v285-summary article.tone-info{background:linear-gradient(135deg,#d9eaf6,#c8dfef)!important;border-color:#b7d3e6!important;--summary-accent:#245f88}
body[data-page="brokerage"] .brokerage-v285-summary article.tone-danger{background:linear-gradient(135deg,#f6dddd,#efd0d1)!important;border-color:#e6bec1!important;--summary-accent:#9c3e45}
body[data-page="brokerage"] .brokerage-v285-summary article.tone-warning{background:linear-gradient(135deg,#f7ead0,#efddb9)!important;border-color:#e6ce9f!important;--summary-accent:#94631d}
body[data-page="brokerage"] .brokerage-v285-summary article.tone-neutral{background:linear-gradient(135deg,#e4e3f3,#d8d8eb)!important;border-color:#c9c8df!important;--summary-accent:#575c8f}
body[data-page="brokerage"] .brokerage-v285-summary article.tone-progress{background:linear-gradient(135deg,#d9eee8,#c9e3dc)!important;border-color:#b8d7cf!important;--summary-accent:#2f7468}
body[data-page="brokerage"] .brokerage-v285-summary-icon{
  width:38px!important;height:38px!important;flex:0 0 38px!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.42)!important;
  color:var(--summary-accent)!important;
}
body[data-page="brokerage"] .brokerage-v285-summary-icon svg{width:20px!important;height:20px!important}
body[data-page="brokerage"] .brokerage-v285-summary small{font-size:12.2px!important;font-weight:750!important;color:#486176!important}
body[data-page="brokerage"] .brokerage-v285-summary b{font-size:20px!important;font-weight:900!important;color:#17344c!important}

/* One calm control surface. Status items wrap; no nested strip scrolling. */
body[data-page="brokerage"] .brokerage-v436-controls{
  display:grid!important;
  gap:8px!important;
  padding:9px!important;
  border:1px solid var(--bc436-line)!important;
  border-radius:15px!important;
  background:#e8eff4!important;
  box-shadow:0 4px 14px rgba(25,55,78,.05)!important;
}
body[data-page="brokerage"] .brokerage-v285-status-bar{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body[data-page="brokerage"] .brokerage-v285-status-primary{
  display:flex!important;
  align-items:center!important;
  flex:1 1 650px!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  overflow:visible!important;
}
body[data-page="brokerage"] .brokerage-v285-status-chip{
  min-width:0!important;
  width:auto!important;
  height:34px!important;
  padding:4px 10px!important;
  gap:10px!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-size:12.2px!important;
}
body[data-page="brokerage"] .brokerage-v285-status-chip.is-active{
  border-color:var(--brokerage-status-fg,#245f88)!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--brokerage-status-fg,#245f88) 14%,transparent)!important;
}
body[data-page="brokerage"] .brokerage-v285-status-more,
body[data-page="brokerage"] .brokerage-v285-status-reset{flex:0 0 auto!important}
body[data-page="brokerage"] .brokerage-v285-status-more>summary,
body[data-page="brokerage"] .brokerage-v285-status-reset{height:34px!important;border-radius:10px!important}
body[data-page="brokerage"] .brokerage-v285-status-more>div{
  z-index:260!important;
  max-height:min(55vh,430px)!important;
  overflow-y:auto!important;
}

/* Search appears as a deliberate navy command field, not another white box. */
body[data-page="brokerage"] .brokerage-v285-search-panel{
  grid-template-columns:minmax(280px,1fr) 40px 40px!important;
  gap:7px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body[data-page="brokerage"] .brokerage-v285-search-field{
  height:42px!important;
  border:1px solid #0f3553!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,var(--bc436-navy),var(--bc436-navy-2))!important;
  box-shadow:0 4px 12px rgba(18,62,97,.14)!important;
}
body[data-page="brokerage"] .brokerage-v285-search-field>span{color:#fff!important}
body[data-page="brokerage"] .brokerage-v285-search-field input{
  color:#fff!important;
  caret-color:#fff!important;
  font-size:13.4px!important;
  font-weight:650!important;
}
body[data-page="brokerage"] .brokerage-v285-search-field input::placeholder{color:rgba(255,255,255,.72)!important}
body[data-page="brokerage"] .brokerage-v285-search-field button{background:rgba(255,255,255,.12)!important;color:#fff!important}
body[data-page="brokerage"] .brokerage-v285-search-message,
body[data-page="brokerage"] .brokerage-v285-search-filter{
  width:40px!important;height:40px!important;
  border-radius:10px!important;
  border-color:#bfd0dc!important;
  background:#f4f8fa!important;
  color:#245d82!important;
  box-shadow:none!important;
}

/* Cases surface. The card itself never clips the page; only the table wrapper may scroll horizontally. */
body[data-page="brokerage"] .brokerage-v285-table-card.bc391-table-card.brokerage-v436-cases{
  min-width:0!important;
  padding:0!important;
  border:1px solid #cfdbe4!important;
  border-radius:17px!important;
  background:#f2f6f8!important;
  box-shadow:0 9px 28px rgba(18,49,75,.08)!important;
  overflow:visible!important;
}
body[data-page="brokerage"] .brokerage-v285-table-head{
  min-height:58px!important;
  padding:9px 13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  border-bottom:1px solid #d7e1e8!important;
}
body[data-page="brokerage"] .brokerage-v285-table-head h2{font-size:16px!important;font-weight:900!important;color:#17384f!important}
body[data-page="brokerage"] .brokerage-v285-table-head span{font-size:12.2px!important;color:#6c7f8e!important}
body[data-page="brokerage"] .brokerage-v436-scroll-hint{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:4px 9px;
  border:1px solid #d2dde5;
  border-radius:9px;
  background:#e7eef3;
  color:#607688;
  font-size:11.5px;
  font-weight:650;
  white-space:nowrap;
}

/* The only page-level nested scroller: horizontal table overflow. No height/max-height = no vertical table scroll. */
body[data-page="brokerage"] .bc391-table-scroll{
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-height:none!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  overscroll-behavior-inline:contain!important;
  scrollbar-width:thin!important;
  scrollbar-color:#7892a4 #e4ebf0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  outline:none!important;
}
body[data-page="brokerage"] .bc391-table-scroll:focus-visible{box-shadow:inset 0 0 0 2px #7ba2bd!important}
body[data-page="brokerage"] .bc391-table-scroll::-webkit-scrollbar{height:9px!important;width:0!important}
body[data-page="brokerage"] .bc391-table-scroll::-webkit-scrollbar-track{background:#e4ebf0!important}
body[data-page="brokerage"] .bc391-table-scroll::-webkit-scrollbar-thumb{background:#7892a4!important;border-radius:999px!important;border:2px solid #e4ebf0!important}
body[data-page="brokerage"] .brokerage-row-list{
  width:100%!important;
  min-width:var(--bc391-min,760px)!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
}
body[data-page="brokerage"] .brokerage-row-list-head,
body[data-page="brokerage"] .brokerage-case-row{
  display:grid!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}
body[data-page="brokerage"] .brokerage-row-list-head{
  min-height:42px!important;
  padding:7px 12px!important;
  border:0!important;
  border-bottom:1px solid #173f5d!important;
  background:linear-gradient(135deg,#123e61,#174c70)!important;
  color:#fff!important;
  font-size:12.3px!important;
  font-weight:800!important;
}
body[data-page="brokerage"] .brokerage-row-list-head>span{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-page="brokerage"] .brokerage-row-list-head>span:last-child{
  position:sticky!important;
  left:0!important;
  z-index:4!important;
  height:42px!important;
  margin-block:-7px!important;
  display:grid!important;
  place-items:center!important;
  background:#174b6f!important;
  box-shadow:7px 0 12px -10px rgba(7,27,43,.7)!important;
}
body[data-page="brokerage"] .brokerage-case-row,
body[data-page="brokerage"] .brokerage-case-row:nth-child(even){
  position:relative!important;
  min-height:56px!important;
  padding:6px 12px!important;
  border:0!important;
  border-bottom:1px solid #e0e8ed!important;
  border-inline-start:4px solid var(--brokerage-status-border,#9eb1bf)!important;
  border-radius:0!important;
  background:linear-gradient(to left,color-mix(in srgb,var(--brokerage-row-bg,#eef4f7) 88%,white) 0%,#fff 48%)!important;
  box-shadow:none!important;
  transition:background .14s ease,box-shadow .14s ease!important;
}
body[data-page="brokerage"] .brokerage-case-row:hover{
  background:linear-gradient(to left,color-mix(in srgb,var(--brokerage-row-bg,#e9f2f7) 100%,white) 0%,#f8fbfc 58%)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brokerage-status-border,#9eb1bf) 26%,transparent)!important;
}
body[data-page="brokerage"] .brokerage-case-row:focus-visible{
  box-shadow:inset 0 0 0 2px #5b92b7!important;
}
body[data-page="brokerage"] .bc391-list-cell{min-width:0!important;font-size:13.2px!important;color:#29465b!important}
body[data-page="brokerage"] .bc391-customer{gap:1px!important}
body[data-page="brokerage"] .bc391-customer b{font-size:13.8px!important;font-weight:850!important;color:#16364d!important}
body[data-page="brokerage"] .bc391-customer small{font-size:11.8px!important;color:#738694!important}
body[data-page="brokerage"] .bc391-cell-text{font-size:13.1px!important;color:#385369!important}
body[data-page="brokerage"] .bc391-money{font-size:13.2px!important}
body[data-page="brokerage"] .brokerage-status-pill,
body[data-page="brokerage"] .bc391-state-chip{
  min-height:27px!important;
  padding:3px 8px!important;
  border-radius:8px!important;
  font-size:11.8px!important;
  font-weight:800!important;
}
body[data-page="brokerage"] .brokerage-row-actions{
  position:sticky!important;
  left:0!important;
  z-index:3!important;
  min-height:44px!important;
  margin-block:-2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  background:linear-gradient(to right,#f8fbfc 72%,rgba(248,251,252,.78))!important;
  box-shadow:7px 0 12px -11px rgba(23,52,76,.55)!important;
}
body[data-page="brokerage"] .brokerage-row-icon-btn{
  width:32px!important;height:32px!important;min-width:32px!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[data-page="brokerage"] .brokerage-row-call-btn{
  color:#147a65!important;
  border-color:#9ccfc1!important;
  background:#e9f6f1!important;
}
body[data-page="brokerage"] .brokerage-row-case-btn{
  color:#315d7d!important;
  border-color:#b8ccda!important;
  background:#edf4f8!important;
}
body[data-page="brokerage"] .brokerage-row-icon-btn:hover{filter:brightness(.98)!important;box-shadow:0 2px 7px rgba(23,55,78,.09)!important}
body[data-page="brokerage"] .brokerage-v285-table-card .pagination{
  margin:0!important;
  padding:9px 12px!important;
  border-top:1px solid #d7e2e9!important;
  background:#edf3f6!important;
}

/* Details/menus must paint outside the workspace — no accidental clipping. */
body[data-page="brokerage"] .brokerage-reference-operations,
body[data-page="brokerage"] .brokerage-v285-status-more{overflow:visible!important}
body[data-page="brokerage"] .brokerage-reference-operations-menu,
body[data-page="brokerage"] .brokerage-v285-status-more>div{z-index:420!important}

@media(max-width:1280px){
  body[data-page="brokerage"] .brokerage-v285-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body[data-page="brokerage"] .brokerage-v285-summary article{min-height:70px!important}
}
@media(max-width:820px){
  body[data-page="brokerage"] #page-content,
  body[data-page="brokerage"] .page-content{padding-inline:10px!important}
  body[data-page="brokerage"] .brokerage-v285-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-page="brokerage"] .brokerage-v285-search-panel{grid-template-columns:minmax(0,1fr) 40px 40px!important}
  body[data-page="brokerage"] .brokerage-v285-status-primary{flex-basis:100%!important}
  body[data-page="brokerage"] .brokerage-v285-table-head{align-items:flex-start!important;flex-direction:column!important;gap:5px!important}
  body[data-page="brokerage"] .brokerage-v436-scroll-hint{white-space:normal!important}
}
@media(max-width:520px){
  body[data-page="brokerage"] .brokerage-v285-summary{grid-template-columns:1fr!important}
  body[data-page="brokerage"] .brokerage-v285-summary article{min-height:62px!important}
  body[data-page="brokerage"] .brokerage-v436-controls{padding:7px!important}
  body[data-page="brokerage"] .brokerage-v285-status-chip{height:32px!important;font-size:11.6px!important}
  body[data-page="brokerage"] .brokerage-v285-search-panel{grid-template-columns:minmax(0,1fr) 38px 38px!important}
  body[data-page="brokerage"] .brokerage-v285-search-message,
  body[data-page="brokerage"] .brokerage-v285-search-filter{width:38px!important;height:38px!important}
}


/* ===== END tiam-v436-brokerage-scroll-redesign.css ===== */


/* ===== BEGIN tiam-v437-return-sale-compact.css ===== */

/* TIAM v437 — Return-sale decision modal: compact, dense and deliberate.
   Root fix: this workflow must never expand into a near-fullscreen desktop dialog. */
#modal[data-modal-kind="return-sale-v437"]{
  width:min(820px,calc(100vw - 48px))!important;
  max-width:820px!important;
  height:auto!important;
  min-height:0!important;
  max-height:min(86vh,760px)!important;
  border-radius:16px!important;
  overflow:hidden!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  background:#f4f7f9!important;
}
#modal[data-modal-kind="return-sale-v437"]>.modal-head{
  min-height:52px!important;
  height:52px!important;
  padding:8px 14px!important;
  background:linear-gradient(135deg,#0f3553,#123e61)!important;
  border-bottom:0!important;
}
#modal[data-modal-kind="return-sale-v437"]>.modal-head h3,
#modal[data-modal-kind="return-sale-v437"] #modal-title{
  color:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
}
#modal[data-modal-kind="return-sale-v437"]>.modal-head .icon-btn,
#modal[data-modal-kind="return-sale-v437"]>.modal-head #modal-close{
  width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
#modal[data-modal-kind="return-sale-v437"]>.modal-body{
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:12px!important;
  line-height:1.55!important;
  background:#f4f7f9!important;
  scrollbar-gutter:stable;
}
#modal[data-modal-kind="return-sale-v437"]>.modal-actions{
  min-height:54px!important;
  height:auto!important;
  padding:7px 12px!important;
  gap:7px!important;
  border-top:1px solid #d8e2e8!important;
  background:#fff!important;
  box-shadow:0 -4px 14px rgba(20,52,75,.05)!important;
}
#modal[data-modal-kind="return-sale-v437"]>.modal-actions .btn{
  min-height:38px!important;height:38px!important;
  padding:0 14px!important;
  border-radius:9px!important;
  font-size:12px!important;
}

/* Compact invoice context — information density instead of a large empty white card. */
#modal[data-modal-kind="return-sale-v437"] .v437-return-summary{
  display:grid!important;
  grid-template-columns:minmax(180px,.95fr) minmax(0,2fr)!important;
  align-items:stretch!important;
  gap:8px!important;
  margin:0 0 10px!important;
  padding:8px!important;
  border:1px solid #d4e0e8!important;
  border-radius:12px!important;
  background:#e9f0f4!important;
  box-shadow:none!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-person{
  min-width:0!important;
  display:grid!important;
  align-content:center!important;
  gap:1px!important;
  padding:8px 10px!important;
  border-radius:9px!important;
  background:#fff!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-person small,
#modal[data-modal-kind="return-sale-v437"] .v437-return-facts small{
  font-size:10px!important;
  color:#7a8c98!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-person b{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:13px!important;
  font-weight:850!important;
  color:#183c56!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-person span{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:10.5px!important;
  color:#657c8c!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-facts{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1px!important;
  overflow:hidden!important;
  border:1px solid #dbe5eb!important;
  border-radius:9px!important;
  background:#dbe5eb!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-facts>div{
  min-width:0!important;
  min-height:54px!important;
  display:grid!important;
  align-content:center!important;
  gap:2px!important;
  padding:6px 9px!important;
  background:#fff!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-facts b{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:11.4px!important;
  font-weight:800!important;
  color:#244b65!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-facts i{
  font-style:normal!important;
  font-size:9.5px!important;
  font-weight:650!important;
  color:#6d8290!important;
}

/* Primary form: tight two-column rhythm and short controls. */
#modal[data-modal-kind="return-sale-v437"] .v437-return-main-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px 10px!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-form .field{
  margin:0!important;
  min-width:0!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-form .field>label{
  margin:0 0 4px!important;
  font-size:10.8px!important;
  font-weight:750!important;
  color:#496376!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-form :is(input:not([type="radio"]):not([type="file"]),select){
  height:38px!important;
  min-height:38px!important;
  border-radius:9px!important;
  font-size:11.8px!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-form .field>small{
  display:block!important;
  margin-top:3px!important;
  font-size:9.8px!important;
  line-height:1.35!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-reason{grid-column:1/-1!important}

/* Commission options are 2×2 compact cards rather than four tall full-width rows. */
#modal[data-modal-kind="return-sale-v437"] .v437-commission-decision{
  grid-column:1/-1!important;
  display:block!important;
  margin:0!important;
  padding:9px!important;
  border:1px solid #cadde9!important;
  border-radius:12px!important;
  background:#e7f1f7!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-commission-decision legend{
  padding:0 6px!important;
  font-size:11.2px!important;
  font-weight:800!important;
  color:#245a7f!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice{
  min-width:0!important;
  min-height:56px!important;
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:7px!important;
  margin:0!important;
  padding:7px 9px!important;
  border:1px solid #d6e1e8!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice:hover{
  border-color:#a8c2d3!important;
  background:#fbfdfe!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice:has(input:checked){
  border-color:#2484c1!important;
  background:#f3faff!important;
  box-shadow:inset 0 0 0 1px rgba(36,132,193,.13)!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice>input[type="radio"]{
  width:16px!important;height:16px!important;
  margin:0!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice>span{
  min-width:0!important;
  display:grid!important;
  gap:1px!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice b{
  font-size:11.3px!important;
  line-height:1.35!important;
  color:#214963!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice small{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9.6px!important;
  line-height:1.3!important;
  color:#738692!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice em{
  font-size:10.7px!important;
  font-weight:800!important;
  color:#275d7f!important;
  white-space:nowrap!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice .v286-percent-wrap{
  min-width:76px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:3px!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice .v286-percent-wrap input{
  width:58px!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  padding:3px 6px!important;
  text-align:center!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-choice .v286-percent-wrap>span{
  font-size:10px!important;
  color:#5b7587!important;
}

/* Optional evidence is collapsed by default to keep the core task above the fold. */
#modal[data-modal-kind="return-sale-v437"] .v437-return-more{
  margin-top:8px!important;
  border:1px solid #d8e2e8!important;
  border-radius:10px!important;
  background:#fff!important;
  overflow:hidden!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more>summary{
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:7px 10px!important;
  cursor:pointer!important;
  list-style:none!important;
  color:#3d5d72!important;
  font-size:10.8px!important;
  font-weight:750!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more>summary::-webkit-details-marker{display:none!important}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more>summary::before{
  content:'+'!important;
  width:20px!important;height:20px!important;
  display:grid!important;place-items:center!important;
  border-radius:6px!important;
  background:#edf4f8!important;
  color:#2c6488!important;
  font-size:15px!important;
  font-weight:700!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more[open]>summary::before{content:'−'!important}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more>summary span{
  margin-inline-start:auto!important;
  padding:2px 6px!important;
  border-radius:999px!important;
  background:#eef2f4!important;
  color:#7a8b96!important;
  font-size:9px!important;
  font-weight:650!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  padding:9px!important;
  border-top:1px solid #e4ebef!important;
  background:#f9fbfc!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more-grid .full{grid-column:1/-1!important}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more-grid textarea{
  min-height:56px!important;
  height:56px!important;
  resize:vertical!important;
  font-size:11.5px!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-more-grid input[type="file"]{
  width:100%!important;
  min-height:38px!important;
  padding:6px!important;
  border:1px solid #d2dee6!important;
  border-radius:9px!important;
  background:#fff!important;
  font-size:10px!important;
}

/* Preview is a thin decision strip, not another card. */
#modal[data-modal-kind="return-sale-v437"] .v437-return-preview{
  display:grid!important;
  grid-template-columns:auto auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:6px 10px!important;
  min-height:42px!important;
  margin:8px 0 0!important;
  padding:7px 10px!important;
  border:1px solid #d2e0e8!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-preview span{
  font-size:10.5px!important;
  color:#657d8d!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-preview b{
  font-size:13px!important;
  color:#174f77!important;
}
#modal[data-modal-kind="return-sale-v437"] .v437-return-preview small{
  grid-column:auto!important;
  margin:0!important;
  font-size:9.7px!important;
  color:#7a8b96!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

@media(max-width:760px){
  #modal[data-modal-kind="return-sale-v437"]{
    width:calc(100vw - 20px)!important;
    max-width:none!important;
    max-height:calc(100dvh - 20px)!important;
    border-radius:14px!important;
  }
  #modal[data-modal-kind="return-sale-v437"] .v437-return-summary{grid-template-columns:1fr!important}
  #modal[data-modal-kind="return-sale-v437"] .v437-choice-grid{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  /* Override the legacy global fullscreen-mobile dialog contract for this short workflow. */
  #modal-backdrop #modal[data-modal-kind="return-sale-v437"]{
    width:100vw!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
  }
  #modal[data-modal-kind="return-sale-v437"] .v437-return-main-grid,
  #modal[data-modal-kind="return-sale-v437"] .v437-return-more-grid{grid-template-columns:1fr!important}
  #modal[data-modal-kind="return-sale-v437"] .v437-return-facts{grid-template-columns:1fr!important}
  #modal[data-modal-kind="return-sale-v437"] .v437-return-facts>div{min-height:44px!important}
  #modal[data-modal-kind="return-sale-v437"] .v437-return-preview{grid-template-columns:auto 1fr!important}
  #modal[data-modal-kind="return-sale-v437"] .v437-return-preview small{grid-column:1/-1!important;white-space:normal!important}
}


/* ===== END tiam-v437-return-sale-compact.css ===== */


/* ===== BEGIN tiam-v438-performance-support-root.css ===== */

/* v438 — root redesign: performance dashboard + sectioned brokerage case */

/* ---------- Performance dashboard ---------- */
.v438-dashboard{max-width:1680px;margin:0 auto;padding:18px 20px 30px;color:#17263a;direction:rtl}
.v438-dashboard *{box-sizing:border-box}
.v438-dashboard-head{display:grid;grid-template-columns:minmax(220px,1fr) minmax(560px,2.2fr) auto;gap:18px;align-items:end;margin-bottom:14px;padding:0 2px}
.v438-dashboard-head h1{font-size:25px;line-height:1.2;margin:2px 0 0;color:#10243d;font-weight:800}
.v438-eyebrow{display:block;font-size:11.5px;color:#748398;font-weight:600}
.v438-dashboard-filters{display:grid;grid-template-columns:1fr 1fr 1.2fr auto;gap:8px;align-items:end}
.v438-dashboard-filters label{display:grid;gap:5px;font-size:10.5px;color:#75849a;font-weight:650}
.v438-dashboard-filters input,.v438-dashboard-filters select{height:38px;border:1px solid #dde5ef;border-radius:10px;background:#fff;padding:0 11px;color:#20334c;font:inherit;outline:none;min-width:0}
.v438-dashboard-filters input:focus,.v438-dashboard-filters select:focus{border-color:#8cadcf;box-shadow:0 0 0 3px rgba(26,91,145,.08)}
.v438-dashboard-filters button{height:38px;border:0;border-radius:10px;background:#123e61;color:#fff;padding:0 18px;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 5px 13px rgba(18,62,97,.16)}
.v438-updated{display:grid;grid-template-columns:8px auto;grid-template-rows:auto auto;column-gap:7px;align-items:center;justify-items:start;min-width:118px;padding-bottom:3px}
.v438-updated i{grid-row:1/3;width:7px;height:7px;border-radius:99px;background:#26ad72;box-shadow:0 0 0 4px rgba(38,173,114,.09)}
.v438-updated span{font-size:10px;color:#8a96a7}.v438-updated b{font-size:12px;color:#35465c}

.v438-hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:12px;margin-bottom:12px}
.v438-hero{background:#fff;border:1px solid #e2e8f0;border-radius:17px;box-shadow:0 8px 24px rgba(28,51,77,.055);padding:18px 20px;min-height:286px;overflow:hidden;position:relative}
.v438-hero:before{content:"";position:absolute;inset:0 auto auto 0;width:160px;height:160px;background:radial-gradient(circle,rgba(33,115,179,.08),transparent 68%);pointer-events:none}
.v438-hero>header,.v438-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.v438-hero>header small,.v438-panel>header small{display:block;color:#8a98aa;font-size:10.5px;margin-bottom:2px}
.v438-hero>header h2,.v438-panel>header h2{margin:0;font-size:16px;color:#152a43;font-weight:780}
.v438-live-badge{display:inline-flex;align-items:center;gap:7px;font-size:10.5px;color:#168a5c;background:#effaf5;border:1px solid #d5f1e4;border-radius:999px;padding:6px 9px;font-weight:700}
.v438-live-badge i{width:6px;height:6px;background:#22b574;border-radius:50%;box-shadow:0 0 0 4px rgba(34,181,116,.09)}
.v438-payroll-total{display:flex;align-items:baseline;gap:10px;padding:8px 0 13px;border-bottom:1px solid #edf1f6}
.v438-payroll-total strong{font-size:35px;letter-spacing:-.7px;color:#102d4d;font-weight:850;line-height:1}
.v438-payroll-total span{font-size:11px;color:#8190a3}
.v438-payroll-breakdown{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:13px 0}
.v438-payroll-breakdown>div{padding:9px 10px;background:#f7f9fc;border:1px solid #edf1f5;border-radius:11px;min-width:0}
.v438-payroll-breakdown small{display:block;font-size:10px;color:#8693a4}.v438-payroll-breakdown b{display:block;margin-top:3px;font-size:13px;color:#244463;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v438-payroll-breakdown .is-deduction{background:#fff6f5;border-color:#f8e3e0}.v438-payroll-breakdown .is-deduction b{color:#c65e55}
.v438-payroll-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px}.v438-payroll-foot>span{font-size:10.5px;color:#8996a6}.v438-payroll-foot button,.v438-text-action,.v438-ranking>header button{border:0;background:transparent;color:#1766a3;font:inherit;font-size:11.5px;font-weight:750;cursor:pointer;padding:5px}

.v438-rank-star{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(145deg,#f0c254,#d89f27);color:#fff;font-size:14px;font-weight:850;box-shadow:0 6px 15px rgba(213,158,42,.23)}
.v438-winner{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;padding:4px 0 12px;border-bottom:1px solid #edf1f6}
.v438-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#163e61,#275f8b);color:#fff;font-size:13px;font-weight:800;box-shadow:0 7px 16px rgba(20,61,95,.15)}
.v438-avatar.is-small{width:28px;height:28px;border-radius:9px;font-size:9px;box-shadow:none}
.v438-winner h3{margin:0;font-size:16px;color:#132b45}.v438-winner small{font-size:10px;color:#8794a5}.v438-winner>strong{font-size:20px;color:#163c61;white-space:nowrap}.v438-winner>strong em{font-style:normal;font-size:9px;color:#8a97a7;font-weight:500}
.v438-winner-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}.v438-winner-metrics>div{background:#f8fafc;border:1px solid #edf2f6;border-radius:10px;padding:7px 8px}.v438-winner-metrics span{display:block;color:#8d99a8;font-size:9px}.v438-winner-metrics b{display:block;margin-top:2px;color:#263f5b;font-size:12px}
.v438-mini-ranks{display:grid;gap:4px}.v438-mini-ranks>div{display:grid;grid-template-columns:22px 28px 1fr auto;gap:7px;align-items:center;padding:4px 6px;border-radius:9px}.v438-mini-ranks>div:hover{background:#f6f8fb}.v438-mini-ranks .rank{font-size:10px;color:#9aa4b2;text-align:center}.v438-mini-ranks b{font-size:10.8px;color:#405067}.v438-mini-ranks strong{font-size:10.8px;color:#203d5b}

.v438-kpi-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-bottom:12px}
.v438-kpi{background:#fff;border:1px solid #e4eaf1;border-radius:14px;padding:12px 13px;min-height:112px;box-shadow:0 4px 15px rgba(27,47,70,.035);position:relative;overflow:hidden}
.v438-kpi:after{content:"";position:absolute;left:-25px;bottom:-34px;width:82px;height:82px;border-radius:50%;background:rgba(39,111,166,.055)}
.v438-kpi header{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.v438-kpi header span{font-size:10.5px;color:#7f8c9d;font-weight:650}.v438-kpi header i{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;font-style:normal;background:#eef5fb;color:#17659d;font-size:13px}
.v438-kpi>b{display:block;font-size:18px;color:#17324f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v438-kpi footer{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:8px}.v438-kpi footer>span{font-size:9.5px;color:#9aa4b1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v438-kpi footer em{font-size:9.5px;font-style:normal;font-weight:750}.is-up{color:#1f9b68!important}.is-down{color:#d25b55!important}.is-flat{color:#8c98a7!important}
.v438-kpi.is-teal header i{background:#eaf9f8;color:#15928e}.v438-kpi.is-green header i{background:#eef9f2;color:#2b9865}.v438-kpi.is-purple header i{background:#f4effc;color:#7957ad}.v438-kpi.is-amber header i{background:#fff6e7;color:#cc8c21}

.v438-analytics-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:12px;margin-bottom:12px}.v438-panel{background:#fff;border:1px solid #e3e9f0;border-radius:15px;padding:15px 16px;box-shadow:0 5px 18px rgba(25,46,70,.035);min-width:0}.v438-analytics-grid>.v438-panel{min-height:332px}
.v438-legend{display:flex;gap:12px;font-size:9.5px;color:#748297}.v438-legend span:before{content:"";display:inline-block;width:17px;height:3px;border-radius:99px;margin-left:5px;vertical-align:middle}.v438-legend .is-sales:before{background:#246fb0}.v438-legend .is-payroll:before{background:#1ca39c}
.v438-trend-svg{display:block;width:100%;height:245px}.v438-trend-svg .grid line{stroke:#e9eef4;stroke-width:1}.v438-trend-svg path{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.v438-trend-svg .sales-line{stroke:#2a76b7}.v438-trend-svg .payroll-line{stroke:#1e9e97}.v438-trend-svg text{fill:#94a0af;font-size:12px}.v438-empty-chart{display:grid;place-items:center;min-height:230px;color:#9aa5b3;font-size:12px}
.v438-ranking .table-wrap,.v438-branches .table-wrap{overflow:auto;max-height:260px}.v438-panel table{width:100%;border-collapse:collapse;white-space:nowrap}.v438-panel th{font-size:9.5px;color:#8e9aaa;text-align:right;font-weight:650;padding:8px;border-bottom:1px solid #e9eef4;background:#fafbfd;position:sticky;top:0;z-index:1}.v438-panel td{font-size:10.5px;color:#48596e;padding:8px;border-bottom:1px solid #f0f3f7}.v438-panel tbody tr:last-child td{border-bottom:0}.v438-person{display:flex;align-items:center;gap:7px}.v438-person b{font-size:10.5px;color:#34475f}.v438-person small{display:block;font-size:8.8px;color:#9ba5b1}.v438-rank-pill{display:inline-grid;place-items:center;min-width:24px;height:23px;border-radius:8px;background:#eef2f6;color:#65768b;font-size:9.5px;font-weight:800}.v438-rank-pill.is-first{background:#fff5d7;color:#b47c15;border:1px solid #f4df9d}

.v438-bottom-grid{display:grid;grid-template-columns:.95fr 1fr 1.15fr;gap:12px}.v438-bottom-grid>.v438-panel{min-height:265px}.v438-attention>header>span{display:grid;place-items:center;min-width:26px;height:26px;border-radius:8px;background:#fff0ee;color:#cf6259;font-size:11px;font-weight:800}.v438-alert-list{display:grid;gap:7px}.v438-alert{display:grid;grid-template-columns:7px 1fr auto;gap:9px;align-items:center;text-align:right;background:#fafbfc;border:1px solid #edf1f5;border-radius:11px;padding:9px 10px;cursor:pointer;font:inherit;color:inherit}.v438-alert:hover{border-color:#d6e0ea;transform:translateY(-1px)}.v438-alert>i{width:6px;height:28px;border-radius:99px;background:#62a4d2}.v438-alert.is-danger>i{background:#d9665e}.v438-alert.is-warning>i{background:#e1a13b}.v438-alert.is-success>i{background:#35a873}.v438-alert b{display:block;font-size:10.8px;color:#34465b}.v438-alert span{display:block;font-size:9.2px;color:#8a96a6;margin-top:2px}.v438-alert>strong{font-size:12px;color:#8797a9}.v438-branch-rank{display:inline-grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#f0f4f8;margin-left:7px;font-size:9px;color:#718297}.v438-delta{font-size:9.5px;font-weight:750}.v438-summary{background:linear-gradient(145deg,#fff,#f7fbfd)}.v438-summary-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#e9f8f7;color:#159a91}.v438-summary>div{display:grid;gap:10px;padding-top:3px}.v438-summary p{display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:start;margin:0;padding:8px 0;border-bottom:1px solid #edf1f4}.v438-summary p:last-child{border-bottom:0}.v438-summary p i{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#eef9f4;color:#1d9c68;font-style:normal;font-size:9px}.v438-summary p span{font-size:10.7px;line-height:1.8;color:#4b5e72}
.v438-muted{font-size:10px;color:#98a3b0}.v438-empty{padding:26px;text-align:center;color:#98a3b0;font-size:11px}

.v438-dashboard-loading,.v438-dashboard-error{min-height:420px;display:grid;place-items:center;align-content:center;gap:8px;color:#64758a}.v438-dashboard-loading span{width:34px;height:34px;border:3px solid #dbe5ee;border-top-color:#174f79;border-radius:50%;animation:v438spin .8s linear infinite}.v438-dashboard-loading b,.v438-dashboard-error b{font-size:14px;color:#28415c}.v438-dashboard-loading small,.v438-dashboard-error span{font-size:11px;color:#8c99a8}.v438-dashboard-error button{border:0;background:#123e61;color:#fff;border-radius:9px;padding:8px 14px;font:inherit;cursor:pointer}@keyframes v438spin{to{transform:rotate(360deg)}}
.v438-detail-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.v438-detail-head small{display:block;color:#8996a6;font-size:10px}.v438-detail-head h3{margin:2px 0 0;color:#20364e;font-size:16px}.v438-detail-head>strong{font-size:15px;color:#17496f}.v438-detail-table{max-height:62vh;overflow:auto}.v438-detail-table td small{display:block;color:#929dab;font-size:9px;margin-top:2px}.v438-detail-table .is-negative{color:#c35f59}.v438-detail-modal .modal-card{max-width:min(1240px,94vw)}

/* ---------- Brokerage case: compact sectioned detail ---------- */
#modal.brokerage-case-v391-theme .modal-card{width:min(1180px,94vw);max-width:1180px;max-height:90vh}
#modal.brokerage-case-v391-theme .modal-body{padding:0;overflow:hidden}
.bcv438-case-shell{height:min(760px,78vh);display:flex;flex-direction:column;background:#f6f8fb;overflow:hidden}
.bcv438-head{flex:0 0 auto;min-height:72px!important;padding:12px 16px!important;background:#fff;border-bottom:1px solid #e5eaf0!important}
.bcv438-head .bcv391-identity h2{font-size:17px!important;margin:1px 0!important}.bcv438-head .bcv391-identity small{font-size:9.5px!important}.bcv438-head .bcv391-head-meta{gap:6px!important}.bcv438-head .bcv391-head-meta span{font-size:9.5px!important;padding:3px 6px!important}
.bcv438-summary{flex:0 0 auto;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important;padding:9px 12px!important;background:#f6f8fb!important}
.bcv438-summary .bcv402-summary-card{min-height:72px!important;padding:8px 10px!important;border-radius:11px!important}.bcv438-summary .bcv402-summary-card small{font-size:9px!important}.bcv438-summary .bcv402-summary-card b{font-size:12px!important}.bcv438-summary .bcv402-summary-card span{font-size:8.8px!important}.bcv438-summary .bcv402-summary-icon{width:27px!important;height:27px!important}
.bcv438-tabs{flex:0 0 auto;display:flex;align-items:center;gap:3px;padding:0 12px;background:#fff;border-top:1px solid #e8edf2;border-bottom:1px solid #dfe6ee;overflow-x:auto}.bcv438-tabs button{height:42px;border:0;border-bottom:2px solid transparent;background:transparent;color:#718095;font:inherit;font-size:10.5px;font-weight:700;padding:0 13px;white-space:nowrap;cursor:pointer}.bcv438-tabs button:hover{color:#265b83}.bcv438-tabs button.is-active{color:#123e61;border-bottom-color:#1d669a}.bcv438-tabs button i{font-style:normal;font-size:8.5px;background:#edf3f7;border-radius:999px;padding:1px 5px;margin-right:4px}
.bcv438-panels{flex:1;min-height:0;overflow:hidden;padding:10px 12px 12px}.bcv438-panel{height:100%;overflow:auto;overscroll-behavior:contain}.bcv438-panel[hidden]{display:none!important}.bcv438-two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:10px;align-items:start}.bcv438-two-col.is-support{grid-template-columns:.95fr 1.05fr}
.bcv438-case-shell .bcv391-section{border:1px solid #e2e8ef!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;padding:12px!important;margin:0!important}.bcv438-case-shell .bcv391-section>header{margin-bottom:9px!important}.bcv438-case-shell .bcv391-section>header h3{font-size:13px!important;margin:0!important}.bcv438-case-shell .bcv391-section>header small{font-size:9px!important}.bcv438-case-shell .bcv391-status-grid{gap:7px!important}.bcv438-case-shell label>span{font-size:9.5px!important}.bcv438-case-shell input,.bcv438-case-shell select,.bcv438-case-shell textarea{font-size:10.5px!important;min-height:35px!important;border-radius:9px!important}.bcv438-case-shell textarea{min-height:72px!important}
.bcv438-glance dl,.bcv438-contract-status{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}.bcv438-glance dl>div,.bcv438-contract-status>div{padding:9px;border:1px solid #edf1f5;background:#fafbfd;border-radius:9px}.bcv438-glance dt,.bcv438-contract-status span{display:block;font-size:8.8px;color:#8c98a7}.bcv438-glance dd,.bcv438-contract-status b{display:block;margin:3px 0 0;font-size:10.5px;color:#34475e;font-weight:750}.bcv438-workflow-state{color:#17745a;background:#eaf8f2;border-radius:999px;padding:3px 7px}
.bcv438-custom-groups{display:grid;gap:9px}.bcv438-custom-groups:empty{display:none}.bcv438-custom-groups .bcv391-section{margin:0!important}
.bcv438-support-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.bcv438-support-grid article{padding:9px;border:1px solid #edf1f5;background:#f9fbfc;border-radius:9px}.bcv438-support-grid article.is-wide{grid-column:1/-1}.bcv438-support-grid small{display:block;font-size:8.8px;color:#8d99a8}.bcv438-support-grid b{display:block;margin-top:3px;font-size:10.5px;color:#34495f;line-height:1.7}.bcv438-live-dot{font-size:9px!important;color:#19835e!important;background:#eef9f4;border:1px solid #d9f0e5;border-radius:999px;padding:4px 8px}.bcv438-live-dot:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#24aa72;margin-left:5px}.bcv438-subsection{margin-top:11px;padding-top:10px;border-top:1px solid #edf1f5}.bcv438-subsection h4{margin:0 0 7px;font-size:10.5px;color:#43566c}.bcv438-service-chips{display:flex;gap:5px;flex-wrap:wrap}.bcv438-service-chips span{font-size:9px;color:#2e647e;background:#edf7fa;border:1px solid #d9edf2;border-radius:999px;padding:4px 8px}
.bcv438-contact-list{max-height:100%}.bcv438-contact{padding:9px 10px;border:1px solid #edf1f5;border-radius:10px;margin-bottom:7px;background:#fbfcfd}.bcv438-contact:last-child{margin-bottom:0}.bcv438-contact header{display:flex;justify-content:space-between;align-items:start;gap:8px}.bcv438-contact header>div{display:flex;align-items:center;gap:7px}.bcv438-contact header b{font-size:10px;color:#34475e}.bcv438-contact header span{font-size:8.5px;color:#1f6e86;background:#eaf5f8;border-radius:999px;padding:2px 6px}.bcv438-contact time{font-size:8.8px;color:#96a1ae}.bcv438-contact p{margin:6px 0 0;font-size:9.7px;color:#56687c;line-height:1.8}.bcv438-contact>small{display:block;margin-top:5px;font-size:8.8px;color:#8d98a6}
.bcv438-history{height:auto}.bcv438-history .bcv391-tab-panel{max-height:50vh;overflow:auto;padding-left:2px}.bcv438-case-shell .case-ref-timeline-item,.bcv438-case-shell .case-ref-message-item{font-size:10px!important}.bcv438-case-shell .case-ref-empty{padding:16px;color:#96a2af;font-size:10px;text-align:center}.bcv438-case-shell .bcv391-secondary{margin-top:9px}

@media(max-width:1250px){.v438-dashboard-head{grid-template-columns:1fr}.v438-dashboard-filters{grid-template-columns:repeat(4,1fr)}.v438-updated{display:none}.v438-kpi-grid{grid-template-columns:repeat(3,1fr)}.v438-bottom-grid{grid-template-columns:1fr 1fr}.v438-summary{grid-column:1/-1}}
@media(max-width:950px){.v438-dashboard{padding:12px}.v438-hero-grid,.v438-analytics-grid,.v438-bottom-grid{grid-template-columns:1fr}.v438-kpi-grid{grid-template-columns:repeat(2,1fr)}.v438-dashboard-filters{grid-template-columns:1fr 1fr}.bcv438-two-col,.bcv438-two-col.is-support{grid-template-columns:1fr}.bcv438-case-shell{height:82vh}.bcv438-summary{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:620px){.v438-dashboard-filters{grid-template-columns:1fr}.v438-kpi-grid{grid-template-columns:1fr}.v438-payroll-breakdown,.v438-winner-metrics{grid-template-columns:1fr 1fr}.v438-payroll-total strong{font-size:26px}.v438-summary{grid-template-columns:1fr!important}.bcv438-head .bcv391-head-states{display:none}.bcv438-tabs button{padding:0 9px}.bcv438-glance dl,.bcv438-contract-status,.bcv438-support-grid{grid-template-columns:1fr}.bcv438-support-grid article.is-wide{grid-column:auto}}


/* ===== END tiam-v438-performance-support-root.css ===== */
/* TIAM v464 CEO live command center */
.v464-command-center{display:grid;gap:14px;margin:0 0 18px;padding:16px;border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-surface,#fff)}
.v464-command-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.v464-command-head small,.v464-command-head p{color:var(--ui-muted)}.v464-command-head h2{margin:3px 0;font-size:20px}.v464-command-head p{margin:0;font-size:11px}.v464-live{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;font-size:11px;font-weight:900}.v464-live i{width:8px;height:8px;border-radius:50%;background:currentColor}
.v464-command-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v464-command-kpis article{display:grid;gap:5px;padding:13px;border:1px solid var(--ui-border);border-radius:14px}.v464-command-kpis small{font-size:10px}.v464-command-kpis b{font-size:18px}.v464-command-kpis span{font-size:9.5px;color:var(--ui-muted)}.v464-command-kpis .is-profit b{color:var(--ui-success)}.v464-command-kpis .is-loss b{color:var(--ui-danger)}
.v464-command-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:10px}.v464-command-panel{padding:13px;border:1px solid var(--ui-border);border-radius:14px}.v464-command-panel header small{font-size:9.5px;color:var(--ui-muted)}.v464-command-panel h3{margin:2px 0 12px;font-size:13px}.v464-funnel{display:flex;align-items:center;gap:7px;overflow:auto}.v464-funnel div{min-width:96px;display:grid;gap:2px}.v464-funnel b{font-size:16px}.v464-funnel span{font-size:9px;color:var(--ui-muted)}.v464-funnel i{font-style:normal;color:var(--ui-muted)}
.v464-ops-grid,.v464-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v464-ops-grid div,.v464-product-grid div{display:grid;gap:3px;padding:9px;border-radius:10px;background:var(--ui-soft,#f7f7f8)}.v464-ops-grid b{font-size:16px}.v464-ops-grid span,.v464-product-grid span{font-size:9.5px;color:var(--ui-muted)}.v464-product-grid b{font-size:11px}
.v464-command-alerts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v464-command-alerts button{text-align:right;display:grid;gap:3px;padding:10px;border:1px solid var(--ui-border);border-radius:11px;background:transparent;cursor:pointer}.v464-command-alerts b{font-size:10.5px}.v464-command-alerts span{font-size:9px;color:var(--ui-muted)}.v464-command-alerts .is-critical{border-color:color-mix(in srgb,var(--ui-danger) 35%,var(--ui-border))}.v464-command-note{font-size:9.5px;color:var(--ui-muted);line-height:1.8}
@media(max-width:1180px){.v464-command-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.v464-command-grid{grid-template-columns:1fr}.v464-command-alerts{grid-template-columns:1fr 1fr}}@media(max-width:650px){.v464-command-kpis,.v464-command-alerts{grid-template-columns:1fr}.v464-command-head{flex-direction:column}}
/* v479 real-role isolated demo lab */
.demo-lab-float-v479{position:fixed;left:18px;bottom:18px;z-index:1600;border:1px solid #aebed0;background:#153f63;color:#fff;border-radius:12px;padding:10px 14px;font-family:inherit;font-weight:800;box-shadow:0 8px 24px #0f294333;cursor:pointer}.demo-lab-v479{display:grid;gap:14px}.demo-lab-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px;border:1px solid #dbe4eb;border-radius:16px;background:#fff}.demo-lab-hero h2{margin:0 0 6px;color:#173f5f}.demo-lab-hero p{margin:0;color:#647481}.demo-lab-current{min-width:210px;padding:12px;border-radius:12px;background:#f1f6fa;text-align:center}.demo-lab-current small,.demo-lab-current span{display:block;color:#72808a}.demo-lab-current b{display:block;margin:5px 0;color:#153f63}.demo-lab-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.demo-lab-kpis>div{background:#fff;border:1px solid #dde6ec;border-radius:13px;padding:12px;text-align:center}.demo-lab-kpis span{display:block;font-size:11px;color:#72808a}.demo-lab-kpis b{display:block;font-size:19px;color:#173f5f;margin-top:5px}.demo-lab-actions{display:flex;gap:8px;flex-wrap:wrap}.demo-lab-flow,.demo-lab-users,.demo-lab-note{background:#fff;border:1px solid #dde6ec;border-radius:15px;padding:16px}.demo-lab-flow h3,.demo-lab-users h3{margin:0 0 10px;color:#173f5f}.demo-lab-flow ol{margin:0;padding-right:22px;line-height:2}.demo-role-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.demo-role-card{border:1px solid #dce5ec;background:#f9fbfc;border-radius:11px;padding:10px;text-align:right;font-family:inherit;cursor:pointer}.demo-role-card:hover,.demo-role-card.is-current{border-color:#315f91;background:#eef5fb}.demo-role-card b,.demo-role-card span,.demo-role-card em{display:block}.demo-role-card b{color:#173f5f}.demo-role-card span{direction:ltr;text-align:left;color:#697b88;font-size:10px;margin-top:4px}.demo-role-card em{font-style:normal;font-size:10px;color:#2e7d54;margin-top:5px}.demo-lab-note{background:#fff8e9;border-color:#efd9a6;color:#6f541c}@media(max-width:1100px){.demo-lab-kpis,.demo-role-cards{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.demo-lab-hero{align-items:stretch;flex-direction:column}.demo-lab-kpis,.demo-role-cards{grid-template-columns:repeat(2,1fr)}}

/* TIAM v483 — finance hub copy-density cleanup */
body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-hero{min-height:108px;padding-block:18px}
body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-hero h1{margin-bottom:0}
body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-group{padding:14px 16px}
body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-section-head{align-items:center;margin-bottom:10px}
body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-section-head h2{font-size:16px}
body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-nav-card{min-height:70px;padding:10px 12px}
body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-nav-copy b{margin-bottom:0;font-size:13.5px}
body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-nav-grid.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-nav-grid.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-nav-grid.is-two{grid-template-columns:1fr}body[data-page="accounting-dashboard"] .fin404-hub-clean .fin404-hero{min-height:0}}


/* v511 — unified Sales/Brokerage bank-reconciliation queue */
body[data-page="reconciliation"] .rec-unified-payment-queue{margin-bottom:14px}
body[data-page="reconciliation"] .rec-unified-payment-queue .table-wrap{overflow-x:auto}
body[data-page="reconciliation"] .rec-unified-table{display:table!important;width:100%!important;min-width:1180px!important;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important}
body[data-page="reconciliation"] .rec-unified-table thead{display:table-header-group!important}
body[data-page="reconciliation"] .rec-unified-table tbody{display:table-row-group!important}
body[data-page="reconciliation"] .rec-unified-table tr{display:table-row!important;height:auto!important;padding:0!important}
body[data-page="reconciliation"] .rec-unified-table th,body[data-page="reconciliation"] .rec-unified-table td{display:table-cell!important;height:auto!important;min-height:54px!important;padding:9px 8px!important;text-align:center!important;vertical-align:middle!important;white-space:normal!important;overflow:visible!important}
body[data-page="reconciliation"] .rec-unified-table th:nth-child(1){width:5%}body[data-page="reconciliation"] .rec-unified-table th:nth-child(2){width:8%}body[data-page="reconciliation"] .rec-unified-table th:nth-child(3){width:17%}body[data-page="reconciliation"] .rec-unified-table th:nth-child(4){width:10%}body[data-page="reconciliation"] .rec-unified-table th:nth-child(5){width:13%}body[data-page="reconciliation"] .rec-unified-table th:nth-child(6){width:13%}body[data-page="reconciliation"] .rec-unified-table th:nth-child(7){width:13%}body[data-page="reconciliation"] .rec-unified-table th:nth-child(8){width:21%}
body[data-page="reconciliation"] .rec-source-badge{display:inline-flex;align-items:center;justify-content:center;min-width:62px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid #cbd5e1;background:#f8fafc;color:#334155}
body[data-page="reconciliation"] .rec-source-badge.is-sales{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
body[data-page="reconciliation"] .rec-source-badge.is-brokerage{background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}
body[data-page="reconciliation"] .rec-unified-brokerage-action{display:grid;gap:6px;min-width:0}
body[data-page="reconciliation"] .rec-unified-brokerage-action select{width:100%;min-width:0;min-height:34px;border:1px solid #d7dee7;border-radius:8px;background:#fff;padding:4px 7px;font:inherit;font-size:10.8px}
body[data-page="reconciliation"] .rec-unified-action-buttons{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}
body[data-page="reconciliation"] .rec-unified-claim-status{display:block;margin-top:5px;color:#64748b;font-size:10.5px}
body[data-page="reconciliation"] .rec-unified-no-match{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap;color:#92400e}
body[data-page="reconciliation"] .rec-auto-account-note{display:grid;gap:2px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc}.rec-auto-account-note b{font-size:11px}.rec-auto-account-note span{font-size:10.5px;color:#64748b}

/* v522 — brokerage operational follow-up */
#modal.brokerage-case-v391-theme .bcv522-followup-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin:7px 0 10px}
#modal.brokerage-case-v391-theme .bcv522-followup-fields>label,
#modal.brokerage-case-v391-theme .bcv522-followup-fields>.bcv391-unified-status{border:1px solid rgba(15,23,42,.09);border-radius:10px;padding:8px 9px;background:rgba(248,250,252,.82);display:grid;gap:5px;min-height:72px}
#modal.brokerage-case-v391-theme .bcv522-followup-fields>label[hidden]{display:none!important}
#modal.brokerage-case-v391-theme .bcv522-followup-fields span{font-size:11.5px;font-weight:800;color:#244761}
#modal.brokerage-case-v391-theme .bcv522-followup-fields input{height:36px;min-height:36px;border-radius:9px}
#modal.brokerage-case-v391-theme .bcv522-followup-fields small{font-size:10.5px;opacity:.72;line-height:1.55}


/* v555 — settings hub hierarchy / density redesign.
   The page hero is the single page title; content below is action-first and never repeats it. */
body[data-page="settings"] #page-content>.tiam-page-hero{
  min-height:72px!important;max-height:84px!important;padding:10px 14px!important;
  grid-template-columns:52px minmax(0,1fr) auto!important;gap:12px!important;margin-bottom:10px!important;
  border-radius:16px!important;
}
body[data-page="settings"] #page-content>.tiam-page-hero .tiam-page-hero__visual{
  width:48px!important;height:48px!important;border-radius:13px!important;
}
body[data-page="settings"] #page-content>.tiam-page-hero .tiam-page-hero__visual svg{width:25px!important;height:25px!important}
body[data-page="settings"] #page-content>.tiam-page-hero h1{font-size:19px!important}
body[data-page="settings"] .v555-settings-hub{gap:12px!important;max-width:1320px!important}
body[data-page="settings"] .v555-settings-discovery{
  display:grid;gap:7px;padding:12px 14px;border:1px solid #dfe7ec;border-radius:15px;
  background:#f8fafb;box-shadow:0 2px 8px rgba(21,63,93,.035);
}
body[data-page="settings"] .v555-settings-search.settings-center-search{
  width:100%!important;height:48px!important;margin:0!important;padding:0 13px!important;
  display:flex!important;align-items:center!important;gap:9px!important;border:1px solid #d3dee6!important;
  border-radius:12px!important;background:#fff!important;box-shadow:0 1px 3px rgba(21,63,93,.035)!important;
  color:#174f76!important;
}
body[data-page="settings"] .v555-settings-search.settings-center-search>svg{
  position:static!important;flex:0 0 auto!important;width:20px!important;height:20px!important;
  color:#174f76!important;stroke:currentColor!important;opacity:1!important;transform:none!important;
}
body[data-page="settings"] .v555-settings-search.settings-center-search>input{
  flex:1 1 auto!important;width:auto!important;height:46px!important;min-height:46px!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;
  color:#23485f!important;font-size:13.5px!important;font-weight:650!important;text-align:right!important;
}
body[data-page="settings"] .v555-settings-search.settings-center-search>input::placeholder{color:#8496a2!important;opacity:1!important}
body[data-page="settings"] .v555-settings-search.settings-center-search:focus-within{
  border-color:#6e9dbb!important;box-shadow:0 0 0 3px rgba(47,117,159,.11)!important;outline:0!important;
}
body[data-page="settings"] .v555-settings-helper{margin:0 3px!important;color:#81919c!important;font-size:11.5px!important;line-height:1.55!important}
body[data-page="settings"] .v555-settings-groups{display:grid;gap:13px}
body[data-page="settings"] .v555-settings-group{gap:7px!important}
body[data-page="settings"] .v555-settings-group>header{padding:0 3px!important;align-items:center!important}
body[data-page="settings"] .v555-settings-group>header>div{display:flex;align-items:baseline;gap:9px;min-width:0}
body[data-page="settings"] .v555-settings-group h2{font-size:14px!important;font-weight:900!important;white-space:nowrap}
body[data-page="settings"] .v555-settings-group p{font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="settings"] .v555-settings-group .settings-center-grid{gap:8px!important}
body[data-page="settings"] .v555-settings-group .settings-center-card{
  min-height:78px!important;padding:10px 12px!important;border-radius:12px!important;
  grid-template-columns:40px minmax(0,1fr) 20px!important;gap:9px!important;
  box-shadow:0 1px 4px rgba(23,63,93,.035)!important;
}
body[data-page="settings"] .v555-settings-group .settings-center-icon{
  width:38px!important;height:38px!important;border-radius:10px!important;
}
body[data-page="settings"] .v555-settings-group .settings-center-icon svg{width:19px!important;height:19px!important}
body[data-page="settings"] .v555-settings-group .settings-center-copy{min-width:0!important}
body[data-page="settings"] .v555-settings-group .settings-center-copy b{font-size:13.5px!important;line-height:1.55!important}
body[data-page="settings"] .v555-settings-group .settings-center-copy small{
  display:block!important;margin-top:1px!important;font-size:10.5px!important;line-height:1.55!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body[data-page="settings"] .v555-settings-group .settings-center-arrow{font-size:16px!important;color:#849aa8!important}
body[data-page="settings"] .v555-settings-shortcuts{
  margin:0!important;padding:10px 0 0!important;border-top:1px solid #e2e9ed!important;
}
body[data-page="settings"] .v555-settings-shortcuts>header{margin-bottom:7px!important;padding:0 3px!important}
body[data-page="settings"] .v555-settings-shortcuts>header>div{display:flex;align-items:baseline;gap:9px}
body[data-page="settings"] .v555-settings-shortcuts h2{margin:0!important;font-size:14px!important;color:#153f5d!important}
body[data-page="settings"] .v555-settings-shortcuts p{font-size:11px!important;color:#81919c!important}
body[data-page="settings"] .v555-settings-shortcuts>div{gap:8px!important}
body[data-page="settings"] .v555-settings-shortcuts .settings-center-secondary-card{min-height:68px!important;padding:9px 11px!important;border-radius:12px!important}
body[data-page="settings"] .v555-settings-shortcuts .settings-center-secondary-card b{font-size:13px!important}
body[data-page="settings"] .v555-settings-shortcuts .settings-center-secondary-card small{font-size:10.5px!important}
@media(max-width:760px){
  body[data-page="settings"] #page-content>.tiam-page-hero{min-height:64px!important;padding:8px 10px!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:9px!important}
  body[data-page="settings"] #page-content>.tiam-page-hero .tiam-page-hero__visual{width:42px!important;height:42px!important;border-radius:11px!important}
  body[data-page="settings"] #page-content>.tiam-page-hero h1{font-size:16.5px!important}
  body[data-page="settings"] .v555-settings-discovery{padding:9px!important;border-radius:13px!important}
  body[data-page="settings"] .v555-settings-search.settings-center-search{height:44px!important;border-radius:10px!important}
  body[data-page="settings"] .v555-settings-search.settings-center-search>input{height:42px!important;min-height:42px!important;font-size:13px!important}
  body[data-page="settings"] .v555-settings-helper{font-size:10.5px!important}
  body[data-page="settings"] .v555-settings-group>header>div,body[data-page="settings"] .v555-settings-shortcuts>header>div{display:block!important}
  body[data-page="settings"] .v555-settings-group p,body[data-page="settings"] .v555-settings-shortcuts p{margin-top:2px!important;white-space:normal!important}
  body[data-page="settings"] .v555-settings-group .settings-center-card{min-height:70px!important;padding:9px 10px!important}
}

/* ===== v560 — Sales workspace identity cards: compact, balanced, first card dominant ===== */
body[data-page="sales-operations"] .sm-stage13-head{
  min-height:0!important;
  padding:10px 11px!important;
  display:grid!important;
  grid-template-columns:220px minmax(0,1fr) auto!important;
  align-items:stretch!important;
  gap:10px!important;
  border:1px solid #cbdce7!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#eef5f9 0%,#f7fafc 54%,#eaf2f7 100%)!important;
  box-shadow:0 6px 18px rgba(18,62,97,.055)!important;
  overflow:hidden!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title{
  width:100%!important;
  min-width:0!important;
  min-height:76px!important;
  padding:12px 15px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  border:1px solid rgba(255,255,255,.1)!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,#174765 0%,#123b59 100%)!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(18,58,89,.13)!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title>span{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.1)!important;
  color:#fff!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title>span svg{
  width:21px!important;
  height:21px!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title>div{
  min-width:0!important;
  display:grid!important;
  gap:1px!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title h2{
  margin:0!important;
  color:#fff!important;
  font-size:19px!important;
  line-height:1.45!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title small{
  color:rgba(255,255,255,.76)!important;
  font-size:11.5px!important;
  line-height:1.5!important;
  font-weight:700!important;
}
body[data-page="sales-operations"] .sm-stage13-context{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
body[data-page="sales-operations"] .sm-stage13-context>div{
  position:relative!important;
  min-width:0!important;
  min-height:76px!important;
  padding:11px 15px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:3px!important;
  border:1px solid #d6e2ea!important;
  border-radius:17px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f7fafc 100%)!important;
  box-shadow:0 2px 6px rgba(20,62,91,.025),inset 0 1px 0 rgba(255,255,255,.9)!important;
  overflow:hidden!important;
}
body[data-page="sales-operations"] .sm-stage13-context>div::before{
  content:""!important;
  position:absolute!important;
  inset-inline-start:0!important;
  top:15px!important;
  bottom:15px!important;
  width:3px!important;
  border-radius:0 3px 3px 0!important;
  background:#d5e3eb!important;
}
body[data-page="sales-operations"] .sm-stage13-context>div:nth-child(1)::before{background:#7da6bd!important}
body[data-page="sales-operations"] .sm-stage13-context>div:nth-child(2)::before{background:#9bb1bf!important}
body[data-page="sales-operations"] .sm-stage13-context>div:nth-child(3)::before{background:#6f98af!important}
body[data-page="sales-operations"] .sm-stage13-context small{
  margin:0!important;
  color:#788d9b!important;
  font-size:10.5px!important;
  line-height:1.45!important;
  font-weight:800!important;
}
body[data-page="sales-operations"] .sm-stage13-context b{
  max-width:100%!important;
  color:#173f5d!important;
  font-size:14px!important;
  line-height:1.55!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body[data-page="sales-operations"] .sm-stage13-context em{
  max-width:100%!important;
  color:#81929d!important;
  font-size:10.5px!important;
  line-height:1.45!important;
  font-style:normal!important;
  font-weight:650!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-meta{
  min-width:0!important;
  align-self:stretch!important;
  justify-self:stretch!important;
  display:flex!important;
  align-items:center!important;
}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-meta:empty{display:none!important}
body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-meta>button{
  min-height:42px!important;
  padding:0 12px!important;
  border-radius:12px!important;
  white-space:nowrap!important;
}
@media(max-width:1180px){
  body[data-page="sales-operations"] .sm-stage13-head{
    grid-template-columns:205px minmax(0,1fr) auto!important;
  }
  body[data-page="sales-operations"] .sm-stage13-context>div{padding-inline:12px!important}
}
@media(max-width:980px){
  body[data-page="sales-operations"] .sm-stage13-head{
    grid-template-columns:minmax(190px,230px) 1fr!important;
  }
  body[data-page="sales-operations"] .sm-stage13-context{
    grid-column:2!important;
    grid-row:1!important;
  }
  body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-meta:not(:empty){
    grid-column:1/-1!important;
    grid-row:2!important;
    justify-content:flex-start!important;
  }
}
@media(max-width:780px){
  body[data-page="sales-operations"] .sm-stage13-head{
    grid-template-columns:1fr!important;
    padding:8px!important;
  }
  body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title{
    grid-column:1!important;
    grid-row:1!important;
    min-height:68px!important;
  }
  body[data-page="sales-operations"] .sm-stage13-context{
    grid-column:1!important;
    grid-row:2!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body[data-page="sales-operations"] .sm-stage13-context>div{
    min-height:66px!important;
    padding:9px 12px!important;
  }
  body[data-page="sales-operations"] .sm-stage13-context>div:last-child{grid-column:1/-1!important}
  body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-meta:not(:empty){
    grid-column:1!important;
    grid-row:3!important;
  }
}
@media(max-width:470px){
  body[data-page="sales-operations"] .sm-stage13-context{grid-template-columns:1fr!important}
  body[data-page="sales-operations"] .sm-stage13-context>div:last-child{grid-column:auto!important}
  body[data-page="sales-operations"] .sm-stage13-head .sm148-workspace-title h2{font-size:17px!important}
}
