@font-face {
  font-family: Workspace;
  src: url("/fonts/average-sans-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face{font-family:ConRealSerif;src:url("/fonts/rufina-400-latin.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:ConRealSerif;src:url("/fonts/rufina-700-latin.woff2") format("woff2");font-weight:700;font-display:swap}
:root{--brand-ink:#181818;--brand-gold:#DBB363;--brand-cream:#D6C4A0;--brand-gold-text:#755100}
* {
  box-sizing: border-box;
}
/* The hidden attribute always hides, even where a class sets display (label.field, label.check). */
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: #F6F4EF;
  color: #242424;
  font:
    14px/1.55 Workspace,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: #755100;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
:focus-visible {
  outline: 3px solid #AA7A02;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,h2,h3{font-family:ConRealSerif,Georgia,serif}
h1 {
  font-size: 34px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 12px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
p {
  color: #5C5851;
}
small,
.muted {
  color: #5C5851;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 20px;
  top: 10px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.shell {
  display: grid;
  grid-template-columns: 246px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: white;
  border-right: 1px solid #DED9CF;
  padding: 28px 18px;
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  width: 176px;
  height: auto;
  margin: 0 12px 28px;
}
.brand-caption {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 800;
  margin: -10px 12px 28px;
  color: #666157;
}
.nav-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #6D675D;
  margin: 20px 14px 8px;
}
.nav {
  display: grid;
  gap: 4px;
}
.nav button {
  border: 0;
  background: none;
  color: #625D55;
  text-align: left;
  padding: 11px 14px;
  border-radius: 7px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}
.nav button:hover {
  background: #F3F0E9;
}
.nav button.active {
  background: #F1E6D0;
  color: #181818;
  box-shadow:inset 3px 0 #AA7A02;
}
.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sidebar-foot {
  margin-top: auto;
  padding: 24px 12px 0;
  border-top: 1px solid #E7E1D6;
}
.sidebar-foot p {
  font-size: 12px;
  margin: 5px 0;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F0EDE6;
  color: #181818;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.identity {
  display: flex;
  gap: 10px;
  align-items: center;
}
.identity strong {
  font-size: 12px;
}
.identity small {
  font-size: 10px;
  display: block;
}
.main-wrap {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  min-height: 79px;
  border-bottom: 1px solid #DED9CF;
  background: #ffffffed;
  padding: 16px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.crumb {
  font-size: 12px;
  color: #687387;
}
/* Module controls in the top bar (register({ header })), grouped with Refresh and Sign out. */
.topbar-slot {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.topbar select {
  width: 230px;
  background: #FAF9F6;
}
.scope {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scope label {
  font-size: 12px;
  color: #5C5851;
}
.content {
  max-width: 1540px;
  margin: auto;
  padding: 34px 38px 50px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: #9f1c27;
  margin-bottom: 10px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 25px;
}
.page-head p {
  margin: 0;
  max-width: 650px;
}
.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 16px;
  min-height: 42px;
  border: 1px solid #D8D1C4;
  background: white;
  border-radius: 6px;
  color: #292929;
  font-weight: 650;
  font-size: 12px;
}
.btn.primary {
  background: #DBB363;
  color:#181818;
  border-color: #DBB363;
}
.btn.primary:hover {
  background: #D6C4A0;
  border-color:#AA7A02;
  color:#181818;
}
.btn.small {
  min-height: 32px;
  padding: 5px 11px;
}
.btn.quiet {
  border: 0;
  background: none;
  color: #666157;
}
.hero {
  background: #181818;
  color: white;
  border-radius: 10px;
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.hero:after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 42px solid #ffffff06;
  border-radius: 50%;
  right: -50px;
  top: -95px;
  pointer-events: none;
}
.hero h2 {
  font-size: 23px;
  max-width: 560px;
  margin-bottom: 9px;
}
.hero p {
  color: #d3d9e8;
  max-width: 590px;
  margin: 0;
  font-size: 13px;
}
.hero .eyebrow {
  color: #DBB363;
}
.hero-side {
  border-left: 1px solid #ffffff29;
  padding-left: 28px;
  min-width: 210px;
  align-self: center;
}
.hero-side strong {
  display: block;
  font-size: 16px;
}
.hero-side small {
  color: #E8E1D5;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DBB363;
  margin-right: 6px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.metric {
  border: 1px solid #DED9CF;
  border-radius: 8px;
  padding: 20px;
  background: white;
}
.metric label {
  color: #666157;
  font-size: 12px;
  display: block;
}
.metric strong {
  font-size: 30px;
  font-weight: 650;
  display: block;
  line-height: 1.4;
}
.metric small {
  font-size: 11px;
}
.metric .icon {
  float: right;
  color: #9B9386;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 22px;
}
.panel {
  background: white;
  border: 1px solid #DED9CF;
  border-radius: 9px;
  margin-bottom: 22px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 23px;
  border-bottom: 1px solid #F0EDE6;
  gap: 12px;
}
.panel-head h2 {
  font-size: 16px;
  margin: 0;
}
.panel-body {
  padding: 23px;
}
.panel p:last-child {
  margin-bottom: 0;
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.location-card {
  background: white;
  border: 1px solid #DED9CF;
  border-radius: 8px;
  padding: 22px;
  text-align: left;
  color: inherit;
  width: 100%;
}
.location-card:hover {
  border-color: #B9AF9E;
}
.state-icon {
  font-size: 11px;
  letter-spacing: 1px;
  border-radius: 5px;
  width: 37px;
  height: 37px;
  background: #F3F0E9;
  display: grid;
  place-items: center;
  color: #181818;
  font-weight: 800;
  margin-bottom: 17px;
}
.location-card h3 {
  margin-bottom: 4px;
}
.location-card p {
  font-size: 12px;
  margin-bottom: 17px;
}
.location-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #F0EDE6;
  padding-top: 12px;
  font-size: 11px;
}
.badge {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  background: #F0EDE6;
  color: #625D55;
  font-size: 10px;
  font-weight: 750;
}
.badge.progress {
  background: #eaf0ff;
  color: #294c91;
}
.badge.review {
  background: #fff4d6;
  color: #795600;
}
.badge.done {
  background: #e7f5ee;
  color: #246547;
}
.badge.urgent {
  background: #fce8ea;
  color: #a41924;
}
.row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 22px;
  border-bottom: 1px solid #F0EDE6;
}
.row:last-child {
  border-bottom: 0;
}
.row-main {
  flex: 1;
  min-width: 0;
}
.row strong {
  font-size: 13px;
  display: block;
}
.row p,
.row small {
  font-size: 11px;
  margin: 3px 0 0;
}
.work-link {
  color: #25314c;
  text-decoration: none;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.work-link:hover {
  text-decoration: underline;
}
.step-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #d9dfeb;
  font-size: 11px;
  color: #6a768b;
}
.empty {
  text-align: center;
  padding: 40px 24px;
  color: #6c778a;
}
.empty .icon {
  width: 28px;
  height: 28px;
  color: #9da9bc;
  margin-bottom: 8px;
}
.empty strong {
  display: block;
  color: #3D3D3D;
  font-size: 14px;
  margin-bottom: 5px;
}
.empty p {
  font-size: 12px;
  max-width: 350px;
  margin: 0 auto 14px;
}
.activity {
  border-left: 2px solid #F0EDE6;
  padding-left: 16px;
  margin-left: 4px;
  margin-bottom: 20px;
  position: relative;
}
.activity:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #E8E1D5;
  border: 2px solid white;
  border-radius: 50%;
  left: -5px;
  top: 4px;
}
.activity strong {
  font-size: 12px;
}
.activity p {
  font-size: 11px;
  margin: 3px 0;
}
.footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #716B61;
  margin-top: 28px;
  gap: 20px;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filters input {
  flex: 1;
  min-width: 190px;
}
.filters select {
  width: auto;
  min-width: 160px;
}
input,
select,
textarea {
  border: 1px solid #CEC5B6;
  border-radius: 5px;
  background: white;
  color: #29344c;
  padding: 10px 12px;
  width: 100%;
  min-height: 43px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
label.field {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 16px;
}
label.field input,
label.field select,
label.field textarea {
  display: block;
  margin-top: 6px;
  font-weight: 400;
}
label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin: 12px 0;
}
label.check input {
  width: 18px;
  min-height: 18px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  padding: 13px 18px;
  background: #FAF9F6;
  color: #666157;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
}
td {
  padding: 16px 18px;
  border-top: 1px solid #F0EDE6;
  font-size: 12px;
  vertical-align: middle;
}
td small {
  display: block;
  font-size: 10px;
}
td:first-child {
  max-width: 360px;
}
.table-wrap {
  overflow: auto;
}
tr:hover td {
  background: #fcfcfe;
}
.notice {
  padding: 14px 18px;
  background: #fff8e7;
  border: 1px solid #eedda8;
  border-radius: 6px;
  font-size: 12px;
  color: #655324;
  margin-bottom: 20px;
}
.notice.neutral {
  background: #F3F0E9;
  border-color: #d8dfec;
  color: #56534D;
}
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  background: white;
  border: 1px solid #dfe4ee;
  border-radius: 9px;
  padding: 24px;
}
.plan.featured {
  border-top: 4px solid #DBB363;
  padding-top: 21px;
}
.plan .price {
  font-size: 30px;
  color: #181818;
  font-weight: 650;
  margin: 18px 0;
}
.plan .price small {
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #242424;
}
.plan ul {
  padding-left: 18px;
  color: #59667d;
  font-size: 12px;
  line-height: 2;
}
.plan p {
  font-size: 12px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.detail-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0;
}
.meta span {
  font-size: 12px;
}
.meta small {
  display: block;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.comment {
  padding: 15px 0;
  border-bottom: 1px solid #F0EDE6;
}
.comment:last-child {
  border: 0;
}
.comment p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  margin: 6px 0;
}
.comment small {
  font-size: 10px;
}
dialog {
  border: 0;
  border-radius: 10px;
  padding: 0;
  max-width: 620px;
  width: calc(100% - 32px);
  max-height: 90vh;
  box-shadow: 0 30px 100px #101b4640;
}
dialog::backdrop {
  background: #121c386e;
}
dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  border-bottom: 1px solid #e3e7ee;
}
dialog h2 {
  margin: 0;
}
dialog .dialog-body {
  padding: 24px 25px;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 20px;
}
.form-error {
  color: #a31923;
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-grid .field {
  margin-bottom: 0;
}
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #181818;
  color: white;
  padding: 12px 20px;
  border-radius: 7px;
  box-shadow: 0 8px 24px #101b4620;
  z-index: 30;
  display: none;
  max-width: 90vw;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #181818;
  padding: 70px 10%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.login-story h1 {
  font-size: 49px;
  letter-spacing: -1.5px;
  line-height: 1.16;
  max-width: 470px;
}
.login-story p {
  color: #E8E1D5;
  max-width: 420px;
  font-size: 16px;
}
.login-story .eyebrow {
  color: #DBB363;
  margin-bottom: 25px;
}
.login-story .line {
  width: 50px;
  height: 4px;
  background: #DBB363;
  margin-bottom: 30px;
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: white;
}
.login-box {
  width: 100%;
  max-width: 370px;
}
.login-box img {
  width: 235px;
  margin-bottom: 42px;
}
.login-box h2 {
  font-size: 25px;
}
.login-box .btn {
  width: 100%;
  margin-top: 6px;
}
.login-box .support {
  border-top: 1px solid #E7E1D6;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 11px;
}
.login-box p {
  font-size: 13px;
}
.login-box .link-btn {
  display: block;
}
.activation {
  padding: 14px;
  background: #f1f4f9;
  border: 1px solid #CEC5B6;
  word-break: break-all;
  font-size: 12px;
}
.mobile-brand {
  display: none;
}
.overdue {
  color: #755100;
}
.bar {
  height: 6px;
  background: #E7E1D6;
  border-radius: 3px;
  margin: 14px 0;
  overflow: hidden;
}
.bar-fill {
  height: 6px;
  background: #DBB363;
  width: 0;
}
.summary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.summary-list strong {
  font-size: 23px;
  display: block;
}
.summary-list label {
  font-size: 11px;
  color: #666157;
}
.print-only {
  display: none;
}
@media (min-width: 1700px) {
  .content {
    padding-top: 44px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 210px 1fr;
  }
  .sidebar {
    width: 210px;
    padding: 24px 13px;
  }
  .brand {
    width: 160px;
  }
  .content {
    padding: 26px 24px;
  }
  .topbar {
    padding: 16px 24px;
  }
  .grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .hero-side {
    min-width: 160px;
  }
  .three-grid {
    gap: 12px;
  }
  .plan {
    padding: 18px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 16px;
  }
  .location-grid {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #dde3ec;
    display: block;
  }
  .brand {
    width: 135px;
    margin: 0 0 10px;
  }
  .brand-caption,
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .nav {
    display: flex;
    overflow-x: auto;
    gap: 4px;
  }
  .nav button {
    white-space: nowrap;
    padding: 9px 11px;
    font-size: 11px;
    flex-shrink: 0;
  }
  .nav .icon {
    width: 16px;
    height: 16px;
  }
  .topbar {
    padding: 13px 18px;
    min-height: 65px;
  }
  .topbar .crumb {
    display: none;
  }
  .scope {
    flex: 1;
  }
  .scope select {
    flex: 1;
    width: auto;
  }
  .content {
    padding: 24px 18px;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  h1 {
    font-size: 28px;
  }
  .hero {
    padding: 23px;
    display: block;
  }
  .hero-side {
    border: 0;
    border-top: 1px solid #ffffff29;
    padding: 18px 0 0;
    margin-top: 20px;
  }
  .hero h2 {
    font-size: 21px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .metric strong {
    font-size: 27px;
  }
  .location-grid,
  .three-grid {
    grid-template-columns: 1fr;
  }
  .location-card {
    padding: 18px;
  }
  .state-icon {
    float: left;
    margin: 0 14px 0 0;
  }
  .location-stats {
    clear: both;
  }
  .location-card p {
    margin-bottom: 12px;
  }
  .panel-head,
  .panel-body {
    padding: 18px;
  }
  .filters select {
    flex: 1;
    min-width: 120px;
  }
  .footer {
    flex-direction: column;
    gap: 7px;
  }
  .login-layout {
    display: block;
  }
  .login-story {
    padding: 35px 28px;
  }
  .login-story h1 {
    font-size: 33px;
  }
  .login-story p {
    font-size: 13px;
  }
  .login-story .eyebrow {
    margin-bottom: 14px;
  }
  .login-story .line {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .login-box img {
    width: 180px;
    margin-bottom: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-side strong {
    font-size: 14px;
  }
  .btn {
    min-height: 44px;
  }
  .detail-grid {
    display: block;
  }
}
@media print {
  body {
    background: white;
    color: black;
    font-size: 11px;
  }
  .sidebar,
  .topbar,
  .actions,
  .filters,
  .btn,
  .no-print,
  #toast,
  dialog {
    display: none !important;
  }
  .shell {
    display: block;
  }
  .main-wrap {
    display: block;
  }
  .content {
    padding: 0;
  }
  .panel {
    break-inside: avoid;
    border-color: #bbb;
  }
  .hero {
    background: white;
    color: black;
    border: 1px solid #bbb;
  }
  .hero p,
  .hero small {
    color: black;
  }
  .hero .eyebrow {
    color: #333;
  }
  .hero:after {
    display: none;
  }
  .print-only {
    display: block;
  }
  .page-head {
    margin-top: 15px;
  }
  .grid,
  .detail-grid {
    display: block;
  }
  th,
  td {
    padding: 8px;
  }
  .footer {
    display: block;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 12px;
  }
  h1 {
    font-size: 24px;
  }
}

.login-story small {
  color: #E8E1D5;
}
/* Decision and commercial visibility */
.sidebar {
  overflow-y: auto;
}
.nav button {
  padding-block: 9px;
}
.decision-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid #DED9CF;
  border-left: 4px solid #DBB363;
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 24px;
}
.decision-strip strong {
  display: block;
  font-size: 18px;
  margin: 6px 0;
  color: #181818;
}
.decision-strip p {
  margin: 0;
  font-size: 12px;
}
.decision-strip .actions {
  flex-shrink: 0;
}
.financial-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.financial-metrics .metric strong {
  font-size: 30px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #DED9CF;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 24px;
  overflow: hidden;
}
.workflow-rail span {
  padding: 18px 16px;
  border-right: 1px solid #DED9CF;
  font-size: 12px;
  color: #181818;
  font-weight: 600;
}
.workflow-rail span:last-child {
  border: 0;
}
.approval-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.approval-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
.approval-card .panel-head {
  align-items: flex-start;
}
.approval-card h2 {
  margin: 5px 0 0;
}
.approval-card .panel-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.approval-card .actions {
  margin-top: auto;
}
.quote-amount {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #181818;
  font-variant-numeric: tabular-nums;
}
.quote-amount small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.4px;
  margin-top: 4px;
}
.decision-note {
  background: #F6F4EF;
  border-radius: 7px;
  padding: 16px;
  font-size: 12px;
}
.decision-note p {
  margin: 8px 0 0;
}
.location-card {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.location-stats {
  margin-top: auto;
  width: 100%;
}
.plan {
  display: flex;
  flex-direction: column;
}
.plan > p {
  margin-top: auto;
}
@media (max-width: 1100px) {
  .decision-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .workflow-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .financial-metrics,
  .approval-grid {
    grid-template-columns: 1fr;
  }
  .decision-strip {
    padding: 18px;
  }
  .workflow-rail {
    grid-template-columns: 1fr;
  }
  .workflow-rail span {
    border-right: 0;
    border-bottom: 1px solid #DED9CF;
  }
  .sidebar {
    overflow-y: visible;
  }
}
@media print {
  .decision-strip .actions {
    display: none;
  }
  .approval-grid {
    display: block;
  }
  .approval-card {
    break-inside: avoid;
    margin-bottom: 16px;
  }
}
@media (max-width: 700px) {
  .topbar {
    gap: 6px;
    padding: 12px;
  }
  .scope {
    min-width: 0;
    flex: 1;
    gap: 6px;
  }
  .scope label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .scope select {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .topbar > .btn {
    flex: 0 0 38px;
    padding: 8px;
    min-width: 38px;
  }
}

/* Training, matrix and team (October 16, 2026 release) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.link-btn {
  background: none;
  border: 0;
  padding: 8px 0;
  margin-top: 6px;
  color: #755100;
  text-decoration: underline;
  font-size: 13px;
}
.form-ok {
  color: #246547;
  font-weight: 600;
}
.badge.st-current,
.badge.st-completed,
.cell.st-current,
.dot.st-current {
  background: #e7f5ee;
  color: #1f5c40;
}
.badge.st-due_soon,
.cell.st-due_soon,
.dot.st-due_soon {
  background: #fff4d6;
  color: #6b4c00;
}
.badge.st-expired,
.cell.st-expired,
.dot.st-expired {
  background: #fce8ea;
  color: #8f1520;
}
.badge.st-overdue,
.cell.st-overdue,
.dot.st-overdue {
  background: #DBB363;
  color:#181818;
}
.badge.st-assigned,
.badge.st-pending,
.cell.st-assigned,
.dot.st-assigned {
  background: #eaf0ff;
  color: #294c91;
}
.badge.st-not_assigned,
.badge.st-cancelled,
.cell.st-not_assigned,
.dot.st-not_assigned {
  background: #F6F4EF;
  color: #666157;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  border: 1px solid #D8D1C4;
  vertical-align: -1px;
}
.row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.row-actions small {
  color: #666157;
  font-size: 11px;
}
details.catalog {
  border-top: 1px solid #F0EDE6;
}
details.catalog:first-child {
  border-top: 0;
}
details.catalog summary {
  cursor: pointer;
  padding: 14px 4px;
  display: flex;
  gap: 10px;
  align-items: center;
}
details.catalog .row {
  padding: 12px 6px;
}
.matrix-summary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.matrix-summary .metric {
  padding: 14px 16px;
}
.matrix-summary .metric strong {
  font-size: 24px;
}
.matrix-wrap {
  max-height: 70vh;
}
table.matrix th,
table.matrix td {
  padding: 6px;
  border-top: 1px solid #F0EDE6;
}
table.matrix thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  vertical-align: bottom;
  min-width: 96px;
  max-width: 130px;
  font-size: 10px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}
table.matrix thead th span {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
table.matrix .sticky {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  min-width: 170px;
  text-align: left;
  font-size: 12px;
  font-weight: 400;
}
table.matrix thead .sticky {
  z-index: 3;
  background: #FAF9F6;
}
table.matrix .sticky small {
  display: block;
  color: #666157;
  font-size: 10px;
}
.cell {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(28, 36, 75, 0.08);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 6px;
}
.cell .icon {
  width: 13px;
  height: 13px;
}
fieldset.checks {
  border: 1px solid #DED9CF;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 0 0 14px;
}
fieldset.checks legend {
  font-weight: 700;
  font-size: 13px;
  padding: 0 4px;
}
.checklist {
  max-height: 210px;
  overflow: auto;
  border-top: 1px solid #F0EDE6;
  margin-top: 8px;
}
.checklist label.check {
  margin: 8px 0;
}
.checklist label.check small {
  color: #666157;
  margin-left: auto;
  font-size: 11px;
}
.check-group {
  margin: 12px 0 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #666157;
}
.list-search {
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #D8D1C4;
  border-radius: 5px;
}
td.manage {
  white-space: nowrap;
}
td.manage .btn,
td.manage a {
  margin: 2px 4px 2px 0;
}
@media (max-width: 1100px) {
  .matrix-summary {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .matrix-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .row-actions {
    align-items: flex-start;
  }
  td.manage {
    white-space: normal;
  }
  table.matrix .sticky {
    min-width: 120px;
  }
}
.panel-head select {
  width: auto;
  min-width: 150px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #D8D1C4;
  border-radius: 5px;
  background: #fff;
}

/* Sites, projects and place filters (October 16, 2026) */
.scope-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -6px 0 22px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #DED9CF;
  border-radius: 8px;
}
.scope-bar select {
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid #D8D1C4;
  border-radius: 5px;
  background: #fff;
  max-width: 260px;
  flex: 1 1 150px;
}
.scope-bar label.check {
  margin: 0;
  white-space: nowrap;
}
.scope-bar > .icon {
  color: #DBB363;
}
.site-card .panel-head small {
  display: block;
  color: #666157;
  font-size: 12px;
  margin-top: 2px;
}
.site-card .panel-head h2 {
  margin-bottom: 0;
}
.site-card .row-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.import-table {
  max-height: 340px;
  border: 1px solid #DED9CF;
  border-radius: 6px;
  margin: 14px 0;
}
dialog .summary-list {
  margin: 14px 0;
}
@media (max-width: 700px) {
  .scope-bar select {
    max-width: none;
    flex: 1 1 100%;
  }
  .site-card .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .site-card .row-actions {
    justify-content: flex-start;
  }
}
.filters input[type="checkbox"] {
  flex: 0 0 auto;
  min-width: 0;
  width: 18px;
}
.filters label.check {
  margin: 0;
}

/* Onsite training (October 16, 2026) */
ul.rules {
  margin: 0;
  padding-left: 18px;
}
ul.rules li {
  margin: 2px 0;
}
details.about summary {
  cursor: pointer;
  color: #755100;
  font-size: 12px;
  margin-top: 4px;
}
details.about p {
  font-size: 12px;
  color: #56534D;
  margin: 6px 0 0;
  max-width: 720px;
}
.course-row {
  padding: 12px 0;
}
.checklist.tall {
  max-height: 320px;
}
.course-pick {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  border-bottom: 1px solid #f0f2f6;
}
.course-pick label.check {
  margin: 8px 0;
  flex: 1;
}
.course-pick .headcount {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #666157;
}
.course-pick .headcount input {
  width: 74px;
  min-height: 34px;
  padding: 4px 8px;
  border: 1px solid #D8D1C4;
  border-radius: 5px;
}
.course-pick .headcount input:disabled {
  background: #F6F4EF;
}
.estimate {
  background: #FAF9F6;
  border: 1px solid #DED9CF;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 14px 0;
}
.estimate h3 {
  margin-bottom: 8px;
}
ul.arith {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}
ul.arith li {
  margin: 4px 0;
}
ul.arith li.sub {
  list-style: none;
  margin-left: 8px;
  color: #56534D;
}
.estimate-total {
  font-size: 22px;
  font-weight: 750;
  color: #181818;
  margin: 10px 0 0;
}
@media (max-width: 700px) {
  .course-pick {
    flex-wrap: wrap;
  }
}
.included-rule {
  margin-top: 20px;
}
/* Work item created by a feature module: "From: <source>" */
.source-link {
  margin: 14px 0 0;
  font-size: 13px;
  color: #625D55;
}

/* Official Con-Real artwork retains its proportions on a charcoal backplate. */
img[src="/brand/conreal.svg"]{width:71px;height:60px;object-fit:contain;background:#181818;padding:6px;border-radius:8px;box-sizing:content-box;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.login-box img[src="/brand/conreal.svg"]{width:100px;height:85px;padding:12px;margin-bottom:24px}
.brand-caption{font-family:ConRealSerif,Georgia,serif;text-transform:none;letter-spacing:0;font-size:12px;color:#56534D;line-height:1.4}
.login-form{background:#F6F4EF}.login-story h1{font-weight:400}.login-story .eyebrow{color:#DBB363}
.eyebrow,.link-btn{color:#755100}.hero .eyebrow{color:#DBB363}
.workforce-wallet img[src="/brand/conreal.svg"]{width:38px;height:32px;padding:3px;border-radius:4px}
@media print{img.print-only[src="/brand/conreal.svg"]{width:71px;height:60px}}
