:root {
  --ink: #132b25;
  --ink-soft: #425a53;
  --paper: #f5f1e8;
  --paper-deep: #eae3d5;
  --white: #fffdf8;
  --line: #d9d1c2;
  --green: #176b55;
  --green-bright: #35b37e;
  --green-pale: #dff3e9;
  --gold: #d6a95f;
  --danger: #a33a35;
  --shadow: 0 24px 70px rgb(19 43 37 / 12%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--paper); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .75rem 1rem; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #e2a33f; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.public-shell { min-height: 100vh; }
.public-header { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: auto; padding: 1.5rem 2rem; }
.wordmark { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; letter-spacing: .08em; }
.wordmark-mark { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: 1.25rem; }
.wordmark strong, .wordmark small { display: block; }
.wordmark strong { font-family: Georgia, "Times New Roman", serif; font-size: .96rem; letter-spacing: .15em; }
.wordmark small { margin-top: .15rem; color: var(--ink-soft); font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; }
.environment-badge { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgb(255 253 248 / 65%); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 5vw; align-items: center; max-width: 1240px; min-height: calc(100vh - 110px); margin: auto; padding: 4rem 2rem 7rem; }
.eyebrow { margin: 0 0 1rem; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, .center-card h1, .entry-grid h1, .onboarding-layout h1, .provisioning-card h1, .overview-heading h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.hero-lede { max-width: 650px; margin: 1.75rem 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .78rem 1.25rem; border: 1px solid transparent; border-radius: .55rem; cursor: pointer; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 24px rgb(23 107 85 / 22%); }
.button-primary:hover { background: #0e5a47; }
.button-secondary { border-color: var(--line); color: var(--ink); background: var(--white); }
.button-full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .58; transform: none; }
.identity-note { max-width: 540px; margin: 1.2rem 0 0; color: #687a75; font-size: .82rem; line-height: 1.5; }

.hero-panel { position: relative; overflow: hidden; padding: 1.2rem 1.5rem 1.5rem; border: 1px solid rgb(255 255 255 / 10%); border-radius: 1.1rem; color: white; background: var(--ink); box-shadow: var(--shadow); }
.hero-panel::before { position: absolute; width: 16rem; height: 16rem; right: -6rem; bottom: -7rem; border-radius: 50%; background: radial-gradient(circle, rgb(53 179 126 / 30%), transparent 68%); content: ""; }
.panel-topline { display: flex; gap: .4rem; padding-bottom: 1rem; border-bottom: 1px solid rgb(255 255 255 / 10%); }
.panel-topline span { width: .45rem; height: .45rem; border-radius: 50%; background: rgb(255 255 255 / 22%); }
.panel-label { margin: 1.4rem 0 1rem; color: #9fcdbb; font-size: .65rem; font-weight: 800; letter-spacing: .18em; }
.workflow-list { display: grid; gap: .7rem; }
.workflow-list > div { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid rgb(255 255 255 / 8%); border-radius: .7rem; background: rgb(255 255 255 / 4%); }
.workflow-icon { display: grid; width: 2.5rem; height: 2.5rem; flex: 0 0 auto; place-items: center; border-radius: .5rem; color: #a7dbc8; background: rgb(53 179 126 / 14%); font-size: .7rem; font-weight: 800; }
.workflow-list p { margin: 0; }
.workflow-list strong, .workflow-list small { display: block; }
.workflow-list small { margin-top: .25rem; color: #9db1aa; }
.trust-line { position: relative; margin-top: 1rem; padding: .8rem 1rem; color: #b5cbc3; font-size: .77rem; }
.trust-line span { margin-right: .45rem; color: var(--green-bright); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1240px; margin: 0 auto 6rem; border: 1px solid var(--line); background: var(--line); }
.trust-grid article { padding: 2rem; background: var(--white); }
.trust-grid article > span, .room-grid article > span { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.trust-grid h2 { margin: 1.2rem 0 .6rem; font-family: Georgia, serif; font-size: 1.35rem; }
.trust-grid p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.center-card { max-width: 620px; margin: 14vh auto; padding: 3rem; text-align: center; }
.center-card h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.loading-mark { width: 2.5rem; height: 2.5rem; margin: 0 auto 1.25rem; border: 2px solid var(--paper-deep); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
.error-card { border: 1px solid #e8c8c5; border-radius: 1rem; background: var(--white); box-shadow: var(--shadow); }

.office-app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; background: #f7f7f3; }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 1.5rem 1.15rem; color: #e8f0ed; background: var(--ink); }
.wordmark-inverse { padding: 0 .45rem; color: white; }
.wordmark-inverse small { color: #91aaa1; }
.sidebar nav { margin-top: 2.5rem; }
.nav-label { margin: 0 .65rem .55rem; color: #789189; font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.nav-label-spaced { margin-top: 1.8rem; }
.nav-item { display: flex; gap: .8rem; align-items: center; margin: .15rem 0; padding: .7rem .75rem; border-radius: .45rem; color: #aebfba; font-size: .88rem; font-weight: 650; text-decoration: none; }
.nav-item:hover, .nav-item.active { color: white; background: rgb(255 255 255 / 8%); }
.nav-item span { width: 1.2rem; color: #7faaa0; text-align: center; }
.sidebar-foundation { display: flex; gap: .7rem; align-items: center; margin-top: auto; padding: .8rem; border-top: 1px solid rgb(255 255 255 / 10%); }
.sidebar-foundation > span, .active-pill > span { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgb(53 179 126 / 12%); }
.sidebar-foundation p { margin: 0; }
.sidebar-foundation strong, .sidebar-foundation small { display: block; }
.sidebar-foundation strong { font-size: .72rem; }
.sidebar-foundation small { margin-top: .15rem; color: #79938a; font-size: .65rem; }

.app-frame { min-width: 0; }
.app-header { display: flex; min-height: 78px; align-items: center; justify-content: space-between; padding: .8rem 2rem; border-bottom: 1px solid #dfe3df; background: rgb(255 255 255 / 82%); backdrop-filter: blur(12px); }
.office-picker-wrap label { display: block; margin-bottom: .2rem; color: #71817c; font-size: .62rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.office-picker-wrap select { min-width: 220px; padding: .4rem 2rem .4rem 0; border: 0; color: var(--ink); background: transparent; font-weight: 750; }
.office-create-button { display: block; padding: .05rem 0; font-size: .68rem; text-align: left; }
.profile-menu { display: flex; align-items: center; gap: .7rem; }
.sign-out-form { margin: 0; }
.profile-avatar { display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border-radius: 50%; color: #0c5a45; background: var(--green-pale); font-size: .76rem; font-weight: 850; }
.profile-copy strong, .profile-copy small { display: block; }
.profile-copy strong { font-size: .78rem; }
.profile-copy small { max-width: 230px; margin-top: .1rem; overflow: hidden; color: #70817b; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.text-button, .back-button { border: 0; cursor: pointer; color: var(--green); background: transparent; font-weight: 750; }
.text-button { padding: .5rem; }
.app-content { max-width: 1320px; margin: auto; padding: 3rem; }
.support-session-banner { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin: -1.25rem 0 1.5rem; padding: 1rem 1.15rem; border: 1px solid #d2aa64; border-radius: .65rem; color: #604115; background: #fff7e8; box-shadow: 0 10px 28px rgb(96 65 21 / 8%); }
.support-session-banner .eyebrow { margin-bottom: .2rem; color: #8a5814; }
.support-session-banner strong, .support-session-banner span { display: block; }
.support-session-banner span { margin-top: .2rem; font-size: .72rem; }

.entry-grid { max-width: 900px; margin: 2rem auto; }
.entry-grid h1, .onboarding-layout h1, .provisioning-card h1, .overview-heading h1 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.entry-grid > div:first-child > p:last-child, .onboarding-intro > p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }
.office-cards { display: grid; gap: .75rem; margin: 2rem 0; }
.office-card { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; width: 100%; padding: 1.2rem; border: 1px solid #dce1dd; border-radius: .7rem; cursor: pointer; text-align: left; background: white; }
.office-card:hover { border-color: #94baa9; box-shadow: 0 8px 24px rgb(19 43 37 / 7%); }
.office-card strong, .office-card small { display: block; }
.office-card small { margin-top: .25rem; color: var(--ink-soft); }
.office-state { padding: .35rem .6rem; border-radius: 99px; color: #286b56; background: var(--green-pale); font-size: .67rem; font-weight: 800; text-transform: uppercase; }

.onboarding-layout { display: grid; grid-template-columns: minmax(260px, .82fr) minmax(420px, 1.18fr); gap: 5vw; max-width: 1080px; margin: 0 auto; }
.back-button { margin: 0 0 2.5rem; padding: .4rem 0; }
.step-list { display: grid; gap: 1rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.step-list li { display: flex; gap: .85rem; align-items: center; color: #80908a; }
.step-list li > span { display: grid; width: 2rem; height: 2rem; flex: 0 0 auto; place-items: center; border: 1px solid #cad2ce; border-radius: 50%; font-size: .68rem; font-weight: 850; }
.step-list .current { color: var(--ink); }
.step-list .current > span { border-color: var(--green); color: white; background: var(--green); }
.step-list p, .step-list strong, .step-list small { display: block; margin: 0; }
.step-list small { margin-top: .15rem; color: #83918c; }
.onboarding-form { padding: 2rem; border: 1px solid #e0e3df; border-radius: .8rem; background: white; box-shadow: 0 18px 50px rgb(19 43 37 / 7%); }
.field-group { margin-bottom: 1.2rem; }
.field-group label { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 780; }
.field-group input, .field-group select, .field-group textarea { width: 100%; min-height: 3rem; padding: .7rem .8rem; border: 1px solid #c9d0cc; border-radius: .42rem; color: var(--ink); background: #fff; font: inherit; }
.field-group textarea { min-height: 5.5rem; resize: vertical; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-color: var(--green); outline: 3px solid rgb(23 107 85 / 10%); }
.field-group small { display: block; margin-top: .4rem; color: #71817c; font-size: .7rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.slug-input { display: flex; align-items: center; overflow: hidden; border: 1px solid #c9d0cc; border-radius: .42rem; background: #f6f7f4; }
.slug-input span { padding-left: .8rem; color: #708079; font-size: .8rem; }
.slug-input input { border: 0; background: transparent; }
.confirmation { display: flex; gap: .7rem; align-items: flex-start; margin: .5rem 0 1.3rem; color: var(--ink-soft); font-size: .78rem; line-height: 1.5; }
.confirmation input { width: 1.05rem; height: 1.05rem; margin-top: .08rem; accent-color: var(--green); }
.form-footnote { margin: .85rem 0 0; color: #73827d; font-size: .68rem; line-height: 1.5; text-align: center; }
.form-errors { margin-bottom: 1.2rem; padding: .8rem 1rem; border: 1px solid #e3b9b6; border-radius: .45rem; color: var(--danger); background: #fff4f3; font-size: .78rem; line-height: 1.5; }

.provisioning-card { max-width: 720px; margin: 4rem auto; padding: 3rem; border: 1px solid #dfe3df; border-radius: 1rem; text-align: center; background: white; box-shadow: var(--shadow); }
.provisioning-orbit { position: relative; width: 4rem; height: 4rem; margin: 0 auto 1.5rem; border: 1px solid #acd4c5; border-radius: 50%; animation: spin 3s linear infinite; }
.provisioning-orbit::before { position: absolute; top: -.3rem; left: 1.55rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--green); content: ""; }
.provisioning-orbit span { position: absolute; inset: .8rem; border-radius: 50%; background: var(--green-pale); }
.provisioning-card > p:not(.eyebrow) { color: var(--ink-soft); line-height: 1.6; }
.progress-track { overflow: hidden; height: .45rem; margin: 2rem 0; border-radius: 99px; background: #e7ece9; }
.progress-track span { display: block; width: 15%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--green-bright)); transition: width .35s ease; }
.provisioning-details { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 1.5rem; border: 1px solid #e2e6e3; border-radius: .55rem; }
.provisioning-details div { min-width: 0; padding: .8rem; }
.provisioning-details div + div { border-left: 1px solid #e2e6e3; }
.provisioning-details dt { color: #75847e; font-size: .65rem; text-transform: uppercase; }
.provisioning-details dd { overflow: hidden; margin: .35rem 0 0; font-size: .75rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }

.overview-heading { display: flex; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.overview-heading h1 { font-size: clamp(2.5rem, 4vw, 4.5rem); }
.overview-heading > div > p:last-child { color: var(--ink-soft); }
.active-pill { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem .75rem; border: 1px solid #cde0d8; border-radius: 999px; color: #2b6e58; background: #eef8f3; font-size: .7rem; font-weight: 800; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0; }
.status-grid article { padding: 1.25rem; border: 1px solid #dfe4e0; border-radius: .65rem; background: white; }
.status-grid p, .status-grid small { margin: 0; color: #788780; font-size: .69rem; }
.status-grid strong { display: block; margin: .7rem 0 .25rem; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.action-center { margin: 0 0 1rem; padding: 1.5rem; border: 1px solid #d9e2dd; border-radius: .8rem; background: #f7faf8; }
.action-center-heading, .action-center-panel-heading { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; }
.action-center-heading h2, .action-center-panel-heading h3 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.action-center-heading h2 { font-size: 2rem; }
.action-center-heading > div > p:last-child { max-width: 700px; margin-bottom: 0; color: var(--ink-soft); line-height: 1.55; }
.action-center-status { margin: 1rem 0; color: var(--ink-soft); font-size: .78rem; }
.action-center-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0; }
.action-center-metrics article { min-width: 0; padding: 1rem; border: 1px solid #dfe4e0; border-radius: .6rem; background: white; }
.action-center-metrics p, .action-center-metrics small { margin: 0; color: #5f6f69; font-size: .68rem; line-height: 1.4; }
.action-center-metrics strong { display: block; overflow-wrap: anywhere; margin: .55rem 0 .2rem; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.action-center-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.action-center-panel { min-width: 0; padding: 1.1rem; border: 1px solid #dfe4e0; border-radius: .65rem; background: white; }
.action-center-panel-heading { align-items: center; padding-bottom: .85rem; border-bottom: 1px solid #e5e9e6; }
.action-center-panel-heading .eyebrow { margin: 0 0 .25rem; }
.action-center-panel-heading h3 { font-size: 1.2rem; }
.action-center-list { display: grid; gap: .65rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.action-center-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .85rem; align-items: center; padding: .85rem; border: 1px solid #e3e8e5; border-radius: .5rem; background: #fbfcfb; }
.action-center-item-copy { min-width: 0; }
.action-center-item-copy strong, .action-center-item-copy span, .action-center-item-copy small { display: block; overflow-wrap: anywhere; }
.action-center-item-copy strong { font-size: .79rem; }
.action-center-item-copy span { margin-top: .25rem; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
.action-center-item-copy small { margin-top: .3rem; color: #6f7e78; font-size: .65rem; }
.action-center-empty { margin: 0; padding: 1rem; border: 1px dashed #cfd9d3; border-radius: .5rem; color: var(--ink-soft); font-size: .76rem; line-height: 1.55; }
.action-center-timeline .action-center-item { grid-template-columns: 1fr; }
.action-center[aria-busy="true"] .action-center-list { opacity: .68; }
.first-value-card { display: grid; grid-template-columns: 1fr .9fr; gap: 2rem; align-items: center; padding: 2rem; border-radius: .8rem; color: white; background: var(--ink); }
.first-value-card h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.first-value-card p:not(.eyebrow) { color: #aec1ba; line-height: 1.6; }
.first-value-card .eyebrow { color: #7ed3b1; }
.first-value-card .button { margin-top: .5rem; }
.room-sequence { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; justify-content: center; }
.room-sequence span { padding: .5rem .65rem; border: 1px solid rgb(255 255 255 / 14%); border-radius: .4rem; background: rgb(255 255 255 / 6%); font-size: .7rem; }
.room-sequence i { color: #6e8b82; font-style: normal; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.room-grid article { padding: 1.4rem; border: 1px solid #dfe4e0; border-radius: .65rem; background: white; }
.room-grid h2 { min-height: 3.2rem; margin: 1rem 0 .5rem; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; }
.room-grid p { color: var(--ink-soft); font-size: .82rem; line-height: 1.55; }
.room-grid small { color: #778881; font-size: .68rem; }

.golden-progress { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .5rem; margin: 2rem 0; padding: 0; list-style: none; }
.golden-progress li { display: flex; gap: .45rem; align-items: center; color: var(--ink-soft); font-size: .7rem; font-weight: 750; }
.golden-progress span { display: grid; width: 1.65rem; height: 1.65rem; flex: 0 0 auto; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: .65rem; }
.workflow-notice { margin-bottom: 1rem; padding: .8rem 1rem; border: 1px solid #b9d8cb; border-radius: .45rem; color: #286b56; background: #eef8f3; font-size: .78rem; }
.golden-room { scroll-margin-top: 1rem; margin-bottom: 1.25rem; padding: 1.5rem; border: 1px solid #dfe4e0; border-radius: .75rem; background: white; }
.golden-room-heading { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(280px, 1fr); gap: 2rem; align-items: end; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid #e3e7e4; }
.golden-room-heading .eyebrow { margin-bottom: .4rem; }
.golden-room-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.golden-room-heading > p { margin: 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.6; }
.golden-room-content { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(340px, 1.35fr); gap: 1.25rem; }
.compact-form { padding: 1.1rem; border: 1px solid #e0e5e1; border-radius: .6rem; background: #fafbf9; }
.compact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.compact-form legend { margin-bottom: 1rem; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 600; }
.compact-form .field-group { margin-bottom: .85rem; }
.compact-form.workflow-disabled { opacity: .58; }
.two-forms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.financial-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
.workflow-register-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.25rem; }
.commerce-form-grid, .commerce-register-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.commerce-register-grid { margin-top: 1.25rem; }
.golden-room h3 { margin: 0 0 .75rem; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 600; }
.core-boundary-note { margin-bottom: 1rem; padding: .8rem 1rem; border: 1px solid #c8dcd3; border-radius: .5rem; color: #245d4c; background: #edf7f2; font-size: .76rem; line-height: 1.5; }
.core-boundary-note.unavailable { border-color: #e1c9a4; color: #76501b; background: #fff8eb; }
.team-register-state { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.core-tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.core-tools-grid > div { min-width: 0; }
.core-register-heading { display: flex; gap: .75rem; align-items: center; justify-content: space-between; margin: 1.25rem 0 .75rem; }
.core-register-heading h3 { margin: 0; }
.core-room .workflow-record-list { max-height: 24rem; overflow: auto; }
.workflow-record-list { display: grid; gap: .55rem; }
.workflow-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .8rem; border: 1px solid #e2e6e3; border-radius: .5rem; background: #fbfcfa; }
.workflow-record-copy strong, .workflow-record-copy small { display: block; overflow: hidden; text-overflow: ellipsis; }
.workflow-record-copy small { margin-top: .2rem; color: var(--ink-soft); font-size: .69rem; }
.workflow-record-actions { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.timeline-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.timeline-list li { position: relative; display: grid; gap: .25rem; padding: .75rem .75rem .75rem 1.5rem; border-left: 2px solid #b9d8cb; background: #fafbf9; font-size: .74rem; }
.timeline-list li::before { position: absolute; top: .9rem; left: -.32rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); content: ""; }
.timeline-list time { color: var(--ink-soft); font-size: .65rem; }

.invitation-card { max-width: 760px; }
.invitation-mark { display: grid; width: 4rem; height: 4rem; margin: 0 auto 1.5rem; place-items: center; border-radius: 50%; color: white; background: var(--green); font-family: Georgia, serif; font-size: 2.2rem; }
.team-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(440px, 1.28fr); gap: 1rem; margin-top: 2rem; }
.team-panel { padding: 1.5rem; border: 1px solid #dfe4e0; border-radius: .7rem; background: white; }
.team-panel h2 { margin: .2rem 0 0; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.panel-heading { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.member-list { display: grid; gap: .65rem; }
.member-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid #e1e5e2; border-radius: .55rem; background: #fbfcfa; }
.member-row strong, .member-row small { display: block; }
.member-row small { overflow: hidden; margin-top: .22rem; color: #71817b; font-size: .7rem; text-overflow: ellipsis; }
.member-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; justify-content: flex-end; }
.member-actions select { min-height: 2.35rem; padding: .4rem .55rem; border: 1px solid #c9d0cc; border-radius: .4rem; background: white; font-size: .75rem; }
.shared-work-list { margin-top: 1rem; }
.shared-work-row small { white-space: normal; }
.button-compact { min-height: 2.35rem; padding: .45rem .7rem; font-size: .72rem; }
.button-danger { border-color: #e1bcb9; color: var(--danger); background: #fff8f7; }
.member-state { display: inline-block; margin-top: .45rem; padding: .25rem .45rem; border-radius: 99px; color: #286b56; background: var(--green-pale); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.member-state.suspended, .member-state.revoked, .member-state.removed, .member-state.expired { color: #8a3b36; background: #f9e6e4; }
.invitation-directory { margin-top: 1rem; }
.invitation-link-panel { margin-top: 1rem; padding: 1rem; border: 1px solid #b9d8cb; border-radius: .55rem; background: #eef8f3; }
.invitation-link-panel p { color: var(--ink-soft); font-size: .75rem; line-height: 1.5; }
.invitation-link-panel > div { display: flex; gap: .5rem; }
.invitation-link-panel input { min-width: 0; flex: 1; padding: .6rem; border: 1px solid #aac9bc; border-radius: .4rem; background: white; font-size: .72rem; }
.empty-state { padding: 1.2rem; border: 1px dashed #ccd4cf; border-radius: .55rem; color: var(--ink-soft); font-size: .8rem; text-align: center; }
.support-review-panel { margin-top: 1rem; }
.support-review-copy { color: var(--ink-soft); font-size: .78rem; line-height: 1.6; }
.support-review-row { align-items: start; }
.support-review-purpose { margin: .75rem 0 .3rem; color: var(--ink-soft); font-size: .76rem; line-height: 1.55; }
.member-row .support-review-capabilities { color: var(--green); font-size: .66rem; line-height: 1.5; white-space: normal; }
.member-state.pending { color: #815311; background: #fbefd8; }

dialog { width: min(560px, calc(100vw - 2rem)); padding: 0; border: 0; border-radius: .8rem; color: var(--ink); background: white; box-shadow: 0 30px 90px rgb(8 18 15 / 32%); }
dialog::backdrop { background: rgb(10 24 20 / 66%); backdrop-filter: blur(3px); }
.support-decision-form { padding: 1.7rem; }
.support-decision-form h2 { margin: 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.support-decision-form > p:not(.eyebrow) { color: var(--ink-soft); font-size: .8rem; line-height: 1.55; }
.support-confirmation { display: flex; gap: .65rem; align-items: flex-start; margin: .5rem 0 1.2rem; color: var(--ink-soft); font-size: .75rem; line-height: 1.5; }
.support-confirmation input { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; margin-top: .1rem; accent-color: var(--green); }
.dialog-actions { display: flex; gap: .6rem; justify-content: flex-end; }

.commercial-separation-note { display: grid; grid-template-columns: minmax(180px, .35fr) 1fr; gap: 1rem; margin-top: 2rem; padding: 1rem 1.2rem; border: 1px solid #c8dcd3; border-radius: .6rem; color: #245d4c; background: #edf7f2; font-size: .78rem; line-height: 1.55; }
.commercial-separation-note span { color: var(--ink-soft); }
.commercial-status-grid { margin-top: 1rem; }
.commercial-layout { display: grid; grid-template-columns: minmax(420px, 1.25fr) minmax(280px, .75fr); gap: 1rem; }
.commercial-side-stack { display: grid; gap: 1rem; align-content: start; }
.commercial-side-stack .button + .button { margin-top: .65rem; }
.panel-copy { color: var(--ink-soft); font-size: .76rem; line-height: 1.55; }
.plan-list, .entitlement-list, .usage-list, .invoice-list { display: grid; gap: .65rem; }
.plan-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid #e0e5e1; border-radius: .6rem; background: #fafbf9; }
.plan-card.current { border-color: #9fcab8; background: #f1f9f5; box-shadow: inset 3px 0 0 var(--green); }
.plan-card strong, .plan-card small { display: block; }
.plan-card strong { margin-top: .6rem; font-family: Georgia, serif; font-size: 1.15rem; }
.plan-card p { margin: .4rem 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
.plan-card small { color: #60746c; font-size: .68rem; }
.commercial-register-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.commercial-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .85rem; border: 1px solid #e2e6e3; border-radius: .5rem; background: #fbfcfa; }
.commercial-record strong, .commercial-record small { display: block; }
.commercial-record small { overflow: hidden; margin-top: .25rem; color: var(--ink-soft); font-size: .68rem; text-overflow: ellipsis; }
.invoice-record > div:last-child { text-align: right; }
.usage-record { display: grid; gap: .45rem; padding: .8rem; border: 1px solid #e2e6e3; border-radius: .5rem; background: #fbfcfa; }
.usage-record > div:first-child { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; font-size: .75rem; }
.usage-record > div:first-child span, .usage-record small { color: var(--ink-soft); font-size: .66rem; }
.usage-track { overflow: hidden; height: .42rem; border-radius: 99px; background: #e2e9e5; }
.usage-track span { display: block; min-width: 2px; height: 100%; border-radius: inherit; background: var(--green); }
.usage-track span.warning { background: #d59b3b; }
.commercial-invoices { margin-top: 1rem; }
.export-delivery-layout { display: grid; grid-template-columns: minmax(300px, .7fr) minmax(420px, 1.3fr); gap: 1rem; margin-top: 1rem; align-items: start; }
.lifecycle-exit-panel { margin-top: 1rem; }
.lifecycle-exit-panel .compact-form { max-width: 680px; margin-top: 1.25rem; }
.export-manifest-list { display: grid; gap: .75rem; }
.export-manifest { padding: 1rem; border: 1px solid #dfe5e1; border-radius: .6rem; background: #fafbf9; }
.export-manifest-head { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; }
.export-manifest strong, .export-manifest small { display: block; }
.export-manifest small { margin-top: .25rem; color: var(--ink-soft); font-size: .68rem; line-height: 1.45; }
.export-digest { overflow: hidden; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.export-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }

.daily-layout { display: grid; grid-template-columns: minmax(330px, .72fr) minmax(460px, 1.28fr); gap: 1rem; }
.daily-search-panel, .daily-workbench { align-self: start; }
.daily-search-form { margin-bottom: 1rem; }
.daily-results { max-height: 31rem; overflow: auto; padding-right: .15rem; }
.daily-results .workflow-record { cursor: pointer; }
.daily-results .workflow-record:hover, .daily-results .workflow-record.selected { border-color: #91bca9; background: #eff8f4; box-shadow: inset 3px 0 0 var(--green); }
.daily-pagination { display: flex; gap: .75rem; align-items: center; justify-content: space-between; margin-top: .8rem; }
.daily-pagination span { color: var(--ink-soft); font-size: .72rem; }
.saved-view-block { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid #e1e5e2; }
.saved-view-block h3 { margin: 0 0 .8rem; font-family: Georgia, serif; font-size: 1.05rem; }
.daily-command-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: .8rem 0; }
.daily-workbench > .panel-copy { min-height: 2.4rem; }
.daily-workbench form + form, .daily-workbench .daily-command-row + form { margin-top: .8rem; }
.daily-support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: .8rem; }
.daily-document-form { margin-top: .8rem; }
.daily-register-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.daily-register-grid .team-panel { min-width: 0; }
.daily-register-grid .workflow-record-list { max-height: 24rem; overflow: auto; }
.document-clean { color: #286b56; }
.document-rejected, .document-failed { color: var(--danger); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-panel { max-width: 640px; }
  .trust-grid, .status-grid, .room-grid { grid-template-columns: 1fr; }
  .office-app { grid-template-columns: 1fr; }
  .sidebar { position: static; display: block; min-width: 0; height: auto; padding: 1rem; }
  .sidebar nav { display: flex; width: 100%; min-width: 0; max-width: 100%; gap: .4rem; overflow-x: auto; margin-top: 1rem; padding: .25rem 0 .6rem; scrollbar-gutter: stable; }
  .sidebar nav .nav-label, .sidebar-foundation { display: none; }
  .sidebar .nav-item { flex: 0 0 auto; min-height: 44px; box-sizing: border-box; margin: 0; border: 1px solid rgb(255 255 255 / 18%); }
  .onboarding-layout, .team-layout, .golden-room-content, .golden-room-heading, .core-tools-grid, .commercial-layout, .daily-layout, .export-delivery-layout, .action-center-grid, .action-center-metrics { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .step-list li { align-items: flex-start; }
  .step-list small { display: none; }
  .first-value-card { grid-template-columns: 1fr; }
  .golden-progress { grid-template-columns: repeat(4, 1fr); }
  .commerce-form-grid, .commerce-register-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1150px) and (min-width: 621px) {
  .profile-copy small { display: none; }
}

@media (max-width: 620px) {
  .public-header, .hero, .app-content { padding-right: 1rem; padding-left: 1rem; }
  .environment-badge { display: none; }
  .hero { padding-bottom: 4rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .app-header { flex-wrap: wrap; gap: .75rem; align-items: flex-start; padding: .8rem 1rem; }
  .office-picker-wrap select { min-width: 130px; max-width: 42vw; }
  .office-create-button { max-width: 42vw; }
  .profile-menu { max-width: 100%; margin-left: auto; }
  .profile-copy { display: none; }
  .app-content { padding-top: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .onboarding-form, .provisioning-card { padding: 1.25rem; }
  .step-list { display: none; }
  .provisioning-details { grid-template-columns: 1fr; }
  .provisioning-details div + div { border-top: 1px solid #e2e6e3; border-left: 0; }
  .overview-heading { display: block; }
  .action-center-heading, .action-center-panel-heading, .action-center-item { grid-template-columns: 1fr; align-items: stretch; }
  .action-center-heading, .action-center-panel-heading { flex-direction: column; }
  .support-session-banner { align-items: stretch; flex-direction: column; }
  .active-pill { margin-top: 1rem; }
  .member-row { grid-template-columns: 1fr; }
  .member-actions { justify-content: flex-start; }
  .team-register-state { align-items: flex-start; flex-direction: column; }
  .two-forms, .workflow-register-grid, .commercial-register-grid, .commercial-separation-note, .daily-support-grid, .daily-register-grid { grid-template-columns: 1fr; }
  .plan-card { grid-template-columns: 1fr; }
  .golden-progress { grid-template-columns: repeat(2, 1fr); }
  .golden-room { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; }
  .button, .text-button, .back-button, .nav-item, input, select, textarea, .active-pill, .office-state, .action-center-item, .action-center-empty { border: 1px solid CanvasText; }
  .nav-item.active { border-color: Highlight; color: HighlightText; background: Highlight; }
  .button:disabled { color: GrayText; opacity: 1; }
  .sidebar-foundation > span, .active-pill > span { background: Highlight; box-shadow: none; }
}
