/* CompanyCore director workspace. Scoped so the public site and checklist retain their layout. */
.shield, .sh-drawer {
  --sh-ink: #17232c;
  --sh-secondary: #4d606d;
  --sh-border: #d6dfe3;
  --sh-paper: #f4f6f7;
  --sh-navy: #1e2c37;
  --sh-rail: #17242e;
  --sh-accent: #f47736;
  --sh-red: #9e312c;
  --sh-amber: #805400;
  --sh-green: #206440;
  --sh-focus: #086fa9;
  font: 1rem/1.45 Inter, "Segoe UI", Arial, sans-serif;
  color: var(--sh-ink);
  -webkit-text-size-adjust: 100%;
}
.shield { min-height: 100vh; min-height: 100dvh; background: var(--sh-paper); }
.shield *, .sh-drawer * { box-sizing: border-box; }
.shield [hidden], .sh-drawer [hidden] { display: none !important; }
.shield :where(button, a, input, select, textarea, summary):focus-visible,
.sh-drawer :where(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--sh-focus);
  outline-offset: 3px;
}
.shield :where(h1, h2, h3), .sh-drawer :where(h2, h3) {
  color: inherit;
  text-wrap: pretty;
}
.shield :where(p), .sh-drawer :where(p) { line-height: 1.48; }
.shield button, .sh-drawer button { cursor: pointer; }
.shield button:disabled, .sh-drawer button:disabled { opacity: .55; cursor: default; }
.sh-svg, .sh-top svg, .sh-nav svg, .sh-btn svg, .sh-badge svg, .sh-brief-head svg {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  vertical-align: -.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sh-top {
  min-height: 62px;
  padding: .65rem clamp(1rem, 2.3vw, 2.15rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--sh-border);
}
.sh-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--sh-ink); font-size: 1.3rem; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; text-decoration: none; }
.sh-brand img, .sh-brand > svg { width: 2rem; height: 2rem; }
.sh-entity { color: var(--sh-secondary); border-left: 1px solid var(--sh-border); padding-left: 1.5rem; font-size: .93rem; }
.sh-role { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; min-width: 0; font-weight: 600; font-size: .9rem; }
.shield select, .sh-drawer select { max-width: 100%; font: inherit; color: var(--sh-ink); }
.sh-role select, select.sh-entity, .sh-entity select {
  min-height: 38px;
  border: 1px solid #b9c7ce;
  border-radius: 5px;
  background-color: #fff;
  padding: .35rem .65rem;
  font-size: .9rem;
}
.sh-role select { border-radius: 2rem; background-color: #f4f6f6; font-weight: 650; }
.sh-layout { display: grid; grid-template-columns: clamp(12.25rem, 16.5vw, 15rem) minmax(0, 1fr); min-height: calc(100vh - 62px); }
.sh-rail { min-width: 0; background: var(--sh-rail); color: #ecf1f4; padding: 1.65rem .65rem; }
.sh-rail .sh-overline, .sh-rail small { color: #abc0cb; }
.sh-rail > .sh-overline { padding: 0 .75rem .65rem; }
.sh-nav, .sh-nav ul { display: grid; align-content: start; gap: .25rem; list-style: none; padding: 0; margin: 0; }
.sh-nav li { margin: 0; padding: 0; min-width: 0; }
.sh-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .65rem .85rem;
  color: #dae4eb;
  border-radius: 5px;
  font-size: .94rem;
  font-weight: 510;
  line-height: 1.25;
  text-decoration: none;
}
.sh-nav a:hover { color: #fff; background: #263743; }
.sh-nav a[aria-current="page"] { background: #34454f; color: #fff; font-weight: 660; }
.sh-nav a[aria-current="page"]::before {
  position: absolute; content: ''; inset: .6rem auto .6rem 0;
  width: 3px; background: var(--sh-accent); border-radius: 2px;
}
.sh-nav a[aria-current="page"] svg { color: #ffab7c; }
.sh-main {
  min-width: 0; width: 100%; max-width: 108rem; margin-inline: auto;
  padding: clamp(1.2rem, 2.65vw, 2.85rem) clamp(1rem, 2.9vw, 3.4rem) 3.25rem;
}
.sh-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .75rem 1rem; margin-bottom: 1.4rem; }
.sh-heading > div { min-width: 0; }
.sh-heading h1 { margin: .15rem 0 .3rem; font-size: clamp(1.85rem, 2.8vw, 2.85rem); line-height: 1.12; font-weight: 650; letter-spacing: -.048em; }
.sh-heading p, .sh-sub { color: var(--sh-secondary); margin: .2rem 0; }
.sh-overline { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #465a66; }
.sh-brief { background: var(--sh-navy); color: #fff; border-radius: 8px; border: 1px solid #243743; border-left: 4px solid var(--sh-accent); padding: 1.2rem 1.45rem; margin-block: 0 1rem; }
.sh-brief-head { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .65rem; }
.sh-brief h2 { margin: 0; font-size: 1.2rem; font-weight: 660; letter-spacing: -.025em; }
.sh-brief p, .sh-brief .sh-sub { color: #e3ebef; }
.sh-brief .sh-overline, .sh-brief small { color: #ffc49e; }
.sh-brief-head svg { color: #ffac7d; }
.sh-brief-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(11.8rem, 100%),1fr)); margin-top: .85rem; gap: .7rem 0; }
.sh-brief-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .17rem; min-width: 0; border-inline-start: 1px solid #4a5a64; padding: .1rem 1rem; }
.sh-brief-grid > div:first-child { border: 0; padding-inline-start: 0; }
.sh-brief-grid strong { display: block; color: #fff; font-size: 1rem; font-weight: 660; }
.sh-brief-grid span { color: #d2dfe5; font-size: .9rem; line-height: 1.45; }
.sh-brief a { color: #ffbd95; }
.sh-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(10.25rem,100%),1fr)); gap: .8rem; margin: 0 0 1.1rem; }
.sh-metrics > article {
  display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; min-width: 0;
  background: #fff; padding: 1rem 1.1rem .9rem; border: 1px solid var(--sh-border); border-radius: 7px;
}
.sh-metrics small { font-size: .88rem; font-weight: 620; color: var(--sh-secondary); }
.sh-metrics strong { font-size: clamp(1.45rem, 2.15vw, 2.05rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sh-metrics p { font-size: .88rem; color: var(--sh-secondary); }
.sh-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr); align-items: start; gap: 1rem; }
.sh-panel { min-width: 0; padding: clamp(1rem, 1.65vw, 1.5rem); background: #fff; border: 1px solid var(--sh-border); border-radius: 7px; }
.sh-panel + .sh-panel, .sh-columns + .sh-panel, .sh-panel + .sh-columns { margin-top: 1rem; }
.sh-columns > .sh-panel + .sh-panel { margin-top: 0; }
.sh-panel > header, .sh-card > header, .sh-drawer header {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: .4rem .75rem;
}
.sh-panel h2 { font-size: 1.24rem; line-height: 1.25; margin: 0 0 .55rem; font-weight: 650; letter-spacing: -.027em; }
.sh-panel h3, .sh-card h3, .sh-drawer h3 { font-size: 1.035rem; line-height: 1.35; font-weight: 660; letter-spacing: -.017em; margin: 0; }
.sh-panel > p, .sh-card > p { margin: .25rem 0 .65rem; }
.sh-list, .sh-card-grid { display: grid; gap: .65rem; padding: 0; list-style: none; }
.sh-card-grid { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%),1fr)); }
.sh-card { min-width: 0; padding: .9rem 1.05rem; border: 1px solid var(--sh-border); border-radius: 6px; background: #fff; overflow-wrap: anywhere; }
.sh-card footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; margin-top: .8rem; }
.sh-meta { display: flex; flex-wrap: wrap; gap: .3rem .85rem; margin: .45rem 0; color: var(--sh-secondary); font-size: .875rem; }
.sh-proof { font-size: .94rem; color: #283b47; margin: .4rem 0; }
.sh-badge {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: .35rem;
  border-radius: 4px; padding: .19rem .5rem; background: #eff2f4; color: #40515c;
  border: 1px solid #d4dde1; font-size: .8rem; font-weight: 680; line-height: 1.35; max-width: 100%;
}
.sh-badge[data-tone="red"] { color: var(--sh-red); background: #fbece9; border-color: #edc8c1; }
.sh-badge[data-tone="amber"] { color: var(--sh-amber); background: #fff4d9; border-color: #ecdaa0; }
.sh-badge[data-tone="green"] { color: var(--sh-green); background: #eaf4ec; border-color: #c0d9c6; }
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 38px; padding: .48rem .82rem;
  color: #263843; background: #fff; border: 1px solid #b8c6cd; border-radius: 5px;
  font: 610 .9rem/1.3 Inter, "Segoe UI", Arial,sans-serif; text-align: center; text-decoration: none; cursor: pointer;
}
.sh-btn:hover { background: #eff3f5; border-color: #8fa3af; }
.sh-btn.primary { color: #231c16; background: var(--sh-accent); border-color: #df682d; }
.sh-btn.primary:hover { background: #ff8a4d; border-color: #c25b2a; }
.sh-btn.quiet { background: transparent; color: #334f60; border-color: transparent; }
.sh-btn.quiet:hover { background: #edf2f4; }
.sh-brief .sh-btn.quiet { color: #ffcea9; }
.sh-brief .sh-btn.quiet:hover { background: #334653; }
.sh-toolbar, .sh-tabs { display: flex; align-items: end; gap: .6rem; flex-wrap: wrap; margin: .7rem 0 1rem; }
.sh-tabs { align-items: center; gap: .2rem; border-bottom: 1px solid var(--sh-border); }
.sh-tabs :is(a,button) { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: .6rem .8rem; border-radius: 0; font-size: .95rem; font-weight: 610; }
.sh-tabs :is([aria-selected="true"],[aria-current="page"],.active) { border-color: #c45b25; color: var(--sh-ink); }
.sh-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(13rem,100%),1fr)); align-items: start; gap: .8rem; margin: .7rem 0; }
.sh-form { display: grid; gap: .75rem; min-width: 0; }
.sh-form > .sh-btn { justify-self: start; }
.sh-fields label, .sh-form label, .sh-toolbar label { display: grid; gap: .3rem; min-width: 0; color: #354954; font-size: .9rem; font-weight: 600; }
.sh-fields input, .sh-fields select, .sh-form :is(input,select,textarea), .sh-toolbar :is(input,select), .sh-drawer :is(input,select,textarea) {
  box-sizing: border-box; max-width: 100%; min-width: 0; min-height: 40px; padding: .43rem .58rem;
  border: 1px solid #acbbc3; border-radius: 4px; background: #fff; color: var(--sh-ink);
  font: 400 .95rem/1.4 Inter, "Segoe UI", Arial, sans-serif; color-scheme: light;
}
.sh-form textarea, .sh-drawer textarea { width: 100%; min-height: 5rem; resize: vertical; }
.sh-form :is(input[type="checkbox"],input[type="radio"]), .sh-drawer :is(input[type="checkbox"],input[type="radio"]) { width: 1rem; height: 1rem; min-height: 0; accent-color: var(--sh-navy); }
.sh-table { width: 100%; max-width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; }
.sh-table :is(th,td) { vertical-align: top; text-align: start; padding: .65rem .6rem; border-bottom: 1px solid var(--sh-border); overflow-wrap: anywhere; }
.sh-table th { color: #445661; background: #f3f6f7; font-weight: 650; }
.sh-table tr:last-child td { border-bottom: none; }
.sh-gates, .sh-log, .sh-timeline { padding: 0; margin: .65rem 0; list-style: none; }
.sh-gates > * { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem .8rem; padding: .58rem 0; border-bottom: 1px solid var(--sh-border); }
.sh-gates > :last-child { border-bottom: 0; }
.sh-log > *, .sh-timeline > * { position: relative; padding: .13rem 0 .8rem .95rem; border-left: 1px solid #ced8dd; overflow-wrap: anywhere; }
.sh-log > *::before, .sh-timeline > *::before { position: absolute; content: ''; width: .4rem; height: .4rem; left: -.23rem; top: .52rem; border-radius: 50%; background: #748a98; }
.sh-log time, .sh-timeline time { color: var(--sh-secondary); font-size: .85rem; font-variant-numeric: tabular-nums; }
.sh-log p, .sh-timeline p { margin: .1rem 0; }
.sh-empty, .sh-banner { padding: .8rem 1rem; font-size: .95rem; border-radius: 5px; color: #435765; background: #f3f6f7; }
.sh-empty { margin: .6rem 0; border: 1px dashed #bbc9cf; }
.sh-banner { margin: .75rem 0; border: 1px solid #c9d8e0; background: #edf4f7; }
.sh-drawer {
  inset: 0 0 0 auto; margin: 0; width: min(36rem,100%); max-width: 100%; height: 100%; height: 100dvh; max-height: 100dvh;
  overflow: auto; padding: 1.35rem 1.5rem 2.1rem; background: #fff; border: 0; border-inline-start: 1px solid #cad4da;
  border-radius: 0; box-shadow: -6px 0 32px #1c2c3526;
}
.sh-drawer::backdrop { background: #19283177; }
.sh-drawer h2 { margin: 0; font-size: 1.5rem; line-height: 1.22; font-weight: 660; letter-spacing: -.035em; }
.sh-drawer header { margin-bottom: 1rem; }
.sh-drawer details { padding: .6rem 0; border-top: 1px solid var(--sh-border); }
.sh-drawer summary { font-weight: 630; padding: .25rem 0; }
.sh-drawer p { margin: .4rem 0; color: var(--sh-secondary); }
.sh-drawer code, .shield code { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
@media (max-width: 72rem) {
  .sh-columns { grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 1fr); }
  .sh-main { padding-inline: 1.35rem; }
}
@media (max-width: 60rem) {
  .sh-columns { grid-template-columns: minmax(0,1fr); }
  .sh-top { gap: .8rem; }
  .sh-entity { padding-left: .8rem; }
}
@media (max-width: 50rem) {
  .sh-layout { display: block; }
  .sh-rail { padding: .42rem .65rem; }
  .sh-rail > .sh-overline { display: none; }
  .sh-nav, .sh-nav ul { grid-template-columns: repeat(4, minmax(0,1fr)); gap: .2rem; }
  .sh-nav > ul { grid-column: 1/-1; }
  .sh-nav a { justify-content: center; padding: .45rem .35rem; text-align: center; gap: .35rem; min-height: 40px; font-size: .88rem; }
  .sh-nav a[aria-current="page"]::before { inset: auto .5rem 0; height: 2px; width: auto; }
  .sh-main { padding: 1.15rem 1rem 2rem; }
  .sh-brief-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 38rem) {
  .sh-top { flex-wrap: wrap; gap: .45rem .6rem; padding: .65rem .85rem; }
  .sh-brand { font-size: 1.15rem; }
  .sh-brand img { width: 1.65rem; height: 1.65rem; }
  .sh-role { flex-wrap: wrap; gap: .2rem .35rem; justify-content: flex-end; font-size: .82rem; }
  .sh-role select, .sh-entity select { max-width: 100%; min-height: 34px; font-size: .84rem; }
  .sh-entity { order: 3; flex-basis: 100%; border: 0; padding: 0; font-size: .83rem; }
  .sh-nav a { flex-direction: column; gap: .22rem; font-size: .8rem; min-height: 52px; }
  .sh-nav svg { width: 1.05rem; height: 1.05rem; }
  .sh-nav a[aria-current="page"]::before { inset-inline: 25%; }
  .sh-heading { margin-bottom: .9rem; }
  .sh-heading h1 { font-size: 1.95rem; }
  .sh-main { padding: 1rem .75rem 2rem; }
  .sh-brief { padding: .9rem 1rem; }
  .sh-brief-grid { grid-template-columns: 1fr; gap: .45rem; }
  .sh-brief-grid > div, .sh-brief-grid > div:first-child { border: 0; padding: .15rem 0; }
  .sh-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
  .sh-metrics > article { padding: .75rem .65rem; }
  .sh-metrics small, .sh-metrics p { font-size: .85rem; }
  .sh-panel, .sh-card { padding: .85rem; }
  .sh-table { display: block; overflow: auto; overscroll-behavior-x: contain; }
  .sh-table th, .sh-table td { min-width: 6.2rem; }
  .sh-drawer { padding: 1rem; }
  .sh-toolbar > label { flex: 1 1 9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .shield *, .sh-drawer * { scroll-behavior: auto; }
}
.sh-brief h2{color:#fff;margin:0}.sh-brand img{object-fit:contain}.sh-environment{margin:2rem .9rem;color:#bdcbd4;font-size:.85rem}
.sh-kv{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem 1rem;margin:1rem 0}.sh-kv dd{font-weight:650;margin:0}.sh-columns .sh-panel + .sh-panel,.sh-main>.sh-panel + .sh-panel,.sh-drawer .sh-panel{margin-top:1rem}
.sh-ledger-row{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:.5rem}.sh-ledger-row input{min-width:0;width:100%;}.sh-error{border-left:3px solid #b02424;padding:.7rem;background:#fff0ee}
.sh-start{max-width:42rem;margin:12vh auto;padding:2rem;font-family:Inter,"Segoe UI",Arial,sans-serif}.sh-start h1{font-size:2rem}.sh-log small{overflow-wrap:anywhere}.sh-start a{margin:.5rem .5rem 0 0}.sh-role,.sh-entity{white-space:nowrap}.sh-top .sh-brand{flex-shrink:0}
@media(max-width:650px){.sh-ledger-row{grid-template-columns:1fr}.sh-environment{display:none}.sh-top .sh-entity{white-space:normal}.sh-top .sh-role{margin-left:0}}
