.erp-logistics .table-actions{flex-wrap:wrap;gap:8px}.logistics-cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;display:grid}.logistics-cards .panel{margin:0}.logistics-stops{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;display:grid}.logistics-stops article{overflow-wrap:anywhere;border:1px solid #a4b5c155;border-radius:10px;padding:16px}.logistics-copy{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.logistics-copy input{flex:1;min-width:200px}.logistics-plate{flex-wrap:wrap;gap:12px;display:flex}.logistics-plate label{flex:1;min-width:80px}.logistics-plate input{max-width:100%}.logistics-map{touch-action:none;background:#edf2e9;border:1px solid #a4b5c155;border-radius:8px;max-width:100%;height:260px;margin-top:12px;display:none;position:relative;overflow:hidden}.logistics-map.visible{display:block}.logistics-map-pin{pointer-events:none;font-size:28px;position:absolute;transform:translate(-50%,-100%)}.logistics-map-attribution{color:#172b44;background:#fffffff0;padding:3px 6px;font:11px Arial;position:absolute;bottom:0;right:0}.logistics-map-field{min-width:0}.logistics-map-field .table-actions{margin-top:8px}.logistics-public{max-width:1040px;color:var(--erp-ink,#182b44);background:var(--surface,#f5f7fa);direction:rtl;min-height:100vh;margin:0 auto;padding:24px;font-family:inherit}.logistics-public .panel{background:var(--panel,#fff);border:1px solid #a4b5c155;border-radius:12px;margin:18px 0;padding:22px}.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{:is(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{width:100%;margin:0;padding:0}body:has(.logistics-plan) .panel{break-inside:avoid}.logistics-plan{color:#111;background:#fff}.logistics-stops{grid-template-columns:1fr 1fr}body:has(.logistics-plan) .logistics-public>:not(.logistics-plan){display:none!important}}.logistics-stop-cargo{border-top:2px solid #009c9544;margin-top:18px;padding-top:14px}.logistics-stop-cargo fieldset{background:#f8fafc;border:1px solid #dce5ed;border-radius:10px;padding:16px}.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{:is(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{break-inside:auto!important;border:0!important;margin:0!important;padding:0!important}.waybill-print-pages{display:block!important}.waybill-print-pages img{page:waybill;break-after:page;break-inside:avoid;width:210mm;max-width:none;height:297mm;display:block}.waybill-print-pages img:last-child{break-after:auto}.logistics-plan .waybill-print-pages{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.erp-sidebar nav .erp-nav-row{align-items:center;gap:4px;min-width:0;display:flex}.erp-sidebar nav a{min-width:0;min-height:44px;color:inherit;border-radius:9px;flex:1;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-size:.92rem;line-height:1.65;text-decoration:none;display:flex}html[data-product=ERP] .erp-shell .erp-sidebar nav a{color:#eef4fc}html[data-product=ERP] .erp-shell .erp-sidebar nav a:hover{color:#fff;background:#ffffff12}html[data-product=ERP] .erp-shell .erp-sidebar nav a.active{color:#fff;box-shadow:inset -3px 0 var(--erp-accent);background:#ffffff1a;font-weight:750}.erp-sidebar nav .erp-nav-toggle{flex:none;justify-content:center;min-width:34px;min-height:40px;padding:7px}.erp-nav-children{border-right:1px solid #a4b5c144;margin:3px 13px 8px 0;padding-right:8px}.erp-nav-children .erp-nav-children{margin-right:8px;padding-right:6px}.erp-nav-future{opacity:.65;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:10px 12px;font-size:.88rem;display:flex}.erp-nav-future small{white-space:nowrap;border:1px solid;border-radius:4px;padding:0 4px;font-size:.65rem}.erp-nav-badge{color:#fff;background:#b71932;border-radius:20px;flex:none;justify-content:center;align-items:center;min-width:23px;height:23px;padding:2px 6px;font-size:.72rem;font-weight:700;display:inline-flex}.erp-module-cards{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;display:grid}.erp-module-card{color:inherit;border:1px solid #a4b5c155;border-radius:10px;flex-direction:column;gap:12px;min-height:100px;padding:20px;text-decoration:none;transition:border-color .15s;display:flex}a.erp-module-card:hover{border-color:var(--erp-accent)}.erp-module-card span,.erp-module-card small{color:inherit;opacity:.8;font-size:.8rem}.erp-module-card.future{opacity:.6}.erp-planner-quick{z-index:28;background:var(--erp-ink);color:#fff;border:1px solid #fff5;border-radius:28px;align-items:center;gap:8px;padding:11px 16px;text-decoration:none;display:flex;position:fixed;bottom:18px;left:20px;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{font-size:.85rem;bottom:12px;left:12px}}@media (max-width:430px){.erp-module-cards{grid-template-columns:1fr}.erp-shell .erp-main{padding-bottom:85px}}.erp-shell .erp-sidebar{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.erp-shell .erp-sidebar>nav{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow-y:auto}.erp-shell .erp-brand,.erp-shell .erp-profile,.erp-shell .erp-product-link,.erp-collapse-control{flex-shrink:0}.erp-nav-category{text-align:right;width:100%;min-height:46px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:10px;line-height:1.7;display:flex}.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{min-height:42px;padding:8px;font-size:.88rem}.erp-sidebar nav a{padding:7px 9px;font-size:.85rem}.erp-nav-children{margin-right:7px;padding-right:5px}}.erp-followup-card{border:1px solid #d9e2ec;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:20px;padding:20px;display:grid}.erp-followup-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.erp-followup-card>.table-actions{flex-wrap:wrap;max-width:260px}.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;gap:12px;padding:14px}.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{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.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{width:100%;min-width:0;display:block}.installation-quote-form .installation-quote-table thead{display:none}.installation-quote-form .installation-quote-table tr{border:1px solid #cedbe8;border-radius:12px;grid-template-columns:minmax(0,1fr);gap:8px;margin:12px 0;padding:14px;display:grid}.installation-quote-form .installation-quote-table td{border:0;min-width:0;padding:4px 0;display:block}.installation-quote-form .installation-quote-table td:nth-child(3):before{content:"توضیحات";font-weight:700;display:block}.installation-quote-form .installation-quote-table td:nth-child(4):before{content:"تعداد / واحد";font-weight:700;display:block}.installation-quote-form .installation-quote-table td:nth-child(6):before{content:"قیمت دستی و دلیل";font-weight:700;display:block}.installation-quote-form .table-actions{gap:6px}.installation-quote-form .btn{white-space:normal;max-width:100%}}.installation-quote-form input[type=checkbox]{flex:none;width:auto}.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{margin:6px 0;display:block}.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{background:#fff;border:1px solid #d4dfeb;border-radius:12px;min-width:0;margin:4px 0 18px;padding:18px}.installation-quote-form .quote-editor-section>summary{cursor:pointer;padding:4px 0;font-weight:700}.installation-quote-form .quote-editor-section[open]>.form-grid{margin-top:18px}.installation-quote-form .quote-editor-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.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{background:#edf3f9;border-right:4px solid #3e729f;border-radius:6px;margin:22px 0 10px;padding:8px 12px}.installation-quote-form .quote-item-list{gap:14px;display:grid}.installation-quote-form .quote-item-card{overflow-wrap:anywhere;border:1px solid #cedbe8;border-radius:10px;min-width:0;padding:16px}.installation-quote-form .quote-item-card>header{border-bottom:1px solid #e0e8f1;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding-bottom:12px;display:flex}.installation-quote-form .quote-item-number{background:#edf3f9;border-radius:7px;justify-content:center;align-items:center;min-width:28px;height:28px;margin-left:10px;display:inline-flex}.installation-quote-form .quote-item-total{color:#255d47;font-weight:700}.installation-quote-form .quote-item-fields{grid-template-columns:minmax(110px,.6fr) minmax(0,2fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.installation-quote-form .quote-item-fields>*,.installation-quote-form .quote-unit-price>*{min-width:0}.installation-quote-form .quote-item-quantity{flex-direction:column;align-items:start;gap:10px;display:flex}.installation-quote-form .quote-item-price{gap:8px;display:grid}.installation-quote-form .quote-item-price small{color:#52677e;line-height:1.8}.installation-quote-form .quote-item-price select{max-width:100%;display:block}.installation-quote-form .quote-unit-price{align-items:end;gap:10px;display:flex}.installation-quote-form .quote-unit-price label{flex:1}.installation-quote-form .quote-price-source{white-space:nowrap;color:#245d41;background:#e6f3eb;border-radius:6px;margin-bottom:6px;padding:6px 10px;font-size:12px}.installation-quote-form .quote-price-source.manual{color:#805016;background:#fff1db}.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{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}@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-flow:wrap;align-items:center}.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{outline:3px solid var(--erp-accent);outline-offset:-3px}.erp-sidebar .erp-nav-category:focus-visible{outline:3px solid var(--erp-accent);outline-offset:-3px}.upgrade-panel{min-width:0;margin:18px 0;padding:24px}.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{width:100%;max-width:100%}.upgrade-row{border-bottom:1px solid #e6ebf1;flex-wrap:wrap;align-items:center;gap:16px;padding:16px 0;display:flex}.upgrade-row>div{flex:1;min-width:180px}.upgrade-row p{overflow-wrap:anywhere;margin:7px 0;line-height:1.9}.upgrade-row>input:not([type=checkbox]){max-width:200px}.upgrade-row input[type=checkbox]{width:19px;height:19px;accent-color:var(--primary)}.upgrade-quick{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.upgrade-staff-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:18px;display:grid}.upgrade-staff{border:1px solid #e2e8ef;border-radius:12px;padding:20px}.upgrade-person{align-items:center;gap:12px;display:flex}.upgrade-person img,.upgrade-person>span{object-fit:cover;background:#eef3f8;border-radius:50%;place-items:center;width:54px;height:54px;display:grid}.upgrade-person h3{margin:0;font-size:16px}.upgrade-staff dl{grid-template-columns:1fr auto;gap:9px;font-size:14px;display:grid}.upgrade-stage{border-top:1px solid #edf0f5;justify-content:space-between;padding-top:10px;font-size:13px;display:flex}.product-search{min-width:0;position:relative}.product-search textarea{resize:vertical;width:100%;min-height:70px;line-height:1.7}.product-search-results{background:#fff;border:1px solid #d8e0eb;border-radius:10px;max-height:250px;margin:8px 0;overflow:auto}.product-search-results button{text-align:right;cursor:pointer;white-space:normal;background:#fff;border:0;border-bottom:1px solid #edf0f5;width:100%;padding:12px;line-height:1.7;display:block}.product-search-results button:hover{background:#eef7f6}.product-search-results small{color:#68798c;display:block}.quote-item>label:first-child{min-width:250px}.upgrade-nav-sub{gap:6px;padding:0 22px 8px 0;display:grid}.upgrade-nav-sub button{border-right:2px solid #d9e5ee!important;border-radius:0 8px 8px 0!important;font-size:13px!important}.upgrade-nav-group>button{width:100%}.service-clocks{background:#f5f8fa;border-radius:12px;margin:14px 0;padding:16px}.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;min-height:100vh;color:var(--erp-ink);background:#f3f6fa;font-size:1rem;line-height:1.7;display:flex}.erp-shell[data-brand=safir]{--erp-ink:#29235c;--erp-accent:#00a19a}.erp-sidebar{z-index:40;background:#fff;border-left:1px solid #dfe6ee;flex-direction:column;width:248px;padding:25px 17px;display:flex;position:fixed;inset:0 0 0 auto;overflow-y:auto}.erp-brand{align-items:center;gap:15px;padding:0 5px 23px;display:flex}.erp-brand img{object-fit:contain;max-width:87px;max-height:46px}.erp-brand span{font-size:1.25rem;font-weight:800;line-height:1.4}.erp-brand small{color:#64748b;font-size:.8rem;font-weight:400;display:block}.erp-product-link{text-align:center;color:var(--erp-ink);border:1px solid #dce3ec;border-radius:9px;margin-bottom:22px;padding:11px;font-size:.875rem;text-decoration:none}.erp-sidebar nav{gap:5px;display:grid}.erp-sidebar nav button{text-align:right;min-height:44px;font:inherit;color:#4e5e70;cursor:pointer;background:0 0;border:none;border-radius:9px;align-items:center;gap:12px;padding:9px 13px;font-size:.9rem;display:flex}.erp-sidebar nav button.active{color:var(--erp-ink);box-shadow:inset -3px 0 var(--erp-accent);background:#e9eff7;font-weight:700}.erp-profile{justify-content:space-between;align-items:center;margin-top:auto;padding-top:25px;font-size:.875rem;display:flex}.erp-main{width:calc(100% - 248px);min-width:0;margin-right:248px;padding:27px 36px 50px}.erp-header{border-bottom:1px solid #dfe6ee;justify-content:space-between;align-items:center;gap:15px;margin-bottom:27px;padding-bottom:20px;display:flex}.erp-header h1{margin:0;font-size:1.65rem;line-height:1.5}.erp-kicker{color:#66758a;font-size:.875rem}.erp-toolbar{align-items:center;gap:10px;display:flex}.erp-toolbar select,.erp-actions input{min-height:44px;font:inherit;background:#fff;border:1px solid #cdd7e3;border-radius:8px;padding:8px 12px;font-size:.9rem}.erp-date{color:#5b6c80;margin-bottom:20px}.erp-metrics{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:27px;display:grid}.erp-metrics button{text-align:right;font:inherit;color:var(--erp-ink);cursor:pointer;background:#fff;border:1px solid #dfe6ee;border-radius:12px;grid-template-columns:1fr auto;padding:22px;display:grid}.erp-metrics svg{color:var(--erp-accent);grid-area:1/2/3}.erp-metrics span{color:#53657a;font-size:.875rem}.erp-metrics strong{font-size:2rem;font-weight:800;line-height:1.5}.erp-shell .panel{box-shadow:none;background:#fff;border:1px solid #dfe6ee;border-radius:12px;margin-bottom:24px;padding:24px}.erp-shell h2{margin:0 0 14px;font-size:1.1rem}.erp-pipeline{grid-template-columns:repeat(8,1fr);gap:8px;display:grid}.erp-pipeline button{font:inherit;text-align:center;cursor:pointer;min-height:110px;color:var(--erp-ink);background:#f6f8fb;border:1px solid #e5eaf1;border-radius:9px;gap:8px;padding:12px 6px;display:grid}.erp-pipeline span{font-size:.875rem}.erp-pipeline strong{font-size:1.6rem}.erp-pipeline small{color:#66758a;font-size:.8rem}.erp-shortcuts{flex-wrap:wrap;gap:12px;display:flex}.erp-stock-list>div{border-top:1px solid #edf1f5;align-items:center;gap:25px;padding:13px 0;display:flex}.erp-stock-list strong{flex:1}.erp-stock-list small{color:#66758a}.erp-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;display:flex}.erp-actions input{min-width:240px;margin-left:auto}.erp-job-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.erp-shell .erp-job{flex-direction:column;gap:8px;margin:0;display:flex}.erp-job-top{justify-content:space-between;gap:12px;margin-bottom:12px;font-size:.875rem;display:flex}.erp-job h2{margin:0}.erp-job p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.erp-job-qty{font-size:1.7rem}.erp-job dl{grid-template-columns:auto 1fr;gap:8px 20px;margin:9px 0;font-size:.875rem;display:grid}.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{flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:15px;display:flex}.erp-purchase-line{border-bottom:1px solid #e6ecf3;grid-template-columns:2fr 1fr 1.5fr auto;align-items:end;gap:12px;padding-bottom:15px;display:grid}.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}:is(.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{transition:transform .2s;transform:translate(100%)}.erp-sidebar.open{transform:translate(0)}.erp-main{width:100%;margin-right:0;padding:20px 16px}.erp-mobile{display:inline-flex!important}.erp-header>div:first-child{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.erp-header h1{width:100%;font-size:1.4rem}.erp-kicker{display:none}.erp-backdrop{z-index:35;background:#12243c80;border:none;display:block;position:fixed;inset:0}.erp-shell .panel{padding:18px}.erp-actions input{width:100%;min-width:0}.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{z-index:70;background:#fff;border:1px solid #cad5df;border-radius:10px;max-height:300px;position:absolute;inset:100% 0 auto;overflow:auto;box-shadow:0 10px 25px #182b4420}.customer-options button{text-align:right;width:100%;font:inherit;cursor:pointer;background:0 0;border:none;border-bottom:1px solid #eef1f4;padding:12px;display:grid}.customer-options button:hover,.customer-options button:focus{background:#eaf7f6}.customer-options small{color:#64748b}.service-price-preview{background:#edf8f7;border:1px solid #c8e5e2;border-radius:10px;grid-template-columns:1fr 1fr;gap:15px;padding:18px;display:grid}.service-price-preview div{gap:6px;display:grid}.service-price-preview span{color:#546575;font-size:.9rem}.service-price-preview strong{color:#29235c;font-size:1.2rem}.standard-validity,.erp-shell fieldset{border:1px solid #dce3ec;border-radius:10px;min-width:0;padding:16px}.fault-case-results{gap:8px;max-height:260px;display:grid;overflow:auto}.fault-case-results button{text-align:right;font:inherit;cursor:pointer;background:#fff;border:1px solid #dae3ec;border-radius:8px;gap:5px;padding:12px;display:grid}.fault-case-results .selected{background:#e9f7f5;border-color:#00a19a}.fault-priority-banner,.fault-live-alert{background:#fff4e9;border:1px solid #f2caa9;border-radius:12px;margin:15px 0;padding:18px}.fault-live-alert{justify-content:space-between;align-items:center;gap:16px;display:flex}.timeline-summary{background:#f4f8fb;border-radius:10px;padding:18px}.service-month-rail{gap:0;margin:24px 0;padding-bottom:12px;display:flex;overflow:auto}.service-month-rail>div{border-top:3px solid #d9e1eb;gap:5px;min-width:150px;padding:15px 10px;display:grid;position:relative}.service-month-rail>div.done{border-color:#00a19a}.service-month-rail>div.current{background:#fff5eb;border-color:#ef8b39}.service-month-rail span,.service-month-rail small{color:#637488;font-size:.8rem}.case-event-line{border-right:2px solid #d7e1ec;margin:20px 8px 0 0;padding:0;list-style:none}.case-event-line li{gap:12px;padding:0 24px 24px 0;display:flex;position:relative}.timeline-dot{background:#cbd5e1;border:2px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute;top:6px;right:-7px}.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{color:#6b7a8b;font-size:.85rem}.case-event-line h4{margin:4px 0;font-size:1rem}.case-event-line p{color:#55657b;margin:0;font-size:.9rem}.erp-customer-search{border:1px solid #cdd7e3;border-radius:8px;width:100%;margin-bottom:20px;padding:12px}.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{flex-direction:column;align-items:stretch}}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn-arabic-400-normal.woff2)format("woff2");font-weight:400;font-display:swap;unicode-range:U+6??,U+750-77F,U+8A0-8FF,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+6??,U+750-77F,U+8A0-8FF,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+6??,U+750-77F,U+8A0-8FF,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+6??,U+750-77F,U+8A0-8FF,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{background:var(--bg);color:var(--ink);margin:0;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;-webkit-appearance:none;appearance:none;color:inherit;background:0 0;border:0}button:disabled{cursor:wait;opacity:.55}a{color:var(--navy);text-decoration:none}:is(button:focus-visible,a:focus-visible){outline-offset:3px;outline:3px solid #f2572a66}input,select,textarea{width:100%;min-width:0;color:var(--ink);background:#fff;border:1px solid #dce4ef;border-radius:9px;outline:0;min-height:46px;padding:10px 13px}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{gap:7px;font-size:14px;font-weight:500;display:grid}h1,h2,h3,p{margin:0}h1{font-size:25px;font-weight:700;line-height:1.5}h2{font-size:23px;font-weight:700;line-height:1.6}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{letter-spacing:.2px;color:var(--orange);font-size:13px;font-weight:600}.caps{letter-spacing:2px;direction:ltr;font-size:11px;font-weight:600}.btn{border:1px solid var(--line);white-space:nowrap;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:9px 15px;font-size:14px;font-weight:500;transition:background .15s,transform .15s;display:inline-flex}.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{color:#fff;background:#b94049;border-color:#b94049}.text-btn{color:var(--navy);align-items:center;gap:6px;font-size:14px;display:inline-flex}.icon-btn{width:40px;height:40px;color:var(--muted);border-radius:10px;flex-shrink:0;place-items:center;display:inline-grid}.icon-btn:hover{color:var(--navy);background:#edf1f8}.danger-text{color:#bf4351}.full{grid-column:1/-1}.inline-notice,.form-error{color:#8b4b25;background:#fff4e5;border:1px solid #ffdfb8;border-radius:10px;margin:12px 0;padding:12px 16px;font-size:14px}.form-error{color:#a23343;background:#fff0f1;border-color:#f2cdd2}.block-label{gap:8px;margin:18px 0;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.form-actions{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;margin-top:24px;padding-top:20px;display:flex}.avatar{width:40px;height:40px;color:var(--navy);background:#edf1f9;border-radius:12px;flex-shrink:0;place-items:center;font-weight:700;display:inline-grid}.avatar.tivan{color:#bd5027;background:#fff0e8}.avatar.safir{color:var(--teal);background:#e8f7f4}.avatar.small{border-radius:9px;width:32px;height:32px;font-size:13px}.avatar.xl{border-radius:18px;width:64px;height:64px;font-size:26px}.brand-badge{white-space:nowrap;border-radius:7px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:600;line-height:1.6;display:inline-flex}.brand-badge i{background:currentColor;border-radius:50%;width:5px;height:5px}.brand-badge.tivan{color:#b74b21;background:#fff0e8}.brand-badge.safir{color:#00776f;background:#e5f6f2}.status-chip{color:#5269a0;white-space:nowrap;background:#eef2fa;border-radius:7px;padding:4px 9px;font-size:12px;font-weight:500;display:inline-block}.status-chip.positive{color:#228161;background:#e8f5ef}.status-chip.negative{color:#b44855;background:#fff0f1}.empty-state{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:9px;padding:48px 20px;display:flex}.empty-state h3{color:#4b617e}.empty-state p{max-width:400px;font-size:14px}.empty-state .btn{margin-top:8px}.empty-symbol{color:#8da0bb;background:#f1f4fa;border:1px dashed #cad6e8;border-radius:16px;place-items:center;width:54px;height:54px;margin-bottom:4px;display:grid}.crm-dialog{width:min(680px,100vw - 32px);max-height:90dvh;color:var(--ink);background:#fff;border:0;border-radius:20px;padding:0;overflow:auto;box-shadow:0 24px 120px #15263e50}.crm-dialog.wide{width:min(960px,100vw - 32px)}.crm-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#122e5270}.dialog-title{border-bottom:1px solid var(--line);z-index:2;background:#fff;justify-content:space-between;align-items:center;padding:22px 26px;display:flex;position:sticky;top:0}.dialog-title h2{font-size:20px}.dialog-form{padding:24px 26px}.date-field{grid-template-columns:1.4fr 1fr;gap:8px;display:grid}.tabs{border-bottom:1px solid var(--line);gap:10px;padding:0 20px;display:flex;overflow:auto}.tabs button{white-space:nowrap;border-bottom:3px solid #0000;padding:16px 12px;font-size:14px}.tabs button.active{border-bottom-color:var(--orange);color:var(--navy);font-weight:600}.loading-workspace{text-align:center;color:var(--muted);padding:80px}@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{flex-direction:column;justify-content:center;align-items:center;gap:28px;min-height:100dvh;display:flex}.connection-screen img{width:220px}.login-page{direction:ltr;background:#fff;grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.login-story{direction:rtl;background:#edf2fa;flex-direction:column;padding:42px 54px;display:flex;position:relative;overflow:hidden}.login-story:after{content:"";pointer-events:none;border:1px solid #dce5f3;border-radius:50%;width:700px;height:700px;position:absolute;top:-410px;left:-260px}.story-top{z-index:1;color:var(--navy);justify-content:space-between;align-items:center;display:flex;position:relative}.live-dot{align-items:center;gap:6px;font-size:12px;display:flex}.live-dot:before{content:"";background:var(--orange);border-radius:50%;width:6px;height:6px}.story-copy{z-index:1;margin-top:50px;position:relative}.story-copy h2{color:var(--navy-dark);font-size:39px;font-weight:700;line-height:1.65}.story-copy em{color:var(--orange);font-style:normal}.story-copy p{color:#687e9f;margin-top:20px;font-size:17px}.profile-art{mix-blend-mode:multiply;background-image:url(/brand/partner-profile.png);background-position:right 15%;background-repeat:no-repeat;background-size:190%;flex:1;width:100%;height:360px;min-height:260px;margin:12px 0;-webkit-mask-image:linear-gradient(#0000,#000 8% 92%,#0000);mask-image:linear-gradient(#0000,#000 8% 92%,#0000)}.story-bottom{z-index:1;border-top:1px solid #d1ddef;justify-content:space-between;gap:15px;padding-top:22px;font-size:14px;display:flex;position:relative}.story-bottom span{color:var(--navy);align-items:center;gap:8px;display:flex}.story-bottom span:first-child svg{color:var(--orange)}.login-form-area{direction:rtl;background:#fff;flex-direction:column;justify-content:center;align-items:center;padding:38px 52px;display:flex;position:relative}.login-form-area:before{content:"";background:var(--orange);height:5px;position:absolute;top:0;left:0;right:0}.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{justify-content:space-between;align-items:center;margin-top:14px;display:flex}.captcha-head label{margin:0}.captcha-head span{color:#8394a9;font-size:12px}.captcha-head .expired{color:#bf4351}.captcha-row{border:1px solid var(--line);background:#f7f9fc;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;min-height:77px;margin:8px 0 10px;padding:0 12px;display:flex}.captcha-row img{object-fit:contain;width:230px;max-width:calc(100% - 44px);height:76px}.login-submit{justify-content:space-between;width:100%;min-height:50px;margin-top:24px;padding:12px 17px;font-size:16px}.login-help{color:#8191a7;justify-content:center;align-items:center;gap:7px;margin-top:15px;font-size:12px;display:flex}.safir-partner{border-top:1px solid var(--line);align-items:center;gap:13px;width:min(100%,400px);margin-top:34px;padding-top:24px;display:flex}.safir-partner img{object-fit:contain;width:35px;height:44px}.safir-partner strong{color:#3d576f;font-size:14px;display:block}.safir-partner small{color:#9aabbb;font-size:12px}@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{letter-spacing:1px;font-size:9px}.live-dot{display:none}.login-form-area{padding:32px}.story-bottom{flex-direction:column;font-size:12px}.profile-art{background-size:225%}.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{width:200px;margin-bottom:24px}.login-form h1{font-size:25px}.safir-partner{margin-top:24px;padding-top:18px}}.workspace{min-height:100dvh;display:flex}.sidebar{z-index:20;background:var(--navy-dark);color:#d3dfef;flex-direction:column;width:258px;padding:16px 12px 12px;display:flex;position:fixed;top:0;bottom:0;right:0}.sidebar-brand{background:#fff;border-radius:14px;margin-bottom:20px;padding:15px 15px 11px;position:relative}.sidebar-brand>img{width:160px;height:auto;margin:0 auto 11px;display:block}.sidebar-brand>div{border-top:1px solid #edf1f8;justify-content:center;align-items:center;gap:9px;padding-top:10px;display:flex}.sidebar-brand>div img{width:18px;height:20px}.sidebar-brand>div span{color:#718099;font-size:11px}.sidebar-section-label{color:#8fa8cc;margin:0 14px 10px;font-size:11px}.sidebar nav{scrollbar-width:thin;scrollbar-color:#416492 transparent;flex:1;overflow-y:auto}.nav-item{text-align:right;color:#c5d3e8;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:44px;margin:2px 0;padding:11px 14px;font-size:14px;transition:background .15s;display:flex}.nav-item svg{color:#88a4ce;stroke-width:1.7px}.nav-item:hover{background:#fff1}.nav-item.active{color:var(--navy);background:#fff;font-weight:600;box-shadow:0 4px 16px #12213d30}.nav-item.active svg{color:var(--orange)}.nav-item b{text-align:center;color:#dce5f4;background:#264f8f;border-radius:6px;min-width:20px;margin-right:auto;padding:1px 4px;font-size:11px}.nav-item.active b{color:var(--orange);background:#fff0e9}.sidebar-user{border-top:1px solid #fff2;align-items:center;gap:9px;margin-top:13px;padding:17px 6px 2px;display:flex}.sidebar-user .avatar{color:#e6efff;background:#305687;width:36px;height:36px}.sidebar-user strong{color:#fff;font-size:12px;display:block}.sidebar-user small{color:#93acce;font-size:11px;display:block}.sidebar-user .icon-btn{color:#9bb3d5;margin-right:auto}.sidebar-user .icon-btn:hover{color:#fff;background:#ffffff10}.main-area{flex-direction:column;width:calc(100% - 258px);min-width:0;margin-right:258px;display:flex}.topbar{border-bottom:1px solid var(--line);z-index:10;background:#fff;justify-content:space-between;align-items:center;gap:18px;min-height:106px;padding:20px 32px;display:flex;position:sticky;top:0}.page-title span{letter-spacing:1.5px;color:var(--orange);font-size:10px;font-weight:700}.page-title h1{white-space:nowrap;margin-top:3px;font-size:23px}.header-actions{align-items:center;gap:12px;display:flex}.global-search{color:#8b9bb3;background:#f6f8fb;border:1px solid #edf1f7;border-radius:10px;align-items:center;gap:8px;width:230px;padding:0 12px;display:flex}.global-search input{min-height:42px;box-shadow:none;background:0 0;border:0;padding:8px 0;font-size:12px}.company-switch{border:1px solid var(--line);border-radius:9px;flex-direction:column;gap:0;padding:4px 10px;display:flex}.company-switch span{color:#8a9ab0;font-size:10px;line-height:1.4}.company-switch select{width:115px;min-height:25px;box-shadow:none;background:0 0;border:0;padding:0;font-size:12px}.notification-btn{position:relative}.notification-btn i{background:var(--orange);border:2px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:7px;right:9px}.content{flex:1;min-width:0;padding:30px 32px}.workspace-footer{border-top:1px solid var(--line);color:#a2afbf;justify-content:space-between;align-items:center;margin:0 32px;padding:18px 0;font-size:11px;display:flex}.workspace-footer span:first-child{letter-spacing:2px;direction:ltr;font-weight:600}.mobile-menu,.mobile-close{display:none}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.section-heading h2{font-size:22px}.section-heading p{color:var(--muted);margin-top:4px;font-size:14px}.panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;margin-bottom:22px;overflow:hidden}.panel-heading{border-bottom:1px solid #eff2f7;justify-content:space-between;align-items:center;gap:20px;padding:23px 24px;display:flex}.panel-heading h3{font-size:17px}.panel-heading p{color:#90a0b6;margin-top:4px;font-size:12px}.table-tools{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding:17px 21px;display:flex}.table-tools>select{width:auto;max-width:180px;min-height:40px;font-size:13px}.table-tools .btn{min-height:40px;padding:7px 12px;font-size:12px}.table-tools>.muted{margin-right:auto;font-size:12px}.search-input{border:1px solid var(--line);color:#90a0b6;border-radius:9px;flex:1;align-items:center;gap:8px;min-width:190px;max-width:280px;padding:0 10px;display:flex}.search-input input{box-shadow:none;border:0;min-height:40px;padding:8px 0;font-size:13px}.active-filter{color:var(--orange);background:#fff4ed;border-color:#ffd6c4}.table-scroll{overflow:auto}table{border-collapse:collapse;text-align:right;white-space:nowrap;width:100%;font-size:13px}th{color:#8a9ab0;border-bottom:1px solid var(--line);background:#fafbfd;padding:14px 18px;font-size:12px;font-weight:500}td{color:#4b617f;border-bottom:1px solid #eff2f7;padding:17px 18px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}.table-footer{border-top:1px solid var(--line);color:#90a0b6;background:#fcfdff;padding:11px 22px;font-size:12px}.customer-link{text-align:right;align-items:center;gap:10px;display:flex}.customer-link strong{color:var(--ink);font-size:14px;font-weight:600;display:block}.customer-link small{color:#8c9bb0;font-size:12px;display:block}.row-title{color:var(--ink);text-align:right;padding:0;font-size:14px;font-weight:600}.row-title:hover{color:var(--navy)}.record-code{color:#8e9eb6;margin-top:4px;font-size:11px;display:block}.table-actions{align-items:center;gap:6px;display:flex}.brand-choice{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px;display:grid}.brand-choice button{border:1px solid var(--line);border-radius:10px;align-items:center;gap:12px;padding:14px;display:flex}.brand-choice button.selected{border-color:var(--navy);background:#f8faff;box-shadow:0 0 0 2px #1b469315}.brand-choice button>span:last-child:not(.brand-badge){color:#8295ae;font-size:11px}.welcome-card{background:linear-gradient(110deg,#edf2fa,#f8faff);border:1px solid #dfe8f5;border-radius:18px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;padding:26px 30px;display:flex;position:relative;overflow:hidden}.welcome-card:after{content:"";border:1px solid #dbe4f2;border-radius:50%;width:240px;height:240px;position:absolute;bottom:-195px;left:150px}.welcome-card h2{color:var(--navy-dark);margin:5px 0 8px;font-size:29px}.welcome-card p{color:#7183a0;font-size:14px}.welcome-card .btn{border-color:#d6e1f0;margin-top:18px;font-size:13px}.welcome-date{min-width:235px;color:var(--navy);flex-direction:column;align-items:center;gap:10px;display:flex;position:relative}.welcome-date strong{font-size:13px}.welcome-date span{letter-spacing:2px;color:#8f9fb7;font-size:10px}.metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px;display:grid}.metric-card{border:1px solid var(--line);box-shadow:var(--shadow);text-align:right;background:#fff;border-radius:15px;min-width:0;padding:21px;position:relative}.metric-icon{width:42px;height:42px;color:var(--navy);background:#eef3fc;border-radius:12px;place-items:center;margin-bottom:15px;display:grid}.metric-icon.orange{color:var(--orange);background:#fff0e8}.metric-icon.teal{color:var(--teal);background:#e8f7f3}.metric-icon.purple{color:#8070c5;background:#f0edfb}.metric-card small{color:#8495ae;font-size:12px;display:block}.metric-card strong{margin:5px 0;font-size:25px;font-weight:700;line-height:1.6;display:block}.metric-card p{color:#91a1b7;font-size:11px}.metric-arrow{color:#a7b4c8;position:absolute;top:28px;left:21px}.dashboard-grid{grid-template-columns:1.15fr 1fr;gap:22px;display:grid}.dashboard-grid .panel{margin-bottom:0}.dashboard-grid>.full{grid-column:1/-1}.dashboard-tasks{padding:6px 22px}.dashboard-tasks article{border-bottom:1px solid #edf1f7;align-items:center;gap:12px;padding:17px 0;display:flex}.dashboard-tasks article:last-child{border:0}.dashboard-tasks article>div{flex:1;min-width:0}.dashboard-tasks strong{font-size:13px;display:block}.dashboard-tasks small{color:#8a9bb3;margin-top:4px;font-size:11px;display:block}.task-dot{background:var(--orange);box-sizing:content-box;border:3px solid #fff0e9;border-radius:50%;flex-shrink:0;width:9px;height:9px}@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{z-index:40;width:260px;transition:transform .2s;transform:translate(100%)}.sidebar.open{transform:translate(0)}.main-area{width:100%;margin-right:0}.mobile-menu{display:grid}.mobile-close{width:28px;height:28px;display:grid;position:absolute;top:5px;left:5px}.sidebar-backdrop{z-index:35;background:#142b4a65;position:fixed;inset:0}.topbar{gap:12px;min-height:88px;padding:14px 18px}.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{justify-content:space-between;width:100%}.company-switch{flex-direction:row;align-items:center;gap:9px;padding:6px 10px}.company-switch select{width:105px;min-height:28px}.company-switch span{font-size:11px}.new-customer-button{min-height:42px;padding:7px 12px;font-size:13px}.notification-btn{margin-right:auto}.content{padding:20px 14px}.welcome-card{gap:15px;padding:21px}.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{align-items:flex-start;gap:10px}.section-heading h2{font-size:19px}.section-heading p{font-size:12px}.section-heading>.btn{padding:8px 10px;font-size:12px}.panel-heading{padding:18px}.panel-heading h3{font-size:15px}.panel-heading .text-btn{font-size:11px}.table-tools{gap:8px;padding:14px}.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{background:linear-gradient(110deg,#f8faff,#edf3fc);align-items:center;gap:18px;padding:25px 28px;display:flex}.customer-cover h3{font-size:22px}.customer-cover p{color:var(--muted);margin:3px 0 8px;font-size:14px}.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{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px;display:grid}.details-grid>div{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:10px;padding:14px 17px}.details-grid small{color:var(--muted);margin-bottom:4px;display:block}.details-grid strong{font-size:15px;font-weight:500}.quick-actions{flex-wrap:wrap;gap:9px;margin:22px 0;display:flex}.contact-row,.detail-record,.file-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:15px 2px;font-size:14px;display:flex}.contact-row>a,.detail-record>span:last-child,.file-row>span{margin-right:auto}.contact-row>span{color:var(--muted)}.archive-box{border-top:1px solid var(--line);margin-top:30px;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{border-bottom:1px solid var(--line);align-items:flex-start;gap:13px;padding:22px 0;display:flex}.history-list article>svg{color:var(--orange);margin-top:7px}.history-list strong{margin:4px 0;font-size:16px;display:block}.history-list small{color:var(--muted)}.history-list p{white-space:pre-wrap;font-size:14px}.file-upload{color:var(--navy);cursor:pointer;background:#f8faff;border:1px dashed #a6b9d5;border-radius:10px;align-items:center;gap:8px;padding:12px 17px;display:inline-flex}.file-upload input{width:215px;min-height:32px;padding:4px;font-size:13px}.file-row strong{overflow-wrap:anywhere}.file-row:hover{background:#fafcff}.file-upload+.muted{margin:10px 0}.kanban-board{background:#fcfdff;align-items:flex-start;gap:15px;min-height:390px;padding:23px;display:flex;overflow-x:auto}.kanban-column{background:#f2f5fa;border:1px solid #e6edf6;border-radius:12px;flex:0 0 260px;min-height:330px;padding:12px}.kanban-column>header{align-items:center;gap:8px;padding:6px 3px 17px;font-size:14px;display:flex}.kanban-column header i{border-radius:50%;width:8px;height:8px}.kanban-column header b{color:#7d8eaa;margin-right:auto;font-size:13px;font-weight:500}.opportunity-card{text-align:right;border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;margin-bottom:11px;padding:16px;display:block;box-shadow:0 3px 9px #19345507}.opportunity-card:hover{border-color:#b8c9e4;box-shadow:0 4px 12px #19345512}.opportunity-card h3{white-space:normal;margin:10px 0 2px;font-size:16px}.opportunity-card p{color:var(--muted);font-size:13px}.opportunity-card>strong{margin-top:11px;font-size:16px;display:block}.opportunity-card footer{border-top:1px solid var(--line);color:#72829b;justify-content:space-between;margin-top:14px;padding-top:10px;font-size:13px;display:flex}.form-section-title{border-top:1px solid var(--line);margin:26px 0 14px;padding-top:20px}.quote-items{gap:10px;display:grid}.quote-item{border:1px solid var(--line);background:#f8faff;border-radius:12px;grid-template-columns:2.5fr .8fr .8fr 1.7fr 40px;align-items:end;gap:10px;padding:14px;display:grid}.quote-item label{font-size:13px}.quote-add{align-items:center;gap:12px;margin:15px 0 23px;display:flex}.quote-add select{max-width:320px;font-size:14px}.quote-finance{border:1px solid var(--line);background:#fafbfd;border-radius:12px;padding:18px}.quote-total{border-right:3px solid var(--orange);background:#fff3ec;border-radius:8px;flex-direction:column;justify-content:center;padding:5px 12px;display:flex}.quote-total small{color:#9f674c}.quote-total strong{color:#ab4d24;font-size:20px}.print-tools{border-bottom:1px solid var(--line);padding:18px 25px}.print-document{color:#172c46;background:#fff;padding:30px 35px}.print-document>header{border-bottom:3px solid var(--orange);justify-content:space-between;align-items:center;padding-bottom:22px;display:flex}.print-document header img{object-fit:contain;width:210px;height:auto;max-height:100px}.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{border-bottom:1px solid var(--line);justify-content:space-between;gap:24px;padding:6px 3px;font-size:14px;display:flex}.print-totals p:nth-child(5){color:var(--navy);background:#eef3fc;padding:10px;font-size:16px}.print-document>p{margin:10px 0;font-size:14px}.print-document>footer{border-top:1px solid var(--line);margin-top:30px;padding:22px 0 0;font-size:14px}.followup-cards{padding:8px 22px}.followup-cards>article{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:20px 0;display:flex}.followup-cards>article:last-child{border:0}.check-task{border:2px solid #cdd8e8;border-radius:8px;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.check-task.done{color:#fff;background:#1f9570;border-color:#1f9570}.followup-main{flex:1;min-width:180px}.followup-main p{color:var(--muted);margin:3px 0;font-size:14px}.followup-main small{white-space:pre-wrap;font-size:13px;display:block}.priority{background:#f4f6fa;border-radius:6px;padding:3px 9px;font-size:13px}.followup-cards time{white-space:nowrap;color:#6b7d97;font-size:13px}.followup-cards .overdue time{color:#b44753}.overdue .check-task{border-color:#e4a7ac}.calendar{border:1px solid var(--line);border-radius:13px;max-width:700px;margin:22px auto;overflow:hidden}.calendar>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 20px;display:flex}.calendar-grid{background:var(--line);grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;display:grid}.calendar-grid>small{text-align:center;color:var(--muted);background:#f8faff;padding:11px;font-size:14px}.calendar-grid>span{background:#fafbfd}.calendar-grid>button{background:#fff;flex-direction:column;align-items:center;gap:7px;min-height:80px;padding:11px 5px;font-size:16px;display:flex}.calendar-grid>button:hover{background:#fff4ee}.calendar-grid>button.selected{box-shadow:inset 0 0 0 2px var(--navy);background:#edf3fe}.calendar-grid>button b{color:var(--orange);font-size:11px;font-weight:500}.calendar~.btn{margin:0 22px 16px}.chat-layout{grid-template-columns:235px minmax(0,1fr);height:min(660px,100dvh - 245px);min-height:450px;display:grid}.chat-channels{border-left:1px solid var(--line);background:#fafbfd;padding:22px 14px;overflow-y:auto}.chat-channels .eyebrow{color:#8191a9;margin:5px 12px 12px;font-size:13px;display:block}.chat-channels .eyebrow:not(:first-child){margin-top:24px}.chat-channels button{text-align:right;color:#607592;border-radius:9px;align-items:center;gap:9px;width:100%;margin:3px 0;padding:12px 11px;font-size:14px;display:flex}.chat-channels button.active{color:var(--navy);background:#eaf0fc;font-weight:600}.chat-channels button:hover{background:#eff3fb}.chat-channels p{padding:0 12px;font-size:13px}.chat-main{flex-direction:column;min-width:0;display:flex;overflow:hidden}.chat-main>header{border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:11px;padding:20px 23px;display:flex}.chat-main>header strong{font-size:16px}.chat-main>header small{color:var(--muted);margin-right:auto;font-size:12px}.message-stream{background:linear-gradient(#fbfcfe,#f7f9fd);flex-direction:column;flex:1;gap:15px;padding:23px;display:flex;overflow-y:auto}.message-stream>article{border:1px solid var(--line);overflow-wrap:anywhere;background:#fff;border-radius:14px 4px 14px 14px;align-self:flex-start;min-width:130px;max-width:85%;padding:11px 17px}.message-stream>article.mine{background:#eaf1ff;border-color:#d7e5fd;border-radius:4px 14px 14px;align-self:flex-end}.message-stream>article small{color:#49699c;font-size:12px}.message-stream>article p{white-space:pre-wrap;margin:4px 0;font-size:15px}.message-stream>article time{color:#8194ae;font-size:11px;display:block}.message-stream .empty-state{margin:auto}.chat-compose{border-top:1px solid var(--line);align-items:center;gap:12px;padding:17px 20px;display:flex}.chat-compose textarea{height:55px;min-height:55px;max-height:120px;font-size:14px}.chat-main>.inline-notice{margin:8px 20px;padding:6px 12px;font-size:13px}.settings-body{padding:28px}.profile-summary{border-bottom:1px solid var(--line);align-items:center;gap:17px;margin-bottom:24px;padding-bottom:26px;display:flex}.profile-summary h3{font-size:20px}.profile-summary p{color:var(--muted);margin-top:5px;font-size:14px}.settings-help{color:#6f829e;margin-bottom:23px;font-size:14px}.users-grid{gap:13px;margin-bottom:32px;display:grid}.users-grid>article{border:1px solid var(--line);border-radius:12px;align-items:center;gap:13px;padding:17px;display:flex}.users-grid strong{font-size:16px}.users-grid p,.users-grid small{color:var(--muted);font-size:13px}.user-actions{flex-direction:column;align-items:flex-end;gap:6px;margin-right:auto;display:flex}.settings-body>h3{margin:26px 0 17px}.company-settings{border:1px solid var(--line);background:#fafbfd;border-radius:13px;gap:18px;padding:22px;display:grid}.company-settings>.brand-badge{justify-self:start;font-size:14px}.settings-body form>.muted{margin:20px 0}.report-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.report-grid>.panel{margin:0}.report-bars{padding:23px}.report-bar{grid-template-columns:130px 1fr 30px;align-items:center;gap:14px;margin:19px 0;font-size:14px;display:grid}.report-bar>div{background:#edf2fa;border-radius:20px;height:9px;overflow:hidden}.report-bar>div>i{background:var(--navy);border-radius:20px;height:100%;display:block}.report-bar b{color:var(--muted);font-weight:500}.loss-reasons{padding:20px 24px}.loss-reasons>article{border-bottom:1px solid var(--line);gap:13px;padding:13px 0;font-size:14px;display:flex}.loss-reasons>article:last-child{border:0}.loss-reasons p{flex:1}table{font-size:14px}th{color:#677b98;font-size:13px}.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:first-child{grid-column:1/4}.quote-item>.icon-btn{grid-area:1/4;align-self:center}.quote-item>label:nth-child(4){grid-column:2/4}.quote-item>label:nth-child(3){grid-area:3/1}}@media (max-width:640px){.customer-cover{flex-wrap:wrap;gap:13px;padding:19px}.customer-cover h3{font-size:19px}.customer-cover>.btn{width:100%;margin:3px 0 0}.detail-body{padding:20px 18px}.details-grid{grid-template-columns:1fr;gap:12px}.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{flex-direction:column;height:calc(100dvh - 260px);min-height:550px;display:flex}.chat-channels{border-left:0;border-bottom:1px solid var(--line);flex-wrap:nowrap;flex-shrink:0;gap:5px;padding:10px;display:flex;overflow:auto hidden}.chat-channels .eyebrow,.chat-channels p{display:none}.chat-channels button{white-space:nowrap;flex-shrink:0;width:auto;margin:0;padding:8px 10px;font-size:13px}.chat-main{flex:1}.chat-main>header{padding:14px 16px}.message-stream{padding:15px}.message-stream>article{max-width:93%}.chat-compose{gap:8px;padding:13px}.chat-compose>.btn{gap:0;width:47px;padding:9px;font-size:0}.chat-compose>.btn svg{width:19px}.settings-body{padding:20px 18px}.users-grid>article{flex-wrap:wrap}.user-actions{align-items:flex-start;width:100%;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{font-size:12pt;background:#fff!important}body:has(.print-document)>*{display:none!important}body:has(.print-document)>.crm-dialog:has(.print-document){display:block!important}.crm-dialog{width:100%!important;max-width:none!important;max-height:none!important;box-shadow:none!important;background:#fff!important;border-radius:0!important;margin:0!important;position:absolute!important;inset:0!important;overflow:visible!important}.crm-dialog::backdrop{display:none}.dialog-title,.print-tools{display:none!important}.print-document{color:#172c46!important;padding:0!important}.print-document table{font-size:10pt}.print-document header{break-after:avoid}.print-document tr{break-inside:avoid}.print-document th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#eef3fa!important}.print-totals,.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){-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#eef3fc!important}}.report-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px;display:grid}.report-summary>div{border:1px solid var(--line);background:#fff;border-radius:14px;padding:23px}.report-summary small{color:var(--muted);font-size:14px;display:block}.report-summary strong{margin-top:10px;font-size:24px;display:block}.reports-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.stage-chart{padding:20px 24px}.stage-chart article{margin:15px 0 24px}.stage-chart article>div{align-items:center;gap:12px;margin-bottom:12px;font-size:14px;display:flex}.stage-chart article strong{margin-right:auto}.chart-track{background:#f0f3f9;border-radius:20px;height:9px;display:block;overflow:hidden}.chart-track i{border-radius:20px;height:100%;display:block}.performance-list{padding:8px 22px}.performance-list article{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:17px 0;font-size:13px;display:flex}.performance-list article>strong{margin-left:auto;font-size:14px}.performance-list article:last-child{border:0}.history-list .row-title{margin:4px 0;display:block}@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{width:100%!important;margin:0!important}.content{padding:0!important}.panel{break-inside:avoid;box-shadow:none!important}.report-summary{-webkit-print-color-adjust:exact;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{justify-content:center;align-items:center;gap:22px;width:100%;margin-bottom:30px!important;display:flex!important}.brand-divider{color:#a0a7b5;font-size:24px;font-weight:300}.login-story{background:linear-gradient(155deg,#102f80 0%,#26245a 55%,#087e7a 100%)!important}.story-top .caps{letter-spacing:2px}.story-copy em{color:#ffc18a!important}.sidebar-brand>.sidebar-safir-logo{object-fit:contain;width:186px;max-height:72px;margin:8px auto 14px}.sidebar-brand>div span{font-size:13px}.sidebar-section-label{font-size:12px}.nav-item{font-size:15px}.safir-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:22px 0;display:grid}.safir-metrics article{border:1px solid var(--line);background:#fff;border-radius:18px;flex-direction:column;gap:9px;padding:22px;display:flex;position:relative;box-shadow:0 4px 18px #29245b05}.safir-metrics article>span{color:var(--muted);font-size:14px}.safir-metrics article>strong{letter-spacing:-.6px;font-size:25px}.safir-metrics article>svg{stroke:var(--teal);opacity:.65;width:22px;position:absolute;top:22px;left:22px}.safir-list-tools{justify-content:space-between;align-items:center;gap:16px;margin:20px 0;display:flex}.safir-list-tools>input{background:#fff;width:100%;max-width:470px}.safir-case-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.safir-case-card{text-align:right;border:1px solid var(--line);background:#fff;border-radius:18px;padding:24px;transition:transform .15s,border-color .15s;overflow:hidden;box-shadow:0 6px 20px #29245b05}.safir-case-card:hover{border-color:var(--teal);transform:translateY(-3px)}.safir-card-head{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.safir-case-icon{width:46px;height:46px;color:var(--teal);background:#edf8f7;border-radius:13px;place-items:center;display:grid}.safir-case-card h3{margin:0 0 6px;font-size:19px}.safir-case-card p{color:var(--muted);margin:0 0 14px;font-size:14px}.safir-address{align-items:flex-start;gap:7px;min-height:46px;font-size:14px;display:flex}.safir-case-card>small{color:var(--muted);font-size:13px}.safir-progress{background:#eef1f4;border-radius:4px;height:4px;margin:20px 0 12px;overflow:hidden}.safir-progress i{background:var(--teal);height:100%;display:block}.safir-case-card footer{justify-content:space-between;gap:10px;font-size:13px;font-weight:500;display:flex}.safir-summary{margin-bottom:20px;padding:22px}.safir-summary h3{margin:0 0 18px}.safir-action-row{text-align:right;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;width:100%;padding:17px 0;display:flex}.safir-action-row small{color:var(--muted);font-size:13px;display:block}.safir-case-heading{justify-content:space-between;gap:30px;margin:16px 0 26px;display:flex}.safir-case-heading h2{margin:9px 0;font-size:28px}.safir-case-heading p{color:var(--muted);align-items:center;gap:8px;margin:6px 0;font-size:15px;display:flex}.safir-case-heading>div:last-child{flex-direction:column;align-items:flex-end;gap:7px;min-width:200px;display:flex}.safir-case-heading strong{font-size:23px}.safir-case-heading strong small{font-size:13px;font-weight:400;display:block}.safir-case-heading small{color:var(--muted)}.safir-tabs{padding:0 20px;overflow-x:auto;flex-wrap:nowrap!important}.safir-tabs button{white-space:nowrap;min-height:58px;font-size:15px}.safir-process{grid-template-columns:260px minmax(0,1fr);min-height:520px;display:grid}.safir-step-list{border-left:1px solid var(--line);background:#fcfdfd;border-radius:0 0 18px;padding:23px 16px}.safir-step-list>button{text-align:right;width:100%;color:var(--muted);border-radius:12px;align-items:center;gap:11px;margin-bottom:8px;padding:15px 12px;display:flex}.safir-step-list>button.selected{color:#086f6c;background:#e9f6f4}.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{border:1px solid #dce4e9;border-radius:50%;flex-shrink:0;place-items:center;width:29px;height:29px;font-size:13px;display:grid}.selected .safir-step-number{color:#0a9a93;border-color:#0a9a93}.safir-gate-note{color:var(--muted);border-top:1px solid var(--line);gap:8px;margin-top:20px;padding:16px 12px;font-size:12px;line-height:1.9;display:flex}.safir-gate-note svg{flex-shrink:0;margin-top:4px}.safir-stage-body{padding:28px}.safir-stage-body>header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.safir-stage-body h3{margin:3px 0;font-size:23px}.safir-task{text-align:right;border-bottom:1px solid #edf0f3;align-items:flex-start;gap:14px;width:100%;padding:17px 0;display:flex}.safir-task>span:first-child{color:var(--teal);flex-shrink:0;width:22px;padding-top:3px}.safir-task>div{flex:1}.safir-task strong{font-size:15px;font-weight:500}.safir-task small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.safir-task p{color:#6f7488;white-space:pre-wrap;margin:7px 0;font-size:13px}.safir-task>svg{color:#b2b9c6;flex-shrink:0;margin-top:7px}.safir-task.done strong{color:#167c76}.safir-task-circle{border:1.5px solid #c6cfd8;border-radius:50%;width:19px;height:19px;display:block}.safir-stage-actions{flex-wrap:wrap;gap:10px;margin-top:23px;display:flex}.safir-report{background:#f3f7f8;border-radius:12px;margin-top:24px;padding:18px 22px}.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{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:20px 0;display:flex}.safir-statement>div:first-child{flex:1;min-width:0}.safir-statement p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.safir-statement small{color:var(--muted);font-size:12px;display:block}.safir-visit{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:flex-start;gap:16px;padding:22px 0;display:flex}.safir-visit>div:first-child{flex:1;min-width:220px}.safir-visit p{white-space:pre-wrap;margin:10px 0 0}.safir-visit small{color:var(--muted);margin-top:5px;font-size:13px;display:block}.safir-event{border-bottom:1px solid var(--line);gap:12px;padding:15px 0;display:flex}.safir-event svg{color:var(--teal);margin-top:5px}.safir-event small{color:var(--muted);font-size:13px;display:block}.safir-sms-form{margin-bottom:24px}.safir-sms-form label{flex-direction:column;gap:10px;display:flex}.safir-sms-form .btn{margin-top:14px}.project-chat{box-shadow:none!important;border:0!important;grid-template-columns:1fr!important}.chat-attachment img,.chat-attachment video{object-fit:contain;border-radius:10px;width:100%;max-width:300px;max-height:260px;margin:10px 0;display:block}.chat-attachment a{overflow-wrap:anywhere;font-size:13px;text-decoration:underline;display:block}.chat-file-button{cursor:pointer;border:1px solid var(--line);border-radius:10px;justify-content:center;align-items:center;gap:8px;max-width:180px;padding:8px 12px;font-size:13px;display:flex}.chat-file-button input{display:none}.chat-file-button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-compose{flex-wrap:wrap}.check-label{align-items:center;gap:10px;flex-direction:row!important;display:flex!important}.check-label input{width:18px;min-height:18px}.dialog-form fieldset{border:0;min-width:0;margin:0;padding: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{grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.safir-metrics article{padding:16px}.safir-metrics article:nth-child(2){grid-area:2/1/auto/-1}.safir-metrics article>strong{font-size:21px}.safir-metrics article>svg{width:17px;top:16px;left:14px}.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{border:0;border-bottom:1px solid var(--line);border-radius:0;gap:8px;padding:15px;display:flex;overflow-x:auto}.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{isolation:isolate;flex:1;justify-content:center;align-items:center;min-height:320px;margin:20px 0 30px;display:flex;position:relative}.lift-frame{background:linear-gradient(145deg,#ffffff0a,#ffffff02);border:1px solid #ffffff50;border-radius:100px 100px 12px 12px;gap:4px;width:240px;height:260px;padding:42px 32px 16px;display:flex;transform:translate(35px)}.lift-frame span{background:linear-gradient(150deg,#ffffff18,#ffffff02);border:1px solid #ffffff35;border-radius:50px 4px 4px;flex:1;display:block}.lift-frame span:last-child{border-radius:4px 50px 4px 4px}.lift-route{flex-direction:column;gap:24px;width:200px;display:flex;position:absolute;top:12%;left:20%;transform:rotate(-12deg)}.lift-route i{opacity:.8;background:linear-gradient(90deg,#00b4ab,#ff922e);height:1px}.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{flex-direction:column;gap:7px;display:flex;position:absolute;bottom:0;right:0}.identity-caption strong{color:#fff;font-size:21px;font-weight:500}.identity-caption span{color:#cadbed;font-size:13px}@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{touch-action:manipulation;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.combined-brand{background:#fff;align-items:center;gap:22px}.combined-brand img{object-fit:contain;width:170px;max-width:42%;height:82px}.sidebar-brand img{object-fit:contain;background:#fff;border-radius:6px}.daily-occasion{color:#69768a;max-width:250px;font-size:12px;font-weight:400;line-height:1.7;display:block}.wins-feed,.anniversary-feed{margin:16px 0;padding:18px 22px}.wins-feed{background:linear-gradient(90deg,#fff,#f2fbf8);border-right:4px solid #159a89}.wins-feed p{margin:10px 0;font-size:14px}.wins-feed p span{color:#159a89}.anniversary-feed .text-btn{margin:8px 0 8px 16px}.v2-settings,.contractor-panel,.initial-visits{margin:18px 0;padding:22px}.v2-settings .tabs{overflow-x:auto}.permissions-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 0;display:grid}.permissions-grid label{justify-content:space-between;align-items:center;gap:8px;font-size:13px;display:flex}.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;border-radius:12px;margin:12px 0;padding:16px}.settings-role summary,.elevator-fields summary{cursor:pointer;font-weight:600}.settings-role[open] summary{margin-bottom:16px}.tag-choices{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.tag-choices label{border:1px solid #e4e8ef;border-radius:8px;align-items:center;gap:7px;padding:8px 12px;font-size:14px;display:flex}.tag-choices i,.tag-dots i{border-radius:50%;width:9px;height:9px;display:inline-block}.tag-dots{gap:4px;margin:0 7px;display:inline-flex}.tag-editor,.extra-row,.occasion-editor{align-items:center;gap:10px;margin:10px 0;display:flex}.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;margin:18px 0;padding:15px}.elevator-fields[open] summary{margin-bottom:16px}.check-line{align-items:center;gap:9px;margin:16px 0;flex-direction:row!important;display:flex!important}.visit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0;display:grid}.visit-card,.wage-card{overflow-wrap:anywhere;background:#fff;border:1px solid #e1e6ef;border-radius:13px;min-width:0;padding:18px}.visit-card h3,.visit-card h4,.wage-card h4{margin:14px 0;font-size:16px}.visit-card p,.wage-card p{font-size:14px;line-height:1.8}.visit-card small,.wage-card small{color:#778292;margin:8px 0;display:block}.wage-card{margin:14px 0}.report-text,.project-comment{white-space:pre-wrap;background:#f6f8fc;border-radius:8px;padding:12px}.visit-row{flex-wrap:wrap;align-items:center;gap:15px;padding:12px;display:flex}.bank-details{direction:ltr;font-size:13px}.project-comment{margin:12px 0}.project-comment small{color:#768292;font-size:12px;display:block}.visit-card progress{accent-color:#009d8c;width:100%;margin:12px 0}.notification-item{text-align:right;background:#fff;border:1px solid #e3e8ef;border-radius:10px;flex-direction:column;align-items:flex-start;gap:7px;width:100%;margin:10px 0;padding:15px;display:flex}.notification-item.unread{background:#f0f5ff;border-color:#cddafa}.notification-item small,.contact-counter{color:#768292;font-size:12px}.contact-counter{margin:6px 0;display:block}.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{flex:140px;min-width:0}.occasion-editor input:not([type=number]){flex:100%;order:1}.permissions-grid label{font-size:14px}.visit-card p{font-size:15px}.daily-occasion{max-width:100%;font-size:12px}.v2-settings .form-grid{grid-template-columns:1fr}.tag-choices label{padding:7px 10px;font-size:14px}}@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{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:20px 0;display:grid}.installation-stage-summary article{border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.installation-stage-summary span{font-size:14px}@media (max-width:640px){.welcome-card{flex-direction:column;gap:18px;display:flex}.welcome-date{text-align:right;border-top:1px solid #dde6f1;align-items:flex-start;gap:6px;width:100%;min-width:0;padding-top:14px;display:flex!important}.welcome-date>svg,.welcome-date>span{display:none}.welcome-date strong{font-size:13px}.dashboard-grid{grid-template-columns:1fr}}.wage-total{background:#f2f6fc;border-radius:10px;margin:14px 0;padding:14px;font-weight:600;display:block}: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{width:var(--sidebar-size);color:var(--muted);border-right:1px solid var(--line);background:#fff;padding:26px 14px 16px;left:0;right:auto}.workspace .main-area{width:calc(100% - var(--sidebar-size));margin-left:var(--sidebar-size);margin-right:0}.workspace .sidebar-brand{background:#fff;border-radius:0;margin-bottom:22px;padding:5px 12px 13px}.workspace .sidebar-brand>img{object-fit:contain;width:119px;height:48px;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{color:#a0a2b0;font-size:10px}.workspace .sidebar-section-label{color:#a3a5b2;margin-bottom:12px;font-size:10px}.workspace .sidebar nav{scrollbar-color:#dddbea transparent}.workspace .nav-item{color:#7f8293;border-radius:12px;min-height:44px;margin:3px 0;padding:10px 13px;font-size:13px}.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{border-right:1px solid #e5e3ee;margin:3px 24px 8px 7px;padding-right:9px}.workspace-nav-sub button{text-align:right;width:100%;color:var(--muted);border-radius:9px;min-height:37px;padding:8px 10px;font-size:12px;display:block}.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:0 0}.avatar{background:var(--accent-soft);color:var(--navy);overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.workspace .topbar{min-height:86px;padding:17px 30px}.workspace .page-title h1{font-size:18px}.workspace .page-title span{letter-spacing:1.2px;color:#9393a5;font-size:9px}.workspace .content{padding:28px 30px}.workspace .global-search{border-color:var(--line);background:#f8f8fb}.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{background:var(--orange);color:#fff;border:2px solid #fff;border-radius:6px;min-width:18px;height:18px;font-size:10px;line-height:14px;position:absolute;top:-4px;right:-4px}.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{border-bottom:1px solid var(--line);align-items:center;gap:20px;margin-bottom:25px;padding-bottom:23px;display:flex}.profile-photo-editor p{color:var(--muted);margin:6px 0 12px;font-size:12px}.profile-photo-editor .avatar{flex-shrink:0}.service-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.service-overview article{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:18px;padding:20px;position:relative}.service-overview svg{width:33px;height:33px;color:var(--navy);background:var(--accent-soft);border-radius:10px;padding:7px;position:absolute;top:18px;left:18px}.service-overview span{color:var(--muted);padding-left:30px;font-size:12px;display:block}.service-overview strong{margin-top:8px;font-size:26px;display:block}.service-overview strong.money{font-size:18px}.service-tabs{background:#eeedf5;border:0;border-radius:13px;width:max-content;max-width:100%;margin-bottom:20px;padding:5px;overflow-x:auto}.service-tabs button{white-space:nowrap;border:0;border-radius:9px;padding:9px 16px;font-size:12px}.service-tabs button.active{background:#fff;box-shadow:0 2px 6px #29235c08}.service-tools{flex-wrap:wrap;align-items:center;gap:15px;margin-bottom:22px;display:flex}.service-tools .search-input{background:#fff;min-width:180px;height:46px}.service-tools>label:not(.search-input){min-width:240px;font-size:11px}.service-tools>select{max-width:200px}.service-plan-banner{background:var(--accent-faint);border:1px solid var(--line);border-radius:16px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px;padding:20px 23px;display:flex}.service-plan-banner p{color:var(--muted);margin-top:4px;font-size:12px}.service-plan-banner .table-actions{flex-wrap:wrap;flex-shrink:0}.service-visit-grid,.service-contract-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.service-visit-card,.service-contract-card{border:1px solid var(--line);background:#fff;border-radius:18px;min-width:0;padding:21px}.service-card-top{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px;font-size:11px;display:flex}.service-visit-card h3,.service-contract-card h3{margin-bottom:8px;font-size:16px}.service-visit-card p,.service-contract-card p{color:var(--muted);margin:7px 0;font-size:12px}.service-visit-card small,.service-contract-card small{color:var(--muted);font-size:11px;display:block}.service-card-actions{flex-wrap:wrap;gap:9px;margin-top:18px;display:flex}.service-card-actions .btn,.service-contract-card .btn{min-height:38px;padding:8px 11px;font-size:11px}.service-contract-card>svg{color:#00847f;box-sizing:content-box;background:#e5f5f1;border-radius:10px;margin-bottom:13px;padding:7px}.service-contract-card dl,.service-review dl{grid-template-columns:1fr 1fr;gap:9px;margin:18px 0;font-size:12px;display:grid}.service-contract-card dt,.service-review dt{color:var(--muted)}.service-contract-card dd,.service-review dd{text-align:left;margin:0}.service-tab-action{margin:18px 0}.service-context{background:var(--accent-faint);border-radius:13px;margin-bottom:22px;padding:16px 19px}.service-context p{color:var(--muted);margin:5px 0;font-size:12px}.service-context small{color:var(--muted);font-size:11px;display:block}.service-hint{background:#fffbf1;border-radius:11px;margin:12px 0;padding:12px 14px;font-size:12px;color:#877c68!important}.report-steps{gap:8px;margin:15px 0 24px;display:flex;overflow-x:auto}.report-steps button{white-space:nowrap;min-width:90px;color:var(--muted);border-radius:10px;flex:1;align-items:center;gap:8px;padding:9px;font-size:11px;display:flex}.report-steps span{background:#f0eff5;border-radius:8px;place-items:center;width:24px;height:24px;display:grid}.report-steps button.current{background:var(--accent-soft);color:var(--navy)}.report-steps button.current span{background:var(--navy);color:#fff}.service-checklist{gap:12px;display:grid}.service-checklist section{border:1px solid var(--line);border-radius:12px;padding:15px}.service-checklist section>div{justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px;display:flex}.service-checklist strong{font-size:13px}.service-checklist select{width:145px;font-size:12px}.service-checklist input{font-size:12px}.service-location{color:var(--muted);align-items:center;gap:14px;font-size:12px;display:flex}.voice-feedback{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.voice-feedback label{flex:1;min-width:160px;font-size:12px}.voice-feedback input{font-size:12px}.voice-feedback audio{width:100%}.signature-box{border:1px solid var(--line);border-radius:12px;margin-top:12px;padding:10px}.signature-box canvas{touch-action:none;background:#fafafe;border-radius:9px;width:100%;height:170px;display:block}.signature-box small{color:var(--muted);font-size:11px}.signature-box .table-actions{justify-content:space-between;margin-top:7px}.service-form-footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:25px;padding-top:20px;display:flex}.service-review p{white-space:pre-wrap;margin:12px 0;font-size:13px}.service-review h4{margin-top:20px}.service-review h3{align-items:center;gap:10px;font-size:17px;display:flex}.report-photos{flex-wrap:wrap;gap:12px;display:flex}.report-photos img{object-fit:cover;border-radius:10px;width:110px;height:95px}.report-photos>div{text-align:center;gap:6px;display:grid}.saved-signature{border:1px solid var(--line);border-radius:10px;width:100%;max-width:430px}.service-check-result{border:1px solid var(--line);border-radius:10px;margin:10px 0;padding:13px;font-size:12px}.service-check-result span{float:left;color:var(--navy)}.service-review-actions{border-top:1px solid var(--line);gap:15px;margin-top:25px;padding-top:20px;display:grid}.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{flex-direction:column;align-items:flex-start}.workspace .topbar{padding:17px 22px}.workspace .content{padding:25px 22px}}@media (max-width:800px){.workspace .sidebar{width:260px;transform:translate(-100%)}.workspace .sidebar.open{transform:translate(0)}.workspace .main-area{width:100%;margin-left:0;margin-right:0}.workspace .mobile-close{left:auto;right:3px}.workspace .content{padding:21px 16px}.workspace .topbar{min-height:80px;padding:14px 16px}}@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{white-space:normal;flex:1;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{padding:8px;font-size:11px}.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]{--navy:#29235c;--navy-dark:#201b48;--orange:#fa810a;--teal:#00a19a;--accent-ink:#a34c00;--accent-soft:#efedf8;--accent-faint:#f6f5fb}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{width:var(--sidebar-size);background:var(--navy-dark);color:#e3eaf7;border-left:1px solid #ffffff12;border-right:0;padding:22px 14px 16px;left:auto;right:0}.workspace .main-area{margin-right:var(--sidebar-size);width:calc(100% - var(--sidebar-size));margin-left:0}.workspace .sidebar-brand{border-radius:14px;margin-bottom:20px;padding:15px 12px 12px;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;margin-bottom:10px;font-size:12px}.workspace .sidebar nav{scrollbar-color:#8597bd55 transparent}.workspace .nav-item{color:#e0e8f6;border-radius:11px;min-height:48px;padding:11px 13px;font-size:15px;line-height:1.7}.workspace .nav-item>svg{color:#b4c5e5}.workspace .nav-item:hover{color:#fff;background:#ffffff12}.workspace .nav-item.active{color:var(--navy);background:#fff;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;min-height:44px;font-size:14px;line-height:1.7}.workspace .workspace-nav-sub button:hover{color:#fff;background:#ffffff12}.workspace .workspace-nav-sub button.selected{color:var(--navy);background:#fff}.workspace .sidebar-user{background:#ffffff09;border:1px solid #fff2;border-radius:13px;gap:9px;margin-top:16px;padding:13px 10px}.workspace .sidebar-user>div{flex:1;min-width:0}.workspace .sidebar-user strong{color:#fff;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.workspace .sidebar-user small{color:#c8d3e9;font-size:12px;line-height:1.8}.workspace .sidebar-user .avatar{color:#fff;background:#ffffff20;width:36px;height:36px}.workspace .sidebar-user .icon-btn{color:#e0e8f6;width:32px;height:40px}.workspace .sidebar-user .icon-btn:hover{color:#fff;background:#ffffff15}.workspace .topbar{min-height:94px;padding:18px 32px}.workspace .page-title h1{font-size:24px;line-height:1.6}.workspace .page-title span{color:#58647a;letter-spacing:1px;font-size:11px}.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));color:#fff;border:0;border-radius:18px;padding:27px 30px;box-shadow:0 6px 20px #16396f16}.workspace .welcome-card h2{color:#fff;font-size:28px}.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{color:var(--navy);background:#fff;border-color:#fff}.workspace .welcome-date{color:#fff;background:#ffffff0d;border:1px solid #ffffff26;border-radius:13px;padding:18px}.workspace .welcome-date strong{font-size:14px}.workspace .welcome-date span,.workspace .welcome-date .daily-occasion{color:#e1e8f5;font-size:12px}.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{color:var(--ink);font-size:25px}.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){min-height:44px;font-size:14px;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){color:var(--ink);font-size:16px}:is(.workspace,.crm-dialog) input::placeholder{color:#68758a}:is(.workspace,.crm-dialog) :is(label,.service-tools>label,.service-report-form label){color:var(--ink);font-size:14px}: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{color:#fff;background:#a43d17}:is(.workspace,.crm-dialog) .eyebrow{color:var(--accent-ink)}:is(.workspace,.crm-dialog) :is(th,.service-overview span,.service-checklist strong){color:#59677e;font-size:14px}.workspace td{color:#35455f;font-size:15px}.workspace .row-title,.workspace .dashboard-tasks strong{font-size:15px}.workspace .service-tabs button{min-height:44px;font-size:14px}.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,: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);color:var(--ink);border-color:#d7dfef}.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{color:#176047;background:#e8f5ef}:is(.workspace,.crm-dialog) .status-chip.negative{color:#a52e3a;background:#fff0f1}: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{border:1px solid #d5dff0;border-right:4px solid var(--orange);background:var(--accent-faint);border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:20px 24px;display:flex}.contract-renewal-banner p,.contract-print-entry p{color:var(--muted);margin-top:4px;font-size:14px}.contract-renewal-banner .btn,.contract-print-entry .btn{flex-shrink:0}.contract-metadata{border-bottom:1px solid var(--line);margin-bottom:26px;padding-bottom:24px}.contract-metadata h3{margin-bottom:8px}.contract-metadata>.muted{margin-bottom:18px}.contract-metadata dl{grid-template-columns:1fr 1fr;gap:15px;font-size:14px;display:grid}.contract-metadata dt{color:var(--muted)}.contract-metadata dd{margin:3px 0 0}.insurance-fields{border:1px solid var(--line);border-radius:13px;min-width:0;margin:10px 0;padding:18px}.insurance-fields legend{color:var(--navy);padding:0 8px;font-size:15px;font-weight:600}.insurance-fields .muted{margin-top:12px}.service-subscription{color:var(--navy);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:0 0 15px;font-size:13px;display:flex}.document-upload{background:var(--accent-faint);border:1px solid var(--line);border-radius:13px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:20px;padding:18px;display:flex}.document-upload label{flex:190px;min-width:0}.document-upload input[type=file]{width:100%;font-size:13px}.document-list article{border:1px solid var(--line);border-radius:13px;align-items:center;gap:14px;margin:12px 0;padding:17px;display:flex}.document-list article>svg{color:var(--navy)}.document-list article>div:first-of-type{overflow-wrap:anywhere;flex:1;min-width:0}.document-list p,.document-list small{color:var(--muted);font-size:13px}.document-list strong{font-size:15px}.contract-print-tools{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:20px 26px;display:flex}.contract-print-tools p{flex-basis:100%}.jalali-input{min-width:0;position:relative}.jalali-input>label{margin-bottom:7px}.jalali-input-row{align-items:center;gap:5px;display:flex}.jalali-input-row input{flex:1}.jalali-input-row .icon-btn{width:40px;min-height:44px}.jalali-calendar{border:1px solid var(--line);background:#fff;border-radius:13px;margin-top:8px;padding:12px;box-shadow:0 5px 18px #16396f10}.jalali-calendar header{justify-content:space-between;align-items:center;gap:5px;display:flex}.jalali-calendar header strong{font-size:14px}.jalali-calendar-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:8px 0;display:grid}.jalali-calendar-grid button{border-radius:8px;min-height:40px;font-size:14px}.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,100vw - 44px);color:var(--ink);border-left:1px solid var(--line);background:#fff;padding-top:22px;transform:translate(100%)}.workspace .sidebar.open{transform:translate(0)}.workspace .main-area{width:100%;margin-left:0;margin-right:0}.workspace .sidebar-brand{box-shadow:none;padding:10px 12px}.workspace .mobile-close{width:40px;height:40px;color:var(--muted);left:0;right:auto}.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:0 0}.workspace .topbar{min-height:80px;padding:14px 16px}.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{color:var(--navy);background:0 0;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{flex-direction:column;align-items:flex-start;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,.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{overflow-wrap:anywhere;font-size:16px}.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{flex-wrap:wrap;align-items:flex-start;padding:14px}.document-list article>div:first-of-type{flex: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;margin:9px 0;line-height:2}.contract-document>h3{color:#29235c;break-after:avoid;margin:24px 0 12px}.contract-document>header{border-bottom:2px solid #29235c;margin-bottom:20px;padding-bottom:18px}@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;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.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;max-width:92px;max-height:52px;padding:7px}.erp-brand small,.erp-kicker,.erp-date,.erp-profile small{color:#b5c4d8}.erp-product-link{color:#dce8f8;background:#ffffff07;border-color:#64748b70}.erp-sidebar nav button{color:#c4d1e2}.erp-sidebar nav button:hover{background:#ffffff0d}.erp-sidebar nav button.active{color:#fff;box-shadow:inset -3px 0 var(--erp-accent);background:#ffffff15}.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);--lightningcss-light: ;--lightningcss-dark:initial;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 .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{color:#ffdacd;background:#f2572a16;border-color:#f2572a75}.erp-shell .service-month-rail>div.current{background:#f2572a15}.erp-shell .timeline-dot{border-color:var(--erp-panel)}.erp-login{color:#e7eef8;background:#101d30}.erp-login .login-story{background:#193455}.erp-login .login-form-area{background:#17273d}.erp-login .login-form{color:#e7eef8;background:0 0}.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;border-radius:8px;padding:10px}.erp-login input{color:#e7eef8;background:#101d30;border-color:#344760}.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{color:#e7eef8;background:#1a2c44;border:1px solid #344760}html[data-product=ERP] dialog input,html[data-product=ERP] dialog select,html[data-product=ERP] dialog textarea{color:#e7eef8;background:#101d30;border-color:#344760}html[data-product=ERP] dialog .btn-primary{color:#fff;background:#f2572a}html[data-product=ERP] dialog .btn{border-color:#344760}html[data-product=ERP] dialog .customer-options{color:#e7eef8;background:#223851}@media (prefers-reduced-motion:reduce){.erp-metrics button{transition:none!important;transform:none!important}}@media print{html[data-product=ERP],html[data-product=ERP] body{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#172b44;background:#fff}html[data-product=ERP] .contract-sheet{color:#172b44!important;background:#fff!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),.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);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.erp-shell .search-input input{background:0 0;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{outline:2px solid var(--erp-highlight);outline-offset:3px}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{color:#c8dcff;background:#223851}.erp-shell .status-chip.positive{color:#91e4c6;background:#183e37}.erp-shell .status-chip.negative{color:#ffc0cc;background:#4b2537}.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{color:#17263c!important;background:#eef3fa!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:0 0!important}.erp-greeting{border:1px solid #596883;border-inline-start:4px solid var(--erp-accent);background:var(--erp-soft);border-radius:14px;margin:12px 0 18px;padding:18px 22px}.erp-greeting h2{color:var(--erp-ink);margin:0 0 7px}.erp-greeting p{color:#c6d5e6;margin:0}.erp-excel-tools{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0 18px;display:flex}.erp-notes{white-space:pre-wrap;overflow-wrap:anywhere}.service-balance{border-top:1px solid var(--erp-line,#454165);grid-template-columns:minmax(140px,1fr) auto;gap:7px 16px;margin-top:14px;padding-top:14px;display:grid}.service-balance dt{color:#b9c7dd}.service-balance dd{color:#eff4fb;margin:0}.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{color:#17263c!important;background:#eef3fa!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:0 0!important}@media screen{html[data-product=ERP] .service-monitor{gap:18px;margin:18px 0 24px;display:grid}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);color:var(--erp-ink);border-radius:16px;padding:22px}.monitor-summary{grid-template-columns:1.8fr repeat(3,1fr);gap:14px;display:grid}.monitor-progress{grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}html[data-product=ERP] .monitor-progress strong{color:var(--erp-highlight);font-size:2.25rem;line-height:1.5;display:block}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{background:conic-gradient(var(--erp-accent) var(--completion),var(--erp-soft) 0);border-radius:50%;place-items:center;width:88px;height:88px;display:grid}.completion-ring span{background:var(--erp-panel);border-radius:50%;place-items:center;width:68px;height:68px;font-weight:700;display:grid}html[data-product=ERP] :is(.monitor-progress,.technician-progress article) progress{width:100%;height:8px;accent-color:var(--erp-accent);border:0;border-radius:6px;grid-column:1/-1;overflow:hidden}.monitor-progress progress::-webkit-progress-bar{background:var(--erp-soft)}.technician-progress progress::-webkit-progress-bar{background:var(--erp-soft)}.monitor-progress progress::-webkit-progress-value{background:var(--erp-accent)}.technician-progress progress::-webkit-progress-value{background:var(--erp-accent)}.monitor-kpi{text-align:right;font:inherit;cursor:pointer;flex-direction:column;gap:8px;transition:border-color .15s;display:flex}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{color:var(--erp-ink);font-size:2rem;line-height:1.3}.chart-legend{flex-wrap:wrap;gap:20px;font-size:13px;display:flex}.chart-legend span{align-items:center;gap:8px;display:flex}.chart-legend i{border-radius:3px;width:11px;height:11px}.service-key{background:#49d4c6}.fault-key{background:#ffb287}.chart-scroll{padding:18px 2px 0;overflow-x:auto}.daily-bar-chart{border-bottom:1px solid var(--erp-line);direction:rtl;justify-content:space-between;gap:8px;min-width:930px;padding-bottom:9px;display:flex}.chart-day{flex-direction:column;flex:1;align-items:center;gap:12px;width:24px;display:flex}.bar-pair{justify-content:center;align-items:flex-end;gap:4px;width:100%;height:164px;display:flex}.bar-pair>span{border-radius:4px 4px 0 0;width:36%;min-width:7px;max-width:12px;min-height:2px;position:relative}.bar-pair b{color:var(--erp-ink);font-size:11px;font-weight:500;line-height:20px;position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.service-bar{background:#49d4c6}.fault-bar{background:#ffb287}.chart-day small{color:var(--erp-muted);font-size:12px}.chart-caption{padding-top:10px}.monitor-attention{color:#ffdeb0;background:#c3882117;border:1px solid #dbb06670;border-radius:12px;align-items:center;gap:12px;padding:14px 18px;display:flex}.monitor-attention .btn{margin-inline-start:auto}.technician-progress{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.technician-progress article{gap:10px;display:grid}.technician-progress article span{color:var(--erp-muted);font-size:14px}html[data-product=ERP] .service-shortcuts{border-inline-start:4px solid var(--erp-accent);flex-wrap:wrap;align-items:center;gap:18px;display:flex}.service-shortcuts h3{margin:0 0 4px}.service-shortcuts .table-actions{flex:1;justify-content:flex-end}.service-tools{flex-wrap:wrap;align-items:end}.service-tools .jalali-field{min-width:230px}.service-tabs{border-radius:12px;gap:6px;padding:8px}.service-tabs button{min-height:46px}.service-tab-action{flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0;display:flex}.service-tab-action .erp-excel-tools{margin:0}html[data-product=ERP] .building-link{text-align:right;width:100%;color:var(--erp-ink);cursor:pointer;background:0 0;border:0;padding:0;display:block}.building-link h3{margin:5px 0;line-height:1.9}.building-link:hover h3{text-decoration:underline;-webkit-text-decoration-color:var(--erp-accent);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{border:1px solid #b28d5250;border-radius:8px;padding:6px 10px;font-size:13px;color:#ffdeb0!important;background:#a870241b!important}.service-back-btn{margin-bottom:20px;gap:12px!important;min-height:50px!important;padding:12px 22px!important;font-size:16px!important}.report-changes{border:1px solid var(--erp-line);color:var(--erp-ink);border-radius:10px;margin:14px 0;padding:16px}.report-changes summary{cursor:pointer}.report-changes article{border-top:1px solid var(--erp-line);margin-top:12px;padding-top:14px}.report-changes p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--erp-muted)}.plan-preferences{border:1px solid var(--erp-line);background:var(--erp-panel);border-radius:12px;flex-wrap:wrap;gap:16px;margin:12px 0 20px;padding:15px 18px;font-size:14px;display:flex}.plan-preferences .notice{width:100%}.schedule-moves{border:1px solid var(--erp-line);border-radius:12px;margin-top:20px;padding:18px}.schedule-moves summary{cursor:pointer;min-height:32px;font-weight:600}html[data-product=ERP] :is(.plan-editor-row,.history-live-report){border:1px solid var(--erp-line);background:var(--erp-soft);color:var(--erp-ink);border-radius:12px;margin-bottom:12px;padding:16px}.plan-editor-row>.check-line{align-items:flex-start}.plan-editor-row>.check-line span{gap:4px;display:grid}.plan-editor-row small{color:var(--erp-muted);font-weight:400;line-height:1.8}.plan-editor-fields{grid-template-columns:100px 1fr 1.6fr;align-items:end;gap:14px;margin-top:12px;display:grid}.plan-editor-fields .check-line{align-self:center;font-size:14px}.plan-editor-row.excluded{opacity:.7}.sticky-form-actions{background:var(--erp-panel);border-top:1px solid var(--erp-line);justify-content:space-between;align-items:center;gap:12px;padding:14px 0 0;display:flex;position:sticky;bottom:0}.plan-editor-list{max-height:48vh;padding:3px;overflow:auto}html[data-product=ERP] .crm-dialog{max-width:min(1100px,100vw - 30px)}.crm-dialog .dialog-form{min-width:0}html[data-product=ERP] :is(.legacy-history,.customer-live-reports,.history-report-body),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{color:var(--erp-ink);border-color:var(--erp-line);white-space:normal;vertical-align:top;overflow-wrap:anywhere;text-align:right;background:0 0;padding:12px 10px}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{margin-top:8px;min-height:36px!important;font-size:13px!important}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;text-align:right;max-width:100%;color:var(--erp-ink);direction:rtl;margin-top:12px;font-family:inherit;line-height:1.9}.history-live-report summary{cursor:pointer;flex-wrap:wrap;justify-content:space-between;gap:10px;line-height:1.9;display:flex}.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{background:var(--erp-soft);border:1px solid var(--erp-line);width:100%;color:var(--erp-ink);text-align:right;border-radius:12px;min-height:72px;padding:16px;line-height:1.9}.notification-item strong{overflow-wrap:anywhere;display:block}.notification-item small{margin-top:5px;display:block;color:var(--erp-muted)!important}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{border-top:1px solid var(--erp-line);max-width:480px;margin-top:26px;padding-top:22px}.erp-profile-settings{min-width:0;color:inherit;text-align:right;cursor:pointer;font:inherit;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:6px 0;display:flex}.erp-profile-settings img{object-fit:cover;border:2px solid #ffffff40;border-radius:50%;width:40px;height:40px}.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;border:1px solid #b5976250;color:#ffe1aa!important}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{color:#172b44;background:#fff}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{white-space:normal;flex:1}.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{color:#203047;background:#edf2f7}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;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.erp-shell,.erp-shell[data-brand=safir]{color:var(--erp-ink);background:#edf2f7}.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{color:#f0f5fc;background:#1b2940;border:1px solid #334763;border-radius:14px;margin:0 0 22px;padding:16px 20px;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){color:#f0f5fc;background:#34415a;border-color:#63738c}.erp-shell .panel,.erp-shell .erp-metrics button{border-radius:14px;box-shadow:0 5px 18px #23365108}.erp-shell :is(input,select,textarea),html[data-product=ERP] .crm-dialog :is(input,select,textarea){color:#203047;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;border-color:#aabbd0}.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),.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{color:#203047;--erp-ink:#203047;--erp-muted:#52637a;--erp-panel:#fff;--erp-soft:#f2f6fa;--erp-line:#d3dde8;--erp-control-line:#aabbd0;background:#fff}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){color:#203047;background:#f2f6fa;border-color:#d3dde8}html[data-product=ERP] .crm-dialog :is(.quote-item,.quote-total) :is(label,small),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;cursor:pointer;background:#e7f3f2;padding:16px;font-weight:700;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{z-index:5;position:sticky;bottom:8px;box-shadow:0 2px 14px #182b4415}.case-overview{gap:18px;min-width:0;margin:20px 0 22px;display:grid}.case-identity-card{color:#f4f7fc;background:linear-gradient(115deg,#243349,#302b50);border-radius:16px;min-width:0;padding:24px 28px;box-shadow:0 6px 20px #26324910}.case-id-line{color:#cfe8e6;flex-wrap:wrap;justify-content:space-between;gap:14px;font-size:13px;display:flex}.case-identity-card h2{color:#fff;margin:12px 0 20px;font-size:25px;line-height:1.7}.case-identity-fields{grid-template-columns:1fr 1fr;gap:14px 26px;margin:0;display:grid}.case-identity-fields>div{border-top:1px solid #ffffff24;grid-template-columns:110px 1fr;gap:10px;min-width:0;padding-top:12px;display:grid}.case-identity-fields .full{grid-column:1/-1}.case-identity-fields dt{color:#c1cede}.case-identity-fields dd{color:#fff;overflow-wrap:anywhere;margin:0;line-height:1.8}.case-identity-fields a{text-decoration:none;color:#e5fffc!important}.case-summary-grid{grid-template-columns:1fr 1fr 1.2fr;align-items:start;gap:16px;display:grid}.case-summary-card,.case-notes-panel{background:#fff;border:1px solid #d3dde8;border-radius:14px;min-width:0;padding:22px;box-shadow:0 4px 14px #182b4405}.case-summary-card h3{color:#203047;margin:0 0 18px;font-size:17px}.case-summary-card dl{gap:12px;margin:0;display:grid}.case-summary-card dl>div{grid-template-columns:1fr 1fr;align-items:start;gap:12px;display:grid}.case-summary-card dt{color:#52637a;font-size:13px;line-height:1.9}.case-summary-card dd{color:#203047;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.9}.case-finance-card{border-top:4px solid #26bdb4}.case-price{color:#153f50;margin:8px 0;font-size:23px;line-height:1.8;display:block}.case-finance-card>p{color:#52637a;margin:4px 0 18px;font-size:13px}.case-finance-card .service-balance{gap:12px;margin-top:18px;font-size:13px}.case-finance-card .service-balance dt{color:#52637a}.case-finance-card .service-balance dd{color:#203047}.case-section-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.case-section-title h3{color:#203047;margin:0;font-size:17px}.case-section-title :is(small,span){color:#52637a;font-size:12px}.case-note-group{border-top:1px solid #dce4ed;margin:20px 0 24px;padding-top:18px}.case-note-group table{border-collapse:collapse;width:100%}.case-note-group th{color:#203047;text-align:right;background:#eaf0f7}.case-note-group :is(th,td){vertical-align:top;border-bottom:1px solid #dce4ed;padding:13px 15px;line-height:1.9}.case-note-group td:first-child{color:#60758c;width:56px}.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{white-space:nowrap;font-variant-numeric:tabular-nums;padding:2px 0;font-size:14px;display:block;color:#087c78!important}.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;color:#203047;overflow-wrap:anywhere;background:#f2f6fa;border-radius:10px;padding:16px;line-height:2}.contract-page-preview{box-sizing:border-box;background:#e7edf4;border:0!important;width:100%!important;max-width:850px!important;padding:18px!important}.contract-a4-page{break-after:page;background:#fff;margin:0 0 18px;overflow:hidden;box-shadow:0 3px 14px #17263c17}.contract-a4-page:last-child{break-after:auto;margin-bottom:0}.contract-a4-page img{display:block;width:100%!important;max-width:none!important;height:auto!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){page:contract-a4;border:0!important;width:210mm!important;padding:0!important;position:static!important}.contract-page-preview{page:contract-a4;background:#fff!important;width:210mm!important;max-width:none!important;margin:0!important;padding:0!important}.contract-a4-page{break-after:page;break-inside:avoid;width:210mm;height:297mm;box-shadow:none!important;margin:0!important}.contract-a4-page img{object-fit:contain;width:210mm!important;height:297mm!important}.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){color:#843c26;background:#fff0e8}html[data-product=ERP] .crm-dialog .service-hint{background:#fff3e3;border-color:#e0c49d;color:#75401c!important}@media (max-width:700px){.case-note-group table,.case-note-group tbody{width:100%;min-width:0;display:block}.case-note-group thead{display:none}.case-note-group tr{border-bottom:1px solid #dce4ed;grid-template-columns:32px minmax(0,1fr);display:grid}.case-note-group td{display:block;border:0!important;width:auto!important;min-width:0!important}.case-note-group td:has(.case-phone){grid-column:2;padding-top:0}.case-phone{margin-inline-end:12px;display:inline-block}.case-identity-fields>div{grid-template-columns:100px minmax(0,1fr)}}html[data-product=ERP] .service-visit-card .carry-label{font-weight:600;line-height:1.9;color:#71401a!important;border:1px solid #d6a65f!important;background:#fff2de!important;border-inline-start:4px solid #ba711d!important;padding:10px 12px!important}html[data-product=ERP] .monitor-attention{color:#71401a;border:1px solid #d6a65f;background:#fff2de;border-inline-start:5px solid #ba711d;line-height:1.9;box-shadow:0 3px 12px #70401808}html[data-product=ERP] .monitor-attention :is(span,strong,p,svg){color:#71401a}html[data-product=ERP] .monitor-attention .btn{color:#71401a;background:#fff;border-color:#c69349}html[data-product=ERP] .service-hint{border-color:#d6a65f;color:#71401a!important;background:#fff2de!important}html[data-product=ERP] .service-tabs{background:linear-gradient(115deg,#e6f2f0,#edf0f8);border:1px solid #c4d8dc;border-radius:16px;flex-wrap:wrap;gap:9px;margin:0 0 22px;padding:12px;display:flex;box-shadow:0 4px 15px #263d5008}html[data-product=ERP] .service-tabs button{color:#364a63;background:#fff;border:1px solid #bacbd8;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-weight:600;line-height:1.6;transition:background .15s,border-color .15s;display:flex;box-shadow:0 2px 4px #23334905}html[data-product=ERP] .service-tabs button svg{color:#537b88;flex-shrink:0}html[data-product=ERP] .service-tabs button.active{color:#fff;background:#175b60;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{color:#214951;background:#eaf6f3;border-color:#7eaba8}html[data-product=ERP] .service-tabs button.active:hover{color:#fff;background:#194d53}html[data-product=ERP] :is(.service-tabs button,.chat-channels button,.reminder-card .btn):focus-visible{outline-offset:3px;outline:3px solid #248e88}html[data-product=ERP] .chat-layout{border:1px solid #cedce4;border-radius:18px;padding:0;overflow:hidden;box-shadow:0 7px 22px #27495e0d}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;letter-spacing:0;font-size:12px}html[data-product=ERP] .chat-channels button{color:#344e60;border:1px solid #0000;border-radius:12px;margin:4px 0;padding:13px 12px;line-height:1.6}html[data-product=ERP] .chat-channels button.active{color:#fff;background:#175b60;border-color:#175b60;box-shadow:0 3px 9px #175b6020}html[data-product=ERP] .chat-channels button:hover{color:#254e58;background:#dcebea}html[data-product=ERP] .chat-channels button.active:hover{color:#fff;background:#194d53}html[data-product=ERP] .chat-channels .avatar{color:#21595a;background:#d4e7e6;border:1px solid #b1d1ce}html[data-product=ERP] .chat-channels button.active .avatar{color:#175b60;background:#d7efeb}html[data-product=ERP] .chat-main>header{color:#203c4d;background:#fff;border-bottom:1px solid #cfdee4;gap:13px;padding:18px 22px}html[data-product=ERP] .chat-header-icon{color:#1f6b63;background:#e0f0eb;border-radius:13px;flex-shrink:0;place-items:center;width:43px;height:43px;display:grid}html[data-product=ERP] .chat-header-title{gap:4px;display:grid}.chat-header-title>span{color:#566f7d;font-size:12px}html[data-product=ERP] .chat-main>header small{color:#526b7c;margin-inline-start:auto;font-size:11px}html[data-product=ERP] .message-stream{background-color:#f2f7f7;background-image:radial-gradient(#b5d1d038 .8px,#0000 .8px);background-size:17px 17px;gap:18px;padding:24px}html[data-product=ERP] .message-stream>article{color:#243b4b;background:#fff;border:1px solid #d4e0e6;border-radius:16px 4px 16px 16px;min-width:200px;max-width:78%;padding:15px 18px;box-shadow:0 3px 9px #24485709}html[data-product=ERP] .message-stream>article.mine{color:#203d36;background:#ddf2e9;border-color:#b5d8c9;border-radius:4px 16px 16px}html[data-product=ERP] .chat-message-author{color:#346d7c;align-items:center;gap:8px;font-size:12px;display:flex}html[data-product=ERP] .mine .chat-message-author{color:#286951}html[data-product=ERP] .chat-message-avatar{color:#33596b;background:#e4eff5;border-radius:9px;place-items:center;width:27px;height:27px;font-size:12px;display:grid}html[data-product=ERP] .mine .chat-message-avatar{color:#286951;background:#c7e7d8}html[data-product=ERP] .message-stream>article p{overflow-wrap:anywhere;margin:12px 0;line-height:1.95}html[data-product=ERP] .message-stream>article time{color:#526b7c;text-align:end;font-size:10px;display:block}html[data-product=ERP] .chat-compose{background:#fff;border-top:1px solid #cfdee4;align-items:center;gap:10px;padding:16px}html[data-product=ERP] .chat-compose textarea{color:#203c4d;background:#f5f9fa;border:1px solid #b9cdd5;border-radius:13px;min-height:54px;padding:12px 14px}html[data-product=ERP] .chat-file-button{color:#3b586a;overflow-wrap:anywhere;max-width:140px}html[data-product=ERP] .chat-compose .btn-primary{color:#fff;background:#175b60;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{color:#365966;background:#edf7f4;border:1px solid #c7dce0;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:12px 16px;font-size:13px;display:flex}html[data-product=ERP] .reminder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}html[data-product=ERP] .reminder-card{background:#fff;border:1px solid #cbd9e3;border-radius:15px;flex-direction:column;min-width:0;padding:20px;display:flex;box-shadow:0 4px 12px #23334906}html[data-product=ERP] .reminder-card.selected{background:#fbfffd;border-color:#4c9e91;box-shadow:0 0 0 1px #4c9e91}html[data-product=ERP] .reminder-card-heading{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:12px;display:flex}html[data-product=ERP] .reminder-kind{color:#31536f;white-space:nowrap;background:#e7f0f8;border:1px solid #c6d9e8;border-radius:8px;padding:5px 9px;font-size:11px}html[data-product=ERP] .reminder-kind.debt{color:#71401a;background:#fff1dc;border-color:#e0bc83}html[data-product=ERP] .reminder-body{color:#2d4457;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f7fa;border-radius:10px;flex:1;margin:18px 0;padding:14px 16px;line-height:2}html[data-product=ERP] .reminder-card-footer{border-top:1px solid #dce6ed;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:13px;display:flex}html[data-product=ERP] .reminder-card-footer>span{color:#526b7c;font-size:11px}html[data-product=ERP] .reminder-card .btn{color:#235950;background:#eaf4f2;border-color:#adcfc8;font-size:12px}html[data-product=ERP] .reminder-editor{color:#30495f;gap:10px;margin:18px 0;display:grid}.reminder-editor small{color:#526b7c;font-size:11px}html[data-product=ERP] .reminder-editor textarea{color:#203047;box-sizing:border-box;resize:vertical;background:#fff;border:1px solid #7dabaa;border-radius:10px;width:100%;line-height:1.9}html[data-product=ERP] .reminder-repeat{color:#425c71;background:#f4f7fa;border:1px solid #d5e1e9;border-radius:12px;margin:22px 0;padding:14px;line-height:1.9}html[data-product=ERP] .reminder-submit{border-top:1px solid #d5e1e9;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-top:18px;display:flex}html[data-product=ERP] .reminder-submit p{color:#526b7c;margin:0;font-size:12px}html[data-product=ERP] :is(.reminder-submit,.sms-draft-editor) .btn-primary{color:#fff;background:#175b60;border-color:#175b60}html[data-product=ERP] .erp-sms-workspace .safir-statement{background:#fff;border:1px solid #ccdbe5;border-radius:13px;flex-wrap:wrap;gap:14px;margin:12px 0;padding:18px;box-shadow:0 3px 10px #24485705}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{color:#2d4457;overflow-wrap:anywhere;background:#f3f7fa;border-radius:10px;padding:12px 14px;line-height:1.95}html[data-product=ERP] .erp-sms-workspace .safir-statement small{color:#526b7c}html[data-product=ERP] .sms-recipient-summary{color:#264d47;background:#eaf4f2;border:1px solid #bad6ce;border-radius:12px;gap:8px;padding:17px;display:grid}html[data-product=ERP] .sms-recipient-summary span{color:#425f59;font-size:12px}@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{border-inline-end:0;border-bottom:1px solid #cfdee4;padding:10px}html[data-product=ERP] .chat-channels button{padding:9px 12px}html[data-product=ERP] .chat-main>header{flex-wrap:wrap;padding:13px}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{min-width:0;max-width:91%;padding:13px 14px}html[data-product=ERP] .chat-compose{flex-wrap:wrap;padding:12px}html[data-product=ERP] .chat-compose textarea{flex-basis:100%;width:100%}html[data-product=ERP] .chat-compose>.btn{min-height:40px;font-size:12px}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{flex-basis:100%;width:100%;min-width:0}}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){min-width:0;max-width:100%}html[data-product=ERP] .monitor-attention span{overflow-wrap:anywhere;min-width:0}html[data-product=ERP] .service-shortcuts .table-actions{flex-wrap:wrap;flex-basis:100%;gap:8px;width:100%;min-width:0;display:flex}html[data-product=ERP] .service-shortcuts .table-actions .btn{white-space:normal;flex:125px;min-width:0;max-width:100%}}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{flex:none;gap:7px;width:auto;padding:10px 14px}}.erp-case-group{background:#fff;border:1px solid #d8e1eb;border-radius:12px;margin:12px 0;overflow:hidden}.erp-case-group>summary{cursor:pointer;background:#f6f9fc;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;list-style-position:inside;display:flex}.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{z-index:15;color:#503411;background:#fff7e8;border:2px solid #e2b960;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;padding:14px 18px;display:flex;position:sticky;top: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{border:1px solid #d8e1eb;border-radius:10px;grid-template-columns:minmax(220px,3fr) minmax(90px,1fr) minmax(80px,1fr) minmax(130px,1.5fr) auto;align-items:end;gap:12px;padding:14px;display:grid}.erp-date-control{min-width:0}.erp-date-control .jalali-input{position:relative}.jalali-calendar{z-index:80}.erp-alarm-control{flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0;font-size:.9rem;display:flex}.signature-box canvas{touch-action:none;background:#fff;border:1px solid #b8c6d6;border-radius:10px;width:100%;height:300px}.saved-signature{width:450px;max-width:100%;height:auto}.bank-account{border:1px solid #d8e1eb;border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;display:flex}.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{flex-direction:column;align-items:flex-start}.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{overflow-wrap:anywhere;min-width:0}.erp-shell .service-contract-card .table-actions{white-space:normal;flex-wrap:wrap;gap:8px;max-width:100%;display:flex}.erp-shell .service-contract-card .table-actions .btn{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;min-height:44px}.erp-collapse-control{color:#fff;background:0 0;border:1px solid #ffffff40;border-radius:8px;align-items:center;gap:10px;min-height:44px;margin:8px;padding:10px;display:flex}.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{outline-offset:2px;outline:2px solid #fa810a}.erp-nav-toggle:focus-visible{outline-offset:2px;outline:2px solid #fa810a}.erp-notification-settings{z-index:150;background:#fff;border:1px solid #ccd4e0;border-radius:10px;padding:12px;position:fixed;top:80px;left:24px}.erp-service-options{margin-block:12px}.erp-service-options>summary{cursor:pointer;border:1px solid #d8dce8;border-radius:10px;padding:12px}.erp-customer-tabs{flex-wrap:wrap;gap:8px;display:flex}.erp-customer-tabs button{min-height:44px}.erp-shell .erp-main{min-width:0}.erp-shell .personal-settings .erp-alarm-control{flex-wrap:wrap;margin-block:20px}@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{object-fit:contain;max-width:58px}.sidebar-collapsed .erp-nav-row a{justify-content:center;position:relative}.sidebar-collapsed .erp-nav-row a:hover:after{content:attr(aria-label);white-space:nowrap;color:#fff;z-index:200;background:#29235c;border:1px solid #fff8;border-radius:6px;padding:8px;position:absolute;right:62px}.sidebar-collapsed .erp-nav-row a:focus-visible:after{content:attr(aria-label);white-space:nowrap;color:#fff;z-index:200;background:#29235c;border:1px solid #fff8;border-radius:6px;padding:8px;position:absolute;right:62px}.sidebar-collapsed .erp-profile{flex-wrap:wrap}.sidebar-collapsed .erp-nav-badge{min-width:17px;height:17px;font-size:10px;position:absolute;top:0;left:0}}@media (max-width:850px){.erp-collapse-control{display:none}.erp-shell .erp-sidebar{max-height:100dvh;overflow-y:auto}.erp-notification-settings{max-width:calc(100vw - 16px);left:8px}.erp-shell .modal-box{width:calc(100vw - 16px);max-height:94dvh;overflow:auto}}.erp-login-page{color:#29235c;background:#f5f7fb;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(24px,6vw,100px);min-height:100dvh;padding:clamp(16px,4vw,64px);display:grid}.erp-login-intro{max-width:570px;padding:30px;position:relative;overflow:hidden}.erp-login-intro>img{object-fit:contain;width:150px;height:auto;margin-bottom:24px}.erp-login-intro>span{color:#007d78;display:block}.erp-login-intro h1{margin:18px 0;font-size:clamp(2.3rem,4vw,4.5rem);line-height:1.6}.erp-login-intro p{max-width:340px;line-height:2.2}.erp-login-intro small{margin-top:30px;display:block}.erp-login-card{background:#fff;border:1px solid #e1e5ef;border-radius:24px;width:100%;max-width:480px;margin:auto;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{white-space:normal;min-height:46px}.erp-login-card .btn-primary{color:#fff;background:#007f79}.erp-login-identities{align-items:center;gap:28px;margin-bottom:30px;display:flex}.erp-login-identities img{object-fit:contain;width:110px;height:60px}.erp-login-card .password-field{align-items:center;display:flex}.erp-login-card .password-field input{flex:1;width:100%}.erp-login-card .password-field button{flex:none}.erp-lift-motion{opacity:.65;border:4px solid #29235c22;border-radius:12px;width:90px;height:180px;display:flex;position:absolute;bottom:60px;left:0;overflow:hidden}.erp-lift-motion i{background:linear-gradient(90deg,#e8ebf3,#c7d1e0);border:1px solid #fff;width:50%;animation:9s ease-in-out infinite erp-door}.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{margin:auto;padding:10px}.erp-login-intro h1{margin:0;font-size:1.8rem}.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{gap:8px;margin-block:12px;display:grid}.logistics-map{touch-action:none}.logistics-map-pin{cursor:grab;-webkit-user-select:none;user-select:none}.erp-location-view{min-width:0}.erp-month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.erp-month-grid>strong{text-align:center;padding:8px}.erp-month-grid button{color:#29235c;background:#fff;border:1px solid #d8ddeb;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-height:64px;display:flex}.erp-month-grid button.active{background:#eef9f8;border:2px solid #00827d}.erp-month-grid small{font-size:.7rem}.erp-daily-notebook{background:#fffdf4;border:1px solid #e8dfbd;border-radius:12px;padding:18px}.erp-daily-notebook textarea{background:repeating-linear-gradient(#fffdf4,#fffdf4 30px,#d9d5c5 31px);line-height:31px}.erp-date-time{border:1px solid #d8ddeb;border-radius:10px;grid-template-columns:1fr 1fr;gap:12px;min-width:0;padding:12px;display:grid}.erp-date-time label{min-width:0}.erp-quick-planner{z-index:29;background:#fff;border:1px solid #d8ddeb;border-radius:16px;width:min(360px,100vw - 24px);max-height:min(65dvh,540px);padding:18px;position:fixed;bottom:74px;left:18px;overflow:auto;box-shadow:0 8px 30px #29235c22}.erp-quick-planner input{width:100%;min-height:44px}.erp-quick-planner form{gap:8px;display:grid}.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{flex-direction:column;align-items:stretch;display:flex}}.erp-wizard-steps{flex-wrap:wrap;gap:8px;margin-block:18px;display:flex}.erp-waybill-header{border-bottom:3px solid #00a19a;justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px;padding-bottom:18px;display:flex}.erp-waybill-header img{object-fit:contain;width:150px;max-height:90px}.erp-waybill-header h3{margin:0}.erp-waybill-header p{margin:4px 0}.erp-sms-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fa;border-radius:10px;padding:14px}.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{color:#fff;background:#007e78}.erp-nav-tooltip{z-index:200;color:#fff;white-space:nowrap;pointer-events:none;background:#29235c;border:1px solid #ffffff80;border-radius:8px;padding:8px 12px;position:fixed;right:92px}.sidebar-collapsed .erp-nav-row a:after{display:none!important}.erp-shell .erp-personal-planner .table-actions{white-space:normal;flex-wrap:wrap;gap:8px;max-width:100%}.erp-shell .erp-personal-planner .table-actions .btn{white-space:normal;max-width:100%;min-height:44px}.erp-personal-planner .upgrade-row>div{overflow-wrap:anywhere;min-width:0}.erp-login-intro{grid-area:1/2}.erp-login-card{grid-area:1/1}.auth-story .erp-login-calendar{margin-top:0}.auth-story .erp-login-calendar h2{margin:8px 0;font-size:1.4rem;line-height:1.9}.erp-staff-calendar-story .auth-elevator-art{display:none}.erp-login-calendar{background:#fff;border:1px solid #d9e3ec;border-radius:18px;margin-block:24px;padding:24px;line-height:1.9;position:relative}.erp-login-calendar h2{color:#29235c;margin:8px 0;font-size:1.45rem}.erp-login-calendar h3{margin-top:20px;font-size:1rem}.erp-login-calendar ul{padding-right:20px}.erp-login-intro .erp-login-calendar p,.erp-login-intro .erp-login-calendar small{max-width:none;margin-top:8px;display:block}.erp-login-intro .erp-lift-motion{display:none}.erp-finance-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.erp-finance-metrics strong{font-size:1.2rem;display:block}.erp-sms-result{border-radius:8px;padding:8px 12px;font-weight:600;display:inline-block}.erp-sms-result.success{color:#166534;background:#dcfce7}.erp-sms-result.failure{color:#991b1b;background:#fee2e2}.erp-sms-result.pending{color:#854d0e;background:#fef3c7}.erp-due-warning{background:#fff7ed;border:1px solid #ea580c;border-radius:12px;padding:16px}.erp-quote-group{border:1px solid #dbe2ec;border-radius:12px;margin-block:16px;padding: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{background:#f7fafc;border:1px solid #dbe2ec;border-radius:12px;margin-block:16px;padding:28px 18px 18px}.erp-vehicle-track{direction:ltr;height:90px;margin-inline:30px;position:relative}.erp-vehicle-track:before{content:"";background:#dbe2ec;border-radius:20px;height:8px;position:absolute;bottom:16px;left:0;right:0}.erp-vehicle-completed{background:#00847e;border-radius:20px;height:8px;position:absolute;bottom:16px;left:0}.erp-vehicle-icon{color:#29235c;width:112px;height:66px;position:absolute;bottom:18px;transform:translate(-50%)}.erp-vehicle-icon svg{width:100%;height:100%}.erp-vehicle-logos{justify-content:center;align-items:center;gap:3px;display:flex;position:absolute;top:17px;left:8px;right:32px}.erp-vehicle-logos img{object-fit:contain;background:#fff;width:28px;height:18px}.erp-vehicle-stages{justify-content:space-between;gap:8px;font-size:.875rem;display:flex}.erp-vehicle-route p{margin-bottom:0}@media (max-width:800px){.erp-login-intro,.erp-login-card{grid-area: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{background:0 0;border:none;min-height:0;padding:0;display:flex}.erp-staff-calendar-story>:not(.erp-login-calendar){display:none}}.quote-wizard{gap:22px!important}.quote-wizard-intro{color:#596b80;justify-content:space-between;align-items:center;gap:12px;display:flex}.quote-wizard-intro>span{color:#33255f;font-weight:800}.quote-step-nav{background:#f2f4fa;border-radius:18px;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:12px;display:grid}.quote-step-nav button{color:#65748a;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:9px 3px;font-size:.75rem;display:flex}.quote-step-nav b{background:#fff;border:1px solid #d0d9e7;border-radius:50%;place-items:center;width:30px;height:30px;font-size:.9rem;display:grid}.quote-step-nav button[aria-current]{color:#fff;background:#33255f;box-shadow:0 4px 12px #33255f22}.quote-step-nav button[aria-current] b{background:#00a59c;border-color:#00a59c}.quote-step-nav button.complete b{color:#00756e;background:#d8f4ec;border-color:#b8e4d8}.quote-step-heading>span{color:#007f79;font-size:.8rem}.quote-step-heading h3{color:#302654;outline:none;margin:6px 0 0;font-size:1.4rem}.quote-full-width{grid-column:1/-1}.quote-soft-note{color:#49627b;background:#f0f7fb;border-radius:12px;padding:15px 18px;line-height:1.9}.quote-group-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.quote-group-choice{cursor:pointer;border:1px solid #d6dfeb;border-radius:16px;align-items:flex-start;gap:12px;padding:22px;display:flex!important}.quote-group-choice.selected{background:#effbf8;border-color:#009e93;box-shadow:0 0 0 1px #009e93}.quote-group-choice input{accent-color:#008e83;height:19px;margin-top:8px;width:19px!important}.quote-group-choice span{gap:12px;display:grid}.quote-group-choice b{color:#00887f;font-size:1.4rem}.quote-group-choice small{color:#627387;line-height:1.9}.quote-wizard .quote-item-fields{grid-template-columns:minmax(110px,.6fr) minmax(220px,1.7fr) minmax(160px,1fr);gap:16px;display:grid}.quote-wizard .quote-item-fields input,.quote-wizard .quote-item-fields select{width:100%;min-width:0}.quote-item-fields small{color:#68788d;margin-top:8px;line-height:1.8;display:block}.quote-wizard .quote-item-card{border-radius:15px;box-shadow:0 3px 12px #263f5910}.quote-line-description{margin-top:12px}.quote-line-tools{color:#607187;margin-top:12px;font-size:.85rem}.quote-line-tools>label{margin-top:12px}.quote-text-button{color:#008177;text-align:right;font:inherit;cursor:pointer;background:0 0;border:0;padding:8px 0;font-size:.8rem}.quote-stage-total,.quote-grand-total{color:#006f64;background:#eef8f5;border:1px solid #bde3d9;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;padding:22px;display:flex}.quote-stage-total small,.quote-grand-total small{margin-top:8px;font-size:.8rem;display:block}.quote-stage-total strong,.quote-grand-total strong{white-space:nowrap;font-size:1.25rem}.quote-grand-total{color:#fff;background:#302454;border-color:#302454}.quote-labor-card,.quote-extra-costs{background:#f9fbfe;border:1px solid #d4deeb;border-radius:18px;padding:24px}.quote-labor-card h4,.quote-extra-costs h4{margin:0 0 20px;font-size:1.1rem}.quote-labor-breakdown p{border-bottom:1px solid #dce5ee;justify-content:space-between;gap:16px;margin:0;padding:12px 0;display:flex}.quote-labor-gross{color:#007c72;font-size:1.1rem}.quote-labor-card small{margin-top:16px;line-height:1.8;display:block}.quote-advanced{border:1px solid #dce4ef;border-radius:12px;padding:16px}.quote-advanced summary,.quote-line-tools summary{cursor:pointer}.quote-advanced>.form-grid{margin-top:18px}.quote-review{gap:12px;display:grid}.quote-review-row{border-bottom:1px solid #e0e6ef;grid-template-columns:minmax(130px,1fr) 2fr auto;align-items:center;gap:18px;padding:14px 18px;display:grid}.quote-review-row strong{overflow-wrap:anywhere}.quote-review-row>span{color:#5c6e83}.quote-review-row .btn{font-size:.8rem}.quote-wizard-footer{z-index:2;background:#fff;border-top:1px solid #dae2ed;justify-content:space-between;align-items:center;gap:16px;padding:18px 0 4px;display:flex;position:sticky;bottom:0}.quote-wizard-footer>span{color:#77849a;font-size:.85rem}.quote-empty-section{text-align:center;background:#f4f6fa;border-radius:14px;padding:40px}.quote-empty-section button{margin:16px auto 0;display:block}.quote-price-missing{color:#ac562c!important}.quote-stale-warning{color:#835321;background:#fff8ec;border:1px solid #efd7af;border-radius:12px;padding:18px;line-height:1.9}.quote-stale-warning input:not([type=checkbox]){background:#fff}.erp-staff-login.auth-page{background:radial-gradient(at 8% 20%,#00a89a22,#0000 42%),radial-gradient(at 95% 90%,#ff890518,#0000 45%),#edf0f7}.erp-staff-login .auth-shell{background:#fff;border:1px solid #fff;border-radius:28px;overflow:hidden;box-shadow:0 24px 90px #241b5422}.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{color:#fff;background:radial-gradient(at 0 100%,#008f8d88,#0000 65%),linear-gradient(145deg,#201944,#372565);border:0;border-radius:22px;position:relative;overflow:hidden}.erp-staff-login .auth-story.erp-staff-calendar-story:after{content:"";pointer-events:none;border:1px solid #ffffff20;border-radius:50%;width:240px;height:240px;position:absolute;top:-90px;left:-100px;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{color:#e7e5f6;background:#ffffff16;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{color:#eef0fa;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff12;border:1px solid #ffffff30;box-shadow:0 8px 30px #130e2e20}.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-area:2/1/auto/-1}.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{flex-direction:column;align-items:flex-start}.erp-staff-login .auth-story.erp-staff-calendar-story{border-radius:18px;min-height:0;padding:20px}.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{padding-inline:12px;font-size:.8rem}}.panel-customer-home{max-width:1240px;margin:auto}.panel-customer-hero{color:#fff;background:radial-gradient(circle at 0 100%,#008e8b88,#0000 70%),linear-gradient(125deg,#221b46,#3a2867);border-radius:22px;margin-bottom:24px;padding:36px}.panel-customer-hero h2{margin:10px 0;font-size:1.8rem}.panel-customer-hero p{color:#e2dfef;max-width:760px;line-height:2}.customer-quotes{margin-block:24px}.customer-quotes .section-heading p{color:#64718a;line-height:1.9}.panel-quote-row{border-bottom:1px solid #e0e5ef;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;display:flex}.panel-quote-row>div:first-child{gap:8px;display:grid}.panel-quote-row small{color:#758297}.panel-quote-status{color:#835c22;font-size:.85rem}.panel-quote-status.approved{color:#007b69}.panel-catalog-line{border-bottom:1px solid #dfe6ef;grid-template-columns:2fr 1fr 1fr auto;align-items:center;gap:16px;padding:20px 0;display:grid}.panel-catalog-line strong{margin-top:8px;display:block}.panel-entry-note{color:#276a65;background:#eef7f6;border-radius:12px;padding:14px;line-height:1.9}.panel-login-switch{text-align:center;padding:16px}.auth-form select,.auth-form textarea{font:inherit;color:#25324a;background:#fff;border:1px solid #d9e1e9;border-radius:10px;width:100%;padding:12px}.auth-page.erp-staff-login .auth-story:not(.erp-staff-calendar-story){background:radial-gradient(circle at 0 100%,#008b8999,#0000 65%),linear-gradient(140deg,#221b46,#3a2867)}@media (max-width:700px){.panel-quote-row{flex-direction:column;align-items:flex-start}.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{color:#754900;background:#fff1d6;border-radius:.6rem;width:fit-content;padding:.3rem .65rem}.panel-quote-status.approved{background:#e2f5ed;border-radius:.6rem;width:fit-content;padding:.3rem .65rem}.panel-quote-status.cancelled{color:#8b2727;background:#fbe9e9;border-radius:.6rem;width:fit-content;padding:.3rem .65rem}html[data-product=ERP] .crm-dialog .dialog-title>.icon-btn,.erp-workspace-tabs>div>button[aria-label^=بستن]{color:#30245d;cursor:pointer;background:#fff;border:1px solid #aabbcf;border-radius:9px;flex:0 0 42px;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;font-size:28px;line-height:1;display:grid}html[data-product=ERP] .crm-dialog .dialog-title>.icon-btn:hover,.erp-workspace-tabs>div>button[aria-label^=بستن]:hover{color:#9e2239;background:#fcebed}html[data-product=ERP] :is(button,a,input,select,textarea):focus-visible{outline-offset:3px;outline:3px solid #0a9899}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{flex-wrap:wrap;gap:10px;display:flex}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{background:linear-gradient(135deg,#29235c,#08777b);place-items:center;min-height:100vh;padding:28px;display:grid}.customer-login>.panel{width:min(500px,100%);padding:36px}.customer-login h1{font-size:25px}.customer-entry{margin:14px 0;display:block;color:#075e65!important;background:#edf8f7!important}.customer-portal{max-width:1380px;margin:auto;padding:28px}.customer-layout{grid-template-columns:250px 1fr;gap:22px;margin-top:24px;display:grid}.customer-layout nav{align-self:start}.customer-document-page{border:1px solid #d3deea;width:100%;height:auto;margin:12px auto;display:block}.customer-target{color:#8c1729;font:inherit;cursor:pointer;text-align:right;background:#fff4f4;border:2px solid #be263c;border-radius:12px;width:100%;margin:18px 0;padding:18px;display:block}.tivan-identity{flex-direction:column;align-items:center;max-width:180px;display:flex}.tivan-identity img{object-fit:contain;object-position:top;width:100%;height:62px}.tivan-identity span{color:#075e65;word-spacing:.28em;text-align:justify;text-align-last:justify;width:100%;font-weight:700}.erp-login-page{background:#edf2f7}.erp-login-card{border:1px solid #d6e1ed;box-shadow:0 22px 70px #25334a17}.erp-login-intro{color:#fff;background:linear-gradient(145deg,#30235f,#0a737a)}.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){width:100%;min-height:44px}.erp-record-highlight{outline:3px solid #c82e45;scroll-margin-top:100px;background:#fff5f5!important}@media (max-width:760px){.customer-layout{grid-template-columns:1fr}.customer-layout nav{flex-wrap:wrap;display:flex}.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{flex:0 0 180px;width:180px}.tivan-wordmark{width:180px;height:56px;overflow:hidden}.tivan-wordmark img{object-fit:fill!important;width:180px!important;height:auto!important;max-height:none!important;display:block!important}.tivan-identity svg{width:180px;height:32px}.erp-login-intro .erp-lift-motion{background:linear-gradient(135deg,#ffffff15,#ffffff05);border:1px solid #fff5;border-radius:20px;min-height:240px}.auth-page{color:#172b4a;background:#f2f4f7;place-items:center;min-height:100dvh;padding:32px 24px;font-family:Vazirmatn,Tahoma,sans-serif;display:grid}.auth-shell{background:#fff;border:1px solid #e1e6ec;border-radius:28px;width:min(1100px,100%);overflow:hidden;box-shadow:0 24px 80px #1429470b}.auth-header{border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;gap:24px;padding:24px 40px;display:flex}.auth-brands{direction:ltr;align-items:center;gap:25px;display:flex}.auth-brand{flex:none;place-items:center;gap:3px;width:150px;display:grid}.auth-brand>span{color:#637289;letter-spacing:.01em;font-size:11px}.auth-logo-frame{justify-content:center;align-items:center;width:150px;height:48px;display:flex;overflow:hidden}.auth-logo-frame img{object-fit:contain;width:150px;max-width:none;height:48px;display:block}.auth-tivan-logo{align-items:flex-start}.auth-tivan-logo img{object-fit:initial;width:150px;height:auto;transform:translateY(-2px)}.auth-brand-divider{background:#e1e6ed;width:1px;height:35px}.auth-header-caption{color:#6d7c90;font-size:12px}.auth-columns{grid-template-columns:1fr 1fr;align-items:start;gap:44px;padding:36px 40px 32px;display:grid}.auth-form-panel{min-width:0;padding:0 2px}.auth-audience{background:#f0f4f6;border:1px solid #e5ebef;border-radius:12px;grid-template-columns:1fr 1.35fr;gap:4px;margin-bottom:26px;padding:4px;font-size:13px;display:grid}.auth-audience a,.auth-audience span{color:#63738a;white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;padding:11px 6px;text-decoration:none;display:flex}.auth-audience [aria-current]{color:#087b78;background:#fff;font-weight:700;box-shadow:0 2px 6px #18324c0b}.auth-audience a:hover{color:#173651;background:#e4ecee}.auth-form-heading .auth-eyebrow{color:#0c827e;font-size:12px}.auth-form-heading h1{letter-spacing:-.5px;margin:7px 0 6px;font-size:24px;line-height:1.65}.auth-form-heading p{color:#748194;margin:0 0 20px;font-size:12px;line-height:2}.auth-form{gap:15px;margin:0;padding:0;display:grid}.auth-form label{color:#263c57;gap:7px;font-size:13px;font-weight:500;display:grid}.auth-form input{box-sizing:border-box;color:#172b4a;width:100%;min-width:0;height:47px;min-height:47px;box-shadow:none;background:#fff;border:1px solid #d9e1e9;border-radius:10px;outline:none;padding:10px 13px;font-family:inherit;font-size:15px}.auth-form input:focus{border-color:#138b85;box-shadow:0 0 0 3px #12877f13}.auth-form input:disabled{background:#f5f7fa}.auth-form input::placeholder{color:#98a3b1;font-size:12px}.auth-form input:-webkit-autofill{-webkit-text-fill-color:#172b4a;-webkit-box-shadow:inset 0 0 0 1000px #f5faf9}.auth-form .password-field{display:block;position:relative}.auth-form .password-field input{padding-left:45px}.auth-form .password-field .icon-btn{color:#718197;width:39px;height:39px;min-height:0;box-shadow:none;background:0 0;border:0;place-items:center;display:grid;position:absolute;top:4px;left:4px}.auth-form>.btn{border-radius:10px;justify-content:center;gap:8px;width:100%;min-height:46px;font-size:13px}.auth-form>.btn-primary{color:#fff;background:#087c77;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){color:#53667d;background:#fff;border-color:#dce4eb}.auth-form .form-error,.auth-form .notice{border-radius:9px;margin:0;font-size:12px;line-height:1.9}.auth-form>small,.auth-form>p{color:#718096;margin:0;font-size:12px}.auth-form-panel>.tabs{border-bottom:1px solid #e4e9ee;gap:14px;margin-bottom:20px;padding:0;display:flex}.auth-form-panel>.tabs button{color:#758195;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:1;padding:10px 2px;font-size:12px}.auth-form-panel>.tabs button.active{color:#087c77;border-bottom-color:#087c77;font-weight:700}.auth-captcha{gap:8px;display:grid}.auth-captcha-heading{justify-content:space-between;align-items:center;display:flex}.auth-captcha-heading span{color:#8995a5;font-size:11px}.auth-captcha-image{background:#f7f9fc;border:1px solid #e1e7ee;border-radius:10px;justify-content:space-between;align-items:center;min-height:76px;padding:0 12px;display:flex}.auth-captcha-image img{object-fit:contain;width:230px;max-width:calc(100% - 42px);height:76px;display:block}.auth-captcha-image button{color:#597188;background:#fff;border:1px solid #e0e6ed;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;display:grid}.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{color:#a64935;margin:0;font-size:11px}.auth-help{color:#8a95a3;text-align:center;justify-content:center;align-items:flex-start;gap:7px;margin:22px 0 0;font-size:10px;line-height:1.9;display:flex}.auth-help svg{color:#839b98;flex:none;margin-top:2px}.auth-target{color:#217461;background:#edf8f5;border:1px solid #cce4dd;border-radius:10px;padding:12px 14px;font-size:12px;line-height:1.9}.auth-story{background:#eef5f4;border:1px solid #e6efed;border-radius:20px;flex-direction:column;align-self:stretch;min-height:510px;padding:29px 28px;display:flex;position:relative;overflow:hidden}.auth-story-top{color:#25837a;justify-content:space-between;align-items:center;display:flex}.auth-story-tag{border:1px solid #bfd9d3;border-radius:20px;padding:5px 9px;font-size:11px}.auth-story h2{letter-spacing:-.8px;color:#1c3e46;margin:28px 0 10px;font-size:32px;line-height:1.85}.auth-story>p{color:#6d8688;max-width:290px;margin:0;font-size:12px;line-height:2.1}.auth-elevator-art{background:linear-gradient(90deg,#0000 0 20%,#dcebe8 20% 20.3%,#0000 20.3% 80%,#dcebe8 80% 80.3%,#0000 80.3%);height:190px;margin:23px 0 20px;position:relative;overflow:hidden}.auth-art-shaft{background:#e6f0ed;border:1px solid #9bbeb8;border-bottom:0;border-radius:58px 58px 0 0;width:116px;height:210px;position:absolute;left:calc(50% - 58px)}.auth-art-shaft>i{background:#b3cec7;height:1px;position:absolute;top:77px;left:14px;right:14px}.auth-art-shaft>i:nth-child(2){top:125px}.auth-art-shaft>i:nth-child(3){top:174px}.auth-art-shaft b{background:#f7fcfa;border:1px solid #178278;border-radius:8px;gap:2px;height:96px;padding:5px;display:flex;position:absolute;top:71px;left:22px;right:22px;box-shadow:0 13px 26px #156b5918}.auth-art-shaft b span{background:linear-gradient(160deg,#379d8e,#0c756d);border-radius:2px;width:50%}.auth-art-lines{position:absolute;inset:0}.auth-art-lines i{background:#cbdeda;height:1px;position:absolute;top:50px;left:0;right:0}.auth-art-lines i:nth-child(2){top:100px}.auth-art-lines i:nth-child(3){top:150px}.auth-art-floor{color:#a8714d;background:#f6eae0;border:1px solid #ecd4c2;border-radius:9px;padding:7px 10px;font-size:13px;position:absolute;top:116px;left:16%}.auth-features{border-top:1px solid #d7e6e1;gap:13px;margin:auto 0 0;padding:20px 0 0;list-style:none;display:grid}.auth-features li{color:#44666a;align-items:center;gap:10px;font-size:12px;display:flex}.auth-features svg{color:#17877b}.auth-footer{color:#97a1ad;border-top:1px solid #edf0f3;justify-content:space-between;padding:15px 40px;font-size:10px;display:flex}:is(.auth-page a:focus-visible,.auth-page button:focus-visible){outline-offset:3px;outline:3px solid #68b9ad}@media (min-width:1000px) and (max-height:850px){.auth-page{padding:16px 24px}.auth-header{padding-block:16px}.auth-columns{gap:40px;padding-block:24px}.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{align-items:start;padding:18px 14px}.auth-shell{border-radius:22px;max-width:520px}.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{grid-template-columns:1fr 120px;align-items:stretch;gap:10px;display:grid}.auth-captcha-controls>input{letter-spacing:4px;height:78px;padding-inline:8px;font-size:19px}.auth-captcha-controls>input::placeholder{letter-spacing:0;font-size:10px}.auth-secondary-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.auth-secondary-actions>.btn{color:#6c7e91;background:0 0;border:0;gap:6px;min-height:32px;padding:5px 0;font-size:11px}.auth-secondary-actions>small{color:#8c98a6;font-size:10px}@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{margin:0 0 5px;font-size:23px;line-height:1.5}.auth-form-heading p,.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}}
