/* ── Notion Design Tokens ──────────────────────────────────────────── */
:root {
    --primary: #0075de;
    --primary-active: #005bab;
    --secondary: #213183;
    --on-primary: #ffffff;
    --canvas: #ffffff;
    --canvas-soft: #f6f5f4;
    --surface: #ffffff;
    --ink: #000000;
    --ink-secondary: #31302e;
    --ink-muted: #615d59;
    --ink-faint: #a39e98;
    --hairline: #e6e6e6;
    --accent-sky: #62aef0;
    --accent-purple: #d6b6f6;
    --accent-purple-deep: #391c57;
    --accent-pink: #ff64c8;
    --accent-orange: #dd5b00;
    --accent-orange-deep: #793400;
    --accent-teal: #2a9d99;
    --accent-green: #1aae39;
    --accent-brown: #523410;

    --shadow-soft: 0 0.175px 1.041px rgba(0,0,0,0.01),
                   0 0.8px 2.925px rgba(0,0,0,0.02),
                   0 2.025px 7.847px rgba(0,0,0,0.027),
                   0 4px 18px rgba(0,0,0,0.04);
    --shadow-elevated: 0 0.175px 1.041px rgba(0,0,0,0.012),
                       0 0.8px 2.925px rgba(0,0,0,0.024),
                       0 2.025px 7.847px rgba(0,0,0,0.036),
                       0 4px 18px rgba(0,0,0,0.04),
                       0 23px 52px rgba(0,0,0,0.05);
}

/* ── Base ──────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--canvas-soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "lnum", "locl";
}

/* ── Scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }

/* ── Tag pills ─────────────────────────────────────────────────────── */
.tag-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 9999px; font-size: 12px; font-weight: 500; line-height: 1.33; letter-spacing: 0.125px; white-space: nowrap; }
.tag-sky      { background: rgba(98,174,240,0.12);  color: #3b8ad4; }
.tag-purple   { background: rgba(214,182,246,0.2);  color: #8054c7; }
.tag-pink     { background: rgba(255,100,200,0.12); color: #d44fa5; }
.tag-orange   { background: rgba(221,91,0,0.1);     color: #b54d00; }
.tag-teal     { background: rgba(42,157,153,0.12);  color: #228580; }
.tag-green    { background: rgba(26,174,57,0.12);   color: #158c2e; }
.tag-brown    { background: rgba(82,52,16,0.1);     color: #523410; }

/* ── Due date labels ───────────────────────────────────────────────── */
.due-overdue { color: #d44fa5; font-weight: 500; }
.due-today   { color: var(--accent-orange); font-weight: 500; }
.due-soon    { color: var(--ink-secondary); }
.due-future  { color: var(--ink-faint); }

/* ── Status icons ──────────────────────────────────────────────────── */
.status-icon { width: 16px; height: 16px; border-radius: 9999px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.status-icon.todo        { border: 2px solid var(--ink-faint); background: transparent; }
.status-icon.in_progress { border: 2px solid var(--primary); background: transparent; position: relative; overflow: hidden; }
.status-icon.in_progress::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: var(--primary); }
.status-icon.done        { border: 2px solid var(--accent-green); background: var(--accent-green); }
.status-icon.done svg    { width: 10px; height: 10px; color: white; }

/* ── Project color dot ─────────────────────────────────────────────── */
.project-dot { width: 10px; height: 10px; border-radius: 9999px; flex-shrink: 0; }

/* ── Sidebar ───────────────────────────────────────────────────────── */
.sidebar { width: 260px; background: var(--canvas-soft); border-right: 1px solid var(--hairline); display: flex; flex-direction: column; height: 100vh; transition: transform 0.2s ease; }
.sidebar-nav-item { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 5px; font-size: 14px; color: var(--ink-secondary); cursor: pointer; transition: background 0.1s; text-decoration: none; user-select: none; }
.sidebar-nav-item:hover { background: rgba(0,0,0,0.04); }
.sidebar-nav-item.active { background: rgba(0,117,222,0.08); color: var(--ink); font-weight: 500; }
.sidebar-nav-item.active .project-dot { box-shadow: 0 0 0 2px rgba(0,117,222,0.3); }
.sidebar-count { margin-left: auto; font-size: 12px; color: var(--ink-faint); font-weight: 400; min-width: 18px; text-align: center; }

/* ── Topbar ────────────────────────────────────────────────────────── */
.topbar { background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 12px 24px; display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.topbar-title { font-size: 20px; font-weight: 600; letter-spacing: -0.125px; line-height: 1.4; color: var(--ink); white-space: nowrap; }

/* ── Search ────────────────────────────────────────────────────────── */
.search-box { position: relative; flex: 0 1 280px; }
.search-box input { width: 100%; padding: 6px 12px 6px 34px; border: 1px solid var(--hairline); border-radius: 8px; font-size: 14px; color: var(--ink); background: var(--canvas); outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,117,222,0.1); }
.search-box input::placeholder { color: var(--ink-faint); }
.search-box .search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); pointer-events: none; }

/* ── Filter selects ────────────────────────────────────────────────── */
.filter-select { padding: 6px 28px 6px 10px; border: 1px solid var(--hairline); border-radius: 8px; font-size: 13px; color: var(--ink-secondary); background: var(--canvas) 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='%23a39e98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center; appearance: none; cursor: pointer; outline: none; transition: border-color 0.15s; }
.filter-select:focus { border-color: var(--primary); }
.filter-select.has-value { border-color: var(--primary); color: var(--ink); background-color: rgba(0,117,222,0.04); }

/* ── View toggle ───────────────────────────────────────────────────── */
.view-toggle { display: inline-flex; border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden; }
.view-toggle button { padding: 6px 10px; background: var(--canvas); border: none; cursor: pointer; color: var(--ink-faint); display: flex; align-items: center; transition: background 0.1s, color 0.1s; }
.view-toggle button:not(:last-child) { border-right: 1px solid var(--hairline); }
.view-toggle button.active { background: rgba(0,117,222,0.08); color: var(--primary); }
.view-toggle button:hover:not(.active) { background: rgba(0,0,0,0.02); }

/* ── Quick Add ─────────────────────────────────────────────────────── */
.quick-add { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--canvas); border: 1px solid var(--hairline); border-radius: 12px; margin-bottom: 20px; transition: border-color 0.15s, box-shadow 0.15s; }
.quick-add:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,117,222,0.08); }
.quick-add input { flex: 1; border: none; outline: none; font-size: 15px; color: var(--ink); background: transparent; }
.quick-add input::placeholder { color: var(--ink-faint); }
.quick-add-btn { padding: 5px 14px; border-radius: 9999px; border: none; background: var(--primary); color: white; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.1s, transform 0.1s; white-space: nowrap; }
.quick-add-btn:hover { background: var(--primary-active); }
.quick-add-btn:active { transform: scale(0.95); }

/* ── Task List View ────────────────────────────────────────────────── */
.task-group { margin-bottom: 24px; }
.task-group-header { display: flex; align-items: center; gap: 8px; padding: 8px 4px; cursor: pointer; user-select: none; }
.task-group-header:hover { background: rgba(0,0,0,0.02); border-radius: 5px; }
.task-group-header .chevron { transition: transform 0.15s; color: var(--ink-faint); }
.task-group-header.collapsed .chevron { transform: rotate(-90deg); }
.task-group-header h3 { font-size: 14px; font-weight: 600; color: var(--ink-secondary); letter-spacing: 0.125px; text-transform: uppercase; }
.task-group-count { font-size: 12px; color: var(--ink-faint); margin-left: 4px; }
.task-group-body { transition: max-height 0.2s ease; }
.task-group-body.collapsed { max-height: 0 !important; overflow: hidden; }

/* ── Task Row (list view) ──────────────────────────────────────────── */
.task-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; transition: background 0.1s; cursor: default; position: relative; }
.task-row:hover { background: rgba(0,0,0,0.02); }
.task-row:has(.dropdown-menu.open) { z-index: 10; }
.task-row + .task-row { border-top: 1px solid var(--hairline); }
.task-row:hover + .task-row { border-top-color: transparent; }
.task-row .task-done-check { width: 18px; height: 18px; appearance: none; -webkit-appearance: none; border: 2px solid var(--ink-faint); border-radius: 9999px; cursor: pointer; flex-shrink: 0; position: relative; transition: background 0.15s, border-color 0.15s; background: transparent; margin: 0; }
.task-row .task-done-check:hover { border-color: var(--accent-green); }
.task-row .task-done-check:checked { background: var(--accent-green); border-color: var(--accent-green); }
.task-row .task-done-check:checked::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 5px; height: 9px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.task-row .task-title-text { flex: 1; font-size: 15px; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-row.done .task-title-text { text-decoration: line-through; color: var(--ink-faint); }
.task-row .task-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.task-row .task-project-label { font-size: 12px; color: var(--ink-faint); display: flex; align-items: center; gap: 4px; }
.task-row .task-due { font-size: 13px; white-space: nowrap; }

/* ── Task Row Actions ──────────────────────────────────────────────── */
.task-actions-btn { width: 28px; height: 28px; border-radius: 5px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink-faint); transition: background 0.1s, color 0.1s; flex-shrink: 0; }
.task-actions-btn:hover { background: rgba(0,0,0,0.06); color: var(--ink-secondary); }

/* ── Dropdown menu ─────────────────────────────────────────────────── */
.dropdown-menu { position: absolute; right: 12px; top: 100%; z-index: 50; min-width: 180px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 4px; box-shadow: var(--shadow-elevated); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.12s, transform 0.12s, visibility 0.12s; }
.dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-secondary); cursor: pointer; border: none; background: none; width: 100%; text-align: left; transition: background 0.1s; }
.dropdown-item:hover { background: rgba(0,0,0,0.04); }
.dropdown-item.danger { color: #d44fa5; }
.dropdown-item.danger:hover { background: rgba(255,100,200,0.06); }
.dropdown-divider { height: 1px; background: var(--hairline); margin: 4px 0; }

/* ── Board View ────────────────────────────────────────────────────── */
.board-columns { display: flex; gap: 16px; min-height: 400px; }
.board-column { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.board-column-header { display: flex; align-items: center; gap: 8px; padding: 10px 8px; margin-bottom: 8px; }
.board-column-header h3 { font-size: 13px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.125px; text-transform: uppercase; }
.board-column-count { font-size: 12px; color: var(--ink-faint); background: rgba(0,0,0,0.04); border-radius: 9999px; padding: 1px 7px; }
.board-column-tasks { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 60px; padding: 4px; border-radius: 12px; transition: background 0.15s; }
.board-column-tasks.sortable-ghost-class { background: rgba(0,117,222,0.04); }

/* ── Board Card ────────────────────────────────────────────────────── */
.board-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 14px; cursor: grab; transition: box-shadow 0.15s, border-color 0.15s, transform 0.1s; position: relative; }
.board-card:hover { box-shadow: var(--shadow-soft); border-color: transparent; }
.board-card:active { cursor: grabbing; transform: scale(0.98); }
.board-card.sortable-chosen { box-shadow: var(--shadow-elevated); border-color: var(--primary); opacity: 0.9; }
.board-card .card-title { font-size: 15px; font-weight: 500; color: var(--ink); margin: 6px 0 4px; line-height: 1.4; }
.board-card.done .card-title { text-decoration: line-through; color: var(--ink-faint); }
.board-card .card-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-card .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.board-card .card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.board-card .card-project { font-size: 11px; color: var(--ink-faint); display: flex; align-items: center; gap: 3px; }

/* ── Modals ────────────────────────────────────────────────────────── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.25); z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.15s, visibility 0.15s; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal-card { background: var(--surface); border-radius: 16px; padding: 28px; width: 100%; max-width: 520px; box-shadow: var(--shadow-elevated); transform: scale(0.96) translateY(8px); transition: transform 0.2s ease; max-height: 90vh; overflow-y: auto; }
.modal-backdrop.open .modal-card { transform: scale(1) translateY(0); }
.modal-card h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.125px; margin-bottom: 20px; color: var(--ink); }
.modal-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-secondary); margin-bottom: 6px; }
.modal-input { width: 100%; padding: 8px 12px; border: 1px solid var(--hairline); border-radius: 4px; font-size: 15px; color: var(--ink); background: var(--canvas); outline: none; transition: border-color 0.15s, box-shadow 0.15s; font-family: inherit; }
.modal-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,117,222,0.1); }
.modal-input::placeholder { color: var(--ink-faint); }
textarea.modal-input { resize: vertical; min-height: 80px; }
select.modal-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='%23615d59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; cursor: pointer; }
.modal-row { display: flex; gap: 12px; }
.modal-row > * { flex: 1; }
.modal-field { margin-bottom: 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.modal-tags-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.modal-tag-check { display: none; }
.modal-tag-label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 9999px; font-size: 13px; font-weight: 500; border: 1px solid var(--hairline); cursor: pointer; transition: border-color 0.1s, background 0.1s; user-select: none; }
.modal-tag-check:checked + .modal-tag-label { border-color: var(--primary); background: rgba(0,117,222,0.06); }
.modal-color-grid { display: flex; gap: 8px; }
.modal-color-radio { display: none; }
.modal-color-swatch { width: 28px; height: 28px; border-radius: 9999px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.1s, transform 0.1s; }
.modal-color-radio:checked + .modal-color-swatch { border-color: var(--ink); transform: scale(1.15); }

/* ── Inline new-tag (task modal) ────────────────────────────────────── */
.new-tag-trigger { width: 28px; height: 28px; border-radius: 9999px; border: 1px dashed var(--ink-faint); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink-faint); transition: border-color 0.1s, color 0.1s; }
.new-tag-trigger:hover { border-color: var(--primary); color: var(--primary); }
.new-tag-form { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--canvas-soft); border-radius: 8px; }
.new-tag-form input[type="text"] { width: 90px; padding: 3px 8px; border: 1px solid var(--hairline); border-radius: 4px; font-size: 13px; font-family: inherit; color: var(--ink); outline: none; background: var(--canvas); }
.new-tag-form input[type="text"]:focus { border-color: var(--primary); }
.new-tag-colors { display: flex; gap: 4px; align-items: center; }
.new-tag-color-radio { display: none; }
.new-tag-color-dot { width: 16px; height: 16px; border-radius: 9999px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.1s, transform 0.1s; display: block; }
.new-tag-color-radio:checked + .new-tag-color-dot { border-color: var(--ink); transform: scale(1.2); }

/* ── Tag management modal ──────────────────────────────────────────── */
.tags-manage-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.tags-manage-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; transition: background 0.1s; }
.tags-manage-row:hover { background: rgba(0,0,0,0.02); }
.tags-manage-name { font-size: 15px; color: var(--ink); flex: 1; min-width: 0; outline: none; border-bottom: 1px solid transparent; padding: 1px 2px; transition: border-color 0.15s; }
.tags-manage-name:focus { border-bottom-color: var(--primary); }
.tags-manage-colors { display: none; gap: 4px; align-items: center; }
.tags-manage-row:hover .tags-manage-colors { display: flex; }
.tags-manage-delete { width: 28px; height: 28px; border-radius: 5px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink-faint); transition: background 0.1s, color 0.1s; opacity: 0; flex-shrink: 0; }
.tags-manage-row:hover .tags-manage-delete { opacity: 1; }
.tags-manage-delete:hover { background: rgba(255,100,200,0.08); color: #d44fa5; }
.tags-manage-add { display: flex; align-items: center; gap: 8px; padding: 10px; background: var(--canvas-soft); border-radius: 8px; margin-bottom: 8px; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 18px; border-radius: 9999px; font-size: 15px; font-weight: 500; cursor: pointer; border: none; transition: background 0.1s, transform 0.1s, box-shadow 0.1s; font-family: inherit; }
.btn:active { transform: scale(0.95); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-active); }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--hairline); }
.btn-secondary:hover { background: rgba(0,0,0,0.03); }
.btn-danger { background: rgba(255,100,200,0.1); color: #d44fa5; }
.btn-danger:hover { background: rgba(255,100,200,0.18); }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-icon { width: 32px; height: 32px; padding: 0; border-radius: 8px; background: transparent; border: 1px solid var(--hairline); color: var(--ink-muted); }
.btn-icon:hover { background: rgba(0,0,0,0.04); color: var(--ink); }

/* ── Empty State ───────────────────────────────────────────────────── */
.empty-state { background: var(--canvas-soft); border-radius: 16px; padding: 48px 32px; text-align: center; max-width: 400px; margin: 60px auto; }
.empty-state-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: rgba(0,117,222,0.08); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.empty-state h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.empty-state p { font-size: 15px; color: var(--ink-muted); margin-bottom: 20px; line-height: 1.5; }


/* ── Toast ─────────────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 20px; font-size: 14px; color: var(--ink-secondary); box-shadow: var(--shadow-elevated); transform: translateX(110%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 8px; }
.toast.show { transform: translateX(0); }
.toast-icon { width: 18px; height: 18px; color: var(--accent-green); flex-shrink: 0; }

/* ── Login ─────────────────────────────────────────────────────────── */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--canvas-soft); padding: 24px; }
.login-card { background: var(--surface); border-radius: 16px; padding: 40px; width: 100%; max-width: 380px; box-shadow: var(--shadow-soft); }
.login-card h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.625px; line-height: 1.23; margin-bottom: 4px; }
.login-card .login-subtitle { font-size: 15px; color: var(--ink-muted); margin-bottom: 28px; }
.login-card .login-error { background: rgba(255,100,200,0.08); color: #d44fa5; padding: 8px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.login-card .login-hint { font-size: 12px; color: var(--ink-faint); margin-top: 16px; text-align: center; }

/* ── Sidebar mobile overlay ────────────────────────────────────────── */
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.25); z-index: 60; }
.mobile-menu-btn { display: none; }

@media (max-width: 768px) {
    .sidebar { position: fixed; left: 0; top: 0; z-index: 70; transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay.open { display: block; }
    .mobile-menu-btn { display: flex; }
    .board-columns { flex-direction: column; }
    .board-column { min-width: 100%; }
    .task-row .task-meta { display: none; }
    .topbar { padding: 10px 16px; }
    .topbar-title { font-size: 16px; }
}

/* ── Utilities ─────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
