:root {
    --bg: #040608;
    --bg2: #0a0d12;
    --card: #0e1318;
    --border: #1a2030;
    --primary: #00e5ff;
    --primary-dim: #00e5ff33;
    --accent: #ff6b2b;
    --accent2: #a855f7;
    --success: #00e676;
    --warn: #ffea00;
    --fail: #ff1744;
    --text: #e8eaf0;
    --muted: #4a5568;
    --font: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    user-select: none;
}

/* ─── TOTEM FULLSCREEN ─── */
#totem-root {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Scanlines overlay */
#totem-root::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,229,255,0.015) 2px, rgba(0,229,255,0.015) 4px);
    pointer-events: none;
    z-index: 999;
}

/* ─── IDLE SCREEN ─── */
#screen-idle {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #0a1628 0%, #040608 70%);
    cursor: pointer;
    z-index: 10;
}

.idle-logo {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--primary);
    text-shadow: 0 0 40px var(--primary), 0 0 80px rgba(0,229,255,0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

.idle-sub {
    font-size: clamp(12px, 1.8vw, 18px);
    color: var(--muted);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 12px;
}

.idle-tap {
    margin-top: 60px;
    padding: 20px 50px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    animation: tap-breathe 2s ease-in-out infinite;
    background: rgba(0,229,255,0.05);
}

.idle-rings {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(0,229,255,0.08);
    animation: ring-expand 4s linear infinite;
}
.idle-rings:nth-child(2) { animation-delay: 1.3s; }
.idle-rings:nth-child(3) { animation-delay: 2.6s; }

@keyframes pulse-glow {
    0%,100% { text-shadow: 0 0 40px var(--primary), 0 0 80px rgba(0,229,255,0.3); }
    50% { text-shadow: 0 0 60px var(--primary), 0 0 120px rgba(0,229,255,0.5); }
}
@keyframes tap-breathe {
    0%,100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}
@keyframes ring-expand {
    0% { transform: scale(0.3); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

/* ─── MAIN SCREEN ─── */
#screen-main {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
}

/* ─── TOP BAR ─── */
.top-bar {
    height: 60px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 20px;
    z-index: 50;
    flex-shrink: 0;
}

.brand-logo {
    font-weight: 900;
    font-size: 18px;
    color: var(--primary);
    letter-spacing: 2px;
    text-shadow: 0 0 20px var(--primary-dim);
}

.step-indicators {
    display: flex;
    gap: 8px;
    margin-left: auto;
    margin-right: auto;
}

.step-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s;
}
.step-dot.active { background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.step-dot.done { background: var(--success); }

.session-id {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--muted);
}

/* ─── WORKSPACE ─── */
.workspace {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 360px;
    overflow: hidden;
    min-height: 0;
}

/* ─── CAMERA PANEL ─── */
.cam-panel {
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
    overflow: hidden;
}

.cam-label {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,0.85);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 20;
    text-transform: uppercase;
}

#videoElement { display: none; }
#arCanvas { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Skeleton overlay canvas */
#skeletonOverlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Scan frame guide */
.scan-frame {
    position: absolute;
    inset: 30px;
    border: 2px solid transparent;
    border-radius: 8px;
    pointer-events: none;
    z-index: 15;
}
.scan-frame::before, .scan-frame::after {
    content: '';
    position: absolute;
    width: 30px; height: 30px;
    border-color: var(--primary);
    border-style: solid;
}
.scan-frame::before { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.scan-frame::after { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.scan-frame .br::before { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }
.scan-frame .bl::before { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }

.scan-frame.active { animation: scan-pulse 1.5s ease-in-out infinite; }
@keyframes scan-pulse {
    0%,100% { box-shadow: inset 0 0 20px rgba(0,229,255,0.1); }
    50% { box-shadow: inset 0 0 40px rgba(0,229,255,0.25); }
}

/* Capture countdown */
.countdown-ring {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 80px;
    z-index: 20;
    display: none;
}

/* ─── HEATMAP PANEL ─── */
.heat-panel {
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid var(--border);
}

.heat-label {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,0.85);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.mattress-container {
    width: 100%;
    max-width: 320px;
    height: 75%;
    background: #050810;
    border: 1px solid #1a2030;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

#heatmapCanvas { width: 100%; height: 100%; }

.body-silhouette-panel {
    position: absolute;
    bottom: 20px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.silhouette-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.silhouette-view canvas {
    width: 60px;
    height: 100px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #050810;
}
.silhouette-view span {
    font-size: 8px;
    color: var(--muted);
    letter-spacing: 1px;
}

/* ─── SIDE DASHBOARD ─── */
.dash-panel {
    background: var(--card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 16px;
    gap: 12px;
}

.dash-label {
    font-size: 9px;
    font-weight: 900;
    color: var(--success);
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

/* STT / Data Collection Panel */
.collect-panel {
    background: #0a0d12;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
}

.collect-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}
.collect-field:last-child { border-bottom: none; }
.collect-field label { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.collect-field .value { font-weight: 700; color: var(--text); font-family: var(--mono); }
.collect-field .value.filled { color: var(--success); }
.collect-field .value.listening { color: var(--warn); animation: blink 0.8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Voice indicator */
.voice-bar {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}
.voice-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent2));
    width: 0%;
    transition: width 0.1s;
}

/* TTS bubble */
.tts-bubble {
    background: rgba(0,229,255,0.06);
    border: 1px solid var(--primary-dim);
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    min-height: 60px;
    position: relative;
}
.tts-bubble::before {
    content: '🎙️';
    position: absolute;
    top: 8px; right: 10px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}
.tts-bubble.speaking::before { opacity: 1; }
.tts-bubble.listening::before { content: '👂'; opacity: 1; }

/* Feature cards */
.feat-card {
    background: #050810;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
}
.feat-title {
    font-size: 9px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.feat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 11px;
}
.feat-row:last-child { border-bottom: none; }
.feat-row span { color: var(--muted); }
.feat-row b { color: var(--text); font-family: var(--mono); }
.feat-row b.highlight { color: var(--primary); }

/* Ranking */
.rank-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    flex: 1;
}

.rank-item {
    background: #050810;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.3s;
}
.rank-item.best {
    border-color: var(--success);
    background: rgba(0,230,118,0.05);
}
.rank-item.second { border-color: rgba(168,85,247,0.4); }

.rank-num {
    font-size: 20px;
    font-weight: 900;
    font-family: var(--mono);
    color: var(--border);
    min-width: 28px;
}
.rank-item.best .rank-num { color: var(--success); }

.rank-info { flex: 1; min-width: 0; }
.rank-name { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-tech { font-size: 9px; color: var(--muted); margin-top: 2px; }

.rank-score {
    font-size: 20px;
    font-weight: 900;
    font-family: var(--mono);
    color: var(--success);
}
.rank-item.second .rank-score { color: var(--accent2); }

.rank-bar {
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    margin-top: 6px;
}
.rank-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), var(--primary));
    border-radius: 1px;
    transition: width 1s ease;
}

/* ─── BOTTOM BAR ─── */
.bottom-bar {
    height: 50px;
    background: var(--card);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 12px;
    z-index: 50;
    flex-shrink: 0;
}

.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--muted);
    transition: all 0.3s;
}
.status-dot.ready { background: var(--success); box-shadow: 0 0 8px var(--success); }
.status-dot.scanning { background: var(--primary); box-shadow: 0 0 8px var(--primary); animation: dot-pulse 1s ease infinite; }
.status-dot.speaking { background: var(--accent2); box-shadow: 0 0 8px var(--accent2); }
.status-dot.listening { background: var(--warn); box-shadow: 0 0 8px var(--warn); animation: dot-pulse 0.5s ease infinite; }
@keyframes dot-pulse { 50% { transform: scale(1.6); } }

.status-text {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
}

.btn-action {
    margin-left: auto;
    background: var(--primary);
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    display: none;
}
.btn-action:hover { filter: brightness(1.2); transform: translateY(-1px); }
.btn-action.danger { background: var(--fail); }
.btn-action.success { background: var(--success); }

/* ─── OVERLAY STATES ─── */
.overlay-state {
    position: absolute;
    inset: 0;
    background: rgba(4,6,8,0.92);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    gap: 20px;
}
.overlay-state.visible { display: flex; }

.overlay-icon { font-size: 64px; }
.overlay-title { font-size: 28px; font-weight: 900; color: var(--primary); letter-spacing: 2px; }
.overlay-sub { font-size: 14px; color: var(--muted); text-align: center; max-width: 400px; line-height: 1.6; }

/* Processing spinner */
.spinner {
    width: 60px; height: 60px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── FEEDBACK / STARS ─── */
.star-rating {
    display: flex;
    gap: 16px;
    font-size: 40px;
    cursor: pointer;
}
.star { opacity: 0.3; transition: all 0.2s; }
.star.active { opacity: 1; filter: drop-shadow(0 0 8px gold); }

/* ─── REPORT VIEW ─── */
.report-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg);
    display: none;
    flex-direction: column;
    z-index: 200;
    overflow-y: auto;
    padding: 40px;
}
.report-overlay.visible { display: flex; }

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.report-logo { font-size: 22px; font-weight: 900; color: var(--primary); letter-spacing: 3px; }
.report-date { font-size: 12px; color: var(--muted); font-family: var(--mono); }

.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.report-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.report-section.full { grid-column: 1 / -1; }
.report-section-title {
    font-size: 10px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.qr-placeholder {
    width: 80px; height: 80px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: #000;
    font-weight: 700;
}

/* ─── CONFIRM DIALOG ─── */
.confirm-box {
    background: var(--card);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 30px;
    max-width: 480px;
    width: 90%;
    text-align: center;
}
.confirm-data { font-family: var(--mono); font-size: 14px; line-height: 2; margin: 20px 0; }
.confirm-btns { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.btn-confirm { padding: 12px 32px; border-radius: 8px; border: none; font-weight: 900; font-size: 14px; cursor: pointer; letter-spacing: 1px; }
.btn-yes { background: var(--success); color: #000; }
.btn-no { background: var(--fail); color: #fff; }

/* ─── ADMIN DASHBOARD ─── */
.admin-body { overflow: auto; padding: 24px; background: var(--bg); min-height: 100vh; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-title { font-size: 24px; font-weight: 900; color: var(--primary); }

.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.metric-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.metric-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.metric-value { font-size: 32px; font-weight: 900; font-family: var(--mono); color: var(--primary); margin-top: 8px; }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.admin-card-title { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 16px; letter-spacing: 1px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th { color: var(--muted); font-weight: 600; text-align: left; padding: 8px; border-bottom: 1px solid var(--border); font-size: 10px; text-transform: uppercase; }
.data-table td { padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.03); color: var(--text); }
.data-table tr:last-child td { border-bottom: none; }

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}
.badge-success { background: rgba(0,230,118,0.15); color: var(--success); }
.badge-warn { background: rgba(255,234,0,0.15); color: var(--warn); }
.badge-info { background: rgba(0,229,255,0.15); color: var(--primary); }

/* ─── PRODUCT FORM ─── */
.product-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group select, .form-group textarea {
    background: #050810;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--text);
    font-size: 13px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }

.btn-primary {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s;
}
.btn-primary:hover { filter: brightness(1.15); }

/* ─── ANIMATIONS ─── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.4s ease forwards; }

@keyframes scan-line {
    0% { top: 0; }
    100% { top: 100%; }
}
.scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan-line 2s linear infinite;
    pointer-events: none;
    z-index: 10;
}

/* Responsive for smaller totems */
@media (max-width: 1024px) {
    .workspace { grid-template-columns: 1fr 360px; }
    .heat-panel { display: none; }
}

/* Modo Lite Toggle Switch */
.mode-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    transition: all 0.3s;
}
.mode-selector:hover {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-dim);
}
.mode-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.switch-lite {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18px;
}
.switch-lite input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider-lite {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .3s;
    border-radius: 34px;
    border: 1px solid var(--border);
}
.slider-lite:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-secondary);
    transition: .3s;
    border-radius: 50%;
}
.switch-lite input:checked + .slider-lite {
    background-color: var(--success);
    border-color: var(--success);
}
.switch-lite input:checked + .slider-lite:before {
    transform: translateX(14px);
    background-color: #000;
}

/* ─── PRINT ECONOMY STYLES (ECONOMIA DE TINTA) ─── */
@media print {
    /* Forçar cores de fundo claras e texto escuro para economizar tinta */
    body, html, #totem-root {
        background: #ffffff !important;
        color: #000000 !important;
        overflow: visible !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* Ocultar elementos desnecessários na folha de impressão */
    #totem-root > *:not(#reportOverlay),
    .report-header button,
    .report-header div:last-child {
        display: none !important;
    }

    #reportOverlay {
        position: relative !important;
        display: block !important;
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        inset: auto !important;
        overflow: visible !important;
    }

    .report-header {
        border-bottom: 2px solid #000000 !important;
        padding-bottom: 12px !important;
        margin-bottom: 24px !important;
    }

    .report-logo {
        color: #000000 !important;
        text-shadow: none !important;
        font-weight: 900 !important;
    }

    .report-date {
        color: #4b5563 !important;
    }

    .report-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    .report-section {
        background: #ffffff !important;
        border: 1px solid #d1d5db !important;
        color: #000000 !important;
        padding: 16px !important;
        border-radius: 8px !important;
        box-shadow: none !important;
    }

    .report-section.full {
        grid-column: 1 / -1 !important;
    }

    .report-section-title {
        color: #000000 !important;
        border-bottom: 1px solid #d1d5db !important;
        padding-bottom: 6px !important;
        font-weight: bold !important;
    }

    .feat-row {
        border-bottom: 1px dashed #e5e7eb !important;
    }

    .feat-row span {
        color: #4b5563 !important;
    }

    .feat-row b {
        color: #000000 !important;
    }

    /* Cards de recomendação de produtos no laudo */
    .rank-item {
        background: #ffffff !important;
        border: 1px solid #9ca3af !important;
        color: #000000 !important;
        box-shadow: none !important;
        padding: 8px 12px !important;
        margin-bottom: 8px !important;
        page-break-inside: avoid;
    }

    .rank-item.best {
        border: 2.5px solid #000000 !important;
        background: #f9fafb !important;
    }

    .rank-num {
        color: #000000 !important;
    }

    .rank-name {
        color: #000000 !important;
        font-size: 14px !important;
        font-weight: bold !important;
    }

    .rank-tech {
        color: #4b5563 !important;
    }

    .rank-price {
        color: #000000 !important;
        font-weight: 800 !important;
    }

    .rank-score {
        color: #000000 !important;
        font-weight: 900 !important;
    }

    /* Ocultar barra gráfica colorida para economizar tinta colorida */
    .rank-bar {
        display: none !important;
    }

    /* Converter fotos de colchão para preto e branco na impressão */
    .rank-item-img {
        border: 1px solid #9ca3af !important;
        filter: grayscale(100%) !important;
    }
}
