.customer-portal{--customer-primary:#29235c;--customer-accent:#009c95;color:#20344d}.customer-portal>.section-heading{gap:16px}.customer-brand{display:flex;align-items:center;gap:24px}.customer-brand img{width:120px;height:60px;object-fit:contain}.customer-brand h1{font-size:1.25rem}.customer-welcome{display:flex;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:20px;background:linear-gradient(115deg,#29235c,#16636d);color:#fff;margin:22px 0;box-shadow:0 12px 30px #29235c18}.customer-welcome h2{margin:10px 0;font-size:1.6rem}.customer-welcome p{color:#e0f3f1}.customer-clock{align-self:center;min-width:210px;text-align:left}.customer-clock strong{display:block;font-size:1.8rem;letter-spacing:2px}.customer-clock span{display:block;margin-top:8px}.customer-portal .customer-layout{grid-template-columns:250px minmax(0,1fr)}.customer-portal .panel{border-radius:18px;min-width:0}.customer-portal .customer-layout>nav{position:sticky;top:20px;gap:10px}.customer-portal .customer-layout>nav .btn{white-space:normal;text-align:right}.customer-portal .btn-primary{background:var(--customer-primary);border-color:var(--customer-primary);color:#fff}.customer-notifications{padding:18px 22px}.customer-notifications summary{cursor:pointer;font-weight:700}.customer-notifications summary span{border-radius:20px;background:#e0f4f1;color:#08766e;padding:2px 10px;margin-right:8px}.customer-notifications>.btn{display:flex;justify-content:space-between;width:100%;margin-top:10px;text-align:right;white-space:normal}.customer-financial{border-top:1px solid #dae4ed;padding-top:20px;margin-top:8px}.customer-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.customer-stat-grid article{padding:18px;border:1px solid #dce5ef;border-radius:12px;background:#f7fafc}.customer-stat-grid span,.customer-stat-grid strong{display:block}.customer-stat-grid strong{margin-top:8px;color:#29235c}.customer-financial details{padding:14px 0;border-bottom:1px solid #e2e9ef}.customer-financial summary{cursor:pointer;font-weight:600}.customer-financial table{width:100%;border-collapse:collapse;min-width:550px}.customer-financial td,.customer-financial th{text-align:right;padding:12px;border-bottom:1px solid #e2e9ef}.customer-financial td small{display:block}.customer-portal .customer-layout>section>h3{margin:20px 0 8px}.customer-portal .customer-layout>section{padding:28px}.customer-portal .customer-layout>section>h2{color:#29235c}.customer-recovery-note{padding:12px;background:#e9f7f4;color:#155951;border-radius:10px}.customer-portal :focus-visible{outline:3px solid #009c95;outline-offset:3px}@media(max-width:760px){.customer-portal .customer-layout{grid-template-columns:1fr}.customer-welcome{flex-direction:column;padding:22px}.customer-clock{align-self:stretch;text-align:right}.customer-brand{flex-wrap:wrap;gap:12px}.customer-brand img{width:90px;height:45px}.customer-brand h1{width:100%}.customer-portal .customer-layout>nav{position:static}.customer-stat-grid{grid-template-columns:1fr}.customer-portal .customer-layout>section{padding:18px}.customer-notifications>.btn{flex-direction:column;gap:6px}}.flow-status{display:inline-flex;align-items:center;padding:7px 12px;border-radius:8px;background:#edf2f7;color:#334764;border:1px solid #cbd5e1;font-size:.85rem;font-weight:700;white-space:normal}.flow-requested,.flow-pending_receipt,.flow-pending_approval,.flow-pending{background:#fff5da;color:#795410;border-color:#ead69d}.flow-manager_review,.flow-accounting_review,.flow-procurement_review{background:#eef0ff;color:#443798;border-color:#c8c5ed}.flow-approved_payment,.flow-approved,.flow-cashbox{background:#e2f4ef;color:#126554;border-color:#9fd5c7}.flow-paid,.flow-answered,.flow-cleared,.flow-received{background:#dcf6ec;color:#11663f;border-color:#8fcdae}.flow-logistics,.flow-partial_received,.flow-deposited,.flow-sent{background:#e4f0ff;color:#24578a;border-color:#9ec1e2}.flow-rejected,.flow-bounced{background:#ffebeb;color:#9d2424;border-color:#edb4b4}.flow-endorsed{background:#f3eafa;color:#693f87;border-color:#d4b9e1}.flow-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:16px 0}.flow-metrics>div{border:1px solid #d1e2e4;border-top:4px solid var(--accent,#008c86);padding:18px;border-radius:12px;background:#f8fbfc}.flow-metrics strong{display:block;font-size:1.6rem;margin-top:8px}.flow-list{display:grid;gap:14px}.flow-card{padding:20px;border:1px solid #d9e2ec;border-radius:14px;background:#fff}.flow-card>summary{cursor:pointer;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.flow-card[open]>summary{padding-bottom:16px;border-bottom:1px solid #e2e8f0;margin-bottom:16px}.flow-card table{width:100%;border-collapse:collapse}.flow-card th,.flow-card td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:right}.flow-card dt{font-weight:700;color:#577087}.flow-card dd{margin:0 0 14px}.flow-card .table-actions{flex-wrap:wrap;margin:14px 0}.flow-card fieldset{border:1px solid #d9e2ec;border-radius:12px;padding:16px}.flow-card textarea{min-height:100px}.flow-supplier{color:#5d4489;background:#f5f0fa}.flow-own{color:#176b66;background:#eaf7f4}.flow-credit-white{background:#fff;border:1px solid #8294a8;padding:5px 9px;border-radius:6px}.flow-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.flow-toolbar input{flex:1;min-width:190px}.flow-letter-body{white-space:pre-wrap;line-height:2}.flow-receipt-badge{padding:12px;background:#edf7f3;border-radius:10px;margin:12px 0}.customer-portal .customer-layout{direction:ltr;grid-template-columns:250px minmax(0,1fr)}.customer-portal .customer-layout>nav{grid-column:1;grid-row:1;direction:rtl}.customer-portal .customer-layout>section{grid-column:2;grid-row:1;direction:rtl}.customer-case-kind{margin-top:16px;color:#29235c;border-bottom:1px solid #d9e3ea;padding-bottom:8px}@media(max-width:760px){.flow-card{padding:14px}.flow-card table{min-width:520px}.flow-card>summary{align-items:flex-start}.customer-portal .customer-layout{display:flex;flex-direction:column}.customer-portal .customer-layout>nav{position:static}}.erp-logistics .table-actions{gap:8px;flex-wrap:wrap}.logistics-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.logistics-cards .panel{margin:0}.logistics-stops{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.logistics-stops article{padding:16px;border:1px solid #a4b5c155;border-radius:10px;overflow-wrap:anywhere}.logistics-copy{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.logistics-copy input{flex:1;min-width:200px}.logistics-plate{display:flex;gap:12px;flex-wrap:wrap}.logistics-plate label{flex:1;min-width:80px}.logistics-plate input{max-width:100%}.logistics-map{display:none;height:260px;position:relative;overflow:hidden;touch-action:none;margin-top:12px;background:#edf2e9;border:1px solid #a4b5c155;border-radius:8px;max-width:100%}.logistics-map.visible{display:block}.logistics-map-pin{position:absolute;transform:translate(-50%,-100%);font-size:28px;pointer-events:none}.logistics-map-attribution{position:absolute;bottom:0;right:0;background:#fffffff0;color:#172b44;padding:3px 6px;font:11px Arial}.logistics-map-field{min-width:0}.logistics-map-field .table-actions{margin-top:8px}.logistics-public{font-family:inherit;direction:rtl;max-width:1040px;margin:0 auto;padding:24px;color:var(--erp-ink,#182b44);background:var(--surface,#f5f7fa);min-height:100vh}.logistics-public .panel{background:var(--panel,#fff);border:1px solid #a4b5c155;border-radius:12px;padding:22px;margin:18px 0}.logistics-form fieldset{margin-bottom:12px}.logistics-public input,.logistics-public select,.logistics-public textarea{max-width:100%}@media(max-width:600px){.logistics-public{padding:16px}.logistics-stops,.logistics-cards{grid-template-columns:1fr}.logistics-copy input{width:100%;min-width:0}.logistics-plan table{font-size:.85rem}}@media print{body:has(.logistics-plan) .erp-sidebar,body:has(.logistics-plan) .erp-header,body:has(.logistics-plan) .erp-planner-quick,body:has(.logistics-plan) .logistics-no-print,body:has(.logistics-plan) .logistics-map-field{display:none!important}body:has(.logistics-plan) .erp-main{margin:0;width:100%;padding:0}body:has(.logistics-plan) .panel{break-inside:avoid}.logistics-plan{color:#111;background:#fff}.logistics-stops{grid-template-columns:1fr 1fr}}@media print{body:has(.logistics-plan) .logistics-public>*:not(.logistics-plan){display:none!important}}.logistics-stop-cargo{margin-top:18px;padding-top:14px;border-top:2px solid #009c9544}.logistics-stop-cargo fieldset{background:#f8fafc;padding:16px;border:1px solid #dce5ed;border-radius:10px}.waybill-print-pages{display:none}.logistics-stops article h4{color:#29235c;border-top:1px solid #dce5ed;padding-top:12px}@page waybill{size:A4;margin:0}@media print{body:has(.logistics-plan) .section-heading,body:has(.logistics-plan) .erp-waybill-header,body:has(.logistics-plan) .waybill-screen-content{display:none!important}.logistics-plan{border:0!important;padding:0!important;margin:0!important;break-inside:auto!important}.waybill-print-pages{display:block!important}.waybill-print-pages img{display:block;width:210mm;height:297mm;max-width:none;page:waybill;break-after:page;break-inside:avoid}.waybill-print-pages img:last-child{break-after:auto}.logistics-plan .waybill-print-pages{print-color-adjust:exact;-webkit-print-color-adjust:exact}}.erp-sidebar nav .erp-nav-row{display:flex;align-items:center;gap:4px;min-width:0}.erp-sidebar nav a{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0;padding:10px 12px;min-height:44px;border-radius:9px;color:inherit;text-decoration:none;font-size:.92rem;line-height:1.65}html[data-product=ERP] .erp-shell .erp-sidebar nav a{color:#eef4fc}html[data-product=ERP] .erp-shell .erp-sidebar nav a:hover{background:#ffffff12;color:#fff}html[data-product=ERP] .erp-shell .erp-sidebar nav a.active{font-weight:750;background:#ffffff1a;color:#fff;box-shadow:inset -3px 0 var(--erp-accent)}.erp-sidebar nav .erp-nav-toggle{flex:none;min-width:34px;min-height:40px;padding:7px;justify-content:center}.erp-nav-children{margin:3px 13px 8px 0;padding-right:8px;border-right:1px solid #a4b5c144}.erp-nav-children .erp-nav-children{margin-right:8px;padding-right:6px}.erp-nav-future{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;min-height:44px;opacity:.65;font-size:.88rem}.erp-nav-future small{white-space:nowrap;font-size:.65rem;border:1px solid currentColor;border-radius:4px;padding:0 4px}.erp-nav-badge{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:23px;height:23px;padding:2px 6px;border-radius:20px;background:#b71932;color:#fff;font-size:.72rem;font-weight:700}.erp-module-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.erp-module-card{display:flex;flex-direction:column;gap:12px;padding:20px;border:1px solid #a4b5c155;border-radius:10px;color:inherit;text-decoration:none;min-height:100px;transition:border-color .15s}a.erp-module-card:hover{border-color:var(--erp-accent)}.erp-module-card span,.erp-module-card small{font-size:.8rem;color:inherit;opacity:.8}.erp-module-card.future{opacity:.6}.erp-planner-quick{position:fixed;bottom:18px;left:20px;z-index:28;display:flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid #fff5;border-radius:28px;background:var(--erp-ink);color:#fff;text-decoration:none;box-shadow:0 4px 18px #0002}html[data-product=ERP] .erp-shell a.erp-planner-quick{color:#fff}.erp-shell [data-rial-input]{font-variant-numeric:tabular-nums;text-align:left}@media(max-width:850px){.erp-sidebar{width:min(310px,90vw)}.erp-module-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-module-card{padding:15px}.erp-planner-quick{bottom:12px;left:12px;font-size:.85rem}}@media(max-width:430px){.erp-module-cards{grid-template-columns:1fr}.erp-shell .erp-main{padding-bottom:85px}}.erp-shell .erp-sidebar{display:flex;flex-direction:column;overflow:hidden;height:100dvh}.erp-shell .erp-sidebar>nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.erp-shell .erp-brand,.erp-shell .erp-profile,.erp-shell .erp-product-link,.erp-collapse-control{flex-shrink:0}.erp-nav-category{display:flex;align-items:center;gap:9px;width:100%;min-height:46px;text-align:right;background:transparent;color:inherit;border:0;border-radius:8px;padding:10px;line-height:1.7;cursor:pointer}.erp-nav-category .erp-nav-label{flex:1}.erp-nav-category:hover,.contains-active>.erp-nav-row>.erp-nav-category{background:#ffffff15}.erp-shell .erp-sidebar .level-0{border-bottom:1px solid #ffffff16;padding:3px 0}@media(min-width:851px){.erp-shell.sidebar-collapsed .erp-nav-category .erp-nav-label{display:none}}@media(max-width:850px){.erp-nav-category{font-size:.88rem;padding:8px;min-height:42px}.erp-sidebar nav a{padding:7px 9px;font-size:.85rem}.erp-nav-children{margin-right:7px;padding-right:5px}}.erp-followup-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:20px;border:1px solid #d9e2ec;border-radius:12px;align-items:start}.erp-followup-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.erp-followup-card>.table-actions{max-width:260px;flex-wrap:wrap}.erp-followup-filters label{min-width:0}.erp-followup-card small{line-height:1.9}@media(max-width:700px){.erp-followup-card{grid-template-columns:1fr;padding:14px;gap:12px}.erp-followup-card>.table-actions{max-width:none}.erp-followup-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}.installation-quote-form .form-grid{gap:16px}.installation-quote-form label{min-width:0;line-height:1.8}.installation-quote-form input,.installation-quote-form select,.installation-quote-form textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.installation-quote-table td{vertical-align:top;padding:14px 10px}.installation-quote-table .table-actions{flex-wrap:wrap}.installation-quote-table textarea{min-width:160px}.installation-quote-form .table-scroll{max-width:100%;overflow:auto}@media(max-width:700px){.installation-quote-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.installation-quote-form .installation-quote-table,.installation-quote-form .installation-quote-table tbody{display:block;min-width:0;width:100%}.installation-quote-form .installation-quote-table thead{display:none}.installation-quote-form .installation-quote-table tr{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:14px;margin:12px 0;border:1px solid #cedbe8;border-radius:12px}.installation-quote-form .installation-quote-table td{display:block;padding:4px 0;border:0;min-width:0}.installation-quote-form .installation-quote-table td:nth-child(3):before{content:"\62a\648\636\6cc\62d\627\62a";display:block;font-weight:700}.installation-quote-form .installation-quote-table td:nth-child(4):before{content:"\62a\639\62f\627\62f  / \648\627\62d\62f";display:block;font-weight:700}.installation-quote-form .installation-quote-table td:nth-child(6):before{content:"\642\6cc\645\62a  \62f\633\62a\6cc  \648  \62f\644\6cc\644";display:block;font-weight:700}.installation-quote-form .table-actions{gap:6px}.installation-quote-form .btn{max-width:100%;white-space:normal}}.installation-quote-form input[type=checkbox]{width:auto;flex:none}.installation-quote-form .installation-quote-table td{white-space:normal;overflow-wrap:anywhere}.installation-quote-form .installation-quote-table td>input,.installation-quote-form .installation-quote-table td>textarea,.installation-quote-form .installation-quote-table td>select{display:block;margin:6px 0}.installation-quote-form .jalali-input-row input{flex:1;min-width:100px}.installation-quote-form .jalali-input-row button{flex:none}@media(max-width:700px){.installation-quote-form .form-grid>.jalali-input{grid-column:1/-1}.installation-quote-form .installation-quote-table textarea{min-width:0}.installation-quote-form .installation-quote-table tr{box-sizing:border-box;max-width:100%}}.erp-shell .erp-sidebar>nav{display:block}.erp-shell .erp-sidebar .erp-nav-category{color:inherit}@media(max-width:700px){.installation-quote-form .form-grid>.erp-date-control{grid-column:1/-1}}.installation-quote-form .quote-editor-section{border:1px solid #d4dfeb;border-radius:12px;padding:18px;background:#fff;margin:4px 0 18px;min-width:0}.installation-quote-form .quote-editor-section>summary{font-weight:700;cursor:pointer;padding:4px 0}.installation-quote-form .quote-editor-section[open]>.form-grid{margin-top:18px}.installation-quote-form .quote-editor-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.installation-quote-form .quote-editor-heading h3{margin:0}.installation-quote-form .quote-price-help{color:#52677e;font-size:13px;line-height:1.9}.installation-quote-form .quote-item-group h4{margin:22px 0 10px;padding:8px 12px;border-right:4px solid #3e729f;background:#edf3f9;border-radius:6px}.installation-quote-form .quote-item-list{display:grid;gap:14px}.installation-quote-form .quote-item-card{border:1px solid #cedbe8;border-radius:10px;padding:16px;min-width:0;overflow-wrap:anywhere}.installation-quote-form .quote-item-card>header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid #e0e8f1;padding-bottom:12px;margin-bottom:14px}.installation-quote-form .quote-item-number{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;background:#edf3f9;border-radius:7px;margin-left:10px}.installation-quote-form .quote-item-total{font-weight:700;color:#255d47}.installation-quote-form .quote-item-fields{display:grid;grid-template-columns:minmax(110px,.6fr) minmax(0,2fr) minmax(0,1fr);gap:20px;align-items:start}.installation-quote-form .quote-item-fields>*,.installation-quote-form .quote-unit-price>*{min-width:0}.installation-quote-form .quote-item-quantity{display:flex;flex-direction:column;gap:10px;align-items:start}.installation-quote-form .quote-item-price{display:grid;gap:8px}.installation-quote-form .quote-item-price small{color:#52677e;line-height:1.8}.installation-quote-form .quote-item-price select{display:block;max-width:100%}.installation-quote-form .quote-unit-price{display:flex;align-items:end;gap:10px}.installation-quote-form .quote-unit-price label{flex:1}.installation-quote-form .quote-price-source{font-size:12px;white-space:nowrap;background:#e6f3eb;color:#245d41;border-radius:6px;padding:6px 10px;margin-bottom:6px}.installation-quote-form .quote-price-source.manual{background:#fff1db;color:#805016}.installation-quote-form .quote-item-tools{border-top:1px solid #e0e8f1;margin-top:14px;padding-top:10px}.installation-quote-form .quote-item-tools summary{cursor:pointer;color:#52677e;font-size:13px}.installation-quote-form .quote-terms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}@media(max-width:900px){.installation-quote-form .quote-item-fields{grid-template-columns:minmax(90px,.7fr) minmax(0,2fr)}.installation-quote-form .quote-item-description{grid-column:1/-1}}@media(max-width:600px){.installation-quote-form .quote-editor-section,.installation-quote-form .quote-item-card{padding:12px}.installation-quote-form .quote-item-fields,.installation-quote-form .quote-terms-grid{grid-template-columns:minmax(0,1fr)}.installation-quote-form .quote-item-quantity{flex-direction:row;align-items:center;flex-wrap:wrap}.installation-quote-form .quote-unit-price{flex-wrap:wrap}.installation-quote-form .quote-item-price select{font-size:13px}}.erp-sidebar nav a,.erp-sidebar .erp-nav-category{cursor:pointer;transition:background-color .15s,box-shadow .15s}.erp-sidebar nav a:focus-visible,.erp-sidebar .erp-nav-category:focus-visible{outline:3px solid var(--erp-accent);outline-offset:-3px}.upgrade-panel{padding:24px;margin:18px 0;min-width:0}.upgrade-panel h2,.upgrade-panel h3{margin:0 0 14px}.upgrade-panel .tabs{flex-wrap:wrap;gap:8px;margin:18px 0}.upgrade-panel input:not([type=checkbox]),.upgrade-panel select,.upgrade-panel textarea{max-width:100%;width:100%}.upgrade-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #e6ebf1}.upgrade-row>div{flex:1;min-width:180px}.upgrade-row p{line-height:1.9;overflow-wrap:anywhere;margin:7px 0}.upgrade-row>input:not([type=checkbox]){max-width:200px}.upgrade-row input[type=checkbox]{width:19px;height:19px;accent-color:var(--primary)}.upgrade-quick{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.upgrade-staff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:18px}.upgrade-staff{border:1px solid #e2e8ef;padding:20px;border-radius:12px}.upgrade-person{display:flex;align-items:center;gap:12px}.upgrade-person img,.upgrade-person>span{width:54px;height:54px;object-fit:cover;border-radius:50%;background:#eef3f8;display:grid;place-items:center}.upgrade-person h3{font-size:16px;margin:0}.upgrade-staff dl{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:14px}.upgrade-stage{display:flex;justify-content:space-between;border-top:1px solid #edf0f5;padding-top:10px;font-size:13px}.product-search{min-width:0;position:relative}.product-search textarea{width:100%;min-height:70px;resize:vertical;line-height:1.7}.product-search-results{background:#fff;border:1px solid #d8e0eb;max-height:250px;overflow:auto;border-radius:10px;margin:8px 0}.product-search-results button{display:block;text-align:right;background:#fff;border:0;border-bottom:1px solid #edf0f5;padding:12px;width:100%;cursor:pointer;white-space:normal;line-height:1.7}.product-search-results button:hover{background:#eef7f6}.product-search-results small{display:block;color:#68798c}.quote-item>label:first-child{min-width:250px}.upgrade-nav-sub{padding:0 22px 8px 0;display:grid;gap:6px}.upgrade-nav-sub button{font-size:13px!important;border-right:2px solid #d9e5ee!important;border-radius:0 8px 8px 0!important}.upgrade-nav-group>button{width:100%}.service-clocks{padding:16px;background:#f5f8fa;border-radius:12px;margin:14px 0}.service-clocks h3{margin:0}.crm-dialog textarea[name=title]{min-height:75px;line-height:1.8}@media(max-width:650px){.upgrade-panel{padding:17px}.upgrade-row{gap:10px}.upgrade-row>input:not([type=checkbox]){max-width:100%}.quote-item>label:first-child{min-width:0}}.erp-shell{--erp-ink:#182b44;--erp-accent:#f17e32;display:flex;min-height:100vh;background:#f3f6fa;color:var(--erp-ink);font-size:1rem;line-height:1.7}.erp-shell[data-brand=safir]{--erp-ink:#29235c;--erp-accent:#00a19a}.erp-sidebar{position:fixed;inset:0 0 0 auto;width:248px;padding:25px 17px;background:#fff;border-left:1px solid #dfe6ee;display:flex;flex-direction:column;z-index:40;overflow-y:auto}.erp-brand{display:flex;align-items:center;gap:15px;padding:0 5px 23px}.erp-brand img{max-width:87px;max-height:46px;object-fit:contain}.erp-brand span{font-size:1.25rem;font-weight:800;line-height:1.4}.erp-brand small{display:block;font-size:.8rem;font-weight:400;color:#64748b}.erp-product-link{padding:11px;border:1px solid #dce3ec;border-radius:9px;text-align:center;color:var(--erp-ink);font-size:.875rem;text-decoration:none;margin-bottom:22px}.erp-sidebar nav{display:grid;gap:5px}.erp-sidebar nav button{display:flex;align-items:center;gap:12px;text-align:right;min-height:44px;padding:9px 13px;font:inherit;font-size:.9rem;color:#4e5e70;border:none;background:transparent;border-radius:9px;cursor:pointer}.erp-sidebar nav button:hover{background:#f0f4f8}.erp-sidebar nav button.active{color:var(--erp-ink);background:#e9eff7;box-shadow:inset -3px 0 var(--erp-accent);font-weight:700}.erp-profile{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:25px;font-size:.875rem}.erp-main{margin-right:248px;padding:27px 36px 50px;min-width:0;width:calc(100% - 248px)}.erp-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px;border-bottom:1px solid #dfe6ee;padding-bottom:20px;gap:15px}.erp-header h1{font-size:1.65rem;line-height:1.5;margin:0}.erp-kicker{font-size:.875rem;color:#66758a}.erp-toolbar{display:flex;align-items:center;gap:10px}.erp-toolbar select,.erp-actions input{min-height:44px;border:1px solid #cdd7e3;border-radius:8px;background:#fff;padding:8px 12px;font:inherit;font-size:.9rem}.erp-date{color:#5b6c80;margin-bottom:20px}.erp-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:27px}.erp-metrics button{background:#fff;border:1px solid #dfe6ee;border-radius:12px;text-align:right;padding:22px;font:inherit;color:var(--erp-ink);display:grid;grid-template-columns:1fr auto;cursor:pointer}.erp-metrics svg{grid-column:2;grid-row:1/3;color:var(--erp-accent)}.erp-metrics span{font-size:.875rem;color:#53657a}.erp-metrics strong{font-size:2rem;line-height:1.5;font-weight:800}.erp-shell .panel{box-shadow:none;border:1px solid #dfe6ee;border-radius:12px;margin-bottom:24px;background:#fff;padding:24px}.erp-shell h2{font-size:1.1rem;margin:0 0 14px}.erp-pipeline{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}.erp-pipeline button{font:inherit;display:grid;gap:8px;min-height:110px;background:#f6f8fb;border:1px solid #e5eaf1;border-radius:9px;text-align:center;cursor:pointer;padding:12px 6px;color:var(--erp-ink)}.erp-pipeline span{font-size:.875rem}.erp-pipeline strong{font-size:1.6rem}.erp-pipeline small{font-size:.8rem;color:#66758a}.erp-shortcuts{display:flex;flex-wrap:wrap;gap:12px}.erp-stock-list>div{display:flex;align-items:center;gap:25px;padding:13px 0;border-top:1px solid #edf1f5}.erp-stock-list strong{flex:1}.erp-stock-list small{color:#66758a}.erp-actions{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.erp-actions input{margin-left:auto;min-width:240px}.erp-job-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.erp-shell .erp-job{margin:0;display:flex;flex-direction:column;gap:8px}.erp-job-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:.875rem}.erp-job h2{margin:0}.erp-job p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.erp-job-qty{font-size:1.7rem}.erp-job dl{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;font-size:.875rem;margin:9px 0}.erp-job dt{color:#66758a}.erp-job dd{margin:0}.erp-job progress{width:100%;height:6px;accent-color:var(--erp-accent);margin:13px 0}.erp-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:15px}.erp-purchase-line{display:grid;grid-template-columns:2fr 1fr 1.5fr auto;gap:12px;align-items:end;padding-bottom:15px;border-bottom:1px solid #e6ecf3}.erp-switch{margin:0 12px 15px;text-decoration:none}.erp-mobile{display:none!important}.erp-backdrop{display:none}.erp-shell .table-scroll{overflow-x:auto}.erp-shell table{min-width:580px;font-size:.9rem}.erp-shell .btn{min-height:42px}.erp-shell .btn-primary{background:var(--erp-ink)}.erp-shell input,.erp-shell textarea,.erp-shell select{font-size:1rem}.erp-shell .notice{margin-bottom:18px}.erp-shell button:focus-visible,.erp-shell a:focus-visible{outline:3px solid var(--erp-accent);outline-offset:2px}@media(max-width:1250px){.erp-main{padding:25px}.erp-pipeline{grid-template-columns:repeat(4,1fr)}.erp-job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.erp-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.erp-sidebar{transform:translate(100%);transition:transform .2s}.erp-sidebar.open{transform:translate(0)}.erp-main{margin-right:0;width:100%;padding:20px 16px}.erp-mobile{display:inline-flex!important}.erp-header>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.erp-header h1{width:100%;font-size:1.4rem}.erp-kicker{display:none}.erp-backdrop{display:block;position:fixed;inset:0;z-index:35;background:#12243c80;border:none}.erp-shell .panel{padding:18px}.erp-actions input{min-width:0;width:100%}.erp-purchase-line{grid-template-columns:1fr 1fr}.erp-purchase-line label:first-child{grid-column:1/-1}}@media(max-width:550px){.erp-job-grid{grid-template-columns:1fr}.erp-metrics{gap:10px}.erp-metrics button{padding:15px}.erp-metrics span{font-size:.875rem}.erp-metrics strong{font-size:1.6rem}.erp-pipeline{grid-template-columns:repeat(2,1fr)}.erp-stock-list>div{flex-wrap:wrap;gap:10px}.erp-stock-list strong{flex-basis:100%}.erp-header{gap:8px}.erp-toolbar select{max-width:110px}.erp-toolbar{align-self:flex-start}.erp-shell .section-heading{flex-wrap:wrap}}.customer-picker{position:relative}.customer-options{position:absolute;inset:100% 0 auto;z-index:70;max-height:300px;overflow:auto;background:#fff;border:1px solid #cad5df;border-radius:10px;box-shadow:0 10px 25px #182b4420}.customer-options button{display:grid;width:100%;padding:12px;text-align:right;background:none;border:none;border-bottom:1px solid #eef1f4;font:inherit;cursor:pointer}.customer-options button:hover,.customer-options button:focus{background:#eaf7f6}.customer-options small{color:#64748b}.service-price-preview{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#edf8f7;border:1px solid #c8e5e2;border-radius:10px;padding:18px}.service-price-preview div{display:grid;gap:6px}.service-price-preview span{font-size:.9rem;color:#546575}.service-price-preview strong{font-size:1.2rem;color:#29235c}.standard-validity,.erp-shell fieldset{border:1px solid #dce3ec;border-radius:10px;padding:16px;min-width:0}.fault-case-results{display:grid;gap:8px;max-height:260px;overflow:auto}.fault-case-results button{display:grid;gap:5px;text-align:right;font:inherit;border:1px solid #dae3ec;background:#fff;padding:12px;border-radius:8px;cursor:pointer}.fault-case-results .selected{border-color:#00a19a;background:#e9f7f5}.fault-priority-banner,.fault-live-alert{background:#fff4e9;border:1px solid #f2caa9;border-radius:12px;padding:18px;margin:15px 0}.fault-live-alert{display:flex;gap:16px;justify-content:space-between;align-items:center}.timeline-summary{background:#f4f8fb;border-radius:10px;padding:18px}.service-month-rail{display:flex;overflow:auto;gap:0;margin:24px 0;padding-bottom:12px}.service-month-rail>div{min-width:150px;display:grid;gap:5px;position:relative;border-top:3px solid #d9e1eb;padding:15px 10px}.service-month-rail>div.done{border-color:#00a19a}.service-month-rail>div.current{border-color:#ef8b39;background:#fff5eb}.service-month-rail span,.service-month-rail small{font-size:.8rem;color:#637488}.case-event-line{list-style:none;margin:20px 8px 0 0;padding:0;border-right:2px solid #d7e1ec}.case-event-line li{position:relative;padding:0 24px 24px 0;display:flex;gap:12px}.timeline-dot{position:absolute;right:-7px;top:6px;width:12px;height:12px;background:#cbd5e1;border-radius:50%;border:2px solid white}.case-event-line .done .timeline-dot{background:#00a19a}.case-event-line .current .timeline-dot{background:#ee8a35}.case-event-line .future{opacity:.65}.case-event-line time{font-size:.85rem;color:#6b7a8b}.case-event-line h4{margin:4px 0;font-size:1rem}.case-event-line p{margin:0;color:#55657b;font-size:.9rem}.erp-customer-search{width:100%;padding:12px;border:1px solid #cdd7e3;border-radius:8px;margin-bottom:20px}.billing-preview{margin:16px 0}.billing-preview summary{cursor:pointer;color:#29235c}@media(max-width:600px){.service-price-preview{grid-template-columns:1fr}.fault-live-alert{align-items:stretch;flex-direction:column}}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-arabic-400-normal.woff2) format("woff2");font-weight:400;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-arabic-500-normal.woff2) format("woff2");font-weight:500;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-arabic-600-normal.woff2) format("woff2");font-weight:600;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-arabic-700-normal.woff2) format("woff2");font-weight:700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+200C-200F,U+FB50-FDFF,U+FE70-FEFF}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-latin-500-normal.woff2) format("woff2");font-weight:500;font-display:swap}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-latin-600-normal.woff2) format("woff2");font-weight:600;font-display:swap}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}:root{--navy: #1b4693;--navy-dark: #16396f;--orange: #f2572a;--teal: #00938c;--ink: #193455;--muted: #718096;--line: #e4eaf3;--bg: #f4f6fa;--radius: 16px;--shadow: 0 4px 22px #203c6310}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.8 Vazirmatn,Tahoma,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;appearance:none;border:0;background:transparent;color:inherit}button:disabled{cursor:wait;opacity:.55}a{color:var(--navy);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #f2572a66;outline-offset:3px}input,select,textarea{width:100%;min-width:0;background:#fff;border:1px solid #dce4ef;border-radius:9px;padding:10px 13px;color:var(--ink);outline:0;min-height:46px}input:focus,select:focus,textarea:focus{border-color:var(--navy);box-shadow:0 0 0 3px #1b469310}textarea{resize:vertical;min-height:90px}input::placeholder{color:#97a1b1}label{display:grid;gap:7px;font-size:14px;font-weight:500}h1,h2,h3,p{margin:0}h1{font-size:25px;line-height:1.5;font-weight:700}h2{font-size:23px;line-height:1.6;font-weight:700}h3{font-size:17px;font-weight:600}p{line-height:1.9}small{font-size:13px}svg{flex-shrink:0}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.muted{color:var(--muted);font-size:14px}.eyebrow{font-size:13px;letter-spacing:.2px;color:var(--orange);font-weight:600}.caps{font-size:11px;letter-spacing:2px;font-weight:600;direction:ltr}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 15px;font-size:14px;font-weight:500;min-height:44px;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{background:#f4f7fc}.btn-primary{color:#fff;border-color:var(--orange);background:var(--orange)}.btn-primary:hover{background:#df4921;border-color:#df4921}.btn.small{min-height:34px;padding:5px 10px;font-size:13px}.btn.danger{background:#b94049;color:#fff;border-color:#b94049}.text-btn{display:inline-flex;align-items:center;gap:6px;color:var(--navy);font-size:14px}.icon-btn{width:40px;height:40px;display:inline-grid;place-items:center;border-radius:10px;color:var(--muted);flex-shrink:0}.icon-btn:hover{background:#edf1f8;color:var(--navy)}.danger-text{color:#bf4351}.full{grid-column:1/-1}.inline-notice,.form-error{background:#fff4e5;color:#8b4b25;border:1px solid #ffdfb8;padding:12px 16px;border-radius:10px;margin:12px 0;font-size:14px}.form-error{background:#fff0f1;border-color:#f2cdd2;color:#a23343}.block-label{margin:18px 0;display:grid;gap:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.avatar{width:40px;height:40px;border-radius:12px;display:inline-grid;place-items:center;background:#edf1f9;color:var(--navy);font-weight:700;flex-shrink:0}.avatar.tivan{background:#fff0e8;color:#bd5027}.avatar.safir{background:#e8f7f4;color:var(--teal)}.avatar.small{width:32px;height:32px;border-radius:9px;font-size:13px}.avatar.xl{width:64px;height:64px;font-size:26px;border-radius:18px}.brand-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.6}.brand-badge i{width:5px;height:5px;border-radius:50%;background:currentColor}.brand-badge.tivan{background:#fff0e8;color:#b74b21}.brand-badge.safir{background:#e5f6f2;color:#00776f}.status-chip{display:inline-block;padding:4px 9px;font-size:12px;font-weight:500;border-radius:7px;background:#eef2fa;color:#5269a0;white-space:nowrap}.status-chip.positive{background:#e8f5ef;color:#228161}.status-chip.negative{background:#fff0f1;color:#b44855}.empty-state{padding:48px 20px;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:9px}.empty-state h3{color:#4b617e}.empty-state p{font-size:14px;max-width:400px}.empty-state .btn{margin-top:8px}.empty-symbol{width:54px;height:54px;display:grid;place-items:center;background:#f1f4fa;border:1px dashed #cad6e8;border-radius:16px;color:#8da0bb;margin-bottom:4px}.crm-dialog{border:0;box-shadow:0 24px 120px #15263e50;border-radius:20px;padding:0;width:min(680px,calc(100vw - 32px));max-height:90dvh;overflow:auto;color:var(--ink);background:#fff}.crm-dialog.wide{width:min(960px,calc(100vw - 32px))}.crm-dialog::backdrop{background:#122e5270;backdrop-filter:blur(4px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-title h2{font-size:20px}.dialog-form{padding:24px 26px}.date-field{display:grid;grid-template-columns:1.4fr 1fr;gap:8px}.tabs{display:flex;gap:10px;border-bottom:1px solid var(--line);padding:0 20px;overflow:auto}.tabs button{padding:16px 12px;font-size:14px;white-space:nowrap;border-bottom:3px solid transparent}.tabs button.active{border-bottom-color:var(--orange);color:var(--navy);font-weight:600}.loading-workspace{padding:80px;text-align:center;color:var(--muted)}@media(max-width:640px){body{font-size:15px}h1{font-size:21px}h2{font-size:20px}.form-grid{grid-template-columns:1fr;gap:14px}.dialog-title{padding:16px 18px}.dialog-form{padding:18px}.crm-dialog{max-height:93dvh}.btn{min-height:44px}.form-actions .btn{flex:1}.date-field{grid-template-columns:1.4fr 1fr}}.connection-screen{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:28px}.connection-screen img{width:220px}.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh;background:#fff;direction:ltr}.login-story{position:relative;background:#edf2fa;display:flex;flex-direction:column;padding:42px 54px;overflow:hidden;direction:rtl}.login-story:after{content:"";position:absolute;width:700px;height:700px;border:1px solid #dce5f3;border-radius:50%;left:-260px;top:-410px;pointer-events:none}.story-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1;color:var(--navy)}.live-dot{font-size:12px;display:flex;gap:6px;align-items:center}.live-dot:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--orange)}.story-copy{position:relative;z-index:1;margin-top:50px}.story-copy h2{font-size:39px;line-height:1.65;color:var(--navy-dark);font-weight:700}.story-copy em{font-style:normal;color:var(--orange)}.story-copy p{font-size:17px;margin-top:20px;color:#687e9f}.profile-art{width:100%;height:360px;min-height:260px;margin:12px 0;flex:1;background-image:url(/brand/partner-profile.png);background-repeat:no-repeat;background-size:190% auto;background-position:right 15%;mix-blend-mode:multiply;mask-image:linear-gradient(transparent,#000 8%,#000 92%,transparent)}.story-bottom{display:flex;justify-content:space-between;gap:15px;padding-top:22px;border-top:1px solid #d1ddef;font-size:14px;position:relative;z-index:1}.story-bottom span{display:flex;align-items:center;gap:8px;color:var(--navy)}.story-bottom span:first-child svg{color:var(--orange)}.login-form-area{direction:rtl;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 52px;background:#fff;position:relative}.login-form-area:before{content:"";position:absolute;top:0;right:0;left:0;height:5px;background:var(--orange)}.login-brand{width:250px;margin:0 0 34px}.login-brand img{width:100%;display:block}.login-form{width:min(100%,400px)}.login-form h1{margin:8px 0;font-size:27px}.login-form>.muted{margin-bottom:25px}.login-form label{margin-top:16px;font-size:14px}.login-form input{height:49px;font-size:16px}.captcha-head{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.captcha-head label{margin:0}.captcha-head span{font-size:12px;color:#8394a9}.captcha-head .expired{color:#bf4351}.captcha-row{display:flex;gap:12px;align-items:center;background:#f7f9fc;border:1px solid var(--line);border-radius:9px;margin:8px 0 10px;padding:0 12px;justify-content:space-between;min-height:77px}.captcha-row img{width:230px;height:76px;max-width:calc(100% - 44px);object-fit:contain}.login-submit{width:100%;justify-content:space-between;margin-top:24px;padding:12px 17px;font-size:16px;min-height:50px}.login-help{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#8191a7;margin-top:15px}.safir-partner{display:flex;gap:13px;align-items:center;margin-top:34px;border-top:1px solid var(--line);padding-top:24px;width:min(100%,400px)}.safir-partner img{width:35px;height:44px;object-fit:contain}.safir-partner strong{display:block;font-size:14px;color:#3d576f}.safir-partner small{font-size:12px;color:#9aabbb}@media(min-width:1500px){.login-story{padding:50px 72px}.story-copy{margin-top:70px}.story-copy h2{font-size:46px}.profile-art{max-height:470px}.login-form-area{padding:48px 80px}.login-form{max-width:420px}}@media(max-width:1000px){.login-story{padding:30px 32px}.story-copy h2{font-size:31px}.story-top .caps{font-size:9px;letter-spacing:1px}.live-dot{display:none}.login-form-area{padding:32px}.story-bottom{font-size:12px;flex-direction:column}.profile-art{background-size:225% auto}.login-brand{width:215px}}@media(max-width:700px){.login-page{grid-template-columns:1fr}.login-story{display:none}.login-form-area{min-height:100dvh;padding:28px 25px}.login-brand{margin-bottom:24px;width:200px}.login-form h1{font-size:25px}.safir-partner{margin-top:24px;padding-top:18px}}.workspace{display:flex;min-height:100dvh}.sidebar{width:258px;position:fixed;right:0;top:0;bottom:0;z-index:20;background:var(--navy-dark);display:flex;flex-direction:column;padding:16px 12px 12px;color:#d3dfef}.sidebar-brand{background:#fff;border-radius:14px;padding:15px 15px 11px;margin-bottom:20px;position:relative}.sidebar-brand>img{width:160px;height:auto;margin:0 auto 11px;display:block}.sidebar-brand>div{display:flex;gap:9px;justify-content:center;align-items:center;border-top:1px solid #edf1f8;padding-top:10px}.sidebar-brand>div img{height:20px;width:18px}.sidebar-brand>div span{font-size:11px;color:#718099}.sidebar-section-label{font-size:11px;color:#8fa8cc;margin:0 14px 10px}.sidebar nav{overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#416492 transparent}.nav-item{width:100%;display:flex;align-items:center;gap:12px;border-radius:10px;padding:11px 14px;text-align:right;margin:2px 0;font-size:14px;color:#c5d3e8;min-height:44px;transition:background .15s}.nav-item svg{color:#88a4ce;stroke-width:1.7}.nav-item:hover{background:#fff1}.nav-item.active{background:#fff;color:var(--navy);font-weight:600;box-shadow:0 4px 16px #12213d30}.nav-item.active svg{color:var(--orange)}.nav-item b{font-size:11px;min-width:20px;text-align:center;border-radius:6px;background:#264f8f;padding:1px 4px;margin-right:auto;color:#dce5f4}.nav-item.active b{background:#fff0e9;color:var(--orange)}.sidebar-user{display:flex;align-items:center;gap:9px;margin-top:13px;border-top:1px solid #fff2;padding:17px 6px 2px}.sidebar-user .avatar{background:#305687;color:#e6efff;width:36px;height:36px}.sidebar-user strong{display:block;font-size:12px;color:#fff}.sidebar-user small{display:block;font-size:11px;color:#93acce}.sidebar-user .icon-btn{margin-right:auto;color:#9bb3d5}.sidebar-user .icon-btn:hover{background:#ffffff10;color:#fff}.main-area{width:calc(100% - 258px);margin-right:258px;min-width:0;display:flex;flex-direction:column}.topbar{min-height:106px;background:#fff;border-bottom:1px solid var(--line);display:flex;gap:18px;align-items:center;justify-content:space-between;padding:20px 32px;position:sticky;top:0;z-index:10}.page-title span{font-size:10px;letter-spacing:1.5px;color:var(--orange);font-weight:700}.page-title h1{font-size:23px;margin-top:3px;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:12px}.global-search{display:flex;align-items:center;gap:8px;background:#f6f8fb;border:1px solid #edf1f7;border-radius:10px;padding:0 12px;width:230px;color:#8b9bb3}.global-search input{min-height:42px;border:0;background:transparent;box-shadow:none;padding:8px 0;font-size:12px}.company-switch{border:1px solid var(--line);border-radius:9px;padding:4px 10px;display:flex;flex-direction:column;gap:0}.company-switch span{font-size:10px;line-height:1.4;color:#8a9ab0}.company-switch select{border:0;padding:0;min-height:25px;font-size:12px;width:115px;box-shadow:none;background:transparent}.notification-btn{position:relative}.notification-btn i{position:absolute;width:7px;height:7px;top:7px;right:9px;background:var(--orange);border:2px solid #fff;border-radius:50%}.content{padding:30px 32px;flex:1;min-width:0}.workspace-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin:0 32px;padding:18px 0;color:#a2afbf;font-size:11px}.workspace-footer span:first-child{direction:ltr;letter-spacing:2px;font-weight:600}.mobile-menu,.mobile-close{display:none}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading h2{font-size:22px}.section-heading p{font-size:14px;color:var(--muted);margin-top:4px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-bottom:22px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 24px;border-bottom:1px solid #eff2f7}.panel-heading h3{font-size:17px}.panel-heading p{font-size:12px;color:#90a0b6;margin-top:4px}.table-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:17px 21px;border-bottom:1px solid var(--line)}.table-tools>select{width:auto;font-size:13px;min-height:40px;max-width:180px}.table-tools .btn{font-size:12px;min-height:40px;padding:7px 12px}.table-tools>.muted{margin-right:auto;font-size:12px}.search-input{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;padding:0 10px;min-width:190px;max-width:280px;flex:1;color:#90a0b6}.search-input input{border:0;box-shadow:none;font-size:13px;padding:8px 0;min-height:40px}.active-filter{color:var(--orange);background:#fff4ed;border-color:#ffd6c4}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:right;font-size:13px;white-space:nowrap}th{font-size:12px;font-weight:500;color:#8a9ab0;background:#fafbfd;padding:14px 18px;border-bottom:1px solid var(--line)}td{padding:17px 18px;border-bottom:1px solid #eff2f7;color:#4b617f}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}.table-footer{padding:11px 22px;background:#fcfdff;border-top:1px solid var(--line);font-size:12px;color:#90a0b6}.customer-link{display:flex;align-items:center;gap:10px;text-align:right}.customer-link strong{display:block;color:var(--ink);font-size:14px;font-weight:600}.customer-link small{display:block;font-size:12px;color:#8c9bb0}.row-title{font-size:14px;color:var(--ink);font-weight:600;padding:0;text-align:right}.row-title:hover{color:var(--navy)}.record-code{display:block;font-size:11px;color:#8e9eb6;margin-top:4px}.table-actions{display:flex;gap:6px;align-items:center}.brand-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.brand-choice button{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px}.brand-choice button.selected{border-color:var(--navy);box-shadow:0 0 0 2px #1b469315;background:#f8faff}.brand-choice button>span:last-child:not(.brand-badge){font-size:11px;color:#8295ae}.welcome-card{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#edf2fa,#f8faff);border:1px solid #dfe8f5;border-radius:18px;padding:26px 30px;margin-bottom:24px;position:relative;overflow:hidden}.welcome-card:after{content:"";width:240px;height:240px;border:1px solid #dbe4f2;border-radius:50%;position:absolute;left:150px;bottom:-195px}.welcome-card h2{font-size:29px;margin:5px 0 8px;color:var(--navy-dark)}.welcome-card p{font-size:14px;color:#7183a0}.welcome-card .btn{margin-top:18px;border-color:#d6e1f0;font-size:13px}.welcome-date{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:235px;position:relative;color:var(--navy)}.welcome-date strong{font-size:13px}.welcome-date span{font-size:10px;letter-spacing:2px;color:#8f9fb7}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.metric-card{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;padding:21px;text-align:right;position:relative;min-width:0}.metric-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;margin-bottom:15px;background:#eef3fc;color:var(--navy)}.metric-icon.orange{background:#fff0e8;color:var(--orange)}.metric-icon.teal{background:#e8f7f3;color:var(--teal)}.metric-icon.purple{background:#f0edfb;color:#8070c5}.metric-card small{display:block;font-size:12px;color:#8495ae}.metric-card strong{display:block;font-size:25px;font-weight:700;margin:5px 0;line-height:1.6}.metric-card p{font-size:11px;color:#91a1b7}.metric-arrow{position:absolute;left:21px;top:28px;color:#a7b4c8}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.dashboard-grid .panel{margin-bottom:0}.dashboard-grid>.full{grid-column:1/-1}.dashboard-tasks{padding:6px 22px}.dashboard-tasks article{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #edf1f7}.dashboard-tasks article:last-child{border:0}.dashboard-tasks article>div{flex:1;min-width:0}.dashboard-tasks strong{display:block;font-size:13px}.dashboard-tasks small{display:block;color:#8a9bb3;font-size:11px;margin-top:4px}.task-dot{width:9px;height:9px;background:var(--orange);border:3px solid #fff0e9;border-radius:50%;box-sizing:content-box;flex-shrink:0}@media(min-width:1600px){.sidebar{width:274px}.main-area{width:calc(100% - 274px);margin-right:274px}.content{padding:38px 48px}.topbar{padding:23px 48px}.global-search{width:280px}.metrics-grid{gap:24px}.metric-card{padding:26px}}@media(max-width:1250px){.sidebar{width:228px}.main-area{width:calc(100% - 228px);margin-right:228px}.topbar{padding:20px 23px}.content{padding:24px 23px}.header-actions{gap:8px}.global-search{width:165px}.new-customer-button{padding:9px 11px}.metrics-grid{gap:12px}.metric-card{padding:17px}.metric-card strong{font-size:21px}.nav-item{font-size:13px}.page-title h1{font-size:20px}}@media(max-width:1000px){.global-search{display:none}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.welcome-date{min-width:170px}.welcome-date strong{font-size:11px}.welcome-card h2{font-size:25px}.welcome-card{padding:23px}.content{padding:22px}}@media(max-width:800px){.sidebar{transform:translate(100%);transition:transform .2s;width:260px;z-index:40}.sidebar.open{transform:translate(0)}.main-area{margin-right:0;width:100%}.mobile-menu{display:grid}.mobile-close{display:grid;position:absolute;left:5px;top:5px;width:28px;height:28px}.sidebar-backdrop{position:fixed;inset:0;background:#142b4a65;z-index:35}.topbar{min-height:88px;padding:14px 18px;gap:12px}.page-title{margin-left:auto}.page-title h1{font-size:20px}.header-actions{gap:7px}.company-switch{padding:3px 8px}.company-switch select{width:100px}.content{padding:23px 18px}.workspace-footer{margin:0 18px}.section-heading h2{font-size:20px}.dashboard-grid{gap:18px}.welcome-card h2{font-size:25px}}@media(max-width:580px){.topbar{flex-wrap:wrap;gap:10px;padding:12px 16px;position:relative}.page-title h1{font-size:20px}.header-actions{width:100%;justify-content:space-between}.company-switch{flex-direction:row;align-items:center;gap:9px;padding:6px 10px}.company-switch select{min-height:28px;width:105px}.company-switch span{font-size:11px}.new-customer-button{padding:7px 12px;min-height:42px;font-size:13px}.notification-btn{margin-right:auto}.content{padding:20px 14px}.welcome-card{padding:21px;gap:15px}.welcome-date{display:none}.welcome-card .eyebrow{font-size:11px}.welcome-card h2{font-size:24px}.welcome-card p{font-size:12px}.metrics-grid{gap:10px}.metric-card{padding:15px}.metric-card strong{font-size:20px}.metric-card p{font-size:10px}.metric-card small{font-size:11px}.metric-arrow{display:none}.metric-icon{width:36px;height:36px;margin-bottom:12px}.section-heading{gap:10px;align-items:flex-start}.section-heading h2{font-size:19px}.section-heading p{font-size:12px}.section-heading>.btn{font-size:12px;padding:8px 10px}.panel-heading{padding:18px}.panel-heading h3{font-size:15px}.panel-heading .text-btn{font-size:11px}.table-tools{padding:14px;gap:8px}.search-input{min-width:100%;max-width:none}.table-tools>.btn,.table-tools>select{flex:1;min-width:100px}.dashboard-tasks{padding:0 16px}.dashboard-tasks strong{font-size:12px}.panel{border-radius:13px}}.customer-cover{display:flex;align-items:center;gap:18px;padding:25px 28px;background:linear-gradient(110deg,#f8faff,#edf3fc)}.customer-cover h3{font-size:22px}.customer-cover p{font-size:14px;color:var(--muted);margin:3px 0 8px}.customer-cover .status-chip{margin-right:8px}.customer-cover>.btn{margin-right:auto}.detail-body{padding:26px 28px}.detail-body h3{margin:26px 0 13px}.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.details-grid>div{border:1px solid var(--line);border-radius:10px;padding:14px 17px;overflow-wrap:anywhere}.details-grid small{display:block;color:var(--muted);margin-bottom:4px}.details-grid strong{font-size:15px;font-weight:500}.quick-actions{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.contact-row,.detail-record,.file-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:15px 2px;font-size:14px}.contact-row>a,.detail-record>span:last-child,.file-row>span{margin-right:auto}.contact-row>span{color:var(--muted)}.archive-box{margin-top:30px;border-top:1px solid var(--line);padding-top:20px}.archive-box .btn{margin:8px 0 0 8px}.archive-box p{font-size:14px}.history-list{margin-top:20px}.history-list article{display:flex;align-items:flex-start;gap:13px;padding:22px 0;border-bottom:1px solid var(--line)}.history-list article>svg{margin-top:7px;color:var(--orange)}.history-list strong{display:block;margin:4px 0;font-size:16px}.history-list small{color:var(--muted)}.history-list p{font-size:14px;white-space:pre-wrap}.file-upload{display:inline-flex;align-items:center;gap:8px;padding:12px 17px;border:1px dashed #a6b9d5;border-radius:10px;background:#f8faff;color:var(--navy);cursor:pointer}.file-upload input{width:215px;padding:4px;min-height:32px;font-size:13px}.file-row strong{overflow-wrap:anywhere}.file-row:hover{background:#fafcff}.file-upload+.muted{margin:10px 0}.kanban-board{display:flex;gap:15px;overflow-x:auto;padding:23px;align-items:flex-start;min-height:390px;background:#fcfdff}.kanban-column{flex:0 0 260px;background:#f2f5fa;border:1px solid #e6edf6;border-radius:12px;min-height:330px;padding:12px}.kanban-column>header{display:flex;align-items:center;gap:8px;padding:6px 3px 17px;font-size:14px}.kanban-column header i{width:8px;height:8px;border-radius:50%}.kanban-column header b{margin-right:auto;color:#7d8eaa;font-size:13px;font-weight:500}.opportunity-card{display:block;width:100%;text-align:right;background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:11px;box-shadow:0 3px 9px #19345507}.opportunity-card:hover{border-color:#b8c9e4;box-shadow:0 4px 12px #19345512}.opportunity-card h3{margin:10px 0 2px;font-size:16px;white-space:normal}.opportunity-card p{font-size:13px;color:var(--muted)}.opportunity-card>strong{font-size:16px;display:block;margin-top:11px}.opportunity-card footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:10px;color:#72829b;font-size:13px}.form-section-title{margin:26px 0 14px;border-top:1px solid var(--line);padding-top:20px}.quote-items{display:grid;gap:10px}.quote-item{display:grid;grid-template-columns:2.5fr .8fr .8fr 1.7fr 40px;gap:10px;align-items:end;background:#f8faff;padding:14px;border:1px solid var(--line);border-radius:12px}.quote-item label{font-size:13px}.quote-add{display:flex;gap:12px;margin:15px 0 23px;align-items:center}.quote-add select{max-width:320px;font-size:14px}.quote-finance{background:#fafbfd;padding:18px;border-radius:12px;border:1px solid var(--line)}.quote-total{display:flex;flex-direction:column;justify-content:center;padding:5px 12px;border-right:3px solid var(--orange);background:#fff3ec;border-radius:8px}.quote-total small{color:#9f674c}.quote-total strong{font-size:20px;color:#ab4d24}.print-tools{padding:18px 25px;border-bottom:1px solid var(--line)}.print-document{padding:30px 35px;background:#fff;color:#172c46}.print-document>header{display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid var(--orange);padding-bottom:22px}.print-document header img{width:210px;height:auto;max-height:100px;object-fit:contain}.print-document header img[src$=".svg"]{width:80px;max-height:100px}.print-document header p{font-size:13px}.print-customer{margin:22px 0}.print-customer p{font-size:14px}.print-document table{white-space:normal;border:1px solid var(--line);font-size:13px}.print-document td,.print-document th{padding:10px}.print-totals{width:min(360px,100%);margin:22px 0 20px auto}.print-totals p{display:flex;justify-content:space-between;gap:24px;font-size:14px;border-bottom:1px solid var(--line);padding:6px 3px}.print-totals p:nth-child(5){color:var(--navy);font-size:16px;background:#eef3fc;padding:10px}.print-document>p{font-size:14px;margin:10px 0}.print-document>footer{border-top:1px solid var(--line);padding:22px 0 0;margin-top:30px;font-size:14px}.followup-cards{padding:8px 22px}.followup-cards>article{display:flex;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.followup-cards>article:last-child{border:0}.check-task{width:26px;height:26px;border:2px solid #cdd8e8;border-radius:8px;flex-shrink:0;display:grid;place-items:center}.check-task.done{background:#1f9570;color:#fff;border-color:#1f9570}.followup-main{flex:1;min-width:180px}.followup-main p{font-size:14px;color:var(--muted);margin:3px 0}.followup-main small{display:block;white-space:pre-wrap;font-size:13px}.priority{font-size:13px;background:#f4f6fa;padding:3px 9px;border-radius:6px}.followup-cards time{font-size:13px;white-space:nowrap;color:#6b7d97}.followup-cards .overdue time{color:#b44753}.overdue .check-task{border-color:#e4a7ac}.calendar{margin:22px auto;max-width:700px;border:1px solid var(--line);border-radius:13px;overflow:hidden}.calendar>header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--line)}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--line)}.calendar-grid>small{background:#f8faff;text-align:center;padding:11px;font-size:14px;color:var(--muted)}.calendar-grid>span{background:#fafbfd}.calendar-grid>button{background:#fff;min-height:80px;padding:11px 5px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:16px}.calendar-grid>button:hover{background:#fff4ee}.calendar-grid>button.selected{background:#edf3fe;box-shadow:inset 0 0 0 2px var(--navy)}.calendar-grid>button b{font-size:11px;color:var(--orange);font-weight:500}.calendar~.btn{margin:0 22px 16px}.chat-layout{display:grid;grid-template-columns:235px minmax(0,1fr);height:min(660px,calc(100dvh - 245px));min-height:450px}.chat-channels{border-left:1px solid var(--line);background:#fafbfd;padding:22px 14px;overflow-y:auto}.chat-channels .eyebrow{display:block;margin:5px 12px 12px;color:#8191a9;font-size:13px}.chat-channels .eyebrow:not(:first-child){margin-top:24px}.chat-channels button{width:100%;padding:12px 11px;display:flex;align-items:center;gap:9px;border-radius:9px;text-align:right;font-size:14px;margin:3px 0;color:#607592}.chat-channels button.active{background:#eaf0fc;color:var(--navy);font-weight:600}.chat-channels button:hover{background:#eff3fb}.chat-channels p{font-size:13px;padding:0 12px}.chat-main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.chat-main>header{display:flex;align-items:center;gap:11px;padding:20px 23px;border-bottom:1px solid var(--line);flex-shrink:0}.chat-main>header strong{font-size:16px}.chat-main>header small{margin-right:auto;font-size:12px;color:var(--muted)}.message-stream{flex:1;overflow-y:auto;padding:23px;display:flex;flex-direction:column;gap:15px;background:linear-gradient(#fbfcfe,#f7f9fd)}.message-stream>article{align-self:flex-start;max-width:85%;background:#fff;border:1px solid var(--line);border-radius:14px 4px 14px 14px;padding:11px 17px;min-width:130px;overflow-wrap:anywhere}.message-stream>article.mine{align-self:flex-end;background:#eaf1ff;border-color:#d7e5fd;border-radius:4px 14px 14px}.message-stream>article small{color:#49699c;font-size:12px}.message-stream>article p{font-size:15px;white-space:pre-wrap;margin:4px 0}.message-stream>article time{display:block;font-size:11px;color:#8194ae}.message-stream .empty-state{margin:auto}.chat-compose{display:flex;gap:12px;padding:17px 20px;align-items:center;border-top:1px solid var(--line)}.chat-compose textarea{min-height:55px;height:55px;max-height:120px;font-size:14px}.chat-main>.inline-notice{margin:8px 20px;font-size:13px;padding:6px 12px}.settings-body{padding:28px}.profile-summary{display:flex;gap:17px;align-items:center;padding-bottom:26px;margin-bottom:24px;border-bottom:1px solid var(--line)}.profile-summary h3{font-size:20px}.profile-summary p{font-size:14px;color:var(--muted);margin-top:5px}.settings-help{font-size:14px;color:#6f829e;margin-bottom:23px}.users-grid{display:grid;gap:13px;margin-bottom:32px}.users-grid>article{display:flex;gap:13px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:17px}.users-grid strong{font-size:16px}.users-grid p,.users-grid small{font-size:13px;color:var(--muted)}.user-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-right:auto}.settings-body>h3{margin:26px 0 17px}.company-settings{padding:22px;border:1px solid var(--line);border-radius:13px;background:#fafbfd;display:grid;gap:18px}.company-settings>.brand-badge{justify-self:start;font-size:14px}.settings-body form>.muted{margin:20px 0}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.report-grid>.panel{margin:0}.report-bars{padding:23px}.report-bar{display:grid;grid-template-columns:130px 1fr 30px;align-items:center;gap:14px;font-size:14px;margin:19px 0}.report-bar>div{height:9px;border-radius:20px;background:#edf2fa;overflow:hidden}.report-bar>div>i{height:100%;background:var(--navy);display:block;border-radius:20px}.report-bar b{font-weight:500;color:var(--muted)}.loss-reasons{padding:20px 24px}.loss-reasons>article{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}.loss-reasons>article:last-child{border:0}.loss-reasons p{flex:1}table{font-size:14px}th{font-size:13px;color:#677b98}.table-tools .btn,.table-tools>select,.search-input input{font-size:14px}.brand-badge,.status-chip{font-size:13px}.sidebar-user strong{font-size:14px}.sidebar-user small{font-size:13px}.global-search input,.company-switch select{font-size:14px}.customer-link small,.record-code{font-size:13px}.metric-card small{font-size:14px}.metric-card p,.dashboard-tasks small{font-size:13px}.dashboard-tasks strong{font-size:15px}.metric-card strong{font-size:27px}.panel-heading p{font-size:13px}.row-title{font-size:15px}@media(max-width:1000px){.followup-cards>article{flex-wrap:wrap}.followup-main{flex-basis:calc(100% - 60px)}.followup-cards time{margin-right:auto}.chat-layout{grid-template-columns:195px minmax(0,1fr)}.chat-main>header{flex-wrap:wrap;gap:7px}.chat-main>header small{flex-basis:100%;margin-right:31px}.report-grid{grid-template-columns:1fr}.quote-item{grid-template-columns:2fr 1fr 1fr 35px}.quote-item>label:nth-child(1){grid-column:1/4}.quote-item>.icon-btn{grid-row:1;grid-column:4;align-self:center}.quote-item>label:nth-child(4){grid-column:2/4}.quote-item>label:nth-child(3){grid-row:3;grid-column:1}}@media(max-width:640px){.customer-cover{padding:19px;gap:13px;flex-wrap:wrap}.customer-cover h3{font-size:19px}.customer-cover>.btn{margin:3px 0 0;width:100%}.detail-body{padding:20px 18px}.details-grid{gap:12px;grid-template-columns:1fr}.contact-row,.detail-record{flex-wrap:wrap}.quick-actions .btn{flex:1}.kanban-board{padding:15px}.kanban-column{flex-basis:250px}.quote-add{flex-wrap:wrap}.quote-add select{max-width:none}.quote-finance{padding:14px}.followup-cards{padding:5px 16px}.followup-cards>article{gap:10px}.followup-main{min-width:150px}.calendar{margin:18px 12px}.calendar-grid>button{min-height:66px;font-size:14px}.calendar-grid>button b{font-size:9px}.calendar>header{padding:10px 12px}.chat-layout{display:flex;flex-direction:column;height:calc(100dvh - 260px);min-height:550px}.chat-channels{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;border-left:0;border-bottom:1px solid var(--line);padding:10px;flex-shrink:0;gap:5px}.chat-channels .eyebrow,.chat-channels p{display:none}.chat-channels button{width:auto;flex-shrink:0;padding:8px 10px;margin:0;font-size:13px;white-space:nowrap}.chat-main{flex:1}.chat-main>header{padding:14px 16px}.message-stream{padding:15px}.message-stream>article{max-width:93%}.chat-compose{padding:13px;gap:8px}.chat-compose>.btn{width:47px;padding:9px;font-size:0;gap:0}.chat-compose>.btn svg{width:19px}.settings-body{padding:20px 18px}.users-grid>article{flex-wrap:wrap}.user-actions{width:100%;align-items:flex-start;margin:5px 53px 0 0}.company-settings{padding:16px}.print-document{padding:20px 18px}.print-document header img{width:150px}.print-document table{font-size:11px}.print-document td,.print-document th{padding:7px 4px}.print-totals{width:100%}.report-bars{padding:18px}.report-bar{grid-template-columns:105px 1fr 24px;gap:9px}.nav-item{font-size:15px}.metric-card small{font-size:13px}.metric-card p{font-size:12px}.metric-card strong{font-size:22px}.section-heading p,.section-heading>.btn{font-size:13px}.welcome-card p,.dashboard-tasks strong{font-size:14px}.dashboard-tasks small{font-size:12px}}@media print{@page{size:A4;margin:14mm}html,body{background:#fff!important;font-size:12pt}body:has(.print-document)>*{display:none!important}body:has(.print-document)>.crm-dialog:has(.print-document){display:block!important}.crm-dialog{position:absolute!important;inset:0!important;margin:0!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}.crm-dialog::backdrop{display:none}.dialog-title,.print-tools{display:none!important}.print-document{padding:0!important;color:#172c46!important}.print-document table{font-size:10pt}.print-document header{break-after:avoid}.print-document tr{break-inside:avoid}.print-document th{background:#eef3fa!important;print-color-adjust:exact}.print-totals{break-inside:avoid}.print-document>footer{break-inside:avoid}.print-document header img{width:180px}.print-document header img[src$=".svg"]{width:70px}.print-totals p:nth-child(5){background:#eef3fc!important;print-color-adjust:exact}}.report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.report-summary>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px}.report-summary small{display:block;color:var(--muted);font-size:14px}.report-summary strong{display:block;font-size:24px;margin-top:10px}.reports-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.stage-chart{padding:20px 24px}.stage-chart article{margin:15px 0 24px}.stage-chart article>div{display:flex;gap:12px;align-items:center;margin-bottom:12px;font-size:14px}.stage-chart article strong{margin-right:auto}.chart-track{display:block;background:#f0f3f9;height:9px;border-radius:20px;overflow:hidden}.chart-track i{display:block;height:100%;border-radius:20px}.performance-list{padding:8px 22px}.performance-list article{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:17px 0;font-size:13px;flex-wrap:wrap}.performance-list article>strong{margin-left:auto;font-size:14px}.performance-list article:last-child{border:0}.history-list .row-title{display:block;margin:4px 0}@media(max-width:1000px){.report-summary{grid-template-columns:1fr 1fr}.reports-grid{grid-template-columns:1fr}.report-summary strong{font-size:21px}}@media(max-width:640px){.report-summary{gap:10px}.report-summary>div{padding:17px}.report-summary small{font-size:13px}.report-summary strong{font-size:19px}.stage-chart{padding:18px}.stage-chart article>div{font-size:13px}.performance-list{padding:5px 18px}.file-upload{flex-wrap:wrap;max-width:100%}}@media print{.sidebar,.topbar,.workspace-footer,.section-heading>.btn,.table-tools{display:none!important}.main-area{margin:0!important;width:100%!important}.content{padding:0!important}.panel{box-shadow:none!important;break-inside:avoid}.report-summary{print-color-adjust:exact}.reports-grid{grid-template-columns:1fr 1fr}.btn,.icon-btn{display:none!important}.print-document img{display:block!important}}body:has(.workspace[data-brand=safir]){--navy: #29245b;--navy-dark: #211d4b;--orange: #009f99;--teal: #009f99;--ink: #292848;--bg: #f5f7f8;--line: #e6e8ef}body:has(.workspace[data-brand=tivan]){--navy: #102f80;--navy-dark: #102763;--orange: #f15823}.combined-brand{display:flex!important;justify-content:center;align-items:center;gap:22px;width:100%;margin-bottom:30px!important}.combined-brand img{width:42%!important;max-width:175px!important;height:65px!important;object-fit:contain}.brand-divider{font-size:24px;font-weight:300;color:#a0a7b5}.login-story{background:linear-gradient(155deg,#102f80,#26245a 55%,#087e7a)!important}.story-top .caps{letter-spacing:2px}.story-copy em{color:#ffc18a!important}.sidebar-brand>.sidebar-safir-logo{width:186px;max-height:72px;object-fit:contain;margin:8px auto 14px}.sidebar-brand>div span{font-size:13px}.sidebar-section-label{font-size:12px}.nav-item{font-size:15px}.safir-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0}.safir-metrics article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;position:relative;display:flex;flex-direction:column;gap:9px;box-shadow:0 4px 18px #29245b05}.safir-metrics article>span{color:var(--muted);font-size:14px}.safir-metrics article>strong{font-size:25px;letter-spacing:-.6px}.safir-metrics article>svg{position:absolute;left:22px;top:22px;stroke:var(--teal);width:22px;opacity:.65}.safir-list-tools{display:flex;gap:16px;justify-content:space-between;align-items:center;margin:20px 0}.safir-list-tools>input{max-width:470px;width:100%;background:#fff}.safir-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.safir-case-card{background:#fff;text-align:right;padding:24px;border:1px solid var(--line);border-radius:18px;box-shadow:0 6px 20px #29245b05;transition:transform .15s,border-color .15s;overflow:hidden}.safir-case-card:hover{transform:translateY(-3px);border-color:var(--teal)}.safir-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.safir-case-icon{background:#edf8f7;border-radius:13px;width:46px;height:46px;display:grid;place-items:center;color:var(--teal)}.safir-case-card h3{font-size:19px;margin:0 0 6px}.safir-case-card p{font-size:14px;color:var(--muted);margin:0 0 14px}.safir-address{display:flex;gap:7px;align-items:flex-start;font-size:14px;min-height:46px}.safir-case-card>small{font-size:13px;color:var(--muted)}.safir-progress{height:4px;margin:20px 0 12px;border-radius:4px;background:#eef1f4;overflow:hidden}.safir-progress i{display:block;background:var(--teal);height:100%}.safir-case-card footer{display:flex;justify-content:space-between;gap:10px;font-size:13px;font-weight:500}.safir-summary{margin-bottom:20px;padding:22px}.safir-summary h3{margin:0 0 18px}.safir-action-row{display:flex;align-items:center;justify-content:space-between;text-align:right;width:100%;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}.safir-action-row small{display:block;color:var(--muted);font-size:13px}.safir-case-heading{display:flex;justify-content:space-between;gap:30px;margin:16px 0 26px}.safir-case-heading h2{font-size:28px;margin:9px 0}.safir-case-heading p{display:flex;gap:8px;align-items:center;font-size:15px;margin:6px 0;color:var(--muted)}.safir-case-heading>div:last-child{display:flex;align-items:flex-end;flex-direction:column;gap:7px;min-width:200px}.safir-case-heading strong{font-size:23px}.safir-case-heading strong small{display:block;font-weight:400;font-size:13px}.safir-case-heading small{color:var(--muted)}.safir-tabs{overflow-x:auto;flex-wrap:nowrap!important;padding:0 20px}.safir-tabs button{white-space:nowrap;min-height:58px;font-size:15px}.safir-process{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:520px}.safir-step-list{border-left:1px solid var(--line);padding:23px 16px;background:#fcfdfd;border-radius:0 0 18px}.safir-step-list>button{display:flex;align-items:center;gap:11px;width:100%;padding:15px 12px;margin-bottom:8px;border-radius:12px;text-align:right;color:var(--muted)}.safir-step-list>button.selected{background:#e9f6f4;color:#086f6c}.safir-step-list>button.locked{opacity:.7}.safir-step-list>button>div{flex:1}.safir-step-list strong{font-size:14px;font-weight:600}.safir-step-list small{font-size:12px;display:block}.safir-step-number{width:29px;height:29px;flex-shrink:0;display:grid;place-items:center;border:1px solid #dce4e9;border-radius:50%;font-size:13px}.selected .safir-step-number{border-color:#0a9a93;color:#0a9a93}.safir-gate-note{font-size:12px;line-height:1.9;color:var(--muted);padding:16px 12px;display:flex;gap:8px;border-top:1px solid var(--line);margin-top:20px}.safir-gate-note svg{flex-shrink:0;margin-top:4px}.safir-stage-body{padding:28px}.safir-stage-body>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.safir-stage-body h3{font-size:23px;margin:3px 0}.safir-task{display:flex;align-items:flex-start;gap:14px;width:100%;text-align:right;padding:17px 0;border-bottom:1px solid #edf0f3}.safir-task>span:first-child{padding-top:3px;color:var(--teal);width:22px;flex-shrink:0}.safir-task>div{flex:1}.safir-task strong{font-size:15px;font-weight:500}.safir-task small{font-size:12px;color:var(--muted);display:block;margin-top:5px}.safir-task p{font-size:13px;margin:7px 0;color:#6f7488;white-space:pre-wrap}.safir-task>svg{color:#b2b9c6;margin-top:7px;flex-shrink:0}.safir-task.done strong{color:#167c76}.safir-task-circle{display:block;border:1.5px solid #c6cfd8;border-radius:50%;height:19px;width:19px}.safir-stage-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.safir-report{background:#f3f7f8;border-radius:12px;padding:18px 22px;margin-top:24px}.safir-report h4{margin:0 0 8px}.safir-report p{white-space:pre-wrap}.safir-report small{color:var(--muted)}.safir-tab-body{padding:26px}.safir-tab-body>.section-heading{margin-bottom:22px}.safir-tab-body h3{font-size:20px}.safir-statement{display:flex;gap:18px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:20px 0}.safir-statement>div:first-child{flex:1;min-width:0}.safir-statement p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.safir-statement small{display:block;color:var(--muted);font-size:12px}.safir-visit{display:flex;align-items:flex-start;gap:16px;padding:22px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.safir-visit>div:first-child{flex:1;min-width:220px}.safir-visit p{margin:10px 0 0;white-space:pre-wrap}.safir-visit small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.safir-event{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.safir-event svg{margin-top:5px;color:var(--teal)}.safir-event small{display:block;color:var(--muted);font-size:13px}.safir-sms-form{margin-bottom:24px}.safir-sms-form label{display:flex;flex-direction:column;gap:10px}.safir-sms-form .btn{margin-top:14px}.project-chat{grid-template-columns:1fr!important;border:0!important;box-shadow:none!important}.chat-attachment img,.chat-attachment video{display:block;max-width:300px;width:100%;max-height:260px;object-fit:contain;border-radius:10px;margin:10px 0}.chat-attachment a{display:block;text-decoration:underline;font-size:13px;overflow-wrap:anywhere}.chat-file-button{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;border:1px solid var(--line);padding:8px 12px;border-radius:10px;max-width:180px;font-size:13px}.chat-file-button input{display:none}.chat-file-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-compose{flex-wrap:wrap}.check-label{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}.check-label input{width:18px;min-height:18px}.dialog-form fieldset{border:0;padding:0;margin:0;min-width:0}@media(min-width:1024px){.workspace{font-size:16px}.workspace table th{font-size:14px}.workspace table td,.workspace .row-title{font-size:15px}.workspace .btn{font-size:14px}.workspace input,.workspace select,.workspace textarea,.crm-dialog input,.crm-dialog select,.crm-dialog textarea{font-size:15px}.workspace .record-code{font-size:12px}.workspace .page-title h1{font-size:24px}.workspace .sidebar-user small{font-size:12px}.workspace .kpi-card small{font-size:13px}.workspace .section-heading p{font-size:15px}}@media(max-width:1200px){.safir-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.safir-process{grid-template-columns:230px minmax(0,1fr)}.safir-stage-body{padding:22px}.safir-metrics article>strong{font-size:21px}}@media(max-width:760px){.safir-metrics{gap:9px;margin:16px 0;grid-template-columns:1fr 1fr}.safir-metrics article{padding:16px}.safir-metrics article:nth-child(2){grid-column:1/-1;grid-row:2}.safir-metrics article>strong{font-size:21px}.safir-metrics article>svg{left:14px;top:16px;width:17px}.safir-metrics article>span{font-size:12px}.safir-case-grid{grid-template-columns:1fr}.safir-list-tools{flex-direction:column;align-items:stretch;gap:10px}.safir-case-heading{flex-direction:column;gap:12px}.safir-case-heading>div:last-child{align-items:flex-start}.safir-case-heading h2{font-size:24px}.safir-case-heading p{flex-wrap:wrap}.safir-process{grid-template-columns:1fr}.safir-step-list{display:flex;overflow-x:auto;gap:8px;padding:15px;border:0;border-bottom:1px solid var(--line);border-radius:0}.safir-step-list>button{min-width:175px;margin:0;padding:10px}.safir-gate-note{display:none}.safir-stage-body{padding:18px}.safir-stage-body h3{font-size:20px}.safir-task strong{font-size:14px}.safir-tab-body{padding:18px}.safir-statement{flex-wrap:wrap;gap:10px}.safir-statement>div:first-child{flex-basis:100%}.safir-summary{padding:16px}.safir-action-row{flex-wrap:wrap}.safir-action-row>span:first-child{flex-basis:100%}.combined-brand{gap:14px}.combined-brand img{height:52px!important}.chat-file-button{max-width:150px}.chat-compose textarea{flex-basis:100%}}.login-story{color:#edf5ff!important}.login-story .story-copy h2{color:#fff}.login-story .story-copy p{color:#c9d7eb}.login-story .caps,.login-story .live-dot,.login-story .story-bottom{color:#c8d9ed}.login-story .story-bottom{border-color:#ffffff26}.identity-art{position:relative;min-height:320px;flex:1;display:flex;align-items:center;justify-content:center;margin:20px 0 30px;isolation:isolate}.lift-frame{height:260px;width:240px;border:1px solid #ffffff50;border-radius:100px 100px 12px 12px;display:flex;padding:42px 32px 16px;gap:4px;background:linear-gradient(145deg,#ffffff0a,#ffffff02);transform:translate(35px)}.lift-frame span{display:block;flex:1;border:1px solid #ffffff35;background:linear-gradient(150deg,#ffffff18,#ffffff02);border-radius:50px 4px 4px}.lift-frame span:last-child{border-radius:4px 50px 4px 4px}.lift-route{position:absolute;width:200px;top:12%;left:20%;display:flex;flex-direction:column;gap:24px;transform:rotate(-12deg)}.lift-route i{height:1px;background:linear-gradient(90deg,#00b4ab,#ff922e);opacity:.8}.lift-route i:nth-child(2){width:80%}.lift-route i:nth-child(3){width:60%}.lift-route i:nth-child(4){width:40%}.lift-route i:nth-child(5){width:20%}.identity-caption{position:absolute;bottom:0;right:0;display:flex;flex-direction:column;gap:7px}.identity-caption strong{font-size:21px;color:#fff;font-weight:500}.identity-caption span{font-size:13px;color:#cadbed}@media(max-width:760px){.identity-art{display:none}}.login-story .story-bottom span{color:#c8d9ed}.password-field{position:relative}.password-field input{width:100%;padding-left:48px}.password-eye{position:absolute;left:8px;top:50%;transform:translateY(-50%);touch-action:manipulation}.combined-brand{background:#fff;align-items:center;gap:22px}.combined-brand img{width:170px;height:82px;object-fit:contain;max-width:42%}.sidebar-brand img{background:#fff;border-radius:6px;object-fit:contain}.daily-occasion{display:block;font-size:12px;font-weight:400;color:#69768a;max-width:250px;line-height:1.7}.wins-feed,.anniversary-feed{margin:16px 0;padding:18px 22px}.wins-feed{border-right:4px solid #159a89;background:linear-gradient(90deg,#fff,#f2fbf8)}.wins-feed p{font-size:14px;margin:10px 0}.wins-feed p span{color:#159a89}.anniversary-feed .text-btn{margin:8px 0 8px 16px}.v2-settings,.contractor-panel,.initial-visits{padding:22px;margin:18px 0}.v2-settings .tabs{overflow-x:auto}.permissions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 0}.permissions-grid label{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:13px}.permissions-grid input[type=checkbox],.tag-choices input[type=checkbox],.check-line input[type=checkbox]{width:18px;min-width:18px;height:18px;accent-color:var(--primary,#12327f)}.settings-role{border:1px solid #e7eaf0;margin:12px 0;padding:16px;border-radius:12px}.settings-role summary,.elevator-fields summary{cursor:pointer;font-weight:600}.settings-role[open] summary{margin-bottom:16px}.tag-choices{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.tag-choices label{display:flex;align-items:center;gap:7px;border:1px solid #e4e8ef;border-radius:8px;padding:8px 12px;font-size:14px}.tag-choices i,.tag-dots i{width:9px;height:9px;border-radius:50%;display:inline-block}.tag-dots{display:inline-flex;gap:4px;margin:0 7px}.tag-editor,.extra-row,.occasion-editor{display:flex;gap:10px;align-items:center;margin:10px 0}.tag-editor input[type=color]{width:45px;min-width:45px;padding:3px}.occasion-editor input[type=number]{max-width:90px}.elevator-fields{border:1px solid #e1e6ed;border-radius:12px;padding:15px;margin:18px 0}.elevator-fields[open] summary{margin-bottom:16px}.check-line{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;margin:16px 0}.visit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.visit-card,.wage-card{padding:18px;border:1px solid #e1e6ef;border-radius:13px;background:#fff;min-width:0;overflow-wrap:anywhere}.visit-card h3,.visit-card h4,.wage-card h4{font-size:16px;margin:14px 0}.visit-card p,.wage-card p{font-size:14px;line-height:1.8}.visit-card small,.wage-card small{display:block;color:#778292;margin:8px 0}.wage-card{margin:14px 0}.report-text,.project-comment{white-space:pre-wrap;background:#f6f8fc;padding:12px;border-radius:8px}.visit-row{display:flex;flex-wrap:wrap;align-items:center;gap:15px;padding:12px}.bank-details{font-size:13px;direction:ltr}.project-comment{margin:12px 0}.project-comment small{display:block;font-size:12px;color:#768292}.visit-card progress{width:100%;accent-color:#009d8c;margin:12px 0}.notification-item{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:7px;border:1px solid #e3e8ef;border-radius:10px;margin:10px 0;padding:15px;text-align:right;background:#fff}.notification-item.unread{background:#f0f5ff;border-color:#cddafa}.notification-item small,.contact-counter{font-size:12px;color:#768292}.contact-counter{display:block;margin:6px 0}.v2-settings textarea{min-height:140px}.v2-settings table input{min-width:90px}.v2-settings .section-heading{flex-wrap:wrap}@media(max-width:1050px){.visit-grid,.permissions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.visit-grid,.permissions-grid{grid-template-columns:1fr}.v2-settings,.contractor-panel,.initial-visits{padding:16px}.combined-brand img{width:145px;height:75px}.tag-editor,.extra-row,.occasion-editor{flex-wrap:wrap}.extra-row input{min-width:0;flex:1 1 140px}.occasion-editor input:not([type=number]){flex:1 1 100%;order:1}.permissions-grid label{font-size:14px}.visit-card p{font-size:15px}.daily-occasion{font-size:12px;max-width:100%}.v2-settings .form-grid{grid-template-columns:1fr}.tag-choices label{font-size:14px;padding:7px 10px}}@media print{.print-document{font-size:14px}.print-document small{font-size:11px}.print-document,.print-document table{page-break-inside:auto}.print-document tr{page-break-inside:avoid}}.installation-stage-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:20px 0}.installation-stage-summary article{padding:14px;border:1px solid var(--line);border-radius:12px;display:flex;gap:14px;justify-content:space-between;align-items:center}.installation-stage-summary span{font-size:14px}@media(max-width:640px){.welcome-card{display:flex;flex-direction:column;gap:18px}.welcome-date{display:flex!important;gap:6px;min-width:0;text-align:right;align-items:flex-start;width:100%;border-top:1px solid #dde6f1;padding-top:14px}.welcome-date>svg,.welcome-date>span{display:none}.welcome-date strong{font-size:13px}.dashboard-grid{grid-template-columns:1fr}}.wage-total{display:block;padding:14px;background:#f2f6fc;border-radius:10px;font-weight:600;margin:14px 0}:root{--ink:#2e3046;--muted:#7a7e91;--line:#eeeef4;--bg:#f6f7fb;--radius:18px;--shadow:0 5px 22px #25234905;--accent-soft:#eaf0fb;--accent-faint:#f4f7fd;--sidebar-size:226px}:root[data-brand=safir]{--navy:#29235c;--navy-dark:#29235c;--orange:#fa810a;--accent-soft:#efedf8;--accent-faint:#f7f6fc}body:has(.workspace){--ink:#2e3046;--line:#eeeef4;--bg:#f6f7fb}body:has(.workspace[data-brand=safir]){--navy:#29235c;--navy-dark:#29235c;--orange:#fa810a;--accent-soft:#efedf8;--accent-faint:#f7f6fc}.workspace .sidebar{left:0;right:auto;width:var(--sidebar-size);padding:26px 14px 16px;background:#fff;color:var(--muted);border-right:1px solid var(--line)}.workspace .main-area{width:calc(100% - var(--sidebar-size));margin-left:var(--sidebar-size);margin-right:0}.workspace .sidebar-brand{padding:5px 12px 13px;border-radius:0;margin-bottom:22px;background:#fff}.workspace .sidebar-brand>img{width:119px;height:48px;object-fit:contain;margin:0 auto 10px}.workspace .sidebar-brand>.sidebar-safir-logo{width:132px;height:49px}.workspace .sidebar-brand>div{border:0;padding:0}.workspace .sidebar-brand>div span{font-size:10px;color:#a0a2b0}.workspace .sidebar-section-label{font-size:10px;color:#a3a5b2;margin-bottom:12px}.workspace .sidebar nav{scrollbar-color:#dddbea transparent}.workspace .nav-item{color:#7f8293;border-radius:12px;padding:10px 13px;margin:3px 0;font-size:13px;min-height:44px}.workspace .nav-item:hover{background:var(--accent-faint);color:var(--navy)}.workspace .nav-item.active{background:var(--accent-soft);color:var(--navy)}.workspace .nav-item>svg:last-child:not(:first-child){margin-right:auto}.workspace-nav-sub{margin:3px 24px 8px 7px;padding-right:9px;border-right:1px solid #e5e3ee}.workspace-nav-sub button{display:block;text-align:right;width:100%;font-size:12px;color:var(--muted);padding:8px 10px;border-radius:9px;min-height:37px}.workspace-nav-sub button:hover,.workspace-nav-sub button.selected{background:var(--accent-faint);color:var(--navy)}.workspace .sidebar-user{border-top:1px solid var(--line);color:var(--ink)}.workspace .sidebar-user small{color:var(--muted);font-size:10px}.workspace .sidebar-user>.icon-btn{color:var(--muted);background:transparent}.avatar{background:var(--accent-soft);color:var(--navy);overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.workspace .topbar{min-height:86px;padding:17px 30px}.workspace .page-title h1{font-size:18px}.workspace .page-title span{font-size:9px;letter-spacing:1.2px;color:#9393a5}.workspace .content{padding:28px 30px}.workspace .global-search{background:#f8f8fb;border-color:var(--line)}.workspace .company-switch{border-radius:11px}.workspace .notification-btn{color:var(--navy);background:var(--accent-faint);border:1px solid var(--line);border-radius:12px}.notification-count{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;border:2px solid #fff;border-radius:6px;background:var(--orange);color:#fff;font-size:10px;line-height:14px}.panel,.metric-card{border-color:var(--line);box-shadow:var(--shadow)}.metric-card{border-radius:18px}.welcome-card{background:var(--accent-faint);border-color:var(--line)}.welcome-card:after{display:none}.welcome-card h2{color:var(--ink);font-size:26px}.metric-icon{background:var(--accent-soft);color:var(--navy)}.btn-primary{background:var(--navy);border-color:var(--navy)}.tabs{gap:6px}.tabs .active{color:var(--navy)}.profile-photo-editor{display:flex;align-items:center;gap:20px;margin-bottom:25px;padding-bottom:23px;border-bottom:1px solid var(--line)}.profile-photo-editor p{font-size:12px;color:var(--muted);margin:6px 0 12px}.profile-photo-editor .avatar{flex-shrink:0}.service-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.service-overview article{position:relative;background:#fff;padding:20px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.service-overview svg{position:absolute;left:18px;top:18px;width:33px;height:33px;padding:7px;border-radius:10px;color:var(--navy);background:var(--accent-soft)}.service-overview span{font-size:12px;color:var(--muted);display:block;padding-left:30px}.service-overview strong{display:block;font-size:26px;margin-top:8px}.service-overview strong.money{font-size:18px}.service-tabs{background:#eeedf5;border:0;border-radius:13px;padding:5px;overflow-x:auto;width:max-content;max-width:100%;margin-bottom:20px}.service-tabs button{white-space:nowrap;border:0;border-radius:9px;font-size:12px;padding:9px 16px}.service-tabs button.active{background:#fff;box-shadow:0 2px 6px #29235c08}.service-tools{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin-bottom:22px}.service-tools .search-input{height:46px;background:#fff;min-width:180px}.service-tools>label:not(.search-input){font-size:11px;min-width:240px}.service-tools>select{max-width:200px}.service-plan-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--accent-faint);padding:20px 23px;border:1px solid var(--line);border-radius:16px;margin-bottom:21px}.service-plan-banner p{font-size:12px;color:var(--muted);margin-top:4px}.service-plan-banner .table-actions{flex-wrap:wrap;flex-shrink:0}.service-visit-grid,.service-contract-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.service-visit-card,.service-contract-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:21px;min-width:0}.service-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px;font-size:11px;color:var(--muted)}.service-visit-card h3,.service-contract-card h3{font-size:16px;margin-bottom:8px}.service-visit-card p,.service-contract-card p{font-size:12px;color:var(--muted);margin:7px 0}.service-visit-card small,.service-contract-card small{font-size:11px;color:var(--muted);display:block}.service-card-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.service-card-actions .btn,.service-contract-card .btn{font-size:11px;min-height:38px;padding:8px 11px}.service-contract-card>svg{padding:7px;background:#e5f5f1;color:#00847f;border-radius:10px;box-sizing:content-box;margin-bottom:13px}.service-contract-card dl,.service-review dl{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:12px;margin:18px 0}.service-contract-card dt,.service-review dt{color:var(--muted)}.service-contract-card dd,.service-review dd{margin:0;text-align:left}.service-tab-action{margin:18px 0}.service-context{background:var(--accent-faint);padding:16px 19px;border-radius:13px;margin-bottom:22px}.service-context p{font-size:12px;color:var(--muted);margin:5px 0}.service-context small{display:block;font-size:11px;color:var(--muted)}.service-hint{background:#fffbf1;color:#877c68!important;padding:12px 14px;border-radius:11px;font-size:12px;margin:12px 0}.report-steps{display:flex;gap:8px;margin:15px 0 24px;overflow-x:auto}.report-steps button{min-width:90px;flex:1;display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;padding:9px;border-radius:10px;color:var(--muted)}.report-steps span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#f0eff5}.report-steps button.current{background:var(--accent-soft);color:var(--navy)}.report-steps button.current span{background:var(--navy);color:#fff}.service-checklist{display:grid;gap:12px}.service-checklist section{padding:15px;border:1px solid var(--line);border-radius:12px}.service-checklist section>div{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px}.service-checklist strong{font-size:13px}.service-checklist select{width:145px;font-size:12px}.service-checklist input{font-size:12px}.service-location{display:flex;gap:14px;align-items:center;font-size:12px;color:var(--muted)}.voice-feedback{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.voice-feedback label{font-size:12px;flex:1;min-width:160px}.voice-feedback input{font-size:12px}.voice-feedback audio{width:100%}.signature-box{border:1px solid var(--line);border-radius:12px;padding:10px;margin-top:12px}.signature-box canvas{width:100%;height:170px;background:#fafafe;border-radius:9px;touch-action:none;display:block}.signature-box small{font-size:11px;color:var(--muted)}.signature-box .table-actions{justify-content:space-between;margin-top:7px}.service-form-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.service-review p{white-space:pre-wrap;font-size:13px;margin:12px 0}.service-review h4{margin-top:20px}.service-review h3{display:flex;align-items:center;gap:10px;font-size:17px}.report-photos{display:flex;flex-wrap:wrap;gap:12px}.report-photos img{width:110px;height:95px;object-fit:cover;border-radius:10px}.report-photos>div{display:grid;gap:6px;text-align:center}.saved-signature{width:100%;max-width:430px;border:1px solid var(--line);border-radius:10px}.service-check-result{padding:13px;border:1px solid var(--line);border-radius:10px;margin:10px 0;font-size:12px}.service-check-result span{float:left;color:var(--navy)}.service-review-actions{display:grid;gap:15px;margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.service-review-actions>.btn{width:max-content}.service-report-form label{font-size:13px}.service-report-form input,.service-report-form textarea{font-size:14px}@media(max-width:1150px){.service-overview,.service-visit-grid,.service-contract-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-plan-banner{align-items:flex-start;flex-direction:column}.workspace .topbar{padding:17px 22px}.workspace .content{padding:25px 22px}}@media(max-width:800px){.workspace .sidebar{transform:translate(-100%);width:260px}.workspace .sidebar.open{transform:translate(0)}.workspace .main-area{margin-left:0;margin-right:0;width:100%}.workspace .mobile-close{left:auto;right:3px}.workspace .content{padding:21px 16px}.workspace .topbar{padding:14px 16px;min-height:80px}}@media(max-width:580px){.service-visit-grid,.service-contract-grid{grid-template-columns:1fr}.service-overview{gap:10px}.service-overview article{padding:16px}.service-overview strong{font-size:23px}.service-overview strong.money{font-size:15px}.service-overview span{font-size:11px}.service-overview svg{width:28px;height:28px;left:12px}.service-plan-banner{padding:16px}.service-plan-banner .btn{flex:1;white-space:normal;font-size:12px}.service-plan-banner .table-actions{width:100%}.service-report-form .form-grid{grid-template-columns:1fr}.report-steps{gap:4px}.report-steps button{min-width:78px;padding:7px;font-size:10px}.report-steps span{width:21px;height:21px}.service-checklist section>div{gap:8px}.service-checklist select{width:125px}.service-form-footer>.btn,.service-form-footer>.table-actions{width:100%}.service-form-footer .table-actions .btn{flex:1;font-size:12px}.service-location{flex-direction:column;align-items:flex-start}.profile-photo-editor{align-items:flex-start;gap:14px}.profile-photo-editor p{font-size:11px}.profile-photo-editor .btn{font-size:11px;padding:8px}.workspace .page-title h1{font-size:18px}.workspace .header-actions{gap:7px}.service-tools>select,.service-tools>label{width:100%;max-width:none}}@media screen{:root{--sidebar-size:248px;--muted:#59677e;--ink:#26334b;--line:#e1e6ef;--bg:#f3f5f9;--accent-ink:#a94421}body:has(.workspace){--ink:#26334b;--muted:#59677e;--line:#e1e6ef;--bg:#f3f5f9;background:var(--bg);color:var(--ink)}:root[data-brand=safir],body:has(.workspace[data-brand=safir]){--navy:#29235c;--navy-dark:#201b48;--orange:#fa810a;--teal:#00a19a;--accent-ink:#a34c00;--accent-soft:#efedf8;--accent-faint:#f6f5fb}.workspace{direction:rtl;font-size:16px}.workspace .sidebar{right:0;left:auto;width:var(--sidebar-size);background:var(--navy-dark);color:#e3eaf7;border-left:1px solid #ffffff12;border-right:0;padding:22px 14px 16px}.workspace .main-area{margin-right:var(--sidebar-size);margin-left:0;width:calc(100% - var(--sidebar-size))}.workspace .sidebar-brand{border-radius:14px;padding:15px 12px 12px;margin-bottom:20px;box-shadow:0 4px 14px #00000010}.workspace .sidebar-brand>img{width:126px;height:48px}.workspace .sidebar-brand>.sidebar-safir-logo{width:136px;height:50px}.workspace .sidebar-brand>div span{color:#58647a;font-size:12px}.workspace .sidebar-section-label{color:#c8d3e9;font-size:12px;margin-bottom:10px}.workspace .sidebar nav{scrollbar-color:#8597bd55 transparent}.workspace .nav-item{color:#e0e8f6;font-size:15px;padding:11px 13px;min-height:48px;border-radius:11px;line-height:1.7}.workspace .nav-item>svg{color:#b4c5e5}.workspace .nav-item:hover{background:#ffffff12;color:#fff}.workspace .nav-item.active{background:#fff;color:var(--navy);font-weight:600;box-shadow:0 3px 12px #00000012}.workspace .nav-item.active>svg{color:var(--navy)}.workspace .workspace-nav-sub{border-color:#ffffff35;margin:4px 25px 10px 4px}.workspace .workspace-nav-sub button{color:#e0e8f6;font-size:14px;min-height:44px;line-height:1.7}.workspace .workspace-nav-sub button:hover{background:#ffffff12;color:#fff}.workspace .workspace-nav-sub button.selected{background:#fff;color:var(--navy)}.workspace .sidebar-user{border:1px solid #ffffff22;border-radius:13px;padding:13px 10px;margin-top:16px;background:#ffffff09;gap:9px}.workspace .sidebar-user>div{min-width:0;flex:1}.workspace .sidebar-user strong{color:#fff;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.workspace .sidebar-user small{color:#c8d3e9;font-size:12px;line-height:1.8}.workspace .sidebar-user .avatar{width:36px;height:36px;background:#ffffff20;color:#fff}.workspace .sidebar-user .icon-btn{color:#e0e8f6;width:32px;height:40px}.workspace .sidebar-user .icon-btn:hover{color:#fff;background:#ffffff15}.workspace .topbar{padding:18px 32px;min-height:94px}.workspace .page-title h1{font-size:24px;line-height:1.6}.workspace .page-title span{font-size:11px;color:#58647a;letter-spacing:1px}.workspace .content{padding:30px 32px}.workspace .section-heading h2{font-size:23px}.workspace .section-heading p{font-size:15px}.workspace .welcome-card{background:linear-gradient(115deg,var(--navy),var(--navy-dark));border:0;padding:27px 30px;border-radius:18px;color:#fff;box-shadow:0 6px 20px #16396f16}.workspace .welcome-card h2{font-size:28px;color:#fff}.workspace .welcome-card p{color:#e1e8f5;font-size:15px}.workspace .welcome-card .eyebrow{color:#ffbc91;font-size:13px}.workspace[data-brand=safir] .welcome-card .eyebrow{color:#ffc389}.workspace .welcome-card .btn{background:#fff;color:var(--navy);border-color:#fff}.workspace .welcome-date{background:#ffffff0d;border:1px solid #ffffff26;padding:18px;border-radius:13px;color:#fff}.workspace .welcome-date strong{font-size:14px}.workspace .welcome-date span,.workspace .welcome-date .daily-occasion{font-size:12px;color:#e1e8f5}.workspace .metric-card{border-radius:16px;box-shadow:0 3px 15px #203c6306}.workspace .metric-card:hover{border-color:#bdcbe2;box-shadow:0 5px 18px #203c6310}.workspace .metric-card strong{font-size:25px;color:var(--ink)}.workspace .metric-card small{font-size:14px}.workspace .metric-card p{font-size:13px}:is(.workspace,.crm-dialog) :is(.btn,.table-tools .btn,.service-card-actions .btn,.service-contract-card .btn,.service-plan-banner .btn){font-size:14px;min-height:44px;line-height:1.7}:is(.workspace,.crm-dialog) .btn-primary{background:var(--navy);color:#fff;border-color:var(--navy)}:is(.workspace,.crm-dialog) .btn-primary:hover{background:var(--navy-dark);color:#fff;border-color:var(--navy-dark)}:is(.workspace,.crm-dialog) .btn.danger{color:#fff;background:#a52e3a;border-color:#a52e3a}:is(.workspace,.crm-dialog) :is(input,select,textarea){font-size:16px;color:var(--ink)}:is(.workspace,.crm-dialog) input::placeholder{color:#68758a}:is(.workspace,.crm-dialog) :is(label,.service-tools>label,.service-report-form label){font-size:14px;color:var(--ink)}:is(.workspace,.crm-dialog) :is(.muted,.panel-heading p,.metric-card small,.metric-card p,.dashboard-tasks small,.customer-link small,.record-code,.table-footer,.workspace-footer,.company-switch span,.sidebar-brand>div span,.service-overview span,.service-visit-card p,.service-contract-card p,.service-visit-card small,.service-contract-card small,.service-card-top,.service-contract-card dt,.service-context p,.service-context small,.profile-photo-editor p,.service-plan-banner p,.signature-box small,.notification-item small,.chat-channels .eyebrow,.message-stream>article time){color:var(--muted);font-size:13px;line-height:1.8}.workspace .company-switch{background:var(--accent-faint);border-color:var(--line);padding:5px 11px}.workspace .company-switch select,.workspace .global-search input{font-size:14px}.workspace .icon-btn{color:#59677e}.workspace .notification-btn{background:var(--accent-soft);color:var(--navy)}.workspace .notification-count{background:#a43d17;color:#fff}:is(.workspace,.crm-dialog) .eyebrow{color:var(--accent-ink)}:is(.workspace,.crm-dialog) :is(th,.service-overview span,.service-checklist strong){font-size:14px;color:#59677e}.workspace td{font-size:15px;color:#35455f}.workspace .row-title,.workspace .dashboard-tasks strong{font-size:15px}.workspace .service-tabs button{font-size:14px;min-height:44px}.workspace .service-visit-card h3,.workspace .service-contract-card h3{font-size:18px}.workspace .service-visit-card p,.workspace .service-contract-card p,.workspace .service-contract-card dl{font-size:14px}:is(.workspace,.crm-dialog) :is(.service-hint,.service-review p,.service-check-result,.service-location,.service-checklist select,.service-checklist input,.report-steps button){font-size:14px}:is(.workspace,.crm-dialog) .report-steps button{min-width:110px;padding:10px}.workspace .message-stream{background:#f4f6fb}.workspace .message-stream>article.mine{background:var(--accent-soft);border-color:#d7dfef;color:var(--ink)}.workspace .message-stream>article p{font-size:16px}.workspace .chat-channels{background:var(--accent-faint)}:is(.workspace,.crm-dialog) .status-chip{color:#354d81;background:#eaf0fa;font-size:12px}:is(.workspace,.crm-dialog) .status-chip.positive{background:#e8f5ef;color:#176047}:is(.workspace,.crm-dialog) .status-chip.negative{background:#fff0f1;color:#a52e3a}:is(.workspace,.crm-dialog) :is(button,a):focus-visible{outline:3px solid var(--orange);outline-offset:3px}.contract-workspace{padding:26px}.contract-print-entry,.contract-renewal-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border:1px solid #d5dff0;border-right:4px solid var(--orange);background:var(--accent-faint);border-radius:14px;margin-bottom:22px}.contract-renewal-banner p,.contract-print-entry p{color:var(--muted);font-size:14px;margin-top:4px}.contract-renewal-banner .btn,.contract-print-entry .btn{flex-shrink:0}.contract-metadata{padding-bottom:24px;margin-bottom:26px;border-bottom:1px solid var(--line)}.contract-metadata h3{margin-bottom:8px}.contract-metadata>.muted{margin-bottom:18px}.contract-metadata dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:14px}.contract-metadata dt{color:var(--muted)}.contract-metadata dd{margin:3px 0 0}.insurance-fields{margin:10px 0;border:1px solid var(--line);border-radius:13px;padding:18px;min-width:0}.insurance-fields legend{color:var(--navy);padding:0 8px;font-size:15px;font-weight:600}.insurance-fields .muted{margin-top:12px}.service-subscription{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:13px;color:var(--navy);margin:0 0 15px}.document-upload{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;padding:18px;background:var(--accent-faint);border:1px solid var(--line);border-radius:13px;margin-bottom:20px}.document-upload label{flex:1 1 190px;min-width:0}.document-upload input[type=file]{width:100%;font-size:13px}.document-list article{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:13px;padding:17px;margin:12px 0}.document-list article>svg{color:var(--navy)}.document-list article>div:first-of-type{min-width:0;flex:1;overflow-wrap:anywhere}.document-list p,.document-list small{color:var(--muted);font-size:13px}.document-list strong{font-size:15px}.contract-print-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:20px 26px;border-bottom:1px solid var(--line)}.contract-print-tools p{flex-basis:100%}.jalali-input{min-width:0;position:relative}.jalali-input>label{margin-bottom:7px}.jalali-input-row{display:flex;align-items:center;gap:5px}.jalali-input-row input{flex:1}.jalali-input-row .icon-btn{width:40px;min-height:44px}.jalali-calendar{margin-top:8px;border:1px solid var(--line);border-radius:13px;padding:12px;background:#fff;box-shadow:0 5px 18px #16396f10}.jalali-calendar header{display:flex;align-items:center;justify-content:space-between;gap:5px}.jalali-calendar header strong{font-size:14px}.jalali-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:3px;margin:8px 0}.jalali-calendar-grid button{min-height:40px;font-size:14px;border-radius:8px}.jalali-calendar-grid button:hover{background:var(--accent-soft)}.jalali-calendar-grid button.selected{background:var(--navy);color:#fff}.jalali-calendar small{color:var(--muted);font-size:12px}@media(max-width:1150px){:root{--sidebar-size:232px}.workspace .topbar{padding:17px 22px}.workspace .content{padding:25px 22px}.workspace .page-title h1{font-size:22px}}@media(max-width:800px){.workspace .sidebar{width:min(300px,calc(100vw - 44px));transform:translate(100%);background:#fff;color:var(--ink);border-left:1px solid var(--line);padding-top:22px}.workspace .sidebar.open{transform:translate(0)}.workspace .main-area{margin-right:0;margin-left:0;width:100%}.workspace .sidebar-brand{box-shadow:none;padding:10px 12px}.workspace .mobile-close{left:0;right:auto;width:40px;height:40px;color:var(--muted)}.workspace .sidebar-section-label{color:var(--muted)}.workspace .nav-item,.workspace .workspace-nav-sub button{color:#46546b}.workspace .nav-item>svg{color:#647693}.workspace .nav-item:hover,.workspace .nav-item.active,.workspace .workspace-nav-sub button:hover,.workspace .workspace-nav-sub button.selected{background:var(--accent-soft);color:var(--navy);box-shadow:none}.workspace .workspace-nav-sub{border-color:var(--line)}.workspace .sidebar-user{background:var(--accent-faint);border-color:var(--line)}.workspace .sidebar-user strong{color:var(--ink)}.workspace .sidebar-user small{color:var(--muted)}.workspace .sidebar-user .avatar{background:var(--accent-soft);color:var(--navy)}.workspace .sidebar-user .icon-btn,.workspace .sidebar-user .icon-btn:hover{color:var(--navy);background:transparent}.workspace .topbar{padding:14px 16px;min-height:80px}.workspace .content{padding:21px 16px}.workspace .page-title h1{font-size:21px}.workspace .welcome-card{background:var(--accent-faint);color:var(--ink);border:1px solid var(--line);box-shadow:none;padding:22px}.workspace .welcome-card h2{color:var(--navy);font-size:25px}.workspace .welcome-card p{color:var(--muted);font-size:14px}.workspace .welcome-card .eyebrow,.workspace[data-brand=safir] .welcome-card .eyebrow{color:var(--accent-ink)}.workspace .welcome-date{background:transparent;color:var(--navy);border:0;padding:14px 0 0}.workspace .welcome-date span,.workspace .welcome-date .daily-occasion{color:var(--muted)}.contract-workspace{padding:18px}.contract-renewal-banner,.contract-print-entry{align-items:flex-start;flex-direction:column;gap:14px;padding:18px}}@media(max-width:580px){.workspace .metric-card strong{font-size:21px}.workspace .metric-card small{font-size:13px}.workspace .metric-card p{font-size:12px}.workspace .section-heading{flex-wrap:wrap}.workspace .section-heading>.table-actions{flex-wrap:wrap}.workspace .header-actions{flex-wrap:wrap;gap:8px}.workspace .company-switch select{font-size:14px}.workspace .icon-btn{width:44px;height:44px}.workspace .service-overview span{font-size:13px}.workspace .service-overview strong.money{font-size:16px;overflow-wrap:anywhere}.workspace .service-card-actions .btn{flex:1}.workspace .service-contract-card dl{grid-template-columns:1fr 1fr;gap:10px}.insurance-fields{padding:14px}.insurance-fields .form-grid,.contract-metadata dl{grid-template-columns:1fr}.document-upload{padding:14px}.document-upload label,.document-upload .btn{flex-basis:100%}.document-list article{align-items:flex-start;flex-wrap:wrap;padding:14px}.document-list article>div:first-of-type{flex:1 1 calc(100% - 45px)}.document-list .table-actions{margin-right:auto}.contract-print-tools{padding:18px}.contract-print-tools>.btn{flex:1}}@media(prefers-reduced-motion:reduce){.workspace .sidebar,.workspace .btn{transition:none}}}.contract-document>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;margin:9px 0}.contract-document>h3{color:#29235c;margin:24px 0 12px;break-after:avoid}.contract-document>header{border-bottom:2px solid #29235c;padding-bottom:18px;margin-bottom:20px}@media print{.contract-document>p{font-size:11pt;line-height:1.9}.contract-document>h3{font-size:13pt}}html[data-product=ERP]{--navy:#193455;--orange:#f2572a;--teal:#00938c;--ink:#e7eef8;--muted:#a6b7cc;--line:#344760;--bg:#101d30;--shadow:none;color-scheme:dark}html[data-product=ERP] body{background:#101d30;color:#e7eef8}.erp-shell{--erp-ink:#e7eef8;--erp-accent:#f2572a;--erp-base:#101d30;--erp-panel:#1a2c44;--erp-line:#344760;--erp-soft:#223851;background:var(--erp-base);color:var(--erp-ink)}.erp-shell[data-brand=safir]{--erp-ink:#eeedf8;--erp-accent:#26bdb4;--erp-base:#181630;--erp-panel:#252142;--erp-line:#454165;--erp-soft:#302b50}.erp-sidebar{background:#193455;border-color:#344760;box-shadow:-8px 0 30px #00000012}.erp-shell[data-brand=safir] .erp-sidebar{background:#29235c;border-color:#454165}.erp-brand img{background:#fff;border-radius:8px;padding:7px;max-width:92px;max-height:52px}.erp-brand small,.erp-kicker,.erp-date,.erp-profile small{color:#b5c4d8}.erp-product-link{color:#dce8f8;border-color:#64748b70;background:#ffffff07}.erp-sidebar nav button{color:#c4d1e2}.erp-sidebar nav button:hover{background:#ffffff0d}.erp-sidebar nav button.active{background:#ffffff15;color:#fff;box-shadow:inset -3px 0 var(--erp-accent)}.erp-shell .erp-header{border-color:var(--erp-line)}.erp-shell .panel,.erp-metrics button,.erp-shell .service-contract-card,.erp-shell .users-grid article,.erp-shell .erp-job{background:var(--erp-panel);border-color:var(--erp-line);color:var(--erp-ink)}.erp-shell .panel{box-shadow:0 8px 24px #00000012}.erp-shell .erp-metrics span,.erp-shell .muted,.erp-shell .erp-stock-list small,.erp-shell .erp-job dt,.erp-shell .erp-pipeline small{color:#b3c0d2}.erp-shell .erp-metrics strong{color:var(--erp-ink)}.erp-shell .erp-metrics button:hover{border-color:var(--erp-accent);transform:translateY(-2px)}.erp-shell .erp-pipeline button,.erp-shell .timeline-summary,.erp-shell .standard-validity,.erp-shell fieldset{background:var(--erp-soft);border-color:var(--erp-line);color:var(--erp-ink)}.erp-shell input,.erp-shell textarea,.erp-shell select,.erp-shell .erp-toolbar select,.erp-shell .erp-actions input{background:var(--erp-base);color:var(--erp-ink);border-color:var(--erp-line);color-scheme:dark}.erp-shell input::placeholder,.erp-shell textarea::placeholder{color:#9eadc0}.erp-shell .btn,.erp-shell .icon-btn{color:var(--erp-ink);border-color:var(--erp-line);background:var(--erp-soft)}.erp-shell .btn-primary{background:var(--erp-accent);color:#fff;border-color:var(--erp-accent)}.erp-shell[data-brand=safir] .btn-primary{color:#102c2a}.erp-shell table,.erp-shell th,.erp-shell td{color:var(--erp-ink);border-color:var(--erp-line)}.erp-shell thead,.erp-shell th{background:var(--erp-soft)}.erp-shell tbody tr:hover{background:#ffffff04}.erp-shell .erp-stock-list>div,.erp-shell .erp-purchase-line{border-color:var(--erp-line)}.erp-shell .empty-state,.erp-shell .service-price-preview{background:var(--erp-soft);border-color:var(--erp-line);color:var(--erp-ink)}.erp-shell .service-price-preview span,.erp-shell .case-event-line p,.erp-shell .case-event-line time,.erp-shell .service-month-rail small,.erp-shell .service-month-rail span{color:#b3c0d2}.erp-shell .service-price-preview strong,.erp-shell .billing-preview summary{color:var(--erp-ink)}.erp-shell .customer-options,.erp-shell .fault-case-results button{background:var(--erp-panel);color:var(--erp-ink);border-color:var(--erp-line)}.erp-shell .customer-options button:hover{background:var(--erp-soft)}.erp-shell .fault-case-results .selected{background:#00938c28;border-color:#26bdb4}.erp-shell .fault-live-alert,.erp-shell .fault-priority-banner{background:#f2572a16;color:#ffdacd;border-color:#f2572a75}.erp-shell .service-month-rail>div.current{background:#f2572a15}.erp-shell .timeline-dot{border-color:var(--erp-panel)}.erp-login{background:#101d30;color:#e7eef8}.erp-login .login-story{background:#193455}.erp-login .login-form-area{background:#17273d}.erp-login .login-form{background:transparent;color:#e7eef8}.erp-login h1,.erp-login label{color:#e7eef8}.erp-login .muted,.erp-login .login-help,.erp-login .captcha-head span{color:#b3c0d2}.erp-login .login-brand img{background:#fff;padding:10px;border-radius:8px}.erp-login input{background:#101d30;border-color:#344760;color:#e7eef8}.erp-login .login-submit{background:#f2572a}.erp-login .captcha-row img{background:#fff}.erp-login .icon-btn{color:#e7eef8;background:#223851}html[data-product=ERP] dialog.crm-dialog{background:#1a2c44;color:#e7eef8;border:1px solid #344760}html[data-product=ERP] dialog input,html[data-product=ERP] dialog select,html[data-product=ERP] dialog textarea{background:#101d30;color:#e7eef8;border-color:#344760}html[data-product=ERP] dialog .btn-primary{background:#f2572a;color:#fff}html[data-product=ERP] dialog .btn{border-color:#344760}html[data-product=ERP] dialog .customer-options{background:#223851;color:#e7eef8}@media(prefers-reduced-motion:reduce){.erp-metrics button{transform:none!important;transition:none!important}}@media print{html[data-product=ERP],html[data-product=ERP] body{color-scheme:light;background:#fff;color:#172b44}html[data-product=ERP] .contract-sheet{background:#fff!important;color:#172b44!important}}@media screen{html[data-product=ERP]{--erp-muted:#b9c7d9;--erp-control-line:#7388a4;--erp-highlight:#ffac8c;--erp-base:#101d30;--erp-panel:#1a2c44;--erp-soft:#223851;--erp-ink:#e7eef8;--erp-line:#344760;--erp-accent:#f2572a;--ink:var(--erp-ink);--muted:var(--erp-muted);--line:var(--erp-line);--accent-soft:var(--erp-soft);--accent-faint:var(--erp-soft)}html[data-product=ERP][data-brand=safir]{--erp-muted:#c5c0d9;--erp-control-line:#807b9d;--erp-highlight:#5bd8cf;--erp-base:#181630;--erp-panel:#252142;--erp-soft:#302b50;--erp-ink:#eeedf8;--erp-line:#454165;--erp-accent:#26bdb4}.erp-shell{--ink:var(--erp-ink);--muted:var(--erp-muted);--line:var(--erp-line);--accent-soft:var(--erp-soft);--accent-faint:var(--erp-soft)}.erp-shell :is(.service-overview article,.service-visit-card,.service-contract-card,.safir-case-card,.safir-metrics article,.visit-card,.wage-card,.metric-card,.installation-stage-summary article,.jalali-calendar,.message-stream>article){background:var(--erp-panel);color:var(--erp-ink);border-color:var(--erp-line)}.erp-shell :is(.service-overview strong,.service-visit-card h3,.service-contract-card h3,.safir-case-card h3,.safir-metrics strong,.metric-card strong,.installation-stage-summary strong){color:var(--erp-ink)}.erp-shell :is(.service-visit-card h3,.service-contract-card h3,.safir-case-card h3){font-size:18px}.erp-shell :is(.service-overview span,.service-visit-card p,.service-contract-card p,.safir-case-card p,.tabs button,.service-card-actions .btn){font-size:14px;line-height:1.8}.erp-shell .service-card-actions .btn{min-height:44px}.erp-shell :is(.service-overview span,.service-visit-card p,.service-visit-card small,.service-contract-card p,.service-contract-card small,.service-card-top,.safir-case-card p,.safir-case-card>small,.safir-metrics article>span,.visit-card small,.wage-card small,.record-code,.service-contract-card dt,.service-context p,.service-context small,.service-plan-banner p,.safir-task p,.customer-options small,.message-stream>article time,.erp-metrics span,.muted){color:var(--erp-muted)}.erp-shell :is(.service-tabs,.service-plan-banner,.service-context,.safir-step-list,.safir-report,.customer-cover,.document-upload,.contract-renewal-banner,.contract-print-entry,.report-steps span,.chat-channels,.message-stream){background:var(--erp-soft);color:var(--erp-ink);border-color:var(--erp-line)}.erp-shell :is(.tabs button,.report-steps button,.chat-channels button){color:var(--erp-muted)}.erp-shell :is(.tabs button.active,.service-tabs button.active,.report-steps button.current,.chat-channels button.active,.safir-step-list>button.selected){background:var(--erp-panel);color:var(--erp-highlight);border-color:var(--erp-accent)}.erp-shell :is(.service-overview svg,.safir-case-icon,.service-contract-card>svg,.metric-icon,.report-steps button.current span){background:var(--erp-soft);color:var(--erp-highlight)}.erp-shell :is(.service-subscription,.insurance-fields legend,.service-check-result span,.document-list article>svg,.text-btn,.row-title,.chat-channels .eyebrow){color:var(--erp-highlight)}.erp-shell a:not(.btn):not(.erp-product-link){color:var(--erp-highlight)}.erp-shell :is(.search-input,.service-tools .search-input,.global-search){background:var(--erp-base);color:var(--erp-muted);border-color:var(--erp-control-line)}.erp-shell :is(input,textarea,select),.erp-shell .erp-toolbar select,.erp-shell .erp-actions input,html[data-product=ERP] dialog :is(input,textarea,select){background:var(--erp-base);color:var(--erp-ink);border-color:var(--erp-control-line);accent-color:var(--erp-accent);color-scheme:dark}.erp-shell .search-input input{background:transparent;border:0}.erp-shell :is(input,textarea)::placeholder,html[data-product=ERP] dialog :is(input,textarea)::placeholder{color:var(--erp-muted);opacity:1}.erp-shell :is(input,textarea,select):focus,html[data-product=ERP] dialog :is(input,textarea,select):focus{border-color:var(--erp-highlight);outline:2px solid var(--erp-highlight);outline-offset:2px;box-shadow:none}.erp-shell .search-input:focus-within{outline:2px solid var(--erp-highlight);outline-offset:2px}.erp-shell .search-input input:focus{outline:none}.erp-shell :is(input,select)[type=checkbox],.erp-shell input[type=radio]{outline-offset:3px}.erp-shell :is(.btn:hover,.icon-btn:hover,.customer-options button:hover,.jalali-calendar-grid button:hover,.chat-channels button:hover){background:var(--erp-panel);color:var(--erp-ink);border-color:var(--erp-control-line)}.erp-shell .btn-primary,.erp-shell .btn-primary:hover,html[data-product=ERP] dialog .btn-primary,html[data-product=ERP] dialog .btn-primary:hover{background:var(--erp-accent);color:#101d30;border-color:var(--erp-accent)}.erp-shell :is(button,a):focus-visible,html[data-product=ERP] dialog :is(button,a):focus-visible{outline:2px solid var(--erp-highlight);outline-offset:3px}.erp-shell .safir-progress{background:var(--erp-line)}.erp-shell .status-chip{background:#223851;color:#c8dcff}.erp-shell .status-chip.positive{background:#183e37;color:#91e4c6}.erp-shell .status-chip.negative{background:#4b2537;color:#ffc0cc}.erp-shell .jalali-calendar-grid button.selected,html[data-product=ERP] dialog .jalali-calendar-grid button.selected{background:var(--erp-accent);color:#101d30}.erp-shell .calendar-grid>:is(button,span,small){background:var(--erp-panel);color:var(--erp-ink)}.erp-shell .calendar-grid>button:is(:hover,.selected){background:var(--erp-soft);box-shadow:inset 0 0 0 2px var(--erp-highlight)}html[data-product=ERP] dialog.crm-dialog{background:var(--erp-panel);color:var(--erp-ink);border-color:var(--erp-line)}html[data-product=ERP] dialog :is(.customer-options,.service-price-preview,.jalali-calendar,.timeline-summary,.standard-validity,fieldset){background:var(--erp-soft);color:var(--erp-ink);border-color:var(--erp-line)}html[data-product=ERP] dialog :is(.service-price-preview strong,label,legend){color:var(--erp-ink)}html[data-product=ERP] dialog :is(.muted,.service-price-preview span,.customer-options small){color:var(--erp-muted)}html[data-product=ERP] dialog .btn:not(.btn-primary):not(.danger){background:var(--erp-soft);color:var(--erp-ink);border-color:var(--erp-control-line)}}html[data-product=ERP] .crm-dialog>header,html[data-product=ERP] .crm-dialog .dialog-header{background:#eef3fa!important;color:#17263c!important;border-color:#b6c5d8!important}html[data-product=ERP] .crm-dialog>header h2,html[data-product=ERP] .crm-dialog>header button,html[data-product=ERP] .crm-dialog>header svg,html[data-product=ERP] .crm-dialog .dialog-header h2,html[data-product=ERP] .crm-dialog .dialog-header button{color:#17263c!important;background:transparent!important}.erp-greeting{border:1px solid #596883;border-inline-start:4px solid var(--erp-accent);background:var(--erp-soft);border-radius:14px;padding:18px 22px;margin:12px 0 18px}.erp-greeting h2{color:var(--erp-ink);margin:0 0 7px}.erp-greeting p{color:#c6d5e6;margin:0}.erp-excel-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0 18px}.erp-notes{white-space:pre-wrap;overflow-wrap:anywhere}.service-balance{display:grid;grid-template-columns:minmax(140px,1fr) auto;gap:7px 16px;border-top:1px solid var(--erp-line,#454165);padding-top:14px;margin-top:14px}.service-balance dt{color:#b9c7dd}.service-balance dd{margin:0;color:#eff4fb}.erp-shell .service-balance{font-size:13px}html[data-product=ERP] .excel-preview-table td{white-space:normal;max-width:480px}.erp-shell .tabs{flex-wrap:wrap}.erp-shell .customer-options{background:var(--erp-panel);color:var(--erp-ink)}@media(max-width:700px){.service-balance{grid-template-columns:1fr}.erp-greeting{padding:14px}.erp-excel-tools .btn{flex:1}}html[data-product=ERP] .crm-dialog .dialog-title{background:#eef3fa!important;color:#17263c!important;border-color:#b6c5d8!important}html[data-product=ERP] .crm-dialog .dialog-title h2,html[data-product=ERP] .crm-dialog .dialog-title button,html[data-product=ERP] .crm-dialog .dialog-title svg{color:#17263c!important;background:transparent!important}@media screen{html[data-product=ERP] .service-monitor{display:grid;gap:18px;margin:18px 0 24px}html[data-product=ERP] :is(.monitor-progress,.monitor-kpi,.monitor-chart-panel,.technician-progress article,.service-shortcuts){background:var(--erp-panel);border:1px solid var(--erp-line);border-radius:16px;color:var(--erp-ink);padding:22px}.monitor-summary{display:grid;grid-template-columns:1.8fr repeat(3,1fr);gap:14px}.monitor-progress{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}html[data-product=ERP] .monitor-progress strong{display:block;font-size:2.25rem;color:var(--erp-highlight);line-height:1.5}html[data-product=ERP] :is(.monitor-progress p,.monitor-kpi small,.monitor-chart-panel p,.service-shortcuts p){color:var(--erp-muted);margin:5px 0;font-size:14px}.completion-ring{width:88px;height:88px;border-radius:50%;background:conic-gradient(var(--erp-accent) var(--completion),var(--erp-soft) 0);display:grid;place-items:center}.completion-ring span{background:var(--erp-panel);border-radius:50%;width:68px;height:68px;display:grid;place-items:center;font-weight:700}html[data-product=ERP] :is(.monitor-progress,.technician-progress article) progress{grid-column:1/-1;width:100%;height:8px;accent-color:var(--erp-accent);border:0;border-radius:6px;overflow:hidden}.monitor-progress progress::-webkit-progress-bar,.technician-progress progress::-webkit-progress-bar{background:var(--erp-soft)}.monitor-progress progress::-webkit-progress-value,.technician-progress progress::-webkit-progress-value{background:var(--erp-accent)}.monitor-kpi{display:flex;flex-direction:column;text-align:right;gap:8px;font:inherit;cursor:pointer;transition:border-color .15s}html[data-product=ERP] .monitor-kpi:hover{border-color:var(--erp-accent)}html[data-product=ERP] .monitor-kpi svg{color:var(--erp-highlight)}html[data-product=ERP] .monitor-kpi strong{font-size:2rem;line-height:1.3;color:var(--erp-ink)}.chart-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:13px}.chart-legend span{display:flex;gap:8px;align-items:center}.chart-legend i{width:11px;height:11px;border-radius:3px}.service-key{background:#49d4c6}.fault-key{background:#ffb287}.chart-scroll{overflow-x:auto;padding:18px 2px 0}.daily-bar-chart{display:flex;min-width:930px;justify-content:space-between;gap:8px;direction:rtl;border-bottom:1px solid var(--erp-line);padding-bottom:9px}.chart-day{width:24px;flex:1;display:flex;flex-direction:column;align-items:center;gap:12px}.bar-pair{display:flex;align-items:flex-end;gap:4px;height:164px;width:100%;justify-content:center}.bar-pair>span{position:relative;min-width:7px;max-width:12px;width:36%;border-radius:4px 4px 0 0;min-height:2px}.bar-pair b{position:absolute;bottom:100%;left:50%;transform:translate(-50%);font-size:11px;line-height:20px;font-weight:500;color:var(--erp-ink)}.service-bar{background:#49d4c6}.fault-bar{background:#ffb287}.chart-day small{font-size:12px;color:var(--erp-muted)}.chart-caption{padding-top:10px}.monitor-attention{display:flex;align-items:center;gap:12px;border:1px solid #dbb06670;border-radius:12px;padding:14px 18px;background:#c3882117;color:#ffdeb0}.monitor-attention .btn{margin-inline-start:auto}.technician-progress{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.technician-progress article{display:grid;gap:10px}.technician-progress article span{color:var(--erp-muted);font-size:14px}html[data-product=ERP] .service-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:18px;border-inline-start:4px solid var(--erp-accent)}.service-shortcuts h3{margin:0 0 4px}.service-shortcuts .table-actions{flex:1;justify-content:flex-end}.service-tools{align-items:end;flex-wrap:wrap}.service-tools .jalali-field{min-width:230px}.service-tabs{gap:6px;padding:8px;border-radius:12px}.service-tabs button{min-height:46px}.service-tab-action{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:14px 0}.service-tab-action .erp-excel-tools{margin:0}html[data-product=ERP] .building-link{display:block;width:100%;padding:0;border:0;background:transparent;text-align:right;color:var(--erp-ink);cursor:pointer}.building-link h3{margin:5px 0;line-height:1.9}.building-link:hover h3{text-decoration:underline;text-decoration-color:var(--erp-accent);text-underline-offset:5px}html[data-product=ERP] .service-visit-card.focused-visit{border:2px solid var(--erp-highlight);box-shadow:0 0 0 3px #26bdb420}.service-visit-card.excluded{opacity:.72}.service-visit-card .carry-label{background:#a870241b!important;color:#ffdeb0!important;border:1px solid #b28d5250;padding:6px 10px;border-radius:8px;font-size:13px}.service-back-btn{min-height:50px!important;font-size:16px!important;gap:12px!important;padding:12px 22px!important;margin-bottom:20px}.report-changes{padding:16px;border:1px solid var(--erp-line);border-radius:10px;margin:14px 0;color:var(--erp-ink)}.report-changes summary{cursor:pointer}.report-changes article{padding-top:14px;margin-top:12px;border-top:1px solid var(--erp-line)}.report-changes p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--erp-muted)}.plan-preferences{display:flex;flex-wrap:wrap;gap:16px;padding:15px 18px;margin:12px 0 20px;border:1px solid var(--erp-line);border-radius:12px;background:var(--erp-panel);font-size:14px}.plan-preferences .notice{width:100%}.schedule-moves{margin-top:20px;padding:18px;border:1px solid var(--erp-line);border-radius:12px}.schedule-moves summary{cursor:pointer;font-weight:600;min-height:32px}html[data-product=ERP] :is(.plan-editor-row,.history-live-report){border:1px solid var(--erp-line);border-radius:12px;background:var(--erp-soft);color:var(--erp-ink);padding:16px;margin-bottom:12px}.plan-editor-row>.check-line{align-items:flex-start}.plan-editor-row>.check-line span{display:grid;gap:4px}.plan-editor-row small{color:var(--erp-muted);font-weight:400;line-height:1.8}.plan-editor-fields{display:grid;grid-template-columns:100px 1fr 1.6fr;gap:14px;align-items:end;margin-top:12px}.plan-editor-fields .check-line{align-self:center;font-size:14px}.plan-editor-row.excluded{opacity:.7}.sticky-form-actions{position:sticky;bottom:0;background:var(--erp-panel);border-top:1px solid var(--erp-line);padding:14px 0 0;display:flex;justify-content:space-between;gap:12px;align-items:center}.plan-editor-list{max-height:48vh;overflow:auto;padding:3px}html[data-product=ERP] .crm-dialog{max-width:min(1100px,calc(100vw - 30px))}.crm-dialog .dialog-form{min-width:0}html[data-product=ERP] :is(.legacy-history,.customer-live-reports,.history-report-body){color:var(--erp-ink)}html[data-product=ERP] .legacy-history :is(h3,h4,strong,td,p,summary){color:var(--erp-ink)}html[data-product=ERP] .legacy-history .muted{color:var(--erp-muted)}html[data-product=ERP] .customer-history-table{table-layout:fixed;width:100%;min-width:860px;font-size:14px}html[data-product=ERP] .customer-history-table th{background:var(--erp-soft);color:var(--erp-ink);border-color:var(--erp-line);white-space:normal}html[data-product=ERP] .customer-history-table td{background:transparent;color:var(--erp-ink);border-color:var(--erp-line);white-space:normal;vertical-align:top;overflow-wrap:anywhere;padding:12px 10px;text-align:right}html[data-product=ERP] .customer-history-table tr:nth-child(2n){background:#ffffff03}html[data-product=ERP] .customer-history-table tr:hover{background:var(--erp-soft)}.customer-history-table th:first-child{width:52px}.customer-history-table th:nth-child(2){width:100px}.customer-history-table th:last-child{width:190px}.customer-history-table p{white-space:pre-wrap;margin:3px 0}.history-source-button{font-size:13px!important;min-height:36px!important;margin-top:8px}html[data-product=ERP] .customer-history-table .history-source-row td{background:var(--erp-base);padding:20px}.history-source-row pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-family:inherit;direction:rtl;text-align:right;line-height:1.9;margin-top:12px;color:var(--erp-ink)}.history-live-report summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;cursor:pointer;line-height:1.9}.history-live-report summary span{color:var(--erp-muted)}.history-report-body{padding-top:16px}.customer-live-reports{margin-bottom:24px}html[data-product=ERP] .notification-item{width:100%;background:var(--erp-soft);border:1px solid var(--erp-line);color:var(--erp-ink);text-align:right;padding:16px;border-radius:12px;line-height:1.9;min-height:72px}.notification-item strong{display:block;overflow-wrap:anywhere}.notification-item small{display:block;color:var(--erp-muted)!important;margin-top:5px}html[data-product=ERP] .notification-item:hover{background:var(--erp-panel);border-color:var(--erp-accent)}html[data-product=ERP] .notification-item.unread{border-inline-start:4px solid var(--erp-accent)}html[data-product=ERP] .crm-dialog :is(.service-report-view,.service-report-checks,.service-check-result,.service-context,.safir-report){background:var(--erp-soft);border-color:var(--erp-line);color:var(--erp-ink)}html[data-product=ERP] .crm-dialog :is(.service-report-view strong,.service-report-view h3,.service-check-result p,.service-context strong){color:var(--erp-ink)}html[data-product=ERP] .crm-dialog :is(.service-context p,.service-context small){color:var(--erp-muted)}html[data-product=ERP] .crm-dialog :is(.service-check-result.good,.service-check-result.bad){color:var(--erp-ink)}html[data-product=ERP] .personal-settings{max-width:850px}.personal-password{max-width:480px;margin-top:26px;border-top:1px solid var(--erp-line);padding-top:22px}.erp-profile-settings{display:flex;align-items:center;gap:10px;flex:1;min-width:0;background:transparent;border:0;padding:6px 0;color:inherit;text-align:right;cursor:pointer;font:inherit}.erp-profile-settings img{width:40px;height:40px;object-fit:cover;border-radius:50%;border:2px solid #ffffff40}.erp-profile-settings strong{overflow-wrap:anywhere}.erp-profile-settings:hover{color:var(--erp-highlight)}html[data-product=ERP] :is(.service-contract-card .erp-notes,.service-contract-card p){color:var(--erp-ink)}html[data-product=ERP] .service-hint{background:#8c642017;color:#ffe1aa!important;border:1px solid #b5976250}html[data-product=ERP] .service-check-result span{color:var(--erp-highlight)}html[data-product=ERP] .crm-dialog .report-steps span{background:var(--erp-soft);color:var(--erp-ink)}html[data-product=ERP] .crm-dialog .report-steps button.current{background:var(--erp-panel);color:var(--erp-highlight)}html[data-product=ERP] .crm-dialog .report-steps button.current span{background:var(--erp-accent);color:#101d30}html[data-product=ERP] .saved-signature{background:#fafafe}html[data-product=ERP] .crm-dialog .jalali-calendar{background:var(--erp-panel);border-color:var(--erp-line);color:var(--erp-ink)}html[data-product=ERP] .crm-dialog .jalali-calendar-grid button{color:var(--erp-ink);background:var(--erp-panel)}html[data-product=ERP] .crm-dialog .jalali-calendar-grid button:hover{background:var(--erp-soft)}html[data-product=ERP] .crm-dialog .jalali-calendar-grid button.selected{background:var(--erp-accent);color:#101d30}html[data-product=ERP] .profile-photo-editor .avatar{background:var(--erp-soft);color:var(--erp-highlight)}html[data-product=ERP] .contract-sheet{background:#fff;color:#172b44}html[data-product=ERP] .contract-sheet :is(h1,h2,h3,h4,p,strong,small,span,td,th,dt,dd){color:#172b44}@media(max-width:1200px){.monitor-summary{grid-template-columns:repeat(3,1fr)}.monitor-progress{grid-column:1/-1}.service-shortcuts .table-actions{justify-content:flex-start}}@media(max-width:700px){.monitor-summary{grid-template-columns:repeat(2,1fr)}.monitor-kpi:last-child{grid-column:1/-1}.monitor-progress,.monitor-kpi,.monitor-chart-panel{padding:17px!important}.monitor-chart-panel .section-heading{align-items:flex-start;gap:12px}.monitor-attention{flex-wrap:wrap}.monitor-attention .btn{margin:0}.service-tools>.search-input{flex-basis:100%}.plan-editor-fields{grid-template-columns:80px 1fr}.plan-editor-fields .check-line{grid-column:1/-1}.service-shortcuts .table-actions .btn{flex:1;white-space:normal}.service-tabs button{padding:9px 12px}.sticky-form-actions{flex-wrap:wrap}.history-live-report summary{display:grid}.crm-dialog .dialog-form{padding:18px!important}}}html[data-product=ERP]{--ink:#203047;--muted:#52637a;--line:#d3dde8;--bg:#edf2f7}html[data-product=ERP] body{background:#edf2f7;color:#203047}html[data-product=ERP],html[data-product=ERP][data-brand],.erp-shell,.erp-shell[data-brand=safir]{--erp-base:#edf2f7;--erp-panel:#fff;--erp-soft:#f2f6fa;--erp-ink:#203047;--erp-muted:#52637a;--erp-line:#d3dde8;--erp-control-line:#aabbd0;--erp-highlight:#087c78;color-scheme:light}.erp-shell,.erp-shell[data-brand=safir]{background:#edf2f7;color:var(--erp-ink)}.erp-shell .erp-sidebar{--erp-base:#172a45;--erp-panel:#213651;--erp-soft:#2b405d;--erp-ink:#eef4fc;--erp-muted:#bccce0;--erp-line:#4c6380;color:#eef4fc}.erp-shell[data-brand=safir] .erp-sidebar{--erp-base:#252144;--erp-panel:#312b54;--erp-soft:#3b345f;--erp-line:#62577f}.erp-shell .erp-header{background:#1b2940;color:#f0f5fc;border:1px solid #334763;border-radius:14px;padding:16px 20px;margin:0 0 22px;box-shadow:0 5px 16px #182b4410}.erp-shell[data-brand=safir] .erp-header{background:#292547}.erp-shell .erp-header :is(h1,h2,.erp-date,.erp-kicker){color:#f0f5fc}.erp-shell .erp-header :is(.btn,.icon-btn,select){background:#34415a;color:#f0f5fc;border-color:#63738c}.erp-shell .panel,.erp-shell .erp-metrics button{box-shadow:0 5px 18px #23365108;border-radius:14px}.erp-shell :is(input,select,textarea),html[data-product=ERP] .crm-dialog :is(input,select,textarea){background:#fff;color:#203047;border-color:#aabbd0;color-scheme:light}.erp-shell :is(input,textarea)::placeholder,html[data-product=ERP] .crm-dialog :is(input,textarea)::placeholder{color:#687a90;opacity:1}.erp-shell :is(.muted,.erp-stock-list small,.erp-job dt,.erp-pipeline small,.erp-metrics span,.erp-greeting p){color:#52637a}.erp-shell :is(.service-price-preview span,.case-event-line p,.case-event-line time,.service-month-rail small,.service-month-rail span){color:#52637a}.erp-shell table,.erp-shell th,.erp-shell td{color:#203047;border-color:#d3dde8}.erp-shell thead,.erp-shell th{background:#eaf0f7}.erp-shell tbody tr:hover{background:#eef7f6}.erp-shell .btn-primary,html[data-product=ERP] .crm-dialog .btn-primary{color:#102c2a}html[data-product=ERP] .crm-dialog{background:#fff;color:#203047;--erp-ink:#203047;--erp-muted:#52637a;--erp-panel:#fff;--erp-soft:#f2f6fa;--erp-line:#d3dde8;--erp-control-line:#aabbd0}html[data-product=ERP] .crm-dialog :is(label,legend,h3,h4,.form-grid,.quote-item,.quote-items,.contract-metadata){color:#203047}html[data-product=ERP] .crm-dialog :is(.muted,.service-price-preview span,.customer-options small){color:#52637a}html[data-product=ERP] .crm-dialog :is(.quote-item,.quote-total,.service-clocks,.service-report-view,.service-context,.service-report-checks,.service-check-result,.safir-report,.customer-options,.billing-preview,.standard-validity,fieldset){background:#f2f6fa;color:#203047;border-color:#d3dde8}html[data-product=ERP] .crm-dialog :is(.quote-item,.quote-total) :is(label,small){color:#203047}html[data-product=ERP] .crm-dialog .service-clocks :is(h3,p,small,strong,span){color:#203047}html[data-product=ERP] .crm-dialog table,html[data-product=ERP] .crm-dialog :is(th,td){color:#203047;border-color:#d3dde8}html[data-product=ERP] .crm-dialog th{background:#e3edf6}html[data-product=ERP] .crm-dialog tbody tr:nth-child(2n){background:#fff}html[data-product=ERP] .crm-dialog .billing-preview{border:1px solid #cad8e5;border-radius:12px;overflow:hidden}html[data-product=ERP] .crm-dialog .billing-preview summary{color:#203047;background:#e7f3f2;font-weight:700;padding:16px;cursor:pointer;list-style-position:inside}html[data-product=ERP] .crm-dialog .billing-preview[open] summary{border-bottom:1px solid #cad8e5}html[data-product=ERP] .crm-dialog .service-price-preview{background:#e8f4f1}html[data-product=ERP] .crm-dialog .service-price-preview strong{color:#16574f}html[data-product=ERP] .crm-dialog .inline-notice{color:#913f22;background:#fff2e7;border-color:#e9b79c}html[data-product=ERP] .crm-dialog .btn:not(.btn-primary):not(.danger){color:#203047;background:#eaf0f7;border-color:#b6c6d8}.contract-create-form .inline-notice{position:sticky;bottom:8px;z-index:5;box-shadow:0 2px 14px #182b4415}.case-overview{margin:20px 0 22px;display:grid;gap:18px;min-width:0}.case-identity-card{background:linear-gradient(115deg,#243349,#302b50);color:#f4f7fc;border-radius:16px;padding:24px 28px;box-shadow:0 6px 20px #26324910;min-width:0}.case-id-line{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;color:#cfe8e6;font-size:13px}.case-identity-card h2{font-size:25px;line-height:1.7;margin:12px 0 20px;color:#fff}.case-identity-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 26px;margin:0}.case-identity-fields>div{display:grid;grid-template-columns:110px 1fr;gap:10px;border-top:1px solid #ffffff24;padding-top:12px;min-width:0}.case-identity-fields .full{grid-column:1/-1}.case-identity-fields dt{color:#c1cede}.case-identity-fields dd{color:#fff;margin:0;line-height:1.8;overflow-wrap:anywhere}.case-identity-fields a{color:#e5fffc!important;text-decoration:none}.case-summary-grid{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:16px;align-items:start}.case-summary-card,.case-notes-panel{background:#fff;border:1px solid #d3dde8;border-radius:14px;padding:22px;min-width:0;box-shadow:0 4px 14px #182b4405}.case-summary-card h3{margin:0 0 18px;font-size:17px;color:#203047}.case-summary-card dl{margin:0;display:grid;gap:12px}.case-summary-card dl>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.case-summary-card dt{color:#52637a;font-size:13px;line-height:1.9}.case-summary-card dd{color:#203047;font-size:14px;margin:0;overflow-wrap:anywhere;line-height:1.9}.case-finance-card{border-top:4px solid #26bdb4}.case-price{color:#153f50;font-size:23px;display:block;margin:8px 0;line-height:1.8}.case-finance-card>p{color:#52637a;margin:4px 0 18px;font-size:13px}.case-finance-card .service-balance{margin-top:18px;gap:12px;font-size:13px}.case-finance-card .service-balance dt{color:#52637a}.case-finance-card .service-balance dd{color:#203047}.case-section-title{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.case-section-title h3{font-size:17px;margin:0;color:#203047}.case-section-title :is(small,span){font-size:12px;color:#52637a}.case-note-group{margin:20px 0 24px;padding-top:18px;border-top:1px solid #dce4ed}.case-note-group table{width:100%;border-collapse:collapse}.case-note-group th{background:#eaf0f7;color:#203047;text-align:right}.case-note-group :is(th,td){padding:13px 15px;border-bottom:1px solid #dce4ed;line-height:1.9;vertical-align:top}.case-note-group td:first-child{width:56px;color:#60758c}.case-note-group td:nth-child(2){white-space:pre-wrap;overflow-wrap:anywhere;color:#203047}.case-note-group td:last-child:has(.case-phone){min-width:150px}.case-note-group tbody tr:nth-child(2n){background:#f6f8fb}.case-note-group .btn{margin-top:12px}.case-phone{display:block;white-space:nowrap;font-variant-numeric:tabular-nums;color:#087c78!important;font-size:14px;padding:2px 0}.case-original-notes{border-top:1px solid #dce4ed;padding-top:16px}.case-original-notes summary{cursor:pointer;color:#52637a}.case-original-notes pre{font:inherit;white-space:pre-wrap;line-height:2;color:#203047;background:#f2f6fa;border-radius:10px;padding:16px;overflow-wrap:anywhere}.contract-page-preview{background:#e7edf4;padding:18px!important;border:0!important;max-width:850px!important;width:100%!important;box-sizing:border-box}.contract-a4-page{margin:0 0 18px;background:#fff;box-shadow:0 3px 14px #17263c17;break-after:page;overflow:hidden}.contract-a4-page:last-child{margin-bottom:0;break-after:auto}.contract-a4-page img{display:block;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important}@media(max-width:1150px){.case-summary-grid{grid-template-columns:1fr 1fr}.case-finance-card{grid-column:1/-1}}@media(max-width:700px){.erp-shell .erp-header{padding:14px}.case-identity-card{padding:20px}.case-identity-fields,.case-summary-grid{grid-template-columns:1fr}.case-identity-fields>div{grid-template-columns:95px 1fr}.case-identity-card h2{font-size:22px}.case-summary-card,.case-notes-panel{padding:17px}.case-note-group :is(th,td){padding:11px 9px}.contract-page-preview{padding:6px!important}}@media print{@page contract-a4{size:A4;margin:0}body:has(.contract-page-preview){page:contract-a4}.crm-dialog:has(.contract-page-preview){position:static!important;page:contract-a4;padding:0!important;border:0!important;width:210mm!important}.contract-page-preview{page:contract-a4}.contract-page-preview{padding:0!important;background:#fff!important;margin:0!important;width:210mm!important;max-width:none!important}.contract-a4-page{width:210mm;height:297mm;box-shadow:none!important;margin:0!important;break-after:page;break-inside:avoid}.contract-a4-page img{width:210mm!important;height:297mm!important;object-fit:contain}.contract-a4-page:last-child{break-after:auto}}.erp-shell .service-balance dt{color:#52637a}.erp-shell .service-balance dd{color:#203047}.erp-shell :is(.fault-live-alert,.fault-priority-banner){background:#fff0e8;color:#843c26}html[data-product=ERP] .crm-dialog .service-hint{background:#fff3e3;color:#75401c!important;border-color:#e0c49d}@media(max-width:700px){.case-note-group table,.case-note-group tbody{display:block;min-width:0;width:100%}.case-note-group thead{display:none}.case-note-group tr{display:grid;grid-template-columns:32px minmax(0,1fr);border-bottom:1px solid #dce4ed}.case-note-group td{display:block;border:0!important;min-width:0!important;width:auto!important}.case-note-group td:has(.case-phone){grid-column:2;padding-top:0}.case-phone{display:inline-block;margin-inline-end:12px}.case-identity-fields>div{grid-template-columns:100px minmax(0,1fr)}}html[data-product=ERP] .service-visit-card .carry-label{background:#fff2de!important;color:#71401a!important;border:1px solid #d6a65f!important;border-inline-start:4px solid #ba711d!important;line-height:1.9;font-weight:600;padding:10px 12px!important}html[data-product=ERP] .monitor-attention{background:#fff2de;color:#71401a;border:1px solid #d6a65f;border-inline-start:5px solid #ba711d;box-shadow:0 3px 12px #70401808;line-height:1.9}html[data-product=ERP] .monitor-attention :is(span,strong,p,svg){color:#71401a}html[data-product=ERP] .monitor-attention .btn{background:#fff;color:#71401a;border-color:#c69349}html[data-product=ERP] .service-hint{background:#fff2de!important;color:#71401a!important;border-color:#d6a65f}html[data-product=ERP] .service-tabs{display:flex;flex-wrap:wrap;gap:9px;background:linear-gradient(115deg,#e6f2f0,#edf0f8);border:1px solid #c4d8dc;border-radius:16px;padding:12px;box-shadow:0 4px 15px #263d5008;margin:0 0 22px}html[data-product=ERP] .service-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border:1px solid #bacbd8;border-radius:11px;background:#fff;color:#364a63;font-weight:600;line-height:1.6;box-shadow:0 2px 4px #23334905;transition:background .15s,border-color .15s}html[data-product=ERP] .service-tabs button svg{color:#537b88;flex-shrink:0}html[data-product=ERP] .service-tabs button.active{background:#175b60;color:#fff;border-color:#175b60;box-shadow:0 3px 9px #175b6029}html[data-product=ERP] .service-tabs button.active svg{color:#cef2e9}html[data-product=ERP] .service-tabs button:hover{background:#eaf6f3;border-color:#7eaba8;color:#214951}html[data-product=ERP] .service-tabs button.active:hover{background:#194d53;color:#fff}html[data-product=ERP] :is(.service-tabs button,.chat-channels button,.reminder-card .btn):focus-visible{outline:3px solid #248e88;outline-offset:3px}html[data-product=ERP] .chat-layout{padding:0;border:1px solid #cedce4;border-radius:18px;box-shadow:0 7px 22px #27495e0d;overflow:hidden}html[data-product=ERP] .chat-channels{background:#eef5f7;border-inline-end:1px solid #cfdee4;padding:22px 16px}html[data-product=ERP] .chat-channels .eyebrow{color:#486477;font-size:12px;letter-spacing:0}html[data-product=ERP] .chat-channels button{border:1px solid transparent;border-radius:12px;color:#344e60;padding:13px 12px;margin:4px 0;line-height:1.6}html[data-product=ERP] .chat-channels button.active{background:#175b60;color:#fff;border-color:#175b60;box-shadow:0 3px 9px #175b6020}html[data-product=ERP] .chat-channels button:hover{background:#dcebea;color:#254e58}html[data-product=ERP] .chat-channels button.active:hover{background:#194d53;color:#fff}html[data-product=ERP] .chat-channels .avatar{background:#d4e7e6;color:#21595a;border:1px solid #b1d1ce}html[data-product=ERP] .chat-channels button.active .avatar{background:#d7efeb;color:#175b60}html[data-product=ERP] .chat-main>header{background:#fff;border-bottom:1px solid #cfdee4;padding:18px 22px;gap:13px;color:#203c4d}html[data-product=ERP] .chat-header-icon{width:43px;height:43px;flex-shrink:0;display:grid;place-items:center;background:#e0f0eb;color:#1f6b63;border-radius:13px}html[data-product=ERP] .chat-header-title{display:grid;gap:4px}.chat-header-title>span{font-size:12px;color:#566f7d}html[data-product=ERP] .chat-main>header small{color:#526b7c;font-size:11px;margin-inline-start:auto}html[data-product=ERP] .message-stream{background-color:#f2f7f7;background-image:radial-gradient(#b5d1d038 .8px,transparent .8px);background-size:17px 17px;padding:24px;gap:18px}html[data-product=ERP] .message-stream>article{background:#fff;color:#243b4b;border:1px solid #d4e0e6;border-radius:16px 4px 16px 16px;box-shadow:0 3px 9px #24485709;padding:15px 18px;min-width:200px;max-width:78%}html[data-product=ERP] .message-stream>article.mine{background:#ddf2e9;color:#203d36;border-color:#b5d8c9;border-radius:4px 16px 16px}html[data-product=ERP] .chat-message-author{display:flex;align-items:center;gap:8px;font-size:12px;color:#346d7c}html[data-product=ERP] .mine .chat-message-author{color:#286951}html[data-product=ERP] .chat-message-avatar{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#e4eff5;color:#33596b;font-size:12px}html[data-product=ERP] .mine .chat-message-avatar{background:#c7e7d8;color:#286951}html[data-product=ERP] .message-stream>article p{margin:12px 0;line-height:1.95;overflow-wrap:anywhere}html[data-product=ERP] .message-stream>article time{color:#526b7c;font-size:10px;text-align:end;display:block}html[data-product=ERP] .chat-compose{background:#fff;border-top:1px solid #cfdee4;padding:16px;gap:10px;align-items:center}html[data-product=ERP] .chat-compose textarea{background:#f5f9fa;border:1px solid #b9cdd5;border-radius:13px;padding:12px 14px;min-height:54px;color:#203c4d}html[data-product=ERP] .chat-file-button{color:#3b586a;max-width:140px;overflow-wrap:anywhere}html[data-product=ERP] .chat-compose .btn-primary{background:#175b60;color:#fff;border-color:#175b60;border-radius:12px;min-height:48px}html[data-product=ERP] .reminder-workspace{padding:26px}html[data-product=ERP] .reminder-workspace .section-heading{margin-bottom:20px}html[data-product=ERP] .reminder-workspace .eyebrow{color:#2e756e}html[data-product=ERP] .reminder-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #c7dce0;background:#edf7f4;border-radius:12px;padding:12px 16px;margin-bottom:18px;color:#365966;font-size:13px}html[data-product=ERP] .reminder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}html[data-product=ERP] .reminder-card{background:#fff;border:1px solid #cbd9e3;border-radius:15px;padding:20px;min-width:0;box-shadow:0 4px 12px #23334906;display:flex;flex-direction:column}html[data-product=ERP] .reminder-card.selected{border-color:#4c9e91;box-shadow:0 0 0 1px #4c9e91;background:#fbfffd}html[data-product=ERP] .reminder-card-heading{display:flex;justify-content:space-between;gap:12px;align-items:start;flex-wrap:wrap}html[data-product=ERP] .reminder-kind{background:#e7f0f8;color:#31536f;font-size:11px;border:1px solid #c6d9e8;border-radius:8px;padding:5px 9px;white-space:nowrap}html[data-product=ERP] .reminder-kind.debt{background:#fff1dc;color:#71401a;border-color:#e0bc83}html[data-product=ERP] .reminder-body{background:#f3f7fa;border-radius:10px;padding:14px 16px;color:#2d4457;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;flex:1;margin:18px 0}html[data-product=ERP] .reminder-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #dce6ed;padding-top:13px}html[data-product=ERP] .reminder-card-footer>span{font-size:11px;color:#526b7c}html[data-product=ERP] .reminder-card .btn{background:#eaf4f2;border-color:#adcfc8;color:#235950;font-size:12px}html[data-product=ERP] .reminder-editor{display:grid;gap:10px;margin:18px 0;color:#30495f}.reminder-editor small{color:#526b7c;font-size:11px}html[data-product=ERP] .reminder-editor textarea{background:#fff;line-height:1.9;border:1px solid #7dabaa;border-radius:10px;color:#203047;width:100%;box-sizing:border-box;resize:vertical}html[data-product=ERP] .reminder-repeat{background:#f4f7fa;border:1px solid #d5e1e9;border-radius:12px;padding:14px;margin:22px 0;color:#425c71;line-height:1.9}html[data-product=ERP] .reminder-submit{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;border-top:1px solid #d5e1e9;padding-top:18px}html[data-product=ERP] .reminder-submit p{font-size:12px;color:#526b7c;margin:0}html[data-product=ERP] :is(.reminder-submit,.sms-draft-editor) .btn-primary{background:#175b60;color:#fff;border-color:#175b60}html[data-product=ERP] .erp-sms-workspace .safir-statement{background:#fff;border:1px solid #ccdbe5;border-radius:13px;padding:18px;margin:12px 0;gap:14px;box-shadow:0 3px 10px #24485705;flex-wrap:wrap}html[data-product=ERP] .erp-sms-workspace .safir-statement>div:first-child{flex:1;min-width:240px}html[data-product=ERP] .erp-sms-workspace .safir-statement p{background:#f3f7fa;border-radius:10px;padding:12px 14px;color:#2d4457;line-height:1.95;overflow-wrap:anywhere}html[data-product=ERP] .erp-sms-workspace .safir-statement small{color:#526b7c}html[data-product=ERP] .sms-recipient-summary{background:#eaf4f2;border:1px solid #bad6ce;border-radius:12px;padding:17px;display:grid;gap:8px;color:#264d47}html[data-product=ERP] .sms-recipient-summary span{font-size:12px;color:#425f59}@media(max-width:1000px){html[data-product=ERP] .reminder-grid{grid-template-columns:1fr}}@media(max-width:700px){html[data-product=ERP] .service-tabs{gap:7px;padding:9px}html[data-product=ERP] .service-tabs button{padding:9px 10px;font-size:12px}html[data-product=ERP] .chat-channels{padding:10px;border-inline-end:0;border-bottom:1px solid #cfdee4}html[data-product=ERP] .chat-channels button{padding:9px 12px}html[data-product=ERP] .chat-main>header{padding:13px;flex-wrap:wrap}html[data-product=ERP] .chat-main>header small{width:100%;margin:0;padding-inline-start:55px}html[data-product=ERP] .message-stream{padding:14px}html[data-product=ERP] .message-stream>article{max-width:91%;min-width:0;padding:13px 14px}html[data-product=ERP] .chat-compose{padding:12px;flex-wrap:wrap}html[data-product=ERP] .chat-compose textarea{width:100%;flex-basis:100%}html[data-product=ERP] .chat-compose>.btn{font-size:12px;min-height:40px}html[data-product=ERP] .chat-compose>.btn svg{display:block}html[data-product=ERP] .reminder-workspace{padding:17px}html[data-product=ERP] .reminder-card{padding:16px}html[data-product=ERP] .reminder-card .table-actions{flex-wrap:wrap}html[data-product=ERP] .erp-sms-workspace .safir-statement>div:first-child{min-width:0;width:100%;flex-basis:100%}}html[data-product=ERP] .service-monitor{grid-template-columns:minmax(0,1fr);min-width:0}html[data-product=ERP] :is(.monitor-summary,.monitor-summary>*,.monitor-chart-panel,.chart-scroll){min-width:0;max-width:100%}html[data-product=ERP] .monitor-kpi{white-space:normal;overflow-wrap:anywhere}@media(max-width:700px){html[data-product=ERP] .monitor-summary{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-product=ERP] .service-tools :is(.jalali-field,.search-input){max-width:100%;min-width:0}html[data-product=ERP] .monitor-attention span{min-width:0;overflow-wrap:anywhere}}@media(max-width:700px){html[data-product=ERP] .service-shortcuts .table-actions{display:flex;flex-wrap:wrap;min-width:0;flex-basis:100%;width:100%;gap:8px}html[data-product=ERP] .service-shortcuts .table-actions .btn{flex:1 1 125px;min-width:0;max-width:100%;white-space:normal}}html[data-product=ERP] :is(.reminder-toolbar,.reminder-card-heading) .check-line{margin:0!important}@media(max-width:700px){html[data-product=ERP] .chat-compose>.btn{width:auto;flex:0 0 auto;padding:10px 14px;gap:7px}}.erp-case-group{border:1px solid #d8e1eb;border-radius:12px;background:#fff;margin:12px 0;overflow:hidden}.erp-case-group>summary{cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;background:#f6f9fc;list-style-position:inside}.erp-case-group>summary strong{flex:1;min-width:180px}.erp-case-group>summary span{color:#4d5e73}.erp-case-group>.dialog-form,.erp-case-group>p,.erp-case-group>button{margin:16px}.erp-important{border-inline-start:5px solid #b86c11}.erp-important>summary strong{font-weight:800}.erp-important.upgrade-row{background:#fff7e8}.erp-parts-banner{position:sticky;top:0;z-index:15;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 18px;border:2px solid #e2b960;background:#fff7e8;color:#503411;border-radius:12px;margin:12px 0;box-shadow:0 4px 16px #44311515}.erp-parts-banner strong{font-weight:800}.erp-parts-banner span{flex:1}.erp-preserve-lines{white-space:pre-wrap}.erp-quote-line{display:grid;grid-template-columns:minmax(220px,3fr) minmax(90px,1fr) minmax(80px,1fr) minmax(130px,1.5fr) auto;gap:12px;align-items:end;padding:14px;border:1px solid #d8e1eb;border-radius:10px}.erp-date-control{min-width:0}.erp-date-control .jalali-input{position:relative}.jalali-calendar{z-index:80}.erp-alarm-control{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0;font-size:.9rem}.signature-box canvas{width:100%;height:300px;touch-action:none;background:#fff;border:1px solid #b8c6d6;border-radius:10px}.saved-signature{max-width:100%;width:450px;height:auto}.bank-account{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;border:1px solid #d8e1eb;border-radius:10px}.bank-account>div{flex:1}.erp-location-links{margin:12px 0}@media(max-width:720px){.erp-quote-line{grid-template-columns:1fr 1fr}.erp-quote-line label:first-child{grid-column:1/-1}.signature-box canvas{height:260px}.erp-parts-banner{position:relative}.erp-case-group>summary{align-items:flex-start;flex-direction:column}.erp-case-group>summary span{font-size:.85rem}}@media print{.erp-parts-banner,.erp-alarm-control,.erp-location-links{display:none!important}}html[data-product=ERP]{--erp-ink:#29235C;--erp-accent:#00827d;--erp-orange:#FA810A}.erp-shell .service-contract-card{min-width:0;overflow-wrap:anywhere}.erp-shell .service-contract-card .table-actions{display:flex;flex-wrap:wrap;white-space:normal;gap:8px;max-width:100%}.erp-shell .service-contract-card .table-actions .btn{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px}.erp-collapse-control{display:flex;gap:10px;align-items:center;min-height:44px;padding:10px;border:1px solid #ffffff40;border-radius:8px;color:#fff;background:transparent;margin:8px}.erp-nav-row>a>svg{flex:none}.erp-nav-label{flex:1}.erp-nav-group.level-0.is-open>.erp-nav-row{background:#ffffff12;border-radius:10px}.erp-nav-group.level-0>.erp-nav-children{background:#ffffff08;border-radius:6px;padding-block:6px}.erp-nav-group .erp-nav-row a:focus-visible,.erp-nav-toggle:focus-visible{outline:2px solid #FA810A;outline-offset:2px}.erp-notification-settings{position:fixed;top:80px;left:24px;z-index:150;background:#fff;border:1px solid #ccd4e0;padding:12px;border-radius:10px}.erp-service-options{margin-block:12px}.erp-service-options>summary{cursor:pointer;padding:12px;border:1px solid #d8dce8;border-radius:10px}.erp-customer-tabs{display:flex;flex-wrap:wrap;gap:8px}.erp-customer-tabs button{min-height:44px}.erp-shell .erp-main{min-width:0}.erp-shell .personal-settings .erp-alarm-control{margin-block:20px;flex-wrap:wrap}@media(min-width:851px){.erp-shell.sidebar-collapsed{grid-template-columns:84px minmax(0,1fr)}.sidebar-collapsed .erp-sidebar{width:84px}.sidebar-collapsed .erp-main{margin-right:84px}.sidebar-collapsed .erp-brand span,.sidebar-collapsed .erp-product-link,.sidebar-collapsed .erp-collapse-control span,.sidebar-collapsed .erp-profile strong,.sidebar-collapsed .erp-nav-label,.sidebar-collapsed .erp-nav-children,.sidebar-collapsed .erp-nav-future{display:none}.sidebar-collapsed .erp-brand{padding:10px}.sidebar-collapsed .erp-brand img{max-width:58px;object-fit:contain}.sidebar-collapsed .erp-nav-row a{justify-content:center;position:relative}.sidebar-collapsed .erp-nav-row a:focus-visible:after,.sidebar-collapsed .erp-nav-row a:hover:after{content:attr(aria-label);position:absolute;right:62px;white-space:nowrap;background:#29235c;color:#fff;border:1px solid #fff8;border-radius:6px;padding:8px;z-index:200}.sidebar-collapsed .erp-profile{flex-wrap:wrap}.sidebar-collapsed .erp-nav-badge{position:absolute;top:0;left:0;min-width:17px;height:17px;font-size:10px}}@media(max-width:850px){.erp-collapse-control{display:none}.erp-shell .erp-sidebar{max-height:100dvh;overflow-y:auto}.erp-notification-settings{left:8px;max-width:calc(100vw - 16px)}.erp-shell .modal-box{max-height:94dvh;width:calc(100vw - 16px);overflow:auto}}.erp-login-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#f5f7fb;color:#29235c;padding:clamp(16px,4vw,64px);gap:clamp(24px,6vw,100px);align-items:center}.erp-login-intro{position:relative;max-width:570px;padding:30px;overflow:hidden}.erp-login-intro>img{width:150px;height:auto;object-fit:contain;margin-bottom:24px}.erp-login-intro>span{display:block;color:#007d78}.erp-login-intro h1{font-size:clamp(2.3rem,4vw,4.5rem);line-height:1.6;margin:18px 0}.erp-login-intro p{max-width:340px;line-height:2.2}.erp-login-intro small{display:block;margin-top:30px}.erp-login-card{width:100%;max-width:480px;margin:auto;background:#fff;border:1px solid #e1e5ef;border-radius:24px;padding:clamp(20px,3vw,40px);box-shadow:0 20px 70px #29235c0c}.erp-login-card h2{font-size:1.6rem}.erp-login-card .tabs{flex-wrap:wrap}.erp-login-card .dialog-form{padding:0}.erp-login-card input{min-width:0;max-width:100%;min-height:46px}.erp-login-card .btn{min-height:46px;white-space:normal}.erp-login-card .btn-primary{background:#007f79;color:#fff}.erp-login-identities{display:flex;gap:28px;align-items:center;margin-bottom:30px}.erp-login-identities img{width:110px;height:60px;object-fit:contain}.erp-login-card .password-field{display:flex;align-items:center}.erp-login-card .password-field input{flex:1;width:100%}.erp-login-card .password-field button{flex:none}.erp-lift-motion{position:absolute;left:0;bottom:60px;width:90px;height:180px;border:4px solid #29235c22;border-radius:12px;display:flex;overflow:hidden;opacity:.65}.erp-lift-motion i{width:50%;background:linear-gradient(90deg,#e8ebf3,#c7d1e0);border:1px solid white;animation:erp-door 9s ease-in-out infinite}.erp-lift-motion i:nth-child(2){animation-name:erp-door-right}@keyframes erp-door{0%,35%,to{transform:translate(0)}55%,80%{transform:translate(-85%)}}@keyframes erp-door-right{0%,35%,to{transform:translate(0)}55%,80%{transform:translate(85%)}}@media(max-width:800px){.erp-login-page{grid-template-columns:1fr;gap:20px;padding:16px}.erp-login-intro{padding:10px;margin:auto}.erp-login-intro h1{font-size:1.8rem;margin:0}.erp-login-intro>img,.erp-login-intro>span,.erp-login-intro p,.erp-login-intro small,.erp-lift-motion{display:none}.erp-login-card{max-width:500px}.erp-login-card .tabs button{padding-inline:8px}}@media(prefers-reduced-motion:reduce){.erp-lift-motion i{animation:none}}.map-search{display:grid;gap:8px;margin-block:12px}.logistics-map{touch-action:none}.logistics-map-pin{cursor:grab;user-select:none}.erp-location-view{min-width:0}.erp-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.erp-month-grid>strong{text-align:center;padding:8px}.erp-month-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:64px;border:1px solid #d8ddeb;border-radius:8px;background:#fff;color:#29235c}.erp-month-grid button.active{border:2px solid #00827d;background:#eef9f8}.erp-month-grid small{font-size:.7rem}.erp-daily-notebook{padding:18px;background:#fffdf4;border:1px solid #e8dfbd;border-radius:12px}.erp-daily-notebook textarea{background:repeating-linear-gradient(#fffdf4,#fffdf4 30px,#d9d5c5 31px);line-height:31px}.erp-date-time{display:grid;grid-template-columns:1fr 1fr;gap:12px;border:1px solid #d8ddeb;padding:12px;border-radius:10px;min-width:0}.erp-date-time label{min-width:0}.erp-quick-planner{position:fixed;bottom:74px;left:18px;z-index:29;width:min(360px,calc(100vw - 24px));max-height:min(65dvh,540px);overflow:auto;padding:18px;border:1px solid #d8ddeb;border-radius:16px;background:#fff;box-shadow:0 8px 30px #29235c22}.erp-quick-planner input{width:100%;min-height:44px}.erp-quick-planner form{display:grid;gap:8px}.erp-planning-guide p{white-space:pre-wrap;line-height:2}@media(max-width:500px){.erp-date-time{grid-template-columns:1fr}.erp-month-grid{gap:3px}.erp-month-grid button{min-height:48px;font-size:.85rem}.erp-quick-planner{left:12px}.erp-personal-planner .upgrade-row{display:flex;flex-direction:column;align-items:stretch}}.erp-wizard-steps{display:flex;flex-wrap:wrap;gap:8px;margin-block:18px}.erp-waybill-header{display:flex;align-items:center;gap:24px;justify-content:space-between;padding-bottom:18px;margin-bottom:16px;border-bottom:3px solid #00a19a}.erp-waybill-header img{width:150px;max-height:90px;object-fit:contain}.erp-waybill-header h3{margin:0}.erp-waybill-header p{margin:4px 0}.erp-sms-preview{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:#f5f7fa;border-radius:10px}.logistics-map-pin{pointer-events:auto}.erp-shell .logistics-plan small{display:block}@media(min-width:851px){.erp-shell.sidebar-collapsed .erp-main{width:calc(100% - 84px)}}@media print{@page{size:A4;margin:14mm}.logistics-plan{break-inside:auto!important}.logistics-plan .erp-waybill-header{break-after:avoid}.logistics-plan .logistics-stops article,.logistics-plan tr{break-inside:avoid}.logistics-plan .table-scroll{overflow:visible}.erp-quick-planner{display:none!important}}.erp-shell[data-brand=safir] .btn-primary{background:#007e78;color:#fff}.erp-nav-tooltip{position:fixed;right:92px;z-index:200;background:#29235c;color:#fff;border:1px solid #ffffff80;padding:8px 12px;border-radius:8px;white-space:nowrap;pointer-events:none}.sidebar-collapsed .erp-nav-row a:after{display:none!important}.erp-shell .erp-personal-planner .table-actions{flex-wrap:wrap;max-width:100%;white-space:normal;gap:8px}.erp-shell .erp-personal-planner .table-actions .btn{max-width:100%;white-space:normal;min-height:44px}.erp-personal-planner .upgrade-row>div{min-width:0;overflow-wrap:anywhere}.erp-login-intro{grid-column:2;grid-row:1}.erp-login-card{grid-column:1;grid-row:1}.auth-story .erp-login-calendar{margin-top:0}.auth-story .erp-login-calendar h2{font-size:1.4rem;line-height:1.9;margin:8px 0}.erp-staff-calendar-story .auth-elevator-art{display:none}.erp-login-calendar{position:relative;background:#fff;border:1px solid #d9e3ec;border-radius:18px;padding:24px;margin-block:24px;line-height:1.9}.erp-login-calendar h2{font-size:1.45rem;margin:8px 0;color:#29235c}.erp-login-calendar h3{font-size:1rem;margin-top:20px}.erp-login-calendar ul{padding-right:20px}.erp-login-intro .erp-login-calendar p,.erp-login-intro .erp-login-calendar small{display:block;max-width:none;margin-top:8px}.erp-login-intro .erp-lift-motion{display:none}.erp-finance-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.erp-finance-metrics strong{display:block;font-size:1.2rem}.erp-sms-result{display:inline-block;padding:8px 12px;border-radius:8px;font-weight:600}.erp-sms-result.success{background:#dcfce7;color:#166534}.erp-sms-result.failure{background:#fee2e2;color:#991b1b}.erp-sms-result.pending{background:#fef3c7;color:#854d0e}.erp-due-warning{background:#fff7ed;border:1px solid #ea580c;border-radius:12px;padding:16px}.erp-quote-group{border:1px solid #dbe2ec;border-radius:12px;padding:16px;margin-block:16px}.erp-quote-group h3{margin-top:0}.erp-quote-group td input{min-width:90px;max-width:180px}.erp-quote-group td select{max-width:320px}.erp-supply-catalog td details summary{cursor:pointer;font-weight:600}.erp-supply-catalog td details small{padding-block:3px}.erp-supply-catalog .table-actions{margin-top:8px}.erp-supply-catalog th,.erp-supply-catalog td{vertical-align:top}.erp-vehicle-route{padding:28px 18px 18px;margin-block:16px;border:1px solid #dbe2ec;border-radius:12px;background:#f7fafc}.erp-vehicle-track{height:90px;position:relative;direction:ltr;margin-inline:30px}.erp-vehicle-track:before{content:"";height:8px;border-radius:20px;background:#dbe2ec;position:absolute;left:0;right:0;bottom:16px}.erp-vehicle-completed{height:8px;border-radius:20px;background:#00847e;position:absolute;left:0;bottom:16px}.erp-vehicle-icon{position:absolute;bottom:18px;transform:translate(-50%);width:112px;height:66px;color:#29235c}.erp-vehicle-icon svg{width:100%;height:100%}.erp-vehicle-logos{position:absolute;left:8px;right:32px;top:17px;display:flex;gap:3px;justify-content:center;align-items:center}.erp-vehicle-logos img{width:28px;height:18px;object-fit:contain;background:#fff}.erp-vehicle-stages{display:flex;justify-content:space-between;gap:8px;font-size:.875rem}.erp-vehicle-route p{margin-bottom:0}@media(max-width:800px){.erp-login-intro,.erp-login-card{grid-column:auto;grid-row:auto}.erp-login-intro{order:2;width:100%}.erp-login-intro>h1{display:none}.erp-login-calendar{margin:0;padding:18px}.erp-finance-metrics{grid-template-columns:1fr}.erp-vehicle-stages{flex-wrap:wrap}.erp-quote-group{padding:10px}}@media(max-width:820px){.auth-story.erp-staff-calendar-story{display:flex;min-height:0;padding:0;background:transparent;border:none}.erp-staff-calendar-story>:not(.erp-login-calendar){display:none}}.quote-wizard{gap:22px!important}.quote-wizard-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#596b80}.quote-wizard-intro>span{font-weight:800;color:#33255f}.quote-step-nav{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:12px;background:#f2f4fa;border-radius:18px}.quote-step-nav button{display:flex;flex-direction:column;align-items:center;gap:8px;background:transparent;border:0;color:#65748a;font:inherit;font-size:.75rem;padding:9px 3px;cursor:pointer;border-radius:12px}.quote-step-nav b{display:grid;place-items:center;width:30px;height:30px;border:1px solid #d0d9e7;background:#fff;border-radius:50%;font-size:.9rem}.quote-step-nav button[aria-current]{background:#33255f;color:#fff;box-shadow:0 4px 12px #33255f22}.quote-step-nav button[aria-current] b{background:#00a59c;border-color:#00a59c}.quote-step-nav button.complete b{background:#d8f4ec;color:#00756e;border-color:#b8e4d8}.quote-step-heading>span{font-size:.8rem;color:#007f79}.quote-step-heading h3{font-size:1.4rem;margin:6px 0 0;outline:none;color:#302654}.quote-full-width{grid-column:1/-1}.quote-soft-note{padding:15px 18px;background:#f0f7fb;color:#49627b;border-radius:12px;line-height:1.9}.quote-group-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.quote-group-choice{display:flex!important;align-items:flex-start;gap:12px;border:1px solid #d6dfeb;border-radius:16px;padding:22px;cursor:pointer}.quote-group-choice.selected{border-color:#009e93;background:#effbf8;box-shadow:0 0 0 1px #009e93}.quote-group-choice input{width:19px!important;height:19px;accent-color:#008e83;margin-top:8px}.quote-group-choice span{display:grid;gap:12px}.quote-group-choice b{color:#00887f;font-size:1.4rem}.quote-group-choice small{line-height:1.9;color:#627387}.quote-wizard .quote-item-fields{display:grid;grid-template-columns:minmax(110px,.6fr) minmax(220px,1.7fr) minmax(160px,1fr);gap:16px}.quote-wizard .quote-item-fields input,.quote-wizard .quote-item-fields select{width:100%;min-width:0}.quote-item-fields small{display:block;margin-top:8px;line-height:1.8;color:#68788d}.quote-wizard .quote-item-card{border-radius:15px;box-shadow:0 3px 12px #263f5910}.quote-line-description{margin-top:12px}.quote-line-tools{margin-top:12px;font-size:.85rem;color:#607187}.quote-line-tools>label{margin-top:12px}.quote-text-button{border:0;background:transparent;color:#008177;text-align:right;padding:8px 0;font:inherit;font-size:.8rem;cursor:pointer}.quote-stage-total,.quote-grand-total{display:flex;justify-content:space-between;align-items:center;gap:16px;border-radius:16px;padding:22px;background:#eef8f5;color:#006f64;border:1px solid #bde3d9}.quote-stage-total small,.quote-grand-total small{display:block;margin-top:8px;font-size:.8rem}.quote-stage-total strong,.quote-grand-total strong{font-size:1.25rem;white-space:nowrap}.quote-grand-total{background:#302454;color:#fff;border-color:#302454}.quote-labor-card,.quote-extra-costs{padding:24px;border:1px solid #d4deeb;border-radius:18px;background:#f9fbfe}.quote-labor-card h4,.quote-extra-costs h4{margin:0 0 20px;font-size:1.1rem}.quote-labor-breakdown p{display:flex;justify-content:space-between;gap:16px;padding:12px 0;margin:0;border-bottom:1px solid #dce5ee}.quote-labor-gross{color:#007c72;font-size:1.1rem}.quote-labor-card small{display:block;margin-top:16px;line-height:1.8}.quote-advanced{padding:16px;border:1px solid #dce4ef;border-radius:12px}.quote-advanced summary,.quote-line-tools summary{cursor:pointer}.quote-advanced>.form-grid{margin-top:18px}.quote-review{display:grid;gap:12px}.quote-review-row{display:grid;grid-template-columns:minmax(130px,1fr) 2fr auto;align-items:center;gap:18px;padding:14px 18px;border-bottom:1px solid #e0e6ef}.quote-review-row strong{overflow-wrap:anywhere}.quote-review-row>span{color:#5c6e83}.quote-review-row .btn{font-size:.8rem}.quote-wizard-footer{position:sticky;bottom:0;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0 4px;border-top:1px solid #dae2ed;z-index:2}.quote-wizard-footer>span{font-size:.85rem;color:#77849a}.quote-empty-section{padding:40px;text-align:center;background:#f4f6fa;border-radius:14px}.quote-empty-section button{display:block;margin:16px auto 0}.quote-price-missing{color:#ac562c!important}.quote-stale-warning{background:#fff8ec;padding:18px;border:1px solid #efd7af;border-radius:12px;line-height:1.9;color:#835321}.quote-stale-warning input:not([type=checkbox]){background:#fff}.erp-staff-login.auth-page{background:radial-gradient(ellipse at 8% 20%,#00a89a22,transparent 42%),radial-gradient(ellipse at 95% 90%,#ff890518,transparent 45%),#edf0f7}.erp-staff-login .auth-shell{box-shadow:0 24px 90px #241b5422;border:1px solid #ffffff;border-radius:28px;overflow:hidden;background:#fff}.erp-staff-login .auth-header{background:linear-gradient(110deg,#f4f8fc,#fff)}.erp-staff-login .auth-form-panel{padding-block:40px}.erp-staff-login .auth-story.erp-staff-calendar-story{position:relative;overflow:hidden;background:radial-gradient(ellipse at 0% 100%,#008f8d88,transparent 65%),linear-gradient(145deg,#201944,#372565);color:#fff;border:0;border-radius:22px}.erp-staff-login .auth-story.erp-staff-calendar-story:after{content:"";position:absolute;pointer-events:none;width:240px;height:240px;border:1px solid #ffffff20;border-radius:50%;left:-100px;top:-90px;box-shadow:0 0 0 40px #ffffff05,0 0 0 80px #ffffff04}.erp-staff-login .auth-story h2{color:#fff}.erp-staff-login .auth-story>p{color:#d4d6e7}.erp-staff-login .auth-story-tag{background:#ffffff16;color:#e7e5f6;border-color:#ffffff25}.erp-staff-login .auth-features li{color:#ecebf7;border-color:#ffffff20}.erp-staff-login .auth-features svg{color:#3ed8c1}.erp-staff-login .erp-login-calendar{background:#ffffff12;border:1px solid #ffffff30;color:#eef0fa;box-shadow:0 8px 30px #130e2e20;backdrop-filter:blur(8px)}.erp-staff-login .erp-login-calendar h2{color:#fff;font-size:1.55rem}.erp-staff-login .erp-login-calendar h3{color:#55dfcc}.erp-staff-login .erp-login-calendar p,.erp-staff-login .erp-login-calendar small{color:#d5d9ec}.erp-staff-login .auth-story .erp-login-calendar h2{color:#fff}.erp-staff-login .auth-eyebrow{color:#008f83}.erp-staff-login .auth-form-heading h1{color:#2e2458}.erp-staff-login .auth-audience [aria-current]{box-shadow:inset 0 -3px #009d91}.erp-staff-login .auth-footer{color:#5d627e}.erp-staff-login .auth-form-panel .btn-primary{background:linear-gradient(100deg,#30235d,#474080);border-color:#3b2e69;box-shadow:0 5px 15px #33235d22}@media(max-width:820px){.quote-step-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.quote-group-choices{grid-template-columns:1fr}.quote-wizard .quote-item-fields{grid-template-columns:1fr 1fr}.quote-item-fields>div{grid-column:1/-1;grid-row:2}.quote-wizard-footer>span{display:none}.quote-review-row{grid-template-columns:1fr auto;gap:10px}.quote-review-row>span{grid-column:1/-1}.quote-stage-total,.quote-grand-total{align-items:flex-start;flex-direction:column}.erp-staff-login .auth-story.erp-staff-calendar-story{padding:20px;min-height:0;border-radius:18px}.erp-staff-login .auth-form-panel{padding-block:22px}.erp-staff-login .auth-shell{border-radius:20px}.quote-labor-card,.quote-extra-costs{padding:16px}}@media(max-width:600px){.quote-wizard .form-grid{grid-template-columns:1fr}.quote-wizard-intro{align-items:flex-start}.quote-wizard-intro small{max-width:65%;line-height:1.8}.quote-wizard-footer .btn{font-size:.8rem;padding-inline:12px}}.panel-customer-home{max-width:1240px;margin:auto}.panel-customer-hero{background:radial-gradient(circle at 0 100%,#008e8b88,transparent 70%),linear-gradient(125deg,#221b46,#3a2867);color:#fff;padding:36px;border-radius:22px;margin-bottom:24px}.panel-customer-hero h2{font-size:1.8rem;margin:10px 0}.panel-customer-hero p{max-width:760px;line-height:2;color:#e2dfef}.customer-quotes{margin-block:24px}.customer-quotes .section-heading p{line-height:1.9;color:#64718a}.panel-quote-row{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:20px 0;border-bottom:1px solid #e0e5ef}.panel-quote-row>div:first-child{display:grid;gap:8px}.panel-quote-row small{color:#758297}.panel-quote-status{font-size:.85rem;color:#835c22}.panel-quote-status.approved{color:#007b69}.panel-catalog-line{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid #dfe6ef}.panel-catalog-line strong{display:block;margin-top:8px}.panel-entry-note{line-height:1.9;background:#eef7f6;border-radius:12px;padding:14px;color:#276a65}.panel-login-switch{padding:16px;text-align:center}.auth-form select,.auth-form textarea{font:inherit;width:100%;padding:12px;border:1px solid #d9e1e9;border-radius:10px;background:#fff;color:#25324a}.auth-page.erp-staff-login .auth-story:not(.erp-staff-calendar-story){background:radial-gradient(circle at 0 100%,#008b8999,transparent 65%),linear-gradient(140deg,#221b46,#3a2867)}@media(max-width:700px){.panel-quote-row{align-items:flex-start;flex-direction:column}.panel-catalog-line{grid-template-columns:1fr 1fr}.panel-catalog-line>label:first-child{grid-column:1/-1}.panel-customer-hero{padding:24px}.panel-customer-hero h2{font-size:1.4rem}}.panel-quote-status.pending{background:#fff1d6;color:#754900;padding:.3rem .65rem;border-radius:.6rem;width:fit-content}.panel-quote-status.approved{background:#e2f5ed;padding:.3rem .65rem;border-radius:.6rem;width:fit-content}.panel-quote-status.cancelled{color:#8b2727;background:#fbe9e9;padding:.3rem .65rem;border-radius:.6rem;width:fit-content}.erp-operations-hub{margin-block:1rem 1.5rem}.erp-operations-hub>header{background:linear-gradient(115deg,#153656,#101c36 72%);color:#fff;border-radius:1.2rem;padding:clamp(1rem,3vw,2rem);margin-bottom:1rem;position:relative;overflow:hidden}.erp-operations-hub>header:after{content:"";position:absolute;inset-inline-end:0;top:0;width:40%;height:100%;background:repeating-linear-gradient(135deg,transparent 0 28px,#7bd5da17 29px 31px);pointer-events:none}.erp-operations-hub>header span{color:#adccd9;font-size:.85rem}.erp-operations-hub>header h2{font-size:clamp(1.4rem,3vw,2rem);margin:.3rem 0 0;color:#fff}.erp-operations-hub .erp-module-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,224px),1fr));gap:14px}.erp-hub-card{--tint:#e5edff;--ink:#244d92;color:#182844;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-height:91px;padding:14px;text-decoration:none;border:1px solid #dde6ef;border-radius:15px;background:#fff;box-shadow:0 3px 10px #194b7020}.erp-hub-card:hover,.erp-hub-card:focus-visible{border-color:var(--ink);background:color-mix(in srgb,var(--tint) 36%,white)}.erp-hub-card.hue-1{--tint:#dff7ee;--ink:#006b55}.erp-hub-card.hue-2{--tint:#fff1d5;--ink:#815500}.erp-hub-card.hue-3{--tint:#ede7ff;--ink:#51358a}.erp-hub-card.hue-4{--tint:#ffebe7;--ink:#913d37}.erp-hub-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--tint);color:var(--ink)}.erp-hub-arrow{color:var(--ink)}.dispatch-road{border:1px solid #e0e7ef;border-radius:16px;padding:14px 22px;background:linear-gradient(160deg,#fff,#f2f7fc);margin-block:1rem}.dispatch-road header{display:flex;justify-content:space-between;align-items:center;gap:10px}.dispatch-road header strong{color:#0b625d;background:#dcf4ed;padding:5px 12px;border-radius:999px}.dispatch-road small{color:#46617a}.dispatch-track{height:18px;margin:67px 30px 0;position:relative;background:#53677c;border-radius:999px}.dispatch-track:before{content:"";position:absolute;inset:8px 0 auto;border-block-start:2px dashed #f8faffaa}.dispatch-travelled{height:100%;position:absolute;inset-inline-start:0;background:#147f83;border-radius:inherit}.dispatch-travelled:after{content:"";position:absolute;inset:8px 2px auto;border-block-start:2px dashed #e6ffffb0}.dispatch-vehicle{position:absolute;bottom:12px;width:88px;height:54px;transform:translate(50%);filter:drop-shadow(0 4px 4px #18294159);transition:inset-inline-start .25s ease;z-index:1}.dispatch-cargo{position:absolute;inset:9px 0 12px 33px;background:linear-gradient(#f5faff,#c7d5ea);border:2px solid #314765;border-radius:4px;display:grid;place-items:center}.dispatch-cargo img{max-width:88%;max-height:19px;object-fit:contain;background:#fff;border-radius:2px}.dispatch-cab{position:absolute;inset:15px auto 10px 1px;width:32px;clip-path:polygon(37% 0,100% 0,100% 100%,0 100%,0 52%);border-radius:4px;background:linear-gradient(145deg,#a5d9ed 0 35%,#2d4d80 36% 68%,#193050 69%);border-bottom:4px solid #192536}.dispatch-vehicle i{position:absolute;bottom:1px;width:17px;height:17px;border:4px solid #182535;background:#a7b8cd;border-radius:50%;left:10px}.dispatch-vehicle i:last-child{left:auto;right:10px}.dispatch-vehicle.pickup .dispatch-cargo{top:25px}.dispatch-vehicle.bike{width:66px}.dispatch-vehicle.bike .dispatch-cargo{inset:17px 0 23px 34px}.dispatch-vehicle.bike .dispatch-cab{left:13px;top:19px;transform:skew(-22deg);height:24px;width:30px;border-radius:8px}.dispatch-vehicle.bike i{width:15px;height:15px;left:2px}.dispatch-vehicle.bike i:last-child{left:auto;right:2px}.dispatch-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:7px 0 0;padding:0;list-style:none;text-align:center;color:#4e6479;font-size:clamp(.67rem,1.3vw,.84rem)}.dispatch-stages span{display:block;margin:0 auto 5px;height:8px;width:8px;border-radius:50%;background:#98a9bd}.dispatch-stages .done{color:#095e59;font-weight:650}.dispatch-stages .done span{background:#147f83}.dispatch-stages [aria-current]{text-decoration:underline;text-underline-offset:4px}.repair-share{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;padding:1rem}.repair-share ul{list-style:none;padding:0;margin:0;display:grid;gap:.5rem;min-width:13rem}.repair-share li{display:flex;align-items:center;gap:.55rem}.repair-share li b{margin-inline-start:auto}.repair-share li i{width:.85rem;height:.85rem;border-radius:3px}.repair-pie{width:150px;aspect-ratio:1;border-radius:50%;box-shadow:0 0 0 1px #d7e1e9;flex:none}.erp-letter-recipients{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.4rem;max-height:13rem;overflow:auto}.production-journey{list-style:none;padding:0;margin:16px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:6px;color:#4b5e73}.production-journey li{display:grid;grid-template-columns:18px 1fr;gap:5px;align-items:center;padding:9px 6px;background:#edf2f7;border-radius:7px;font-size:.79rem}.production-journey li span{display:grid;place-items:center}.production-journey [data-state=done]{color:#17634d;background:#dff3e8}.production-journey [data-state=current]{background:#e6eafa;color:#2d3876;font-weight:800;box-shadow:inset 0 0 0 1px #a1add6}.panel-production-order{padding:14px;border:1px solid #d5e0ec;border-radius:12px;margin-top:12px}.quote-step-note{margin:12px 0;padding:12px;border:1px solid #d6e1ee;border-radius:12px}.quote-step-note textarea{resize:vertical}.customer-assistant{position:fixed;left:20px;bottom:22px;z-index:90}.customer-assistant-launch{width:52px;height:52px;border-radius:50%;background:#113f61;color:#fff;display:grid;place-items:center;border:0;box-shadow:0 7px 22px #132d4433;cursor:pointer}.customer-assistant-window{position:absolute;left:0;bottom:65px;width:min(370px,calc(100vw - 32px));max-height:min(650px,calc(100dvh - 110px));display:flex;flex-direction:column;background:#fff;border:1px solid #d6e1ee;border-radius:18px;overflow:hidden;box-shadow:0 14px 50px #17263d30}.customer-assistant-window>header{display:flex;align-items:center;justify-content:space-between;padding:14px;background:#113f61;color:#fff}.customer-assistant-window>label{padding:10px;display:grid;gap:6px}.customer-assistant-messages{overflow:auto;min-height:140px;padding:14px;display:flex;flex-direction:column;gap:10px}.customer-assistant-messages article{border-radius:12px;padding:10px;max-width:90%;white-space:pre-wrap;overflow-wrap:anywhere}.customer-assistant-messages article p{margin:5px 0}.customer-assistant-messages .from-staff{background:#e9effa;align-self:flex-start}.customer-assistant-messages .from-customer{background:#e7f5ee;align-self:flex-end}.customer-assistant-window form{display:flex;align-items:center;gap:7px;padding:10px;border-top:1px solid #dae3ed}.customer-assistant-window textarea{flex:1;min-width:0;resize:none}.customer-assistant-window>.notice,.customer-assistant-window>p{padding:8px;margin:0;font-size:13px}.customer-assistant-launch{position:relative}.assistant-unread{position:absolute;top:-5px;right:-5px;min-width:21px;height:21px;padding:0 4px;display:grid;place-items:center;box-sizing:border-box;background:#b82845;color:#fff;border:2px solid white;border-radius:20px;font-size:11px;font-weight:700}.production-priority-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:16px 0}.production-filter{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;background:#fff;border:1px solid #d5dfed;border-radius:14px;padding:18px 12px;color:#243b59;cursor:pointer;box-shadow:0 5px 15px #22395908}.production-filter strong{font-size:1.35rem}.production-filter.urgent,.production-priority.urgent{color:#a72142;background:#fff0f3}.production-filter.high,.production-priority.high{color:#935b0c;background:#fff6df}.production-filter.review{background:#edf1ff;color:#404989}.production-filter.late{background:#fce9e9;color:#9c2828}.production-filter.active{outline:2px solid currentColor;outline-offset:1px}.production-priority{display:inline-block;padding:4px 10px;border-radius:20px;font-size:.82rem;background:#e8f1f7}.production-needs-review{padding:9px 12px;background:#fff4dd;color:#78571f;border-radius:8px}.production-kind-filter{display:flex;align-items:center;gap:10px;margin:12px 0}.production-kind-filter select{width:auto;max-width:100%}html[data-product=ERP] .crm-dialog .dialog-title>.icon-btn,.erp-workspace-tabs>div>button[aria-label^=\628\633\62a\646]{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;min-width:42px;min-height:42px;border:1px solid #aabbcf;border-radius:9px;background:#fff;color:#30245d;font-size:28px;line-height:1;cursor:pointer}html[data-product=ERP] .crm-dialog .dialog-title>.icon-btn:hover,.erp-workspace-tabs>div>button[aria-label^=\628\633\62a\646]:hover{background:#fcebed;color:#9e2239}html[data-product=ERP] :is(button,a,input,select,textarea):focus-visible{outline:3px solid #0a9899;outline-offset:3px}html[data-product=ERP] :is(.form-grid,.table-actions,.dialog-title,.section-heading)>*{min-width:0}html[data-product=ERP] .table-scroll{overflow-x:auto}html[data-product=ERP] th{white-space:normal;line-height:1.8}html[data-product=ERP] td{overflow-wrap:anywhere;vertical-align:top}html[data-product=ERP] .table-actions{display:flex;flex-wrap:wrap;gap:10px}html[data-product=ERP] .table-actions .btn{white-space:normal;min-height:42px;line-height:1.8}html[data-product=ERP] .dialog-title{gap:16px}html[data-product=ERP] .dialog-title h2{flex:1;line-height:1.7}.customer-login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#29235c,#08777b);padding:28px}.customer-login>.panel{width:min(500px,100%);padding:36px}.customer-login h1{font-size:25px}.customer-entry{display:block;margin:14px 0;background:#edf8f7!important;color:#075e65!important}.customer-portal{max-width:1380px;margin:auto;padding:28px}.customer-layout{display:grid;grid-template-columns:250px 1fr;gap:22px;margin-top:24px}.customer-layout nav{align-self:start}.customer-document-page{display:block;width:100%;height:auto;border:1px solid #d3deea;margin:12px auto}.customer-target{display:block;border:2px solid #be263c;background:#fff4f4;border-radius:12px;padding:18px;color:#8c1729;font:inherit;cursor:pointer;text-align:right;margin:18px 0;width:100%}.tivan-identity{display:flex;flex-direction:column;align-items:center;max-width:180px}.tivan-identity img{width:100%;height:62px;object-fit:contain;object-position:top}.tivan-identity span{color:#075e65;font-weight:700;word-spacing:.28em;width:100%;text-align:justify;text-align-last:justify}.erp-login-page{background:#edf2f7}.erp-login-card{box-shadow:0 22px 70px #25334a17;border:1px solid #d6e1ed}.erp-login-intro{background:linear-gradient(145deg,#30235f,#0a737a);color:#fff}.erp-login-intro h1{font-size:clamp(34px,4vw,64px)}.installation-quote-table{min-width:1150px}.installation-quote-table td{min-width:100px}.installation-quote-table td:first-child{min-width:230px}.installation-quote-table :is(input,select){min-height:44px;width:100%}.erp-record-highlight{outline:3px solid #c82e45;background:#fff5f5!important;scroll-margin-top:100px}@media(max-width:760px){.customer-layout{grid-template-columns:1fr}.customer-layout nav{display:flex;flex-wrap:wrap}.customer-portal,.customer-login{padding:14px}.customer-login>.panel{padding:24px}.erp-login-page{display:block}.erp-login-intro{padding:28px!important}.erp-login-card{margin:16px!important}.crm-dialog .dialog-title{align-items:flex-start}}.tivan-identity{width:180px;flex:0 0 180px}.tivan-wordmark{width:180px;height:56px;overflow:hidden}.tivan-wordmark img{display:block!important;width:180px!important;height:auto!important;max-height:none!important;object-fit:fill!important}.tivan-identity svg{width:180px;height:32px}.erp-login-intro .erp-lift-motion{border:1px solid #ffffff55;border-radius:20px;background:linear-gradient(135deg,#ffffff15,#ffffff05);min-height:240px}.auth-page{min-height:100dvh;background:#f2f4f7;color:#172b4a;display:grid;place-items:center;padding:32px 24px;font-family:Vazirmatn,Tahoma,sans-serif}.auth-shell{width:min(1100px,100%);background:#fff;border:1px solid #e1e6ec;border-radius:28px;box-shadow:0 24px 80px #1429470b;overflow:hidden}.auth-header{display:flex;justify-content:space-between;align-items:center;padding:24px 40px;border-bottom:1px solid #edf0f3;gap:24px}.auth-brands{display:flex;align-items:center;gap:25px;direction:ltr}.auth-brand{display:grid;place-items:center;gap:3px;width:150px;flex:none}.auth-brand>span{font-size:11px;color:#637289;letter-spacing:.01em}.auth-logo-frame{width:150px;height:48px;display:flex;align-items:center;justify-content:center;overflow:hidden}.auth-logo-frame img{display:block;width:150px;height:48px;object-fit:contain;max-width:none}.auth-tivan-logo{align-items:flex-start}.auth-tivan-logo img{width:150px;height:auto;object-fit:initial;transform:translateY(-2px)}.auth-brand-divider{height:35px;width:1px;background:#e1e6ed}.auth-header-caption{font-size:12px;color:#6d7c90}.auth-columns{display:grid;grid-template-columns:1fr 1fr;gap:44px;padding:36px 40px 32px;align-items:start}.auth-form-panel{min-width:0;padding:0 2px}.auth-audience{display:grid;grid-template-columns:1fr 1.35fr;padding:4px;gap:4px;background:#f0f4f6;border:1px solid #e5ebef;border-radius:12px;font-size:13px;margin-bottom:26px}.auth-audience a,.auth-audience span{display:flex;align-items:center;justify-content:center;padding:11px 6px;border-radius:9px;color:#63738a;text-decoration:none;white-space:nowrap}.auth-audience [aria-current]{background:#fff;box-shadow:0 2px 6px #18324c0b;color:#087b78;font-weight:700}.auth-audience a:hover{background:#e4ecee;color:#173651}.auth-form-heading .auth-eyebrow{color:#0c827e;font-size:12px}.auth-form-heading h1{font-size:24px;line-height:1.65;margin:7px 0 6px;letter-spacing:-.5px}.auth-form-heading p{color:#748194;font-size:12px;line-height:2;margin:0 0 20px}.auth-form{display:grid;gap:15px;padding:0;margin:0}.auth-form label{display:grid;gap:7px;font-size:13px;color:#263c57;font-weight:500}.auth-form input{width:100%;box-sizing:border-box;min-width:0;height:47px;min-height:47px;padding:10px 13px;border:1px solid #d9e1e9;border-radius:10px;background:#fff;color:#172b4a;font-family:inherit;font-size:15px;outline:none;box-shadow:none}.auth-form input:focus{border-color:#138b85;box-shadow:0 0 0 3px #12877f13}.auth-form input:disabled{background:#f5f7fa}.auth-form input::placeholder{font-size:12px;color:#98a3b1}.auth-form input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #f5faf9 inset;-webkit-text-fill-color:#172b4a}.auth-form .password-field{position:relative;display:block}.auth-form .password-field input{padding-left:45px}.auth-form .password-field .icon-btn{position:absolute;left:4px;top:4px;width:39px;height:39px;min-height:0;border:0;background:transparent;color:#718197;box-shadow:none;display:grid;place-items:center}.auth-form>.btn{width:100%;justify-content:center;min-height:46px;border-radius:10px;font-size:13px;gap:8px}.auth-form>.btn-primary{background:#087c77;color:#fff;border-color:#087c77;font-weight:700}.auth-form>.btn-primary:hover{background:#066a66}.auth-form>.btn:disabled{opacity:.55;cursor:not-allowed}.auth-form>.btn:not(.btn-primary){background:#fff;color:#53667d;border-color:#dce4eb}.auth-form .form-error,.auth-form .notice{margin:0;font-size:12px;line-height:1.9;border-radius:9px}.auth-form>small,.auth-form>p{font-size:12px;color:#718096;margin:0}.auth-form-panel>.tabs{margin-bottom:20px;padding:0;border-bottom:1px solid #e4e9ee;display:flex;gap:14px}.auth-form-panel>.tabs button{flex:1;padding:10px 2px;font-size:12px;border:0;border-radius:0;background:transparent;color:#758195;border-bottom:2px solid transparent}.auth-form-panel>.tabs button.active{color:#087c77;border-bottom-color:#087c77;font-weight:700}.auth-captcha{display:grid;gap:8px}.auth-captcha-heading{display:flex;justify-content:space-between;align-items:center}.auth-captcha-heading span{font-size:11px;color:#8995a5}.auth-captcha-image{display:flex;align-items:center;justify-content:space-between;border:1px solid #e1e7ee;background:#f7f9fc;border-radius:10px;padding:0 12px;min-height:76px}.auth-captcha-image img{display:block;width:230px;height:76px;object-fit:contain;max-width:calc(100% - 42px)}.auth-captcha-image button{background:#fff;border:1px solid #e0e6ed;border-radius:9px;width:34px;height:34px;display:grid;place-items:center;color:#597188;flex:none}.auth-captcha-image button:disabled{opacity:.4}.auth-captcha input{letter-spacing:8px;text-align:center}.auth-captcha input::placeholder{letter-spacing:0}.auth-field-error{font-size:11px;color:#a64935;margin:0}.auth-help{display:flex;align-items:flex-start;justify-content:center;gap:7px;color:#8a95a3;font-size:10px;line-height:1.9;margin:22px 0 0;text-align:center}.auth-help svg{flex:none;color:#839b98;margin-top:2px}.auth-target{padding:12px 14px;background:#edf8f5;border:1px solid #cce4dd;border-radius:10px;color:#217461;font-size:12px;line-height:1.9}.auth-story{position:relative;align-self:stretch;min-height:510px;border-radius:20px;padding:29px 28px;background:#eef5f4;overflow:hidden;display:flex;flex-direction:column;border:1px solid #e6efed}.auth-story-top{display:flex;align-items:center;justify-content:space-between;color:#25837a}.auth-story-tag{font-size:11px;padding:5px 9px;border:1px solid #bfd9d3;border-radius:20px}.auth-story h2{font-size:32px;line-height:1.85;letter-spacing:-.8px;color:#1c3e46;margin:28px 0 10px}.auth-story>p{color:#6d8688;font-size:12px;line-height:2.1;max-width:290px;margin:0}.auth-elevator-art{position:relative;height:190px;margin:23px 0 20px;overflow:hidden;background:linear-gradient(90deg,transparent 0 20%,#dcebe8 20% 20.3%,transparent 20.3% 80%,#dcebe8 80% 80.3%,transparent 80.3%)}.auth-art-shaft{position:absolute;left:calc(50% - 58px);width:116px;height:210px;border:1px solid #9bbeb8;border-bottom:0;border-radius:58px 58px 0 0;background:#e6f0ed}.auth-art-shaft>i{height:1px;background:#b3cec7;position:absolute;left:14px;right:14px;top:77px}.auth-art-shaft>i:nth-child(2){top:125px}.auth-art-shaft>i:nth-child(3){top:174px}.auth-art-shaft b{display:flex;position:absolute;left:22px;right:22px;top:71px;height:96px;padding:5px;border:1px solid #178278;border-radius:8px;background:#f7fcfa;box-shadow:0 13px 26px #156b5918;gap:2px}.auth-art-shaft b span{width:50%;background:linear-gradient(160deg,#379d8e,#0c756d);border-radius:2px}.auth-art-lines{position:absolute;inset:0}.auth-art-lines i{position:absolute;left:0;right:0;top:50px;height:1px;background:#cbdeda}.auth-art-lines i:nth-child(2){top:100px}.auth-art-lines i:nth-child(3){top:150px}.auth-art-floor{position:absolute;left:16%;top:116px;color:#a8714d;font-size:13px;background:#f6eae0;border:1px solid #ecd4c2;padding:7px 10px;border-radius:9px}.auth-features{display:grid;gap:13px;margin:auto 0 0;padding:20px 0 0;list-style:none;border-top:1px solid #d7e6e1}.auth-features li{display:flex;align-items:center;gap:10px;color:#44666a;font-size:12px}.auth-features svg{color:#17877b}.auth-footer{display:flex;justify-content:space-between;color:#97a1ad;font-size:10px;padding:15px 40px;border-top:1px solid #edf0f3}.auth-page a:focus-visible,.auth-page button:focus-visible{outline:3px solid #68b9ad;outline-offset:3px}@media(min-width:1000px)and (max-height:850px){.auth-page{padding:16px 24px}.auth-header{padding-block:16px}.auth-columns{padding-block:24px;gap:40px}.auth-audience{margin-bottom:18px}.auth-form-heading p{margin-bottom:13px}.auth-form{gap:11px}.auth-story{min-height:495px}.auth-story h2{margin-top:22px;font-size:29px}.auth-help{margin-top:14px}.auth-footer{padding-block:12px}}@media(max-width:820px){.auth-page{padding:18px 14px;align-items:start}.auth-shell{max-width:520px;border-radius:22px}.auth-header{justify-content:center;padding:23px 20px}.auth-header-caption{display:none}.auth-columns{grid-template-columns:1fr;padding:25px 25px 28px}.auth-story{display:none}.auth-footer{padding:15px 25px}.auth-form-heading h1{font-size:23px}.auth-help{font-size:10px}.auth-audience{margin-bottom:23px}}@media(max-width:380px){.auth-page{padding:10px 8px}.auth-columns{padding-inline:18px}.auth-brand,.auth-logo-frame,.auth-logo-frame img{width:125px}.auth-tivan-logo{height:40px}.auth-brands{gap:17px}.auth-audience{font-size:11px}.auth-form-heading h1{font-size:21px}.auth-footer{padding-inline:18px}}.auth-captcha-controls{display:grid;grid-template-columns:1fr 120px;gap:10px;align-items:stretch}.auth-captcha-controls>input{height:78px;letter-spacing:4px;font-size:19px;padding-inline:8px}.auth-captcha-controls>input::placeholder{font-size:10px;letter-spacing:0}.auth-secondary-actions{display:flex;gap:8px;align-items:center;justify-content:space-between}.auth-secondary-actions>.btn{background:transparent;border:0;color:#6c7e91;font-size:11px;min-height:32px;padding:5px 0;gap:6px}.auth-secondary-actions>small{font-size:10px;color:#8c98a6}@media(min-width:821px)and (max-height:850px){.auth-header{padding-block:12px}.auth-columns{padding-block:20px}.auth-form-heading .auth-eyebrow{display:none}.auth-form-heading h1{font-size:23px;line-height:1.5;margin:0 0 5px}.auth-form-heading p{margin-bottom:12px}.auth-form-panel>.tabs{margin-bottom:12px}.auth-form-panel>.tabs button{padding-block:8px}.auth-form input:not(.auth-captcha input){height:44px;min-height:44px}.auth-form{gap:10px}.auth-form>.btn-primary{min-height:44px}.auth-help{margin-top:14px}}@media(max-width:420px){.auth-captcha-controls{grid-template-columns:1fr}.auth-captcha-controls>input{height:46px}.auth-captcha-image{justify-content:space-around}.auth-form-heading p{font-size:11px}.auth-secondary-actions{flex-wrap:wrap}}.supply-module-cards,.price-health-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.supply-module-cards button,.price-health{display:flex;gap:12px;align-items:center;justify-content:flex-start;min-height:78px;padding:16px;border:1px solid #d5e2ec;border-radius:14px;background:#f6f9fc;color:#233c59;text-align:right;cursor:pointer;font:inherit}.supply-module-cards button.active{background:#e7f6f4;border-color:#078a86;color:#006c68;box-shadow:inset 0 -3px #078a86}.price-health-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.price-health strong{margin-inline-start:auto;font-size:1.6rem}.price-health.valid{background:#edf9f3;color:#126641;border-color:#bfe4d0}.price-health.near-expiry{background:#fff8e7;color:#80520a;border-color:#f1d18b}.price-health.expired{background:#fff1ed;color:#a33722;border-color:#e9b5aa}.price-health[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.price-status,.payment-badge{display:inline-flex;padding:4px 9px;border-radius:7px;font-size:.875rem;font-weight:700;line-height:1.6;margin-block:5px}.price-status.valid{background:#dff3e8;color:#126641}.price-status.near-expiry{background:#fff0c8;color:#80520a}.price-status.expired{background:#ffe1d9;color:#a33722}.supply-workspace tr.price-age-expired{background:#fff7f4}.supply-workspace tr.price-age-near-expiry{background:#fffbed}.supply-workspace table td{padding:14px 10px;vertical-align:top;white-space:normal}.supply-workspace td:last-child .btn{margin:3px}.supply-workspace .table-actions{align-items:end;flex-wrap:wrap}.supply-workspace .table-actions>input{flex:1;min-width:180px}.import-errors{background:#fff6eb;border:1px solid #edcfaa;padding:12px;border-radius:10px;max-height:260px;overflow:auto}.flow-metrics>button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:right;padding:20px;min-height:100px;border:1px solid #c5dde5;border-top:4px solid #008c88;border-radius:12px;background:#f7fbfc;color:#24425c;font:inherit;cursor:pointer}.flow-metrics>button strong{font-size:1.6rem}.flow-metrics>button[aria-pressed=true]{background:#e3f4f1;box-shadow:0 0 0 2px #008c88}.supply-request-card{padding:0!important;overflow:hidden}.supply-request-card>summary{padding:18px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;cursor:pointer;background:#f8fbfd}.supply-request-card[open]>summary{border-bottom:1px solid #d8e4ed;background:#eef7f7}.supply-request-card>summary strong{font-size:1.05rem}.supply-request-card>summary small{color:#51677e}.supply-request-card>summary .flow-status{margin-inline-start:auto}.supply-request-card>*:not(summary){margin:14px 18px}.supply-history{padding:10px;border:1px solid #e1e8ef;border-radius:8px}.supply-price-line{border-bottom:1px solid #dbe5ed;padding:14px 0}.supply-price-line>small{display:block;color:#536b80;margin:6px 0}.service-report-center .report-filters{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;padding:16px;background:#f7fafc;border:1px solid #dde7ef;border-radius:12px}.service-report-center .report-filters label{font-size:.875rem;min-width:0}.service-report-center .report-filters input,.service-report-center .report-filters select{min-height:42px;height:42px;padding:8px 10px}.service-report-center tr.report-kind-service{background:#f1faf8}.service-report-center tr.report-kind-fault{background:#fff5ee}.service-report-center tr.report-kind-service td:nth-child(2){border-inline-start:4px solid #008b80}.service-report-center tr.report-kind-fault td:nth-child(2){border-inline-start:4px solid #dc762d}.service-report-center .table-actions{flex-wrap:wrap}.erp-shell input[type=checkbox],.erp-shell input[type=radio],.crm-shell input[type=checkbox],.crm-shell input[type=radio],.workspace-shell input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important;flex:none;accent-color:#078d86;vertical-align:middle}.steel-badge{display:flex;gap:10px;align-items:center;border:1px solid #ccd8e2;background:#f6f9fb;padding:10px;border-radius:10px;margin:9px 0}.steel-badge img{flex:none;border:1px solid #9eaab3;border-radius:6px;object-fit:cover}.steel-badge small{display:block;color:#344e64;line-height:1.8}.lead-phone{display:block;color:#087f79;font-variant-numeric:tabular-nums;text-align:right;font-size:1rem;margin:5px 0}.payment-state-settled{background:#edf9f2}.payment-state-covered{background:#edf5ff}.payment-state-partial{background:#fff8e9}.payment-badge.settled{background:#d8f0e3;color:#126641}.payment-badge.covered{background:#e1edff;color:#285682}.payment-badge.partial{background:#ffedc9;color:#82580d}.payment-badge.none{background:#edf0f4;color:#586879}@media(max-width:900px){.supply-module-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.erp-job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.erp-shell .erp-main,.main-area,.erp-shell main{min-width:0;max-width:100%;box-sizing:border-box}.erp-shell .form-grid,.crm-dialog .form-grid,.crm-shell .form-grid,.workspace-shell .form-grid{grid-template-columns:minmax(0,1fr)!important}.erp-shell .form-grid>*{min-width:0}.erp-shell .panel{padding:16px}.erp-shell .table-scroll,.table-scroll,.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.erp-shell .dialog,.crm-dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.erp-shell input:not([type=checkbox]):not([type=radio]),.erp-shell select,.erp-shell textarea,.crm-dialog input:not([type=checkbox]),.crm-dialog select{font-size:16px;max-width:100%;box-sizing:border-box;min-width:0}.erp-shell .table-actions,.erp-shell .erp-actions{flex-wrap:wrap}.erp-shell .btn{white-space:normal;min-height:42px;max-width:100%}.supply-module-cards{gap:8px}.supply-module-cards button{padding:12px;gap:8px;font-size:.9rem}.price-health-cards{grid-template-columns:1fr}.price-health{min-height:56px;padding:12px}.service-report-center .report-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px}.service-report-center .table-actions>.btn{flex:1 1 140px}.erp-job-grid{grid-template-columns:1fr}.supply-request-card>summary{display:grid;grid-template-columns:1fr;gap:7px}.production-priority-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.erp-shell fieldset{min-width:0;max-width:100%}.erp-shell .jalali-input-row{max-width:100%}.flow-toolbar{grid-template-columns:1fr!important}.payment-entry{padding:12px}.payment-summary{flex-wrap:wrap}}.workspace input[type=checkbox],.workspace input[type=radio]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important;flex:none;accent-color:#078d86}.production-hub-cards .btn{min-height:76px;border-radius:12px;background:#edf6f6;border-color:#c8e2e1;color:#086b68;font-weight:700;padding:18px 22px}@media(max-width:600px){.workspace .form-grid{grid-template-columns:minmax(0,1fr)!important}.workspace input:not([type=checkbox]):not([type=radio]),.workspace select,.workspace textarea{font-size:16px;box-sizing:border-box;max-width:100%;min-width:0}.workspace .table-actions{flex-wrap:wrap}.workspace .btn{white-space:normal;min-height:42px;max-width:100%}}@font-face{font-family:Morabba;src:url(/fonts/Morabba-Regular.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:Morabba;src:url(/fonts/Morabba-Medium.woff2) format("woff2");font-weight:500;font-display:swap}@font-face{font-family:Morabba;src:url(/fonts/Morabba-Bold.woff2) format("woff2");font-weight:700;font-display:swap}@font-face{font-family:Morabba;src:url(/fonts/Morabba-ExtraBold.woff2) format("woff2");font-weight:800;font-display:swap}@font-face{font-family:Morabba;src:url(/fonts/Morabba-Black.woff2) format("woff2");font-weight:900;font-display:swap}:root{--navy:#29235c;--navy-dark:#29235c;--orange:#fa810a;--teal:#00a19a;--ink:#29235c;--bg:#f6f7fa;--line:#e3e2ea}html,body,body *,button,input,select,textarea,.auth-page,.customer-portal,.modal,.dialog{font-family:Morabba,Tahoma,sans-serif!important}body{font-size:16px;color:#29235c}button,input,select,textarea{font-size:1rem}h1,h2,h3{font-weight:700}nav,select{font-weight:500}.safir-login{padding:32px 24px;background:#f6f7fa;color:#29235c}.safir-login .auth-shell{border-radius:18px;border-color:#e3e2ea;box-shadow:0 20px 70px #29235c0b}.safir-login .auth-header{padding:28px 40px}.safir-login-logo{width:220px;height:auto;display:block;object-fit:contain}.safir-login .auth-header-caption{font-size:14px;color:#29235c}.safir-login .auth-story{background:#29235c;color:#fff;position:relative;overflow:hidden}.safir-login .auth-story h2{color:#fff;font-size:clamp(2rem,4vw,3rem);font-weight:800;line-height:1.6}.safir-login .auth-story p,.safir-login .auth-features li{color:#e7e5f3}.safir-login .auth-story-tag{color:#fff;border-color:#ffffff40}.safir-login .auth-form-heading h1{color:#29235c;font-weight:800}.safir-login .auth-eyebrow{color:#00857f;font-size:14px}.safir-login .btn-primary,.customer-portal .btn-primary{background:#29235c;border-color:#29235c;color:#fff}.safir-login .auth-footer{color:#29235c}.safir-login .auth-footer a{color:inherit}.safir-shaft{height:120px;margin:20px 0;position:relative;border-inline-start:2px solid #ffffff2a;border-inline-end:2px solid #ffffff2a;display:grid;align-content:space-around}.safir-shaft i{height:1px;background:#ffffff25}.safir-shaft b{position:absolute;width:60px;height:78px;top:20px;right:calc(50% - 30px);border:2px solid #fa810a;border-bottom-color:#00a19a}.safir-shaft b:after{content:"";position:absolute;inset:0 50%;border-left:1px solid #ffffff40}.safir-login .auth-form label{font-size:16px}.safir-login .auth-form small,.safir-login .auth-form p,.safir-login .auth-help,.safir-login .auth-form-heading p{font-size:14px;line-height:1.9}.safir-login .auth-features{font-size:14px}.customer-portal .panel-customer-hero,.customer-portal .panel-customer-hero h2{background:#29235c;color:#fff}.customer-portal .panel-customer-hero p{color:#e7e5f3}.customer-brand img{object-fit:contain;height:auto}.safir-login :focus-visible,.customer-portal :focus-visible{outline:3px solid #00a19a;outline-offset:3px}@media(max-width:700px){.safir-login{padding:12px}.safir-login .auth-header{padding:22px;flex-wrap:wrap;gap:14px}.safir-login-logo{width:180px}.safir-login .auth-form-panel{padding:26px 22px}.safir-login .auth-story{padding:28px 22px}.safir-login .auth-header-caption{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
