:root {
  color-scheme: light;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: #142c24;
  background: #edf3ef;
  --blue: #008069;
  --blue-dark: #006c5b;
  --line: #dfe6ef;
  --border: #dfe6ef;
  --text: #14213d;
  --muted: #66758c;
  --panel: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f4f7fb; }
button, input, select { font: inherit; }
button, .button-link { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); margin: .35rem 0; line-height: 1.5; }
.eyebrow { color: var(--blue); font-weight: 800; font-size: .72rem; letter-spacing: .14em; margin: 0 0 .45rem; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: .25rem; }
h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.brand-mark { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; color: #fff; font-size: 1.5rem; font-weight: 900; background: linear-gradient(145deg, #23d9e8, #2563eb 70%); box-shadow: 0 12px 30px #2563eb40; margin-bottom: 1.4rem; }
.brand-mark.small { width: 38px; height: 38px; border-radius: 12px; font-size: 1rem; margin: 0; }
.login-page { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(360px, 470px) minmax(0, 1fr); background: #f0f2f5; }
.login-panel { background: #fff; padding: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; box-shadow: 12px 0 36px rgba(11, 20, 26, .12); z-index: 1; }
.login-panel h1 { font-size: 28px; line-height: 1.2; margin-bottom: 7px; font-weight: 800; }
.login-aside { position: relative; isolation: isolate; padding: clamp(44px, 7vw, 96px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background-color: #06151a; background-image: linear-gradient(90deg, rgba(4, 18, 22, .92), rgba(4, 18, 22, .42) 48%, rgba(4, 18, 22, .08)), url("/assets/login-radar-messenger-v8.png"); background-size: cover; background-position: 64% center; color: #fff; }
.login-aside::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3, 14, 17, .78)); }
.login-aside-content { width: min(620px, 100%); }
.login-aside-content > h1 { max-width: 580px; margin: 14px 0 10px; color: #fff; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; }
.login-aside-content > p { max-width: 520px; margin: 0; color: rgba(255,255,255,.76); font-size: 16px; }
.login-aside-badge { display: inline-flex; min-height: 30px; align-items: center; padding: 0 12px; border: 1px solid rgba(72, 223, 174, .4); border-radius: 999px; color: #7ce5bf; background: rgba(0, 128, 105, .18); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.brand-lockup { display: flex; gap: 12px; align-items: center; margin-bottom: 36px; }
.brand-title { font-size: 22px; font-weight: 700; letter-spacing: .025em; font-family: "Chakra Petch", "IBM Plex Sans", sans-serif; }
.brand-subtitle { color: var(--muted); font-size: 13px; margin-top: 2px; }
.login-aside .brand-subtitle { color: rgba(255, 255, 255, .82); }
.radar-mark { width: 44px; height: 44px; flex: 0 0 44px; position: relative; overflow: hidden; border: 1px solid rgba(116, 212, 255, .46); border-radius: 50%; background: #0c1c3a; box-shadow: inset 0 0 18px rgba(34, 211, 238, .12), 0 9px 22px rgba(5, 12, 30, .28); }
.radar-mark::before, .radar-mark-ring { content: ""; position: absolute; border: 1px solid rgba(34, 211, 238, .42); border-radius: 50%; }
.radar-mark::before { inset: 8px; }
.radar-mark-ring { inset: 15px; }
.radar-mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 21px; height: 1px; background: rgba(34, 211, 238, .2); }
.radar-mark-sweep { position: absolute; width: 18px; height: 2px; left: 21px; top: 20px; border-radius: 2px; background: #22d3ee; box-shadow: 0 0 8px rgba(34, 211, 238, .8); transform-origin: left center; animation: radar-sweep 3.2s linear infinite; }
.radar-mark-signal { position: absolute; width: 5px; height: 5px; left: 28px; top: 11px; border-radius: 50%; background: #f05a47; box-shadow: 0 0 0 4px rgba(240, 90, 71, .13), 0 0 10px rgba(240, 90, 71, .75); }
@keyframes radar-sweep { to { transform: rotate(360deg); } }
.demo-card { margin-top: 28px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 16px; background: rgba(7, 29, 32, .72); box-shadow: none; max-width: 520px; backdrop-filter: blur(8px); }
.demo-card strong { display: block; font-family: "Chakra Petch", "IBM Plex Sans", sans-serif; font-weight: 700; letter-spacing: .025em; }
.demo-card p { margin: 5px 0 0; }
.stack { display: grid; gap: 14px; margin-top: 22px; }
.field { display: grid; gap: 6px; }
.login-panel label { color: #4c5562; font-size: 12px; font-weight: 650; }
.login-panel input { border-radius: 7px; padding: 11px 12px; min-height: auto; }
.button-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.subscriber-learn-more { text-decoration: none; }
.btn { min-height: 44px; border: 1px solid var(--blue); border-radius: 10px; padding: 0 18px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-family: "IBM Plex Sans", "Segoe UI", sans-serif; font-weight: 700; letter-spacing: 0; clip-path: none; box-shadow: none; transition: background-color 150ms ease, border-color 150ms ease; }
.btn:hover:not(:disabled) { border-color: var(--blue-dark); background: var(--blue-dark); transform: none; }
.btn:focus-visible { outline: 3px solid rgba(0, 128, 105, .2); outline-offset: 2px; }
.login-submit { min-width: 190px; justify-content: space-between; }
.login-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--blue); padding-inline: 8px; clip-path: none; box-shadow: none; }
.btn.ghost:hover:not(:disabled) { background: #e7f7ef; }
label { display: grid; gap: 7px; color: #344258; font-size: .85rem; font-weight: 700; }
input, select { width: 100%; border: 1px solid #ccd6e4; border-radius: 10px; min-height: 44px; padding: 0 13px; color: #14213d; background: #fff; outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #2563eb17; }
button, .button-link { border: 0; border-radius: 10px; min-height: 42px; padding: 0 17px; font-weight: 750; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.primary { color: #fff; background: var(--blue); box-shadow: 0 6px 16px #2563eb28; }
.primary:hover { background: var(--blue-dark); }
.secondary { background: #fff; color: #344258; border: 1px solid #d5deea; }
.quiet { background: transparent; color: #9aa8bb; justify-content: flex-start; }
.full { width: 100%; }
.form-error { color: #c23343; font-size: .84rem; margin: 0; min-height: 1.2em; }
.form-error.success { color: #078360; }
.office-choice { display: grid; gap: 9px; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.office-choice a { padding: 13px; border: 1px solid var(--line); border-radius: 11px; color: #14213d; text-decoration: none; font-weight: 700; }
.owner-shell { height: 100vh; height: 100dvh; display: grid; grid-template-columns: 238px minmax(0, 1fr); overflow: hidden; background: #f5f6f8; }
.owner-sidebar { position: relative; isolation: isolate; min-height: 0; overflow: hidden auto; padding: 24px 18px 20px; display: flex; flex-direction: column; gap: 18px; color: #fff; background: linear-gradient(160deg, #071126 0%, #0d1d3e 58%, #102750 100%); }
.owner-sidebar::before { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -145px; bottom: 90px; border: 1px solid rgba(34, 211, 238, .1); border-radius: 50%; box-shadow: 0 0 0 48px rgba(34, 211, 238, .035), 0 0 0 96px rgba(34, 211, 238, .025); }
.owner-brand { margin-bottom: 0; }
.owner-brand .brand-subtitle { color: rgba(255, 255, 255, .62); }
.brand-copy { min-width: 0; }
.owner-nav { width: 100%; display: grid; gap: 5px; }
.owner-nav button { position: relative; width: 100%; min-height: 42px; padding: 0 13px; border-radius: 7px; justify-content: flex-start; gap: 11px; color: rgba(255, 255, 255, .78); background: transparent; font-weight: 550; }
.owner-nav button span { min-width: 0; flex: 1; text-align: left; }
.owner-nav button small { position: absolute; right: 11px; color: rgba(255, 255, 255, .45); font-size: 9px; }
.owner-nav button:disabled span { padding-right: 48px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owner-nav button svg, .sidebar-logout svg, .owner-main-action svg, .refresh-button svg, .search-control svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.owner-nav button:first-child svg { fill: currentColor; stroke: none; }
.owner-nav button svg { color: rgba(157, 222, 255, .72); }
.owner-nav button.active, .owner-nav button:not(:disabled):hover { color: #fff; background: rgba(255, 255, 255, .09); }
.owner-nav button.active svg { color: #22d3ee; }
.owner-nav button.active::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 3px; background: #f05a47; }
.owner-nav button:disabled { cursor: default; opacity: .72; }
.owner-sidebar-footer { margin-top: auto; display: grid; gap: 10px; }
.owner-profile { min-width: 0; padding: 14px 8px 4px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; gap: 10px; }
.owner-profile > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #2563eb, #22d3ee); font-weight: 800; }
.owner-profile div { min-width: 0; }
.owner-profile strong, .owner-profile div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.owner-profile div span { margin-top: 2px; color: rgba(255, 255, 255, .58); }
.sidebar-logout { width: 100%; justify-content: flex-start; gap: 10px; border-radius: 8px; color: #20242a; background: #edf0f4; box-shadow: none; }
.owner-content { min-width: 0; overflow: auto; padding: 30px 32px 44px; }
.owner-header, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.owner-header { padding-bottom: 22px; border-bottom: 1px solid #e1e5ea; }
.owner-header h1 { color: #20242a; font-size: 28px; line-height: 1.2; margin-bottom: 7px; }
.owner-header .muted { margin-bottom: 0; }
.owner-main-action { gap: 8px; white-space: nowrap; border-radius: 8px; }
.owner-main-action svg { width: 16px; height: 16px; }
.owner-mobile-nav { display: none; width: 100%; min-height: 44px; margin-top: 16px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); font: inherit; font-weight: 700; }
.owner-page { margin-top: 20px; }
.dashboard-grid, .plans-grid, .monitoring-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.platform-section, .plan-card, .monitor-card { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 18px; box-shadow: 0 6px 18px rgba(15, 31, 54, .04); }
.platform-section h2, .plan-card h2, .monitor-card h2 { margin: 0; font-size: 17px; }
.platform-section-header, .monitor-heading, .plan-card-header, .audit-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.platform-section-header { margin-bottom: 14px; }
.compact-list, .audit-list { display: grid; gap: 10px; }
.compact-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 12px; border: 1px solid #e7edf5; border-radius: 10px; background: #f9fbfe; }
.compact-item-copy, .compact-item > div { min-width: 0; }
.compact-item-copy strong, .compact-item-copy span, .compact-item > div strong, .compact-item > div span { display: block; }
.compact-item-copy span, .compact-item > div span, .audit-meta, .plan-card p, .monitor-card p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #19b789; box-shadow: 0 0 0 4px rgba(25, 183, 137, .12); }
.status-dot.warning { background: #f0a12b; box-shadow: 0 0 0 4px rgba(240, 161, 43, .14); }
.status-dot.danger { background: #ef5b5b; box-shadow: 0 0 0 4px rgba(239, 91, 91, .14); }
.healthy-state { display: flex; align-items: center; gap: 12px; min-height: 70px; border: 1px solid #cceee3; border-radius: 10px; background: #f2fcf8; padding: 14px; color: #078360; font-weight: 800; }
.healthy-state p { margin: 4px 0 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.plans-grid { grid-template-columns: 1fr; }
.plan-card { min-width: 0; max-width: 100%; display: grid; align-content: start; gap: 16px; }
.plan-card-header { align-items: flex-start; }
.plan-card-badges { display: flex; align-items: center; gap: 7px; }
.customization-badge { color: #8a5500; background: #fff1c7; }
.plan-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plan-fields label { display: grid; gap: 6px; color: #40506a; font-size: 11px; font-weight: 800; }
.plan-fields input, .plan-fields select, .audit-toolbar input, .audit-toolbar select { width: 100%; min-height: 42px; border: 1px solid var(--border); border-radius: 9px; background: #fff; padding: 0 11px; color: var(--text); font: inherit; }
.usage-list { display: grid; gap: 11px; }
.usage-item { display: grid; gap: 6px; }
.usage-item-header, .usage-item > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: #50617b; font-size: 12px; }
.usage-track { height: 7px; overflow: hidden; border-radius: 999px; background: #eaf0f7; }
.usage-track span, .usage-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #246bfe, #19c5d2); }
.usage-track span.warning, .usage-track i.warning { background: linear-gradient(90deg, #f0a12b, #f6c453); }
.usage-track span.danger, .usage-track i.danger { background: linear-gradient(90deg, #ef5b5b, #f58b7e); }
.feature-list { display: flex; flex-wrap: wrap; gap: 7px; }
.feature-list span { border-radius: 999px; background: #eef4ff; padding: 6px 9px; color: #2455ad; font-size: 11px; font-weight: 800; }
.feature-controls { display: grid; gap: 12px; border-top: 1px solid #e3eaf3; padding-top: 15px; }
.feature-controls-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.feature-controls-heading > div strong, .feature-controls-heading > div span { display: block; }
.feature-controls-heading > div strong { font-size: 14px; }
.feature-controls-heading > div span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.compact-button { min-height: 36px; padding: 0 11px; font-size: 11px; }
.feature-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.feature-control { min-width: 0; min-height: 70px; display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; border: 1px solid #dfe7f1; border-radius: 10px; background: #f9fbfe; padding: 11px; cursor: pointer; }
.feature-control:has(input:checked) { border-color: #a9c5ff; background: #f1f6ff; }
.feature-control.locked { border-color: #c8d5e7; background: #eef3f9; cursor: default; }
.feature-control input { width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.feature-control > span { min-width: 0; }
.feature-control strong, .feature-control small { display: block; }
.feature-control strong { color: #25334a; font-size: 11px; line-height: 1.3; }
.feature-control small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.35; }
.form-feedback { min-height: 18px; color: var(--muted); font-size: 12px; }
.form-feedback.error, .monitor-alert { color: #c83939; }
.form-feedback.success { color: #078360; }
.monitoring-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.monitor-card { display: grid; gap: 14px; }
.monitor-heading > div { min-width: 0; }
.monitor-heading h2, .monitor-heading h3, .monitor-heading p, .monitor-heading span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-heading h3 { margin: 0; font-size: 16px; }
.monitor-heading > div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.monitor-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.monitor-metric, .monitor-metrics > div { min-width: 0; border-radius: 9px; background: #f3f6fa; padding: 10px; }
.monitor-metric span, .monitor-metric strong, .monitor-metrics > div span, .monitor-metrics > div strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.monitor-metric span, .monitor-metrics > div span { color: var(--muted); font-size: 10px; }
.monitor-metric strong, .monitor-metrics > div strong { margin-top: 4px; font-size: 13px; }
.monitor-alert { border: 1px solid #ffd0d0; border-radius: 9px; background: #fff4f4; padding: 10px; font-size: 12px; }
.audit-toolbar { align-items: stretch; margin-bottom: 14px; }
.audit-toolbar input { flex: 1 1 260px; }
.audit-toolbar select { flex: 0 1 220px; }
.audit-event { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; border: 1px solid #e4ebf4; border-radius: 10px; background: #fff; padding: 11px 12px; }
.audit-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: #edf4ff; color: #246bfe; font-size: 16px; font-weight: 900; }
.audit-copy { min-width: 0; }
.audit-copy strong, .audit-copy span { display: block; }
.audit-copy span { overflow-wrap: anywhere; }
.audit-copy p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.audit-meta span, .audit-meta time { display: block; }
.audit-meta { margin: 0; text-align: right; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 14px; margin: 22px 0; }
.summary-card { position: relative; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e1e5ea; border-radius: 9px; padding: 17px 18px; box-shadow: 0 8px 24px rgba(28, 34, 44, .045); }
.summary-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: #2563eb; }
.summary-card:nth-child(2)::before { background: #16b8a6; }
.summary-card:nth-child(3)::before { background: #22d3ee; }
.summary-card:nth-child(4)::before { background: #f05a47; }
.summary-card span { display: block; color: #69717d; font-size: 12px; font-weight: 600; }
.summary-card strong { display: block; color: #20242a; font-size: 24px; line-height: 1.15; margin-top: 7px; }
.organization-section { padding: 20px; background: #fff; border: 1px solid #e1e5ea; border-radius: 10px; box-shadow: 0 8px 24px rgba(28, 34, 44, .045); }
.section-heading h2 { margin: 0 0 3px; color: #20242a; font-size: 19px; }
.section-heading .muted { margin: 0; font-size: 12px; }
.refresh-button { min-height: 38px; gap: 8px; border-radius: 8px; background: #edf0f4; border: 0; }
.organization-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 190px; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #e1e5ea; }
.search-control { position: relative; display: block; }
.search-control svg { position: absolute; z-index: 1; left: 12px; top: 50%; color: #69717d; transform: translateY(-50%); pointer-events: none; }
.search-control input { padding-left: 39px; }
.organization-toolbar input, .organization-toolbar select { min-height: 40px; border-radius: 7px; border-color: #e1e5ea; }
.office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 16px; }
.office-card { min-width: 0; padding: 16px; background: #fff; border: 1px solid #e1e5ea; border-radius: 9px; box-shadow: 0 5px 16px rgba(28, 34, 44, .035); transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.office-card:hover { border-color: #cbd7e7; box-shadow: 0 10px 24px rgba(28, 34, 44, .07); transform: translateY(-1px); }
.office-top { display: flex; justify-content: space-between; gap: 12px; }
.office-avatar { width: 40px; height: 40px; flex: none; border-radius: 9px; display: grid; place-items: center; color: #0369a1; background: #e0f2fe; font-weight: 800; }
.office-title { display: flex; gap: 11px; min-width: 0; }
.office-title h2 { margin: 1px 0 2px; color: #20242a; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.office-title .muted { margin: 0; font-size: 12px; }
.badge { height: fit-content; border-radius: 999px; padding: 4px 8px; font-size: 10px; font-weight: 800; }
.badge.online { color: #08735a; background: #ddf8ef; }
.badge.offline { color: #a86708; background: #fff4d8; }
.office-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #e1e5ea; border-bottom: 1px solid #e1e5ea; margin: 14px 0; padding: 11px 0; }
.office-metrics span, .office-meta span { display: block; color: #69717d; font-size: 10px; }
.office-metrics strong { display: block; margin-top: 3px; color: #20242a; font-size: 13px; }
.office-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 15px; }
.office-meta strong { display: block; margin-top: 3px; color: #343b45; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.office-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.office-actions button, .office-actions a { min-height: 38px; border-radius: 8px; font-size: 12px; }
.danger-soft { background: #fff0f0; color: #d64545; border: 0; box-shadow: none; }
.danger-soft:disabled { color: #a98d91; background: #f5f1f2; cursor: not-allowed; }
.danger-button { background: #c93443; color: #fff; }
.danger-button:hover { background: #ab2432; }
.danger-text { color: #bd2938; }
.critical-notice { margin: 22px 0 18px; padding: 16px; border: 1px solid #f1c4ca; border-radius: 12px; background: #fff5f6; }
.critical-notice strong { color: #9f1f2d; }
.critical-notice p { margin: 7px 0 0; color: #754b51; font-size: .9rem; line-height: 1.45; }
.confirmation-field { display: grid; gap: 8px; color: #526071; font-size: .82rem; }
.confirmation-field strong { color: #14213d; }
input[readonly] { background: #f2f5f8; color: #526071; }
.empty { grid-column: 1 / -1; padding: 42px; text-align: center; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px; color: #69717d; }
dialog { width: min(590px, calc(100% - 28px)); border: 0; border-radius: 18px; padding: 0; color: #14213d; box-shadow: 0 30px 80px #14213d42; }
dialog::backdrop { background: #0e1b31a6; backdrop-filter: blur(2px); }
dialog form, .access-result { padding: 26px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.icon-button { font-size: 1.6rem; width: 38px; min-height: 38px; padding: 0; background: #f0f3f7; color: #65738a; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 24px; }
.form-grid .wide { grid-column: 1 / -1; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.success-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #dcf7ee; color: #08735a; font-size: 1.7rem; font-weight: 900; margin-bottom: 16px; }
.credentials { display: grid; gap: 5px; background: #f3f6fb; padding: 16px; border-radius: 12px; margin-top: 20px; }
.credentials span { color: var(--muted); font-size: .72rem; margin-top: 7px; }
.credentials strong { overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .login-page { grid-template-columns: 1fr; }
  .login-aside { min-height: 260px; order: -1; background-position: 72% 26%; }
  .owner-shell { height: auto; min-height: 100vh; overflow: visible; grid-template-columns: 1fr; }
  .owner-sidebar { min-height: auto; padding: 13px 18px; flex-direction: row; align-items: center; gap: 12px; overflow: hidden; }
  .owner-brand { margin: 0 auto 0 0; }
  .owner-nav, .owner-profile { display: none; }
  .owner-mobile-nav { display: block; }
  .owner-sidebar-footer { margin: 0; }
  .sidebar-logout { width: auto; padding-inline: 13px; }
  .sidebar-logout span { display: none; }
  .owner-content { overflow: visible; padding: 25px 18px; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .owner-header { align-items: flex-start; flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .plan-fields, .feature-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-toolbar { flex-wrap: wrap; }
  .audit-toolbar select { flex: 1 1 220px; }
}
@media (max-width: 520px) {
  .login-panel, .login-aside { padding: 30px 24px; }
  .summary-grid, .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .section-heading { align-items: flex-end; }
  .organization-section { padding: 16px; }
  .organization-toolbar { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .plan-fields { grid-template-columns: 1fr; }
  .feature-control-grid { grid-template-columns: 1fr; }
  .feature-controls-heading { align-items: stretch; flex-direction: column; }
  .monitor-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-event { grid-template-columns: 38px minmax(0, 1fr); }
  .audit-meta { grid-column: 2; text-align: left; }
  .platform-section, .plan-card, .monitor-card { padding: 14px; }
}
