:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #667085;
  --line: #d9dee7;
  --surface: #ffffff;
  --nav: #24324a;
  --accent: #256f78;
  --accent-2: #b45309;
  --bg: #f5f7fa;
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; }
.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side-nav { position: sticky; top: 0; min-height: 100vh; max-height: 100vh; overflow: hidden; background: linear-gradient(180deg, #24324a 0%, #2f4262 52%, #1f4b89 100%); color: #fff; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.side-nav a { color: rgba(255,255,255,.9); text-decoration: none; padding: 9px 11px; border-radius: 6px; font-size: 13px; line-height: 1.25; }
.side-nav a:hover, .side-nav a:focus { background: rgba(255, 255, 255, .13); outline: none; }
.side-nav a.is-active { position: relative; background: #f4fbfa; color: #123942; font-weight: 800; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.side-nav a.is-active::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px; border-radius: 999px; background: #d1a13a; }
.side-nav a.is-active:hover, .side-nav a.is-active:focus { background: #f4fbfa; color: #123942; }
.side-nav .brand { font-weight: 700; margin-bottom: 14px; font-size: 17px; display: grid; gap: 10px; padding: 10px 8px 14px; }
.side-nav .brand img { width: 172px; max-width: 100%; height: auto; background: #fff; border-radius: 6px; padding: 6px; }
.side-nav .brand span { padding: 0 4px; }
.side-nav-menu { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 2px 3px 10px 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.34) transparent; }
.side-nav-footer { flex: 0 0 auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.13); }
.nav-home-link, .nav-flat-link, .nav-footer-link { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 36px; margin: 0 0 5px; font-weight: 850; text-transform: uppercase; }
.nav-flat-link { color: rgba(255,255,255,.86); font-size: 12px; }
.nav-footer-link { color: rgba(255,255,255,.88); font-size: 12px; padding: 0 10px; border-radius: 7px; }
.nav-footer-link:hover, .nav-footer-link:focus, .nav-footer-link.is-active { background: rgba(255,255,255,.14); color: #fff; }
.nav-flat-link span, .nav-home-link span, .nav-footer-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: normal; }
.nav-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logout-form { margin: 0; }
.logout-form button { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; background: rgba(255,255,255,.09); border-color: rgba(225,244,243,.28); text-align: left; }
.logout-form button:hover, .logout-form button:focus { background: rgba(255,255,255,.14); }
.nav-user { flex: 0 0 auto; padding: 14px 10px 0; color: rgba(255, 255, 255, .86); line-height: 1.25; text-align: left; }
.nav-user span { display: block; color: rgba(255, 255, 255, .58); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nav-user strong { display: block; max-width: 100%; overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.release-version { flex: 0 0 auto; padding: 6px 10px 2px; color: rgba(255, 255, 255, .68); font-size: 11px; font-weight: 700; line-height: 1; text-align: left; }
.content { padding: 20px 22px; min-width: 0; }
.view-as-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #f4c152; border-radius: 8px; background: #fff8e1; color: #65410d; }
.view-as-banner form { margin: 0; }
.view-as-banner button { background: #65410d; border-color: #65410d; padding: 8px 10px; }
.page-header { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 20px; }
.page-header h1 { margin: 0 0 6px; font-size: 25px; letter-spacing: 0; }
.page-header p { margin: 0; color: var(--muted); }
.page-header.has-table-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.page-header.has-table-meta h1 { grid-column: 1; }
.page-header.has-table-meta .table-meta-banner { grid-column: 2; justify-self: center; }
.page-header.has-table-meta .toolbar { grid-column: 3; justify-self: end; }
.page-header.has-table-meta h1, .page-header.has-table-meta .toolbar { margin-top: 0; margin-bottom: 0; }
.embedded-pricelist-header { margin-bottom: 12px; }
.embedded-pricelist-shell { min-height: calc(100vh - 150px); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.embedded-pricelist-frame { display: block; width: 100%; min-height: calc(100vh - 152px); border: 0; background: #fff; }
.sales-page-header.has-table-meta { grid-template-columns: auto minmax(360px, 1fr) auto; }
.sales-page-header.has-table-meta .toolbar { flex-wrap: nowrap; }
.sales-page-header.has-table-meta .toolbar > #tableSearch { width: 170px; }
.record-counter { display: inline-flex; align-items: center; margin-left: 10px; padding: 4px 8px; border: 1px solid #b9d8d6; border-radius: 999px; background: #e9f5f4; color: #245f63; font-size: 12px; font-weight: 700; vertical-align: middle; }
.table-meta-banner { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid #d3e1e3; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); color: var(--muted); font-size: 12px; white-space: nowrap; }
.table-meta-banner strong { color: var(--accent); font-size: 15px; }
.sales-total-banner { flex-wrap: wrap; justify-content: center; row-gap: 4px; max-width: min(760px, 100%); white-space: normal; }
.sales-total-banner strong:not(:last-child) { margin-right: 8px; }
.sales-dashboard { display: grid; gap: 14px; margin-bottom: 16px; color: #07132b; }
.sales-dashboard-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.sales-dashboard-header h2 { margin: 0 0 4px; font-size: 22px; line-height: 1.1; }
.sales-dashboard-header span { color: #475467; font-size: 13px; font-weight: 800; }
.sales-dashboard-header strong { color: #008b87; font-size: 24px; white-space: nowrap; }
.sales-dashboard-grid { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr); gap: 14px; align-items: start; }
.sales-chart-card { padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.sales-chart-card h3 { margin: 0 0 14px; color: #07132b; font-size: 16px; text-transform: uppercase; }
.sales-bar-list { display: grid; gap: 10px; }
.sales-bar-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(180px, 1.2fr) minmax(120px, auto); gap: 10px; align-items: center; }
.sales-bar-label { display: flex; align-items: center; gap: 9px; min-width: 0; }
.sales-bar-label strong { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; background: linear-gradient(135deg, #008b87, #006d70); color: #fff; font-size: 12px; flex: 0 0 26px; }
.sales-chart-brand .sales-bar-label strong { background: linear-gradient(135deg, #f97316, #c2410c); }
.sales-bar-label span { min-width: 0; overflow: hidden; color: #07132b; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.sales-bar-track { height: 18px; overflow: hidden; border: 1px solid #dbe4ee; border-radius: 999px; background: #eef3f8; }
.sales-bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #008b87, #006d70); }
.sales-chart-brand .sales-bar-fill { background: linear-gradient(90deg, #f97316, #ea580c); }
.sales-bar-row em { justify-self: end; color: #07132b; font-size: 13px; font-style: normal; font-weight: 900; white-space: nowrap; }
.quote-dashboard { display: grid; gap: 16px; margin-bottom: 16px; color: #07132b; }
.quote-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 14px; }
.quote-kpi { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 13px; min-height: 112px; padding: 15px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .05); }
.quote-kpi i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #dbeafe; color: #1261ff; font-style: normal; font-size: 21px; font-weight: 900; }
.quote-kpi:nth-child(2) i { background: #dcfce7; color: #059669; }
.quote-kpi:nth-child(3) i { background: #ffedd5; color: #ea580c; }
.quote-kpi:nth-child(4) i, .quote-kpi-warning i { background: #fef3c7; color: #d97706; }
.quote-kpi:nth-child(5) i { background: #ede9fe; color: #7c3aed; }
.quote-kpi:nth-child(6) i { background: #e0f7fa; color: #008b87; }
.quote-kpi span { display: block; margin-bottom: 8px; color: #07132b; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.quote-kpi strong { display: block; color: #07132b; font-size: 21px; line-height: 1.1; font-weight: 900; overflow-wrap: anywhere; }
.quote-kpi small { display: block; margin-top: 8px; color: #475467; font-size: 12px; font-weight: 700; }
.quote-visual-grid { display: grid; grid-template-columns: minmax(290px, .95fr) minmax(250px, .75fr) minmax(320px, 1fr) minmax(260px, .75fr); gap: 14px; align-items: stretch; }
.quote-card { min-height: 252px; padding: 15px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); overflow: hidden; }
.quote-card h2, .quote-followup h2 { margin: 0 0 14px; color: #07132b; font-size: 15px; font-weight: 900; }
.quote-age-body { display: grid; grid-template-columns: minmax(135px, 190px) minmax(130px, 1fr); align-items: center; gap: 18px; }
.quote-donut { position: relative; display: grid; place-items: center; min-height: 190px; }
.quote-donut svg { width: min(190px, 100%); transform: rotate(-90deg); }
.quote-donut div { position: absolute; display: grid; justify-items: center; gap: 2px; }
.quote-donut strong { color: #07132b; font-size: 27px; line-height: 1; }
.quote-donut span { color: #475467; font-size: 12px; font-weight: 800; }
.quote-age-legend { display: grid; gap: 10px; }
.quote-age-legend span { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 2px 8px; align-items: center; color: #07132b; }
.quote-age-legend i { width: 10px; height: 10px; border-radius: 50%; }
.quote-age-legend strong { font-size: 12px; font-weight: 900; }
.quote-age-legend em { grid-column: 2; color: #475467; font-size: 11px; font-style: normal; font-weight: 800; }
.quote-bdm-list { display: flex; align-items: end; justify-content: space-around; gap: 10px; min-height: 190px; padding-top: 8px; }
.quote-bdm-row { display: grid; grid-template-rows: minmax(130px, 1fr) auto auto; justify-items: center; gap: 7px; min-width: 42px; color: #07132b; }
.quote-bdm-row div { display: flex; align-items: end; width: 28px; height: 130px; border-radius: 7px; background: #eef3f8; overflow: hidden; }
.quote-bdm-row i { display: block; width: 100%; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, #4a9af4, #1261ff); }
.quote-bdm-row span { max-width: 70px; overflow: hidden; font-size: 11px; font-weight: 900; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.quote-bdm-row strong { color: #07132b; font-size: 12px; font-weight: 900; }
.quote-trend-svg { display: block; width: 100%; min-height: 210px; }
.quote-grid { stroke: #e5eaf2; stroke-width: 1; }
.quote-axis { fill: #344054; font-size: 12px; }
.quote-line { fill: none; stroke: #1261ff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.quote-point { fill: #1261ff; stroke: #fff; stroke-width: 2; }
.quote-bar { fill: #1261ff; }
.quote-value-label { fill: #07132b; font-size: 12px; font-weight: 900; }
.quote-account-list { display: grid; gap: 15px; padding-top: 4px; }
.quote-account-row { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(130px, 1.2fr) minmax(105px, auto); align-items: center; gap: 11px; }
.quote-account-row span { overflow: hidden; color: #07132b; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.quote-account-row div { height: 9px; overflow: hidden; border-radius: 999px; background: #edf3f8; }
.quote-account-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1261ff, #1d4ed8); }
.quote-account-row strong { justify-self: end; color: #07132b; font-size: 12px; font-weight: 900; white-space: nowrap; }
.quote-aging-table { min-width: 0; width: 100%; font-size: 12px; }
.quote-aging-table th, .quote-aging-table td { padding: 9px 7px; white-space: nowrap; }
.quote-aging-table th { cursor: default; }
.quote-aging-table td { font-weight: 800; }
.quote-aging-table td:first-child, .quote-aging-table td:last-child { color: var(--bucket-color); }
.quote-followup { padding: 15px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.quote-followup div { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 12px; }
.quote-followup article { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; min-height: 72px; padding: 13px; border: 1px solid #e5edf5; border-radius: 8px; background: #fbfdff; }
.quote-followup article::before { content: ""; grid-row: span 2; width: 12px; height: 12px; border-radius: 50%; background: var(--priority-color); }
.quote-followup span { color: #07132b; font-size: 13px; font-weight: 900; }
.quote-followup strong { color: #07132b; font-size: 16px; font-weight: 900; }
.quote-followup em { color: var(--priority-color); font-size: 13px; font-style: normal; font-weight: 900; white-space: nowrap; }
.order-dashboard { display: grid; gap: 16px; margin-bottom: 16px; color: #07132b; }
.order-kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 14px; }
.order-kpi { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 116px; padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .05); }
.order-kpi i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #dbeafe; color: #1261ff; font-style: normal; font-size: 22px; font-weight: 900; }
.order-kpi:nth-child(2) i { background: #dcfce7; color: #059669; }
.order-kpi:nth-child(3) i { background: #ffedd5; color: #ea580c; }
.order-kpi:nth-child(4) i { background: #ede9fe; color: #7c3aed; }
.order-kpi:nth-child(5) i { background: #fee2e2; color: #ef4444; }
.order-kpi span { display: block; margin-bottom: 8px; color: #07132b; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.order-kpi strong { display: block; color: #07132b; font-size: 22px; line-height: 1.1; font-weight: 900; overflow-wrap: anywhere; }
.order-kpi small { display: block; margin-top: 9px; color: #475467; font-size: 12px; font-weight: 700; }
.order-visual-grid { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(360px, 1.1fr); gap: 16px; }
.order-card { min-height: 220px; padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); overflow: hidden; }
.order-age-card, .order-trend-card { min-height: 232px; }
.order-card h2, .order-aging-summary h2 { margin: 0 0 12px; color: #07132b; font-size: 15px; font-weight: 900; }
.order-age-body { display: grid; grid-template-columns: minmax(130px, 168px) minmax(140px, 1fr); align-items: center; gap: 18px; }
.order-donut { position: relative; display: grid; place-items: center; min-height: 162px; }
.order-donut svg { width: min(162px, 100%); transform: rotate(-90deg); }
.order-donut div { position: absolute; display: grid; justify-items: center; gap: 2px; }
.order-donut strong { color: #07132b; font-size: 24px; line-height: 1; }
.order-donut span { color: #475467; font-size: 12px; font-weight: 800; }
.order-age-legend { display: grid; gap: 9px; }
.order-age-legend span { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 2px 9px; align-items: center; color: #07132b; }
.order-age-legend i { width: 10px; height: 10px; border-radius: 50%; }
.order-age-legend strong { font-size: 13px; font-weight: 900; }
.order-age-legend em { grid-column: 2; color: #475467; font-size: 12px; font-style: normal; font-weight: 800; }
.order-customer-list { display: grid; gap: 16px; padding-top: 4px; }
.order-customer-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, 1.3fr) minmax(110px, auto); align-items: center; gap: 12px; }
.order-customer-row span { overflow: hidden; color: #07132b; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.order-customer-row div { height: 9px; overflow: hidden; border-radius: 999px; background: #edf3f8; }
.order-customer-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1261ff, #1d4ed8); }
.order-customer-row strong { justify-self: end; color: #07132b; font-size: 12px; font-weight: 900; white-space: nowrap; }
.order-trend-svg { display: block; width: 100%; height: 178px; min-height: 0; }
.order-grid { stroke: #e5eaf2; stroke-width: 1; }
.order-axis { fill: #344054; font-size: 12px; }
.order-line { fill: none; stroke: #1261ff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.order-point { fill: #1261ff; stroke: #fff; stroke-width: 2; }
.order-bar { fill: #1261ff; }
.order-value-label { fill: #07132b; font-size: 12px; font-weight: 900; }
.order-summary-grid { display: grid; grid-template-columns: minmax(420px, 1.5fr) repeat(3, minmax(170px, .7fr)); gap: 16px; }
.order-aging-summary, .order-alert-card { min-height: 104px; padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.order-aging-summary div { display: grid; grid-template-columns: repeat(4, minmax(100px, 1fr)); gap: 12px; }
.order-aging-summary span { display: grid; gap: 6px; padding: 0 14px; border-left: 2px solid var(--bucket-color); }
.order-aging-summary strong { color: var(--bucket-color); font-size: 13px; font-weight: 900; }
.order-aging-summary em { color: #475467; font-size: 12px; font-style: normal; font-weight: 800; }
.order-alert-card { display: grid; align-content: center; gap: 6px; }
.order-alert-card span { color: #07132b; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.order-alert-card strong { color: #07132b; font-size: 21px; line-height: 1.1; font-weight: 900; }
.order-alert-card small { color: #475467; font-size: 12px; font-weight: 700; }
.order-alert-danger strong { color: #dc2626; }
.order-alert-warning strong { color: #f59e0b; }
.job-dashboard { display: grid; gap: 16px; margin-bottom: 16px; color: #07132b; }
.job-kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 14px; }
.job-kpi { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 116px; padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .05); }
.job-kpi i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #dff3f1; color: #008b87; font-style: normal; font-size: 22px; font-weight: 900; }
.job-kpi:nth-child(2) i { background: #fff7ed; color: #ea580c; }
.job-kpi:nth-child(3) i { background: #e0f2fe; color: #1261af; }
.job-kpi:nth-child(4) i { background: #ede9fe; color: #7c3aed; }
.job-kpi:nth-child(5) i { background: #fee2e2; color: #dc2626; }
.job-kpi span { display: block; margin-bottom: 8px; color: #07132b; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.job-kpi strong { display: block; color: #07132b; font-size: 22px; line-height: 1.1; font-weight: 900; overflow-wrap: anywhere; }
.job-kpi small { display: block; margin-top: 9px; color: #475467; font-size: 12px; font-weight: 700; }
.job-kpi-warning strong { color: #dc2626; }
.job-visual-grid { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(360px, 1.1fr); gap: 16px; }
.job-card, .job-list-card { padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); overflow: hidden; }
.job-card { min-height: 220px; }
.job-age-card, .job-trend-card { min-height: 232px; }
.job-card h2, .job-list-card h2 { margin: 0 0 12px; color: #07132b; font-size: 15px; font-weight: 900; }
.job-age-body { display: grid; grid-template-columns: minmax(130px, 168px) minmax(140px, 1fr); align-items: center; gap: 18px; }
.job-donut { position: relative; display: grid; place-items: center; min-height: 162px; }
.job-donut svg { width: min(162px, 100%); transform: rotate(-90deg); }
.job-donut div { position: absolute; display: grid; justify-items: center; gap: 2px; }
.job-donut strong { color: #07132b; font-size: 24px; line-height: 1; }
.job-donut span { color: #475467; font-size: 12px; font-weight: 800; }
.job-age-legend { display: grid; gap: 9px; }
.job-age-legend span { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 2px 9px; align-items: center; color: #07132b; }
.job-age-legend i { width: 10px; height: 10px; border-radius: 50%; }
.job-age-legend strong { font-size: 13px; font-weight: 900; }
.job-age-legend em { grid-column: 2; color: #475467; font-size: 12px; font-style: normal; font-weight: 800; }
.job-bar-list { display: grid; gap: 16px; padding-top: 4px; }
.job-bar-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, 1.3fr) minmax(64px, auto); align-items: center; gap: 12px; }
.job-bar-row span { display: flex; align-items: center; gap: 9px; min-width: 0; overflow: hidden; color: #07132b; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.job-bar-row span strong { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 4px; background: linear-gradient(135deg, #008b87, #006d70); color: #fff; font-size: 11px; }
.job-bar-row div { height: 9px; overflow: hidden; border-radius: 999px; background: #edf3f8; }
.job-bar-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #008b87, #006d70); }
.job-bar-row em { justify-self: end; color: #07132b; font-size: 12px; font-style: normal; font-weight: 900; white-space: nowrap; }
.job-trend-svg { display: block; width: 100%; height: 178px; min-height: 0; }
.job-grid { stroke: #e5eaf2; stroke-width: 1; }
.job-axis { fill: #344054; font-size: 12px; }
.job-line { fill: none; stroke: #008b87; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.job-point { fill: #fff; stroke: #008b87; stroke-width: 3; }
.job-bar { fill: #008b87; }
.job-value-label { fill: #07132b; font-size: 12px; font-weight: 900; }
.job-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; }
.job-list-card { min-height: 190px; }
.job-list-card div { display: grid; gap: 10px; }
.job-list-card span { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e5edf5; border-radius: 8px; background: #fbfdff; }
.job-list-card strong { min-width: 0; overflow: hidden; color: #07132b; font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.job-list-card em { display: grid; place-items: center; min-width: 34px; min-height: 24px; padding: 3px 8px; border-radius: 999px; background: #e9f5f4; color: #006d70; font-size: 12px; font-style: normal; font-weight: 900; }
.invoice-dashboard { display: grid; gap: 16px; margin-bottom: 16px; color: #07132b; }
.invoice-kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 14px; }
.invoice-kpi { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; gap: 14px; min-height: 116px; padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .05); }
.invoice-kpi span { display: block; margin-bottom: 10px; color: #07132b; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.invoice-kpi strong { display: block; color: #07132b; font-size: 22px; line-height: 1.1; font-weight: 900; overflow-wrap: anywhere; }
.invoice-kpi small { display: block; margin-top: 9px; color: #475467; font-size: 12px; font-weight: 700; }
.invoice-kpi i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e0f2fe; color: #1261af; font-style: normal; font-size: 20px; font-weight: 900; }
.invoice-kpi:nth-child(2) i { background: #dff3f1; color: #008b87; }
.invoice-kpi-danger strong { color: #dc2626; }
.invoice-kpi-danger i { background: #fee2e2; color: #dc2626; }
.invoice-visual-grid { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(360px, 1.1fr); gap: 16px; }
.invoice-card { min-height: 220px; padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); overflow: hidden; }
.invoice-age-card, .invoice-trend-card { min-height: 232px; }
.invoice-card h2 { margin: 0 0 12px; color: #07132b; font-size: 15px; font-weight: 900; }
.invoice-age-body { display: grid; grid-template-columns: minmax(130px, 168px) minmax(140px, 1fr); align-items: center; gap: 18px; }
.invoice-donut { position: relative; display: grid; place-items: center; min-height: 162px; }
.invoice-donut svg { width: min(162px, 100%); transform: rotate(-90deg); }
.invoice-donut circle { transition: stroke-dasharray .2s ease; }
.invoice-donut div { position: absolute; display: grid; justify-items: center; gap: 2px; }
.invoice-donut strong { color: #07132b; font-size: 24px; line-height: 1; }
.invoice-donut span { color: #475467; font-size: 12px; font-weight: 800; }
.invoice-age-legend { display: grid; gap: 9px; }
.invoice-age-legend span { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 2px 9px; align-items: center; color: #07132b; }
.invoice-age-legend i { width: 10px; height: 10px; border-radius: 50%; }
.invoice-age-legend strong { font-size: 13px; font-weight: 900; }
.invoice-age-legend em { grid-column: 2; color: #475467; font-size: 12px; font-style: normal; font-weight: 800; }
.invoice-customer-list { display: grid; gap: 16px; padding-top: 4px; }
.invoice-customer-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(140px, 1.3fr) minmax(110px, auto); align-items: center; gap: 12px; }
.invoice-customer-row span { overflow: hidden; color: #07132b; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.invoice-customer-row div { height: 9px; overflow: hidden; border-radius: 999px; background: #edf3f8; }
.invoice-customer-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #008b87, #006d70); }
.invoice-customer-row strong { justify-self: end; color: #07132b; font-size: 12px; font-weight: 900; white-space: nowrap; }
.invoice-trend-svg { display: block; width: 100%; height: 178px; min-height: 0; }
.invoice-grid { stroke: #e5eaf2; stroke-width: 1; }
.invoice-axis { fill: #344054; font-size: 12px; }
.invoice-line { fill: none; stroke: #008b87; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.invoice-point { fill: #fff; stroke: #008b87; stroke-width: 3; }
.invoice-bar { fill: #008b87; }
.invoice-value-label { fill: #07132b; font-size: 12px; font-weight: 900; }
.invoice-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 0; width: fit-content; max-width: 100%; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); overflow: hidden; }
.invoice-tabs button { min-height: 38px; padding: 9px 17px; border: 0; border-right: 1px solid #e5edf5; border-radius: 0; background: #fff; color: #07132b; font-size: 12px; font-weight: 800; }
.invoice-tabs button.is-active { background: #e9f5f4; color: #006d70; box-shadow: inset 0 -2px 0 #008b87; }
.invoice-tabs span { padding: 0 14px; color: #475467; font-size: 12px; font-weight: 800; white-space: nowrap; }
.price-currency-toggle { color: var(--ink); font-weight: 800; }
.price-brand-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; align-items: stretch; margin: 0 0 14px; padding: 14px 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.price-brand-tabs button { display: grid; grid-template-rows: 34px auto auto; justify-items: center; align-content: center; gap: 7px; min-height: 94px; padding: 12px 10px; border: 1px solid #d6e1ec; border-radius: 6px; background: linear-gradient(180deg, #fff, #f8fbfd); color: #07132b; font-size: 11px; font-weight: 900; line-height: 1.05; text-align: center; text-transform: uppercase; box-shadow: 0 2px 7px rgba(15, 23, 42, .06); }
.price-brand-tabs button:hover { border-color: #a9bfce; box-shadow: 0 6px 15px rgba(15, 23, 42, .1); transform: translateY(-1px); }
.price-brand-tabs button.is-active { border-color: #0f7a8b; background: linear-gradient(135deg, #0f8091, #17616f); color: #fff; box-shadow: 0 10px 22px rgba(15, 128, 145, .25); }
.price-brand-icon { display: grid; place-items: center; align-self: center; min-width: 28px; height: 24px; color: #237081; font-size: 11px; font-weight: 900; letter-spacing: 0; }
.price-brand-tabs button.is-active .price-brand-icon { color: #fff; }
.price-brand-logo-frame { display: grid; place-items: center; align-self: center; width: 116px; max-width: 100%; height: 36px; padding: 5px 10px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 5px; background: #fff; }
.price-brand-logo { display: block; width: 100%; max-width: 98px; max-height: 26px; object-fit: contain; }
.price-brand-label { display: block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.price-brand-count { color: #536474; font-size: 11px; font-weight: 800; white-space: nowrap; }
.price-brand-tabs button.is-active .price-brand-count { color: #d9fbff; }
.currency-switch { position: relative; display: inline-flex; align-items: center; width: 46px; height: 24px; margin: 0; padding: 0; cursor: pointer; }
.currency-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.currency-switch i { position: relative; display: block; width: 46px; height: 24px; border-radius: 999px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: background .18s ease; }
.currency-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .24); transition: transform .18s ease; }
.currency-switch input:checked + i { background: #245f9f; }
.currency-switch input:checked + i::after { transform: translateX(22px); }
.currency-switch input:focus + i { outline: 3px solid rgba(47, 111, 115, .22); outline-offset: 2px; }
.home-dashboard { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.dashboard-card { min-height: 120px; padding: 16px; border-left: 4px solid var(--accent); display: flex; flex-direction: column; justify-content: space-between; }
.dashboard-card span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.dashboard-card strong { color: var(--ink); font-size: 26px; line-height: 1.1; overflow-wrap: anywhere; }
.dashboard-card small { color: var(--muted); font-size: 12px; }
.dashboard-card em { color: var(--accent); font-size: 13px; font-style: normal; font-weight: 800; }
.dashboard-card:nth-child(2) { border-left-color: #245f9f; }
.dashboard-card:nth-child(3) { border-left-color: var(--accent-2); }
.dashboard-card:nth-child(4) { border-left-color: #7a3e7d; }
.home-performance { margin: 0 0 18px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.home-performance-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.home-performance-header h2 { margin: 0; font-size: 19px; }
.home-performance-header span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.home-performance-summary { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.home-performance-summary span { display: grid; gap: 5px; min-height: 92px; padding: 13px 14px; border: 1px solid #d3e1e3; border-left: 4px solid var(--accent); border-radius: 8px; background: #f8fafc; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.home-performance-summary span:nth-child(2) { border-left-color: var(--accent-2); }
.home-performance-summary span:nth-child(3) { border-left-color: #7a3e7d; }
.home-performance-summary strong { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.home-performance-summary em { color: var(--ink); font-size: 28px; line-height: 1; font-style: normal; font-weight: 900; }
.home-performance-summary small { color: var(--muted); font-size: 12px; font-weight: 700; }
.home-month-chart { margin-bottom: 18px; padding: 14px; border: 1px solid #cbdce0; border-radius: 8px; background: #f8fbfb; }
.home-chart-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.home-chart-title strong { color: var(--ink); font-size: 15px; text-transform: uppercase; }
.home-chart-title span { color: var(--muted); font-size: 12px; font-weight: 800; }
.home-chart-title-weekly { margin: 2px 0 10px; }
.home-month-bars { display: grid; gap: 10px; }
.home-month-bars .home-week-row { grid-template-columns: 86px minmax(160px, 1fr) minmax(150px, auto); font-size: 13px; }
.home-month-bars .home-week-track { height: 20px; }
.home-month-bars .home-week-row strong { font-size: 13px; }
.home-weekly-chart { display: grid; gap: 12px; }
.home-week { display: grid; grid-template-columns: 98px minmax(0, 1fr); gap: 8px 12px; padding: 12px; border: 1px solid #e3e8ef; border-radius: 8px; background: #fff; }
.home-week-label { grid-row: span 3; display: grid; align-content: center; gap: 4px; }
.home-week-label strong { font-size: 13px; }
.home-week-label span { color: var(--muted); font-size: 11px; font-weight: 700; }
.home-week-row { display: grid; grid-template-columns: 72px minmax(120px, 1fr) minmax(130px, auto); align-items: center; gap: 10px; font-size: 12px; }
.home-week-metric { color: var(--ink); font-weight: 800; }
.home-week-track { height: 17px; overflow: hidden; border-radius: 999px; background: #eef3f4; border: 1px solid #d8e1e4; }
.home-week-bar { height: 100%; border-radius: inherit; min-width: 0; transition: width .2s ease; }
.home-week-row strong { justify-self: end; color: var(--ink); font-size: 12px; }
.home-bar-sales { background: var(--accent); }
.home-bar-target { background: #7a3e7d; }
.home-bar-pipeline { background: var(--accent-2); }
.home-bp-panel, .home-daily-report-panel, .home-finance-card { border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.home-bp-panel { display: grid; gap: 16px; padding: 16px; }
.home-bp-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.home-bp-head strong { display: block; color: #07132b; font-size: 22px; line-height: 1.15; }
.home-bp-head span { display: block; margin-top: 5px; color: #475467; font-size: 14px; font-weight: 800; }
.home-credit-request-button { align-self: center; min-width: 220px; }
.home-credit-request-button:disabled { cursor: not-allowed; opacity: .45; }
.home-daily-report-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; }
.home-daily-report-panel p { margin: 0; color: #344054; font-size: 14px; font-weight: 700; }
.home-daily-report-panel small { display: block; margin-top: 6px; color: #475467; font-size: 12px; font-weight: 800; }
.home-daily-report-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 9px 14px; border-radius: 7px; background: #b01742; color: #fff; font-weight: 900; text-decoration: none; white-space: nowrap; }
.home-daily-report-button:hover { background: #8f1236; color: #fff; }
.home-bp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.home-bp-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-bp-field { min-width: 0; padding: 12px; border: 1px solid #e3ebf4; border-radius: 8px; background: #f8fbfe; }
.home-bp-field span, .home-finance-card span, .home-credit-context span { display: block; margin-bottom: 6px; color: #475467; font-size: 10px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.home-bp-field strong { display: block; color: #07132b; font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
.home-finance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.home-finance-card { min-width: 0; padding: 15px; border-top: 4px solid #245f9f; }
.home-finance-card strong { display: block; color: #07132b; font-size: 21px; line-height: 1.1; overflow-wrap: anywhere; }
.home-finance-card small { display: block; margin-top: 8px; color: #475467; font-size: 12px; font-weight: 800; }
.home-finance-credit { border-top-color: #7a3e7d; }
.home-finance-invoice { border-top-color: #b45309; }
.home-finance-orders { border-top-color: #2f7778; }
.home-credit-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-credit-context div { padding: 12px; border: 1px solid #e3ebf4; border-radius: 8px; background: #f8fbfe; }
.home-credit-context strong { display: block; color: #07132b; overflow-wrap: anywhere; }
.email-template-layout { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: 18px; align-items: start; }
.email-template-layout textarea { font-family: Consolas, 'Courier New', monospace; min-height: 280px; }
.home-dashboard-shell { display: grid; gap: 14px; color: #07132b; }
.home-dashboard-title { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.home-dashboard-title h1 { margin: 0 0 4px; font-size: 25px; line-height: 1.12; color: #07132b; }
.home-dashboard-title span { display: block; color: #07132b; font-size: 16px; }
.home-month-select { display: inline-flex; align-items: center; gap: 8px; min-width: 180px; padding: 8px 10px; border: 1px solid #d5dee9; border-radius: 8px; background: #fff; color: #07132b; font-weight: 700; }
.home-month-select span { font-size: 12px; color: #475467; }
.home-month-select select { flex: 1; border: 0; background: transparent; color: #07132b; font: inherit; opacity: 1; }
.home-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.home-kpi-grid-single { grid-template-columns: minmax(300px, 1fr); }
.home-kpi-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 13px; min-height: 104px; min-width: 0; padding: 15px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .05); }
.home-kpi-card > div { min-width: 0; }
.home-kpi-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; font-size: 23px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.home-kpi-card span { display: block; margin-bottom: 7px; color: #07132b; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.home-kpi-card strong { display: block; color: #07132b; font-size: 20px; line-height: 1.08; font-weight: 900; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.home-kpi-card small { display: block; margin-top: 8px; color: #475467; font-size: 14px; font-weight: 800; }
.home-kpi-sales .home-kpi-icon { background: linear-gradient(135deg, #008b87, #006d70); }
.home-kpi-target .home-kpi-icon { background: linear-gradient(135deg, #8a22b0, #5b1680); }
.home-kpi-pipeline .home-kpi-icon { background: linear-gradient(135deg, #f97316, #c2410c); }
.home-kpi-forecast .home-kpi-icon { background: linear-gradient(135deg, #2884dc, #1261af); }
.home-kpi-gap .home-kpi-icon { background: linear-gradient(135deg, #fb7185, #e11d48); }
.home-kpi-sales small { color: #008b87; }
.home-kpi-pipeline small { color: #ea580c; }
.home-kpi-forecast small { color: #1261af; }
.home-kpi-gap small { color: #dc2626; }
.home-target-panel, .home-week-table-panel, .home-line-panel, .home-forecast-callout { border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.home-target-panel { padding: 16px; }
.home-panel-title { margin-bottom: 14px; color: #07132b; font-size: 16px; font-weight: 900; text-transform: uppercase; }
.home-progress-legend { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.home-legend-item { display: grid; gap: 6px; color: #07132b; }
.home-legend-item span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.home-legend-item i { width: 12px; height: 12px; border-radius: 50%; background: #98a2b3; }
.home-legend-item strong { font-size: 15px; font-weight: 900; }
.home-legend-sales i { background: #008b87; }
.home-legend-pipeline i { background: #ea580c; }
.home-legend-target i { background: #6b21a8; }
.home-progress-wrap { display: grid; gap: 12px; }
.home-progress-bar { position: relative; display: flex; height: 42px; overflow: visible; border-radius: 4px; background: #eef3f8; box-shadow: inset 0 0 0 1px #dbe4ee; }
.home-progress-bar > div:not(.home-target-marker) { display: flex; align-items: center; justify-content: center; min-width: 0; color: #fff; font-size: 15px; font-weight: 900; white-space: nowrap; }
.home-progress-sales { background: linear-gradient(90deg, #008b87, #00726f); border-radius: 4px 0 0 4px; }
.home-progress-pipeline { background: linear-gradient(90deg, #f97316, #ea580c); }
.home-progress-gap { color: #07132b !important; background: #eef3f8; }
.home-target-marker { position: absolute; top: -17px; right: 0; bottom: -7px; width: 4px; border-radius: 999px; background: #6b21a8; }
.home-progress-axis { display: flex; justify-content: space-between; color: #07132b; font-size: 14px; }
.home-detail-grid { display: grid; grid-template-columns: minmax(520px, 1.05fr) minmax(420px, .95fr); gap: 14px; align-items: stretch; }
.home-week-table-panel, .home-line-panel { padding: 16px; overflow: hidden; }
.home-week-table-scroll { overflow-x: auto; }
.home-week-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; }
.home-week-table th, .home-week-table td { padding: 11px 10px; border-bottom: 1px solid #e5edf5; text-align: right; white-space: nowrap; }
.home-week-table th:first-child, .home-week-table td:first-child, .home-week-table th:nth-child(2), .home-week-table td:nth-child(2) { text-align: left; }
.home-week-table thead th { color: #07132b; font-size: 12px; font-weight: 900; }
.home-week-table tfoot th, .home-week-table tfoot td { background: #eef6f8; font-weight: 900; }
.home-week-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: linear-gradient(135deg, #008b87, #006d70); color: #fff; font-weight: 900; }
.home-gap-positive { color: #047857; font-weight: 900; }
.home-gap-negative { color: #dc2626; font-weight: 900; }
.home-table-note { margin-top: 10px; color: #475467; font-size: 12px; font-weight: 700; }
.home-line-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; color: #344054; font-size: 12px; }
.home-line-legend span::before { content: ""; display: inline-block; width: 18px; height: 3px; margin-right: 7px; vertical-align: middle; border-radius: 999px; background: currentColor; }
.home-line-legend .target { color: #7e22ce; }
.home-line-legend .sales { color: #008b87; }
.home-line-legend .forecast { color: #ea580c; }
.home-cumulative-svg { display: block; width: 100%; min-height: 310px; }
.home-chart-grid { stroke: #e5eaf2; stroke-width: 1; stroke-dasharray: 5 4; }
.home-chart-axis-label, .home-chart-week, .home-chart-range { fill: #344054; font-size: 12px; }
.home-chart-week { font-weight: 900; }
.home-chart-range { fill: #667085; }
.home-chart-area { fill: rgba(249, 115, 22, .12); }
.home-line-target, .home-line-forecast, .home-line-sales { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.home-line-target { stroke: #7e22ce; stroke-dasharray: 12 10; }
.home-line-forecast { stroke: #ea580c; stroke-dasharray: 9 8; }
.home-line-sales { stroke: #008b87; }
.home-point-sales { fill: #008b87; }
.home-point-forecast { fill: #ea580c; }
.home-chart-pill rect { stroke: rgba(255,255,255,.45); stroke-width: 1; }
.home-chart-pill text { fill: #fff; font-size: 12px; font-weight: 900; }
.home-chart-pill-target rect { fill: #7e22ce; }
.home-chart-pill-forecast rect { fill: #ea580c; }
.home-chart-pill-sales rect { fill: #008b87; }
.home-forecast-callout { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 28px; background: #f5fbff; }
.home-callout-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #2884dc, #1261af); color: #fff; font-size: 24px; font-weight: 900; }
.home-forecast-callout strong { display: block; margin-bottom: 8px; color: #07132b; font-size: 18px; }
.home-forecast-callout span { color: #344054; font-size: 15px; }
.home-forecast-callout a { justify-self: end; padding: 12px 28px; border: 1px solid #bfdbfe; border-radius: 8px; color: #075aca; background: #fff; font-weight: 800; text-decoration: none; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.dashboard-card, .profile-grid div, .table-surface, .editor-panel, .admin-list, .form-shell {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.dashboard-card { border-left-width: 4px; border-left-color: var(--accent); }
.dashboard-card:nth-child(2) { border-left-color: #245f9f; }
.dashboard-card:nth-child(3) { border-left-color: var(--accent-2); }
.dashboard-card:nth-child(4) { border-left-color: #7a3e7d; }
.item-360-panel { margin-bottom: 16px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.item-360-form { display: grid; grid-template-columns: auto minmax(220px, 360px) auto; align-items: end; gap: 10px; }
.item-360-form label { align-self: center; color: var(--muted); font-size: 12px; font-weight: 800; }
.item-360-form input { min-height: 38px; font-size: 14px; }
.item-360-form button { min-height: 38px; padding-inline: 18px; }
.item-360-summary { margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.item-360-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.item-360-section { --section-accent: var(--accent); min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid #ccd6e2; border-radius: 8px; box-shadow: 0 12px 28px rgba(16, 24, 40, .12), 0 2px 4px rgba(16, 24, 40, .06); }
.item-360-section header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid color-mix(in srgb, var(--section-accent) 22%, #dce4ec); background: linear-gradient(90deg, color-mix(in srgb, var(--section-accent) 14%, #ffffff), #ffffff); }
.item-360-section h2 { margin: 0; font-size: 15px; }
.item-360-section header span { padding: 4px 8px; border: 1px solid color-mix(in srgb, var(--section-accent) 40%, #ffffff); border-radius: 999px; background: color-mix(in srgb, var(--section-accent) 12%, #ffffff); color: var(--section-accent); font-size: 12px; font-weight: 800; white-space: nowrap; }
.item-360-window-body { padding: 10px; background: #fff; }
.item-360-stockonhand { --section-accent: #2f6f73; }
.item-360-sales { --section-accent: #245f9f; }
.item-360-tmolist { --section-accent: #b01742; grid-column: 1 / -1; }
.item-360-pricelist { --section-accent: #7a3e7d; }
.item-360-openquotes { --section-accent: #b45309; }
.item-360-opensalesorders { --section-accent: #185b60; }
.item-360-openinvoices { --section-accent: #4f46e5; }
.item-360-pipeline { --section-accent: #8a5a12; }
.item-360-jobcards { --section-accent: #475467; }
.item-360-fit-wrap { width: 100%; max-height: 360px; overflow-y: auto; overflow-x: hidden; border: 1px solid #e2e8f0; border-radius: 8px; scrollbar-width: thin; }
.item-360-fit-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; font-size: 11px; }
.item-360-fit-table th { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--section-accent) 12%, #eef3f4); color: var(--ink); white-space: normal; overflow-wrap: anywhere; line-height: 1.15; }
.item-360-fit-table td { white-space: normal; overflow-wrap: anywhere; word-break: break-word; vertical-align: top; }
.item-360-fit-table th, .item-360-fit-table td { padding: 6px 7px; }
.item-360-scroll { max-height: 420px; overflow: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--section-accent) #edf2f7; }
.item-360-scroll::-webkit-scrollbar { display: initial; width: 11px; height: 14px; }
.item-360-scroll::-webkit-scrollbar-track { background: #edf2f7; border-radius: 999px; }
.item-360-scroll::-webkit-scrollbar-thumb { background: var(--section-accent); border: 3px solid #edf2f7; border-radius: 999px; }
.item-360-table th { position: sticky; top: 0; z-index: 2; }
.item-360-tmolist .item-360-scroll { max-height: 520px; overflow: auto; }
.item-360-tmolist .item-360-table { width: max-content; min-width: 100%; }
.item-360-tmolist td { white-space: nowrap; }
.profile-grid div { padding: 16px; }
.profile-grid span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 7px; }
.profile-grid strong { overflow-wrap: anywhere; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.date-range-filter { display: flex; align-items: end; gap: 8px; padding: 6px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.date-range-filter label { display: grid; gap: 3px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .03em; }
.date-range-filter input { min-width: 132px; padding: 6px 8px; font-size: 12px; }
.date-range-filter button { padding: 6px 11px; }
input, select, textarea, button, .button-link { border: 1px solid var(--line); border-radius: 6px; padding: 8px 9px; font: inherit; font-size: 13px; }
textarea { resize: vertical; }
button, .button-link { background: var(--accent); border-color: var(--accent); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button:disabled { opacity: .6; cursor: not-allowed; }
.table-surface { padding: 10px; overflow: visible; }
.status { padding: 22px; color: var(--muted); }
.data-table-scroll { overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scrollbar-width: none; }
.data-table-scroll::-webkit-scrollbar { display: none; }
.table-scrollbar { position: sticky; bottom: 0; z-index: 6; width: 100%; height: 18px; overflow-x: auto; overflow-y: hidden; margin-top: 2px; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
.table-scrollbar-spacer { height: 1px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 12px; }
.data-table { width: max-content; min-width: 100%; table-layout: auto; }
th, td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; line-height: 1.25; }
th { background: #eef3f4; cursor: pointer; white-space: nowrap; }
td { white-space: nowrap; overflow-wrap: normal; }
.column-filter-row th { background: #f8fafc; padding: 4px 6px; cursor: default; }
.column-filter-row input { width: 100%; min-width: 64px; padding: 5px 6px; border-radius: 5px; font-size: 11px; background: #fff; }
.price-list-table { width: 100%; min-width: 0; table-layout: fixed; border: 1px solid #dbe4ee; border-radius: 7px; overflow: hidden; }
.price-list-table th, .price-list-table td { box-sizing: border-box; }
.price-list-table thead tr:first-child th { padding: 12px 13px; border-bottom-color: #203247; background: linear-gradient(180deg, #35475b, #24364a); color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.price-list-table .column-filter-row th { padding: 8px 12px; background: #f7fafc; }
.price-list-table .column-filter-row input { width: 100%; min-width: 0; min-height: 34px; padding: 7px 10px; border-color: #d3dde8; border-radius: 5px; color: #07132b; font-size: 12px; box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04); }
.price-list-table td { padding: 8px 13px; }
.price-list-table .col-itemname { width: auto; min-width: 0; max-width: none; white-space: normal; overflow-wrap: anywhere; }
.price-list-table td.col-itemname { display: table-cell; white-space: normal; overflow: hidden; }
.price-list-table th.col-itemname { white-space: nowrap; }
.price-list-table .col-soh { width: 64px; min-width: 64px; max-width: 64px; white-space: nowrap; text-align: right; }
.price-list-table .col-itemcode { width: 104px; min-width: 104px; max-width: 104px; white-space: nowrap; }
.price-list-table .col-brand { width: 88px; min-width: 88px; max-width: 88px; white-space: nowrap; }
.price-list-table .col-zardealerlistexvat, .price-list-table .col-usdlistprice, .price-list-table .col-zardealerbuyexvat, .price-list-table .col-usddealerprice, .price-list-table .col-zarpromoprice, .price-list-table .col-usdpromoprice { width: 118px; min-width: 118px; max-width: 118px; white-space: nowrap; }
.price-list-table .col-roedescription { width: 250px; min-width: 250px; max-width: 250px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-empty-state { border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; }
.data-table .col-salesordernumber, .data-table .col-quotenumber, .data-table .col-invoicenumber { min-width: 78px; white-space: normal; }
.data-table th.col-salesordernumber, .data-table th.col-quotenumber, .data-table th.col-invoicenumber { line-height: 1.1; }
.data-table td.col-salesordernumber, .data-table td.col-quotenumber, .data-table td.col-invoicenumber { font-weight: 700; }
.data-table .col-itemdescription { min-width: 220px; max-width: 360px; white-space: normal; overflow-wrap: anywhere; }
.data-table .col-accountname { min-width: 150px; max-width: 260px; white-space: normal; overflow-wrap: anywhere; }
.data-table .col-customerponumber { min-width: 110px; max-width: 180px; white-space: normal; overflow-wrap: anywhere; }
.data-table .col-unitpriceexvat, .data-table .col-totalopenvalue, .data-table .col-linetotal, .data-table .col-invoicetotal, .data-table .col-paidtodate, .data-table .col-balancedue { min-width: 96px; text-align: right; }
.document-detail-panel { display: grid; gap: 10px; margin-top: 4px; }
.document-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.document-detail-header div { display: grid; gap: 2px; }
.document-detail-header strong { color: var(--ink); font-size: 15px; font-weight: 900; }
.document-detail-header span { color: var(--muted); font-size: 12px; font-weight: 800; }
.document-table-toggle { min-width: 132px; background: #fff; border-color: #b7d1d4; color: var(--accent); font-weight: 800; }
.document-group-table .document-expander-col { width: 116px; min-width: 116px; text-align: center; }
.document-summary-row td { background: #f8fbff; font-weight: 800; }
.document-summary-row.is-expanded td { background: #eef8f7; border-bottom-color: #d5e7e8; }
.document-expander-cell { text-align: center; }
.document-row-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 94px; padding: 5px 8px; background: #fff; border-color: #b7d1d4; color: var(--accent); font-size: 11px; font-weight: 900; }
.document-row-toggle small { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #e6f3f4; color: var(--accent); font-size: 10px; }
.document-line-row td { background: #fff; color: #334155; }
.document-line-row:hover td { background: #fbfdff; }
.document-line-index { color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; }
.order-group-a td { background: #fff7e6; }
.order-group-b td { background: #edf7ff; }
.order-group-a:hover td, .order-group-b:hover td { filter: brightness(.985); }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 10px; font-size: 12px; }
.pipeline-chart { margin-top: 16px; }
.pipeline-overview { display: grid; gap: 14px; color: #07132b; }
.pipeline-overview-head { display: flex; justify-content: space-between; gap: 18px; align-items: stretch; }
.pipeline-overview-title h2 { margin: 0 0 6px; color: #07132b; font-size: 25px; line-height: 1.1; }
.pipeline-overview-title span { display: block; color: #344054; font-size: 15px; font-weight: 700; }
.pipeline-kpi-strip { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); overflow: hidden; }
.pipeline-kpi { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 5px 13px; align-items: center; min-height: 86px; padding: 14px 18px; border-left: 1px solid #dbe4ee; }
.pipeline-kpi:first-child { border-left: 0; }
.pipeline-kpi-icon { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; color: #fff; font-size: 19px; font-style: normal; font-weight: 900; }
.pipeline-kpi-total { background: linear-gradient(135deg, #2884dc, #1261af); }
.pipeline-kpi-weighted { background: linear-gradient(135deg, #f97316, #c2410c); }
.pipeline-kpi-average { background: linear-gradient(135deg, #16a34a, #047857); }
.pipeline-kpi span { color: #344054; font-size: 13px; font-weight: 800; }
.pipeline-kpi strong { color: #07132b; font-size: 20px; line-height: 1.1; white-space: nowrap; }
.pipeline-chart-card { padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); overflow-x: auto; overflow-y: hidden; }
.pipeline-chart-legend { display: flex; justify-content: center; gap: 42px; margin: 6px 0 4px; color: #07132b; font-size: 14px; font-weight: 800; }
.pipeline-chart-legend span { display: inline-flex; align-items: center; gap: 9px; }
.pipeline-chart-legend i { display: inline-block; width: 28px; height: 11px; border-radius: 4px; }
.pipeline-legend-total i { background: linear-gradient(180deg, #4a9af4, #1261af); }
.pipeline-legend-average i { height: 4px; background: #ea580c; }
.pipeline-chart-svg { display: block; width: 100%; min-width: 900px; min-height: 350px; }
.pipeline-grid { stroke: #e5eaf2; stroke-width: 1; stroke-dasharray: 5 4; }
.pipeline-axis { stroke: #a8b3c2; stroke-width: 1.2; }
.pipeline-axis-label { fill: #344054; font-size: 12px; }
.pipeline-percent-axis, .pipeline-axis-title-right { fill: #ea580c; }
.pipeline-axis-title { fill: #1261af; font-size: 13px; font-weight: 900; }
.pipeline-bar-total { fill: url(#pipelineBlueGradient); }
.pipeline-bar-label { fill: #07132b; font-size: 13px; font-weight: 900; }
.pipeline-average-line { fill: none; stroke: #ea580c; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pipeline-line-point { fill: #fff; stroke: #ea580c; stroke-width: 4; }
.pipeline-percent-label { fill: #ea580c; paint-order: stroke; stroke: #fff; stroke-width: 4px; font-size: 13px; font-weight: 900; }
.pipeline-month-label { font-size: 13px; font-weight: 800; }
.pipeline-summary-scroll { overflow-x: auto; margin-top: 8px; border: 1px solid #dbe4ee; border-radius: 8px; }
.pipeline-summary-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 13px; }
.pipeline-summary-table th, .pipeline-summary-table td { padding: 12px 14px; border-left: 1px solid #e5edf5; border-bottom: 1px solid #e5edf5; text-align: right; white-space: nowrap; }
.pipeline-summary-table th:first-child, .pipeline-summary-table td:first-child { border-left: 0; text-align: left; }
.pipeline-summary-table thead th { color: #07132b; font-size: 13px; font-weight: 900; background: #fbfdff; }
.pipeline-summary-table tbody th { color: #344054; font-weight: 800; }
.pipeline-summary-table tr:last-child th, .pipeline-summary-table tr:last-child td { border-bottom: 0; }
.pipeline-summary-total { color: #1261af; background: #eff6ff; font-weight: 900; }
.pipeline-summary-weighted-total { color: #ea580c; }
.pipeline-summary-percent { color: #047857; font-weight: 900; }
.summary-dot { display: inline-block; width: 10px; height: 10px; margin-right: 9px; border-radius: 3px; vertical-align: middle; }
.summary-total { background: #1261af; }
.summary-weighted { background: #ea580c; }
.summary-average { background: #047857; }
.pipeline-brand-card { padding: 16px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); overflow-x: auto; overflow-y: hidden; }
.pipeline-brand-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 12px; }
.pipeline-brand-head h3 { margin: 0 0 5px; color: #07132b; font-size: 18px; line-height: 1.15; }
.pipeline-brand-head span { color: #344054; font-size: 13px; font-weight: 700; }
.pipeline-brand-totals { display: grid; gap: 2px; min-width: 190px; text-align: right; }
.pipeline-brand-totals strong { color: #07132b; font-size: 18px; line-height: 1.1; }
.pipeline-brand-totals span { color: #344054; font-size: 12px; font-weight: 800; }
.pipeline-brand-totals em { color: #ea580c; font-size: 12px; font-style: normal; font-weight: 900; }
.pipeline-brand-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 8px; color: #07132b; font-size: 12px; font-weight: 800; }
.pipeline-brand-legend span { display: inline-flex; align-items: center; gap: 7px; }
.pipeline-brand-legend i { display: inline-block; width: 18px; height: 9px; border-radius: 3px; }
.pipeline-brand-svg { display: block; width: 100%; min-width: 900px; min-height: 320px; }
.pipeline-brand-segment { shape-rendering: crispEdges; }
.pipeline-brand-table { min-width: 980px; }
.pipeline-insight { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid #dbe4ee; border-radius: 8px; background: #f5fbff; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
.pipeline-insight i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #2884dc, #1261af); color: #fff; font-style: normal; font-weight: 900; }
.pipeline-insight strong { display: block; margin-bottom: 4px; color: #1261af; font-size: 15px; }
.pipeline-insight span { color: #344054; font-size: 14px; font-weight: 700; }
.committed-deals { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.committed-deals-header { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 10px; }
.committed-deals h2 { margin: 0; font-size: 15px; }
.committed-deals-header span { color: var(--muted); font-size: 12px; font-weight: 700; }
.committed-table-scroll { overflow-x: auto; padding-bottom: 4px; }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-tab { background: #fff; color: var(--ink); border-color: var(--line); }
.admin-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.reports-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.reports-tab { background: #fff; color: var(--ink); border-color: var(--line); }
.reports-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.report-panel { display: grid; gap: 14px; }
.report-toolbar { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .04); }
.report-toolbar label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.report-toolbar input, .report-toolbar select { min-height: 38px; border: 1px solid #cbd6e2; border-radius: 6px; padding: 8px 10px; font: inherit; }
.report-last-updated { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 800; }
.report-surface { min-height: 120px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px; box-shadow: 0 8px 24px rgba(15, 23, 42, .04); }
.report-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; margin-bottom: 12px; }
.report-summary-grid article { padding: 12px; border: 1px solid #dbe4ee; border-radius: 8px; background: linear-gradient(180deg, #fff, #f6fbfd); }
.report-summary-grid span { display: block; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.report-summary-grid strong { display: block; margin-top: 6px; color: var(--ink); font-size: clamp(18px, 2vw, 26px); line-height: 1; }
.report-table { font-size: 12px; }
.report-table td, .report-table th { vertical-align: top; }
.report-table td:last-child { max-width: 380px; white-space: normal; word-break: break-word; }
.report-detail-link { padding: 0; border: 0; background: transparent; color: var(--accent); font: inherit; font-weight: 800; text-align: left; text-decoration: underline; cursor: pointer; }
.report-detail-link:hover { color: #1c5d5e; }
.sf-activity-dashboard { display: grid; gap: 16px; margin-bottom: 18px; }
.sf-activity-title-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.sf-activity-title-row h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.sf-activity-title-row p { margin: 8px 0 0; color: var(--muted); font-size: 15px; font-weight: 700; }
.sf-activity-title-row > span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.sf-activity-filter-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; padding: 10px 12px; border: 1px solid #d4dde8; border-radius: 8px; background: #fbfdff; }
.sf-activity-filter-chips span { min-height: 30px; display: inline-flex; align-items: center; padding: 5px 12px; border: 1px solid #cbd6e2; border-radius: 6px; background: #f8fafc; color: var(--ink); font-size: 13px; font-weight: 700; }
.sf-activity-kpis { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 12px; }
.sf-activity-kpis article { min-width: 0; padding: 16px; border: 1px solid #d8e2ee; border-radius: 8px; background: linear-gradient(180deg, #fff, #f8fbfd); box-shadow: 0 10px 24px rgba(15, 23, 42, .04); }
.sf-activity-kpis span { display: block; color: var(--muted); font-size: 13px; font-weight: 800; }
.sf-activity-kpis strong { display: block; margin: 8px 0; color: var(--ink); font-size: clamp(24px, 2.7vw, 36px); line-height: .95; overflow-wrap: anywhere; }
.sf-activity-kpis small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.sf-activity-dashboard-grid { display: grid; grid-template-columns: minmax(300px, 460px) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.sf-activity-side-card, .sf-activity-timeline-card { min-width: 0; padding: 18px; border: 1px solid #d8e2ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .04); }
.sf-activity-side-card { display: grid; align-content: start; gap: 16px; }
.sf-activity-side-card h3, .sf-activity-timeline-card h3 { margin: 0; color: var(--ink); font-size: 20px; }
.sf-activity-card-header { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.sf-activity-card-header p { margin: 6px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.sf-daily-summary-scroll { overflow-x: auto; }
.sf-daily-summary-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sf-daily-summary-table th, .sf-daily-summary-table td { padding: 10px 8px; border-bottom: 1px solid #dbe4ee; text-align: left; white-space: nowrap; }
.sf-daily-summary-table th { color: var(--muted); font-weight: 900; }
.sf-activity-mix { display: grid; gap: 14px; }
.sf-activity-mix-row { display: grid; gap: 7px; }
.sf-activity-mix-row div { display: flex; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 800; }
.sf-activity-mix-row strong { color: var(--muted); }
.sf-activity-mix-row::after { content: ""; display: block; grid-row: 2; height: 17px; border-radius: 999px; background: #e7ecf2; }
.sf-activity-mix-row i { grid-row: 2; display: block; height: 17px; border-radius: 999px; z-index: 1; }
.sf-activity-flags { max-width: 390px; padding: 12px 14px; border: 1px solid #fed7aa; border-radius: 8px; background: #fff7ed; color: #7c2d12; }
.sf-activity-flags strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 14px; }
.sf-activity-flags span { font-size: 12px; font-weight: 700; }
.sf-timeline { overflow-x: auto; padding-bottom: 8px; }
.sf-timeline-hours, .sf-timeline-day { display: grid; grid-template-columns: 120px minmax(760px, 1fr); gap: 10px; }
.sf-timeline-hours { color: var(--muted); font-size: 12px; font-weight: 800; }
.sf-timeline-hours div { display: grid; grid-template-columns: repeat(14, minmax(52px, 1fr)); }
.sf-timeline-day { min-height: 100px; border-bottom: 1px solid #dbe4ee; }
.sf-timeline-day > strong { align-self: center; color: var(--ink); font-size: 16px; }
.sf-timeline-track { position: relative; min-height: 92px; display: grid; grid-template-columns: repeat(14, minmax(52px, 1fr)); overflow: hidden; }
.sf-timeline-track > i { border-left: 1px solid #e1e8f0; }
.sf-timeline-track > i:last-of-type { border-right: 1px solid #e1e8f0; }
.sf-timeline-item { position: absolute; min-width: 42px; height: 22px; padding: 3px 8px; border: 0; border-radius: 7px; color: #fff; font-size: 12px; font-weight: 800; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: default; box-shadow: 0 4px 10px rgba(15, 23, 42, .1); }
.is-meeting { background: #2563eb; }
.is-driving { background: #ea580c; }
.is-admin { background: #94a3b8; }
.is-call { background: #059669; }
.is-unknown { background: #7c3aed; }
.salesforce-activity-detail-panel { width: min(980px, calc(100vw - 80px)); max-height: calc(100vh - 80px); }
.salesforce-activity-detail-panel .modal-header p { margin: 6px 0 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.salesforce-activity-detail-body { padding: 18px 20px 22px; }
.salesforce-activity-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.salesforce-activity-detail-grid article { min-width: 0; padding: 12px; border: 1px solid #dbe4ee; border-radius: 8px; background: #f8fbfd; }
.salesforce-activity-detail-grid article.is-wide { grid-column: 1 / -1; }
.salesforce-activity-detail-grid span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.salesforce-activity-detail-grid strong { display: block; color: var(--ink); font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; white-space: pre-wrap; }
.bdm-overview-page { display: grid; gap: 16px; }
.bdm-overview-header { align-items: flex-start; margin-bottom: 0; }
.bdm-overview-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; align-items: end; }
.bdm-overview-controls label { display: grid; gap: 5px; min-width: 230px; font-size: 11px; font-weight: 900; color: var(--muted); text-transform: uppercase; }
.bdm-overview-controls select { height: 42px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; background: #fff; font: inherit; font-weight: 800; color: var(--ink); }
.bdm-overview-section { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.bdm-overview-section > header { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 13px 16px; background: #eef5f6; border-bottom: 1px solid var(--line); }
.bdm-overview-section > header h2 { margin: 0 0 3px; font-size: 17px; color: var(--ink); }
.bdm-overview-section > header span { color: var(--muted); font-weight: 800; }
.bdm-overview-section-body { padding: 14px; }
.bdm-overview-table-note { margin: 12px 0 8px; color: var(--muted); font-weight: 900; font-size: 12px; }
.bdm-overview-table-scroll { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.bdm-overview-warning { margin-top: 6px; color: #b45309; font-weight: 800; }
.is-hidden { display: none !important; }
.admin-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 520px); gap: 18px; margin-bottom: 22px; }
.admin-layout-wide { display: block; }
.admin-list, .editor-panel, .form-shell { padding: 14px; }
.admin-list { display: grid; gap: 10px; }
.table-toolbar { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.admin-row { border: 1px solid var(--line); border-radius: 6px; padding: 12px; background: #fbfcfd; text-align: left; color: var(--ink); }
.admin-row strong { display: block; }
.admin-row small, .quiet { color: var(--muted); }
.admin-section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 10px; }
.admin-section-head h2 { margin-bottom: 4px; }
.admin-section-head p { margin: 0; }
.admin-pipeline-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.admin-pipeline-actions input { min-width: 250px; }
.admin-pipeline-surface { margin-top: 10px; }
.admin-raw-table-scroll { overflow: auto; max-height: calc(100vh - 330px); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.admin-raw-table { font-size: 11px; }
.admin-raw-table th { position: sticky; top: 0; z-index: 2; cursor: default; }
.admin-raw-table td { max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.user-table { min-width: 1560px; }
.user-table th { cursor: default; }
.user-table input, .user-table select { width: 100%; min-width: 130px; }
.user-table tr.is-disabled-user { background: #fff7ed; }
.user-table tr.is-disabled-user input, .user-table tr.is-disabled-user select { color: #7c2d12; }
.user-status { display: inline-flex; align-items: center; justify-content: center; min-width: 78px; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.user-status.is-active { background: #e9f5f4; color: #245f63; }
.user-status.is-disabled { background: #fee2e2; color: #991b1b; }
.password-tools { display: grid; grid-template-columns: minmax(150px, 1fr) auto auto; gap: 8px; align-items: center; }
.password-tools input { min-width: 150px; }
.password-tools button { white-space: nowrap; padding: 7px 9px; }
.user-actions { display: grid; gap: 8px; min-width: 120px; }
.user-actions button { white-space: nowrap; padding: 7px 9px; }
.danger-button { background: #b42318; border-color: #b42318; }
.warning-button { background: #b45309; border-color: #b45309; }
.success-button { background: #047857; border-color: #047857; }
.users-admin-shell { display: grid; gap: 18px; }
.users-admin-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.users-admin-head h2 { margin: 0; color: var(--ink); font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.users-admin-head p { max-width: 760px; margin: 6px 0 0; color: var(--muted); font-size: 17px; font-weight: 700; line-height: 1.35; }
.users-add-button { min-width: 150px; padding: 13px 18px; font-size: 15px; }
.users-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.users-kpi-card { min-width: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.users-kpi-card span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 15px; font-weight: 700; }
.users-kpi-card strong { display: block; color: var(--ink); font-size: clamp(28px, 3vw, 38px); line-height: 1; font-variant-numeric: tabular-nums; }
.users-filter-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.users-filter-bar input, .users-filter-bar select { min-height: 42px; }
.users-filter-bar input { flex: 1 1 320px; min-width: min(340px, 100%); }
.users-filter-bar select { flex: 0 1 190px; }
.users-filter-bar button { min-height: 42px; min-width: 125px; }
.users-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: 18px; align-items: start; }
.users-list-card, .user-edit-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.users-list-card { overflow: visible; }
.users-list-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13px; font-weight: 800; }
.users-list-meta strong { color: var(--ink); font-size: 13px; }
.users-compact-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 14px; }
.users-compact-table th, .users-compact-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.users-compact-table thead th { background: #eef5f6; color: #334155; font-size: 13px; font-weight: 900; cursor: default; }
.users-compact-table tbody tr { cursor: pointer; }
.users-compact-table tbody tr:hover td, .users-compact-table tbody tr.is-selected td { background: #f0fbfa; }
.users-compact-table tr.is-disabled-user td { background: #fff7ed; }
.users-compact-table td small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.users-compact-table td strong { display: block; color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.users-person-cell { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 220px; }
.users-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #dbeafe; color: #1e40af; font-size: 12px; font-weight: 900; }
.users-role-pill, .users-currency-pill, .users-sap-pill { display: inline-flex; min-width: 70px; justify-content: center; padding: 5px 9px; border-radius: 999px; background: #eef5ff; color: #1d4ed8; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.users-currency-pill { min-width: 58px; background: #eef8f8; color: #245f63; }
.users-sap-pill { min-width: 84px; background: #f1f5f9; color: #334155; }
.users-row-actions { display: flex; gap: 8px; align-items: center; }
.users-row-actions button { padding: 6px 10px; white-space: nowrap; }
.users-row-actions button[data-view-user] { background: #fff; color: var(--ink); border-color: var(--line); }
.users-empty { padding: 28px !important; color: var(--muted); text-align: center !important; font-weight: 800; }
.user-edit-panel { position: sticky; top: 18px; display: grid; gap: 14px; padding: 22px 26px; }
.user-edit-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.user-edit-head h2 { margin: 0; color: var(--ink); font-size: 25px; line-height: 1.15; }
.user-edit-head p { margin: 6px 0 0; color: var(--muted); font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.user-edit-fields { display: grid; gap: 10px; }
.user-edit-fields label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .02em; }
.user-edit-fields input, .user-edit-fields select { width: 100%; min-height: 38px; min-width: 0; font-size: 14px; }
.lookup-field, .user-edit-fields input.lookup-field, .user-edit-fields select.lookup-field, .modal-form input.lookup-field { background: #eef2f6; color: #475569; border-color: #cbd5e1; cursor: not-allowed; }
.lookup-field:disabled { opacity: 1; }
.user-editor-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.user-editor-actions button { min-height: 42px; padding: 10px; }
.user-editor-actions button[data-reset-password] { background: #2f777b; border-color: #2f777b; }
.user-editor-actions .warning-button, .user-editor-actions .danger-button { grid-column: span 1; }
.user-detail-stack { display: grid; gap: 10px; }
.user-detail-stack span { display: grid; gap: 4px; padding: 11px 12px; border: 1px solid #dbe4ee; border-radius: 8px; background: #f8fbfd; color: var(--ink); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.user-detail-stack strong { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.role-permission-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.role-permission-tools strong { color: var(--accent); }
.role-permission-section { margin-top: 14px; }
.role-permission-section h3 { margin: 0 0 8px; font-size: 15px; font-weight: 900; color: var(--ink); text-transform: uppercase; letter-spacing: 0; }
.role-permission-section.is-group-control { margin-top: 22px; }
.role-permission-scroll { overflow-x: auto; }
.role-permission-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; }
.role-permission-table th, .role-permission-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: center; }
.role-permission-table th:first-child { text-align: left; }
.role-permission-table thead th { background: #eef5f6; color: var(--ink); font-weight: 900; }
.role-permission-table tr.is-parent-row th, .role-permission-table tr.is-parent-row td { background: #f4f8f9; }
.role-permission-page { display: grid; gap: 2px; }
.role-permission-page span { font-weight: 900; }
.role-permission-page small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: none; }
.role-check { display: inline-grid; justify-items: center; gap: 5px; min-width: 72px; color: var(--ink); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.role-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.role-check.is-locked { color: var(--muted); }
.editor-panel, .form-shell { display: grid; gap: 12px; }
.editor-panel label, .form-shell label { display: grid; gap: 6px; }
.partner-form-shell { gap: 18px; }
.partner-form-modern { padding: 18px; background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%); }
.partner-form-section { display: grid; gap: 14px; padding: 18px; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(15, 23, 42, .04); }
.partner-form-section-heading { display: flex; align-items: flex-start; gap: 12px; }
.partner-form-section-heading > span { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 900; }
.partner-form-section-heading h2 { margin: 0; font-size: 18px; color: var(--ink); }
.partner-form-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.partner-form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.partner-form-span { grid-column: span 2; }
.partner-form-table-wrap { overflow: visible; border: 1px solid var(--line); border-radius: 8px; }
.partner-form-table { width: 100%; border-collapse: collapse; }
.partner-form-table th { background: #213547; color: #fff; font-size: 12px; text-align: left; }
.partner-form-table td, .partner-form-table th { padding: 8px; border-bottom: 1px solid var(--line); }
.partner-form-table input { width: 100%; }
.partner-form-table th:nth-child(1) { width: 18%; }
.partner-form-table th:nth-child(2) { width: 58%; }
.partner-form-table th:nth-child(3) { width: 9%; }
.partner-form-lookup-cell { position: relative; }
.partner-lookup-menu { position: absolute; z-index: 25; top: calc(100% + 4px); left: 0; right: 0; max-height: 240px; overflow: auto; padding: 6px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; box-shadow: 0 16px 36px rgba(15, 23, 42, .16); }
.partner-lookup-option { display: grid; width: 100%; gap: 3px; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); text-align: left; }
.partner-lookup-option:hover { background: #eef8f8; }
.partner-lookup-option strong { font-size: 12px; }
.partner-lookup-option span { color: var(--muted); font-size: 12px; font-weight: 700; }
.partner-form-terms ol { margin: 0; padding-left: 22px; color: #334155; font-size: 13px; line-height: 1.5; }
.partner-form-terms li + li { margin-top: 6px; }
.partner-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.partner-form-actions .message { margin-right: auto; font-weight: 700; }
.partner-form-actions .message.success { color: #047857; }
.partner-form-actions .message.warning { color: #b45309; }
.partner-form-actions .message.error { color: #b42318; }
.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(23, 32, 42, .48); }
.modal-panel { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 46px rgba(23, 32, 42, .22); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font-size: 22px; }
.modal-form { display: grid; gap: 12px; padding: 20px; }
.modal-form label { display: grid; gap: 6px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }
.icon-button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; background: #fff; color: var(--ink); border-color: var(--line); }
.secondary-button { background: #fff; color: var(--ink); border-color: var(--line); }
.check-row { display: flex !important; align-items: center; gap: 8px; }
.message { min-height: 20px; color: var(--accent-2); }
.terms-document pre, .terms-preview pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; line-height: 1.5; }
.terms-accept-shell { min-height: calc(100vh - 80px); display: grid; place-items: start center; padding: 26px; }
.terms-accept-card { width: min(980px, 100%); background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); padding: 24px; display: grid; gap: 16px; }
.terms-accept-card h1 { margin: 0; }
.terms-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); }
.terms-preview { max-height: 460px; overflow: auto; border: 1px solid var(--border); background: #f8fafc; border-radius: 7px; padding: 16px; }
.terms-actions { display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
.portal-terms-editor textarea { min-height: 420px; font-family: Consolas, 'Courier New', monospace; line-height: 1.45; }
.targets-table { min-width: 1120px; }
.targets-table th { cursor: default; }
.target-user-row th { background: #213547; color: #fff; padding: 10px 12px; }
.target-user-row span { display: block; font-size: 13px; font-weight: 700; }
.target-user-row small { display: block; margin-top: 3px; color: rgba(255, 255, 255, .74); font-size: 11px; font-weight: 500; }
.target-type { min-width: 130px; background: #f8fafc; color: var(--ink); }
.target-input { width: 116px; text-align: right; font-variant-numeric: tabular-nums; }
.target-total-row th, .target-total-row td { background: #e9f5f4; font-weight: 700; }
.annual { font-weight: 700; background: #fff8e7; }
.calculated-target-cell { background: #dff3f1 !important; color: #185b60; font-weight: 800; }
.login-landing { position: relative; min-height: 100vh; color: var(--ink); background: linear-gradient(135deg, #a81743 0%, #a81743 50%, #1f4b89 50.15%, #1f4b89 100%); overflow: hidden; }
.login-landing::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 38px); pointer-events: none; }
.login-landing::after { content: ''; position: absolute; right: 0; top: 0; width: 44vw; height: 36vh; background: rgba(23, 60, 114, .72); clip-path: polygon(0 0, 100% 0, 100% 100%); pointer-events: none; }
.login-shell, .login-center { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; gap: 24px; padding: 44px 24px; }
.login-center { position: absolute; inset: 0; width: auto; transform: none; }
.login-topbar { display: none; }
.login-copy { display: none; }
.login-landing-crm { display: grid; grid-template-columns: minmax(430px, 54vw) minmax(420px, 1fr); background: #062957; color: #fff; isolation: isolate; }
.login-landing-crm::before { z-index: 0; background: linear-gradient(120deg, rgba(4, 26, 56, .96) 0%, rgba(7, 45, 93, .94) 45%, rgba(8, 49, 102, .85) 69%, rgba(6, 34, 77, .82) 100%), url(../images/login-data-background.png) left bottom / min(760px, 60vw) auto no-repeat; }
.login-landing-crm::after { z-index: 0; inset: 0; width: auto; height: auto; background: linear-gradient(135deg, transparent 0 60%, rgba(171, 18, 65, .98) 60.2% 100%); clip-path: none; }
.login-brand-panel, .login-access-panel { position: relative; z-index: 1; min-height: 100vh; }
.login-brand-panel { display: grid; grid-template-rows: auto 1fr auto auto; gap: clamp(22px, 3vw, 38px); padding: clamp(30px, 4vw, 56px) clamp(34px, 5vw, 78px); overflow: hidden; }
.login-brand-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(145deg, rgba(255, 255, 255, .03), transparent 34%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 30px); }
.login-brand-panel::after { content: ''; position: absolute; right: -16%; bottom: -10%; z-index: -1; width: 72%; height: 54%; background: linear-gradient(137deg, transparent 0 33%, rgba(0, 86, 172, .42) 33.3% 100%); }
.login-brand-logo-wrap { width: min(285px, 48vw); padding: 10px 14px; border-radius: 7px; background: rgba(255, 255, 255, .96); box-shadow: 0 18px 44px rgba(0, 0, 0, .18); }
.login-brand-logo-wrap img { display: block; width: 100%; height: auto; }
.login-brand-copy-block { align-self: center; max-width: 620px; }
.login-kicker { margin: 0 0 22px; color: #ff315d !important; font-size: 13px !important; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.login-brand-copy-block h1 { margin: 0; color: #fff; font-size: clamp(38px, 4.6vw, 70px); line-height: 1.12; font-weight: 900; letter-spacing: 0; }
.login-brand-copy-block h1::after { content: ''; display: inline-block; width: .15em; height: .15em; margin-left: .06em; border-radius: 50%; background: #ef174e; vertical-align: baseline; }
.login-accent-line { display: block; width: 92px; height: 3px; margin: 26px 0 22px; background: linear-gradient(90deg, #ef174e 0 58%, #1d74c7 58% 100%); }
.login-brand-copy-block p { max-width: 530px; margin: 0; color: rgba(255, 255, 255, .92); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.48; }
.login-anniversary-row { display: grid; grid-template-columns: minmax(152px, 210px) minmax(250px, 1fr); align-items: center; gap: 0; max-width: 660px; }
.login-anniversary { position: relative; z-index: 2; top: auto; left: auto; width: auto; max-width: none; padding: 12px; border-radius: 8px; background: rgba(255, 255, 255, .97); box-shadow: 0 18px 46px rgba(0, 0, 0, .24); }
.login-anniversary img { display: block; width: 100%; height: auto; }
.login-proof-ribbon { position: relative; min-height: 90px; display: grid; align-content: center; gap: 5px; margin-left: -6px; padding: 20px 54px 20px 38px; background: linear-gradient(90deg, #a61643, #c30e47); color: #fff; font-size: 18px; box-shadow: 0 14px 32px rgba(0, 0, 0, .22); }
.login-proof-ribbon::after { content: ''; position: absolute; top: 0; right: -34px; width: 35px; height: 100%; background: #062957; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.login-proof-ribbon strong, .login-proof-ribbon span { display: block; }
.login-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 620px; border-top: 1px solid rgba(255, 255, 255, .18); }
.login-service-grid div { display: grid; justify-items: center; gap: 5px; padding: 18px 18px 0; text-align: center; border-left: 1px solid rgba(255, 255, 255, .2); }
.login-service-grid div:first-child { border-left: 0; }
.login-service-grid svg { width: 42px; height: 42px; fill: none; stroke: #58a8f1; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-service-grid strong { color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.login-service-grid span { color: rgba(255, 255, 255, .86); font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.login-access-panel { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center; padding: clamp(30px, 4vw, 58px) clamp(26px, 5vw, 86px); background: linear-gradient(150deg, rgba(255, 255, 255, .98) 0 49%, rgba(8, 55, 114, .98) 49.2% 100%); }
.login-access-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(132deg, transparent 0 18%, rgba(186, 13, 64, .95) 18.2% 43%, transparent 43.2% 100%); }
.login-secure-badge { justify-self: end; display: inline-grid; grid-template-columns: 38px auto; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .74); border-radius: 8px; color: #fff; background: rgba(153, 16, 57, .74); box-shadow: 0 14px 34px rgba(0, 0, 0, .16); }
.login-secure-badge svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.login-secure-badge span { display: grid; gap: 2px; font-size: 13px; line-height: 1.2; }
.login-secure-badge strong { font-size: 13px; font-weight: 900; text-transform: uppercase; }
.login-card { width: min(548px, calc(100vw - 40px)); padding: 48px 58px 34px; border: 1px solid rgba(211, 219, 229, .94); border-radius: 10px; background: rgba(255, 255, 255, .98); box-shadow: 0 24px 66px rgba(13, 35, 65, .22); color: #14263d; }
.login-logo-wrap { display: grid; place-items: center; width: min(270px, 100%); margin: 0 auto 28px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.login-logo-wrap img { display: block; max-width: 100%; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.login-panel { padding: 0; }
.login-heading { margin-bottom: 30px; text-align: center; }
.login-heading span { display: block; margin-bottom: 12px; color: #687888; font-size: 13px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.login-heading h1, .login-heading h2 { margin: 0 0 12px; color: #10253d; font-size: clamp(29px, 3vw, 38px); line-height: 1.08; font-weight: 900; overflow-wrap: anywhere; }
.login-heading p { max-width: 370px; margin: 0 auto; color: #65758c; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.login-form, .login-panel form { display: grid; gap: 18px; }
.login-form label, .login-panel label { display: grid; gap: 8px; color: #10253d; font-size: 15px; font-weight: 900; }
.login-field-wrap { position: relative; display: block; min-width: 0; }
.login-field-wrap svg { position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: #496484; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.login-form input, .login-panel input { width: 100%; min-width: 0; min-height: 54px; padding: 14px 16px; border: 1px solid #c9d5e5; border-radius: 6px; background: #f7fbff; color: var(--ink); font-size: 15px; box-shadow: inset 0 1px 2px rgba(16, 36, 58, .04); }
.login-field-wrap input { padding-left: 52px; }
.login-form input:focus, .login-panel input:focus { outline: 4px solid rgba(31, 75, 137, .18); border-color: #1f4b89; background: #fff; }
.login-form button, .login-panel button { width: 100%; min-height: 58px; padding: 15px 16px; border-radius: 6px; background: linear-gradient(180deg, #0c55b2, #053d91); border-color: #053d91; color: #fff; font-size: 18px; font-weight: 900; box-shadow: 0 12px 24px rgba(9, 65, 148, .22); }
.login-form button:hover, .login-form button:focus, .login-panel button:hover, .login-panel button:focus { background: linear-gradient(180deg, #0e62c9, #04419b); border-color: #04419b; }
.login-password-field { position: relative; display: block; min-width: 0; }
.login-password-field input { padding-right: 84px; }
.login-form .login-password-toggle, .login-panel .login-password-toggle { position: absolute; top: 8px; right: 8px; width: auto; min-width: 58px; min-height: 36px; padding: 7px 11px; border: 0; border-radius: 6px; background: #eef3f7; color: #173c72; font-size: 13px; font-weight: 900; box-shadow: none; }
.login-form .login-password-toggle:hover, .login-form .login-password-toggle:focus, .login-panel .login-password-toggle:hover, .login-panel .login-password-toggle:focus { background: #dbe7f3; color: #0f2d55; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; }
.login-options a, .login-footer a { color: #0756ad; text-decoration: underline; text-underline-offset: 2px; }
.login-options a:hover, .login-options a:focus, .login-footer a:hover, .login-footer a:focus { color: #a61643; }
.remember-row { display: flex !important; align-items: center; gap: 8px !important; font-weight: 600 !important; color: #64738a !important; }
.remember-row input { width: 20px; min-height: 20px; height: 20px; border-radius: 4px; }
.login-remember-row { margin-top: 1px; }
.login-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; color: #6b7b8c; font-size: 13px; }
.login-footer span { white-space: nowrap; }
.login-error { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 6px; padding: 10px 12px; color: #9a3412; }
.access-request-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.login-success { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 6px; padding: 10px 12px; color: #047857; }
.auth-back-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; color: #687888; font-size: 14px; font-weight: 800; text-decoration: none; }
.login-services { justify-self: center; max-width: calc(100vw - 40px); padding: 10px 18px; border-radius: 0; background: transparent; color: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 800; letter-spacing: .03em; text-align: center; overflow-wrap: anywhere; box-shadow: none; }
.login-services span { color: #ef174e; padding: 0 12px; }
@media (prefers-reduced-motion: reduce) {
}
@media (max-width: 1100px) {
  .login-landing-crm { grid-template-columns: 1fr; }
  .login-brand-panel { min-height: auto; gap: 24px; }
  .login-access-panel { min-height: auto; }
  .login-brand-copy-block { max-width: none; }
  .login-anniversary-row, .login-service-grid { max-width: none; }
}
@media (max-width: 860px) {
  .login-landing:not(.login-landing-crm) { display: block; }
  .login-landing:not(.login-landing-crm) .login-center { position: relative; inset: auto; min-height: 100vh; width: 100%; max-height: none; overflow: visible; padding: 22px 20px 26px; }
  .login-brand-panel { padding: 28px 22px; }
  .login-brand-logo-wrap { width: min(235px, 72vw); }
  .login-brand-copy-block h1 { font-size: 36px; }
  .login-anniversary-row { grid-template-columns: 140px minmax(0, 1fr); }
  .login-proof-ribbon { min-height: 74px; padding: 14px 28px 14px 24px; font-size: 14px; }
  .login-service-grid { grid-template-columns: 1fr; border-top: 0; }
  .login-service-grid div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .login-access-panel { padding: 24px 18px 28px; }
  .login-secure-badge { justify-self: center; margin-bottom: 18px; }
  .login-card { width: min(540px, 100%); padding: 36px 30px 24px; }
  .login-logo-wrap { width: min(240px, 100%); margin-bottom: 22px; }
  .login-heading h1, .login-heading h2 { font-size: 28px; }
  .login-heading p { font-size: 14px; }
  .login-panel { padding: 0; }
  .login-services { font-size: 11px; line-height: 1.5; }
}
@media (max-width: 560px) {
  .login-anniversary-row { grid-template-columns: 1fr; gap: 12px; }
  .login-anniversary { width: 160px; justify-self: start; }
  .login-proof-ribbon { margin-left: 0; }
  .login-proof-ribbon::after { display: none; }
  .login-card { padding: 30px 22px 20px; }
  .login-logo-wrap img { max-height: 58px; }
  .login-heading { margin-bottom: 24px; }
  .login-heading h1, .login-heading h2 { font-size: 24px; }
  .login-form input, .login-panel input, .login-form button, .login-panel button { min-height: 50px; font-size: 15px; }
  .login-footer { align-items: flex-start; flex-direction: column; }
  .login-footer span { white-space: normal; }
}
@media (max-height: 760px) and (min-width: 1101px) {
  .login-brand-panel, .login-access-panel { padding-top: 26px; padding-bottom: 24px; }
  .login-card { padding-top: 30px; padding-bottom: 24px; }
  .login-brand-copy-block h1 { font-size: 44px; }
  .login-brand-copy-block p { font-size: 16px; }
  .login-anniversary-row { grid-template-columns: 150px minmax(240px, 1fr); }
  .login-proof-ribbon { min-height: 76px; font-size: 15px; }
  .login-service-grid div { padding-top: 12px; }
  .login-heading { margin-bottom: 20px; }
  .login-form, .login-panel form { gap: 13px; }
}
.profile-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.profile-card, .profile-panel { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.profile-card { display: grid; gap: 8px; justify-items: center; text-align: center; }
.profile-picture-wrap { display: grid; place-items: center; width: 132px; height: 132px; overflow: hidden; border: 1px solid #dbe4ee; border-radius: 50%; background: #eef3f8; }
.profile-picture-wrap img { width: 100%; height: 100%; object-fit: cover; }
.profile-card h2, .profile-panel h2 { margin: 0; color: var(--ink); font-size: 20px; }
.profile-card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.profile-card span { padding: 5px 9px; border-radius: 999px; background: #e9f5f4; color: #245f63; font-size: 12px; font-weight: 900; }
.profile-panels { display: grid; gap: 14px; }
.profile-panel form { display: grid; gap: 12px; max-width: 520px; }
.profile-panel label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 800; }
.profile-note { margin: -4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.profile-success { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 8px; padding: 11px 13px; color: #047857; }
.profile-error { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 11px 13px; color: #9a3412; }
@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; }
  .side-nav { position: static; min-height: 0; max-height: none; overflow: visible; }
  .side-nav-menu { max-height: none; overflow: visible; }
  .side-nav a { white-space: nowrap; }
  .nav-user, .release-version { display: none; }
  .content { padding: 18px; }
  .page-header, .admin-layout { display: block; }
  .page-header.has-table-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; }
  .sales-page-header.has-table-meta { grid-template-columns: 1fr; align-items: stretch; }
  .sales-page-header.has-table-meta h1, .sales-page-header.has-table-meta .table-meta-banner, .sales-page-header.has-table-meta .toolbar { grid-column: 1; justify-self: stretch; }
  .sales-page-header.has-table-meta .toolbar { flex-wrap: wrap; }
  .sales-page-header.has-table-meta .toolbar > #tableSearch { width: auto; flex: 1 1 180px; }
  .date-range-filter { flex: 1 1 100%; }
  .home-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-performance-summary { grid-template-columns: 1fr; }
  .home-week { grid-template-columns: 1fr; }
  .home-week-label { grid-row: auto; }
  .home-week-row { grid-template-columns: 1fr; gap: 6px; }
  .home-week-row strong { justify-self: start; }
  .home-dashboard-title, .home-bp-head { display: grid; }
  .home-month-select { width: 100%; }
  .home-kpi-grid, .home-finance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-progress-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-detail-grid { grid-template-columns: 1fr; }
  .home-forecast-callout { grid-template-columns: 52px minmax(0, 1fr); padding: 16px; }
  .home-forecast-callout a { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
  .quote-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-visual-grid { grid-template-columns: 1fr; }
  .quote-age-body { grid-template-columns: 1fr; }
  .quote-account-row { grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr); }
  .quote-account-row strong { grid-column: 2; justify-self: start; }
  .quote-followup div { grid-template-columns: 1fr; }
  .order-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-visual-grid { grid-template-columns: 1fr; }
  .order-age-body { grid-template-columns: 1fr; }
  .order-summary-grid { grid-template-columns: 1fr; }
  .order-aging-summary div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-customer-row { grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr); }
  .order-customer-row strong { grid-column: 2; justify-self: start; }
  .job-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-visual-grid, .job-detail-grid { grid-template-columns: 1fr; }
  .job-age-body { grid-template-columns: 1fr; }
  .job-bar-row { grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr); }
  .job-bar-row em { grid-column: 2; justify-self: start; }
  .invoice-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invoice-visual-grid { grid-template-columns: 1fr; }
  .invoice-age-body { grid-template-columns: 1fr; }
  .invoice-customer-row { grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr); }
  .invoice-customer-row strong { grid-column: 2; justify-self: start; }
  .invoice-tabs { width: 100%; }
  .invoice-tabs button { flex: 1 1 150px; }
  .invoice-tabs span { width: 100%; padding: 10px 14px; background: #fbfdff; }
  .pipeline-overview-head { display: grid; }
  .pipeline-kpi-strip { grid-template-columns: 1fr; }
  .pipeline-kpi { border-left: 0; border-top: 1px solid #dbe4ee; }
  .pipeline-kpi:first-child { border-top: 0; }
  .sf-activity-title-row, .sf-activity-card-header { display: grid; }
  .sf-activity-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-activity-dashboard-grid { grid-template-columns: 1fr; }
  .sf-activity-flags { max-width: none; }
  .item-360-form { grid-template-columns: 1fr; }
  .item-360-results { grid-template-columns: 1fr; }
  .item-360-section header { align-items: flex-start; flex-direction: column; }
  .bp-sales-dashboard { grid-template-columns: 1fr; }
  .bp-trend-bar-column { flex-basis: 76px; min-width: 76px; }
  .profile-layout { grid-template-columns: 1fr; }
  .toolbar { margin-top: 12px; }
  .page-header.has-table-meta .toolbar { margin-top: 0; justify-self: end; }
  .editor-panel { margin-top: 16px; }
  .email-template-layout, .home-credit-context { grid-template-columns: 1fr; }
  .users-admin-head { display: grid; }
  .users-add-button { justify-self: start; }
  .users-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .users-workspace { grid-template-columns: 1fr; }
  .user-edit-panel { position: static; }
  .login-landing { grid-template-rows: 66px 1fr; background-position: center; }
  .login-topbar { padding: 0 16px; }
  .login-topbar img { width: 150px; }
  .login-center { width: min(480px, calc(100vw - 28px)); max-height: calc(100vh - 128px); overflow: auto; gap: 18px; }
  .login-copy span { font-size: 15px; }
  .login-copy h1 { font-size: 34px; }
.login-panel { padding: 26px; }
  .login-heading h2 { font-size: 28px; }
  .login-heading p { font-size: 14px; }
  .login-panel label { font-size: 15px; }
  .login-panel input, .login-panel button { min-height: 50px; font-size: 16px; }
  .login-options { display: grid; justify-content: stretch; }
  .login-services { font-size: 11px; border-radius: 6px; }
}
@media (max-width: 560px) {
  .home-dashboard { grid-template-columns: 1fr; }
  .home-kpi-grid, .home-progress-legend, .home-finance-grid, .home-bp-grid { grid-template-columns: 1fr; }
  .home-daily-report-panel { display: grid; align-items: stretch; }
  .home-daily-report-button { width: 100%; }
  .home-kpi-card { grid-template-columns: 50px minmax(0, 1fr); }
  .home-kpi-icon { width: 50px; height: 50px; font-size: 21px; }
  .home-kpi-card strong { font-size: 19px; white-space: normal; }
  .job-kpi-grid { grid-template-columns: 1fr; }
  .job-kpi { grid-template-columns: 50px minmax(0, 1fr); }
  .job-kpi i { width: 50px; height: 50px; font-size: 21px; }
  .job-kpi strong { font-size: 19px; }
  .home-progress-bar { height: auto; min-height: 42px; }
  .home-progress-bar > div:not(.home-target-marker) { font-size: 12px; }
  .home-cumulative-svg { min-width: 660px; }
  .home-line-panel { overflow-x: auto; }
  .sf-activity-kpis { grid-template-columns: 1fr; }
  .sf-activity-filter-chips span { width: 100%; }
  .sf-timeline-hours, .sf-timeline-day { grid-template-columns: 94px minmax(680px, 1fr); }
  .sf-timeline-day > strong { font-size: 13px; }
  .users-kpi-grid { grid-template-columns: 1fr; }
  .users-filter-bar input, .users-filter-bar select, .users-filter-bar button { flex: 1 1 100%; }
  .user-editor-actions { grid-template-columns: 1fr; }
}
@media (max-height: 700px) {
  .login-landing { grid-template-rows: 60px 1fr; }
  .login-topbar img { width: 150px; }
  .login-center { max-height: calc(100vh - 106px); overflow: auto; gap: 14px; }
  .login-copy h1 { font-size: 34px; }
  .login-copy span { font-size: 15px; margin-bottom: 6px; }
  .login-panel { padding: 24px; }
  .login-heading { margin-bottom: 16px; }
  .login-heading h2 { font-size: 28px; margin: 6px 0; }
  .login-panel form { gap: 14px; }
}

@media (max-width: 900px) {
  .login-landing { min-height: 100vh; display: block; }
  .login-anniversary { position: relative; top: auto; left: auto; width: min(170px, calc(100vw - 40px)); margin: 18px auto 0; padding: 12px; }
  .login-shell, .login-center { position: relative; inset: auto; min-height: calc(100vh - 188px); width: 100%; max-height: none; transform: none; overflow: visible; padding: 22px 20px 26px; }
  .login-card { width: min(500px, 100%); padding: 34px 32px 18px; }
  .login-logo-wrap { width: min(260px, 100%); margin-bottom: 24px; }
  .login-heading h1, .login-heading h2 { font-size: 26px; }
  .login-heading p { font-size: 15px; }
  .login-services { border-radius: 8px; font-size: 11px; line-height: 1.35; }
}

@media (max-width: 560px) {
  .login-card { padding: 28px 22px 16px; }
  .login-logo-wrap { padding: 10px 12px; }
  .login-logo-wrap img { max-height: 52px; }
  .login-heading { margin-bottom: 24px; }
  .login-heading h1, .login-heading h2 { font-size: 23px; }
  .login-form input, .login-panel input, .login-form button, .login-panel button { min-height: 50px; font-size: 15px; }
  .login-footer { align-items: flex-start; flex-direction: column; }
  .login-footer span { white-space: normal; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .login-anniversary { top: 28px; left: 34px; width: 168px; padding: 12px; }
  .login-shell, .login-center { padding-top: 24px; padding-bottom: 24px; }
  .login-card { padding-top: 30px; }
  .login-logo-wrap { margin-bottom: 20px; }
  .login-heading { margin-bottom: 22px; }
  .login-heading p { font-size: 14px; }
  .login-form, .login-panel form { gap: 14px; }
}
/* Partner Portal login landing overrides. Keep after legacy auth responsive rules. */
.login-landing.login-landing-crm { display: grid; }
@media (max-width: 1100px) {
  .login-landing.login-landing-crm { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .login-landing.login-landing-crm { display: grid; min-height: 100vh; }
  .login-landing-crm .login-anniversary { position: relative; top: auto; left: auto; width: 160px; max-width: 100%; margin: 0; padding: 12px; }
  .login-landing-crm .login-card { width: min(540px, 100%); padding: 36px 30px 24px; }
  .login-landing-crm .login-logo-wrap { width: min(240px, 100%); padding: 0; margin-bottom: 22px; }
  .login-landing-crm .login-logo-wrap img { max-height: 58px; }
  .login-landing-crm .login-services { border-radius: 0; }
}
@media (max-width: 560px) {
  .login-landing-crm .login-card { padding: 30px 22px 20px; }
  .login-landing-crm .login-heading h1 { font-size: 24px; }
}


.birthday-popup-backdrop { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 22px; background: rgba(15, 23, 42, .46); backdrop-filter: blur(4px); }
.birthday-popup { position: relative; width: min(760px, 100%); min-height: 560px; overflow: hidden; padding: 54px 54px 44px; border: 1px solid rgba(37, 111, 120, .22); border-radius: 24px; background: radial-gradient(circle at 18% 18%, rgba(37, 111, 120, .12), transparent 22%), radial-gradient(circle at 88% 78%, rgba(31, 75, 137, .16), transparent 25%), linear-gradient(135deg, #ffffff 0%, #f8fbff 56%, #edf6f8 100%); box-shadow: 0 24px 70px rgba(15, 23, 42, .34); text-align: center; color: #10233f; }
.birthday-close { position: absolute; top: 18px; right: 18px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #d7e2ef; background: #fff; color: #10233f; font-size: 24px; font-weight: 900; box-shadow: 0 6px 16px rgba(15, 23, 42, .15); }
.birthday-kicker { margin: 42px 0 14px; color: #256f78; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.birthday-popup h2 { position: relative; z-index: 2; margin: 0; color: #1f4b89; font-size: clamp(44px, 6vw, 70px); line-height: .98; font-family: Georgia, 'Times New Roman', serif; letter-spacing: 0; }
.birthday-popup h2 strong { display: inline-block; margin-top: 8px; color: #256f78; font-weight: 800; }
.birthday-date { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; margin: 24px 0 18px; padding: 8px 18px; border-top: 2px solid #d1a13a; border-bottom: 2px solid #d1a13a; color: #334155; font-size: 15px; font-weight: 900; text-transform: uppercase; }
.birthday-copy { position: relative; z-index: 2; max-width: 500px; margin: 0 auto 24px; color: #334155; font-size: 21px; line-height: 1.45; }
.birthday-from { margin: 0 auto 28px; color: #667085; font-size: 17px; line-height: 1.35; }
.birthday-from strong { color: #1f4b89; font-size: 20px; }
.birthday-thanks { min-width: 210px; min-height: 56px; border-radius: 10px; background: linear-gradient(135deg, #1f4b89, #143a75); border-color: #143a75; font-size: 22px; font-weight: 900; }
.birthday-confetti { position: absolute; inset: 0; pointer-events: none; }
.birthday-confetti span { position: absolute; left: calc(4% + (var(--i) * 4%)); top: calc(5% + (var(--i) * 3.6%)); width: 9px; height: 14px; border-radius: 2px; background: hsl(calc(var(--i) * 31), 58%, 48%); opacity: .72; transform: rotate(calc(var(--i) * 23deg)); }
.birthday-balloons { position: absolute; left: -18px; top: 46px; width: 170px; height: 270px; pointer-events: none; }
.birthday-balloons span { position: absolute; display: block; width: 86px; height: 112px; border-radius: 50% 50% 46% 46%; background: linear-gradient(135deg, #1f4b89, #6ea8e7); box-shadow: inset 10px 8px 18px rgba(255,255,255,.34); }
.birthday-balloons span::after { content: ''; position: absolute; left: 50%; top: 108px; width: 2px; height: 130px; background: rgba(31, 75, 137, .36); transform: translateX(-50%); }
.birthday-balloons span:nth-child(2) { left: 72px; top: 28px; background: linear-gradient(135deg, #55c4c5, #256f78); }
.birthday-balloons span:nth-child(3) { left: 18px; top: 112px; width: 78px; height: 102px; background: radial-gradient(circle at 28% 28%, #fff 0 8%, transparent 9%), linear-gradient(135deg, #f8fbff, #dbeafe); }
.birthday-card-art { position: absolute; right: 34px; bottom: 34px; width: 190px; height: 178px; pointer-events: none; }
.birthday-cake { position: absolute; right: 36px; bottom: 0; width: 126px; height: 82px; border-radius: 18px 18px 12px 12px; background: linear-gradient(180deg, #fff 0 56%, #dbeafe 57% 78%, #1f4b89 79%); border: 1px solid #dbe4ee; box-shadow: 0 8px 20px rgba(15, 23, 42, .12); }
.birthday-cake::before { content: ''; position: absolute; left: 52px; top: -52px; width: 16px; height: 50px; border-radius: 8px; background: repeating-linear-gradient(135deg, #fff 0 6px, #1f4b89 7px 12px); box-shadow: 0 0 0 1px #dbe4ee; }
.birthday-cake::after { content: ''; position: absolute; left: 55px; top: -70px; width: 10px; height: 20px; border-radius: 50% 50% 40% 40%; background: #d1a13a; box-shadow: 0 0 18px rgba(209, 161, 58, .75); }
.birthday-gift { position: absolute; right: 0; bottom: 4px; width: 62px; height: 70px; border-radius: 8px; background: linear-gradient(90deg, transparent 43%, #55c4c5 44% 56%, transparent 57%), linear-gradient(180deg, #1f4b89 0 28%, #143a75 29%); box-shadow: -12px 12px 22px rgba(15, 23, 42, .11); }
.birthday-gift::before { content: ''; position: absolute; left: -4px; top: -20px; width: 70px; height: 28px; border-radius: 999px 999px 8px 8px; background: radial-gradient(circle at 32% 54%, transparent 0 12px, #55c4c5 13px 18px, transparent 19px), radial-gradient(circle at 68% 54%, transparent 0 12px, #55c4c5 13px 18px, transparent 19px); }
@media (max-width: 720px) { .birthday-popup { min-height: auto; padding: 48px 24px 34px; } .birthday-balloons { transform: scale(.72); transform-origin: top left; } .birthday-card-art { position: relative; right: auto; bottom: auto; width: 160px; height: 130px; margin: 10px auto 0; } .birthday-popup h2 { font-size: clamp(38px, 12vw, 54px); } .birthday-copy { font-size: 18px; } }

.document-preview-link { color: #0f6f7a; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.document-preview-link:focus-visible { outline: 3px solid rgba(15, 111, 122, .35); outline-offset: 2px; border-radius: 4px; }
.price-item-link { appearance: none; display: inline; padding: 0; border: 0; background: transparent; font: inherit; font-weight: 900; cursor: pointer; }
.price-item-link-has-image { color: #1f4b89; text-decoration: underline; text-underline-offset: 3px; }
.price-item-link-no-image { color: #475569; text-decoration: none; }
.price-item-link:hover, .price-item-link:focus-visible { outline: 3px solid rgba(31, 75, 137, .2); outline-offset: 2px; border-radius: 4px; }
.price-item-link-has-image:hover, .price-item-link-has-image:focus-visible { color: #143a75; }
.price-item-link-no-image:hover, .price-item-link-no-image:focus-visible { color: #1f2937; text-decoration: underline; text-underline-offset: 3px; }
.document-modal-backdrop { position: fixed; inset: 0; z-index: 7000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 23, 42, .62); }
.document-modal-backdrop[hidden] { display: none !important; }
.document-modal { position: relative; width: min(1180px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; border-radius: 8px; background: #f6f8fb; box-shadow: 0 24px 70px rgba(15, 23, 42, .42); overflow: hidden; }
.document-modal-shell-close { position: absolute; top: 12px; right: 12px; z-index: 10; width: 34px; height: 34px; border: 1px solid #d9e2ec; border-radius: 6px; background: #fff; color: #0b2847; font-weight: 900; cursor: pointer; }
.document-modal-shell-close:hover, .document-modal-shell-close:focus-visible { border-color: #0f6f7a; outline: 3px solid rgba(15, 111, 122, .2); }
.document-modal.is-landscape { width: min(1320px, 100%); }
.document-modal.is-pdf-preview { width: min(1120px, 100%); height: min(920px, calc(100vh - 48px)); }
.document-modal.is-pdf-preview.is-landscape { width: min(1320px, 100%); }
.document-modal-status { padding: 30px; color: #334155; font-weight: 800; }
.document-modal-body { overflow: auto; padding: 18px; }
.document-modal.is-pdf-preview .document-modal-body { display: flex; flex: 1 1 auto; min-height: 0; padding: 12px; overflow: hidden; }
.document-modal-pdf-shell { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; gap: 10px; }
.document-modal-pdf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 42px 10px 12px; border: 1px solid #d9e2ec; border-radius: 6px; background: #fff; }
.document-modal-pdf-toolbar strong { color: #111827; font-size: 16px; }
.document-pdf-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 8px 16px; border: 1px solid #0f6f7a; border-radius: 6px; background: #0f6f7a; color: #fff; font-size: 13px; font-weight: 900; line-height: 1; text-decoration: none; box-shadow: 0 8px 18px rgba(15, 111, 122, .18); }
.document-pdf-button:hover, .document-pdf-button:focus-visible { border-color: #0b5962; background: #0b5962; color: #fff; outline: 3px solid rgba(15, 111, 122, .22); outline-offset: 2px; text-decoration: none; }
.document-modal-pdf-frame { flex: 1 1 auto; width: 100%; min-height: 520px; border: 1px solid #d9e2ec; border-radius: 6px; background: #fff; }
.price-item-detail-modal { width: min(1120px, 100%); }
.price-item-detail { display: grid; gap: 16px; color: #111827; }
.price-item-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 1px solid #d9e2ec; border-radius: 8px; background: #fff; }
.price-item-detail-header span { display: block; margin-bottom: 6px; color: #64748b; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.price-item-detail-header h2 { margin: 0; color: #0b2847; font-size: 28px; line-height: 1.1; }
.price-item-detail-header p { margin: 8px 0 0; color: #334155; font-weight: 800; line-height: 1.35; }
.price-item-detail-grid { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.price-item-image-card, .price-item-summary-card, .price-item-section { border: 1px solid #d9e2ec; border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 42, .06); }
.price-item-image-card { display: grid; place-items: center; min-height: 260px; padding: 16px; }
.price-item-image-card img { display: block; max-width: 100%; max-height: 300px; object-fit: contain; }
.price-item-image-placeholder { display: grid; place-items: center; width: 100%; min-height: 220px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #f8fafc; color: #64748b; font-weight: 900; text-align: center; }
.price-item-summary-card { padding: 16px; }
.price-item-summary-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.price-item-summary-card dl div { min-height: 62px; padding: 10px 12px; border: 1px solid #dbe4ee; border-radius: 6px; background: #fbfdff; }
.price-item-summary-card dt { margin: 0 0 6px; color: #46576b; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.price-item-summary-card dd { margin: 0; color: #111827; font-weight: 900; overflow-wrap: anywhere; }
.price-item-section { padding: 14px; overflow: hidden; }
.price-item-section header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.price-item-section h3 { margin: 0; color: #0b2847; font-size: 16px; }
.price-item-section header span { color: #64748b; font-size: 12px; font-weight: 900; }
.price-item-section .item-360-table-wrap { max-height: 320px; overflow: auto; }
.document-standalone-page { padding: 22px; }
.partner-document-preview { color: #111827; }
.partner-document-toolbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #d9e2ec; background: #fff; }
.partner-document-toolbar strong { display: block; font-size: 18px; }
.partner-document-toolbar span { color: #64748b; font-size: 13px; font-weight: 800; }
.partner-document-actions { display: flex; gap: 10px; }
.partner-document-sheet { width: min(900px, 100%); margin: 0 auto; padding: 36px 42px 0; background: #f4f7fa; border: 1px solid #d9e2ec; box-shadow: 0 12px 30px rgba(15, 23, 42, .12); }
.partner-document-preview.is-landscape .partner-document-sheet { width: min(1120px, 100%); }
.document-brand-header { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.document-brand-header img { width: 260px; max-width: 100%; height: auto; display: block; }
.document-brand-header p { margin: 8px 0 0; color: #092d55; font-size: 12px; font-weight: 900; }
.document-brand-header address { flex: 0 0 320px; max-width: 320px; margin: 0; color: #111827; font-style: normal; line-height: 1.45; text-align: right; }
.document-brand-header address strong { color: #b0113f; }
.document-brand-link { display: inline-block; color: #44707a; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.document-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.document-eyebrow { display: inline-flex; padding: 8px 16px; border: 1px solid #d9e2ec; background: #f8fafc; color: #b0113f; font-weight: 900; }
.document-title-row h1 { margin: 16px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; color: #111827; }
.document-number-block { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.document-number-block strong { display: inline-flex; min-width: 132px; justify-content: center; padding: 10px 16px; background: #0b2847; color: #fff; font-size: 20px; }
.document-number-block span { font-size: 20px; }
.document-address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.document-address-grid > div, .document-section, .document-remarks-totals { padding: 16px; border: 1px solid #d9e2ec; background: #fff; }
.document-address-grid h2, .document-section h2, .document-remarks-totals h2 { margin: 0 0 10px; font-size: 15px; text-transform: uppercase; color: #111827; }
.document-address-grid p { margin: 8px 0; line-height: 1.4; }
.document-section { margin-bottom: 16px; }
.document-field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.document-field-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.document-field { min-height: 50px; padding: 9px 10px; border: 1px solid #d9e2ec; background: #fbfdff; }
.document-field span { display: block; margin-bottom: 5px; color: #46576b; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.document-field strong { display: block; overflow-wrap: anywhere; color: #111827; }
.document-notice { margin: 0 0 16px; padding: 13px 16px; border: 1px solid #fdba74; background: #fff7ed; color: #9a3412; font-weight: 900; }
.document-line-scroll { overflow-x: auto; }
.document-line-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.document-line-table th { padding: 11px 9px; background: #e8edf2; color: #111827; text-align: left; text-transform: uppercase; }
.document-line-table td { padding: 10px 9px; border-bottom: 1px solid #d9e2ec; vertical-align: top; overflow-wrap: anywhere; }
.document-remarks-totals { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; margin-bottom: 16px; }
.document-remarks-totals p { margin: 0; line-height: 1.45; }
.document-remarks-totals dl { margin: 0; }
.document-remarks-totals dt, .document-remarks-totals dd { display: inline-block; width: 49%; margin: 0 0 8px; }
.document-remarks-totals dd { text-align: right; font-weight: 800; }
.document-remarks-totals dt:last-of-type, .document-remarks-totals dd:last-of-type { padding-top: 10px; border-top: 2px solid #0b2847; font-size: 18px; }
.document-terms { margin: 0; padding-left: 22px; line-height: 1.45; }
.document-preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 36px -42px 0; padding: 24px 42px; background: #0b2847; color: #fff; }
.document-preview-footer div:first-child { display: grid; gap: 6px; }
.document-preview-footer strong { font-size: 20px; font-style: italic; }
.document-preview-footer span:last-child { color: #ff2b62; font-weight: 900; }
.document-footer-logos { display: flex; align-items: center; gap: 10px; }
.document-footer-logos img { width: 70px; max-height: 32px; object-fit: contain; background: #fff; padding: 5px; }
.template-gallery { padding: 24px; }
.template-gallery-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.template-gallery h1 { margin: 0 0 6px; }
.template-gallery p { margin: 0; color: #64748b; }
.template-gallery-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 16px; padding: 16px; border: 1px solid #d9e2ec; border-radius: 8px; background: #fff; }
.template-gallery-controls label { display: grid; gap: 5px; min-width: 220px; color: #46576b; font-weight: 900; }
.template-option-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 18px; }
.template-option-card { display: grid; gap: 4px; padding: 14px; border: 1px solid #d9e2ec; border-radius: 8px; background: #fff; color: #111827; text-decoration: none; }
.template-option-card.is-active { border-color: #0f6f7a; box-shadow: inset 0 0 0 2px #0f6f7a; }
.template-option-card small { color: #64748b; line-height: 1.35; }
.template-preview-shell.option-2 .partner-document-sheet { border-left: 14px solid #12263f; }
.template-preview-shell.option-3 .partner-document-sheet { background: #fff; box-shadow: none; }
.template-preview-shell.option-4 .document-line-table { font-size: 12px; }
.template-preview-shell.option-5 .document-eyebrow { background: #0b2847; color: #fff; }
.rentme-page { display: grid; gap: 24px; }
.rentme-hero { position: relative; display: grid; grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr); gap: 32px; align-items: center; min-height: 430px; padding: 38px; overflow: hidden; border: 1px solid #d9e2ec; border-radius: 8px; background: radial-gradient(circle at 78% 36%, #eef4f9 0 25%, transparent 26%), linear-gradient(135deg, #fff 0 62%, #f8fbfd 62% 100%); }
.rentme-copy { position: relative; z-index: 1; display: grid; justify-items: start; gap: 16px; }
.rentme-logo { display: inline-flex; align-items: baseline; padding: 14px 26px 16px; border: 6px solid #073866; border-radius: 2px; color: #073866; font-size: clamp(46px, 6vw, 82px); font-weight: 900; line-height: .9; transform: skew(-6deg); letter-spacing: 0; }
.rentme-logo span { color: #b01644; font-style: italic; }
.rentme-logo em { color: #073866; font-style: italic; }
.rentme-copy h1 { margin: 0; color: #073866; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; }
.rentme-copy p { max-width: 460px; margin: 0; color: #1f2937; font-size: 18px; line-height: 1.5; }
.rentme-interest-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 4px; background: #b01644; color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 12px 22px rgba(176, 22, 68, .2); }
.rentme-interest-button:hover, .rentme-interest-button:focus { background: #8f123a; color: #fff; }
.rentme-email-note { font-size: 16px !important; color: #46576b !important; }
.rentme-visual { position: relative; min-height: 360px; }
.rentme-cloud { position: absolute; inset: 28px 28px 26px; border-radius: 48% 52% 40% 60%; background: #eaf1f7; }
.rentme-dots { position: absolute; width: 86px; height: 86px; z-index: 1; background-image: radial-gradient(#cad8e4 2px, transparent 2px); background-size: 18px 18px; }
.rentme-dots-left { top: 12px; left: 28%; }
.rentme-dots-right { top: 28px; right: 14%; }
.rentme-platform { position: absolute; inset: 0; z-index: 2; }
.rentme-beam { position: absolute; left: 12%; right: 12%; bottom: 110px; height: 20px; border-radius: 16px; background: linear-gradient(90deg, #5f6f82, #26394f); box-shadow: 0 16px 18px rgba(15, 23, 42, .18); }
.rentme-stand { position: absolute; left: 48%; bottom: 38px; width: 76px; height: 78px; transform: skewX(-18deg); background: linear-gradient(160deg, #26394f, #6d7d90); clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%); }
.rentme-cube { position: absolute; display: grid; place-items: center; width: 132px; height: 132px; color: #fff; font-size: 30px; font-weight: 900; box-shadow: 14px 16px 16px rgba(15, 23, 42, .16); }
.rentme-cube-opex { left: 18%; bottom: 138px; background: linear-gradient(145deg, #d0164e, #a90f3c); }
.rentme-cube-capex { right: 13%; bottom: 138px; background: linear-gradient(145deg, #114b82, #073866); }
.rentme-intro { display: grid; justify-items: center; gap: 8px; text-align: center; }
.rentme-intro h2 { margin: 0; color: #073866; font-size: clamp(22px, 2.5vw, 30px); }
.rentme-intro h2 span { color: #b01644; }
.rentme-intro p { max-width: 820px; margin: 0; color: #334155; font-size: 16px; line-height: 1.55; }
.rentme-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rentme-benefit { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 160px; padding: 22px; border: 1px solid #d9e2ec; border-radius: 8px; background: #fff; box-shadow: 0 10px 22px rgba(15, 23, 42, .05); }
.rentme-benefit-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #eef3f7; color: #b01644; font-size: 28px; font-weight: 900; }
.rentme-benefit h3 { margin: 0 0 8px; color: #073866; font-size: 20px; }
.rentme-benefit p { margin: 0; color: #334155; line-height: 1.45; }
.rentme-footer-strip { display: flex; align-items: center; justify-content: center; gap: 38px; padding: 22px 28px; border-radius: 8px; background: linear-gradient(90deg, #073866, #064d85); color: #fff; }
.rentme-footer-strip p { margin: 0; }
.rentme-footer-strip strong { color: #fff; }
@media (max-width: 760px) {
  .document-modal-backdrop { padding: 0; }
  .document-modal { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .document-modal-body { padding: 10px; }
  .partner-document-toolbar, .document-brand-header, .document-title-row, .document-preview-footer, .template-gallery-header { flex-direction: column; align-items: flex-start; }
  .price-item-detail-grid, .price-item-summary-card dl { grid-template-columns: 1fr; }
  .rentme-hero, .rentme-benefits { grid-template-columns: 1fr; }
  .rentme-hero { padding: 24px; }
  .rentme-visual { min-height: 280px; }
  .rentme-benefit { grid-template-columns: 72px minmax(0, 1fr); padding: 18px; }
  .rentme-benefit-icon { width: 64px; height: 64px; }
  .rentme-footer-strip { flex-direction: column; align-items: flex-start; gap: 8px; }
  .partner-document-sheet { padding: 24px 18px 0; }
  .document-address-grid, .document-field-grid, .document-field-grid.four, .document-remarks-totals { grid-template-columns: 1fr; }
  .document-preview-footer { margin-left: -18px; margin-right: -18px; padding: 22px 18px; }
  .document-number-block { flex-wrap: wrap; }
}

