/* Dnes (admin overview) – direction B "Pracovní stůl", stage 1.
   Uses the admin tokens from dashboard.html (:root) and the Specka palette. */
.today-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

#tab-overview.today-dashboard{display:flex;flex-direction:column;gap:18px}
#tab-overview.today-dashboard>.overview-range-bar{margin-bottom:0}

/* Period: one row of presets; custom dates on demand on small screens. */
#tab-overview .today-range .overview-range-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}
#tab-overview .today-range .overview-range-quick{display:flex;flex-wrap:wrap;gap:6px}
#tab-overview .today-custom{display:flex;align-items:flex-end;gap:7px}
#tab-overview .today-custom-toggle{display:none}

.today-section-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.today-section-head h2{margin:0;font-size:20px;letter-spacing:-.02em}
.today-stamp{color:var(--muted);font-size:13px}
.today-link{margin-left:auto;font-size:13px;font-weight:700;color:var(--accent);text-decoration:none;padding:8px 0}
.today-link:hover,.today-go:hover{text-decoration:underline}

.today-attention{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px 6px}
.today-attention-list{display:flex;flex-direction:column}
.today-attention-item{display:grid;grid-template-columns:4px minmax(0,1fr) auto;gap:0 14px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.today-attention-item:first-child{border-top:0}
.today-attention-item>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.today-attention-item strong{font-size:15px;line-height:1.35}
.today-attention-item>div>span{font-size:13px;color:var(--muted);line-height:1.4}
.today-stripe{align-self:stretch;border-radius:4px;background:#d6d0ca}
.today-attention-item[data-level="bad"] .today-stripe{background:var(--bad)}
.today-attention-item[data-level="warn"] .today-stripe{background:#d9a400}
.today-attention-item[data-level="info"] .today-stripe{background:#2f6690}
.today-attention-item[data-level="good"] .today-stripe{background:var(--good)}
.today-attention-item[data-level="unknown"] .today-stripe{background:#a39a92}
.today-attention-more{border-top:1px solid var(--line)}
.today-attention-more>summary{cursor:pointer;padding:12px 0;font-size:13.5px;font-weight:700;color:var(--accent);min-height:40px;display:flex;align-items:center}
.today-attention-more>.today-attention-item:first-of-type{border-top:1px solid var(--line)}
.today-insights .insight-list{grid-template-columns:minmax(0,1fr)}
.today-go{font-size:13px;font-weight:700;color:var(--accent);text-decoration:none;white-space:nowrap;padding:10px 2px;min-height:40px;display:inline-flex;align-items:center}
.today-skeleton{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,#efe9e4,#f7f3f0,#efe9e4);background-size:200% 100%;animation:today-sk 1.4s ease-in-out infinite;width:70%}
.today-skeleton.short{width:40%;margin-top:6px}
@keyframes today-sk{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media (prefers-reduced-motion:reduce){.today-skeleton{animation:none}}

.today-kpi-section{display:flex;flex-direction:column;gap:10px}
.today-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.today-kpi{display:flex;flex-direction:column;gap:4px;min-width:0;padding:16px 18px;border-radius:18px;border:1px solid var(--line);background:#fff}
.today-kpi.tone-orange{background:var(--brand-soft);border-color:#f0d7c7}
.today-kpi.tone-mint{background:var(--mint);border-color:#d6e8df}
.today-kpi.tone-sand{background:var(--sand);border-color:#eadfc7}
.today-kpi.tone-purple{background:var(--lavender);border-color:#e2d7e9}
.today-kpi-label{font-size:14px;font-weight:700;color:#4b5563}
.today-kpi-value{font-size:clamp(26px,2.6vw,36px);line-height:1.12;font-weight:850;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--text)}
.today-kpi[data-state="unavailable"] .today-kpi-value{color:var(--muted)}
.today-delta{font-size:13px;font-weight:700;color:var(--muted)}
.today-delta[data-trend="up"]{color:var(--good)}
.today-delta[data-trend="down"]{color:var(--bad)}
.today-kpi-sub{font-size:12.5px;color:var(--muted);line-height:1.4}
.today-note{margin:0;font-size:12.5px;color:var(--muted);line-height:1.45}
.today-secondary{display:flex;flex-wrap:wrap;gap:8px}
.today-secondary-item{display:flex;align-items:baseline;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.today-secondary-item span{font-size:13px;color:var(--muted)}
.today-secondary-item strong{font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}

.today-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px}
.today-grid>*{min-width:0}
.today-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums}
.today-table th:nth-child(2),.today-table td:nth-child(2){width:3.5em}
.today-table th:nth-child(3),.today-table td:nth-child(3){width:7.5em}
.today-table td:first-child{white-space:normal;overflow-wrap:anywhere}
.today-table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);text-align:left;padding:7px 8px;border-bottom:1px solid var(--line)}
.today-table td{padding:9px 8px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}
.today-table tr:last-child td{border-bottom:0}
.today-table .num{text-align:right;white-space:nowrap}
.today-empty{margin:0;color:var(--muted);font-size:14px}

@media (max-width:1180px){
  .today-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  #tab-overview .today-custom-toggle{display:inline-flex}
  #tab-overview .today-custom{display:none;width:100%}
  #tab-overview .today-custom.is-open{display:flex}
  #tab-overview .today-custom .overview-range-field{flex:1 1 120px;min-width:0}
  .today-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:740px){
  #tab-overview.today-dashboard{gap:14px}
  /* Presets wrap into at most two short rows; all of them stay visible. */
  #tab-overview>.today-range{flex-direction:column;align-items:stretch;min-width:0}
  #tab-overview .today-range .overview-range-controls{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;min-width:0;max-width:100%}
  #tab-overview .today-range .overview-range-quick{display:flex;flex-wrap:wrap;grid-template-columns:none;gap:5px;min-width:0}
  #tab-overview .today-range .overview-range-quick .btn{width:auto;flex:1 0 auto;white-space:nowrap;padding:6px 10px;font-size:12.5px;min-height:36px;height:36px}
  #tab-overview .today-range .overview-range-copy{display:flex;align-items:baseline;gap:8px}
  #tab-overview .today-range .overview-range-copy span{margin-top:0}
  .today-attention{padding:12px 14px 4px;border-radius:16px}
  .today-attention-item{grid-template-columns:4px minmax(0,1fr);gap:4px 12px}
  .today-attention-item .today-go{grid-column:2;justify-self:start;padding:4px 0;min-height:32px}
  .today-attention-item strong{font-size:14.5px}
  .today-kpis{gap:8px}
  .today-kpi{padding:12px;border-radius:14px}
  .today-kpi-label{font-size:12.5px}
  .today-kpi-value{font-size:22px}
  .today-delta{font-size:12px}
  .today-kpi-sub{font-size:11.5px}
  .today-secondary-item{flex:1 1 140px}
}
@media (max-width:360px){
  .today-kpis{grid-template-columns:minmax(0,1fr)}
}

/* Orders on phones: the first order is visible without scrolling past the
   bulk tools; "Vybrat více" (or selecting an order) opens them. */
.orders-bulk-toggle{display:none}
@media (max-width:767px){
  #tab-orders .orders-bulk-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;align-self:stretch}
  #tab-orders .orders-bulkbar:not(.is-open){display:none}
}

/* ---- Header notification bell (#267): replaces the Provoz pill and the
   "K vyřízení" panel. Same items as Provoz; count = needs action. */
.ops-bell{position:relative;margin-left:auto;flex:none}
.ops-bell-button{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--text);padding:0}
.ops-bell-button:hover{border-color:#cfc6bd}
.ops-bell-button:focus-visible{outline:3px solid rgba(122,95,147,.35);outline-offset:2px}
.ops-bell-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ops-bell-count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#a39a92;color:#fff;font-size:11.5px;font-weight:800;line-height:20px;text-align:center;border:2px solid #fff;font-variant-numeric:tabular-nums}
.ops-bell-count[hidden]{display:none}
.ops-bell-button[data-level="warn"]{background:#fbf1d9;border-color:#f0d9a8;color:#7a5300}
.ops-bell-button[data-level="warn"] .ops-bell-count{background:#b07d00}
.ops-bell-button[data-level="bad"]{background:#fdecea;border-color:#f3c5c0;color:var(--bad)}
.ops-bell-button[data-level="bad"] .ops-bell-count{background:var(--bad)}
.ops-bell-button[data-level="unknown"] .ops-bell-count{background:#6b6259}
.ops-bell-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:70;width:min(420px,calc(100vw - 32px));max-height:min(70vh,560px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 44px rgba(38,30,42,.18);padding:12px 14px 10px}
.ops-bell-panel[hidden]{display:none}
.ops-bell-head{display:flex;align-items:baseline;gap:8px;padding-bottom:6px}
.ops-bell-head h2{margin:0;font-size:16px;outline:none}
.ops-bell-stamp{font-size:12px;color:var(--muted)}
.ops-bell-close{margin-left:auto;border:0;background:transparent;font-size:22px;line-height:1;width:36px;height:36px;border-radius:10px;color:var(--muted)}
.ops-bell-close:hover{background:#f4efeb}
.ops-bell-group h3{margin:8px 0 2px;font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.ops-bell-group ul{list-style:none;margin:0;padding:0}
.ops-bell-item{display:grid;grid-template-columns:4px minmax(0,1fr);gap:2px 12px;padding:9px 0;border-top:1px solid var(--line)}
.ops-bell-group ul .ops-bell-item:first-child{border-top:0}
.ops-bell-stripe{grid-row:1 / span 2;border-radius:4px;background:#a39a92}
.ops-bell-item[data-level="bad"] .ops-bell-stripe{background:var(--bad)}
.ops-bell-item[data-level="warn"] .ops-bell-stripe{background:#d9a400}
.ops-bell-item[data-level="info"] .ops-bell-stripe{background:#2f6690}
.ops-bell-item[data-level="good"] .ops-bell-stripe{background:var(--good)}
.ops-bell-item>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.ops-bell-item strong{font-size:14px;line-height:1.35}
.ops-bell-meta{font-size:12.5px;color:var(--muted);line-height:1.4}
.ops-bell-go{grid-column:2;justify-self:start;font-size:13px;font-weight:700;color:var(--accent);text-decoration:none;padding:4px 0;min-height:30px;display:inline-flex;align-items:center}
.ops-bell-go:hover,.ops-bell-all:hover{text-decoration:underline}
.ops-bell-all{display:flex;align-items:center;min-height:40px;margin-top:6px;border-top:1px solid var(--line);font-size:13.5px;font-weight:700;color:var(--accent);text-decoration:none}
.ops-bell-empty{margin:8px 0;color:var(--muted)}

/* ---- Dnes charts (#267, #272): one panel with a segmented control; only the
   selected chart is shown on every screen size. Same chart component. */
.today-charts{display:flex;flex-direction:column;gap:12px;min-width:0}
.today-chart-tabs{display:inline-flex;flex-wrap:wrap;justify-self:start;align-self:flex-start;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#f7f3f0;max-width:100%}
.today-chart-tabs button{border:0;border-radius:9px;background:transparent;color:var(--text);font-size:13.5px;font-weight:700;line-height:1.25;padding:8px 14px;min-height:40px;cursor:pointer;transition:background-color .15s ease,color .15s ease}
.today-chart-tabs button:hover{background:#fff}
.today-chart-tabs button[aria-selected="true"]{background:var(--accent);color:#fff;box-shadow:0 1px 3px rgba(58,44,47,.18)}
.today-chart-tabs button:focus-visible{outline:3px solid rgba(122,95,147,.35);outline-offset:1px}
.today-charts .today-chart{border:0;padding:0;background:none;box-shadow:none;border-radius:0}
.today-charts .today-chart[hidden]{display:none}
.today-charts .today-chart:focus-visible{outline:3px solid rgba(122,95,147,.25);outline-offset:4px;border-radius:8px}
.analysis-more{margin-left:auto;font-size:13px;font-weight:700;color:var(--accent);text-decoration:none;white-space:nowrap;min-height:32px;display:inline-flex;align-items:center}
.analysis-more:hover{text-decoration:underline}
@media (prefers-reduced-motion:reduce){.today-chart-tabs button{transition:none}}
@media (max-width:767px){
  .today-chart-tabs{display:grid;grid-auto-flow:row;grid-template-columns:repeat(6,minmax(0,1fr));width:100%}
  .today-chart-tabs button{grid-column:span 2}
  .today-chart-tabs button:nth-child(n+4){grid-column:span 3}
  .today-chart-tabs button{font-size:12.5px;padding:8px 4px;min-height:44px}
  .analysis-more{margin-left:0}
}

.admin-bottom-nav{display:none}
@media (max-width:767px){
  .admin-topbar{flex-wrap:wrap}
  /* Title and bell share the first row (the bell is always visible). */
  .admin-topbar{flex-direction:row;align-items:flex-start;flex-wrap:nowrap}
  .admin-page-title{flex:1 1 0;min-width:0}
  .admin-layout{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))}
  .admin-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:60;
    background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(38,49,57,.06);
    padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
  .admin-bottom-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;
    padding:6px 2px;border:0;background:none;color:var(--muted);font:inherit;font-size:11px;font-weight:700;cursor:pointer;min-width:0}
  .admin-bottom-nav button span:not(.admin-bottom-badge){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .admin-bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .admin-bottom-nav button[aria-current="page"]{color:var(--accent)}
  .admin-bottom-nav button[aria-current="page"]::before{content:"";position:absolute;top:0;left:22%;right:22%;height:3px;border-radius:0 0 3px 3px;background:var(--brand)}
  .admin-bottom-nav button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px;border-radius:10px}
  .admin-bottom-badge{position:absolute;top:5px;left:calc(50% + 6px);min-width:16px;padding:0 5px;border-radius:999px;background:var(--brand);color:#fff;font-size:10px;line-height:16px;text-align:center}
  .admin-bottom-badge.hidden{display:none}
}
@media print{.admin-bottom-nav{display:none}}

/* ---- Orders totals (issue #267 A): whole-filter sums in CZK, first screen on phones.
   Only the title and the amount; how it is computed is behind the shared "i". */
#tab-orders .order-totals{padding:10px 20px 4px}
#tab-orders .order-totals .orders-paid-total{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;max-width:640px;width:100%;margin:0}
#tab-orders .order-totals .orders-paid-total.hidden{display:none}
#tab-orders .order-totals .orders-financial-total{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;min-width:0;min-height:0;padding:10px 44px 10px 14px;border-radius:12px;border:1px solid var(--line);white-space:normal}
#tab-orders .order-totals .orders-financial-total .orders-financial-label{font-size:12.5px;font-weight:700;line-height:1.3;color:var(--muted)}
#tab-orders .order-totals .orders-financial-total strong{font-size:20px;font-weight:800;line-height:1.2;letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text);margin-top:auto}
#tab-orders .order-totals .orders-financial-total.neutral{background:#f7f4f1}
/* Colours per the owner's mock-up (23. 11.): paid = soft green, unpaid = soft amber. */
#tab-orders .order-totals .orders-financial-total.paid{background:#e6f4ec;border-color:#b9dcc7}
#tab-orders .order-totals .orders-financial-total.paid .orders-financial-label{color:#466a57}
#tab-orders .order-totals .orders-financial-total.unpaid{background:#fcf1dc;border-color:#ecd49a}
#tab-orders .order-totals .orders-financial-total.unpaid .orders-financial-label{color:#76591a}
#tab-orders .order-totals .orders-financial-total>.adm-info{position:absolute;top:8px;right:8px;margin:0}
@media (max-width:767px){
  #tab-orders .order-totals{padding:8px 12px 4px}
  #tab-orders .order-totals .orders-financial-total{padding:9px 38px 9px 11px}
  #tab-orders .order-totals .orders-financial-total .orders-financial-label{font-size:12px}
  #tab-orders .order-totals .orders-financial-total>.adm-info{top:6px;right:6px}
  #tab-orders .order-totals .orders-financial-total strong{font-size:19px}
}
@media (max-width:340px){
  #tab-orders .order-totals .orders-paid-total{grid-template-columns:minmax(0,1fr)}
}

/* ---- Shared "i" (public/admin-info.js): the same control in every section */
.adm-info{position:relative;margin-left:auto;flex:none}
.adm-info>summary{list-style:none;width:28px;height:28px;border-radius:50%;border:1px solid var(--line);background:var(--panel,#fff);display:grid;place-items:center;cursor:pointer;color:var(--muted);font:700 13px/1 Inter,system-ui,sans-serif;font-style:italic}
.adm-info>summary::-webkit-details-marker{display:none}
.adm-info>summary:hover{color:#5F4775;border-color:#7a5f93}
.adm-info>summary:focus-visible{outline:2px solid #7a5f93;outline-offset:2px}
.adm-info[open]>summary{color:#5F4775;border-color:#7a5f93;background:#F0E9F4}
.adm-info-body{position:absolute;right:0;top:34px;z-index:30;width:min(320px,calc(100vw - 48px));background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(38,30,42,.18);padding:12px 14px;font-size:13px;line-height:1.45;color:var(--text);font-weight:400;white-space:normal;text-align:left;letter-spacing:0}
.adm-info-body b{display:block;font-size:13px}
.adm-info-body ul{margin:6px 0 0;padding-left:18px}.adm-info-body li{margin:0 0 4px}
/* Wherever the bottom navigation is shown, the "i" opens as a sheet above it. */
@media(max-width:900px){.adm-info-body{position:fixed;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom,0px));top:auto;width:auto;z-index:1000;max-height:60vh;overflow:auto}}

.mkt-body{display:flex;flex-direction:column;gap:14px;min-width:0}
.mkt-note{margin:0;font-size:13px;color:var(--muted)}
.mkt-activities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mkt-card{position:relative;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--panel,#fff);min-width:0;display:flex;flex-direction:column;gap:10px}
.mkt-card.has-warn{border-color:#F0D9A8}
.mkt-card-head{display:flex;align-items:center;gap:8px;min-height:30px}
.mkt-card-head h3{margin:0;font-size:15px}
.mkt-stat{display:flex;flex-direction:column;gap:1px;min-width:0}
.mkt-stat.is-main .mkt-stat-value{font-size:26px;letter-spacing:-.02em}
.mkt-stat-label{font-size:12.5px;font-weight:700;color:var(--muted)}
.mkt-stat-value{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0}
.mkt-stat-sub{font-size:12px;color:var(--muted)}
.mkt-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid var(--line);padding-top:10px}
.mkt-table .mkt-name span{display:block;font-weight:700;overflow-wrap:anywhere}
.mkt-table .mkt-name small{display:block;color:var(--muted);font-weight:400;font-size:11.5px}
.mkt-link{font-weight:700;font-size:13px;align-self:flex-start}
.mkt-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mkt-two h4{margin:0 0 6px;font-size:13px}
.mkt-list{list-style:none;margin:0;padding:0}
.mkt-list li{display:flex;flex-direction:column;padding:7px 0;border-top:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}
.mkt-list li:first-child{border-top:0}.mkt-list li span{color:var(--muted);font-size:12.5px}
.mkt-list li.is-warn b{color:#7A5300}
.mkt-error{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#B42318;font-weight:650}
.mkt-skeleton{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mkt-skeleton div{height:150px;border-radius:14px;background:linear-gradient(90deg,#ede7e2,#f6f2ef,#ede7e2);background-size:200% 100%;animation:thumb-sk 1.3s ease-in-out infinite}
@media(max-width:1100px){.mkt-activities{grid-template-columns:minmax(0,1fr)}.mkt-card .mkt-stat.is-main .mkt-stat-value{font-size:24px}}
@media(max-width:640px){
  /* Phones: each figure as a compact row (label left, value right). */
  .mkt-stats{grid-template-columns:minmax(0,1fr);gap:0}
  .mkt-stats .mkt-stat{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 10px;padding:6px 0;border-top:1px solid var(--line)}
  .mkt-stats .mkt-stat:first-child{border-top:0}
  .mkt-stats .mkt-stat-sub{grid-column:1/-1}
  .mkt-stats .mkt-stat-value{text-align:right}
  .mkt-two{grid-template-columns:minmax(0,1fr)}
  .mkt-hide-s{display:none}
  .mkt-skeleton{grid-template-columns:minmax(0,1fr)}
  
}

/* ---- Kontrolní režim (jen pro čtení) ---- */
.review-banner{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0 0 14px;padding:10px 14px;border:1px solid #7a5f93;border-radius:12px;background:#F0E9F4;color:#3d2c4d;font-size:13.5px;line-height:1.4}
.review-banner[hidden]{display:none}
.review-banner b{font-weight:800}
.review-banner .btn{flex:none}
.is-review .admin-only{display:none!important}
.ops-grid .review-access-card{grid-column:1/-1}
.review-login{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.review-login>summary{cursor:pointer;font-weight:700;font-size:13.5px;color:#5F4775}
.review-login p{font-size:12.5px;color:var(--muted);margin:8px 0}
.review-login input{width:100%;box-sizing:border-box;margin:0 0 8px;font:600 16px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;text-transform:uppercase}
.review-code-box{display:flex;flex-direction:column;gap:4px;margin:12px 0;padding:12px 14px;border:1px dashed #7a5f93;border-radius:12px;background:#faf7fc}
.review-code-label{font-size:12.5px;font-weight:700;color:var(--muted)}
.review-code{font:800 24px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;overflow-wrap:anywhere;user-select:all}
.review-code-hint{font-size:12.5px;color:var(--muted)}
.review-list{list-style:none;margin:10px 0;padding:0}
.review-list li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid var(--line);font-size:13px}
.review-list li:first-child{border-top:0}
.review-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.review-error{color:#B42318;font-weight:650;font-size:13px}
@media(max-width:600px){.review-actions .btn{flex:1 1 100%}.review-banner{font-size:13px}}
