@font-face {
  font-family: Outfit;
  src: url('/assets/fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url('/assets/fonts/Outfit-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url('/assets/fonts/Outfit-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url('/assets/fonts/Outfit-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
:root {
  --ink: #17251e;
  --forest: #285c45;
  --lime: #dff58e;
  --cream: #f7f5ed;
  --paper: #fffdf7;
  --line: #dedfd3;
  --muted: #657168;
  --soft: #eef0e5;
  --red: #a44435;
  --amber: #8e6429;
  --sidebar-w: 252px;
  --primary-blue: var(--forest);
  --deep-sea-blue: #204c38;
  --surface-dark: var(--cream);
  --surface-darker: var(--cream);
  --surface-card: var(--paper);
  --text-light: var(--ink);
  --text-muted: var(--muted);
  --glass-bg: var(--paper);
  --glass-border: var(--line);
  --error: var(--red);
  --success: var(--forest);
  --warning: var(--amber);
  font-family: Outfit,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--cream);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .45;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}
button {
  color: inherit;
}
svg {
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.15;
}
h1 {
  letter-spacing: -1.8px;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none!important;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--lime);
  border-radius: 10px;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 16px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.1px;
  color: var(--forest);
  text-decoration: none;
}
.brand-eye {
  width: 33.6px;
  height: 21.84px;
  overflow: visible;
  flex-shrink: 0;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--forest);
  border-radius: 50%;
  flex-shrink: 0;
}
.icon-button {
  border: 1px solid var(--line);
  background: var(--paper);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
.icon-button:hover {
  background: var(--soft);
}
.login-wrap {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 24px;
  gap: 24px;
}
.login-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 700px;
  border-radius: 24px;
  padding: 44px 48px;
  background: var(--forest);
  overflow: hidden;
  color: var(--cream);
}
.login-story:after {
  content: '';
  width: 430px;
  height: 430px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  position: absolute;
  bottom: -240px;
  right: -190px;
  box-shadow: 0 0 0 80px #ffffff06,0 0 0 160px #ffffff04;
  pointer-events: none;
}
.login-story .wordmark,
.login-story .eyebrow {
  color: var(--lime);
}
.login-story h1 {
  font-size: clamp(42px,5vw,78px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -3px;
  margin-bottom: 30px;
}
.login-intro {
  max-width: 340px;
  font-size: 16px;
  line-height: 1.7;
  color: #f7f5edba;
}
.login-footnote {
  font-size: 11px;
  color: #f7f5ed8c;
  position: relative;
  z-index: 1;
}
.login-card {
  width: min(390px,100%);
  margin: auto;
  padding: 44px 14px;
  text-align: left;
}
.workspace-mark {
  display: flex;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  color: var(--forest);
}
.workspace-mark .brand-eye {
  width: 27px;
  height: 17.55px;
}
.login-card h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.login-card > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.login-card label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 18px 0 7px;
}
.login-input {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 13px;
  color: var(--ink);
}
.login-input::placeholder {
  color: #8d948c;
}
.login-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border: 0;
  background: var(--forest);
  color: var(--cream);
  padding: 15px 18px;
  border-radius: 11px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 500;
}
.login-btn:disabled {
  opacity: .55;
}
.login-error {
  font-size: 12px;
  color: var(--red);
  line-height: 1.6;
  margin-top: 17px;
}
.login-card .login-security {
  font-size: 11px!important;
  color: var(--muted);
  padding-top: 20px;
  margin-bottom: 0!important;
}
.app {
  display: none;
  min-height: 100vh;
}
.app.visible {
  display: block;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: #efefe4;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 50;
}
.sidebar-logo {
  padding: 32px 25px 17px;
  position: relative;
}
.sidebar-logo small {
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
  position: absolute;
  left: 68px;
  top: 62px;
  font-weight: 500;
  color: var(--muted);
}
.workspace-tag {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  padding: 18px 27px 13px;
}
.sidebar-nav {
  overflow: auto;
  padding: 0 13px 16px;
  scrollbar-width: thin;
  flex: 1;
}
.sidebar-section {
  padding: 22px 13px 8px;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  color: #7e887d;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  background: none;
  border: 0;
  padding: 9px 12px;
  border-radius: 8px;
  text-align: left;
  color: #536155;
  font-size: 12px;
  margin-bottom: 2px;
  line-height: 1.4;
  min-height: 37px;
}
.nav-item.active {
  background: var(--forest);
  color: var(--cream);
}
.nav-item:not(.active):hover {
  background: #e5e8db;
  color: var(--forest);
}
.nav-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
}
.nav-item small {
  font-size: 8px;
  letter-spacing: .02em;
  margin-left: auto;
  border: 1px solid #a9b29f75;
  padding: 2px 4px;
  border-radius: 4px;
}
.nav-badge {
  margin-left: auto;
  background: #dbe6cf;
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--forest);
  font-size: 9px;
}
.sidebar-footer {
  border-top: 1px solid var(--line);
  padding: 16px;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sidebar-avatar {
  background: #d9e2cb;
  color: var(--forest);
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
}
.sidebar-user-info {
  flex: 1;
  min-width: 0;
}
.sidebar-user-name {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 135px;
}
.sidebar-user-role {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.sidebar-footer .icon-button {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 0;
}
.main {
  margin-left: var(--sidebar-w);
}
.console-topbar {
  height: 78px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  white-space: nowrap;
}
.breadcrumb span {
  color: #899284;
}
.breadcrumb strong {
  font-weight: 500;
}
.global-search-trigger {
  border: 1px solid var(--line);
  background: #fffdf789;
  padding: 9px 11px;
  border-radius: 8px;
  color: #8a9288;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  width: 280px;
  margin-left: auto;
  text-align: left;
}
.global-search-trigger svg {
  width: 14px;
  height: 14px;
}
.global-search-trigger kbd {
  margin-left: auto;
  font: 9px Outfit,sans-serif;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 3px;
}
.topbar-scope {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.mobile-nav-toggle {
  display: none;
}
.console-workspace {
  padding: 39px 38px 70px;
  max-width: 1700px;
  margin: auto;
}
.console-modern > .page {
  display: none!important;
}
.page {
  display: none;
  padding: 35px 38px;
}
.page.visible {
  display: block;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-title {
  font-size: 35px;
  letter-spacing: -1px;
}
.page-subtitle {
  margin-top: 9px;
  font-size: 12px;
}
.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.workspace-heading h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 500;
}
.workspace-heading p {
  font-size: 12px;
  margin-top: 11px;
  max-width: 590px;
  line-height: 1.65;
}
.heading-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.button svg {
  width: 14px;
  height: 14px;
}
.button.primary {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
.button.danger {
  background: #a4443510;
  color: var(--red);
  border-color: #a4443540;
}
.button:hover {
  border-color: var(--forest);
}
.button.small {
  padding: 7px 10px;
  font-size: 10px;
}
.snapshot {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.snapshot time {
  font-variant-numeric: tabular-nums;
}
.snapshot-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  min-height: 20px;
}
.scope-chip {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 9px;
  font-size: 9px;
  color: var(--muted);
  gap: 5px;
  align-items: center;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
  margin-bottom: 26px;
}
.metric {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  padding: 21px 22px;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.metric:first-child {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.metric-label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.metric:first-child .metric-label,
.metric:first-child .metric-note {
  color: #f7f5edaf;
}
.metric-value {
  font-size: 43px;
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-weight: 500;
  margin: 12px 0 10px;
  font-variant-numeric: tabular-nums;
}
.metric-note {
  font-size: 9px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: auto;
}
.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  margin-bottom: 26px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
}
.panel-heading h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.3px;
}
.panel-heading p {
  font-size: 10px;
  margin-top: 5px;
}
.panel-content {
  padding: 22px 23px;
}
.queue-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.queue-row:last-child {
  border: 0;
}
.queue-symbol {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--forest);
}
.queue-symbol svg {
  width: 16px;
  height: 16px;
}
.queue-copy {
  flex: 1;
}
.queue-copy strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.queue-copy span {
  font-size: 9px;
  color: var(--muted);
}
.queue-count {
  font-size: 19px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.area-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  background: #fffdf780;
  min-height: 98px;
}
.area-card:hover {
  background: var(--paper);
  border-color: #91a48b;
}
.area-card h3 {
  font-size: 12px;
  margin: 2px 0 7px;
  font-weight: 500;
}
.area-card p {
  font-size: 10px;
  line-height: 1.5;
}
.area-card > span:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
.area-card .nav-icon {
  margin-top: 3px;
  color: var(--forest);
}
.section-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.3px;
  margin: 32px 0 15px;
}
.notice {
  padding: 15px 18px;
  background: #eceee1;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}
.notice strong {
  color: var(--ink);
  font-weight: 500;
}
.notice.warning {
  background: #f8eedb;
  color: #775b32;
  border-color: #e7d7b6;
}
.notice.danger {
  background: #f8e9e4;
  color: var(--red);
  border-color: #e5c4b9;
}
.notice a {
  font-weight: 500;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.filter-input {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 350px;
}
.filter-input svg {
  position: absolute;
  left: 11px;
  top: 11px;
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.filter-input input {
  padding-left: 32px!important;
}
.filter-bar input,
.filter-bar select,
.search-dialog input,
.search-dialog select {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 11px;
  color: var(--ink);
  min-height: 35px;
  max-width: 100%;
}
.filter-input input {
  width: 100%;
}
.filter-bar input[type=date] {
  max-width: 150px;
}
.filter-spacer {
  flex: 1;
}
.filter-summary {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.filter-chip {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border-radius: 5px;
  background: var(--soft);
  padding: 3px 7px;
  font-size: 9px;
}
.column-picker {
  position: relative;
  margin-left: auto;
}
.column-picker summary {
  list-style: none;
  cursor: pointer;
}
.column-picker summary::-webkit-details-marker {
  display: none;
}
.column-menu {
  position: absolute;
  right: 0;
  top: 42px;
  z-index: 25;
  width: 210px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 8px 30px #17251e10;
}
.column-menu label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  padding: 6px;
}
.column-menu input {
  min-height: 0;
  width: 13px;
  height: 13px;
  accent-color: var(--forest);
}
.table-scroll {
  position: relative;
  overflow: auto;
  max-width: 100%;
}
.console-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 11px;
  text-align: left;
}
.console-table th {
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
  background: #f8f8ef;
  border-bottom: 1px solid var(--line);
  padding: 12px 18px;
  text-align: left;
  letter-spacing: .02em;
}
.console-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #e8e9df;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console-table tbody tr:hover {
  background: #f0f2e780;
}
.console-table tr:last-child td {
  border-bottom: 0;
}
.entity-button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  font-weight: 500;
  color: var(--forest);
  max-width: 250px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.entity-button:hover {
  text-decoration: underline;
}
.cell-secondary {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.mono {
  font-family: ui-monospace,SFMono-Regular,monospace;
  font-size: .91em;
  letter-spacing: -.02em;
}
.state-chip {
  font-size: 9px;
  padding: 4px 7px;
  border: 1px solid #cfdac4;
  border-radius: 5px;
  background: #ecf0e2;
  color: var(--forest);
  display: inline-flex;
  gap: 5px;
  align-items: center;
  line-height: 1.2;
}
.state-chip[data-tone=warning] {
  background: #faf0d9;
  border-color: #e7d5ac;
  color: var(--amber);
}
.state-chip[data-tone=danger] {
  background: #f6e8e3;
  border-color: #e6c7be;
  color: var(--red);
}
.state-chip[data-tone=neutral] {
  background: #f0f0e9;
  border-color: var(--line);
  color: var(--muted);
}
.table-footer {
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
}
.pager {
  display: flex;
  align-items: center;
  gap: 7px;
}
.empty-state-new {
  padding: 65px 30px;
  text-align: center;
}
.empty-state-new .empty-eye {
  margin: 0 auto 22px;
  color: #a3af98;
  display: flex;
  justify-content: center;
}
.empty-state-new h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.5px;
  margin-bottom: 11px;
}
.empty-state-new p {
  font-size: 11px;
  line-height: 1.7;
  max-width: 390px;
  margin: 0 auto 20px;
}
.skeleton {
  background: linear-gradient(90deg,#e9ecdf,#f5f5ec,#e9ecdf);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease infinite;
  border-radius: 5px;
  height: 12px;
  width: 70%;
  margin: 7px 0;
}
.skeleton-row {
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 25px;
}
.skeleton-card .skeleton {
  width: 95%;
  height: 40px;
}
.skeleton-card {
  min-height: 145px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 14px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.detail-backdrop,
.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #17251e55;
  display: flex;
  justify-content: flex-end;
}
.detail-panel {
  background: var(--cream);
  width: min(820px,94vw);
  height: 100%;
  overflow: auto;
  box-shadow: -10px 0 50px #17251e15;
  padding-bottom: 35px;
}
.detail-header {
  padding: 28px 30px 23px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 2;
}
.detail-title-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}
.detail-header h2 {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.detail-kicker {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.detail-subline {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 13px;
  font-size: 10px;
  color: var(--muted);
}
.detail-tabs {
  display: flex;
  gap: 6px;
  padding-top: 22px;
  overflow: auto;
}
.detail-tab {
  padding: 8px 12px;
  border: 1px solid transparent;
  background: none;
  white-space: nowrap;
  border-radius: 7px;
  font-size: 10px;
  color: var(--muted);
}
.detail-tab.active {
  border-color: #bfcfb4;
  background: var(--soft);
  color: var(--forest);
}
.detail-body {
  padding: 25px 30px;
}
.detail-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
}
.detail-card h3 {
  font-size: 12px;
  font-weight: 500;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 7px 20px 18px;
  column-gap: 25px;
}
.detail-field {
  padding-top: 16px;
  min-width: 0;
}
.detail-field dt {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail-field dd {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.detail-field.wide {
  grid-column: 1/-1;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 17px 20px;
}
.detail-reason {
  padding: 0 20px 20px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.timeline {
  padding: 18px 20px;
}
.timeline-item {
  padding: 0 0 21px 20px;
  border-left: 1px solid var(--line);
  position: relative;
}
.timeline-item:before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--forest);
  border: 3px solid var(--paper);
  border-radius: 50%;
  position: absolute;
  left: -6px;
  top: 2px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item strong {
  font-size: 11px;
  font-weight: 500;
}
.timeline-item p,
.timeline-item time {
  font-size: 10px;
  margin-top: 6px;
  color: var(--muted);
  display: block;
  line-height: 1.65;
}
.permission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 18px 20px;
}
.permission-item {
  background: var(--soft);
  border-radius: 6px;
  font-size: 10px;
  padding: 9px;
  display: flex;
  gap: 8px;
}
.permission-item[data-allowed=false] {
  background: #f3f2eb;
  color: var(--muted);
}
.detail-section-note {
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.search-backdrop {
  justify-content: center;
  align-items: flex-start;
  padding: 13vh 20px;
}
.search-dialog {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  width: min(660px,100%);
  box-shadow: 0 20px 60px #17251e25;
  padding: 25px;
}
.search-dialog h2 {
  font-size: 24px;
  letter-spacing: -.7px;
  margin-bottom: 9px;
}
.search-dialog p {
  font-size: 11px;
  line-height: 1.6;
}
.search-row {
  display: flex;
  gap: 8px;
  margin: 22px 0 14px;
}
.search-row input {
  flex: 1;
  min-width: 0;
}
.search-results {
  max-height: 45vh;
  overflow: auto;
}
.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
}
.search-result small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.search-helper {
  font-size: 10px!important;
  color: var(--muted);
  margin-top: 16px;
}
.save-filter {
  margin-left: auto;
}
.filter-saved {
  display: flex;
  gap: 6px;
  padding: 0 0 17px;
  flex-wrap: wrap;
}
.filter-saved button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 9px;
}
.deferred-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.deferred-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: var(--paper);
}
.deferred-card h2 {
  font-size: 18px;
  letter-spacing: -.4px;
  margin-bottom: 12px;
}
.deferred-card p {
  font-size: 11px;
  line-height: 1.8;
}
.deferred-card ul {
  font-size: 11px;
  color: var(--muted);
  padding-left: 17px;
  line-height: 2;
}
.service-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.service-row:last-child {
  border: 0;
}
.service-row span {
  color: var(--muted);
}
.console-footer-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: #8b9487;
  margin-top: 35px;
}
.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}
.module-tabs button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 10px;
}
.module-tabs button.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
/* Existing audited workflows retain their DOM and handlers inside the new shell. */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #17251e66;
  padding: 30px;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.modal-overlay.visible {
  display: flex;
}
.modal {
  width: min(590px,100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}
.modal h2 {
  font-size: 25px;
  letter-spacing: -.7px;
  margin-bottom: 25px;
}
.modal-field {
  margin-bottom: 17px;
}
.modal-field .label {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}
.modal-field .value {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.modal-field input,
.modal-field textarea,
.modal-field select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
}
.modal-field textarea {
  min-height: 95px;
  resize: vertical;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 25px;
}
.modal-actions button,
.purge-btn,
.btn-cancel,
.btn-save,
.btn-danger {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--soft);
  font-size: 12px;
  color: var(--ink);
}
.modal-actions .btn-save {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.modal-actions .btn-danger {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}
.confirm-warning {
  padding: 15px;
  background: #f8eedb;
  border: 1px solid #e7d5ac;
  color: var(--amber);
  font-size: 11px;
  border-radius: 9px;
  line-height: 1.7;
}
.vp-heading h1 {
  font-weight: 500!important;
  letter-spacing: -1.5px!important;
}
.vp-card {
  background: var(--paper)!important;
  border-color: var(--line)!important;
}
.vp-notice {
  font-size: 11px!important;
}
.vp-dialog {
  background: var(--cream)!important;
  color: var(--ink)!important;
}
.vp-overlay {
  z-index: 90!important;
}
.vp-place-icon {
  background: var(--soft)!important;
}
.vp-list-item {
  background: var(--paper)!important;
}
.vp-fields dt {
  color: var(--muted)!important;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
  margin-bottom: 25px;
}
.stat-card {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-card .label {
  font-size: 11px;
  color: var(--muted);
}
.stat-card .value {
  font-size: 28px;
  margin-top: 10px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.filters {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.filter-btn,
.action-btn {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  padding: 7px 10px;
  font-size: 11px;
}
.filter-btn.active {
  background: var(--forest);
  color: var(--cream);
}
.badge {
  font-size: 10px;
  background: var(--soft);
  border-radius: 5px;
  padding: 4px 7px;
}
.empty-state {
  padding: 25px;
  color: var(--muted);
  font-size: 12px;
}
.search-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 11px;
  font-size: 12px;
}
.pagination,
.user-paging {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  font-size: 11px;
}
.user-paging button,
.pagination button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  padding: 7px 12px;
}
.user-cell {
  display: flex;
  gap: 9px;
  align-items: center;
}
.user-avatar {
  width: 28px;
  height: 28px;
  background: var(--soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.user-username,
.time-ago {
  font-size: 10px;
  color: var(--muted);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.overview-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.overview-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.overview-card p {
  font-size: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.snapshot svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.panel-heading > svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}
.search-result > svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.advanced-filters {
  width: 100%;
}
.advanced-filters summary {
  list-style: none;
  width: fit-content;
}
.advanced-filter-fields {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
}
.advanced-filter-fields input {
  flex: 1;
  min-width: 210px;
  max-width: 320px;
}
.all-metrics {
  margin: 25px 0 30px;
}
.all-metrics > summary {
  list-style: none;
  cursor: pointer;
  width: fit-content;
}
.all-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 18px;
}
.all-metrics .service-row {
  font-size: 10px;
  padding: 11px 0;
}
.all-metrics .service-row strong {
  font-weight: 500;
  white-space: nowrap;
}
.console-workspace:focus {
  outline: none;
}
#verifiedPlacesAdmin,
.vp-overlay {
  --vp-line: var(--line);
}
.vp-eyebrow {
  color: var(--forest);
}
.vp-pill {
  color: var(--forest);
  background: #eaf0dd;
}
.vp-pill[data-state=rejected],
.vp-pill[data-state=revoked] {
  color: var(--red);
  background: #f5e7e1;
}
.vp-pill[data-state=needs_info],
.vp-pill[data-state=suspended] {
  color: var(--amber);
  background: #f8eed8;
}
.vp-button-danger {
  color: var(--red);
  background: #f5e7e180;
  border-color: #e5c4b9;
}
.vp-overlay .vp-card {
  padding: 20px;
}
.vp-button:focus-visible,
.vp-tab:focus-visible {
  outline-color: var(--forest);
}
@media (min-width:1700px) {
  .console-workspace {
    padding-top: 46px;
  }
  .metric {
    min-height: 165px;
  }
  .metric-value {
    font-size: 49px;
  }
}
@media (max-width:1180px) {
  :root {
    --sidebar-w: 224px;
  }
  .console-topbar {
    padding: 0 25px;
  }
  .console-workspace {
    padding: 32px 25px 55px;
  }
  .topbar-scope {
    display: none;
  }
  .global-search-trigger {
    width: 245px;
  }
  .area-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric {
    padding: 18px;
  }
  .metric-value {
    font-size: 35px;
  }
  .metric-label {
    font-size: 9px;
  }
  .workspace-heading h1 {
    font-size: 34px;
  }
}
@media (max-width:920px) {
  :root {
    --sidebar-w: 207px;
  }
  .sidebar-logo {
    padding-left: 22px;
  }
  .sidebar-logo small {
    left: 65px;
  }
  .nav-item {
    font-size: 11px;
    padding: 9px 9px;
    gap: 8px;
  }
  .nav-item small {
    display: none;
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .global-search-trigger {
    width: 195px;
  }
  .global-search-trigger kbd {
    display: none;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 7px;
  }
  .login-story {
    padding: 35px;
    min-height: 650px;
  }
  .login-story h1 {
    font-size: 52px;
  }
  .login-card {
    padding: 30px 20px;
  }
  .deferred-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width:700px) {
  .login-wrap {
    display: block;
    padding: 18px;
  }
  .login-story {
    min-height: 0;
    padding: 25px 25px 30px;
    border-radius: 17px;
    gap: 40px;
  }
  .login-story h1 {
    font-size: 39px;
    letter-spacing: -1.6px;
    margin: 0 0 16px;
  }
  .login-story .login-intro {
    font-size: 12px;
    max-width: 300px;
  }
  .login-story .login-footnote {
    display: none;
  }
  .login-story .eyebrow {
    margin-bottom: 14px;
  }
  .login-card {
    padding: 35px 12px;
    width: min(430px,100%);
  }
  .workspace-mark {
    display: none;
  }
  .login-card h2 {
    font-size: 27px;
  }
  .login-card > p:not(.eyebrow) {
    margin-bottom: 25px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .2s;
    width: 252px;
    box-shadow: 15px 0 60px #17251e20;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .main {
    margin-left: 0;
  }
  .console-topbar {
    height: 65px;
    padding: 0 18px;
    gap: 12px;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    width: 30px;
    height: 30px;
  }
  .breadcrumb {
    flex: 1;
    min-width: 0;
  }
  .breadcrumb strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .global-search-trigger {
    width: 31px;
    height: 31px;
    padding: 7px;
    flex-shrink: 0;
    justify-content: center;
  }
  .global-search-trigger > span:not([data-icon]) {
    display: none;
  }
  .console-workspace {
    padding: 30px 18px 45px;
  }
  .workspace-heading {
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  }
  .workspace-heading h1 {
    font-size: 33px;
    letter-spacing: -1.4px;
  }
  .workspace-heading p {
    font-size: 11px;
    max-width: 440px;
  }
  .heading-tools {
    margin-left: 0;
  }
  .metric-grid {
    gap: 10px;
    margin-bottom: 20px;
  }
  .metric {
    padding: 17px;
    min-height: 135px;
    border-radius: 12px;
  }
  .metric-value {
    font-size: 35px;
  }
  .metric-note {
    font-size: 8px;
  }
  .area-grid {
    gap: 10px;
  }
  .area-card {
    padding: 15px 12px;
    gap: 8px;
    min-height: 115px;
  }
  .area-card h3 {
    font-size: 11px;
  }
  .area-card p {
    font-size: 9px;
  }
  .panel-heading {
    padding: 18px;
  }
  .panel-content {
    padding: 18px;
  }
  .queue-copy strong {
    font-size: 10px;
  }
  .snapshot-line {
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
  .filter-bar {
    padding: 13px;
    gap: 8px;
  }
  .filter-input {
    max-width: none;
    min-width: 100%;
    flex: 1;
  }
  .filter-bar select {
    max-width: 48%;
  }
  .filter-spacer {
    display: none;
  }
  .column-picker {
    margin-left: auto;
  }
  .table-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }
  .table-footer .pager {
    align-self: flex-end;
  }
  .console-table th,
  .console-table td {
    padding: 13px;
  }
  .console-table {
    font-size: 10px;
  }
  .detail-panel {
    width: 100%;
  }
  .detail-header {
    padding: 23px 19px 18px;
  }
  .detail-header h2 {
    font-size: 25px;
  }
  .detail-body {
    padding: 20px 16px;
  }
  .field-grid {
    column-gap: 15px;
    padding: 5px 17px 17px;
  }
  .detail-field dd {
    font-size: 11px;
  }
  .detail-tab {
    padding: 8px 10px;
  }
  .search-backdrop {
    padding: 50px 13px;
  }
  .search-dialog {
    padding: 22px 18px;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-row input {
    min-width: 100%;
  }
  .search-row select {
    flex: 1;
  }
  .console-footer-note {
    flex-direction: column;
    gap: 5px;
  }
  .page {
    padding: 25px 18px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .modal-overlay {
    padding: 15px;
  }
  .modal {
    padding: 23px;
  }
  .permission-grid {
    grid-template-columns: 1fr;
  }
  .all-metrics-grid {
    grid-template-columns: 1fr;
  }
  .module-tabs {
    gap: 6px;
  }
  .module-tabs button {
    font-size: 9px;
    padding: 8px 10px;
  }
  .topbar-scope {
    display: none;
  }
}
.trend-window {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}
.trend-window .button {
  border-color: transparent;
  background: transparent;
  white-space: nowrap;
}
.trend-window .button[aria-pressed="true"] {
  background: var(--forest);
  color: var(--cream);
}
.creation-trend {
  margin-top: 23px;
}
.trend-window-note,
.trend-source-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.trend-source-note {
  margin-top: 19px;
}
.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin: 20px 0 5px;
  font-size: 12px;
}
.trend-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trend-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.trend-legend [data-tone="forest"],
.creation-bar[data-tone="forest"] {
  background: var(--forest);
}
.trend-legend [data-tone="lime"],
.creation-bar[data-tone="lime"] {
  background: var(--lime);
  box-shadow: inset 0 0 0 1px #285c4530;
}
.trend-scroll {
  position: relative;
  overflow-x: auto;
  margin: 0 0 21px;
}
.creation-chart {
  display: grid;
  grid-template-columns: repeat(var(--trend-days), minmax(24px, 1fr));
  gap: 8px;
  min-width: calc(var(--trend-days) * 32px);
  padding-top: 20px;
}
.creation-day {
  min-width: 0;
  text-align: center;
}
.creation-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 150px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to top, transparent 0, transparent 49px,
    #285c450d 49px, #285c450d 50px);
}
.creation-bar {
  width: 18px;
  max-width: 34%;
  border-radius: 4px 4px 0 0;
}
.creation-bar-missing {
  width: 18px;
  color: var(--muted);
  font-size: 10px;
}
.creation-day-label {
  display: block;
  padding-top: 10px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.trend-table .table-scroll {
  margin-top: 15px;
}
.trend-unavailable {
  padding: 28px 0 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
@media (max-width: 600px) {
  .trend-window {
    flex: 1;
  }
  .trend-window .button {
    flex: 1;
  }
  .creation-bars {
    height: 120px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,
  *:before,
  *:after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
