:root {
  --sidebar-width: 242px;
  --sidebar-bg: #1a1d23;
  --brand: #ffc107;
  --canvas: #f3f4f6;
  --surface: #fff;
  --primary: #2563eb;
  --text: #252b36;
  --muted: #667085;
  --border: #e5e7eb;
  --radius: 12px;
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: var(--text);
  background: var(--canvas);
  font-size: 14px;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #6294ff; outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .55; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
img, svg { max-width: 100%; vertical-align: middle; }
.icon { flex-shrink: 0; }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; transform: translateY(calc(-100% - 24px)); padding: 12px 20px; background: #fff; z-index: 500; border: 2px solid var(--primary); border-radius: 6px; }
.skip-link:focus { transform: none; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); position: fixed; inset: 0 auto 0 0; background: var(--sidebar-bg); color: #ced4da; display: flex; flex-direction: column; z-index: 20; overflow-y: auto; }
.sidebar-header { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-toggle { display: none; }
.mobile-menu-toggle[hidden], #primary-navigation[hidden] { display: none; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; min-height: 83px; padding: 21px 26px; font-size: 28px; font-weight: 700; letter-spacing: -1px; }
.brand:hover { text-decoration: none; }
.brand-dot { color: var(--brand); }
.workspace-label { display: flex; gap: 11px; align-items: center; margin: 7px 17px 28px; padding: 13px 11px; border: 1px solid #333840; border-radius: 8px; min-width: 0; }
.workspace-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; background: #353b46; border-radius: 7px; color: #e4e7ec; }
.workspace-label > span:last-child { min-width: 0; }
.workspace-label strong { color: #e8eaf0; display: block; font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-label small { display: block; margin-top: 2px; color: #a0a6b2; font-size: 10px; }
.nav-section-label { padding: 0 28px; margin-bottom: 10px; color: #949ba8; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.nav-list { list-style: none; margin: 0; padding: 0 14px; }
.nav-link { display: flex; gap: 12px; align-items: center; padding: 12px 14px; color: #b9c0cb; margin-bottom: 5px; border-radius: 7px; font-size: 13px; }
.nav-link:hover { color: #fff; background: #262b33; text-decoration: none; }
.nav-link.active { background: #30343b; color: #fff; font-weight: 600; }
.nav-link.active > .icon { color: var(--brand); }
.nav-active-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-left: auto; }
.sidebar-note { margin: auto 27px 27px; padding-top: 55px; }
.sidebar-note .eyebrow { color: #929aa8; font-size: 8px; letter-spacing: 1.7px; }
.sidebar-note p { margin-top: 10px; font-size: 19px; line-height: 1.5; color: #dadee5; font-weight: 500; letter-spacing: -.4px; }
.sidebar-note-line { display: block; width: 28px; height: 3px; background: var(--brand); margin-top: 16px; border-radius: 3px; }
.sidebar-footer { padding: 19px 23px 14px; border-top: 1px solid #30353e; }
.user-summary { display: flex; gap: 10px; align-items: center; min-width: 0; }
.user-summary > span:last-child { min-width: 0; }
.user-summary strong { display: block; font-size: 12px; font-weight: 600; color: #e6e9ef; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-summary small { display: block; font-size: 10px; color: #abb2be; text-transform: capitalize; margin-top: 2px; }
.avatar { width: 34px; height: 34px; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: #e8edf6; color: #465674; font-size: 11px; font-weight: 700; }
.sidebar .avatar { background: #3e4550; color: #e6e9ee; }
.avatar-small { width: 31px; height: 31px; font-size: 10px; }
.account-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.account-actions a { display: flex; align-items: center; gap: 6px; color: #b9c0cb; font-size: 10px; }
.account-actions .icon { width: 14px; height: 14px; }
.account-actions form { margin: 0; }
.icon-button { background: transparent; border: none; color: inherit; padding: 7px; display: inline-flex; align-items: center; border-radius: 5px; }
.icon-button:hover { background: #ffffff14; }
.main-shell { display: flex; flex-direction: column; margin-left: var(--sidebar-width); min-width: 0; flex: 1; }
.topbar { min-height: 69px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 35px; background: #fff; border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 12px; }
.breadcrumb > span { color: #b6bdc8; }
.breadcrumb strong { color: #394254; font-weight: 500; }
.topbar-meta { display: flex; gap: 21px; align-items: center; }
.language-selector { display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; gap: 6px; margin: 0; }
.language-selector label { margin: 0; }
.language-selector select { width: auto; max-width: 115px; min-height: 32px; padding: 5px 22px 5px 8px; font-size: 11px; }
.language-selector .btn { min-height: 32px; padding: 5px 9px; font-size: 11px; }
.auth-shell > .language-selector { margin-bottom: 16px; }
.mobile-signout { display: none; margin: 0; }
.workspace-status { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.workspace-status > span, .status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #18a77b; }
.main-content { padding: 31px 35px 26px; max-width: 1600px; width: 100%; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-heading > div { min-width: 0; }
header.page-heading { display: block; }
.eyebrow { font-size: 9px; letter-spacing: 1.65px; font-weight: 700; color: var(--muted); line-height: 1.5; }
.page-title { font-size: 28px; font-weight: 650; letter-spacing: -.9px; margin: 7px 0 7px; }
.page-subtitle { font-size: 12px; color: var(--muted); line-height: 1.65; max-width: 690px; overflow-wrap: anywhere; }
.workspace-pill { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 7px 11px; font-size: 10px; color: #536170; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; color: #3b4657; background: #fff; border: 1px solid #d8dee7; border-radius: 7px; padding: 9px 14px; font-size: 12px; font-weight: 600; cursor: pointer; line-height: 1.4; transition: background .15s ease, border-color .15s ease; text-align: center; }
.btn:hover { text-decoration: none; }
.btn .icon { width: 16px; height: 16px; }
.btn-primary { color: #fff; background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-secondary { color: #3b4657; background: #fff; border-color: #d8dee7; }
.btn-secondary:hover { background: #f6f8fb; border-color: #aab7c9; }
.btn-dark { color: #fff; background: #232831; border-color: #232831; }
.btn-dark:hover { background: #3b4350; }
.btn-danger { background: #fff; color: #b42318; border-color: #f1b6af; }
.btn-danger:hover { background: #fff1f0; }
.btn-compact, .btn-sm { min-height: 30px; padding: 5px 10px; font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }
.text-link .icon { width: 15px; height: 15px; }
.welcome-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; background: #f9fafc; border: 1px solid #dce2eb; border-radius: var(--radius); margin-bottom: 24px; }
.welcome-content { z-index: 1; padding: 33px 0 32px 32px; }
.welcome-tag { display: inline-block; border: 1px solid #e2c259; border-radius: 4px; background: #fff6cf; padding: 3px 6px; font-size: 8px; letter-spacing: 1.1px; font-weight: 700; color: #765b0e; }
.welcome-content h2 { font-size: clamp(30px, 3.5vw, 43px); letter-spacing: -1.65px; font-weight: 650; line-height: 1.13; margin: 15px 0 15px; }
.welcome-content > p { font-size: 12px; color: #657083; line-height: 1.8; max-width: 410px; }
.welcome-actions { margin-top: 22px; }
.welcome-art { align-self: center; min-width: 0; padding: 15px; }
.welcome-art svg { width: 100%; height: auto; }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel, .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; margin-bottom: 22px; box-shadow: 0 2px 3px #1a1d2302; }
.panel-heading { padding: 21px 23px 17px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.panel-heading h2 { font-size: 14px; font-weight: 650; letter-spacing: -.2px; }
.panel-heading p { color: var(--muted); font-size: 11px; margin-top: 5px; line-height: 1.6; }
.panel-icon { color: #8b96a8; padding-top: 1px; }
.panel-icon .icon { width: 18px; height: 18px; }
.account-details { margin: 0; padding: 0 23px 10px; }
.account-details > div { display: flex; align-items: center; gap: 20px; justify-content: space-between; border-top: 1px solid #f0f2f5; min-height: 46px; padding: 11px 0; }
.account-details dt { color: var(--muted); font-size: 11px; }
.account-details dd { margin: 0; font-size: 12px; text-align: right; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; line-height: 1.5; padding: 3px 8px; border-radius: 5px; background: #eef1f5; color: #596579; }
.badge-admin { background: #edf3ff; color: #2456ab; }
.badge-active, .badge-success { background: #e8f7ef; color: #167049; }
.badge-pending, .badge-warning { background: #fff6dc; color: #8b6415; }
.badge-inactive, .badge-danger { background: #fceeed; color: #a83831; }
.panel-footer { padding: 14px 23px; border-top: 1px solid #edf0f4; }
.next-step-content { padding: 2px 23px 23px; }
.feature-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: #f1f5fc; color: #4d6b9e; border: 1px solid #e7edf7; border-radius: 9px; margin-bottom: 13px; }
.next-step-content h3 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.next-step-content p { font-size: 11px; color: var(--muted); line-height: 1.85; margin-bottom: 17px; max-width: 480px; }
.vision-note { display: flex; gap: 17px; padding: 4px 3px; align-items: flex-start; }
.vision-icon { color: #7e8b9e; padding-top: 3px; }
.vision-note h2 { font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.vision-note p { color: #677285; font-size: 11px; line-height: 1.85; max-width: 900px; }
.vision-status { display: block; color: #707d90; font-size: 10px; margin-top: 7px; }
.page-footer { display: flex; justify-content: space-between; gap: 20px; padding: 17px 35px; margin-top: auto; border-top: 1px solid var(--border); color: #798496; font-size: 9px; }
.field { display: flex; flex-direction: column; gap: 7px; color: #394456; font-size: 12px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; }
input, select, textarea { min-width: 0; background: #fff; color: var(--text); border: 1px solid #d7dde6; border-radius: 7px; padding: 10px 11px; min-height: 40px; font-size: 12px; font-weight: 400; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8a94a5; }
input:hover, select:hover, textarea:hover { border-color: #aebacc; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); }
input[type="checkbox"], input[type="radio"] { min-height: auto; width: 15px; height: 15px; margin: 0; accent-color: var(--primary); vertical-align: middle; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 5px; grid-column: 1 / -1; }
.form-actions form { margin: 0; }
.field-full, .form-full { grid-column: 1 / -1; }
.form-hint, .field small { font-size: 11px; color: var(--muted); font-weight: 400; line-height: 1.6; }
.form-inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.form-inline > .field { flex: 1; min-width: 180px; }
.panel > form, .panel-body, .card > form, .card-body { padding: 23px; }
.panel > form > .field { margin-bottom: 18px; max-width: 550px; }
.panel > form > p { margin: 15px 0 20px; font-size: 11px; line-height: 1.75; }
.panel > .alert { margin: 18px 23px 0; }
.panel > h2, .card > h2 { padding: 23px 23px 0; font-size: 16px; }
.panel > h2 + .table-wrap { margin-top: 20px; }
.panel > p, .card > p { padding: 8px 23px 0; color: var(--muted); font-size: 12px; }
.panel > .form-grid { margin: 0; }
.alert { padding: 12px 15px; background: #eff5ff; border: 1px solid #c7dafa; border-radius: 8px; color: #285a9b; font-size: 12px; margin-bottom: 20px; line-height: 1.7; overflow-wrap: anywhere; }
.alert-error, .alert-danger { background: #fff2f0; border-color: #f2c2bc; color: #aa3226; }
.alert-success { background: #edf9f2; border-color: #bfe4ce; color: #246e43; }
.alert-warning { background: #fffae9; border-color: #ead698; color: #856415; }
.muted, .text-muted { color: var(--muted); }
.text-right { text-align: right; }
.table-wrap { max-width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; }
thead { background: #fafbfc; }
th { color: #697487; font-weight: 600; font-size: 10px; padding: 12px 22px; white-space: nowrap; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
td { padding: 15px 22px; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfdff; }
td form { display: inline-block; margin: 0; }
td .btn + .btn, td a + form { margin-left: 6px; }
td small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.table-actions { display: flex; align-items: center; gap: 8px; }
.auth-page { background: #f3f4f6; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px 20px; background-image: radial-gradient(ellipse at 50% 0, #fff 0, transparent 65%); }
.auth-shell { width: 100%; max-width: 426px; margin: 0 auto; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 29px; color: #242a33; font-size: 31px; letter-spacing: -1px; font-weight: 700; }
.auth-brand img { width: 40px; height: 40px; }
.auth-brand:hover { text-decoration: none; }
.auth-card { border: 1px solid #e1e5ec; border-radius: 14px; background: #fff; padding: 32px; box-shadow: 0 9px 30px #1e293b08; }
.auth-title { margin: 0 0 8px; font-size: 23px; letter-spacing: -.7px; font-weight: 650; }
.auth-subtitle { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 23px; overflow-wrap: anywhere; }
.auth-card .field { margin-bottom: 17px; }
.auth-card .form-grid .field { margin-bottom: 0; }
.auth-card .form-grid { grid-template-columns: 1fr; gap: 16px; }
.auth-card .btn-primary { width: 100%; margin-top: 5px; min-height: 42px; }
.auth-card .alert { margin-top: 3px; margin-bottom: 20px; }
.auth-card label:not(.field) { font-size: 12px; color: #48566a; }
.auth-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) { width: 100%; }
.auth-card input[name="code"] { text-align: center; font-size: 22px; letter-spacing: 8px; font-variant-numeric: tabular-nums; }
.auth-card .form-actions { margin-top: 20px; }
.auth-card form + form { margin-top: 15px; }
.auth-footer { text-align: center; color: #788496; font-size: 10px; margin-top: 24px; line-height: 1.8; }
.auth-note { margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.auth-back { margin-top: 18px; text-align: center; font-size: 12px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.checkbox-label input { flex-shrink: 0; }
.auth-card .checkbox-label { min-height: 24px; margin: 3px 0 17px; }
.auth-links { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; gap: 14px; font-size: 11px; }
@media (min-width: 1550px) { .welcome-art { padding: 18px 55px; } }
@media (max-width: 1100px) {
  :root { --sidebar-width: 220px; }
  .main-content { padding: 26px 24px; }
  .topbar { padding: 0 24px; }
  .welcome-content { padding: 27px 0 27px 25px; }
  .welcome-content h2 { font-size: 34px; }
  .welcome-art { padding: 5px; }
  .home-grid { gap: 18px; }
  .panel-heading, .next-step-content { padding-left: 19px; padding-right: 19px; }
  .account-details { padding-left: 19px; padding-right: 19px; }
  .account-details > div { gap: 10px; }
}
@media (max-width: 850px) {
  body { font-size: 16px; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea { min-height: 44px; font-size: 16px; }
  input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; }
  .btn, .btn-compact, .btn-sm, .language-selector .btn, .auth-card .btn-primary { min-height: 44px; min-width: 44px; padding: 10px 14px; font-size: 14px; }
  .icon-button { min-height: 44px; min-width: 44px; justify-content: center; }
  .text-link, .auth-card > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .checkbox-label, .auth-card .checkbox-label { min-height: 44px; gap: 12px; font-size: 14px; }
  .field, .auth-card label:not(.field), .form-hint, .field small, .auth-note, .auth-subtitle, .panel-heading p, .panel > form > p, .panel > p, .next-step-content p, .welcome-content > p, .vision-note p, .alert { font-size: 14px; }
  .auth-footer, .page-footer, .account-details dt, .badge { font-size: 12px; }
  .account-details dd { font-size: 14px; min-width: 0; }
  .account-details > div { flex-wrap: wrap; }
  .account-details dd { text-align: left; }
  .panel-heading h2, .next-step-content h3 { font-size: 18px; }
  .page-title { overflow-wrap: anywhere; }
  .language-selector select { min-height: 44px; font-size: 16px; max-width: 140px; padding: 8px 24px 8px 10px; }
  .breadcrumb { min-width: 0; font-size: 13px; }
  .breadcrumb strong { min-width: 0; overflow-wrap: anywhere; }
  .sidebar { position: static; width: 100%; display: block; overflow: visible; }
  .app-shell { display: block; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 72px; margin-right: 16px; padding: 10px 14px; border: 1px solid #59616f; border-radius: 8px; background: #30343b; color: #fff; font-size: 14px; font-weight: 600; }
  .brand { min-height: auto; padding: 17px 22px; font-size: 25px; }
  .brand img { width: 29px; height: 29px; }
  .workspace-label, .nav-section-label, .sidebar-note, .sidebar-footer { display: none; }
  .nav-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px 16px; }
  .nav-list li { min-width: 0; }
  .nav-link { min-height: 48px; height: 100%; padding: 12px; gap: 10px; margin: 0; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  .nav-link .icon { width: 17px; height: 17px; }
  .nav-active-dot { display: none; }
  .main-shell { margin-left: 0; min-height: calc(100svh - 78px); }
  .topbar { min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .topbar-meta { flex-wrap: wrap; margin-left: auto; gap: 10px; }
  .workspace-status { display: none; }
  .mobile-signout { display: block; }
  .main-content { padding-top: 25px; }
  .page-footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 600px) {
  .topbar { gap: 8px; }
  .topbar .breadcrumb { flex: 1 1 100%; white-space: normal; }
  .topbar .topbar-meta { width: 100%; justify-content: flex-end; }
  .main-content { padding: 23px 16px; }
  .topbar { padding: 10px 16px; }
  .topbar-meta { gap: 10px; }
  .topbar-meta > .avatar { display: none; }
  .workspace-status { display: none; }
  .page-heading { gap: 15px; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; }
  .page-title { font-size: 26px; }
  .page-subtitle { font-size: 14px; }
  .workspace-pill { font-size: 12px; padding: 6px 10px; }
  .welcome-panel { display: block; }
  .welcome-content { padding: 27px 25px; }
  .welcome-content h2 { font-size: 36px; }
  .welcome-content > p { max-width: 100%; }
  .welcome-art { display: none; }
  .home-grid { grid-template-columns: 1fr; gap: 0; }
  .panel { margin-bottom: 19px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .vision-note { gap: 12px; }
  .page-footer { display: block; padding: 15px 17px; }
  .page-footer > span:last-child { display: none; }
  .auth-page { padding: 28px 16px; }
  .auth-card { padding: 26px 23px; }
  .auth-brand { margin-bottom: 24px; }
  .panel > form, .panel-body, .card > form, .card-body { padding: 18px; }
  .auth-card { padding: 24px 18px; }
  th, td { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
