: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; }

.dso-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; }
.nav-link .ribbon-hammer { 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;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    text-align: center;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--navy);
}
.user-dropdown { position: relative; }
.user-dropdown summary { list-style: none; }
.user-dropdown summary::-webkit-details-marker { display: none; }
.user-dropdown-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 160px; padding: 6px; border: 1px solid #ccd7e6; border-radius: 8px; background: white; box-shadow: 0 4px 14px rgba(0,0,0,.15); z-index: 100; }
.user-dropdown-panel a, .user-dropdown-panel button { display: block; box-sizing: border-box; width: 100%; padding: 10px 12px; border: 0; border-radius: 4px; background: transparent; color: #243d68; text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.user-dropdown-panel form { margin: 0; }
.user-dropdown-panel a:hover, .user-dropdown-panel button:hover { background: #f4f7fb; }
.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);
}

.qualification-storage { width: 220px; max-width: 100%; margin-left: auto; cursor: help; }
.qualification-heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 20px; margin-left: auto; max-width: 100%; }
.qualification-heading-actions .qualification-storage { margin-left: 0; }
.qualification-storage-label { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.qualification-storage-track { height: 12px; overflow: hidden; border-radius: 6px; background: #e5e7eb; }
.qualification-storage-fill { display: block; height: 100%; transition: width .25s ease, background-color .25s ease; }
.qualification-storage-fill.is-green { background: #22a447; }
.qualification-storage-fill.is-yellow { background: #eab308; }
.qualification-storage-fill.is-red { background: #dc2626; }

.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; }
.call-history-icon { width: 31px; height: 31px; fill: none; stroke: #0969e8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.duplicate-entry-list { margin: 16px 0; padding: 12px 16px; border: 1px solid #d4dfec; border-radius: 8px; }
.duplicate-match + .duplicate-match { border-top: 1px solid #d4dfec; margin-top: 12px; padding-top: 8px; }
.duplicate-match-details { margin-left: 28px; }
.duplicate-match-details ul { margin: 8px 0 12px; padding-left: 20px; }
.duplicate-actions { flex-wrap: wrap; }
.duplicate-actions .secondary-btn { width: 230px; max-width: 100%; white-space: normal; }
.support-request-form .duplicate-entry-option { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 8px 0; }
.support-request-form .duplicate-entry-option input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; flex: 0 0 18px; }
.call-history-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 2px auto 20px; }
.call-history-page-numbers { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
.call-history-pagination a { text-decoration: none; }
.call-history-page-direction { color: var(--blue); font-size: 14px; white-space: nowrap; }
.call-history-page-direction[aria-disabled="true"] { color: #8995a7; }
.call-history-page-number { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 6px; color: var(--text); }
.call-history-page-number:hover { background: #e8eef7; }
.call-history-page-number[aria-current="page"] { background: var(--blue); color: #fff; font-weight: 700; }
.call-history-page-ellipsis { padding: 0 4px; color: #68758b; }
.call-history-pagination a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.call-history-table td:nth-child(3) { white-space: normal; overflow-wrap: anywhere; }
.call-history-table th:first-child,
.call-history-table td:first-child { width: 190px; white-space: nowrap; }
.call-history-table th:last-child,
.call-history-table td:last-child { width: 150px; white-space: nowrap; }
.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; }
.analytics-forecast-card { margin-top: 22px; }
.forecast-weather-icon { overflow: visible; transform: translateY(5px); }
.forecast-weather-icon .forecast-sun { fill: #f59e0b; stroke: #f59e0b; stroke-width: 5; stroke-linecap: round; }
.forecast-weather-icon .forecast-cloud { fill: #b8cbe0; }
.forecast-heading .forecast-range-filter { margin: 0 0 0 auto; padding: 0; align-items: center; }
.forecast-range-filter select { min-width: 215px; padding: 7px 10px; }

.office-activity-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.office-stats-toggle {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--blue);
    background: transparent;
    cursor: pointer;
}

.office-stats-toggle:hover { background: #eaf3ff; }
.office-stats-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.office-stats-toggle span { display: block; font-size: 26px; line-height: 27px; transition: transform .2s ease; }
.office-stats-toggle[aria-expanded="true"] span { transform: rotate(90deg); }
.office-user-contribution td:first-child { padding-left: 30px; color: var(--muted); }

.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; }
.account-actions > a.secondary-btn, .account-actions > a.secondary-btn:hover { text-decoration: none; }
.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; }
.opportunity-search-wrapper { position: relative; flex: 1; min-width: 250px; }
.opportunity-filters .opportunity-search-wrapper input { box-sizing: border-box; width: 100%; min-width: 0; }
.opportunity-name-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid #c9c9c9; border-radius: 4px; box-shadow: 0 4px 12px #0002; }
.opportunity-name-suggestions button { display: block; width: 100%; border: 0; padding: 9px 12px; background: #fff; color: #243d68; text-align: left; font: inherit; cursor: pointer; }
.opportunity-name-suggestions button:hover, .opportunity-name-suggestions button:focus { background: #edf4ff; }
.bidder-contractor-suggestions { position: fixed; z-index: 1000; box-sizing: border-box; max-height: 240px; overflow-y: auto; border: 1px solid #c9c9c9; border-radius: 4px; background: #fff; box-shadow: 0 4px 12px #0002; }
.bidder-contractor-suggestions button { display: block; width: 100%; padding: 9px 12px; border: 0; background: #fff; color: #243d68; text-align: left; font: inherit; cursor: pointer; }
.bidder-contractor-suggestions button:hover, .bidder-contractor-suggestions button:focus { background: #edf4ff; }
.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; }
.join-request-actions { display: flex; gap: 8px; align-items: center; }
.admin-registration-fields { display: contents; }
.join-referral-indicator { color: #b12b27; font-weight: 700; cursor: help; margin-right: 4px; }
.join-request-actions button { background: transparent; border: 0; font-size: 26px; cursor: pointer; padding: 4px; }
.join-request-actions .join-accept { color: #087b38; }
.join-request-actions .join-reject { color: #b12b27; }
.join-request-actions button:disabled { opacity: .5; cursor: not-allowed; }
form input[aria-invalid="true"], form select[aria-invalid="true"], form textarea[aria-invalid="true"] {
    outline: 2px solid #b12b27;
    outline-offset: 1px;
}
#addAccountForm .form-actions button[type="submit"], #editAccountForm .form-actions button[type="submit"] {
    padding-inline: 20px;
}
#addAccountForm .opportunity-form, #editAccountForm .opportunity-form { margin-top: 0; }
#addAccountForm .form-section-title, #editAccountForm .form-section-title { border-radius: 0; }
#addAccountForm .account-manager-content, #editAccountForm .account-manager-content { padding: 14px 16px; }
#addAccountForm .account-manager-content > p { margin-top: 0; }

.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; }
.office-usage-table thead th { padding-top: 6px; padding-bottom: 6px; line-height: 1.2; border-radius: 0; }
.office-usage-table thead th[colspan],
.office-usage-table thead tr:nth-child(2) th { text-align: center; }
.office-usage-table thead tr:nth-child(2) th { border-top: 0; }
.office-usage-table thead th[colspan] { border-left: 1px solid #d7e1ee; border-bottom: 0; }
.office-usage-table thead th[rowspan] { vertical-align: bottom; }
.office-usage-table thead th[colspan] { padding-top: 3px; padding-bottom: 2px; line-height: 1.1; }
.office-usage-table thead tr:nth-child(2) th:nth-child(odd) { border-left: 1px solid #d7e1ee; }
.office-usage-table tbody td:nth-child(3),
.office-usage-table tbody td:nth-child(5) { border-left: 1px solid #d7e1ee; }
.office-usage-table tbody td:nth-child(n+3) { text-align: right; }
.office-balances-table thead th:nth-child(n+3) { text-align: center; border-left: 1px solid #d7e1ee; }
.office-balances-table tbody td:nth-child(n+3) { border-left: 1px solid #d7e1ee; }
.office-usage-workspace .opportunity-left-column { display: flex; flex-direction: column; gap: 20px; }
.office-usage-workspace table { min-width: 0; }
.office-usage-workspace th, .office-usage-workspace td { overflow-wrap: anywhere; }
.office-consumption-table thead th:nth-child(n+2) { text-align: center; }
.office-consumption-table tbody td:nth-child(n+2) { text-align: right; }
.office-consumption-table thead th:nth-child(2), .office-consumption-table tbody td:nth-child(2) { text-align: left; }
.office-consumption-table thead th:nth-child(3), .office-consumption-table tbody td:nth-child(3) { text-align: left; }
.office-consumption-table [data-office-url] { cursor: pointer; }
.office-consumption-table [data-office-url]:hover, .office-consumption-table .usage-office-selected { background: #e8eef7; }
.consumption-event-table tbody td:nth-child(3) { text-align: left; }
.consumption-event-table th:first-child, .consumption-event-table td:first-child { width: 175px; padding-left: 8px; padding-right: 8px; }
.consumption-event-table th:nth-child(2), .consumption-event-table td:nth-child(2) { width: 100px; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
.consumption-event-table tbody td:last-child { text-align: right; }
.usage-details-caption { margin: 0; padding: 0 26px 18px; color: #40506a; }
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; }
#autoQualifyTable { table-layout: fixed; width: 100%; }
#autoQualifyTable th, #autoQualifyTable td { overflow-wrap: anywhere; }
.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 { cursor: default; }
.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-ready-link { border: 0; background: transparent; color: #0969e8; font-weight: 400; }
.auto-ready-link:hover { color: #075dce; }
.qualification-files-workspace .opportunity-main { display: flex; flex-direction: column; align-self: start; }
.qualification-files-left { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.qualification-files-workspace .qualification-file-list a { text-decoration: none; }
.pdf-content-warning { display: inline-block; color: #c62828; font-size: 20px; font-weight: 800; line-height: 1; margin-right: 5px; cursor: help; }
.qualification-files-left > .opportunity-main { align-self: stretch; }
.qualification-files-content { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 0 26px 24px; color: #40506a; }
.qualification-files-content > p, .qualification-files-content > h3, .qualification-files-content > ul { margin-top: 0; margin-bottom: 0; }
.project-pdf-dropzone { width: 100%; margin: 0; padding: 18px 12px; box-sizing: border-box; font: inherit; }
.project-pdf-dropzone:focus-visible { outline: 2px solid #0969e8; outline-offset: 3px; }
#projectPdfSelection { overflow-wrap: anywhere; }
.qualification-file-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.qualification-file-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 6px; overflow-wrap: anywhere; }
.qualification-file-list form { flex: 0 0 auto; }
.qualification-file-list button { padding: 6px 10px; }
.qualification-commit-form { display: grid; gap: 12px; margin-top: auto; padding-top: 4px; }
.qualification-commit-form p { margin: 0; }
.qualification-commit-form button { width: 100%; }
.qualification-commit-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 12px; }
.qualification-cancel-btn { border-color: #b12b27; background: #b12b27; color: white; }
.qualification-cancel-btn:hover { border-color: #941f1c; background: #941f1c; }
.qualification-upload-summary dl { margin: 0; padding: 4px 16px 12px; }
.qualification-upload-summary dl div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.qualification-upload-summary dl div:last-child { border-bottom: 0; }
.qualification-upload-summary dt, .qualification-upload-summary dd { margin: 0; font-size: 14px; }
.qualification-upload-summary dt { color: #40506a; font-weight: 700; }
.qualification-upload-summary dd { color: #243d68; overflow-wrap: anywhere; }
.qualification-upload-panel .support-request-form { padding: 16px; }
.qualification-upload-panel .support-request-form button { width: 100%; }
@media (max-width: 900px) {
    .qualification-files-workspace { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .qualification-file-list li { align-items: stretch; flex-direction: column; }
}
.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-editor .opportunity-bidders-table { table-layout: fixed; width: 100%; min-width: 850px; }
.opportunity-bidders-table th:nth-child(1) { width: 22%; }
.opportunity-bidders-table th:nth-child(2) { width: 18%; }
.opportunity-bidders-table th:nth-child(3) { width: 13%; }
.opportunity-bidders-table th:nth-child(4) { width: 13%; }
.opportunity-bidders-table th:nth-child(5) { width: 23%; }
.opportunity-bidders-table th:nth-child(6) { width: 11%; }
.opportunity-bidders-editor .opportunity-bidders-table td { overflow-wrap: anywhere; }
.opportunity-bidders-editor .opportunity-bidders-table .field-editor { min-width: 0; max-width: 100%; }
.opportunity-bidders-editor .opportunity-bidders-table .field-display { display: block; min-height: 32px; }
.opportunity-bidders-editor.editing .opportunity-bidders-table .field-display { display: none; }
.opportunity-bidders-editor .opportunity-bidders-table th,
.opportunity-bidders-editor .opportunity-bidders-table td { vertical-align: middle; }
.opportunity-bidders-editor .opportunity-bidders-table .field-display { display: flex; align-items: center; min-height: 32px; }
.opportunity-bidders-editor.editing .opportunity-bidders-table .field-display { display: none; }
.opportunity-bidders-save { display: flex; justify-content: flex-end; gap: 10px; padding: 0 26px 20px; }
.opportunity-bidders-save .secondary-btn { box-sizing: border-box; width: 110px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.add-opportunity-bidder-card { margin-top: 18px; }
.add-opportunity-bidder-form { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) 160px minmax(0,2fr); column-gap: 24px; row-gap: 18px; align-items: end; padding: 4px 26px 24px; }
.add-opportunity-bidder-form label { display: grid; min-width: 0; gap: 9px; color: #40506a; font-size: 14px; font-weight: 600; }
.add-opportunity-bidder-form .add-bidder-notes { grid-column: auto; }
.add-opportunity-bidder-form .contractor-autocomplete { display: block; }
.add-opportunity-bidder-form input { box-sizing: border-box; width: 100%; min-width: 0; height: 44px; border: 1px solid #ccd7e6; border-radius: 6px; padding: 10px 12px; background: white; color: #243d68; font: inherit; font-weight: 400; }
.add-opportunity-bidder-form input:focus { outline: 2px solid #0969e8; outline-offset: 2px; }
.add-opportunity-bidder-form input[type="date"][data-empty="true"]::-webkit-datetime-edit { color: transparent; }
.add-opportunity-bidder-form input[type="date"][data-empty="true"]:focus::-webkit-datetime-edit { color: #243d68; }
.add-opportunity-bidder-form input[type="date"][data-empty="true"]::-webkit-datetime-edit { color: transparent; }
.add-opportunity-bidder-form input[type="date"][data-empty="true"]:focus::-webkit-datetime-edit { color: #243d68; }
.add-opportunity-bidder-form button { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; width: 105px; min-width: 0; padding: 6px 10px; height: 44px; white-space: nowrap; justify-self: end; }
@media(max-width:700px) { .add-opportunity-bidder-form { grid-template-columns: 1fr; } .add-opportunity-bidder-form .add-bidder-notes { grid-column: auto; } }
.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-email-download { border-bottom: 0; color: #0969e8; font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.auto-review-email-download:hover { color: #075dce; }
.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 4px; padding-bottom: 6px; border: 0; border-radius: 0; }
.auto-review-workspace .auto-review-form .form-section-title { border-radius: 0; }
.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; color: #40506a; font-size: 13px; line-height: 1.4; }
.auto-review-evidence strong { color: #243d68; }
.auto-review-evidence.player-account-note { margin: 0 0 14px; padding-top: 4px; }
.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; }
#autoQualifyTable .auto-status-badge { display: inline-block; padding: 6px 10px; border: 0; border-radius: 5px; background: var(--status-color); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none; }
#autoQualifyTable a.auto-status-badge:hover { background: var(--status-color); color: #fff; filter: brightness(.88); }
#autoQualifyTable .status-green { --status-color: #087b38; }
#autoQualifyTable .status-purple { --status-color: #7030a0; }
#autoQualifyTable .status-red { --status-color: #b12b27; }
#autoQualifyTable .status-orange { --status-color: #a84700; }
#autoQualifyTable .status-blue { --status-color: #075bb5; }

.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; }
.feedback-recent { color: #087b38; }
.feedback-aging { color: #a87900; }
.feedback-old { color: #b12b27; }
.feedback-none, .feedback-unknown { color: #68758b; }
#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; }
.reports-assist-table .report-task-count { font-weight: 600; white-space: nowrap; }
.reports-assist-table .report-task-count.no-open { color: #b12b27; }
.reports-assist-table .report-task-count.has-open { color: #0969e8; }
.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; }
.parts-report-icon { width: 31px; height: 31px; vertical-align: -7px; fill: #0969e8; }
.parts-report-icon text { fill: white; font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; }
.parts-report-icon.warranty-part-icon { width: calc(1em + 1px); height: 1em; vertical-align: -0.12em; }
.parts-report-icon.warranty-part-icon text { text-anchor: middle; dominant-baseline: central; transform: translate(-0.5px, -1px); }
.service-report-table, .parts-report-table { table-layout: fixed; }
.service-report-table th:nth-child(1), .service-report-table td:nth-child(1) { width: 8%; white-space: nowrap; }
.service-report-table th:nth-child(2), .service-report-table td:nth-child(2) { width: 22%; }
.service-report-table th:nth-child(3), .service-report-table td:nth-child(3) { width: 9%; text-align: center; }
.service-report-table th:nth-child(4), .service-report-table td:nth-child(4) { width: 43%; }
.service-report-table th:nth-child(5), .service-report-table td:nth-child(5) { width: 10%; text-align: center; }
.service-report-table th:last-child, .service-report-table td:last-child { width: 8%; padding-right: 5px; padding-left: 5px; 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; }
.parts-report-table th:nth-child(1), .parts-report-table td:nth-child(1) { width: 12%; }
.parts-report-table th:nth-child(2), .parts-report-table td:nth-child(2) { width: 17%; }
.parts-report-table th:nth-child(3), .parts-report-table td:nth-child(3) { width: 10%; }
.parts-report-table th:nth-child(4), .parts-report-table td:nth-child(4) { width: 11%; }
.parts-report-table th:nth-child(5), .parts-report-table td:nth-child(5) { width: 16%; }
.parts-report-table th:nth-child(6), .parts-report-table td:nth-child(6) { width: 12%; }
.parts-report-table th:nth-child(7), .parts-report-table td:nth-child(7) { width: 14%; }
.parts-report-table th:last-child, .parts-report-table td:last-child { width: 8%; overflow-wrap: anywhere; }
.parts-report-table { font-size: 13px; }
.parts-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; gap: 0; padding: 0 16px 12px; }
.user-workspace .user-details div { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.user-workspace .user-details div:last-child { border-bottom: 0; }
.user-workspace .user-details dt, .user-workspace .user-details dd { margin: 0; font-size: 14px; }
.user-workspace .user-details dd { overflow-wrap: anywhere; text-align: right; }
.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-workspace.auto-review-workspace { grid-template-columns: minmax(0, 3.2fr) minmax(315px, 1.8fr); }
.auto-review-workspace > .opportunity-sidebar > .side-panel:last-child { margin-bottom: 0; }
.auto-review-workspace .auto-review-summary .auto-review-evidence { margin-bottom: 10px; padding-top: 6px; }
.auto-review-workspace .auto-review-summary .auto-review-evidence ul { gap: 3px; }
@media (max-width: 1100px) {
    .opportunity-workspace.auto-review-workspace { grid-template-columns: minmax(0, 1fr); }
}
.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-workspace .opportunity-form.account-details-form { padding-bottom: 6px; }
.account-details-form .account-notes { padding-bottom: 0; }
.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-workspace .account-assignment-panel > p { padding-inline: 16px; }
.account-edit-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 4px; }
.account-edit-actions a, .account-edit-actions a:hover { text-decoration: none; }
.account-location-map { margin: 10px 4px 6px; }
.account-location-map iframe { display: block; width: 100%; height: 240px; border: 0; border-radius: 6px; }
.account-location-map a { display: inline-block; margin-top: 6px; color: #0969e8; text-decoration: none; font-size: 13px; }
.account-location-map-empty { margin: 10px 4px; color: #667085; font-size: 13px; }
.account-edit-managers { padding: 14px 16px; }
.account-edit-managers label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; overflow-wrap: anywhere; }
.account-edit-managers input { flex-shrink: 0; }
.account-edit-managers p { margin: 0; }
.account-edit-error { color: #b12b27; }
.account-name-confirmation { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.account-name-confirmation[hidden] { display: none; }
.account-workspace .form-section-title span { min-width: 0; overflow-wrap: anywhere; }
.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-edit-form[hidden] { display: none; }
.call-log-delete-form { margin: 0; }
.call-log-entry-header .call-log-delete { border: 0; padding: 0; background: transparent; color: #b12b27; font: inherit; font-weight: 700; cursor: pointer; }
.call-log-entry-header { flex-wrap: wrap; }
.call-log-entry-header .call-log-edit { border: 0; padding: 0; background: transparent; color: #0969e8; font: inherit; font-weight: 700; cursor: pointer; }
.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-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%; }
.account-contacts .table-wrap { overflow-x: hidden; padding: 0 0 18px; }
.account-contacts-table { min-width: 0; table-layout: fixed; }
.account-contacts-table thead th { border-top: 0; border-bottom: 1px solid #c9c9c9; background: #f1f1f1; color: #1f1f1f; font-size: 15px; font-weight: 600; }
.account-contacts-table thead th:first-child { border-left: 0; border-radius: 0; }
.account-contacts-table thead th:last-child { border-right: 0; border-radius: 0; }
.account-contacts-table tbody td { border-left: 0; overflow-wrap: anywhere; }
.account-contacts-table tbody td:last-child { border-right: 0; }
.account-contacts-table th:nth-child(1), .account-contacts-table td:nth-child(1) { width: 15%; }
.account-contacts-table th:nth-child(2), .account-contacts-table td:nth-child(2) { width: 14%; }
.account-contacts-table th:nth-child(3), .account-contacts-table td:nth-child(3) { width: 18%; }
.account-contacts-table th:nth-child(4), .account-contacts-table td:nth-child(4) { width: 13%; }
.account-contacts-table th:nth-child(5), .account-contacts-table td:nth-child(5) { width: 9.4%; text-align: center; }
.account-contacts-table th:nth-child(6), .account-contacts-table td:nth-child(6) { width: 30.6%; }
.account-contacts-table a { color: #0969e8; text-decoration: none; }
.account-contacts-table a:hover { text-decoration: underline; }
.account-contacts-table .contact-status-text { color: #1f1f1f; font-weight: 600; }
.account-contacts-table .contact-status-text.active { color: #087b38; }
.account-contacts-table .contact-note-toggle { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.account-contacts-table .contact-note-toggle[aria-expanded="true"] { white-space: pre-wrap; overflow-wrap: anywhere; }
.account-contacts-table tr[data-note-toggle] { cursor: pointer; }
.account-contacts-table tr.contact-selected td { background: #eef5ff; }
.account-contact-edit-actions { flex-wrap: wrap; align-items: center; }
.account-contact-edit-actions > button, .account-contact-edit-actions > select, .account-contacts-workspace .account-contact-actions > select { box-sizing: border-box; width: 160px; flex: 0 0 160px; }
.account-contact-edit-actions select { padding: 8px; border: 1px solid #c9c9c9; border-radius: 4px; font: inherit; }
.account-contact-edit-actions .account-contact-remove { color: white; background: #b12b27; border-color: #b12b27; }
.account-contact-edit-actions .account-contact-remove:hover { background: #92221f; border-color: #92221f; }
.account-contacts-table .contact-note-toggle:focus-visible { outline: 2px solid #3484ee; outline-offset: 3px; }
.account-contact-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 18px 18px; }
.account-contact-actions button { width: 72px; height: 34px; padding: 0 12px; }
.account-contact-actions select { box-sizing: border-box; width: 145px; height: 34px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 5px 8px; background: white; color: #243d68; font: 400 14px "Segoe UI", Arial, sans-serif; }
.account-contacts-workspace { grid-template-columns: minmax(0, 1fr); }
.account-contacts-workspace .account-contact-form { margin-top: 0; }
.account-contact-form .field-column label { border-bottom: 0; }
.account-contact-form .field-column .account-contact-notes { grid-template-columns: minmax(0, 1fr); }
.account-contact-notes textarea { resize: vertical; }
.account-contact-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.account-contact-form .account-contact-fields label { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .account-contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .account-contact-fields { grid-template-columns: minmax(0, 1fr); } }
.account-history-workspace { grid-template-columns: minmax(0, 1fr); }
.account-call-log-workspace { grid-template-columns: minmax(0, 1fr); }
.account-change-log-workspace { grid-template-columns: minmax(0, 1fr); }
.opportunity-tabs .account-ribbon-name { align-self: center; margin-left: auto; padding: 0 15px; color: #243d68; font-size: 15px; font-style: italic; font-weight: 700; white-space: nowrap; }
.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-form input[type="date"][data-empty="true"]:not(:focus)::-webkit-datetime-edit { color: transparent; }
.create-bidder-fields { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 8px 12px; padding: 14px 16px; }
.create-bidder-fields label { color: #40506a; font-size: 14px; font-weight: 700; }
.create-bidder-fields input, .create-bidder-fields select { box-sizing: border-box; width: 100%; min-width: 0; padding: 7px 9px; border: 1px solid #c9c9c9; border-radius: 4px; background: white; font: inherit; }
.create-bidder-fields select:disabled { background: #f3f4f6; color: #637086; }
.create-bidder-fields p { grid-column: 1 / -1; margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.create-bidder-fields p:empty { display: none; }
.create-bidder-autocomplete { position: relative; min-width: 0; }
.equipment-scope-field { padding: 14px 16px; }
.equipment-scope-field textarea { display: block; box-sizing: border-box; width: 100%; min-height: 320px; padding: 9px; border: 1px solid #c9c9c9; border-radius: 4px; background: white; font: inherit; resize: vertical; }
.equipment-scope-field textarea[name="notes"] { min-height: 130px; }
.equipment-scope-field textarea[name="description"] { min-height: 160px; }
#createBidderSuggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 260px; overflow-y: auto; margin: 4px 0 0; padding: 4px 0; list-style: none; border: 1px solid #c9c9c9; border-radius: 4px; background: white; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
#createBidderSuggestions li { padding: 8px 10px; cursor: pointer; overflow-wrap: anywhere; }
#createBidderSuggestions li:hover, #createBidderSuggestions li[aria-selected="true"] { background: #edf6ff; }
.qualification-bidder-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 260px; overflow-y: auto; margin: 4px 0 0; padding: 4px 0; list-style: none; border: 1px solid #c9c9c9; border-radius: 4px; background: white; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.qualification-bidder-suggestions li { padding: 8px 10px; cursor: pointer; overflow-wrap: anywhere; }
.qualification-bidder-suggestions li:hover, .qualification-bidder-suggestions li[aria-selected="true"] { background: #edf6ff; }
.create-opportunity-workspace .form-section-title { border-radius: 0; }
.create-product-mix-head, .create-product-mix-list li { display: grid; grid-template-columns: minmax(105px, 1fr) 58px 82px 88px; 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: 0; 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 input:first-child { text-align: left; }
.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%; }
.parts-workspace { display: block; }
.parts-workspace .opportunity-main { width: 100%; }
.service-request-form { padding-bottom: 22px; }
.service-request-form .primary-btn { padding: 7px 13px; font-size: 14px; font-weight: 700; }
.service-request-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.service-request-inputs { border: 0; margin: 0; padding: 0; min-width: 0; }
.service-request-top-row { display: grid; grid-template-columns: minmax(0, calc((100% - 72px) / 4)) minmax(0, calc((100% - 72px) / 4)) minmax(0, 1fr); gap: 14px 24px; }
.service-request-fields .service-request-top-row .service-inline-field { grid-template-columns: auto minmax(0, 1fr); }
.service-request-fields .service-request-top-row .service-inline-field:first-child { grid-template-columns: 126px minmax(0, 1fr); }
.service-request-fields .service-request-top-row .service-inline-field:last-child { grid-template-columns: 126px minmax(0, 1fr); }
.service-request-fields .service-request-due { grid-template-columns: 160px minmax(0, 1fr); }
@media (max-width: 900px) { .service-request-top-row { grid-template-columns: 1fr; } }
.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-history-heading { justify-content: space-between; }
.service-request-history-actions { display: flex; align-items: center; gap: 10px; }
.service-request-history-actions select { min-width: 155px; border: 1px solid #c9c9c9; border-radius: 5px; padding: 7px 9px; background: white; color: #243d68; font: 400 14px "Segoe UI", Arial, sans-serif; }
.service-request-history-actions .primary-btn { padding: 7px 13px; font-size: 14px; font-weight: 700; }
.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 a { color: inherit; text-decoration: none; }
.service-request-card h2 a:hover { color: #0969e8; text-decoration: underline; }
.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-status { display: flex; align-items: center; gap: 8px; color: #525252; font-size: 13px; font-weight: 700; }
.service-status-label { display: inline-block; border: 1px solid; border-radius: 4px; padding: 5px 8px; }
.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; }
.service-request-last-updated { margin: 12px 0 0; text-align: right; font-size: 12px; }
.service-request-requested-info { margin-left: 4px; margin-right: 4px; margin-bottom: 4px; font-size: 12px; }
.home-scope-list { margin: 0; padding-left: 16px; font-size: 12px; line-height: 1.5; }
.home-manufacturer-note { margin: 4px 0 0; font-size: 10px; line-height: 1.4; }
.home-drawing-progress { display: block; margin-top: 4px; font-size: 11px; line-height: 1.4; }
.opportunity-form-error { display: flex; align-items: center; gap: 10px; margin: 16px 24px; color: #d00; }
.opportunity-error-icon { width: 22px; height: 22px; flex-shrink: 0; }
.task-management-empty-message { padding-left: 24px; }
.service-request-inline-comment { margin-top: 20px; padding: 12px 8px; background: #fff; }
.service-request-inline-comment.response-grey { background: #f5f5f5; }
.service-request-inline-comment .service-request-requested-info { margin-top: 0; }
.service-request-detail-workspace { display: block; }
.service-request-detail-workspace .opportunity-main { width: 100%; }
.service-request-original, .service-request-comment-form { margin-bottom: 18px; padding-bottom: 22px; }
.service-request-detail-meta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin: 0; padding: 4px 4px 18px; }
.service-request-detail-heading { justify-content: space-between; gap: 16px; }
.service-request-detail-status { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; }
.service-request-detail-status .service-status { width: 130px; }
.service-request-original .service-request-detail-meta { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.service-request-detail-meta div { display: grid; gap: 5px; }
.service-request-detail-meta dt { color: #718096; font-size: 13px; }
.service-request-detail-meta dd { margin: 0; color: #243d68; font-weight: 700; }
.service-request-detail-meta .service-status { width: 130px; }
.service-request-detail-description { margin: 0 4px; padding-top: 16px; border-top: 1px solid #e2e8f0; color: #40506a; line-height: 1.5; }
.service-request-detail-save { margin: 14px 4px 0; }
.service-request-detail-save .primary-btn { padding: 7px 13px; font-size: 14px; font-weight: 700; }
.service-request-comment-form label { display: block; margin: 0 4px 7px; color: #525252; font-size: 14px; font-weight: 700; }
.service-request-comment-form textarea { box-sizing: border-box; width: calc(100% - 8px); margin: 0 4px; resize: vertical; border: 1px solid #c9c9c9; border-radius: 4px; padding: 9px; color: #243d68; font: inherit; }
.service-request-comments { overflow: visible; padding: 0 15px 20px; border: 0; border-radius: 0; background: white; box-shadow: none; }
.service-request-comments .form-section-title { margin: 0 -15px 14px; border-radius: 0; }
.service-request-comment-list { display: grid; padding: 0 9px; }
.service-request-comment-list article { padding: 18px 0; border-bottom: 1px solid #e2e8f0; }
.service-request-comment-list article:last-child { border-bottom: 0; }
.service-request-comment-list header { display: flex; justify-content: space-between; gap: 20px; }
.service-request-comment-list strong { color: #243d68; }
.service-request-comment-list time { color: #718096; font-size: 13px; }
.service-request-comment-list p { margin: 9px 0 0; color: #40506a; line-height: 1.5; }
.parts-request-form { padding-bottom: 22px; }
.parts-request-inputs { border: 0; margin: 0; padding: 0; min-width: 0; }
.parts-request-row[tabindex] { cursor: pointer; }
.parts-field-editor { display: none; box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #c9c9c9; border-radius: 4px; padding: 7px; font: inherit; }
.parts-request-row.editing .parts-field-editor { display: block; }
.parts-request-row.editing .parts-field-display { display: none; }
.parts-save-actions { display: flex; justify-content: flex-end; padding: 14px 10px 0; }
.parts-save-actions .secondary-btn { box-sizing: border-box; width: 130px; display: inline-flex; align-items: center; justify-content: center; }
.parts-save-actions[hidden] { display: none; }
.parts-request-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.parts-request-fields .parts-warranty-checkbox { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 8px; }
.parts-request-fields .parts-warranty-checkbox input { width: 16px; height: 16px; margin: 0; padding: 0; }
.parts-request-fields label { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 8px; color: #525252; font-size: 15px; }
.parts-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; }
.parts-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); }
.parts-request-history .form-section-title { margin: 0 -15px; padding-left: 24px; padding-right: 24px; }
.parts-request-history .table-wrap { padding: 14px 10px 0; overflow-x: hidden; }
.parts-parts-table { min-width: 0; table-layout: fixed; border: 1px solid #c9c9c9; border-radius: 6px; overflow: hidden; }
.parts-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; }
.parts-parts-table th, .parts-parts-table td { overflow-wrap: anywhere; }
.parts-parts-table th:first-child, .parts-parts-table td:first-child { width: 13%; border-left: 0; }
.parts-parts-table th:nth-child(2), .parts-parts-table td:nth-child(2) { width: 13%; }
.parts-parts-table th:nth-child(3), .parts-parts-table td:nth-child(3) { width: 14%; }
.parts-parts-table th:nth-child(4), .parts-parts-table td:nth-child(4) { width: 19%; }
.parts-parts-table th:nth-child(5), .parts-parts-table td:nth-child(5) { width: 14%; }
.parts-parts-table th:nth-child(6), .parts-parts-table td:nth-child(6) { width: 17%; }
.parts-parts-table th:last-child, .parts-parts-table td:last-child { width: 10%; border-right: 0; }
.parts-parts-table th:nth-child(1), .parts-parts-table td:nth-child(1) { width: 9%; }
.parts-parts-table th:nth-child(2), .parts-parts-table td:nth-child(2), .parts-parts-table th:nth-child(3), .parts-parts-table td:nth-child(3) { width: 12%; }
.parts-parts-table th:nth-child(4), .parts-parts-table td:nth-child(4) { width: 18%; }
.parts-parts-table th:nth-child(5), .parts-parts-table td:nth-child(5) { width: 12%; }
.parts-parts-table th:nth-child(6), .parts-parts-table td:nth-child(6) { width: 15%; }
.parts-parts-table th:nth-child(7), .parts-parts-table td:nth-child(7) { width: 10%; }
.parts-parts-table th:nth-child(8), .parts-parts-table td:nth-child(8) { width: 12%; }
.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; }
.account-detail-fields .national-account-active { border-bottom: 0; }
.account-detail-fields .national-account-number { border-bottom: 0; }
.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; }
.view-opportunity-workspace .opportunity-fields > .field-column > label:last-child { border-bottom: 0; }
.create-opportunity-form .form-section-title { border-radius: 6px 6px 0 0; }
.create-opportunity-form .form-section-title.flat-section-title { border-radius: 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; }
.create-bidder-panel > .form-actions { margin-top: 0; padding: 0 16px 14px; }
.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.current-open-tasks-heading { justify-content: space-between; gap: 10px; }
.current-open-tasks-heading a { color: #0969e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.current-open-tasks-heading a:hover { text-decoration: underline; }
.current-open-tasks-list { margin: 0; padding: 0; list-style: none; }
.current-open-tasks-list li { display: grid; gap: 3px; min-height: 43px; margin: 0 16px; padding: 8px 0; border-bottom: 1px solid #c9c9c9; color: #525252; font-size: 15px; }
.current-open-tasks-list li:last-child { border-bottom: 0; }
.open-task-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.open-task-scope { font-weight: 600; }
.open-task-due-date, .open-task-assignee { color: #667085; font-size: 14px; }
.open-task-assignee { margin-left: auto; text-align: right; }
.open-task-due-date strong, .open-task-assignee strong { color: #525252; }
.opportunity-tasks-panel .bid-assistance-heading { position: relative; padding-top: 22px; border-top: 0; border-bottom: 0; }
.opportunity-tasks-panel .bid-assistance-heading::before { content: ""; position: absolute; top: 0; right: 16px; left: 16px; border-top: 1px solid #c9c9c9; }
.opportunity-task-form { display: grid; gap: 8px; padding: 16px; }
.opportunity-task-fields { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.opportunity-task-warning { margin: 4px 0 0; color: #d00; font-size: 13px; font-style: normal; line-height: 1.5; }
.opportunity-tasks-panel .opportunity-task-form { padding-top: 4px; }
.opportunity-task-meta { display: grid; grid-template-columns: minmax(0, 3fr) minmax(120px, 2fr); gap: 8px; align-items: end; }
.opportunity-task-form label { color: #40506a; font-size: 14px; font-weight: 700; }
.opportunity-task-form select, .opportunity-task-form textarea, .opportunity-task-form input { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #c9c9c9; border-radius: 4px; padding: 8px 9px; background: white; color: #243d68; font: inherit; }
.opportunity-task-form select { height: 42px; padding: 6px 9px; font-weight: 400; line-height: 1.4; }
.opportunity-task-assignee, .opportunity-task-due-date { display: grid; gap: 3px; }
.opportunity-task-assignee span, .opportunity-task-due-date span { font-size: 11px; }
.opportunity-task-due-date input { height: 42px; padding: 5px 7px; font-weight: 400; }
.opportunity-task-form textarea { resize: vertical; }
.opportunity-task-form button { justify-self: end; height: 34px; padding: 0 12px; }
.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; }
.panel-icon.task-management-panel-icon { display: flex; box-sizing: border-box; align-items: center; justify-content: center; padding: 0 0 2px; background: #6f42c1; color: white; font-size: 22px; line-height: 1; text-align: center; }
.panel-icon.task-management-panel-icon.closed-tasks-icon { background: #828282; }
.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; }
.panel-icon.notifications-icon { background: #fb6b32; }
.panel-icon.permissions-icon { background: #087b38; }
.panel-icon.pdf-document-icon { flex-shrink: 0; background: #fb6b32; }
.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; }
.live-opportunity-feedback .opportunity-feedback-table th:nth-child(1) { width: 22%; }
.live-opportunity-feedback .opportunity-feedback-table th:nth-child(2) { width: 18%; }
.live-opportunity-feedback .opportunity-feedback-table th:nth-child(3) { width: 22%; }
.live-opportunity-feedback .opportunity-feedback-table th:nth-child(4) { width: 38%; }
.live-opportunity-feedback .opportunity-feedback-table td { width: auto; vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
.feedback-comment-text { white-space: pre-wrap !important; }
.add-opportunity-feedback-card { margin-top: 18px; }
.add-opportunity-feedback-form { display: grid; grid-template-columns: minmax(240px,320px) minmax(0,1fr); align-items: start; column-gap: 24px; row-gap: 20px; padding: 4px 26px 24px; }
.add-opportunity-feedback-form label { display: grid; min-width: 0; gap: 9px; color: #40506a; font-size: 14px; font-weight: 600; }
.add-opportunity-feedback-form select, .add-opportunity-feedback-form textarea { box-sizing: border-box; width: 100%; padding: 11px 12px; border: 1px solid #ccd7e6; border-radius: 6px; background: #fff; color: #243d68; font: inherit; font-weight: 400; }
.add-opportunity-feedback-form select { height: 44px; }
.add-opportunity-feedback-form textarea { min-height: 120px; line-height: 1.5; resize: vertical; }
.add-opportunity-feedback-form select:focus, .add-opportunity-feedback-form textarea:focus { outline: 2px solid #0969e8; outline-offset: 2px; }
.add-opportunity-feedback-form .feedback-form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: -12px; padding-top: 0; border-top: 0; }
.feedback-form-actions button { min-height: 40px; padding: 9px 18px; }
.recent-opportunity-feedback { margin: 0; padding: 4px 20px 12px; list-style: none; font-size: 13px; line-height: 1.65; }
.recent-opportunity-feedback li { padding: 12px 0; }
.recent-opportunity-feedback li + li { border-top: 1px solid #e2e8f0; }
.recent-opportunity-feedback strong, .recent-opportunity-feedback time { display: block; }
.recent-feedback-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.recent-feedback-heading time { margin-left: auto; text-align: right; white-space: nowrap; }
.recent-opportunity-feedback time { color: #637086; font-size: 12px; }
.recent-opportunity-feedback p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.recent-feedback-empty { margin: 0; padding: 16px 20px 20px; font-size: 13px; }
.recent-opportunity-feedback { margin: 0; padding: 4px 20px 12px; list-style: none; font-size: 13px; line-height: 1.65; }
.recent-opportunity-feedback li { padding: 12px 0; }
.recent-opportunity-feedback li + li { border-top: 1px solid #e2e8f0; }
.recent-opportunity-feedback strong, .recent-opportunity-feedback time { display: block; }
.recent-opportunity-feedback time { color: #637086; font-size: 12px; }
.recent-opportunity-feedback p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.recent-feedback-empty { margin: 0; padding: 16px 20px 20px; font-size: 13px; }
@media(max-width:700px) { .add-opportunity-feedback-form { grid-template-columns: 1fr; } }
.opportunity-feedback-table { table-layout: fixed; }
.opportunity-feedback-table th:nth-child(1), .opportunity-feedback-table td:nth-child(1) { width: 10%; white-space: nowrap; }
.opportunity-feedback-table th:nth-child(2), .opportunity-feedback-table td:nth-child(2) { width: 20%; }
.opportunity-feedback-table th:nth-child(3), .opportunity-feedback-table td:nth-child(3) { width: 15%; white-space: nowrap; }
.opportunity-feedback-table th:nth-child(4), .opportunity-feedback-table td:nth-child(4) { width: 15%; }
.opportunity-feedback-table th:nth-child(5), .opportunity-feedback-table td:nth-child(5) { width: 35%; }
.opportunity-feedback-table th:nth-child(6), .opportunity-feedback-table td:nth-child(6) { width: 5%; text-align: center; }
.opportunity-feedback-table input, .opportunity-feedback-table select, .opportunity-feedback-table textarea { box-sizing: border-box; width: 100%; height: 38px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 7px 8px; background: white; color: #243d68; font: inherit; }
.opportunity-feedback-table textarea { min-height: 38px; resize: vertical; }
.opportunity-feedback-table input:focus, .opportunity-feedback-table select:focus, .opportunity-feedback-table textarea:focus { border-color: #3484ee; outline: 0; box-shadow: 0 0 0 2px rgba(52,132,238,.15); }
.feedback-remove-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; padding: 0; background: transparent; color: #b12b27; font-size: 28px; font-weight: 700; line-height: 1; cursor: pointer; }
.opportunity-feedback-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 26px 26px; }
.opportunity-feedback-actions a { text-decoration: none; }
.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; }
.known-documents-list { margin: 0; padding: 0 16px; list-style: none; }
.side-panel h2.known-documents-heading { justify-content: space-between; gap: 10px; }
.known-documents-heading a { flex-shrink: 0; color: #0969e8; font-size: 14px; font-weight: 700; text-decoration: none; }
.known-documents-heading a:hover { text-decoration: underline; }
.known-documents-list li { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: start; gap: 12px; padding: 12px 0; font-size: 14px; }
.known-documents-list li + li { border-top: 1px solid #e2e8f0; }
.known-documents-list span { min-width: 0; overflow-wrap: anywhere; text-align: left; }
.known-documents-list time { color: #667085; text-align: right; white-space: nowrap; }
.bidder-list li { padding: 8px 0; border-top: 1px solid #e2e8f0; color: #243d68; font-weight: 600; }
.saved-opportunity-bidders { overflow-x: auto; }
.saved-opportunity-bidders li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-width: max-content; }
.saved-opportunity-bidders li:first-child { border-top: 0; }
.saved-opportunity-bidders li > span { white-space: nowrap; flex-shrink: 0; }
.saved-opportunity-bidders .bidder-identity { display: flex; flex-direction: column; align-items: flex-start; }
.saved-opportunity-bidders .bidder-estimator { font-style: italic; font-weight: 400; }
.saved-opportunity-bidders .bidder-due-date { margin-left: auto; text-align: right; }
.view-opportunity-workspace .saved-opportunity-bidders { margin: 8px 20px 16px; font-size: 13px; line-height: 1.65; }
.view-opportunity-workspace .saved-opportunity-bidders li { align-items: baseline; text-align: left; }
.view-opportunity-workspace .known-documents-list { padding: 4px 20px 12px; }
.view-opportunity-workspace .known-documents-list li { grid-template-columns: minmax(0, 1fr); font-size: 13px; line-height: 1.65; text-align: left; }
.view-opportunity-workspace .known-documents-list a { min-width: 0; overflow-wrap: anywhere; }
.view-opportunity-workspace .opportunity-sidebar .side-panel > .known-documents-empty { margin: 0; padding: 16px 20px 20px; text-indent: 0; font-size: 13px; line-height: 1.65; text-align: left; }
.view-opportunity-workspace .opportunity-sidebar .side-panel > .known-documents-heading + p { margin: 0; padding: 16px 20px 20px; text-indent: 0; font-size: 13px; line-height: 1.65; text-align: left; }
.view-opportunity-workspace .opportunity-sidebar .side-panel > .known-documents-heading + p + .known-documents-list:empty { display: none; }
.view-opportunity-workspace .known-documents-empty + .known-documents-list:empty { display: none; }
.detail-value { color: #1f1f1f; font-weight: 600; }
.account-website { color: #0969e8; text-decoration: none; }
.account-website:hover { text-decoration: underline; }
.account-workspace .detail-value,
.account-workspace .account-notes p { overflow-wrap: anywhere; }
.account-workspace .opportunity-tabs .account-ribbon-name { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.accounts-card .account-filters select { max-width: 100%; }
.accounts-card .section-heading,
.accounts-card .account-actions,
.accounts-card .account-filters { flex-wrap: wrap; }
.accounts-card .account-actions,
.accounts-card .account-filters { min-width: 0; max-width: 100%; }
.accounts-card .account-filters input { max-width: 100%; min-width: 0; }
.accounts-card #accountsTable td { overflow-wrap: anywhere; }
.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; }
.account-manager-remove-form { margin: 0; }
.account-manager-remove { color: #b12b27; background: transparent; border: 0; padding: 2px 6px; font-size: 22px; line-height: 1; cursor: pointer; }
.account-manager-assign-form { display: grid; gap: 10px; padding: 16px; }
.account-manager-assign-form select { width: 100%; min-width: 0; padding: 8px; border: 1px solid #c9d8eb; border-radius: 5px; }
.account-manager-assign-form button { justify-self: end; }
.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; }

.office-usage-card { margin-bottom: 18px; }
.admin-workspace { align-items: start; grid-template-columns: minmax(0, 1fr) max(280px, calc((100% - 18px) * 0.266666667)); }
.admin-history-notice { margin: 0; padding: 0 26px 18px; color: #53617a; font-size: 14px; }
@media (max-width: 900px) { .admin-workspace { grid-template-columns: 1fr; } }
.admin-membership-form { display: grid; gap: 12px; padding: 16px; }
.admin-membership-form p { margin: 0; color: #53617a; line-height: 1.5; }
.admin-membership-form label { color: #40506a; font-size: 14px; font-weight: 700; }
.admin-membership-form select, .admin-membership-form input { width: 100%; min-width: 0; height: 38px; border: 1px solid #ccd7e6; border-radius: 6px; padding: 6px 8px; background: white; color: #243d68; font: inherit; }
.admin-membership-form .admin-membership-status { font-size: 13px; }
#joinRequestStatus:empty { display: none; }
.office-usage-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 20px 22px; }
.office-usage-summary article { display: grid; gap: 7px; min-height: 74px; padding: 15px 16px; border: 1px solid #d8e1eb; border-radius: 8px; background: #f7fbff; }
.office-usage-summary span { color: #53617a; font-size: 13px; font-weight: 700; }
.office-usage-summary strong { color: #173b68; font-size: 26px; line-height: 1; }
@media (max-width: 760px) { .office-usage-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .office-usage-summary { grid-template-columns: 1fr; } }
.account-balance-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 18px; }
.account-balance-main { display: grid; gap: 18px; min-width: 0; }
.token-pricing-glyph { display: inline-grid; width: 31px; height: 31px; border-radius: 50%; background: #087b38; color: white; font-size: 20px; font-weight: 800; line-height: 1; place-items: center; }
.token-pricing-explanation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 20px 22px; color: #40506a; }
.token-pricing-type { padding: 16px; border: 1px solid #d8e1eb; border-radius: 8px; background: #f7fbff; }
.token-pricing-type h3 { margin: 0 0 8px; color: #243d68; font-size: 16px; }
.token-pricing-explanation strong { display: block; color: #173b68; font-size: 23px; }
.token-pricing-explanation p { margin: 10px 0 0; line-height: 1.5; }
.token-pricing-explanation .token-pricing-example { color: #667085; font-size: 13px; font-style: italic; }
.account-credit-form { padding: 0 20px 22px; }
.purchase-cart-icon { width: 31px; height: 31px; fill: none; stroke: #0969e8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.account-credit-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.account-credit-fields label { display: grid; gap: 6px; color: #40506a; font-size: 14px; font-weight: 700; }
.account-credit-fields input, .account-credit-fields select { box-sizing: border-box; width: 100%; height: 38px; border: 1px solid #c9c9c9; border-radius: 4px; padding: 7px 9px; background: white; color: #243d68; font: inherit; }
.account-credit-wide { grid-column: 1 / -1; }
.account-credit-notice { margin: 16px 0 0; color: #667085; font-size: 13px; font-style: italic; }
.account-credit-form .form-actions { padding: 18px 0 0; }
.account-balance-sidebar .side-panel { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 2px 7px rgba(25, 48, 81, .04); }
.token-summary-icon { background: #087b38; }
.token-summary-list { margin: 0; }
.token-summary-list div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 16px; border-bottom: 1px solid #e2e8f0; }
.token-summary-list div:last-child { border-bottom: 0; }
.activity-summary-icon { background: #0969e8; font-size: 12px; font-weight: 800; }
.token-summary-list dt { color: #53617a; font-size: 13px; font-weight: 700; }
.token-summary-list dd { margin: 0; color: #173b68; font-size: 17px; font-weight: 800; }
.recurring-payment-icon { background: #0969e8; font-size: 19px; }
.recurring-payment-list .payment-status { font-size: 14px; }
.recurring-payment-list .payment-status.enabled { color: #15803d; }
.recurring-payment-list .payment-status.disabled { color: #111827; }
@media (max-width: 850px) { .account-balance-workspace { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .account-credit-fields, .token-pricing-explanation { grid-template-columns: 1fr; } .account-credit-wide { grid-column: auto; } }
.manage-card { margin-bottom: 22px; }
.account-details-form .field-column label.account-status-detail { border-bottom: 0; }
#details select[name="opportunity_quarterback"][aria-invalid="true"] { border-color: #dc2626; background: #fff5f5; box-shadow: 0 0 0 1px #dc2626; }
#accountsTable tr.account-inactive > td { background: #dce3ec; }
.inactive-account-icon { display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
.inactive-account-icon svg { display: block; width: 100%; height: 100%; }
.reset-captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.reset-captcha-row img { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 6px; }
.office-address-table .office-inline-field input.user-select { height: 38px; min-width: 0; }
.analytics-nav .analytics-link-disabled { padding: 11px 17px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 16px; font-weight: 700; opacity: .55; cursor: default; }
.pending-opportunities-card { margin-top: 22px; }
.forecast-moon { fill: #e3eaf2; }
.forecast-opportunities-table { table-layout: fixed; }
.forecast-opportunities-table col:nth-child(1) { width: 35%; }
.forecast-opportunities-table col:nth-child(2) { width: 13%; }
.forecast-opportunities-table col:nth-child(3) { width: 13%; }
.forecast-opportunities-table col:nth-child(4) { width: 13%; }
.forecast-opportunities-table col:nth-child(5) { width: 16%; }
.forecast-opportunities-table col:nth-child(6) { width: 10%; }
.forecast-opportunities-table th, .forecast-opportunities-table td { overflow-wrap: anywhere; }
.network-primary-crown { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.network-primary-crown svg { display: block; width: 100%; height: 100%; }
#officePrimaryContact { font-size: 13px; }
.user-notifications-form { padding: 16px 20px; }
.user-notification-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.user-notifications-form p { margin: 8px 0 0; font-size: 13px; }
.section-heading .manage-user-filter { width: auto; min-width: 160px; margin-left: auto; font-weight: 400; }
.section-heading.load-balancing-performance-heading { flex-direction:row; align-items:center; }
.load-balancing-performance-filter { margin-left:auto; }
.load-balancing-performance-filter select { width:160px; padding:8px 10px; border:1px solid #ccd7e3; border-radius:8px; background:#fff; color:var(--text); font-size:13px; }
.add-office-user-table { table-layout: fixed; }
.add-office-user-table input.user-select { width: 100%; min-width: 0; }
.add-office-user-table th:nth-child(1), .add-office-user-table th:nth-child(2) { width: 15%; }
.add-office-user-table th:nth-child(3) { width: 18%; }
.add-office-user-table th:nth-child(4) { width: 26%; }
.add-office-user-table th:nth-child(5) { width: 18%; }
.add-office-user-table th:nth-child(6) { width: 8%; }
.manage-users-table input.user-select { width: 100%; min-width: 0; }
.user-section .user-details-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.user-details-heading > a { font-size: 14px; font-weight: 400; }
.user-details-heading > span { display: inline-flex; align-items: center; gap: 10px; }
.user-details-heading > a, .user-details-heading > a:hover { text-decoration: none; }
.user-details-heading .panel-icon { flex-shrink: 0; }
#userDetailsForm input:not([type="hidden"]) { width: 100%; min-width: 0; padding: 7px 9px; border: 1px solid #ccd7e6; border-radius: 6px; color: var(--text); font: inherit; }
.profile-edit-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 20px 20px; }
.profile-edit-actions[hidden] { display: none; }
.profile-edit-error { padding: 0 20px; color: #b12b27; }
.user-section .user-details-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.user-details-heading > a { font-size: 14px; font-weight: 400; }
#userDetailsForm input:not([type="hidden"]) { width: 100%; min-width: 0; padding: 7px 9px; border: 1px solid #ccd7e6; border-radius: 6px; color: var(--text); font: inherit; }
.profile-edit-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 0 20px 20px; }
.profile-edit-actions[hidden] { display: none; }
.profile-edit-error { padding: 0 20px; color: #b12b27; }
.office-balances-table tfoot td { text-align: right; font-weight: 700; }
.office-usage-filters { display: flex; gap: 12px; margin-left: auto; flex-wrap: wrap; }
.office-usage-filters select { min-width: 140px; padding: 6px 10px; border: 1px solid #ccd7e6; border-radius: 6px; background: white; color: var(--text); }
.admin-dashboard .table-wrap table { min-width: 0; width: 100%; table-layout: fixed; }
.admin-dashboard .table-wrap th, .admin-dashboard .table-wrap td { width: auto; white-space: normal; overflow-wrap: anywhere; }
.admin-dashboard .join-request-actions { flex-wrap: wrap; }
.admin-dashboard .table-wrap th.registered-office-name { width: 30%; }
.admin-dashboard .table-wrap th.registered-office-users { width: 10%; }
.manage-office-warning { margin: 0; padding: 0 24px 20px; }
.admin-workspace.security-workspace { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.security-workspace > * { min-width: 0; }
.security-workspace .admin-membership-form input, .security-workspace .admin-membership-form select { font-size: 16px; font-weight: 400; }
.security-activity-card table { min-width: 0; table-layout: fixed; }
.security-activity-card th, .security-activity-card td { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .admin-workspace.security-workspace { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .manage-office-warning { padding-left: 18px; padding-right: 18px; } }
.support-request-form { display: grid; gap: 16px; padding: 0 26px 24px; }
.support-request-fields { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.support-request-form label { display: grid; gap: 7px; color: #40506a; font-weight: 700; }
.support-request-form input, .support-request-form select, .support-request-form textarea { width: 100%; min-width: 0; border: 1px solid #ccd7e6; border-radius: 6px; padding: 9px; background: white; color: #243d68; font: inherit; }
.support-request-form textarea { resize: vertical; }
.support-request-form button { justify-self: end; }
.support-request-form p { margin: 0; }
.support-preview-note, .support-request-meta { color: #637086; font-size: 13px; }
.support-request-list { display: grid; gap: 18px; padding: 0 26px 24px; }
#supportTicketPanel > .section-heading { flex-direction: row; flex-wrap: nowrap; align-items: center; }
#supportTicketPanel > .section-heading > div:first-child { min-width: 0; }
#supportTicketPanel .support-status-filter { margin-left: auto; width: 108px; min-width: 108px; flex: 0 0 108px; padding: 4px 20px 4px 8px; font-size: 13px; }
.support-list-status { padding: 0 26px; }
.support-closed-summary { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border: 0; padding: 0; background: transparent; color: #243d68; font: inherit; text-align: left; cursor: pointer; }
.support-closed-summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.support-request-item { padding: 18px; border: 1px solid var(--border); border-radius: 8px; }
.support-request-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.support-request-heading h3 { margin: 0; color: #243d68; font-size: 17px; overflow-wrap: anywhere; }
.support-request-details { white-space: pre-wrap; overflow-wrap: anywhere; }
.view-opportunity-workspace .opportunity-sidebar .side-panel > .support-request-details { margin: 0; padding: 16px 20px 20px; font-size: 13px; line-height: 1.65; text-align: left; }
.opportunity-sidebar .opportunity-scope-list { margin: 0; padding: 16px 20px 20px 38px; list-style: disc; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; text-align: left; }
.opportunity-sidebar .opportunity-scope-list li + li { margin-top: 10px; }
#opportunitiesTable .opportunities-scope-list { margin: 0; padding-left: 18px; list-style: disc; font-size: smaller; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
#opportunitiesTable .opportunities-scope-list li + li { margin-top: 8px; }
#opportunitiesTable .opportunities-scope-list li { display: list-item; white-space: normal; }
.support-admin-response { padding: 14px; border-left: 3px solid #0969e8; border-radius: 4px; background: #f0f6ff; color: #40506a; }
.support-admin-response p { margin: 8px 0 0; }
.support-reply-form { display: grid; gap: 12px; margin-top: 18px; }
.support-reply-form label { display: grid; gap: 7px; color: #40506a; font-weight: 700; }
.support-reply-form textarea { width: 100%; min-width: 0; resize: vertical; border: 1px solid #ccd7e6; border-radius: 6px; padding: 9px; color: #243d68; font: inherit; }
.support-reply-form button { justify-self: end; }
.support-reply-form p { margin: 0; }
.support-user-reply { margin-top: 14px; padding: 14px; border: 1px solid var(--border); border-radius: 6px; color: #40506a; }
.support-user-reply p { margin: 8px 0 0; }
@media (max-width: 700px) { .support-request-fields { grid-template-columns: 1fr; } }
.office-information-panel { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.office-information-details, .office-primary-contact { min-width: 0; }
.office-information-details .section-heading { flex-wrap: wrap; gap: 12px; }
.office-information-details .table-wrap { overflow-x: hidden; }
.office-information-details .table-wrap[hidden] { display: none; }
#editOfficeInformation { box-sizing: border-box; width: 160px; flex-shrink: 0; }
.office-information-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.office-information-actions [hidden] { display: none; }
.office-information-details > .office-information-actions { margin-top: 0; padding: 0 26px 22px; }
.office-information-details table { min-width: 0; table-layout: fixed; }
.office-information-details th, .office-information-details td { overflow-wrap: anywhere; }
.office-information-details th:first-child, .office-information-details td:first-child { width: 38%; }
@media (min-width: 701px) {
    .office-information-details th:nth-child(2), .office-information-details td:nth-child(2) { width: 16%; }
}
.office-information-details .section-heading > div { min-width: 0; }
.office-information-details .section-heading h2 { overflow-wrap: anywhere; }
.office-information-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 26px 22px; }
.office-information-form[hidden] { display: none; }
.office-inline-form { display: block; }
.office-inline-form > p { padding: 0 26px 18px; }
.office-inline-form .table-wrap { overflow-x: auto; }
.office-inline-form .office-address-table { min-width: 480px; }
.office-inline-field { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-width: 0; min-height: 28px; font-size: inherit; }
.office-inline-field label { color: #40506a; font-weight: 700; }
.office-inline-field span { overflow-wrap: anywhere; }
.office-inline-field input { box-sizing: border-box; width: 100%; min-width: 0; height: 28px; border: 1px solid #ccd7e6; border-radius: 5px; padding: 3px 8px; font: inherit; color: #243d68; }
.office-inline-field [data-office-value="zip"], .office-inline-field #office-zip { width: 100%; }
.office-inline-form [hidden] { display: none; }
.office-inline-form p { grid-column: 1 / -1; margin: 0; }
@media (max-width: 600px) { .office-inline-form { grid-template-columns: minmax(0, 1fr); } }
.office-information-form label { display: grid; gap: 5px; color: #40506a; font-size: 14px; font-weight: 700; }
.office-information-form input { box-sizing: border-box; width: 100%; min-width: 0; border: 1px solid #ccd7e6; border-radius: 5px; padding: 8px; color: #243d68; font: inherit; }
.office-information-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; }
.office-information-form p { grid-column: 1 / -1; margin: 0; color: #40506a; font-size: 14px; }
.office-primary-contact-form { display: grid; gap: 12px; padding: 0 26px 22px; }
.office-primary-contact-form label { color: #40506a; font-size: 14px; font-weight: 700; }
.office-primary-contact-form .user-select { min-width: 0; }
.office-primary-contact-form button { justify-self: end; width: auto; }
.office-information-details, .office-primary-contact { display: flex; flex-direction: column; }
.office-information-details > .office-information-actions { margin-top: auto; }
.office-primary-contact-form { display: flex; flex-direction: column; flex: 1; }
.office-primary-contact-form > button { align-self: flex-end; margin-top: auto; }
.office-information-actions .secondary-btn:not([hidden]),
.office-primary-contact-form > .secondary-btn:not([hidden]) { height: 44px; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; justify-content: center; }
.office-primary-contact-form p { margin: 0; color: #53617a; font-size: 13px; line-height: 1.5; }
@media (max-width: 850px) {
    .office-information-panel { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .office-information-form { grid-template-columns: 1fr; }
}
.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; }
.manage-users-table { table-layout: fixed; }
.manage-users-table col:nth-child(1), .manage-users-table col:nth-child(2) { width: 13%; }
.manage-users-table col:nth-child(3) { width: 16%; }
.manage-users-table col:nth-child(4) { width: 27%; }
.manage-users-table col:nth-child(5) { width: 19%; }
.manage-users-table col:nth-child(6) { width: 12%; }
.manage-users-table .title-select { box-sizing: border-box; width: 100%; min-width: 0; }
.status-select { min-width: 95px; }
.manage-users-action { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 0 26px 26px; }
.manage-users-action button { box-sizing: border-box; width: 140px; max-width: 100%; }
.manage-users-action .add-user-btn { border-color: #d9523a; background-color: #e96544; color: white; font-weight: 700; }
.manage-users-action .add-user-btn:hover { background-color: #d9533d; }
.manage-users-status { margin: -14px 26px 22px; color: #40506a; font-size: 14px; }
.permission-legend { margin: 0 26px 24px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.permission-legend h3 { margin: 0 0 10px; color: #243d68; font-size: 16px; }
.permission-legend div { display: grid; grid-template-columns: 140px 12px minmax(0, 1fr); align-items: center; min-height: 0; color: #40506a; font-size: 14px; line-height: 1.5; }
.permission-legend strong { font-weight: 700; }
#permissionsTable th:not(:first-child), #permissionsTable td:not(:first-child) { text-align: center; }
#permissionsTable th:first-child, #permissionsTable td:first-child { text-align: left; }
#permissionsTable { table-layout: fixed; }
#permissionsTable th:first-child, #permissionsTable td:first-child { width: 25%; }
#permissionsTable th:not(:first-child), #permissionsTable td:not(:first-child) { width: 15%; }
.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; }
.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-request-icon { width: 31px; height: 31px; fill: none; stroke: #0969e8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.network-request-icon .network-request-filled-loop { fill: #0969e8; stroke: none; }
.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; }
#networkCompanies th:last-child, #networkCompanies td:last-child { width: 190px; white-space: nowrap; }
.network-action.accept { border-color: #087b38; background: #087b38; color: white; }
.network-action.reject { border-color: #b12b27; background: #b12b27; color: white; }
.network-action.remove { width: auto; border-color: #b12b27; background: #b12b27; color: white; }

.qualifying-rules-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr); align-items: start; gap: 22px; }
.qualifying-rules-grid > .qualifying-rule-card:first-child { grid-column: 1 / -1; }
.qualifying-rules-grid > .qualifying-rule-card:nth-child(2) { grid-column: 1; }
.qualifying-rules-grid > .qualifying-rule-card:nth-child(3) { grid-column: 2; }
.qualifying-rules-grid > .qualifying-rule-card:nth-child(2), .qualifying-rules-grid > .qualifying-rule-card:nth-child(3) { align-self: stretch; }
.qualifying-rule-wide { grid-column: 1 / -1; }
.qualifying-rule-form { padding: 0 27px 26px; }
.qualifying-rule-help { margin: 0 0 18px; color: #53617a; line-height: 1.5; }
.qualifying-rule-form label { display: grid; gap: 7px; color: #243d68; font-size: 14px; font-weight: 700; }
.qualifying-rule-form input[type="text"], .qualifying-rule-form input[type="password"], .qualifying-rule-form select, .qualifying-rule-form textarea { box-sizing: border-box; width: 100%; border: 1px solid #ccd7e6; border-radius: 6px; padding: 10px 12px; background: white; color: #1f1f1f; font: 400 15px "Segoe UI", Arial, sans-serif; outline: none; }
.qualifying-rule-form textarea { resize: vertical; }
.qualifying-rule-form input[type="text"]:focus, .qualifying-rule-form input[type="password"]:focus, .qualifying-rule-form select:focus, .qualifying-rule-form textarea:focus { border-color: #1975dc; box-shadow: 0 0 0 3px rgba(25,117,220,.12); }
.file-storage-grid { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(320px, 1.3fr); gap: 18px; }
.file-storage-token { grid-column: 1 / -1; }
.cloud-storage-card { grid-column: 1; }
.cloud-current-card { grid-column: 2; }
.office-prompt-card { grid-column: 1; }
.manufacturers-card { grid-column: 2; }
.qualifying-right-column { grid-column: 2; grid-row: 3 / span 2; display: grid; gap: 22px; min-width: 0; }
.qualifying-right-column > .qualifying-rule-card { grid-column: auto; margin: 0; }
.manufacturer-add-card .form-actions, .manufacturer-add-card .primary-btn { width: 100%; }
.manufacturer-add-card .primary-btn { min-width: 0; }
.manufacturers-card .section-heading { min-height: 0; padding-bottom: 10px; }
.office-manufacturer-list { list-style: none; padding: 0 24px 16px; margin: 0; }
.office-manufacturer-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; line-height: 22px; }
.office-manufacturer-list li:first-child { padding-top: 7px; }
.office-manufacturer-list li > span { overflow-wrap: anywhere; min-width: 0; }
.office-manufacturer-list form { flex: 0 0 auto; margin: 0; }
.manufacturer-remove { display: block; color: #c62828; background: transparent; border: 0; padding: 0; font-size: 22px; line-height: 22px; width: 32px; height: 22px; cursor: pointer; }
.cloud-controls, .cloud-provider-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.cloud-provider-fields { margin-top: 20px; }
.dropbox-authorization-row { display: flex; align-items: center; gap: 16px; margin: 12px 0 16px; }
.dropbox-authorization-row > p { flex: 1; min-width: 0; margin: 0; }
#dropboxAuthorize { flex-shrink: 0; white-space: nowrap; }
.cloud-provider-fields[hidden], .cloud-current-details > [hidden] { display: none; }
.cloud-provider-fields legend { padding: 0 0 12px; color: #243d68; font-size: 16px; font-weight: 700; }
.cloud-storage-card .file-storage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cloud-storage-card .file-storage-grid > label { min-width: 0; }
.cloud-destination-guide { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #d9e2ee; border-radius: 8px; background: #f7f9fc; font-size: 13px; color: #53617a; }
.cloud-destination-guide summary { color: #243d68; font-weight: 600; cursor: pointer; }
.cloud-destination-guide p { line-height: 1.6; }
.cloud-destination-guide a { color: #175cae; }
.cloud-provider-name { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.cloud-connection-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; }
.cloud-connection-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.cloud-connection-actions .secondary-btn { width:100%; min-width:0; height:44px; padding:0 10px; }
.cloud-connection-actions #cloudTest { background:#c45100; border-color:#c45100; color:#fff; }
.cloud-connection-actions #cloudTest:hover { background:#a84400; border-color:#a84400; }
.cloud-text-action { background:none; border:0; padding:0; color:#1769d2; text-decoration:underline; cursor:pointer; font:inherit; }
.cloud-delete-action { margin-left:auto; text-decoration:none; }
.cloud-current-card [hidden] { display:none !important; }
.cloud-delete-action:disabled { opacity:.5; cursor:wait; }
.cloud-current-details { margin: 0; }
.cloud-current-details > div { padding: 6px 0 12px; }
.cloud-current-details dt { font-size: 12px; color: #62738a; }
.cloud-current-details dd { margin: 4px 0 0; font-size: 14px; overflow-wrap: anywhere; }
#cloudConnectionStatus { margin: 12px 0 0; }
#cloudConnectionStatus:empty { margin: 0; }
#cloudStorageStatus { overflow-wrap: anywhere; }
@media (max-width: 900px) {
    .qualifying-right-column { grid-column: 1 / -1; grid-row: auto; }
    .qualifying-rules-grid > .qualifying-rule-card:nth-child(n) { grid-column: 1 / -1; }
    .cloud-storage-card .file-storage-grid { grid-template-columns: minmax(0, 1fr); }
}
.qualifying-rule-field-help { color: #68758b; font-size: 12px; font-weight: 400; line-height: 1.4; }
.state-territory-grid { display: grid; grid-template-columns: repeat(17, 1fr); gap: 9px; margin: 0; padding: 0; border: 0; }
.state-territory-grid label { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 5px; border: 1px solid #d9e2ee; border-radius: 5px; background: #f8fbff; cursor: pointer; }
.state-territory-grid input { margin: 0; accent-color: #0969e8; }
.zip-rule-entry { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.zip-add-form .zip-rule-entry { grid-template-columns: 1fr; }
.zip-add-form .primary-btn { width: 100%; }
.excluded-zip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.auto-review-players .field-column label { grid-template-columns: 155px minmax(0, 1fr); }
.player-autocomplete { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; }
.player-autocomplete input[type="text"] { flex: 1; min-width: 0; }
.player-existing { white-space: nowrap; font-size: 12px; color: #1769aa; }
.player-autocomplete ul { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 240px; overflow-y: auto; margin: 2px 0 0; padding: 0; list-style: none; background: white; border: 1px solid #c9d8eb; border-radius: 6px; box-shadow: 0 4px 12px #0002; }
.player-autocomplete li { padding: 8px 10px; cursor: pointer; }
.player-autocomplete li:hover, .player-autocomplete li[aria-selected="true"] { background: #eaf3ff; }
.excluded-zip-list span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 16px; background: #eaf3ff; color: #173b68; font-size: 13px; font-weight: 700; }
.excluded-zip-list button { border: 0; padding: 0; background: transparent; color: #53617a; font-size: 18px; line-height: 1; cursor: pointer; }
@media (max-width: 900px) { .qualifying-rules-grid { grid-template-columns: 1fr; } .qualifying-rule-wide { grid-column: auto; } .state-territory-grid { grid-template-columns: repeat(5, 1fr); } .file-storage-grid { grid-template-columns: 1fr; } .file-storage-token { grid-column: auto; } }

/* 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, .manage-nav { display: flex; gap: 4px; margin: -32px 25px 18px; border-bottom: 1px solid #cbd5e1; }
.bid-assist-nav a, .manage-nav a { padding: 11px 17px; color: #40506a; font-weight: 700; text-decoration: none; }
.bid-assist-nav a.active, .manage-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%; white-space: nowrap; }
.assistant-table-card th:nth-child(5), .assistant-table-card td:nth-child(5) { width: 16%; white-space: nowrap; }
.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; }
.completion-toggle.static-toggle { cursor: default; }
.completion-toggle.static-toggle > span.is-enabled { background: #087b38; }
.completion-toggle.static-toggle > span.is-enabled::after { transform: translateX(16px); }
.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-field-error, .request-error { color: #a32020; font-size: 14px; }
.request-fields [aria-invalid="true"] { border-color: #a32020; }
.request-success { color: #176538; padding: 14px; background: #eaf7ee; border-radius: 6px; }
.request-card button:disabled { opacity: .65; cursor: wait; }
#adminCreateForm button:disabled { cursor: not-allowed; }
#adminCreateForm button[aria-busy="true"] { cursor: wait; }
.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; }
.request-field-row { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.request-field-row > label { min-width: 0; }
.request-field-row input, .request-field-row select { box-sizing: border-box; width: 100%; min-width: 0; }

.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; }
    .dso-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%; }
    .request-field-row { grid-template-columns: 1fr; }
}
.admin-number-column {
    text-align: center;
}

.admin-total-label {
    text-align: left;
}

/* Streamlined application theme, promoted from the approved design preview. */
:root {
    --navy: #12365c;
    --navy-dark: #0b2746;
    --blue: #1769d2;
    --text: #162d49;
    --muted: #62738a;
    --border: #e0e7ef;
    --page: #f3f6fa;
    --card-radius: 14px;
}
html, body { min-width: 0; }
body { font-family: "Segoe UI", Arial, sans-serif; color: var(--text); line-height: 1.5; }
button, input, select, textarea { font-family: inherit; }
a, button, input, select, textarea, summary { outline-offset: 3px; }
:focus-visible { outline: 3px solid #448fee; }
.topbar { min-height: 76px; padding: 0 28px; gap: 24px; background: var(--navy-dark); box-shadow: none; flex-wrap: nowrap; }
.brand { gap: 11px; margin-right: 8px; }
.brand-title { font-size: 22px; letter-spacing: .06em; }
.main-nav { gap: 4px; min-width: 0; flex-wrap: nowrap; overflow: hidden; }
.main-nav .nav-link { flex-shrink: 0; }
.topbar > .brand, .topbar > .user-dropdown { flex-shrink: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 12px; font-size: 13px; font-weight: 500; color: #cad9e9; border-radius: 8px; }
.nav-link.active { color: #fff; background: #234b76; box-shadow: none; }
.nav-link .icon { margin: 0; width: 17px; height: 17px; font-size: 17px; }
.user-menu { font-size: 12px; font-weight: 500; }
.user-avatar { width: 30px; height: 30px; border: 0; background: #dce9fa; }
.page { --page-top: 28px; max-width: 1560px; padding: var(--page-top) 32px 48px; }
.page > *, .home-dashboard > *, .account-balance-main, .account-balance-sidebar { min-width: 0; }
/* Restore the original flat sub-ribbon with its blue active underline. */
.manage-nav, .admin-nav, .analytics-nav, .reports-nav, .bid-assist-nav, .account-nav, .opportunity-nav { display: flex; flex-wrap: wrap; gap: 4px; border: 0; border-bottom: 1px solid #cbd5e1; background: transparent; padding: 0; margin: 0 25px 18px; }
/* Match the original ribbon position while respecting each viewport's page padding. */
.page > :is(.manage-nav, .admin-nav, .analytics-nav, .reports-nav, .bid-assist-nav, .account-nav, .opportunity-nav):first-child { margin-top: calc(-1 * var(--page-top)); }
.manage-nav a, .admin-nav a, .analytics-nav a, .reports-nav a, .bid-assist-nav a, .account-nav a, .opportunity-nav a { padding: 11px 17px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: #40506a; font-size: 16px; font-weight: 700; background: transparent; text-decoration: none; }
.manage-nav a.active, .admin-nav a.active, .analytics-nav a.active, .reports-nav a.active, .bid-assist-nav a.active, .account-nav a.active, .opportunity-nav a.active { color: #063b78; background: transparent; border-bottom-color: #0969e8; }
.bid-card, .side-panel, .metric-card, .summary-card, .welcome-card { border: 1px solid var(--border); border-radius: var(--card-radius); background: #fff; box-shadow: 0 3px 12px #16304b04; }
.section-heading { padding: 20px 24px; gap: 16px; flex-wrap: wrap; }
.section-heading > div:first-child { gap: 10px; }
.section-heading h2 { font-size: 20px; letter-spacing: -.025em; font-weight: 650; }
.section-heading .heading-icon { width: 24px; height: 24px; font-size: 21px; }
.side-panel h2 { font-size: 15px; padding: 17px 20px; border-color: var(--border); background: transparent; color: var(--text); }
.side-panel-title { gap: 10px; }
.table-wrap { padding: 0 24px 18px; max-width: 100%; overflow-x: auto; }
.account-filters, .opportunity-filters, .report-filters, .table-tools { flex-wrap: wrap; max-width: 100%; }
.account-filters > *, .opportunity-filters > * { max-width: 100%; }
/* Override the original color variants while preserving their icon colors. */
.page .metric-card { background: #fff; border-color: var(--border); }
.home-dashboard .section-heading h2 { font-size: 20px; }
.home-dashboard .summary-card h2 { font-size: 19px; }
.page table { font-size: 14px; }
thead th { background: #f5f7fb; color: #617087; font-size: 12px; font-weight: 700; letter-spacing: .035em; padding-top: 12px; padding-bottom: 12px; }
/* Keep compact labels and editable values at the table's new minimum size. */
.page table :is(td, tfoot th) { font-size: 14px; }
.page table :is(input, select, textarea, button, small, .badge, .service-report-status) { font-size: inherit; }
tbody td { padding-top: 13px; padding-bottom: 13px; border-color: #edf1f6; }
tbody tr:hover { background: #f7faff; }
.secondary-btn { border-radius: 8px; box-shadow: none; font-weight: 600; font-size: 13px; }
.primary-btn, .section-heading a.create-opportunity-btn { background: var(--blue); border-color: var(--blue); color: #fff; }
.primary-btn:hover { background: #1257b1; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { border-radius: 8px; border-color: #ccd7e3; }
.hero-grid, .home-dashboard .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.welcome-card, .summary-card { min-height: 130px; padding: 24px; }
.welcome-card { background: #eaf1fb; }
.welcome-card h1 { font-size: 28px; letter-spacing: -.04em; }
.welcome-card p { font-size: 15px; }
.summary-card h2 { font-size: 19px; }
.summary-card p { font-size: 13px; }
.welcome-icon, .calendar-icon { transform: scale(.8); margin-right: 15px; flex-shrink: 0; }
.metrics { gap: 18px; margin: 22px 0; }
.metric-card { min-height: 116px; padding: 20px; }
.metric-card strong { font-size: 29px; font-variant-numeric: tabular-nums; }
.refresh-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 8px 0 24px; }
.refresh-eyebrow { margin: 0 0 4px; color: #69809a; font-size: 11px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
.refresh-heading h1 { font-size: 30px; letter-spacing: -.04em; line-height: 1.2; margin: 0 0 8px; }
.refresh-heading p:last-child { color: var(--muted); font-size: 14px; margin: 0; }
.refresh-badge { padding: 5px 10px; border-radius: 6px; color: #456381; background: #e5ecf5; font-size: 11px; white-space: nowrap; }
.balance-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.balance-stat { padding: 22px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--card-radius); }
.balance-stat:first-child { background: var(--navy); color: white; border-color: var(--navy); }
.balance-stat p { margin: 0; font-size: 12px; color: var(--muted); font-weight: 600; }
.balance-stat:first-child p, .balance-stat:first-child small { color: #c9d9ec; }
.balance-stat strong { display: block; font-size: 36px; letter-spacing: -.04em; margin: 10px 0 4px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.balance-stat small { font-size: 12px; color: var(--muted); }
.account-balance-workspace { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; }
.account-balance-main, .account-balance-sidebar { display: grid; gap: 24px; }
.account-credit-form { padding: 0 24px 24px; }
.purchase-step { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.purchase-step legend { display: flex; gap: 9px; align-items: center; margin-bottom: 16px; padding: 0; font-size: 14px; font-weight: 650; }
.step-number { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #2265b4; background: #eaf1fb; font-size: 11px; }
.account-credit-fields { gap: 16px; }
.account-credit-fields label { color: #4b5e74; font-size: 12px; font-weight: 600; gap: 7px; }
.account-credit-fields .token-purchase-cost { color:var(--text); font-size:12px; font-weight:400; min-height:1.5em; }
.account-credit-fields input, .account-credit-fields select { height: 43px; border: 1px solid #ccd7e3; border-radius: 8px; font-size: 13px; padding: 10px 12px; color: var(--text); }
.account-credit-fields input[disabled] { background: #f5f7fa; color: #78889a; cursor: not-allowed; }
.payment-help { font-size: 12px; color: var(--muted); margin: -4px 0 15px; }
.purchase-summary { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid #d8e5f6; border-radius: 10px; background: #f2f7ff; }
.purchase-summary small { display: block; font-size: 12px; color: var(--muted); }
.purchase-summary output { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.04em; }
.purchase-summary button { padding: 12px 20px; }
.account-credit-notice { font-style: normal; font-size: 12px; line-height: 1.6; }
.token-pricing-explanation { padding: 0 24px 24px; gap: 16px; }
.token-pricing-type { background: #f8fafc; border-color: #e5ebf2; padding: 18px; }
.token-pricing-type h3 { font-size: 13px; }
.token-pricing-explanation strong { font-size: 23px; }
.token-pricing-explanation strong small { font-size: 12px; color: var(--muted); font-weight: 400; }
.token-pricing-explanation p { font-size: 13px; }
.token-summary-list div { padding: 15px 20px; border-color: #edf1f6; }
.token-summary-list dt { font-size: 12px; font-weight: 500; }
.token-summary-list dd { font-size: 15px; font-weight: 650; font-variant-numeric: tabular-nums; }
.payment-status { display: inline-block; border-radius: 20px; padding: 3px 9px; font-size: 11px !important; }
.payment-status.enabled { color: #237448; background: #edf7f0; }
.payment-status.disabled { color: #68798d; background: #eef2f6; }
.balance-note { padding: 0 20px 18px; margin: 0; font-size: 12px; color: var(--muted); }
.purchase-feedback { padding-top: 12px; font-size: 13px; color: #246147; }
.purchase-feedback:empty { display: none; }
.purchase-feedback.is-error { color: #b91c1c; }
.toast.toast-error { background: #991b1b; color: #fff; white-space: pre-line; transition-property: opacity, transform; }
.login-body { min-height: 100vh; }
.login-shell { width: 100%; }
@media (max-width: 1350px) {
    .topbar { gap: 14px; padding: 16px 24px; }
    .main-nav { order: 0; flex-basis: 0; }
    .user-dropdown { margin-left: auto; }
    .page { --page-top: 24px; padding: var(--page-top) 24px 24px; }
}
@media (max-width: 1050px) {
    .account-balance-workspace { grid-template-columns: minmax(0, 1fr); }
    .account-balance-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid, .home-dashboard .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid, .account-workspace, .opportunity-workspace { grid-template-columns: minmax(0, 1fr); }
    .turnover-workspace, .secure-turnover-workspace { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .topbar { padding: 15px 16px; }
    .topbar .user-menu > span:nth-child(2) { display: none; }
    .main-nav { overflow: hidden; flex-wrap: nowrap; }
    .nav-link { flex-shrink: 0; }
    .page { --page-top: 20px; padding: var(--page-top) 14px 32px; }
    .balance-overview, .account-balance-sidebar, .account-credit-fields, .token-pricing-explanation { grid-template-columns: minmax(0, 1fr); }
    .balance-overview { gap: 12px; }
    .balance-stat { padding: 18px 20px; }
    .refresh-heading { align-items: flex-start; }
    .refresh-heading h1 { font-size: 26px; }
    .refresh-badge { display: none; }
    .account-credit-form { padding: 0 18px 20px; }
    .section-heading { padding: 18px; }
    .table-wrap { padding-left: 16px; padding-right: 16px; }
    .login-page { grid-template-columns: minmax(0, 1fr); }
    .login-promo { display: none; }
    .login-panel { min-width: 0; padding: 24px 16px; }
    .login-card { max-width: 100%; }
    .form-grid, .turnover-top-grid, .turnover-bottom-grid, .network-grid, .request-fields, .user-details { grid-template-columns: minmax(0, 1fr); }
    .home-dashboard .welcome-card h1 { font-size: 25px; }
    .home-dashboard .summary-card h2 { font-size: 19px; }
    .home-dashboard .welcome-card p { font-size: 14px; }
    .table-tools, .account-filters, .opportunity-filters, .report-filters { flex-wrap: wrap; }
    .table-tools input, .opportunity-filters input { min-width: 0; }
    .login-shell { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

