@font-face { font-family: "Archivo"; src: url("/priorities/static/fonts/archivo-variable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --ink: #211d3f;
  --muted: #665f83;
  --line: #ddd9f1;
  --line-strong: #aaa2d8;
  --paper: #f8f7fe;
  --surface: #ffffff;
  --manifest: #eeebfd;
  --green: #3d347d;
  --green-2: #8378F2;
  --signal: #8378F2;
  --signal-pale: #D5CFFB;
  --red: #a7372d;
  --red-pale: #fbe7e3;
  --active-green: #176044;
  --active-green-pale: #e2f3ea;
  --blue: #675bd4;
  --blue-pale: #ebe8ff;
  --shadow: 0 8px 24px rgba(61, 52, 125, .12);
  --radius: 8px;
  --font: "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  --display: "Archivo", "Aptos", "Segoe UI", sans-serif;
  --data: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); overflow-x: hidden; }
body { margin: 0; color: var(--ink); font: 14px/1.45 var(--font); overflow-x: hidden; }
::selection { background: var(--signal-pale); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(131, 120, 242, .42); outline-offset: 2px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--green); color: #f3f1ff; padding: 22px 16px; display: flex; flex-direction: column; z-index: 20; }
.brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 11px; padding: 2px 8px 24px; font-weight: 720; letter-spacing: -.02em; font-size: 17px; }
.brand svg { width: 28px; height: 28px; fill: none; stroke: #D5CFFB; stroke-width: 2.2; }
.product-switch { display: grid; gap: 5px; padding: 0 0 18px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.16); }
.product-switch-label { padding: 0 8px 4px; color: #bdb6e9; text-transform: uppercase; letter-spacing: .08em; font: 9px var(--data); }
.product-choice { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; color: #d9d4fa; text-decoration: none; }
.product-choice:hover { color: #fff; background: rgba(255,255,255,.07); }
.product-choice.active { color: #fff; border-color: rgba(213,207,251,.42); background: rgba(255,255,255,.11); box-shadow: inset 3px 0 0 #D5CFFB; }
.product-choice > span { min-width: 0; }
.product-choice strong,.product-choice small { display: block; }
.product-choice strong { font-size: 12px; line-height: 1.25; }
.product-choice small { margin-top: 2px; color: #bdb6e9; font-size: 10px; line-height: 1.3; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav a { color: #d9d4fa; text-decoration: none; padding: 10px 11px; border-radius: 6px; display: flex; gap: 11px; align-items: center; font-weight: 590; }
.sidebar nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar nav a.active { background: #f6f4ff; color: var(--green); }
.nav-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.sidebar-foot { margin-top: auto; padding: 16px 8px 3px; border-top: 1px solid rgba(255,255,255,.16); }
.source-mark { display: flex; gap: 9px; align-items: center; }
.source-mark > span { width: 8px; height: 8px; border-radius: 50%; background: #D5CFFB; box-shadow: 0 0 0 4px rgba(213,207,251,.14); }
.source-mark strong, .source-mark small { display: block; }
.source-mark small { color: #bdb6e9; font: 11px var(--data); margin-top: 2px; }
.sidebar-foot p { color: #bdb6e9; font-size: 11px; line-height: 1.5; margin: 13px 0 0; }
main { min-width: 0; }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; background: rgba(248,247,254,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 15; }
.workspace-context { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.workspace-context strong::after { content: "/"; margin-left: 8px; color: var(--line-strong); font-weight: 400; }
.workspace-context span { color: var(--muted); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.button, .command-button, .icon-button { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); min-height: 36px; border-radius: 6px; padding: 7px 13px; cursor: pointer; font-weight: 650; }
.button:hover, .command-button:hover, .icon-button:hover { border-color: var(--green-2); background: #f7f5ff; }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .52; cursor: not-allowed; transform: none; }
.button.primary { background: var(--green); border-color: var(--green); color: #fff; }
.button.primary:hover { background: #4f459a; }
.button.quiet { border-color: transparent; background: transparent; }
.button.danger { color: var(--red); border-color: #d9aaa4; }
.button.small { min-height: 30px; padding: 4px 9px; font-size: 12px; }
.command-button { color: var(--muted); font-weight: 520; min-width: 185px; text-align: left; }
.command-button kbd { border: 1px solid var(--line); padding: 1px 4px; border-radius: 3px; margin-right: 6px; background: var(--paper); }
.icon-button { padding: 5px 9px; min-height: 34px; font-size: 18px; }
.icon-button svg, .command-search > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-only { display: none; }
.view { padding: 30px; max-width: 1580px; margin: 0 auto; }
.announcement { display: none; margin: 14px 30px 0; padding: 10px 13px; border-radius: 6px; background: var(--blue-pale); color: #173f60; border: 1px solid #b8d4e9; }
.announcement.show { display: block; }
.announcement.error { background: var(--red-pale); color: #7c251e; border-color: #e3b4ae; }
.page-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin: 0 0 26px; }
.page-head h1 { font: 750 28px/1.12 var(--display); letter-spacing: -.035em; margin: 0 0 7px; }
.page-head p { color: var(--muted); margin: 0; max-width: 68ch; }
.manifest-strip { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(110px, .65fr)); border: 1px solid #cfc9ef; background: var(--manifest); margin-bottom: 28px; transform: skewX(-1.1deg); box-shadow: 0 6px 18px rgba(61,52,125,.08); }
.manifest-strip > div { padding: 15px 17px; border-right: 1px solid #cfc9ef; transform: skewX(1.1deg); min-width: 0; }
.manifest-strip > div:last-child { border-right: 0; }
.manifest-strip small { display: block; text-transform: uppercase; letter-spacing: .08em; font: 10px var(--data); color: #766f57; margin-bottom: 5px; }
.manifest-strip strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.manifest-strip .manifest-title strong { font-size: 14px; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-bottom: 30px; }
.workflow-step { position: relative; padding: 18px 18px 18px 43px; border-right: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.workflow-step:last-child { border-right: 0; }
.workflow-step b { position: absolute; left: 12px; top: 17px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); font: 11px var(--data); }
.workflow-step strong, .workflow-step span { display: block; }
.workflow-step span { color: var(--muted); font-size: 12px; margin-top: 3px; }
.workflow-step.active b { background: var(--signal); border-color: #675bd4; color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 12px; gap: 20px; }
.section-head h2 { margin: 0; font: 700 17px/1.25 var(--display); letter-spacing: -.015em; }
.section-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.data-panel { min-width: 0; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: #f0f2ed; color: #59635e; text-align: left; text-transform: uppercase; letter-spacing: .055em; font: 10px var(--data); padding: 10px 13px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 12px 13px; border-bottom: 1px solid #e8ebe7; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafbf8; }
.data-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.primary-cell strong, .primary-cell small { display: block; }
.primary-cell small { color: var(--muted); margin-top: 2px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px; border-radius: 4px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.review, .status.matching { color: #3d347d; background: var(--signal-pale); }
.status.auto_matched, .status.completed, .status.active { color: #176044; background: #e2f3ea; }
.status.unmatched, .status.rejected { color: #922f26; background: var(--red-pale); }
.status.draft, .status.deferred { color: #4b5c70; background: #e9edf2; }
.mono { font-family: var(--data); font-size: 12px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.split-layout > * { min-width: 0; }
.activity { border-left: 1px solid var(--line); padding-left: 22px; }
.activity h2 { font-size: 16px; margin: 0 0 15px; }
.activity-item { display: grid; grid-template-columns: 9px 1fr; gap: 10px; padding: 0 0 18px; }
.activity-item i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); margin-top: 5px; }
.activity-item p { margin: 0; }
.activity-item small { color: var(--muted); }
.empty-state { padding: 54px 24px; text-align: center; max-width: 620px; margin: auto; }
.empty-state svg { width: 74px; height: 74px; fill: none; stroke: var(--green-2); stroke-width: 1.5; margin-bottom: 12px; }
.empty-state h2 { margin: 0 0 7px; font-family: var(--display); }
.empty-state p { color: var(--muted); margin: 0 auto 18px; max-width: 50ch; }
.toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 15px; }
.field { display: grid; gap: 5px; }
.field label, label { color: #4e5a54; font-size: 12px; font-weight: 650; }
input, select, textarea { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 6px; min-height: 38px; padding: 7px 10px; width: 100%; }
input::placeholder, textarea::placeholder { color: var(--muted); }
.toolbar input { width: min(340px, 100%); }
.toolbar select { width: 170px; }
.pagination { display: flex; justify-content: space-between; align-items: center; padding: 12px 13px; border-top: 1px solid var(--line); color: var(--muted); }
.project-hero { background: var(--manifest); border: 1px solid #cfc9ef; padding: 22px; margin-bottom: 20px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.project-hero h1 { margin: 0 0 4px; font: 750 23px/1.15 var(--display); }
.project-hero p { margin: 0; color: #6f684f; }
.project-hero .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.drop-zone { display: block; border: 1px dashed var(--line-strong); background: #fbfaff; padding: 34px; text-align: center; border-radius: var(--radius); }
.drop-zone.dragging { background: var(--blue-pale); border-color: var(--blue); }
.drop-zone input { display: none; }
.priority-setup { margin-top: 26px; }
.source-summary { color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.source-options { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(460px,1.28fr); gap: 16px; align-items: stretch; }
.source-options.mapping-active { grid-template-columns: 1fr; }
.source-option { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 20px; min-width: 0; }
.source-option.complete { border-color: var(--active-green); background: #fbfefc; }
.source-option-head { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: start; gap: 11px; margin-bottom: 16px; }
.source-option-head h3 { margin: 1px 0 3px; font: 700 17px/1.25 var(--display); letter-spacing: -.015em; }
.source-option-head p { margin: 0; color: var(--muted); font-size: 12px; }
.inline-link { display: inline-block; margin-top: 7px; color: var(--green); font-size: 12px; font-weight: 700; text-underline-offset: 3px; }
.source-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--green); background: var(--manifest); }
.source-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.source-status { color: var(--active-green); background: var(--active-green-pale); border-radius: 4px; padding: 3px 7px; font-size: 11px; font-weight: 700; }
.source-result { padding: 10px 12px; margin: 0 0 12px; background: var(--active-green-pale); color: var(--active-green); border-radius: 6px; font-size: 12px; }
.source-result strong { display: block; }
.drop-zone.compact { padding: 24px 16px; display: grid; justify-items: center; gap: 8px; }
.drop-zone.compact small { color: var(--muted); font-weight: 400; }
.import-mapping { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.mapping-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.mapping-head h3 { margin: 0 0 4px; font: 700 17px/1.25 var(--display); }
.mapping-head p { margin: 0; color: var(--muted); font-size: 12px; max-width: 68ch; }
.mapping-warning { padding: 9px 11px; margin-bottom: 12px; border: 1px solid #d8b66a; background: #fff8e5; color: #654d18; border-radius: 6px; font-size: 12px; }
.mapping-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.mapping-grid label { display: grid; gap: 5px; }
.mapping-sample { grid-column: 1/-1; margin-top: 6px; }
.mapping-sample-scroll { overflow: auto; margin-top: 7px; border: 1px solid var(--line); max-height: 190px; }
.mapping-sample table { width: 100%; border-collapse: collapse; font-size: 11px; white-space: nowrap; }
.mapping-sample th,.mapping-sample td { padding: 7px 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.mapping-sample th { background: var(--manifest); font: 10px var(--data); text-transform: uppercase; letter-spacing: .055em; }
.mapping-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 9px; margin-top: 5px; }
.country-picker { margin-top: 0; }
.country-picker h2 { margin: 5px 0 4px; font: 700 19px/1.2 var(--display); }
.country-picker > p { color: var(--muted); margin: 0 0 16px; max-width: 68ch; }
.country-picker > input { max-width: 360px; margin-bottom: 14px; }
.country-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); max-height: 330px; overflow: auto; border: 1px solid var(--line); }
.country-list label { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 9px; min-width: 0; padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; background: #fff; }
.country-list label:hover { background: #f5f3ff; }
.country-list label:has(input:checked) { background: var(--signal-pale); color: var(--green); }
.country-list input { width: 17px; min-height: 17px; accent-color: var(--green-2); }
.country-list strong,.country-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-list small { color: var(--muted); font-weight: 400; margin-top: 2px; }
.country-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 14px; }
.country-actions > span { color: var(--muted); font-variant-numeric: tabular-nums; }
.catalog-empty { border: 1px dashed var(--line-strong); background: var(--paper); padding: 24px; text-align: center; border-radius: 6px; }
.catalog-empty strong { display: block; font: 700 17px/1.25 var(--display); }
.catalog-empty p { color: var(--muted); margin: 5px auto 15px; max-width: 50ch; }
.country-control { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.country-control-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; padding: 13px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.country-control-head label { display: block; color: var(--ink); font-size: 13px; }
.country-control-head small { display: block; margin-top: 2px; color: var(--muted); font-weight: 400; }
.country-availability { color: var(--muted); font: 11px var(--data); white-space: nowrap; }
.country-control > input { width: calc(100% - 28px); max-width: 360px; margin: 14px; }
.country-control .country-list { border-inline: 0; }
.country-control .country-actions { padding: 0 14px 14px; }
.country-empty-control { padding: 14px; }
.country-empty-control select { color: var(--muted); background: #f3f1fa; cursor: not-allowed; }
.country-empty-help { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 14px; border-top: 1px solid var(--line); background: #fbfaff; }
.country-empty-help p { margin: 0; color: var(--muted); font-size: 12px; max-width: 58ch; }
.inventory-mode-panel { margin-top: 24px; padding-top: 2px; border-top: 1px solid var(--line); }
.inventory-mode-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.inventory-mode-options label { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: start; gap: 10px; min-height: 76px; padding: 15px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.inventory-mode-options label:hover { background: #f7f5ff; border-color: var(--green-2); }
.inventory-mode-options label.active { background: var(--signal-pale); border-color: var(--green-2); }
.inventory-mode-options input { width: 17px; min-height: 17px; margin-top: 2px; accent-color: var(--green-2); }
.inventory-mode-options strong,.inventory-mode-options small { display: block; }
.inventory-mode-options strong { color: var(--ink); font-size: 14px; }
.inventory-mode-options small { margin-top: 4px; color: var(--muted); font-weight: 400; }
.inventory-mode-note { margin: 10px 0 0; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12px; }
.inventory-mode-note strong { color: var(--ink); }
.hotel-picker { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 2px; }
.hotel-choice-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); max-height: 440px; overflow: auto; }
.hotel-choice-list > label { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 11px 13px; border-bottom: 1px solid var(--line); cursor: pointer; }
.hotel-choice-list > label:last-child { border-bottom: 0; }
.hotel-choice-list > label:hover { background: #f7f5ff; }
.hotel-choice-list > label:has(input:checked) { background: var(--signal-pale); }
.hotel-choice-list input { width: 17px; min-height: 17px; accent-color: var(--green-2); }
.hotel-choice-list strong,.hotel-choice-list small { display: block; }
.hotel-choice-list small { color: var(--muted); margin-top: 2px; }
.hotel-score { text-align: right; font: 700 13px var(--data); font-variant-numeric: tabular-nums; }
.hotel-score small { font: 10px var(--data); text-transform: uppercase; letter-spacing: .055em; }
.hotel-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 12px; }
.hotel-actions p { color: var(--muted); margin: 0; max-width: 68ch; font-size: 12px; }
.ready-panel { margin-top: 24px; border-block: 1px solid var(--line); padding: 18px 4px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.ready-panel h2 { margin: 0 0 4px; font: 700 17px/1.25 var(--display); }
.ready-panel p { margin: 0; color: var(--muted); max-width: 72ch; }
.review-layout { display: grid; grid-template-columns: minmax(300px, .86fr) minmax(480px, 1.14fr); border: 1px solid var(--line); background: var(--surface); min-height: 560px; }
.review-list { border-right: 1px solid var(--line); max-height: calc(100vh - 235px); overflow: auto; }
.review-row { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #fff; text-align: left; padding: 14px; cursor: pointer; }
.review-row:hover { background: #fafbf8; }
.review-row.active { background: var(--signal-pale); box-shadow: inset 3px 0 var(--signal); }
.review-row strong, .review-row span { display: block; }
.review-row span { color: var(--muted); font-size: 12px; margin-top: 3px; }
.confidence { font: 12px var(--data); font-variant-numeric: tabular-nums; }
.review-detail { padding: 22px; overflow: auto; max-height: calc(100vh - 235px); }
.identity-pair { display: grid; grid-template-columns: 1fr 44px 1fr; gap: 13px; align-items: stretch; }
.identity-card { border: 1px solid var(--line); padding: 16px; min-width: 0; }
.identity-card.selected { border-color: var(--green-2); background: #f2f0ff; }
.identity-card small { text-transform: uppercase; letter-spacing: .06em; font: 10px var(--data); color: var(--muted); }
.identity-card h3 { font-size: 16px; margin: 8px 0 5px; }
.identity-card p { margin: 3px 0; color: var(--muted); }
.identity-arrow { display: grid; place-items: center; color: var(--green-2); }
.identity-arrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.identity-arrow::after { content: ""; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); margin-left: 15px; margin-top: -5px; }
.evidence-grid { margin: 17px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.evidence-grid div { background: #fff; padding: 10px; }
.evidence-grid small, .evidence-grid strong { display: block; }
.evidence-grid small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.evidence-grid strong { margin-top: 4px; font-variant-numeric: tabular-nums; }
.candidate-list { display: grid; gap: 7px; margin: 13px 0; }
.candidate { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); padding: 9px; cursor: pointer; background: #fff; text-align: left; width: 100%; }
.candidate:hover { border-color: var(--line-strong); }
.candidate.active { border-color: var(--green-2); background: #f2f0ff; }
.candidate-rank { font: 11px var(--data); color: var(--muted); text-align: center; }
.candidate small { color: var(--muted); display: block; }
.review-actions { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 18px; }
.score-bar { width: 76px; height: 5px; background: #e3e7e3; overflow: hidden; margin-top: 4px; }
.score-bar i { display: block; height: 100%; background: var(--green-2); }
.refresh-card { max-width: 850px; background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.refresh-card h2 { margin-top: 0; }
.mobile-cta { display: none; }
.stage-rail { position: fixed; right: 22px; bottom: 18px; z-index: 14; width: min(420px, calc(100vw - 280px)); background: var(--green); color: #fff; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 30px rgba(61,52,125,.24); padding: 11px 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; }
.stage-rail .stage-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: var(--ink); font: 700 12px var(--data); }
.stage-rail strong,.stage-rail small { display:block; }.stage-rail strong { font-family:var(--display); }.stage-rail small { color:#d5cffb; margin-top:1px; }
.stage-rail .button { background:#fff; border-color:#fff; color:var(--green); }
.stage-rail.country-mode { position: sticky; margin: 16px 0 0 auto; bottom: auto; }
.checklist { display: grid; gap: 0; margin: 20px 0; border-block: 1px solid var(--line); }
.checklist div { display: flex; gap: 12px; padding: 12px 3px; border-bottom: 1px solid var(--line); }
.checklist div:last-child { border: 0; }
.checklist b { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 11px; }
dialog { border: 0; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.25); padding: 0; color: var(--ink); width: min(520px, calc(100vw - 28px)); }
dialog::backdrop { background: rgba(17,28,23,.48); }
.dialog-form { padding: 22px; display: grid; gap: 15px; }
.dialog-form label { display: grid; gap: 6px; }
.dialog-head, .dialog-actions { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.dialog-head h2 { margin: 0 0 4px; font-size: 20px; }
.dialog-head p { margin: 0; color: var(--muted); }
.dialog-actions { justify-content: flex-end; margin-top: 5px; }
.command-dialog { width: min(680px, calc(100vw - 28px)); margin-top: 12vh; vertical-align: top; }
.command-search { display: grid; grid-template-columns: 28px 1fr 38px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.command-search input { border: 0; font-size: 16px; }
.command-search input:focus { outline: none; }
.command-results { max-height: 430px; overflow: auto; padding: 8px; }
.command-result { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 12px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; }
.command-result:hover { background: #f7f8f4; }
.command-result small { display: block; color: var(--muted); }
.empty-hint { color: var(--muted); text-align: center; padding: 28px; }
.skeleton-page { display: grid; gap: 14px; }
.skeleton { background: linear-gradient(90deg,#e9ece8,#f5f6f3,#e9ece8); background-size: 200% 100%; animation: shimmer 1.2s infinite; height: 24px; border-radius: 4px; }
.skeleton.wide { width: 48%; height: 34px; }.skeleton.medium { width: 68%; }.skeleton.table { height: 360px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }.skeleton-grid i { height: 80px; background: #e9ece8; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; } }
@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 82px minmax(0,1fr); }
  .sidebar { padding-inline: 12px; }.brand span,.product-switch-label,.product-choice > span,.sidebar nav a span:last-child,.sidebar-foot { display:none; }.brand { justify-content:center;padding-inline:0; }.product-choice,.sidebar nav a { justify-content:center; }
  .manifest-strip { grid-template-columns: 1.2fr repeat(2,1fr); }.manifest-strip > div:nth-child(4),.manifest-strip > div:nth-child(5) { display:none; }
  .split-layout { grid-template-columns: 1fr; }.activity { border-left:0;border-top:1px solid var(--line);padding:20px 0 0; }
  .source-options { grid-template-columns: 1fr; }
  .country-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .app-shell { display:block; }.sidebar { position:fixed;left:-250px;width:236px;transition:left .2s ease;box-shadow:var(--shadow); }.sidebar.open { left:0; }.sidebar.open .brand span,.sidebar.open .product-switch-label,.sidebar.open .product-choice > span,.sidebar.open nav a span:last-child,.sidebar.open .sidebar-foot { display:block; }.sidebar.open .product-choice,.sidebar.open nav a { justify-content:flex-start; }
  .mobile-only { display:inline-grid;place-items:center; }.topbar { padding:0 15px;height:60px; }.workspace-context span { display:none; }.workspace-context strong::after { content:""; margin:0; }.command-button { display:none; }.top-actions > .button.primary { display:none; }
  .view { padding:20px 15px 92px; }.announcement { margin-inline:15px; }.page-head { align-items:flex-start;flex-direction:column; }.page-head h1 { font-size:24px;overflow-wrap:anywhere; }.page-head p { overflow-wrap:anywhere; }.mobile-cta { display:inline-flex; }
  .manifest-strip { grid-template-columns:minmax(0,1fr) minmax(0,1fr);transform:none; }.manifest-strip > div { transform:none;min-width:0; }.manifest-title { grid-column:1/-1; }
  .workflow { grid-template-columns:1fr; }.workflow-step { border-right:0;border-bottom:1px solid var(--line); }.workflow-step:last-child { border-bottom:0; }
  .data-panel { width:100%;overflow-x:auto;overscroll-behavior-inline:contain; }.data-table { min-width:720px; }.project-hero { align-items:flex-start;flex-direction:column; }.project-hero .actions { justify-content:flex-start; }
  .project-table { min-width:0; }.project-table thead { display:none; }.project-table,.project-table tbody,.project-table tr { display:block;width:100%; }.project-table tr { padding:14px;border-bottom:1px solid var(--line); }.project-table tr:last-child { border-bottom:0; }.project-table td { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 0;border:0;text-align:right!important; }.project-table td::before { content:attr(data-label);color:var(--muted);font:10px var(--data);letter-spacing:.055em;text-transform:uppercase; }.project-table .primary-cell { align-items:flex-start;text-align:left!important; }.project-table .primary-cell::before { padding-top:2px; }.project-table .project-open { padding-top:12px; }.project-table .project-open::before { content:none; }.project-table .project-open .button { width:100%;justify-content:center; }
  .review-layout { grid-template-columns:1fr; }.review-list { max-height:260px;border-right:0;border-bottom:1px solid var(--line); }.review-detail { max-height:none; }.identity-pair { grid-template-columns:1fr; }.identity-arrow { transform:rotate(90deg);height:32px; }.evidence-grid { grid-template-columns:1fr 1fr; }
  .button,.icon-button { min-height:44px; }.icon-button { min-width:44px;padding:8px; }.button.small { min-height:44px;padding:8px 11px; }.stage-rail { left:10px;right:10px;bottom:10px;width:auto;grid-template-columns:auto 1fr; }.stage-rail .button { display:none; }
  .stage-rail.country-mode { position: static; margin: 16px 0 0; }
  .priority-setup .section-head,.inventory-mode-panel .section-head,.hotel-picker .section-head { align-items: flex-start; flex-direction: column; gap: 6px; }.source-summary { white-space: normal; }.source-option { padding: 16px; }.source-option-head { grid-template-columns: 38px minmax(0,1fr); }.source-status { grid-column: 2; justify-self: start; }.country-control-head,.country-empty-help { align-items: stretch; flex-direction: column; gap: 9px; }.country-availability { white-space: normal; }.country-list { grid-template-columns: 1fr; max-height: 390px; }.country-list label { min-height: 52px; border-right: 0; }.country-actions { align-items: stretch; flex-direction: column; }.country-actions .button,.country-empty-help .button { width: 100%; }.inventory-mode-options { grid-template-columns: 1fr; }.hotel-choice-list > label { grid-template-columns: 22px minmax(0,1fr); }.hotel-score { grid-column: 2; text-align: left; }.hotel-actions { align-items: stretch; flex-direction: column; }.hotel-actions .button { width: 100%; }.ready-panel { align-items: stretch; flex-direction: column; }.ready-panel .button { width: 100%; text-align: center; }
  .mapping-head,.mapping-actions { flex-direction: column; align-items: stretch; }.mapping-grid { grid-template-columns: 1fr; }.mapping-sample,.mapping-actions { grid-column: 1; }.mapping-actions .button { width: 100%; }
}
