*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body.rfq-unified-page {
    background: #F8F9FA;
    color: #111827;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 40px 16px 80px
}

.wrap {
    max-width: 760px;
    margin: 0 auto
}

/* Hero */
.hero-rfq-section {
    padding: 20px 0 32px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 32px
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 10px
}

.hero-rfq-section h1 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px
}

.hero-rfq-section p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 560px
}

/* Progress */
.progress {
    margin-bottom: 28px
}

.bars {
    display: flex;
    gap: 3px;
    margin-bottom: 10px
}

.bar {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: #E5E7EB;
    transition: background .3s
}

.bar.on {
    background: #2563EB
}

.bar.active {
    background: #93C5FD
}

.step-labels {
    display: flex;
    gap: 3px
}

.step-lbl {
    flex: 1;
    font-size: 10px;
    font-weight: 500;
    color: #9CA3AF;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s
}

.step-lbl:hover {
    color: #2563EB
}

.step-lbl.on {
    color: #2563EB
}

.step-lbl.past {
    color: #6B7280;
    cursor: pointer
}

.step-lbl.past:hover {
    color: #2563EB
}

.step-lbl.on {
    color: #2563EB
}

/* Card */
.card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: clamp(20px, 4vw, 36px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

/* Section titles */
.sec-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 28px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2563EB;
    display: inline-block
}

.sec-title.first {
    margin-top: 0
}

.sec-sub {
    font-size: 13px;
    color: #6B7280;
    margin: -8px 0 16px;
    line-height: 1.5
}

/* Fields */
.field {
    margin-bottom: 16px
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px
}

.field label .req {
    color: #DC2626
}

.field .hint {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 6px;
    line-height: 1.4
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    color: #111827;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color .15s, box-shadow .15s
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1)
}

.field textarea {
    resize: vertical;
    line-height: 1.6
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

@media(max-width:560px) {

    .grid2,
    .grid3 {
        grid-template-columns: 1fr
    }
}

/* Unit input */
.input-unit {
    display: flex;
    align-items: stretch;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .15s
}

.input-unit:focus-within {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1)
}

.input-unit input {
    border: none;
    border-radius: 0;
    flex: 1;
    padding: 9px 12px;
    min-width: 0;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #111827;
    background: #fff
}

.unit-tag {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    background: #F9FAFB;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border-left: 1px solid #D1D5DB;
    text-transform: uppercase;
    user-select: none
}

/* Upload */
.upload-zone {
    border: 2px dashed #D1D5DB;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    background: #F9FAFB;
    transition: all .2s
}

.upload-zone:hover,
.upload-zone.has-file {
    border-color: #2563EB;
    background: #EFF6FF
}

.upload-txt {
    font-size: 14px;
    color: #374151;
    font-weight: 500
}

.upload-sub {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 4px
}

.upload-name {
    font-size: 14px;
    color: #2563EB;
    font-weight: 500
}

/* Chips */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.chip-lbl {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: block
}

.chip {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    background: #fff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .15s
}

.chip:hover {
    border-color: #2563EB;
    color: #2563EB;
    background: #EFF6FF
}

.chip.on {
    border-color: #2563EB;
    background: #2563EB;
    color: #fff;
    font-weight: 500
}

/* Toggles */
.toggle-pair {
    display: flex;
    gap: 8px;
    margin-bottom: 16px
}

.tog {
    flex: 1;
    padding: 9px 14px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #fff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-align: center;
    transition: all .2s
}

.tog:hover {
    border-color: #2563EB;
    color: #2563EB
}

.tog.on {
    border-color: #2563EB;
    background: #2563EB;
    color: #fff;
    font-weight: 500
}

.tog.on-green {
    border-color: #16A34A;
    background: #16A34A;
    color: #fff;
    font-weight: 500
}

/* Banners */
.banner {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 12px;
    line-height: 1.5
}

.banner-blue {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1D4ED8
}

.banner-green {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D
}

.banner-orange {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #C2410C
}

/* Divider */
.divider {
    height: 1px;
    background: #F3F4F6;
    margin: 24px 0
}

/* Quote type cards — v5 per-type colors */
.quote-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 0
}

@media(max-width:560px) {
    .quote-options {
        grid-template-columns: 1fr
    }
}

.quote-opt {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    transition: all .18s;
    text-align: left;
    font-family: 'Inter', sans-serif;
    position: relative
}

.quote-opt:hover {
    border-color: #93C5FD;
    background: #F0F7FF
}

.quote-opt.selected-bid {
    border-color: #2563EB;
    background: #EFF6FF;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1)
}

.quote-opt.selected-buy {
    border-color: #16A34A;
    background: #F0FDF4;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .1)
}

.quote-opt.selected-budgetary {
    border-color: #D97706;
    background: #FFFBEB;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, .1)
}

.quote-opt-icon {
    font-size: 18px;
    margin-bottom: 6px;
    display: block
}

.quote-opt-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    display: block;
    margin-bottom: 3px
}

.quote-opt-desc {
    font-size: 11px;
    color: #9CA3AF;
    line-height: 1.4
}

/* Bid intelligence panel — v5 */
.bid-intel {
    background: #0F172A;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    display: none
}

.bid-intel.visible {
    display: block
}

.bid-intel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(135deg, transparent 60%, rgba(37, 99, 235, .15));
    pointer-events: none
}

.bid-intel-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #64748B;
    margin-bottom: 14px
}

.bid-intel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

@media(max-width:600px) {
    .bid-intel-grid {
        grid-template-columns: 1fr
    }
}

.bid-intel label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #64748B;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .05em
}

.bid-intel select,
.bid-intel input[type=date],
.bid-intel input[type=text],
.bid-intel input[type=number] {
    width: 100%;
    padding: 8px 10px;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 7px;
    color: #F1F5F9;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color .15s;
    box-sizing: border-box
}

.bid-intel select:focus,
.bid-intel input:focus {
    border-color: #3B82F6
}

.bid-intel select option {
    background: #1E293B;
    color: #F1F5F9
}

.bid-intel .field-hidden {
    display: none
}

.bid-prefix-wrap {
    display: flex;
    align-items: stretch;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 7px;
    overflow: hidden
}

.bid-prefix-wrap:focus-within {
    border-color: #3B82F6
}

.bid-prefix-tag {
    font-size: 13px;
    color: #64748B;
    background: #0F172A;
    padding: 0 10px;
    display: flex;
    align-items: center;
    border-right: 1px solid #334155
}

.bid-prefix-wrap input {
    border: none;
    background: transparent;
    color: #F1F5F9;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 8px 10px;
    flex: 1;
    outline: none
}

.countdown-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #1E293B
}

.countdown-badge {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: all .3s
}

.badge-critical {
    background: #7F1D1D;
    color: #FCA5A5
}

.badge-high {
    background: #78350F;
    color: #FCD34D
}

.badge-standard {
    background: #1D4ED8;
    color: #BFDBFE
}

.badge-early {
    background: #14532D;
    color: #86EFAC
}

.badge-none {
    background: #1E293B;
    color: #64748B
}

.badge-buy {
    background: #14532D;
    color: #86EFAC
}

.countdown-text {
    font-size: 12px;
    color: #94A3B8
}

.countdown-days {
    font-size: 22px;
    font-weight: 700;
    color: #F1F5F9;
    line-height: 1
}

.countdown-unit {
    font-size: 10px;
    color: #64748B;
    display: block;
    margin-top: 1px
}

.triage-pill {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: .04em
}

.bid-intel .req {
    color: #F87171
}

/* Session header */
.session-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05)
}

.session-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: .02em
}

.session-agency-name {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2
}

.session-meta {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 3px;
    letter-spacing: .01em
}

.session-user {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
    padding-left: 16px;
    border-left: 1px solid #F3F4F6
}

.session-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #374151
}

.session-user-role {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9CA3AF;
    margin-top: 2px
}

.session-user-email {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 1px
}

.session-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #15803D;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    padding: 2px 8px;
    border-radius: 100px
}

/* Product selection cards */
.product-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-group-section {
    border-top: 1px solid #F3F4F6;
    padding-top: 24px;
}

.product-group-section:first-child {
    border-top: none;
    padding-top: 0;
}

.product-group-title {
    font-size: 11px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-group-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #F3F4F6;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 8px
}

@media(max-width:560px) {
    .product-grid {
        grid-template-columns: 1fr
    }
}

.product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, box-shadow .15s, background .15s;
    user-select: none;
    position: relative
}

.product-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .08)
}

.product-card.selected {
    border-color: #2563EB;
    background: #F8FBFF;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08)
}

.product-icon {
    width: 44px;
    height: 44px;
    border-radius: 9px;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s
}

.product-card.selected .product-icon {
    background: #DBEAFE
}

.product-info {
    flex: 1;
    min-width: 0
}

.product-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #2563EB;
    margin-bottom: 3px
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px
}

.product-sub {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.4
}

.product-card.selected .product-title {
    color: #1D4ED8
}

.product-check {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1.5px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .15s;
    background: #fff;
    position: absolute;
    top: 10px;
    right: 10px
}

.product-card.selected .product-check {
    border-color: #2563EB;
    background: #2563EB
}

.product-check svg {
    opacity: 0;
    transition: opacity .15s
}

.product-card.selected .product-check svg {
    opacity: 1
}

/* CB Table */
.cb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden
}

.cb-table th {
    padding: 9px 14px;
    background: #F9FAFB;
    color: #6B7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 1px solid #E5E7EB
}

.cb-table th:first-child {
    text-align: left
}

.cb-table td {
    padding: 8px 14px;
    border-bottom: 1px solid #F3F4F6;
    color: #111827
}

.cb-table tr:last-child td {
    border-bottom: none
}

.cb-table td:not(:first-child) {
    text-align: center
}

.cb-table input {
    width: 72px;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    color: #111827;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    outline: none
}

.cb-table input:focus {
    border-color: #2563EB
}

/* Product step header */
.product-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px 16px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 10px
}

.psh-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #fff;
    border: 1px solid #BFDBFE
}

.psh-info {
    flex: 1
}

.psh-title {
    font-size: 15px;
    font-weight: 700;
    color: #1D4ED8
}

.psh-sub {
    font-size: 12px;
    color: #3B82F6;
    margin-top: 1px
}

.psh-counter {
    font-size: 11px;
    font-weight: 600;
    color: #3B82F6;
    background: #DBEAFE;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap
}

/* Nav */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px
}

.nav-warn {
    font-size: 12px;
    color: #9CA3AF
}

.btn-cancel,
.btn-back {
    padding: 9px 20px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .15s;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center
}

.btn-cancel:hover,
.btn-back:hover {
    border-color: #9CA3AF;
    background: #F9FAFB
}

.btn-next {
    padding: 9px 24px;
    border-radius: 8px;
    background: #2563EB;
    border: none;
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.btn-next:hover:not(:disabled) {
    background: #1D4ED8;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .35)
}

.btn-next:disabled {
    opacity: .4;
    cursor: not-allowed
}

/* Success */
.success {
    text-align: center;
    padding: 48px 0
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #EFF6FF;
    border: 2px solid #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: #2563EB
}

.success h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px
}

.success p {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto
}

.success-products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px
}

.success-tag {
    font-size: 12px;
    font-weight: 600;
    color: #1D4ED8;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    padding: 4px 12px;
    border-radius: 20px
}

/* Review screen */
.review-section {
    margin-bottom: 28px
}

.review-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #4B5563;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F3F4F6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.review-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px
}

.review-card-icon {
    font-size: 18px
}

.review-edit-btn {
    font-size: 12px;
    font-weight: 600;
    color: #2563EB;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 6px;
    padding: 4px 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .15s
}

.review-edit-btn:hover {
    background: #DBEAFE
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 48px;
}

@media(max-width:540px) {
    .review-grid {
        grid-template-columns: 1fr
    }
}

.review-row {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-label {
    color: #6B7280;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 0;
}

.review-value {
    color: #111827;
    font-weight: 500;
    line-height: 1.5;
}

.review-value.empty {
    color: #D1D5DB;
    font-weight: 400;
    font-style: italic
}

.review-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px
}

.review-chip {
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    background: #E5E7EB;
    padding: 2px 10px;
    border-radius: 20px
}

.review-file {
    font-size: 12px;
    color: #2563EB;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px
}

.review-triage {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 8px
}

/* Quote ID bar */
.quote-id-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 16px;
    font-size: 12px
}

.quote-id-label {
    font-weight: 600;
    color: #374151;
    letter-spacing: .03em
}

.save-status {
    font-weight: 500
}

.cb-toggle-btn {
    background: none;
    border: none;
    color: #2563EB;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    padding: 2px 0;
    display: flex;
    align-items: center;
    gap: 4px
}

.cb-toggle-btn:hover {
    text-decoration: underline
}

footer {
    text-align: center;
    margin-top: 28px;
    font-size: 12px;
    color: #9CA3AF
}

.hidden {
    display: none !important
}

/* Enhanced Uploader */
.upload-zone {
    border: 2px dashed #D1D5DB;
    border-radius: 8px;
    padding: 30px 16px;
    text-align: center;
    cursor: pointer;
    background: #F9FAFB;
    transition: all .2s;
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-zone:hover {
    border-color: #2563EB;
    background: #EFF6FF;
}

.upload-zone.dragover {
    border-color: #2563EB;
    background: #DBEAFE;
    transform: scale(1.01);
}

.upload-icon {
    font-size: 28px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.upload-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(37, 99, 235, 0.1);
    border-top-color: #2563EB;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.upload-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #DC2626;
}

.error-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.error-txt {
    font-size: 14px;
    font-weight: 600;
}

.upload-preview-single {
    width: 100%;
    position: relative;
}

.upload-remove-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.upload-remove-btn:hover {
    background: #FEE2E2;
    color: #DC2626;
    border-color: #FCA5A5;
}

.preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.preview-content img {
    max-width: 120px;
    max-height: 80px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.file-icon {
    font-size: 32px;
}

/* Multi-file list below */
.upload-file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all .15s;
}

.upload-item:hover {
    border-color: #D1D5DB;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.upload-item-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.upload-item-info {
    flex: 1;
    min-width: 0;
}

.upload-item-name {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-item-size {
    font-size: 11px;
    color: #9CA3AF;
}

.upload-item-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    cursor: pointer;
    transition: all .15s;
    border: none;
    background: transparent;
}

.upload-item-remove:hover {
    background: #FEE2E2;
    color: #DC2626;
}

.hidden {
    display: none !important;
}

/* Review Table Styles */
.rv-table-wrap {
    width: 100%;
    margin-top: 8px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.rv-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: #374151;
}

.rv-table th {
    background: #F8F9FA;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: #4B5563;
    border-bottom: 1px solid #E5E7EB;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.rv-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #F3F4F6;
    vertical-align: middle;
}

.rv-table tr:last-child td {
    border-bottom: none;
}

.rv-table tbody tr:hover {
    background: #F9FAFB;
}

.rv-table tr:last-child td {
    border-bottom: none;
}

.rv-table td.muted {
    color: #D1D5DB;
    font-size: 12px;
}

.rv-table td.bold {
    font-weight: 500;
    color: #111827;
}

.rv-table tr:hover td {
    background: #FDFDFD;
}

/* Full-width review rows (breakers, files) */
.review-row--full {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
}

.review-row--full .review-label {
    margin-bottom: 6px;
}

/* File preview items in review — compact inline style */
.rv-file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
}

.rv-file-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 14px;
    transition: all 0.2s ease;
    width: fit-content;
    max-width: 100%;
}

.rv-file-item:hover {
    border-color: #2563EB;
    background: #F8FAFF;
}

.rv-file-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #E5E7EB;
    flex-shrink: 0;
}

.rv-file-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.rv-file-name {
    font-size: 12px;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

/* Breaker table always fills its row */
.review-row--full .rv-table-wrap {
    width: 100%;
}

.rv-show-more {
    display: inline-block;
    margin: 8px 16px 16px;
    padding: 0;
    background: none;
    border: none;
    color: #2563EB;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    font-family: inherit;
}

.rv-show-more:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

.rv-show-more:focus {
    text-decoration: underline;
}

/* Success page wrapper */
.rfq-success-page-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
}


/* Modern Datepicker Styling (Dropdown Only) */
.datepicker.datepicker-dropdown {
    padding: 12px !important;
    border-radius: 12px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    font-family: 'Inter', sans-serif !important;
    margin-top: 5px !important;
    background-color: #fff !important;
    z-index: 9999 !important;
}

.datepicker.datepicker-dropdown table {
    width: 100% !important;
}

.datepicker.datepicker-dropdown table tr td,
.datepicker.datepicker-dropdown table tr th {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    color: #374151 !important;
    border: none !important;
    text-align: center !important;
}

.datepicker.datepicker-dropdown table tr th {
    color: #6B7280 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
}

/* Faded dates for other months and disabled dates */
.datepicker.datepicker-dropdown table tr td.old,
.datepicker.datepicker-dropdown table tr td.new,
.datepicker.datepicker-dropdown table tr td.disabled,
.datepicker.datepicker-dropdown table tr td.disabled:hover {
    color: #9CA3AF !important;
    background: transparent !important;
    cursor: default !important;
    opacity: 0.3 !important;
}

.datepicker.datepicker-dropdown table tr td.today {
    background-color: #EFF6FF !important;
    color: #2563EB !important;
    font-weight: 700 !important;
}

.datepicker.datepicker-dropdown table tr td.active,
.datepicker.datepicker-dropdown table tr td.active:hover {
    background-color: #2563EB !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.datepicker.datepicker-dropdown table tr td:hover:not(.disabled):not(.active) {
    background-color: #F3F4F6 !important;
}

.datepicker.datepicker-dropdown .datepicker-switch {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #111827 !important;
    cursor: pointer !important;
}

.datepicker.datepicker-dropdown .prev,
.datepicker.datepicker-dropdown .next {
    color: #6B7280 !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

.datepicker-dropdown:after {
    border-bottom: 6px solid #fff !important;
}