:root {
  --navy: #122a43;
  --navy-deep: #0e2035;
  --accent: #0089c5;
  --action: #006d9f;
  --ink: #203449;
  --muted: #5e7081;
  --line: #dce4eb;
  --canvas: #f4f7fa;
  --soft-blue: #e9f5fb;
  --font: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 14px/1.6 var(--font); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: var(--action); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, .button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 11px 17px; border: 1px solid var(--action); border-radius: 8px; background: var(--action); color: #fff; font-weight: 600; font-size: 13px; line-height: 1.5; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: #005c87; border-color: #005c87; }
button:disabled { opacity: .6; cursor: wait; }
button.secondary, .button.secondary { color: var(--ink); border-color: #c9d5df; background: #fff; }
button.secondary:hover, .button.secondary:hover { background: var(--soft-blue); border-color: #87b7cf; }
:focus-visible { outline: 3px solid #0089c5; outline-offset: 4px; }
input:focus-visible { outline-offset: 2px; }
button[hidden], [hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(27px, 2.3vw, 34px); font-weight: 650; line-height: 1.25; letter-spacing: -.9px; margin-bottom: 10px; }
h2 { font-size: 19px; line-height: 1.35; font-weight: 650; letter-spacing: -.4px; margin-bottom: 9px; }
h3 { font-size: 15px; line-height: 1.5; font-weight: 600; margin-bottom: 5px; }
p { margin-bottom: 16px; }
img { max-width: 100%; }
.icon { flex: 0 0 20px; vertical-align: middle; }
.help-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; text-decoration: none; }
.help-trigger:hover { background: var(--soft-blue); }
.guide-inline-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; margin: 3px 0 16px; }
.guide-open { overflow: hidden; }
.guide-dialog { width: min(1080px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 100px #10233744; }
.guide-dialog::backdrop { background: #0b2037b8; backdrop-filter: blur(4px); }
.guide-close { position: sticky; top: 16px; float: right; margin: 16px 16px -60px 0; z-index: 2; width: 44px; padding: 10px; }
.guide-heading { padding: 35px 72px 23px 36px; background: linear-gradient(120deg, var(--soft-blue), #fff 85%); border-bottom: 1px solid var(--line); }
.guide-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--action); font-size: 11px; font-weight: 650; letter-spacing: 1px; margin-bottom: 15px; }
.guide-heading h1 { font-size: clamp(24px, 2.5vw, 32px); margin-bottom: 10px; }
.guide-heading p { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 13px; }
.guide-navigation { display: flex; padding: 16px 30px; gap: 7px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.guide-tab { flex: 1 0 auto; color: var(--muted); background: transparent; border-color: transparent; font-size: 11px; padding: 9px 8px; min-height: 44px; }
.guide-tab span { color: var(--action); font-weight: 700; }
.guide-tab:hover, .guide-tab[aria-current] { color: var(--ink); background: var(--soft-blue); border-color: #cae2ef; }
.guide-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 30px; padding: 30px 36px; align-items: start; }
.guide-kicker { display: block; color: var(--action); font-size: 10px; font-weight: 650; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 10px; }
.guide-step h2 { font-size: 23px; line-height: 1.3; margin-bottom: 16px; }
.guide-step p { color: var(--muted); font-size: 13px; }
.guide-step strong { color: var(--ink); }
.guide-copy, .guide-visual { min-width: 0; }
.guide-figure { margin: 0 0 16px; padding: 8px; background: #f2f5f8; border: 1px solid var(--line); border-radius: 10px; }
.guide-figure a { display: block; text-decoration: none; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 5px; background: #0f0f0f; }
.guide-figure a > span { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; padding: 8px 3px 0; }
.guide-figure .icon { width: 15px; height: 15px; flex-basis: 15px; }
.guide-note { display: flex; gap: 9px; padding: 12px 14px; background: var(--soft-blue); border-left: 3px solid var(--accent); border-radius: 0 7px 7px 0; font-size: 12px; margin-bottom: 16px; }
p.guide-note { display: block; }
.guide-visual-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.guide-values { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; font-size: 12px; margin: 0 0 16px; }
.guide-values dt { color: var(--muted); }
.guide-values dd { margin: 0; font-weight: 600; }
.guide-details { font-size: 12px; }
.guide-details summary { min-height: 44px; cursor: pointer; color: var(--action); }
.guide-details dd { margin: 3px 0 12px; overflow-wrap: anywhere; }
.guide-details dt { font-weight: 600; }
.guide-controls { position: sticky; bottom: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 36px; border-top: 1px solid var(--line); background: #fff; }
.guide-controls > span { font-size: 11px; color: var(--muted); }
.guide-controls button:disabled { cursor: default; opacity: .45; }
.guide-troubleshooting { margin: 0; padding: 12px 36px; background: #f8fafb; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.guide-troubleshooting summary { padding: 6px 0; cursor: pointer; min-height: 34px; }
.guide-troubleshooting p { margin: 8px 0; }
.guide-prompt { background: var(--soft-blue); padding: 19px; border-radius: 10px; margin-top: 20px; }
.guide-prompt > span { display: block; font-size: 10px; color: var(--action); font-weight: 650; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 9px; }
.guide-prompt p { color: var(--ink); font-weight: 550; }
.guide-prompt small { font-size: 11px; }
.guide-success { padding: 25px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafb; }
.guide-page { max-width: 1080px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.guide-page .guide-step + .guide-step { border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .help-trigger span { display: none; }
  .topbar .help-trigger { color: #e7f4ff; border-color: #597186; }
  .topbar .help-trigger:hover { color: #fff; background: #203d55; }
  .guide-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .guide-heading { padding: 27px 64px 20px 22px; }
  .guide-navigation { padding: 10px 15px; }
  .guide-tab { flex: 0 0 auto; }
  .guide-step { grid-template-columns: 1fr; padding: 24px 22px; gap: 10px; }
  .guide-controls { padding: 15px 22px; flex-wrap: wrap; }
  .guide-troubleshooting { padding: 10px 22px; }
  .guide-values { grid-template-columns: 1fr; gap: 0; }
  .guide-values dd { margin-bottom: 9px; }
}
@media (max-width: 400px) {
  .guide-heading { padding-left: 16px; }
  .guide-step { padding: 22px 16px; }
  .guide-controls { padding: 13px 16px; }
  .guide-controls button { padding: 9px; font-size: 11px; gap: 4px; }
  .guide-controls > span { order: -1; width: 100%; text-align: center; }
  .guide-close { margin-right: 10px; }
}
.skip-link { position: fixed; top: -100px; left: 12px; padding: 12px 20px; z-index: 100; background: #fff; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: #fff; }
.client-logo { display: block; width: 140px; height: auto; object-fit: contain; }
.client-wordmark { font-size: 28px; letter-spacing: -.8px; }
.provider { display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1; }
.provider img { width: 72px; height: auto; }
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; display: flex; flex-direction: column; width: 224px; padding: 34px 18px 25px; background: var(--navy-deep); color: #bfcdd9; }
.sidebar > .brand { padding: 0 16px; }
.sidebar-caption { padding: 0 16px; font-size: 11px; color: #b3c5d5; margin: 23px 0 29px; }
.sidebar nav { display: grid; gap: 8px; }
.sidebar nav a { display: flex; align-items: center; gap: 13px; padding: 13px 15px; min-height: 48px; border-radius: 7px; color: #c6d4df; text-decoration: none; font-size: 13px; font-weight: 500; }
.sidebar nav a:hover { color: #fff; background: #203d55; }
.sidebar nav a.nav-current { color: #fff; background: #174764; box-shadow: inset 3px 0 #20aee9; }
.sidebar nav a:focus-visible { outline-color: #6dd3ff; }
.sidebar-bottom { margin-top: auto; padding: 25px 16px 0; font-size: 10px; }
.sidebar-bottom > span { display: block; padding-bottom: 19px; border-bottom: 1px solid #2c4156; }
.sidebar-bottom .provider { margin-top: 20px; color: #b8c6d2; }
.workspace-body { margin-left: 224px; min-width: 0; }
.topbar { min-height: 86px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 42px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.desktop-context { color: var(--muted); font-size: 12px; }
.desktop-context > span { color: #a4b3c1; margin: 0 12px; }
.account { display: flex; align-items: center; gap: 11px; min-width: 0; }
.account-avatar, .person-avatar { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #edf3f8; color: #5e7b91; }
.account-name { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; max-width: 260px; }
.account-name small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; }
.logout { color: var(--muted); border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; padding: 7px 0 7px 18px; margin-left: 10px; font-size: 12px; }
.logout:hover { color: var(--action); background: transparent; }
.mobile-brand, .mobile-navigation { display: none; }
.workspace-content { max-width: 1550px; padding: 35px 42px 44px; margin: 0 auto; min-height: calc(100vh - 155px); }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.page-heading p { color: var(--muted); margin: 0; font-size: 13px; }
.context-tag { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.context-tag .icon { width: 17px; height: 17px; flex-basis: 17px; }
.welcome-banner { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; overflow: hidden; border-radius: 12px; min-height: 195px; padding: 27px 34px; color: #fff; background: var(--navy); }
.welcome-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; z-index: -2; }
.welcome-banner:after { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(90deg, rgba(9,35,57,.96) 0%, rgba(9,35,57,.78) 43%, rgba(9,35,57,.15) 100%); }
.welcome-copy > span { display: block; font-size: 11px; color: #b8d6e7; margin-bottom: 11px; }
.welcome-copy h2 { color: #fff; font-size: clamp(21px, 2vw, 28px); letter-spacing: -.6px; line-height: 1.35; font-weight: 600; margin-bottom: 10px; }
.welcome-copy p { margin: 0; color: #d7e4ee; font-size: 12px; }
.banner-brand { padding: 0 12px; }
.banner-brand .client-logo { width: 140px; }
.workspace-summary { display: flex; flex-wrap: wrap; gap: 20px 30px; padding: 22px 0 26px; color: var(--muted); font-size: 12px; }
.workspace-summary > span { display: inline-flex; align-items: center; gap: 7px; }
.workspace-summary .icon { width: 17px; height: 17px; flex-basis: 17px; color: #70879b; }
.workspace-summary strong { color: var(--ink); font-weight: 650; }
.active-dot, .status > span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #27865f; }
.dashboard { display: grid; grid-template-columns: minmax(0, 1fr) 294px; gap: 25px; align-items: start; }
.dashboard-primary, .dashboard-aside { min-width: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; margin-bottom: 24px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 23px 24px; gap: 18px; }
.section-heading h2 { margin-bottom: 4px; }
.section-heading p { font-size: 12px; color: var(--muted); margin-bottom: 0; max-width: 44ch; }
.section-heading .button { flex-shrink: 0; font-size: 12px; padding: 9px 12px; }
.section-heading .button .icon { width: 16px; height: 16px; flex-basis: 16px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; }
th { font-weight: 500; color: var(--muted); font-size: 11px; background: #f9fbfd; }
th, td { border-top: 1px solid var(--line); padding: 17px 19px; vertical-align: middle; }
th:first-child, td:first-child { padding-left: 24px; }
td strong { font-weight: 600; overflow-wrap: anywhere; }
td small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; overflow-wrap: anywhere; }
.person { display: flex; gap: 10px; align-items: center; }
.person > div { min-width: 0; }
.person-avatar { width: 34px; height: 34px; flex-basis: 34px; }
.person-avatar .icon { width: 17px; height: 17px; }
.status { display: inline-flex; align-items: center; gap: 6px; color: #216847; font-size: 10px; font-weight: 600; background: #eef7f2; border-radius: 20px; padding: 4px 8px; white-space: nowrap; }
.status.inactive { color: #74604a; background: #f6f1eb; }
.status.inactive > span { background: #94724e; }
.row-action { text-align: right; }
.text-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; font-size: 11px; font-weight: 600; text-decoration: none; }
.text-action .icon { width: 15px; height: 15px; flex-basis: 15px; }
.empty-state { display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--line); padding: 30px 24px; }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px dashed #c5d9e7; border-radius: 12px; color: #62849a; }
.empty-state h3 { font-size: 13px; }
.empty-state p { font-size: 12px; color: var(--muted); margin-bottom: 0; max-width: 49ch; }
.protected-value { color: #738597; letter-spacing: 2px; }
.connection { padding: 25px 24px 22px; }
.section-icon { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; color: var(--action); background: var(--soft-blue); border-radius: 10px; margin-bottom: 17px; }
.connection h2 { font-size: 17px; }
.connection > p { font-size: 12px; color: var(--muted); }
.small-label { font-size: 11px; font-weight: 600; margin-bottom: 8px; display: block; }
input:not([type=checkbox]) { width: 100%; min-width: 0; display: block; min-height: 48px; padding: 11px 13px; border: 1px solid #bacad6; border-radius: 7px; background: #fff; color: var(--ink); font-size: 14px; }
input::placeholder { color: #7a8997; opacity: 1; }
input[readonly] { background: #f6f9fc; }
.copy-field input { font-size: 11px; padding: 10px; min-height: 42px; }
.copy-button { width: 100%; margin-top: 9px; font-size: 11px; }
.copy-button .icon { width: 16px; height: 16px; flex-basis: 16px; }
.copy-feedback { min-height: 22px; display: block; font-size: 11px; color: var(--action); padding-top: 5px; }
.connection-details { border-top: 1px solid var(--line); padding: 15px 0; margin-top: 8px; }
summary { cursor: pointer; color: var(--ink); font-size: 11px; font-weight: 600; min-height: 32px; padding-top: 7px; }
dl { margin: 9px 0; }
dt { color: var(--muted); font-size: 10px; margin: 12px 0 3px; }
dd { margin: 0; font-size: 11px; overflow-wrap: anywhere; }
code { overflow-wrap: anywhere; }
.connection-access { border-top: 1px solid var(--line); padding-top: 16px; font-size: 11px; }
.connection-access strong { font-weight: 600; }
.connection-access p { color: var(--muted); margin: 7px 0 0; line-height: 1.75; }
.recovery-note { display: flex; align-items: start; gap: 10px; margin: 0 6px; font-size: 11px; }
.recovery-note > .icon { color: #688399; width: 18px; height: 18px; flex-basis: 18px; margin-top: 3px; }
.recovery-note strong { font-weight: 600; }
.recovery-note p { color: var(--muted); margin-top: 4px; }
.workspace-footer { display: flex; justify-content: space-between; gap: 15px; margin: 0 42px; border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: 10px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; text-decoration: none; min-height: 44px; margin-bottom: 18px; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 630px) minmax(190px, 270px); gap: 38px; align-items: start; }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px 36px; }
.form-panel h1 { font-size: 27px; }
.form-panel > p { color: var(--muted); font-size: 13px; }
.field { margin: 23px 0; }
.field > label { display: block; color: var(--ink); font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.field-help { color: var(--muted); font-size: 11px; margin: 8px 0 0; }
.password-field { position: relative; }
.password-field input { padding-right: 80px; }
.password-toggle { position: absolute; right: 3px; top: 3px; min-height: 42px; border: 0; background: transparent; color: var(--action); padding: 7px 10px; font-size: 11px; }
.password-toggle:hover { background: var(--soft-blue); }
.checkbox { display: flex; align-items: center; gap: 13px; padding: 15px; background: #f7fafc; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; margin-top: 25px; }
.checkbox input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--action); }
.checkbox strong { font-size: 12px; font-weight: 600; }
.checkbox small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 29px; padding-top: 25px; border-top: 1px solid var(--line); }
.editor-note { padding-top: 40px; font-size: 12px; color: var(--muted); }
.editor-note h2 { font-size: 16px; color: var(--ink); line-height: 1.5; }
.note-rule { display: flex; gap: 11px; padding-top: 23px; border-top: 1px solid var(--line); margin-top: 25px; font-size: 11px; }
.note-rule .icon { color: var(--action); }
.delete-area { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.delete-area h2 { font-size: 13px; }
.delete-area p { font-size: 11px; color: var(--muted); margin: 0; }
.danger { color: #a03232; border-color: #dcbebe; background: #fff; font-size: 11px; white-space: nowrap; }
.danger:hover { color: #8e2020; background: #fff0f0; border-color: #b96b6b; }
.notice { display: flex; align-items: center; gap: 12px; padding: 15px 18px; margin-bottom: 22px; background: #eaf6ef; border: 1px solid #b7d9c5; border-radius: 8px; color: #216046; font-size: 12px; }
.notice.error { color: #962d2d; background: #fff1ef; border-color: #e4bab6; }
.public-page { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.public-header { min-height: 110px; padding: 20px max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--navy-deep); color: #cfdae5; }
.public-header .client-logo { width: 118px; }
.public-header > span { font-size: 12px; }
.public-content { flex: 1; width: 100%; max-width: 1450px; margin: 0 auto; padding: 40px max(5vw, 24px); }
.login-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); min-height: 570px; gap: 8%; align-items: center; }
.login-story { position: relative; isolation: isolate; align-self: stretch; min-height: 550px; border-radius: 15px; overflow: hidden; background: var(--navy); color: #fff; display: flex; align-items: end; padding: 42px; }
.story-image { position: absolute; inset: 0; z-index: -2; height: 100%; width: 100%; object-fit: cover; object-position: 60% center; }
.login-story:after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9,31,51,.97) 0%, rgba(9,31,51,.75) 45%, rgba(9,31,51,.05) 100%); }
.story-label { display: block; margin-bottom: 18px; color: #c0eaff; font-size: 12px; font-weight: 500; }
.story-content h1 { font-size: clamp(31px, 3vw, 45px); font-weight: 600; line-height: 1.22; letter-spacing: -1.4px; margin-bottom: 20px; }
.story-content > p { font-size: 13px; line-height: 1.8; color: #d2dee8; max-width: 35ch; }
.story-signature { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: #cadce7; font-size: 10px; }
.story-signature span { display: inline-block; width: 24px; height: 2px; background: #25b8f4; }
.login-form { padding: 20px 10px 20px 0; max-width: 410px; width: 100%; }
.form-heading { margin-bottom: 30px; }
.form-heading h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.8px; }
.form-heading p { color: var(--muted); font-size: 13px; }
.login-form .field { margin: 22px 0; }
.button-wide { width: 100%; min-height: 49px; margin-top: 8px; justify-content: space-between; padding-left: 19px; padding-right: 19px; }
.access-help { margin: 24px 0 26px; font-size: 12px; font-weight: 600; }
.access-help > span { color: var(--muted); font-size: 11px; font-weight: 400; }
.login-note { display: flex; gap: 11px; align-items: start; border-top: 1px solid var(--line); padding-top: 23px; color: var(--muted); font-size: 11px; }
.login-note .icon { color: #628298; }
.public-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px max(5vw, 24px); font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); }
.consent { max-width: 600px; margin: 25px auto; }
.consent h1 { font-size: 31px; }
.identity-row { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); padding: 15px; border-radius: 8px; margin: 25px 0; }
.identity-row strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.identity-row div > span { display: block; color: var(--muted); font-size: 11px; }
.permission { background: #f4f9fc; border-left: 3px solid var(--accent); padding: 20px; margin-bottom: 28px; }
.permission h2 { font-size: 13px; }
.permission p { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-note { display: flex; align-items: start; gap: 10px; margin: 25px 0 0; font-size: 11px !important; color: var(--muted); }
@media (min-width: 1600px) { .dashboard { grid-template-columns: minmax(0, 1fr) 330px; } }
@media (min-width: 801px) { .workspace-footer .provider { display: none; } }
@media (max-width: 1250px) {
  .sidebar { width: 200px; padding-left: 14px; padding-right: 14px; }
  .workspace-body { margin-left: 200px; }
  .workspace-content { padding-left: 28px; padding-right: 28px; }
  .topbar { padding-left: 28px; padding-right: 28px; }
  .dashboard { grid-template-columns: minmax(0, 1fr); }
  .dashboard-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; align-items: start; }
  .recovery-note { margin-top: 22px; }
  .editor-layout { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 680px; }
  .editor-note { padding-top: 24px; }
}
@media (max-width: 800px) {
  .sidebar { display: none; }
  .workspace-body { margin-left: 0; }
  .desktop-context, .account-avatar, .context-tag { display: none; }
  .topbar { min-height: 83px; padding: 12px 22px; background: var(--navy-deep); color: #fff; }
  .mobile-brand { display: block; }
  .mobile-brand .client-logo { width: 95px; }
  .account-name { max-width: 170px; font-size: 10px; }
  .account-name small { font-size: 9px; color: #bccbd6; }
  .logout { color: #d0dce7; border-color: #3b5063; margin-left: 0; padding-left: 12px; }
  .logout:hover { color: #fff; }
  .logout > span { display: none; }
  .mobile-navigation { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-bottom: 1px solid var(--line); padding: 0 12px; }
  .mobile-navigation a { min-height: 57px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; padding-top: 3px; }
  .mobile-navigation .nav-current { color: var(--action); border-color: var(--accent); }
  .mobile-navigation .icon { width: 17px; height: 17px; flex-basis: 17px; }
  .workspace-content { padding: 27px 22px 35px; }
  .workspace-footer { margin: 0 22px; }
  .welcome-banner { min-height: 180px; padding: 25px; }
  .welcome-copy h2 { font-size: 24px; }
  .banner-brand .client-logo { width: 112px; }
  .public-header { min-height: 95px; }
  .login-layout { gap: 5%; }
  .login-story { padding: 27px; }
  .story-content h1 { font-size: 32px; }
  .form-heading h2 { font-size: 23px; }
  .public-content { padding: 28px 22px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 14px; }
  .workspace-content { padding: 25px 16px 28px; }
  .page-heading { margin-bottom: 21px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 12px; line-height: 1.7; }
  .topbar { padding: 10px 17px; }
  .mobile-navigation { padding: 0 7px; }
  .mobile-navigation a { flex-direction: column; gap: 4px; min-height: 70px; font-size: 11px; line-height: 1.3; text-align: center; }
  .welcome-banner { padding: 24px; min-height: 187px; }
  .welcome-copy h2 { font-size: 23px; }
  .welcome-copy > span { font-size: 10px; }
  .welcome-copy p { font-size: 10px; }
  .banner-brand { display: none; }
  .welcome-image { object-position: 60% center; }
  .workspace-summary { gap: 12px 18px; padding: 21px 1px; font-size: 10px; }
  .dashboard { gap: 0; }
  .dashboard-aside { display: block; }
  .section-heading { padding: 21px 19px; align-items: start; flex-direction: column; gap: 16px; }
  .section-heading .button { min-height: 44px; font-size: 12px; }
  .section-heading p { font-size: 11px; }
  .responsive-table, .responsive-table tbody { display: block; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .responsive-table tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding: 17px 19px; gap: 7px 14px; align-items: center; }
  .responsive-table td { padding: 0; border: 0; min-width: 0; font-size: 12px; }
  .responsive-table td:first-child { grid-column: 1 / -1; padding: 0 0 6px; }
  .responsive-table td:nth-child(2):before { content: attr(data-label) ': '; color: var(--muted); font-size: 11px; }
  .responsive-table td:nth-child(3) { text-align: right; }
  .responsive-table td.row-action { grid-column: 1 / -1; text-align: left; margin-top: 2px; }
  .responsive-table td.row-action:before { content: none; }
  .row-action .text-action { min-height: 44px; font-size: 12px; }
  .person-avatar { width: 38px; height: 38px; flex-basis: 38px; }
  .person { gap: 11px; }
  .person strong { font-size: 13px; }
  td small { font-size: 12px; }
  .status { font-size: 11px; }
  .empty-state { padding: 25px 19px; align-items: start; gap: 14px; }
  .empty-state h3 { font-size: 13px; }
  .empty-state p { font-size: 12px; }
  .connection { padding: 24px; }
  .connection > p, .connection-access { font-size: 12px; }
  .copy-field input { font-size: 16px; }
  .copy-button { font-size: 12px; }
  summary { font-size: 12px; min-height: 44px; }
  .recovery-note { font-size: 12px; margin: 0 7px 15px; }
  .workspace-footer, .public-footer { flex-wrap: wrap; font-size: 10px; padding: 19px 0; margin: 0 20px; }
  .form-panel { padding: 26px 23px; }
  .form-panel h1 { font-size: 25px; }
  .field > label { font-size: 13px; }
  input:not([type=checkbox]) { font-size: 16px; min-height: 49px; }
  .field-help, .checkbox small { font-size: 12px; }
  .password-toggle { font-size: 12px; }
  .form-actions { flex-direction: column; }
  .form-actions .button, .form-actions button { width: 100%; }
  .delete-area { flex-direction: column; align-items: start; }
  .editor-note { padding: 25px 6px 0; }
  .editor-note p { font-size: 13px; }
  .public-header { min-height: 88px; padding: 14px 23px; }
  .public-header .client-logo { width: 95px; }
  .public-header > span { max-width: 140px; text-align: right; font-size: 10px; }
  .public-content { padding: 23px 23px 30px; }
  .login-layout { display: flex; flex-direction: column; gap: 29px; min-height: auto; }
  .login-story { min-height: 200px; padding: 23px; border-radius: 10px; width: 100%; align-items: center; }
  .story-content h1 { font-size: 25px; line-height: 1.25; letter-spacing: -.6px; margin-bottom: 0; }
  .story-content h1 br:last-child { display: none; }
  .story-label { font-size: 10px; margin-bottom: 10px; }
  .story-content > p, .story-signature { display: none; }
  .story-image { object-position: 62% center; }
  .login-story:after { background: linear-gradient(90deg, rgba(9,31,51,.95), rgba(9,31,51,.25)); }
  .login-form { max-width: none; padding: 0 2px; }
  .form-heading { margin-bottom: 24px; }
  .form-heading .section-icon { display: none; }
  .form-heading h2 { font-size: 25px; }
  .form-heading p { font-size: 13px; }
  .login-form .field { margin: 21px 0; }
  .button-wide { min-height: 51px; }
  .access-help { font-size: 13px; }
  .access-help > span, .login-note { font-size: 12px; }
  .public-content:has(.consent) { padding: 0; }
  .consent { margin: 24px 16px; }
  .actions { flex-direction: column; }
  .permission p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) { .nav-current, .status { border: 1px solid currentColor; } }
