/* HOTEL NEXT - COLOR SYSTEM EXPLORER */
:root {
  --app-bg: #f6f5f2;
  --app-bg-2: #ffffff;
  --app-bg-3: #faf9f6;
  --app-bg-4: #f0eee9;
  --app-line: #e6e3dc;
  --app-line-2: #d4d0c5;
  --app-text: #1a1a1a;
  --app-text-2: #5a5a5a;
  --app-text-3: #8a8a85;
  --app-accent: #8b6f3a;
  --app-good: #2d8a5f;
  --app-warn: #b8841a;
  --app-bad: #c44a3a;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --display: 'Archivo', 'Inter', sans-serif;
}
* { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; height: 100vh; background: var(--app-bg); color: var(--app-text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { font-size: 14px; line-height: 1.5; overflow: hidden; }
button { font-family: inherit; cursor: pointer; }

.app { display: grid; grid-template-rows: 60px 60px 1fr; height: 100vh; }

/* ===== HEADER ===== */
.header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: var(--app-bg-2);
  border-bottom: 1px solid var(--app-line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #381e63 0%, #b89968 100%);
  display: grid; place-items: center; color: white; font-weight: 700;
  font-family: var(--display); font-size: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 13px; font-weight: 600; }
.brand-sub { font-size: 11px; color: var(--app-text-3); font-family: var(--mono); }
.header-meta { font-family: var(--mono); font-size: 11px; color: var(--app-text-3); display: flex; gap: 16px; }
.header-meta b { color: var(--app-text-2); font-weight: 500; }

/* ===== TABS ===== */
.tabs-row {
  display: flex; align-items: stretch;
  background: var(--app-bg-2);
  border-bottom: 1px solid var(--app-line);
  padding: 0 24px;
  gap: 0;
}
.tab {
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px;
  background: transparent; border: none; color: var(--app-text-2);
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  border-bottom: 2px solid transparent;
  position: relative;
  height: 100%;
}
.tab .tab-letter {
  width: 22px; height: 22px; border-radius: 5px;
  background: var(--app-bg-4); color: var(--app-text-2);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 11px;
}
.tab .tab-flag {
  font-size: 9px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 2px 6px; border-radius: 3px;
  background: var(--app-bg-4); color: var(--app-text-3);
}
.tab .tab-flag.rec { background: rgba(108, 196, 161, 0.12); color: var(--app-good); }
.tab .tab-flag.no { background: rgba(229, 123, 107, 0.12); color: var(--app-bad); }
.tab .tab-flag.req { background: rgba(230, 183, 90, 0.12); color: var(--app-warn); }
.tab.active { color: var(--app-text); border-bottom-color: var(--app-accent); }
.tab.active .tab-letter { background: var(--app-accent); color: var(--app-bg); }
.tab:hover:not(.active) { color: var(--app-text); }

/* ===== MAIN ===== */
.main {
  display: grid;
  grid-template-columns: 380px 1fr;
  overflow: hidden;
}

.control-pane {
  background: var(--app-bg-2);
  border-right: 1px solid var(--app-line);
  overflow-y: auto;
  padding: 18px 20px 40px;
}
.control-pane::-webkit-scrollbar, .preview-pane::-webkit-scrollbar { width: 6px; }
.control-pane::-webkit-scrollbar-thumb, .preview-pane::-webkit-scrollbar-thumb { background: var(--app-line-2); border-radius: 3px; }

.preview-pane {
  overflow-y: auto;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 30, 99, 0.04), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(184, 153, 104, 0.05), transparent 50%),
    var(--app-bg);
  padding: 24px 28px 60px;
}
.page-frame {
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
}
.page-frame.focused {
  box-shadow: 0 0 0 3px rgba(139, 111, 58, 0.18), 0 4px 12px rgba(0,0,0,0.06);
}

/* ===== EXPLAIN BLOCK (top of control pane) ===== */
.explain-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--app-accent); font-family: var(--mono); margin-bottom: 4px; font-weight: 600; }
.explain-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; font-family: var(--display); letter-spacing: -0.01em; line-height: 1.15; }
.explain-text { font-size: 12.5px; color: var(--app-text-2); line-height: 1.55; margin: 0 0 16px; }
.explain-text strong { color: var(--app-text); }

.metrics-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.metric {
  background: var(--app-bg-3); border: 1px solid var(--app-line); border-radius: 8px;
  padding: 8px 10px;
}
.metric-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--app-text-3); font-family: var(--mono); margin-bottom: 2px; }
.metric-value { font-size: 16px; font-weight: 700; font-family: var(--display); color: var(--app-text); }
.metric-value.h { color: var(--app-accent); }
.metric-sub { font-size: 9px; color: var(--app-text-3); font-family: var(--mono); margin-top: 2px; }

.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
.tag {
  font-size: 9.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: 4px;
  background: var(--app-bg-3); color: var(--app-text-2);
  border: 1px solid var(--app-line);
}
.tag.good { color: var(--app-good); border-color: rgba(108, 196, 161, 0.25); background: rgba(108, 196, 161, 0.06); }
.tag.bad { color: var(--app-bad); border-color: rgba(229, 123, 107, 0.25); background: rgba(229, 123, 107, 0.06); }

/* ===== BACKOFFICE WINDOW ===== */
.bo {
  background: var(--app-bg-3); border: 1px solid var(--app-line);
  border-radius: 10px; overflow: hidden;
  margin-top: 8px;
}
.bo-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--app-bg-4); border-bottom: 1px solid var(--app-line);
}
.bo-bar-dots { display: flex; gap: 4px; }
.bo-bar-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--app-line-2); }
.bo-umb {
  background: #3544b1; color: white; font-weight: 700; font-size: 9px;
  padding: 2px 5px; border-radius: 3px; font-family: var(--mono);
}
.bo-path { font-family: var(--mono); font-size: 10px; color: var(--app-text-3); }
.bo-path b { color: var(--app-text-2); font-weight: 500; }
.bo-body { padding: 14px; }

.bo-section { margin-bottom: 14px; }
.bo-section:last-child { margin-bottom: 0; }
.bo-section-head {
  font-family: var(--mono); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--app-text-3);
  margin-bottom: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--app-line);
  font-weight: 600;
}

/* color row (for Option A & D) */
.color-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px;
  background: var(--app-bg-2); border: 1px solid var(--app-line);
  border-radius: 6px;
  margin-bottom: 4px;
}
.color-swatch {
  width: 22px; height: 22px; border-radius: 4px; border: 1px solid var(--app-line-2);
  position: relative; cursor: pointer; flex-shrink: 0;
}
.color-swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.color-name { flex: 1; font-family: var(--mono); font-size: 11px; color: var(--app-text); }
.color-val { font-family: var(--mono); font-size: 10px; color: var(--app-text-3); }

.color-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

/* dropdown */
.bo-select {
  width: 100%;
  background: var(--app-bg-2); border: 1px solid var(--app-line); color: var(--app-text);
  padding: 9px 12px; border-radius: 6px;
  font-family: var(--sans); font-size: 13px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--app-text-3) 50%),
    linear-gradient(135deg, var(--app-text-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* theme cards */
.theme-cards { display: flex; flex-direction: column; gap: 6px; }
.theme-card {
  background: var(--app-bg-2); border: 1px solid var(--app-line); border-radius: 8px;
  padding: 10px 12px; display: flex; align-items: center; gap: 10px;
  transition: all 0.15s; cursor: pointer;
}
.theme-card:hover { border-color: var(--app-line-2); }
.theme-card.active { border-color: var(--app-accent); background: rgba(184, 153, 104, 0.06); }
.tc-swatches { display: flex; gap: 0; flex-shrink: 0; }
.tc-swatches i { width: 14px; height: 30px; display: block; }
.tc-swatches i:first-child { border-radius: 4px 0 0 4px; }
.tc-swatches i:last-child { border-radius: 0 4px 4px 0; }
.tc-info { flex: 1; }
.tc-name { font-size: 12.5px; font-weight: 600; color: var(--app-text); }
.tc-desc { font-size: 10.5px; color: var(--app-text-3); margin-top: 1px; }
.tc-status {
  font-size: 9px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 2px 5px; border-radius: 3px;
  background: var(--app-bg-4); color: var(--app-text-3);
}
.tc-status.published { background: rgba(108, 196, 161, 0.12); color: var(--app-good); }
.tc-status.draft { background: rgba(230, 183, 90, 0.12); color: var(--app-warn); }

/* per-module list (Option C) */
.module-list { display: flex; flex-direction: column; gap: 6px; }
.module-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--app-bg-2); border: 1px solid var(--app-line);
  border-radius: 7px;
}
.module-row.focused { border-color: var(--app-accent); }
.module-icon {
  width: 26px; height: 26px; border-radius: 5px;
  background: var(--app-bg-4); display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 11px; color: var(--app-text-2);
}
.module-name { font-size: 12px; font-weight: 500; color: var(--app-text); }
.module-page { font-size: 10px; color: var(--app-text-3); font-family: var(--mono); }
.module-row select {
  background: var(--app-bg-3); border: 1px solid var(--app-line); color: var(--app-text);
  font-family: var(--mono); font-size: 10.5px;
  padding: 4px 6px; border-radius: 4px;
}

/* preset chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 5px; }
.chip {
  font-size: 11px; padding: 5px 10px; border-radius: 999px;
  background: var(--app-bg-2); border: 1px solid var(--app-line);
  color: var(--app-text-2); cursor: pointer; font-family: var(--sans);
}
.chip:hover { color: var(--app-text); border-color: var(--app-line-2); }
.chip.active { background: var(--app-accent); border-color: var(--app-accent); color: var(--app-bg); }

/* primary button */
.btn-primary {
  background: var(--app-accent); color: var(--app-bg);
  border: none; padding: 9px 14px; border-radius: 6px;
  font-weight: 600; font-size: 12px; font-family: var(--sans);
}
.btn-secondary {
  background: transparent; color: var(--app-text-2);
  border: 1px solid var(--app-line); padding: 9px 14px; border-radius: 6px;
  font-size: 12px;
}

/* contrast warning */
.contrast-warn {
  background: rgba(230, 183, 90, 0.08); border: 1px solid rgba(230, 183, 90, 0.25);
  color: var(--app-warn); padding: 8px 10px; border-radius: 6px;
  font-size: 11px; font-family: var(--mono); display: flex; align-items: center; gap: 6px;
  margin-top: 8px;
}

/* ===== PREVIEW PANE — pages grid ===== */
.preview-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.preview-head h2 {
  margin: 0; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--app-text);
}
.preview-head .sub { font-size: 11px; color: var(--app-text-3); font-family: var(--mono); }

.legend { display: flex; gap: 14px; font-family: var(--mono); font-size: 10px; color: var(--app-text-3); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }

.pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.page-frame {
  background: var(--app-bg-2);
  border: 1px solid var(--app-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s;
}
.page-frame.focused { border-color: var(--app-accent); box-shadow: 0 0 0 3px rgba(184, 153, 104, 0.1); }

.page-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; background: var(--app-bg-3); border-bottom: 1px solid var(--app-line);
}
.page-bar-dots { display: flex; gap: 3px; }
.page-bar-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--app-line-2); }
.page-url {
  flex: 1; font-family: var(--mono); font-size: 10px; color: var(--app-text-3);
  background: var(--app-bg-2); padding: 3px 7px; border-radius: 4px; border: 1px solid var(--app-line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.page-tag {
  font-family: var(--mono); font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--app-text-3);
  padding: 2px 6px; background: var(--app-bg-2); border-radius: 4px; border: 1px solid var(--app-line);
}

/* ===== HOTEL NEXT THUMBNAIL THEME (default = Original) ===== */
.page {
  --t-bg: #1a1426;
  --t-surface: #251a36;
  --t-text: #ede9e2;
  --t-text-muted: #aaa3b8;
  --t-primary: #b89968;
  --t-primary-fg: #1a1426;
  --t-accent: #c75a4a;
  --t-border: rgba(237, 233, 226, 0.12);
  --t-card-bg: #251a36;
  --t-cta-bg: #b89968;
  --t-cta-fg: #1a1426;
  --t-hero-a: #381e63;
  --t-hero-b: #b89968;

  background: var(--t-bg);
  color: var(--t-text);
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
}

/* per-module wrapper allowing C to override at module level */
.mod {
  position: relative;
  background: var(--t-bg);
  color: var(--t-text);
  transition: background 0.3s, color 0.3s;
}
.mod[data-themed="1"] {
  outline: 1px dashed rgba(184, 153, 104, 0.35);
  outline-offset: -3px;
}

/* nav (top of every page) */
.mod-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
  background: var(--t-bg); border-bottom: 1px solid var(--t-border);
}
.mod-nav-logo {
  font-family: var(--display); font-size: 13px; font-weight: 700;
  color: var(--t-text); letter-spacing: -0.02em;
}
.mod-nav-logo i { font-style: normal; color: var(--t-primary); }
.mod-nav-links { display: flex; gap: 10px; font-size: 9px; color: var(--t-text); opacity: 0.85; }
.mod-nav-cta {
  background: var(--t-primary); color: var(--t-primary-fg);
  font-size: 9px; padding: 4px 9px; border-radius: 999px;
  font-weight: 600;
}

/* hero (variants per page) */
.mod-hero {
  background: linear-gradient(135deg, var(--t-hero-a), var(--t-hero-b));
  padding: 22px 14px 18px;
  position: relative; overflow: hidden;
  min-height: 130px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mod-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, transparent, rgba(0,0,0,0.3));
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--t-primary); margin-bottom: 5px; position: relative; z-index: 1;
}
.hero-title {
  font-family: var(--display); font-size: 18px; line-height: 1; font-weight: 700;
  letter-spacing: -0.025em; color: var(--t-text); margin: 0 0 4px;
  position: relative; z-index: 1;
}
.hero-sub {
  font-size: 9px; color: var(--t-text); opacity: 0.85; max-width: 80%;
  position: relative; z-index: 1; margin: 0;
}

/* cards */
.mod-cards { background: var(--t-bg); padding: 14px 14px 16px; }
.mod-cards-title {
  font-family: var(--display); font-size: 13px; font-weight: 600;
  color: var(--t-text); margin: 0 0 10px;
}
.cards-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
}
.card-mini {
  background: var(--t-card-bg); border: 1px solid var(--t-border);
  border-radius: 6px; overflow: hidden;
}
.card-img-mini {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--t-hero-a), var(--t-primary));
}
.card-img-mini.alt-1 { background: linear-gradient(135deg, var(--t-primary), var(--t-accent)); }
.card-img-mini.alt-2 { background: linear-gradient(135deg, var(--t-accent), var(--t-hero-b)); }
.card-body-mini { padding: 6px 7px; }
.card-title-mini {
  font-family: var(--display); font-size: 9.5px; font-weight: 600;
  color: var(--t-text); margin: 0;
}
.card-meta-mini {
  font-family: var(--mono); font-size: 8px; color: var(--t-primary);
  margin-top: 2px;
}

/* text + image */
.mod-textimg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 14px; background: var(--t-surface);
  align-items: center;
}
.textimg-text h3 {
  font-family: var(--display); font-size: 12.5px; font-weight: 600;
  color: var(--t-text); margin: 0 0 5px; line-height: 1.15;
}
.textimg-text .eyebrow {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--t-primary); margin-bottom: 4px;
}
.textimg-text p { font-size: 9px; color: var(--t-text-muted); line-height: 1.5; margin: 0 0 6px; }
.textimg-text a {
  font-size: 8.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--t-primary); font-weight: 600;
}
.textimg-img {
  aspect-ratio: 4/3; border-radius: 6px;
  background: linear-gradient(135deg, var(--t-primary), var(--t-hero-a));
  position: relative; overflow: hidden;
}
.textimg-img::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent, transparent 8px, rgba(255,255,255,0.06) 8px, rgba(255,255,255,0.06) 9px);
}

/* CTA banner */
.mod-cta {
  background: var(--t-primary); color: var(--t-primary-fg);
  padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.mod-cta h4 {
  font-family: var(--display); font-size: 13px; font-weight: 600;
  margin: 0 0 2px; line-height: 1.1;
}
.mod-cta p { font-size: 9px; opacity: 0.85; margin: 0; }
.mod-cta button {
  background: var(--t-bg); color: var(--t-text);
  font-size: 8.5px; padding: 6px 11px; border-radius: 999px; border: none;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  flex-shrink: 0;
}

/* feature row (icon + text) */
.mod-features {
  background: var(--t-bg);
  padding: 14px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.feature {
  text-align: left;
}
.feature-icon {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--t-primary); color: var(--t-primary-fg);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12px;
  margin-bottom: 5px;
}
.feature-title {
  font-family: var(--display); font-size: 10px; font-weight: 600;
  color: var(--t-text); margin: 0 0 2px;
}
.feature-desc { font-size: 8.5px; color: var(--t-text-muted); line-height: 1.4; margin: 0; }

/* gallery (3-up) */
.mod-gallery { background: var(--t-bg); padding: 14px; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 5px; }
.gallery-grid > div:first-child { grid-row: span 2; }
.gallery-img {
  aspect-ratio: 4/3; border-radius: 4px;
  background: linear-gradient(135deg, var(--t-hero-a), var(--t-primary));
}
.gallery-img:nth-child(2) {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--t-primary), var(--t-accent));
}
.gallery-img:nth-child(3) {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--t-accent), var(--t-hero-b));
}

/* menu list (Restaurant) */
.mod-menu { background: var(--t-bg); padding: 14px; }
.mod-menu h3 {
  font-family: var(--display); font-size: 13px; font-weight: 600;
  color: var(--t-text); margin: 0 0 8px;
}
.menu-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; border-bottom: 1px dashed var(--t-border);
  font-size: 10px;
}
.menu-item-name {
  font-family: var(--display); font-weight: 500; color: var(--t-text); font-size: 10.5px;
}
.menu-item-desc { font-size: 8.5px; color: var(--t-text-muted); margin-top: 1px; }
.menu-item-price {
  font-family: var(--mono); color: var(--t-primary); font-weight: 600; font-size: 10px;
  flex-shrink: 0; margin-left: 8px;
}

/* footer */
.mod-footer {
  background: var(--t-surface);
  padding: 12px 14px;
  border-top: 1px solid var(--t-border);
  display: flex; justify-content: space-between; align-items: center;
}
.mod-footer .brand-mini {
  font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--t-text);
}
.mod-footer .brand-mini i { font-style: normal; color: var(--t-primary); }
.mod-footer .links {
  font-family: var(--mono); font-size: 8.5px; color: var(--t-text-muted);
  display: flex; gap: 10px;
}

/* module label badge (shows when in C focus or hover) */
.mod-label {
  position: absolute; top: 6px; right: 6px;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--app-accent); padding: 2px 6px; border-radius: 4px;
  border: 1px solid rgba(139, 111, 58, 0.3);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.option-c .mod:hover .mod-label,
.option-c .mod[data-themed="1"] .mod-label { opacity: 1; }

/* effect badges in preview */
.effect-banner {
  display: flex; align-items: center; gap: 10px;
  background: var(--app-bg-2); border: 1px solid var(--app-line);
  padding: 10px 14px; border-radius: 8px;
  margin-bottom: 16px;
  font-size: 12px; color: var(--app-text-2);
}
.effect-banner b { color: var(--app-text); }
.effect-banner i.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--app-accent);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* recommendation footer */
.rec-block {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--app-bg-3); border: 1px solid var(--app-line);
  border-radius: 8px;
}
.rec-block.rec { border-color: rgba(108, 196, 161, 0.3); background: rgba(108, 196, 161, 0.04); }
.rec-block.no { border-color: rgba(229, 123, 107, 0.3); background: rgba(229, 123, 107, 0.04); }
.rec-block.req { border-color: rgba(230, 183, 90, 0.3); background: rgba(230, 183, 90, 0.04); }
.rec-head {
  font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 6px; font-weight: 600;
}
.rec.rec-block .rec-head { color: var(--app-good); }
.no.rec-block .rec-head { color: var(--app-bad); }
.req.rec-block .rec-head { color: var(--app-warn); }
.rec-text { font-size: 12px; color: var(--app-text-2); line-height: 1.5; margin: 0; }

/* footer with hours summary */
.bottom-bar {
  position: sticky; bottom: 0; left: 0; right: 0;
  background: var(--app-bg-2); border-top: 1px solid var(--app-line);
  padding: 10px 16px; margin: 12px -20px -40px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px;
}
.bottom-bar .h-pill {
  background: var(--app-bg-4); padding: 4px 10px; border-radius: 4px;
  color: var(--app-accent); font-weight: 600;
}
.bottom-bar .label { color: var(--app-text-3); text-transform: uppercase; letter-spacing: 0.08em; font-size: 9.5px; }
