/**
 * Riselabs Calculator Styles
 * Version: 2.1.0
 * Dashboard-style interactive calculator with optimized layout
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
.rlc-calculator-wrapper {
    --rlc-primary: #00a9f2;
    --rlc-secondary: #cb39ef;
    --rlc-bg-dark: #0a0a0a;
    --rlc-bg-card: #1a1a1a;
    --rlc-border: #2a2a2a;
    --rlc-text: #ffffff;
    --rlc-text-muted: #9ca3af;
    --rlc-transition: 0.3s ease;
}

/* ============================================
   BASE WRAPPER & CONTAINER
   ============================================ */
.rlc-calculator-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 40px auto;
    color: var(--rlc-text);
    max-width: 1200px;
    padding: 0 20px;
    box-sizing: border-box;
}

.rlc-calculator-wrapper *,
.rlc-calculator-wrapper *::before,
.rlc-calculator-wrapper *::after {
    box-sizing: border-box;
}

.rlc-container {
    background: var(--rlc-bg-dark);
    border-radius: 16px;
    border: 1px solid var(--rlc-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.rlc-header {
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    color: white;
    padding: 28px 32px;
    text-align: center;
}

.rlc-header h1,
.rlc-header h2 {
    font-size: 26px;
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.3;
}

.rlc-header p {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   CONTENT & MAIN GRID LAYOUT
   ============================================ */
.rlc-content {
    padding: 24px;
}

/* Main 2-column grid: 55% inputs / 45% results */
.rlc-calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* ============================================
   LEFT COLUMN: INPUTS SECTION
   ============================================ */
.rlc-inputs-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Two-column rows for Team+Time and Value+Impact */
.rlc-two-column-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ============================================
   SECTION CARDS
   ============================================ */
.rlc-section {
    background: var(--rlc-bg-card);
    border-radius: 10px;
    border: 1px solid var(--rlc-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.rlc-section:hover {
    border-color: rgba(0, 169, 242, 0.4);
    box-shadow: 0 0 25px rgba(0, 169, 242, 0.15), inset 0 0 30px rgba(0, 169, 242, 0.03);
}

.rlc-section:hover .rlc-section-title {
    color: #00d4ff;
}

.rlc-section-header {
    padding: 12px 16px;
}

.rlc-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rlc-primary);
}

.rlc-section-content {
    padding: 0 16px 16px;
}

/* Task section spans full width */
.rlc-task-section {
    grid-column: 1 / -1;
}

/* ============================================
   INPUT GROUPS
   ============================================ */
.rlc-input-group {
    margin-bottom: 12px;
}

.rlc-input-group:last-child {
    margin-bottom: 0;
}

.rlc-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #d1d5db;
    font-size: 12px;
}

.rlc-helper-text {
    display: block;
    font-size: 11px;
    color: var(--rlc-text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

/* ============================================
   TASK BUTTONS
   ============================================ */
.rlc-task-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.rlc-task-btn {
    padding: 10px 8px;
    border: 1px solid var(--rlc-border);
    border-radius: 6px;
    background: var(--rlc-bg-dark);
    color: #d1d5db;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.rlc-task-btn:hover {
    border-color: var(--rlc-primary);
    background: rgba(0, 169, 242, 0.05);
}

.rlc-task-btn-active {
    border-color: var(--rlc-primary);
    background: linear-gradient(135deg, rgba(0, 169, 242, 0.15) 0%, rgba(203, 57, 239, 0.15) 100%);
    color: #ffffff;
}

.rlc-task-btn-label {
    display: block;
    line-height: 1.2;
}

/* ============================================
   SLIDER INPUTS
   ============================================ */
.rlc-slider-input {
    position: relative;
}

.rlc-slider-input input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--rlc-border);
    outline: none;
    -webkit-appearance: none;
    margin: 8px 0;
}

.rlc-slider-input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 169, 242, 0.4);
    transition: transform 0.15s ease;
}

.rlc-slider-input input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.rlc-slider-input input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 169, 242, 0.4);
}

.rlc-slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    color: var(--rlc-text-muted);
}

.rlc-slider-current {
    font-weight: 700;
    color: var(--rlc-text);
    font-size: 12px;
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Team Visual (emoji people) */
.rlc-team-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 6px;
    min-height: 24px;
}

.rlc-person-icon {
    font-size: 16px;
    animation: rlcPopIn 0.2s ease;
}

@keyframes rlcPopIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Time Summary */
.rlc-time-summary {
    background: rgba(0, 169, 242, 0.08);
    border-radius: 6px;
    padding: 8px 10px;
    margin-top: 10px;
}

.rlc-time-calc {
    font-size: 12px;
    font-weight: 600;
    color: var(--rlc-primary);
}

/* ============================================
   QUICK PICK BUTTONS
   ============================================ */
.rlc-quick-picks {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rlc-quick-pick {
    flex: 1;
    min-width: 40px;
    padding: 8px 6px;
    border: 1px solid var(--rlc-border);
    border-radius: 6px;
    background: var(--rlc-bg-dark);
    color: var(--rlc-text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.rlc-quick-pick:hover {
    border-color: var(--rlc-primary);
    color: var(--rlc-text);
}

.rlc-quick-pick-active {
    border-color: var(--rlc-primary);
    background: rgba(0, 169, 242, 0.1);
    color: var(--rlc-text);
}

/* Custom Value Input */
.rlc-custom-value {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rlc-custom-value label {
    font-size: 11px;
    color: var(--rlc-text-muted);
    margin: 0;
    white-space: nowrap;
}

.rlc-input-with-prefix {
    position: relative;
    flex: 1;
}

.rlc-input-prefix {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rlc-text-muted);
    font-size: 13px;
    pointer-events: none;
}

.rlc-input-with-prefix input {
    width: 100%;
    padding: 8px 10px 8px 26px;
    border: 1px solid var(--rlc-border);
    border-radius: 6px;
    background: var(--rlc-bg-dark);
    color: var(--rlc-text);
    font-size: 13px;
}

.rlc-input-with-prefix input:focus {
    outline: none;
    border-color: var(--rlc-primary);
}

/* ============================================
   IMPACT SELECTOR
   ============================================ */
.rlc-impact-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.rlc-impact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    border: 1px solid var(--rlc-border);
    border-radius: 6px;
    background: var(--rlc-bg-dark);
    cursor: pointer;
    transition: all 0.15s ease;
}

.rlc-impact-btn:hover {
    border-color: var(--rlc-primary);
    background: rgba(0, 169, 242, 0.05);
}

.rlc-impact-btn-active {
    border-color: var(--rlc-primary);
    background: rgba(0, 169, 242, 0.1);
}

.rlc-impact-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.rlc-impact-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--rlc-text-muted);
    text-transform: uppercase;
}

.rlc-impact-btn-active .rlc-impact-label {
    color: var(--rlc-text);
}

/* ============================================
   RIGHT COLUMN: RESULTS SECTION
   ============================================ */
.rlc-results-section {
    background: linear-gradient(135deg, rgba(0, 169, 242, 0.05) 0%, rgba(203, 57, 239, 0.05) 100%);
    border: 1px solid rgba(0, 169, 242, 0.2);
    border-radius: 12px;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.rlc-results-inner {
    padding: 24px;
}

/* Big Number Display */
.rlc-big-result {
    text-align: center;
    margin-bottom: 24px;
}

.rlc-big-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rlc-text-muted);
    margin-bottom: 8px;
}

.rlc-big-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    transition: transform 0.15s ease;
}

.rlc-big-number.rlc-number-updating {
    transform: scale(1.02);
}

.rlc-currency,
.rlc-amount {
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: filter 0.3s ease;
}

.rlc-number-updating .rlc-amount {
    filter: brightness(1.2);
}

.rlc-period {
    font-size: 18px;
    font-weight: 400;
    color: var(--rlc-text-muted);
}

.rlc-big-subtitle {
    font-size: 12px;
    color: var(--rlc-text-muted);
}

/* Breakdown Bars */
.rlc-breakdown {
    margin-bottom: 20px;
}

.rlc-breakdown-item {
    margin-bottom: 12px;
}

.rlc-breakdown-item:last-child {
    margin-bottom: 0;
}

.rlc-breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.rlc-breakdown-label {
    font-size: 11px;
    color: var(--rlc-text-muted);
}

.rlc-breakdown-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--rlc-text);
}

.rlc-breakdown-bar {
    height: 8px;
    background: var(--rlc-border);
    border-radius: 4px;
    overflow: hidden;
}

.rlc-breakdown-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.rlc-fill-time {
    background: linear-gradient(90deg, var(--rlc-primary) 0%, #00d4ff 100%);
}

.rlc-fill-revenue {
    background: linear-gradient(90deg, var(--rlc-secondary) 0%, #ff6b9d 100%);
}

/* ============================================
   CALCULATION BREAKDOWN (How is this calculated?)
   ============================================ */
.rlc-calculation-breakdown {
    margin-top: 16px;
    margin-bottom: 16px;
}

.rlc-breakdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rlc-breakdown-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.rlc-breakdown-toggle-icon {
    font-size: 14px;
}

.rlc-breakdown-toggle-text {
    flex: 1;
    text-align: left;
    font-weight: 500;
}

.rlc-breakdown-toggle-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.rlc-breakdown-toggle[aria-expanded="true"] .rlc-breakdown-toggle-arrow {
    transform: rotate(180deg);
}

.rlc-breakdown-content {
    margin-top: 12px;
    animation: rlcSlideDown 0.3s ease;
}

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

.rlc-breakdown-steps {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
}

.rlc-breakdown-step {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.rlc-breakdown-step:last-of-type {
    margin-bottom: 0;
}

.rlc-breakdown-step-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 11px;
}

.rlc-breakdown-step-content {
    flex: 1;
}

.rlc-breakdown-step-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    margin-bottom: 2px;
}

.rlc-breakdown-step-value {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
}

.rlc-breakdown-step-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.rlc-breakdown-result {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.rlc-breakdown-result-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rlc-breakdown-result-value {
    color: var(--rlc-secondary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.rlc-breakdown-result-formula {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.rlc-breakdown-context-box {
    margin-top: 12px;
    padding: 14px;
    background: rgba(0, 169, 242, 0.08);
    border: 1px solid rgba(0, 169, 242, 0.2);
    border-radius: 8px;
}

.rlc-breakdown-context-title {
    color: var(--rlc-primary);
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 8px;
}

.rlc-breakdown-context-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.rlc-breakdown-context-box p:last-child {
    margin-bottom: 0;
}

.rlc-breakdown-context-box strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.rlc-breakdown-conservative {
    font-style: italic;
    opacity: 0.9;
}

/* ============================================
   SOLUTION PANEL (Recovery Section)
   ============================================ */
.rlc-solution-panel {
    background: linear-gradient(135deg, rgba(0, 169, 242, 0.08) 0%, rgba(203, 57, 239, 0.08) 100%);
    border: 1px solid rgba(0, 169, 242, 0.25);
    border-radius: 12px;
    padding: 20px;
    margin-top: 4px;
}

/* Solution Header */
.rlc-solution-header {
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rlc-solution-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--rlc-text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rlc-recovery-highlight {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.rlc-recovery-label {
    font-size: 12px;
    color: var(--rlc-text-muted);
}

.rlc-recovery-value {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rlc-recovery-period {
    font-size: 14px;
    color: var(--rlc-text-muted);
}

/* Time Comparison */
.rlc-time-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.rlc-comparison-item {
    text-align: center;
}

.rlc-comparison-label {
    display: block;
    font-size: 10px;
    color: var(--rlc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.rlc-comparison-value {
    font-size: 16px;
    font-weight: 700;
}

.rlc-comparison-old {
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.8;
}

.rlc-comparison-new {
    color: #22c55e;
}

.rlc-comparison-arrow {
    font-size: 20px;
    color: var(--rlc-primary);
}

/* Tool Benefits List */
.rlc-tool-benefits {
    margin-bottom: 16px;
}

.rlc-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rlc-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #d1d5db;
    line-height: 1.4;
}

.rlc-benefit-icon {
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* FTE Context */
.rlc-fte-context {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 169, 242, 0.1);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
}

.rlc-fte-icon {
    font-size: 16px;
}

.rlc-fte-text {
    font-size: 12px;
    color: var(--rlc-text-muted);
}

.rlc-fte-text strong {
    color: var(--rlc-text);
    font-weight: 700;
}

/* Solution CTAs */
.rlc-solution-cta {
    text-align: center;
}

.rlc-cta-intro {
    font-size: 12px;
    color: var(--rlc-text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.rlc-solution-cta .rlc-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.rlc-solution-cta .rlc-btn:last-child {
    margin-bottom: 0;
}

.rlc-btn {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.rlc-btn-primary {
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    color: white;
}

.rlc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 169, 242, 0.4);
}

.rlc-btn-secondary {
    background: transparent;
    color: var(--rlc-text);
    border: 1px solid var(--rlc-border);
}

.rlc-btn-secondary:hover {
    background: var(--rlc-bg-card);
    border-color: var(--rlc-primary);
}

/* Footer Note */
.rlc-footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 11px;
    color: var(--rlc-text-muted);
}

/* ============================================
   MOBILE STICKY HEADER
   ============================================ */
.rlc-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--rlc-primary) 0%, var(--rlc-secondary) 100%);
    padding: 12px 16px;
    display: none;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.rlc-sticky-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rlc-sticky-label {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.rlc-sticky-value {
    font-size: 20px;
    font-weight: 800;
}

.rlc-sticky-hint {
    font-size: 11px;
    opacity: 0.8;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes rlcPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.rlc-updating .rlc-amount {
    animation: rlcPulse 0.3s ease;
}

/* ============================================
   TABLET (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .rlc-calculator-wrapper {
        padding: 0 16px;
    }

    .rlc-calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rlc-results-section {
        position: relative;
        top: 0;
    }

    .rlc-task-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   MOBILE (< 768px)
   ============================================ */
@media (max-width: 768px) {
    .rlc-calculator-wrapper {
        margin: 0;
        padding: 0;
        padding-top: 56px; /* Space for sticky header */
    }

    .rlc-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .rlc-header {
        padding: 20px;
    }

    .rlc-header h1,
    .rlc-header h2 {
        font-size: 20px;
    }

    .rlc-content {
        padding: 16px;
    }

    /* Hide sticky header - conflicts with site navigation */
    .rlc-sticky-header {
        display: none;
    }

    /* Stack the two-column rows */
    .rlc-two-column-row {
        grid-template-columns: 1fr;
    }

    /* Task buttons 2 columns on mobile */
    .rlc-task-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Impact selector 2x2 on mobile */
    .rlc-impact-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .rlc-impact-btn {
        padding: 10px 6px;
    }

    .rlc-impact-icon {
        font-size: 22px;
    }

    .rlc-impact-label {
        font-size: 10px;
    }

    /* Results panel adjustments */
    .rlc-results-inner {
        padding: 20px;
    }

    .rlc-big-number {
        font-size: 34px;
    }

    .rlc-period {
        font-size: 14px;
    }

    .rlc-recovery-value {
        font-size: 22px;
    }

    /* Full width buttons */
    .rlc-btn {
        width: 100%;
    }

    /* Custom value stacked */
    .rlc-custom-value {
        flex-direction: column;
        align-items: stretch;
    }

    .rlc-custom-value label {
        margin-bottom: 6px;
    }
}

/* ============================================
   SMALL MOBILE (< 400px)
   ============================================ */
@media (max-width: 400px) {
    .rlc-task-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .rlc-task-btn {
        font-size: 11px;
        padding: 8px 6px;
    }

    .rlc-quick-picks {
        flex-wrap: wrap;
    }

    .rlc-quick-pick {
        min-width: calc(33% - 4px);
    }
}

/* ============================================
   LARGE DESKTOP (> 1200px)
   ============================================ */
@media (min-width: 1200px) {
    .rlc-big-number {
        font-size: 48px;
    }

    .rlc-task-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}
