:root {
  --ci-navy: #002f65;
  --ci-navy-deep: #001f46;
  --ci-cyan: #00a8cb;
  --ci-cyan-soft: #e5f7fb;
  --ci-ink: #172033;
  --ci-muted: #667085;
  --ci-line: #d8dee8;
  --ci-soft: #f4f7fa;
  --ci-white: #ffffff;
  --ci-red: #c63b31;
  --ci-red-soft: #fff0ee;
  --ci-amber: #d87500;
  --ci-amber-soft: #fff5e7;
  --ci-blue: #087da8;
  --ci-blue-soft: #e8f6fb;
  --ci-green: #168a52;
  --ci-green-soft: #eaf7f0;
  --ci-grey: #637083;
  --ci-grey-soft: #eef1f5;
  --ci-shadow: 0 12px 34px rgba(0, 47, 101, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ot-client-condition { margin: 0; background: #eef2f6; color: var(--ci-ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.45; }
button, input, select { font: inherit; }
button, a, input, select { outline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(0, 168, 203, 0.55); }
[hidden] { display: none !important; }

.ot-client-condition .ot-shell__topbar { position: sticky; top: 0; z-index: 100; min-height: 64px; display: flex; align-items: center; gap: 24px; padding: 8px 24px; background: var(--ci-navy-deep); border-bottom: 3px solid var(--ci-cyan); color: #fff; }
.ot-client-condition .ot-shell__brand-link { min-width: 260px; color: #fff; text-decoration: none; }
.ot-client-condition .ot-shell__brand-link span { display: block; }
.ot-client-condition .ot-shell__brand-link .ot-eyebrow { color: #65d7ec; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ot-client-condition .ot-shell-title { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-weight: 700; }
.ot-client-condition .ot-shell__nav { display: flex; align-items: stretch; align-self: stretch; margin-right: auto; }
.ot-client-condition .ot-shell__nav a { display: flex; align-items: center; color: #dce8f6; text-decoration: none; padding: 0 18px; border-left: 1px solid rgba(255,255,255,.12); border-right: 1px solid rgba(255,255,255,.12); font-weight: 700; }
.ot-client-condition .ot-shell__nav a[aria-current="page"] { background: rgba(0,168,203,.22); color: #fff; box-shadow: inset 0 -3px 0 var(--ci-cyan); }
.ot-client-condition .ot-shell__utilities { display: flex; align-items: center; gap: 15px; }
.ot-client-condition .ot-user-chip { display: flex; flex-direction: column; line-height: 1.1; border-left: 1px solid rgba(255,255,255,.18); padding-left: 14px; }
.ot-client-condition .ot-user-chip span:first-child { color: #fff; font-weight: 700; font-size: 13px; }
.ot-client-condition .ot-user-chip span:last-child { color: #9fc3df; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.ot-client-condition .ot-shell__signout { color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; border: 1px solid rgba(255,255,255,.35); padding: 7px 10px; }
.ot-client-mark { display: flex; flex-direction: column; text-align: right; line-height: 1.15; }
.ot-client-mark__name { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.ot-client-mark__meta { color: #65d7ec; text-transform: uppercase; font-size: 9px; letter-spacing: .15em; font-weight: 800; }

.ot-condition-page { width: min(1580px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 38px; }
.ot-condition-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 26px 30px; background: linear-gradient(118deg, #fff 0%, #fff 67%, #eaf8fb 100%); border: 1px solid var(--ci-line); border-top: 4px solid var(--ci-navy); box-shadow: var(--ci-shadow); }
.ot-eyebrow { margin: 0 0 5px; color: var(--ci-cyan); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.ot-condition-hero h1 { margin: 0; color: var(--ci-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 3vw, 45px); line-height: 1.05; }
.ot-condition-hero__summary { max-width: 780px; margin: 10px 0 0; color: #465064; font-size: 16px; }
.ot-as-at { min-width: 270px; display: grid; gap: 3px; text-align: right; color: var(--ci-muted); font-size: 12px; }
.ot-as-at__label { color: var(--ci-cyan); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.ot-as-at strong { color: var(--ci-navy); font-family: Georgia, 'Times New Roman', serif; font-size: 18px; }
.ot-demo-notice { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--ci-line); color: #586174; font-size: 12px; }
.ot-demo-notice__badge { flex: none; padding: 4px 8px; background: var(--ci-cyan-soft); color: #006c86; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.ot-status-section { margin-top: 18px; padding: 22px; background: #fff; border: 1px solid var(--ci-line); box-shadow: var(--ci-shadow); }
.ot-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.ot-section-heading h2, .ot-panel-heading h2, .ot-list-toolbar h2 { margin: 0; color: var(--ci-navy); font-family: Georgia, 'Times New Roman', serif; font-size: 23px; line-height: 1.15; }
.ot-link-button { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ci-navy); padding: 2px; cursor: pointer; font-weight: 700; }
.ot-status-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ot-status-card { position: relative; min-height: 138px; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 17px; text-align: left; border: 1px solid var(--ci-line); border-top: 5px solid var(--status-colour); background: #fff; color: var(--ci-ink); cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.ot-status-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,47,101,.12); }
.ot-status-card.is-active { border-color: var(--status-colour); background: var(--status-soft); box-shadow: inset 0 0 0 1px var(--status-colour); }
.ot-status-card[data-status="red"] { --status-colour: var(--ci-red); --status-soft: var(--ci-red-soft); }
.ot-status-card[data-status="amber"] { --status-colour: var(--ci-amber); --status-soft: var(--ci-amber-soft); }
.ot-status-card[data-status="blue"] { --status-colour: var(--ci-blue); --status-soft: var(--ci-blue-soft); }
.ot-status-card[data-status="green"] { --status-colour: var(--ci-green); --status-soft: var(--ci-green-soft); }
.ot-status-card[data-status="grey"] { --status-colour: var(--ci-grey); --status-soft: var(--ci-grey-soft); }
.ot-status-card__rank { color: var(--status-colour); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.ot-status-card__count { grid-row: 1 / span 2; grid-column: 2; color: var(--ci-navy); font-family: Georgia, 'Times New Roman', serif; font-size: 40px; line-height: .95; }
.ot-status-card__title { align-self: end; color: var(--ci-navy); font-size: 15px; font-weight: 800; line-height: 1.18; }
.ot-status-card__response { grid-column: 1 / -1; color: var(--ci-muted); font-size: 11px; line-height: 1.25; }
.ot-rag-definitions { margin-top: 16px; border: 1px solid var(--ci-line); }
.ot-rag-definition { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 16px; align-items: start; padding: 12px 14px; border-bottom: 1px solid var(--ci-line); font-size: 12px; }
.ot-rag-definition:last-child { border-bottom: 0; }
.ot-rag-definition strong { color: var(--ci-navy); }
.ot-rag-pill, .ot-status-pill { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-width: 72px; padding: 4px 9px; border-radius: 999px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ot-rag-pill--red, .ot-status-pill--red { background: var(--ci-red); }
.ot-rag-pill--amber, .ot-status-pill--amber { background: var(--ci-amber); }
.ot-rag-pill--blue, .ot-status-pill--blue { background: var(--ci-blue); }
.ot-rag-pill--green, .ot-status-pill--green { background: var(--ci-green); }
.ot-rag-pill--grey, .ot-status-pill--grey { background: var(--ci-grey); }

.ot-condition-workspace { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; }
.ot-hierarchy-panel { position: sticky; top: 82px; max-height: calc(100vh - 100px); overflow: auto; background: #fff; border: 1px solid var(--ci-line); box-shadow: var(--ci-shadow); }
.ot-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px; border-bottom: 1px solid var(--ci-line); }
.ot-panel-heading h2 { font-size: 20px; }
.ot-icon-button { display: none; border: 0; background: transparent; color: var(--ci-navy); font-size: 28px; cursor: pointer; }
.ot-search-field { display: grid; gap: 5px; margin: 14px; color: var(--ci-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ot-search-field input, .ot-list-toolbar input, .ot-list-toolbar select { min-height: 40px; border: 1px solid #bfc8d5; background: #fff; color: var(--ci-ink); padding: 8px 10px; }
.ot-hierarchy-scope { width: calc(100% - 28px); margin: 0 14px 8px; border: 0; border-left: 3px solid transparent; background: #fff; color: var(--ci-navy); padding: 9px 10px; text-align: left; font-weight: 800; cursor: pointer; }
.ot-hierarchy-scope.is-active { border-left-color: var(--ci-cyan); background: var(--ci-cyan-soft); }
body.ot-client-condition #clientHierarchy.ot-shared-hierarchy { position: relative; display: flex; flex-direction: column; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: none !important; min-height: 300px; padding: 8px 14px 16px; overflow: hidden; }
body.ot-client-condition #clientHierarchy .ot-shared-hierarchy__header { display: grid; gap: 8px; margin-bottom: 10px; padding-top: 0; }
body.ot-client-condition #clientHierarchy .ot-shared-hierarchy__eyebrow { color: var(--ci-cyan); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
body.ot-client-condition #clientHierarchy .ot-shared-hierarchy__search { display: block; border: 1px solid #bfc8d5; padding: 8px 10px; background: #fff; }
body.ot-client-condition #clientHierarchy .ot-shared-hierarchy__search input { width: 100%; border: 0; outline: 0; background: #fff; color: var(--ci-ink); font-size: 13px; }
body.ot-client-condition #clientHierarchy .ot-shared-hierarchy__status { margin: 8px 0; color: var(--ci-muted); font-size: 11px; line-height: 1.3; }
body.ot-client-condition #clientHierarchy .ot-shared-hierarchy__tree { align-content: start; display: grid; gap: 2px; min-height: 220px; max-height: calc(100vh - 330px); overflow-y: auto; overflow-x: hidden; }
body.ot-client-condition #clientHierarchy .ot-tree-node { display: grid !important; grid-template-columns: 14px 14px minmax(0,1fr) !important; align-items: center; gap: 4px !important; width: 100%; min-height: 24px !important; padding-top: 1px !important; padding-bottom: 1px !important; border: 0; border-left: 3px solid transparent !important; background: transparent; color: #344054; cursor: pointer; white-space: nowrap; }
body.ot-client-condition #clientHierarchy .ot-tree-node:hover { background: #f1f6fa; }
body.ot-client-condition #clientHierarchy .ot-tree-node.is-selected { background: var(--ci-cyan-soft); border-left-color: var(--ci-cyan) !important; color: var(--ci-navy); font-weight: 800; }
body.ot-client-condition #clientHierarchy .ot-tree-node[data-level="1"] { padding-left: 8px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node[data-level="2"] { padding-left: 22px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node[data-level="3"] { padding-left: 36px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node[data-level="4"] { padding-left: 50px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node[data-level="5"] { padding-left: 64px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node[data-level="6"] { padding-left: 78px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node[data-level="7"] { padding-left: 92px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node[data-level="8"] { padding-left: 106px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ot-client-condition #clientHierarchy .ot-tree-node__expander,
body.ot-client-condition #clientHierarchy .ot-tree-node__icon { position: relative; display: inline-flex !important; align-items: center; justify-content: center; width: 14px !important; height: 14px !important; }
body.ot-client-condition #clientHierarchy .ot-tree-node__expander::before,
body.ot-client-condition #clientHierarchy .ot-tree-node__icon::before { content: ""; display: inline-block; }
body.ot-client-condition #clientHierarchy .ot-tree-node__expander--collapsed::before { width: 0; height: 0; border-top: 3px solid transparent; border-bottom: 3px solid transparent; border-left: 4px solid currentColor; }
body.ot-client-condition #clientHierarchy .ot-tree-node__expander--expanded::before { width: 0; height: 0; border-top: 4px solid currentColor; border-left: 3px solid transparent; border-right: 3px solid transparent; }
body.ot-client-condition #clientHierarchy .ot-tree-node__expander--leaf::before,
body.ot-client-condition #clientHierarchy .ot-tree-node__icon--device::before,
body.ot-client-condition #clientHierarchy .ot-tree-node__icon--axis::before { width: 7px; height: 7px; border-radius: 50%; background: var(--ci-cyan); }
body.ot-client-condition #clientHierarchy .ot-tree-node__icon--company::before,
body.ot-client-condition #clientHierarchy .ot-tree-node__icon--area::before { width: 9px; height: 9px; border: 1px solid var(--ci-cyan); }
body.ot-client-condition #clientHierarchy .ot-shared-hierarchy__resize,
body.ot-client-condition #clientHierarchy .ot-shared-hierarchy__hidden { display: none; }
body.ot-client-condition #clientHierarchy .ot-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; }

.ot-condition-content { min-width: 0; }
.ot-list-view, .ot-detail-view { background: #fff; border: 1px solid var(--ci-line); box-shadow: var(--ci-shadow); }
.ot-list-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 20px; border-bottom: 1px solid var(--ci-line); }
.ot-list-toolbar__controls { display: flex; align-items: flex-end; gap: 9px; }
.ot-list-toolbar label { display: grid; gap: 4px; color: var(--ci-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.ot-list-toolbar select { min-width: 145px; }
.ot-worklist-search input { width: 190px; }
.ot-muted { margin: 5px 0 0; color: var(--ci-muted); font-size: 12px; }
.ot-release-assurance { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-top: 12px; padding: 11px 14px; border: 1px solid #b8d9c2; border-left: 4px solid var(--ci-green); background: #f2fbf5; color: #294836; font-size: 11px; }
.ot-release-assurance strong { color: #14532d; font-size: 12px; }
.ot-release-assurance code { overflow-wrap: anywhere; color: var(--ci-navy); font-size: 10px; }
.ot-secondary-button { min-height: 40px; border: 1px solid var(--ci-navy); background: #fff; color: var(--ci-navy); padding: 7px 12px; font-weight: 800; cursor: pointer; }
.ot-mobile-hierarchy { display: none; }
.ot-active-filter { margin: 12px 20px 0; padding: 9px 12px; background: var(--ci-cyan-soft); color: var(--ci-navy); font-size: 12px; }
.ot-active-filter button { float: right; border: 0; background: transparent; color: var(--ci-navy); cursor: pointer; font-weight: 800; }
.ot-condition-table-wrap { overflow-x: auto; }
.ot-condition-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ot-condition-table th { padding: 12px 14px; background: #f4f7fa; color: #526071; border-bottom: 1px solid var(--ci-line); text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.ot-condition-table th:nth-child(1) { width: 102px; }.ot-condition-table th:nth-child(2) { width: 20%; }.ot-condition-table th:nth-child(3) { width: 21%; }.ot-condition-table th:nth-child(4) { width: 17%; }.ot-condition-table th:nth-child(5) { width: 20%; }.ot-condition-table th:nth-child(6) { width: 50px; }
.ot-condition-table td { padding: 15px 14px; border-bottom: 1px solid var(--ci-line); vertical-align: top; font-size: 12px; }
.ot-condition-table tbody tr { cursor: pointer; transition: background .12s ease; }
.ot-condition-table tbody tr:hover, .ot-condition-table tbody tr:focus-within { background: #f5fbfd; }
.ot-condition-table tbody tr:last-child td { border-bottom: 0; }
.ot-equipment-name { display: block; color: var(--ci-navy); font-size: 14px; font-weight: 800; }
.ot-equipment-path, .ot-condition-meta { display: block; margin-top: 4px; color: var(--ci-muted); font-size: 10px; line-height: 1.35; }
.ot-condition-name { color: #27354a; font-weight: 800; }
.ot-view-evidence { width: 34px; height: 34px; border: 1px solid var(--ci-navy); background: var(--ci-navy); color: #fff; cursor: pointer; font-weight: 800; }
.ot-empty-state { padding: 60px 24px; text-align: center; }
.ot-empty-state h3 { margin: 0; color: var(--ci-navy); font-family: Georgia, serif; }
.ot-loading-state { padding: 42px 20px; text-align: center; color: var(--ci-muted); font-weight: 700; }
.ot-error-state { display: grid; justify-items: center; gap: 8px; padding: 42px 20px; text-align: center; color: var(--ci-muted); }
.ot-error-state strong { color: var(--ci-navy); font-family: Georgia, serif; font-size: 18px; }
.ot-error-state button { border: 1px solid var(--ci-navy); background: var(--ci-navy); color: #fff; padding: 7px 14px; font-weight: 800; cursor: pointer; }

.ot-detail-view { padding-bottom: 24px; }
.ot-back-button { margin: 18px 22px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ci-navy); padding: 3px 0; cursor: pointer; font-weight: 800; }
.ot-detail-header { display: flex; justify-content: space-between; gap: 24px; padding: 20px 24px 24px; border-bottom: 1px solid var(--ci-line); }
.ot-detail-path { margin: 0 0 8px; color: var(--ci-muted); font-size: 11px; }
.ot-detail-title-row { display: flex; align-items: center; gap: 12px; }
.ot-detail-title-row h2 { margin: 0; color: var(--ci-navy); font-family: Georgia, serif; font-size: 30px; }
.ot-detail-condition { margin: 7px 0 0; color: #3f4a5d; font-size: 16px; }
.ot-detail-currency { min-width: 235px; display: grid; align-content: center; text-align: right; color: var(--ci-muted); font-size: 11px; }
.ot-detail-currency strong { color: var(--ci-navy); font-family: Georgia, serif; font-size: 16px; }
.ot-detail-nav { position: sticky; top: 64px; z-index: 20; display: flex; gap: 4px; overflow-x: auto; padding: 9px 22px; background: var(--ci-navy); }
.ot-detail-nav a { flex: none; color: #fff; padding: 6px 10px; text-decoration: none; font-size: 11px; font-weight: 800; }
.ot-detail-nav a:hover { background: rgba(255,255,255,.13); }
.ot-detail-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding: 20px 22px; background: #f6f8fb; border-bottom: 1px solid var(--ci-line); }
.ot-evidence-card { padding: 15px; background: #fff; border: 1px solid var(--ci-line); border-top: 3px solid #aab6c5; }
.ot-evidence-card--accent { border-top-color: var(--ci-cyan); }
.ot-card-label { margin: 0 0 7px; color: var(--ci-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ot-evidence-card h3 { margin: 0 0 8px; color: var(--ci-navy); font-size: 15px; }
.ot-evidence-card p:last-child { margin: 0; color: #536074; font-size: 11px; }
.ot-evidence-section { padding: 24px 22px 0; scroll-margin-top: 125px; }
.ot-issued-proof { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
.ot-issued-proof div { padding: 11px 12px; border: 1px solid var(--ci-line); border-top: 3px solid var(--ci-cyan); background: #f8fafc; }
.ot-issued-proof span { display: block; color: var(--ci-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ot-issued-proof strong { display: block; margin-top: 5px; overflow-wrap: anywhere; color: var(--ci-navy); font-size: 12px; }
.ot-issued-lines { display: grid; gap: 8px; }
.ot-issued-line { padding: 12px 14px; border: 1px solid var(--ci-line); border-left: 4px solid var(--ci-cyan); background: #fff; color: #39475a; font-size: 12px; line-height: 1.45; }
.ot-issued-line strong { color: var(--ci-navy); }
.ot-issued-analysis { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.ot-issued-analysis-card { min-width: 0; padding: 13px 14px; border: 1px solid var(--ci-line); background: #f7f9fb; }
.ot-issued-analysis-card h3 { margin: 0 0 6px; color: var(--ci-navy); font-size: 13px; }
.ot-issued-analysis-card p { margin: 0; color: #4b596c; font-size: 11px; line-height: 1.42; overflow-wrap: anywhere; }
.ot-issued-chart-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.ot-issued-chart { margin: 0; border: 1px solid var(--ci-line); background: #fff; }
.ot-issued-chart img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; background: #fff; }
.ot-issued-chart figcaption { padding: 10px 12px; border-top: 1px solid var(--ci-line); color: #465469; font-size: 11px; }
.ot-issued-chart code { display: block; margin-top: 4px; overflow-wrap: anywhere; color: var(--ci-muted); font-size: 9px; }
.ot-read-only { color: var(--ci-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.ot-chart-card { min-width: 0; background: #fff; border: 1px solid var(--ci-line); }
.ot-chart-meta { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--ci-line); color: var(--ci-muted); font-size: 11px; }
.ot-chart-meta strong { color: var(--ci-navy); }
.ot-chart { min-height: 280px; padding: 8px; overflow: hidden; }
.ot-chart svg { display: block; width: 100%; height: 280px; }
.ot-chart-empty { min-height: 264px; display: grid; place-content: center; gap: 7px; padding: 24px; text-align: center; color: var(--ci-muted); }
.ot-chart-empty strong { color: var(--ci-navy); font-family: Georgia, serif; font-size: 17px; }
.ot-chart-empty span { max-width: 520px; font-size: 11px; }
.ot-chart-caption { margin: 0; padding: 10px 14px 12px; border-top: 1px solid var(--ci-line); color: #4e5b70; font-size: 11px; }
.ot-capture-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ot-annotation-note { display: flex; gap: 12px; margin-top: 12px; padding: 14px 16px; background: #edf8fb; border-left: 4px solid var(--ci-cyan); }
.ot-annotation-note__icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ci-cyan); color: #fff; font-weight: 800; }
.ot-annotation-note strong { color: var(--ci-navy); }
.ot-annotation-note p { margin: 3px 0 0; color: #465469; font-size: 12px; }
.ot-operating-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.ot-operating-card { padding: 16px; background: #f7f9fb; border: 1px solid var(--ci-line); }
.ot-operating-card span { display: block; color: var(--ci-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.ot-operating-card strong { display: block; margin-top: 6px; color: var(--ci-navy); font-family: Georgia, serif; font-size: 20px; }
.ot-operating-card p { margin: 5px 0 0; color: #586579; font-size: 11px; }
.ot-recommendation { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 20px; background: var(--ci-navy); color: #fff; }
.ot-recommendation__priority { display: grid; place-items: center; min-height: 105px; border: 1px solid rgba(255,255,255,.35); text-align: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ot-recommendation h3 { margin: 0 0 7px; color: #fff; font-family: Georgia, serif; font-size: 21px; }
.ot-recommendation p { margin: 0; color: #dce8f6; font-size: 13px; }
.ot-response-dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 16px 0 0; }
.ot-response-dl div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 9px; }
.ot-response-dl dt { color: #65d7ec; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.ot-response-dl dd { margin: 4px 0 0; color: #fff; font-size: 11px; }
.ot-history-timeline { list-style: none; margin: 0; padding: 0 0 8px; }
.ot-history-item { position: relative; display: grid; grid-template-columns: 130px 110px 1fr; gap: 14px; padding: 0 0 20px 24px; border-left: 2px solid var(--ci-line); margin-left: 8px; }
.ot-history-item::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--history-colour); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--history-colour); }
.ot-history-item:last-child { padding-bottom: 0; }
.ot-history-item time { color: var(--ci-muted); font-size: 11px; }
.ot-history-item h3 { margin: 0; color: var(--ci-navy); font-size: 13px; }
.ot-history-item p { margin: 3px 0 0; color: #526071; font-size: 11px; }
.ot-history-item--red { --history-colour: var(--ci-red); }.ot-history-item--amber { --history-colour: var(--ci-amber); }.ot-history-item--blue { --history-colour: var(--ci-blue); }.ot-history-item--green { --history-colour: var(--ci-green); }.ot-history-item--grey { --history-colour: var(--ci-grey); }

.ot-client-footer { display: flex; justify-content: space-between; gap: 18px; padding: 17px max(24px, calc((100% - 1580px) / 2)); background: var(--ci-navy-deep); border-top: 3px solid var(--ci-cyan); color: #c9d9eb; font-size: 11px; }
.ot-client-footer strong { color: #fff; }
.ot-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 1180px) {
  .ot-client-condition .ot-shell__topbar { gap: 12px; padding-inline: 16px; }
  .ot-client-mark { display: none; }
  .ot-condition-page { width: calc(100% - 24px); }
  .ot-status-grid { grid-template-columns: repeat(3,1fr); }
  .ot-detail-summary { grid-template-columns: repeat(2,1fr); }
  .ot-list-toolbar { align-items: flex-start; flex-direction: column; }
  .ot-list-toolbar__controls { width: 100%; }
  .ot-worklist-search { flex: 1; }
  .ot-worklist-search input { width: 100%; }
  .ot-condition-table th:nth-child(5), .ot-condition-table td:nth-child(5) { display: none; }
}

@media (max-width: 900px) {
  .ot-client-condition .ot-shell__nav { display: none; }
  .ot-client-condition .ot-shell__brand-link { margin-right: auto; min-width: 0; }
  .ot-condition-workspace { grid-template-columns: 1fr; }
  .ot-hierarchy-panel { position: fixed; inset: 0 auto 0 0; z-index: 300; width: min(340px, 90vw); max-height: none; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 20px 0 55px rgba(0,31,70,.28); }
  .ot-hierarchy-panel.is-open { transform: translateX(0); }
  .ot-icon-button, .ot-mobile-hierarchy { display: block; }
  .ot-capture-grid { grid-template-columns: 1fr; }
  .ot-operating-grid { grid-template-columns: repeat(2,1fr); }
  .ot-issued-proof { grid-template-columns: repeat(2,1fr); }
  .ot-chart { min-height: 250px; }.ot-chart svg { height: 250px; }
}

@media (max-width: 680px) {
  .ot-client-condition .ot-shell__topbar { min-height: 58px; padding: 7px 10px; }
  .ot-client-condition .ot-shell-title { font-size: 13px; }
  .ot-client-condition .ot-user-chip { display: none; }
  .ot-client-condition .ot-shell__signout { padding: 6px 8px; font-size: 11px; }
  .ot-condition-page { width: 100%; padding-top: 0; }
  .ot-condition-hero { align-items: flex-start; flex-direction: column; padding: 22px 16px; border-left: 0; border-right: 0; }
  .ot-condition-hero h1 { font-size: 32px; }
  .ot-condition-hero__summary { font-size: 14px; }
  .ot-as-at { min-width: 0; text-align: left; }
  .ot-demo-notice { align-items: flex-start; margin-top: 0; border-left: 0; border-right: 0; }
  .ot-release-assurance { grid-template-columns: 1fr; margin-top: 0; border-left-width: 0; border-right-width: 0; }
  .ot-status-section { margin-top: 10px; padding: 16px 12px; border-left: 0; border-right: 0; }
  .ot-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ot-status-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .ot-status-card { min-height: 128px; padding: 13px; }
  .ot-status-card__count { font-size: 32px; }
  .ot-status-card:last-child { grid-column: 1 / -1; }
  .ot-rag-definition { grid-template-columns: 1fr; gap: 5px; }
  .ot-condition-workspace { margin-top: 10px; }
  .ot-list-view, .ot-detail-view { border-left: 0; border-right: 0; }
  .ot-list-toolbar { padding: 16px 12px; }
  .ot-list-toolbar__controls { display: grid; grid-template-columns: repeat(2,1fr); }
  .ot-list-toolbar__controls label, .ot-list-toolbar select { width: 100%; min-width: 0; }
  .ot-worklist-search { grid-column: 1 / -1; }
  .ot-condition-table thead { display: none; }
  .ot-condition-table, .ot-condition-table tbody, .ot-condition-table tr, .ot-condition-table td { display: block; width: 100%; }
  .ot-condition-table tbody tr { position: relative; padding: 14px 48px 14px 14px; border-bottom: 1px solid var(--ci-line); }
  .ot-condition-table td { padding: 3px 0; border: 0; }
  .ot-condition-table td:first-child { margin-bottom: 5px; }
  .ot-condition-table td:nth-child(4) { margin-top: 7px; padding-top: 7px; border-top: 1px solid #edf0f4; }
  .ot-condition-table td:nth-child(5) { display: none; }
  .ot-condition-table td:last-child { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
  .ot-detail-header { flex-direction: column; padding: 16px; }
  .ot-detail-title-row { align-items: flex-start; flex-direction: column; }
  .ot-detail-title-row h2 { font-size: 26px; }
  .ot-detail-currency { min-width: 0; text-align: left; }
  .ot-detail-nav { top: 58px; padding-inline: 10px; }
  .ot-detail-summary { grid-template-columns: 1fr; padding: 12px; }
  .ot-evidence-section { padding: 20px 12px 0; }
  .ot-chart { min-height: 220px; padding: 2px; }.ot-chart svg { height: 220px; }
  .ot-operating-grid { grid-template-columns: 1fr; }
  .ot-issued-proof, .ot-issued-analysis, .ot-issued-chart-gallery { grid-template-columns: 1fr; }
  .ot-recommendation { grid-template-columns: 1fr; padding: 16px; }
  .ot-recommendation__priority { min-height: 50px; }
  .ot-response-dl { grid-template-columns: 1fr; }
  .ot-history-item { grid-template-columns: 1fr; gap: 5px; padding-left: 17px; }
  .ot-client-footer { flex-direction: column; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
