:root {
  --blue: #1c528f;
  --blue-deep: #12355d;
  --orange: #de7030;
  --ink: #0a1424;
  --paper: #f4f7fb;
  --line: #d7e0ea;
  --muted: #5d6a7c;
  --white: #fff;
  --green: #2f7d48;
  --danger: #a43a2a;
  --shadow: 0 16px 40px rgba(10, 20, 36, .1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.topbar {
  position: sticky; top: 0; z-index: 8;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 64px; padding: 10px 16px;
  background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--blue); }
.brand i {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 9px; background: var(--blue); color: #fff; font-style: normal;
}
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 650; }
.nav-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn {
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid transparent; background: none; cursor: pointer; font-weight: 700;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--blue-deep); }
.btn-ghost { color: var(--muted); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.page { width: min(1120px, calc(100% - 28px)); margin: 0 auto; padding: 22px 0 64px; }
.narrow { width: min(720px, calc(100% - 24px)); }
.hero, .card, .sheet {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.hero { padding: 22px; margin-bottom: 16px; }
.hero p { margin: 8px 0 0; color: var(--muted); }
.kicker { margin: 0 0 6px; color: var(--orange); font: 800 11px/1.2 ui-monospace, monospace; letter-spacing: .14em; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { padding: 18px; }
.card h2, .card h3 { margin: 0 0 8px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.pass {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; margin: 14px 0; border-radius: 14px; background: #eef4fb;
}
.pass strong { font-family: ui-monospace, monospace; }
.form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 750; }
input, select, textarea {
  min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.hint { color: var(--muted); font-size: 12px; font-weight: 500; }
.error { color: var(--danger); font-size: 13px; }
.ok { padding: 10px 12px; border-radius: 12px; background: #e8f6ec; color: var(--green); font-size: 13px; }
.notice { padding: 10px 12px; border-radius: 12px; background: #fff4e8; color: #9a4d12; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; background: #eef4fb; color: var(--blue-deep);
  font-size: 12px; font-weight: 750;
}
.chip-v { background: #1c528f; color: #fff; }
.chip-org { background: #de7030; color: #fff; }
.tabs { display: flex; gap: 8px; margin: 0 0 14px; flex-wrap: wrap; }
.tab {
  flex: 1; min-height: 48px; min-width: 140px; padding: 8px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  font-size: 13px; line-height: 1.3;
}
.tab.is-on { border-color: var(--blue); background: #e8f0f8; color: var(--blue); font-weight: 800; }
.view { display: none; }
.view.is-on { display: block; }
.path { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.path span { color: var(--muted); }
.list { display: grid; gap: 10px; }
.row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
}
.muted { color: var(--muted); font-size: 13px; }
footer { margin-top: 28px; color: var(--muted); font-size: 12px; }

/* Member portal: original card artwork with a quiet, shared product frame. */
[hidden] { display: none !important; }
.member-app {
  --paper: #f6f6f2; --white: #fff; --ink: #192b2a; --muted: #697672;
  --blue: #204f49; --blue-deep: #20423c; --orange: #a98148;
  --line: #dce2dc; --shadow: 0 10px 30px rgba(22,45,38,.035);
  background: var(--paper);
}
.member-app .topbar { padding: 18px max(24px, calc((100vw - 1360px) / 2)); gap: 24px; background: rgba(246,246,242,.97); }
.member-app .brand { flex-shrink: 0; color: var(--ink); letter-spacing: .1em; }
.member-app .brand-seal { border: 2px solid var(--blue-deep); border-radius: 50%; width: 44px; height: 44px; line-height: 1.05; display: block; padding-top: 4px; background: transparent; color: var(--blue-deep); text-align: center; font-size: 15px; }
.member-app .brand small { font-size: 9px; letter-spacing: .24em; font-weight: 500; margin-top: 4px; }
.member-app .topbar .nav-actions { justify-content: flex-end; gap: 3px; }
.member-app .topbar #who { max-width: 180px; font-size: 11px; overflow-wrap: anywhere; margin: 0 8px; }
.member-app .btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 13px; font-weight: 500; border-radius: 8px; transition: background .15s, border-color .15s; }
.member-app .btn:hover { border-color: var(--blue); }
.member-app .btn-primary { background: var(--blue); color: white; }
.member-app .page { width: min(1320px, calc(100% - 64px)); padding-top: 44px; }
.member-app .hero { background: transparent; box-shadow: none; border: 0; padding: 0 0 20px; margin-bottom: 12px; }
.member-app .hero h1 { font-size: 32px; font-weight: 550; letter-spacing: -.04em; margin: 8px 0; }
.member-app .hero p { font-size: 14px; }
.member-app .kicker { color: var(--muted); font: 500 10px/1.5 ui-monospace, monospace; letter-spacing: .17em; }
.portal-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; padding: 12px 0 52px; }
.intro-copy { padding: 55px 0 0; }
.intro-copy h1 { font-size: clamp(38px, 4vw, 62px); line-height: 1.26; font-weight: 550; margin: 22px 0; letter-spacing: -.045em; }
.intro-copy h1 span { color: #5d8274; }
.intro-description { color: var(--muted); font-size: 15px; line-height: 1.95; margin-bottom: 30px; }
.intro-copy .btn { min-height: 48px; padding: 0 24px; }
.intro-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; font-size: 11px; color: var(--muted); }
.intro-facts span + span { padding-left: 12px; border-left: 1px solid var(--line); }
.card-showcase { min-width: 0; }
.showcase-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 4px 14px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.card-art { margin: 0; }
.card-art > img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 32px -18px rgba(19,34,34,.5); }
.card-art figcaption { font-size: 10px; color: var(--muted); text-align: right; margin: 10px 4px 16px; }
.scene-picker { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.scene-option { display: flex; gap: 9px; align-items: center; text-align: left; border: 1px solid var(--line); padding: 8px; min-width: 0; border-radius: 9px; background: transparent; cursor: pointer; color: var(--muted); font-size: 12px; }
.scene-option > img { width: 50px; height: auto; border-radius: 4px; flex-shrink: 0; }
.scene-check { margin-left: auto; font-size: 12px; }
.scene-option.is-selected { background: #fff; color: var(--blue-deep); border-color: var(--blue); }
.scene-option:hover { background: #fff; }
.scene-story { margin: 22px 0 0; position: relative; }
.scene-story h3 { font-size: 20px; margin: 5px 0 8px; font-weight: 550; }
.scene-story > p:not(.kicker) { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.scene-link { display: inline-flex; gap: 20px; align-items: center; color: var(--blue); font-size: 12px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.scene-note { color: var(--muted); font-size: 10px; margin-top: 14px; }
.section-heading { display: flex; gap: 20px; align-items: end; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 24px; }
.section-heading h2 { font-size: 24px; font-weight: 550; margin: 6px 0 0; }
.section-heading > p { font-size: 12px; color: var(--muted); }
.member-app .card { border-radius: 12px; padding: 24px; box-shadow: none; }
.member-app .card h2 { font-size: 20px; font-weight: 550; }
.member-app .card p { font-size: 13px; line-height: 1.8; }
.member-app .grid .card { display: flex; flex-direction: column; gap: 6px; }
.member-app .grid .card > .btn { align-self: start; margin-top: auto; }
.member-app .chip { background: #edf1ed; color: var(--blue-deep); font-weight: 500; }
.member-app .chip-v { background: #e3eefb; color: #205a9f; }
.member-app .chip-org { background: #f3eee3; color: #8c682d; }
.member-wallet { display: grid; grid-template-columns: 1.22fr 1fr; gap: 40px; align-items: start; padding-top: 10px; }
.member-app .member-summary { padding: 30px; }
.member-app .member-summary h2 { font-size: 28px; margin: 10px 0 6px; overflow-wrap: anywhere; }
.account-block { padding: 20px 0; margin: 18px 0; border-block: 1px solid var(--line); }
.account-block > span { font-size: 11px; color: var(--muted); display: block; }
.account-block strong { display: block; font: 500 clamp(16px, 1.7vw, 23px)/1.6 ui-monospace, monospace; letter-spacing: .025em; overflow-wrap: anywhere; margin: 5px 0 10px; }
.account-block .copy-account { min-height: 30px; font-size: 11px; }
.member-details { margin: 24px 0; font-size: 13px; }
.member-details dt { font-size: 11px; color: var(--muted); margin-top: 16px; }
.member-details dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.member-shortcuts { display: grid; }
.member-shortcuts a { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 15px 0; font-size: 13px; }
.member-shortcuts a span { font-size: 10px; color: var(--muted); font-family: ui-monospace, monospace; }
.member-shortcuts a b { margin-left: auto; font-weight: 400; }
.member-app footer { border-top: 1px solid var(--line); padding-top: 20px; display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; margin-top: 52px; }
.member-app footer small { width: 100%; font-size: 10px; }
.app-status { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 12px 20px; background: #203e36; color: white; border-radius: 10px; font-size: 13px; z-index: 20; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
@media (min-width: 1100px) { .member-app #view-portal .grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 1100px) {
  .member-app .topbar { flex-wrap: wrap; padding: 14px 24px; }
  .member-app .topbar .nav-actions { flex: 1; }
  .member-app .topbar #who { display: none; }
  .portal-intro { gap: 28px; grid-template-columns: .8fr 1.2fr; }
  .intro-copy { padding-top: 30px; }
  .scene-option > img { width: 35px; }
  .scene-check { display: none; }
}
@media (max-width: 760px) {
  .member-app .topbar { position: static; gap: 12px; padding: 16px 20px; }
  .member-app .topbar .nav-actions { flex-basis: 100%; justify-content: start; gap: 4px; }
  .member-app .topbar .btn { padding: 0 10px; min-height: 34px; font-size: 12px; }
  .member-app .page { width: calc(100% - 40px); padding-top: 22px; }
  .portal-intro, .member-wallet { grid-template-columns: 1fr; gap: 34px; }
  .intro-copy { padding: 0; }
  .intro-copy h1 { font-size: 42px; margin: 16px 0; }
  .intro-description { font-size: 13px; }
  .intro-facts { margin-top: 22px; }
  .scene-option { font-size: 12px; padding: 6px; gap: 7px; }
  .scene-option > img { width: 37px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 22px; }
  .member-app .member-summary { padding: 24px; }
  .member-app .narrow { width: 100%; }
  .account-block strong { font-size: 20px; }
}

.community-intro { border-block: 1px solid var(--line); padding: 18px 0; margin: 0 0 24px; }
.community-intro > p:first-child { margin: 0 0 12px; font-size: 18px; }
.community-intro .path { font-size: 12px; }
.community-intro .path a:hover { text-decoration: underline; }
.community-intro > p:last-child { margin-bottom: 0; }
.community-directory { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.community-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; scroll-margin-top: 150px; }
.community-card header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 24px; }
.community-number { font: 400 40px/1 ui-monospace,monospace; color: #a3b3a9; }
.community-card header p { margin: 0; color: var(--muted); text-align: right; font-size: 12px; }
.community-card header small { display: block; margin-top: 5px; font-size: 10px; }
.community-card h2 { margin: 6px 0 18px; font-size: 24px; font-weight: 550; }
.community-motto { font-size: 16px; color: var(--blue); margin: 0 0 12px; }
.community-description { font-size: 13px; color: var(--muted); line-height: 1.9; margin: 0 0 20px; flex: 1; }
.community-admission { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.community-admission > span { font-size: 11px; color: var(--muted); }
.community-admission p { font-size: 12px; line-height: 1.8; margin: 6px 0 18px; }
.community-action { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.community-action > span:last-child { font-size: 10px; color: var(--muted); }
.community-state { font-size: 12px; color: var(--blue); background: #edf1ed; border-radius: 6px; padding: 9px 12px; }
.chamber-community { margin: 28px 0; padding: 28px; background: #e9f2f4; border: 1px solid #d4e4e9; border-radius: 12px; display: flex; gap: 30px; align-items: center; }
.chamber-community h2 { font-size: 23px; font-weight: 550; margin: 6px 0 12px; }
.chamber-community p:not(.kicker) { max-width: 800px; font-size: 13px; line-height: 1.9; color: var(--muted); margin-bottom: 0; }
.chamber-community .btn { flex-shrink: 0; }
.community-process { padding: 20px 0; }
.community-process h2 { font-size: 22px; font-weight: 550; }
.community-process ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; list-style-position: inside; padding: 0; font-size: 14px; }
.community-process li { padding-top: 16px; border-top: 1px solid var(--line); }
.community-process li strong { font-weight: 500; }
.community-process li span { display: block; font-size: 12px; color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) {
  .community-directory { grid-template-columns: 1fr; }
  .community-card { padding: 24px; scroll-margin-top: 16px; }
  .community-card h2 { font-size: 22px; }
  .chamber-community { padding: 24px; flex-direction: column; align-items: start; gap: 16px; }
  .community-process ol { grid-template-columns: 1fr; gap: 14px; }
}

.featured-voucher { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 10px 0 32px; }
.voucher-heading { padding: 26px 28px 20px; display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.voucher-heading h2 { font-size: 26px; font-weight: 550; margin: 6px 0; }
.voucher-heading p:not(.kicker) { font-size: 13px; color: var(--muted); margin: 0; }
.voucher-status { background: #f4f0e6; color: #82663c; padding: 5px 12px; border-radius: 20px; font-size: 11px; white-space: nowrap; }
.voucher-art { display: block; margin: 0 28px; border-radius: 10px; overflow: hidden; }
.voucher-art img { display: block; width: 100%; height: auto; }
.voucher-details { display: flex; align-items: center; gap: 28px; padding: 24px 28px; }
.voucher-amount { min-width: 120px; }
.voucher-amount > span { display: block; font-size: 11px; color: var(--muted); }
.voucher-amount strong { display: flex; align-items: baseline; gap: 5px; font: 500 36px/1.5 ui-monospace, monospace; color: var(--blue); }
.voucher-amount small { font-size: 14px; font-weight: 400; }
.voucher-explanation { flex: 1; border-left: 1px solid var(--line); padding-left: 24px; }
.voucher-explanation p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; overflow-wrap: anywhere; }
.voucher-explanation p:first-child { color: var(--ink); margin-bottom: 4px; }
.voucher-details .btn { flex-shrink: 0; }
.featured-voucher--compute, .use-scene[id] { scroll-margin-top: 100px; }
.featured-voucher--compute .voucher-amount strong { color: #966414; }
@media (max-width: 760px) {
  .voucher-heading { padding: 20px; gap: 10px; flex-wrap: wrap; }
  .voucher-heading h2 { font-size: 23px; }
  .voucher-art { margin: 0 14px; border-radius: 6px; }
  .voucher-details { padding: 18px 20px; gap: 16px; flex-wrap: wrap; }
  .voucher-amount { min-width: 90px; }
  .voucher-explanation { padding-left: 16px; min-width: 140px; }
  .voucher-details .btn { width: 100%; }
}

/* Size standards v1.0: see assets/size-standards.json. Preserve the full artwork. */
.card-art > img, .scene-option > img { aspect-ratio: 113 / 71; object-fit: contain; }
.voucher-art img { aspect-ratio: 3 / 1; object-fit: contain; }

.member-app a[aria-current=page] { color: var(--blue); background: #e8eeea; }
#applicationList, #organizationMembers, #reviewList, #passportList, #groupList { overflow-wrap: anywhere; }
.application-record > .row { border: 0; padding: 0; margin-bottom: 12px; }
.member-app .status-pending { color: #896318; background: #fff4d8; }
.member-app .status-approved { color: #24633d; background: #e7f2e9; }
.member-app .status-rejected { color: #913e33; background: #faebe8; }
.admin-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.admin-stats .card span { display: block; font-size: 12px; color: var(--muted); }
.admin-stats strong { display: block; font-size: 32px; font-weight: 550; }
.section-tools { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.review-entry { border-top: 1px solid var(--line); padding: 22px 0; margin-top: 12px; }
.review-entry h3 { font-size: 18px; }
.review-statement { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-app .grid { align-items: start; }
.admin-app .card .form, .admin-app label { width: 100%; }
.admin-app .row { background: #f9faf7; }
fieldset { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
fieldset > label, fieldset > .form-grid { margin-bottom: 16px; }
legend { padding: 0 8px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.material-item { background: #f9faf7; margin: 12px 0; }
.material-summary { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 10px; font-size: 13px; }
.material-summary dt { color: var(--muted); }
.material-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
details { margin: 16px 0; } summary { cursor: pointer; color: var(--blue); }
.business-card-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 28px; align-items: start; }
.business-card-layout:has(>form[hidden]) { grid-template-columns: minmax(0,680px); justify-content: center; }
.visibility-options { display: flex; flex-wrap: wrap; gap: 16px; }
.visibility-options label { display: flex; align-items: center; gap: 8px; margin: 0; }
.member-app .visibility-options input { width: 18px; height: 18px; flex-shrink: 0; }
.digital-card { border: 1px solid #dae3e2; background: white; border-radius: 20px; overflow: hidden; overflow-wrap: anywhere; }
.digital-card-cover { min-height: 120px; padding: 26px; display: flex; justify-content: space-between; align-items: start; background: linear-gradient(115deg,#154f63,#448c9f); color: white; font-size: 12px; letter-spacing: .12em; }
.digital-card-body { padding: 0 32px 30px; }
.name-avatar { background: #e9f1e9; color: #18483c; font-size: 30px; border: 6px solid white; border-radius: 50%; width: 76px; height: 76px; display: grid; place-items: center; margin-top: -38px; position: relative; }
.digital-card h2 { font-size: 26px; font-weight: 550; margin: 16px 0 8px; }
.digital-card h3 { font-size: 16px; font-weight: 550; }
.digital-card section { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 24px; }
.digital-card p { font-size: 13px; line-height: 1.9; }
.digital-card .card-account { color: var(--muted); font: 12px ui-monospace,monospace; }
.digital-skills { color: var(--blue); }
.card-contact { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 12px; font-size: 13px; }
.card-contact dt { color: var(--muted); }.card-contact dd { margin: 0; }
.portfolio-item { margin: 14px 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.portfolio-item p { white-space: pre-wrap; }
#cardShareControls .nav-actions { margin-top: 12px; }
#applicationForm { max-width: 900px; }
.scenes-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; padding: 24px 0 40px; align-items: center; }
.scenes-hero h1 { font-size: clamp(36px,4.6vw,60px); letter-spacing: -.04em; line-height: 1.2; font-weight: 500; margin: 16px 0 24px; }
.scenes-hero h1 span { color: var(--blue); }
.scenes-hero p:not(.kicker) { color: var(--muted); line-height: 1.9; font-size: 14px; }
.scene-principle { background: #e8eeea; padding: 36px; border-radius: 14px; }
.scene-principle > span { font: 36px ui-monospace,monospace; color: #6b8879; }
.scene-principle h2 { font-size: 23px; font-weight: 500; }
.scenes-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.use-scene { border: 1px solid var(--line); background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.use-scene-art { display: block; width: 100%; height: auto; aspect-ratio: 113/71; object-fit: contain; padding: 16px; background: #f5f7f5; }
.use-scene-content { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.use-scene header { display: flex; align-items: center; justify-content: space-between; color: var(--blue); font-size: 12px; }
.use-scene header b { font: 26px ui-monospace,monospace; color: #a3b3a9; }
.use-scene h2 { font-size: 23px; font-weight: 550; line-height: 1.4; margin: 8px 0 14px; }
.use-scene p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.use-scene .scene-audience { font-size: 11px; margin: 20px 0 0; }
.use-scene ol { font-size: 13px; line-height: 2; padding-left: 20px; margin: 4px 0 24px; }
.use-scene .nav-actions { margin-top: auto; gap: 16px; }
.use-scene .scene-availability { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; }
.scene-journey { margin-top: 40px; padding: 32px; background: #203e36; color: white; border-radius: 14px; }
.scene-journey h2 { font-size: 25px; font-weight: 500; }.scene-journey p { max-width: 800px; line-height: 1.9; font-size: 13px; color: #cbd7d0; }
.scene-journey ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
.scene-journey li { padding-top: 16px; border-top: 1px solid #6b8278; }.scene-journey b { font-size: 14px; font-weight: 500; }.scene-journey li span { display: block; margin-top: 8px; font-size: 12px; color: #cbd7d0; }
@media (max-width: 760px) {
  .scenes-hero, .scenes-directory { grid-template-columns: 1fr; gap: 20px; }
  .scene-principle, .use-scene-content, .scene-journey { padding: 24px; }
  .scene-journey ol { grid-template-columns: 1fr 1fr; }
  .form-grid, .business-card-layout { grid-template-columns: 1fr; }
  .material-summary { grid-template-columns: 1fr; gap: 6px; }
  .material-summary dd { margin-bottom: 10px; }
  fieldset { padding: 14px; }
  .digital-card-body { padding: 0 22px 24px; }
  .admin-stats { gap: 8px; }
  .admin-stats .card { padding: 14px; }
  .admin-stats strong { font-size: 25px; }
  .member-app input, .member-app select, .member-app textarea { min-width: 0; width: 100%; }
}

/* Private member archive: one identity, several independently sourced records. */
.archive-breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 22px; flex-wrap: wrap; }
.archive-breadcrumb a:hover { color: var(--blue); }
.archive-private { margin-left: auto; padding: 6px 12px; background: #e9eeea; border-radius: 6px; font-size: 11px; }
.archive-hero { background: #203e36; color: #fff; padding: 36px 40px 28px; border-radius: 16px; overflow-wrap: anywhere; }
.archive-identity { display: flex; align-items: center; gap: 24px; }
.archive-monogram { flex-shrink: 0; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #80988b; border-radius: 50%; color: #e6dcc6; font-size: 32px; font-weight: 400; }
.archive-title { min-width: 0; }
.member-app .archive-hero .kicker { color: #c0cbbd; font-size: 10px; }
.archive-title h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: .03em; line-height: 1.35; margin: 8px 0 10px; }
.archive-title > p:last-child { color: #d1dbd4; font-size: 13px; margin: 0; }
.archive-status { display: inline-block; margin-left: 16px; padding-left: 16px; border-left: 1px solid #667e73; }
.archive-id-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 24px 0; margin-top: 12px; }
.archive-id-row span { font-size: 11px; display: block; color: #c0cbbd; margin-bottom: 6px; }
.archive-id-row strong { font: 500 clamp(18px, 2vw, 24px)/1.5 ui-monospace, monospace; letter-spacing: .04em; }
.member-app .archive-hero .btn-outline { background: transparent; color: #f3f2e9; border-color: #6b8375; }
.member-app .archive-hero .btn-primary { background: #e4d9be; color: #203e36; }
.member-app .archive-hero .btn-ghost { color: #d1dbd4; }
.member-app .archive-hero .btn:hover { border-color: #e4d9be; }
.archive-hero-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid #4c675b; padding-top: 20px; }
.archive-hero-footer p { margin: 0; font-size: 13px; line-height: 1.9; color: #ece9de; }
.archive-hero-footer p span { font-size: 12px; color: #b8c7bc; }
.archive-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 22px 0 28px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.archive-stats > div { padding: 20px 28px; }
.archive-stats > div + div { border-left: 1px solid var(--line); }
.archive-stats span { display: block; font-size: 12px; color: var(--muted); }
.archive-stats strong { font-size: 32px; font-weight: 500; color: var(--blue-deep); }
.archive-stats small { font-size: 11px; font-weight: 400; margin-left: 8px; color: var(--muted); }
.archive-stats p { font-size: 11px; color: var(--muted); margin: 0; }
.archive-nav { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.archive-nav button { display: flex; align-items: center; gap: 24px; border: 0; border-bottom: 2px solid transparent; padding: 4px 0 14px; background: transparent; color: var(--blue-deep); font-size: 13px; cursor: pointer; flex-shrink: 0; white-space: nowrap; }
.archive-nav button:hover { border-bottom-color: var(--blue); }
.archive-nav span { color: #859b8b; }
.archive-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 24px; align-items: start; }
.archive-main, .archive-sidebar { display: grid; gap: 24px; min-width: 0; }
.archive-section { scroll-margin-top: 125px; overflow-wrap: anywhere; }
.archive-section h3 { font-size: 14px; font-weight: 600; margin: 24px 0 12px !important; }
.archive-section h3 small, .archive-caption { font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.archive-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 28px; margin: 24px 0; }
.archive-fields dt { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.archive-fields dd { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.archive-prose { white-space: pre-wrap; }
.member-app .card p.archive-empty { color: var(--muted); padding: 16px; background: #f6f7f3; border-radius: 8px; font-size: 12px; margin: 12px 0; }
.archive-contact { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 26px; }
.archive-contact summary { font-size: 13px; cursor: pointer; }
.archive-contact summary span { font-size: 11px; color: var(--muted); margin-left: 8px; }
.archive-certificate { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 16px 0; }
.archive-certificate summary { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px; cursor: pointer; }
.archive-certificate summary small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.archive-certificate[open] summary { margin-bottom: 20px; }
.archive-pending { margin: 14px 0 !important; }
.archive-community-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.archive-community-list > div { display: flex; align-items: center; gap: 12px; padding: 16px 12px; border-radius: 8px; background: #f3f5ee; }
.archive-community-list b, .archive-group b { font-size: 13px; font-weight: 550; }
.archive-community-list p, .archive-group p { font-size: 11px !important; margin: 4px 0 0 !important; }
.archive-community-list > .archive-empty { grid-column: 1 / -1; }
.archive-community-list .brand-mark { width: 46px; height: 46px; }
.archive-group { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 10px 0; }
.archive-group-summary { padding: 20px; border-radius: 8px; background: #f4f2eb; margin-top: 24px; }
.archive-group-summary h3 { margin-top: 8px !important; }
.archive-group-summary > div { font-size: 12px; margin: 14px 0; }
.archive-group-summary > div b { font-size: 26px; font-weight: 500; margin: 0 6px 0 14px; }
.archive-group-summary > div b:first-child { margin-left: 0; }
.archive-progress-value { margin: 18px 0 10px; display: flex; align-items: end; gap: 16px; }
.archive-progress-value b { font-size: 30px; font-weight: 500; }
.archive-progress-value small { font-size: 14px; color: var(--muted); }
.archive-progress-value span { font-size: 11px; color: var(--muted); padding-bottom: 7px; }
.archive-progress progress { appearance: none; display: block; width: 100%; height: 5px; border: 0; border-radius: 4px; overflow: hidden; margin-bottom: 18px; background: #e9eee8; }
.archive-progress progress::-webkit-progress-bar { background: #e9eee8; }
.archive-progress progress::-webkit-progress-value { background: #486e58; }
.archive-progress progress::-moz-progress-bar { background: #486e58; }
.archive-timeline { list-style: none; padding: 0; margin: 24px 0 0 5px; }
.archive-timeline li { border-left: 1px solid #d3ddd2; padding: 0 0 18px 18px; position: relative; }
.archive-timeline li::before { content: ''; width: 7px; height: 7px; background: #7c9c82; border: 3px solid #fff; box-sizing: content-box; border-radius: 50%; position: absolute; top: 3px; left: -7px; }
.archive-timeline li:last-child { border-color: transparent; }
.archive-timeline time { font: 10px ui-monospace, monospace; color: var(--muted); }
.archive-timeline p { margin: 5px 0 0 !important; font-size: 12px !important; }
.archive-footnote { padding: 4px 12px 16px; font-size: 12px; color: var(--muted); }
.archive-footnote h3 { font-size: 13px; font-weight: 500; color: var(--blue-deep); }
.archive-lock { font-size: 23px; color: #718d77; }
.archive-footnote p { line-height: 1.9; }
.archive-footnote dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 11px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.archive-footnote dd { margin: 0; text-align: right; }
.archive-gate { max-width: 720px; margin: 35px auto; }
.archive-gate h1 { font-size: 28px; font-weight: 500; }
.archive-gate .btn { margin-top: 16px; }
.ecosystem-value { border: 1px solid #d8dfd6; border-radius: 14px; padding: 30px; margin: 28px 0 40px; background: #eef1e9; }
.ecosystem-value h2 { font-size: 25px; font-weight: 500; margin: 8px 0 14px; }
.ecosystem-value > p:not(.kicker) { font-size: 14px; line-height: 2; max-width: 960px; color: var(--muted); }
.ecosystem-value .chips { margin-top: 22px; }
.member-app .ecosystem-value .chip { background: #fff; padding: 8px 14px; }
.profile-editor-section { display: grid; gap: 16px; margin: 12px 0; padding-top: 26px; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.profile-editor-section h2 { margin: 0 !important; }
.profile-record { background: #f8f9f5; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.profile-record legend { font-size: 13px; color: var(--blue); padding: 0 6px; }
.profile-record .btn { justify-self: start; }
.profile-record input, .profile-record textarea, .profile-record select { min-width: 0; width: 100%; }
.archive-interest-chips { margin: 18px 0; }
.member-app .archive-interest-chips .chip { background: #f4efe2; color: #806235; padding: 7px 14px; }
.archive-records { display: grid; gap: 16px; margin-top: 20px; }
.archive-record { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 20px; scroll-margin-top: 120px; }
.archive-record h3 { margin: 0 !important; }
.archive-record .section-tools { margin-bottom: 12px; }
.archive-record .archive-fields { margin: 16px 0; gap: 14px; }
.archive-record .archive-related { font-size: 12px; padding: 12px 14px; background: #f3f5ee; border-radius: 6px; margin: 16px 0 10px; }
.archive-record .archive-related p { margin: 6px 0 0; }
.archive-work-link { display: inline-block; border: 0; padding: 8px 0; color: var(--blue); background: transparent; cursor: pointer; text-align: left; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.archive-section h2 small { font-size: 11px; color: var(--muted); font-weight: 400; }
#archive-notes .form { margin-top: 20px; }
#archive-notes textarea { min-width: 0; width: 100%; resize: vertical; }
#archive-notes button { justify-self: start; }
@media (max-width: 900px) {
  .archive-layout { grid-template-columns: minmax(0,1fr); }
  .archive-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .archive-footnote { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .profile-editor-section, .archive-record { scroll-margin-top: 24px; }
  .ecosystem-value { padding: 22px; }
  .archive-record { padding: 16px; }
  .archive-private { margin-left: 0; width: 100%; }
  .archive-hero { padding: 26px 22px 22px; }
  .archive-identity { gap: 16px; align-items: start; }
  .archive-monogram { width: 50px; height: 50px; font-size: 23px; }
  .archive-title h1 { font-size: 27px; }
  .archive-status { display: block; border: 0; padding: 0; margin: 6px 0 0; }
  .archive-hero-footer .nav-actions { gap: 8px; }
  .archive-stats > div { padding: 18px 12px; }
  .archive-stats p { display: none; }
  .archive-stats strong { font-size: 26px; }
  .archive-nav { gap: 20px; overflow-x: auto; }
  .archive-nav button { font-size: 12px; white-space: nowrap; flex-shrink: 0; }
  .archive-nav span { display: none; }
  .archive-fields, .archive-community-list, .archive-sidebar { grid-template-columns: 1fr; }
  .archive-section { scroll-margin-top: 24px; }
  .archive-caption { margin-left: 0; }
}

/* Shared original brand artwork: preserve proportions and leave breathing room. */
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; flex: 0 0 auto; background: white; border-radius: 8px; overflow: hidden; }
.brand-mark > img, .brand-mark > svg { display: block; width: 100%; height: 100%; object-fit: contain; overflow: hidden; }
.brand-mark--wordmark { width: 148px; }
.brand-mark--passport { width: 168px; height: 30px; padding: 0; max-width: 100%; background: transparent; border-radius: 0; }
.passport-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 18px; }
.passport-eyebrow [data-passport-logo] { display: flex; }
.passport-eyebrow .brand-mark--passport { width: 132px; height: 24px; }
.member-app .passport-eyebrow .kicker { margin: 0; padding-left: 18px; border-left: 1px solid #c7d1ca; font-size: 10px; line-height: 1.5; }
.scene-brand .brand-mark--passport { width: 160px; height: 28px; }
.digital-card-cover { align-items: flex-start; flex-wrap: wrap; gap: 16px; padding-bottom: 48px; }
.digital-card-cover > .brand-mark--passport { width: 176px; height: 32px; }
.digital-card-cover .brand-mark--passport > svg,
.scene-journey .brand-mark--passport > svg { filter: brightness(0) invert(1); }
.scene-journey .passport-eyebrow .brand-mark--passport { width: 160px; height: 28px; }
.member-app .scene-journey .passport-eyebrow .kicker { color: #cbd7d0; border-color: #6b8278; }
.community-card header { align-items: center; gap: 16px; }
.community-card header .brand-mark { width: 96px; height: 96px; }
.community-card header .community-number { display: block; font-size: 22px; margin-bottom: 8px; }
.scene-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-width: 0; }
.scene-brand > span:last-child { max-width: 220px; line-height: 1.6; }
.use-scene header { gap: 16px; }
.use-scene header > b { flex-shrink: 0; }
.ecosystem-brands { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.ecosystem-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 22px; background: #fff; border: 1px solid #e1e6de; border-radius: 10px; }
.ecosystem-brand b { display: block; font-size: 15px; font-weight: 550; }
.ecosystem-brand div > span { display: block; font-size: 12px; color: var(--muted); margin-top: 7px; line-height: 1.6; }
.ecosystem-value > p.ecosystem-more { margin: 18px 0 0; font-size: 12px; }
@media (max-width: 760px) {
  .ecosystem-brands { grid-template-columns: 1fr; }
  .ecosystem-brand { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 18px; gap: 16px; }
  .ecosystem-brand .brand-mark--wordmark { width: 112px; }
  .scene-brand { align-items: flex-start; flex-direction: column; gap: 12px; }
}

/* Chamber communities share the passport's identity and visual language. */
.chamber-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.association-card { display: flex; flex-direction: column; min-width: 0; }
.association-card h3 { font-size: 22px; line-height: 1.5; margin: 24px 0 10px; }
.association-card > p { color: var(--muted); font-size: 13px; }
.chamber-card-footer { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; }
.chamber-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 22px; gap: 16px; }
.chamber-banner { background: #eaf1ed; padding: 32px; border: 1px solid #d7e2db; border-radius: 14px; display: flex; align-items: center; gap: 32px; margin-bottom: 28px; }
.chamber-banner > div:first-child { flex: 1; min-width: 0; }
.chamber-banner h2 { font-size: 30px; line-height: 1.45; margin: 12px 0 18px; }
.chamber-banner p:not(.kicker) { max-width: 760px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.chamber-count { display: flex; flex-direction: column; align-items: center; min-width: 120px; gap: 8px; }
.chamber-count b { font: 48px/1.2 ui-monospace, monospace; color: var(--blue); }
.chamber-count span { color: var(--muted); font-size: 12px; }
.chamber-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
.chamber-layout > * { min-width: 0; }
.chamber-layout .card { margin-bottom: 24px; }
.chamber-layout h2 { font-size: 21px; margin: 0 0 18px; }
.chamber-layout p { line-height: 1.8; overflow-wrap: anywhere; }
.chamber-layout .application-record { padding: 20px 0; border-top: 1px solid var(--line); }
.chamber-identity .brand-mark { margin-bottom: 24px; }
.chamber-identity .form { margin-top: 22px; }
.chamber-share-label { display: grid; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 16px; }
.chamber-share-label input { min-width: 0; width: 100%; }
@media (max-width: 760px) {
  .chamber-directory, .chamber-layout { grid-template-columns: 1fr; }
  .chamber-banner { padding: 24px; align-items: start; gap: 18px; }
  .chamber-banner h2 { font-size: 23px; }
  .chamber-count { min-width: 60px; }.chamber-count b { font-size: 32px; }
  .chamber-card-footer { flex-wrap: wrap; }
}
