/* DNA — a quiet, consistent workspace. Loaded after legacy tool styles. */
:root, :root[data-theme="light"] {
  color-scheme: light;
  --dna-sidebar-width:232px;
  --r-bg:var(--brand-cream); --r-panel:var(--brand-cream); --r-surface:var(--brand-white); --r-soft:var(--brand-light-line);
  --r-ink:var(--brand-black); --r-muted:var(--brand-muted); --r-line:var(--brand-light-line); --r-accent:var(--brand-gold); --r-on-accent:var(--brand-white);
  --c-bg:var(--r-bg); --c-bg-deep:var(--r-panel); --c-panel:var(--r-panel);
  --c-surface:var(--r-surface); --c-surface-2:var(--r-soft); --c-surface-3:var(--brand-light-line);
  --c-cream:var(--r-ink); --c-cream-bright:var(--r-ink); --c-paper:var(--r-surface);
  --c-muted:var(--r-muted); --c-muted-2:var(--brand-muted); --c-muted-3:var(--brand-muted);
  --c-copper:var(--r-accent); --c-copper-soft:var(--brand-gold); --c-copper-deep:var(--brand-gold); --c-copper-ink:var(--r-on-accent);
  --c-evergreen:var(--brand-gold); --c-evergreen-soft:var(--brand-gold);
  --c-hairline:var(--r-line); --c-hairline-strong:var(--brand-tan); --c-fill-soft:var(--r-soft);
  --paper:var(--r-bg); --paper-2:var(--r-soft); --bg:var(--r-bg); --bg-deep:var(--r-panel);
  --card:var(--r-surface); --panel:var(--r-panel); --surface:var(--r-surface); --surface-2:var(--r-soft); --surface-3:var(--c-surface-3);
  --ink:var(--r-ink); --ink-soft:var(--r-muted); --muted:var(--r-muted); --muted-2:var(--brand-muted);
  --gold:var(--r-accent); --gold-soft:var(--brand-gold); --gold-deep:var(--brand-gold); --sage:var(--brand-gold); --sage-dark:var(--r-accent);
  --line:var(--r-line); --line-strong:var(--brand-tan); --line-bright:var(--brand-tan);
  --radius:14px; --radius-lg:22px;
  --shadow:0 12px 40px color-mix(in srgb, var(--brand-black) 3.14%, transparent); --shadow-xs:0 1px 2px color-mix(in srgb, var(--brand-black) 1.57%, transparent);
  --shadow-sm:0 4px 16px color-mix(in srgb, var(--brand-black) 2.35%, transparent); --shadow-md:0 12px 36px color-mix(in srgb, var(--brand-black) 4.71%, transparent); --shadow-lg:0 24px 80px color-mix(in srgb, var(--brand-black) 9.41%, transparent);
  --focus-ring:0 0 0 3px color-mix(in srgb, var(--brand-gold) 18.82%, transparent);
  --sans:var(--brand-body);
  --serif:var(--brand-heading);
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --r-bg:var(--brand-black); --r-panel:var(--brand-black); --r-surface:var(--brand-dark-panel); --r-soft:var(--brand-dark-panel);
  --r-ink:var(--brand-cream); --r-muted:var(--brand-clay); --r-line:var(--brand-dark-raised); --r-accent:var(--brand-gold); --r-on-accent:var(--brand-on-gold);
  --c-surface-3:var(--brand-dark-raised); --c-muted-2:var(--brand-clay); --c-muted-3:var(--brand-clay);
  --c-copper-soft:var(--brand-tan); --c-copper-deep:var(--brand-gold); --c-hairline-strong:var(--brand-dark-line);
  --gold-soft:var(--brand-tan); --gold-deep:var(--brand-tan); --muted-2:var(--brand-clay);
  --line-strong:var(--brand-dark-line); --line-bright:var(--brand-dark-line); --sage:var(--brand-tan);
  --shadow-md:0 12px 36px color-mix(in srgb, var(--brand-black) 13.33%, transparent);
}
html.chief,html.chief[data-theme="light"],html.chief[data-theme="dark"] {
  --near-black:var(--r-bg);--dark1:var(--r-panel);--dark2:var(--r-surface);--dark3:var(--r-soft);--dark-border:var(--r-line);
  --text-light:var(--r-ink);--text-mid:var(--r-muted);--text-muted:var(--r-muted);
  --gold:var(--r-accent);--gold-light:var(--r-accent);--gold-dark:var(--r-accent);
}
html {scroll-behavior:smooth; scroll-padding-top:90px;}
body.dna-refreshed {background:var(--r-bg)!important; color:var(--r-ink); font-family:var(--sans); letter-spacing:-.012em;}
.dna-refreshed h1,.dna-refreshed h2,.dna-refreshed h3 {color:var(--r-ink); letter-spacing:-.035em;}
.dna-refreshed h1 {font-weight:500; line-height:1.15;}
.dna-refreshed p {line-height:1.65;}
.dna-refreshed .eyebrow {font-size:10px; letter-spacing:.16em; color:var(--r-muted); font-weight:600;}
.dna-refreshed a {text-underline-offset:4px;}
.dna-refreshed :is(button,input,select,textarea) {font-family:var(--sans);}
.dna-refreshed :is(button,a,input,textarea,select,summary):focus-visible {outline:2px solid var(--r-accent); outline-offset:4px;}
.dna-refreshed :is(button,.btn,.primary-button,.secondary-button,summary) {touch-action:manipulation;}
.dna-refreshed :is(.btn,.primary-button,.secondary-button,.text-button) {min-height:44px; border-radius:12px; font-size:13px; font-weight:600; transition:background .18s,transform .18s,box-shadow .18s;}
.dna-refreshed :is(.btn-gold,.primary-button,.btn:not(.btn-ghost):not(.ghost)) {background:var(--r-accent)!important; color:var(--r-on-accent)!important; border-color:transparent; box-shadow:none;}
.dna-refreshed :is(.btn-ghost,.secondary-button,.btn.ghost) {background:var(--r-surface)!important; color:var(--r-ink)!important; border:1px solid var(--r-line);}
.dna-refreshed :is(.btn,.primary-button,.secondary-button):hover {transform:translateY(-1px);box-shadow:var(--shadow-sm);}
.dna-refreshed :is(.btn,.primary-button,.secondary-button):active {transform:translateY(0);}
.dna-refreshed :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select) {background:var(--r-surface)!important; color:var(--r-ink)!important; border-color:var(--r-line); border-radius:12px; font-size:15px;}
.dna-refreshed :is(input,textarea)::placeholder {color:var(--r-muted);}
.dna-refreshed :is(.panel,.surface-card,.mb-card,.settings-card,.focus-card,.vl-card,.card) {background:var(--r-surface); border-color:var(--r-line); box-shadow:none; border-radius:18px;}
.dna-refreshed :is(.hero,.mb-head) {margin-bottom:32px;}
.dna-refreshed .page {max-width:1100px; padding:52px clamp(24px,5vw,68px) 80px;}
.dna-refreshed .hero h1 {font-size:clamp(32px,4vw,46px); margin:12px 0;}
.dna-refreshed .hero p:not(.eyebrow) {font-size:15px; max-width:56ch;}
.dna-refreshed :is(.app-top,.cos-header,.platform-header) {background:var(--r-bg)!important; border-bottom:1px solid var(--r-line); box-shadow:none; backdrop-filter:blur(20px);}
.dna-shell-ready .platform-header .platform-wrap {display:flex;align-items:center;gap:12px;width:100%;max-width:none;min-height:72px;padding:12px 32px;}
.dna-shell-ready .platform-header .platform-actions {margin-left:auto;}
.dna-shell-ready .platform-home {display:none!important;}
.dna-shell-ready :is(.app-top,.cos-header) {min-height:72px; padding:12px 32px;}
.dna-shell-ready :is(.app-top,.cos-header,.platform-header) .dna-nav,
.dna-shell-ready .platform-nav {display:none!important;}
.dna-shell-ready .cos-date,.dna-shell-ready .top-user-home {display:none!important;}
.dna-refreshed .avatar-chip {background:var(--r-soft);color:var(--r-accent);border:0;font-weight:600;}
.dna-refreshed .brand-name {color:var(--r-ink);}
.dna-refreshed .dna-theme-toggle {background:transparent!important;color:var(--r-muted)!important;border-color:var(--r-line)!important;border-radius:9px;}
.dna-refreshed .dna-theme-toggle {width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid var(--r-line);cursor:pointer;}
.dna-refreshed .dna-theme-toggle svg {width:18px;height:18px;}
.dna-refreshed .dna-ico-sun {display:none;}
:root[data-theme="dark"] .dna-refreshed .dna-ico-sun {display:block;}
:root[data-theme="dark"] .dna-refreshed .dna-ico-moon {display:none;}
.dna-sidebar {position:fixed;inset:0 auto 0 0;width:232px;z-index:150;display:flex;flex-direction:column;padding:30px 18px 22px;background:var(--r-panel);border-right:1px solid var(--r-line);overflow-y:auto;overscroll-behavior:contain;}
.dna-sidebar > * {flex-shrink:0;}
.dna-sidebar-brand {display:flex;gap:12px;align-items:center;padding:0 12px 32px;color:var(--r-ink)!important;text-decoration:none;}
.dna-sidebar-logo {display:grid;place-items:center;width:36px;height:40px;color:var(--brand-logo);}
.dna-sidebar-logo svg {width:32px;height:38px;}
.dna-sidebar-brand strong {font-size:22px;letter-spacing:.03em;font-family:var(--serif);font-weight:500;}
.dna-sidebar-brand small {display:block;font:9px var(--sans);letter-spacing:.16em;text-transform:uppercase;margin-top:4px;color:var(--r-muted);}
.dna-sidebar-nav {display:grid;gap:5px;}
.dna-sidebar-nav a,.dna-sidebar-bottom a {display:flex;align-items:center;gap:12px;min-height:45px;padding:10px 13px;color:var(--r-muted);text-decoration:none;font-size:13px;border-radius:11px;transition:background .18s,color .18s;}
.dna-sidebar-nav a:hover,.dna-sidebar-bottom a:hover {background:var(--r-soft);color:var(--r-ink);}
.dna-sidebar-nav a[aria-current=page] {background:var(--r-surface);color:var(--r-accent);box-shadow:0 2px 6px color-mix(in srgb, var(--brand-black) 1.57%, transparent);font-weight:600;}
.dna-sidebar svg {width:18px;height:18px;flex-shrink:0;}
.dna-sidebar .dna-sidebar-logo svg {width:30px;height:38px;}
.dna-nav-label {padding:28px 13px 10px;font-size:9px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--r-muted);}
.dna-sidebar details > summary {display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;font-size:13px;min-height:45px;padding:10px 13px;color:var(--r-muted);}
.dna-sidebar details > summary::after {content:"+";margin-left:auto;font-size:16px;}
.dna-sidebar details[open] > summary::after {content:"−";}
.dna-sidebar details > summary::-webkit-details-marker {display:none;}
.dna-sidebar details .dna-sidebar-nav {padding-left:8px;}
.dna-sidebar-bottom {margin-top:auto;border-top:1px solid var(--r-line);padding-top:16px;}
.dna-sidebar-note {font:italic 13px/1.65 var(--brand-heading);color:var(--r-muted);padding:16px 13px 0;margin:0;}
.dna-sidebar-close,.dna-menu-button,.dna-nav-scrim {display:none;}
.dna-menu-button,.dna-sidebar-close {align-items:center;justify-content:center;width:44px;min-height:44px;border:1px solid var(--r-line);border-radius:10px;background:var(--r-surface);color:var(--r-ink);cursor:pointer;}
.dna-menu-button svg {width:20px;height:20px;}
.dna-route-title {color:var(--r-muted);font-size:12px;}
.dna-search-button {display:flex;align-items:center;gap:12px;width:100%;margin:0 0 26px;padding:11px 13px;background:transparent;color:var(--r-muted);border:1px solid var(--r-line);border-radius:11px;font-size:12px;cursor:pointer;min-height:42px;}
.dna-search-button kbd {font:10px var(--sans);margin-left:auto;opacity:.75;}
.dna-search-dialog {width:min(540px,calc(100% - 32px));padding:0;border:1px solid var(--r-line);border-radius:20px;background:var(--r-surface);color:var(--r-ink);box-shadow:var(--shadow-lg);}
.dna-search-dialog::backdrop {background:color-mix(in srgb, var(--brand-black) 33.33%, transparent);backdrop-filter:blur(5px);}
.dna-search-head {display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--r-line);}
.dna-search-head input {width:100%;padding:10px 0!important;border:0!important;outline:none!important;box-shadow:none!important;}
.dna-search-head button {background:var(--r-soft);border:0;border-radius:8px;color:var(--r-muted);height:40px;min-width:40px;cursor:pointer;}
.dna-search-results {display:grid;gap:4px;padding:12px;max-height:65vh;overflow:auto;}
.dna-search-results a {padding:13px 16px;border-radius:10px;color:var(--r-ink);text-decoration:none;font-size:14px;display:flex;justify-content:space-between;}
.dna-search-results a:hover,.dna-search-results a:focus {background:var(--r-soft);}
.dna-search-results small {color:var(--r-muted);font-size:12px;}
.dna-search-empty {padding:12px 16px;color:var(--r-muted);font-size:14px;}
.dna-refreshed .vl-bar {margin-bottom:16px;}
.dna-refreshed .lessons-wrap > .vl-bar {height:auto;min-height:48px;background:transparent;}
.dna-refreshed .vl-card .vl-bar {margin:0;}
.dna-refreshed .vl-search {max-width:none;min-height:48px;}
.dna-refreshed .vl-filters {gap:6px;margin-bottom:20px;}
.dna-refreshed .dna-filter-disclosure {margin:0 0 14px;border-bottom:1px solid var(--r-line);}
.dna-refreshed .dna-filter-disclosure > summary {font-size:13px;font-weight:500;color:var(--r-muted);}
.dna-refreshed .vl-coaching-note {display:none!important;}
.dna-refreshed .vl-filter {border-radius:8px;background:transparent;color:var(--r-muted);border-color:transparent;min-height:38px;}
.dna-refreshed .vl-filter.on {background:var(--r-soft);color:var(--r-accent);border-color:var(--r-line);}
.dna-refreshed .vl-card {border-radius:12px;}
.dna-refreshed .vl-card-btn {min-height:76px;padding:18px 22px;}
.dna-refreshed .vl-card-title {font-size:15px;line-height:1.45;}
.dna-refreshed .vl-index {font-family:var(--serif);font-size:22px;color:var(--r-muted);background:transparent;border:0;}
.dna-refreshed .vl-section {margin:0 0 18px;}
.dna-section-disclosure > summary {cursor:pointer;list-style:none;display:flex;align-items:center;min-height:60px;border-bottom:1px solid var(--r-line);}
.dna-section-disclosure > summary::-webkit-details-marker {display:none;}
.dna-section-disclosure > summary::after {content:"+";color:var(--r-muted);margin-left:auto;}
.dna-section-disclosure[open] > summary::after {content:"−";}
.dna-section-disclosure .vl-section-head {margin:0;gap:16px;flex:1;padding-right:18px;}
.dna-section-disclosure .vl-section-head h2 {font-size:20px;}
.dna-section-disclosure > .vl-grid {margin-top:14px;}
.dna-refreshed .auth-wrap {background:var(--r-bg);}
.dna-refreshed .auth-card {border-radius:24px;background:var(--r-surface);border-color:var(--r-line);box-shadow:var(--shadow-md);width:min(460px,100%);padding:42px;}
.dna-refreshed .auth-card h1 {font-size:34px;}
.dna-refreshed .auth-card .brand {margin-bottom:32px;}
.dna-refreshed .mb-h1 {font-size:42px;}
.dna-refreshed .mb-progress {margin:24px 0;}
.dna-refreshed .mb-textarea {min-height:180px;padding:20px;line-height:1.7;}
.dna-refreshed .dna-unlock-panel {width:min(640px,calc(100% - 40px));padding:32px;background:var(--r-surface);border-color:var(--r-line);border-radius:20px;}
.dna-refreshed .dna-unlock-cta {background:var(--r-accent);color:var(--r-on-accent);font-size:13px;font-weight:600;border-radius:12px;min-height:44px;}
.dna-refreshed .dna-unlock-link {color:var(--r-muted);font-size:13px;min-height:44px;display:inline-flex;align-items:center;}
.dna-refreshed .settings-page {max-width:850px;margin:0 auto;padding:52px 32px;}
.dna-refreshed[data-dna-page="physical-stewardship"] {padding:0 0 50px;}
.dna-refreshed[data-dna-page="physical-stewardship"] > .wrap {max-width:790px;padding:48px 28px 0;}
.dna-refreshed[data-dna-page="physical-stewardship"] .lede {font-size:15px;}
.dna-refreshed[data-dna-page="physical-stewardship"] .crumb {display:none;}
.dna-refreshed[data-dna-page="physical-stewardship"] .card {padding:26px;}
.dna-optional > summary {min-height:44px;cursor:pointer;color:var(--r-ink);font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:space-between;list-style:none;}
.dna-optional > summary::after {content:"+";color:var(--r-muted);}
.dna-optional[open] > summary::after {content:"−";}
.dna-optional > summary::-webkit-details-marker {display:none;}
.dna-optional[open] > summary {margin-bottom:18px;}
.dna-refreshed .cos-side-quote {display:none;}
.dna-refreshed .genie-peek,.dna-refreshed .genie-orb-badge {display:none!important;}
.dna-shell-ready .genie-orb {display:none!important;}
.dna-refreshed .pilot-fab {background:var(--r-surface);color:var(--r-muted);border:1px solid var(--r-line);box-shadow:var(--shadow-sm);width:42px;height:42px;font-size:16px;bottom:20px;opacity:1;}
.dna-refreshed .pilot-card {background:var(--r-surface);border-color:var(--r-line);border-radius:20px;}
.dna-refreshed .pilot-card h3 {color:var(--r-ink);text-transform:none;letter-spacing:0;font-family:var(--serif);font-size:24px;}
.dna-refreshed .pilot-card p,.dna-refreshed .pilot-btn-cancel {color:var(--r-muted);}
.dna-refreshed .pilot-btn-send {background:var(--r-accent);color:var(--r-on-accent);}
.dna-refreshed .cos-main {background:var(--r-bg);min-height:calc(100vh - 73px);}
.dna-refreshed .cos-sidebar {background:var(--r-bg);border-color:var(--r-line);}
.dna-refreshed .cos-content {padding:34px;min-width:0;}
.dna-refreshed .cos-content > .topbar {background:transparent;border:0;box-shadow:none;}
.dna-refreshed .cos-content > .topbar h1 {font-size:32px;}
.dna-refreshed .cos-header .cos-title {font-family:var(--sans);font-size:13px;font-weight:500;color:var(--r-muted);}
/* The shell label already names the page; keep this title for screen readers only. */
.dna-shell-ready .cos-header .cos-title {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.dna-refreshed .project-map-panel {padding:24px;}
.dna-refreshed .project-section {border-radius:14px;}
@media(min-width:1100px) {
  html body.dna-shell-ready {margin-left:232px;}
  .dna-shell-ready :is(.app-top,.cos-header) {justify-content:flex-end;}
  .dna-shell-ready :is(.app-top > .brand,.cos-brand,.platform-brand) {display:none!important;}
  .dna-shell-ready .cos-header-left {margin-right:auto;}
  .dna-shell-ready .dna-route-title {margin-right:auto;}
  .dna-shell-ready .cos-main {grid-template-columns:200px minmax(0,1fr);}
}
@media(max-width:1099px) {
  :root {--dna-sidebar-width:0px;}
  .dna-sidebar {transform:translateX(-100%);transition:transform .25s cubic-bezier(.2,.7,.3,1);width:270px;visibility:hidden;}
  .dna-menu-open .dna-sidebar {transform:none;visibility:visible;}
  .dna-menu-button,.dna-sidebar-close {display:flex;}
  .dna-sidebar-close {position:absolute;right:14px;top:23px;border:0;background:transparent;}
  .dna-menu-button {flex-shrink:0;margin-right:10px;}
  .dna-shell-ready .app-top {flex-wrap:wrap;gap:8px;padding:12px 20px;}
  .dna-shell-ready .app-top > .brand {margin-right:auto;}
  .dna-shell-ready .cos-header {padding:12px 18px;gap:8px;}
  .dna-shell-ready .cos-header-left {flex:1;}
  .dna-shell-ready .cos-header-right {gap:8px;}
  .dna-shell-ready .cos-header .cos-brand {font-size:13px;}
  .dna-nav-scrim {position:fixed;inset:0;z-index:140;border:0;background:color-mix(in srgb, var(--brand-black) 33.33%, transparent);}
  .dna-menu-open .dna-nav-scrim {display:block;}
  .dna-menu-open {overflow:hidden;}
  .dna-route-title {display:none;}
}
@media(max-width:640px) {
  .dna-refreshed .page {padding:32px 20px 64px;}
  .dna-refreshed .hero h1 {font-size:32px;}
  .dna-shell-ready .app-top {padding:10px 16px;}
  .dna-shell-ready .platform-header .platform-wrap {padding:10px 16px;gap:8px;}
  .dna-shell-ready .lang-toggle {order:3;margin-left:auto;}
  .dna-shell-ready .top-user {font-size:12px;gap:6px;}
  .dna-shell-ready .brand-name {font-size:20px;}
  .dna-refreshed .vl-card-btn {padding:16px 14px;}
  .dna-refreshed .auth-card {padding:30px 24px;}
  .dna-refreshed .settings-page {padding:32px 20px;}
  .dna-refreshed .cos-main {display:block;}
  .dna-refreshed .cos-sidebar {width:auto;max-width:none;border-right:0;border-bottom:1px solid var(--r-line);}
  .dna-refreshed .cos-content {padding:24px 16px;}
}
@media(max-width:360px) {
  /* The mobile menu already carries the brand. Its second copy in tool
     headers crowds the account controls at 320px, especially in Spanish. */
  .dna-shell-ready .platform-header .platform-brand {display:none;}
}
@media(prefers-reduced-motion:reduce) {
  html{scroll-behavior:auto!important;}
  .dna-refreshed *,.dna-refreshed *::before,.dna-refreshed *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
/* Arabic reads right to left. The sidebar sits on the physical right.
   The header stays in left-to-right flow, then the breadcrumb moves to the
   physical right and the language, avatar, and sign-out group to the left. */
html[dir="rtl"] .dna-sidebar {left:auto;right:0;border-right:0;border-left:1px solid var(--r-line);}
html[dir="rtl"] :is(.app-top,.cos-header,.platform-header) {direction:ltr;}
html[dir="rtl"] .dna-shell-ready .dna-route-title {margin-right:0;margin-left:auto;order:3;}
html[dir="rtl"] .dna-shell-ready :is(.lang-toggle,.top-user,.platform-actions,.cos-header-right) {order:1;}
html[dir="rtl"] .dna-shell-ready .platform-actions {margin-left:0;margin-right:auto;}
html[dir="rtl"] .dna-shell-ready .cos-header-left {margin-right:0;margin-left:auto;order:3;}
html[dir="rtl"] .dna-sidebar details > summary::after {margin-left:0;margin-right:auto;}
@media(min-width:1100px) {
  html[dir="rtl"] body.dna-shell-ready {margin-left:0;margin-right:232px;}
}
@media(max-width:1099px) {
  html[dir="rtl"] .dna-sidebar {transform:translateX(100%);}
  html[dir="rtl"] .dna-menu-open .dna-sidebar {transform:none;}
  html[dir="rtl"] .dna-sidebar-close {right:auto;left:14px;}
  html[dir="rtl"] .dna-menu-button {margin-right:0;margin-left:10px;}
}
@media print {
  .dna-sidebar,.dna-menu-button,.dna-nav-scrim,.dna-search-dialog {display:none!important;}
  body.dna-shell-ready {margin-left:0!important;}
}

/* Projects use a single workspace toolbar instead of a second navigation rail. */
html.chief body[data-dna-page="project-map"] .cos-main {display:flex;flex-direction:column;max-width:1100px;margin:auto;min-height:0;padding:36px 42px 70px;}
html.chief body[data-dna-page="project-map"] .cos-sidebar {position:static;display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap;height:auto;min-height:0;width:auto;padding:0 0 24px;border:0;background:transparent;overflow:visible;}
html.chief body[data-dna-page="project-map"] .cos-side-section {margin:0;flex:1;min-width:200px;}
html.chief body[data-dna-page="project-map"] .cos-side-label {padding:0;}
html.chief body[data-dna-page="project-map"] .cos-side-section:has(#chiefDock:empty) {display:none;}
html.chief body[data-dna-page="project-map"] .cos-content {padding:0;display:block;overflow:visible;}
html.chief body[data-dna-page="project-map"] .cos-content>.topbar {padding:0;}
html.chief body[data-dna-page="project-map"] .project-map-panel {padding:0;background:transparent!important;border:0;}
html.chief body[data-dna-page="project-map"] .project-map-intro {background:var(--r-surface);border-color:var(--r-line);border-radius:18px;}
html.chief body[data-dna-page="project-map"] .project-map-intro::before {display:none;}
html.chief body[data-dna-page="project-map"] #projectMapMission {color:var(--r-ink);font-size:20px;}
html.chief body[data-dna-page="project-map"] :is(.project-map-meta span,.project-map-stat span) {color:var(--r-muted);}
html.chief body[data-dna-page="project-map"] .project-map-stat {background:var(--r-soft);border-radius:12px;}
html.chief body[data-dna-page="project-map"] .project-map-stat strong {color:var(--r-accent);}
html.chief body[data-dna-page="project-map"] .project-people:empty {display:none;}
html.chief body[data-dna-page="project-map"] .cos-main:has(.project-empty-state) .cos-side-section:has(#buildFullPlan) { flex: 0 1 280px; max-width: 280px; }
html.chief body[data-dna-page="project-map"] .cos-main:has(.project-empty-state) .cos-side-section:not(:has(#buildFullPlan)),
html.chief body[data-dna-page="project-map"] .project-map-panel:has(.project-empty-state) :is(.project-map-intro,.project-view-toggle) {display:none;}
html.chief body[data-dna-page="project-map"] .project-empty-state {padding:60px 36px;background:var(--r-surface);border:1px solid var(--r-line);border-radius:22px;}
html.chief body[data-dna-page="project-map"] .project-empty-state h3 {font-size:30px;margin:12px 0;}
html.chief body[data-dna-page="project-map"] .project-empty-state p {max-width:46ch;margin:14px auto 24px;}
html.chief body[data-dna-page="project-map"] .project-templates-help {margin:20px 0;}
html.chief body[data-dna-page="project-map"] .project-template-strip {background:transparent;border:0;padding:12px 0;}
html.chief body[data-dna-page="project-map"] .project-template-strip h3 {color:var(--r-ink);}
html.chief body[data-dna-page="project-map"] .project-template-card {background:var(--r-surface);border-color:var(--r-line);}
html.chief body[data-dna-page="project-map"] .project-template-card h4,
html.chief body[data-dna-page="project-map"] .project-template-card .project-template-title {color:var(--r-ink);}
.dna-refreshed[data-dna-page="brief-preview"] {padding:0 0 50px;}
.dna-refreshed[data-dna-page="brief-preview"] > .wrap {padding:42px 20px 0;}
.dna-refreshed[data-dna-page="brief-preview"] .head h1 {color:var(--r-ink);font-size:40px;}
.dna-refreshed[data-dna-page="brief-preview"] :is(.head p,.foot,.status,.signin) {color:var(--r-muted);}
.dna-refreshed[data-dna-page="brief-preview"] .signin {background:var(--r-surface);border-color:var(--r-line);}
.dna-refreshed[data-dna-page="brief-preview"] :is(.signin a,.bar .ghost,.foot a) {color:var(--r-accent);}
.dna-refreshed[data-dna-page="brief-preview"] .bar .primary {background:var(--r-accent);color:var(--r-on-accent);}
.dna-refreshed[data-dna-page="brief-preview"] #frame {box-shadow:var(--shadow-md);}
@media(max-width:640px) {
  html.chief body[data-dna-page="project-map"] .cos-main {padding:32px 20px 60px;}
  html.chief body[data-dna-page="project-map"] .project-empty-state {padding:36px 22px;}
  html.chief body[data-dna-page="project-map"] .project-map-intro {padding:24px;grid-template-columns:1fr;}
}
.dna-coach-invite {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 10px 0 0;
  color: var(--c-copper, var(--brand-gold));
  font: 600 .98rem/1.3 var(--brand-body);
  text-decoration: underline;
  text-underline-offset: 3px;
}
