/* Corporate Glassmorphism Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-navy: #0f172a;
    --brand-blue: #2563eb;
    --brand-blue-hover: #1d4ed8;
    --light-blue: #eff6ff;
    --border-glass: rgba(255, 255, 255, 0.5);
    --bg-glass: rgba(255, 255, 255, 0.75);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --success-muted: #10b981;
    --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-main);
    min-height: 100vh;
    padding-top: 64px;
}

/* ========== STICKY HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.header-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-navy);
    letter-spacing: -0.02em;
}

.header-brand-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.header-nav-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== INTRO BANNER ========== */
.intro-banner {
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--primary-navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.8rem;
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.footer-brand {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.footer-links span {
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-links span:hover {
    color: #ffffff;
}

.footer-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Glassmorphism Components */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.glass-header {
    background: rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid var(--border-glass);
    padding: 1.25rem 1.5rem;
}

.glass-header h4 {
    color: var(--primary-navy);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Criteria Styles */
.criteria-list {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 1rem;
    min-height: 320px;
    border: 1px solid var(--border-glass);
}

/* Animated wave for empty ranked requirements drop zone */
@keyframes waveDrift {
    0%   { background-position: 0px center; }
    100% { background-position: 700px center; }
}

#selected-criteria.empty-drop-zone {
    background: rgba(239, 246, 255, 0.18);
    border: 1.5px dashed rgba(147, 197, 253, 0.35);
    background-image:
        radial-gradient(ellipse 120px 18px at 50% 50%, rgba(147,197,253,0.07) 0%, transparent 100%),
        radial-gradient(ellipse 180px 14px at 50% 50%, rgba(147,197,253,0.05) 0%, transparent 100%);
    background-size: 350px 40px, 350px 40px;
    background-repeat: repeat-x;
    animation: waveDrift 14s linear infinite;
}

#selected-criteria.empty-drop-zone #empty-message i {
    color: var(--brand-blue);
    opacity: 0.3;
}

#selected-criteria.empty-drop-zone #empty-message .small {
    color: #64748b;
}

.criteria-item {
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.criteria-item.available {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.criteria-item.available:hover {
    background: var(--light-blue);
    border-color: var(--brand-blue);
    transform: translateX(4px);
    color: var(--brand-blue);
}

.criteria-item.selected {
    position: relative;
    background: #fff;
    border: 1px solid var(--brand-blue);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
}

.criteria-item .fa-plus {
    color: var(--brand-blue) !important;
}

/* Priority Label Styles (With shading) */
.feature-slider-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-slider-item:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-slider-item.nice-to-have { 
    border-left: 4px solid #93c5fd; 
    background-color: #f0f7ff;
}

.feature-slider-item.very-important { 
    border-left: 4px solid #3b82f6; 
    background-color: #e0efff;
}

.feature-slider-item.must-have { 
    border-left: 4px solid #1e3a8a; 
    background-color: #d0e6ff;
}

.priority-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-blue);
    font-weight: 700;
}

.feature-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.feature-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brand-blue);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Legend Styling */
.priority-legend {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-glass);
    padding: 1rem;
    border-radius: 12px;
}

.legend-track-wrapper .row {
    position: relative;
}

.legend-track-wrapper .row::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(to right, #e2e8f0, #93c5fd, #3b82f6, #1e3a8a);
    border-radius: 2px;
    z-index: 0;
}

.legend-color {
    width: 46px;
    height: 18px;
    border-radius: 9px;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
    border: 2.5px solid rgba(255, 255, 255, 0.95);
}

.unset-legend { background: #e2e8f0; }
.nice-to-have-legend { background: #93c5fd; }
.very-important-legend { background: #3b82f6; }
.must-have-legend { background: #1e3a8a; }

/* Search Input */
.search-bar-wrapper {
    position: relative;
}

.search-bar-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    z-index: 1;
    pointer-events: none;
}

.feature-search {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.feature-search::placeholder {
    color: var(--text-muted);
}

.feature-search:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Corporate Form Controls */
.corporate-input {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--primary-navy);
    transition: all 0.2s ease;
}

.corporate-input::placeholder {
    color: #94a3b8;
}

.corporate-input:focus {
    background: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
    color: var(--primary-navy);
}

.corporate-input:disabled {
    background: #f1f5f9;
    color: #94a3b8;
}

/* ========== PREFERRED CONTACT METHOD ========== */
.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 767px) {
    .contact-method-grid {
        grid-template-columns: 1fr;
    }
}

.contact-method-card {
    display: block;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.contact-method-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.contact-method-card:has(.contact-method-check:checked) {
    border-color: var(--brand-blue);
    background: rgba(37, 99, 235, 0.04);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.contact-method-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-method-check {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.contact-method-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--light-blue);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-method-card:has(.contact-method-check:checked) .contact-method-icon {
    background: var(--brand-blue);
    color: #fff;
}

.contact-method-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.contact-method-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary-navy);
}

.contact-method-desc {
    font-size: 0.78rem;
    color: #94a3b8;
}

.contact-method-schedule {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.schedule-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

/* Schedule selected display */
.schedule-selected-display {
    display: flex;
    align-items: center;
    background: var(--light-blue);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--brand-blue);
    font-weight: 600;
}

.schedule-selected-text {
    flex: 1;
}

.schedule-clear-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 0 0 8px;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.schedule-clear-btn:hover {
    color: #ef4444;
}

/* Mini Calendar Widget */
.mini-calendar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    user-select: none;
}

.mini-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mini-cal-month-year {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary-navy);
}

.mini-cal-nav {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 0.7rem;
    transition: all 0.15s ease;
}

.mini-cal-nav:hover {
    background: var(--light-blue);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.mini-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 4px;
}

.mini-cal-weekdays span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    padding: 4px 0;
}

.mini-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.mini-cal-day {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--primary-navy);
}

.mini-cal-day:hover:not(.disabled):not(.selected) {
    background: var(--light-blue);
    color: var(--brand-blue);
}

.mini-cal-day.today:not(.selected) {
    border: 1.5px solid var(--brand-blue);
    font-weight: 700;
}

.mini-cal-day.selected {
    background: var(--brand-blue);
    color: #fff;
    font-weight: 700;
}

.mini-cal-day.disabled {
    color: #cbd5e1;
    cursor: default;
    opacity: 0.4;
}

.mini-cal-day.other-month {
    color: #cbd5e1;
}

/* Time slot pills */
.mini-cal-times {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.mini-cal-times.active {
    opacity: 1;
    pointer-events: auto;
}

.mini-cal-time {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mini-cal-time:hover:not(.selected) {
    background: var(--light-blue);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.mini-cal-time.selected {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

/* ========== CUSTOM SELECT DROPDOWNS ========== */
.custom-select-wrapper {
    position: relative;
}

.custom-select-trigger,
.custom-select-trigger * {
    background: transparent !important;
    background-color: transparent !important;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff !important;
    background-color: #fff !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--primary-navy);
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-align: left;
    outline: none;
}

.custom-select-trigger:hover {
    border-color: #86b7fe;
}

.custom-select-trigger:focus,
.custom-select-wrapper.open .custom-select-trigger {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.custom-select-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-value.placeholder {
    color: #94a3b8;
}

.custom-select-arrow {
    font-size: 0.7rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
    color: var(--brand-blue);
}

.custom-select-dropdown {
    position: absolute;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    padding: 6px;
    z-index: 9999;
    max-height: 260px;
    overflow-y: auto;
    display: none;
}

.custom-select-option {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.custom-select-option:hover {
    background: var(--light-blue);
    color: var(--brand-blue);
}

.custom-select-option.selected {
    background: var(--brand-blue);
    color: #ffffff;
    font-weight: 600;
}

.custom-select-option.selected i {
    opacity: 1 !important;
}

.corporate-btn-group .btn {
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.corporate-btn-group .btn:hover {
    background: var(--light-blue);
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.corporate-btn-group .btn-check:checked + .btn {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.form-label {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    letter-spacing: 0.025em;
}

/* Scroll Container */
.features-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--border-glass) !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Rank Float Animation */
@keyframes rankFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(0.5);
    }
    30% {
        opacity: 1;
        transform: translateY(-10px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
    }
}

.rank-float {
    position: absolute;
    left: 12px;
    top: -5px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-blue);
    pointer-events: none;
    animation: rankFloat 0.8s ease-out forwards;
    z-index: 10;
}

/* Rankings & Handles */
.rank-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-blue);
    background: var(--light-blue);
    padding: 2px 8px;
    border-radius: 6px;
}

.drag-handle {
    color: var(--text-muted);
}

/* 3D Timeline Styles */
#timeline-3d-container canvas {
    display: block;
    outline: none;
}

#timeline-nav-stack {
    background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0));
    height: 100%;
    width: 340px;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .timeline-card-body {
        height: auto !important;
        display: flex;
        flex-direction: column;
    }
    
    #timeline-3d-container {
        height: 250px !important;
        order: 2;
        margin-top: 0rem;
    }
    
    #timeline-nav-stack {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        background: none !important;
        padding: 1rem !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .timeline-nav-btn.vertical {
        min-width: 0;
        width: 100% !important;
        transform: none !important;
        margin-bottom: 0;
        padding: 0.75rem !important;
    }
    
    .timeline-nav-btn.vertical .small {
        display: none !important;
    }

    .timeline-nav-btn.vertical i {
        margin-right: 0.5rem !important;
    }
    
    .timeline-nav-btn.vertical:hover,
    .timeline-nav-btn.vertical.active {
        transform: translateY(-4px) !important;
    }
}

.timeline-nav-btn.vertical {
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    color: var(--text-main);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.timeline-nav-btn.vertical i {
    font-size: 1.25rem;
    color: var(--brand-blue);
    opacity: 0.8;
}

.timeline-nav-btn.vertical:hover {
    background: #fff;
    border-color: var(--brand-blue);
    transform: translateX(8px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.timeline-nav-btn.vertical.active {
    background: var(--brand-blue) !important;
    color: #fff !important;
    border-color: var(--brand-blue) !important;
    transform: translateX(12px);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.timeline-nav-btn.vertical.active i {
    color: #fff;
    opacity: 1;
}

.timeline-nav-btn.vertical .small {
    color: var(--text-muted);
}

.timeline-nav-btn.vertical.active .small {
    color: rgba(255, 255, 255, 0.85);
}

/* ========== ASSESSMENT SUMMARY ========== */
.summary-card {
    transition: opacity 0.5s ease;
}

.summary-accent-bar {
    height: 4px;
    background: linear-gradient(to right, #1e3a8a, #3b82f6, #93c5fd);
}

.summary-col {
    position: relative;
}

/* Dashed divider between columns on desktop */
@media (min-width: 768px) {
    .summary-col:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 4px;
        right: -0.75rem;
        width: 1px;
        height: calc(100% - 8px);
        border-right: 2px dashed #e2e8f0;
    }

    .summary-col:not(:first-child) {
        padding-left: 1.25rem;
    }
}

/* Dashed divider between columns on mobile (horizontal) */
@media (max-width: 767px) {
    .summary-col:not(:last-child) {
        padding-bottom: 0.75rem;
        margin-bottom: 0.5rem;
        border-bottom: 2px dashed #e2e8f0;
    }
}

.summary-col-header {
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-col-body {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.25rem 0;
}

.summary-empty-state {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.6;
}

/* Edit / jump-back button */
.summary-edit-btn {
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.5;
}

.summary-edit-btn:hover {
    color: var(--brand-blue);
    background: var(--light-blue);
    border-color: var(--brand-blue);
    opacity: 1;
}

/* Timeline badge in summary */
.summary-timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-blue);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.summary-timeline-badge i {
    opacity: 0.8;
}

/* Priority items in summary */
.summary-priority-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--text-main);
}

.summary-priority-rank {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 800;
    font-size: 0.8rem;
    min-width: 28px;
    text-align: center;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Capability items in summary */
.summary-capability-group {
    margin-bottom: 0.5rem;
}

.summary-capability-group:last-child {
    margin-bottom: 0;
}

.summary-capability-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.summary-capability-label.must-have-label {
    color: #1e3a8a;
    background: #d0e6ff;
}

.summary-capability-label.important-label {
    color: #1d4ed8;
    background: #e0efff;
}

.summary-capability-label.nice-to-have-label {
    color: #3b82f6;
    background: #f0f7ff;
}

.summary-capability-name {
    font-size: 0.8rem;
    color: var(--text-main);
    padding: 0.15rem 0 0.15rem 0.75rem;
    border-left: 2px solid #e2e8f0;
    margin-left: 0.25rem;
}
