:root {
    --brand-400: #dfba6b;
    --brand-500: #c59b48;
    --brand-600: #997328;
}
body { font-family: 'Inter Variable', sans-serif; }
nav button[data-click="nav"][aria-current="page"] { color: var(--brand-400); border-color: var(--brand-500); background-color: #1c1c1c; }
[aria-pressed="true"] { color: var(--brand-400); border-color: var(--brand-500); }
.combo-options {
    position: absolute; z-index: 30; width: 100%; max-height: 15rem; overflow: auto;
    margin-top: .25rem; border: 1px solid #444; border-radius: .75rem; background: #121212;
}
.combo-options [role="option"] { padding: .55rem .75rem; cursor: pointer; }
.combo-options [role="option"]:hover, .combo-options [aria-selected="true"] { background: #252015; color: var(--brand-400); }
.app-dialog { width: min(calc(100% - 2rem), 32rem); max-height: calc(100% - 2rem); margin: auto; color: #f3f4f6; }
.app-dialog::backdrop { background: rgb(0 0 0 / .72); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-500); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.toast-enter { animation: slideIn 0.3s ease-out forwards; }

@keyframes mirrorPulse {
    0%, 100% { opacity: .25; }
    50% { opacity: 1; }
}
.system-active-pulse {
    overflow: visible;
}
.system-active-pulse::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border: 1px solid #dfba6b;
    border-radius: inherit;
    box-shadow: 0 0 25px rgba(197, 155, 72, 0.6), 0 0 10px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: mirrorPulse 2.5s infinite ease-in-out;
}

@keyframes systemLights {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.animate-system-lights {
    animation: systemLights 10s linear infinite;
}

.login-overlay {
    transition: opacity .35s ease, visibility 0s;
}
.login-overlay.opacity-0 {
    visibility: hidden;
    transition-delay: 0s, .35s;
}
#main-system-container[inert] *,
#main-system-container[inert] *::before {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .animate-system-lights, .system-active-pulse::before, .toast-enter,
    .animate-ping, .animate-pulse { animation: none; }
    .system-active-pulse::before { opacity: .55; }
    .login-overlay { transition: none; }
}

@media print {
    aside, header, #toast-container, .no-print { display: none !important; }
    main { overflow: visible !important; }
    body { background: #ffffff !important; color: #000000 !important; }
    .bg-dark-800, .bg-dark-900, .bg-dark-950 { background: #ffffff !important; border-color: #ddd !important; color: #000 !important; }
    .text-white, .text-gray-300, .text-gray-400 { color: #000 !important; }
}
