:root{--color-bg:#f5f7fb;--color-surface:#fff;--color-border:#dbe3ef;--color-text:#172033;--color-text-muted:#6b7280;--color-primary:#1d4ed8;--color-primary-hover:#1e40af;--color-danger:#dc2626;--color-danger-hover:#b91c1c;--color-success:#16a34a;--radius:11px;--radius-lg:18px;--shadow-sm:0 1px 2px #0f172a08, 0 8px 24px #0f172a0e;--shadow-md:0 16px 45px #0f172a1f;--font:"Vazirmatn", Tahoma, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font);background:var(--color-bg);color:var(--color-text);-webkit-font-smoothing:antialiased;margin:0;font-size:14px;line-height:1.65}h1,h2,h3{margin:0 0 12px;font-weight:600}h2{letter-spacing:-.6px;color:#10213d;font-size:clamp(21px,2vw,27px)}h3{font-size:16px}a{color:var(--color-primary)}button{cursor:pointer;border:1px solid var(--color-primary);background:var(--color-primary);color:#fff;border-radius:var(--radius);white-space:nowrap;overflow-wrap:normal;word-break:keep-all;flex-shrink:0;min-height:40px;padding:8px 16px;font-family:inherit;font-size:14px;font-weight:600;transition:background .15s,border-color .15s,transform .15s,box-shadow .15s}button:hover{border-color:var(--color-primary-hover);background:var(--color-primary-hover);transform:translateY(-1px)}button:active{transform:translateY(0)}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--color-primary);border-color:var(--color-primary);color:#fff;box-shadow:0 4px 12px #2457d633}button.primary:hover{background:var(--color-primary-hover)}button.danger{background:var(--color-danger);border-color:var(--color-danger);color:#fff}button.danger:hover{background:var(--color-danger-hover)}button.ghost{background:var(--color-surface);color:var(--color-primary);border-color:#b9c9e8}button.ghost:hover{border-color:var(--color-primary);background:#eef4ff}input,select,textarea{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);min-height:44px;color:var(--color-text);width:100%;padding:9px 12px;font-family:inherit;font-size:14px;line-height:1.65}select{padding-inline-end:34px}input:focus,select:focus,textarea:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 3px #2457d61f}label{color:var(--color-text-muted);flex-direction:column;gap:4px;font-size:13px;font-weight:600;display:flex}.app-shell{height:100dvh;min-height:0;display:flex;overflow:hidden}.sidebar{background:var(--color-surface);border-inline-start:1px solid var(--color-border);z-index:30;direction:ltr;flex-direction:column;flex-shrink:0;gap:4px;width:280px;height:100vh;padding:18px 13px;display:flex;position:sticky;top:0;overflow-y:auto;box-shadow:-4px 0 22px #0f172a0a}.sidebar>*{direction:rtl}.sidebar h1{border-bottom:1px solid var(--color-border);margin-bottom:8px;padding:0 8px 12px;font-size:16px}.sidebar-home{text-align:center;background:linear-gradient(135deg,#f8fbff,#eef5ff);border:1px solid #dbe7f5;margin-bottom:4px;color:var(--color-primary)!important;font-weight:700!important}.sidebar .group-label{color:var(--color-text-muted);padding:10px 8px 2px;font-size:11px}.sidebar a{border-radius:var(--radius);color:var(--color-text);white-space:nowrap;padding:8px 10px;font-size:13px;font-weight:500;text-decoration:none;display:block}.sidebar a:hover{background:var(--color-bg)}.sidebar a.active{background:var(--color-primary);color:#fff;box-shadow:0 5px 14px #2457d633}.sidebar .footer{border-top:1px solid var(--color-border);color:var(--color-text-muted);margin-top:auto;padding-top:12px;font-size:12px}.main-content{scrollbar-gutter:stable;direction:ltr;flex:1;width:100%;min-width:0;min-height:0;overflow:hidden auto}.main-content-inner{direction:rtl;width:100%;min-width:0;max-width:1680px;min-height:100%;margin-inline:auto;padding:clamp(18px,2.2vw,34px)}.card,.panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:20px;padding:clamp(14px,1.5vw,22px);overflow-x:auto}.panel>h3{border-bottom:1px solid var(--color-border);margin-bottom:16px;padding-bottom:12px}.card-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.spacer{flex:1}table{border-collapse:collapse;width:100%;min-width:max-content;font-size:13.5px}thead th{text-align:right;border-bottom:1px solid var(--color-border);color:var(--color-text-muted);white-space:nowrap;background:#f1f5fb;padding:11px 12px;font-weight:700;line-height:1.5}tbody td{border-bottom:1px solid var(--color-border);vertical-align:middle;white-space:nowrap;overflow-wrap:normal;word-break:keep-all;padding:11px 12px}.responsive-table{overscroll-behavior-inline:contain;width:100%;overflow-x:auto}.responsive-table table{min-width:680px}.components-editor .responsive-table table{min-width:860px}.components-editor select{min-width:180px}.components-editor td:nth-child(2) select{min-width:280px}.purchased-items-table{table-layout:auto;min-width:1120px}.purchased-items-table .purchased-item-title-cell{width:32%;min-width:280px}.purchased-items-table .purchased-item-title-input{width:100%;min-width:260px}.compact-table table{table-layout:fixed;min-width:0}.compact-table th,.compact-table td{white-space:normal;overflow-wrap:anywhere}tbody tr:hover{background:#f8faff}tbody tr:nth-child(2n){background:#fbfcff}tbody tr:nth-child(2n):hover{background:#f4f7ff}tbody td input,tbody td select{padding:5px 8px}tbody td>input:not([type=checkbox]):not([type=radio]),tbody td>select,tbody td>textarea{min-width:140px}tbody td>input[type=date]{min-width:165px}.readable-unit-cell{min-width:150px}.readable-unit-input{min-width:150px!important}.readable-title-cell{min-width:260px}.readable-title-input{min-width:250px!important}tbody td:nth-child(2)>input:not([type=date]),tbody td:nth-child(2)>select{min-width:220px}.request-details td,.request-details th,.request-comparison td,.request-comparison th,.formula-lines td,.formula-lines th{white-space:normal;overflow-wrap:anywhere}.row-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px;min-width:max-content;display:flex}.row-actions button{white-space:nowrap}tbody td>button:only-child{min-width:64px}.components-editor th:last-child,.components-editor td:last-child{text-align:center;min-width:96px;width:96px!important}.badge{background:var(--color-bg);color:var(--color-text-muted);border-radius:999px;padding:2px 8px;font-size:11.5px;display:inline-block}.badge.success{color:#166534;background:#dcfce7}.badge.danger{color:#991b1b;background:#fee2e2}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px 22px;display:grid}.card>h3:first-child{color:#16325c;border-bottom:1px solid #e6ebf3;margin-bottom:16px;padding-bottom:12px}.card-header{border-bottom:1px solid #e6ebf3;padding-bottom:12px}.card-header h3{color:#16325c}.toolbar input[type=search]{min-width:min(285px,75vw)}textarea{resize:vertical;min-height:100px}select{cursor:pointer}tbody tr:last-child td{border-bottom:0}.empty-state{text-align:center;color:var(--color-text-muted);padding:34px 16px!important}.actions{flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0;display:flex}.checkbox-label{min-height:40px;color:var(--color-text);cursor:pointer;flex-direction:row;align-items:center;gap:9px}.checkbox-label input,label>input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--color-primary);flex:none}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--color-primary)}@media (width<=640px){.form-grid{grid-template-columns:1fr}}.form-grid label{min-width:0}.warehouse-form-card{padding:16px 18px}.warehouse-form-card .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}.warehouse-form-card .summary-grid{gap:8px;margin-block:10px!important}.warehouse-form-card .summary-tile{min-height:0;padding:10px 12px}.warehouse-form-card .card{padding:12px 14px;margin-top:10px!important}.warehouse-form-card h3{margin:0 0 6px}.warehouse-form-card p{margin-block:6px}@media (width<=1000px){.warehouse-form-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.warehouse-form-card .form-grid{grid-template-columns:1fr}}.error-text{color:var(--color-danger);margin:8px 0;font-size:13px}.error-text,.pending-text,.success-text{border-radius:var(--radius);padding:9px 12px}.error-text{background:#fff1f2}.pending-text{background:#eff6ff}.success-text{background:#f0fdf4}.input-invalid{box-shadow:0 0 0 2px #ef444414;background:#fff7f7!important;border-color:#ef4444!important}.field-error{color:#b42318;white-space:normal;margin-top:5px;font-size:11px;font-weight:700;display:block}.missing-value{color:#b42318;background:#fff1f2;border-radius:7px;padding:4px 8px;font-size:11px;font-weight:800;display:inline-flex}.pending-text{color:var(--color-primary);margin:8px 0;font-size:13px}.success-text{color:var(--color-success);margin:8px 0;font-size:13px}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.home-dashboard{max-width:1580px;margin:0 auto}.home-hero{color:#fff;background:linear-gradient(135deg,#123a70 0%,#2563eb 58%,#38bdf8 130%);border-radius:22px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;padding:30px 34px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 45px #1e40af38}.home-hero:after{content:"";background:#ffffff17;border-radius:50%;width:260px;height:260px;position:absolute;top:-130px;left:-70px}.home-hero h2{color:#fff;margin:8px 0 7px;font-size:28px}.home-hero p{color:#ffffffd1;margin:0}.home-eyebrow{letter-spacing:.3px;color:#bfdbfe;font-size:12px;font-weight:700}.home-hero-mark{text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1;background:#ffffff1f;border:1px solid #ffffff40;border-radius:18px;min-width:100px;padding:18px;font-size:23px;font-weight:800}.home-section{margin-bottom:24px;scroll-margin-top:18px}.home-section-title{align-items:center;gap:10px;margin-bottom:13px;display:flex}.home-section-title span{background:linear-gradient(#2563eb,#38bdf8);border-radius:5px;width:5px;height:24px}.home-section-title h3{margin:0;font-size:18px}.home-section-nav{z-index:12;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffed;border:1px solid #dbe7f5;border-radius:14px;flex-wrap:wrap;gap:8px;margin:-12px 0 24px;padding:10px;display:flex;position:sticky;top:8px;box-shadow:0 7px 22px #0f172a12}.home-section-nav a{color:#334155;background:#f4f7fb;border-radius:9px;padding:7px 12px;font-size:12.5px;font-weight:700;text-decoration:none;transition:all .16s}.home-section-nav a:hover{color:#fff;background:#2563eb}.home-card-grid{grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:12px;display:grid}.home-module-card{min-height:132px;color:inherit;background:linear-gradient(145deg,#fff,#f8fbff);border:1px solid #dce7f5;border-radius:16px;flex-direction:column;padding:17px 18px;text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s;display:flex;position:relative;overflow:hidden;box-shadow:0 5px 16px #0f172a0e}.home-module-card:hover{border-color:#93c5fd;transform:translateY(-4px);box-shadow:0 14px 30px #2563eb21}.home-module-card h3{color:#102a51;margin:2px 0 8px;font-size:16px}.home-module-card p{color:#64748b;margin:0 0 17px;font-size:13px;line-height:1.8}.home-card-accent{opacity:.85;background:linear-gradient(#2563eb,#60a5fa);width:5px;height:100%;position:absolute;top:0;right:0}.home-card-link{color:#2563eb;margin-top:auto;font-size:12px;font-weight:700}.home-card-number{color:#93a4bc;direction:ltr;font-size:11px;font-weight:800;position:absolute;top:12px;left:14px}@media (width<=700px){.home-hero{padding:23px 20px}.home-hero-mark{display:none}.home-card-grid{grid-template-columns:1fr}}.summary-tile{border-radius:var(--radius);background:linear-gradient(145deg,#f8faff,#eef3fb);border:1px solid #e4eaf4;padding:12px 14px}.sale-catalog-page{max-width:1380px;margin:0 auto}.sale-catalog-hero{color:#fff;background:linear-gradient(125deg,#0f2f61,#1d4ed8 62%,#0ea5e9);border-radius:22px;justify-content:space-between;align-items:center;gap:22px;margin-bottom:16px;padding:27px 30px;display:flex;position:relative;overflow:hidden;box-shadow:0 16px 40px #1d4ed833}.sale-catalog-hero:after{content:"";border:1px solid #ffffff2e;border-radius:50%;width:220px;height:220px;position:absolute;top:-85px;left:-55px;box-shadow:0 0 0 35px #ffffff09}.sale-catalog-hero h2{color:#fff;margin:3px 0 5px;font-size:29px;position:relative}.sale-catalog-hero p{color:#dbeafe;margin:0;position:relative}.sale-catalog-hero button{z-index:1;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff1f;border-color:#fff6;position:relative}.page-eyebrow{color:#bfdbfe;font-size:12px;font-weight:800}.sale-catalog-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.sale-catalog-stats>div{box-shadow:var(--shadow-sm);background:#fff;border:1px solid #dce6f4;border-radius:15px;flex-direction:column;gap:3px;padding:15px 18px;display:flex}.sale-catalog-stats span{color:#718096;font-size:12px}.sale-catalog-stats strong{color:#12366c;font-size:18px}.sale-catalog-stats .status-ready{color:#15803d;font-size:15px}.sale-catalog-card{padding:0;overflow:hidden}.sale-catalog-toolbar{border-bottom:1px solid #e4eaf3;justify-content:space-between;align-items:center;gap:18px;padding:19px 22px;display:flex}.sale-catalog-toolbar h3{color:#17355f;margin:0}.sale-catalog-toolbar small{color:#8491a5}.sale-catalog-search{width:min(360px,100%)}.sale-catalog-table th{padding-block:13px}.sale-catalog-table td{padding-block:14px}.sale-catalog-table th:first-child,.sale-catalog-table td:first-child{text-align:center;width:72px}.sale-catalog-table code{color:#1e3a8a;direction:ltr;background:#eef4ff;border-radius:7px;padding:4px 9px;font-family:inherit;font-weight:700;display:inline-block}.sale-price-value{color:#0f3d80;font-variant-numeric:tabular-nums;direction:rtl;font-size:17px;font-weight:800}.sale-price-value small{color:#64748b;font-size:11px;font-weight:600}.sale-status{border-radius:999px;align-items:center;padding:4px 9px;font-size:11px;font-weight:800;display:inline-flex}.sale-status.ready{color:#166534;background:#dcfce7}.sale-status.pending{color:#92400e;background:#fef3c7}@media (width<=700px){.sale-catalog-hero{align-items:flex-start;padding:22px 19px}.sale-catalog-hero button{display:none}.sale-catalog-stats{grid-template-columns:1fr}.sale-catalog-toolbar{flex-direction:column;align-items:stretch}.sale-catalog-search{width:100%}.sale-catalog-table{min-width:720px!important}}@media print{.sale-catalog-page{max-width:none}.sale-catalog-hero{box-shadow:none;padding:15px 18px}.sale-catalog-stats{grid-template-columns:repeat(3,1fr)}.sale-catalog-card{box-shadow:none}.sale-catalog-table{font-size:11px}.sale-catalog-table td{padding-block:8px}}.summary-tile .label{color:var(--color-text-muted);margin-bottom:4px;font-size:12px}.summary-tile .value{font-size:18px;font-weight:700}.login-screen{background:radial-gradient(circle at 100% 0,#dce8ff,#0000 38%),linear-gradient(135deg,#f7f9fd,#eef3fb);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.login-box{background:var(--color-surface);border:1px solid var(--color-border);width:340px;box-shadow:var(--shadow-md);border-radius:20px;padding:30px}.login-box h1{text-align:center;margin-bottom:20px}.modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:50;background:#0f172a8c;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.modal-box{background:var(--color-surface);border-radius:var(--radius-lg);width:min(520px,100vw - 36px);max-width:calc(100vw - 36px);max-height:min(90dvh,900px);box-shadow:var(--shadow-md);padding:22px;overflow:auto}.product-work-time-action{justify-content:flex-start;margin:-4px 0 16px;display:flex}.product-work-time-modal{width:min(1180px,100vw - 36px)}.product-work-time-summary{margin:18px 0 12px}.product-work-time-summary .value{font-size:15px}.work-time-rate-note{background:#f8fafc;border-radius:10px;padding:10px 12px}.product-work-time-table{min-width:1050px}.product-work-time-table th,.product-work-time-table td{vertical-align:middle}.product-work-time-table th:first-child{width:120px}.product-work-time-table th:nth-child(2){min-width:250px}.work-time-item-title{align-items:center;gap:8px;display:flex}.work-time-item-title small{color:var(--color-text-muted);direction:ltr}.data-modal{width:min(1000px,100vw - 36px)}.data-modal table{table-layout:fixed}.data-modal th:first-child{width:18%}.data-modal th:nth-child(2){width:14%}.data-modal th:nth-child(3){width:30%}.data-modal th:nth-child(4){width:38%}.history-modal{width:min(680px,100vw - 36px);max-width:calc(100vw - 36px);max-height:calc(100dvh - 36px);overflow:hidden auto}.history-modal-wide{width:min(900px,100vw - 36px)}.history-table-container{scrollbar-gutter:stable;border:1px solid var(--color-border);border-radius:10px;max-height:min(34dvh,340px);margin-top:10px;overflow:auto}.history-table-container table{table-layout:fixed;width:100%;min-width:600px}.history-table-container th,.history-table-container td{white-space:normal;overflow-wrap:anywhere;padding-inline:8px}.history-table-container th{z-index:1;position:sticky;top:0}.mobile-menu-button,.sidebar-backdrop{display:none}@media (width<=900px){.mobile-menu-button{z-index:45;background:var(--color-primary);color:#fff;border-color:var(--color-primary);display:inline-flex;position:fixed;top:12px;right:12px}.sidebar{box-shadow:var(--shadow-md);transition:transform .22s;position:fixed;right:0;transform:translate(105%)}.sidebar.open{transform:translate(0)}.sidebar-backdrop.open{z-index:25;background:#0f172a61;display:block;position:fixed;inset:0}.main-content-inner{padding:70px 16px 24px}}@media (width<=640px){h2{font-size:19px}.card,.panel{border-radius:13px;padding:16px}.toolbar>button,.toolbar>input,.toolbar>select{flex:150px}.summary-grid{grid-template-columns:1fr 1fr}.modal-box{max-width:100%;width:100%!important}.modal-overlay{align-items:stretch;padding:8px}.history-modal{border-radius:14px;max-height:calc(100vh - 16px);padding:16px 12px}.history-table-container{max-height:280px;overflow:auto}.history-table-container th,.history-table-container td{padding:8px 5px;font-size:12px}.data-modal{align-self:center;max-height:calc(100dvh - 16px)}.data-modal th:nth-child(n){width:auto}.data-modal table,.compact-table table{table-layout:auto;min-width:560px}.home-section-nav{flex-wrap:nowrap;position:static;overflow-x:auto}.home-section-nav a{flex:none}}.modal-box .modal-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.product-tree-modal{flex-direction:column;width:min(1000px,100vw - 36px);max-height:calc(100dvh - 36px);display:flex;overflow:hidden}.product-tree-heading{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px;display:flex}.product-tree-heading h3,.product-tree-heading p{margin:0}.product-tree-heading p{color:var(--color-text-muted);margin-top:5px}.product-tree-scroll{scrollbar-gutter:stable;flex:1;min-height:0;max-height:65dvh;padding:16px 8px;overflow:auto}.product-tree,.product-tree ul{margin:0;padding:0;list-style:none}.product-tree ul{border-right:2px solid #bfdbfe;margin-right:24px;padding-right:18px}.product-tree li{margin:8px 0;position:relative}.product-tree ul>li:before{content:"";border-top:2px solid #bfdbfe;width:16px;position:absolute;top:22px;right:-18px}.product-tree-node{background:#f8fbff;border:1px solid #dbe7f5;border-radius:10px;flex-wrap:wrap;align-items:center;gap:7px 14px;width:max-content;min-width:360px;padding:9px 12px;display:flex}.product-tree-node strong{color:#153f91}.product-tree-node span{color:var(--color-text-muted);font-size:12px}.product-tree-root>.product-tree-node{background:#eaf2ff;border-color:#93c5fd}.product-tree-print-table{display:none}@media (width<=640px){.product-tree-node{min-width:290px}.product-tree-heading{flex-direction:column}.product-tree-scroll{max-height:72dvh}}.formula-modal{width:min(780px,100vw - 32px)}.formula-lines{gap:10px;margin-top:18px;display:grid}.formula-lines section{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;align-items:flex-start;gap:12px;padding:12px;display:flex}.formula-lines section>div{flex:1;gap:6px;display:grid}.formula-lines code{white-space:normal;color:var(--primary);font-family:inherit;font-weight:700;line-height:1.8}.formula-lines small{color:var(--text-muted)}.formula-index{background:var(--primary);color:#fff;border-radius:8px;place-items:center;min-width:28px;height:28px;font-weight:800;display:grid}.link-button{color:var(--color-primary);background:0 0;border:none;padding:0;text-decoration:underline}.text-muted{color:var(--color-text-muted)}.page-error-boundary{max-width:760px;margin:40px auto}.page-error-boundary pre{text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;color:#7f1d1d;direction:ltr;background:#f8fafc;border-radius:10px;padding:12px}.request-meta{color:#475569;flex-wrap:wrap;gap:5px 12px;margin:6px 0;font-size:12px;display:flex}.request-meta span{background:#f1f5f9;border-radius:7px;padding:3px 7px}.request-meta .request-item-name{color:#0f3f88;background:#eaf3ff;flex-basis:100%;font-size:13px}.request-change-box{background:#f8fbff;border:1px solid #dbe7f5;border-radius:12px;min-width:min(620px,70vw);margin-top:8px;padding:12px}.request-change-box h4{color:#1e3a5f;margin:0 0 9px}.request-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;display:grid}.request-details>div{border-bottom:1px dashed #dbe3ef;padding:5px 7px}.request-detail-wide{grid-column:1/-1}.request-array{gap:8px;margin-top:7px;display:grid}.request-array-item{background:#fff;border:1px solid #dbe3ef;border-radius:9px;padding:8px}.request-price-summary{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:12px;display:grid}.request-price-summary>div{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;flex-direction:column;gap:5px;padding:11px 13px;display:flex}.request-price-summary span{color:#64748b;font-size:12px}.request-price-summary strong{color:#0f3f88;font-size:15px}.request-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.request-comparison section{background:#fff;border:1px solid #dbe3ef;border-radius:11px;padding:12px}.request-comparison .request-proposed{background:#f8fbff;border-color:#93c5fd}.request-comparison h4,.request-diff h4{margin:0 0 10px}.request-diff{margin-top:12px}.request-diff table{min-width:520px}.request-new-value{color:#1455c0;background:#eff6ff;font-weight:700}.request-field-changes{gap:4px;margin-top:8px;font-size:12px;font-weight:400;display:grid}.request-field-changes span{color:#7c2d12;background:#fff7ed;border-radius:7px;padding:5px 7px}@media (width<=800px){.request-comparison{grid-template-columns:1fr}}.request-edit-array{gap:12px;max-height:none;padding:4px;display:grid;overflow:visible}.request-edit-row{background:#f8fafc;border:1px solid #dbe3ef;border-radius:11px;gap:9px;padding:12px;display:grid}.request-edit-row .form-grid{margin:0}@media (width<=700px){.request-change-box{min-width:0}.request-details{grid-template-columns:1fr}}.jalali-date-input{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);color:var(--color-text);width:100%;padding:7px 10px;font-family:inherit;font-size:14px}.rmdp-container{width:100%}.finance-badge{border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700;display:inline-block}.finance-badge.green{color:#166534;background:#dcfce7}.finance-badge.yellow{color:#92400e;background:#fef3c7}.finance-badge.red{color:#991b1b;background:#fee2e2}.finance-badge.blue{color:#1e40af;background:#dbeafe}.finance-row-red{background:#fff7f7}.finance-row-yellow{background:#fffdf2}.finance-row-green{background:#f7fff9}.finance-row-blue{background:#f7faff}.invoice-a5{color:#111;background:#fff;max-width:148mm;min-height:200mm;margin:20px auto;padding:10mm;box-shadow:0 4px 24px #0002}.invoice-print-actions{justify-content:flex-start;margin-bottom:12px;display:flex}.invoice-header{border-bottom:2px solid #1e3a8a;justify-content:space-between;gap:16px;padding-bottom:10px;display:flex}.invoice-header h1{margin:0 0 4px;font-size:19px}.invoice-header p{color:#64748b;margin:0}.invoice-number{flex-direction:column;gap:5px;font-size:12px;display:flex}.customer-header{border:1px solid #cbd5e1;border-radius:8px;grid-template-columns:1fr 1fr;gap:7px 16px;margin:12px 0;padding:9px;font-size:12px;display:grid}.customer-header strong,.customer-address{grid-column:1/-1}.invoice-section{margin-top:12px}.invoice-section h3{margin:0 0 5px;font-size:14px}.invoice-a5 table{font-size:10px}.invoice-a5 th,.invoice-a5 td{padding:5px 4px}.invoice-totals{border:1px solid #cbd5e1;border-radius:8px;width:62%;margin:14px 0 0 auto;font-size:11px;overflow:hidden}.invoice-totals>div{border-bottom:1px solid #e2e8f0;justify-content:space-between;padding:5px 8px;display:flex}.invoice-totals>div:last-child{border:0}.invoice-totals .grand-total{background:#eaf0ff;font-size:13px}.invoice-footer{border-top:1px solid #94a3b8;margin-top:18px;padding-top:8px;font-size:10px}.invoice-footer>div{justify-content:space-between;margin-top:20px;padding:0 20px;display:flex}.invoice-stock-option{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:7px;display:flex}.invoice-stock-option>button:first-child{text-align:right;flex:1;min-width:260px}.component-row-actions{flex-wrap:nowrap;min-width:215px}.component-row-actions button{min-width:64px}.sale-pricing-row-actions{flex-wrap:nowrap;min-width:230px}.sale-pricing-table-wrap{scrollbar-gutter:stable;width:100%;overflow-x:auto!important}.sale-pricing-top-scroll{z-index:12;scrollbar-gutter:stable;background:#fff;border:1px solid #dbe3ef;border-radius:8px;width:100%;height:20px;margin-bottom:8px;position:sticky;top:0;overflow:auto hidden}.sale-pricing-top-scroll>div{min-width:100%;height:1px}.merge-warning{color:#991b1b;background:#fff7f7;border-color:#fca5a5}.merge-warning p{margin:4px 0 0}.merge-type{max-width:340px;margin-bottom:20px}.merge-selection-grid{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;display:grid}.merge-selection-grid section{min-width:0}.merge-selection-grid section input{margin-bottom:8px}.merge-selection-grid .merge-tier-select{min-height:44px;margin:6px 0 10px}.merge-selection-grid .merge-candidate-list{min-height:310px}.merge-selection-grid option{padding:8px}.merge-arrow{color:#1d4ed8;white-space:nowrap;font-weight:800}.merge-preview{border-top:1px solid #dbe3ef;margin-top:22px;padding-top:18px}.merge-preview label{max-width:520px;margin-top:14px}.merge-submit{margin-top:14px}@media (width<=800px){.merge-selection-grid{grid-template-columns:1fr}.merge-arrow{text-align:center;transform:rotate(-90deg)}}.sale-pricing-table{min-width:1500px}.sale-pricing-table th:last-child,.sale-pricing-table td:last-child{z-index:4;background:#fff;width:250px;min-width:250px;position:sticky;left:0;box-shadow:8px 0 14px -12px #0f172a8c}.sale-pricing-table th:last-child{z-index:6;background:#f1f5fb}.sale-pricing-table tbody tr:nth-child(2n) td:last-child{background:#fbfcff}.sale-pricing-table tbody tr:hover td:last-child{background:#f8faff}.sale-pricing-table .sale-pricing-row-actions{justify-content:center}.sale-pricing-table th:nth-child(11),.sale-pricing-table td:nth-child(11){width:275px;min-width:275px}.sale-invalid-trigger{color:#b42318;min-height:34px;box-shadow:none;background:#fff1f2;border-color:#fecdd3;width:max-content;min-width:245px;max-width:none;padding:5px 10px;overflow:visible}.sale-invalid-trigger:hover{color:#9f1239;background:#ffe4e6;border-color:#fb7185}.sale-issues-modal{width:min(1050px,100vw - 32px);max-width:1050px}.sale-issues-table-wrap{overflow-x:auto}.sale-issues-modal .sale-issues-table{table-layout:auto;min-width:850px}.sale-issues-table th:first-child,.sale-issues-table td:first-child{min-width:220px}.sale-issues-table th:nth-child(2),.sale-issues-table td:nth-child(2){white-space:normal;overflow-wrap:anywhere;min-width:360px;line-height:1.9}.sale-issues-table th:last-child,.sale-issues-table td:last-child{width:265px;min-width:265px}.home-global-search{border:1px solid var(--color-border);background:var(--color-surface);border-radius:14px;margin:18px 0;padding:16px}.home-global-search label{margin-bottom:7px;font-weight:700;display:block}.home-global-search input{width:100%}.home-product-search-results{border-top:1px solid var(--color-border);gap:7px;margin-top:13px;padding-top:13px;display:grid}.home-product-search-results h3{margin:0 0 4px}.home-product-result{color:var(--color-text);background:#f8fbff;border:1px solid #dbe7f5;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;text-decoration:none;display:flex}.home-product-result:hover{border-color:var(--color-primary);background:#eef4ff}.home-product-result>span:first-child{flex-direction:column;display:flex}.home-product-result small{color:var(--color-text-muted)}.home-product-result strong{align-items:center;gap:9px;display:flex}.home-product-result code,.global-search-title code{color:#1e40af;direction:ltr;background:#eaf1ff;border-radius:6px;padding:2px 7px;font-family:inherit;font-size:11px;display:inline-block}.page-global-search{z-index:25;margin-bottom:14px;position:relative}.page-global-search>input{background:#fff;width:100%;min-height:42px;padding-inline:14px}.page-global-search-results{border:1px solid var(--color-border);background:#fff;border-radius:12px;max-height:320px;padding:7px;display:grid;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow:auto;box-shadow:0 12px 30px #0f172a26}.page-global-search-results a{color:var(--color-text);border-radius:8px;justify-content:space-between;gap:12px;padding:9px 11px;text-decoration:none;display:flex}.page-global-search-results a:hover{background:#eff6ff}.page-global-search-results small{color:var(--color-text-muted)}.global-search-title{align-items:center;gap:9px;min-width:0;display:flex}.global-search-title span{text-overflow:ellipsis;overflow:hidden}.price-history-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 16px;display:grid}.price-history-summary>div{background:#f5f9ff;border:1px solid #cfe0f8;border-radius:10px;flex-direction:column;gap:3px;padding:11px 13px;display:flex}.price-history-summary span,.price-history-summary small{color:var(--color-text-muted)}.price-history-summary strong{color:#153f91;font-size:16px}.currency-choice{align-items:center;gap:12px;min-width:150px;display:flex}.currency-choice label{color:var(--color-text);cursor:pointer;flex-direction:row;align-items:center;gap:5px}.currency-choice input{width:18px;height:18px;min-height:18px;accent-color:var(--color-primary)}.settings-group-row th{color:#174b9b;text-align:right;background:#eaf2ff;border-top:2px solid #c9dcfb;padding:12px 14px;font-size:15px}.category-checkboxes{gap:5px;min-width:145px;margin-top:6px;display:grid}.category-checkboxes label{white-space:nowrap;flex-direction:row;align-items:center;gap:6px;display:flex}.category-checkboxes input{width:17px;height:17px;min-height:17px}.table-secondary-line{color:var(--color-text-muted);margin-top:5px;display:block}.coefficient-toolbar{align-items:end}.coefficient-toolbar>label{min-width:220px}.coefficient-input-cell{min-width:135px}.coefficient-pricing-table-wrap{max-height:min(68vh,760px);overflow:auto}.coefficient-pricing-table-wrap thead{z-index:2;position:sticky;top:0}.coefficient-pricing-table-wrap table{min-width:1050px}@media (width<=700px){.price-history-summary{grid-template-columns:1fr}.component-row-actions{flex-wrap:wrap;min-width:150px}.page-global-search-results a{flex-direction:column;gap:2px}}.page-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.page-heading h2{margin:0 0 5px}.page-heading p{margin:0}.button-link{border:1px solid var(--color-primary);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;min-height:38px;padding:7px 14px;text-decoration:none;display:inline-flex}.button-link.primary{color:#fff;background:var(--color-primary)}.project-filter-toolbar{align-items:end}.project-filter-toolbar label{min-width:190px}.project-list-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:14px;margin-top:16px;display:grid}.project-list-card{background:#fff;border:1px solid #dbe5f2;border-radius:14px;padding:17px;box-shadow:0 4px 14px #0f172a0b}.project-list-card-head{justify-content:space-between;gap:12px;display:flex}.project-list-card h3{margin:7px 0 0;font-size:17px}.project-list-card code,.project-detail-heading code{color:#1e40af;font:inherit;direction:ltr;background:#eaf1ff;border-radius:6px;padding:2px 7px;font-size:12px;display:inline-block}.project-status{color:#475569;background:#eef2f7;border-radius:999px;height:max-content;padding:4px 9px;font-size:12px}.status-active{color:#166534;background:#dcfce7}.status-completed{color:#1e40af;background:#dbeafe}.status-onhold{color:#92400e;background:#fef3c7}.status-cancelled{color:#991b1b;background:#fee2e2}.project-progress{align-items:center;gap:10px;margin:16px 0;display:flex}.project-progress>div{background:#e2e8f0;border-radius:999px;flex:1;height:8px;overflow:hidden}.project-progress>div span,.mini-progress span{border-radius:inherit;background:linear-gradient(90deg,#2563eb,#38bdf8);height:100%;display:block}.project-progress b{direction:ltr}.project-card-stats{grid-template-columns:1fr 1fr;gap:8px;display:grid}.project-card-stats span{background:#f8fafc;border-radius:8px;justify-content:space-between;padding:8px 10px;font-size:12px;display:flex}.danger-text{color:#b91c1c!important}.warning-text{color:#b45309!important}.project-form-modal,.project-activity-modal,.project-issue-modal{width:min(900px,100vw - 32px);max-width:900px;max-height:calc(100vh - 32px);overflow:auto}.project-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-wide-field{grid-column:1/-1}.project-form-grid textarea{resize:vertical}.project-detail-heading h2{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.project-kpis{grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px;margin-bottom:14px;display:grid}.project-kpis>div{background:#fff;border:1px solid #d9e4f2;border-radius:12px;flex-direction:column;gap:7px;padding:13px 15px;display:flex}.project-kpis span{color:var(--color-text-muted);font-size:12px}.project-kpis b{color:#173f8e;font-size:17px}.project-tabs{background:#fff;border:1px solid #dbe5f2;border-radius:12px;gap:7px;margin:0 0 12px;padding:6px;display:flex;overflow-x:auto}.project-tabs button{box-shadow:none;flex:none;font-weight:800;color:#173f8e!important;opacity:1!important;background:#f8fafc!important;border-color:#93c5fd!important}.project-tabs button:hover{color:#0f2f6d!important;background:#eaf2ff!important}.project-tabs button.active{color:#fff!important;background:var(--color-primary)!important;border-color:var(--color-primary)!important}.project-table-wrap{scrollbar-gutter:stable;width:100%;overflow:auto}.project-activity-table{min-width:1320px}.project-activity-table tbody tr.selected{outline-offset:-2px;outline:2px solid #60a5fa}.project-overdue-row{background:#fff5f5!important}.project-wbs-button,.gantt-task-link{color:#1d4ed8;box-shadow:none;text-align:right;background:0 0;border:0;padding:0}.project-tree-title{align-items:center;gap:6px;min-width:240px;display:flex}.project-tree-title small{background:#fff7ed;border-radius:99px;margin-right:auto;padding:2px 6px}.mini-progress{background:#e2e8f0;border-radius:99px;width:62px;height:6px;margin-left:7px;display:inline-block;overflow:hidden}.project-activity-detail{gap:12px;margin-top:12px;display:grid}.project-activity-detail .card{margin:0}.project-activity-detail h3{margin-top:0}.inline-form{flex-wrap:wrap;align-items:end;gap:9px;display:flex}.inline-form label{flex:1;min-width:150px}.project-dependency-form label:first-child,.project-cost-form label:first-child{flex:2;min-width:260px}.project-chip-list{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.project-chip-list>span{background:#eff6ff;border:1px solid #bfdbfe;border-radius:99px;align-items:center;gap:7px;padding:6px 10px;display:flex}.project-chip-list button{border-radius:50%;width:24px;min-height:24px;padding:0}.project-gantt-card{overflow:hidden}.project-gantt-hidden,.project-print-title{display:none}.project-gantt-wrap{direction:ltr;border:1px solid #dbe5f2;border-radius:10px;max-height:70vh;overflow:auto}.project-gantt-table{direction:rtl;min-width:1900px}.project-gantt-table thead{z-index:3;position:sticky;top:0}.project-gantt-table th:first-child{width:90px}.project-gantt-table th:nth-child(2){width:280px}.project-gantt-table th:nth-child(3){width:70px}.project-gantt-table th:nth-child(4),.project-gantt-table th:nth-child(5){width:145px}.project-gantt-table th:nth-child(6){width:120px}.project-gantt-table th:nth-child(7){width:190px}.project-gantt-table th:nth-child(8){width:70px}.project-gantt-table th:nth-child(10){width:210px}.gantt-date-cell{white-space:nowrap;text-align:center;color:#334155;direction:ltr;font-weight:700}.gantt-timeline-heading{direction:ltr;justify-content:space-between;min-width:520px;display:flex}.gantt-track{direction:ltr;background:repeating-linear-gradient(90deg,#f8fafc 0 9.8%,#e2e8f0 10%);border-radius:5px;width:100%;height:27px;position:relative}.gantt-bar{background:#60a5fa;border-radius:4px;min-width:5px;height:17px;position:absolute;top:5px;overflow:hidden}.gantt-bar i{background:#1d4ed8;height:100%;display:block}.gantt-bar.completed{background:#86efac}.gantt-bar.completed i{background:#16a34a}.gantt-bar.blocked{background:#fecaca}.gantt-bar.blocked i{background:#dc2626}.gantt-bar.cancelled{background:#cbd5e1}.gantt-task-link{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}.project-dependency-modal{width:min(1120px,100vw - 32px);max-width:1120px;max-height:calc(100vh - 32px);overflow:auto}.project-dependency-modal>.toolbar{z-index:3;background:#fff;border-bottom:1px solid #e2e8f0;padding-bottom:10px;position:sticky;top:0}.project-dependency-modal>.toolbar h3{margin:0}.project-dependency-editor{box-shadow:none;border:0;margin-top:12px}.project-relation-example{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;margin:0 0 12px;padding:9px 12px;line-height:1.9}.project-dependency-editor .project-dependency-form label{min-width:190px}.project-dependency-editor .project-dependency-form label:first-child{min-width:300px}.project-phase-tabs button{align-items:center;gap:7px;display:flex}.project-phase-tabs button b{color:#1d4ed8;background:#dbeafe;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.project-phase-tabs button.active b{color:#1d4ed8;background:#fff}.project-phase-hint{color:#1e40af;text-align:center;background:#eff6ff;border:1px dashed #93c5fd;border-radius:10px;padding:14px}.project-hierarchy-card{overflow:hidden}.project-hierarchy-card>.toolbar{align-items:center}.project-chart-toolbar{flex-wrap:wrap}.project-chart-toolbar>.spacer{min-width:20px}.project-chart-zoom{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.project-chart-zoom button{min-height:36px;padding:6px 11px}.project-chart-zoom output{color:#1e3a8a;text-align:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;min-width:58px;padding:7px 9px;font-weight:800}.project-hierarchy-canvas{overscroll-behavior:contain;scrollbar-gutter:stable both-edges;direction:rtl;background:linear-gradient(#f8fbffeb,#f8fbffeb),repeating-linear-gradient(0deg,#0000 0 23px,#dbeafe 24px),repeating-linear-gradient(90deg,#0000 0 23px,#dbeafe 24px);border:1px solid #dbe5f2;border-radius:12px;height:calc(100vh - 300px);min-height:520px;max-height:76vh;margin-top:14px;padding:28px;overflow:auto}.project-hierarchy-card.is-fullscreen{z-index:5000;background:#fff;border:0;border-radius:0;flex-direction:column;width:100vw;max-width:none;height:100vh;padding:16px;display:flex;position:fixed;inset:0}.project-hierarchy-card.is-fullscreen .project-chart-toolbar{flex:none}.project-hierarchy-card.is-fullscreen .project-hierarchy-canvas{flex:1;height:auto;max-height:none;margin-top:10px}.project-hierarchy-stage{transform-origin:top;width:max-content;min-width:100%;min-height:100%;padding:10px 14px 30px;position:relative}.project-hierarchy-connectors{z-index:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.project-hierarchy-connectors path{fill:none;stroke:#2563eb;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px #fff)}.project-hierarchy-tree,.project-hierarchy-tree ul{z-index:1;justify-content:center;width:max-content;margin:0 auto;padding:0;list-style:none;display:flex;position:relative}.project-hierarchy-tree{min-width:100%}.project-hierarchy-tree li{text-align:center;flex-direction:column;align-items:center;padding:54px 12px 0;display:flex;position:relative}.project-hierarchy-tree>li,.project-hierarchy-tree li>ul{padding-top:0}.project-chart-node{z-index:1;background:#fff;border:1px solid #93c5fd;border-right:5px solid #2563eb;border-radius:12px;flex:0 0 235px;gap:9px;width:235px;padding:12px;display:grid;position:relative;box-shadow:0 5px 16px #0f172a13}.project-chart-node.summary{background:#faf8ff;border-right-color:#7c3aed}.project-chart-node.activity{border-right-color:#0891b2}.project-root-node{color:#fff;background:linear-gradient(135deg,#1e3a8a,#2563eb);border-color:#1d4ed8;border-right-width:5px}.project-chart-node header,.project-chart-node>div,.project-chart-node footer{justify-content:space-between;align-items:center;gap:7px;display:flex}.project-chart-node header span{color:#475569;background:#eef2ff;border-radius:99px;padding:2px 7px;font-size:10px}.project-root-node header span{color:#1e3a8a;background:#fff}.project-chart-node code{color:#1d4ed8;direction:ltr;font:700 11px inherit}.project-root-node code{color:#fff}.project-chart-node>strong{min-height:42px;line-height:1.8;overflow:hidden}.project-chart-node>div{color:#64748b;font-size:11px}.project-root-node>div{color:#dbeafe}.project-chart-node footer{border-top:1px solid #e2e8f0;flex-wrap:wrap;padding-top:8px}.project-chart-node footer button{border-radius:7px;min-height:29px;padding:4px 8px;font-size:10px}.project-root-node footer{border-top-color:#fff5}.project-root-node footer button{color:#1e40af;background:#fff}.project-summary-note{color:#5b21b6;background:#f5f3ff;border:1px solid #c4b5fd;border-radius:10px;padding:12px 14px;line-height:1.9}.project-summary-detail>div{flex-wrap:wrap;gap:18px;margin-top:12px;display:flex}.project-summary-detail>div span{background:#f8fafc;border-radius:8px;padding:8px 12px}.gantt-bar.summary{background:#7c3aed;border-radius:2px;height:11px;top:8px}.gantt-bar.summary:before,.gantt-bar.summary:after{content:"";background:#7c3aed;width:4px;height:8px;position:absolute;bottom:-4px}.gantt-bar.summary:before{left:0}.gantt-bar.summary:after{right:0}.project-chart-node.incomplete,.project-chart-node.incomplete.summary{background:#fffbdb;border-color:#f59e0b #d97706 #f59e0b #f59e0b;box-shadow:0 5px 18px #f59e0b2e}.project-node-incomplete-badge{color:#7c2d12;background:#fde68a;border-radius:99px;padding:2px 7px;font-size:10px}.project-node-issues{color:#92400e;background:#fff8c5;border:1px solid #fcd34d;border-radius:7px;min-height:32px;padding:6px 8px;font-size:10px;line-height:1.7;display:block}.project-chart-node.complete,.project-chart-node.complete.summary{background:#fff}.project-alert-summary{color:#7c2d12;background:#fff7ed;border:2px solid #f97316;border-radius:12px;margin:12px 0;padding:14px 18px;line-height:1.9;box-shadow:0 5px 20px #f9731633}.project-alert-summary ul{margin:7px 0;padding-right:22px}.project-alert-summary button{color:#c2410c;box-shadow:none;background:0 0;border:0;padding:0;font-weight:800}.project-warning-row{box-shadow:inset 4px 0 #f97316;background:#fff3df!important}.project-chart-node.has-warning,.project-chart-node.has-warning.summary{background:#fff3df;border:2px solid #f97316;border-right:7px solid #ea580c;box-shadow:0 6px 22px #f9731640}.project-node-warning-badge{color:#fff;background:#ea580c;border-radius:99px;padding:2px 7px;font-size:10px}.project-node-alerts,.project-inline-alert{color:#9a3412;background:#ffedd5;border:1px solid #fb923c;border-radius:7px;margin-top:5px;padding:5px 7px;font-size:10px;line-height:1.7;display:block}.project-inline-alert{white-space:normal}.gantt-bar.warning{background:#fdba74;box-shadow:0 0 0 2px #f97316}.gantt-bar.warning i{background:#ea580c}.project-awaiting-approval,.project-completed-badge{border-radius:7px;align-items:center;padding:5px 8px;font-size:11px;font-weight:700;display:inline-flex}.project-awaiting-approval{color:#9a3412;background:#ffedd5}.project-completed-badge{color:#166534;background:#dcfce7}.project-approve-button{color:#fff!important;background:#16a34a!important;border-color:#16a34a!important}.project-edit-issues{color:#78350f;background:#fffbdb;border:1px solid #f59e0b;border-radius:10px;margin:0 0 14px;padding:11px 14px;line-height:1.9}.project-edit-issues ul{margin:6px 0 0;padding-right:22px}.project-edit-complete{color:#166534;background:#f0fdf4;border:1px solid #86efac;border-radius:10px;margin:0 0 14px;padding:10px 14px}.project-form-grid label.field-incomplete{color:#92400e;background:#fffbdb;border:1px solid #f59e0b;border-radius:9px;padding:8px}.project-form-grid label.field-incomplete input,.project-form-grid label.field-incomplete textarea,.project-form-grid label.field-incomplete select{background:#fffef4;border-color:#f59e0b}.project-form-grid .checkbox-label.field-incomplete{align-self:end}.project-team-card{margin-bottom:12px}.project-team-card h3{margin:0}.project-team-add{background:#f8fafc;border-radius:10px;margin-top:12px;padding:12px}.project-team-add label{min-width:180px}.project-team-list{gap:8px;margin-top:12px;display:grid}.project-team-member{border:1px solid #dbe5f2;border-radius:10px;grid-template-columns:minmax(180px,1.2fr) minmax(135px,.7fr) minmax(180px,1fr) minmax(200px,1.2fr) auto;align-items:center;gap:10px;padding:9px 11px;display:grid}.project-team-member input,.project-team-member select{min-height:36px}.project-team-member button:disabled{opacity:.5;cursor:not-allowed}.project-issue-list{gap:12px;margin-top:14px;display:grid}.project-issue{background:#fff;border:1px solid #dbe5f2;border-right:5px solid #f59e0b;border-radius:12px;padding:14px 16px}.project-issue.severity-low{border-right-color:#22c55e}.project-issue.severity-high{border-right-color:#f97316}.project-issue.severity-critical{background:#fff8f8;border-right-color:#dc2626}.project-issue header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.project-issue header>div:first-child{flex-direction:column;gap:5px;display:flex}.project-issue header small{color:var(--color-text-muted)}.project-issue p{white-space:pre-wrap}.project-solutions{border-top:1px solid #e2e8f0;gap:7px;margin-top:12px;padding-top:10px;display:grid}.project-solutions h4{margin:0}.project-solutions>div{background:#f0fdf4;border-radius:8px;grid-template-columns:1fr auto;gap:4px 14px;padding:9px 11px;display:grid}.project-solutions p{grid-column:1/-1;margin:0}.project-solutions small{color:#64748b}.project-solution-form{background:#f8fafc;border-radius:10px;margin-top:12px;padding:12px}.project-solution-form label{min-width:250px}.project-history-card table{min-width:950px}.project-notification-center{z-index:80;position:fixed;top:14px;left:18px}.project-notification-button{background:#fff;border-radius:50%;width:46px;height:46px;padding:0;font-size:20px;position:relative;box-shadow:0 5px 20px #0f172a24}.project-notification-button b{color:#fff;background:#dc2626;border-radius:99px;justify-content:center;align-items:center;min-width:21px;height:21px;padding:0 5px;font-size:10px;display:flex;position:absolute;top:-5px;right:-5px}.project-notification-panel{background:#fff;border:1px solid #dbe5f2;border-radius:13px;width:min(390px,100vw - 28px);max-height:min(70vh,620px);padding:8px;position:absolute;top:54px;left:0;overflow:auto;box-shadow:0 18px 45px #0f172a33}.project-notification-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:7px 8px 11px;display:flex}.project-notification-item{text-align:right;white-space:normal;width:100%;box-shadow:none;background:#fff;border:0;border-bottom:1px solid #edf2f7;border-radius:0;gap:4px;padding:10px;display:grid}.project-notification-item.unread{background:#eff6ff}.project-notification-item span{color:#475569;font-size:12px;line-height:1.7}.project-notification-item small{color:#94a3b8;font-size:10px}@media (width<=1100px){.project-kpis,.project-team-member{grid-template-columns:repeat(2,minmax(0,1fr))}.project-team-member .row-actions{grid-column:1/-1}}@media (width<=700px){.page-heading{flex-direction:column}.project-form-grid{grid-template-columns:1fr}.project-wide-field{grid-column:auto}.project-kpis,.project-card-stats{grid-template-columns:1fr}.project-issue header{flex-direction:column}.project-notification-center{top:8px;left:8px}.project-list-grid,.project-team-member{grid-template-columns:1fr}.project-team-member .row-actions{grid-column:auto}.project-team-add label{min-width:100%}.project-hierarchy-canvas{height:calc(100vh - 220px);padding:14px}.project-chart-zoom{width:100%}}@media print{@page{size:A5 portrait;margin:0}body{background:#fff!important}.app-shell>.sidebar,.mobile-menu-button,.sidebar-backdrop,.no-print,.page-global-search{display:none!important}.app-shell,.main-content,.main-content-inner{height:auto!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.invoice-a5{width:148mm;max-width:none;min-height:210mm;box-shadow:none;box-sizing:border-box;margin:0;padding:8mm}body.print-history-only *{visibility:hidden!important}body.print-history-only .printable-history,body.print-history-only .printable-history *{visibility:visible!important}body.print-history-only .printable-history{width:100%;max-width:none;box-shadow:none;position:absolute;inset:0;overflow:visible}body.print-history-only .history-table-container{max-height:none;overflow:visible}body.print-history-only .printable-history button,body.print-history-only .printable-history input{display:none!important}body.print-product-tree-only *{visibility:hidden!important}body.print-product-tree-only .printable-product-tree,body.print-product-tree-only .printable-product-tree *{visibility:visible!important}body.print-product-tree-only .printable-product-tree{page:product-tree-page;width:auto;max-width:none;max-height:none;box-shadow:none;direction:rtl;border:0;border-radius:0;margin:0;padding:0;display:block;position:absolute;inset:0;overflow:visible}body.print-product-tree-only .product-tree-heading{border-bottom:1px solid #555;margin:0 0 6mm;padding:0 0 3mm;display:block}body.print-product-tree-only .product-tree-heading h3{font-size:16pt}body.print-product-tree-only .product-tree-heading p{margin-top:2mm;font-size:10pt}body.print-product-tree-only .product-tree-screen{display:none!important}body.print-product-tree-only .product-tree-print-table{width:100%;overflow:visible;display:block!important}body.print-product-tree-only .product-tree-print-table table{table-layout:fixed;border-collapse:collapse;direction:rtl;width:100%;min-width:0;font-size:9pt}body.print-product-tree-only .product-tree-print-table th,body.print-product-tree-only .product-tree-print-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle;border:1px solid #777;height:auto;padding:2.2mm 2.5mm}body.print-product-tree-only .product-tree-print-table th{color:#111;-webkit-print-color-adjust:exact;print-color-adjust:exact;font-weight:700;background:#e9eef7!important}body.print-product-tree-only .product-tree-print-table th:first-child,body.print-product-tree-only .product-tree-print-table td:first-child{width:22%}body.print-product-tree-only .product-tree-print-table th:nth-child(2),body.print-product-tree-only .product-tree-print-table td:nth-child(2){width:58%}body.print-product-tree-only .product-tree-print-table th:nth-child(3),body.print-product-tree-only .product-tree-print-table td:nth-child(3){width:20%}body.print-product-tree-only .product-tree-print-table thead{display:table-header-group}body.print-product-tree-only .product-tree-print-table tr{break-inside:avoid;page-break-inside:avoid}body.print-product-tree-only .product-tree-print-name{color:#153f91;text-align:right}body.print-product-tree-only .product-tree-print-name small{color:#b91c1c;margin-top:1mm;display:block}.project-detail-page .no-print,.project-detail-page>.page-heading .row-actions,.project-detail-page>.project-tabs{display:none!important}.project-detail-page .project-kpis{grid-template-columns:repeat(5,1fr)}.project-detail-page .project-gantt-card{box-shadow:none;border:0;padding:0;display:block!important}.project-detail-page .project-print-title{border-bottom:1px solid #777;margin-bottom:8mm;display:block}.project-detail-page .project-gantt-wrap{border:0;max-height:none;overflow:visible}.project-detail-page .project-gantt-table{table-layout:fixed;width:100%;min-width:0;font-size:8pt}.project-detail-page .project-gantt-table th,.project-detail-page .project-gantt-table td{white-space:normal;padding:2mm 1.5mm}.project-detail-page .project-gantt-table th:first-child{width:7%}.project-detail-page .project-gantt-table th:nth-child(2){width:22%}.project-detail-page .project-gantt-table th:nth-child(3){width:6%}.project-detail-page .project-gantt-table th:nth-child(4){width:10%}.project-detail-page .project-gantt-table th:nth-child(5){width:12%}.project-detail-page .project-gantt-table th:nth-child(6){width:6%}.project-detail-page .project-gantt-table th:nth-child(7){width:37%}.project-detail-page .project-gantt-table tr{break-inside:avoid}.project-detail-page{page:project-plan;direction:rtl}.project-notification-center{display:none!important}}@page product-tree-page{size:A4 portrait;margin:12mm}@page project-plan{size:A4 landscape;margin:9mm}
