/* Product navigation and deal context */
.wd-shell {
  --wd-ink:var(--as-ink); --wd-muted:var(--as-muted); --wd-line:var(--as-line);
  --wd-fill:var(--as-subtle); --wd-paper:var(--as-surface); --wd-accent:var(--as-accent);
  --wd-outline:color-mix(in srgb,var(--as-muted) 58%,white);
  --ink:var(--wd-ink); --muted:var(--wd-muted); --line:var(--wd-line); --blue:var(--wd-accent);
  min-height:100svh;display:flex;flex-direction:column;
  font:400 1rem/1.5 Inter,system-ui,sans-serif;color:var(--wd-ink);background:var(--wd-paper);
}
.wd-shell :where(h1,h2,h3,h4,p,ul,dl,dd) {margin:0}
.wd-shell a {color:inherit;text-decoration:none}
.wd-shell p,.wd-shell small {color:var(--wd-muted)}
.wd-shell button,.wd-shell select,.wd-shell summary {cursor:pointer}
.wd-shell :where(button,input,select,textarea) {font-family:inherit}
.wd-shell :is(button,a,summary,select,input,textarea):focus-visible {outline:3px solid var(--as-focus);outline-offset:3px}
.wd-shell .icon {width:17px;height:17px;flex:none}
.wd-shell h2 {font-size:1.04rem;font-weight:650;letter-spacing:-.025em;line-height:1.35;color:var(--wd-ink)}
.wd-mast {background:var(--wd-paper);border-bottom:1px solid var(--wd-line)}
.wd-mast-inner,.wd-foot>div {max-width:1360px;margin:auto;padding-inline:clamp(16px,4vw,64px);display:flex;align-items:center;gap:24px}
.wd-mast-inner {min-height:60px;justify-content:space-between}
.wd-logo {display:inline-flex;align-items:center;white-space:nowrap;letter-spacing:-.08em;font-size:1.48rem;font-weight:680;line-height:1}
.wd-logo>span {color:var(--wd-accent)}
.wd-logo-bars {display:inline-flex;align-items:center;gap:2px;height:24px;transform:skew(-17deg);margin-right:9px}
.wd-logo-bars i {width:4px;height:9px;background:var(--wd-accent)}
.wd-logo-bars i:nth-child(2){height:17px}.wd-logo-bars i:nth-child(3){height:24px}.wd-logo-bars i:nth-child(4){height:12px}
.wd-nav,.wd-case-nav,.wd-context,.wd-context-name,.mast-tools,.wd-actions,.wd-back,.wd-detail-location {display:flex;align-items:center}
.wd-nav {gap:7px;align-self:stretch}
.wd-nav a {position:relative;display:flex;align-items:center;padding-inline:10px;font-size:.875rem;color:var(--wd-muted);font-weight:500}
.wd-nav a:hover,.wd-nav a[aria-current] {color:var(--wd-ink)}
.wd-nav a[aria-current]::after {content:'';position:absolute;height:2px;background:var(--wd-accent);bottom:-1px;left:10px;right:10px}
.wd-shell .mast-tools {gap:5px}
.wd-sample,.wd-help {width:34px;height:34px;display:grid;place-items:center;color:var(--wd-muted);border:none;border-radius:7px;background:transparent}
.wd-sample:hover,.wd-help:hover {color:var(--wd-ink);background:var(--wd-fill)}
.wd-mobile-navigation {display:none}
.wd-main {width:100%;max-width:1280px;margin:0 auto;padding:0 clamp(16px,4vw,64px) clamp(40px,6vh,76px);flex:1;min-width:0}
.wd-main:focus,.wd-main h1:focus {outline:none}
.wd-context {min-height:65px;justify-content:space-between;gap:16px;border-bottom:1px solid var(--wd-line)}
.wd-context-name {gap:8px;font-size:.86rem;font-weight:600}
.wd-context-name .icon {color:var(--wd-accent)}
.wd-case-nav {gap:3px}
.wd-case-nav a {display:grid;place-items:center;padding:7px 12px;min-height:34px;border-radius:7px;color:var(--wd-muted);font-size:.84rem;font-weight:550}
.wd-case-nav a[aria-current] {color:var(--as-on-select);background:var(--as-select)}
.wd-case-nav a:hover {color:var(--wd-ink);background:var(--wd-fill)}
.wd-heading,.wd-detail-head {display:flex;align-items:center;justify-content:space-between;gap:20px}
.wd-heading {padding:clamp(19px,3.1vw,37px) 0 23px}
.wd-heading h1,.wd-detail-head h1,.wd-main .page-head h1 {font:600 clamp(1.8rem,2.8vw,2.65rem)/1.1 Inter,system-ui,sans-serif;letter-spacing:-.055em;color:var(--wd-ink)}
.wd-heading p {font-size:.95rem;margin-top:7px;max-width:68ch}
.wd-actions {gap:8px;flex-wrap:wrap}
.wd-actions:empty {display:none}
.wd-shell .wd-btn,.wd-shell .wd-panel-link {display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:.85rem;line-height:1.3;font-weight:600}
.wd-shell .wd-btn {min-height:40px;border:1px solid var(--wd-line);border-radius:8px;padding:9px 14px;background:var(--wd-paper);color:var(--wd-ink)}
.wd-shell .wd-btn:hover {background:var(--wd-fill);border-color:var(--wd-outline)}
.wd-shell .wd-primary {color:var(--as-accent-ink);background:var(--wd-accent);border-color:var(--wd-accent)}
.wd-shell .wd-primary:hover {background:var(--wd-accent);border-color:var(--wd-ink)}
.wd-shell .wd-primary:disabled {background:var(--wd-fill);border-color:var(--wd-line);color:var(--wd-muted);cursor:not-allowed}
.wd-foot {border-top:1px solid var(--wd-line)}
.wd-foot>div {min-height:47px;justify-content:space-between;color:var(--wd-muted);font-size:.76rem}
.wd-foot button {appearance:none;border:0;background:none;color:inherit;padding:4px 0;font:inherit;text-align:left}
.wd-foot button:hover,.wd-foot a:hover,.wd-panel-link:hover,.wd-detail-location a:hover {text-decoration:underline;text-underline-offset:3px}

/* Intake overview and workstream register */
.wd-deal-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,.38fr);gap:clamp(18px,2.4vw,36px);align-items:start}
.wd-issues,.wd-coverage,.wd-history,.wd-source-panel,.wd-analysis,.wd-review-form,.wd-files,.wd-questions,.wd-brief-findings,.wd-drafts,.wd-main[data-page="findings"]>.wd-findings {min-width:0;border:1px solid var(--wd-line);border-radius:13px;background:var(--wd-paper)}
.wd-issues,.wd-source-panel,.wd-analysis,.wd-review-form,.wd-history,.wd-coverage {padding:clamp(15px,2.1vw,25px)}
.wd-issues {padding-bottom:4px}
.wd-panel-head,.wd-coverage header {display:flex;align-items:center;justify-content:space-between;gap:12px}
.wd-panel-head h2 {display:flex;align-items:center;gap:7px}
.wd-panel-head>span,.wd-count,.wd-caption,.wd-code,.wd-source-panel small,.wd-assignment span,.wd-form-footer>span {font-size:.79rem;color:var(--wd-muted)}
.wd-panel-head h2 small,.wd-switches b {display:inline-grid;place-items:center;min-width:20px;min-height:19px;padding:0 4px;background:var(--wd-fill);border-radius:5px;color:var(--wd-muted);font-weight:600;font-size:.73rem}
.wd-overview-tabs {display:none!important}
.wd-findings {--row:minmax(0,1fr) minmax(90px,.29fr) 68px 14px}
.wd-main[data-page="findings"]>.wd-findings {padding:3px 19px}
.wd-list-head,.wd-finding-line {display:grid;grid-template-columns:var(--row);align-items:center;gap:12px}
.wd-list-head {border-bottom:1px solid var(--wd-line);min-height:39px;color:var(--wd-muted);font-size:.76rem}
.wd-finding-line {min-height:67px;padding:8px 0;border-bottom:1px solid var(--wd-line)}
.wd-finding-line:last-child,.wd-file:last-child,.wd-question:last-child,.wd-brief-issue:last-child {border-bottom:0}
.wd-finding-line:hover,.wd-file:hover,.wd-question summary:hover {background:color-mix(in srgb,var(--as-select) 38%,white)}
.wd-finding-name {display:flex;align-items:center;gap:12px;min-width:0}
.wd-finding-name>.ws-cluster {width:59px;flex:none}
.wd-finding-name strong {font-size:clamp(.96rem,1.14vw,1.07rem);line-height:1.3;font-weight:600;letter-spacing:-.023em;overflow-wrap:break-word}
.wd-finding-value {display:flex;align-items:baseline;flex-wrap:wrap;gap:1px 6px;line-height:1.2}
.wd-finding-value b {font-size:clamp(1.1rem,1.65vw,1.5rem);font-weight:570;letter-spacing:-.055em;font-variant-numeric:tabular-nums;white-space:nowrap}
.wd-finding-value small,.wd-finding-review small {font-size:.75rem}
.wd-finding-review,.wd-open-finding {display:grid;place-items:center;color:var(--wd-muted)}
.wd-open-finding .icon {width:14px;height:14px}
.wd-review-mark {display:inline-grid;place-items:center;color:var(--as-c3);width:21px;height:21px}
.wd-review-mark svg {width:19px;height:19px}
.wd-review-mark[data-review-state=Unreviewed] {color:var(--wd-muted)}
.wd-review-mark[data-review-state="Accepted with conditions"] {color:var(--as-c1)}
.wd-review-mark[data-review-state=Reopened] {color:var(--as-c0)}
.wd-key {position:relative;justify-self:center}
.wd-key summary {display:flex;align-items:center;gap:2px;min-height:35px;list-style:none}
.wd-key summary svg {width:11px!important;transform:rotate(90deg)}
.wd-key summary::-webkit-details-marker,.wd-question summary::-webkit-details-marker,.wd-condition summary::-webkit-details-marker {display:none}
.wd-key-panel {position:absolute;z-index:4;right:0;top:100%;width:max-content;max-width:80vw;padding:10px;border:1px solid var(--wd-line);border-radius:8px;background:white;box-shadow:0 8px 23px #172a4814}
.wd-key-panel ul {list-style:none;padding:0}
.wd-key-panel li {display:flex;align-items:center;gap:8px;min-height:29px;font-size:.78rem;color:var(--wd-ink)}
.wd-overview-side {display:grid;gap:13px}
.wd-coverage-result {display:flex;gap:17px;align-items:center;margin:13px 0 17px}
.wd-coverage-result svg {width:70px;height:70px;flex:none;transform:rotate(-90deg)}
.wd-coverage-result circle {fill:none;stroke-width:6px}
.wd-ring-base {stroke:var(--wd-fill)}.wd-ring-value {stroke:var(--wd-accent);stroke-linecap:round}
.wd-coverage-result div {display:grid}
.wd-coverage-result b {font-size:1.8rem;font-weight:600;line-height:1.1;letter-spacing:-.055em;font-variant-numeric:tabular-nums}
.wd-coverage-result b span {font-size:1.05rem;color:var(--wd-muted);font-weight:450}
.wd-coverage-result div>span,.wd-coverage dl {font-size:.83rem}
.wd-coverage-result div>span {color:var(--wd-muted)}
.wd-coverage dl {display:grid;gap:7px;margin-bottom:16px}
.wd-coverage dl div {display:flex;align-items:center;justify-content:space-between}
.wd-coverage dt {display:flex;align-items:center;gap:7px}.wd-coverage dt i {width:7px;height:7px;border:1px solid #63728480;border-radius:2px}
.wd-coverage dd {font-weight:600;font-variant-numeric:tabular-nums}
.wd-shell .wd-panel-link {justify-content:space-between;width:100%;padding-top:13px;border-top:1px solid var(--wd-line);color:var(--wd-accent)}
.wd-panel-link .icon {width:14px}
.wd-totals {display:grid;grid-template-columns:1fr 1fr;gap:1px;border:1px solid var(--wd-line);border-radius:11px;background:var(--wd-line);overflow:hidden}
.wd-totals a {display:grid;gap:2px;align-content:center;padding:10px 13px;background:white}
.wd-totals a:hover {background:var(--wd-fill)}
.wd-totals b {font-size:1.18rem;font-variant-numeric:tabular-nums;color:var(--wd-ink)}
.wd-totals span {font-size:.75rem;color:var(--wd-muted)}
.wd-toolbar,.wd-select-label,.wd-review-form label {display:flex;gap:9px}
.wd-toolbar {align-items:center;margin-bottom:16px;gap:9px}
.wd-toolbar .wd-count {margin-left:auto;white-space:nowrap}
.wd-toolbar .wd-select-label span {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.wd-select-label,.wd-review-form label {flex-direction:column;gap:5px;font-size:.82rem;font-weight:550;color:var(--wd-ink)}
.wd-shell input,.wd-shell select,.wd-shell textarea {appearance:auto;min-height:40px;min-width:0;color:var(--wd-ink);background:white;border:1px solid var(--wd-outline);border-radius:7px;font:400 .875rem/1.4 Inter,system-ui,sans-serif;padding:8px 10px}
.wd-shell select {background-image:none;padding-right:7px;max-width:100%}
.wd-search {display:flex;align-items:center;position:relative;flex:0 1 330px;min-width:0}
.wd-search input {width:100%;padding-left:36px}
.wd-search .icon {position:absolute;left:11px;width:15px;height:15px;color:var(--wd-muted);pointer-events:none}
.wd-shell ::placeholder {color:var(--wd-muted);opacity:1}
.wd-empty,.wd-missing {text-align:center;border:1px dashed var(--wd-line);border-radius:12px;padding:clamp(32px,6vw,70px) 16px;background:color-mix(in srgb,var(--as-paper) 55%,white)}
.wd-empty>.icon,.wd-missing>.icon {width:26px;height:26px;margin-bottom:12px;color:var(--wd-muted)}
.wd-empty p,.wd-missing p {font-size:.92rem;margin:7px 0 16px}
.wd-missing {margin-top:23px}
.wd-missing .wd-heading {display:grid;justify-content:center;padding:0}.wd-missing .wd-actions {justify-content:center}
.wd-storage {padding:9px;border-radius:6px;background:var(--as-w4);margin:8px 0}

/* Finding: source, interpretation, action and decision history */
.wd-detail-location {gap:8px;margin:19px 0 10px;color:var(--wd-muted);font-size:.8rem}
.wd-detail-head>div {display:flex;align-items:center;gap:12px;min-width:0}
.wd-detail-head h1 {font-size:clamp(1.55rem,2.4vw,2.1rem)}
.wd-observation {display:grid;grid-template-columns:minmax(120px,.38fr) minmax(0,1.62fr);align-items:center;gap:clamp(18px,3vw,40px);margin:18px 0 13px;padding:clamp(16px,2vw,23px) 0;border-block:1px solid var(--wd-line)}
.wd-result-metric {min-width:0;display:grid;gap:4px;border-left:3px solid var(--channel);padding-left:13px}
.wd-result-metric strong {color:var(--channel);font-size:clamp(2rem,3.15vw,2.85rem);font-variant-numeric:tabular-nums;font-weight:590;letter-spacing:-.06em;line-height:1.02}
.wd-result-metric span {font-size:.81rem;color:var(--wd-muted);line-height:1.3}
.wd-shell .wd-takeaway {max-width:43ch;font-size:clamp(1.08rem,1.65vw,1.42rem);font-weight:560;line-height:1.32;letter-spacing:-.032em;text-wrap:pretty}
.wd-details-bar,.wd-current-status,.wd-switches {display:flex;align-items:center}
.wd-details-bar {justify-content:space-between;gap:12px;margin:13px 0 15px}
.wd-current-status {gap:10px}.wd-current-status>i {width:1px;height:13px;background:var(--wd-line)}
.wd-status {display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:550;color:var(--wd-muted);line-height:1.35}
.wd-status i {width:7px;height:7px;flex:none;border-radius:50%;border:1.5px solid currentColor}
.wd-status.wd-teal {color:var(--as-c1)}.wd-status.wd-ochre {color:var(--as-c3)}.wd-status.wd-red {color:var(--as-c0)}
.wd-status:is(.wd-teal,.wd-ochre,.wd-red) i {background:currentColor}.wd-status.wd-red i {border-radius:1px;transform:rotate(45deg)}
.wd-switches {gap:3px;flex-wrap:wrap}
.wd-switches button {display:flex;align-items:center;gap:7px;min-height:36px;padding:7px 11px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--wd-muted);font:550 .84rem/1.2 Inter,system-ui,sans-serif}
.wd-switches button:hover {background:var(--wd-fill)}
.wd-switches button[aria-pressed=true] {background:var(--as-select);color:var(--as-on-select)}
.wd-detail-grid {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr);gap:17px;align-items:start}
.wd-source-panel h2,.wd-review-form h2,.wd-analysis h2 {font-size:1.05rem}
.wd-analysis {background:var(--wd-paper)}
.wd-kicker {display:block;color:var(--wd-muted);font-size:.78rem;font-weight:550;margin-bottom:5px}
.wd-analysis .wd-next-check {max-width:28ch;font-size:clamp(1.07rem,1.5vw,1.26rem);letter-spacing:-.035em;line-height:1.3;font-weight:590;text-wrap:pretty}
.wd-analysis p,.wd-history-list p,.wd-condition p,.wd-draft p,.wd-method p {font-size:.92rem;line-height:1.57;overflow-wrap:anywhere}
.wd-analysis p {margin-top:6px}
.wd-analysis h3 {margin-top:18px;font-size:.89rem}
.wd-analysis details {margin-top:16px;padding-top:12px;border-top:1px solid var(--wd-line)}
.wd-analysis summary,.wd-method summary {font-size:.84rem;font-weight:600;cursor:pointer}
.wd-review-context {display:grid;grid-template-columns:auto 1fr;gap:7px 12px;margin:15px 0;font-size:.79rem;color:var(--wd-muted)}
.wd-analysis .wd-quiet {display:inline-flex;font-size:.8rem;color:var(--wd-accent);margin-top:8px}
.wd-analysis .wd-btn {margin-top:12px}
.wd-refs {display:grid}
.wd-shell .wd-ref {display:flex;align-items:center;gap:8px;width:100%;min-height:42px;text-align:start;background:transparent;color:var(--wd-accent);border:0;border-bottom:1px solid var(--wd-line);border-radius:0;padding:8px 0;font-size:.83rem;line-height:1.4}
.wd-ref:last-child {border-bottom:0}
.wd-ref:hover .wd-ref-name {text-decoration:underline}
.wd-ref-icon {display:grid;place-items:center;width:26px;height:29px;border-radius:5px;background:var(--wd-fill);color:var(--wd-muted);flex:none}
.wd-ref-icon .icon {width:14px}
.wd-ref-name {flex:1;min-width:0}
.wd-ref>small {font-size:.72rem;max-width:115px}
.wd-ref>.icon {width:12px;height:12px;color:var(--wd-muted)}
.wd-assignment {display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:15px}
.wd-assignment b {color:var(--wd-ink);font-weight:550}
.wd-review-form {display:grid;gap:14px}
.wd-action-select {padding-bottom:14px;border-bottom:1px solid var(--wd-line)}
.wd-review-form .wd-action-select label>span {font-size:.95rem;font-weight:620}
.wd-action-select select {font-weight:560}
.wd-action-select p {margin-top:7px;font-size:.8rem;line-height:1.4}
.wd-action-select select {border-color:var(--wd-accent)}
.wd-review-form textarea {width:100%;resize:vertical;min-height:88px}
.wd-owner-fields {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.83fr);gap:9px}
.wd-owner-fields label {min-width:0}
.wd-owner-fields :is(input,select) {width:100%}
.wd-form-footer {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.wd-history {max-width:900px}
.wd-history-list {margin-top:20px}
.wd-history-list .activity-item {margin:0 0 0 4px;padding:0 0 16px 18px;border-left:1px solid var(--wd-line);font-size:.92rem}
.wd-history-list .activity-item:before {background:var(--wd-accent);border:2px solid white}
.wd-history-list .activity-item:last-child {padding-bottom:0;border-color:transparent}
.wd-history-list .activity-item strong {display:block;font-weight:600}
.wd-history-list .activity-item small {font-size:.76rem}
.wd-history-list .activity-item p {margin-top:3px}

/* Local diagrams retain data shape and full text at narrow widths. */
.wd-diagram {margin:15px 0 9px;padding:14px;border-radius:8px;background:var(--as-paper)}
.wd-bars {display:grid;gap:9px}
.wd-bars>div {display:grid;grid-template-columns:90px minmax(0,1fr) 61px;gap:9px;align-items:center;font-size:.78rem}
.wd-bars b,.wd-share b,.wd-time b {font-variant-numeric:tabular-nums;font-size:.9rem}
.wd-bar {height:13px;background:repeating-linear-gradient(135deg,var(--as-w0) 0 3px,transparent 3px 6px)}
.wd-bar>i {display:block;height:100%;width:var(--length);background:var(--wd-muted);transform-origin:left;animation:wd-reveal .45s ease-out both}
.wd-bar .wd-ledger-fill {background:var(--as-c0)}.wd-bar .wd-ops-estimate {background:var(--as-c5)}
@keyframes wd-reveal {from{transform:scaleX(0)}to{transform:scaleX(1)}}
.wd-share,.wd-marks-legend {display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:var(--wd-muted);font-size:.78rem}
.wd-share-track {display:grid;grid-template-columns:repeat(10,1fr);gap:3px;width:100%}
.wd-share-track i {height:19px;background:#8693a4}.wd-share-track .wd-orion {background:var(--as-c1)}
.wd-time {display:flex;gap:12px;align-items:center}
.wd-time div {display:grid;gap:2px}.wd-time span {font-size:.76rem;color:var(--wd-muted)}
.wd-time i {flex:1;border-top:2px dashed var(--wd-muted)}
.wd-data-marks {display:grid;grid-template-columns:repeat(var(--num),minmax(0,1fr));gap:3px}
.wd-data-mark {display:flex;flex-direction:column;justify-content:flex-end;gap:5px;min-width:0}
.wd-data-mark span {font-size:.69rem;line-height:1.22;overflow-wrap:anywhere;color:var(--wd-muted)}
.wd-data-mark i {display:block;height:17px;background:var(--wd-muted)}
.wd-data-mark.wd-unfiled i {background:repeating-linear-gradient(-45deg,var(--channel) 0 3px,transparent 3px 6px);border:1px solid var(--wd-outline)}
.wd-marks-legend {margin-top:8px}

/* Documents, disclosure groups and decision record */
.wd-files {padding:0 17px}
.wd-file,.wd-file-head {display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.26fr) 106px 15px;gap:16px;align-items:center;text-align:start}
.wd-file-head {padding:10px 0;color:var(--wd-muted);font-size:.76rem;border-bottom:1px solid var(--wd-line)}
.wd-file {min-height:63px;width:100%;padding:9px 0;color:var(--wd-ink);background:transparent;border:0;border-bottom:1px solid var(--wd-line);border-radius:0}
.wd-file-name {display:flex;align-items:center;gap:13px;min-width:0}
.wd-file-name>span:last-child {display:grid;gap:3px}
.wd-file strong {font-size:1rem;font-weight:600;line-height:1.35;letter-spacing:-.012em}
.wd-file-icon {display:grid;place-items:center;flex:none;width:35px;height:38px;border-radius:7px;color:var(--file-ink);background:var(--file-wash)}
.wd-file-name small,.wd-file-date,.wd-file-version {color:var(--wd-muted);font-size:.76rem;line-height:1.35}
.wd-file>.icon {width:14px;height:14px;color:var(--wd-muted)}
.wd-scope-group {display:grid;grid-template-columns:minmax(125px,.24fr) minmax(0,1fr);align-items:start;gap:clamp(12px,2vw,30px);margin:18px 0 23px}
.wd-scope-group>h2 {display:flex;align-items:center;gap:7px;font-size:.9rem;line-height:1.4;margin-top:13px}
.wd-scope-group>h2 .ws-mark {width:21px;height:21px;color:var(--wd-muted)}
.wd-questions {padding:0 14px}
.wd-question {border-bottom:1px solid var(--wd-line)}
.wd-question summary {min-height:56px;display:grid;grid-template-columns:minmax(0,1fr) 106px 14px;gap:13px;align-items:center;list-style:none;padding:10px 0}
.wd-question summary strong {font-weight:550;font-size:.88rem;line-height:1.42}
.wd-question summary>.icon,.wd-condition summary .icon {width:13px;height:13px;transform:rotate(90deg);color:var(--wd-muted)}
.wd-question[open] summary>.icon,.wd-condition[open] summary .icon {transform:rotate(-90deg)}
.wd-question-detail {padding:4px 0 15px}
.wd-shell .wd-full-question {max-width:70ch;margin-bottom:9px;color:var(--wd-ink);font-size:.92rem;line-height:1.5}
.wd-question-meta {display:flex;flex-wrap:wrap;gap:4px 13px;color:var(--wd-muted);font-size:.76rem;line-height:1.4}
.wd-question-detail .wd-btn {margin-top:10px}
.wd-caption {line-height:1.5}
.wd-decision-band {display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--as-paper);border:1px solid var(--wd-line);border-radius:12px;padding:16px 19px}
.wd-decision-band>div {display:grid;gap:3px}
.wd-decision-band>div:last-child {text-align:right}
.wd-decision-band h2 {font-size:clamp(1.03rem,1.8vw,1.34rem)}
.wd-decision-band span {font-size:.78rem;color:var(--wd-muted)}
.wd-decision-band b {color:var(--wd-accent);font-variant-numeric:tabular-nums;font-size:1.48rem;line-height:1.1;letter-spacing:-.045em;font-weight:600}
.wd-brief-tabs {margin:16px 0 13px}
.wd-brief-findings,.wd-drafts {padding:0 18px}
.wd-brief-issue {padding:15px 0 13px;border-bottom:1px solid var(--wd-line)}
.wd-decision-row {display:grid;grid-template-columns:60px minmax(0,1fr) minmax(143px,.24fr);gap:12px;align-items:start}
.wd-decision-icon {padding-top:4px}
.wd-decision-question,.wd-decision-owner {min-width:0;display:grid;justify-items:start;gap:3px}
.wd-decision-question>a {width:fit-content;font-size:clamp(1rem,1.4vw,1.17rem);font-weight:610;letter-spacing:-.035em;line-height:1.3;overflow-wrap:break-word}
.wd-decision-question>a:hover {color:var(--wd-accent);text-decoration:underline;text-underline-offset:3px}
.wd-decision-question small,.wd-draft small,.wd-decision-owner small {font-size:.77rem;line-height:1.4}
.wd-next-line {display:inline-flex;align-items:baseline;gap:5px;color:var(--wd-muted);font-size:.84rem;line-height:1.42}
.wd-next-line .icon {width:10px;height:10px;color:var(--wd-accent)}
.wd-decision-owner {align-content:start;font-size:.84rem;line-height:1.4}
.wd-decision-owner>span:first-child {font-weight:560}
.wd-decision-owner .wd-status {margin-top:2px}
.wd-condition {margin:7px 0 0 72px}
.wd-condition summary {display:flex;width:fit-content;align-items:center;gap:4px;padding:4px 0;color:var(--wd-accent);font-size:.78rem;font-weight:550;list-style:none}
.wd-condition p {margin:7px 0}
.wd-condition .wd-question-meta {margin-bottom:6px}
.wd-condition .wd-saved-note {color:var(--wd-ink)}
.wd-draft-text {grid-column:1;min-width:0}
.wd-draft-text summary {color:var(--wd-accent);font-size:.84rem;font-weight:550}
.wd-draft-text[open] p {margin-top:6px}
.wd-draft {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 17px;align-items:start;padding:15px 0;border-bottom:1px solid var(--wd-line)}
.wd-draft:last-child {border-bottom:0}
.wd-draft h3 {font-size:1rem;font-weight:600}
.wd-draft p {grid-column:1}
.wd-draft .wd-btn {grid-column:2;grid-row:1/3;align-self:center}
.wd-method {margin:16px 0}
.wd-method p {margin:6px 0;max-width:82ch}
.wd-print-document {display:none}
.wd-main .page-head {margin-top:22px}
.wd-main .audit-grid article,.wd-main .panel {border-color:var(--wd-line);border-radius:10px;background:var(--wd-paper)}
.wd-main .audit-list,.wd-main .summary-table th {color:var(--wd-muted)}
.wd-main .summary-table th {background:var(--wd-fill)}
.wd-main .text-link {color:var(--wd-accent)}

@media(max-width:960px){
  .wd-mast-inner,.wd-foot>div,.wd-main {padding-inline:24px}
  .wd-nav {gap:1px}.wd-nav a {padding-inline:8px}
  .wd-findings {--row:minmax(0,1fr) 77px 66px 11px}
  .wd-list-head,.wd-finding-line {gap:7px}
  .wd-finding-name {gap:8px}
  .wd-deal-layout {grid-template-columns:minmax(0,1fr) 234px;gap:13px}
  .wd-owner-fields {grid-template-columns:repeat(2,minmax(0,1fr))}
  .wd-owner-fields label:first-child {grid-column:1/-1}
  .wd-detail-grid {gap:12px;grid-template-columns:minmax(0,1.25fr) minmax(230px,.85fr)}
  .wd-coverage-result {gap:9px}
  .wd-coverage-result svg {width:56px;height:56px}
}
@media(max-width:720px){
  .wd-mast-inner,.wd-foot>div,.wd-main {padding-inline:16px}
  .wd-mast-inner {min-height:53px;gap:10px}
  .wd-nav {display:none}.wd-mobile-navigation {display:block;margin-left:auto}
  .wd-mobile-navigation label>span {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  .wd-mobile-navigation select {min-height:34px;max-width:139px;font-size:.8rem}
  .wd-logo {font-size:1.32rem}
  .wd-context {min-height:55px;gap:5px}
  .wd-context-name {font-size:.79rem;gap:5px}
  .wd-case-nav {gap:1px}
  .wd-case-nav a {font-size:.78rem;padding:5px 7px;min-height:32px}
  .wd-heading {padding:20px 0 17px;align-items:flex-start;flex-wrap:wrap;gap:11px}
  .wd-heading h1 {font-size:1.95rem}
  .wd-heading p {font-size:.87rem}
  .wd-overview-tabs {display:flex!important;margin-bottom:11px}
  .wd-deal-layout {grid-template-columns:minmax(0,1fr)}
  .wd-deal-layout[data-overview=findings] .wd-overview-side,.wd-deal-layout[data-overview=coverage] .wd-issues {display:none}
  .wd-coverage-result svg {width:68px;height:68px}
  .wd-coverage dl {grid-template-columns:1fr 1fr;gap:8px 20px}
  .wd-source-panel,.wd-review-form,.wd-analysis,.wd-history,.wd-coverage,.wd-issues {padding:15px}
  .wd-issues {padding-bottom:3px}
  .wd-detail-grid {grid-template-columns:minmax(0,1fr)}
  .wd-details-bar {align-items:start;flex-wrap:wrap;gap:9px;margin:11px 0}
  .wd-detail-head {flex-wrap:wrap;gap:9px}
  .wd-observation {padding:14px 0;gap:14px}
  .wd-scope-group {grid-template-columns:minmax(0,1fr);gap:7px;margin:15px 0}
  .wd-scope-group>h2 {margin-top:1px}
  .wd-file,.wd-file-head {grid-template-columns:minmax(0,1fr) minmax(66px,.24fr) 14px;gap:9px}
  .wd-file-date,.wd-file-head>span:nth-child(3) {display:none}
  .wd-decision-row {grid-template-columns:60px minmax(0,1fr) minmax(118px,.28fr);gap:8px}
  .wd-condition {margin-left:68px}
}
@media(max-width:510px){
  .wd-mast .wd-sample {display:none}
  .wd-mast .theme-trigger {min-height:34px}
  .wd-main,.wd-mast-inner,.wd-foot>div {padding-inline:13px}
  .wd-context-name {font-size:.75rem}.wd-context-name .icon {width:14px}
  .wd-case-nav a {font-size:.74rem;padding:4px 6px}
  .wd-actions {gap:6px}
  .wd-shell .wd-btn {padding:8px 11px;font-size:.8rem}
  .wd-heading {padding-top:17px}
  .wd-toolbar {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:12px}
  .wd-search {grid-column:1/-1}
  .wd-toolbar .wd-select-label {justify-self:start;max-width:100%}
  .wd-toolbar .wd-count {font-size:.75rem}
  .wd-findings {--row:minmax(0,1fr) 62px 56px}
  .wd-list-head,.wd-finding-line {gap:5px}
  .wd-open-finding,.wd-list-head>i {display:none}
  .wd-list-head {font-size:.72rem}
  .wd-finding-name {gap:6px}.wd-finding-name strong {font-size:.9rem}
  .wd-finding-name>.ws-cluster {width:43px}
  .wd-finding-name .ws-chip,.wd-detail-head .ws-chip,.wd-decision-icon .ws-chip {width:29px;height:29px;border-radius:6px}
  .wd-finding-name .ws-mark,.wd-detail-head .ws-mark,.wd-decision-icon .ws-mark {width:19px;height:19px}
  .wd-finding-name .ws-chip-secondary,.wd-detail-head .ws-chip-secondary,.wd-decision-icon .ws-chip-secondary {width:20px;height:20px;margin:10px 0 0 -7px;border-radius:5px}
  .wd-finding-name .ws-chip-secondary .ws-mark,.wd-detail-head .ws-chip-secondary .ws-mark,.wd-decision-icon .ws-chip-secondary .ws-mark {width:14px;height:14px}
  .wd-finding-line {min-height:58px}
  .wd-finding-value {display:grid}.wd-finding-value small {font-size:.7rem}
  .wd-finding-review small {font-size:.75rem}
  .wd-main[data-page="findings"]>.wd-findings,.wd-issues,.wd-files,.wd-questions,.wd-brief-findings,.wd-drafts {padding-inline:10px}
  .wd-finding-name>strong {min-width:0}
  .wd-detail-head>div {gap:8px}
  .wd-observation {grid-template-columns:minmax(88px,.66fr) minmax(0,1.34fr);gap:11px}
  .wd-result-metric {padding-left:8px}.wd-result-metric span {font-size:.74rem}
  .wd-result-metric strong {font-size:1.8rem}.wd-shell .wd-takeaway {font-size:.99rem}
  .wd-current-status {display:flex;flex-basis:100%;padding:1px 3px}
  .wd-detail-head .wd-btn {min-height:34px}
  .wd-question summary {grid-template-columns:minmax(0,1fr) 14px;gap:4px 8px}
  .wd-question summary .wd-status {grid-row:2;grid-column:1}
  .wd-question summary>.icon {grid-row:1/3;grid-column:2}
  .wd-file {min-height:63px}
  .wd-file-name {gap:8px}
  .wd-file-icon {width:29px;height:33px}.wd-file-icon .icon {width:15px}
  .wd-file-version {font-size:.72rem;overflow-wrap:anywhere}
  .wd-file-name small {font-size:.73rem}
  .wd-decision-row {grid-template-columns:43px minmax(0,1fr);gap:6px 8px}
  .wd-decision-owner {grid-column:2;display:flex;align-items:center;flex-wrap:wrap;gap:3px 9px}
  .wd-decision-owner .wd-status {margin:0}
  .wd-condition {margin-left:51px}
  .wd-next-line {font-size:.8rem}
  .wd-decision-band {padding:13px;gap:9px}
  .wd-decision-band>div:last-child {max-width:94px}
  .wd-draft {grid-template-columns:minmax(0,1fr)}
  .wd-draft .wd-btn {grid-column:1;grid-row:auto;justify-self:start}
  .wd-bars>div {grid-template-columns:78px minmax(0,1fr) 54px;gap:5px}
  .wd-bars {padding:12px 9px}.wd-bars b {font-size:.82rem}
  .wd-data-mark span {font-size:.63rem}
  .wd-foot>div {gap:8px;font-size:.69rem}
  .wd-history .wd-panel-head {align-items:start}
}
/* Keep each header control within its assigned track, even with a reserved phone scrollbar. */
@media(max-width:510px) {
  .wd-shell .wd-mast-inner { display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;width:100%;min-width:0; }
  .wd-mast-inner>.wd-mobile-navigation { justify-self:end;min-width:0;width:100%;max-width:130px;margin:0; }
  .wd-mast .wd-select-label,.wd-mast .wd-mobile-navigation select { min-width:0;width:100%;max-width:100%; }
  .wd-mast .mast-tools { min-width:0;gap:0; }
}
@media(max-width:380px) {
  .wd-shell .wd-mast-inner { padding-inline:10px;gap:7px; }
  .wd-mast .wd-logo { font-size:1.12rem; }
  .wd-logo-bars { height:20px;margin-right:6px;gap:1.5px; }
  .wd-logo-bars i { width:3px; }
  .wd-mast .theme-trigger { box-sizing:border-box;display:grid;place-items:center;width:38px;height:38px;padding:0; }
  .wd-mast .theme-trigger-name,.wd-mast .theme-trigger::after { display:none; }
  .wd-mast .wd-mobile-navigation { max-width:118px; }
  .wd-mast .wd-mobile-navigation select { padding-inline:7px; }
}
@media(prefers-reduced-motion:reduce){.wd-bar>i{animation:none}}
.no-motion .wd-bar>i {animation:none}
@media print {
  @page {size:auto;margin:15mm}
  .wd-mast,.wd-foot,.wd-context,.wd-screen-brief,.wd-storage,.wd-shell .ws-legend {display:none!important}
  .wd-shell,.wd-main {display:block!important;max-width:none;width:100%;color:black;background:white;min-height:0;margin:0;padding:0}
  .wd-print-document {display:block!important;color:#171717;font:10pt/1.38 Arial,sans-serif}
  .wd-print-document header {border-bottom:1.3pt solid #444;padding-bottom:8pt;margin-bottom:12pt}
  .wd-print-document header>span,.wd-print-document small {font-size:8.5pt;color:#303030}
  .wd-print-document h1 {font:bold 21pt/1.12 Arial,sans-serif;margin:5pt 0}
  .wd-print-document h2 {margin:13pt 0 4pt;font:bold 14pt/1.25 Arial,sans-serif;color:#141414;break-after:avoid}
  .wd-print-document h3 {margin:5pt 0 3pt;font:bold 11pt/1.3 Arial,sans-serif;break-after:avoid}
  .wd-print-document h4 {margin:5pt 0 1pt;font:bold 9pt/1.3 Arial,sans-serif;break-after:avoid}
  .wd-print-document p {margin:3pt 0;color:#222;orphans:3;widows:3}
  .wd-print-condition,.wd-print-draft {break-inside:avoid-page;padding:5pt 0 7pt;border-bottom:.5pt solid #999}
  .wd-print-document ul {padding-left:14pt;margin:2pt 0;font-size:8.5pt}
  .wd-print-document li {overflow-wrap:anywhere}
  .wd-print-document a {color:#222;text-decoration:underline}
  .wd-print-document a[href]::after {content:none!important}
  .wd-print-document .wd-print-requests {margin-top:10pt}
}
