/* ============================================
   components.css — SaaS Juridico Digital IA
   ============================================ */

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: var(--text-base); background: var(--bg); color: var(--text); line-height: 1.5; min-height: 100vh; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* === Accessibility === */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100%; left: var(--space-4); background: var(--gold); color: var(--bg); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); z-index: 10000; font-weight: 600; }
.skip-link:focus { top: var(--space-4); }

*:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* === Layout: Auth pages === */
.auth-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: var(--space-6); }
.auth-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); max-width: 420px; width: 100%; }
.auth-card h1 { font-size: var(--text-xl); color: var(--gold); font-weight: 700; text-align: center; margin-bottom: var(--space-1); letter-spacing: -0.02em; }
.auth-card .subtitle { text-align: center; color: var(--muted); font-size: var(--text-sm); margin-bottom: var(--space-6); }

/* === Auth overlay (landing): card centralizado === */
.auth-overlay { position: fixed; inset: 0; z-index: 500; display: none; background: rgba(4, 7, 15, 0.8); backdrop-filter: blur(6px); overflow-y: auto; padding: var(--space-6) var(--space-4); }
.auth-overlay.active { display: flex; }
.auth-overlay .auth-card { margin: auto; position: relative; box-shadow: var(--shadow-lg); animation: modalIn 0.25s ease; }
.auth-overlay .auth-close { position: absolute; top: var(--space-3); right: var(--space-3); }
body.auth-open { overflow: hidden; }

/* === Layout: Dashboard === */
.app-layout { display: flex; min-height: 100vh; }
.main { margin-left: var(--sidebar-w); flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; transition: margin-left var(--transition-slow); }
.content { padding: var(--space-6); flex: 1; }

/* === Sidebar === */
.sidebar { width: var(--sidebar-w); background: var(--panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; transition: width var(--transition-slow), transform var(--transition-slow); }
.sidebar-brand { padding: var(--space-5); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: var(--space-3); position: relative; }
.sidebar-brand .brand-icon { width: 32px; height: 32px; background: var(--gold); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sidebar-brand .brand-icon svg { width: 18px; height: 18px; color: var(--bg); }
.sidebar-brand .brand-text h1 { font-size: var(--text-md); color: var(--gold); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.sidebar-brand .brand-text p { font-size: var(--text-xs); color: var(--muted); margin-top: 1px; }
.sidebar-toggle { position: absolute; top: var(--space-3); right: var(--space-3); width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--gold-bg); border: 1px solid var(--border-hover); color: var(--gold); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.sidebar-toggle:hover { background: var(--gold-bg-hover); }
.sidebar-toggle svg { width: 14px; height: 14px; }

.sidebar-nav { flex: 1; padding: var(--space-3) 0; padding-right: var(--space-1); overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; }
.sidebar-nav::-webkit-scrollbar { width: 6px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 10px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }
.nav-item { display: flex; align-items: center; gap: var(--space-3); padding: 10px var(--space-5); cursor: pointer; color: var(--muted); font-size: var(--text-sm); font-weight: 500; transition: all var(--transition); border-left: 3px solid transparent; background: none; border-right: none; border-top: none; border-bottom: none; width: 100%; text-align: left; position: relative; }
.nav-item:hover { background: var(--gold-bg); color: var(--text); }
.nav-item.active { background: var(--gold-bg-hover); color: var(--gold); border-left-color: var(--gold); }
.nav-item.active::after { content: ''; position: absolute; right: 0; top: 25%; height: 50%; width: 3px; background: var(--gold); border-radius: 3px 0 0 3px; }
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.7; }
.nav-item.active svg { opacity: 1; }
.nav-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sidebar-footer { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--border); }
.user-info { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.user-avatar { width: 32px; height: 32px; border-radius: var(--radius-full); background: var(--gold-bg); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-sm); flex-shrink: 0; border: 1px solid var(--border-hover); }
.user-details { min-width: 0; }
.user-name { color: var(--text); font-size: var(--text-sm); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { color: var(--gold); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-footer .btn { width: 100%; margin-bottom: var(--space-2); }
.sidebar-footer .btn:last-child { margin-bottom: 0; }

/* Sidebar collapsed */
.sidebar.collapsed { width: var(--sidebar-collapsed); }
.sidebar.collapsed .brand-text, .sidebar.collapsed .nav-label, .sidebar.collapsed .user-details, .sidebar.collapsed .sidebar-footer .btn { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 10px; border-left: none; }
.sidebar.collapsed .nav-item svg { margin: 0; }
.sidebar.collapsed ~ .main { margin-left: var(--sidebar-collapsed); }

/* Sidebar overlay (mobile) */
.sidebar-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 99; }
.sidebar-overlay.active { display: block; }

/* === Topbar === */
.topbar { padding: 0 var(--space-6); height: var(--topbar-h); border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: rgba(11, 16, 32, 0.85); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; }
.topbar-left { display: flex; align-items: center; gap: var(--space-3); }
.topbar h2 { font-size: var(--text-lg); color: var(--text); font-weight: 600; letter-spacing: -0.01em; }
.tenant-badge { font-size: var(--text-xs); background: var(--gold-bg); border: 1px solid var(--border-hover); padding: 3px 10px; border-radius: var(--radius-full); color: var(--gold); font-weight: 500; }
.hamburger { display: none; width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--gold-bg); border: 1px solid var(--border-hover); color: var(--gold); align-items: center; justify-content: center; flex-shrink: 0; }
.hamburger svg { width: 18px; height: 18px; }

/* === Sections === */
.section { display: none; animation: fadeIn 0.25s ease; }
.section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* === Stats Grid === */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.stat-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); transition: border-color var(--transition), box-shadow var(--transition); }
.stat-card:hover { border-color: var(--border-hover); box-shadow: 0 0 24px rgba(211, 173, 69, 0.08); }
.stat-card .stat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.stat-card .label { font-size: var(--text-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
.stat-card .stat-icon { width: 28px; height: 28px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.stat-card .stat-icon svg { width: 14px; height: 14px; }
.stat-card .stat-icon.gold { background: var(--gold-bg); color: var(--gold); }
.stat-card .stat-icon.blue { background: var(--info-bg); color: var(--info); }
.stat-card .stat-icon.green { background: var(--success-bg); color: var(--success); }
.stat-card .stat-icon.red { background: var(--danger-bg); color: var(--danger); }
.stat-card .value { font-size: var(--text-2xl); font-weight: 700; color: var(--text); line-height: 1.2; }
.stat-card .value.gold { color: var(--gold); }
.stat-card .value.green { color: var(--success); }
.stat-card .value.red { color: var(--danger); }
.stat-card .value.blue { color: var(--info); }

/* === Cards === */
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-5); }
.card-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border); }
.card-header h3 { font-size: var(--text-md); color: var(--text); font-weight: 600; }
.card-actions { display: flex; gap: var(--space-2); align-items: center; }

/* === Tables === */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th { text-align: left; padding: var(--space-3) var(--space-4); font-size: var(--text-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); white-space: nowrap; position: sticky; top: 0; }
td { padding: var(--space-3) var(--space-4); font-size: var(--text-sm); border-bottom: 1px solid rgba(255, 255, 255, 0.04); vertical-align: middle; }
tr:hover td { background: rgba(211, 173, 69, 0.04); }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
tbody tr:nth-child(even):hover td { background: rgba(211, 173, 69, 0.04); }
.table-empty { text-align: center; padding: var(--space-8) var(--space-4); color: var(--muted); }
.table-empty svg { width: 36px; height: 36px; margin: 0 auto var(--space-3); opacity: 0.25; color: var(--text-muted); }
.table-empty p { font-size: var(--text-sm); }
.table-actions { display: flex; gap: var(--space-1); align-items: center; }
.table-actions .btn-icon { width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }

/* === Badges === */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: var(--text-xs); padding: 3px 8px; border-radius: var(--radius-full); font-weight: 500; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }
.badge svg { width: 10px; height: 10px; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: rgba(100, 100, 120, 0.12); color: var(--muted); }
/* Compat */
.badge-active { background: var(--success-bg); color: var(--success); }
.badge-pending { background: var(--warning-bg); color: var(--warning); }
.badge-closed { background: rgba(100, 100, 120, 0.12); color: var(--muted); }
.badge-urgent { background: var(--danger-bg); color: var(--danger); }
.badge-low { background: var(--info-bg); color: var(--info); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 8px 16px; border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 500; border: none; cursor: pointer; transition: all var(--transition); white-space: nowrap; text-decoration: none; }
.btn svg { width: 14px; height: 14px; }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger { background: transparent; border: 1px solid var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-sm { padding: 5px 10px; font-size: var(--text-xs); }
.btn-lg { padding: 12px 24px; font-size: var(--text-md); }
.btn-full { width: 100%; }
.btn.loading { pointer-events: none; opacity: 0.7; }
.btn.loading::after { content: ''; display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin 0.6s linear infinite; margin-left: var(--space-2); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-icon { width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: transparent; border: 1px solid var(--border); color: var(--muted); cursor: pointer; transition: all var(--transition); }
.btn-icon:hover { border-color: var(--gold); color: var(--gold); }
.btn-icon svg { width: 14px; height: 14px; }
.btn-icon.danger:hover { border-color: var(--danger); color: var(--danger); }

@keyframes spin { to { transform: rotate(360deg); } }

/* === Forms === */
.form-group { margin-bottom: var(--space-4); }
.form-group label { display: block; font-size: var(--text-xs); color: var(--muted); margin-bottom: var(--space-1); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
.form-group label .required { color: var(--danger); }
.form-input { width: 100%; padding: 9px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: var(--text-sm); transition: border-color var(--transition); }
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(211, 173, 69, 0.1); }
.form-input::placeholder { color: var(--text-muted); }
.form-input.error { border-color: var(--danger); }
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(255, 109, 122, 0.1); }
textarea.form-input { resize: vertical; min-height: 60px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238fa0c3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-error { font-size: var(--text-xs); color: var(--danger); margin-top: var(--space-1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-hint { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-1); }
.password-wrapper { position: relative; }
.password-wrapper .form-input { padding-right: 40px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center; }
.password-toggle:hover { color: var(--muted); }
.password-toggle svg { width: 16px; height: 16px; }

/* === Modal === */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 200; align-items: center; justify-content: center; padding: var(--space-4); }
.modal-overlay.active { display: flex; }
.modal { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); max-width: 520px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: modalIn 0.2s ease; }
.modal h3 { color: var(--gold); margin-bottom: var(--space-5); font-size: var(--text-lg); font-weight: 600; }
.modal-actions { display: flex; gap: var(--space-2); margin-top: var(--space-5); justify-content: flex-end; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* Confirm modal */
.confirm-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 300; align-items: center; justify-content: center; padding: var(--space-4); }
.confirm-overlay.active { display: flex; }
.confirm-box { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); max-width: 400px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); animation: modalIn 0.2s ease; }
.confirm-box .confirm-icon { width: 48px; height: 48px; margin: 0 auto var(--space-4); border-radius: var(--radius-full); background: var(--warning-bg); display: flex; align-items: center; justify-content: center; }
.confirm-box .confirm-icon svg { width: 24px; height: 24px; color: var(--warning); }
.confirm-box .confirm-msg { font-size: var(--text-md); margin-bottom: var(--space-5); color: var(--text); line-height: 1.5; }
.confirm-box .confirm-actions { display: flex; gap: var(--space-2); justify-content: center; }

/* === Toast === */
.toast-container { position: fixed; top: var(--space-4); right: var(--space-4); z-index: 9999; display: flex; flex-direction: column; gap: var(--space-2); pointer-events: none; }
.toast { pointer-events: auto; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 500; display: flex; align-items: center; gap: var(--space-2); animation: slideIn 0.3s ease; max-width: 380px; }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.toast.success { background: var(--success-bg); border: 1px solid rgba(54, 211, 154, 0.25); color: var(--success); }
.toast.error { background: var(--danger-bg); border: 1px solid rgba(255, 109, 122, 0.25); color: var(--danger); }
.toast.info { background: var(--info-bg); border: 1px solid rgba(112, 167, 255, 0.25); color: var(--info); }
.toast.warning { background: var(--warning-bg); border: 1px solid rgba(251, 191, 36, 0.25); color: var(--warning); }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

/* === Skeleton === */
.skeleton { background: linear-gradient(90deg, var(--surface2) 25%, rgba(255, 255, 255, 0.06) 50%, var(--surface2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.sk-row { display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.sk-cell { height: 14px; border-radius: var(--radius-sm); background: var(--surface2); }

/* === Upload / Drag-Drop === */
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: var(--space-8) var(--space-4); text-align: center; cursor: pointer; transition: all var(--transition); }
.upload-zone:hover, .upload-zone.dragover { border-color: var(--gold); background: var(--gold-bg); }
.upload-zone svg { width: 36px; height: 36px; color: var(--text-muted); margin: 0 auto var(--space-3); }
.upload-zone.dragover svg { color: var(--gold); }
.upload-zone p { color: var(--muted); font-size: var(--text-sm); }
.upload-zone .upload-hint { color: var(--text-muted); font-size: var(--text-xs); margin-top: var(--space-1); }
.upload-progress { padding: var(--space-3); background: var(--gold-bg); border-radius: var(--radius-sm); margin-bottom: var(--space-4); }
.upload-progress .progress-header { display: flex; justify-content: space-between; margin-bottom: var(--space-2); font-size: var(--text-xs); }
.upload-progress .progress-bar { height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 2px; overflow: hidden; }
.upload-progress .progress-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.3s ease; }

/* === Chat === */
.chat-card { display: flex; flex-direction: column; height: calc(100vh - 140px); }
.chat-messages { flex: 1; overflow-y: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.chat-welcome { text-align: center; color: var(--muted); padding: var(--space-8) var(--space-4); }
.chat-welcome svg { width: 40px; height: 40px; margin: 0 auto var(--space-3); color: var(--gold); opacity: 0.5; }
.chat-welcome p { font-size: var(--text-md); }
.chat-welcome .chat-welcome-sub { font-size: var(--text-sm); margin-top: var(--space-1); color: var(--text-muted); }
.chat-bubble-wrap { max-width: 80%; }
.chat-bubble-wrap.user { align-self: flex-end; }
.chat-bubble-wrap.assistant { align-self: flex-start; }
.chat-bubble-label { font-size: var(--text-xs); color: var(--text-muted); margin-bottom: 2px; }
.chat-bubble-wrap.user .chat-bubble-label { text-align: right; }
.chat-bubble { padding: var(--space-3) var(--space-4); border-radius: var(--radius); font-size: var(--text-sm); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.chat-bubble.user { background: var(--gold); color: var(--bg); }
.chat-bubble.assistant { background: var(--bg); border: 1px solid var(--border); color: var(--text); }
.chat-input-area { flex-shrink: 0; padding: var(--space-3) var(--space-4); border-top: 1px solid var(--border); }
.chat-input-row { display: flex; gap: var(--space-2); align-items: flex-end; }
.chat-input-row textarea { flex: 1; resize: none; min-height: 40px; max-height: 120px; padding: 8px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: var(--text-sm); font-family: var(--font); line-height: 1.4; }
.chat-input-row textarea:focus { outline: none; border-color: var(--gold); }

/* Anexos temporários do chat IA */
.chat-attachments { display: none; flex-wrap: wrap; gap: var(--space-2); padding-bottom: var(--space-2); }
.chat-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 260px; background: var(--surface2); border: 1px solid var(--surface3); border-radius: var(--radius-full, 999px); padding: 4px 10px; font-size: var(--text-xs); color: var(--text-secondary); }
.chat-chip > svg { width: 12px; height: 12px; color: var(--gold); flex-shrink: 0; }
.chat-chip.loading > svg { animation: chatChipSpin 1s linear infinite; }
.chat-chip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chat-chip-remove { background: none; border: 0; color: var(--text-muted); font-size: 15px; line-height: 1; cursor: pointer; padding: 0 0 0 2px; }
.chat-chip-remove:hover { color: var(--danger); }
.btn-icon.chat-attach-btn { width: 40px; height: 40px; flex-shrink: 0; }
.btn-icon.chat-attach-btn svg { width: 16px; height: 16px; }
.btn-icon.chat-attach-btn:hover { border-color: var(--gold); color: var(--gold); }
@keyframes chatChipSpin { to { transform: rotate(360deg); } }
.chat-typing { display: flex; gap: 4px; padding: var(--space-3) var(--space-4); }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typingDot 1.4s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* === Empty State === */
.empty-state { text-align: center; padding: var(--space-10) var(--space-4); color: var(--muted); }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto var(--space-4); opacity: 0.3; color: var(--text-muted); }
.empty-state p { font-size: var(--text-md); margin-bottom: var(--space-4); }
.empty-state .btn { margin-top: var(--space-2); }

/* === Landing Page === */
.landing { display: flex; flex-direction: column; min-height: 100vh; }
.landing-nav { display: flex; justify-content: space-between; align-items: center; padding: var(--space-5) var(--space-6); max-width: 1100px; margin: 0 auto; width: 100%; border-bottom: 1px solid var(--border); }
.landing-nav .brand { display: flex; align-items: center; gap: var(--space-3); }
.landing-nav .brand-icon { width: 36px; height: 36px; background: var(--gold); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.landing-nav .brand-icon svg { width: 20px; height: 20px; color: var(--bg); }
.landing-nav .brand-name { font-size: var(--text-lg); font-weight: 700; color: var(--gold); letter-spacing: -0.02em; }
.landing-nav .nav-links { display: flex; gap: var(--space-4); align-items: center; }
.landing-nav .nav-links a { color: var(--muted); font-size: var(--text-sm); font-weight: 500; }
.landing-nav .nav-links a:hover { color: var(--gold); text-decoration: none; }

.hero { text-align: center; padding: var(--space-10) var(--space-6); max-width: 700px; margin: 0 auto; }
.hero .hero-badge { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--gold-bg); border: 1px solid var(--border-hover); padding: 6px 14px; border-radius: var(--radius-full); font-size: var(--text-xs); color: var(--gold); font-weight: 500; margin-bottom: var(--space-6); }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--text); font-weight: 700; line-height: 1.15; margin-bottom: var(--space-4); letter-spacing: -0.03em; }
.hero h1 span { color: var(--gold); }
.hero .hero-desc { font-size: var(--text-lg); color: var(--muted); max-width: 540px; margin: 0 auto var(--space-6); line-height: 1.6; }
.hero .hero-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.hero-cta { transition: all var(--transition); }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(211, 173, 69, 0.25); }
.hero .hero-stats { display: flex; gap: var(--space-8); justify-content: center; margin-top: var(--space-8); }
.hero .hero-stat { text-align: center; }
.hero .hero-stat .stat-value { font-size: var(--text-2xl); font-weight: 700; color: var(--gold); }
.hero .hero-stat .stat-label { font-size: var(--text-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

.features-section { padding: var(--space-10) var(--space-6); max-width: 1100px; margin: 0 auto; width: 100%; }
.section-title { text-align: center; margin-bottom: var(--space-8); }
.section-title h2 { font-size: var(--text-2xl); color: var(--text); font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--space-2); }
.section-title p { color: var(--muted); font-size: var(--text-md); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); }
.feature-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-6); transition: border-color var(--transition), transform var(--transition); }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.feature-card .feature-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--gold-bg); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.feature-card .feature-icon svg { width: 20px; height: 20px; color: var(--gold); }
.feature-card h3 { font-size: var(--text-md); color: var(--text); font-weight: 600; margin-bottom: var(--space-2); }
.feature-card p { color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }

.cta-section { padding: var(--space-10) var(--space-6); text-align: center; }
.cta-section .cta-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: var(--text-2xl); color: var(--text); font-weight: 700; margin-bottom: var(--space-3); }
.cta-section p { color: var(--muted); margin-bottom: var(--space-5); }

.landing-footer { margin-top: auto; padding: var(--space-6); text-align: center; color: var(--text-muted); font-size: var(--text-xs); border-top: 1px solid var(--border); }

/* ============================================
   Dashboard Shell v0 (prototipo v0.app)
   ============================================ */

/* === Sidebar: workspace switcher === */
.workspace-switcher { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-4) var(--space-4) 0; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface2); }
.workspace-switcher .avatar { width: 30px; height: 30px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; font-size: var(--text-xs); font-weight: 700; flex-shrink: 0; }
.avatar-gold { background: #b9985d; color: #17130d; }
.avatar-dark { background: var(--surface3); color: var(--text-secondary); }
.workspace-switcher .ws-info { flex: 1; min-width: 0; }
.workspace-switcher b { display: block; font-size: var(--text-sm); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace-switcher small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.workspace-switcher svg { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }

/* === Sidebar: grupos de navegacao === */
.nav-group-label { display: block; color: var(--text-muted); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; padding: var(--space-5) var(--space-5) var(--space-2); white-space: nowrap; }
.sidebar-nav .nav-group-label:first-child { padding-top: var(--space-3); }
.new-pill { margin-left: auto; color: var(--gold); font-size: 8px; font-style: normal; letter-spacing: 0.5px; text-transform: uppercase; }

/* === Sidebar: upgrade card === */
.upgrade-card { background: linear-gradient(140deg, #29251b, #171b20); border: 1px solid #50452e; border-radius: var(--radius-sm); padding: var(--space-4); margin-bottom: var(--space-4); }
.upgrade-card svg { width: 18px; height: 18px; color: var(--gold); margin-bottom: var(--space-3); }
.upgrade-card b { display: block; font-size: var(--text-sm); color: var(--text); }
.upgrade-card p { color: var(--muted); font-size: 11px; line-height: 1.4; margin: var(--space-2) 0 var(--space-3); }
.upgrade-card button { background: transparent; border: 0; color: var(--gold-light); font-size: 11px; padding: 0; font-weight: 600; }
.upgrade-card button span { margin-left: 6px; }
.upgrade-card button:hover { color: var(--gold); text-decoration: underline; }
.sidebar.collapsed .workspace-switcher, .sidebar.collapsed .upgrade-card, .sidebar.collapsed .nav-group-label { display: none; }

/* === Topbar v0 === */
.top-actions { display: flex; align-items: center; gap: var(--space-4); }
.breadcrumbs { color: var(--text-muted); font-size: var(--text-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.breadcrumbs b { margin: 0 10px; color: var(--text-muted); opacity: 0.5; font-weight: normal; }
.breadcrumbs strong { color: var(--text); font-weight: 600; }
.search-button { display: flex; align-items: center; gap: var(--space-2); background: var(--panel); border: 1px solid var(--border); color: var(--text-muted); border-radius: var(--radius-sm); padding: 7px 10px; font-size: 11px; transition: all var(--transition); }
.search-button:hover { border-color: var(--border-hover); color: var(--text-secondary); }
.search-button svg { width: 15px; height: 15px; }
.search-button kbd { color: var(--text-muted); border: 1px solid var(--surface3); padding: 2px 5px; border-radius: 4px; margin-left: 14px; font-size: 9px; font-family: inherit; }
.icon-button { position: relative; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); padding: 6px; border-radius: var(--radius-sm); transition: all var(--transition); }
.icon-button:hover { color: var(--gold); background: var(--gold-bg); }
.icon-button svg { width: 18px; height: 18px; }
.icon-button.notification i { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); border: 1px solid var(--bg); }
.top-avatar { cursor: default; }

/* === Page heading === */
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-5); margin-bottom: var(--space-6); }
.page-heading .eyebrow { font-size: 9px; letter-spacing: 1.7px; color: var(--text-muted); text-transform: uppercase; margin-bottom: var(--space-2); }
.page-heading h1 { font-size: 26px; letter-spacing: -1px; margin: 0; font-weight: 700; color: var(--text); line-height: 1.2; }
.page-heading h1 span { color: var(--gold); font-size: 18px; margin-left: 4px; }
.page-heading .subtitle { color: var(--muted); font-size: var(--text-md); margin-top: var(--space-2); }
.page-heading .btn { flex-shrink: 0; }

/* === Stat cards v0 === */
#sec-dashboard .stat-card { position: relative; display: flex; align-items: flex-start; gap: var(--space-3); overflow: hidden; min-height: 118px; }
.stat-body { min-width: 0; flex: 1; }
.stat-body .label { display: block; margin: 2px 0 var(--space-2); }
.stat-body .value { display: block; }
.stat-trend { display: block; font-size: 10px; margin-top: var(--space-2); color: var(--text-muted); }
.sparkline { position: absolute; width: 92px; height: 32px; right: 14px; bottom: 17px; border-bottom: 2px solid currentColor; transform: skewY(-14deg); opacity: 0.55; pointer-events: none; }
.gold-line { color: var(--gold); }
.blue-line { color: var(--info); }
.green-line { color: var(--success); }
.red-line { color: var(--danger); }
.deadline-dot { position: absolute; right: 20px; top: 20px; width: 7px; height: 7px; background: var(--danger); border-radius: 50%; box-shadow: 0 0 0 5px var(--danger-bg); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 4px var(--danger-bg); } 50% { box-shadow: 0 0 0 7px rgba(255, 109, 122, 0.05); } }

/* === Dashboard grid + paineis === */
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr); gap: var(--space-5); margin-bottom: var(--space-5); }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-5); margin-bottom: var(--space-5); min-width: 0; }
.dashboard-grid .panel { margin-bottom: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.panel-heading h2, .ai-heading h2 { font-size: var(--text-md); margin: 0; font-weight: 600; color: var(--text); }
.panel-heading p { color: var(--muted); font-size: var(--text-xs); margin: var(--space-2) 0 0; }
.text-button { border: 0; background: transparent; color: var(--gold); font-size: var(--text-xs); font-weight: 500; white-space: nowrap; padding: 2px 0; }
.text-button span { margin-left: 5px; }
.text-button:hover { text-decoration: underline; }

/* Case rows (atividade recente) */
.case-list { padding-top: var(--space-2); }
.case-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.case-row:last-child { border-bottom: 0; }
.case-icon { width: 34px; height: 34px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.case-icon svg { width: 16px; height: 16px; }
.case-icon.gold { background: var(--gold-bg); color: var(--gold); }
.case-icon.blue { background: var(--info-bg); color: var(--info); }
.case-icon.green { background: var(--success-bg); color: var(--success); }
.case-icon.red { background: var(--danger-bg); color: var(--danger); }
.case-info { flex: 1; min-width: 0; }
.case-info b, .deadline-item b { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-info span, .deadline-item span { display: block; color: var(--text-muted); font-size: 10px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-empty, .deadline-empty { color: var(--muted); font-size: var(--text-sm); text-align: center; padding: var(--space-6) var(--space-4); }

/* Painel IA */
.ai-panel { background: linear-gradient(160deg, #171a22, #10182a); }
.ai-heading { display: flex; align-items: center; gap: var(--space-3); border-bottom: 1px solid var(--border); padding-bottom: var(--space-4); }
.ai-orb { width: 35px; height: 35px; border-radius: var(--radius-sm); background: var(--gold-bg); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-orb svg { width: 18px; height: 18px; }
.ai-heading p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.online-dot { margin-left: auto; color: var(--success); font-size: 10px; white-space: nowrap; }
.online-dot::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--success); margin-right: 5px; vertical-align: 1px; }
.ai-message { margin: var(--space-4) 0; font-size: var(--text-sm); line-height: 1.5; color: var(--text); }
.ai-message p { color: var(--muted); margin: var(--space-2) 0 0; font-size: 11px; line-height: 1.55; }
.suggestions { display: flex; flex-direction: column; gap: var(--space-2); }
.suggestions button, .ai-input { background: var(--surface2); border: 1px solid var(--surface3); border-radius: var(--radius-sm); text-align: left; padding: 9px 10px; color: var(--text-secondary); font-size: 11px; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); transition: all var(--transition); }
.suggestions button:hover, .ai-input:hover { border-color: var(--border-hover); background: var(--panel-hover); color: var(--text); }
.suggestions button svg, .ai-input svg { width: 13px; height: 13px; color: var(--gold); flex-shrink: 0; }
.ai-input { margin-top: var(--space-5); color: var(--text-muted); background: var(--bg); }

/* Agenda e prazos */
.deadline-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.deadline-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); background: var(--surface2); border: 1px solid transparent; border-radius: var(--radius-sm); min-width: 0; transition: all var(--transition); }
.deadline-item:hover { border-color: var(--border-hover); }
.date-box { width: 35px; text-align: center; border-right: 1px solid var(--surface3); padding-right: var(--space-3); flex-shrink: 0; }
.date-box strong { display: block; font-size: 17px; color: var(--text); }
.date-box span { color: var(--gold); font-size: 8px; letter-spacing: 1px; margin-top: 2px; text-transform: uppercase; }
.deadline-info { min-width: 0; flex: 1; }
.deadline-tag { align-self: flex-start; margin-left: auto; font-size: 9px !important; border-radius: 4px; padding: 4px 7px; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.3px; font-weight: 600; }
.deadline-tag.today { background: var(--gold-bg); color: var(--gold-light); }
.deadline-tag.urgent { background: var(--danger-bg); color: var(--danger); }
.deadline-tag.upcoming { background: var(--info-bg); color: var(--info); }

/* === Command palette (Ctrl+K) === */
.cmdk-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 400; align-items: flex-start; justify-content: center; padding: 12vh var(--space-4) var(--space-4); }
.cmdk-overlay.active { display: flex; }
.cmdk { background: var(--panel); border: 1px solid var(--border-hover); border-radius: var(--radius); width: 100%; max-width: 520px; overflow: hidden; box-shadow: var(--shadow-lg); animation: modalIn 0.15s ease; }
.cmdk input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--border); padding: var(--space-4) var(--space-5); color: var(--text); font-size: var(--text-md); outline: none; }
.cmdk input::placeholder { color: var(--text-muted); }
.cmdk-list { list-style: none; max-height: 320px; overflow-y: auto; padding: var(--space-2); }
.cmdk-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-sm); cursor: pointer; color: var(--text-secondary); font-size: var(--text-sm); }
.cmdk-item svg { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }
.cmdk-item small { margin-left: auto; color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.cmdk-item.selected { background: var(--gold-bg); color: var(--text); }
.cmdk-item.selected svg { color: var(--gold); }
.cmdk-empty { padding: var(--space-5); text-align: center; color: var(--muted); font-size: var(--text-sm); }
.cmdk-hint { padding: var(--space-3) var(--space-5); border-top: 1px solid var(--border); color: var(--text-muted); font-size: 10px; display: flex; gap: var(--space-4); }
.cmdk-hint kbd { border: 1px solid var(--surface3); border-radius: 4px; padding: 1px 5px; font-family: inherit; }

/* === Responsive do shell v0 === */
@media (min-width: 769px) and (max-width: 1024px) {
  .workspace-switcher, .upgrade-card, .nav-group-label { display: none; }
}
@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .deadline-list { grid-template-columns: 1fr; }
  .search-button span, .search-button kbd { display: none; }
  .page-heading { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}
@media (max-width: 480px) {
  .page-heading h1 { font-size: 22px; }
  .page-heading .btn { width: 100%; justify-content: center; }
  #sec-dashboard .stat-card { min-height: 104px; padding: var(--space-3); }
  .sparkline { display: none; }
  .top-actions { gap: var(--space-2); }
}

/* === Scrollbars (escuras, combinando com o tema) === */
* { scrollbar-width: thin; scrollbar-color: var(--surface3) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* === Print (ABNT) === */
@media print {
  body { background: #fff; color: #000; }
  .sidebar, .topbar, .toast-container, .modal-overlay, .confirm-overlay, .cmdk-overlay { display: none !important; }
  .main { margin-left: 0 !important; }
}

/* === Responsive: Mobile (< 480px) === */
@media (max-width: 480px) {
  .sidebar { width: 280px; transform: translateX(-100%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main { margin-left: 0 !important; }
  .topbar { padding: 0 var(--space-3); height: 52px; }
  .topbar h2 { font-size: var(--text-md); }
  .hamburger { display: flex; }
  .content { padding: var(--space-3); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .stat-card { padding: var(--space-3); }
  .stat-card .value { font-size: var(--text-xl); }
  .stat-card .stat-icon { display: none; }
  .card-header { padding: var(--space-3) var(--space-4); flex-wrap: wrap; gap: var(--space-2); }
  .card-header h3 { font-size: var(--text-sm); }
  .card-actions { width: 100%; justify-content: flex-end; }
  .table-wrapper { margin: 0 calc(-1 * var(--space-3)); padding: 0 var(--space-3); }
  table { min-width: 500px; }
  th, td { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); }
  .form-row { grid-template-columns: 1fr; }
  .modal { max-width: 92vw; padding: var(--space-4); margin: var(--space-3); }
  .chat-card { height: calc(100dvh - 52px); border-radius: 0; }
  .chat-bubble-wrap { max-width: 90%; }
  .hero { padding: var(--space-6) var(--space-4); }
  .hero h1 { font-size: 1.5rem; }
  .hero .hero-actions { flex-direction: column; align-items: stretch; }
  .hero .hero-stats { gap: var(--space-4); }
  .hero .hero-stat .stat-value { font-size: var(--text-xl); }
  .features-grid { grid-template-columns: 1fr; }
  .landing-nav .nav-links { display: none; }
  .auth-card { padding: var(--space-5); }
}

/* === Responsive: Small mobile (< 360px) === */
@media (max-width: 360px) {
  .content { padding: var(--space-2); }
  .stats-grid { grid-template-columns: 1fr; gap: var(--space-2); }
  .stat-card { padding: var(--space-2); }
  .stat-card .value { font-size: var(--text-lg); }
  .card { border-radius: var(--radius-sm); }
  .card-header { padding: var(--space-2) var(--space-3); }
  .hero { padding: var(--space-4) var(--space-3); }
  .hero h1 { font-size: 1.25rem; }
  .hero .hero-desc { font-size: var(--text-sm); }
  .hero .hero-actions .btn { width: 100%; }
  .hero .hero-stats { flex-direction: column; gap: var(--space-3); }
  .cta-section .cta-card { padding: var(--space-5); }
  .modal { max-width: 100vw; padding: var(--space-3); margin: 0; border-radius: var(--radius-sm); }
  .auth-card { padding: var(--space-4); max-width: 100%; }
}

/* === Responsive: Tablet (481–768px) === */
@media (min-width: 481px) and (max-width: 768px) {
  .sidebar { width: 280px; transform: translateX(-100%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main { margin-left: 0 !important; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .table-wrapper { overflow-x: auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* === Responsive: Small desktop (769–1024px) === */
@media (min-width: 769px) and (max-width: 1024px) {
  .sidebar { width: var(--sidebar-collapsed); }
  .sidebar .brand-text, .sidebar .nav-label, .sidebar .user-details, .sidebar .sidebar-footer .btn { display: none; }
  .sidebar .nav-item { justify-content: center; padding: 10px; border-left: none; }
  .sidebar ~ .main { margin-left: var(--sidebar-collapsed); }
  .main { margin-left: var(--sidebar-collapsed); }
  .hamburger { display: flex; }
}

/* === Responsive: Desktop (> 1024px) === */
@media (min-width: 1025px) {
  .sidebar-overlay { display: none !important; }
  .hamburger { display: none; }
}
