:root {
  --id-ink: #111b31;
  --id-muted: #516078;
  --id-line: #e0e6ef;
  --id-surface: #f4f6fa;
  --id-blue: #204bd8;
  --id-navy: #101d37;
  --id-font: 'DM Sans', system-ui, sans-serif;
  color: var(--id-ink);
  background: var(--id-surface);
  font-family: var(--id-font);
}
:focus-visible { outline: 2px solid #3868f4; outline-offset: 3px; }

.demo-shell { display: block; }
.demo-shell svg, .demo-dialog svg { flex: none; width: 17px; height: 17px; vertical-align: middle; }
.demo-main { min-width: 0; }
.demo-content { margin: 0 auto; max-width: 1530px; }
.demo-hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; overflow: hidden; min-height: 204px; isolation: isolate; border-radius: 14px; background: #142649; color: #fff; padding: 29px 30px; }
.demo-hero::before { position: absolute; content: ''; inset: 0; z-index: -1; background: linear-gradient(90deg, #111f3e 1%, #14284b 31%, #182f5590 62%, #14264735 100%), url('/install-office.webp') 70% 57% / cover no-repeat; }
.demo-hero-content { min-width: 0; }
.demo-kicker { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c4d5fc; }
.demo-hero h2 { margin: 0; font-size: clamp(32px, 4vw, 51px); font-weight: 750; letter-spacing: -.052em; line-height: 1.04; }
.demo-location { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #e2ebff; margin: 15px 0 0; font-size: 13px; }
.demo-location svg { width: 15px; height: 15px; }
.demo-stage { align-self: flex-start; display: flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #abbbe05c; background: #152646e8; border-radius: 50px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.demo-stage span { width: 7px; height: 7px; border-radius: 50%; background: #8fe1be; }
.demo-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 17px 0 15px; }
.demo-metric { min-width: 0; background: white; border: 1px solid var(--id-line); border-radius: 11px; padding: 15px 17px; }
.demo-metric-top { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 700; color: var(--id-muted); }
.demo-metric-icon { width: 33px; height: 33px; flex: none; display: grid; place-items: center; border-radius: 9px; }
.demo-metric > strong { display: block; margin: 2px 0 3px; font-size: 31px; line-height: 1.17; letter-spacing: -.048em; font-variant-numeric: tabular-nums; }
.demo-metric small { display: block; font-size: 11px; color: var(--id-muted); }
.demo-good { background: #e3f5ed; color: #176747; }
.demo-blue { background: #eaf0ff; color: #2448ad; }
.demo-alert { background: #fff0e4; color: #9f4022; }
.demo-neutral { background: #eef2f8; color: #475b77; }
.demo-tabs { display: flex; align-items: stretch; gap: 24px; margin-bottom: 17px; overflow-x: auto; border-bottom: 1px solid #d9e1ee; scrollbar-width: thin; }
.demo-tabs button { color: var(--id-muted); white-space: nowrap; border: 0; border-bottom: 2px solid transparent; min-height: 43px; padding: 2px 1px 0; background: transparent; font-weight: 700; font-size: 13px; }
.demo-tabs button:focus-visible { outline-offset: -3px; }
.demo-tabs button[aria-current], .demo-tabs button:hover { color: #1c45c2; }
.demo-tabs button[aria-current] { border-bottom-color: #2752e0; }
.demo-detail-grid { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(250px, 1fr); gap: 16px; align-items: start; }
.demo-panel { min-width: 0; background: white; border: 1px solid var(--id-line); border-radius: 12px; }
.demo-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 19px 19px 13px; flex-wrap: wrap; }
.demo-panel h2, .demo-dialog h2 { margin: 0; font-size: 19px; line-height: 1.22; letter-spacing: -.025em; }
.demo-panel p { margin: 5px 0 0; color: var(--id-muted); font-size: 13px; line-height: 1.55; }
.demo-btn { min-height: 40px; display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; font-size: 12px; text-decoration: none; text-align: center; }
.demo-btn svg { width: 15px; height: 15px; }
.demo-btn-primary { background: var(--id-blue); color: white; }
.demo-btn-primary:hover { background: #163cb7; }
.demo-btn-secondary { background: white; color: #253455; border-color: #d4ddec; }
.demo-btn-secondary:hover { background: #f2f5fc; border-color: #a7b7d7; }
.demo-table-tools { display: flex; align-items: center; gap: 8px; margin: 0 19px 12px; }
.demo-search { min-width: 0; display: flex; align-items: center; gap: 8px; flex: 1; border-radius: 8px; border: 1px solid #d4ddec; padding: 0 10px; color: #5b6c86; }
.demo-search:focus-within { outline: 2px solid #3868f4; outline-offset: 2px; }
.demo-search input { outline: none; border: 0; min-height: 38px; min-width: 0; width: 100%; padding: 2px 0; color: var(--id-ink); background: transparent; font-size: 13px; }
.demo-search input::placeholder { color: #5f6d85; }
.demo-filter select { min-height: 40px; max-width: 125px; border: 1px solid #d4ddec; border-radius: 8px; background: white; color: #293858; font-size: 12px; padding: 0 8px; }
.demo-table-wrap { overflow-x: auto; }
.demo-panel table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
.demo-panel th { background: #f2f5fa; color: #465773; text-transform: uppercase; font-size: 10px; letter-spacing: .09em; padding: 10px 9px; }
.demo-panel td { border-bottom: 1px solid #edf0f6; padding: 7px 9px; }
.demo-panel th:first-child, .demo-panel td:first-child { padding-left: 19px; }
.demo-panel th:last-child, .demo-panel td:last-child { padding-right: 13px; }
.demo-panel td:last-child { width: 1%; }
.demo-panel td small { display: block; margin-top: 3px; color: var(--id-muted); font-size: 11px; }
.demo-panel td strong { font-weight: 700; }
.demo-panel tbody tr:hover { background: #f9faff; }
.demo-count { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.demo-count span { color: var(--id-muted); font-weight: 500; }
.demo-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 30px; font-size: 10px; font-weight: 750; white-space: nowrap; padding: 5px 8px; }
.demo-badge i { width: 6px; height: 6px; border-radius: 50%; background-color: currentColor; }
.demo-icon-btn { display: inline-grid; width: 38px; height: 38px; place-items: center; background: transparent; border: 0; border-radius: 7px; color: #4e6285; }
.demo-icon-btn:hover { background: #edf2ff; color: #224ac3; }
.demo-table-foot { padding: 11px 19px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; color: var(--id-muted); font-size: 11px; }
.demo-side { display: grid; gap: 14px; }
.demo-side-panel { padding: 16px; }
.demo-side-heading { display: flex; align-items: center; gap: 10px; }
.demo-side-heading h2 { font-size: 16px; }
.demo-attention { margin: 13px 0 3px; border: 1px solid #f3e1d4; border-radius: 8px; padding: 11px 12px; background: #fff8f2; }
.demo-attention span { color: #934026; font-weight: 700; font-size: 11px; }
.demo-attention h3 { font-size: 14px; margin: 4px 0 0; }
.demo-attention p { font-size: 12px; }
.demo-next { margin-top: 12px; }
.demo-next strong { font-size: 13px; }
.demo-next p { margin: 3px 0 0; font-size: 12px; }
.demo-text-btn { border: 0; color: #2048be; font-weight: 750; font-size: 12px; background: transparent; display: inline-flex; align-items: center; gap: 6px; min-height: 37px; padding: 0; }
.demo-text-btn:hover { text-decoration: underline; }
.demo-text-btn svg { width: 14px; }
.demo-list { border-top: 1px solid var(--id-line); }
.demo-list-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 19px; }
.demo-list-row + .demo-list-row { border-top: 1px solid var(--id-line); }
.demo-list-row h3 { font-size: 15px; margin: 0; }
.demo-row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.demo-empty { padding: 16px 19px !important; color: var(--id-muted); }
.demo-form { display: grid; justify-items: start; gap: 14px; padding: 12px 19px 22px; }
.demo-form label { display: grid; gap: 7px; width: 100%; font-size: 13px; font-weight: 750; }
.demo-form input:not([type=checkbox]), .demo-form textarea, .demo-form select { width: 100%; min-width: 0; padding: 8px 11px; min-height: 42px; border: 1px solid #c6d1e4; border-radius: 7px; background: #fff; color: var(--id-ink); font: 400 14px var(--id-font); }
.demo-form input[type=file] { overflow: hidden; }
.demo-form textarea { resize: vertical; min-height: 74px; }
.demo-form .demo-check { display: flex; align-items: center; }
.demo-form .demo-check input { width: 17px; height: 17px; accent-color: var(--id-blue); }
.demo-form-error:empty { display: none; }
.demo-form-error { color: #9b3227; }
.demo-client-preview dl { font-size: 14px; line-height: 1.5; margin: 15px 0 0; overflow-wrap: anywhere; }
.demo-client-preview dt { color: var(--id-muted); font-weight: 700; font-size: 12px; }
.demo-client-preview dd { margin: 4px 0 13px; }
.demo-closeout { border-top: 1px solid var(--id-line); padding: 15px 19px 19px; }
.demo-closeout strong { color: var(--id-ink); }
.demo-footer { margin: 20px 0 0; color: var(--id-muted); font-size: 12px; }
.demo-footer a { margin-left: 8px; color: #2048be; font-weight: 700; }
.demo-footer svg { width: 12px; height: 12px; }
.demo-dialog { max-height: min(86dvh, 680px); width: min(510px, calc(100vw - 24px)); border: 1px solid #c9d5e9; border-radius: 13px; padding: 0; background: white; color: var(--id-ink); box-shadow: 0 25px 80px #0d1a4450; }
.demo-dialog::backdrop { background: #0e1b35aa; }
.demo-dialog-head { padding: 13px 15px 13px 19px; border-bottom: 1px solid var(--id-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-dialog p { margin: 0; font-size: 14px; }
.demo-dialog .demo-form { padding-top: 18px; }
.demo-dialog ul { margin: 0; padding-left: 18px; font-size: 13px; }
.demo-room-title { font-weight: 700; }
.demo-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.topbar { background: var(--id-navy); }
.sample-link { color: #d8e4ff; font-size: 13px; font-weight: 700; }
.brand { font-size: 1.55rem; letter-spacing: -.06em; }
.login { max-width: 490px; border-color: var(--id-line); border-radius: 14px; }
.login h1 { font: 750 clamp(2rem, 5vw, 2.65rem)/1.06 var(--id-font); letter-spacing: -.045em; }
.login .eyebrow { color: #2147bf; }
.login .primary, .content .primary { background: var(--id-blue); border-radius: 8px; }
.demo-return { display: inline-block; margin: 4px 0 10px; color: #2048be; font-size: 14px; font-weight: 700; }
.hub-layout { max-width: none; grid-template-columns: 228px minmax(0,1fr); }
.sidebar { background: var(--id-navy); border-color: transparent; padding-inline: 17px; }
.sidebar .nav-item { color: #c2cce0; }
.sidebar .nav-item:hover, .sidebar .nav-item.active { color: white; background: #224ac3; }
.sidebar .nav-group-label { color: #b8c5dd; }
.dash-panel, .control-card, #app .panel { border-color: var(--id-line); border-radius: 11px; }
.dash-heading h1, .view-title h1, .control-card h2 { font-family: var(--id-font); font-weight: 750; letter-spacing: -.035em; }
.project-task-nav button[aria-pressed="true"] { background: var(--id-blue); border-color: var(--id-blue); }

@media (max-width: 1060px) {
  .demo-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .hub-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { padding: 8px 12px; }
}
@media (max-width: 760px) {
  .demo-shell { display: block; }
  .demo-hero { padding: 20px; min-height: 182px; }
  .demo-stage { position: absolute; right: 16px; top: 16px; }
  .demo-tabs { gap: 19px; }
  .demo-list-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 465px) {
  .demo-hero { min-height: 193px; }
  .demo-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .demo-metric { padding: 11px 12px; }
  .demo-metric > strong { font-size: 28px; }
  .demo-panel-head, .demo-table-tools { margin-inline: 0; padding-inline: 12px; }
  .demo-panel th:first-child, .demo-panel td:first-child { padding-left: 12px; }
  .demo-panel th:last-child, .demo-panel td:last-child { padding-right: 6px; }
  .demo-panel td, .demo-panel th { padding-inline: 5px; }
  .demo-badge { white-space: normal; padding: 4px 6px; }
  .demo-badge i { flex: none; }
  .demo-side { grid-template-columns: 1fr; }
}

.project-workspace-heading,
.project-section-header { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; align-items: baseline; }
.project-workspace-heading h2 { margin: .4rem 0 0; }
.project-workspace-heading p { margin: .25rem 0 .7rem; }
.project-delivery-entry { border-top: 1px solid var(--id-line); padding: 1rem 0; }
.project-delivery-entry h3, .project-delivery-entry p { margin: 0 0 .35rem; }
.project-delivery-entry .delivery-notes { white-space: pre-wrap; overflow-wrap: anywhere; }
.client-code-result #copy-client-live-link { margin: .7rem 0; }
