/* Plexe Room Mapping portal. Dark, Geist, hairlines; matches the Scalar docs at /docs and suggest.plexe.ai. */
:root {
  --bg: #0b0c12; --surface: #11131b; --surface-2: #181b26; --surface-3: #1f2331;
  --ink: #ececf1; --ink-2: #c3c5d0; --ink-3: #8e91a2; --ink-4: #666a7d;
  --line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .11); --line-3: rgba(255, 255, 255, .18);
  --accent: #8f8cff; --accent-ink: #b3b1ff; --accent-soft: rgba(143, 140, 255, .14);
  --pos: #4cc38a; --warn: #f2a65a;
  --code-bg: #0e1016; --code-out-bg: #0d1311;
  --radius: 7px; --radius-s: 5px;
  --sans: "Geist", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --scalar-custom-header-height: 0px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
h1.mono { font-family: var(--mono); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.mono { font-family: var(--mono); font-size: 12.5px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); } .faint { color: var(--ink-4); } .warn { color: var(--warn); } .strong { color: var(--ink); font-weight: 500; }
.small { font-size: 12.5px; }
code { font-family: var(--mono); font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1px 5px; color: var(--ink); }
.cap { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; margin-top: 10px; }

/* ---------- shell: one sidebar for every signed-in page, the Scalar docs included */
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; padding: 18px 14px 16px;
  background: #0d0e15; border-right: 1px solid var(--line-2); }
.brand { display: flex; align-items: center; gap: 9px; padding: 2px 8px; color: var(--ink); font-size: 15px; }
.brand b { font-weight: 600; letter-spacing: -0.015em; }
.px-logo { width: 20px; height: 19px; flex: none; background: currentColor;
  -webkit-mask: url("/static/plexe-mark.png") center / contain no-repeat; mask: url("/static/plexe-mark.png") center / contain no-repeat; }
.product { display: flex; align-items: center; gap: 8px; padding: 8px 8px 22px; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.px-ver { font: 500 10.5px/1 var(--mono); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 3px 5px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav > a { display: flex; align-items: center; height: 34px; padding: 0 10px; border-radius: var(--radius); color: var(--ink-3); font-size: 14px; font-weight: 500; }
.nav > a:hover { color: var(--ink); background: var(--surface-2); }
.nav > a[aria-current="page"] { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.subnav { display: flex; flex-direction: column; gap: 1px; margin: 6px 0 4px 14px; padding-left: 10px; border-left: 1px solid var(--line-2); }
.subnav a { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 8px; border-radius: var(--radius-s); color: var(--ink-3); font-size: 13px; line-height: 1.3; }
.subnav a:hover { color: var(--ink); background: var(--surface-2); }
.subnav a[aria-current="true"] { color: var(--ink); background: var(--surface-2); }
.verb { font: 600 9.5px/1 var(--mono); letter-spacing: .03em; padding: 3px 4px; border-radius: 4px; flex: none; }
.verb.post { color: var(--pos); background: rgba(76, 195, 138, .12); }
.verb.get { color: var(--accent-ink); background: var(--accent-soft); }
.verb.delete { color: #e5484d; background: rgba(229, 72, 77, .12); }
.doc-search { display: flex; align-items: center; justify-content: space-between; height: 32px; margin: 2px 0 6px; padding: 0 8px 0 10px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface); color: var(--ink-3); font-size: 13px; cursor: pointer; text-align: left; }
.doc-search:hover { color: var(--ink); border-color: var(--line-3); }
.doc-search kbd { font: 500 11px/1 var(--mono); color: var(--ink-4); border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 5px; }
.side-foot { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.px-status { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }
.px-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); }
.px-status[data-state="ok"] .px-dot { background: var(--pos); box-shadow: 0 0 0 3px rgba(76, 195, 138, .15); }
.px-status[data-state="down"] .px-dot { background: #e5484d; }
.account { display: flex; flex-direction: column; gap: 3px; padding: 12px 8px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-3); }
.account b { font-size: 13.5px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account .quota { font-family: var(--mono); font-size: 12px; }
.account a { margin-top: 4px; color: var(--ink-3); }
.account a:hover { color: var(--ink); }
.docs-main { min-width: 0; }
.doc-nav-label { padding: 14px 8px 4px; color: var(--ink-4); font-size: 11px; font-weight: 500; }
.doc-guide { max-width: 780px; }
.doc-guide-header > p:last-child { margin-top: 12px; color: var(--ink-3); font-size: 15px; }
.doc-toc { margin: 28px 0 36px; padding: 16px 0; border-block: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; }
.doc-toc > span { flex-basis: 100%; color: var(--ink-4); margin-bottom: 3px; }
.doc-toc a:hover, .doc-guide a:hover { color: var(--ink); text-decoration: underline; }
.doc-guide section { margin: 0 0 38px; scroll-margin-top: 28px; }
.doc-guide h2 { font-size: 19px; font-weight: 500; margin-bottom: 14px; }
.doc-guide p, .doc-guide ul, .doc-guide ol, .doc-guide .tblwrap { margin: 14px 0; }
.doc-guide li { margin: 8px 0; }
.doc-guide p a, .doc-guide li a, .doc-guide-footer a { color: var(--accent-ink); }
.doc-guide pre { overflow-x: auto; padding: 18px; background: var(--code-bg); border: 1px solid var(--line-2); border-radius: var(--radius); font: 12px/1.7 var(--mono); white-space: pre; }
.doc-guide pre code { background: none; border: 0; padding: 0; font: inherit; }
.doc-guide .tbl td { white-space: normal; }
.doc-guide details { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.doc-guide summary { cursor: pointer; color: var(--ink); }
.doc-guide-footer { border-top: 1px solid var(--line-2); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; }

/* ---------- page */
.page { max-width: 1160px; width: 100%; margin: 0 auto; padding: 44px 48px 112px; min-width: 0; }
.pagehead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.pagehead .aside { font-size: 12.5px; color: var(--ink-3); }
.crumb { font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.crumb a:hover { color: var(--ink); }
.subline { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }

/* ---------- sections */
.version-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.version-switch a { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink-3); }
.version-switch a[aria-current] { color: var(--accent-ink); background: var(--surface-2); border-color: var(--accent-ink); }
.v2-callout { padding: 22px; margin-bottom: 28px; border: 1px solid var(--line-3); border-radius: var(--radius); background: var(--surface); }
.v2-callout h2 { margin: 12px 0 8px; }
.docs-banner { padding: 16px 28px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.docs-banner a { margin-left: 14px; color: var(--accent-ink); }
.v2-advanced { margin: 14px 0; }
.v2-advanced summary { cursor: pointer; color: var(--ink-3); }
#pg-v2 textarea { width: 100%; resize: vertical; }
#v2-state { overflow-wrap: anywhere; }
.result-product, .result-family { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px; margin-top: 16px; min-width: 0; }
.result-product .sechead { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.result-product h3, .result-family h3 { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.result-product .tbl td { white-space: normal; overflow-wrap: anywhere; }
.result-product .hint { margin: 8px 0; }
#v2-response-tabs { margin-top: 16px; }
.pg { margin-top: 24px; }
.guide-v2 .sec p { margin: 12px 0; }
.guide-v2 .sec a, .subline a, .formfoot > a:not(.btn) { color: var(--accent-ink); }
.guide-v2 .code { margin: 14px 0; }
.sec { margin-top: 44px; }
.pagehead + .sec, .sec:first-child { margin-top: 0; }
.sec > h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; font-weight: 600; letter-spacing: -0.005em; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); margin: 0 0 12px; }
.sec > .sechead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); margin: 0 0 12px; }
.sec > .sechead h2 { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; border: none; padding: 0; margin: 0; }
.sec > .sechead a { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.sec > .sechead a:hover { color: var(--accent-ink); }
.sec > .sechead .tabs { border-bottom: none; align-self: flex-end; margin-bottom: -11px; }
.sec > .sechead .tabs button { padding: 0 0 10px; margin-bottom: 0; line-height: 1.5; }

/* ---------- tables */
.tblwrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); height: 34px; padding: 0 10px; text-align: left; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { height: 40px; padding: 0 10px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13.5px; }
.tbl th:first-child, .tbl td:first-child { padding-left: 0; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; }
.tbl th.num, .tbl td.num { text-align: right; }
.tbl .trunc { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl td.mono { white-space: nowrap; font-size: 12.5px; }
.tbl tr[data-href] { cursor: pointer; }
.tbl tr[data-href]:hover td { background: var(--surface); }
.tbl td.empty { height: 56px; color: var(--ink-3); }
.tbl td a { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.tbl td a:hover { color: var(--accent-ink); text-decoration-color: var(--accent); }
.tbl.groups td.member { font-family: var(--mono); font-size: 12.5px; height: 30px; padding-left: 24px; color: var(--ink-2); }
.tbl.groups td.member .idx { display: inline-block; min-width: 30px; color: var(--ink-4); }
.tbl.groups td.member .sup { color: var(--ink-4); margin-left: 10px; }
.tbl.groups td.merged { font-size: 12.5px; color: var(--ink-3); height: 30px; padding-left: 24px; }
.tablefoot { display: flex; justify-content: flex-end; padding-top: 14px; }

/* ---------- definition lists */
.dl { display: grid; grid-template-columns: 170px 1fr; margin: 0; }
.dl dt, .dl dd { min-height: 36px; display: flex; align-items: center; border-bottom: 1px solid var(--line); margin: 0; min-width: 0; }
.dl dt { font-size: 12.5px; color: var(--ink-3); gap: 0.3em; padding-right: 16px; }
.dl dd { color: var(--ink-2); gap: 8px; }
.dl dd.multi { flex-direction: column; align-items: flex-start; justify-content: center; padding: 9px 0; gap: 3px; }
.dl.cols2 { grid-template-columns: 170px 1fr 170px 1fr; }
.dl.cols2 dt:nth-of-type(even) { padding-left: 20px; }
.dl.wide { grid-template-columns: 210px 1fr; }

/* ---------- key, icon buttons, buttons, inputs */
.keyrow { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.key { font-family: var(--mono); font-size: 12.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.key.masked { letter-spacing: 0.04em; color: var(--ink-2); }
.ib { width: 26px; height: 26px; border: none; background: none; border-radius: var(--radius-s); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-4); cursor: pointer; padding: 0; flex: none; }
.ib:hover { color: var(--ink); background: var(--surface-2); }
.ib svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ib .i2 { display: none; }
.ib.on .i1, .ib.done .i1 { display: none; }
.ib.on .i2, .ib.done .i2 { display: block; }
.ib.done { color: var(--pos); }
.btn { height: 34px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { background: #fff; border-color: #fff; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.secondary { background: transparent; border-color: var(--line-3); color: var(--ink); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.lg { height: 40px; width: 100%; font-size: 14px; }
.in { height: 34px; padding: 0 11px; font-size: 13.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); width: 100%; }
.in:hover { border-color: var(--line-3); }
.in:focus { border-color: var(--accent); }
.in:focus:not(:focus-visible) { outline: none; }
.in:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 0; border-color: var(--accent); }
.in::placeholder { color: var(--ink-4); }
.in.mono { font-family: var(--mono); font-size: 12.5px; }
.in.sm { height: 30px; font-size: 12.5px; padding: 0 9px; width: auto; }
.in.w80 { width: 80px; }
textarea.in { height: 320px; padding: 10px 12px; line-height: 1.65; resize: vertical; display: block; }
select.in { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238e91a2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 9px center; padding-right: 30px; }
select.in.sm { padding-right: 28px; background-position: right 8px center; }
select.in option { background: var(--surface); color: var(--ink); }

/* ---------- forms */
.frow { display: grid; grid-template-columns: 140px 1fr; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); gap: 12px; }
.frow > label, .frow > .lbl { font-size: 12.5px; color: var(--ink-3); }
.frow.stack { grid-template-columns: 1fr; padding: 14px 0; gap: 8px; }
.frow.stack .lbl { display: flex; justify-content: space-between; align-items: baseline; }
.frow.stack .lbl span { color: var(--ink-3); }
.hint { font-size: 12.5px; color: var(--ink-3); }
.filters noscript .btn { height: 30px; padding: 0 10px; font-size: 12.5px; }
.formfoot { display: flex; align-items: center; gap: 8px; padding-top: 18px; }
.formfoot .rid { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.formfoot .rid:hover { color: var(--accent-ink); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; position: relative; background: var(--surface); }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.seg label { height: 30px; padding: 0 12px; font: 500 12.5px/30px var(--mono); color: var(--ink-3); cursor: pointer; border-right: 1px solid var(--line-2); }
.seg label:last-child { border-right: none; }
.seg label:hover { color: var(--ink); }
.seg input:checked + label { background: var(--surface-3); color: var(--ink); }
.seg input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -2px; }
.filters { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-4); }

/* ---------- tabs and code */
.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line-2); }
.tabs button { background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 8px 0; font-size: 13px; font-weight: 500; color: var(--ink-3); cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.tabs ~ [data-pane] { margin-top: 14px; }
.codewrap { position: relative; }
.codewrap > .ib { position: absolute; top: 8px; right: 8px; background: var(--surface-2); }
.code { margin: 0; font: 12.5px/1.7 var(--mono); color: var(--ink-2); background: var(--code-bg); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 44px 14px 16px; overflow: auto; white-space: pre; tab-size: 2; }
.code.out { background: var(--code-out-bg); }
.code.tall { max-height: 540px; }
.code.mid { max-height: 380px; }
.code .k { color: var(--accent-ink); }
.code .b { color: var(--pos); }

/* ---------- playground */
.pg { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 44px; align-items: start; }

/* ---------- login */
.auth { width: 380px; max-width: 100%; margin: 16vh auto 0; padding: 0 16px; }
.auth-brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; }
.auth-brand b { font-weight: 600; letter-spacing: -0.01em; }
.auth-brand span:last-child { color: var(--ink-2); font-weight: 500; }
.auth h1 { margin: 36px 0 8px; }
.auth-sub { color: var(--ink-3); margin-bottom: 24px; }
.auth .field { display: flex; flex-direction: column; gap: 8px; }
.auth label { font-size: 12.5px; color: var(--ink-3); }
.auth .inwrap { position: relative; }
.auth .inwrap .in { height: 40px; padding-right: 40px; }
.auth .inwrap .ib { position: absolute; right: 7px; top: 7px; }
.auth .err { font-size: 12.5px; color: var(--warn); margin-top: 2px; }
.auth .btn { margin-top: 18px; }

/* ---------- Scalar docs page */
body.reference { background: #0b0c12; }

/* ---------- responsive */
@media (max-width: 1200px) {
  .pg { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .side { position: static; height: auto; overflow: visible; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 16px; border-right: none; border-bottom: 1px solid var(--line-2); }
  .product, .subnav, .px-status .px-status-t, .account b, .account .quota { display: none; }
  .nav { order: 3; flex: 1 0 100%; flex-direction: row; overflow-x: auto; min-width: 0; max-width: 100%; scrollbar-width: none; }
  .nav > a { white-space: nowrap; flex-shrink: 0; }
  .side { max-width: 100vw; }
  .nav > a { height: 32px; font-size: 13.5px; }
  .side-foot { margin: 0 0 0 auto; padding: 0; flex-direction: row; align-items: center; gap: 10px; }
  .account { padding: 0; border: none; }
  .account a { margin: 0; }
  .page { padding: 24px 16px 72px; }
  h1 { font-size: 22px; }
  .dl, .dl.cols2, .dl.wide { grid-template-columns: 1fr; }
  .dl dt { border-bottom: none; min-height: 0; padding-top: 12px; }
  .dl.cols2 dt:nth-of-type(even) { padding-left: 0; }
  .frow { grid-template-columns: 1fr; gap: 6px; padding: 10px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .nav a, .subnav a, .btn, .ib, .tabs button, .in, .tbl tr[data-href] td { transition: background-color 120ms, color 120ms, border-color 120ms; }
}

/* room content under a group: the suppliers' images, description and amenities */
.tbl td.content { padding: 6px 12px 12px 36px; border-top: 0; }
.tbl td.content .imgs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.tbl td.content .imgs img { height: 56px; max-width: 96px; object-fit: cover; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: var(--surface-2); }
.tbl td.content .desc { font-size: 12.5px; color: var(--ink-3); max-width: 70ch; margin-bottom: 8px; }
.tbl td.content .chips { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.tbl td.content .chip { font: 500 11px/1 var(--mono); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 8px; white-space: nowrap; }

/* Review operations. Compact table with an optional inspector. */
.page:has(.rq) { max-width: 1680px; padding: 32px 32px 60px; }
.rq-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.rq-header h1 { font-size: 23px; letter-spacing: -.02em; }
.rq-header p { margin-top: 7px; font-size: 13px; color: var(--ink-3); }
.rq-header-actions { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.rq-docs { font-size: 12px; color: var(--ink-3); }
.rq-docs:hover { color: var(--ink); }
.rq .btn { font-size: 12px; min-height: 32px; padding: 6px 12px; }
.review-export { position: relative; }
.review-export summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; }
.review-export summary::-webkit-details-marker { display: none; }
.review-export > div { position: absolute; right: 0; top: 38px; width: 250px; z-index: 5; padding: 6px; background: var(--surface-2); border: 1px solid var(--line-3); border-radius: 6px; box-shadow: 0 8px 24px #0005; }
.review-export a { color: var(--ink-2); text-decoration: none; display: block; width: 100%; text-align: left; font-size: 12px; background: none; border: 0; border-radius: 3px; padding: 9px 10px; cursor: pointer; }
.review-export a:hover { background: var(--surface-3); }
.review-export p { border-top: 1px solid var(--line-2); padding: 10px; font-size: 11px; color: var(--ink-3); line-height: 1.5; }
.rq-rule { display: grid; grid-template-columns: 165px 1fr; gap: 3px 20px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 5px; margin-bottom: 26px; }
.rq-rule-heading { grid-row: span 2; }
.rq-rule h2 { font-size: 13px; font-weight: 500; margin: 2px 0 4px; }
.rq-rule-heading span { font-size: 11px; color: var(--ink-3); }
.rq-rule form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12px; }
.rq-rule input { width: 78px; min-height: 32px; padding: 5px 8px; }
.rq-rule p { font-size: 11px; color: var(--ink-3); margin-top: 6px; }
#review-rule-state { color: var(--pos); font-size: 11px; }
.rq-view { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; font-size: 12px; }
.rq-view .in { width: auto; max-width: 100%; min-height: 32px; padding: 6px 10px; font-size: 12px; }
.rq-view span { color: var(--ink-3); font-size: 11px; }
.rq-status-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line-2); overflow-x: auto; }
.rq-status-tabs button { display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 0 0 12px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--ink-3); font-size: 12px; cursor: pointer; }
.rq-status-tabs button[aria-pressed=true] { color: var(--ink); border-bottom-color: var(--ink-2); }
.rq-status-tabs button:hover { color: var(--ink); }
.rq-status-tabs span { font: 10px var(--mono); padding: 2px 5px; border-radius: 3px; background: var(--surface-2); color: var(--ink-3); }
.rq-toolbar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; }
.rq-toolbar form { display: flex; gap: 8px; align-items: center; min-width: 0; }
.rq-toolbar .in { font-size: 12px; min-height: 32px; padding: 6px 10px; }
.rq-search { position: relative; width: 270px; max-width: 100%; }
.rq-search svg { position: absolute; left: 10px; top: 9px; width: 14px; height: 14px; fill: none; stroke: var(--ink-3); stroke-width: 1.5; pointer-events: none; }
.rq-search .in { width: 100%; padding-left: 32px; }
.rq-toolbar select { width: 158px; }
.rq-notice, .rq-error { font-size: 12px; padding: 10px 12px; margin-bottom: 12px; border: 1px solid var(--line-2); border-radius: 4px; }
.rq-notice { color: var(--ink-3); }
.rq-notice a { color: var(--ink); text-decoration: underline; }
.rq-error { color: var(--warn); border-color: #f2a65a44; }
.review-workspace { display: grid; grid-template-columns: minmax(0,1fr); border: 1px solid var(--line-2); border-radius: 5px; overflow: clip; align-items: start; }
.review-workspace.has-detail { grid-template-columns: minmax(0,1fr) 350px; }
.review-list { min-width: 0; }
.rq-table-scroll { overflow: auto; max-height: calc(100vh - 330px); min-height: 240px; }
.rq-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.rq-table th { position: sticky; top: 0; z-index: 1; color: var(--ink-3); background: #10121a; font-weight: 400; font-size: 11px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.rq-table th:first-child { width: 40%; }
.rq-table .rq-target-col { width: 26%; }
.rq-table .rq-score-col { width: 16%; }
.rq-table th:last-child { width: 18%; }
.rq-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12px; vertical-align: top; overflow-wrap: anywhere; line-height: 1.5; }
.rq-table tr:last-child td { border-bottom: 0; }
.rq-table tbody tr { cursor: pointer; }
.rq-table tbody tr:hover { background: #ffffff03; }
.rq-table tr.selected { background: #ffffff05; }
.rq-table tr.selected td:first-child { box-shadow: inset 2px 0 var(--accent); }
.rq-room { display: block; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); font-size: 12px; font-weight: 500; cursor: pointer; line-height: 1.5; }
.rq-room-meta { display: block; font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.rq-source-meta { font-size: 10px; color: var(--ink-4); margin-top: 2px; }
.rq-low { color: var(--warn); }
.rq-reason { display: block; color: var(--ink-3); font-size: 10px; margin-top: 4px; }
.rq-priority { display: table; margin: 7px 0; padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--warn); font-size: 10px; font-weight: 500; }
.rq-priority.confirmed { color: #f0a6a6; border-color: #693c42; }
.rq-audit-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 8px; color: var(--ink-3); font-size: 11px; line-height: 1.5; }
.rq-audit { margin-top: 20px; padding: 14px; border: 1px solid var(--line-2); border-radius: 4px; }
.rq-audit .rq-priority { margin-top: 0; }
.rq-audit p { margin: 10px 0; color: var(--ink-2); font-size: 12px; line-height: 1.6; }
.rq-audit ul { padding-left: 18px; margin: 10px 0; font-size: 11px; }
.rq-audit a { text-decoration: underline; }
.rq-audit small { display: block; color: var(--ink-3); font-size: 10px; line-height: 1.5; }
.review-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 11px; line-height: 1.4; }
.review-badge::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-4); flex-shrink: 0; }
.review-badge.proposed::before, .review-badge.reviewing::before { background: var(--accent); }
.review-badge.approved::before { background: var(--pos); }
.review-badge.needs_evidence::before, .review-badge.failed::before { background: var(--warn); }
.review-badge.approved { color: var(--pos); }
.rq-table-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line-2); padding: 10px 14px; color: var(--ink-3); font-size: 11px; }
.rq-table-footer > div { display: flex; gap: 16px; }
.rq-text-button { color: var(--ink-2); padding: 0; border: 0; background: none; font-size: 11px; cursor: pointer; white-space: nowrap; }
.rq-text-button:hover { color: var(--ink); }
.rq-empty { padding: 60px 20px; text-align: center; }
.rq-empty h2 { font-size: 14px; font-weight: 500; }
.rq-empty p { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.rq-empty a { text-decoration: underline; }
.review-detail { min-width: 0; border-left: 1px solid var(--line-2); background: #101219; max-height: calc(100vh - 289px); overflow-y: auto; }
.rq-detail-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: #101219; border-bottom: 1px solid var(--line-2); font-size: 11px; color: var(--ink-3); }
.rq-close { border: 0; background: none; color: var(--ink-3); font-size: 20px; line-height: 1; padding: 2px 4px; cursor: pointer; }
.rq-close:hover { color: var(--ink); }
.rq-detail-loading { padding: 20px; color: var(--ink-3); font-size: 12px; }
.rq-detail-body { padding: 20px 18px; }
.rq-hotel { font-size: 11px; color: var(--ink-3); margin-bottom: 6px; }
.review-detail h2 { font-size: 16px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.rq-detail-status { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }
.rq-detail-status > span:last-child { font-size: 10px; color: var(--ink-3); }
.rq-decision { margin: 20px 0 0; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.rq-decision > div { display: grid; grid-template-columns: 95px 1fr; gap: 12px; padding: 6px 0; font-size: 12px; }
.rq-decision dt { color: var(--ink-3); font-size: 11px; }
.rq-decision dd { margin: 0; overflow-wrap: anywhere; }
.rq-decision small { display: block; font-size: 10px; color: var(--ink-3); margin-top: 3px; }
.rq-review-message, .rq-conflicts { font-size: 11px; line-height: 1.65; color: var(--ink-3); margin-top: 12px; }
.rq-conflicts { color: var(--warn); }
.rq-conflicts h3 { font-size: 11px; font-weight: 600; margin: 0 0 8px; }
.rq-conflicts ul { list-style: none; padding: 0; margin: 0; }
.rq-conflicts li { padding: 8px 0; border-top: 1px solid var(--line-2); }
.rq-conflicts strong, .rq-conflicts span { display: block; }
.rq-conflicts strong { text-transform: capitalize; }
.rq-conflicts span { color: var(--ink-2); }
.rq-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.rq-evidence, .rq-label { padding: 14px 0; border-top: 1px solid var(--line-2); }
.rq-evidence summary, .rq-label h3 { font-size: 12px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.rq-evidence dl, .rq-label dl { display: grid; gap: 10px; margin: 14px 0 0; }
.rq-evidence dl > div, .rq-label dl > div { display: grid; grid-template-columns: 85px 1fr; gap: 12px; font-size: 11px; }
.rq-evidence dt, .rq-label dt { color: var(--ink-3); }
.rq-evidence dd, .rq-label dd { margin: 0; overflow-wrap: anywhere; line-height: 1.6; }
.rq-evidence p, .rq-label p { font-size: 10px; line-height: 1.6; color: var(--ink-3); margin-top: 12px; }
.rq-timeline { list-style: none; padding: 0; margin: 16px 0 0; font-size: 10px; }
.rq-timeline li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; }
.rq-timeline time { color: var(--ink-3); }
.rq-source-link { display: inline-block; font-size: 11px; color: var(--ink-2); margin-top: 14px; }
.rq-source-link:hover { color: var(--ink); }
.rq-source-id { font-size: 9px; color: var(--ink-4); margin-top: 6px; overflow-wrap: anywhere; }
.rq-footnote { font-size: 11px; color: var(--ink-4); line-height: 1.7; padding-top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1250px) {
  .has-detail .rq-target-col { display: none; }
  .has-detail .rq-table th:first-child { width: 51%; }
  .has-detail .rq-table .rq-score-col { width: 21%; }
  .has-detail .rq-table th:last-child { width: 28%; }
  .rq-header-actions { gap: 12px; }
}
@media (max-width: 999px) {
  .page:has(.rq) { padding: 24px 20px 50px; }
  .review-workspace.has-detail { grid-template-columns: minmax(0,1fr); }
  .review-detail { border-left: 0; border-top: 1px solid var(--line-2); max-height: none; }
  .has-detail .rq-target-col { display: table-cell; }
  .rq-table { min-width: 540px; }
  .has-detail .rq-table th:first-child { width: 40%; }
  .has-detail .rq-table .rq-score-col { width: 16%; }
  .has-detail .rq-table th:last-child { width: 18%; }
  .rq-rule { grid-template-columns: 1fr; gap: 12px; }
  .rq-rule-heading { grid-row: auto; display: flex; gap: 12px; align-items: baseline; }
  .rq-rule-heading h2 { margin: 0; }
  .rq-rule p { margin: 0; }
  .rq-toolbar { align-items: flex-start; }
  .rq-toolbar form { flex-wrap: wrap; }
  .rq-search { width: 220px; }
  .rq-header { flex-wrap: wrap; }
  .rq-header-actions { flex-direction: row-reverse; }
}
@media (max-width: 540px) {
  .rq-header { margin-bottom: 20px; gap: 16px; }
  .rq-status-tabs { gap: 18px; }
  .rq-rule { padding: 14px; margin-bottom: 20px; }
  .rq-rule label { width: 100%; }
  .rq-toolbar .rq-search { width: 100%; }
  .rq-toolbar form { flex: 1; }
  .rq-toolbar select { max-width: 155px; }
  .rq-table-scroll { max-height: 420px; }
}
@media (max-width: 540px) {
  .rq-table { min-width: 0; }
  .rq-table .rq-target-col { display: none; }
  .rq-table th:first-child, .has-detail .rq-table th:first-child { width: 50%; }
  .rq-table .rq-score-col, .has-detail .rq-table .rq-score-col { width: 21%; }
  .rq-table th:last-child, .has-detail .rq-table th:last-child { width: 29%; }
  .rq-table th, .rq-table td { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 540px) {
  body:has(.rq) .nav > a { white-space: nowrap; flex-shrink: 0; }
}

/* hotel playground */
.hotels-cands td { height: auto; padding-top: 10px; padding-bottom: 10px; vertical-align: top; }
.hotels-cands .reasons { margin: 6px 0 0; padding-left: 16px; }
.hotels-cands td a, #h-summary a { color: var(--accent-ink); }
.dl dd a.link { color: var(--accent-ink); }
/* overview: one card per product */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.products .sec { margin-top: 44px; }
.product-card .hint { margin: 0 0 6px; }
.product-card .dl { grid-template-columns: 130px 1fr; }
.cardfoot { display: flex; align-items: center; gap: 16px; padding-top: 16px; font-size: 13px; }
.cardfoot > a:not(.btn) { color: var(--ink-3); } .cardfoot > a:not(.btn):hover { color: var(--accent-ink); }
.product-switch { margin-top: -12px; }
@media (max-width: 900px) { .products { grid-template-columns: minmax(0, 1fr); gap: 0; } }
