:root {
    --navy: #063b78;
    --navy-dark: #052e5e;
    --blue: #0969e8;
    --text: #10285a;
    --muted: #53617a;
    --border: #d9e2ee;
    --page: #f7f9fc;
    --white: #ffffff;
}

* { box-sizing: border-box; }

html,
body {
    min-width: 1400px;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #16213a;
    background: var(--page);
}

button, input { font: inherit; }
select { font: inherit; }

.topbar {
    min-height: 94px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 26px;
    background: linear-gradient(100deg, #063c79, #052f63);
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 24px;
    white-space: nowrap;
}
.brand-logo-link { display: block; }

.daikin-logo { width: 31px; height: auto; display: block; transform: translateY(2px); }
.brand-divider { height: 42px; width: 1px; background: rgba(255,255,255,.55); }
.brand-title { font-size: 27px; font-weight: 700; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 17px 16px;
    border-radius: 6px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, transform .2s;
}

.nav-link:hover { background: rgba(255,255,255,.11); }
.nav-link.active { background: #1975dc; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nav-link .icon { margin-right: 7px; font-size: 18px; }
.nav-link .home-icon { display: inline-block; transform: scaleX(1.25); }
.nav-link .ribbon-crown { width: 20px; height: 20px; vertical-align: -4px; }
.nav-link .ribbon-person { width: 20px; height: 20px; vertical-align: -5px; }
.nav-link .ribbon-bubble { width: 20px; height: 20px; vertical-align: -5px; }
.nav-link .ribbon-bolt { width: 20px; height: 20px; vertical-align: -5px; }

.user-menu {
    border: 0;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}
.user-avatar {
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--navy);
}
.chevron { font-size: 18px; }

.page { padding: 32px 25px 42px; max-width: 1600px; margin: 0 auto; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 398px;
    gap: 26px;
}

.welcome-card, .summary-card {
    min-height: 150px;
    border: 1px solid #cbdcf1;
    border-radius: 12px;
    background: linear-gradient(110deg, #e9f4ff, #dcecff);
    display: flex;
    align-items: center;
    padding: 28px 38px;
}
.summary-card { background: linear-gradient(110deg, #f4f8ff, #edf5ff); }

.welcome-icon, .calendar-icon {
    font-size: 58px;
    color: #073b7d;
    margin-right: 28px;
    font-weight: 700;
}
.calendar-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    padding-top: 12px;
    border: 2px solid #073b7d;
    border-radius: 9px;
    background: var(--page);
    font-size: 27px;
    line-height: 1;
}
.calendar-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 18px;
    border-radius: 6px 6px 0 0;
    background: #073b7d;
}
.calendar-icon span { position: relative; z-index: 1; }
.calendar-icon .calendar-ring {
    position: absolute;
    top: -8px;
    z-index: 2;
    width: 8px;
    height: 15px;
    border: 2px solid #073b7d;
    border-radius: 5px;
    background: var(--page);
}
.calendar-icon .calendar-ring-left { left: 12px; }
.calendar-icon .calendar-ring-right { right: 12px; }
.welcome-card h1, .summary-card h2 {
    margin: 0 0 9px;
    color: var(--text);
}
.welcome-card h1 { font-size: 38px; }
.summary-card h2 { font-size: 29px; }
.welcome-card p, .summary-card p {
    margin: 0;
    color: #40506a;
    font-size: 22px;
}
.summary-card p { font-size: 18px; }

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin: 30px 0;
}
.metric-card {
    min-height: 151px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 27px 30px;
    display: flex;
    align-items: center;
    gap: 23px;
}
.metric-card.blue { background: #e8f3ff; border-color: #c9ddf6; }
.metric-card.green { background: #e9f9ec; border-color: #c8e8cf; }
.metric-card.purple { background: #f1edff; border-color: #ddd3ff; }
.metric-card.gold { background: #fff8e5; border-color: #f2e2ae; }
.metric-icon { font-size: 43px; color: #075dce; width: 62px; text-align: center; }
.bid-list-icon { height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.green .metric-icon { color: #0a9651; }
.purple .metric-icon { color: #4f31c7; }
.gold .metric-icon { color: #c78b00; }
.metric-card h3 { margin: 0 0 5px; color: var(--text); font-size: 18px; }
.metric-card strong { font-size: 39px; color: #0d1f47; line-height: 1; }
.metric-card p { margin: 8px 0 0; font-size: 14px; }
.positive { color: #087b38; }
.positive span { color: #303d52; }

.bid-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 7px rgba(25, 48, 81, .04);
}

.section-heading {
    min-height: 78px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 27px;
}
.section-heading > div:first-child { display: flex; align-items: center; gap: 17px; }
.opportunity-actions { display: flex; align-items: center; gap: 10px; }
.opportunity-actions > a,
.opportunity-actions > button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 178px; font-family: inherit; font-size: inherit; font-weight: 700; white-space: nowrap; }
.opportunity-actions > a { text-decoration: none; }
.section-heading h2 { margin: 0; color: var(--text); font-size: 29px; }
.heading-icon { color: #0969e8; font-size: 31px; }
.auto-qualify-ai-icon { width: 31px; height: 31px; vertical-align: -7px; fill: none; stroke: #0969e8; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auto-qualify-ai-icon text { fill: #0969e8; stroke: none; font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; text-anchor: middle; }
.activity-stopwatch { width: 31px; height: 31px; vertical-align: -6px; fill: none; stroke: #0969e8; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.activity-stopwatch rect { fill: #0969e8; stroke: none; }
.heading-crown { width: 31px; height: 31px; vertical-align: -7px; }
.assistant-task-icon { width: 28px; height: 28px; vertical-align: -5px; fill: none; stroke: #0969e8; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.assistant-task-icon rect { fill: #0969e8; stroke: none; }
.page-person-icon { width: 31px; height: 31px; vertical-align: -7px; }
.page-bolt-icon { width: 31px; height: 31px; vertical-align: -7px; }
.heading-office-icon { width: 31px; height: 31px; color: #0969e8; }
.unassigned-tasks-icon { width: 31px; height: 31px; color: #0969e8; }
.analytics-forecast-card { margin-top: 22px; }

.table-tools { display: flex; gap: 8px; }
.table-tools input {
    width: 245px;
    border: 1px solid #ccd7e6;
    border-radius: 6px;
    padding: 10px 12px;
    outline: none;
}
.account-filters select.stage-filter { min-width: 205px; }
.table-tools input:focus { border-color: #1975dc; box-shadow: 0 0 0 3px rgba(25,117,220,.12); }
.account-filters {
    display: flex;
    gap: 12px;
    padding: 0 27px 20px;
}
.account-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.accounts-card .section-heading .account-filters { padding: 0; }
.section-heading .report-filters {
    margin-left: auto;
    padding: 0;
    justify-content: flex-end;
}
.report-filters select[id="mustWinFilter"] { min-width: 150px; width: 150px; }
.report-filters select[id="followUpTimeFilter"] { min-width: 170px; width: 170px; }
.account-filters select,
.account-filters input {
    border: 1px solid #ccd7e6;
    border-radius: 6px;
    padding: 10px 12px;
    background: white;
    outline: none;
}
.account-filters select { min-width: 205px; }
.account-filters input { width: 290px; }
.opportunity-filters select { min-width: 170px; }
.opportunity-filters input { flex: 1; min-width: 250px; }
.account-filters select:focus,
.account-filters input:focus { border-color: #1975dc; box-shadow: 0 0 0 3px rgba(25,117,220,.12); }
.accounts-card #accountsTable { table-layout: fixed; }
.accounts-card #accountsTable th:nth-child(1), .accounts-card #accountsTable td:nth-child(1) { width: 40%; }
.accounts-card #accountsTable th:nth-child(2), .accounts-card #accountsTable td:nth-child(2),
.accounts-card #accountsTable th:nth-child(3), .accounts-card #accountsTable td:nth-child(3),
.accounts-card #accountsTable th:nth-child(4), .accounts-card #accountsTable td:nth-child(4) { width: 20%; }
.secondary-btn {
    border: 1px solid #ccd7e6;
    background: white;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
}
.secondary-btn:hover { background: #f4f7fb; }

.table-wrap { overflow-x: auto; padding: 0 26px 18px; }
table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 900px; }
thead th {
    background: #edf4fb;
    color: #243d68;
    text-align: left;
    font-size: 17px;
    padding: 10px 14px;
    border-top: 1px solid #d7e1ee;
    border-bottom: 1px solid #d7e1ee;
}
.table-sort { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; cursor: pointer; }
.table-sort-icon { position: relative; display: inline-block; width: 8px; height: 14px; }
.table-sort-icon::before, .table-sort-icon::after { content: ""; position: absolute; left: 0; border-right: 4px solid transparent; border-left: 4px solid transparent; }
.table-sort-icon::before { top: 0; border-bottom: 5px solid #8a9bb4; }
.table-sort-icon::after { bottom: 0; border-top: 5px solid #8a9bb4; }
.table-sort[data-direction="asc"] .table-sort-icon::before { border-bottom-color: #063b78; }
.table-sort[data-direction="asc"] .table-sort-icon::after { opacity: .28; }
.table-sort[data-direction="desc"] .table-sort-icon::before { opacity: .28; }
.table-sort[data-direction="desc"] .table-sort-icon::after { border-top-color: #063b78; }
thead th:first-child { border-left: 1px solid #d7e1ee; border-top-left-radius: 8px; }
thead th:last-child { border-right: 1px solid #d7e1ee; border-top-right-radius: 8px; }
tbody td {
    padding: 9px 14px;
    border-bottom: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    background: #fff;
}
tbody td:last-child { border-right: 1px solid #e2e8f0; }
tbody tr:hover td { background: #f7fbff; }

.opportunity-link {
    color: #005bd8;
    text-decoration: none;
    font-weight: 600;
}
.opportunity-link:hover { text-decoration: underline; }
.opportunity-marker { display: inline-block; width: 16px; margin-right: 4px; font-size: 17px; font-weight: 800; line-height: 1; text-align: center; vertical-align: -1px; }
.opportunity-marker.out-of-territory { color: #b12b27; }
.opportunity-marker.must-win { color: #c78516; }
.opportunity-legend { display: flex; gap: 20px; padding-top: 12px; color: #637086; font-size: 14px; }
.opportunity-legend > span { display: inline-flex; align-items: center; }
.opportunity-legend .opportunity-marker { margin-right: 5px; }
.auto-qualify-dropzone { display: grid; place-items: center; gap: 7px; margin: 0 26px 22px; min-height: 145px; border: 2px dashed #9cb9da; border-radius: 10px; background: #f7fbff; color: #40506a; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.auto-qualify-dropzone strong { color: #243d68; font-size: 18px; }
.auto-qualify-dropzone span { font-size: 14px; }
.auto-qualify-dropzone:hover, .auto-qualify-dropzone.dragging { border-color: #0969e8; background: #edf6ff; }
.auto-qualify-status { display: inline-flex; align-items: center; gap: 6px; }
.auto-qualify-status.processing { color: #667085; font-style: italic; }
.auto-status-line { display: flex; align-items: center; width: 100%; min-width: 0; }
.auto-processing-progress { box-sizing: border-box; width: min(240px, calc(100% - 34px)); height: 12px; overflow: hidden; border: 1px solid #b9c5bf; border-radius: 999px; background: #e7ece9; transition: opacity .35s ease; }
.auto-processing-progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: #22a447; transition: width .25s linear; }
.auto-processing-progress.completed { opacity: 0; }
.auto-check-status-glyph { display: inline-grid; width: 26px; height: 26px; margin-left: auto; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #0969e8; line-height: 1; place-items: center; }
.auto-check-status-glyph svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.auto-check-status-glyph:hover, .auto-check-status-glyph:focus-visible { background: #eaf3ff; color: #064da9; }
.auto-check-status-glyph:disabled { opacity: .55; cursor: wait; }
.auto-qualify-status.worker-offline { color: #b54708; font-weight: 700; }
.auto-status-alert { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #d97706; color: white; font-size: 11px; font-style: normal; font-weight: 800; line-height: 1; }
.auto-upload-progress { color: #40506a; font-size: 14px; }
.auto-qualify-status.unresolved_error { color: #b12b27; font-weight: 700; }
.auto-qualify-empty-row td { padding: 20px; color: #667085; font-style: italic; text-align: center; }
.opportunity-table-edit { color: #0969e8; font-size: 15px; font-weight: 700; text-decoration: none; }
.opportunity-table-edit:hover { text-decoration: underline; }
.opportunity-bidders-editor .field-editor { display: none; box-sizing: border-box; width: 100%; min-width: 110px; height: 32px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 5px 7px; background: white; color: #243d68; font: inherit; }
.opportunity-bidders-editor.editing .field-display { display: none; }
.opportunity-bidders-editor.editing .field-editor { display: block; }
.opportunity-bidders-save { display: flex; justify-content: flex-end; padding: 0 26px 20px; }
.add-opportunity-bidder-card { margin-top: 18px; }
.add-opportunity-bidder-form { display: grid; grid-template-columns: 1.1fr 1fr 1.5fr 1.5fr auto; gap: 12px; align-items: end; padding: 0 26px 22px; }
.add-opportunity-bidder-form label { display: grid; gap: 6px; color: #40506a; font-size: 14px; font-weight: 700; }
.add-opportunity-bidder-form .contractor-autocomplete { display: block; }
.add-opportunity-bidder-form input { box-sizing: border-box; width: 100%; height: 34px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 6px 8px; color: #243d68; font: inherit; }
.add-opportunity-bidder-form button { display: inline-flex; align-items: center; justify-content: center; height: 34px; white-space: nowrap; }
.turnover-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 18px; }
.turnover-workspace .opportunity-main { width: 100%; min-width: 0; }
.turnover-form { padding: 0 15px 28px; color: #243d68; }
.turnover-form input, .turnover-form select, .turnover-form textarea, .secure-turnover-form input, .secure-turnover-form select, .secure-turnover-form textarea { font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; font-weight: 400; font-style: normal; color: #1f1f1f; }
.turnover-project-details { display: grid; grid-template-columns: 2fr 1.25fr; gap: 10px 24px; margin: 4px 0 20px; }
.turnover-project-details label, .turnover-text-field { color: #40506a; font-size: 14px; font-weight: 700; }
.turnover-project-details label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px; }
.turnover-project-details label:nth-child(1), .turnover-project-details label:nth-child(3) { grid-template-columns: 96px minmax(0, 1fr); }
.turnover-project-details input { box-sizing: border-box; width: 100%; height: 34px; border: 1px solid #c9c9c9; border-radius: 4px; background: white; color: #1f1f1f; font: 400 15px "Segoe UI", Arial, sans-serif; }
.turnover-project-details .turnover-proposal-date { color: #b12b27; font-style: italic; }
.turnover-section-title { margin-top: 20px; }
.turnover-top-grid, .turnover-bottom-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.turnover-checklist { padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: #f7fbff; }
.turnover-checklist-head, .turnover-checklist label { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 33px); align-items: center; gap: 5px; }
.turnover-checklist-head { min-height: 24px; color: #243d68; font-size: 12px; text-align: center; }
.turnover-checklist label { min-height: 25px; color: #40506a; font-size: 13px; text-align: left; }
.turnover-checklist label span { padding-right: 6px; }
.turnover-checklist input { width: 14px; height: 14px; margin: 0 auto; accent-color: #0969e8; }
.turnover-guidance { padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: #f7fbff; }
.turnover-guidance p, .turnover-bottom-note { margin: 0 0 10px; color: #b12b27; font-size: 12px; font-style: italic; line-height: 1.4; }
.pe-quote-package-notice { display: grid; gap: 1px; padding: 4px; border: 1px solid #9e4d4d; background: #ffb7b7; color: #111; font-size: 12px; line-height: 1.15; }
.pe-quote-package-notice[hidden] { display: none; }
.pe-quote-package-notice strong { margin-bottom: 3px; }
.turnover-text-field { display: grid; gap: 6px; margin-top: 17px; }
.turnover-text-field:last-of-type { margin-bottom: 20px; }
.turnover-text-field em { color: #b12b27; font-size: 10px; font-weight: 400; }
.turnover-text-field textarea { box-sizing: border-box; width: 100%; resize: vertical; border: 1px solid #c9c9c9; border-radius: 4px; background: white; color: #1f1f1f; font: 400 15px "Segoe UI", Arial, sans-serif; }
.turnover-bottom-grid { margin-top: 26px; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.turnover-bottom-aside { display: flex; flex-direction: column; justify-content: space-between; }
.turnover-bottom-note { padding-top: 22px; }
.turnover-print-actions { display: flex; justify-content: flex-end; gap: 8px; }
.turnover-print-actions button { width: 80px; }
.secure-print-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.secure-print-actions button { width: 80px; }
.secure-turnover-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 18px; }
.secure-turnover-workspace .opportunity-main { width: 100%; min-width: 0; }
.secure-turnover-form { padding-bottom: 28px; }
.secure-turnover-history-panel, .turnover-history-panel { position: sticky; top: 18px; overflow: hidden; }
.secure-turnover-history-empty { margin: 0; padding: 14px; color: #718096; font-size: 13px; }
.secure-turnover-history-list { display: grid; }
.secure-turnover-history-item { padding: 12px 14px; border-bottom: 1px solid #e4eaf1; }
.secure-turnover-history-item:last-child { border-bottom: 0; }
.secure-turnover-history-item strong { display: block; color: #243d68; font-size: 13px; }
.secure-turnover-history-item time { display: block; margin-top: 3px; color: #718096; font-size: 12px; }
.secure-turnover-history-item details { margin-top: 9px; color: #40506a; font-size: 12px; }
.secure-turnover-history-item summary { cursor: pointer; color: #1769aa; }
.secure-turnover-history-snapshot { display: grid; gap: 5px; margin: 8px 0 0; }
.secure-turnover-history-snapshot div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.secure-turnover-history-snapshot dt { color: #718096; }
.secure-turnover-history-snapshot dd { margin: 0; color: #243d68; text-align: right; }
.secure-project-details { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr; gap: 10px; margin-bottom: 14px; }
.secure-project-details label, .secure-financial-details label, .secure-info-block label, .secure-credit-split-grid label { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px; color: #40506a; font-size: 14px; font-weight: 700; }
.secure-turnover-form input, .secure-turnover-form textarea { box-sizing: border-box; width: 100%; border: 1px solid #c9c9c9; border-radius: 4px; background: white; color: #1f1f1f; font: 400 15px "Segoe UI", Arial, sans-serif; }
.secure-turnover-form input { height: 32px; padding: 5px 7px; }
.secure-financial-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 14px; }
.secure-action-row { display: grid; grid-template-columns: .8fr 1.8fr; gap: 18px; margin-bottom: 18px; }
.secure-action-row fieldset { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: #f7fbff; }
.secure-action-row legend { padding: 0 5px; color: #243d68; font-size: 14px; font-weight: 700; }
.secure-action-row label, .secure-checklist label { display: flex; align-items: center; gap: 5px; color: #40506a; font-size: 13px; }
.secure-action-row input, .secure-checklist input { width: 15px; height: 15px; padding: 0; accent-color: #0969e8; }
.secure-action-row .secure-action-select { width: 100%; justify-content: space-between; gap: 10px; }
.secure-action-select select { min-width: 170px; height: 32px; padding: 5px 28px 5px 7px; border: 1px solid #c9c9c9; border-radius: 4px; background: #fff; color: #1f1f1f; font: 400 15px "Segoe UI", Arial, sans-serif; }
.secure-requirements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.secure-checklist { display: grid; align-content: start; gap: 6px; min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: #f7fbff; }
.secure-checklist-stack { display: grid; align-content: start; gap: 14px; }
.secure-checklist legend, .secure-info-block legend { padding: 0 5px; color: #243d68; font-size: 14px; font-weight: 700; }
.secure-party-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; margin-top: 18px; }
.secure-party-grid-paired { grid-template-areas: "sold-to project-owner" "customer-contact general-contractor"; align-items: stretch; }
.secure-party-grid-addresses { align-items: start; margin-top: 32px; }
.secure-info-block { display: grid; align-content: start; gap: 5px; min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: #f7fbff; }
.secure-info-stack { display: grid; align-content: start; gap: 18px; }
.secure-party-grid-paired .secure-info-stack { display: contents; }
.secure-sold-to { grid-area: sold-to; }
.secure-customer-contact { grid-area: customer-contact; align-self: start; }
.secure-project-owner { grid-area: project-owner; }
.secure-general-contractor { grid-area: general-contractor; }
.secure-info-block label { grid-template-columns: 132px minmax(0, 1fr); min-height: 32px; }
.secure-info-block h3 { margin: 7px 0 1px; color: #243d68; font-size: 14px; }
.secure-section-title { margin-top: 20px; }
.secure-party-grid + .secure-section-title { margin-top: 32px; }
.secure-credit-split-grid { display: grid; grid-template-columns: 1.8fr .8fr 1.2fr; gap: 7px 14px; }
.secure-credit-split-grid label:nth-child(3n + 1) { grid-template-columns: 70px minmax(0, 1fr); }
.secure-credit-split-grid + .secure-section-title { margin-top: 32px; }
.secure-table-wrap { padding: 0 0 18px; overflow-x: auto; }
.secure-credit-table, .secure-equipment-table { min-width: 0; table-layout: fixed; }
.secure-credit-table th, .secure-equipment-table th { background: #f1f1f1; color: #243d68; font-size: 13px; }
.secure-credit-table td, .secure-equipment-table td { padding: 4px; }
.secure-credit-table input, .secure-equipment-table input { height: 29px; }
.secure-equipment-table th:nth-child(1) { width: 13%; }.secure-equipment-table th:nth-child(2) { width: 25%; }.secure-equipment-table th:nth-child(3) { width: 12%; }.secure-equipment-table th:nth-child(4), .secure-equipment-table th:nth-child(5) { width: 13%; }.secure-equipment-table th:nth-child(6) { width: 24%; }
.secure-notes { display: grid; gap: 7px; margin-top: 18px; color: #40506a; font-size: 14px; font-weight: 700; }
.secure-notes textarea { min-height: 150px; padding: 9px; resize: vertical; }

@media (max-width: 1250px) {
    .secure-turnover-workspace, .turnover-workspace { grid-template-columns: minmax(0, 1fr); }
    .secure-turnover-history-panel, .turnover-history-panel { position: static; }
}

@media print {
    body * { visibility: hidden; }
    .turnover-print-area, .turnover-print-area *, .secure-print-area, .secure-print-area * { visibility: visible; }
    .turnover-print-area, .secure-print-area { position: absolute; top: 0; left: 0; width: 100%; padding: 0; }
    .turnover-print-actions, .secure-print-actions { display: none !important; }
}
.auto-review-file { display: flex; justify-content: space-between; gap: 20px; margin: 0 26px 18px; padding: 12px 14px; border: 1px solid #d7e1ee; border-radius: 6px; color: #40506a; }
.auto-review-file strong { color: #243d68; }
.auto-review-suggestion { margin: 0 26px 24px; }
.auto-review-suggestion h3 { margin: 0; padding: 10px 14px; background: #f1f1f1; color: #252525; font-size: 18px; }
.auto-review-suggestion p { margin: 0; padding: 16px 14px; color: #667085; }
.auto-review-suggestion dl { margin: 0; }
.auto-review-suggestion dl > div { display: grid; grid-template-columns: 190px 1fr; gap: 12px; min-height: 43px; align-items: center; padding: 6px 14px; border-bottom: 1px solid #e2e8f0; color: #40506a; }
.auto-review-suggestion dt, .auto-review-suggestion dd { margin: 0; }
.auto-review-suggestion dd { color: #1f1f1f; font-weight: 600; }
.auto-review-btn { padding: 6px 10px; color: white; border-color: #087b38; background: #087b38; font-size: 13px; font-weight: 700; }
.auto-review-btn:hover { background: #06662f; }
.auto-review-workspace { margin-top: 0; }
.auto-review-workspace .auto-review-file { margin: 0 0 12px; }
.auto-review-form textarea { min-height: 76px; resize: vertical; }
.auto-review-warnings .empty-panel { margin: 0; }
.auto-review-warning-row { display: grid; gap: 3px; padding: 10px 14px; border-bottom: 1px solid #e2e8f0; color: #7a3f18; }
.auto-review-warning-row:last-child { border-bottom: 0; }
.auto-review-warning-row strong { color: #8a3f13; font-size: 13px; }
.auto-review-warning-row span { font-size: 13px; }
.auto-review-summary p { margin: 0; padding: 12px 14px; color: #40506a; line-height: 1.45; }
.auto-review-evidence { display: grid; gap: 4px; margin: 0 14px 14px; padding-top: 10px; border-top: 1px solid #e2e8f0; color: #40506a; font-size: 13px; line-height: 1.4; }
.auto-review-evidence strong { color: #243d68; }
.auto-review-evidence p { margin: 0; padding: 0; color: #40506a; line-height: 1.45; }
.auto-review-evidence ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.auto-review-evidence li { padding-left: 1px; }
.auto-error-btn { padding: 6px 10px; color: white; border-color: #b12b27; background: #b12b27; font-size: 13px; font-weight: 700; }
.auto-error-btn:hover { background: #91231f; }

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
}
.qualified { color: #087b38; background: #dff6e5; }
.bidding { color: #005bd8; background: #dcecff; }
.no-bid { color: #a35d00; background: #fff0c9; }
.closed-won { color: #14752f; background: #ccefd5; }
.closed-lost { color: #b12b27; background: #ffe4e0; }
.abandoned { color: #53617a; background: #e9edf3; }
.on-hold { color: #6a3bb6; background: #eee5ff; }
.feedback-score { display: inline-block; font-size: 20px; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.feedback-bad { color: #b12b27; }
.feedback-fair { color: #a35d00; }
.feedback-good { color: #0969e8; }
.feedback-great { color: #087b38; }
#followUpBidsTable th:last-child, #followUpBidsTable td:last-child { width: 54px; padding-right: 6px; padding-left: 6px; text-align: center; white-space: nowrap; }
.reports-feedback-table th:last-child, .reports-feedback-table td:last-child { width: 54px; padding-right: 6px; padding-left: 6px; text-align: center; white-space: nowrap; }
.contractor-feedback-check { color: #087b38; font-weight: 800; }
.reports-assist-table th:last-child, .reports-assist-table td:last-child { text-align: center; }
.reports-assist-table td:last-child { color: #087b38; font-weight: 700; }
.reports-assist-table td:last-child .bid-assist-no { color: #b12b27; }
.service-report-icon { width: 31px; height: 31px; vertical-align: -7px; fill: none; stroke: #0969e8; stroke-linecap: round; stroke-linejoin: round; }
.service-report-icon .service-hub-ring { stroke-width: 2.4; }
.service-report-icon .service-hub-link { stroke-width: 2; }
.service-report-icon .service-hub-node { fill: #0969e8; stroke: white; stroke-width: 1.2; }
.service-report-icon .service-hub-check { stroke-width: 2.5; }
.warranty-report-icon { width: 31px; height: 31px; vertical-align: -7px; fill: #0969e8; }
.warranty-report-icon text { fill: white; font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; }
.service-report-table, .warranty-report-table { table-layout: fixed; }
.service-report-table th:nth-child(1), .service-report-table td:nth-child(1) { width: 22%; }
.service-report-table th:nth-child(2), .service-report-table td:nth-child(2) { width: 10%; }
.service-report-table th:nth-child(3), .service-report-table td:nth-child(3) { width: 40%; }
.service-report-table th:nth-child(4), .service-report-table td:nth-child(4) { width: 14%; }
.service-report-table th:last-child, .service-report-table td:last-child { width: 14%; text-align: center; }
.service-report-table { font-size: 13px; }
.service-report-table thead th { font-size: 13px; }
.service-needed-equipment { display: block; margin-bottom: 4px; }
.service-report-status { display: inline-block; padding: 4px 7px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.service-report-status.requested { color: #996000; background: #fff7df; }
.service-report-status.scheduled { color: #1769aa; background: #edf6ff; }
.service-report-status.ongoing { color: #70409a; background: #f4effb; }
.service-report-status.complete { color: #087b38; background: #e8f7ee; }
.warranty-report-table th:nth-child(1), .warranty-report-table td:nth-child(1) { width: 12%; }
.warranty-report-table th:nth-child(2), .warranty-report-table td:nth-child(2) { width: 17%; }
.warranty-report-table th:nth-child(3), .warranty-report-table td:nth-child(3) { width: 10%; }
.warranty-report-table th:nth-child(4), .warranty-report-table td:nth-child(4) { width: 11%; }
.warranty-report-table th:nth-child(5), .warranty-report-table td:nth-child(5) { width: 16%; }
.warranty-report-table th:nth-child(6), .warranty-report-table td:nth-child(6) { width: 12%; }
.warranty-report-table th:nth-child(7), .warranty-report-table td:nth-child(7) { width: 14%; }
.warranty-report-table th:last-child, .warranty-report-table td:last-child { width: 8%; overflow-wrap: anywhere; }
.warranty-report-table { font-size: 13px; }
.warranty-report-table thead th { font-size: 13px; }

.account-type { display: inline-block; padding: 5px 10px; border-radius: 7px; font-weight: 700; font-size: 14px; }
.mechanical-contractor { color: #005bd8; background: #dcecff; }
.engineer { color: #6a3bb6; background: #eee5ff; }
.owner { color: #087b38; background: #dff6e5; }
.general-contractor { color: #a35d00; background: #fff0c9; }
.distributor { color: #9a2357; background: #ffe4f0; }
.architect { color: #057d7d; background: #d9f5f5; }
.other { color: #53617a; background: #e9edf3; }

.opportunity-status { display: inline-block; padding: 5px 10px; border-radius: 7px; font-weight: 700; font-size: 14px; }
.budget { color: #6a3bb6; background: #eee5ff; }
.bid { color: #005bd8; background: #dcecff; }
.no-bid { color: #a35d00; background: #fff0c9; }
.closed-won { color: #087b38; background: #dff6e5; }
.closed-lost { color: #b12b27; background: #ffe4e0; }

.table-footer {
    padding: 15px 28px 20px;
    display: flex;
    justify-content: space-between;
    color: #637086;
    font-size: 14px;
}
.view-all {
    border: 0;
    background: transparent;
    color: #0064dc;
    font-weight: 700;
    cursor: pointer;
}
.view-all:hover { text-decoration: underline; }

.user-section { margin-bottom: 26px; }
.password-form { display: grid; justify-items: stretch; gap: 14px; padding: 0 27px 26px; }
.password-form label { display: grid; grid-template-columns: 175px minmax(0, 1fr); align-items: center; gap: 12px; color: #243d68; font-size: 14px; font-weight: 700; text-align: left; }
.password-form input { width: 230px; border: 1px solid #ccd7e6; border-radius: 6px; padding: 10px 12px; outline: none; }
.password-form input, .password-form button { justify-self: end; }
.user-workspace .user-section { margin-bottom: 14px; }
.user-workspace .password-form { padding: 16px; }
.user-workspace .user-details { grid-template-columns: 1fr; padding: 16px; }
.user-workspace .user-title-options { margin: 0 16px 18px; }
.user-permissions { margin: 0; padding: 0 16px 12px; }
.user-permissions div { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; border-bottom: 1px solid var(--border); color: #40506a; font-size: 14px; }
.user-permissions div:last-child { border-bottom: 0; }
.user-permissions dt, .user-permissions dd { margin: 0; }
.permission-value { color: #087b38; font-weight: 700; }
.permission-value.permission-no { color: #b12b27; }
.password-form input:focus { border-color: #1975dc; box-shadow: 0 0 0 3px rgba(25,117,220,.12); }
.primary-btn { color: white; background: #0969e8; border-color: #0969e8; }
.primary-btn:hover { background: #075dce; }
.section-heading a.create-opportunity-btn,
.section-heading a.create-opportunity-btn:visited {
    border-color: #d9523a !important;
    background-color: #e96544 !important;
    color: white !important;
    font-weight: 700;
    text-decoration: none !important;
}
.section-heading a.create-opportunity-btn:hover {
    background-color: #d9533d !important;
    text-decoration: none !important;
}
.user-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 27px 10px; margin: 0; }
.user-details div { padding: 16px 18px; border: 1px solid var(--border); border-radius: 8px; background: #f7fbff; }
.user-details dt { color: #637086; font-size: 14px; }
.user-details dd { margin: 6px 0 0; color: var(--text); font-size: 18px; font-weight: 700; }
.user-title-options { margin: 10px 27px 25px; color: #637086; font-size: 14px; }
.create-opportunity-message { padding: 0 27px 26px; color: #40506a; }

.opportunity-workspace { display: grid; grid-template-columns: minmax(0, 2fr) minmax(350px, 1fr); gap: 18px; }
.opportunity-main, .opportunity-sidebar, .opportunity-left-column { min-width: 0; }
.account-workspace .opportunity-main { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.account-workspace .opportunity-sidebar { padding: 0; background: transparent; }
.account-workspace .side-panel { border-color: var(--border); box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.account-workspace .side-panel h2 { border-bottom-color: var(--border); }
.account-workspace .side-panel, .account-workspace .opportunity-form { border-radius: 12px; }
.account-workspace .form-section-title { border-radius: 0; }
.account-workspace .tdb-section-title { margin-top: 20px; }
.account-workspace .account-notes-title { margin-top: 20px; }
.account-notes { display: grid; gap: 14px; padding: 0 4px 6px; }
.account-notes p { margin: 0; color: #40506a; line-height: 1.5; }
.account-notes button { justify-self: end; }
.account-workspace .account-manager-actions select { border-radius: 6px; }
.account-call-log { padding: 0 0 20px; }
.account-call-log .form-section-title, .account-opportunity-history .form-section-title { margin: 0 0 14px; }
.call-log-form { display: grid; gap: 12px; padding: 0 15px 18px; }
.call-log-form textarea { box-sizing: border-box; width: 100%; resize: vertical; border: 1px solid #c9c9c9; border-radius: 4px; padding: 10px; color: #243d68; font: inherit; }
.call-log-form button { justify-self: end; }
.call-log-list { display: grid; gap: 10px; padding: 0; }
.call-log-list-label { margin: 0 0 -10px; padding: 10px 14px; border-radius: 0; background: #f1f1f1; color: #252525; font-size: 18px; font-weight: 500; }
.call-log-entry { margin: 0; overflow: hidden; border: 0; border-radius: 0; }
.call-log-entry-header { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: transparent; color: #40506a; font-size: 13px; }
.call-log-entry-header::after { content: ""; position: absolute; right: 15px; bottom: 0; left: 15px; border-bottom: 1px solid #e2e8f0; }
.call-log-entry-header time { margin-right: auto; }
.call-log-entry-header a { color: #0969e8; font-weight: 700; text-decoration: none; }
.call-log-entry-header a:hover { text-decoration: underline; }
.call-log-revision-nav { display: inline-flex; gap: 3px; }
.call-log-revision-nav button { display: grid; width: 24px; height: 22px; place-items: center; border: 1px solid #b9c9dd; border-radius: 3px; background: white; color: #243d68; font: inherit; font-weight: 700; cursor: pointer; }
.call-log-revision-nav button:disabled { opacity: .4; cursor: default; }
.call-log-entry-text { margin: 0; padding: 10px 14px; color: #40506a; line-height: 1.4; }
.account-change-log { margin-top: 20px; padding: 0 0 20px; }
.account-change-log .form-section-title { margin: 0 0 14px; }
.account-change-log .table-wrap { overflow-x: hidden; padding: 0 0 18px; }
.change-log-table { min-width: 0; table-layout: fixed; }
.change-log-table thead th { border-top: 0; border-bottom: 1px solid #c9c9c9; border-radius: 0; background: #f1f1f1; color: #1f1f1f; font-size: 15px; font-weight: 600; }
.change-log-table thead th:first-child { border-left: 0; }
.change-log-table thead th:last-child { border-right: 0; }
.change-log-table tbody td { border-left: 0; }
.change-log-table tbody td:last-child { border-right: 0; }
.change-log-table th:first-child, .change-log-table td:first-child { width: 25%; overflow-wrap: anywhere; }
.change-log-table th:nth-child(2), .change-log-table td:nth-child(2) { width: 57%; overflow-wrap: anywhere; }
.change-log-table th:last-child, .change-log-table td:last-child { width: 18%; overflow-wrap: anywhere; }
.account-opportunity-history { margin-top: 20px; padding: 0 0 20px; }
.account-opportunity-history .table-wrap { overflow-x: hidden; padding: 0 0 18px; }
.account-opportunity-history-table { min-width: 0; table-layout: fixed; }
.account-opportunity-history-table thead th { border-top: 0; border-bottom: 1px solid #c9c9c9; background: #f1f1f1; color: #1f1f1f; font-size: 15px; font-weight: 600; }
.account-opportunity-history-table thead th:first-child { border-left: 0; border-radius: 0; }
.account-opportunity-history-table thead th:last-child { border-right: 0; border-radius: 0; }
.account-opportunity-history-table tbody td { border-left: 0; }
.account-opportunity-history-table tbody td:last-child { border-right: 0; }
.account-opportunity-history-table th:nth-child(1), .account-opportunity-history-table td:nth-child(1) { width: 33%; overflow-wrap: anywhere; }
.account-opportunity-history-table th:nth-child(2), .account-opportunity-history-table td:nth-child(2) { width: 19%; overflow-wrap: anywhere; }
.account-opportunity-history-table th:nth-child(3), .account-opportunity-history-table td:nth-child(3) { width: 16%; }
.account-opportunity-history-table th:nth-child(4), .account-opportunity-history-table td:nth-child(4) { width: 17%; }
.account-opportunity-history-table th:nth-child(5), .account-opportunity-history-table td:nth-child(5) { width: 15%; }
.view-opportunity-workspace .opportunity-main { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.opportunity-left-column { display: grid; align-content: start; gap: 18px; }
.view-opportunity-workspace .opportunity-sidebar { padding: 0; background: transparent; }
.view-opportunity-workspace .side-panel { border-color: var(--border); border-radius: 12px; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.view-opportunity-workspace .side-panel h2 { border-bottom-color: var(--border); }
.user-workspace .opportunity-main { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.user-workspace .opportunity-sidebar { padding: 0; background: transparent; }
.user-workspace .side-panel { border-color: var(--border); border-radius: 12px; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.user-workspace .side-panel h2 { border-bottom-color: var(--border); }
.user-workspace .table-wrap { overflow-x: hidden; }
.user-workspace table { min-width: 0; table-layout: fixed; }
.user-workspace th:first-child, .user-workspace td:first-child { width: 68%; overflow-wrap: anywhere; }
.user-workspace th:last-child, .user-workspace td:last-child { width: 32%; }
.view-opportunity-workspace .opportunity-form { border-radius: 12px; }
.view-opportunity-workspace .form-section-title { border-radius: 0; }
.create-opportunity-workspace .opportunity-form { margin-top: 0; }
.create-opportunity-workspace .form-section-title { border-radius: 0; }
.create-product-mix-head, .create-product-mix-list li { display: grid; grid-template-columns: minmax(75px, 1fr) 42px 48px 130px; gap: 4px; align-items: center; }
.create-product-mix-head { padding: 10px 16px 7px; color: #637086; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.create-product-mix-head span:not(:first-child) { text-align: center; }
.create-product-mix-list { margin: 0; padding: 0 16px 16px; list-style: none; }
.create-product-mix-list li { min-height: 41px; border-top: 1px solid #e2e8f0; color: #40506a; font-size: 14px; }
.create-product-mix-list input, .create-product-mix-list select { box-sizing: border-box; width: 100%; height: 30px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 4px 6px; color: #243d68; font: inherit; background: white; }
.create-product-mix-list input { text-align: center; }
.create-product-mix-list select { min-width: 0; font-size: 12px; }
.opportunity-tabs { display: flex; gap: 6px; border-bottom: 1px solid #8795a8; padding: 0 15px; background: white; }
.opportunity-tabs a { padding: 15px 18px 11px; color: #4c4c4c; font-size: 18px; text-decoration: none; }
.opportunity-tabs a.active { border-bottom: 3px solid #3484ee; color: #202020; font-weight: 700; }
.opportunity-form { margin-top: 20px; padding: 0 15px 20px; background: white; border-radius: 6px; }
.view-opportunity-workspace .opportunity-history, .view-opportunity-workspace .opportunity-notes { overflow: hidden; padding: 0 15px 20px; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.opportunity-history-entry { display: flex; align-items: center; min-height: 43px; margin: 0; padding: 6px 4px; border-bottom: 1px solid #c9c9c9; color: #525252; font-size: 15px; }
.opportunity-history-entry:last-child { border-bottom: 0; }
.opportunity-notes-form { display: grid; gap: 12px; }
.opportunity-notes-form textarea { box-sizing: border-box; width: 100%; resize: vertical; border: 1px solid #c9c9c9; border-radius: 4px; padding: 9px; color: #243d68; font: inherit; }
.opportunity-notes-form button { justify-self: end; }
.opportunity-history .form-section-title { justify-content: space-between; }
.view-all-history-link { color: #0969e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.view-all-history-link:hover { text-decoration: underline; }
.service-request-workspace { display: block; }
.service-request-workspace .opportunity-main { width: 100%; }
.warranty-workspace { display: block; }
.warranty-workspace .opportunity-main { width: 100%; }
.service-request-form { padding-bottom: 22px; }
.service-request-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.service-request-fields label { display: grid; gap: 6px; color: #525252; font-size: 15px; }
.service-request-fields input, .service-request-fields select, .service-request-fields textarea { box-sizing: border-box; width: 100%; border: 1px solid #c9c9c9; border-radius: 4px; padding: 7px 9px; background: white; color: #1f1f1f; font: 400 15px "Segoe UI", Arial, sans-serif; }
.service-request-fields input, .service-request-fields select { height: 34px; }
.service-request-fields select { padding-top: 4px; padding-bottom: 4px; }
.service-request-fields textarea { resize: vertical; }
.service-request-field-wide { grid-column: 1 / -1; }
.service-request-fields .service-inline-field { grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 8px; }
.optional-label { margin-left: 4px; color: #8a8a8a; font-size: 12px; }
.service-request-history { margin-top: 18px; padding: 0 15px 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.service-request-history .form-section-title { margin: 0 -15px; padding-left: 24px; padding-right: 24px; }
.service-request-list { display: grid; gap: 14px; padding: 14px 10px 18px; }
.service-request-card { padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: #fff; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.service-request-card header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.service-request-card h2 { margin: 0; color: #243d68; font-size: 17px; }
.service-request-card h2 span { color: #8a98a9; }
.service-request-card header p { margin: 4px 0 0; color: #718096; font-size: 13px; }
.service-request-card header label { display: flex; align-items: center; gap: 8px; color: #525252; font-size: 13px; font-weight: 700; }
.service-request-card dl { display: flex; gap: 28px; margin: 14px 0 0; }
.service-request-card dl div { display: flex; gap: 6px; }
.service-request-card dt { color: #718096; font-size: 13px; }
.service-request-card dd { margin: 0; color: #243d68; font-size: 13px; font-weight: 600; }
.service-request-description { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #e2e8f0; color: #40506a; font-size: 14px; }
.warranty-request-form { padding-bottom: 22px; }
.warranty-request-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.warranty-request-fields label { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 8px; color: #525252; font-size: 15px; }
.warranty-request-fields input { box-sizing: border-box; width: 100%; height: 34px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 7px 9px; background: white; color: #1f1f1f; font: 400 15px "Segoe UI", Arial, sans-serif; }
.warranty-request-history { margin-top: 18px; padding: 0 15px 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.warranty-request-history .form-section-title { margin: 0 -15px; padding-left: 24px; padding-right: 24px; }
.warranty-request-history .table-wrap { padding: 14px 10px 0; overflow-x: hidden; }
.warranty-parts-table { min-width: 0; table-layout: fixed; border: 1px solid #c9c9c9; border-radius: 6px; overflow: hidden; }
.warranty-parts-table thead th { border-top: 0; border-bottom: 1px solid #c9c9c9; border-radius: 0; background: #f1f1f1; color: #1f1f1f; font-size: 15px; font-weight: 600; }
.warranty-parts-table th, .warranty-parts-table td { overflow-wrap: anywhere; }
.warranty-parts-table th:first-child, .warranty-parts-table td:first-child { width: 13%; border-left: 0; }
.warranty-parts-table th:nth-child(2), .warranty-parts-table td:nth-child(2) { width: 13%; }
.warranty-parts-table th:nth-child(3), .warranty-parts-table td:nth-child(3) { width: 14%; }
.warranty-parts-table th:nth-child(4), .warranty-parts-table td:nth-child(4) { width: 19%; }
.warranty-parts-table th:nth-child(5), .warranty-parts-table td:nth-child(5) { width: 14%; }
.warranty-parts-table th:nth-child(6), .warranty-parts-table td:nth-child(6) { width: 17%; }
.warranty-parts-table th:last-child, .warranty-parts-table td:last-child { width: 10%; border-right: 0; }
.service-request-history .table-wrap { padding: 0 0 18px; overflow-x: hidden; }
.service-request-table { min-width: 0; table-layout: fixed; }
.service-request-table thead th { border-top: 0; border-bottom: 1px solid #c9c9c9; border-radius: 0; background: #f1f1f1; color: #1f1f1f; font-size: 15px; font-weight: 600; }
.service-request-table th, .service-request-table td { overflow-wrap: anywhere; }
.service-request-table th:first-child, .service-request-table td:first-child { width: 9%; border-left: 0; }
.service-request-table th:nth-child(2), .service-request-table td:nth-child(2) { width: 12%; }
.service-request-table th:nth-child(3), .service-request-table td:nth-child(3), .service-request-table th:nth-child(4), .service-request-table td:nth-child(4) { width: 13%; }
.service-request-table th:nth-child(5), .service-request-table td:nth-child(5) { width: 26%; }
.service-request-table th:nth-child(6), .service-request-table td:nth-child(6) { width: 12%; }
.service-request-table th:last-child, .service-request-table td:last-child { width: 15%; border-right: 0; }
.service-status { width: 100%; min-width: 0; height: 30px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 3px 5px; font: 700 13px "Segoe UI", Arial, sans-serif; }
.status-requested { color: #996000; background: #fff7df; border-color: #e7c66c; }
.status-scheduled { color: #1769aa; background: #edf6ff; border-color: #a9cae8; }
.status-ongoing { color: #70409a; background: #f4effb; border-color: #cdb8e4; }
.status-complete { color: #087b38; background: #e8f7ee; border-color: #9ed8b2; }
.form-section-title { display: flex; gap: 12px; align-items: center; margin: 0 -15px 14px; padding: 10px 14px; border-radius: 6px; background: #f1f1f1; color: #252525; font-size: 18px; font-weight: 500; }
.opportunity-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field-column { display: grid; align-content: start; }
.field-column label { display: grid; grid-template-columns: 175px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 43px; padding: 6px 4px; border-bottom: 1px solid #c9c9c9; color: #525252; font-size: 15px; }
.field-column input, .field-column select, .field-column textarea { width: 100%; border: 0; outline: 0; background: transparent; color: #1f1f1f; font: inherit; }
.field-column input:focus, .field-column select:focus, .field-column textarea:focus { box-shadow: 0 1px 0 #3484ee; }
.create-opportunity-form .field-column input, .create-opportunity-form .field-column select, .create-opportunity-form .field-column textarea { box-sizing: border-box; padding: 7px 9px; border: 1px solid #c9c9c9; border-radius: 4px; background: white; }
.create-opportunity-form .field-column input:focus, .create-opportunity-form .field-column select:focus, .create-opportunity-form .field-column textarea:focus { border-color: #3484ee; box-shadow: 0 0 0 2px rgba(52,132,238,.15); }
.create-opportunity-form .field-column label:last-child { border-bottom: 0; }
.create-opportunity-form .form-section-title { border-radius: 6px 6px 0 0; }
.field-column input::placeholder, .field-column textarea::placeholder { color: #8a8a8a; }
.field-column textarea { padding: 5px 0; resize: vertical; }
.field-value { color: #1f1f1f; font-weight: 600; }
.field-column .check-field { grid-template-columns: 1fr auto; }
.field-column .check-field input { width: 20px; height: 20px; accent-color: #0969e8; }
.field-column .field-wide { align-items: start; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.form-actions a { text-decoration: none; }
.opportunity-sidebar { background: #bfd5ed; padding: 0 10px 14px; }
.sharepoint-card, .side-panel { margin-bottom: 14px; border: 1px solid #c8c8c8; border-radius: 5px; background: white; box-shadow: 0 1px 2px rgba(0, 0, 0, .16); }
.sharepoint-card h2 { margin: 0; padding: 23px 20px; color: #2185e5; font-size: 22px; }
.side-panel h2 { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border-bottom: 1px solid #c8c8c8; color: #252525; font-size: 18px; }
.side-panel h2.bid-assistance-heading { justify-content: space-between; gap: 10px; }
.side-panel h2.product-mix-heading { justify-content: space-between; gap: 10px; }
.side-panel h2.bidder-heading { justify-content: space-between; gap: 10px; }
.side-panel h2.feedback-heading { justify-content: space-between; gap: 10px; }
.product-mix-heading a { color: #0969e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.product-mix-heading a:hover { text-decoration: underline; }
.bidder-heading a { color: #0969e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.bidder-heading a:hover { text-decoration: underline; }
.feedback-heading a { color: #0969e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.feedback-heading a:hover { text-decoration: underline; }
.side-panel-title { display: flex; align-items: center; gap: 14px; }
.panel-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 5px; background: #828282; color: white; font-size: 18px; }
.bid-assistance-person { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.panel-icon.feedback-icon { background: #087b38; }
.feedback-bubble-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.feedback-bubble-icon path:last-child { stroke-width: 2; }
.panel-icon.products { background: #fb6b32; }
.panel-icon.bidders { background: #0969e8; }
.turnover-history-icon { background: #6a7b91; }
.turnover-history-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.empty-panel { margin: 0; padding: 18px 16px; color: #667085; }
.feedback-list { margin: 0; padding: 0; list-style: none; }
.feedback-list li { display: flex; align-items: center; min-height: 43px; margin: 0 16px; padding: 6px 0; border-bottom: 1px solid #c9c9c9; color: #525252; font-size: 15px; }
.feedback-person { display: grid; gap: 2px; }
.feedback-note { margin: 0; color: #667085; font-size: 14px; font-style: italic; }
.feedback-note::before { content: "• "; }
.feedback-note.visible { color: #525252; font-style: normal; }
.feedback-actions { display: flex; align-items: center; align-self: flex-start; gap: 10px; margin-left: auto; }
.feedback-date { color: #667085; font-size: 14px; }
.feedback-actions a { color: #0969e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.feedback-actions a:hover { text-decoration: underline; }
.feedback-form { display: flex; flex-direction: column; gap: 8px; padding: 22px 16px 16px; }
.feedback-form-label { display: flex; align-items: center; gap: 14px; color: #252525; font-size: 18px; font-weight: 700; }
.feedback-form textarea, .feedback-form select { box-sizing: border-box; width: 100%; min-width: 0; resize: vertical; border: 1px solid #c9c9c9; border-radius: 4px; padding: 8px 9px; background: white; color: #243d68; font: inherit; }
.feedback-form select { height: 36px; resize: none; }
.feedback-form button { align-self: flex-end; height: 34px; padding: 0 12px; }
.product-mix-picker { display: flex; gap: 6px; align-items: center; margin: 14px 16px 0; }
.product-quantity, .product-mix-select { box-sizing: border-box; height: 32px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 5px 8px; background: white; color: #243d68; font: inherit; }
.product-quantity { width: 68px; flex: 0 0 68px; }
.product-mix-select { width: 170px; flex: 1 1 170px; }
.product-mix-picker button { height: 32px; padding: 0 11px; }
.product-mix-list { margin: 0; padding: 12px 16px 6px 34px; color: #40506a; }
.product-mix-list li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.product-mix-list strong, .product-mix-total strong { color: #243d68; }
.product-mix-total { display: flex; justify-content: space-between; margin: 6px 16px 16px; padding-top: 10px; border-top: 1px solid #c9c9c9; color: #40506a; font-weight: 700; }
.bidder-picker { display: flex; align-items: center; gap: 4px; padding: 14px 16px 0; }
.contractor-autocomplete { position: relative; flex: 1; min-width: 0; }
.bidder-picker input { width: 100%; height: 38px; box-sizing: border-box; border: 1px solid #c9c9c9; border-radius: 4px; padding: 8px 9px; background: white; color: #243d68; font: inherit; }
.bidder-picker > button { flex: 0 0 68px; height: 38px; box-sizing: border-box; margin-left: auto; padding: 0 12px; }
.contractor-suggestions { position: absolute; z-index: 5; top: calc(100% + 3px); right: 0; left: 0; max-height: 190px; margin: 0; padding: 4px 0; overflow-y: auto; list-style: none; border: 1px solid #c9c9c9; border-radius: 4px; background: white; box-shadow: 0 4px 10px rgba(25,48,81,.16); }
.contractor-suggestions button { display: block; width: 100%; height: auto; padding: 8px 10px; border: 0; border-radius: 0; background: white; color: #243d68; font: inherit; text-align: left; cursor: pointer; }
.contractor-suggestions button:hover { background: #edf6ff; }
.bidder-list { margin: 12px 16px 16px; padding: 0; list-style: none; }
.bidder-list li { padding: 8px 0; border-top: 1px solid #e2e8f0; color: #243d68; font-weight: 600; }
.detail-value { color: #1f1f1f; font-weight: 600; }
.account-website { color: #0969e8; text-decoration: none; }
.account-website:hover { text-decoration: underline; }
.assigned-user-list, .account-project-list { margin: 0; padding: 0; list-style: none; }
.assigned-user-list li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #e2e8f0; color: #243d68; font-weight: 600; }
.assigned-user-list li:last-child { border-bottom: 0; }
.assigned-user-avatar { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #063b78; color: white; font-size: 12px; }
.account-manager-name { min-width: 0; }
.remove-account-manager { margin-left: auto; border: 1px solid #d6a09a; border-radius: 5px; padding: 5px 9px; background: #fff0ee; color: #b12b27; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.account-manager-actions { display: flex; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid #e2e8f0; }
.account-manager-actions select { width: 242px; min-width: 0; height: 30px; flex: 0 0 242px; border: 1px solid #ccd7e6; border-radius: 5px; padding: 4px 8px; background: white; color: #243d68; font: inherit; font-size: 13px; }
.account-manager-actions button { height: 30px; margin-left: auto; padding: 0 9px; font-size: 13px; white-space: nowrap; }
.account-project-list li { display: grid; gap: 3px; padding: 10px 16px; border-bottom: 1px solid #e2e8f0; color: #243d68; }
.account-project-list li:last-child { border-bottom: 0; }
.account-project-list small { color: #637086; }

.manage-nav { display: flex; gap: 5px; margin: -32px -25px 24px; padding: 0 25px; border-bottom: 1px solid #cbd5e1; background: white; }
.manage-nav a { padding: 14px 18px 11px; color: #53617a; font-weight: 700; text-decoration: none; }
.manage-nav a.active { border-bottom: 3px solid #0969e8; color: #063b78; }
.manage-card { margin-bottom: 22px; }
.user-status { display: inline-block; padding: 5px 10px; border-radius: 7px; font-size: 14px; font-weight: 700; }
.user-status.active { color: #087b38; background: #dff6e5; }
.user-status.banned { color: #b12b27; background: #ffe4e0; }
.user-select { width: 100%; min-width: 145px; border: 1px solid #ccd7e6; border-radius: 5px; padding: 6px 26px 6px 8px; background: #fff; color: #243d68; font: inherit; }
.status-select { min-width: 95px; }
.manage-users-action { display: flex; justify-content: flex-end; padding: 0 26px 26px; }
.unassigned-task-card { margin-bottom: 18px; overflow: visible; }
.unassigned-task-card .table-wrap { overflow: visible; }
.unassigned-task-card table { table-layout: fixed; }
.unassigned-task-card th:nth-child(1), .unassigned-task-card td:nth-child(1) { width: 24%; }
.unassigned-task-card th:nth-child(2), .unassigned-task-card td:nth-child(2) { width: 10%; }
.unassigned-task-card th:nth-child(3), .unassigned-task-card td:nth-child(3) { width: 8%; }
.unassigned-task-card th:nth-child(4), .unassigned-task-card td:nth-child(4) { width: 12%; }
.unassigned-task-card th:nth-child(5), .unassigned-task-card td:nth-child(5) { width: 18%; }
.unassigned-task-card th:nth-child(6), .unassigned-task-card td:nth-child(6) { width: 28%; }
.assistant-select, .task-date, .task-notes { box-sizing: border-box; width: 100%; border: 1px solid #ccd7e6; border-radius: 6px; background: #fff; color: #243d68; font: inherit; }
.assistant-select { min-width: 115px; padding: 7px 8px; }
.assistant-picker { position: relative; min-width: 0; max-width: 100%; }
.assistant-select-trigger { display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; }
.assistant-select-trigger::after { content: ""; width: 6px; height: 6px; margin: -3px 2px 0 10px; border-right: 2px solid #243d68; border-bottom: 2px solid #243d68; transform: rotate(45deg); }
.assistant-options { position: absolute; z-index: 6; top: calc(100% + 3px); right: 0; left: 0; box-sizing: border-box; min-width: 0; max-width: 100%; padding: 4px 0; border: 1px solid #ccd7e6; border-radius: 6px; background: white; box-shadow: 0 4px 10px rgba(25,48,81,.16); }
.assistant-options label { display: flex; align-items: center; gap: 7px; padding: 7px 10px; color: #243d68; cursor: pointer; }
.assistant-options label:hover { background: #edf6ff; }
.task-date { min-width: 130px; padding: 6px 8px; }
.task-notes { min-width: 150px; padding: 6px 8px; resize: vertical; }
.unassigned-tasks-action { display: flex; justify-content: flex-end; padding: 0 26px 26px; }
.network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.network-form { display: grid; gap: 15px; padding: 0 27px 26px; }
.network-form label { display: grid; gap: 7px; color: #243d68; font-size: 14px; font-weight: 700; }
.network-form input { border: 1px solid #ccd7e6; border-radius: 6px; padding: 11px 12px; outline: none; }
.network-form input:focus { border-color: #1975dc; box-shadow: 0 0 0 3px rgba(25,117,220,.12); }
.network-form button { justify-self: end; }
.network-code-display { display: grid; gap: 12px; padding: 0 27px 26px; color: #53617a; }
.network-code-display strong { justify-self: start; display: inline-block; width: fit-content; padding: 12px 16px; border: 1px dashed #0969e8; border-radius: 6px; background: #edf6ff; color: #063b78; font-size: 24px; letter-spacing: 1.5px; }
.network-help { margin: -5px 27px 16px; color: #53617a; }
.network-action { width: 72px; margin-right: 7px; border: 1px solid; border-radius: 5px; padding: 6px 10px; font-weight: 700; cursor: pointer; }
.network-action:last-child { margin-right: 0; }
#networkRequests th:last-child, #networkRequests td:last-child { width: 174px; white-space: nowrap; }
.network-action.accept { border-color: #087b38; background: #087b38; color: white; }
.network-action.reject { border-color: #b12b27; background: #b12b27; color: white; }

/* Home dashboard density */
.home-dashboard .hero-grid { grid-template-columns: minmax(0, 1fr) calc((100% - 48px) / 4); gap: 16px; }
.home-dashboard .welcome-card, .home-dashboard .summary-card { min-height: 108px; padding: 16px 22px; }
.home-dashboard .welcome-icon, .home-dashboard .calendar-icon { margin-right: 16px; }
.home-dashboard .calendar-icon { margin-right: 4px; transform: scale(.8); transform-origin: left center; }
.home-dashboard .welcome-icon { font-size: 40px; }
.home-dashboard .building-icon { width: 50px; height: 50px; flex: 0 0 50px; }
.home-dashboard .welcome-card h1 { font-size: 29px; }
.home-dashboard .summary-card h2 { font-size: 23px; }
.home-dashboard .welcome-card p { font-size: 17px; }
.home-dashboard .metrics { gap: 16px; margin: 18px 0; }
.home-dashboard .metric-card { min-height: 108px; padding: 16px 20px; gap: 14px; }
.home-dashboard .metric-icon { width: 44px; font-size: 32px; }
.home-dashboard .metric-card strong { font-size: 30px; }
.home-dashboard .section-heading { min-height: 58px; padding: 12px 26px; }
.home-dashboard .section-heading h2 { font-size: 23px; }
.home-dashboard .heading-crown { width: 31px; height: 31px; flex: 0 0 31px; transform: translateX(6px); }
.home-dashboard thead th { padding: 10px 14px; }
.home-dashboard tbody td { padding: 9px 14px; }
.home-dashboard .table-footer { padding: 9px 20px 12px; }

/* Reports dashboard density */
.report-metrics { gap: 16px; margin: 18px 0; }
.report-metrics .metric-card { min-height: 108px; padding: 16px 20px; gap: 14px; }
.report-metrics .metric-icon { width: 44px; font-size: 32px; }
.report-metrics .metric-card strong { font-size: 30px; }

.bid-assist-heading { margin-bottom: 18px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.bid-assist-nav { display: flex; gap: 4px; margin: -32px 25px 18px; border-bottom: 1px solid #cbd5e1; }
.bid-assist-nav a { padding: 11px 17px; color: #40506a; font-weight: 700; text-decoration: none; }
.bid-assist-nav a.active { border-bottom: 3px solid #0969e8; color: #063b78; }
.bid-assist-filter { min-width: 180px; align-self: center; height: 30px; margin: 0 0 0 auto; border: 1px solid #ccd7e6; border-radius: 6px; padding: 2px 12px; background: white; font: inherit; }
.assistant-table-card { margin-bottom: 18px; }
.assistant-table-card .section-heading { min-height: 54px; }
.assistant-table-card .section-heading h2 { font-size: 22px; }
.assistant-table-card .table-wrap { padding-bottom: 18px; }
.assistant-table-card table { table-layout: fixed; }
.assistant-table-card th:nth-child(1), .assistant-table-card td:nth-child(1) { width: 24%; }
.assistant-table-card th:nth-child(2), .assistant-table-card td:nth-child(2) { width: 12%; }
.assistant-table-card th:nth-child(3), .assistant-table-card td:nth-child(3) { width: 10%; }
.assistant-table-card th:nth-child(4), .assistant-table-card td:nth-child(4) { width: 12%; }
.assistant-table-card th:nth-child(5), .assistant-table-card td:nth-child(5) { width: 16%; }
.assistant-table-card th:nth-child(6), .assistant-table-card td:nth-child(6) { width: 18%; }
.assistant-table-card th:nth-child(7), .assistant-table-card td:nth-child(7) { width: 8%; text-align: center; }
.manager-review-card { margin-bottom: 18px; }
.manager-review-card .table-wrap { padding-bottom: 18px; }
.manager-review-card table { table-layout: fixed; }
.manager-review-card th:nth-child(1), .manager-review-card td:nth-child(1) { width: 12%; white-space: nowrap; }
.manager-review-card th:nth-child(2), .manager-review-card td:nth-child(2) { width: 20%; }
.manager-review-card th:nth-child(3), .manager-review-card td:nth-child(3) { width: 10%; }
.manager-review-card th:nth-child(4), .manager-review-card td:nth-child(4) { width: 10%; white-space: nowrap; }
.manager-review-card th:nth-child(5), .manager-review-card td:nth-child(5) { width: 9%; padding-right: 6px; padding-left: 6px; white-space: nowrap; }
.manager-review-card th:nth-child(6), .manager-review-card td:nth-child(6) { width: 9%; padding-right: 6px; padding-left: 6px; white-space: nowrap; }
.manager-review-card th:nth-child(7), .manager-review-card td:nth-child(7) { width: 21%; }
.manager-review-card th:nth-child(8), .manager-review-card td:nth-child(8) { width: 9%; text-align: center; }
.completion-toggle { display: inline-block; width: 36px; height: 20px; cursor: pointer; }
.completion-toggle input { position: absolute; opacity: 0; }
.completion-toggle span { display: block; width: 36px; height: 20px; border-radius: 999px; background: #9aa5b5; transition: background .2s; }
.completion-toggle span::after { content: ""; display: block; width: 14px; height: 14px; margin: 3px; border-radius: 50%; background: white; transition: transform .2s; }
.completion-toggle input:checked + span { background: #087b38; }
.completion-toggle input:checked + span::after { transform: translateX(16px); }
.completion-toggle input:focus-visible + span { outline: 3px solid rgba(25,117,220,.35); outline-offset: 2px; }
.confirm-completion { border: 1px solid #087b38; border-radius: 5px; padding: 6px 9px; background: #087b38; color: white; font-weight: 700; cursor: pointer; }
.confirm-completion:disabled { border-color: #cbd5e1; background: #e2e8f0; color: #7a879a; cursor: not-allowed; }

.login-shell { max-width: none; padding: 0; }
.login-page { display: grid; min-height: 100vh; grid-template-columns: minmax(430px, 42%) 1fr; background: white; }
.login-panel { display: grid; place-items: center; padding: 70px 45px; }
.login-card { display: grid; width: min(100%, 380px); gap: 16px; }
.login-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 28px; color: #063b78; font-size: 28px; font-weight: 700; text-decoration: none; }
.login-page .login-brand span { font-family: "Segoe UI", Arial, sans-serif; font-weight: 700; letter-spacing: 1px; }
.login-logo { width: 48px; height: auto; }
.login-card h1 { margin: 0; color: #181818; font-size: 28px; }
.login-card p { margin: -6px 0 4px; color: #53617a; line-height: 1.45; }
.login-card label { display: grid; gap: 7px; color: #243d68; font-size: 14px; font-weight: 700; }
.login-card input { border: 1px solid #8795a8; border-radius: 4px; padding: 12px; outline: none; }
.login-card input:focus { border-color: #1975dc; box-shadow: 0 0 0 3px rgba(25,117,220,.12); }
.forgot-password { color: #0969e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.forgot-password:hover { text-decoration: underline; }
.login-submit { margin-top: 6px; padding: 12px 14px; font-weight: 700; }
.login-promo { position: relative; display: grid; align-items: center; overflow: hidden; padding: 70px clamp(50px, 9vw, 150px); background: linear-gradient(135deg, #052e5e, #0969e8); color: white; }
.promo-content { position: relative; z-index: 1; max-width: 560px; transform: translateY(-58px); }
.promo-eyebrow { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 800; letter-spacing: 2px; color: #9ed5ff; }
.promo-content h2 { margin: 0 0 20px; font-size: clamp(38px, 4vw, 58px); line-height: 1.08; }
.promo-content p { max-width: 510px; color: #deeeff; font-size: 19px; line-height: 1.55; }
.promo-content ul { display: grid; gap: 13px; margin: 32px 0 0; padding: 0; list-style: none; font-weight: 600; }
.promo-content li::before { content: "✓"; margin-right: 11px; color: #ffb24c; }
.promo-orbit { position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.promo-orbit-one { width: 520px; height: 520px; right: -180px; top: -170px; }
.promo-orbit-two { width: 700px; height: 700px; right: -330px; bottom: -420px; }
.promo-access { position: absolute; z-index: 1; top: calc(75% - 16px); right: 5%; box-sizing: border-box; width: 90%; padding: 18px 28px; border-radius: 5px; background: white; color: #063b78; font-size: 18px; font-weight: 800; text-align: center; text-decoration: none; }
.promo-access:hover { background: #eaf4ff; }
.request-shell { max-width: none; padding: 0; }
.request-page { display: grid; min-height: 100vh; place-items: center; padding: 56px 24px; background: linear-gradient(135deg, #edf6ff, #f7f9fc); }
.request-card { display: grid; width: min(100%, 680px); gap: 16px; padding: 38px; border: 1px solid #cbdcf1; border-radius: 12px; background: white; box-shadow: 0 10px 30px rgba(25, 48, 81, .1); }
.request-card h1 { margin: 0; color: #181818; font-size: 30px; }
.request-card > p { margin: -6px 0 6px; color: #53617a; }
.request-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.request-fields label { display: grid; gap: 7px; color: #243d68; font-size: 14px; font-weight: 700; }
.request-fields input, .request-fields select { border: 1px solid #8795a8; border-radius: 4px; padding: 11px 12px; background: white; font: inherit; outline: none; }
.request-fields input:focus, .request-fields select:focus { border-color: #1975dc; box-shadow: 0 0 0 3px rgba(25,117,220,.12); }
.request-field-wide { grid-column: 1 / -1; }

.font-preview-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; }
.font-preview-intro { margin: 0; padding: 0 27px 16px; color: #53617a; }
.font-preview-list { border-top: 1px solid var(--border); }
.font-preview-row { display: flex; align-items: center; min-height: 68px; gap: 18px; padding: 10px 26px; border-bottom: 1px solid #e2e8f0; }
.font-preview-row:last-child { border-bottom: 0; }
.font-preview-number { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #edf4fb; color: #063b78; font-weight: 800; }
.font-preview-logo { width: 31px; height: auto; }
.font-preview-wordmark { color: #063b78; font-size: 27px; font-weight: 700; letter-spacing: 1px; }
.font-preview-name { margin-left: auto; color: #637086; font-size: 14px; }
.font-option-1 .font-preview-wordmark { font-family: "Segoe UI", Arial, sans-serif; }
.font-option-2 .font-preview-wordmark { font-family: Arial, sans-serif; }
.font-option-3 .font-preview-wordmark { font-family: "Arial Black", Arial, sans-serif; font-weight: 900; }
.font-option-4 .font-preview-wordmark { font-family: Bahnschrift, Arial, sans-serif; }
.font-option-5 .font-preview-wordmark { font-family: Calibri, Arial, sans-serif; }
.font-option-6 .font-preview-wordmark { font-family: Cambria, Georgia, serif; }
.font-option-7 .font-preview-wordmark { font-family: Candara, Arial, sans-serif; }
.font-option-8 .font-preview-wordmark { font-family: "Century Gothic", Arial, sans-serif; }
.font-option-9 .font-preview-wordmark { font-family: Consolas, monospace; }
.font-option-10 .font-preview-wordmark { font-family: "Franklin Gothic Medium", Arial, sans-serif; }
.font-option-11 .font-preview-wordmark { font-family: Georgia, serif; }
.font-option-12 .font-preview-wordmark { font-family: Impact, sans-serif; font-weight: 400; }
.font-option-13 .font-preview-wordmark { font-family: "Lucida Console", monospace; font-size: 23px; }
.font-option-14 .font-preview-wordmark { font-family: "Palatino Linotype", Palatino, serif; }
.font-option-15 .font-preview-wordmark { font-family: Rockwell, Georgia, serif; }
.font-option-16 .font-preview-wordmark { font-family: Tahoma, Arial, sans-serif; }
.font-option-17 .font-preview-wordmark { font-family: "Times New Roman", serif; }
.font-option-18 .font-preview-wordmark { font-family: "Trebuchet MS", Arial, sans-serif; }
.font-option-19 .font-preview-wordmark { font-family: Verdana, Arial, sans-serif; font-size: 25px; }
.font-option-20 .font-preview-wordmark { font-family: Garamond, Georgia, serif; font-size: 29px; }

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #102d57;
    color: white;
    padding: 13px 18px;
    border-radius: 8px;
    max-width: min(560px, calc(100vw - 50px));
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: .25s;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 700px) {
    .page { padding: 18px 12px 30px; }
    .brand-title { font-size: 22px; }
    .daikin-logo { width: 31px; }
    .brand-divider { display: none; }
    .welcome-card, .summary-card { padding: 22px; }
    .welcome-card h1 { font-size: 28px; }
    .welcome-card p { font-size: 17px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
    .table-tools { width: 100%; }
    .table-tools input { width: 100%; }
}
