:root {
  --admin-navy: #06284a;
  --admin-navy-deep: #061e36;
  --admin-orange: #fe730d;
  --admin-orange-ink: #b84d00;
  --admin-ink: #183653;
  --admin-muted: #6a7c8e;
  --admin-line: #e7ebee;
  --admin-paper: #fffdf9;
  --admin-bg: #f5f7f7;
  --admin-soft-blue: #edf4f8;
  --admin-radius: 20px;
  --admin-shadow: 0 12px 34px rgb(6 40 74 / 5%);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; color: var(--admin-navy); background: var(--admin-bg); font: 15px/1.55 "Aptos", "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.admin-shell { min-height: 100vh; }
.admin-icon { display: block; width: 21px; height: 21px; flex: 0 0 auto; }
.admin-sidebar { position: fixed; z-index: 1040; inset: 0 auto 0 0; display: flex; width: 258px; flex-direction: column; padding: 27px 18px 18px; background: #fff; border-right: 1px solid var(--admin-line); }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 5px 8px 26px; text-decoration: none; }
.admin-brand img { width: 175px; height: auto; mix-blend-mode: multiply; }
.admin-brand > span { padding: 4px 7px; color: var(--admin-orange-ink); background: #fff2e7; border-radius: 5px; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.workspace-label { padding: 13px 11px 9px; color: #8a98a6; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav-link { position: relative; display: flex; min-height: 47px; align-items: center; gap: 12px; padding: 0 12px; color: #52677a; border-radius: 11px; font-size: 13px; font-weight: 680; text-decoration: none; transition: background .15s ease, color .15s ease; }
.admin-nav-link:hover { color: var(--admin-navy); background: #f4f7f8; }
.admin-nav-link.active { color: var(--admin-navy); background: #fff1e5; }
.admin-nav-link.active::before { position: absolute; inset: 9px auto 9px 0; width: 3px; background: var(--admin-orange); border-radius: 0 4px 4px 0; content: ""; }
.admin-nav-link.active .admin-icon { color: var(--admin-orange-ink); }
.nav-count { margin-left: auto; padding: 2px 7px; color: #65798d; background: #eef2f4; border-radius: 20px; font-size: 10px; font-weight: 750; }
.nav-coming { cursor: default; }
.nav-coming:hover { color: #52677a; background: transparent; }
.nav-soon { margin-left: auto; color: #a2adb7; font-size: 10px; font-weight: 600; }
.nav-count + .nav-soon { display: none; }
.sidebar-bottom { margin-top: auto; }
.sidebar-tip { position: relative; margin: 0 3px 18px; padding: 16px 14px 15px; background: #f5f8f9; border: 1px solid #e8eef1; border-radius: 15px; }
.tip-icon { display: grid; width: 31px; height: 31px; margin-bottom: 11px; color: var(--admin-orange-ink); background: #ffead8; border-radius: 10px; place-items: center; }
.tip-icon .admin-icon { width: 18px; height: 18px; }
.sidebar-tip strong { font-size: 12px; }
.sidebar-tip p { margin: 5px 0 0; color: var(--admin-muted); font-size: 11px; line-height: 1.45; }
.settings-link { margin: 0 0 13px; }
.admin-user { display: flex; align-items: center; gap: 10px; padding: 15px 4px 2px; border-top: 1px solid var(--admin-line); }
.user-avatar, .top-avatar { display: grid; flex: 0 0 auto; color: #fff; background: var(--admin-navy); border-radius: 50%; font-size: 10px; font-weight: 800; place-items: center; }
.user-avatar { width: 35px; height: 35px; }
.admin-user strong, .admin-user small { display: block; }
.admin-user strong { font-size: 11px; }
.admin-user small { margin-top: 2px; color: var(--admin-muted); font-size: 10px; }
.user-status { width: 8px; height: 8px; margin-left: auto; background: #80b890; border-radius: 50%; box-shadow: 0 0 0 3px #e7f3e9; }
.admin-main { min-height: 100vh; margin-left: 258px; }
.admin-topbar { position: sticky; z-index: 1000; top: 0; display: flex; height: 70px; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4vw, 58px); background: rgb(255 253 249 / 94%); border-bottom: 1px solid var(--admin-line); backdrop-filter: blur(12px); }
.breadcrumbs, .topbar-right { display: flex; align-items: center; }
.breadcrumbs { gap: 10px; color: #8795a2; font-size: 12px; }
.breadcrumbs strong { color: var(--admin-navy); font-weight: 750; }
.breadcrumb-arrow { width: 14px; height: 14px; transform: rotate(-35deg); }
.topbar-right { gap: 17px; }
.prototype-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; color: #617589; background: #f1f4f5; border: 1px solid #e6ebed; border-radius: 999px; font-size: 10px; font-weight: 700; }
.prototype-pill i { width: 7px; height: 7px; background: #7cae8a; border-radius: 50%; }
.top-avatar { width: 33px; height: 33px; background: #ffead8; color: var(--admin-orange-ink); }
.mobile-menu { display: none; width: 39px; height: 39px; color: var(--admin-navy); background: #fff; border: 1px solid var(--admin-line); border-radius: 10px; place-items: center; }
.dashboard-content { width: min(100%, 1450px); margin: 0 auto; padding: 42px clamp(24px, 4vw, 58px) 24px; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 28px; }
.eyebrow { margin: 0 0 8px; color: var(--admin-orange-ink); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.eyebrow > span { display: inline-block; width: 7px; height: 7px; margin: 0 7px 1px 0; background: var(--admin-orange); border-radius: 50%; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; color: var(--admin-navy); font-size: clamp(27px, 3vw, 37px); font-weight: 800; letter-spacing: -.045em; line-height: 1.16; }
.welcome-copy { margin: 0; color: var(--admin-muted); font-size: 14px; }
.visit-site { display: inline-flex; min-height: 42px; align-items: center; gap: 11px; padding: 0 15px; color: var(--admin-navy); background: #fff; border: 1px solid #dce3e7; border-radius: 10px; font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; transition: border-color .15s ease, transform .15s ease; }
.visit-site:hover { border-color: #f3b581; transform: translateY(-1px); }
.visit-site .admin-icon { width: 17px; height: 17px; color: var(--admin-orange-ink); }
.status-banner { display: flex; align-items: center; gap: 15px; margin: 0 0 20px; padding: 16px 19px; background: #fff8f0; border: 1px solid #f8e0cb; border-radius: 14px; }
.status-mark { display: grid; width: 38px; height: 38px; flex: 0 0 auto; color: var(--admin-orange-ink); background: #ffe8d4; border-radius: 12px; place-items: center; }
.status-mark .admin-icon { width: 20px; height: 20px; }
.status-banner strong { display: block; margin: 0 0 2px; font-size: 12px; }
.status-banner p { margin: 0; color: #68798a; font-size: 11px; }
.status-tag { margin-left: auto; padding: 5px 8px; color: #a55819; background: #fff; border: 1px solid #f4dec9; border-radius: 6px; font-size: 8px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.metric-card, .panel { background: #fff; border: 1px solid var(--admin-line); border-radius: var(--admin-radius); box-shadow: var(--admin-shadow); }
.metric-card { min-height: 147px; padding: 18px 20px; }
.metric-heading { display: flex; align-items: center; justify-content: space-between; color: #586d80; font-size: 12px; font-weight: 700; }
.metric-icon { display: grid; width: 34px; height: 34px; border-radius: 11px; place-items: center; }
.metric-icon .admin-icon { width: 18px; height: 18px; }
.metric-icon.orange { color: var(--admin-orange-ink); background: #fff0e3; }
.metric-icon.blue { color: #2b668a; background: #eaf3f8; }
.metric-icon.cream { color: #9b723e; background: #f8f2e7; }
.metric-value { margin: 7px 0 1px; color: var(--admin-navy); font-size: 29px; font-weight: 800; letter-spacing: -.04em; line-height: 1.2; }
.metric-text { padding-top: 4px; font-size: 17px; letter-spacing: -.02em; }
.metric-foot { display: flex; align-items: center; gap: 6px; color: #8a98a5; font-size: 10px; }
.metric-dot { width: 6px; height: 6px; background: #c1ccd3; border-radius: 50%; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .9fr); align-items: start; gap: 18px; }
.panel { padding: 22px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-heading .eyebrow { margin-bottom: 6px; font-size: 9px; }
.panel-heading h2 { margin: 0 0 5px; font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.panel-heading p:not(.eyebrow) { max-width: 500px; margin: 0; color: var(--admin-muted); font-size: 11px; }
.heading-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; color: var(--admin-orange-ink); background: #fff0e3; border-radius: 12px; place-items: center; }
.heading-icon .admin-icon { width: 19px; height: 19px; }
.empty-state { display: flex; min-height: 260px; flex-direction: column; align-items: center; justify-content: center; padding: 22px 12px 12px; text-align: center; }
.empty-illustration { position: relative; width: 106px; height: 91px; margin-bottom: 16px; }
.empty-card { position: absolute; width: 67px; height: 78px; background: #fff; border: 1px solid #dfe7eb; border-radius: 11px; box-shadow: 0 8px 20px rgb(6 40 74 / 6%); }
.card-back { top: 4px; left: 30px; background: #eff5f7; transform: rotate(9deg); }
.card-front { top: 8px; left: 17px; padding: 10px 9px; transform: rotate(-6deg); }
.card-front span { display: grid; width: 22px; height: 22px; margin-bottom: 8px; color: var(--admin-orange-ink); background: #fff0e3; border-radius: 7px; place-items: center; }
.card-front span .admin-icon { width: 13px; height: 13px; }
.card-front i { display: block; width: 100%; height: 4px; margin-top: 5px; background: #e8eef1; border-radius: 9px; }
.card-front i:last-child { width: 65%; }
.empty-illustration > b { position: absolute; right: 5px; bottom: 6px; display: grid; width: 29px; height: 29px; color: #fff; background: var(--admin-orange); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 5px 12px rgb(184 77 0 / 20%); place-items: center; }
.empty-illustration > b .admin-icon { width: 15px; height: 15px; }
.empty-state > strong { margin-bottom: 6px; font-size: 13px; }
.empty-state > p { max-width: 365px; margin: 0 0 13px; color: var(--admin-muted); font-size: 11px; }
.coming-label { padding: 5px 8px; color: #758493; background: #f1f4f5; border-radius: 5px; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.right-column { display: grid; align-content: start; gap: 18px; }
.activity-panel { min-height: 228px; padding: 20px; }
.panel-heading.compact { align-items: center; }
.panel-heading.compact h2 { font-size: 16px; }
.heading-icon.small { width: 33px; height: 33px; color: #987448; background: #f8f2e7; border-radius: 10px; }
.heading-icon.small .admin-icon { width: 17px; height: 17px; }
.activity-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 29px 13px 10px; text-align: center; }
.activity-empty > span { display: grid; width: 42px; height: 42px; margin-bottom: 9px; color: #8293a0; background: #f1f5f6; border-radius: 50%; place-items: center; }
.activity-empty > span .admin-icon { width: 19px; height: 19px; }
.activity-empty p { max-width: 260px; margin: 0; color: var(--admin-muted); font-size: 11px; }
.top-career-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.top-career-list li { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 11px 10px; background: #fbfcfc; border: 1px solid #edf0f2; border-radius: 12px; }
.top-career-rank { display: grid; width: 28px; height: 28px; flex: 0 0 auto; color: var(--admin-orange-ink); background: #fff0e3; border-radius: 9px; font-size: 12px; font-weight: 850; place-items: center; }
.top-career-copy { min-width: 0; flex: 1 1 auto; }
.top-career-copy strong, .top-career-copy small, .top-career-views small { display: block; }
.top-career-copy strong { overflow-wrap: anywhere; font-size: 11px; line-height: 1.35; }
.top-career-copy small { margin-top: 3px; color: var(--admin-muted); font-size: 10px; }
.top-career-views { flex: 0 0 auto; color: var(--admin-navy); font-size: 15px; font-weight: 800; text-align: right; }
.top-career-views small { color: var(--admin-muted); font-size: 9px; font-weight: 550; }
.traffic-panel { min-width: 0; padding: 22px; }
.chart-peak { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 18px 0 3px; color: var(--admin-muted); font-size: 11px; }
.chart-peak strong { color: var(--admin-navy); }
.chart-peak > span:last-child { margin-left: auto; padding: 4px 8px; color: var(--admin-orange-ink); background: #fff1e5; border-radius: 999px; font-size: 10px; font-weight: 750; }
.chart-peak-dot { width: 8px; height: 8px; background: var(--admin-orange); border-radius: 50%; box-shadow: 0 0 0 4px #fff0e3; }
.chart-empty-note { margin-top: 16px; padding: 8px 10px; color: #65798a; background: #f5f8f9; border: 1px solid #e8eef1; border-radius: 10px; font-size: 10px; }
.hourly-chart-wrap { margin: 7px 0 0; }
.hourly-chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart-grid-line { stroke: #e9eef0; stroke-dasharray: 3 6; stroke-width: 1; }
.chart-axis-value, .chart-hour-label { fill: #8291a0; font-family: inherit; font-size: 10px; }
.chart-bar { fill: #9cb8ca; transform-box: fill-box; transform-origin: center bottom; animation: chart-rise .65s cubic-bezier(.2,.75,.25,1) both; animation-delay: var(--bar-delay, 0ms); transition: fill .15s ease; }
.chart-bar:hover, .chart-bar:focus { fill: #3b789d; outline: none; }
.chart-bar-peak, .chart-bar-peak:hover, .chart-bar-peak:focus { fill: var(--admin-orange); }
.chart-bar-empty { fill: #cbd6dc; }
.hourly-chart-wrap figcaption { margin-top: 1px; color: #81909d; font-size: 10px; line-height: 1.5; }
.chart-empty { display: grid; min-height: 235px; align-content: center; justify-items: center; gap: 7px; padding: 22px; color: var(--admin-muted); text-align: center; }
.chart-empty strong { color: var(--admin-navy); font-size: 13px; }
.chart-empty span { max-width: 44ch; font-size: 11px; }
@keyframes chart-rise { from { opacity: .35; transform: scaleY(.08); } to { opacity: 1; transform: scaleY(1); } }
.quick-panel { position: relative; display: flex; min-height: 122px; align-items: flex-start; gap: 12px; overflow: hidden; padding: 18px; color: #fff; background: var(--admin-navy); border-radius: var(--admin-radius); }
.quick-symbol { z-index: 1; display: grid; width: 34px; height: 34px; flex: 0 0 auto; color: var(--admin-orange); background: rgb(255 255 255 / 10%); border-radius: 10px; place-items: center; }
.quick-symbol .admin-icon { width: 18px; height: 18px; }
.quick-panel strong, .quick-panel p { position: relative; z-index: 1; }
.quick-panel strong { display: block; margin: 1px 0 5px; font-size: 12px; }
.quick-panel p { max-width: 245px; margin: 0; color: #c1d0dc; font-size: 10px; }
.quick-decoration { position: absolute; right: -28px; bottom: -96px; width: 205px; height: 205px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 50%; box-shadow: 0 0 0 19px rgb(255 255 255 / 2%), 0 0 0 40px rgb(255 255 255 / 2%); }
.admin-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; padding-top: 14px; color: #8b99a5; border-top: 1px solid #e4e9ec; font-size: 9px; }
.admin-footer span:first-child { color: #718293; font-weight: 850; letter-spacing: .12em; }
.sidebar-scrim { position: fixed; z-index: 1030; inset: 0; background: rgb(6 30 54 / 42%); }
.sidebar-scrim[hidden] { display: none; }
:focus-visible { outline: 3px solid #ff9a52; outline-offset: 3px; }
@media (max-width: 1100px) {
  .admin-sidebar { width: 230px; }
  .admin-main { margin-left: 230px; }
  .content-grid { grid-template-columns: minmax(0, 1.2fr) minmax(245px, .8fr); }
  .metric-grid { gap: 11px; }
  .metric-card { padding: 16px; }
}
@media (max-width: 850px) {
  .admin-sidebar { z-index: 1045; width: 270px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 12px 0 30px rgb(6 30 54 / 10%); }
  .admin-sidebar.is-open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-topbar { height: 62px; justify-content: flex-start; gap: 13px; padding-inline: 20px; }
  .mobile-menu { display: grid; flex: 0 0 auto; }
  .topbar-right { margin-left: auto; }
  .dashboard-content { padding: 33px 22px 21px; }
  .content-grid { grid-template-columns: minmax(0, 1.3fr) minmax(230px, .8fr); }
}
@media (max-width: 650px) {
  .topbar-right { gap: 9px; }
  .prototype-pill { padding: 7px 9px; font-size: 9px; }
  .top-avatar { width: 30px; height: 30px; }
  .dashboard-content { padding: 27px 16px 18px; }
  .welcome-row { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }
  .visit-site { min-height: 39px; }
  .status-banner { align-items: flex-start; gap: 10px; padding: 13px; }
  .status-banner p { max-width: 39ch; line-height: 1.45; }
  .status-tag { display: none; }
  .metric-grid { grid-template-columns: 1fr; gap: 10px; }
  .metric-card { min-height: 122px; padding: 15px 17px; }
  .metric-value { font-size: 25px; }
  .content-grid { grid-template-columns: 1fr; gap: 12px; }
  .right-column { gap: 12px; }
  .panel { padding: 18px; border-radius: 17px; }
  .profile-panel .panel-heading h2 { font-size: 16px; }
  .empty-state { min-height: 240px; }
  .activity-panel { min-height: 200px; }
  .admin-footer { flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.logout-form { margin-top: 7px; }
.logout-button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; color: #687b8d; background: transparent; border: 0; border-radius: 9px; font-size: 11px; font-weight: 700; text-align: left; }
.logout-button:hover { color: #a33e31; background: #fbf0ee; }
.logout-button .admin-icon { width: 17px; height: 17px; }
.login-page { display: grid; min-height: 100vh; padding: 25px; background: radial-gradient(ellipse at 50% 0, #fff 0, #f7f8f7 58%); place-items: center; }
.login-wrap { width: min(100%, 450px); }
.login-brand { width: fit-content; margin: 0 auto 24px; padding: 0; }
.login-brand img { width: 210px; }
.login-card { padding: clamp(26px, 6vw, 42px); background: #fff; border: 1px solid var(--admin-line); border-radius: 24px; box-shadow: 0 20px 60px rgb(6 40 74 / 8%); }
.login-card h1 { margin-bottom: 9px; font-size: clamp(29px, 7vw, 36px); }
.login-intro { margin-bottom: 24px; color: var(--admin-muted); font-size: 13px; }
.login-card .form-label, .user-create-form .form-label { display: block; margin: 0 0 7px; color: var(--admin-navy); font-size: 11px; font-weight: 750; }
.admin-input { min-height: 47px; padding: 10px 13px; color: var(--admin-navy); background: #fff; border: 1px solid #dce4e8; border-radius: 10px; font-size: 13px; }
.admin-input:focus { border-color: #79aeda; box-shadow: 0 0 0 3px rgb(79 153 213 / 16%); }
.password-label { margin-top: 18px !important; }
.remember-choice { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 20px; cursor: pointer; }
.remember-choice .form-check-input, .permission-option .form-check-input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--admin-orange-ink); }
.remember-choice strong, .remember-choice small { display: block; }
.remember-choice strong { color: var(--admin-navy); font-size: 12px; }
.remember-choice small { margin-top: 2px; color: var(--admin-muted); font-size: 10px; }
.login-submit { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 10px; color: var(--admin-navy); background: var(--admin-orange); border-color: var(--admin-orange); border-radius: 10px; font-size: 13px; font-weight: 800; }
.login-submit:hover { color: var(--admin-navy); background: #ff8c32; border-color: #ff8c32; }
.login-session-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; padding-top: 15px; color: var(--admin-muted); border-top: 1px solid #edf0f2; font-size: 10px; }
.login-session-note .admin-icon { width: 16px; height: 16px; color: #8b9aa6; }
.login-clock { width: 16px; flex: 0 0 16px; color: #8b9aa6; font-size: 17px; line-height: 1; }
.login-error, .admin-alert { margin: 0 0 18px; padding: 11px 13px; border: 1px solid; border-radius: 10px; font-size: 12px; }
.login-error, .admin-alert.error { color: #8b3126; background: #fff4f2; border-color: #f1d1cc; }
.admin-alert.success { color: #286344; background: #f1faf4; border-color: #cae7d5; }
.login-footer { margin: 18px 0 0; color: #8997a4; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-align: center; }
.login-footer span { padding-inline: 5px; color: var(--admin-orange); }
.user-create-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: 18px; }
.user-create-panel { padding: 22px; }
.user-create-form { margin-top: 20px; }
.user-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.password-field { grid-column: 1 / -1; }
.form-hint { display: block; margin-top: 5px; color: #8593a0; font-size: 9px; line-height: 1.45; }
.permission-fieldset { margin: 22px 0 18px; padding: 16px 0 0; border: 0; border-top: 1px solid var(--admin-line); }
.permission-fieldset legend { float: none; width: auto; margin: 0 0 12px; padding: 0; color: var(--admin-navy); font-size: 12px; font-weight: 800; }
.permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.permission-option { display: flex; min-height: 58px; align-items: flex-start; gap: 9px; padding: 10px; background: #fafbfb; border: 1px solid #edf0f2; border-radius: 10px; cursor: pointer; }
.permission-option:has(input:checked) { background: #fff8f1; border-color: #f4d4b8; }
.permission-option strong, .permission-option small { display: block; }
.permission-option strong { color: var(--admin-navy); font-size: 10px; }
.permission-option small { margin-top: 2px; color: var(--admin-muted); font-size: 9px; line-height: 1.35; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid var(--admin-line); }
.form-actions > span { color: var(--admin-muted); font-size: 10px; }
.form-actions .btn { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; padding: 8px 13px; color: var(--admin-navy); background: var(--admin-orange); border-color: var(--admin-orange); border-radius: 9px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.form-actions .btn .admin-icon { width: 16px; height: 16px; }
.access-note { padding: 18px; color: #dfeaf2; background: var(--admin-navy); border-radius: var(--admin-radius); }
.note-heading { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 12px; }
.note-heading .admin-icon { width: 19px; height: 19px; color: var(--admin-orange); }
.access-note > p { margin: 12px 0 18px; color: #c3d1dc; font-size: 11px; line-height: 1.6; }
.access-note-foot { padding-top: 11px; color: #ffb273; border-top: 1px solid rgb(255 255 255 / 14%); font-size: 9px; font-weight: 700; }
.user-list-panel { margin-top: 18px; padding: 22px; }
.user-list-heading { margin-bottom: 15px; }
.user-list-heading > div > p:last-child { margin: 0; color: var(--admin-muted); font-size: 10px; }
.admin-table { margin: 0; --bs-table-bg: transparent; font-size: 11px; }
.admin-table thead th { padding: 10px 12px; color: #83919d; background: #f8f9f9; border-bottom-color: #e7ecee; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.admin-table tbody td { padding: 12px; color: #52677a; border-bottom-color: #edf0f2; vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td strong { color: var(--admin-navy); font-size: 11px; }
.admin-table td small { margin-top: 2px; color: #8795a1; font-size: 9px; }
.account-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 20px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.account-status::before { width: 6px; height: 6px; background: currentColor; border-radius: 50%; content: ""; }
.account-status.is-active { color: #317650; background: #edf8f0; }
.account-status.is-disabled { color: #8a5960; background: #f9eef0; }
.muted-value, .own-permissions { color: #8996a2; font-size: 9px; }
.permission-editor summary { color: #a6500b; font-size: 10px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.permission-edit-form { min-width: 360px; margin-top: 12px; padding: 13px; background: #fafbfb; border: 1px solid var(--admin-line); border-radius: 12px; }
.compact-permissions { grid-template-columns: 1fr; max-height: 270px; margin-bottom: 11px; overflow: auto; }
.compact-permissions .permission-option { min-height: 45px; }
.permission-edit-form .btn { color: var(--admin-navy); background: var(--admin-orange); border-color: var(--admin-orange); font-weight: 750; }
.user-actions { width: 112px; text-align: right; }
.delete-user-button { padding: 7px 9px; color: #9a3930; background: #fff7f5; border: 1px solid #efd5d0; border-radius: 8px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.delete-user-button:hover { color: #fff; background: #a9443a; border-color: #a9443a; }
.own-account-label { color: #8795a1; font-size: 9px; white-space: nowrap; }
@media (max-width: 850px) { .user-create-grid { grid-template-columns: 1fr; } .access-note { order: -1; } }
@media (max-width: 650px) {
  .login-page { padding: 18px; }
  .login-card { padding: 25px 21px; border-radius: 19px; }
  .user-create-grid { gap: 12px; }
  .user-create-panel, .user-list-panel { padding: 17px; border-radius: 16px; }
  .user-fields, .permission-grid { grid-template-columns: 1fr; }
  .password-field { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .user-list-panel { margin-top: 12px; }
  .permission-edit-form { min-width: 275px; }
}
