.operations .main { padding-top: 2rem; }
.operations .pagehead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.operations #content { max-width: 70rem; }
.operations #content > h2 { margin: .8rem 0 .3rem; }
.operations #content > p { margin: .35rem 0; }
.operations #content section, .operations form, .operations details {
  max-width: 48rem; margin: 1.25rem 0; padding: 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.operations #list { overflow-x: auto; margin-top: 1rem; }
.operations #list table { width: 100%; }
.operations #content section { background: var(--sidebar); }
.operations #content section p { margin: .4rem 0; }
.operations label, .operations form { display: grid; gap: .4rem; }
.operations label { max-width: 30rem; color: var(--muted); }
.operations .doc-option { display: flex; align-items: baseline; gap: .6rem; }
.operations .doc-option input { flex: none; width: auto; margin: 0; }
.operations input, .operations select { min-width: 0; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: .4rem; color: var(--ink); }
.operations button { justify-self: start; padding: .45rem .85rem; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: .5rem; }
.operations form button, .operations #new { background: #065fae; color: white; margin-top: .5rem; }
.operations summary { cursor: pointer; }
.operations #status:not(:empty) { margin: .5rem 0; }
.operations label.monthly-complete { display: flex; align-items: center; gap: .55rem; }
.operations .list-filters { display: flex; flex-wrap: wrap; align-items: end; max-width: none; padding: .75rem; gap: .75rem; }
.operations .list-filters label { flex: 1 1 10rem; }
.operations .list-filters button, .operations .list-paging button { margin: 0; }
.operations .list-paging { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: .75rem 0; }
.operations .list-paging button:disabled { opacity: .5; cursor: default; }
.operations #list th button {
  padding: .25rem .15rem; background: transparent; border: 0; font: inherit; overflow-wrap: normal;
}
.operations #list th[aria-sort] button { color: #065fae; font-weight: 700; }
.operations #list a:focus-visible, .operations .list-filters :focus-visible, .operations .list-paging button:focus-visible { outline: 2px solid #065fae; outline-offset: 3px; }

.operations {
  --ink: #182b3c;
  --muted: #506679;
  --line: #dce5ed;
  --accent: #075e8e;
  --sidebar: #fff;
  --radius: 12px;
  background: #f1f5f8;
  color: var(--ink);
  font: 14px/1.45 "Segoe UI", system-ui, sans-serif;
}
.operations [hidden] { display: none !important; }
.operations .skip-workspace {
  position: fixed; z-index: 40; top: 12px; left: 12px;
  padding: .5rem 1rem; background: white; color: var(--accent);
  clip-path: inset(100%);
}
.operations .skip-workspace:focus { clip-path: none; }
.operations :focus-visible { outline: 2px solid #137caf; outline-offset: 3px; }
.operations a { color: var(--accent); }
.operations .shell { grid-template-columns: 208px minmax(0,1fr); }
.operations .sidebar {
  width: 208px; background: #142939; border: 0;
  padding: 25px 14px 18px; overflow: auto;
}
.operations .brand {
  color: #f4f9fc; font-size: 24px; letter-spacing: -.5px; padding: 0 12px 26px;
}
.operations .nav { gap: 3px; }
.operations .nav a {
  color: #c7d7e3; min-height: 40px; padding: 8px 12px; border-radius: 7px;
  font-size: 13px; line-height: 1.35;
}
.operations .nav a:hover, .operations .nav a[aria-current] {
  color: #fff; background: #28495f;
}
.operations .nav a[aria-current] { box-shadow: inset 3px 0 #6ccee5; font-weight: 650; }
.operations .workspace-role {
  margin: auto 12px 0; padding-top: 14px; border-top: 1px solid #496174; color: #d8e5ef;
}
.operations .main { padding: 18px clamp(16px,2vw,32px) 32px; max-width: 1850px; }
.operations .workspace-header {
  margin: 0 0 16px; min-height: 60px; border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.operations #workspace-area { color: var(--muted); font-size: 13px; margin: 0 0 .1rem; }
.operations h1 { font-size: clamp(24px,2vw,30px); line-height: 1.12; letter-spacing: -.035em; margin: 0; }
.operations h2 { font-size: 19px; line-height: 1.3; margin: 0; }
.operations h3 { font-size: 15px; margin: .25rem 0 .45rem; }
.operations button { min-height: 34px; font-size: 13px; cursor: pointer; }
.operations button:hover:not(:disabled) { border-color: #6796b1; }
.operations form button, .operations #new { background: var(--accent); border-color: var(--accent); color: #fff; }
.operations form, .operations details { margin: .75rem 0; padding: .75rem; }
.operations input, .operations select { width: 100%; background: white; font: inherit; }
.operations input[type=checkbox], .operations input[type=radio] { width: auto; }
.operations #status:not(:empty) {
  background: #e5eef5; border-left: 3px solid #28759f; padding: .5rem .75rem;
}
.operations #workbench { min-width: 0; }
.operations #workbench.journal-layout {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,1fr);
  align-items: start; gap: 14px;
}
.operations #workbench.journal-expanded { grid-template-columns: minmax(0,1fr); }
.operations #journal-region, .operations #content {
  min-width: 0; max-width: none; overflow-wrap: anywhere;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.operations #content { padding: 16px; }
.operations #content:empty { display: none; }
.operations .journal-title {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px;
  padding: 11px 12px; min-height: 58px; border-radius: var(--radius) var(--radius) 0 0;
  position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line);
}
.operations .journal-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.operations #new { margin: 0; }
.operations #journal .list-filters {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px 10px; margin: 0; border: 0; padding: 11px 12px 7px;
}
.operations #journal .list-filters label { max-width: none; font-size: 12px; gap: 3px; }
.operations #journal .list-filters [name=route] { text-overflow: ellipsis; }
.operations #journal .list-filters [data-clear] {
  background: white; border-color: var(--line); color: var(--accent); min-height: 28px;
}
.operations .journal-summary {
  min-height: 48px; display: flex; flex-wrap: wrap; gap: 4px 8px;
  justify-content: space-between; align-items: center; padding: 4px 12px;
}
.operations #journal-count { color: var(--muted); font-size: 12px; margin: 0; }
.operations #journal-message { margin: 0; padding: 5px 12px; color: var(--muted); font-size: 12px; }
.operations #journal-message:empty { display: none; }
.operations #journal-pages .list-paging { margin: 0; font-size: 12px; gap: 5px; }
.operations #journal-pages button { padding: .3rem .5rem; min-height: 30px; }
.operations #list { margin: 0; border-radius: 0 0 var(--radius) var(--radius); }
.operations #list > p { margin: .7rem 12px; }
.operations #list .data-table { table-layout: fixed; font-size: 12px; }
.operations #list thead { background: #edf3f7; }
.operations #list th, .operations #list td { padding: 8px; white-space: normal; }
.operations #list th { color: #435b6e; }
.operations #list th:first-child, .operations #list td:first-child { padding-left: 12px; }
.operations #list th:last-child, .operations #list td:last-child { padding-right: 12px; }
.operations #list th:first-child { width: 31%; }
.operations .journal-layout:not(.journal-expanded) #list th:nth-child(2) { width: 17%; }
.operations .journal-layout:not(.journal-expanded) #list th:nth-child(3) { width: 13%; }
.operations .journal-layout:not(.journal-expanded) #list th:nth-child(4) { width: 18.5%; }
.operations .journal-layout:not(.journal-expanded) #list th:nth-child(5) { width: 20.5%; }
.operations .journal-expanded #list th:first-child { width: 26%; }
.operations #list td:first-child a {
  display: inline-block; font-weight: 650; font-variant-numeric: tabular-nums;
  scroll-margin-block: 64px 12px;
}
.operations #list td:first-child a:hover { text-decoration: underline; }
.operations #list tbody tr:nth-child(even) { background: #f8fafc; }
.operations #list tbody tr:hover { background: #edf6fb; }
.operations #list tbody tr.is-selected {
  background: #e5f2f9; box-shadow: inset 3px 0 #1179a9;
}
.operations .stage-pill {
  display: inline-block; padding: 3px 7px; border-radius: 5px;
  font-size: 11px; font-weight: 650; color: #314c61; background: #eaf0f4;
}
.operations #list .stage-pill { padding-inline: 5px; }
.operations .stage-pill[data-stage=approved] { color: #1a634d; background: #e2f4eb; }
.operations .stage-pill[data-stage=rejected] { color: #8d353b; background: #fae9eb; }
.operations .stage-pill:is([data-stage=submitted],[data-stage=sealed],[data-stage=finance_review]) {
  color: #754e09; background: #fff2d9;
}
.operations .stage-pill:is([data-stage=issued],[data-stage=executed]) { color: #105777; background: #e3f2fa; }
.operations .card-header { margin: 0 0 10px; }
.operations .card-header a { display: inline-block; margin-bottom: 6px; font-size: 13px; }
.operations .card-header h2 { font-size: 22px; letter-spacing: -.025em; }
.operations .card-route { font-weight: 650; margin: 3px 0; }
.operations .card-customer, .operations .card-version { color: var(--muted); }
.operations .card-header p { margin: 4px 0; }
.operations .card-header [data-next-section] { margin-top: 5px; color: var(--accent); }
.operations .card-version { font-size: 12px; padding-left: 7px; }
.operations .card-tabs { display: flex; flex-wrap: wrap; gap: 3px; border-bottom: 1px solid var(--line); }
.operations .card-tabs button {
  padding: 5px 6px; border: 1px solid transparent; border-bottom-width: 2px; border-radius: 5px 5px 0 0;
  min-height: 32px; color: var(--muted); font-size: 12px;
}
.operations .card-tabs button[aria-pressed=true] {
  color: var(--accent); border-bottom-color: var(--accent); background: #edf6fb; font-weight: 650;
}
.operations #content > .card-section { padding: 12px 0 0; margin: 0 0 12px; border: 0; max-width: none; }
.operations #content .card-section > h3 { margin: 0 0 8px; }
.operations .card-amounts {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin: 0 0 8px;
}
.operations .card-amounts div, .operations .kit-summary {
  background: #f3f7fa; padding: 9px; border: 1px solid var(--line); border-radius: 8px;
}
.operations .card-amounts dt { color: var(--muted); font-size: 12px; }
.operations .card-amounts dd { margin: 3px 0 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.operations .card-notice { padding: .45rem .6rem; background: #fff3df; border-radius: 6px; color: #6c4a15; }
.operations .card-notice strong { display: block; }
.operations .overview-original a { text-decoration: underline; text-underline-offset: .15em; }
.operations .card-empty p { margin: .4rem 0; color: var(--muted); }
@media (min-width: 1051px) and (min-height: 500px) {
  .operations .journal-layout #content {
    position: sticky; top: 10px; max-height: calc(100dvh - 20px); overflow: auto;
    scrollbar-gutter: stable;
  }
}
@media (min-width: 1450px) {
  .operations #journal .list-filters { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1050px) {
  .operations .shell { grid-template-columns: 172px minmax(0,1fr); }
  .operations .sidebar { width: 172px; }
  .operations #workbench.journal-layout { grid-template-columns: minmax(0,1fr); }
  .operations #workbench.journal-layout #content { grid-row: 1; }
}
@media (max-width: 680px) {
  .operations .sidebar {
    display: block; position: static; width: auto; box-shadow: none; padding: 8px 12px;
  }
  .operations .sidebar .brand { display: inline-block; padding: 0 6px 4px; }
  .operations .nav { flex-direction: row; flex-wrap: wrap; }
  .operations .nav a { min-height: 32px; padding: 5px 8px; }
  .operations .workspace-role { display: none; }
  .operations #list { overflow: auto; }
  .operations #list .data-table { min-width: 410px; }
}
@media print {
  .operations #journal-region, .operations .card-tabs, .operations .skip-workspace { display: none !important; }
  .operations #workbench.journal-layout { display: block; }
  .operations #content { position: static; overflow: visible; max-height: none; padding: 0; border: 0; }
}

/* Compact meeting views use the R03 metric hierarchy and the underlying role data. */
[data-business-demo] .meeting-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(155px,100%),1fr));gap:12px;margin:18px 0}
[data-business-demo] .meeting-metrics>div{background:#eff6fa;border:1px solid #d2e2ea;border-top:3px solid #369b9b;padding:14px 16px;border-radius:8px;min-width:0}
[data-business-demo] .meeting-metrics strong,[data-business-demo] .meeting-metrics small{display:block}
[data-business-demo] .meeting-metrics strong{color:#153447;font-size:clamp(1.1rem,1.8vw,1.55rem);line-height:1.25;margin-top:4px}
[data-business-demo] [data-project] dl{display:grid;grid-template-columns:minmax(90px,.65fr) minmax(150px,1.4fr);margin:16px 0}
[data-business-demo] [data-project] dt,[data-business-demo] [data-project] dd{margin:0;padding:8px 4px;border-bottom:1px solid #dfebed;overflow-wrap:anywhere}
[data-business-demo] [data-project] dt{color:#465d6d}
[data-business-demo] .card-version{display:none}

/* BUSINESS-DEMO R02 — same visual language as management/R03; no permission changes. */
.operations[data-business-demo]{--ink:#19324b;--muted:#596d80;--line:#dce5ed;--accent:#0875bf;--sidebar:#fff;--radius:12px;background:#f3f6f8;font-family:'Segoe UI',Arial,sans-serif}
.operations[data-business-demo] .sidebar{background:#f4f5f7;border-right:1px solid #dce5ed}
.operations[data-business-demo] .brand{color:#19324b;display:flex;align-items:center;gap:10px}
.operations[data-business-demo] .brand span{display:grid;place-items:center;width:34px;height:34px;background:#e3eefb;color:#0875bf;border-radius:9px;flex:none}
.operations[data-business-demo] .brand svg,.operations[data-business-demo] .nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.operations[data-business-demo] .nav a{display:flex;align-items:center;gap:9px}
.operations[data-business-demo] .nav a{color:#43596e;font-size:14px;min-height:44px}
.operations[data-business-demo] .nav a:hover,.operations[data-business-demo] .nav a[aria-current]{color:#075caa;background:#e3edfc;box-shadow:none}
.operations[data-business-demo] .workspace-role{color:#596d80;border-top-color:#dce5ed}
.operations[data-business-demo] .workspace-header{min-height:72px}
.operations[data-business-demo] h1{font-size:clamp(26px,2.4vw,36px);color:#19324b}
.operations[data-business-demo] #content,.operations[data-business-demo] #journal-region{box-shadow:0 5px 20px #19324b06}
.operations[data-business-demo] #content>section,.operations[data-business-demo] #content>div>section{max-width:none}
.operations[data-business-demo] #content details{max-width:none;background:#fff}
.operations[data-business-demo] .meeting-metrics>div{background:#f8fafc;border:1px solid #dce5ed;border-top:3px solid #168f87;border-radius:12px;padding:16px}
.operations[data-business-demo] .meeting-metrics strong{color:#19324b}
[data-meeting-names] .meeting-file{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px}
[data-meeting-names] .meeting-file-picker{position:relative;display:inline-flex;flex:none}
[data-meeting-names] .meeting-file-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0}
[data-meeting-names] .meeting-file-picker input:disabled{cursor:wait}
[data-meeting-names] .meeting-file-label{padding:8px 12px;border:1px solid #becbd8;border-radius:7px;background:#f7f9fc;color:#19324b}
[data-meeting-names] .meeting-file-picker input:focus-visible+.meeting-file-label{outline:2px solid #0875bf;outline-offset:2px}
[data-meeting-names] .meeting-file-picker input:disabled+.meeting-file-label{opacity:.55}
[data-meeting-names] .meeting-file-selected{min-width:0;overflow-wrap:anywhere;font-size:.875rem}
[data-meeting-names] .meeting-metrics strong{white-space:nowrap;font-variant-numeric:tabular-nums}
[data-assigned-kits] th:first-child{min-width:9rem}
[data-assigned-kits] td:last-child{min-width:10rem}
#doc-message:not(:empty){padding:8px 10px;background:#edf5ff;border-radius:6px;overflow-wrap:anywhere}
@media(max-width:520px){
  [data-meeting-names] .meeting-metrics>div{padding:12px}
}
.operations[data-business-demo] [data-project] dl{font-variant-numeric:tabular-nums}
@media(max-width:780px){.operations[data-business-demo] .sidebar{border-right:0;border-bottom:1px solid #dce5ed}.operations[data-business-demo] .nav a{font-size:13px}.operations[data-business-demo] .brand span{width:28px;height:28px}}
.operations[data-business-demo] .meeting-table{width:100%;border-collapse:collapse;font-size:13px}
.operations[data-business-demo] .meeting-table th{background:#f4f7fa;text-align:left;color:#41596f;font-weight:650;padding:12px}
.operations[data-business-demo] .meeting-table td{padding:12px;border-bottom:1px solid #dce5ed;vertical-align:middle}
.operations[data-business-demo] .meeting-table .secondary{display:block;margin-top:4px;color:#596d80;overflow-wrap:anywhere}
.operations[data-business-demo] .meeting-table td:last-child{white-space:nowrap}
.operations[data-business-demo] .meeting-count{font-size:14px;font-weight:650;color:#41596f;margin:12px 0}
.operations[data-business-demo] [data-ordinary-kit]{max-width:none!important}
@media(max-width:780px){.operations[data-business-demo] .meeting-table{min-width:680px}.operations[data-business-demo] .table-scroll{overflow-x:auto;max-width:100%}}

.operations[data-business-demo] .workspace-panel { display:grid; gap:16px; }
.operations[data-business-demo] .section-heading { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:12px; }
.operations[data-business-demo] .section-heading h2 { margin:0 0 4px; }
.operations[data-business-demo] .section-heading p { margin:0; color:var(--muted); }
.operations[data-business-demo] .section-links { display:flex; flex-wrap:wrap; gap:8px; }
.operations[data-business-demo] .section-links a { border:1px solid var(--line); border-radius:8px; padding:8px 12px; }
.operations[data-business-demo] .workspace-filter { align-items:end; grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr)); }
.operations[data-business-demo] .workspace-filter button { min-height:42px; }
.operations[data-business-demo] .money-cell { font-variant-numeric:tabular-nums; text-align:right; white-space:nowrap; }
.operations[data-business-demo] .amount-negative { color:#a73035; font-weight:700; }
.operations[data-business-demo] .trip-facts { display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr)); }
.operations[data-business-demo] .trip-facts>div { background:#f5f8fa; border:1px solid var(--line); border-radius:9px; padding:8px 10px; min-width:0; }
.operations[data-business-demo] .trip-facts dt,.operations[data-business-demo] .trip-facts small { display:block; color:var(--muted); font-size:12px; }
.operations[data-business-demo] .trip-facts dd { margin:3px 0 0; font-weight:650; overflow-wrap:anywhere; }
