/* =========================================================
   WAHAJ premium layer — loaded last, for both themes.
   The look of apple.com: black and white, quiet neutral greys, type that does the work, colour used
   sparingly (WAHAJ green for action and progress, purple as the secondary colour), pill buttons,
   soft generous corners, and no shadows anywhere.
   ========================================================= */

/* ---------- no shadows, anywhere ---------- */
*, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }

/* ---------- type: SF-style tracking, fewer weights ---------- */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-family: var(--font); letter-spacing: -.006em; }
h1, h2, h3, h4, h5, .page-title, .p-title, .ob-title, .pg-head h1, .mx-ttl h1, .modal-head h3, .section-h, .ws-h, .ip-h, .pa-ch h3, .sb-card h3 { font-family: var(--font-display); letter-spacing: -.022em; }
.pg-head h1, .page-title, .p-title, .mx-ttl h1 { font-weight: 700; letter-spacing: -.028em; }
.h-hero h1, .ob-title { letter-spacing: -.032em; }
.pg-head p { color: var(--text-2); }
/* uppercase labels: small, grey, tracked; colour is kept for state, not decoration */
.mx-lab, .ws-kick, .eyebrow, .ws-ph, .pa-recent h4 { letter-spacing: .08em; }

/* ---------- buttons: pills ---------- */
.btn { border-radius: var(--r-pill); font-weight: 600; letter-spacing: -.01em; transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast), opacity var(--motion-fast); }
.btn-primary { background: var(--accent-fill); color: #000; border-color: transparent; }
.btn-primary:hover { background: var(--accent-fill); opacity: .88; }
.btn-primary:active { opacity: .78; }
.btn-primary[disabled], .btn-primary.is-disabled { background: var(--tile-hi); color: var(--faint); opacity: 1; }
.btn-ghost { background: transparent; border: 1px solid var(--line-3); color: var(--text); }
.btn-ghost:hover { background: var(--tile); border-color: var(--line-3); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent-line); }
.ob-btn, .ws-go, .ws-guide, .mx-go, .sb-acts .btn, .ws-foot .btn, .bd-dadd .btn, .bd-empty .btn { border-radius: var(--r-pill); }

/* ---------- chips, tags and status pills ---------- */
.chip, .badge, .status-tag, .bd-st, .pa-chip, .mx-pill, .city-st, .sys-off, .ws-badge, .tag, .kdb-tag { border-radius: var(--r-pill); }
.badge { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- surfaces: generous corners, hairlines, depth from surface steps ---------- */
.modal { border-radius: 24px; }
.dd-menu, .pop { border-radius: 16px; }
.toast { border-radius: 16px; }
.ip-card, .pa-card, .pa-tile, .bd-card, .sb-card, .mx-glass, .set-card, .st-card, .mcard, .pcard2, .ccard, .p-side { border-radius: 18px; }
.field, .search, .ask, .mt-input, .aip-in, .modal-body .txt, .modal-body textarea, .notes-ta { border-radius: 12px; }
.field:focus-within, .search:focus-within, .ask:focus-within, .mt-input:focus-within, .aip-in:focus-within, .modal-body .txt:focus, .modal-body textarea:focus { border-color: var(--accent); outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- navigation: a soft filled pill marks where you are ---------- */
.side-nav button { border-radius: 12px; }
.side-nav button.on { background: var(--tile); color: var(--text); }
.side-nav button.on .ico { color: var(--accent); }
.side-nav button:not(.on):hover { background: var(--panel-2); }

/* ---------- progress: green for tasks, purple for XP ---------- */
.progress { background: var(--tile-hi); border-radius: var(--r-pill); }
.progress > i { background: var(--accent-fill); border-radius: var(--r-pill); }
.progress.xp > i, .xp-bar i { background: var(--accent-2) !important; }

/* ---------- the secondary colour ---------- */
.mx-stat .si.xp, .pa-tile.xp .pa-ti { color: var(--accent-2-text); }
.pa-tile.xp .progress > i { background: var(--accent-2); }
