@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
.theme-changing *, .theme-changing *::before, .theme-changing *::after {
  transition: none !important;
}
:root {
  color-scheme: dark;
  --bg: #0b1118;
  --surface: #141e29;
  --surface-2: #1a2735;
  --glass: rgba(19, 29, 39, 0.82);
  --text: #edf3fa;
  --muted: #a9b8c8;
  --subtle: #718396;
  --line: #334353;
  --faint-line: #23313f;
  --accent: #d2ef9b;
  --on-accent: #17220b;
  --focus: #d2ef9b;
  --danger: #ffb5b5;
  --danger-bg: #391d27;
  --success: #b3e8cf;
  --shadow: 0 16px 40px #0002;
  --pillar-op: #8cd6c6;
  --pillar-su: #c4b5fa;
  --pillar-se: #edc58d;
  --pillar-pa: #eeadbf;
  --map-opacity: 0.065;
  --map-filter: none;
  --radius: 20px;
  --header: 88px;
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  scroll-padding-top: 112px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f0f3f4;
  --surface: #fff;
  --surface-2: #e8eef1;
  --glass: rgba(255, 255, 255, 0.88);
  --text: #152332;
  --muted: #526374;
  --subtle: #647686;
  --line: #a9bac6;
  --faint-line: #d3dee6;
  --accent: #284c1e;
  --on-accent: #fff;
  --focus: #326326;
  --danger: #9e243b;
  --danger-bg: #ffe9ed;
  --success: #1a6041;
  --shadow: 0 16px 40px #1b33400b;
  --pillar-op: #146653;
  --pillar-su: #6144a6;
  --pillar-se: #82501d;
  --pillar-pa: #9d3455;
  --map-filter: brightness(0.45);
  --map-opacity: 0.09;
}
:root[data-intensity="medium"] {
  --map-opacity: 0.15;
}
:root[data-intensity="clear"] {
  --map-opacity: 0.26;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-width: 320px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
summary,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button svg,
a svg,
summary svg {
  flex-shrink: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}
h2 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
}
p {
  overflow-wrap: anywhere;
}
p + p {
  margin-top: 12px;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  margin: 8px 0;
}
code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 5px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
  border-radius: 12px;
}
.skip-link:focus {
  transform: none;
}
.map-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("regional-map.svg");
  background-repeat: no-repeat;
  background-position: center 100px;
  background-size: min(1300px, 100vw) auto;
  opacity: var(--map-opacity);
  filter: var(--map-filter);
}
:root[data-background="plain"] .map-backdrop {
  display: none;
}
:root[data-background="gradient"] .map-backdrop {
  background:
    radial-gradient(ellipse at 80% 20%, #467b79 0, transparent 55%),
    radial-gradient(ellipse at 10% 80%, #635484 0, transparent 50%);
  opacity: 0.19;
}
.site-header {
  height: var(--header);
  padding: 12px max(32px, calc((100vw - 1264px) / 2));
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--faint-line);
  background: var(--glass);
  backdrop-filter: blur(22px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo {
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 13px;
  padding: 6px;
  flex-shrink: 0;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-type {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.brand-type > span {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-left: 3px;
}
.brand-type small {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 0.19em;
  font-weight: 600;
  color: var(--muted);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.header-portal[aria-current="page"] {
  color: var(--accent);
}
@media (max-width: 440px) {
  .header-actions #appearance-open span {
    display: none;
  }
  .header-actions .header-portal {
    padding-inline: 8px;
  }
  .header-actions .header-admin svg {
    display: none;
  }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  line-height: 1.4;
  transition:
    background-color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
  cursor: pointer;
  text-align: center;
  background: transparent;
}
.button:hover {
  background: var(--surface-2);
  border-color: var(--muted);
}
.button:active {
  box-shadow: inset 0 0 0 2px var(--line);
}
.button.primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.button.primary:hover {
  filter: brightness(1.07);
}
.button.secondary {
  background: var(--surface-2);
}
.button.subtle {
  border-color: transparent;
  background: transparent;
}
.button.subtle:hover {
  background: var(--surface-2);
}
.header-admin {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.header-admin:hover {
  background: var(--text);
  color: var(--bg);
  filter: brightness(0.9);
}
.button.small {
  font-size: 12px;
  padding: 9px 12px;
}
.full-width {
  width: 100%;
}
.public-main,
.workspace-main {
  max-width: 1264px;
  margin: 0 auto;
  padding: 0 32px;
}
.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 68px 0 40px;
  gap: 24px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.6;
  color: var(--muted);
}
.page-intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  margin-bottom: 18px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent);
}
.page-intro h1 span {
  color: var(--muted);
  font-weight: 500;
}
.page-intro p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 18px;
}
.intro-index {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
  padding-top: 5px;
  flex-shrink: 0;
}
.intro-index > span {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 600;
}
.intro-index strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-align: right;
}
.index-line {
  width: 100%;
  height: 1px;
  background: var(--line);
}
.glass-panel {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.scope-selector {
  padding: 20px 24px;
}
.selector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.selector-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.selector-label svg {
  color: var(--accent);
}
.scope-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg);
  padding: 4px;
  border: 1px solid var(--faint-line);
  border-radius: 12px;
}
.scope-tab {
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.scope-tab:hover {
  background: var(--surface-2);
  color: var(--text);
}
.scope-tab.active {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 2px 2px 0 color-mix(in srgb, var(--accent) 30%, transparent);
}
.selector-caption {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--faint-line);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
}
.selector-caption > span:first-child {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.selector-caption strong {
  font-size: 11px;
  letter-spacing: 0.06em;
}
.public-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.public-badge svg {
  color: var(--accent);
}
.scope-options {
  margin-top: 24px;
  border-top: 1px solid var(--faint-line);
  padding-top: 20px;
}
.scope-search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 12px;
}
.scope-search .field {
  gap: 6px;
}
.scope-search .field label {
  font-size: 12px;
}
.scope-search .button {
  height: 48px;
}
.search-input {
  position: relative;
}
.search-input > svg {
  position: absolute;
  top: 15px;
  left: 13px;
  color: var(--muted);
}
.search-input input {
  padding-left: 42px;
}
.scope-option-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  margin: -6px;
  margin-top: 14px;
}
.scope-option-list > .muted {
  grid-column: 1/-1;
}
.scope-option {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.scope-option strong {
  overflow-wrap: anywhere;
}
.scope-option small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.scope-option:hover,
.scope-option.selected {
  border-color: var(--accent);
}
.organization-section {
  padding-top: 44px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
}
.section-heading h2 {
  font-size: 23px;
}
.section-heading h2 > span {
  font-weight: 500;
  color: var(--muted);
}
.section-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.diagram {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 28px 28px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  position: relative;
  box-shadow: var(--shadow);
}
.diagram:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.35;
  z-index: -1;
  border-radius: inherit;
}
.diagram-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  margin-bottom: 24px;
}
.diagram-meta > span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
}
.org-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 55px;
  padding: 13px 16px;
  text-align: center;
  position: relative;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 10px #0001;
  overflow-wrap: anywhere;
}
.org-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.org-person {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.root-card {
  max-width: 308px;
  margin: 0 auto 28px;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
  padding: 18px;
  min-height: 78px;
}
.root-card .org-title {
  font-size: 16px;
}
.card-overline {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.15em;
  font-weight: 800;
}
.root-card:after {
  content: "";
  position: absolute;
  top: 100%;
  height: 29px;
  left: 50%;
  border-left: 1px solid var(--line);
}
.leadership-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-top: 24px;
}
.leadership-row:before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - 120px) / 6);
  right: calc((100% - 120px) / 6);
  height: 1px;
  background: var(--line);
}
.leadership-row > .diagram-branch {
  position: relative;
}
.leadership-row > .diagram-branch:before {
  content: "";
  position: absolute;
  left: 50%;
  top: -24px;
  height: 24px;
  border-left: 1px solid var(--line);
}
.leadership-row > .diagram-branch:nth-child(2):after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  bottom: -32px;
  border-left: 1px solid var(--line);
}
.leadership-row > .diagram-branch:nth-child(2) {
  align-self: start;
}
.branch-children {
  position: relative;
  padding-top: 10px;
}
.branch-children:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 10px;
  border-left: 1px solid var(--line);
}
.branch-children .org-card {
  padding: 8px 10px;
  min-height: 36px;
  border-radius: 8px;
  background: var(--surface);
}
.branch-children .org-title {
  font-size: 11px;
}
.branch-children .diagram-branch + .diagram-branch {
  margin-top: 6px;
}
.pillar-connectors {
  padding-top: 32px;
  position: relative;
}
.pillar-connectors:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 32px;
  border-left: 1px solid var(--line);
}
.diagram-pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  position: relative;
}
.diagram-pillars:before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - 64px) / 10);
  right: calc((100% - 64px) / 10);
  border-top: 1px solid var(--line);
}
.pillar-operasional {
  --pillar: var(--pillar-op);
}
.pillar-support {
  --pillar: var(--pillar-su);
}
.pillar-service {
  --pillar: var(--pillar-se);
}
.pillar-pastoral {
  --pillar: var(--pillar-pa);
}
.pillar-tpg {
  --pillar: var(--accent);
}
.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 16px 18px 14px;
  min-height: 140px;
  border: 1px solid color-mix(in srgb, var(--pillar) 35%, var(--line));
  border-top: 3px solid var(--pillar);
  border-radius: 12px;
  position: relative;
  background: color-mix(in srgb, var(--pillar) 6%, var(--surface));
  box-shadow: 0 8px 16px #0001;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.pillar-card:before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  height: 24px;
  left: 50%;
  border-left: 1px solid var(--line);
}
.pillar-card:hover {
  background: color-mix(in srgb, var(--pillar) 13%, var(--surface));
  border-color: var(--pillar);
}
.pillar-number {
  font-size: 10px;
  font-weight: 700;
  color: var(--pillar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.pillar-name {
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: var(--pillar);
  overflow-wrap: anywhere;
}
.pillar-person {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
}
.pillar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--faint-line);
  padding-top: 11px;
  margin-top: auto;
}
.pillar-bottom > span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--pillar);
}
.pillar-name + .pillar-bottom,
.pillar-person + .pillar-bottom {
  margin-top: 16px;
}
.pillars-section {
  padding-top: 56px;
}
.pillar-list {
  border-top: 1px solid var(--line);
}
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
.pillar-accordion {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.pillar-accordion > summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 24px;
  min-height: 100px;
}
.accordion-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--pillar);
  font-variant-numeric: tabular-nums;
  width: 32px;
}
.accordion-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: var(--pillar);
}
.accordion-person {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: 0;
  font-weight: 500;
  margin-top: 6px;
}
.accordion-count {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.accordion-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pillar);
  flex-shrink: 0;
}
.accordion-toggle svg {
  transition: transform 0.22s;
}
.pillar-accordion[open] > .pillar-content {
  animation: reveal 0.22s ease-out;
}
.pillar-accordion[open] .accordion-toggle svg {
  transform: rotate(45deg);
}
.pillar-accordion > summary:hover {
  background: color-mix(in srgb, var(--pillar) 4%, var(--surface));
}
.pillar-content {
  padding: 0 28px 24px 82px;
}
.unit-list {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.unit-list > li {
  position: relative;
}
.unit-list > li:before {
  content: "";
  position: absolute;
  left: -18px;
  top: 27px;
  width: 12px;
  border-top: 1px solid var(--line);
}
.unit-leaf,
.unit-details > summary {
  min-height: 54px;
  padding: 12px 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--faint-line);
  border-radius: 6px;
}
.unit-details > summary:hover {
  background: var(--surface-2);
}
.unit-label {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.unit-person {
  display: block;
  font-size: 13px;
  color: var(--pillar);
  font-weight: 500;
  margin-top: 4px;
}
.unit-count {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.unit-details[open] > summary > svg {
  transform: rotate(180deg);
}
.unit-content {
  padding-top: 6px;
}
.unit-note {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin: 8px 0;
  line-height: 1.6;
  white-space: normal;
}
.public-endnote {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px 0 64px;
  color: var(--muted);
  font-size: 12px;
}
.public-endnote > svg {
  color: var(--accent);
  flex-shrink: 0;
}
.public-endnote strong {
  font-weight: 500;
  color: var(--text);
}
.public-endnote > a {
  margin-left: auto;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.site-footer strong {
  font-weight: 500;
}
.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
}
.footer-separator {
  color: var(--line);
  margin: 0 8px;
}
.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 56px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.empty-state p {
  color: var(--muted);
  font-size: 14px;
  max-width: 500px;
}
.empty-icon {
  color: var(--accent);
  margin-bottom: 8px;
}
.empty-state.compact {
  padding: 32px 20px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.notice {
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  margin: 24px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.notice.success {
  color: var(--success);
}
.notice.error {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: currentColor;
}
.notice p {
  font-size: 13px;
  margin-top: 4px;
}
.notice.error a {
  font-size: 12px;
  text-decoration: underline;
}
.notice.warning {
  color: var(--pillar-se);
}
.notice > svg {
  flex-shrink: 0;
}
.field-error {
  font-size: 13px;
  color: var(--danger);
}
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.intro-map {
  position: absolute;
  inset: 0;
  background: url("regional-map.svg") center/85% auto no-repeat;
  opacity: 0.12;
}
.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 24px;
}
.intro-logo {
  width: 180px;
  height: 180px;
  background: #fff;
  padding: 20px;
  border-radius: 32px;
  box-shadow: 0 20px 80px #0004;
}
.intro-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-content p {
  font-size: clamp(12px, 2vw, 20px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  animation: intro-word 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.intro-rule {
  height: 2px;
  width: 60px;
  background: var(--accent);
}
@keyframes intro-word {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes reveal {
  from {
    opacity: 0.3;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
dialog {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 40px 100px #0008;
  max-height: 90dvh;
  overflow: auto;
  width: min(520px, calc(100vw - 32px));
}
dialog::backdrop {
  background: #04090dcc;
  backdrop-filter: blur(5px);
}
dialog[open] {
  animation: reveal 0.2s ease-out;
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.dialog-heading h2 {
  margin-top: 5px;
  font-size: 28px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.appearance-dialog fieldset {
  border: 0;
  margin: 22px 0;
  padding: 0;
  min-width: 0;
}
.appearance-dialog legend {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.segmented {
  display: flex;
  gap: 4px;
  background: var(--bg);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.segmented label {
  flex: 1;
  position: relative;
  min-width: 0;
}
.segmented input,
.background-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.segmented label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.segmented input:checked + span {
  background: var(--accent);
  color: var(--on-accent);
}
.segmented input:focus-visible + span,
.background-options input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.background-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.background-options label {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 11px;
}
.background-sample {
  height: 65px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background-color: var(--bg);
}
.background-options input:checked + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.sample-map {
  background-image: url("regional-map.svg");
  background-size: cover;
}
.sample-gradient {
  background: linear-gradient(135deg, #244e50, #3b304b);
}
.appearance-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  isolation: isolate;
}
.appearance-preview:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("regional-map.svg") center/cover;
  opacity: var(--map-opacity);
  z-index: -1;
}
.appearance-preview span {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.appearance-preview strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}
:root[data-background="gradient"] .appearance-preview:before {
  background: linear-gradient(135deg, #244e50, #3b304b);
  opacity: 0.3;
}
:root[data-background="plain"] .appearance-preview:before {
  display: none;
}
#appearance-status {
  margin-top: 14px;
}
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 10px;
}
.workspace-main {
  padding-top: 44px;
  min-height: calc(100dvh - 180px);
  padding-bottom: 64px;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.panel-top h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-top: 12px;
}
.title-period {
  color: var(--accent);
}
.account-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.panel-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  align-items: center;
}
.panel-nav > a,
.panel-nav button {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  font-weight: 600;
}
.panel-nav > a[aria-current] {
  background: var(--accent);
  color: var(--on-accent);
}
.panel-nav > a:hover,
.panel-nav button:hover {
  background: var(--surface-2);
  color: var(--text);
}
.panel-nav form {
  margin-left: auto;
}
.panel-nav button {
  color: var(--danger);
  cursor: pointer;
}
.panel-columns {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  max-width: 1080px;
}
.panel-explainer h2 {
  font-size: 32px;
  line-height: 1.3;
  margin: 16px 0;
}
.panel-explainer > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  max-width: 400px;
}
.panel-explainer > .text-link {
  margin-top: 22px;
}
.form-card {
  background: var(--surface);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.stack-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.stack-form > .muted {
  margin-top: -10px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field label {
  font-size: 13px;
  font-weight: 700;
}
.field label > span,
legend > span {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  min-height: 48px;
  font-size: 16px;
  line-height: 1.5;
  min-width: 0;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--subtle);
}
.field input[readonly] {
  border-style: dashed;
  color: var(--muted);
  background: var(--surface-2);
}
.field textarea {
  resize: vertical;
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 72px;
}
.password-toggle {
  position: absolute;
  right: 4px;
  top: 3px;
  bottom: 3px;
  min-width: 60px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.password-toggle:hover {
  background: var(--surface-2);
}
.form-subtitle {
  font-size: 20px;
}
.form-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: var(--surface-2);
}
.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1080px;
  margin: 44px auto 56px;
}
.access-intro h1 {
  font-size: clamp(40px, 5vw, 66px);
  margin: 24px 0;
}
.access-intro h1 span {
  font-weight: 500;
  color: var(--muted);
}
.access-intro > p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  max-width: 340px;
}
.access-intro > .text-link {
  margin-top: 30px;
}
.access-card h2 {
  font-size: 26px;
  margin: 24px 0 12px;
}
.access-card .stack-form {
  margin-top: 28px;
}
.access-card code {
  display: inline;
}
.panel-scope {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px;
}
.panel-scope h2 {
  margin-top: 8px;
  font-size: 20px;
}
.inline-form {
  display: flex;
  gap: 12px;
  align-items: end;
}
.inline-form .field label {
  font-size: 11px;
}
.inline-form select {
  font-size: 13px;
  max-width: 340px;
}
.inline-form .button {
  height: 48px;
}
.panel-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}
.panel-section-heading > p {
  font-size: 13px;
  color: var(--muted);
  max-width: 620px;
}
.manage-structure {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 12px 24px;
}
.manage-tree:not(.tree-root) {
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.manage-row {
  padding: 16px 4px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--faint-line);
}
.manage-row > div:first-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.manage-row strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.manage-kind {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.manage-people {
  font-size: 13px;
  color: var(--accent);
  margin-top: 4px;
}
.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.row-menu {
  position: relative;
  font-size: 12px;
}
.row-menu > summary {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 44px;
  padding: 10px;
}
.row-menu-items {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  min-width: 170px;
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.row-menu-items > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
}
.row-menu-items > a:hover {
  background: var(--surface);
}
.manage-children > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  padding: 8px 4px;
}
.manage-children[open] > summary > svg {
  transform: rotate(180deg);
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.breadcrumbs a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.breadcrumbs > span:last-child {
  color: var(--text);
}
.management-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  gap: 40px;
}
.management-grid .section-heading {
  margin-bottom: 16px;
}
.scope-management-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.scope-management-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.scope-management-item h3 {
  margin-top: 8px;
}
.scope-management-item > .row-actions {
  flex-wrap: wrap;
}
.scope-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.scope-tags span,
.count-badge,
.account-status {
  font-size: 10px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  overflow-wrap: anywhere;
}
.account-status {
  color: var(--accent);
}
.scope-checkboxes {
  padding: 0;
  margin: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.scope-checkboxes legend {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
}
.checkbox-label input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox-label > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.checkbox-label small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.scope-review {
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
}
.scope-review ul {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0;
}
.scope-review li {
  font-size: 12px;
  overflow-wrap: anywhere;
}
@media (min-width: 1440px) {
  .page-intro {
    padding-top: 76px;
  }
  .diagram {
    padding-left: 40px;
    padding-right: 40px;
  }
  .diagram-meta {
    margin-bottom: 28px;
  }
  .org-card {
    min-height: 60px;
  }
  .pillar-card {
    min-height: 148px;
  }
}
@media (max-width: 1023px) {
  .site-header {
    padding-left: 24px;
    padding-right: 24px;
  }
  .public-main,
  .workspace-main {
    padding-left: 24px;
    padding-right: 24px;
  }
  .site-footer {
    margin: 0 24px;
  }
  .page-intro {
    padding-top: 48px;
  }
  .intro-index {
    display: none;
  }
  .scope-option-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .diagram {
    padding: 20px;
  }
  .leadership-row {
    gap: 28px;
  }
  .leadership-row:before {
    left: calc((100% - 56px) / 6);
    right: calc((100% - 56px) / 6);
  }
  .diagram-pillars {
    gap: 10px;
  }
  .diagram-pillars:before {
    left: calc((100% - 40px) / 10);
    right: calc((100% - 40px) / 10);
  }
  .pillar-card {
    padding: 14px 12px;
  }
  .pillar-bottom > span {
    display: none;
  }
  .panel-columns {
    gap: 32px;
  }
  .access-layout {
    gap: 40px;
  }
  .management-grid {
    gap: 24px;
  }
  .manage-tree:not(.tree-root) {
    margin-left: 4px;
    padding-left: 12px;
  }
  .selector-caption {
    gap: 10px;
  }
}
@media (max-width: 767px) {
  :root {
    --header: 76px;
    scroll-padding-top: 100px;
  }
  .site-header {
    padding: 10px 16px;
    gap: 8px;
  }
  .brand {
    gap: 9px;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
    padding: 5px;
    border-radius: 11px;
  }
  .brand-type {
    font-size: 15px;
  }
  .brand-type > span {
    display: block;
    font-size: 9px;
    letter-spacing: 0.1em;
    margin: 3px 0 0;
  }
  .brand-type small {
    display: none;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions .button {
    padding: 10px 12px;
    font-size: 11px;
    gap: 6px;
  }
  .header-actions .button svg {
    width: 16px;
    height: 16px;
  }
  .public-main,
  .workspace-main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-intro {
    padding-top: 36px;
    padding-bottom: 28px;
  }
  .page-intro .eyebrow {
    font-size: 8px;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
  }
  .page-intro h1 {
    font-size: clamp(34px, 7.7vw, 56px);
    letter-spacing: -0.055em;
  }
  .page-intro p {
    font-size: 12px;
    margin-top: 12px;
  }
  .scope-selector {
    padding: 16px;
    border-radius: 18px;
  }
  .selector-top {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .selector-label {
    font-size: 12px;
  }
  .scope-tabs {
    width: 100%;
    gap: 2px;
  }
  .scope-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 10px;
    min-height: 44px;
  }
  .selector-caption {
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
    gap: 6px 10px;
  }
  .selector-caption strong {
    font-size: 10px;
    letter-spacing: 0.02em;
  }
  .selector-caption > span:first-child {
    font-size: 8px;
  }
  .public-badge {
    margin-left: 0;
    flex-basis: 100%;
    font-size: 9px;
  }
  .scope-options {
    margin-top: 16px;
    padding-top: 16px;
  }
  .scope-search {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .scope-search > .field:first-of-type {
    grid-column: 1/-1;
  }
  .scope-search .button {
    width: 100%;
  }
  .scope-option-list {
    grid-template-columns: 1fr;
  }
  .scope-option {
    font-size: 13px;
  }
  .organization-section {
    padding-top: 32px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .section-note {
    font-size: 10px;
  }
  .diagram {
    padding: 16px 16px 20px;
    border-radius: 18px;
  }
  .diagram-meta {
    font-size: 7px;
    letter-spacing: 0.06em;
    margin-bottom: 26px;
  }
  .diagram-meta svg {
    width: 13px;
  }
  .root-card {
    width: 100%;
    max-width: none;
    min-height: 88px;
    margin-bottom: 24px;
    padding: 18px;
  }
  .root-card .org-title {
    font-size: 18px;
  }
  .org-title {
    font-size: 15px;
  }
  .org-person {
    font-size: 14px;
  }
  .org-card {
    padding: 14px 12px;
    min-height: 60px;
    align-items: flex-start;
    text-align: left;
  }
  .root-card {
    align-items: center;
    text-align: center;
  }
  .root-card:after {
    left: 16px;
    height: 25px;
  }
  .leadership-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-left: 1px solid var(--line);
    padding: 0 0 0 22px;
    margin-left: 16px;
    max-width: none;
  }
  .leadership-row:before {
    display: none;
  }
  .leadership-row > .diagram-branch:before {
    left: -22px;
    top: 30px;
    height: 0;
    width: 22px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .leadership-row > .diagram-branch:nth-child(2) {
    align-self: stretch;
  }
  .leadership-row > .diagram-branch:nth-child(2):after {
    display: none;
  }
  .branch-children {
    padding: 0 0 0 16px;
    margin-top: 10px;
    margin-left: 12px;
    border-left: 1px solid var(--line);
  }
  .branch-children:before {
    display: none;
  }
  .branch-children .diagram-branch {
    position: relative;
  }
  .branch-children .diagram-branch:before {
    content: "";
    position: absolute;
    left: -16px;
    top: 22px;
    width: 16px;
    border-top: 1px solid var(--line);
  }
  .branch-children .org-card {
    min-height: 44px;
    padding: 10px 12px;
  }
  .branch-children .org-title {
    font-size: 13px;
  }
  .pillar-connectors {
    padding: 0;
    margin-left: 16px;
    border-left: 1px solid var(--line);
  }
  .pillar-connectors:before {
    display: none;
  }
  .diagram-pillars {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 0 0 22px;
  }
  .diagram-pillars:before {
    display: none;
  }
  .pillar-card {
    padding: 14px 18px;
    min-height: 120px;
    border-top-width: 1px;
    border-left: 3px solid var(--pillar);
  }
  .pillar-card:before {
    bottom: auto;
    left: -25px;
    top: 52px;
    width: 22px;
    height: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .pillar-number {
    margin-bottom: 10px;
  }
  .pillar-name {
    font-size: 25px;
  }
  .pillar-bottom > span {
    display: flex;
  }
  .pillar-bottom {
    font-size: 10px;
  }
  .pillar-name + .pillar-bottom,
  .pillar-person + .pillar-bottom {
    margin-top: 12px;
  }
  .pillars-section {
    padding-top: 36px;
  }
  .pillar-accordion > summary {
    padding: 22px 14px;
    gap: 12px;
    min-height: 94px;
  }
  .accordion-number {
    width: 20px;
    font-size: 10px;
  }
  .accordion-title {
    font-size: 27px;
  }
  .accordion-count {
    display: none;
  }
  .accordion-toggle {
    width: 34px;
    height: 34px;
    margin-left: auto;
  }
  .accordion-person {
    font-size: 13px;
  }
  .pillar-content {
    padding: 0 14px 20px 20px;
  }
  .unit-list {
    padding-left: 14px;
  }
  .unit-list > li:before {
    left: -14px;
    width: 8px;
  }
  .unit-label {
    font-size: 14px;
  }
  .unit-leaf,
  .unit-details > summary {
    gap: 6px;
    padding: 14px 4px;
    min-height: 54px;
  }
  .unit-count {
    font-size: 9px;
  }
  .unit-person {
    font-size: 12px;
  }
  .unit-content .unit-list .unit-list .unit-list {
    padding-left: 10px;
  }
  .unit-content .unit-list .unit-list .unit-list > li:before {
    left: -10px;
    width: 5px;
  }
  .public-endnote {
    padding: 28px 0 36px;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11px;
  }
  .public-endnote > a {
    margin-left: 32px;
  }
  .site-footer {
    margin: 0 16px;
    padding: 20px 0;
    flex-direction: column;
    gap: 10px;
    font-size: 8px;
    letter-spacing: 0.04em;
  }
  .site-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
  }
  .intro-logo {
    width: 148px;
    height: 148px;
    padding: 16px;
  }
  .intro-content p {
    letter-spacing: 0.08em;
  }
  .workspace-main {
    padding-top: 28px;
    padding-bottom: 40px;
  }
  .panel-top {
    align-items: flex-start;
  }
  .panel-top h1 {
    font-size: 32px;
  }
  .panel-top .eyebrow {
    font-size: 8px;
  }
  .account-label {
    font-size: 10px;
    gap: 5px;
    max-width: 90px;
    overflow-wrap: anywhere;
  }
  .account-label svg {
    width: 16px;
  }
  .panel-nav {
    margin: 24px 0;
    gap: 4px;
  }
  .panel-nav > a,
  .panel-nav button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .panel-nav form {
    margin-left: 0;
  }
  .panel-columns,
  .access-layout,
  .management-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .panel-explainer h2 {
    font-size: 26px;
  }
  .panel-explainer > .text-link {
    margin-top: 12px;
  }
  .form-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .form-card h2 {
    font-size: 23px;
  }
  .access-layout {
    margin: 0 auto 20px;
  }
  .access-intro h1 {
    font-size: 40px;
    margin: 16px 0;
  }
  .access-intro h1 br {
    display: none;
  }
  .access-intro > .text-link {
    margin-top: 12px;
  }
  .access-intro > p:not(.eyebrow) {
    display: none;
  }
  .access-card .form-icon {
    display: none;
  }
  .access-card h2 {
    margin-top: 0;
  }
  .form-actions {
    gap: 8px;
  }
  .form-actions .button {
    padding: 12px 15px;
    font-size: 12px;
  }
  .panel-scope {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .inline-form {
    width: 100%;
  }
  .inline-form .field {
    flex: 1;
    min-width: 0;
  }
  .inline-form select {
    max-width: none;
    width: 100%;
  }
  .panel-section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .manage-structure {
    padding: 8px 12px;
  }
  .manage-tree:not(.tree-root) {
    margin-left: 0;
    padding-left: 10px;
  }
  .manage-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .manage-row strong {
    font-size: 14px;
  }
  .row-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .row-actions .button {
    font-size: 11px;
  }
  .manage-kind {
    font-size: 8px;
  }
  .manage-children > summary {
    font-size: 10px;
  }
  .scope-management-item {
    padding: 16px;
    flex-wrap: wrap;
  }
  .scope-management-item > .row-actions {
    width: 100%;
  }
  .breadcrumbs {
    font-size: 10px;
    gap: 6px;
    margin-bottom: 20px;
  }
  .management-grid {
    gap: 32px;
  }
  .empty-state {
    padding: 36px 20px;
  }
  .empty-state h2,
  .empty-state h3 {
    font-size: 20px;
  }
  dialog {
    padding: 22px 18px;
    border-radius: 22px;
  }
  .background-options {
    gap: 8px;
  }
  .background-options label {
    font-size: 10px;
  }
  .segmented label > span {
    font-size: 11px;
  }
  .appearance-dialog .form-actions {
    justify-content: space-between;
  }
  .appearance-dialog .form-actions .button {
    font-size: 11px;
    padding: 10px 12px;
  }
}
/* Keep text fully contrasted during accordion motion. */
@keyframes reveal {
  from {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes intro-word {
  from {
    opacity: 0.75;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.branch-children {
  border-left: 1px solid var(--line);
  padding: 0 0 0 14px;
  margin: 10px 0 0 12px;
}
.branch-children:before {
  display: block;
  left: -1px;
  top: -10px;
  height: 10px;
}
.branch-children .diagram-branch {
  position: relative;
}
.branch-children .diagram-branch:before {
  content: "";
  position: absolute;
  left: -14px;
  top: 20px;
  width: 14px;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .leadership-row > .diagram-branch:nth-child(2) {
    align-self: stretch;
    background-image: linear-gradient(var(--line), var(--line));
    background-size: 1px 100%;
    background-position: center top;
    background-repeat: no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .intro {
    display: none !important;
  }
}
