:root {
  --navy: #06233f;
  --navy-deep: #041b31;
  --blue: #086bdc;
  --blue-dark: #062d72;
  --cyan: #00cbb8;
  --canvas: #f3f7fa;
  --surface: #ffffff;
  --line: #dce7ef;
  --line-soft: #eaf0f5;
  --text: #082b63;
  --muted: #60758e;
  --green: #12945b;
  --green-soft: #dff5e9;
  --amber: #b96b05;
  --amber-soft: #fff2dc;
  --red: #dd3046;
  --red-soft: #ffe7eb;
  --shadow: 0 4px 20px rgba(13, 53, 89, 0.07);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}
button, input, select { font: inherit; }
button, select { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(0, 203, 184, .55); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 184px minmax(0, 1fr); }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 30; width: 184px;
  display: flex; flex-direction: column; color: #fff;
  background: linear-gradient(180deg, #0a2c49 0%, var(--navy-deep) 100%);
  box-shadow: 3px 0 18px rgba(5, 31, 53, .1);
}
.brand-block { height: 76px; padding: 21px 23px 15px; display: flex; align-items: center; }
.brand-logo-v2 { width: 120px; height: 40px; object-fit: contain; object-position: left center; }
.primary-nav { padding: 12px 0; display: grid; gap: 3px; }
.nav-item, .help-link {
  min-height: 48px; padding: 10px 18px; display: flex; align-items: center; gap: 11px;
  color: rgba(255,255,255,.88); text-decoration: none; border: 0; background: transparent; text-align: left;
}
.nav-item .nav-icon, .help-link > span:first-child { width: 20px; text-align: center; font-size: 17px; }
.nav-item.is-active { background: #0870df; color: #fff; box-shadow: inset 3px 0 0 #26dac8; }
.nav-item.is-disabled { opacity: .62; cursor: default; }
.future-badge { margin-left: auto; padding: 2px 5px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; font-size: 9px; }
.help-link { margin-top: auto; margin-bottom: 16px; }
.workspace { min-width: 0; grid-column: 2; }
.topbar {
  position: sticky; top: 0; z-index: 20; height: 60px; padding: 10px 22px;
  display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(21, 60, 92, .04);
}
.search-form {
  flex: 1; max-width: 650px; height: 37px; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; border-radius: 5px; background: #f0f5f9; border: 1px solid transparent;
}
.search-form:focus-within { border-color: #7cb5ee; background: #fff; }
.search-form input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-form input::placeholder { color: #6d86a3; }
.search-icon { font-size: 20px; color: var(--blue); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-button { border: 0; background: transparent; color: var(--text); }
.attention-button { position: relative; width: 34px; height: 34px; font-size: 19px; }
.attention-dot { position: absolute; top: 6px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.language-control { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.language-control button { padding: 5px 7px; border: 0; background: #fff; color: var(--muted); font-size: 11px; font-weight: 700; }
.language-control button[aria-pressed="true"] { color: #fff; background: var(--blue); }
.account-button { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; font-weight: 650; }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 11px; }
.workspace-logo { display: block; max-width: 110px; max-height: 26px; width: auto; height: auto; object-fit: contain; }
.workspace-logo[hidden] { display: none; }
.popover { position: fixed; z-index: 50; top: 54px; right: 20px; width: 310px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.popover h2 { margin: 0 0 8px; font-size: 14px; }
.popover p { margin: 6px 0; color: var(--muted); }
.popover-list { margin: 0; padding: 0; list-style: none; }
.popover-list a { display: block; padding: 9px 4px; color: var(--text); text-decoration: none; border-top: 1px solid var(--line-soft); }
.nav-open, .nav-close { display: none; }

.main-content { max-width: 1480px; margin: 0 auto; padding: 24px 28px 40px; }
.page-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 18px; }
.page-heading h1 { margin: 0; font-size: 25px; line-height: 1.15; letter-spacing: -.025em; color: #06296a; }
.page-heading p { margin: 7px 0 0; color: #284f82; }
.page-heading .source-attribution { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 650; }
.preview-note { display: inline-block; padding: 3px 8px; border-radius: 10px; color: #865001 !important; background: var(--amber-soft); font-size: 11px; font-weight: 700; }
.refresh-block { display: flex; align-items: center; gap: 14px; }
.updated-label { max-width: 160px; color: var(--muted); font-size: 11px; text-align: right; }
.button { min-height: 36px; padding: 7px 13px; border-radius: 5px; font-weight: 700; }
.button-outline { border: 1px solid #6f94c4; background: #fff; }
.button-primary { border: 1px solid var(--blue); color: #fff; background: var(--blue); }
.text-button { border: 0; color: var(--blue); background: transparent; white-space: nowrap; }

.filters-card { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.view-tabs { display: flex; align-items: center; padding-right: 8px; border-right: 1px solid var(--line); }
.view-tabs button { padding: 7px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); }
.view-tabs button.is-active { border-bottom-color: var(--blue); color: var(--blue-dark); font-weight: 700; }
.filter-controls { flex: 1; display: flex; gap: 8px; flex-wrap: wrap; }
.filter-select, .sort-control select { min-height: 34px; padding: 6px 28px 6px 10px; border: 1px solid #c9daea; border-radius: 5px; background: #fff; }
.filter-select:disabled { color: #8a9aac; background: #f1f4f6; }

.counter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 15px; }
.counter-card { min-height: 86px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.counter-card button { display: contents; }
.counter-value { font-size: 23px; line-height: 1; font-weight: 800; color: #06296a; }
.counter-label { margin-top: 5px; font-size: 12px; font-weight: 700; }
.counter-subtitle { margin-top: 2px; color: var(--muted); font-size: 10px; }
.counter-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; font-size: 20px; background: #e4f2ff; color: var(--blue); }
.counter-card:nth-child(2) .counter-icon { background: #e4f7ed; color: var(--green); }
.counter-card:nth-child(3) .counter-icon { background: var(--red-soft); color: var(--red); }
.counter-card:nth-child(4) .counter-icon { background: #e6f0ff; color: var(--blue); }
.counter-card.is-selected { border-color: #6facdf; box-shadow: 0 0 0 2px rgba(8,107,220,.1); }

.results-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.results-card.module-actions-results { overflow: visible; }
.results-toolbar { min-height: 50px; padding: 10px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.results-toolbar h2 { margin: 0; font-size: 13px; }
.sort-control { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.sort-control select { min-height: 30px; padding-top: 4px; padding-bottom: 4px; color: var(--text); }
.list-status { padding: 28px; text-align: center; color: var(--muted); }
.list-status:empty { display: none; }
.opportunity-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.opportunity-table th { padding: 10px 8px; background: #fbfdff; color: #214978; font-size: 10px; text-align: left; border-bottom: 1px solid var(--line); }
.opportunity-table td { padding: 11px 8px; vertical-align: top; color: #294f7c; font-size: 11px; border-bottom: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.opportunity-table tr:last-child td { border-bottom: 0; }
.opportunity-table tr:hover td { background: #fbfdff; }
.title-link { color: #0066d6; font-weight: 750; text-decoration: none; line-height: 1.35; }
.title-link:hover { text-decoration: underline; }
.title-meta { margin-top: 7px; display: flex; gap: 5px; flex-wrap: wrap; }
.arrival { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
.badge { display: inline-flex; padding: 3px 7px; border-radius: 9px; font-size: 9px; font-weight: 700; }
.badge-new { color: #0757a5; background: #e3f1ff; }
.badge-follow { color: #087044; background: var(--green-soft); }
.badge-archive { color: #8d3640; background: var(--red-soft); }
.badge-recommend { color: #087044; background: var(--green-soft); }
.badge-review { color: #0963af; background: #e5f2ff; }
.status-badges { display: flex; align-items: flex-start; gap: 4px; flex-wrap: wrap; }
.status-neutral { color: var(--muted); }
.procedure-badge { display: inline-flex; padding: 3px 6px; border-radius: 4px; color: #0757a5; background: #e3f1ff; font-size: 9px; font-weight: 750; }
.cell-secondary { margin-top: 5px; color: var(--muted); font-size: 9px; }
.sicop-table .title-meta { margin-top: 5px; }
.deadline-urgent { color: var(--red); font-weight: 750; }
.deadline-open { color: var(--green); font-weight: 650; }
.deadline-expired { color: var(--muted); font-weight: 650; }
.deadline-unverified { color: #8a5a00; font-weight: 650; }
.badge-expired { color: #5b6573; background: #e8ebef; }
.badge-deadline-unverified { color: #8a5a00; background: #fff3d6; }
.recommendation-secondary { margin-top: 5px; color: var(--muted); font-size: 12px; }
.recommendation-secondary-warning { color: #8a5a00; font-weight: 650; }
.compatibility { display: inline-flex; min-height: 23px; align-items: center; padding: 3px 8px; border-radius: 10px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.compatibility-high { color: #087044; background: var(--green-soft); }
.compatibility-low { color: #8a5700; background: var(--amber-soft); }
.compatibility-neutral { color: #536a82; background: #edf2f6; }
.row-actions { display: flex; gap: 2px; }
.module-action-menu { position: relative; justify-content: flex-end; }
.row-actions button { width: 28px; height: 28px; border: 0; border-radius: 4px; background: transparent; color: #0a4c98; font-size: 16px; }
.row-actions button:hover { background: #eef6fd; }
.row-actions .action-menu-button { font-size: 20px; line-height: 1; }
.action-menu-popover { position: absolute; z-index: 20; top: 32px; right: 0; min-width: 172px; padding: 5px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 10px 28px rgba(9, 35, 64, .18); }
.action-menu-popover[hidden] { display: none; }
.action-menu-popover button { display: block; width: 100%; height: auto; min-height: 34px; padding: 7px 10px; text-align: left; white-space: nowrap; font-size: 13px; }
.action-menu-popover button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; background: #eef6fd; }
.action-menu-popover .action-menu-danger { color: #a12c2c; }
.action-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; overflow-x: hidden; overflow-y: auto; border: 0; border-radius: 10px; box-shadow: 0 18px 60px rgba(9, 35, 64, .3); }
.action-dialog::backdrop { background: rgba(5, 24, 45, .48); }
.action-dialog .dismiss-form-v2 { position: static; width: 100%; margin: 0; border: 0; }
.mobile-list { display: none; }
.pagination { min-height: 54px; padding: 10px 15px; display: flex; justify-content: center; align-items: center; gap: 6px; border-top: 1px solid var(--line); }
.pagination button { min-width: 34px; height: 32px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.pagination button[aria-current="page"] { color: #fff; background: var(--blue); border-color: var(--blue); }
.pagination button:disabled { opacity: .4; cursor: default; }

.sign-in-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: #edf4f8; }
.sign-in-card { width: min(410px, 100%); padding: 32px; display: grid; gap: 15px; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(4,35,63,.18); }
.sign-in-card > img { width: 170px; height: auto; }
.sign-in-card h1, .sign-in-card p { margin: 0; }
.sign-in-card label { display: grid; gap: 5px; font-weight: 650; }
.sign-in-card input { width: 100%; min-height: 40px; padding: 7px 9px; border: 1px solid #bccfe0; border-radius: 5px; }
.form-error { min-height: 18px; color: var(--red); }
.nav-scrim { position: fixed; inset: 0; z-index: 25; background: rgba(0,20,40,.45); }

.detail-mode { display: block; }
.detail-mode .sidebar, .detail-mode .nav-scrim, .detail-mode .search-form, .detail-mode .nav-open { display: none !important; }
.detail-mode .workspace { min-height: 100vh; }
.detail-mode .topbar { padding-left: 26px; }
.detail-mode .main-content { max-width: 1500px; padding-top: 18px; }
.detail-back { display: inline-flex; align-items: center; gap: 7px; border: 0; color: var(--blue); background: transparent; font-weight: 700; }
.detail-view { min-width: 0; }
.detail-status:empty { display: none; }
.detail-loading { padding: 50px 20px; text-align: center; color: var(--muted); }
.notice { margin-bottom: 12px; padding: 11px 14px; border-radius: 6px; font-weight: 650; }
.notice-warning { color: #724800; background: var(--amber-soft); border: 1px solid #efd29a; }
.notice-error { color: #9c2636; background: var(--red-soft); border: 1px solid #f3bdc5; }
.notice-success { color: #087044; background: var(--green-soft); border: 1px solid #b8e7cf; }
.detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 16px; }
.detail-heading { min-width: 0; }
.detail-source { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: var(--blue); font-size: 11px; font-weight: 700; }
.detail-source a { color: var(--blue); text-decoration: none; }
.detail-heading h1 { margin: 0; max-width: 900px; color: #06296a; font-size: 24px; line-height: 1.18; letter-spacing: -.02em; }
.detail-arrival { margin-top: 7px; }
.detail-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.button-danger { border: 1px solid #dc5263; color: #a62435; background: #fff; }
.detail-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.detail-fact { min-height: 72px; padding: 13px 16px; display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--line-soft); }
.detail-fact:last-child { border-right: 0; }
.detail-fact-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; color: var(--blue); background: #e7f2fc; }
.detail-fact-label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.detail-fact strong { display: block; color: #173f73; font-size: 12px; }
.detail-tabs { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.tab-list { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tab-list button { min-height: 44px; padding: 9px 15px; border: 0; border-bottom: 3px solid transparent; color: #244d7c; background: transparent; white-space: nowrap; }
.tab-list button.is-active { border-bottom-color: var(--blue); color: #052e70; font-weight: 750; }
.tab-list button:disabled { color: #8d9cab; cursor: default; }
.tab-panels { padding: 14px; background: #f9fbfd; }
.detail-summary-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); gap: 12px; }
.detail-stack { display: grid; align-content: start; gap: 10px; }
.detail-card { padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 6px; background: #fff; }
.detail-card h2 { margin: 0 0 10px; color: #06296a; font-size: 13px; }
.detail-card p { margin: 7px 0; color: #294f7c; }
.recommendation-line { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.recommendation-field { display: flex; align-items: center; gap: 6px; min-width: 0; }
.recommendation-field-label { color: #244d7c; font-size: 10px; font-weight: 700; white-space: nowrap; }
.detail-secondary { color: var(--muted) !important; font-size: 11px; }
.reason-list { margin: 0; padding: 0; list-style: none; }
.reason-list li { position: relative; margin: 6px 0; padding-left: 20px; color: #294f7c; }
.reason-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.reason-list-attention li::before { content: "!"; color: var(--amber); }
.reason-list .reason-empty::before { content: "—"; color: var(--muted); }
.source-language-note { color: var(--muted) !important; font-size: 10px; }
.pending-copy { padding: 9px 11px; border-radius: 5px; color: #536a82 !important; background: #f0f4f7; }
.advisory-notice { margin: 12px 0 0; padding: 10px 13px; border: 1px solid #b9d5eb; border-radius: 6px; color: #244d7c; background: #eef7fd; font-size: 10px; }
.identifier-value { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.identifier-value code, .document-reference { color: #173f73; font-size: 10px; }
.copy-button { padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--blue); background: #fff; font-size: 9px; }
.detail-card details { margin-top: 10px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.detail-card summary { color: var(--blue); font-weight: 700; cursor: pointer; }
.evidence-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.compliance-heading { margin: 16px 0 7px; color: #173f73; font-size: 12px; }
.readiness-row { margin: 0 !important; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 10px; }
.fact-list { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 1fr); margin: 12px 0 0; }
.fact-list dt, .fact-list dd { margin: 0; padding: 7px 4px; border-top: 1px solid var(--line-soft); }
.fact-list dt { color: #244d7c; font-weight: 700; }
.fact-list dd { color: #315983; overflow-wrap: anywhere; }
.fact-list a { color: var(--blue); }
.dates-list { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 3px 0 0; list-style: none; }
.dates-list li { flex: 1; position: relative; padding-top: 18px; color: var(--muted); text-align: center; font-size: 9px; border-top: 2px solid #9bbce0; }
.dates-list li::before { content: ""; position: absolute; top: -6px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.dates-list strong { display: block; margin-top: 3px; color: #173f73; font-size: 10px; }
.pending-panel { min-height: 160px; display: grid; place-items: center; }
.source-document-link { display: inline-flex; align-items: center; color: var(--text); text-decoration: none; }
.dismiss-form-v2 { position: absolute; z-index: 15; top: 74px; right: 28px; width: min(380px, calc(100vw - 32px)); padding: 17px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 14px 40px rgba(4,35,63,.2); }
.dismiss-form-v2 h2 { margin: 0; font-size: 15px; }
.dismiss-form-v2 label { display: grid; gap: 5px; color: #244d7c; font-weight: 700; }
.dismiss-form-v2 select, .dismiss-form-v2 textarea { width: 100%; padding: 8px; border: 1px solid #bfd1e1; border-radius: 5px; color: var(--text); background: #fff; }

@media (max-width: 1080px) {
  .app-shell { grid-template-columns: 164px minmax(0,1fr); }
  .sidebar { width: 164px; }
  .brand-logo-v2 { width: 112px; }
  .main-content { padding-left: 18px; padding-right: 18px; }
  .counter-card { padding: 13px; }
  .opportunity-table th:nth-child(3), .opportunity-table td:nth-child(3),
  .opportunity-table th:nth-child(5), .opportunity-table td:nth-child(5) { display: none; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .workspace { min-height: 100vh; }
  .sidebar { width: min(290px, 84vw); transform: translateX(-105%); transition: transform .2s ease; }
  .sidebar.is-open { transform: translateX(0); }
  .nav-open, .nav-close { display: inline-grid; place-items: center; }
  .nav-close { margin-left: auto; color: #fff; font-size: 24px; }
  .topbar { height: 56px; padding: 8px 12px; gap: 8px; }
  .search-form { order: 3; position: absolute; top: 64px; left: 12px; right: 12px; max-width: none; box-shadow: var(--shadow); }
  .workspace-name, .attention-button { display: none; }
  .workspace-logo { max-width: 72px; max-height: 22px; }
  .account-button > [aria-hidden="true"] { display: none; }
  .main-content { padding: 82px 12px 28px; }
  .page-heading { position: relative; align-items: flex-start; padding-right: 46px; }
  .page-heading h1 { font-size: 22px; }
  .page-heading p { font-size: 12px; }
  .updated-label { display: none; }
  .refresh-block { position: absolute; top: 0; right: 0; }
  .refresh-block .button { width: 38px; overflow: hidden; white-space: nowrap; padding: 7px 10px; }
  .refresh-block .button [data-copy] { display: none; }
  .filters-card { align-items: stretch; }
  .view-tabs { width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .view-tabs button { flex: 1; }
  .filter-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-select { width: 100%; min-width: 0; }
  .counter-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 7px; scrollbar-width: thin; scrollbar-color: #aebdca transparent; }
  .counter-grid::-webkit-scrollbar { height: 5px; }
  .counter-grid::-webkit-scrollbar-thumb { border-radius: 4px; background: #aebdca; }
  .counter-grid::-webkit-scrollbar-track { background: transparent; }
  .counter-card { flex: 0 0 158px; min-height: 78px; scroll-snap-align: start; }
  .desktop-table { display: none; }
  .mobile-list { display: grid; }
  .opportunity-card { padding: 15px; border-bottom: 1px solid var(--line); }
  .opportunity-card:last-child { border-bottom: 0; }
  .card-top { display: flex; justify-content: space-between; gap: 10px; }
  .card-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-field span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
  .card-field strong { display: block; margin-top: 2px; color: #294f7c; font-size: 11px; }
  .card-field .compatibility, .card-field .badge { margin-top: 4px; }
  .results-toolbar { align-items: flex-start; }
  .sort-control { align-items: flex-start; flex-direction: column; }
  .popover { right: 10px; width: calc(100vw - 20px); }
  .detail-mode .topbar { padding-left: 10px; }
  .detail-mode .main-content { padding: 14px 10px 26px; }
  .detail-back { padding: 5px 2px; font-size: 11px; }
  .detail-header { display: grid; gap: 12px; }
  .detail-heading h1 { font-size: 20px; }
  .detail-actions { justify-content: flex-start; }
  .detail-actions .button { min-height: 34px; padding: 6px 10px; }
  .action-menu-popover { position: fixed; top: auto; right: 16px; bottom: 16px; left: 16px; min-width: 0; padding: 8px; }
  .action-menu-popover button { min-height: 44px; font-size: 15px; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .detail-fact { min-height: 65px; padding: 10px; border-bottom: 1px solid var(--line-soft); }
  .detail-fact:nth-child(2) { border-right: 0; }
  .detail-fact:nth-child(n+3) { border-bottom: 0; }
  .tab-list button { padding: 8px 12px; font-size: 11px; }
  .tab-panels { padding: 9px; }
  .detail-summary-grid { grid-template-columns: 1fr; }
  .fact-list { grid-template-columns: 1fr 1.15fr; font-size: 11px; }
  .dates-list { flex-direction: column; }
  .dates-list li { padding: 7px 0 7px 21px; text-align: left; border-top: 0; border-left: 2px solid #9bbce0; }
  .dates-list li::before { top: 10px; left: -6px; }
  .dismiss-form-v2 { position: fixed; top: 70px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }
