@font-face {
  font-family: Catamaran;
  src: url("./assets/catamaran.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #071934;
  --hero: #0b172c;
  --surface-dark: #13243c;
  --light: #f5f7f9;
  --white: #fff;
  --green: #00e27c;
  --green-soft: #e7f9ee;
  --green-dark: #146143;
  --yellow: #ffe600;
  --ink-muted: #46596e;
  --line: #d5dee6;
  --line-strong: #8799ad;
  --focus: #146eb7;
  font: 100%/1.5 Catamaran, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: var(--light);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.shell { width: min(calc(100% - clamp(2rem, 7vw, 6rem)), 75rem); margin-inline: auto; }
.skip { position: fixed; top: .65rem; left: 1rem; padding: .65rem 1rem; background: var(--yellow); z-index: 5; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: var(--white); }
.header-inner, .header-end, .footer-inner, .workspace-top, .section-top, .buttons { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.header-inner { min-height: 4.65rem; }
.brand { display: inline-block; }
.brand img { width: clamp(5.35rem, 10vw, 7rem); height: auto; }
.header-label { font-weight: 750; }
.header-end .button { min-height: 2.5rem; }
.hero, .workspace-head, .site-footer { background: var(--hero); color: var(--white); }
.hero :focus-visible, .workspace-head :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); padding-block: clamp(2.15rem, 4.1vw, 3.45rem); }
.eyebrow { display: flex; align-items: center; gap: .55rem; font-size: .83rem; font-weight: 850; letter-spacing: .115em; text-transform: uppercase; line-height: 1.25; }
.brand-mark { width: .7rem; height: .63rem; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 50% 100%); flex: none; }
.hero h1 { margin: .95rem 0 .9rem; font-size: clamp(2.6rem, 5.55vw, 5.15rem); letter-spacing: -.055em; line-height: .99; font-weight: 790; }
.hero h1 em { display: block; font-style: normal; color: var(--green); }
.hero-description { max-width: 29rem; color: #d7e2ed; font-size: clamp(1.06rem, 1.6vw, 1.23rem); line-height: 1.45; }
.hero-figure { display: grid; align-items: center; min-height: 15.4rem; padding: clamp(.8rem, 3vw, 2.3rem); border: 1px solid #415773; background: radial-gradient(#526883 1px, transparent 1px) 0 0 / 16px 16px, #101f35; }
.hero-org { --connector: #7793a9; }
.hero-node, .hero-leaf { display: flex; align-items: center; gap: .42rem; font-size: clamp(.82rem, 1.3vw, 1rem); white-space: nowrap; }
.hero-node { position: relative; width: 100%; min-height: 2.7rem; padding: .43rem .55rem; border: 1px solid #637a95; background: #192d48; font-weight: 800; }
.hero-root { width: max-content; gap: .65rem; padding: .45rem .95rem; min-height: 2.9rem; margin: 0 auto 1.7rem; background: var(--green); color: var(--navy); border-color: var(--green); }
.hero-root::after { content: ""; height: 1rem; width: 1px; background: var(--connector); position: absolute; top: 100%; left: 50%; }
.node-mark { flex: none; width: .52rem; height: .52rem; border: 1px solid #a8bdd5; }
.mark-root { background: var(--navy); border-color: var(--navy); }
.hero-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-branch { position: relative; padding-inline: .23rem; min-width: 0; }
.hero-branch::before { content: ""; position: absolute; height: 1px; top: -.75rem; inset-inline: 0; background: var(--connector); }
.hero-branch:first-child::before { left: 50%; }
.hero-branch:last-child::before { right: 50%; }
.hero-branch .hero-node::before { content: ""; position: absolute; width: 1px; top: -.76rem; height: .76rem; left: 50%; background: var(--connector); }
.hero-leaf { position: relative; margin: .66rem 0 0 .53rem; min-height: 2.14rem; padding: .22rem .38rem; color: #dbe7f2; border: 1px solid #4b6280; background: #10223b; }
.hero-leaf::before { content: ""; position: absolute; width: 1px; top: -.7rem; height: .7rem; left: 50%; background: var(--connector); }
.entry { padding-block: 2.1rem 2rem; }
.entry h2, .section-top h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.035em; font-weight: 820; }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin-top: 1rem; }
.entry-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); background: var(--white); padding: clamp(1rem, 2vw, 1.55rem); }
.entry-first { border-top: 3px solid var(--green); padding-top: calc(clamp(1rem, 2vw, 1.55rem) - 2px); }
.entry-card h3 { margin-bottom: .4rem; font-size: 1.33rem; letter-spacing: -.018em; }
.entry-card p { flex: 1; color: var(--ink-muted); line-height: 1.42; margin-bottom: 1.05rem; }
.entry-icon { width: 2.05rem; height: 2.05rem; position: relative; flex: none; margin-bottom: .65rem; color: var(--navy); background: #edf1f5; }
.entry-first .entry-icon { background: var(--green-soft); }
.icon-add::before, .icon-add::after, .icon-file::before, .icon-file::after, .icon-demo::before, .icon-demo::after, .lock::before { content: ""; position: absolute; display: block; }
.icon-add::before, .icon-add::after { left: calc(50% - .38rem); top: calc(50% - 1px); width: .76rem; height: 2px; background: currentColor; }
.icon-add::after { transform: rotate(90deg); }
.icon-file::before { width: .78rem; height: .99rem; border: 1.5px solid; top: .52rem; left: .64rem; border-radius: 1px; }
.icon-file::after { width: .39rem; top: .91rem; left: .84rem; height: .27rem; border-block: 1px solid; }
.icon-demo::before { width: .9rem; height: .65rem; inset: .62rem auto auto .57rem; border: 1.5px solid; }
.icon-demo::after { width: .47rem; height: 2px; inset: 1.43rem auto auto .79rem; background: currentColor; }
.privacy-note { display: flex; align-items: baseline; gap: .54rem; color: var(--ink-muted); margin-top: 1.05rem; font-size: .91rem; }
.lock { position: relative; display: inline-block; width: .72rem; height: .56rem; border: 1px solid currentColor; border-radius: 1px; flex: none; }
.lock::before { width: .45rem; height: .37rem; border: 1px solid currentColor; border-bottom: 0; border-radius: .3rem .3rem 0 0; left: .072rem; top: -.39rem; }
.button { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding: .48rem .88rem; border: 1px solid transparent; background: transparent; font-size: .97rem; font-weight: 800; line-height: 1.22; text-align: center; }
.button-primary { background: var(--green); border-color: var(--green); color: var(--navy); }
.button-primary:hover { background: #75eeae; border-color: #75eeae; }
.button-outline { border-color: var(--line-strong); background: var(--white); }
.button-outline:hover, .button-quiet:hover { background: #eaf0f5; }
.button-dark { color: var(--white); border-color: #7890ac; }
.button-dark:hover { background: #213853; }
.button-quiet { text-decoration: underline; text-underline-offset: .22em; }
.button-danger { color: #9c3026; }
.site-footer { font-size: .92rem; }
.footer-inner { min-height: 4.5rem; padding-block: .75rem; flex-wrap: wrap; }
.footer-brand { font-weight: 850; text-decoration: none; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-inner a:hover { color: var(--green); }

.wizard { display: grid; grid-template-columns: minmax(12rem, .64fr) minmax(0, 1.36fr); max-width: 59rem; gap: clamp(1rem, 4vw, 3.5rem); padding-block: clamp(1.75rem, 6vw, 4.25rem); }
.wizard-aside { background: var(--hero); color: var(--white); padding: clamp(1rem, 2.2vw, 1.75rem); align-self: start; }
.steps { list-style: none; padding: 0; margin-top: 1.45rem; display: grid; gap: .5rem; }
.steps li { display: flex; align-items: center; gap: .6rem; font-weight: 760; min-height: 2.25rem; color: #c7d5e4; }
.steps li span { display: grid; place-items: center; flex: none; border: 1px solid #748ba6; border-radius: 50%; width: 1.6rem; height: 1.6rem; }
.steps [aria-current] { color: var(--white); }
.steps [aria-current] span { background: var(--green); border-color: var(--green); color: var(--navy); }
.wizard-card { border: 1px solid var(--line); background: var(--white); padding: clamp(1.1rem, 3.8vw, 2.6rem); }
.wizard h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.intro { margin: .4rem 0 1.35rem; color: var(--ink-muted); }
.field { display: block; min-width: 0; margin: 0 0 .9rem; font-size: .97rem; font-weight: 800; }
.optional { font-weight: 600; color: var(--ink-muted); }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; min-height: 2.75rem; margin-top: .24rem; padding: .43rem .56rem; border: 1px solid var(--line-strong); background: var(--white); color: var(--navy); border-radius: 0; font-weight: 600; }
.field input[type="date"] { max-width: 15rem; }
.field textarea { resize: vertical; }
.field select { appearance: none; padding-right: 1.85rem; background: linear-gradient(45deg, transparent 51%, var(--navy) 51%) right .99rem center / 5px 5px no-repeat, linear-gradient(135deg, var(--navy) 51%, transparent 51%) right .68rem center / 5px 5px no-repeat, var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #55677c; opacity: 1; }
.form-actions, .dialog-actions { display: flex; justify-content: flex-end; gap: .4rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.form-actions > :first-child { margin-right: auto; }
.area-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem; align-items: end; margin: 0 0 .7rem; }
.area-row .field { margin: 0; }
.area-row button { font-size: .9rem; }
.workspace-head .shell { padding-top: 1.75rem; }
.workspace-top { align-items: end; flex-wrap: wrap; }
.workspace-heading { min-width: 0; flex: 1 1 25rem; }
.workspace-heading h1 { font-size: clamp(2.1rem, 4.8vw, 4.05rem); margin-top: .36rem; color: var(--white); letter-spacing: -.045em; line-height: 1.02; overflow-wrap: anywhere; }
.workspace-meta { margin-top: .22rem; color: #d5e2ed; }
.workspace-meta:empty { display: none; }
.workspace-actions { display: grid; align-items: center; justify-items: end; gap: .3rem; }
.workspace-actions .buttons { justify-content: flex-start; flex-wrap: wrap; gap: .4rem; }
.save-state { font-size: .86rem; min-height: 1.3em; color: #d5e2ed; }
.views { display: flex; gap: .35rem; margin-top: 1rem; }
.views button { min-height: 2.8rem; padding: .45rem .95rem; color: #d7e3ef; background: transparent; border: 0; border-bottom: 3px solid transparent; font-weight: 780; }
.views button[aria-pressed="true"] { color: var(--white); border-bottom-color: var(--green); }
.views button:hover { background: #1c314d; }
.workspace-body { padding-block: 1.35rem 2.7rem; }
.section-top { margin-bottom: .85rem; }
.section-top p { color: var(--ink-muted); margin-top: .12rem; }
.organization-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(15.7rem, .36fr); gap: .85rem; }
.chart-panel, .detail { min-width: 0; background: var(--white); border: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .38rem; min-height: 2.72rem; padding: .2rem .75rem; border-bottom: 1px solid var(--line); color: var(--ink-muted); font-size: .93rem; }
.breadcrumbs button { min-height: 2.05rem; color: var(--navy); background: transparent; border: 0; padding-inline: .25rem; text-decoration: underline; text-underline-offset: .22em; }
.breadcrumbs span { overflow-wrap: anywhere; }
.chart-overflow { overflow: auto; background: radial-gradient(#d6e0ea 1px, transparent 1px) 0 0 / 16px 16px, #f8fafc; }
.chart-inner { --connector: #889eb3; min-width: var(--chart-width, 0); min-height: 16rem; padding: 1.25rem .75rem 1.5rem; }
.chart-node { position: relative; display: block; width: 100%; min-width: 0; border: 1px solid #94a7bb; padding: .53rem .6rem; color: var(--navy); background: var(--white); text-align: left; }
.chart-node:hover, .chart-node[aria-pressed="true"] { border-color: var(--green-dark); background: var(--green-soft); }
.chart-node[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--green-dark); }
.chart-node.root { width: max-content; max-width: min(100%, 22rem); min-width: min(100%, 10rem); margin-inline: auto; background: var(--navy); color: var(--white); border-color: var(--navy); text-align: center; }
.chart-node.root[aria-pressed="true"] { border-color: var(--green-dark); box-shadow: 0 0 0 2px #00ab60; }
.chart-node.root:hover { background: #203653; }
.chart-node-title { display: block; font-weight: 820; font-size: 1rem; line-height: 1.19; overflow-wrap: anywhere; }
.chart-node-info { display: block; color: var(--ink-muted); font-size: .86rem; margin-top: .15rem; }
.chart-node.root .chart-node-info { color: #dbe6f1; }
.branch-grid { position: relative; margin-top: 1.55rem; display: grid; grid-template-columns: repeat(var(--branch-count), minmax(0, 1fr)); }
.branch-grid::before { content: ""; position: absolute; top: -1.55rem; height: .8rem; left: 50%; width: 1px; background: var(--connector); }
.branch { position: relative; min-width: 0; padding-inline: .3rem; }
.branch::before, .branch > .chart-node::before, .leaf-list::before, .leaf-list li::before { content: ""; position: absolute; background: var(--connector); }
.branch::before { top: -.76rem; inset-inline: 0; height: 1px; }
.branch:first-child::before { left: 50%; }
.branch:last-child::before { right: 50%; }
.branch > .chart-node::before { width: 1px; height: .76rem; left: 50%; top: -.77rem; }
.leaf-list { position: relative; list-style: none; margin: 0 0 0 .64rem; padding: .03rem 0 0 .62rem; }
.leaf-list::before { width: 1px; height: calc(100% - 1.68rem); top: 0; left: 0; }
.leaf-list li { position: relative; margin-top: .48rem; }
.leaf-list li::before { top: 1.18rem; width: .62rem; height: 1px; left: -.62rem; }
.leaf-list .chart-node { padding: .45rem .5rem; }
.leaf-list .chart-node-title { font-size: .92rem; }
.empty-chart { margin: 1.3rem auto 0; text-align: center; color: var(--ink-muted); }
.detail { padding: .95rem; border-top: 3px solid var(--green); }
.detail .eyebrow { color: var(--green-dark); letter-spacing: .07em; }
.detail h3 { margin-top: .25rem; margin-bottom: .7rem; font-size: 1.42rem; letter-spacing: -.025em; overflow-wrap: anywhere; }
.detail-data { display: grid; gap: .35rem; margin: .45rem 0 .72rem; }
.detail-data > div { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; }
.detail-data dt { color: var(--ink-muted); }
.detail-data dd { font-weight: 750; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.detail-initiatives { border-top: 1px solid var(--line); padding-top: .6rem; }
.detail-initiatives p { font-weight: 820; }
.detail-initiatives ul { margin-top: .2rem; padding-left: 1.1rem; color: var(--ink-muted); overflow-wrap: anywhere; }
.detail-actions { display: flex; gap: .4rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .7rem; margin-top: .65rem; }
.detail-actions .button { flex: 1 1 auto; font-size: .92rem; }
.capacity-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .72rem; margin-bottom: .85rem; }
.metric { display: grid; gap: .12rem; background: var(--white); border: 1px solid var(--line); padding: .7rem .88rem; }
.metric span { color: var(--ink-muted); }
.metric strong { font-size: clamp(1.35rem, 4vw, 2.05rem); line-height: 1.1; }
.table-scroll { overflow: auto; border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; text-align: right; }
th, td { padding: .62rem .8rem; border-bottom: 1px solid var(--line); }
th:first-child { text-align: left; }
thead { background: #eaf1f6; }
tbody tr:last-child > * { border-bottom: 0; }
tbody button { min-height: 2rem; padding: 0; border: 0; background: transparent; text-align: left; text-decoration: underline; text-underline-offset: .2em; font-weight: 760; overflow-wrap: anywhere; }
tbody button:hover { color: var(--green-dark); }
.table-kind { margin-left: .45rem; color: var(--ink-muted); font-size: .87rem; font-weight: 600; }
.table-note { color: var(--ink-muted); margin-top: .72rem; }
dialog { width: min(36rem, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); overflow: auto; padding: 0; color: var(--navy); background: var(--white); border: 1px solid var(--line-strong); border-top: 4px solid var(--green); }
dialog::backdrop { background: #071934a6; }
.dialog-head { padding: .95rem 1.15rem .65rem; }
.dialog-head h2 { font-size: 1.55rem; }
.dialog-head p { margin-top: .4rem; color: var(--ink-muted); }
.dialog-fields { padding-inline: 1.15rem; }
.dialog-actions { margin-top: .3rem; padding: .72rem 1.15rem; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.form-error { color: #962e25; }
.form-error:empty { display: none; }
.notification { position: fixed; right: .85rem; bottom: .85rem; z-index: 4; max-width: calc(100% - 1.7rem); padding: .52rem .8rem; background: var(--navy); color: var(--white); border-left: 3px solid var(--green); box-shadow: 0 4px 18px #07193440; }
.notification:empty { padding: 0; border: 0; box-shadow: none; }

@media (max-width: 55rem) {
  .hero-inner { gap: 1.7rem; }
  .hero-figure { min-height: 13rem; }
  .organization-grid { grid-template-columns: minmax(0, 1fr) minmax(13rem, .4fr); }
}
@media (max-width: 44rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hero-figure { min-height: 0; max-width: 28rem; padding: .85rem; }
  .entry-grid, .organization-grid { grid-template-columns: minmax(0, 1fr); }
  .entry-card { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: .65rem; align-items: start; }
  .entry-card h3 { align-self: center; margin: 0; }
  .entry-card .entry-icon { margin-bottom: 0; }
  .entry-card p, .entry-card .button { grid-column: 2; justify-self: start; }
  .entry-card p { margin: .35rem 0 .65rem; }
  .wizard { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .steps { grid-template-columns: repeat(2, 1fr); margin-top: .65rem; }
  .workspace-actions { justify-items: start; }
  .workspace-top { align-items: start; flex-direction: column; }
  .workspace-heading { flex-basis: auto; max-width: 100%; }
}
@media (max-width: 32rem) {
  .header-label { font-size: .91rem; }
  .header-end:has(#home-button:not([hidden])) .header-label { display: none; }
  .hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.55rem); }
  .hero-figure { display: none; }
  .section-top { align-items: start; flex-direction: column; }
  .chart-inner { min-width: 0; padding: .75rem; }
  .chart-node.root { margin-left: 0; min-width: 0; text-align: left; max-width: 100%; }
  .branch-grid { display: block; margin-top: 0; margin-left: .85rem; padding: .01px 0 0 .75rem; }
  .branch-grid::before { inset: 0 auto 1.2rem 0; height: auto; }
  .branch { padding: 0; margin-top: .52rem; }
  .branch:last-child { background: #f8fafc; }
  .branch:last-child > .chart-node::after { content: ""; position: absolute; width: 1px; height: 1.2rem; background: var(--connector); top: -.07rem; left: -.81rem; }
  .branch::before, .branch:first-child::before, .branch:last-child::before { top: 1.13rem; left: -.75rem; right: auto; width: .75rem; }
  .branch > .chart-node::before { display: none; }
  .empty-chart { text-align: left; }
  .capacity-metrics { gap: .35rem; }
  .metric { padding: .5rem; }
  .metric span { font-size: .85rem; line-height: 1.18; }
  th, td { padding: .46rem .45rem; }
  .table-kind { display: none; }
  .field-pair { gap: .48rem; }
}
