:root {
  --ink: #10284f;
  --navy: #12366f;
  --navy-deep: #0a2450;
  --sky: #8ab9d6;
  --surface: #f4f7fb;
  --card: #ffffff;
  --line: #e3eaf2;
  --muted: #78869a;
  --faint: #f7f9fc;
  --orange: #ef9f57;
  --green: #3f9c78;
  --red: #d96869;
  --font: "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Arial Rounded MT Bold", "Avenir Next", Avenir, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body.auth-pending { visibility: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 8px 12px; color: white; background: var(--navy); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.app-shell { display: flex; min-height: 100vh; }
.app-shell { min-height: 100vh; background: radial-gradient(circle at 70% -15%, rgba(129,177,206,.12), transparent 32%), #fff; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; flex-direction: column; width: 250px; padding: 26px 18px 20px; background: #fff; border-right: 1px solid rgba(1,28,64,.12); }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 11px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 30px; color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.05em; }
.brand-mark { display: grid; width: 28px; height: 28px; color: #011c40; background: var(--sky); border-radius: 9px; place-items: center; font-size: 12px; font-weight: 900; }
.sidebar-close, .mobile-menu { display: none; border: 0; background: transparent; color: var(--muted); font-size: 22px; cursor: pointer; }
.workspace-switcher { display: flex; align-items: center; gap: 10px; margin: 36px 3px 28px; padding: 11px 10px; background: var(--faint); border: 1px solid var(--line); border-radius: 12px; }
.workspace-avatar, .profile-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 31px; height: 31px; color: var(--navy); background: #dcebf4; border-radius: 9px; font-size: 10px; font-weight: 800; }
.workspace-switcher span:nth-child(2) { display: grid; gap: 1px; flex: 1; }
.workspace-switcher small, .profile-chip small { color: var(--muted); font-size: 9px; }
.workspace-switcher strong { font-size: 11px; }
.chevron { color: #9aa7b8; font-size: 16px; }
.sidebar-nav { display: grid; gap: 4px; }
.nav-label { padding: 0 12px 9px; color: #a0adbc; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.nav-label-spaced { margin-top: 23px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; color: #6e7b8e; border-radius: 10px; font-size: 12px; font-weight: 600; transition: background .2s, color .2s; }
.sidebar-nav a:hover { color: var(--navy); background: var(--faint); }
.sidebar-nav a.is-active { color: var(--navy); background: #eaf3f9; font-weight: 800; }
.nav-icon { display: grid; width: 18px; color: #8ca0b7; font-size: 16px; place-items: center; }
.sidebar-nav a.is-active .nav-icon { color: var(--navy); }
.sidebar-nav b { margin-left: auto; min-width: 21px; padding: 2px 5px; color: var(--navy); background: #d4e9f5; border-radius: 99px; text-align: center; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.help-card { display: flex; gap: 9px; margin: 0 3px 18px; padding: 13px 11px; background: #fff8ee; border: 1px solid #f6ead9; border-radius: 11px; }
.help-mark { display: grid; flex: 0 0 auto; width: 20px; height: 20px; color: #b87532; border: 1px solid #edc68e; border-radius: 50%; place-items: center; font-weight: 800; }
.help-card strong { display: block; color: #85562b; font-size: 10px; }
.help-card p { margin: 3px 0 0; color: #a27e5a; font-size: 9px; line-height: 1.4; }
.back-link { display: flex; align-items: center; gap: 9px; padding: 12px; color: #9aa7b8; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.back-link span { color: var(--navy); font-size: 17px; }
.main-content { width: calc(100% - 250px); margin-left: 250px; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 82px; padding: 0 48px; background: rgba(255,255,255,.88); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #9aa7b8; font-size: 11px; }
.breadcrumbs b { color: #cbd3de; font-weight: 400; }
.breadcrumbs strong { color: var(--ink); font-weight: 800; }
.topbar-actions { display: flex; align-items: center; gap: 19px; }
.icon-button, .notification-button { position: relative; display: grid; width: 29px; height: 29px; padding: 0; color: #718096; background: transparent; border: 0; place-items: center; cursor: pointer; font-size: 23px; }
.notification-button { font-size: 18px; }
.notification-button i { position: absolute; top: 3px; right: 2px; width: 5px; height: 5px; background: var(--orange); border: 1px solid white; border-radius: 50%; }
.profile-chip { display: flex; align-items: center; gap: 9px; padding-left: 18px; border-left: 1px solid var(--line); }
.profile-avatar { width: 31px; height: 31px; background: var(--navy); color: white; border-radius: 50%; }
.profile-name { color: var(--ink); font-size: 11px; font-weight: 800; }
.page-wrap { max-width: 1500px; margin: 0 auto; padding: 28px 48px 70px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; color: #8a9aae; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.eyebrow span { display: block; width: 7px; height: 7px; background: var(--sky); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-family: var(--display); font-size: clamp(28px, 3vw, 41px); letter-spacing: -.05em; line-height: 1; }
.page-subtitle { max-width: 560px; margin: 0; color: var(--muted); font-size: 13px; }
.demo-badge { display: inline-flex; margin-top: 12px; padding: 5px 9px; color: var(--navy); background: rgba(129,177,206,.14); border: 1px solid rgba(129,177,206,.32); border-radius: 999px; font-size: 10px; font-weight: 800; }
.primary-button { display: inline-flex; align-items: center; gap: 11px; min-height: 41px; padding: 0 16px; color: white; background: var(--navy); border: 0; border-radius: 9px; box-shadow: 0 7px 17px rgba(18,54,111,.14); cursor: pointer; font-size: 11px; font-weight: 800; transition: transform .2s, background .2s; }
.primary-button span { font-size: 18px; font-weight: 400; line-height: 1; }
.primary-button:hover { background: var(--navy-deep); transform: translateY(-2px); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 42px; }
.metric-card { padding: 18px 20px 16px; background: #fff; border: 1px solid rgba(1,28,64,.14); border-radius: 18px; box-shadow: none; }
.metric-primary { color: #011c40; background: rgba(129,177,206,.14); border-color: rgba(129,177,206,.32); }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #8b99aa; font-size: 10px; font-weight: 700; }
.metric-primary .metric-top { color: var(--navy); }
.metric-icon { display: grid; width: 27px; height: 27px; color: #6684a8; background: #eef5f9; border-radius: 8px; place-items: center; font-size: 13px; }
.metric-primary .metric-icon { color: var(--navy); background: rgba(255,255,255,.74); }
.metric-icon.soft-blue { color: #5686ae; background: #edf5fb; }
.metric-icon.soft-orange { color: #d98643; background: #fff4e7; }
.metric-icon.soft-green { color: #419271; background: #eaf8f0; }
.metric-card strong { display: block; margin: 11px 0 4px; font-family: var(--display); font-size: 31px; letter-spacing: -.06em; line-height: 1; }
.metric-card p { margin: 0; color: #a0acbb; font-size: 9px; }
.metric-primary p { color: var(--muted); }
.trend-up { color: #74d5ac; font-weight: 800; }
.trend-neutral { color: #8fa0b4; font-weight: 800; }
.section-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-toolbar h2 { margin-bottom: 4px; font-family: var(--display); font-size: 20px; letter-spacing: -.04em; }
.section-toolbar p { margin-bottom: 0; color: var(--muted); font-size: 11px; }
.toolbar-controls { display: flex; align-items: center; gap: 10px; }
.search-box { display: flex; align-items: center; gap: 7px; width: 190px; height: 34px; padding: 0 10px; background: white; border: 1px solid var(--line); border-radius: 8px; color: #9eabb9; }
.search-box input { width: 100%; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 10px; }
.select-control { display: flex; align-items: center; gap: 4px; height: 34px; padding: 0 8px 0 11px; background: white; border: 1px solid var(--line); border-radius: 8px; color: #8a98a9; font-size: 10px; }
.select-control select { max-width: 114px; padding: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 10px; font-weight: 700; }
.pipeline-board { display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 11px; align-items: start; }
.pipeline-column { min-height: 255px; padding: 12px; background: #edf2f7; border: 1px solid #e1e8f0; border-radius: 11px; }
.column-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 0 2px; }
.column-heading div { display: flex; align-items: center; gap: 7px; }
.column-heading h3 { margin: 0; color: #627287; font-size: 10px; font-weight: 800; }
.column-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-brief { background: #8ab9d6; }.dot-production { background: #efa35e; }.dot-review { background: #a68ad0; }.dot-done { background: #58ad89; }
.column-count { display: grid; min-width: 19px; height: 19px; color: #7b899a; background: rgba(255,255,255,.8); border-radius: 6px; place-items: center; font-size: 9px; font-weight: 800; }
.request-card { position: relative; margin-bottom: 9px; padding: 11px 11px 10px; background: white; border: 1px solid #e5ebf2; border-radius: 9px; box-shadow: 0 2px 7px rgba(31,57,92,.035); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.request-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,57,92,.1); }
.request-card:last-child { margin-bottom: 0; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card-type { margin: 0 0 4px; color: #9aa8b8; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.priority-dot { width: 6px; height: 6px; margin-top: 2px; border-radius: 50%; }
.priority-high { background: var(--red); }.priority-normal { background: var(--sky); }.priority-low { background: #b6c2cf; }
.request-card h4 { margin: 0 0 3px; color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1.28; }
.card-brand { margin: 0 0 11px; color: #8c99a9; font-size: 9px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid #f0f3f6; }
.card-due { color: #8b98a8; font-size: 8px; }.card-due.is-today { color: #cb6d58; font-weight: 800; }
.assignee { display: grid; width: 20px; height: 20px; color: var(--navy); background: #e2eff6; border-radius: 50%; place-items: center; font-size: 7px; font-weight: 800; }
.assignee.orange { color: #96622a; background: #fff0df; }.assignee.green { color: #34785e; background: #e2f3ea; }.assignee.purple { color: #694c9c; background: #f0eaff; }
.empty-column { padding: 30px 14px; color: #a6b1bf; text-align: center; font-size: 10px; }
.activity-section { margin-top: 44px; }
.section-toolbar.compact { align-items: center; }
.ghost-button { display: inline-flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--navy); background: transparent; border: 0; cursor: pointer; font-size: 10px; font-weight: 800; }
.ghost-button span { font-size: 16px; font-weight: 400; }
.activity-table-wrap { overflow: auto; background: white; border: 1px solid var(--line); border-radius: 12px; }
.activity-table { width: 100%; min-width: 600px; border-collapse: collapse; text-align: left; }
.activity-table th { padding: 12px 17px; color: #a1adbb; background: #fbfcfe; border-bottom: 1px solid var(--line); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.activity-table td { padding: 14px 17px; border-bottom: 1px solid #eef2f6; color: #758397; font-size: 10px; }
.activity-table tr:last-child td { border-bottom: 0; }
.activity-title { color: var(--ink); font-weight: 800; }.activity-status { color: var(--green); }.activity-author { display: flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; }.activity-avatar { display: grid; width: 22px; height: 22px; color: var(--navy); background: #e4f1f7; border-radius: 50%; place-items: center; font-size: 7px; font-weight: 800; }
.activity-more { color: #a9b4c1; font-size: 17px; }
.modal { width: min(700px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; color: var(--ink); background: white; border: 0; border-radius: 16px; box-shadow: 0 22px 70px rgba(13,35,70,.22); }
.modal::backdrop { background: rgba(7,29,63,.46); backdrop-filter: blur(3px); }
.modal-header { display: flex; justify-content: space-between; gap: 25px; padding: 28px 31px 20px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0 0 5px; font-family: var(--display); font-size: 26px; letter-spacing: -.05em; line-height: 1.05; }.modal-header p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11px; }
.modal-close { flex: 0 0 auto; width: 30px; height: 30px; color: #8796a8; background: var(--faint); border: 0; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; }
.request-form { overflow: auto; max-height: calc(100vh - 220px); padding: 23px 31px 28px; }.form-section-label { margin-bottom: 13px; color: #8c9aab; font-size: 9px; font-weight: 800; letter-spacing: .13em; }.form-section-spaced { margin-top: 22px; }
.form-grid { display: grid; gap: 14px; }.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }.request-form label { display: grid; gap: 6px; color: #53657d; font-size: 10px; font-weight: 800; }.request-form label > span { color: var(--red); }.request-form input, .request-form select, .request-form textarea { width: 100%; padding: 10px 11px; color: var(--ink); background: white; border: 1px solid #dfe7f0; border-radius: 7px; outline: 0; font-size: 11px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }.request-form textarea { resize: vertical; }.request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(138,185,214,.14); }.checklist-field { margin-top: 17px; }.field-label { display: block; margin-bottom: 8px; color: #53657d; font-size: 10px; font-weight: 800; }.field-label em { color: #a2adbb; font-style: normal; font-weight: 500; }.check-options { display: flex; flex-wrap: wrap; gap: 8px; }.check-options label { display: flex; align-items: center; gap: 6px; padding: 7px 9px; color: #687a91; background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; font-weight: 600; }.check-options input { width: auto; accent-color: var(--navy); }.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }.modal-footer > div { display: flex; align-items: center; gap: 18px; }.form-hint { color: #98a5b4; font-size: 9px; }.form-hint strong { color: var(--navy); }.detail-content { padding: 24px 31px; }.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }.detail-item { padding: 13px; background: var(--faint); border-radius: 8px; }.detail-item span { display: block; margin-bottom: 3px; color: #9aa7b6; font-size: 9px; }.detail-item strong { color: var(--ink); font-size: 11px; }.detail-brief { padding: 15px; background: #fbfcfe; border: 1px solid var(--line); border-radius: 8px; }.detail-brief span { display: block; margin-bottom: 6px; color: #9aa7b6; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.detail-brief p { margin: 0; color: #5f7087; font-size: 11px; line-height: 1.65; }.detail-footer { margin: 0 31px; padding: 17px 0 25px; }.detail-footer .ghost-button { padding: 7px 0; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 30; max-width: 330px; padding: 12px 15px; color: #011c40; background: rgba(129,177,206,.18); border: 1px solid rgba(129,177,206,.4); border-radius: 12px; box-shadow: 0 14px 40px rgba(1,28,64,.12); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; font-size: 11px; font-weight: 700; }.toast.is-visible { opacity: 1; transform: translateY(0); }
.mobile-overlay { display: none; }
@media (max-width: 1120px) { .page-wrap { padding-inline: 30px; }.topbar { padding-inline: 30px; }.pipeline-board { grid-template-columns: repeat(2, minmax(220px, 1fr)); }.metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .sidebar { transform: translateX(-100%); transition: transform .25s ease; }.sidebar.is-open { transform: translateX(0); box-shadow: 12px 0 30px rgba(14,41,77,.12); }.sidebar-close { display: block; }.mobile-overlay { position: fixed; inset: 0; z-index: 9; display: block; background: rgba(7,29,63,.34); opacity: 0; pointer-events: none; transition: opacity .25s; }.mobile-overlay.is-visible { opacity: 1; pointer-events: auto; }.main-content { width: 100%; margin-left: 0; }.topbar { height: 66px; padding: 0 18px; }.mobile-menu { display: block; font-size: 19px; }.topbar-actions { gap: 11px; }.profile-name, .profile-chip .chevron, .notification-button { display: none; }.profile-chip { padding-left: 10px; }.page-wrap { padding: 31px 18px 50px; }.page-heading { display: block; margin-bottom: 28px; }.page-heading .primary-button { margin-top: 20px; }.metrics-grid { gap: 9px; margin-bottom: 34px; }.metric-card { padding: 13px; }.metric-card strong { font-size: 26px; }.metric-card p { min-height: 28px; font-size: 8px; }.section-toolbar { display: block; }.toolbar-controls { margin-top: 15px; }.search-box { flex: 1; width: auto; }.select-control { flex: 0 0 auto; }.pipeline-board { grid-template-columns: 1fr; }.pipeline-column { min-height: 0; }.activity-section { margin-top: 34px; }.two-col { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }.modal-header, .request-form { padding-inline: 20px; }.modal-footer { display: block; }.modal-footer > div { justify-content: flex-end; margin-top: 12px; }.form-hint { display: block; }.detail-content { padding-inline: 20px; }.detail-footer { margin-inline: 20px; }.detail-grid { grid-template-columns: 1fr; } }

/* HRIS alignment pass: one type system, one token set, less visual noise. */
:root {
  --ink: #ffffff;
  --navy: #011c40;
  --navy-deep: #113065;
  --sky: #81b1ce;
  --surface: #ffffff;
  --card: #ffffff;
  --line: rgba(1, 28, 64, .14);
  --muted: #113065;
  --faint: rgba(129, 177, 206, .08);
  --orange: #113065;
  --green: #113065;
  --red: #8a3030;
  --font: "Manrope", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
}

body { background: var(--ink); color: var(--navy); font-family: var(--font); }
.app-shell { background: radial-gradient(circle at 70% -15%, rgba(129,177,206,.16), transparent 32%), var(--ink); }
.sidebar { width: 248px; padding: 26px 18px 18px; border-right-color: rgba(1,28,64,.12); }
.brand { padding: 0 10px 30px; color: var(--navy); font-family: var(--font); font-size: 18px; }
.brand-mark { color: var(--navy); background: var(--sky); }
.workspace-switcher { display: none; }
.sidebar-nav { margin-top: 0; }
.sidebar-nav a { min-height: 44px; padding-inline: 11px; color: var(--navy-deep); font-family: var(--font); font-size: 13px; }
.sidebar-nav a:hover { background: rgba(129,177,206,.12); color: var(--navy); }
.sidebar-nav a.is-active { background: rgba(129,177,206,.18); color: var(--sky); }
.sidebar-nav a.is-active .nav-icon { color: var(--sky); }
.nav-label { padding-inline: 10px; color: var(--muted); font-family: var(--font); font-size: 10px; }
.nav-icon { font-family: "DM Mono", monospace; font-size: 11px; }
.help-card { margin-inline: 0; padding: 14px; background: rgba(129,177,206,.12); border-color: var(--line); }
.help-mark { color: var(--navy); background: var(--sky); border: 0; }
.help-card strong { color: var(--navy); font-size: 12px; }
.help-card p { color: var(--navy-deep); font-size: 10px; }
.back-link { color: var(--muted); border-top-color: var(--line); }
.back-link span { color: var(--navy); }
.main-content { width: calc(100% - 248px); margin-left: 248px; }
.topbar { display: none; }
.page-wrap { max-width: none; margin: 0; padding: 28px clamp(22px, 4vw, 58px) 50px; }
.page-heading { align-items: flex-start; margin-bottom: 32px; }
.eyebrow { color: var(--navy-deep); font-family: var(--font); }
h1, h2, h3, h4, .metric-card strong, .modal-header h2, .section-toolbar h2 { font-family: var(--font); }
h1 { color: var(--navy); font-size: clamp(28px, 3vw, 42px); font-weight: 800; }
.page-subtitle { color: var(--navy-deep); font-size: 14px; }
.demo-badge { color: var(--navy-deep); background: rgba(129,177,206,.18); border-color: rgba(129,177,206,.32); }

/* Phase 1: live workspace status and request timeline */
.role-badge { display:inline-flex; align-items:center; margin:12px 0 0 6px; padding:5px 9px; border:1px solid rgba(1,28,64,.16); border-radius:999px; color:var(--navy-deep); background:#fff; font-size:10px; font-weight:800; }
.detail-timeline { margin-top:14px; }
.detail-timeline ol { display:grid; gap:12px; margin:12px 0 0; padding:0 0 0 18px; }
.detail-timeline li { padding-left:4px; color:var(--navy-deep); }
.detail-timeline li::marker { color:var(--sky); }
.detail-timeline strong { display:block; font-size:12px; }
.detail-timeline small { display:block; margin-top:3px; color:rgba(17,48,101,.62); font-size:10px; }
.detail-timeline p { margin:5px 0 0; color:rgba(17,48,101,.78); font-size:11px; line-height:1.5; }
.admin-access-section { margin-top:38px; padding-top:28px; border-top:1px solid var(--line); }
.access-form { display:grid; grid-template-columns:1.1fr 1.4fr .9fr auto; align-items:end; gap:12px; padding:18px; border:1px solid var(--line); border-radius:14px; background:rgba(129,177,206,.07); }
.access-form label { display:grid; gap:7px; color:var(--navy-deep); font-size:11px; font-weight:800; }
.access-form input, .access-form select { min-height:42px; padding:0 11px; border:1px solid rgba(1,28,64,.18); border-radius:9px; background:#fff; color:var(--navy); font:inherit; font-size:12px; }
.access-form input:focus, .access-form select:focus { outline:0; border-color:var(--sky); box-shadow:0 0 0 3px rgba(129,177,206,.2); }
.access-form .primary-button { min-height:42px; white-space:nowrap; }
.access-status { min-height:18px; margin:10px 0 0; color:var(--navy-deep); font-size:11px; }
.access-roster { margin-top:22px; padding:18px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.access-roster-header { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; }
.access-roster-header h3 { margin:0; color:var(--navy-deep); font-size:14px; letter-spacing:-.02em; }
.access-roster-header p { margin:5px 0 0; color:var(--blue); font-size:11px; }
.access-roster-header .ghost-button { min-height:34px; padding:0 12px; font-size:11px; }
.access-table-wrap { overflow:auto; border:1px solid var(--line); border-radius:10px; }
.access-table { width:100%; min-width:620px; border-collapse:collapse; font-size:11px; }
.access-table th { padding:10px 12px; background:rgba(129,177,206,.10); color:var(--blue); font-size:10px; font-weight:800; text-align:left; letter-spacing:.04em; text-transform:uppercase; }
.access-table td { padding:12px; border-top:1px solid var(--line); color:var(--blue); vertical-align:middle; }
.access-table td strong { color:var(--navy-deep); }
.access-role, .access-status-pill { display:inline-flex; align-items:center; min-height:24px; padding:0 9px; border-radius:999px; font-size:10px; font-weight:800; }
.access-role-gd { background:rgba(129,177,206,.22); color:var(--navy-deep); }
.access-role-advertiser { background:rgba(39,109,148,.12); color:var(--blue); }
.access-role-super_admin, .access-role-admin { background:rgba(1,28,64,.10); color:var(--navy-deep); }
.access-role-pending { background:rgba(224,154,75,.16); color:#8a551c; }
.access-status-pill.is-active { background:rgba(78,154,112,.15); color:#2d714b; }
.access-status-pill.is-inactive { background:rgba(1,28,64,.08); color:var(--blue); }
@media (max-width:900px) { .access-form { grid-template-columns:repeat(2,minmax(0,1fr)); } .access-form .primary-button { width:100%; } }
@media (max-width:560px) { .role-badge { display:flex; width:max-content; margin-left:0; } .access-form { grid-template-columns:1fr; } }
.primary-button { color: var(--navy); background: var(--sky); border: 1px solid var(--sky); border-radius: 11px; box-shadow: none; }
.primary-button:hover { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); transform: none; }
.metrics-grid { gap: 10px; margin-bottom: 30px; }
.metric-card { border-color: var(--line); border-radius: 18px; box-shadow: none; }
.metric-primary { background: rgba(129,177,206,.18); border-color: rgba(129,177,206,.32); }
.metric-card strong { color: var(--navy); font-weight: 800; }
.metric-top, .metric-card p { font-family: var(--font); }
.metric-top { color: var(--navy-deep); }
.metric-primary .metric-top { color: var(--navy); }
.metric-card p { color: var(--muted); }
.section-toolbar h2 { color: var(--navy); font-size: 17px; }
.section-toolbar p { color: var(--muted); }
.search-box, .select-control { border-color: var(--line); border-radius: 11px; }
.search-box:focus-within, .select-control:focus-within { border-color: var(--navy-deep); box-shadow: 0 0 0 3px rgba(129,177,206,.16); }
.pipeline-column { background: rgba(129,177,206,.12); border-color: rgba(1,28,64,.10); }
.request-card { box-shadow: none; }
.request-card:hover { transform: none; box-shadow: 0 8px 18px rgba(1,28,64,.08); }
.request-card h4, .activity-title { color: var(--navy); }
.activity-table-wrap { border-color: var(--line); }
.activity-table th { color: var(--muted); background: rgba(129,177,206,.06); border-bottom-color: var(--line); }
.activity-table td { color: var(--navy-deep); }
.modal { border-radius: 18px; box-shadow: 0 22px 70px rgba(1,28,64,.12); }
.modal::backdrop { background: rgba(1,28,64,.52); backdrop-filter: none; }
.modal-header h2 { color: var(--navy); }
.request-form input, .request-form select, .request-form textarea { border-color: var(--line); border-radius: 10px; }
.request-form input, .request-form select, .request-form textarea { color: var(--navy); }
.request-form select option { color: var(--navy); background: #fff; }
.select-control select { color: var(--navy); }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(129,177,206,.16); }
.check-options label { background: var(--faint); border-color: var(--line); }
.toast { color: var(--navy); background: rgba(129,177,206,.18); border-color: rgba(129,177,206,.4); box-shadow: 0 14px 40px rgba(1,28,64,.12); }

@media (max-width: 760px) {
  .topbar { display: block; height: 0; padding: 0; }
  .mobile-menu { position: fixed; top: 14px; left: 16px; z-index: 20; display: grid; width: 38px; height: 38px; padding: 0; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 10px; place-items: center; }
  .page-wrap { padding: 64px 16px 50px; }
  .sidebar { width: min(248px, 88vw); }
}
