html,body{background:var(--mv3-warm-bg);color:var(--mv3-text);font-size:14px}body{-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}::selection{color:#3b201b;background:#efd2cc}.app-header{background:linear-gradient(90deg,#1c1d20 0%,#24262a 58%,#2b2d31 100%);border-bottom:1px solid #ffffff13;box-shadow:0 3px 14px #17171724;height:62px!important;min-height:62px!important}.app-shell-v2{background:var(--mv3-warm-bg);grid-template-rows:62px minmax(calc(100dvh - 62px),auto)!important}.app-header .brand{letter-spacing:-.55px;font-size:20px!important}.module-tab{border-radius:7px;height:44px;padding-inline:10px;font-size:11px;font-weight:650;color:#c7c8ca!important}.module-tab:hover{color:var(--mv3-warm-surface)!important;background:#fff1!important}.module-tab.active{color:var(--mv3-warm-surface)!important;box-shadow:inset 0 -2px 0 var(--mv3-accent)!important;background:#d84a3424!important}.context-sidebar,.sidebar{box-shadow:none!important;background:linear-gradient(#232428 0%,#1d1e21 100%)!important}.context-sidebar a,.context-sidebar button,.sidebar .nav-item{font-size:11px}.context-nav-item,.sidebar .nav-item{border-radius:7px;min-height:36px;color:#c4c5c7!important}.context-nav-item:hover,.sidebar .nav-item:hover{color:var(--mv3-warm-surface)!important;background:#ffffff0e!important}.context-nav-item.active,.sidebar .nav-item.active{box-shadow:inset 3px 0 0 var(--mv3-accent);color:var(--mv3-warm-surface)!important;background:#d84a3421!important}.content{max-width:1560px;padding:22px 24px 34px}.page-heading,.hero-row{margin-bottom:15px}.page-heading h1,.hero-row h1,.dashboard-hero h1{letter-spacing:-.65px;font-weight:760;line-height:1.08;font-size:clamp(22px,2.2vw,30px)!important}h2{font-size:15px}.subtitle{color:var(--mv3-muted);font-size:11.5px;line-height:1.45}.eyebrow{color:var(--mv3-accent)!important;font-size:var(--mv3-font-caption)!important;letter-spacing:.11em!important}.panel,.metric-card,.ai-card,.form-section,.inline-admin-form,.dashboard-widget,.dashboard-kpi,.billing-kpi,.billing-panel{border-color:var(--mv3-line);box-shadow:0 4px 16px #2a27220b}.panel,.form-section,.inline-admin-form,.dashboard-widget,.billing-panel{border-radius:10px!important}.metric-card,.dashboard-kpi,.billing-kpi{border-radius:9px!important}.panel{padding:15px!important}.metric-card{padding:13px!important}.metric-card strong{font-size:22px}.metric-label{font-size:10px}.metric-icon{border-radius:8px;background:var(--mv3-accent-soft)!important;color:var(--mv3-accent)!important}.primary-button,.secondary-button,.quick-action,.logout-button{min-height:34px;box-shadow:none;border-radius:7px;padding-inline:11px;font-size:11px}.primary-button{color:var(--mv3-warm-surface);background:var(--mv3-btn-bg,var(--mv3-accent))!important}.primary-button:hover:not(:disabled){--mv3-btn-bg:var(--mv3-accent-strong)}.secondary-button,.quick-action{background:var(--mv3-warm-surface)!important;border-color:var(--mv3-line)!important}.secondary-button:hover,.quick-action:hover{border-color:var(--mv3-line-strong)!important;background:var(--mv3-warm-soft)!important}input,select,textarea{border-color:var(--mv3-line)!important;background:var(--mv3-warm-surface)!important;border-radius:7px!important;min-height:36px!important;padding:8px 10px!important;font-size:11.5px!important}input:focus,select:focus,textarea:focus{border-color:#d69084!important;box-shadow:0 0 0 3px #d84a3417!important}.search-input,.select-input,.input-with-icon,.search{border-color:var(--mv3-line);background:var(--mv3-warm-surface);border-radius:7px}.text-link,.back-link{color:var(--mv3-accent)}.crm-table-head,.professional-list-head,.ultra-list-head,[class*=table-head]{color:var(--mv3-warm-gray);background:#f2f0eb}.crm-table-head,.crm-row{gap:10px}.crm-table-head{min-height:35px;font-size:var(--mv3-font-caption);padding:0 13px}.crm-row{border-bottom-color:#ebe8e1;padding:9px 13px}.crm-row:hover,[class*=list-row]:hover,[class*=table-row]:hover{background:var(--mv3-warm-soft)}.party-avatar{color:#6e5b51!important;background:#f0ece6!important;border-radius:8px!important}.badge,.status-pill,[class*=status-badge],[class*=status-pill]{box-shadow:none;font-size:var(--mv3-font-caption);letter-spacing:.01em;border-radius:999px;font-weight:760}.status-pill{background:var(--mv3-green-soft);color:var(--mv3-green);padding:6px 9px}.status-active{background:var(--mv3-green-soft)!important;color:var(--mv3-green)!important;border-color:#d6e7dc!important}.role-customer,.role-promoter,.role-general_contractor{color:#635b52;background:#f1eee8;border-color:#e0dbd2}.role-prospect{background:var(--mv3-amber-soft);color:var(--mv3-amber);border-color:#eadcb8}.role-supplier,.role-subcontractor{background:var(--mv3-green-soft);color:var(--mv3-green);border-color:#d6e7dc}.dashboard-content{padding-top:20px}.dashboard-widget-grid{gap:10px}.dashboard-widget-header{border-bottom-color:var(--mv3-divider);background:linear-gradient(180deg,var(--mv3-warm-surface),#fcfbf8);min-height:40px;padding:0 12px}.dashboard-widget-header strong,.dashboard-widget-body{font-size:10px}.dashboard-kpi-grid{gap:9px}.dashboard-kpi{background:var(--mv3-warm-surface);min-height:92px;padding:11px}.dashboard-kpi-label{font-size:var(--mv3-font-caption);color:#85847f}.dashboard-kpi strong{color:#282927!important;font-size:19px!important}.dashboard-kpi small{font-size:var(--mv3-font-caption);color:#91908b}.dashboard-search-widget{background:var(--mv3-warm-surface);border-radius:9px}.dashboard-widget-icon,.dashboard-search-widget [class*=icon]{color:var(--mv3-accent)}.billing-dashboard{padding-top:20px}.billing-kpis{gap:9px}.billing-kpi{min-height:108px;padding:12px;border-color:var(--mv3-line)!important}.billing-kpi:hover{border-color:var(--mv3-line-strong);transform:none;box-shadow:0 6px 18px #2a27220f}.billing-kpi-icon,.billing-panel-title>span,.billing-action>span:first-child{border-radius:8px;background:var(--mv3-accent-soft)!important;color:var(--mv3-accent)!important}.billing-kpi strong,.billing-panel-title strong,.billing-priority-row strong,.billing-action strong,.billing-payment-copy strong,.billing-debtor-row>span strong,.billing-schedule-grid strong{color:#30312f!important}.billing-kpi-label,.billing-kpi small,.billing-panel-title small,.billing-priority-row small,.billing-action small,.billing-payment-copy small,.billing-debtor-row small,.billing-schedule-grid small,.billing-schedule-grid span{color:#85847f}.billing-panel-head{background:linear-gradient(180deg,var(--mv3-warm-surface),#fcfbf8);border-bottom-color:var(--mv3-divider);min-height:42px}.billing-panel-head>a{color:var(--mv3-accent)}.billing-priority-row,.billing-action,.billing-payment-row,.billing-debtor-row{border-color:var(--mv3-divider)}.billing-priority-row:hover,.billing-action:hover,.billing-schedule-grid>a:hover{background:var(--mv3-warm-soft)}.topbar-org{background:var(--mv3-accent-soft);color:var(--mv3-accent-strong)}.user-avatar{color:#f09b8c;background:#d84a3426}.ai-card{background:radial-gradient(circle at top left,#d84a3412,transparent 38%),var(--mv3-warm-surface)!important}.sparkle{color:#9d5b4d;background:#f3ece8}.internal-note{border-left-color:#cf8b7e;background:#fbf5f2!important}.role-chip.active{background:var(--mv3-accent-soft)!important;color:var(--mv3-accent-strong)!important;border-color:#dfaaa0!important}@media (max-width:760px){.content{padding:16px 12px 88px}.app-header{height:58px;min-height:58px}.app-shell-v2{grid-template-rows:58px minmax(calc(100dvh - 58px),auto)}.page-heading{gap:10px}.page-heading h1,.dashboard-hero h1{font-size:22px}}.quote-detail-content,.product-workspace-content,.customer-detail-content{max-width:1560px;padding-top:18px!important}.quote-hero,.project-hero,.party-hero,.product-master-hero{border:1px solid var(--mv3-line);background:var(--mv3-warm-surface);box-shadow:0 4px 16px #2a27220b;border-radius:10px!important}.quote-hero,.project-hero{padding:14px 15px}.party-hero-main{gap:12px!important}.party-avatar.large{color:#6e5b51;background:#f0ece6;border-radius:9px;flex-basis:52px!important;width:52px!important;height:52px!important;font-size:16px!important}.quote-hero-actions,.product-master-actions,.quick-actions{gap:6px}.quote-document-layout{align-items:start;gap:12px;grid-template-columns:minmax(0,1.72fr) minmax(290px,.58fr)!important}.quote-document{border-color:var(--mv3-line);border-radius:10px;overflow:hidden;box-shadow:0 4px 16px #2a27220a;padding:0!important}.quote-document-header{border-bottom:1px solid var(--mv3-line);background:linear-gradient(180deg,var(--mv3-warm-surface),#fcfbf8);padding:16px!important}.quote-document-header h2{color:#30312f;font-size:16px}.quote-document-dates{color:#817c76;font-size:var(--mv3-font-caption);gap:10px}.quote-detail-lines{font-size:10px}.quote-detail-head{min-height:36px;color:var(--mv3-warm-gray);border-bottom:1px solid var(--mv3-line);font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.04em;background:#f2f0eb;padding:0 12px;font-weight:820}.quote-detail-row{min-height:52px;border-bottom:1px solid var(--mv3-divider)!important;background:var(--mv3-warm-surface)!important;padding:8px 12px!important}.quote-detail-row:hover{background:var(--mv3-warm-soft)}.quote-detail-row strong{color:#353532!important}.quote-detail-row small,.quote-line-note-display{color:#8d8882}.product-reference-link{font-weight:760;color:var(--mv3-accent)!important}.quote-footer-grid{gap:12px!important;padding:14px 15px!important}.quote-totals{border:1px solid var(--mv3-line);background:var(--mv3-warm-soft);border-radius:9px;padding:11px 12px!important}.quote-totals>div{color:#6f6a64;font-size:10px}.quote-total-gross{border-top:1px solid #dcd6ce;margin-top:6px;padding-top:8px;color:#2d2e2c!important}.quote-total-gross strong{font-size:16px!important}.detail-side{gap:10px!important}.detail-side>.panel{padding:13px}.panel-heading{margin-bottom:9px!important}.panel-heading h2,.panel-heading strong{color:#353532;font-size:11px!important}.project-info-list{gap:0!important}.project-info-list>div{padding:8px 0;border-bottom:1px solid var(--mv3-divider)!important;font-size:var(--mv3-font-caption)!important}.project-info-list>div:last-child{border-bottom:0}.dashboard-reminders,.reminder-row{font-size:var(--mv3-font-caption)}.reminder-row{border-bottom-color:var(--mv3-divider)}.project-metrics,.product-metrics-grid,.customer-metrics-grid,.product-360-metrics{gap:9px}.project-detail-layout,.customer-overview-grid{gap:12px}.building-block,.unit-card{box-shadow:none;border-radius:9px;border-color:var(--mv3-line)!important;background:var(--mv3-warm-surface)!important}.building-title{border-bottom-color:#e7e1d8;background:#f5f2ed!important}.unit-card:hover{background:var(--mv3-warm-soft);border-color:#d6cfc5}.unit-icon{background:var(--mv3-accent-soft)!important;color:var(--mv3-accent)!important}.project-planning-item{border-bottom-color:var(--mv3-divider);padding-block:8px}.project-planning-date{color:#877f78!important}.project-planning-copy strong{color:#343431!important}.product-master-hero{gap:14px;padding:14px}.product-master-image{border-color:var(--mv3-line);background:#f5f2ed;border-radius:9px}.product-title-block h1{letter-spacing:-.55px;font-size:24px!important}.product-hero-meta{color:#827d77!important;font-size:var(--mv3-font-caption)!important}.product-quality-summary{border:1px solid var(--mv3-line);background:var(--mv3-warm-soft);border-radius:9px}.product-quality-icon{background:var(--mv3-accent-soft)!important;color:var(--mv3-accent)!important}.product-analytics-panel,.product-history-panel,.product-workspace-panel{border-color:var(--mv3-line);border-radius:10px}.product-party-stat-row,.product-history-row{border-bottom-color:var(--mv3-divider)}.product-history-head{color:var(--mv3-warm-gray);border-bottom-color:var(--mv3-line);background:#f2f0eb}.product-info-cards>div,.product-packaging-block,.price-summary,.product-variant-card{border-radius:9px;border-color:var(--mv3-line)!important;background:var(--mv3-warm-surface)!important}.product-variant-card:hover{background:var(--mv3-warm-soft);border-color:#d6cfc5}.product-variant-image{background:#f3f0eb;border-radius:7px}.product-related-links a,.variant-parent-link{color:var(--mv3-accent)}.customer-document-head{border-bottom-color:var(--mv3-line);color:var(--mv3-warm-gray)!important;background:#f2f0eb!important}.customer-document-row,.customer-reminder-row,.timeline-item{border-bottom-color:var(--mv3-divider)}.customer-document-row:hover{background:var(--mv3-warm-soft)!important}.customer-project-card,.contact-card{border-color:var(--mv3-line);box-shadow:none;border-radius:9px}.customer-project-card:hover{background:var(--mv3-warm-soft);border-color:#d6cfc5}.customer-project-icon{background:var(--mv3-accent-soft);color:var(--mv3-accent);border-radius:8px}.timeline-dot,.reminder-dot{background:#c97867}.timeline-title{color:#383835}.customer-summary-line{border-bottom-color:var(--mv3-divider)}.supplier-confirmation-review{border-color:var(--mv3-line);background:var(--mv3-warm-surface)!important;border-radius:10px!important}.supplier-confirmation-review-summary{border-bottom-color:var(--mv3-line);background:var(--mv3-warm-soft)!important}.supplier-confirmation-review-line{border-bottom-color:var(--mv3-divider)}.supplier-confirmation-review-line.head{color:var(--mv3-warm-gray);background:#f2f0eb}.supplier-confirmation-delta{color:var(--mv3-amber)}.entity-form{gap:11px}.form-section,.inline-admin-form{padding:15px}.form-section-title{margin-bottom:12px}.form-section-title h2{font-size:12px!important}.form-section-title p{font-size:var(--mv3-font-caption);color:#85817b}.form-grid{gap:10px!important}.form-grid label{gap:4px}.form-grid label>span,.login-form label>span{font-size:var(--mv3-font-caption);color:#6e6963}.role-picker{gap:5px;margin-bottom:12px}.role-chip{min-height:29px;font-size:var(--mv3-font-caption);border-radius:999px}.form-actions{gap:6px!important}.empty-state.compact-empty{min-height:110px;font-size:var(--mv3-font-caption);padding:14px}.internal-note{background:#fbf5f2;border-left:3px solid #cf8b7e;color:#625b56!important}.internal-note strong{color:#423f3b}@media (max-width:1100px){.quote-document-layout{grid-template-columns:1fr!important}}@media (max-width:760px){.quote-detail-content,.product-workspace-content,.customer-detail-content{padding-top:14px}.quote-hero,.project-hero,.party-hero,.product-master-hero{border-radius:9px}.quote-document-header,.quote-footer-grid{padding:12px}.quote-detail-head{display:none!important}.quote-detail-row{padding:10px}}.contacts-heading-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.contacts-metrics{margin-bottom:10px}.contacts-panel{padding:0;overflow:hidden}.contacts-primary-filter{color:#6f6a64;font-size:var(--mv3-font-caption);white-space:nowrap;align-items:center;gap:6px;font-weight:700;display:inline-flex}.contacts-primary-filter input,.contact-primary-checkbox input{width:14px;height:14px;margin:0;min-height:14px!important}.contacts-table{min-width:0}.contacts-table-head,.contacts-row{grid-template-columns:minmax(190px,1.05fr) minmax(190px,1fr) minmax(150px,.78fr) minmax(220px,1.15fr) 24px;align-items:center;gap:10px;display:grid}.contacts-table-head{border-bottom:1px solid var(--mv3-line);min-height:35px;color:var(--mv3-warm-gray);font-size:var(--mv3-font-caption);letter-spacing:.04em;text-transform:uppercase;background:#f2f0eb;padding:0 12px;font-weight:820}.contacts-row{border-bottom:1px solid var(--mv3-divider);background:var(--mv3-warm-surface);min-height:58px;color:inherit;padding:8px 12px;text-decoration:none}.contacts-row:hover{background:var(--mv3-warm-soft)}.contacts-row:last-child{border-bottom:0}.contacts-party,.contacts-coordinates{gap:2px;min-width:0;display:grid}.contacts-party strong{color:#393936;font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.contacts-party small{color:#8d8882;font-size:var(--mv3-font-caption)}.contacts-coordinates span{color:#77726c;min-width:0;font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:5px;display:flex;overflow:hidden}.contact-primary-checkbox{grid-template-columns:auto 1fr;align-items:center;gap:7px;min-height:30px;display:flex}.contact-primary-checkbox span{font-size:var(--mv3-font-caption)}@media (max-width:900px){.contacts-table{overflow-x:auto}.contacts-table-head,.contacts-row{min-width:900px}}@media (max-width:620px){.contacts-heading-actions{width:100%}.contacts-heading-actions a{flex:1}}.contacts-table-head,.contacts-row{grid-template-columns:minmax(185px,1.05fr) minmax(180px,1fr) minmax(140px,.72fr) minmax(210px,1.1fr) 80px 22px}.status-inactive{color:#806f55;background:#f3efe7;border-color:#e2d8c8}.status-archived{color:#77746f!important;background:#efefed!important;border-color:#dedbd5!important}.contact-history-panel{margin-top:12px;padding:0;overflow:hidden}.contact-history-list{display:grid}.contact-history-row{border-bottom:1px solid var(--mv3-divider);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 12px;display:flex}.contact-history-row:last-child{border-bottom:0}.contact-history-row>span{gap:2px;min-width:0;display:grid}.contact-history-row strong{color:#3a3936;font-size:var(--mv3-font-caption)}.contact-history-row small,.contact-history-row time{color:#8d8882;font-size:var(--mv3-font-caption)}.contact-card-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.panel-heading-actions{align-items:center;gap:7px;display:flex}.party-duplicate-metrics{margin-bottom:10px}.party-duplicate-panel{padding:0;overflow:hidden}.party-duplicate-list{display:grid}.party-duplicate-card{border-bottom:1px solid var(--mv3-divider);background:var(--mv3-warm-surface);grid-template-columns:64px minmax(0,1fr) minmax(170px,.72fr) minmax(175px,.72fr);align-items:center;gap:12px;padding:12px;display:grid}.party-duplicate-card:last-child{border-bottom:0}.party-duplicate-card:hover{background:var(--mv3-warm-soft)}.party-duplicate-score{background:#fbf3ef;border:1px solid #e4d8cf;border-radius:9px;align-content:center;place-items:center;width:54px;height:54px;display:grid}.party-duplicate-score strong{color:#b45645;font-size:17px;line-height:1}.party-duplicate-score small{color:#958c85;font-size:var(--mv3-font-caption);text-transform:uppercase;margin-top:3px}.party-duplicate-comparison{grid-template-columns:1fr 1fr;gap:7px;min-width:0;display:grid}.party-duplicate-party{border:1px solid var(--mv3-line);background:var(--mv3-warm-surface);min-width:0;color:inherit;border-radius:8px;grid-template-columns:31px minmax(0,1fr) 14px;align-items:center;gap:7px;padding:8px;text-decoration:none;display:grid}.party-duplicate-party:hover{background:#fcfbf8;border-color:#d8cec5}.party-duplicate-party>span:nth-child(2){gap:2px;min-width:0;display:grid}.party-duplicate-party strong{color:#383835;font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.party-duplicate-party small{color:#8d8882;font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.party-duplicate-party .badge-list{margin-top:3px}.party-duplicate-reasons{flex-wrap:wrap;gap:4px;display:flex}.party-duplicate-reasons span{color:#726a64;font-size:var(--mv3-font-caption);background:#f6f2ec;border:1px solid #e4ddd5;border-radius:999px;padding:3px 6px;font-weight:760}.party-merge-action{justify-items:start;gap:5px;display:grid}.party-merge-action .form-error{max-width:240px;font-size:var(--mv3-font-caption)}.party-history-panel{margin-bottom:12px;padding:0;overflow:hidden}.party-history-list{display:grid}.party-history-row{border-bottom:1px solid var(--mv3-divider);justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 12px;display:flex}.party-history-row>span{gap:2px;min-width:0;display:grid}.party-history-row strong{color:#3a3936;font-size:var(--mv3-font-caption)}.party-history-row small,.party-history-row time{color:#8d8882;font-size:var(--mv3-font-caption)}@media (max-width:1100px){.party-duplicate-card{grid-template-columns:54px minmax(0,1fr)}.party-duplicate-reasons,.party-merge-action{grid-column:2}}@media (max-width:720px){.party-duplicate-card{grid-template-columns:1fr}.party-duplicate-score,.party-duplicate-reasons,.party-merge-action{grid-column:1}.party-duplicate-comparison{grid-template-columns:1fr}}.dolibarr-reconcile-match{gap:2px;min-width:180px;display:grid}.dolibarr-reconcile-match strong{color:#383835;font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dolibarr-reconcile-match small{color:#8a817b;font-size:var(--mv3-font-caption);line-height:1.3}.dolibarr-reconcile-select{background:var(--mv3-warm-surface);color:#4b4844;min-width:108px;min-height:30px;font-size:var(--mv3-font-caption);border:1px solid #ddd7cf;border-radius:7px;padding:0 7px;font-weight:760}.dolibarr-reconcile-select:focus{border-color:#d39a8d;box-shadow:0 0 0 2px #d84a3414}.data-table td .dolibarr-reconcile-match+*{margin-top:3px}.dolibarr-reconcile-controls{gap:5px;min-width:170px;display:grid}.dolibarr-reconcile-target{background:var(--mv3-warm-soft);color:#5c5752;min-width:170px;min-height:30px;font-size:var(--mv3-font-caption);border:1px solid #e2ddd6;border-radius:7px;padding:0 7px}.dolibarr-reconcile-target:focus{border-color:#d39a8d;box-shadow:0 0 0 2px #d84a3414}.party-workspace{max-width:1560px!important}.party-hero-compact{grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;display:grid;margin-bottom:8px!important;padding:12px 14px!important}.party-hero-copy{min-width:0}.party-hero-copy h1{margin:4px 0 1px;font-size:22px!important}.party-hero-copy p{color:#7f7b75;font-size:var(--mv3-font-caption);margin:0}.party-hero-actions{align-self:start}.party-hero-summary{border-top:1px solid var(--mv3-divider);flex-wrap:wrap;grid-column:1/-1;gap:5px;padding-top:8px;display:flex}.party-hero-summary>span{background:var(--mv3-warm-soft);border:1px solid #e8e3dc;border-radius:7px;gap:1px;min-width:120px;padding:6px 8px;display:grid}.party-hero-summary small{color:#8a857f;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.05em}.party-hero-summary strong{color:#353532;font-size:10px}.party-hero-summary .is-alert{background:#fbefec;border-color:#ecd0c8}.party-hero-summary .is-alert strong{color:#b44b39}.party-tabs{z-index:20;border:1px solid var(--mv3-line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-radius:9px;gap:2px;margin-bottom:10px;padding:4px;display:flex;position:sticky;top:62px;overflow-x:auto;box-shadow:0 3px 12px #2a27220a}.party-tab{color:#77726c;min-height:31px;font-size:var(--mv3-font-caption);white-space:nowrap;border-radius:6px;flex:none;align-items:center;gap:5px;padding:0 9px;font-weight:760;text-decoration:none;display:inline-flex}.party-tab small{background:var(--mv3-divider);color:#77716b;min-width:17px;height:17px;font-size:var(--mv3-font-caption);border-radius:999px;place-items:center;padding:0 4px;font-weight:800;display:inline-grid}.party-tab.active small{color:var(--mv3-warm-surface);background:#ffffff24}.party-tab small.alert{color:#b44a38;background:#f8dfd9}.party-tab.active small.alert{background:var(--mv3-accent);color:var(--mv3-warm-surface)}.party-tab-content{gap:10px;display:grid}.party-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.party-summary-card{min-height:138px;padding:11px!important}.party-summary-card .panel-heading{margin-bottom:8px}.party-summary-card .text-link{margin-top:auto}.party-summary-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:9px;display:grid}.party-summary-stats span{gap:1px;min-width:0;display:grid}.party-summary-stats small{color:#918a83;font-size:var(--mv3-font-caption)}.party-summary-stats strong{color:#383835;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.party-summary-stats .is-alert strong{color:#b44a38}.party-primary-contact{gap:3px;margin-bottom:10px;display:grid}.party-primary-contact span{color:#8c8781;font-size:var(--mv3-font-caption)}.party-primary-contact strong{color:#393936;font-size:10px}.party-primary-contact small{color:#77726d;font-size:var(--mv3-font-caption)}.party-overview-secondary{grid-template-columns:minmax(0,1.55fr) minmax(280px,.7fr);gap:9px;display:grid}.party-alert-panel{padding:11px}.party-alert-list{gap:4px;display:grid}.party-alert-list>a,.party-alert-list>div{color:inherit;background:#fbfaf7;border:1px solid #ebe5dd;border-radius:7px;grid-template-columns:9px minmax(0,1fr);align-items:start;gap:7px;padding:7px;text-decoration:none;display:grid}.party-alert-list>a:hover{background:#f7f3ee}.party-alert-list span:last-child{gap:1px;display:grid}.party-alert-list strong{font-size:var(--mv3-font-caption);color:#45423e}.party-alert-list small{font-size:var(--mv3-font-caption);color:#918a83}.party-alert-dot{background:#bdb7b0;border-radius:999px;width:7px;height:7px;margin-top:3px}.party-alert-dot.danger{background:var(--mv3-accent)}.party-alert-dot.warning{background:#c9954c}.party-alert-dot.ok{background:#6e9f62}.party-recent-activity{padding:11px}.party-contact-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.party-contact-card{min-width:0}.party-commerce-summary{grid-template-columns:repeat(2,minmax(0,220px))!important}.party-history-layout{grid-template-columns:minmax(0,1.5fr) minmax(320px,.7fr)}.party-history-layout>.panel{align-self:start}@media (max-width:1180px){.party-overview-grid,.party-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.party-history-layout{grid-template-columns:1fr}}@media (max-width:900px){.party-tabs{top:58px}.party-overview-secondary,.party-hero-compact{grid-template-columns:1fr}.party-hero-actions{justify-self:start}}@media (max-width:680px){.party-overview-grid,.party-contact-grid{grid-template-columns:1fr}.party-summary-stats{grid-template-columns:1fr 1fr 1fr}.party-tab{padding-inline:8px}.party-hero-summary>span{flex:calc(50% - 3px);min-width:calc(50% - 3px)}}.party-create-menu{position:relative}.party-create-menu>summary{cursor:pointer;list-style:none}.party-create-menu>summary::-webkit-details-marker{display:none}.party-create-trigger{gap:6px;min-height:34px!important}.party-create-menu[open]>.party-create-trigger{background:var(--mv3-accent-strong)}.party-create-popover{z-index:80;background:var(--mv3-warm-surface);border:1px solid #ddd7cf;border-radius:10px;width:300px;padding:8px;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 16px 40px #28252124}.party-create-popover-head{border-bottom:1px solid var(--mv3-divider);gap:2px;padding:5px 6px 8px;display:grid}.party-create-popover-head strong{color:#353532;font-size:10px}.party-create-popover-head small{font-size:var(--mv3-font-caption);color:#8d8882}.party-create-actions{grid-template-columns:1fr 1fr;gap:5px;padding-top:7px;display:grid}.party-create-actions>a{color:#4b4844;background:#fbfaf7;border:1px solid #ebe6df;border-radius:8px;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:7px;min-width:0;padding:8px;text-decoration:none;display:grid}.party-create-actions>a:hover{background:#f7f3ee;border-color:#dfd6cd}.party-create-actions>a>svg{color:#c55c49}.party-create-actions>a>span{gap:1px;min-width:0;display:grid}.party-create-actions strong{font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.party-create-actions small{color:#918a83;font-size:var(--mv3-font-caption);line-height:1.2}@media (max-width:720px){.party-create-popover{width:auto;max-height:70vh;position:fixed;inset:auto 12px 12px;overflow:auto}.party-create-actions{grid-template-columns:1fr}}.party-workspace .customer-document-table,.party-workspace .customer-reminder-history{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.party-tabs{scrollbar-width:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.party-tabs::-webkit-scrollbar{display:none}.party-hero-actions .quick-action,.party-hero-actions .party-create-trigger{min-height:32px;padding:0 9px;font-size:var(--mv3-font-caption)!important;border-radius:7px!important}.party-workspace .panel{min-width:0}.party-workspace .customer-document-table{margin-top:10px}.party-workspace .customer-document-head{min-height:34px!important;font-size:var(--mv3-font-caption)!important}.party-workspace .customer-document-row{padding-block:7px;min-height:52px!important}.party-workspace .customer-reminder-row{min-height:52px}.party-workspace .info-grid{gap:8px;margin-top:10px}.party-workspace .info-grid>div{border-radius:8px;padding:9px}.party-workspace .timeline{margin-top:8px!important}.party-workspace .timeline-item{padding-bottom:12px}.party-workspace .timeline-item p{margin:4px 0;font-size:var(--mv3-font-caption)!important}.party-workspace .timeline-item small{font-size:var(--mv3-font-caption)!important}.party-workspace .customer-project-card{padding:8px 0}@media (max-width:1180px){.party-hero-summary>span{flex:120px}.party-hero-actions{justify-content:flex-end;max-width:520px}.party-summary-card{min-height:128px}}@media (max-width:900px){.party-workspace{padding-inline:14px!important}.party-hero-compact{gap:9px;padding:10px!important}.party-hero-main{gap:10px}.party-hero-main .party-avatar.large{flex-basis:44px;width:44px;height:44px;font-size:13px}.party-hero-copy h1{font-size:19px!important}.party-hero-actions{justify-content:flex-start;width:100%;max-width:none}.party-tabs{margin-inline:-2px;padding:3px}.party-tab{min-height:30px;font-size:var(--mv3-font-caption)}.party-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.party-overview-secondary{grid-template-columns:1fr}.party-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.party-history-layout{grid-template-columns:1fr}.party-commerce-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (max-width:680px){.party-workspace{padding-inline:8px}.party-hero-compact{margin-bottom:6px;padding:9px;border-radius:8px!important}.party-hero-main{align-items:flex-start}.party-hero-copy .badge-list{gap:3px}.party-hero-copy .badge{font-size:var(--mv3-font-caption)!important;padding:2px 5px!important}.party-hero-copy h1{margin-top:3px;font-size:18px!important;line-height:1.15!important}.party-hero-copy p{font-size:var(--mv3-font-caption)!important}.party-hero-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid}.party-hero-actions>.party-create-menu{grid-column:span 2}.party-hero-actions>.party-create-menu .party-create-trigger{justify-content:center;width:100%}.party-hero-actions>.quick-action{justify-content:center;min-width:0;padding:0 6px!important;font-size:0!important}.party-hero-actions>.quick-action svg{width:15px;height:15px}.party-hero-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding-top:6px;display:grid}.party-hero-summary>span{min-width:0;padding:6px}.party-hero-summary small{font-size:var(--mv3-font-caption)}.party-hero-summary strong{font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.party-tabs{border-left:0;border-right:0;border-radius:0;margin:0 -8px 8px;padding:4px 8px;top:58px;box-shadow:0 2px 8px #2a27220a}.party-tab{border-radius:6px;min-height:29px;padding-inline:8px}.party-overview-grid,.party-contact-grid{grid-template-columns:1fr;gap:7px}.party-summary-card{min-height:0;padding:9px}.party-summary-stats{margin-bottom:7px}.party-overview-secondary{gap:7px}.party-workspace .info-grid{grid-template-columns:1fr!important}.party-workspace .customer-metrics-grid{gap:6px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.party-workspace .metric-card{min-width:0;padding:8px}.party-workspace .metric-money{font-size:10px}.party-workspace .customer-document-table{border-radius:8px;margin-inline:-1px}.party-workspace .customer-document-head,.party-workspace .customer-document-row{min-width:760px}.party-workspace .customer-reminder-history{overflow:visible}.party-workspace .customer-reminder-row{grid-template-columns:1fr;gap:5px;padding:8px}.party-workspace .customer-project-card{grid-template-columns:30px minmax(0,1fr);gap:7px!important}.party-workspace .customer-project-icon{width:30px;height:30px}.party-workspace .customer-project-card>span:nth-child(3){grid-column:2;justify-items:start}.party-history-row{flex-direction:column;align-items:flex-start;gap:3px}.party-history-row time{padding-left:0}.party-create-popover{border-radius:12px;box-shadow:0 -10px 34px #2825212e}.party-create-popover-head{z-index:1;background:var(--mv3-warm-surface);border-radius:12px 12px 0 0;margin:-8px -8px 0;padding:11px 14px 9px;position:sticky;top:0}.party-create-actions>a{min-height:48px}}@media (max-width:420px){.party-workspace .customer-metrics-grid,.party-commerce-summary{grid-template-columns:1fr}.party-hero-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.party-hero-actions>.party-create-menu{grid-column:span 3}.party-hero-summary{grid-template-columns:1fr 1fr}.party-summary-stats{grid-template-columns:1fr 1fr 1fr;gap:4px}}.party-workspace{scroll-behavior:smooth}.party-subnav{z-index:14;scrollbar-width:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#faf8f4f5;border:1px solid #e4dfd8;border-radius:8px;align-items:center;gap:4px;width:fit-content;max-width:100%;padding:4px;display:flex;position:sticky;top:105px;overflow-x:auto;box-shadow:0 2px 8px #28252109}.party-subnav::-webkit-scrollbar{display:none}.party-subnav a{color:#6f6a64;min-height:27px;font-size:var(--mv3-font-caption);white-space:nowrap;border-radius:6px;align-items:center;gap:5px;padding:0 8px;font-weight:760;text-decoration:none;display:inline-flex}.party-subnav a:hover{background:var(--mv3-warm-surface);color:#3f3d39}.party-subnav small{color:#817b74;min-width:16px;height:16px;font-size:var(--mv3-font-caption);background:#e9e4dd;border-radius:999px;place-items:center;padding:0 4px;display:grid}.party-tab-content>[id]{scroll-margin-top:150px}.party-action-empty{align-content:center;justify-items:center;gap:5px;min-height:118px!important}.party-action-empty>span{color:#8d8882;max-width:420px;font-size:var(--mv3-font-caption);line-height:1.45}.party-action-empty>.primary-button,.party-action-empty>.secondary-button{margin-top:4px;padding-inline:10px;min-height:30px!important;font-size:var(--mv3-font-caption)!important}.party-action-empty strong{font-size:10px}.party-tab[aria-current=page]{outline:none}.party-tab:focus-visible,.party-subnav a:focus-visible,.party-create-actions>a:focus-visible{outline-offset:2px;outline:2px solid #d84a3447}@media (max-width:900px){.party-subnav{top:96px}.party-tab-content>[id]{scroll-margin-top:138px}}@media (max-width:680px){.party-subnav{width:100%;margin-top:-2px;padding:3px;position:relative;top:auto}.party-subnav a{flex:none;min-height:28px}.party-tab-content>[id]{scroll-margin-top:112px}.party-action-empty{padding:14px;min-height:105px!important}}html,body{color:var(--mv3-text);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}body,button,input,select,textarea{font-family:Segoe UI Variable Text,Segoe UI,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}h1,h2,h3,strong{color:var(--mv3-text-strong)}p,small,.muted-copy{color:var(--mv3-text-muted)}.primary-button,.secondary-button,.quick-action,.party-create-trigger{letter-spacing:0;border-radius:8px;font-size:12px;font-weight:600}.secondary-button,.quick-action{box-shadow:0 1px 2px #00000008;color:var(--mv3-text)!important}.primary-button{box-shadow:0 1px 2px #00000014}.compact{padding-inline:11px;min-height:32px!important;font-size:11px!important}.badge{letter-spacing:0;border-radius:999px;align-items:center;min-height:21px;display:inline-flex;padding:3px 7px!important;font-size:10.5px!important;font-weight:600!important}.party-workspace .panel,.party-workspace .metric-card,.party-hero-compact{border-color:var(--mv3-border);border-radius:10px;box-shadow:0 1px 2px #00000009,0 4px 12px #00000006}.party-workspace .panel-heading h2{font-size:15px;font-weight:650;line-height:1.25}.party-workspace .eyebrow{color:#b74734;letter-spacing:.055em;margin-bottom:4px;font-size:10.5px;font-weight:700}.party-workspace .text-link{font-size:11.5px;font-weight:600}.party-workspace .party-hero-copy h1{letter-spacing:-.35px;font-weight:650;color:var(--mv3-text-heading)!important;font-size:23px!important}.party-workspace .party-hero-copy p{color:var(--mv3-text-muted);line-height:1.35;font-size:12px!important}.party-tab{border-radius:6px;min-height:34px;padding-inline:11px;color:var(--mv3-text-muted)!important;font-size:11.5px!important;font-weight:600!important}.party-tab:hover{color:var(--mv3-text)!important;background:#f3f2f1!important}.party-tab.active{color:var(--mv3-warm-surface)!important;background:#2b2b2b!important}.party-tab small{min-width:19px;height:19px;font-weight:650;font-size:var(--mv3-font-caption)!important}.party-subnav a{min-height:30px;padding-inline:10px;font-weight:600;font-size:10.5px!important}.party-subnav small{font-size:var(--mv3-font-caption)}.party-hero-summary small,.party-summary-stats small,.party-primary-contact span,.party-primary-contact small{color:var(--mv3-text-subtle);font-size:10px!important}.party-hero-summary strong,.party-summary-stats strong,.party-primary-contact strong{font-size:12px;font-weight:650}.party-summary-card{min-height:145px}.party-alert-list strong{font-weight:600;font-size:11.5px!important}.party-alert-list small{font-size:10px;line-height:1.35}.party-workspace .info-grid small{color:var(--mv3-text-subtle)!important;font-size:10.5px!important}.party-workspace .info-grid strong{color:var(--mv3-text-deep);font-size:12px;font-weight:600}.party-workspace .customer-summary-line>span,.party-workspace .customer-summary-line>span small{font-size:11px}.party-workspace .customer-document-head{min-height:38px;color:var(--mv3-text-muted);letter-spacing:.035em;background:#f7f6f4;font-size:10px;font-weight:650}.party-workspace .customer-document-row{border-bottom-color:#e7e4df;min-height:58px}.party-workspace .customer-document-row>span,.party-workspace .customer-document-row>strong{font-size:11.5px!important}.party-workspace .customer-document-row small{color:var(--mv3-text-subtle);font-size:10px!important}.party-workspace .customer-document-row:hover{background:var(--mv3-surface-subtle)}.party-workspace .timeline-title strong{font-size:12px;font-weight:650}.party-workspace .timeline-item p{line-height:1.45;color:#4f4c49!important;font-size:11.5px!important}.party-workspace .timeline-item small{color:#74706c;font-size:10px}.party-workspace .timeline-dot{background:var(--mv3-accent);border-color:#fae8e4}.party-history-panel{border-radius:10px}.party-history-list{gap:0}.party-history-row{background:var(--mv3-warm-surface);align-items:center;min-height:62px;display:grid;border-bottom:1px solid var(--mv3-border-muted)!important;grid-template-columns:112px minmax(0,1fr) auto!important;gap:12px!important;padding:10px 12px!important}.party-history-row:hover{background:var(--mv3-surface-subtle)}.party-history-row:last-child{border-bottom:0}.party-history-copy{gap:3px;min-width:0;display:grid}.party-history-copy strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden;color:var(--mv3-text-deep)!important;font-size:12px!important}.party-history-copy small{color:var(--mv3-text-subtle);font-size:10px}.party-history-row time{color:#74706c;white-space:nowrap;font-size:10px}.audit-kind{border:1px solid var(--mv3-border-soft);color:#4f4c49;background:#f7f6f4;border-radius:6px;justify-content:center;align-items:center;width:fit-content;min-height:24px;padding:3px 8px;font-size:10px;font-weight:650;display:inline-flex}.audit-kind-create{border-color:var(--mv3-success-border);color:#35684a;background:#eef7f1}.audit-kind-status{color:#7d622a;background:#faf5e8;border-color:#e4d8bd}.audit-kind-merge{color:#9d4939;background:#fbefec;border-color:#ebd2ca}.audit-kind-import{color:#5d567b;background:#f2f0f8;border-color:#d8d5e8}.audit-kind-update{color:#4e5963;background:#f3f5f7;border-color:#d9dfe5}.party-action-empty strong{font-weight:600;font-size:12px!important}.party-action-empty>span{color:var(--mv3-text-subtle);line-height:1.4;font-size:11px!important}.party-action-empty>.primary-button,.party-action-empty>.secondary-button{min-height:32px;font-size:11px}.party-create-popover-head strong{font-weight:650;font-size:12px!important}.party-create-popover-head small{font-size:10px}.party-create-actions strong{font-weight:600;font-size:11.5px!important}.party-create-actions small{font-size:var(--mv3-font-caption);line-height:1.35}@media (max-width:680px){.party-workspace .party-hero-copy h1{font-size:20px!important}.party-workspace .party-hero-copy p{font-size:11px!important}.party-workspace .party-hero-copy .badge{font-size:var(--mv3-font-caption)}.party-tab{font-size:10.5px}.party-hero-summary small{font-size:var(--mv3-font-caption)!important}.party-hero-summary strong{font-size:11px}.party-summary-stats small{font-size:var(--mv3-font-caption)!important}.party-summary-stats strong{font-size:11.5px}.party-history-row{grid-template-columns:1fr;gap:5px;padding:10px}.party-history-copy strong{white-space:normal}}
.invoice-tabs{z-index:20;border:1px solid var(--mv3-border,var(--mv3-border-soft));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);scrollbar-width:none;background:#fffffff5;border-radius:9px;gap:2px;margin:8px 0 10px;padding:4px;display:flex;position:sticky;top:62px;overflow-x:auto;box-shadow:0 2px 8px #00000009}.invoice-tabs::-webkit-scrollbar{display:none}.invoice-tab{min-height:34px;color:var(--mv3-text-muted);white-space:nowrap;border-radius:6px;flex:none;align-items:center;gap:5px;padding:0 11px;font-size:11.5px;font-weight:600;text-decoration:none;display:inline-flex}.invoice-tab:hover{color:var(--mv3-text);background:#f3f2f1}.invoice-tab.active{color:var(--mv3-warm-surface);background:#2b2b2b}.invoice-tab small{min-width:19px;height:19px;color:var(--mv3-text-subtle);font-size:var(--mv3-font-caption);background:#ebe8e4;border-radius:999px;place-items:center;padding:0 4px;font-weight:650;display:grid}.invoice-tab.active small{color:var(--mv3-warm-surface);background:#ffffff24}.invoice-tab small.alert{color:#b44a38;background:#f8dfd9}.invoice-tab.active small.alert{background:var(--mv3-accent);color:var(--mv3-warm-surface)}.invoice-tab-content{gap:10px;display:grid}.invoice-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.invoice-overview-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:10px;display:grid}.invoice-two-column{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.invoice-overview-status{align-self:start}.invoice-status-list{gap:0;display:grid}.invoice-status-list>div{border-bottom:1px solid var(--mv3-border-muted);justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:8px 0;display:flex}.invoice-status-list>div:last-child{border-bottom:0}.invoice-status-list span{color:var(--mv3-text-muted);font-size:10.5px}.invoice-status-list strong{color:var(--mv3-text-deep);text-align:right;font-size:11.5px;font-weight:600}.invoice-lines-document{max-width:none}.invoice-detail-layout .quote-hero h1{letter-spacing:-.35px;color:var(--mv3-text-heading)!important;font-size:23px!important;font-weight:650!important}.invoice-detail-layout .quote-hero p{color:var(--mv3-text-muted)!important;font-size:12px!important}.invoice-detail-layout .quote-document-header h2{font-size:16px;font-weight:650}.invoice-detail-layout .quote-document-dates{color:var(--mv3-text-muted);font-size:10.5px}.invoice-detail-layout .quote-detail-head{min-height:38px;font-size:10px;font-weight:650}.invoice-detail-layout .quote-detail-row{min-height:58px}.invoice-detail-layout .quote-detail-row strong{color:var(--mv3-text-deep);font-weight:600;font-size:11.5px!important}.invoice-detail-layout .quote-detail-row span,.invoice-detail-layout .quote-detail-row small{font-size:10.5px}.invoice-detail-layout .quote-totals>div{font-size:11px}.invoice-detail-layout .quote-total-gross strong{font-size:17px!important}.invoice-credit-balance{background:var(--mv3-surface-subtle);border:1px solid #e4dfd8;border-radius:8px;gap:3px;margin-bottom:10px;padding:10px 12px;display:grid}.invoice-credit-balance small{color:var(--mv3-text-muted);font-size:10px}.invoice-credit-balance strong{color:var(--mv3-text-heading);font-size:18px;font-weight:650}.invoice-credit-list{display:grid}.invoice-credit-row{border-bottom:1px solid var(--mv3-border-muted);min-height:54px;color:inherit;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 0;text-decoration:none;display:grid}.invoice-credit-row:last-child{border-bottom:0}.invoice-credit-row:hover{background:var(--mv3-surface-subtle)}.invoice-credit-row>span:first-child{gap:2px;min-width:0;display:grid}.invoice-credit-row strong{color:var(--mv3-text-deep);font-size:11.5px;font-weight:600}.invoice-credit-row small{color:var(--mv3-text-subtle);font-size:10px}.invoice-tab-content .panel-heading h2{font-weight:650;color:var(--mv3-text-heading)!important;font-size:15px!important}.invoice-tab-content .eyebrow{color:#b74734;font-size:10.5px;font-weight:700}.invoice-tab-content .dashboard-reminders,.invoice-tab-content .reminder-row{font-size:11px!important}.invoice-tab-content .reminder-row{min-height:50px;padding:8px 0}.invoice-tab-content .reminder-row strong{font-weight:600;color:var(--mv3-text-deep)!important;font-size:11.5px!important}.invoice-tab-content .reminder-row small{color:var(--mv3-text-subtle);line-height:1.35;font-size:10px!important}.invoice-tab-content .empty-state strong{font-size:12px!important}.invoice-tab-content .empty-state span{font-size:10.5px}@media (max-width:1000px){.invoice-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.invoice-overview-grid,.invoice-two-column{grid-template-columns:1fr}}@media (max-width:680px){.invoice-tabs{border-left:0;border-right:0;border-radius:0;margin:0 -8px 8px;padding:4px 8px;top:58px}.invoice-tab{min-height:30px;padding-inline:8px;font-size:10.5px}.invoice-summary-grid{grid-template-columns:1fr 1fr}.quote-detail-content:not(.quote-premium-detail) .quote-detail-lines{-webkit-overflow-scrolling:touch;overflow-x:auto}.quote-detail-content:not(.quote-premium-detail) .quote-detail-head,.quote-detail-content:not(.quote-premium-detail) .quote-detail-row{min-width:820px!important}.invoice-credit-row{grid-template-columns:1fr;gap:5px}}.invoice-detail-layout .quote-hero{grid-template-columns:minmax(0,1fr) auto!important;gap:10px 16px!important;display:grid!important}.invoice-hero-summary{border-top:1px solid var(--mv3-border-muted);flex-wrap:wrap;grid-column:1/-1;gap:5px;padding-top:8px;display:flex}.invoice-hero-summary>span{border:1px solid var(--mv3-border-warm);background:var(--mv3-surface-subtle);border-radius:7px;gap:1px;min-width:145px;padding:7px 9px;display:grid}.invoice-hero-summary small{color:var(--mv3-text-muted);font-size:10px;font-weight:600}.invoice-hero-summary strong{color:var(--mv3-text-heading);font-size:12px;font-weight:650}.invoice-hero-summary em{color:#a64a38;font-size:var(--mv3-font-caption);margin-top:1px;font-style:normal;font-weight:600}.invoice-hero-summary .is-alert{border-color:var(--mv3-error-border);background:#fbefec}.invoice-hero-summary .is-open{background:#faf5e8;border-color:#e4d8bd}.invoice-hero-summary .is-ok{border-color:var(--mv3-success-border);background:#eef7f1}.invoice-alert-strip{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:6px;display:grid}.invoice-alert-item{border:1px solid var(--mv3-border-warm);background:var(--mv3-warm-surface);min-width:0;color:inherit;border-radius:8px;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:7px;padding:9px 10px;text-decoration:none;display:grid}.invoice-alert-item>svg{width:28px;height:28px;color:var(--mv3-text-muted);background:#f3f2f1;border-radius:7px;margin-top:1px;padding:5px}.invoice-alert-item>span{gap:2px;min-width:0;display:grid}.invoice-alert-item strong{color:var(--mv3-text-deep);font-size:11.5px;font-weight:650}.invoice-alert-item small{color:var(--mv3-text-subtle);font-size:10px;line-height:1.35}.invoice-alert-item.danger{border-color:var(--mv3-error-border);background:#fbf3f1}.invoice-alert-item.danger>svg{color:#a94b39;background:#f8dfd9}.invoice-alert-item.warning{border-color:var(--mv3-warning-border);background:#fbf7ec}.invoice-alert-item.warning>svg{color:#80652d;background:#f6ecd2}.invoice-alert-item.info{background:#f5f7f9;border-color:#d9dfe5}.invoice-alert-item.info>svg{color:#53606c;background:#e9edf1}.invoice-alert-item.ok{border-color:var(--mv3-success-border);background:#f2f8f4}.invoice-alert-item.ok>svg{color:#3f7353;background:#e5f1e9}.invoice-history-panel{overflow:hidden;padding:0!important}.invoice-history-panel>.panel-heading{border-bottom:1px solid var(--mv3-border-muted);padding:12px 14px 10px;margin:0!important}.invoice-history-list{display:grid}.invoice-history-row{border-bottom:1px solid var(--mv3-border-muted);background:var(--mv3-warm-surface);grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:10px 14px;display:grid}.invoice-history-row:last-child{border-bottom:0}.invoice-history-row:hover{background:var(--mv3-surface-subtle)}.invoice-history-kind{border:1px solid var(--mv3-border-soft);color:#4f4c49;background:#f7f6f4;border-radius:6px;align-items:center;gap:5px;width:fit-content;max-width:145px;min-height:26px;padding:4px 8px;font-size:10px;font-weight:650;display:inline-flex}.invoice-history-kind.tone-create{border-color:var(--mv3-success-border);color:#35684a;background:#eef7f1}.invoice-history-kind.tone-money{color:#356653;background:#eff7f3;border-color:#cfe1d8}.invoice-history-kind.tone-email{color:#52606d;background:#f3f5f7;border-color:#d8dfe6}.invoice-history-kind.tone-edit{color:#7d622a;background:#faf5e8;border-color:#e4d8bd}.invoice-history-kind.tone-issue{color:#5d567b;background:#f2f0f8;border-color:#d8d5e8}.invoice-history-kind.tone-danger{border-color:var(--mv3-error-border);color:#9d4939;background:#fbefec}.invoice-history-copy{gap:3px;min-width:0;display:grid}.invoice-history-copy strong{color:var(--mv3-text-deep);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:600;overflow:hidden}.invoice-history-copy small{color:var(--mv3-text-subtle);align-items:center;gap:4px;font-size:10px;display:flex}.invoice-history-row time{color:#74706c;white-space:nowrap;align-items:center;gap:4px;font-size:10px;display:flex}.invoice-detail-layout .document-workflow-actions{gap:5px}.invoice-detail-layout .document-workflow-actions .secondary-button,.invoice-detail-layout .document-workflow-actions .primary-button{min-height:34px;font-size:11px}.invoice-detail-layout .status-pill{min-height:28px;font-size:10px!important}.invoice-detail-layout .pdf-photo-override{font-size:10px!important}.invoice-detail-layout .pdf-photo-override select{min-height:31px;font-size:10.5px}@media (max-width:900px){.invoice-detail-layout .quote-hero{grid-template-columns:1fr!important}.invoice-detail-layout .quote-hero-actions{justify-self:start}.invoice-hero-summary{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.invoice-hero-summary>span{min-width:0}.invoice-history-row{grid-template-columns:125px minmax(0,1fr)}.invoice-history-row time{grid-column:2}}@media (max-width:680px){.invoice-alert-strip{grid-template-columns:1fr}.invoice-history-row{grid-template-columns:1fr;gap:5px;padding:10px}.invoice-history-copy strong{white-space:normal}.invoice-history-row time{grid-column:1}.invoice-hero-summary{grid-template-columns:1fr 1fr}}.quote-tabs{z-index:20;border:1px solid var(--mv3-border,var(--mv3-border-soft));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);scrollbar-width:none;background:#fffffff5;border-radius:9px;gap:2px;margin:8px 0 10px;padding:4px;display:flex;position:sticky;top:62px;overflow-x:auto;box-shadow:0 2px 8px #00000009}.quote-tabs::-webkit-scrollbar{display:none}.quote-tab{min-height:34px;color:var(--mv3-text-muted);white-space:nowrap;border-radius:6px;flex:none;align-items:center;gap:5px;padding:0 11px;font-size:11.5px;font-weight:600;text-decoration:none;display:inline-flex}.quote-tab:hover{color:var(--mv3-text);background:#f3f2f1}.quote-tab.active{color:var(--mv3-warm-surface);background:#2b2b2b}.quote-tab small{min-width:19px;height:19px;color:var(--mv3-text-subtle);font-size:var(--mv3-font-caption);background:#ebe8e4;border-radius:999px;place-items:center;padding:0 4px;font-weight:650;display:grid}.quote-tab.active small{color:var(--mv3-warm-surface);background:#ffffff24}.quote-tab small.alert{color:#b44a38;background:#f8dfd9}.quote-tab.active small.alert{background:var(--mv3-accent);color:var(--mv3-warm-surface)}.quote-tab-content{gap:10px;display:grid}.quote-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.quote-overview-grid,.quote-two-column{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.quote-hero-summary{border-top:1px solid var(--mv3-border-muted);flex-wrap:wrap;grid-column:1/-1;gap:5px;padding-top:8px;display:flex}.quote-hero-summary>span{border:1px solid var(--mv3-border-warm);background:var(--mv3-surface-subtle);border-radius:7px;gap:1px;min-width:145px;padding:7px 9px;display:grid}.quote-hero-summary small{color:var(--mv3-text-muted);font-size:10px;font-weight:600}.quote-hero-summary strong{color:var(--mv3-text-heading);font-size:12px;font-weight:650}.quote-hero-summary em{color:#9c6232;font-size:var(--mv3-font-caption);margin-top:1px;font-style:normal;font-weight:600}.quote-hero-summary .is-alert{border-color:var(--mv3-error-border);background:#fbefec}.quote-hero-summary .is-warning{border-color:var(--mv3-warning-border);background:#fbf7ec}.quote-hero-summary .is-ok{border-color:var(--mv3-success-border);background:#eef7f1}.quote-alert-strip{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:6px;display:grid}.quote-alert-item{border:1px solid var(--mv3-border-warm);background:var(--mv3-warm-surface);min-width:0;color:inherit;border-radius:8px;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:7px;padding:9px 10px;text-decoration:none;display:grid}.quote-alert-item>svg{width:28px;height:28px;color:var(--mv3-text-muted);background:#f3f2f1;border-radius:7px;margin-top:1px;padding:5px}.quote-alert-item>span{gap:2px;min-width:0;display:grid}.quote-alert-item strong{color:var(--mv3-text-deep);font-size:11.5px;font-weight:650}.quote-alert-item small{color:var(--mv3-text-subtle);font-size:10px;line-height:1.35}.quote-alert-item.danger{border-color:var(--mv3-error-border);background:#fbf3f1}.quote-alert-item.danger>svg{color:#a94b39;background:#f8dfd9}.quote-alert-item.warning{border-color:var(--mv3-warning-border);background:#fbf7ec}.quote-alert-item.warning>svg{color:#80652d;background:#f6ecd2}.quote-alert-item.info{background:#f5f7f9;border-color:#d9dfe5}.quote-alert-item.info>svg{color:#53606c;background:#e9edf1}.quote-alert-item.ok{border-color:var(--mv3-success-border);background:#f2f8f4}.quote-alert-item.ok>svg{color:#3f7353;background:#e5f1e9}.quote-status-list{display:grid}.quote-status-list>div{border-bottom:1px solid var(--mv3-border-muted);justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:8px 0;display:flex}.quote-status-list>div:last-child{border-bottom:0}.quote-status-list span{color:var(--mv3-text-muted);font-size:10.5px}.quote-status-list strong{color:var(--mv3-text-deep);text-align:right;font-size:11.5px;font-weight:600}.quote-signature-history-item{border-radius:8px}.quote-signature-history-item>strong{font-weight:650;color:var(--mv3-text-deep)!important;font-size:11.5px!important}.quote-signature-history-item>span{color:var(--mv3-text-subtle);font-size:10px}.quote-signature-history-meta small,.quote-signature-proof small{font-size:var(--mv3-font-caption)!important}.quote-signature-history-meta strong,.quote-signature-proof strong{font-size:10.5px}.quote-history-panel{overflow:hidden;padding:0!important}.quote-history-panel>.panel-heading{border-bottom:1px solid var(--mv3-border-muted);padding:12px 14px 10px;margin:0!important}.quote-history-list{display:grid}.quote-history-row{border-bottom:1px solid var(--mv3-border-muted);background:var(--mv3-warm-surface);grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:10px 14px;display:grid}.quote-history-row:last-child{border-bottom:0}.quote-history-row:hover{background:var(--mv3-surface-subtle)}.quote-history-kind{border:1px solid var(--mv3-border-soft);color:#4f4c49;background:#f7f6f4;border-radius:6px;align-items:center;gap:5px;width:fit-content;min-height:26px;padding:4px 8px;font-size:10px;font-weight:650;display:inline-flex}.quote-history-kind.tone-create{border-color:var(--mv3-success-border);color:#35684a;background:#eef7f1}.quote-history-kind.tone-sign{color:#5d567b;background:#f2f0f8;border-color:#d8d5e8}.quote-history-kind.tone-email{color:#52606d;background:#f3f5f7;border-color:#d8dfe6}.quote-history-kind.tone-edit{color:#7d622a;background:#faf5e8;border-color:#e4d8bd}.quote-history-kind.tone-danger{border-color:var(--mv3-error-border);color:#9d4939;background:#fbefec}.quote-history-copy{gap:3px;min-width:0;display:grid}.quote-history-copy strong{color:var(--mv3-text-deep);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:600;overflow:hidden}.quote-history-copy small,.quote-history-row time{color:var(--mv3-text-subtle);align-items:center;gap:4px;font-size:10px;display:flex}.quote-history-row time{white-space:nowrap}@media (max-width:1000px){.quote-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.quote-overview-grid,.quote-two-column{grid-template-columns:1fr}}@media (max-width:680px){.quote-tabs{border-left:0;border-right:0;border-radius:0;margin:0 -8px 8px;padding:4px 8px;top:58px}.quote-tab{min-height:30px;padding-inline:8px;font-size:10.5px}.quote-summary-grid{grid-template-columns:1fr 1fr}.quote-alert-strip{grid-template-columns:1fr}.quote-history-row{grid-template-columns:1fr;gap:5px;padding:10px}.quote-history-copy strong{white-space:normal}}.quote-commercial-pilot{padding:12px}.quote-workflow-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:4px;display:grid}.quote-workflow-step{background:var(--mv3-surface-subtle);color:#77726d;border:1px solid #e2ded8;border-radius:8px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px;min-width:0;padding:8px;display:grid}.quote-workflow-step i{width:24px;height:24px;color:var(--mv3-text-subtle);font-size:var(--mv3-font-caption);background:#ece8e3;border-radius:999px;place-items:center;font-style:normal;font-weight:700;display:grid}.quote-workflow-step strong{text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:600;overflow:hidden}.quote-workflow-step.done{border-color:var(--mv3-success-border);color:#35684a;background:#f2f8f4}.quote-workflow-step.done i{color:#35684a;background:#dceee2}.quote-workflow-step.current{color:#9d4939;background:#fbf1ee;border-color:#e7b8ae;box-shadow:inset 0 0 0 1px #d84a340f}.quote-workflow-step.current i{background:var(--mv3-accent);color:var(--mv3-warm-surface)}.quote-next-action{background:var(--mv3-warm-surface);border:1px solid #ddd8d1;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:10px;padding:10px 11px;display:grid}.quote-next-action>span{gap:2px;min-width:0;display:grid}.quote-next-action small{color:#8a847e;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.04em;font-weight:600}.quote-next-action strong{color:#252422;font-size:12px;font-weight:650}.quote-next-action p{color:var(--mv3-text-muted);margin:0;font-size:10.5px;line-height:1.4}.quote-last-touch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px;display:grid}.quote-last-touch-grid>span{background:var(--mv3-surface-subtle);border:1px solid #e5e1db;border-radius:7px;gap:2px;min-width:0;padding:8px 9px;display:grid}.quote-last-touch-grid small{color:#7c7771;font-size:var(--mv3-font-caption)}.quote-last-touch-grid strong{color:#353330;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:600;overflow:hidden}@media (max-width:900px){.quote-workflow-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:680px){.quote-workflow-steps{scrollbar-width:none;padding-bottom:2px;display:flex;overflow-x:auto}.quote-workflow-steps::-webkit-scrollbar{display:none}.quote-workflow-step{flex:0 0 125px}.quote-next-action{grid-template-columns:1fr}.quote-next-action .primary-button{justify-content:center;width:100%}.quote-last-touch-grid{grid-template-columns:1fr}}.quote-commercial-health{border:1px solid var(--mv3-border-soft);background:var(--mv3-surface-subtle);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:8px;padding:10px 11px;display:grid}.quote-commercial-health>span:first-child{gap:2px;min-width:0;display:grid}.quote-commercial-health small{color:#7b7670;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.04em;font-weight:600}.quote-commercial-health strong{color:var(--mv3-text-deep);font-size:12px;font-weight:650}.quote-commercial-health p{color:var(--mv3-text-muted);margin:0;font-size:10.5px;line-height:1.35}.quote-commercial-health.tone-good,.quote-commercial-health.tone-won{border-color:var(--mv3-success-border);background:#f2f8f4}.quote-commercial-health.tone-risk{border-color:var(--mv3-error-border);background:#fbefec}.quote-commercial-health.tone-watch{border-color:var(--mv3-warning-border);background:#fbf7ec}.quote-commercial-health.tone-prepare{background:#f5f7f9;border-color:#d9dfe5}.quote-commercial-health.tone-closed{border-color:var(--mv3-border-soft);background:#f4f3f1}.quote-readiness-score{justify-items:end;gap:1px;min-width:88px;display:grid}.quote-readiness-score strong{font-size:18px;line-height:1}.quote-readiness-checklist{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:7px;display:grid}.quote-readiness-item{background:var(--mv3-warm-surface);min-width:0;color:inherit;border:1px solid #e3dfda;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:6px;padding:7px 8px;text-decoration:none;display:grid}.quote-readiness-item:hover{background:var(--mv3-surface-subtle)}.quote-readiness-item i{border-radius:999px;place-items:center;width:24px;height:24px;font-size:10px;font-style:normal;font-weight:700;display:grid}.quote-readiness-item>span{gap:1px;min-width:0;display:grid}.quote-readiness-item strong{color:#353330;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.quote-readiness-item small{color:#7b7670;font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quote-readiness-item.ok{background:#f6faf7;border-color:#d6e7dc}.quote-readiness-item.ok i{color:#3d6e50;background:#e2f0e7}.quote-readiness-item.missing{background:#fcf5f3;border-color:#ecd4cd}.quote-readiness-item.missing i{color:#a24b39;background:#f8e2dc}@media (max-width:1100px){.quote-readiness-checklist{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:680px){.quote-commercial-health{grid-template-columns:1fr}.quote-readiness-score{justify-items:start}.quote-readiness-checklist{grid-template-columns:1fr}.quote-readiness-item strong,.quote-readiness-item small{white-space:normal}}.purchase-workspace{scroll-behavior:smooth}.purchase-tabs{z-index:20;border:1px solid var(--mv3-border,var(--mv3-border-soft));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);scrollbar-width:none;background:#fffffff5;border-radius:9px;gap:2px;margin:8px 0 10px;padding:4px;display:flex;position:sticky;top:62px;overflow-x:auto;box-shadow:0 2px 8px #00000009}.purchase-tabs::-webkit-scrollbar{display:none}.purchase-tab{min-height:34px;color:var(--mv3-text-muted);white-space:nowrap;border-radius:6px;flex:none;align-items:center;gap:5px;padding:0 11px;font-size:11.5px;font-weight:600;text-decoration:none;display:inline-flex}.purchase-tab:hover{color:var(--mv3-text);background:#f3f2f1}.purchase-tab.active{color:var(--mv3-warm-surface);background:#2b2b2b}.purchase-tab small{min-width:19px;height:19px;color:var(--mv3-text-subtle);font-size:var(--mv3-font-caption);background:#ebe8e4;border-radius:999px;place-items:center;padding:0 4px;font-weight:650;display:grid}.purchase-tab.active small{color:var(--mv3-warm-surface);background:#ffffff24}.purchase-tab small.alert{color:#b44a38;background:#f8dfd9}.purchase-tab.active small.alert{background:var(--mv3-accent);color:var(--mv3-warm-surface)}.purchase-workspace .purchase-section-overview,.purchase-workspace .purchase-section-lines,.purchase-workspace .purchase-section-supplier,.purchase-workspace .purchase-section-confirmation,.purchase-workspace .purchase-section-receipts,.purchase-workspace .purchase-section-invoices,.purchase-workspace .purchase-section-documents,.purchase-workspace .purchase-section-history{display:none}.purchase-active-overview .purchase-section-overview{display:grid}.purchase-active-lines .purchase-section-lines,.purchase-active-supplier .purchase-section-supplier,.purchase-active-confirmation .purchase-section-confirmation,.purchase-active-receipts .purchase-section-receipts,.purchase-active-invoices .purchase-section-invoices,.purchase-active-documents .purchase-section-documents,.purchase-active-history .purchase-section-history{display:block}.purchase-active-overview .quote-document-layout,.purchase-active-invoices .quote-document-layout,.purchase-active-documents .quote-document-layout,.purchase-active-history .quote-document-layout{display:none!important}.purchase-active-lines .quote-document-layout{display:block}.purchase-active-lines .purchase-detail-side{display:none!important}.purchase-active-supplier .quote-document-layout,.purchase-active-confirmation .quote-document-layout,.purchase-active-receipts .quote-document-layout{grid-template-columns:1fr}.purchase-active-supplier .quote-document,.purchase-active-confirmation .quote-document,.purchase-active-receipts .quote-document{display:none}.purchase-active-supplier .purchase-detail-side,.purchase-active-confirmation .purchase-detail-side,.purchase-active-receipts .purchase-detail-side{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.purchase-active-confirmation .purchase-detail-side{grid-template-columns:1fr}.purchase-active-confirmation :is(.supplier-confirmation-review,#confirmation-documents){margin-top:10px}.purchase-hero-summary{border-top:1px solid var(--mv3-border-muted);flex-wrap:wrap;grid-column:1/-1;gap:5px;padding-top:8px;display:flex}.purchase-hero-summary>span{border:1px solid var(--mv3-border-warm);background:var(--mv3-surface-subtle);border-radius:7px;gap:1px;min-width:145px;padding:7px 9px;display:grid}.purchase-hero-summary small{color:var(--mv3-text-muted);font-size:10px;font-weight:600}.purchase-hero-summary strong{color:var(--mv3-text-heading);font-size:12px;font-weight:650}.purchase-hero-summary em{color:#a64a38;font-size:var(--mv3-font-caption);font-style:normal;font-weight:600}.purchase-hero-summary .is-alert{border-color:var(--mv3-error-border);background:#fbefec}.purchase-hero-summary .is-warning{border-color:var(--mv3-warning-border);background:#fbf7ec}.purchase-hero-summary .is-ok{border-color:var(--mv3-success-border);background:#eef7f1}.purchase-commercial-pilot{padding:12px;display:block}.purchase-workflow-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.purchase-workflow-step{background:var(--mv3-surface-subtle);color:#77726d;border:1px solid #e2ded8;border-radius:8px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px;min-width:0;padding:8px;display:grid}.purchase-workflow-step i{width:24px;height:24px;color:var(--mv3-text-subtle);font-size:var(--mv3-font-caption);background:#ece8e3;border-radius:999px;place-items:center;font-style:normal;font-weight:700;display:grid}.purchase-workflow-step strong{text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:600;overflow:hidden}.purchase-workflow-step.done{border-color:var(--mv3-success-border);color:#35684a;background:#f2f8f4}.purchase-workflow-step.done i{color:#35684a;background:#dceee2}.purchase-workflow-step.current{color:#9d4939;background:#fbf1ee;border-color:#e7b8ae}.purchase-workflow-step.current i{background:var(--mv3-accent);color:var(--mv3-warm-surface)}.purchase-next-action{background:var(--mv3-warm-surface);border:1px solid #ddd8d1;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:10px;padding:10px 11px;display:grid}.purchase-next-action>span{gap:2px;min-width:0;display:grid}.purchase-next-action small{color:#8a847e;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.04em;font-weight:600}.purchase-next-action strong{color:#252422;font-size:12px;font-weight:650}.purchase-next-action p{color:var(--mv3-text-muted);margin:0;font-size:10.5px;line-height:1.4}.purchase-health{border:1px solid var(--mv3-border-soft);background:var(--mv3-surface-subtle);border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-top:8px;padding:9px 10px;display:grid}.purchase-health>span:first-child{gap:2px;min-width:0;display:grid}.purchase-health small{color:#7b7670;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.04em;font-weight:600}.purchase-health strong{color:var(--mv3-text-deep);font-size:12px;font-weight:650}.purchase-health p{color:var(--mv3-text-muted);margin:0;font-size:10.5px}.purchase-health.tone-good{border-color:var(--mv3-success-border);background:#f2f8f4}.purchase-health.tone-risk{border-color:var(--mv3-error-border);background:#fbefec}.purchase-health.tone-watch{border-color:var(--mv3-warning-border);background:#fbf7ec}.purchase-health.tone-closed{background:#f4f3f1}.purchase-health-metrics{justify-items:end;gap:1px;min-width:92px;display:grid}.purchase-alert-strip{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:6px;margin-top:8px;display:grid}.purchase-alert-item{border:1px solid var(--mv3-border-warm);background:var(--mv3-warm-surface);min-width:0;color:inherit;border-radius:8px;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:7px;padding:9px 10px;text-decoration:none;display:grid}.purchase-alert-item>svg{width:28px;height:28px;color:var(--mv3-text-muted);background:#f3f2f1;border-radius:7px;margin-top:1px;padding:5px}.purchase-alert-item>span{gap:2px;min-width:0;display:grid}.purchase-alert-item strong{color:var(--mv3-text-deep);font-size:11.5px;font-weight:650}.purchase-alert-item small{color:var(--mv3-text-subtle);font-size:10px;line-height:1.35}.purchase-alert-item.danger{border-color:var(--mv3-error-border);background:#fbf3f1}.purchase-alert-item.danger>svg{color:#a94b39;background:#f8dfd9}.purchase-alert-item.warning{border-color:var(--mv3-warning-border);background:#fbf7ec}.purchase-alert-item.warning>svg{color:#80652d;background:#f6ecd2}.purchase-alert-item.ok{border-color:var(--mv3-success-border);background:#f2f8f4}.purchase-alert-item.ok>svg{color:#3f7353;background:#e5f1e9}.purchase-invoice-list{display:grid}.purchase-invoice-row{border-bottom:1px solid var(--mv3-border-muted);min-height:58px;color:inherit;grid-template-columns:minmax(180px,1.2fr) minmax(120px,.7fr) minmax(120px,.7fr) auto;align-items:center;gap:12px;padding:9px 10px;text-decoration:none;display:grid}.purchase-invoice-row:last-child{border-bottom:0}.purchase-invoice-row:hover{background:var(--mv3-surface-subtle)}.purchase-invoice-row>span{gap:2px;min-width:0;display:grid}.purchase-invoice-row small{color:var(--mv3-text-subtle);font-size:10px}.purchase-invoice-row strong{color:var(--mv3-text-deep);font-size:11.5px;font-weight:600}.purchase-match{border:1px solid var(--mv3-border-soft);color:#5e5954;font-size:var(--mv3-font-caption);background:#f7f6f4;border-radius:6px;padding:4px 7px;font-weight:650}.purchase-history-panel{overflow:hidden;padding:0!important}.purchase-history-panel>.panel-heading{border-bottom:1px solid var(--mv3-border-muted);margin:0;padding:12px 14px 10px}.purchase-history-list{display:grid}.purchase-history-row{border-bottom:1px solid var(--mv3-border-muted);background:var(--mv3-warm-surface);grid-template-columns:155px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:10px 14px;display:grid}.purchase-history-row:last-child{border-bottom:0}.purchase-history-row:hover{background:var(--mv3-surface-subtle)}.purchase-history-kind{border:1px solid var(--mv3-border-soft);color:#4f4c49;background:#f7f6f4;border-radius:6px;align-items:center;gap:5px;width:fit-content;min-height:26px;padding:4px 8px;font-size:10px;font-weight:650;display:inline-flex}.purchase-history-kind.tone-create{border-color:var(--mv3-success-border);color:#35684a;background:#eef7f1}.purchase-history-kind.tone-confirm{color:#5d567b;background:#f2f0f8;border-color:#d8d5e8}.purchase-history-kind.tone-receipt{color:#356653;background:#eff7f3;border-color:#cfe1d8}.purchase-history-kind.tone-invoice{color:#7d622a;background:#faf5e8;border-color:#e4d8bd}.purchase-history-kind.tone-email{color:#52606d;background:#f3f5f7;border-color:#d8dfe6}.purchase-history-kind.tone-danger{border-color:var(--mv3-error-border);color:#9d4939;background:#fbefec}.purchase-history-copy{gap:3px;min-width:0;display:grid}.purchase-history-copy strong{color:var(--mv3-text-deep);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;font-weight:600;overflow:hidden}.purchase-history-copy small,.purchase-history-row time{color:var(--mv3-text-subtle);align-items:center;gap:4px;font-size:10px;display:flex}.purchase-history-row time{white-space:nowrap}.purchase-active-confirmation .supplier-confirmation-review-table{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.purchase-active-confirmation .supplier-confirmation-review-line{min-width:1180px}.purchase-active-confirmation .supplier-confirmation-review-line.head{font-size:10px!important}.purchase-active-confirmation .supplier-confirmation-review-line:not(.head){font-size:10.5px}.purchase-workspace .project-info-list small{font-size:10px!important}.purchase-workspace .project-info-list strong,.purchase-workspace .project-info-list a{font-size:11.5px}.purchase-workspace .dashboard-reminders .reminder-row strong{font-size:11.5px!important}.purchase-workspace .dashboard-reminders .reminder-row small{font-size:10px}@media (max-width:1000px){.purchase-active-supplier .purchase-detail-side,.purchase-active-confirmation .purchase-detail-side,.purchase-active-receipts .purchase-detail-side{grid-template-columns:1fr}.purchase-workflow-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:680px){.purchase-tabs{border-left:0;border-right:0;border-radius:0;margin:0 -8px 8px;padding:4px 8px;top:58px}.purchase-tab{min-height:30px;padding-inline:8px;font-size:10.5px}.purchase-hero-summary{grid-template-columns:1fr 1fr;display:grid}.purchase-hero-summary>span{min-width:0}.purchase-workflow-steps{scrollbar-width:none;padding-bottom:2px;display:flex;overflow-x:auto}.purchase-workflow-steps::-webkit-scrollbar{display:none}.purchase-workflow-step{flex:0 0 130px}.purchase-next-action{grid-template-columns:1fr}.purchase-next-action .primary-button{justify-content:center;width:100%}.purchase-health{grid-template-columns:1fr}.purchase-health-metrics{justify-items:start}.purchase-alert-strip{grid-template-columns:1fr}.purchase-invoice-row{grid-template-columns:1fr;gap:5px}.purchase-history-row{grid-template-columns:1fr;gap:5px;padding:10px}.purchase-history-copy strong,.purchase-history-row time{white-space:normal}.purchase-active-lines .quote-detail-lines{-webkit-overflow-scrolling:touch;overflow-x:auto}.purchase-active-lines .quote-detail-head,.purchase-active-lines .quote-detail-row{min-width:820px}}.purchase-readiness-checklist{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:7px;display:grid}.purchase-readiness-item{background:var(--mv3-warm-surface);min-width:0;color:inherit;border:1px solid #e3dfda;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:6px;padding:7px 8px;text-decoration:none;display:grid}.purchase-readiness-item:hover{background:var(--mv3-surface-subtle)}.purchase-readiness-item i{border-radius:999px;place-items:center;width:24px;height:24px;font-size:10px;font-style:normal;font-weight:700;display:grid}.purchase-readiness-item>span{gap:1px;min-width:0;display:grid}.purchase-readiness-item strong{color:#353330;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.purchase-readiness-item small{color:#7b7670;font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.purchase-readiness-item.ok{background:#f6faf7;border-color:#d6e7dc}.purchase-readiness-item.ok i{color:#3d6e50;background:#e2f0e7}.purchase-readiness-item.missing{background:#fcf5f3;border-color:#ecd4cd}.purchase-readiness-item.missing i{color:#a24b39;background:#f8e2dc}@media (max-width:1100px){.purchase-readiness-checklist{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:680px){.purchase-readiness-checklist{grid-template-columns:1fr}.purchase-readiness-item strong,.purchase-readiness-item small{white-space:normal}}.quote-location-summary{color:#4b6b86;min-width:0;font-size:var(--mv3-font-caption);grid-column:1/-1;align-items:center;gap:5px;margin-top:2px;font-weight:700;display:inline-flex}.quote-location-summary span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quote-location-editor{background:var(--mv3-warm-surface);border:1px solid #d9e7f2;border-radius:10px;grid-column:1/-1;padding:10px}.quote-location-editor-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.quote-location-editor-head>span{color:#3f5870;align-items:center;gap:6px;font-size:10px;font-weight:800;display:inline-flex}.quote-location-list{gap:7px;display:grid}.quote-location-row{grid-template-columns:minmax(220px,1.7fr) minmax(140px,.9fr) minmax(120px,.7fr) 34px;align-items:end;gap:8px;display:grid}.quote-location-row label{gap:4px;display:grid}.quote-location-row label>span{color:#6b7d90;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.035em;font-weight:800}.quote-inline-location{color:#3f6584;width:fit-content;max-width:100%;font-size:var(--mv3-font-caption);background:#f6faff;border:1px solid #d7e6f1;border-radius:999px;align-items:center;gap:5px;margin-top:4px;padding:3px 7px;font-weight:750;display:inline-flex}@media (max-width:900px){.quote-location-row{grid-template-columns:1fr 1fr}.quote-location-row>.danger-icon-button{justify-self:end}}@media (max-width:620px){.quote-location-row{grid-template-columns:1fr}}.quote-location-warning,.quote-location-complete{border-radius:9px;align-items:center;gap:7px;margin:9px 0 2px;padding:8px 10px;font-size:10px;line-height:1.35;display:flex}.quote-location-warning{color:#72581a;background:#fffaf0;border:1px solid #ead9a8}.quote-location-complete{color:#35684a;background:#f5fbf7;border:1px solid #cae4d3}.document-line-add-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.quote-line-style-field,.quote-structural-style{grid-column:1/-1;min-width:0}.quote-line-style-field>span{color:#65758a;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.035em;margin-bottom:5px;font-weight:800;display:block}.quote-structural-style{border-top:1px solid #e1e9f0;padding:9px 10px 10px}.document-line-style-editor{background:var(--mv3-warm-surface);border:1px solid #dce6ef;border-radius:10px;gap:8px;min-width:0;padding:8px;display:grid}.document-line-style-toolbar{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.document-line-style-toolbar button{background:var(--mv3-warm-surface);color:#52677a;cursor:pointer;border:1px solid #d8e2ea;border-radius:8px;justify-content:center;align-items:center;width:31px;height:30px;display:inline-flex}.document-line-style-toolbar button:hover,.document-line-style-toolbar button.is-active{color:#176fae;background:#eef7fd;border-color:#9ec8e8}.document-line-style-separator{background:#dce5ec;width:1px;height:22px;margin:0 3px}.document-line-style-grid{grid-template-columns:minmax(120px,180px) 90px 90px minmax(145px,auto) minmax(125px,auto);align-items:end;gap:8px;display:grid}.document-line-style-grid>label{gap:4px;display:grid}.document-line-style-grid>label>span{color:#65758a;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.035em;font-weight:800}.document-line-style-grid input[type=color]{cursor:pointer;width:100%;min-height:34px;padding:3px}.document-line-style-check{grid-template-columns:auto 1fr;align-self:center;align-items:center;gap:6px}.document-line-style-check>span{text-transform:none;letter-spacing:0;font-size:var(--mv3-font-caption)}.quote-structural-card{position:relative}@media (max-width:900px){.document-line-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.document-line-style-grid{grid-template-columns:1fr}}.purchasing-line-style{grid-column:1/-1;padding-top:6px}.price-import-conditions{gap:10px;margin-top:12px;display:grid}.price-import-conditions>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.price-import-conditions ul{color:var(--muted);margin:0;padding-left:18px;font-size:12px}.price-import-rule-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;display:grid}.price-import-rule-grid article{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;gap:3px;padding:9px 11px;display:grid}.price-import-rule-grid article span{font-variant-numeric:tabular-nums;font-weight:800}.price-import-rule-grid article small{color:var(--muted)}.price-import-history{margin-top:12px}.supplier-charge-suggestions{background:#eab3080f;border:1px dashed #d8a43b;border-radius:10px;gap:8px;padding:10px;display:grid}.supplier-charge-suggestions>div{gap:2px;display:grid}.supplier-charge-suggestions>div small{color:var(--muted)}.supplier-charge-suggestions ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.supplier-charge-suggestions li{border:1px solid var(--line);background:var(--surface);border-radius:9px;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:7px 9px;display:grid}.supplier-charge-suggestions li>span:first-child{gap:2px;display:grid}.supplier-charge-suggestions li small{color:var(--muted)}.supplier-invoice-match-row>span:nth-child(2){gap:2px;display:grid}.supplier-invoice-match-row>span:nth-child(2) small{color:var(--muted);font-size:.68rem}@media (max-width:760px){.supplier-charge-suggestions li{grid-template-columns:1fr auto}}.purchase-logistics-details{border-top:1px solid var(--mv3-border-soft);margin-top:8px;padding-top:7px}.purchase-logistics-details>summary{cursor:pointer;width:fit-content;color:var(--mv3-text-subtle);font-size:10.5px;font-weight:750;list-style:none}.purchase-logistics-details>summary::-webkit-details-marker{display:none}.purchase-logistics-details>summary:after{content:" +";font-weight:900}.purchase-logistics-details[open]>summary:after{content:" −"}.purchase-hero-summary-advanced{margin-top:8px}@media (max-width:680px){.purchase-logistics-details>summary{align-items:center;min-height:34px;display:flex}}.supplier-confirmation-advanced{border:1px solid var(--mv3-border-soft);background:var(--mv3-warm-surface);border-radius:9px;padding:8px 10px}.supplier-confirmation-advanced>summary{cursor:pointer;min-height:32px;color:var(--mv3-text-deep);align-items:center;font-size:11px;font-weight:800;list-style:none;display:flex}.supplier-confirmation-advanced>summary::-webkit-details-marker{display:none}.supplier-confirmation-advanced>summary:after{content:" +";color:var(--mv3-text-subtle);margin-left:auto}.supplier-confirmation-advanced[open]>summary:after{content:" −"}.supplier-confirmation-advanced-grid{border-top:1px solid var(--mv3-border-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:8px;display:grid}.supplier-confirmation-advanced-grid>.span-two{grid-column:1/-1}@media (max-width:680px){.supplier-confirmation-advanced-grid{grid-template-columns:1fr}.supplier-confirmation-advanced-grid>.span-two{grid-column:auto}}.purchase-detail-actions.quote-hero-actions.document-action-bar{align-self:flex-start;gap:5px;width:auto;max-width:min(760px,100%);margin-left:auto}.purchase-detail-actions.document-action-bar>.invoice-actions-stack>:not(.document-workflow-actions){flex:none}.purchase-detail-actions .secondary-button.compact,.purchase-detail-actions .primary-button.compact{border-radius:7px;min-height:31px;padding:5px 9px;font-size:10.5px}.purchase-detail-actions .document-email-composer,.purchase-detail-actions .invoice-payment-form{order:30;width:min(720px,100%);min-width:min(620px,100%);flex:100%!important}.purchase-logistics-cockpit{gap:9px;padding:12px;display:grid}.purchase-logistics-cockpit>.panel-heading{margin-bottom:0!important}.purchase-logistics-quick-card,.purchase-transport-quick-card,.purchase-logistics-line-availability-link{border:1px solid var(--mv3-border-warm);background:var(--mv3-warm-surface);border-radius:9px}.purchase-logistics-quick-card{padding:10px}.purchase-logistics-quick-head,.purchase-transport-quick-head,.purchase-logistics-line-availability-link{justify-content:space-between;align-items:center;gap:10px;display:flex}.purchase-logistics-quick-head>div,.purchase-transport-quick-head>div,.purchase-logistics-line-availability-link>span{gap:2px;min-width:0;display:grid}.purchase-logistics-quick-head strong,.purchase-transport-quick-head strong,.purchase-logistics-line-availability-link strong{color:var(--mv3-text-deep);font-size:11.5px}.purchase-logistics-quick-head small,.purchase-transport-quick-head small,.purchase-logistics-line-availability-link small{color:var(--mv3-text-subtle);font-size:10px}.purchase-logistics-quick-grid{grid-template-columns:minmax(180px,1.2fr) 110px minmax(160px,.9fr) minmax(160px,.9fr) minmax(190px,1fr) minmax(170px,.9fr);gap:7px;margin-top:9px;display:grid}.purchase-logistics-quick-grid label,.purchase-transport-quick-grid label{gap:4px;min-width:0;display:grid}.purchase-logistics-quick-grid label>span,.purchase-transport-quick-grid label>span{color:var(--mv3-text-muted);font-size:10px;font-weight:750}.purchase-logistics-quick-grid input,.purchase-transport-quick-grid input{border:1px solid var(--mv3-border-soft);background:var(--mv3-warm-surface);width:100%;min-width:0;min-height:34px;color:var(--mv3-text);font:inherit;border-radius:7px;padding:6px 8px;font-size:10.5px}.purchase-logistics-quick-grid label>small{color:var(--mv3-text-subtle);font-size:10px;line-height:1.25}.purchase-logistics-week-field>div,.purchase-transport-week{grid-template-columns:minmax(58px,.7fr) minmax(76px,1fr);gap:5px;display:grid}.purchase-logistics-quick-message{margin-top:7px;display:block}.purchase-transport-quick-card{padding:10px}.purchase-transport-quick-grid{grid-template-columns:minmax(220px,1.35fr) minmax(160px,.8fr) minmax(150px,.75fr) minmax(160px,.8fr) auto;align-items:end;gap:7px;margin-top:9px;display:grid}.purchase-transport-save{min-height:34px!important}.purchase-logistics-line-availability-link{padding:9px 10px}.purchase-logistics-readonly-note{border:1px dashed var(--mv3-border-soft);color:var(--mv3-text-subtle);border-radius:8px;padding:8px 10px;font-size:10px}.purchase-hero-summary>span{min-width:138px}.purchase-hero-summary>span strong{overflow-wrap:anywhere}@media (max-width:1100px){.purchase-logistics-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-transport-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-transport-save{justify-content:center;width:100%}}@media (max-width:680px){.purchase-detail-actions.quote-hero-actions.document-action-bar{scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;gap:5px;width:100%;max-width:100%;padding-bottom:2px;display:flex;overflow-x:auto}.purchase-detail-actions::-webkit-scrollbar{display:none}.purchase-detail-actions>.secondary-button,.purchase-detail-actions>.document-menu,.purchase-detail-actions>.draft-delete-action,.purchase-detail-actions>.invoice-actions-stack{flex:none!important;width:auto!important;min-width:auto!important}.purchase-detail-actions>.secondary-button,.purchase-detail-actions>.document-menu>summary,.purchase-detail-actions .secondary-button.compact,.purchase-detail-actions .primary-button.compact{width:auto;min-height:34px;padding-inline:9px;font-size:10px}.purchase-detail-actions .document-email-composer,.purchase-detail-actions .invoice-payment-form{z-index:60;width:auto;min-width:0;max-height:calc(100dvh - 88px);position:fixed;top:72px;left:8px;right:8px;overflow:auto}.purchase-logistics-cockpit{padding:9px}.purchase-logistics-quick-head,.purchase-transport-quick-head,.purchase-logistics-line-availability-link{flex-direction:column;align-items:stretch}.purchase-logistics-quick-head>.primary-button,.purchase-logistics-line-availability-link>.secondary-button{justify-content:center;width:100%}.purchase-logistics-quick-grid,.purchase-transport-quick-grid{grid-template-columns:1fr}.purchase-logistics-week-field>div,.purchase-transport-week{grid-template-columns:1fr 1fr}}.purchase-availability-quick{border:1px solid var(--mv3-border-warm);background:var(--mv3-warm-surface);border-radius:9px;overflow:hidden}.purchase-availability-quick>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:9px 10px;list-style:none;display:flex}.purchase-availability-quick>summary::-webkit-details-marker{display:none}.purchase-availability-quick>summary>span:first-child{gap:2px;min-width:0;display:grid}.purchase-availability-quick>summary strong{color:var(--mv3-text-deep);font-size:11.5px}.purchase-availability-quick>summary small{color:var(--mv3-text-subtle);font-size:10px}.purchase-availability-quick>summary:after{content:"+";color:var(--mv3-text-subtle);flex:none;font-weight:900}.purchase-availability-quick[open]>summary:after{content:"−"}.purchase-availability-summary-badges{flex-wrap:wrap;justify-content:flex-end;gap:4px;margin-left:auto;display:flex}.purchase-availability-summary-badges em{border:1px solid var(--mv3-border-soft);background:var(--mv3-surface-subtle);color:var(--mv3-text-muted);white-space:nowrap;border-radius:999px;padding:3px 6px;font-size:10px;font-style:normal;font-weight:700}.purchase-availability-lines{border-top:1px solid var(--mv3-border-soft);display:grid}.purchase-availability-line{border-bottom:1px solid var(--mv3-border-muted);grid-template-columns:minmax(220px,1.35fr) 150px minmax(220px,1fr);align-items:center;gap:7px;min-height:48px;padding:7px 10px;display:grid}.purchase-availability-line:last-child{border-bottom:0}.purchase-availability-copy{gap:2px;min-width:0;display:grid}.purchase-availability-copy small{color:var(--mv3-text-subtle);font-size:10px}.purchase-availability-copy strong{color:var(--mv3-text-deep);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.purchase-availability-line select,.purchase-availability-line input{border:1px solid var(--mv3-border-soft);background:var(--mv3-warm-surface);width:100%;min-width:0;min-height:34px;color:var(--mv3-text);font:inherit;border-radius:7px;padding:6px 8px;font-size:10px}.purchase-availability-actions{border-top:1px solid var(--mv3-border-soft);background:var(--mv3-surface-subtle);justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.purchase-availability-actions>small{color:var(--mv3-text-subtle);font-size:10px}@media (max-width:680px){.purchase-availability-quick>summary{flex-wrap:wrap;align-items:flex-start}.purchase-availability-summary-badges{order:3;justify-content:flex-start;width:100%}.purchase-availability-line{grid-template-columns:1fr;gap:6px;padding:9px}.purchase-availability-copy strong{white-space:normal}.purchase-availability-line select,.purchase-availability-line input{min-height:42px;font-size:11px}.purchase-availability-actions{flex-direction:column;align-items:stretch}.purchase-availability-actions>.primary-button{justify-content:center;width:100%}}
.project-workspace{scroll-behavior:smooth}.project-workspace .project-hero{border-color:var(--mv3-border,var(--mv3-border-soft));border-radius:10px;box-shadow:0 1px 2px #00000009,0 4px 12px #00000006}.project-workspace .project-hero h1{color:var(--mv3-text-heading);letter-spacing:-.4px;font-size:24px;font-weight:650}.project-workspace .project-hero p{color:var(--mv3-text-muted);font-size:11.5px}.project-hero-summary{border-top:1px solid var(--mv3-border-muted);flex-wrap:wrap;grid-column:1/-1;gap:5px;padding-top:8px;display:flex}.project-hero-summary>span{border:1px solid var(--mv3-border-warm);background:var(--mv3-surface-subtle);border-radius:7px;gap:1px;min-width:150px;padding:7px 9px;display:grid}.project-hero-summary small{color:var(--mv3-text-muted);font-size:var(--mv3-font-caption);font-weight:600}.project-hero-summary strong{color:var(--mv3-text-heading);font-size:11.5px;font-weight:650}.project-hero-summary em{color:#7b7670;font-size:var(--mv3-font-caption);font-style:normal}.project-hero-summary .is-ok{border-color:var(--mv3-success-border);background:#f2f8f4}.project-hero-summary .is-warning{border-color:var(--mv3-warning-border);background:#fbf7ec}.project-workspace .project-metrics{gap:8px;margin-block:8px}.project-workspace .project-metrics .metric-card{border-radius:9px;min-height:86px;padding:10px 12px}.project-workspace .project-metrics .metric-label{font-size:10px}.project-workspace .project-metrics .metric-card strong{font-size:17px!important}.project-workspace .project-metrics .metric-card small{font-size:var(--mv3-font-caption)}.project-readiness-panel{border-radius:10px;margin-bottom:10px;padding:12px}.project-next-action{background:var(--mv3-warm-surface);border:1px solid #ddd8d1;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 11px;display:grid}.project-next-action>span{gap:2px;min-width:0;display:grid}.project-next-action small{color:#8a847e;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.04em;font-weight:600}.project-next-action strong{color:#252422;font-size:12px;font-weight:650}.project-next-action p{color:var(--mv3-text-muted);margin:0;font-size:10.5px;line-height:1.4}.project-readiness-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:8px;display:grid}.project-readiness-item{background:var(--mv3-warm-surface);border:1px solid #e3dfda;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:6px;min-width:0;padding:7px 8px;display:grid}.project-readiness-item i{border-radius:999px;place-items:center;width:24px;height:24px;font-size:10px;font-style:normal;font-weight:700;display:grid}.project-readiness-item>span{gap:1px;min-width:0;display:grid}.project-readiness-item strong{color:#353330;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650;overflow:hidden}.project-readiness-item small{color:#7b7670;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.project-readiness-item.ok{background:#f6faf7;border-color:#d6e7dc}.project-readiness-item.ok i{color:#3d6e50;background:#e2f0e7}.project-readiness-item.missing{background:#fcf5f3;border-color:#ecd4cd}.project-readiness-item.missing i{color:#a24b39;background:#f8e2dc}.project-health-note{border:1px solid var(--mv3-border-warm);border-radius:8px;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:7px;margin-top:8px;padding:8px 9px;display:grid}.project-health-note>svg{border-radius:7px;width:28px;height:28px;padding:5px}.project-health-note>span{gap:2px;display:grid}.project-health-note strong{font-size:11.5px;font-weight:650}.project-health-note small{font-size:var(--mv3-font-caption);color:var(--mv3-text-subtle)}.project-health-note.ok{border-color:var(--mv3-success-border);background:#f2f8f4}.project-health-note.ok>svg{color:#3f7353;background:#e5f1e9}.project-health-note.warning{border-color:var(--mv3-warning-border);background:#fbf7ec}.project-health-note.warning>svg{color:#80652d;background:#f6ecd2}.project-cockpit-tabs{z-index:20;border:1px solid var(--mv3-border,var(--mv3-border-soft));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);scrollbar-width:none;background:#fffffff5;gap:2px;position:sticky;overflow-x:auto;box-shadow:0 2px 8px #00000009;border-radius:9px!important;margin:8px 0 10px!important;padding:4px!important;top:62px!important}.project-cockpit-tabs::-webkit-scrollbar{display:none}.project-cockpit-tab{font-weight:650;min-height:36px!important;color:var(--mv3-text-muted)!important;border-radius:6px!important;padding:0 11px!important;font-size:11.5px!important}.project-cockpit-tab:hover{color:var(--mv3-text)!important;background:#f3f2f1!important}.project-cockpit-tab.active{color:var(--mv3-warm-surface)!important;background:#2b2b2b!important}.project-cockpit-tab strong{place-items:center;min-width:19px;height:19px;display:grid;color:var(--mv3-text-subtle)!important;font-size:var(--mv3-font-caption)!important;background:#ebe8e4!important;border-radius:999px!important;padding:0 4px!important}.project-cockpit-tab.active strong{color:var(--mv3-warm-surface)!important;background:#ffffff24!important}.project-workspace .project-financial-metrics{gap:8px}.project-workspace .project-financial-metrics .metric-card{min-height:88px;padding:10px 12px}.project-workspace .project-action-grid{gap:7px}.project-workspace .project-action-card{border-radius:8px;min-height:64px;padding:9px 10px}.project-workspace .project-action-card strong{font-size:15px!important}.project-workspace .project-action-card small{font-size:var(--mv3-font-caption);line-height:1.3}.project-detail-layout{grid-template-columns:minmax(0,1.55fr) minmax(320px,.65fr)!important;gap:10px!important}.project-detail-layout .panel{border-radius:10px!important}.project-detail-layout .panel-heading h2{font-weight:650;font-size:14px!important}.project-detail-layout .project-info-list small{font-size:var(--mv3-font-caption)!important}.project-detail-layout .project-info-list strong,.project-detail-layout .project-info-list a{font-size:11px}.project-tree .building-block{border-radius:8px}.project-tree .building-title strong{font-size:11.5px!important}.project-tree .building-title small,.project-tree .unit-card small{font-size:var(--mv3-font-caption)}.project-tree .unit-card{border-radius:7px;min-height:54px}.project-planning-item{border-radius:7px}.project-planning-item strong{font-size:10.5px!important}.project-planning-item small{font-size:var(--mv3-font-caption)}@media (max-width:1150px){.project-readiness-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-detail-layout{grid-template-columns:1fr}}@media (max-width:680px){.project-cockpit-tabs{border-left:0;border-right:0;border-radius:0;margin:0 -8px 8px;padding:4px 8px;top:58px}.project-cockpit-tab{min-height:30px;padding-inline:8px;font-size:10px}.project-hero-summary{grid-template-columns:1fr 1fr;display:grid}.project-hero-summary>span{min-width:0}.project-readiness-grid{grid-template-columns:1fr}.project-readiness-item strong,.project-readiness-item small{white-space:normal}.project-next-action{grid-template-columns:1fr}.project-next-action .primary-button{justify-content:center;width:100%}}.project-direction-panel{border-radius:10px;padding:12px}.project-health-summary{border:1px solid var(--mv3-border-soft);background:var(--mv3-surface-subtle);border-radius:8px;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(125px,.6fr));gap:6px;padding:9px;display:grid}.project-health-summary>span{background:#ffffffb3;border-radius:6px;gap:2px;min-width:0;padding:7px 8px;display:grid}.project-health-summary small{color:#77716c;font-size:var(--mv3-font-caption);text-transform:uppercase;letter-spacing:.04em;font-weight:600}.project-health-summary strong{color:#262523;font-size:12px;font-weight:650}.project-health-summary p{color:var(--mv3-text-muted);margin:0;font-size:11px;line-height:1.4}.project-health-summary em{color:var(--mv3-text-subtle);font-size:var(--mv3-font-caption);text-overflow:ellipsis;white-space:nowrap;font-style:normal;overflow:hidden}.project-health-summary.tone-good{border-color:var(--mv3-success-border);background:#f2f8f4}.project-health-summary.tone-watch{border-color:var(--mv3-warning-border);background:#fbf7ec}.project-health-summary.tone-risk{border-color:var(--mv3-error-border);background:#fbefec}.project-operational-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:8px;display:grid}.project-operational-card{background:var(--mv3-warm-surface);min-width:0;color:inherit;border:1px solid #e3dfda;border-radius:8px;grid-template-columns:26px minmax(0,1fr);align-items:start;gap:7px;padding:8px;text-decoration:none;display:grid}.project-operational-card:hover{background:var(--mv3-surface-subtle);border-color:#d7d2cb}.project-operational-card>svg{color:#c84a35;background:#f2efeb;border-radius:7px;width:26px;height:26px;padding:5px}.project-operational-card>span{gap:1px;min-width:0;display:grid}.project-operational-card small{color:#837d77;text-transform:uppercase;letter-spacing:.035em;font-size:10px}.project-operational-card strong{color:#32302d;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:650;overflow:hidden}.project-operational-card em{color:var(--mv3-text-subtle);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal;overflow:hidden}.project-risk-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:8px;display:grid}.project-risk-item{min-width:0;color:inherit;border:1px solid #e3dfda;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 9px;text-decoration:none;display:grid}.project-risk-item>span{gap:2px;min-width:0;display:grid}.project-risk-item strong{color:#353330;font-size:11px;font-weight:650}.project-risk-item small{color:var(--mv3-text-subtle);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.project-risk-item b{border-radius:999px;place-items:center;min-width:26px;height:26px;font-size:10px;display:grid}.project-risk-item.tone-danger{border-color:var(--mv3-error-border);background:#fbf3f1}.project-risk-item.tone-danger b{color:#a94b39;background:#f8dfd9}.project-risk-item.tone-warning{border-color:var(--mv3-warning-border);background:#fbf7ec}.project-risk-item.tone-warning b{color:#80652d;background:#f6ecd2}.project-no-risk{border:1px solid var(--mv3-success-border);background:#f2f8f4;border-radius:8px;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:7px;margin-top:8px;padding:8px 9px;display:grid}.project-no-risk>svg{color:#3f7353;background:#e5f1e9;border-radius:7px;width:28px;height:28px;padding:5px}.project-no-risk>span{gap:2px;display:grid}.project-no-risk strong{color:#315f43;font-size:10.5px;font-weight:650}.project-no-risk small{color:#66806f;font-size:var(--mv3-font-caption)}@media (max-width:1180px){.project-health-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.project-operational-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:800px){.project-risk-list{grid-template-columns:1fr}}@media (max-width:680px){.project-health-summary{grid-template-columns:1fr}.project-operational-grid{grid-template-columns:1fr 1fr}.project-operational-card strong,.project-operational-card em,.project-risk-item small{white-space:normal}}@media (max-width:420px){.project-operational-grid{grid-template-columns:1fr}}
.quote-lines-section.invoice-editor-modern{grid-template-columns:none;display:block;overflow:visible}.invoice-quick-entry{margin-top:10px;padding:10px 12px}.invoice-document-summary{z-index:8;position:sticky;top:72px;box-shadow:0 5px 18px #2032430f}.invoice-line-editor{background:var(--mv3-warm-surface);border-color:#e4e8ec}.invoice-line-editor .quote-line-card{border-bottom-color:#eef1f4}.invoice-line-editor .quote-editor-row-simple{min-height:52px;padding:8px 10px}.invoice-line-editor .quote-description-cell-simple{gap:6px}.invoice-line-editor .quote-description-cell-simple select,.invoice-line-editor .quote-description-cell-simple input,.invoice-line-editor .compact-line-field input{min-height:32px;padding-block:6px}.invoice-line-editor .quote-line-actions{gap:4px}.invoice-line-editor .line-copy-button,.invoice-line-editor .line-options-button,.invoice-line-editor .line-order-button,.invoice-line-editor .danger-icon-button{min-height:30px}.invoice-line-editor .quote-line-details{background:#fafbfc;border-color:#e5eaee;grid-template-columns:130px 180px 180px 110px minmax(180px,1fr);margin:0 10px 9px;padding:10px}.invoice-line-editor .quote-line-style-field{border-top:1px solid #e6ebef;grid-column:1/-1;padding-top:8px}.invoice-line-editor .quote-structural-card{background:#fbfcfd;border-bottom:1px solid #edf1f4}.invoice-line-editor .quote-structural-card.line-type-section{background:#f7f8fa;border-left:3px solid #d75a42}.invoice-line-editor .quote-structural-card.line-type-text{background:#fcfcfb}.invoice-line-editor .quote-structural-card.line-type-subtotal{background:var(--mv3-warm-soft)}.invoice-footer-grid{align-items:start}.invoice-totals-sticky{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff7;position:sticky;bottom:12px;box-shadow:0 10px 28px #1d2b371a}@media (max-width:1220px){.invoice-document-summary{top:66px}.invoice-line-editor .quote-line-details{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-line-editor .quote-line-style-field,.invoice-line-editor .quote-line-note-field{grid-column:1/-1}}@media (max-width:700px){.invoice-document-summary,.invoice-totals-sticky{position:static}.invoice-line-editor .quote-line-details{grid-template-columns:1fr}}
