:root {
  --bg: #091423;
  --panel: #102238;
  --panel-2: #122946;
  --card: #ffffff;
  --text: #eaf1fb;
  --muted: #b8c6da;
  --blue: #1b4f8a;
  --line: #d6e3f6;
  --gold: #d9b26b;
  --shadow: rgba(7, 17, 32, 0.32);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #07111f 0%, #0b1c2f 100%);
  color: var(--text);
}
.phone-stage,
.phone-frame,
.phone-screen {
  width: 100%;
}
.phone-stage {
  min-height: 100vh;
}
.phone-frame {
  position: relative;
}
.phone-notch {
  display: none;
}
.mobile-browser-bar { display: none; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
  background: linear-gradient(180deg, rgba(8, 23, 40, 0.96), rgba(10, 31, 53, 0.96));
  position: relative;
}

.brand-wrap { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 25% 25%, #f5d8a4, #b8883f 72%);
  color: #13253e; font-weight: 700;
}

h1 { margin: 0; font-size: 21px; }
#subtitleApp { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.top-controls {
  display: flex;
  gap: 6px;
  position: absolute;
  right: 16px;
  top: 12px;
}
.lang-btn {
  border: 1px solid #8db2e0;
  background: rgba(255, 255, 255, 0.08);
  color: #f3f8ff;
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.1;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lang-btn.active { background: #f4f8ff; color: #10365f; border-color: #d7e6fa; }

.layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  padding: 16px;
}
.layout.hotels-collapsed {
  grid-template-columns: 1fr;
}
.layout.hotels-collapsed .hotels-panel {
  display: none;
}
.layout > * { min-width: 0; }

.panel {
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 34, 56, 0.93), rgba(13, 30, 51, 0.95));
  box-shadow: 0 8px 20px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hotels-panel { padding: 12px; }
.panel-head { padding: 4px 6px 8px; }
.panel-head h2 { margin: 0; font-size: 16px; }

.hotel-cards { display: grid; gap: 8px; }
.hotel-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
}
.hotel-card.active { border-color: #8cb5e8; background: rgba(32, 78, 133, 0.45); }
.hotel-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.hotel-meta { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.hotel-kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font-size: 11px; color: #d9e8ff; }
.case-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.case-badge.demo { background: rgba(32, 79, 136, 0.38); color: #dcebff; }
.case-badge.client { background: rgba(193, 146, 68, 0.3); color: #ffe4b3; }

.report-panel { padding: 14px; color: #0f1f32; background: #f3f7ff; }
.report-panel > section,
.report-panel > .grid-2,
.report-panel > .execution-zone { margin-left: 0; margin-right: 0; }
.report-header { display: flex; justify-content: space-between; align-items: center; }
.report-header h2 { margin: 0; color: #0a2644; }
.report-header p { margin: 3px 0 0; color: #475c77; font-size: 13px; word-break: break-word; }
.action-buttons { display: flex; gap: 8px; }
.btn {
  border: 1px solid #3062a2;
  background: #fff;
  color: #0d2d4f;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
}
.btn.primary { background: linear-gradient(135deg, #0b3f74, #215ea3); color: #fff; border: none; }

.filters { display: grid; gap: 10px; margin-top: 14px; }
.days-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.day-btn {
  border: 1px solid #a8c3e7;
  background: #fff;
  color: #193f6d;
  border-radius: 7px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
.day-btn.active { background: #18467a; color: #fff; border-color: #18467a; }
.filter-block label { display: block; color: #1b3658; font-size: 12px; margin-bottom: 5px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.chip {
  border: 1px solid #bfd4ee; color: #17406f;
  background: #fff; padding: 5px 9px; font-size: 12px; border-radius: 999px; cursor: pointer;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.chip.active { background: #1d558f; color: #fff; border-color: #1d558f; }

.kpis {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.kpi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 9px;
  min-width: 0;
}
.kpi-name { font-size: 11px; color: #5d7390; letter-spacing: 0.2px; }
.kpi-value { margin-top: 2px; font-size: 17px; color: #0b2a4d; font-weight: 700; line-height: 1.2; }
.kpi-delta { margin-top: 2px; font-size: 11px; }
.up { color: #0c7f44; } .down { color: #b13b3b; }

.grid-2 { margin-top: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.card {
  background: #fff;
  border: 1px solid #d3e0f1;
  border-radius: 10px;
  padding: 9px;
  overflow: hidden;
}
.card h3 { margin: 0 0 8px; color: #11355e; font-size: 15px; }
.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.chart-type-select {
  border: 1px solid #b7cceb;
  border-radius: 8px;
  background: #fff;
  color: #18406d;
  font-size: 12px;
  padding: 4px 8px;
}
.chart-box { position: relative; height: 220px; }
.chart-unavailable {
  position: absolute;
  inset: 10px;
  border: 1px dashed #bfd3ee;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  color: #527199;
  background: #f7fbff;
}
.chart-fallback {
  position: absolute;
  inset: 6px;
  border: 1px solid #d8e6f7;
  border-radius: 10px;
  background: #fbfdff;
  padding: 8px;
  overflow: auto;
}
.fallback-title {
  font-size: 12px;
  color: #2d537f;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}
.fallback-bars {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
  min-height: 110px;
}
.fallback-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.fallback-bar-col i {
  display: block;
  width: 100%;
  max-width: 10px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #3f7fc3, #154f8a);
}
.fallback-bar-col span {
  font-size: 9px;
  color: #5f7ea5;
}
.fallback-list {
  display: grid;
  gap: 6px;
}
.fallback-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.4fr auto;
  gap: 6px;
  align-items: center;
}
.fallback-label {
  font-size: 11px;
  color: #2e527d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fallback-track {
  height: 8px;
  border-radius: 99px;
  background: #e7f0fb;
  overflow: hidden;
}
.fallback-track b {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #1f67ad, #68a5e0);
}
.fallback-val {
  font-size: 10px;
  color: #476c96;
}

.table-wrap { overflow: auto; border: 1px solid #d9e5f5; border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 12px; min-width: 720px; }
th { background: #0f467d; color: #fff; border: 1px solid #bfd2e9; padding: 7px; text-align: left; position: sticky; top: 0; z-index: 1; }
td { border: 1px solid #d6e2f2; padding: 6px; vertical-align: top; }
tr:nth-child(even) td { background: #f7fbff; }
.window-card .table-wrap {
  min-height: 220px;
  display: flex;
  align-items: center;
}
.window-card table {
  margin: auto 0;
}

#summaryBox p { margin: 4px 0; color: #243f61; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.summary-item {
  border: 1px solid #d6e5f6;
  border-radius: 8px;
  background: #f9fcff;
  padding: 8px;
}
.summary-item b { color: #163f6e; display: block; margin-bottom: 3px; font-size: 12px; }
.summary-item span { color: #37577f; font-size: 13px; }
.readiness-item { margin: 5px 0; color: #2a476b; font-size: 13px; }
.rec-item { border: 1px solid #d2e2f4; border-radius: 8px; margin-bottom: 8px; padding: 8px; background: #f8fbff; }
.rec-title { font-weight: 600; color: #153e6c; }
.rec-detail { color: #39557a; font-size: 13px; margin-top: 4px; }
.rec-meta { color: #5a7191; font-size: 12px; margin-top: 5px; }
.rec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ai-bridge-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ai-step {
  border: 1px solid #d5e3f6;
  border-radius: 8px;
  background: #f8fbff;
  padding: 8px;
}
.ai-step .step-k {
  font-size: 11px;
  color: #5e7390;
  font-weight: 600;
}
.ai-step .step-v {
  margin-top: 4px;
  font-size: 13px;
  color: #22476f;
}

.execution-zone {
  margin-top: 10px;
  border-top: 3px solid #164b82;
  padding-top: 10px;
}
.data-zone {
  margin-top: 10px;
  border-top: 3px solid #2b6bad;
  padding-top: 10px;
}
.data-stack {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.execution-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 10px;
}
.execution-head h2 {
  margin: 0;
  color: #0d2f52;
  font-size: 18px;
}
.execution-head p {
  margin: 0;
  color: #4b6486;
  font-size: 12px;
}
.action-card table { min-width: 900px; }
.action-mobile-list { display: none; }
.action-mobile-item {
  border: 1px solid #d2e2f4;
  border-radius: 10px;
  background: #f8fbff;
  padding: 9px;
  margin-bottom: 8px;
}
.action-mobile-item h4 {
  margin: 0 0 6px;
  color: #153e6c;
  font-size: 13px;
}
.action-mobile-item p {
  margin: 4px 0;
  color: #35557a;
  font-size: 12px;
}
.action-main {
  font-weight: 600;
  color: #173f6b;
}
.action-sub {
  margin-top: 3px;
  color: #3f5f86;
  font-size: 12px;
}
.action-suggestion {
  margin-top: 3px;
  color: #55739a;
  font-size: 12px;
}
.ref-chip {
  display: inline-block;
  border: 1px solid #bdd3f0;
  border-radius: 999px;
  background: #eef5ff;
  color: #1b4d86;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
  user-select: none;
}
.ref-chip-btn {
  border: 1px solid #bdd3f0;
  border-radius: 999px;
  background: #eef5ff;
  color: #1b4d86;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
}
.action-ref-rail {
  margin-top: 8px;
  border: 1px solid #d1e0f5;
  border-radius: 10px;
  background: #f8fbff;
  padding: 8px;
}
.action-ref-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.action-ref-title {
  font-size: 12px;
  color: #295584;
  font-weight: 700;
}
.action-ref-close {
  border: 1px solid #bfd3ef;
  background: #fff;
  border-radius: 8px;
  font-size: 11px;
  color: #355a86;
  padding: 2px 7px;
  cursor: pointer;
}
.action-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.action-ref-item {
  border: 1px solid #d3e2f6;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}
.action-ref-item p {
  margin: 4px 0;
  font-size: 12px;
  color: #35557c;
}
.action-ref-inline-row td {
  background: #f9fcff !important;
  padding: 8px;
}
.action-ref-inline-wrap {
  border: 1px solid #d1e0f5;
  border-radius: 10px;
  background: #f8fbff;
  padding: 8px;
}
.mobile-card-list {
  display: none;
}
.mobile-data-card {
  border: 1px solid #d5e4f6;
  border-radius: 10px;
  background: #f8fbff;
  padding: 10px;
  margin-bottom: 8px;
}
.mobile-data-card h4 {
  margin: 0 0 7px;
  font-size: 13px;
  color: #163f6f;
}
.mobile-data-card p {
  margin: 4px 0;
  font-size: 12px;
  color: #36577f;
  line-height: 1.4;
}
.priority-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.p1 { background: #ffe6e6; color: #a11d1d; border: 1px solid #f6b9b9; }
.p2 { background: #e9f2ff; color: #185399; border: 1px solid #bdd4f5; }

.chat-fab {
  position: fixed; right: 20px; bottom: 20px;
  min-width: 126px; height: 46px; border-radius: 999px;
  background: linear-gradient(135deg, #cfa35b, #8a6024);
  color: #fff; display: grid; place-items: center;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  z-index: 25;
}
.schedule-fab {
  position: fixed;
  right: 20px;
  bottom: 74px;
  min-width: 126px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #b7cbe6;
  background: #ffffff;
  color: #17406f;
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  z-index: 25;
}
.chat-window {
  position: fixed; right: 20px; bottom: 86px;
  width: 370px; height: 510px; background: #fff;
  border: 1px solid #cadbf0; border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.28);
  display: flex; flex-direction: column;
  z-index: 30;
}
.hidden { display: none; }
.chat-head {
  background: #0f467d; color: #fff; padding: 10px;
  display: flex; justify-content: space-between; align-items: center; border-radius: 12px 12px 0 0;
}
.chat-head h4 { margin: 0; }
.chat-head-actions { display: flex; gap: 6px; align-items: center; }
.chat-head button { border: none; background: transparent; color: #fff; font-size: 21px; cursor: pointer; line-height: 1; }
.chat-window.expanded {
  left: 20px;
  right: 20px;
  top: 76px;
  bottom: 20px;
  width: auto;
  height: auto;
}
.chat-config { padding: 8px; border-bottom: 1px solid #dfebfa; }
.chat-config input { width: 100%; padding: 8px; border: 1px solid #c3d7f0; border-radius: 8px; }
.chat-quick { padding: 8px; display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid #dfebfa; }
.quick-chip {
  background: #eff5ff;
  color: #1c4a7e;
  border: 1px solid #cfe0f5;
  font-size: 11px;
  border-radius: 999px;
  padding: 4px 8px;
  cursor: pointer;
}
.chat-body { flex: 1; overflow: auto; padding: 10px; color: #1b3350; }
.msg { margin-bottom: 10px; font-size: 13px; line-height: 1.35; }
.msg.user b { color: #0f467d; }
.msg.ai b { color: #7d5912; }
.msg.ai {
  background: #f8fbff;
  border: 1px solid #d8e5f6;
  border-radius: 10px;
  padding: 8px;
}
.chat-input { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px; border-top: 1px solid #dfebfa; }
.chat-input input { padding: 8px; border: 1px solid #c3d7f0; border-radius: 8px; }
.chat-input button { background: #174f88; border: none; color: #fff; padding: 8px 10px; border-radius: 8px; cursor: pointer; }

.schedule-window {
  position: fixed;
  right: 20px;
  bottom: 130px;
  width: 390px;
  background: #fff;
  border: 1px solid #cadbf0;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.28);
  overflow: hidden;
  z-index: 31;
}
.schedule-body {
  padding: 12px;
}
.schedule-body p {
  margin: 0 0 10px;
  color: #2d4c73;
  font-size: 13px;
}
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.schedule-body input,
.schedule-body textarea {
  width: 100%;
  border: 1px solid #c8dcf3;
  border-radius: 8px;
  padding: 8px;
  font-family: inherit;
  margin-bottom: 8px;
}
.schedule-body input[readonly] {
  background: #f3f8ff;
  color: #2b4f78;
}
.schedule-body textarea {
  resize: vertical;
}
.schedule-status {
  margin-top: 8px;
  color: #355a86;
  font-size: 12px;
}

@media (max-width: 1200px) {
  .layout { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .chart-box { height: 210px; }
  .summary-grid { grid-template-columns: 1fr; }
  .rec-grid { grid-template-columns: 1fr; }
}

body.mobile-preview {
  background: radial-gradient(circle at 20% 10%, #243854, #101c2d 62%);
  overflow: auto;
}
body.mobile-preview .phone-stage {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12px;
}
body.mobile-preview .phone-frame {
  width: min(390px, calc(100vw - 24px), calc((100vh - 24px) * 0.462));
  aspect-ratio: 390 / 844;
  border-radius: clamp(26px, 5vw, 42px);
  background: linear-gradient(165deg, #121212, #313131);
  border: 2px solid #0f0f0f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 9px;
}
body.mobile-preview .phone-notch {
  display: block;
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: min(132px, 38%);
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: #080808;
  z-index: 35;
  pointer-events: none;
}
body.mobile-preview .phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: clamp(20px, 4.5vw, 32px);
  overflow: auto;
  background: #edf3fb;
}
body.mobile-preview .mobile-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  background: #ffffff;
  border-bottom: 1px solid #d0def2;
  border-radius: 0;
  padding: 8px 10px;
  position: sticky;
  top: 0;
  z-index: 20;
}
body.mobile-preview .mobile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
body.mobile-preview .mobile-dot.red { background: #f06f64; }
body.mobile-preview .mobile-dot.yellow { background: #f3c567; }
body.mobile-preview .mobile-dot.green { background: #6dc07f; }
body.mobile-preview .mobile-url {
  margin-left: 6px;
  font-size: 11px;
  color: #577398;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.mobile-preview .layout {
  grid-template-columns: 1fr;
  padding: 8px;
  gap: 8px;
}
body.mobile-preview .layout,
body.mobile-preview .report-panel,
body.mobile-preview .hotels-panel,
body.mobile-preview .card,
body.mobile-preview .kpi-card {
  width: 100%;
  max-width: 100%;
}
body.mobile-preview .topbar {
  position: sticky;
  top: 33px;
  z-index: 30;
  padding: 8px;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
body.mobile-preview .brand-wrap {
  width: 100%;
  gap: 10px;
}
body.mobile-preview .brand-mark {
  width: 42px;
  height: 42px;
  font-size: 12px;
}
body.mobile-preview h1 {
  font-size: 15px;
  line-height: 1.2;
}
body.mobile-preview #subtitleApp {
  display: none;
}
body.mobile-preview .top-controls {
  gap: 6px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: static;
}
body.mobile-preview .lang-btn {
  padding: 8px 6px;
  font-size: 12px;
  width: 100%;
  text-align: center;
}
body.mobile-preview .panel {
  border-radius: 12px;
}
body.mobile-preview .hotels-panel,
body.mobile-preview .report-panel {
  width: 100%;
  padding: 8px;
}
body.mobile-preview .report-panel,
body.mobile-preview .card,
body.mobile-preview .summary-item,
body.mobile-preview .rec-item,
body.mobile-preview .action-mobile-item,
body.mobile-preview .readiness-item {
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
body.mobile-preview .hotel-card {
  padding: 9px;
}
body.mobile-preview .hotel-title {
  font-size: 13px;
}
body.mobile-preview .hotel-kpi {
  grid-template-columns: 1fr;
  gap: 4px;
}
body.mobile-preview .report-header {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
body.mobile-preview .action-buttons {
  width: 100%;
}
body.mobile-preview .action-buttons .btn {
  width: 100%;
}
body.mobile-preview #selectedMeta {
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}
body.mobile-preview .filters {
  gap: 8px;
}
body.mobile-preview .chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
body.mobile-preview .filter-block label {
  text-align: center;
}
body.mobile-preview .chip {
  width: 100%;
  text-align: center;
}
body.mobile-preview .days-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
body.mobile-preview .day-btn {
  padding: 7px 4px;
  font-size: 12px;
}
body.mobile-preview .kpis {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
body.mobile-preview .kpi-value {
  font-size: 16px;
}
body.mobile-preview .kpi-name,
body.mobile-preview .kpi-delta {
  font-size: 12px;
  line-height: 1.35;
}
body.mobile-preview .grid-2,
body.mobile-preview .summary-grid,
body.mobile-preview .rec-grid {
  grid-template-columns: 1fr;
}
body.mobile-preview .ai-bridge-box {
  grid-template-columns: 1fr;
}
body.mobile-preview .execution-head {
  flex-direction: column;
  align-items: flex-start;
}
body.mobile-preview .chart-box {
  height: 170px;
}
body.mobile-preview .action-card table {
  display: none;
}
body.mobile-preview .action-mobile-list {
  display: block;
}
body.mobile-preview #windowMobileList,
body.mobile-preview #monthlyMobileList {
  display: block;
}
body.mobile-preview .table-wrap {
  overflow-x: auto;
}
body.mobile-preview .window-card .table-wrap {
  min-height: auto;
  display: block;
}
body.mobile-preview table {
  min-width: 500px;
}
body.mobile-preview .panel-head h2,
body.mobile-preview .card h3 {
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
}
body.mobile-preview .card-title-row {
  align-items: flex-start;
  flex-direction: column;
}
body.mobile-preview .chart-type-select {
  width: 100%;
}
body.mobile-preview .execution-zone {
  margin-top: 10px;
  padding-top: 10px;
}
body.mobile-preview .summary-item span {
  line-height: 1.35;
}
body.mobile-preview .action-mobile-item p,
body.mobile-preview .rec-detail,
body.mobile-preview .rec-meta {
  line-height: 1.5;
}
body.mobile-preview .mobile-data-card h4,
body.mobile-preview .mobile-data-card p,
body.mobile-preview .summary-item span,
body.mobile-preview .readiness-item {
  text-align: center;
}
body.mobile-preview .action-ref-grid {
  grid-template-columns: 1fr;
}
body.mobile-preview .chat-window {
  position: absolute;
  right: 10px;
  left: 10px;
  width: auto;
  height: 68%;
  bottom: 74px;
}
body.mobile-preview .chat-window.expanded {
  top: 56px;
  bottom: 8px;
}
body.mobile-preview .chat-fab {
  position: absolute;
  right: 14px;
  bottom: 14px;
}
body.mobile-preview .schedule-fab {
  position: absolute;
  right: 14px;
  bottom: 62px;
  min-width: 118px;
  height: 38px;
}
body.mobile-preview .schedule-window {
  position: absolute;
  right: 10px;
  left: 10px;
  width: auto;
  bottom: 116px;
}
