.reports-os { width: 100%; max-width: var(--os-content, 1440px); }
.intelligence-lane,
.reports-period,
.reports-master,
.reports-detail,
.saved-reports { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); }
.intelligence-lane { margin-bottom: 16px; padding: 20px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--pw-navy-900) 97%, #fff), var(--pw-navy-800)); color: #fff; }
.intelligence-lane__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.intelligence-lane__head span,
.saved-reports__head span { font-size: var(--fs-meta, .875rem); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.intelligence-lane__head span { color: #b9cee2; }
.intelligence-lane__head h2,
.saved-reports__head h2 { margin: 4px 0 0; font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.intelligence-lane__head p { max-width: 31rem; margin: 0; color: #c8d7e6; font-size: .875rem; line-height: 1.45; text-align: right; }
.portfolio-priority { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-bottom: 10px; padding: 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; background: rgba(255,255,255,.1); }
.portfolio-priority__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.13); color: #d9ebf8; }
.portfolio-priority__icon svg { width: 22px; height: 22px; }
.portfolio-priority > div { min-width: 0; }
.portfolio-priority > div > span { display: block; color: #bcd3e6; font-size: var(--fs-meta, .875rem); font-weight: 820; letter-spacing: .055em; text-transform: uppercase; }
.portfolio-priority > div > strong { display: block; margin-top: 3px; color: #fff; font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.3; text-wrap: balance; }
.portfolio-priority > div > p { max-width: 70ch; margin: 4px 0 0; color: #dbe7f2; font-size: .875rem; line-height: 1.45; text-wrap: pretty; }
.portfolio-priority__action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: #fff; color: #0f2a4a; font-size: .875rem; font-weight: 820; text-decoration: none; white-space: nowrap; touch-action: manipulation; transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease; }
.portfolio-priority__action:hover { background: #eaf3fb; box-shadow: 0 8px 22px rgba(1, 17, 32, .2); }
.portfolio-priority__action svg { width: 17px; height: 17px; }
.portfolio-details { margin: 0 0 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(255,255,255,.055); }
.portfolio-details summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; color: #dbe7f2; font-size: .875rem; font-weight: 780; cursor: pointer; list-style: none; touch-action: manipulation; }
.portfolio-details summary::-webkit-details-marker { display: none; }
.portfolio-details summary:hover { background: rgba(255,255,255,.06); }
.portfolio-details summary svg { width: 18px; height: 18px; transition: transform 180ms ease; }
.portfolio-details[open] summary svg { transform: rotate(180deg); }
.portfolio-details:not([open]) > .portfolio-details__body { display: none; }
.portfolio-details__body { padding: 0 14px 14px; border-top: 1px solid rgba(255,255,255,.1); }
.portfolio-details__metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 12px; }
.portfolio-details__metrics > div { min-width: 0; padding: 10px 11px; border-radius: 11px; background: rgba(255,255,255,.075); }
.portfolio-details__metrics span,
.portfolio-details__metrics strong { display: block; }
.portfolio-details__metrics span { color: #c8d7e6; font-size: var(--fs-meta, .875rem); line-height: 1.35; }
.portfolio-details__metrics strong { margin-top: 4px; color: #fff; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.portfolio-details__body > p { margin: 10px 0 0; color: #c8d7e6; font-size: var(--fs-meta, .875rem); line-height: 1.5; }
.decision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 9px; }
.decision-card { min-height: 118px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 16px; align-items: start; gap: 9px; padding: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.decision-card:hover { background: rgba(255,255,255,.13); transform: translateY(-1px); }
.decision-card__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.11); }
.decision-card__icon svg { width: 19px; height: 19px; }
.decision-card > span:nth-child(2) strong,
.decision-card > span:nth-child(2) b,
.decision-card > span:nth-child(2) small { display: block; }
.decision-card > span:nth-child(2) strong { font-size: 1.35rem; line-height: 1; }
.decision-card > span:nth-child(2) b { margin-top: 7px; font-size: .9rem; line-height: 1.3; }
.decision-card > span:nth-child(2) small { margin-top: 4px; color: #c8d7e6; font-size: .875rem; line-height: 1.4; }
.decision-card > svg { width: 16px; margin-top: 10px; color: #b9cee2; }
.decision-card--critical { border-color: rgba(255,133,133,.55); background: rgba(153,27,27,.32); }
.decision-card--attention { border-color: rgba(250,204,21,.42); }
.decision-card--draft { border-color: rgba(143,202,249,.46); background: rgba(38,96,144,.34); }
.reports-period { display: flex; align-items: end; gap: 10px; margin-bottom: 16px; padding: 14px; }
.reports-period .form-field { min-width: 170px; margin: 0; }
.reports-layout { min-height: 640px; display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 16px; }
.reports-master,
.reports-detail { min-width: 0; align-self: start; overflow: hidden; }
.reports-master { max-height: min(760px, calc(100dvh - 220px)); overflow-y: auto; }
.reports-master__head { position: sticky; top: 0; z-index: 2; padding: 14px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(12px); }
.reports-master__head > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--text-muted); font-size: .875rem; }
.reports-master__head > div strong { color: var(--text); font-size: 1rem; }
.reports-master .search-field { max-width: none; }
.report-client-list { padding: 7px; }
.report-client { min-height: 68px; display: grid; grid-template-columns: minmax(0, 1fr) auto 17px; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 13px; color: var(--text); text-decoration: none; }
.report-client:hover { background: var(--surface-2); }
.report-client.is-active { background: color-mix(in srgb, var(--pw-steel-500) 12%, var(--surface)); box-shadow: inset 3px 0 var(--pw-steel-600); }
.report-client strong,
.report-client small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-client small { margin-top: 3px; color: var(--text-muted); font-size: .875rem; }
.report-client > svg { width: 17px; color: var(--text-muted); }
.report-risk { padding: 5px 8px; border-radius: 999px; font-size: var(--fs-meta, .875rem); font-weight: 800; white-space: nowrap; }
.report-risk--critical { background: color-mix(in srgb, var(--crit) 12%, var(--surface)); color: var(--crit-ink, var(--crit)); }
.report-risk--attention { background: color-mix(in srgb, var(--warn) 16%, var(--surface)); color: var(--warn-ink, var(--warn)); }
.report-risk--calm { background: color-mix(in srgb, var(--ok) 11%, var(--surface)); color: var(--ok-ink, var(--ok)); }
.reports-detail__toolbar { min-height: 70px; display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.reports-detail__toolbar > div { min-width: 0; flex: 1; }
.reports-detail__toolbar strong,
.reports-detail__toolbar span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reports-detail__toolbar span { margin-top: 3px; color: var(--text-muted); font-size: .875rem; }
.reports-mobile-back { display: none; }
.client-report { padding: clamp(18px, 3vw, 32px); }
.client-report__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 2px solid var(--pw-navy-900); }
.client-report__head > div > span { color: var(--pw-steel-700); font-size: var(--fs-meta, .875rem); font-weight: 850; letter-spacing: .08em; }
.client-report__head h2 { margin: 6px 0 4px; font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.025em; }
.client-report__head p { margin: 0; color: var(--text-muted); }
.client-report__head img { width: 64px; height: 64px; object-fit: contain; }
.report-review-note { display: flex; align-items: center; gap: 10px; margin: 18px 0; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--border)); border-radius: 13px; background: color-mix(in srgb, var(--warn) 10%, var(--surface)); font-size: .875rem; line-height: 1.45; }
.report-review-note svg { width: 20px; flex: 0 0 auto; color: var(--warn-ink, var(--warn)); }
.report-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.report-kpis > div { padding: 13px; border-radius: 13px; background: var(--surface-2); }
.report-kpis strong,
.report-kpis span { display: block; }
.report-kpis strong { font-size: 1.25rem; }
.report-kpis span { margin-top: 5px; color: var(--text-muted); font-size: .875rem; line-height: 1.3; }
.report-section { margin-top: 24px; }
.report-section h3 { margin: 0 0 8px; font-size: 1rem; }
.report-section p { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.65; }
.report-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report-section__head > span { color: var(--text-muted); font-size: .875rem; }
.report-area-list { overflow: hidden; border: 1px solid var(--border); border-radius: 13px; }
.report-area-list > div { min-height: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 80px 80px; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.report-area-list > div:last-child { border-bottom: 0; }
.report-area-list strong,
.report-area-list small { display: block; }
.report-area-list small { margin-top: 2px; color: var(--text-muted); font-size: .875rem; }
.report-area-list b,
.report-area-list em { text-align: right; font-size: .875rem; font-style: normal; }
.report-area-list em { color: var(--crit); }
.report-preview-empty { min-height: 520px; display: grid; place-content: center; text-align: center; }
.saved-reports { margin-top: 16px; padding: 20px; }
.saved-reports__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.saved-reports__head span { color: var(--pw-steel-600); }
.saved-reports__head p { max-width: 460px; margin: 0; color: var(--text-muted); font-size: .875rem; line-height: 1.45; text-align: right; }
.report-draft { border: 1px solid var(--border); border-radius: 14px; margin-top: 9px; overflow: hidden; }
.report-draft summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; cursor: pointer; }
.report-draft summary strong,
.report-draft summary small { display: block; }
.report-draft summary small { margin-top: 4px; color: var(--text-muted); font-size: .875rem; text-transform: capitalize; }
.report-draft summary > b { padding: 5px 8px; border-radius: 999px; background: var(--surface-2); font-size: var(--fs-meta, .875rem); }
.report-draft pre { max-height: 420px; margin: 0; padding: 16px; overflow: auto; border-block: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-family: inherit; font-size: .875rem; line-height: 1.6; white-space: pre-wrap; }
.report-draft__foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; color: var(--text-muted); font-size: .875rem; }
.draft-loading { display: grid; gap: 10px; }
.draft-loading .pw-skeleton { height: 96px; border-radius: 14px; }
.draft-cabinet { display: grid; grid-template-columns: minmax(290px, 350px) minmax(0, 1fr); min-height: 600px; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.draft-queue { min-width: 0; border-right: 1px solid var(--border); background: color-mix(in srgb, var(--surface-2) 48%, var(--surface)); }
.draft-queue__filters { position: sticky; top: 0; z-index: 2; display: grid; gap: 8px; padding: 12px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(14px); }
.draft-queue__filters > div { display: flex; flex-wrap: wrap; gap: 6px; overflow-x: visible; }
.draft-queue__filters > div::-webkit-scrollbar { display: none; }
.draft-filter { min-height: 44px; flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); color: var(--text-muted); font: inherit; font-size: .875rem; font-weight: 760; cursor: pointer; touch-action: manipulation; }
.draft-filter:hover { color: var(--text); border-color: color-mix(in srgb, var(--pw-steel-600) 42%, var(--border)); }
.draft-filter.is-active { border-color: color-mix(in srgb, var(--pw-steel-600) 44%, var(--border)); background: color-mix(in srgb, var(--pw-steel-500) 12%, var(--surface)); color: var(--pw-navy-900); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pw-steel-600) 28%, transparent); }
.draft-queue__count { display: flex; align-items: baseline; gap: 5px; padding: 11px 13px 5px; color: var(--text-muted); font-size: .875rem; }
.draft-queue__count strong { color: var(--text); font-size: .9rem; }
.draft-queue__list { padding: 6px; }
.draft-queue-row { width: 100%; min-height: 132px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin: 0 0 6px; padding: 12px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; }
.draft-queue-row:hover { border-color: var(--border); background: var(--surface); }
.draft-queue-row.is-active { border-color: color-mix(in srgb, var(--pw-steel-600) 38%, var(--border)); background: var(--surface); box-shadow: var(--shadow-1), inset 3px 0 var(--pw-steel-600); }
.draft-queue-row > strong { width: 100%; display: -webkit-box; overflow: hidden; font-size: .9rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.draft-queue-row > small { color: var(--text-muted); font-size: .875rem; }
.draft-source { width: fit-content; min-height: 28px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; font-size: var(--fs-meta, .875rem); font-weight: 820; letter-spacing: .01em; }
.draft-source svg { width: 14px; height: 14px; }
.draft-source--automated { background: color-mix(in srgb, var(--pw-steel-500) 14%, var(--surface)); color: var(--pw-steel-700); }
.draft-source--assistant { background: color-mix(in srgb, #7357b8 12%, var(--surface)); color: #60439e; }
.draft-row-foot { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.draft-row-foot em { color: var(--text-muted); font-size: .875rem; line-height: 1.3; font-style: normal; text-align: right; }
.draft-row-foot em.is-attention { color: var(--crit); font-weight: 760; }
.draft-status { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-muted); font-size: var(--fs-meta, .875rem); font-weight: 820; text-transform: capitalize; }
.draft-status--draft { background: color-mix(in srgb, var(--warn) 15%, var(--surface)); color: var(--warn-ink, var(--warn)); }
.draft-status--reviewed { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--ok-ink, var(--ok)); }
.draft-status--archived { background: var(--surface-2); color: var(--text-muted); }
.draft-load-more { width: calc(100% - 24px); margin: 6px 12px 14px; }
.draft-queue__limit { margin: 8px 14px 16px; color: var(--text-muted); font-size: .875rem; line-height: 1.5; }
.draft-detail-shell { min-width: 0; background: var(--surface); scroll-margin-top: 84px; }
.draft-detail-empty { min-height: 560px; display: grid; place-content: center; justify-items: center; padding: 32px; color: var(--text-muted); text-align: center; }
.draft-detail-empty h3 { margin: 12px 0 0; color: var(--text); }
.draft-detail-empty p { margin: 6px 0 0; }
.draft-detail { padding: clamp(18px, 3vw, 30px); }
.draft-detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.draft-detail__head h3 { max-width: 720px; margin: 9px 0 4px; font-size: clamp(1.2rem, 2.2vw, 1.65rem); letter-spacing: -.018em; line-height: 1.25; }
.draft-detail__head p { margin: 0; color: var(--text-muted); font-size: .875rem; line-height: 1.45; }
.draft-evidence { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.draft-evidence > div { min-height: 78px; padding: 11px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.draft-evidence strong,
.draft-evidence span { display: block; }
.draft-evidence strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.draft-evidence span { margin-top: 5px; color: var(--text-muted); font-size: .875rem; line-height: 1.35; }
.draft-limitations { margin: 16px 0; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--warn) 38%, var(--border)); border-radius: 13px; background: color-mix(in srgb, var(--warn) 8%, var(--surface)); }
.draft-limitations h4 { margin: 0 0 7px; font-size: .9rem; }
.draft-limitations ul { margin: 0; padding-left: 19px; color: var(--text-muted); font-size: .875rem; line-height: 1.6; }
.draft-content { max-height: 540px; margin: 16px 0 0; padding: 18px; overflow: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); color: var(--text); font-family: inherit; font-size: .88rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.draft-detail__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--text-muted); font-size: .875rem; line-height: 1.4; }
.draft-review-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.draft-review-actions .btn { min-height: 48px; }
.draft-review-actions .btn:disabled { opacity: .5; cursor: not-allowed; }
.draft-action-status { min-height: 22px; margin-top: 7px; color: var(--text-muted); font-size: .875rem; line-height: 1.4; }
.reports-period .btn,
.reports-detail__toolbar .btn,
.draft-load-more { min-height: 44px; }
.draft-filter:focus-visible,
.draft-queue-row:focus-visible,
.decision-card:focus-visible,
.portfolio-priority__action:focus-visible,
.portfolio-details summary:focus-visible { outline: 3px solid var(--focus-ring, #2563eb); outline-offset: 2px; }

@media (min-width: 768px) and (max-width: 1199px) {
  .decision-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #automated-draft-decision { grid-column: span 2; }
  .reports-layout { grid-template-columns: minmax(230px, 285px) minmax(0, 1fr); }
  .reports-detail__toolbar .btn { width: 48px; min-width: 48px; padding: 0; font-size: 0; }
  .reports-detail__toolbar #reports-ai-draft { width: auto; min-width: 48px; padding: 0 12px; font-size: var(--fs-meta, .875rem); white-space: nowrap; }
  .report-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .draft-cabinet { grid-template-columns: minmax(260px, 310px) minmax(0, 1fr); }
  .draft-evidence { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
  .decision-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #automated-draft-decision { grid-column: span 2; }
}

@media (max-width: 767px) {
  .reports-os .page-header { align-items: flex-end; }
  .reports-os .page-header { flex-wrap: wrap; }
  .reports-os .page-header .btn { width: 48px; min-width: 48px; padding: 0; font-size: 0; }
  .reports-os .page-header #reports-ask-ceo { width: auto; padding: 0 12px; font-size: var(--fs-meta, .875rem); white-space: nowrap; }
  .intelligence-lane { padding: 15px 13px; border-radius: 15px; }
  .intelligence-lane__head { display: grid; align-items: flex-start; gap: 8px; }
  .intelligence-lane__head p { max-width: 34rem; text-align: left; }
  .portfolio-priority { grid-template-columns: 42px minmax(0, 1fr); gap: 11px; padding: 13px; }
  .portfolio-priority__icon { width: 42px; height: 42px; border-radius: 12px; }
  .portfolio-priority__action { grid-column: 1 / -1; width: 100%; }
  .portfolio-details__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision-grid { grid-template-columns: minmax(0, 1fr); }
  .decision-card { min-height: 96px; }
  #automated-draft-decision { grid-column: auto; }
  .reports-period { display: grid; grid-template-columns: 1fr 1fr; border-radius: 15px; padding: 13px; }
  .reports-period .form-field { min-width: 0; }
  .reports-period .btn { width: 100%; }
  .reports-layout { min-height: 0; display: block; }
  .reports-master,
  .reports-detail { border-radius: 15px; }
  .reports-master { max-height: none; }
  .reports-os.has-selection .reports-master { display: none; }
  .reports-os:not(.has-selection) .reports-detail { display: none; }
  .reports-detail__toolbar { position: sticky; top: calc(60px + env(safe-area-inset-top)); z-index: 4; flex-wrap: wrap; background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(14px); }
  .reports-mobile-back { display: grid; }
  .reports-detail__toolbar .btn:not(.reports-mobile-back) { min-width: 44px; height: 44px; padding: 0 10px; font-size: .875rem; }
  .reports-detail__toolbar #reports-ai-draft { width: auto; min-width: 44px; font-size: var(--fs-meta, .875rem); white-space: nowrap; }
  .client-report { padding: 16px 13px; }
  .client-report__head img { width: 48px; height: 48px; }
  .report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-area-list > div { grid-template-columns: minmax(0, 1fr) 70px; }
  .report-area-list em { grid-column: 2; }
  .saved-reports { padding: 15px 13px; border-radius: 15px; }
  .saved-reports__head { display: block; }
  .saved-reports__head p { margin-top: 8px; text-align: left; }
  .report-draft__foot { display: block; }
  .report-draft__foot time { display: block; margin-top: 5px; }
  .draft-cabinet { display: block; min-height: 0; border-radius: 14px; }
  .draft-queue { border-right: 0; border-bottom: 1px solid var(--border); }
  .draft-queue__filters { position: static; }
  .draft-queue-row { min-height: 126px; }
  .draft-detail-empty { min-height: 300px; }
  .draft-detail { padding: 16px 13px 20px; }
  .draft-detail__head { align-items: flex-start; }
  .draft-evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .draft-content { max-height: none; padding: 14px; font-size: .875rem; }
  .draft-detail__foot { display: block; }
  .draft-detail__foot span { display: block; margin-top: 4px; }
  .draft-review-actions { display: grid; grid-template-columns: 1fr; }
  .draft-review-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .decision-card,
  .portfolio-priority__action,
  .portfolio-details summary svg,
  .draft-filter,
  .draft-queue-row { scroll-behavior: auto; transition-duration: .01ms !important; }
  .decision-card:hover { transform: none; }
}

@media (forced-colors: active) {
  .decision-card,
  .portfolio-priority,
  .portfolio-priority__action,
  .portfolio-details,
  .portfolio-details__metrics > div,
  .draft-filter,
  .draft-queue-row,
  .draft-evidence > div { border: 1px solid CanvasText; }
  .draft-queue-row.is-active,
  .draft-filter.is-active { outline: 3px solid Highlight; }
}

@media print {
  body * { visibility: hidden !important; }
  #client-report-print,
  #client-report-print * { visibility: visible !important; }
  #client-report-print { position: absolute; inset: 0; width: 100%; padding: 18mm; color: #111; background: #fff; }
  .report-review-note { border-color: #bbb; background: #fff; }
}
