@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-ui: 'Geist', 'Segoe UI Variable', 'Segoe UI', sans-serif;
  --font-heading: var(--font-ui);
  --heading-weight: 730;
  --heading-tracking: -.065em;
  --subheading-tracking: -.04em;
  --text: #23213a;
  --muted: #64627a;
  --line: #eae8f2;
  --violet: #5c46d8;
  --violet-dark: #4934bf;
  --soft: #f1edff;
  --page: #fff;
  --surface: #fff;
  --surface-alt: #fbfaff;
  --top-surface: var(--page);
  --hover: #f8f6ff;
  --control-line: #ded8ed;
  --on-accent: #fff;
  --focus: #9080ec;
  --overlay: #20183c57;
  --popover-shadow: 0 12px 35px #322b651a;
  --dialog-shadow: 0 22px 70px #2720432b;
  --radius-control: 10px;
  --radius-card: 15px;
  --radius-dialog: 20px;
  --radius-hero: 26px;
  --radius-brand: 11px;
  --radius-compact: max(0px, calc(var(--radius-control) - 2px));
  --hero-background: radial-gradient(circle at 1px 1px, #aa98e74a 1px, transparent 1.45px) 0 0 / 17px 17px,
    linear-gradient(105deg, #f8f6ff 10%, #f1edff 100%);
  --hero-mask: linear-gradient(90deg, #f8f6ff 4%, #f8f6fff0 35%, transparent 72%);
  --hero-line: #eae4fe;
  --member-background: radial-gradient(circle at 1px 1px, #8f7bc340 1px, transparent 1.5px) center / 18px 18px,
    radial-gradient(ellipse at 50% 35%, #f2ecff, #fbfaff 74%);
  --auth-background: radial-gradient(circle at 1px 1px, #aa98e769 1px, transparent 1.5px) 0 0 / 17px 17px, #f1edff;
  --graph-main: #7860e4;
  --graph-ink: var(--on-accent);
  --graph-link: #a997ed;
  --graph-link-style: solid;
  --graph-link-width: 1.5px;
  --graph-bend: 26px;
  --graph-shadow: 0 9px 24px #6b51d54f;
  --error-bg: #fff0f3;
  --error-text: #9b2248;
  --success-bg: #e7f7ef;
  --success-text: #205d47;
  --quiet-bg: #f0edf3;
  --quiet-text: #5e586b;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--page);
  color-scheme: light;
}

:root[data-color-mode="dark"] {
  --text: #e7f0e9;
  --muted: #aec2b5;
  --line: #34483e;
  --violet: #8bd9b0;
  --violet-dark: #a6ebc7;
  --on-accent: #12251c;
  --soft: #243d30;
  --page: #101a17;
  --surface: #18251f;
  --surface-alt: #1d2d25;
  --hover: #24382e;
  --control-line: #647d6e;
  --focus: #a5e3bd;
  --overlay: #060d09b8;
  --popover-shadow: 0 12px 30px #050b0766;
  --dialog-shadow: 0 22px 64px #050b078c;
  --error-bg: #3e2530;
  --error-text: #ffb5c7;
  --success-bg: #203d2e;
  --success-text: #a8e0bd;
  --quiet-bg: #293932;
  --quiet-text: #c0cec5;
  accent-color: var(--violet);
  caret-color: var(--violet);
  color-scheme: dark;
  scrollbar-color: var(--control-line) var(--surface);
  --delegated-bg: var(--soft);
  --delegated-line: var(--line);
  --delegated-text: var(--violet-dark);
  --avatar-ink: var(--violet-dark);
  --search-line: var(--control-line);
  --key-line: var(--control-line);
  --key-bg: var(--surface);
  --list-hover: var(--hover);
  --status-active-bg: var(--success-bg);
  --status-active-text: var(--success-text);
  --hero-background: var(--surface-alt);
  --hero-mask: none;
  --hero-line: var(--line);
  --member-background: var(--surface-alt);
  --auth-background: var(--surface-alt);
  --graph-main: var(--violet);
  --graph-link: color-mix(in srgb, var(--violet) 70%, var(--line));
  --graph-dot: var(--graph-link);
  --graph-shadow: none;
  --graph-sub: var(--soft);
  --graph-sub-ink: var(--violet-dark);
  --graph-sub-line: var(--control-line);
}

:root[data-color-mode="dark"] ::selection {
  background: var(--violet);
  color: var(--on-accent);
}

:root[data-color-mode="dark"] .editor {
  --editor-ink: var(--text);
  --editor-surface: var(--surface);
  --editor-border: var(--line);
  --editor-subtle: var(--muted);
  --editor-popover-shadow: var(--popover-shadow);
  --editor-action-bg: var(--soft);
  --editor-action-ink: var(--violet-dark);
  --editor-action-hover: var(--hover);
  --editor-button-ink: var(--text);
  --editor-selection-border: var(--control-line);
  --editor-feedback-bg: var(--error-bg);
  --editor-feedback-ink: var(--error-text);
  --editor-feedback-line: var(--line);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, p { margin: 0; }
strong { font-weight: 650; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.topbar { background: var(--top-surface); border-bottom: var(--top-rule, 1px) solid var(--line); box-shadow: var(--top-shadow, none); }
.top-inner { width: min(1232px, calc(100% - 64px)); min-height: 70px; margin: auto; display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 1.15rem; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { display: block; width: 34px; height: 34px; background: var(--violet); color: var(--on-accent); border-radius: var(--radius-brand); position: relative; }
.brand-mark i { width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 50%; position: absolute; z-index: 1; background: var(--violet); }
.brand-mark i:nth-child(1) { left: 7px; top: 14px; }
.brand-mark i:nth-child(2) { right: 7px; top: 8px; }
.brand-mark i:nth-child(3) { right: 7px; bottom: 8px; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; width: 13px; height: 1.5px; background: currentColor; left: 11px; top: 16px; transform-origin: left; transform: rotate(-30deg); }
.brand-mark::after { transform: rotate(30deg); }
.top-inner nav { align-self: stretch; display: flex; gap: clamp(13px, 2.2vw, 23px); }
.top-inner nav a { align-content: center; font-size: .9375rem; font-weight: 650; color: var(--muted); }
.top-inner nav a:hover, .top-inner nav .nav-current { color: var(--violet-dark); }
.nav-current { border-bottom: 2px solid var(--violet); margin-bottom: calc(-1 * var(--top-rule, 1px)); }
.top-label, .account { margin-left: auto; }
.top-label { color: var(--muted); font-size: .875rem; }
.account { position: relative; z-index: 2; min-width: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.account summary, .identity { display: flex; align-items: center; gap: 11px; }
.account summary > span:nth-child(2) { min-width: 0; }
.account summary strong, .identity strong { display: block; }
.account summary strong { font-size: .875rem; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account small, .identity small { display: block; color: var(--muted); font-size: .8125rem; overflow-wrap: anywhere; }
.chevron { flex: none; background: none; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: -4px 2px 0 5px; }
.avatar { flex: none; width: 39px; height: 39px; display: grid; place-items: center; border-radius: var(--radius-avatar, calc(var(--radius-brand) + 1px)); font-size: .8125rem; font-weight: 700; background: var(--soft); color: var(--avatar-ink, #5036ba); }
.account .avatar { width: 36px; height: 36px; border-radius: var(--radius-account-avatar, 50%); }
.avatar.mint { background: #def5ee; color: #16674d; }
.avatar.blue { background: #e4efff; color: #244da0; }
.avatar.rose { background: #fce8f1; color: #95375a; }
:root[data-color-mode="dark"] .avatar.mint { background: var(--success-bg); color: var(--success-text); }
:root[data-color-mode="dark"] .avatar.blue { background: #263a4b; color: #bddbfa; }
:root[data-color-mode="dark"] .avatar.rose { background: var(--error-bg); color: var(--error-text); }
.account-menu, .user-menu { position: absolute; right: 0; z-index: 3; min-width: 180px; padding: 6px; margin-top: 8px; border: 1px solid var(--line); border-radius: max(0px, calc(var(--radius-card) - 2px)); background: var(--surface); box-shadow: var(--popover-shadow); }
.account-menu a, .account-menu button { display: block; width: 100%; border: 0; border-radius: max(0px, calc(var(--radius-control) - 3px)); padding: 10px 11px; background: transparent; color: var(--text); text-align: left; font-size: .875rem; }
.account-menu :is(a,button):hover { background: var(--soft); }
.account-menu .mobile-management { display: none; }
.delegated-access { border-bottom: 1px solid var(--delegated-line, #e1d8fa); background: var(--delegated-bg, #f6f2ff); color: var(--delegated-text, #483582); }
.delegated-access > div { width: min(1112px, calc(100% - 32px)); margin: auto; padding: 9px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: .9375rem; overflow-wrap: anywhere; }
.delegated-access .secondary { min-height: 34px; font-size: .875rem; }

.shell { width: min(1112px, calc(100% - 64px)); flex: 1; margin: 38px auto 0; padding-bottom: 74px; }
.hero { min-height: 258px; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 18px; border: 1px solid var(--hero-line); border-radius: var(--radius-hero); padding: 38px 45px; background: var(--hero-background); }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--hero-mask); }
.hero-copy { position: relative; z-index: 1; min-width: 0; max-width: min(100%, 650px); }
h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.06; letter-spacing: var(--heading-tracking); font-weight: var(--heading-weight); overflow-wrap: anywhere; }
.hero p, .lead { color: var(--muted); line-height: 1.55; margin-top: 13px; }
.hero .primary { margin-top: 25px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 15px; text-align: center; border-radius: var(--radius-control); border: 1px solid transparent; font-size: .9375rem; font-weight: 650; white-space: nowrap; }
.primary { background: var(--violet); color: var(--on-accent); box-shadow: var(--button-shadow, none); }
.primary:hover { background: var(--violet-dark); }
.secondary { background: var(--surface); border-color: var(--control-line); color: var(--text); }
.secondary:hover { background: var(--hover); }
.icon { display: inline-block; flex: none; position: relative; width: 16px; height: 16px; color: inherit; }
.plus::before, .plus::after { content: ''; position: absolute; top: 7px; left: 2px; width: 12px; height: 1.5px; border-radius: 2px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.magnify::before { content: ''; position: absolute; top: 1px; left: 1px; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; }
.magnify::after { content: ''; position: absolute; top: 11px; left: 10px; width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg); transform-origin: left; }
.chevron-right::before { content: ''; position: absolute; width: 7px; height: 7px; top: 4px; left: 3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.dots::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: currentColor; box-shadow: 5px 0, -5px 0; position: absolute; top: 7px; left: 7px; }
.layers::before, .layers::after { content: ''; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 3px; position: absolute; left: 0; top: 0; }
.layers::after { top: 4px; left: 4px; background: var(--soft); }

.graph { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); width: 322px; height: 190px; pointer-events: none; }
.node { position: absolute; border-radius: var(--radius-control); display: grid; place-items: center; }
.node i { display: block; width: 45%; height: 2px; border-radius: 6px; background: currentColor; opacity: .6; }
.node-main { left: 29px; top: 69px; width: 95px; height: 52px; color: var(--graph-ink); background: var(--graph-main); box-shadow: var(--graph-shadow); }
.node-main i { width: 34%; height: 3px; box-shadow: 0 7px color-mix(in srgb, currentColor 45%, transparent); transform: translateY(-3px); }
.node-a { left: 185px; top: 20px; width: 100px; height: 31px; color: var(--graph-sub-ink, #6b52bd); background: var(--graph-sub, #e5dcff); border: 1px solid var(--graph-sub-line, #cfc1ff); }
.node-b { left: 219px; top: 80px; width: 79px; height: 30px; color: var(--graph-sub-ink, #2a715e); background: var(--graph-sub, #dcf5ed); border: 1px solid var(--graph-sub-line, #bde5d9); }
.node-c { left: 185px; top: 139px; width: 105px; height: 31px; color: var(--graph-sub-ink, #5148a5); background: var(--graph-sub, #e9e9ff); border: 1px solid var(--graph-sub-line, #d2ceff); }
.wire { position: absolute; left: 120px; width: 67px; border-color: var(--graph-link); border-style: var(--graph-link-style); }
.wire-a { height: 45px; top: 35px; border-width: var(--graph-link-width) 0 0 var(--graph-link-width); border-radius: var(--graph-bend) 0 0 0; transform: translateX(12px) skewX(-25deg); }
.wire-b { top: 94px; width: 100px; border-width: var(--graph-link-width) 0 0; }
.wire-c { height: 45px; top: 110px; border-width: 0 0 var(--graph-link-width) var(--graph-link-width); border-radius: 0 0 0 var(--graph-bend); transform: translateX(12px) skewX(25deg); }
.graph-dot { position: absolute; width: 7px; height: 7px; border: 1px solid var(--graph-dot, #a48cec); border-radius: var(--graph-dot-radius, 50%); }
.dot-a { top: 30px; left: 82px; }
.dot-b { bottom: 16px; left: 147px; width: 5px; height: 5px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 39px; border-bottom: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column-reverse; gap: 5px; margin: 22px 0; padding: 0 26px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 4px; }
.stats dd { margin: 0; font-size: 1.55rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dt, .section-head p, .empty p { color: var(--muted); font-size: .9375rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
h2 { font-family: var(--font-heading); font-size: 1.65rem; letter-spacing: var(--subheading-tracking); line-height: 1.12; font-weight: var(--subheading-weight, 700); }
.section-head p { margin-top: 6px; }
.section-actions { display: flex; gap: 9px; align-items: center; }
.search { display: flex; align-items: center; gap: 9px; width: min(235px, 100%); min-height: 42px; border: 1px solid var(--search-line, #e1ddeb); border-radius: var(--radius-control); background: var(--surface); color: var(--muted); padding: 0 11px; }
.search input { width: 100%; min-width: 85px; padding: 7px 0; border: 0; background: transparent; color: var(--text); font-size: .875rem; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus-visible { outline: 0; }
.search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search a { flex: none; font-size: 1.2rem; }
.table-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { background: var(--surface-alt); color: var(--muted); }
th { font-size: .875rem; font-weight: 620; padding: 13px 16px; }
th:first-child { border-top-left-radius: max(0px, calc(var(--radius-card) - 1px)); }
th:last-child { border-top-right-radius: max(0px, calc(var(--radius-card) - 1px)); }
td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: .9375rem; }
td:first-child { width: 43%; }
.end { text-align: right; width: 60px; }
a.identity:hover strong { color: var(--violet-dark); }
.row-link { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: max(0px, calc(var(--radius-control) - 1px)); color: var(--muted); }
.row-link:hover { background: var(--soft); color: var(--violet-dark); }
.empty { padding: 38px 20px 28px; text-align: center; }
.empty-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: calc(var(--radius-brand) + 1px); color: var(--violet-dark); background: var(--soft); }
.empty strong { display: block; }
.empty p { margin: 6px 0 0; }
.footer { width: min(1112px, calc(100% - 64px)); margin: auto auto 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; padding: 16px 0; color: var(--muted); font-size: .8125rem; }

.back { display: inline-block; margin-bottom: 15px; color: var(--violet-dark); font-weight: 620; font-size: .9375rem; }
.back:hover { text-decoration: underline; }
.workspace-hero { min-height: 215px; margin-bottom: 30px; }
.workspace-hero h1 { max-width: 550px; }
.key { display: inline-block; margin: 18px 10px 0 0; border: 1px solid var(--key-line, #e0d8f8); background: var(--key-bg, #fdfcff); border-radius: var(--radius-compact); padding: 7px 10px; color: var(--muted); font-size: .875rem; }
.key strong { margin-left: 4px; color: var(--text); overflow-wrap: anywhere; }
.workspace-hero .secondary { min-height: 35px; font-size: .875rem; }
.status { display: inline-block; min-width: 53px; padding: 4px 9px; text-align: center; border-radius: var(--radius-badge, 20px); color: var(--quiet-text); background: var(--quiet-bg); font-size: .8125rem; }
.status.active { background: var(--status-active-bg, #e5f6ee); color: var(--status-active-text, #235e48); }
.muted { color: var(--muted); font-size: .8125rem; }
.user-actions { position: relative; }
.user-menu { min-width: 204px; padding: 13px; text-align: left; }
.user-menu form + form { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.user-menu .secondary { width: 100%; }
.user-menu > button { margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 6px; font-size: .875rem; }

dialog { max-width: min(490px, calc(100% - 30px)); width: 100%; max-height: calc(100% - 30px); border: 1px solid var(--line); border-radius: var(--radius-dialog); padding: 24px; background: var(--surface); color: var(--text); box-shadow: var(--dialog-shadow); }
dialog::backdrop { background: var(--overlay); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 19px; }
.dialog-heading p { color: var(--muted); font-size: .875rem; line-height: 1.4; margin-top: 6px; }
.close { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 0; border-radius: max(0px, calc(var(--radius-control) - 3px)); background: var(--hover); color: var(--muted); font-size: 1.3rem; }
.stack { display: grid; gap: 13px; }
.field { display: grid; gap: 6px; font-size: .875rem; font-weight: 620; }
.field input, .field select, .field textarea { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--control-line); border-radius: var(--radius-compact); color: var(--text); background: var(--surface); font-size: 1rem; font-weight: 400; }
:root[data-color-mode="dark"] :is(.field, .search) :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
.field textarea { resize: vertical; }
fieldset { min-width: 0; display: grid; gap: 9px; margin: 1px 0 0; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: max(0px, calc(var(--radius-card) - 3px)); }
legend { color: var(--violet-dark); font-size: .875rem; padding: 0 5px; font-weight: 650; }
.hint { font-size: .8125rem; color: var(--muted); margin-top: -5px; }
.actions { display: flex; justify-content: flex-end; gap: 8px; }
.notice { padding: 10px 12px; border-radius: var(--radius-compact); margin-bottom: 14px; font-size: .9375rem; }
.stack .notice { margin-bottom: 0; }
.notice.error { background: var(--error-bg); color: var(--error-text); }
.notice.success { background: var(--success-bg); color: var(--success-text); }

.map-visibility { gap: 2px; }
.map-access-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; padding: 6px; border-radius: var(--radius-compact); cursor: pointer; }
.map-access-choice:hover, .map-access-choice:focus-within { background: var(--hover); }
.map-access-choice input { margin: 3px 0 0; accent-color: var(--violet-dark); }
.map-access-choice strong { display: block; font-size: .875rem; font-weight: 620; }
.map-access-choice small { display: block; color: var(--muted); font-size: .8125rem; overflow-wrap: anywhere; }
.map-editors[hidden] { display: none; }
.map-editors-list { max-height: 144px; overflow-y: auto; }

.auth { flex: 1; display: grid; place-items: center; padding: 44px 16px 55px; }
.auth-panel { width: min(100%, 744px); display: grid; grid-template-columns: 39% 61%; border: 1px solid var(--line); border-radius: max(0px, calc(var(--radius-hero) - 2px)); background: var(--surface); overflow: hidden; }
.auth-visual { position: relative; overflow: hidden; min-height: 100%; background: var(--auth-background); }
.auth-visual .graph { left: 50%; right: auto; transform: translate(-50%, -50%) scale(.78); }
.auth-content { padding: 37px; }
.auth h1, .narrow h1 { font-size: clamp(2rem, 4vw, 2.65rem); }
.auth .lead, .narrow .lead { margin-bottom: 23px; }
.auth .primary { margin-top: 6px; }
.narrow { max-width: 480px; }

.member-home { flex: 1; padding-bottom: 64px; }
.member-hero { display: grid; justify-items: center; align-content: center; gap: 24px; min-height: 290px; padding: 42px 20px; text-align: center; border-bottom: 1px solid var(--line); background: var(--member-background); }
.member-hero h1 { max-width: 720px; }
.member-hero .primary { min-width: 110px; min-height: 44px; }
.map-library { width: min(880px, calc(100% - 48px)); margin: 41px auto 0; }
.map-library h2 { margin-bottom: 20px; }
.map-list { margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.map-list li + li { border-top: 1px solid var(--line); }
.map-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 16px; align-items: center; gap: 14px; min-height: 68px; padding: 9px 12px; }
.map-row:hover { background: var(--list-hover, #faf8ff); color: var(--violet-dark); }
.map-row strong { overflow-wrap: anywhere; }
.map-shared { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; margin-top: 3px; }
.map-row time { color: var(--muted); font-size: .875rem; }
.map-row > .icon { color: var(--muted); }
.map-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-brand); background: var(--soft); color: var(--violet-dark); }
.branches { background: radial-gradient(circle, currentColor 1.5px, transparent 2px) 0 6px / 5px 5px no-repeat,
  radial-gradient(circle, currentColor 1.5px, transparent 2px) 11px 1px / 5px 5px no-repeat,
  radial-gradient(circle, currentColor 1.5px, transparent 2px) 11px 11px / 5px 5px no-repeat; }
.branches::before, .branches::after { content: ''; position: absolute; width: 10px; height: 1px; top: 8px; left: 4px; background: currentColor; transform-origin: left; transform: rotate(-25deg); }
.branches::after { transform: rotate(25deg); }
.maps-empty { padding: 28px 16px 37px; border: 1px solid var(--line); border-radius: calc(var(--radius-card) + 1px); }
.maps-empty .map-icon { margin-bottom: 12px; }

@media (max-width: 960px) {
  .hero:not(.workspace-hero) .graph { transform: translateY(-50%) scale(.78); transform-origin: right center; right: 14px; }
  .hero:not(.workspace-hero) .hero-copy { max-width: 67%; }
  .workspace-hero .graph { opacity: .5; transform: translateY(-50%) scale(.75); transform-origin: right center; }
}
@media (max-width: 700px) {
  .top-inner, .shell, .footer { width: calc(100% - 32px); }
  .top-inner { min-height: 61px; gap: 18px; }
  .top-inner nav { display: none; }
  .account-menu .mobile-management { display: block; }
  .shell { margin-top: 20px; padding-bottom: 46px; }
  .hero { padding: 27px 22px; min-height: 225px; border-radius: calc(var(--radius-hero) * .77); }
  .hero .graph { display: none; }
  .hero:not(.workspace-hero) .hero-copy { max-width: 100%; }
  .stats { margin-bottom: 27px; }
  .stats > div { padding: 0 10px; }
  .stats dt { font-size: .8125rem; }
  .section-head { align-items: stretch; flex-direction: column; }
  .section-actions { justify-content: space-between; }
  .section-actions .search { flex: 1; min-width: 0; }
  .table-wrap { overflow-x: auto; }
  table { min-width: 505px; }
  .workspace-directory table { min-width: 440px; }
  .workspace-directory .table-wrap { padding-bottom: 0; }
  .table-wrap:has(.user-actions[open]) { padding-bottom: 150px; }
  .table-wrap:has(.user-actions[open] .user-menu form + form) { padding-bottom: 224px; }
  .table-wrap:has(.user-actions[open] .user-menu > button) { padding-bottom: 270px; }
  td, th { padding-left: 11px; padding-right: 11px; }
}
@media (max-width: 520px) {
  .auth-panel { grid-template-columns: 1fr; }
  .auth-visual { min-height: 91px; }
  .auth-visual .graph { transform: translate(-50%, -50%) scale(.45); }
  .auth-content { padding: 24px; }
  .account summary > span:nth-child(2) { display: none; }
  .section-actions { flex-wrap: wrap; }
  .member-hero { min-height: 244px; }
  .map-library { width: calc(100% - 32px); margin-top: 30px; }
  .map-row { grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 2px 10px; }
  .map-row .map-icon { grid-row: span 2; }
  .map-row time { grid-column: 2; grid-row: 2; }
  .map-row > .icon { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 360px) {
  .top-inner { gap: 14px; }
  .account summary { gap: 6px; }
}
