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

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

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

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

.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: 48px !important;
}

.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 !important;
}

.bar.active {
    background: #93C5FD !important;
}

.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
}

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

/* 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
}

.quote-type-content {
    margin-top: 32px !important;
}

/* 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[type=text], .field input[type=date], .field input[type=number], .field select, .field textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #111827 !important;
    transition: all .2s !important;
    background: #fff !important;
    font-family: Inter, sans-serif !important;
    height: 42px !important;
}

/* Select2 Overrides */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 42px !important;
    padding: 6px 14px !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #111827 !important;
    font-size: 14px !important;
    padding-left: 0 !important;
    line-height: 28px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 8px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #2563EB !important;
}

.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: 1fr 1fr;
    gap: 16px
}

.grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 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 */
.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 */
.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: 1fr 1fr 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 12px;
    background: #1E293B !important;
    border: 1px solid #334155 !important;
    border-radius: 8px;
    color: #F1F5F9 !important;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color .15s;
    box-sizing: border-box;
    height: 40px !important;
}

/* Dark Select2 for Bid Intel */
.bid-intel .select2-container--default .select2-selection--single {
    background-color: #1E293B !important;
    border: 1px solid #334155 !important;
    height: 40px !important;
}

.bid-intel .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #F1F5F9 !important;
    line-height: 38px !important;
}

.bid-intel .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #64748B transparent transparent transparent !important;
}

.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 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px
}

.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: .08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #F3F4F6
}

.review-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    position: relative
}

.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: 1fr 1fr;
    gap: 8px 24px
}

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

.review-row {
    font-size: 13px
}

.review-label {
    color: #6B7280;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 2px
}

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

.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
}

/* Tooltips */
.label-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.label-wrap label {
    margin-bottom: 0 !important;
    display: inline-block !important;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    cursor: help;
    position: relative;
    font-size: 14px;
    transition: color .2s;
}

.info-icon:hover {
    color: #2563EB;
}

.tooltip {
    visibility: hidden;
    width: 220px;
    background: #111827;
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 10px 14px;
    position: absolute;
    z-index: 100;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.2s ease;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    pointer-events: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    white-space: normal;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #111827 transparent transparent transparent;
}

.info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
    bottom: 130%;
}
/* ══════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════ */
.rfq-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.rfq-modal {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    animation: rfqModalFadeIn 0.3s ease-out;
}

@keyframes rfqModalFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.rfq-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #F3F4F6;
}

.rfq-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.rfq-modal-body {
    padding: 24px;
}

.rfq-modal-body p {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rfq-modal-draft-preview {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
}

.rfq-modal-draft-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9CA3AF;
    margin-bottom: 10px;
}

.rfq-modal-draft-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rfq-modal-draft-chip {
    font-size: 11px;
    font-weight: 600;
    color: #2563EB;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    padding: 4px 10px;
    border-radius: 6px;
}

.rfq-modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.rfq-modal-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rfq-modal-btn--secondary {
    background: #fff;
    border: 1px solid #D1D5DB;
    color: #374151;
}

.rfq-modal-btn--secondary:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
}

.rfq-modal-btn--primary {
    background: #2563EB;
    border: none;
    color: #fff;
}

.rfq-modal-btn--primary:hover {
    background: #1D4ED8;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.rfq-modal--wide {
    max-width: 600px;
}

.rfq-draft-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}

.rfq-draft-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.2s;
    gap: 16px;
}

.rfq-draft-item:hover {
    border-color: #2563EB;
    background: #F8FBFF;
}

.rfq-draft-item-main {
    flex: 1;
    min-width: 0;
}

.rfq-draft-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rfq-draft-item-code {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.rfq-draft-item-date {
    font-size: 11px;
    color: #6B7280;
}

.rfq-modal-btn--sm {
    padding: 6px 14px;
    font-size: 12px;
    white-space: nowrap;
}
