:root {
  color: #253a35;
  font-synthesis: none;
  --green: #167b64;
  --muted: #87918e;
  --border: #e6ece8;
  --ink: #243b34;
  background: #f7f9f8;
  font-family:
    IBM Plex Sans Thai,
    sans-serif;
  font-weight: 400;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button {
  color: inherit;
}
a {
  color: var(--green);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #61bea4;
}
button svg {
  flex-shrink: 0;
}
button {
  border: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
}
button {
  background: 0 0;
}
svg {
  vertical-align: middle;
  stroke-width: 1.7px;
}
.app-shell {
  min-height: 100vh;
  display: flex;
}
.sidebar {
  border-right: 1px solid var(--border);
  z-index: 30;
  background: #fff;
  flex-direction: column;
  width: 240px;
  padding: 37px 20px 20px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}
.brand {
  color: #213c33;
  letter-spacing: -1px;
  align-items: center;
  gap: 11px;
  padding: 0 8px;
  font-family: Manrope, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  display: flex;
}
.brand-light {
  font-weight: 500;
}
.brand small {
  letter-spacing: 0.25px;
  color: #8c9791;
  margin-top: 7px;
  font:
    10px IBM Plex Sans Thai,
    sans-serif;
  display: block;
}
.brand-icon {
  color: #fff;
  background: #167b64;
  border-radius: 13px;
  place-items: center;
  width: 39px;
  height: 43px;
  display: grid;
  box-shadow: 0 4px 7px #167b6418;
}
.nav-caption {
  letter-spacing: 1.7px;
  color: #9da69f;
  margin: 47px 16px 17px;
  font:
    700 10px Manrope,
    sans-serif;
}
.nav-link {
  color: #737f79;
  text-align: left;
  white-space: nowrap;
  border-radius: 8px;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin-bottom: 6px;
  padding: 13px 15px;
  font-size: 13px;
  display: flex;
}
.nav-link:hover {
  background: #f4f7f5;
}
.nav-link.active {
  color: #167b64;
  background: #eaf5ef;
  font-weight: 600;
}
.nav-link.active svg {
  stroke-width: 2px;
}
.nav-link b {
  border: 1px solid #e0e6e1;
  border-radius: 5px;
  margin-left: auto;
  padding: 2px 6px;
  font: 11px Manrope;
}
.new-label {
  color: var(--green);
  background: #eaf5ef;
  border-radius: 4px;
  margin-left: auto;
  padding: 2px 5px;
  font-size: 9px;
}
.tools-caption {
  letter-spacing: 0.3px;
  margin-top: 27px;
  font-family: inherit;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.archive-card {
  background: linear-gradient(145deg, #f0f7f3, #f7f9f6);
  border-radius: 10px;
  padding: 20px 17px;
  position: relative;
}
.archive-icon {
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}
.archive-card strong {
  font-size: 13px;
}
.archive-card p {
  color: #84918a;
  margin: 7px 0 13px;
  font-size: 11px;
  line-height: 1.85;
}
.archive-card button {
  color: var(--green);
  align-items: center;
  gap: 29px;
  padding: 0;
  font-size: 11px;
  display: flex;
}
.profile {
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 11px;
  margin-top: 24px;
  padding: 22px 7px 0;
  display: flex;
}
.avatar {
  color: #537561;
  background: #f1f5ef;
  border: 1px solid #e5ece7;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font: 700 11px Manrope;
  display: grid;
}
.profile strong {
  font-size: 11px;
  display: block;
}
.profile span:not(.online-dot) {
  color: #99a29d;
  font: 10px Manrope;
}
.online-dot {
  background: #5eab87;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-left: auto;
}
.main-shell {
  width: calc(100% - 240px);
  min-width: 0;
  margin-left: 240px;
}
.topbar {
  border-bottom: 1px solid var(--border);
  background: #fff;
  justify-content: space-between;
  align-items: center;
  height: 77px;
  padding: 0 38px;
  display: flex;
}
.breadcrumb {
  color: #9aa29e;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  display: flex;
}
.breadcrumb strong {
  color: #56665e;
  font-weight: 500;
}
.top-right {
  align-items: center;
  gap: 22px;
  display: flex;
}
.timezone {
  color: #839188;
  gap: 7px;
  font-size: 10px;
  display: flex;
}
.top-divider {
  background: #e9eee9;
  width: 1px;
  height: 21px;
}
.tiny-avatar {
  color: #688372;
  background: #edf3ed;
  border-radius: 50%;
  place-items: center;
  width: 30px;
  height: 30px;
  font: 700 10px Manrope;
  display: grid;
}
.mobile-menu {
  display: none !important;
}
main {
  max-width: 1650px;
  margin: auto;
  padding: 34px 38px 0;
}
.page-heading {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
  display: flex;
}
.eyebrow {
  letter-spacing: 1.7px;
  color: #7c9186;
  align-items: center;
  gap: 6px;
  font: 700 9px Manrope;
  display: flex;
}
.eyebrow > span {
  background: #6ca98a;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
h1 {
  letter-spacing: -0.8px;
  margin: 10px 0 7px;
  font-size: 29px;
  line-height: 1.5;
}
.heading-actions {
  gap: 9px;
  padding-top: 12px;
  display: flex;
}
.button {
  white-space: nowrap;
  background: #fff;
  border: 1px solid #dfe7e1;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  display: inline-flex;
}
.button:hover {
  background: #f0f5f1;
}
.button.primary {
  color: #fff;
  background: #177c63;
  border-color: #177c63;
  box-shadow: 0 3px 4px #177c6310;
}
.hero {
  color: #fff;
  background: #123e33 radial-gradient(at 68% 140%, #376b46 0, #0000 65%);
  border-radius: 13px;
  justify-content: space-between;
  height: 267px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  z-index: 3;
  padding: 28px 32px;
  position: relative;
}
.hero-kicker {
  letter-spacing: 1.7px;
  color: #b6ccbe;
  align-items: center;
  gap: 7px;
  font: 600 8px Manrope;
  display: flex;
}
.hero-dot {
  background: #abca79;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}
.hero h2 {
  letter-spacing: -0.6px;
  margin: 14px 0 10px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.45;
}
.hero h2 span {
  color: #c8dfa2;
}
.hero p {
  color: #a9c3b7;
  font-size: 10px;
  line-height: 1.9;
}
.hero-copy button {
  color: #fff;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
  padding: 0;
  font-size: 10px;
  display: flex;
}
.hero-date {
  color: #bbd2c3;
  background: #ffffff0b;
  border: 1px solid #ffffff10;
  border-radius: 5px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  font-size: 9px;
  display: flex;
  position: absolute;
  top: 22px;
  right: 23px;
}
.hero-art {
  width: 440px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 3%;
}
.orbital {
  border: 1px solid #d8eabb19;
  border-radius: 50%;
  width: 420px;
  height: 220px;
  position: absolute;
  top: 60px;
  left: 5px;
  transform: rotate(-23deg);
}
.orbit-two {
  border-color: #d8eabb0e;
  width: 325px;
  height: 325px;
  top: 5px;
  left: 85px;
  transform: rotate(25deg);
}
.dot-matrix {
  background-image: radial-gradient(#c3ddaa2c 0.7px, #0000 0.7px);
  background-size: 15px 15px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000);
  mask-image: linear-gradient(90deg, #0000, #000);
}
.lotto-ball {
  border-radius: 50%;
  place-items: center;
  width: 121px;
  height: 121px;
  font: 800 68px Manrope;
  display: grid;
  position: absolute;
  box-shadow:
    15px 22px 25px #03231970,
    inset -8px -13px 17px #0002,
    inset 4px 6px 13px #fff5;
}
.ball-seven {
  color: #334f37;
  z-index: 2;
  background: radial-gradient(circle at 30% 25%, #f2f6db, #cedcb1 60%, #8d9d6d);
  width: 137px;
  height: 137px;
  top: 61px;
  right: 172px;
  transform: rotate(-17deg);
}
.ball-two {
  color: #e3edcb;
  z-index: 3;
  background: radial-gradient(circle at 30% 25%, #4aab81, #1f7e5c 60%, #155b46);
  top: 118px;
  right: 72px;
  transform: rotate(14deg);
}
.ball-nine {
  color: #426447;
  z-index: 1;
  filter: blur(0.2px);
  background: radial-gradient(circle at 30% 25%, #e9ebd9, #b5c9ab 60%, #6c8973);
  width: 81px;
  height: 81px;
  font-size: 43px;
  top: 38px;
  right: 44px;
  transform: rotate(23deg);
}
.floating-label {
  z-index: 4;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  letter-spacing: 1px;
  color: #d0e7b4;
  background: #d0e4c70a;
  border: 1px solid #c4dfbd2d;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  font: 600 8px Manrope;
  display: flex;
  position: absolute;
}
.label-one {
  top: 52px;
  left: 1px;
  transform: rotate(-7deg);
}
.label-two {
  font-size: 6px;
  bottom: 24px;
  left: 30px;
  transform: rotate(5deg);
}
.art-spark {
  color: #c5d7a0;
  font-size: 31px;
  position: absolute;
  bottom: 22px;
  right: 36px;
}
.spark-two {
  font-size: 23px;
  top: 40px;
  left: 134px;
}
.metrics {
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 22px 0 30px;
  display: grid;
}
.metric {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 18px 19px 16px;
}
.metric-top {
  color: #7d8a82;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  display: flex;
}
.metric-icon {
  border-radius: 8px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}
.metric-value {
  letter-spacing: -1px;
  margin: 5px 0 14px;
  font: 700 29px Manrope;
}
.metric-value > span {
  color: #939f97;
  letter-spacing: 0;
  margin-left: 9px;
  font: 11px IBM Plex Sans Thai;
}
.metric-detail {
  color: #99a39c;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  display: flex;
}
.metric-dot {
  background: #78a58a;
  border-radius: 50%;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
}
.metric-dot.blue {
  background: #8ea8c5;
}
.metric-dot.orange {
  background: #c9a36c;
}
.metric-dot.purple {
  background: #b5a0c9;
}
.section-title,
.panel-heading {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  display: flex;
}
.section-title {
  margin-bottom: 17px;
}
.section-title h2,
.panel-heading h2 {
  align-items: center;
  gap: 9px;
  font-size: 16px;
  display: flex;
}
.section-title p,
.panel-heading p {
  color: #919c94;
  margin-top: 5px;
  font-size: 10px;
}
.count-tag {
  color: #86988a;
  background: #ebf0ec;
  border-radius: 5px;
  padding: 4px 7px;
  font: 500 9px IBM Plex Sans Thai;
}
.text-button {
  color: #46866b;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 10px;
  display: inline-flex;
}
.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) 282px;
  gap: 20px;
  display: grid;
}
.panel {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.panel-heading {
  padding: 23px 25px;
}
.filter-bar {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  display: flex;
}
.tabs {
  align-items: center;
  gap: 3px;
  display: flex;
}
.tabs button {
  white-space: nowrap;
  color: #929c95;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 10px;
}
.tabs button.selected {
  color: #317c5b;
  background: #eef5ef;
  font-weight: 500;
}
.search-field {
  color: #a3ada4;
  border: 1px solid #e6eae6;
  border-radius: 5px;
  align-items: center;
  gap: 6px;
  max-width: 155px;
  padding: 7px 9px;
  display: flex;
}
.search-field input {
  color: #526459;
  background: 0 0;
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  font-size: 9px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  width: 100%;
}
th {
  color: #919e93;
  border-bottom: 1px solid var(--border);
  height: 38px;
  padding: 10px 17px;
  font-size: 9px;
  font-weight: 500;
}
td {
  border-bottom: 1px solid #eef1ed;
  height: 65px;
  padding: 13px 17px;
  font-size: 11px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.star-cell {
  width: 32px;
  padding-left: 18px;
  padding-right: 0;
}
.star-button {
  color: #cad2c9;
  place-items: center;
  padding: 3px;
  display: grid;
}
.lottery-cell {
  align-items: center;
  gap: 11px;
  display: flex;
}
.flag {
  background: #f5f7f3;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 23px;
  display: grid;
  overflow: hidden;
}
.lottery-cell strong {
  font-size: 11px;
  font-weight: 500;
}
.lottery-cell small {
  color: #a3aca3;
  margin-top: 3px;
  font-size: 8px;
  display: block;
}
.mono {
  font-variant-numeric: tabular-nums;
  font-family: Manrope;
}
.muted {
  color: #919d93;
  font-size: 11px;
}
sup {
  color: var(--green);
  margin-left: 3px;
  font-size: 8px;
}
.number {
  color: #285a41;
  letter-spacing: 2px;
  text-align: center;
  background: #eff6ed;
  border: 1px solid #e4eddf;
  border-radius: 6px;
  min-width: 48px;
  padding: 7px 10px;
  font: 700 17px Manrope;
  display: inline-block;
}
.number.small {
  letter-spacing: 1.2px;
  min-width: 35px;
  padding: 5px 8px;
  font-size: 12px;
}
.number.hit {
  color: #1a7a3c;
  background: #dcf3e2;
  border-color: #8fd4a5;
}
.number.miss {
  color: #a63a2a;
  background: #fbe4e1;
  border-color: #eaa79c;
}
.icon-button {
  color: #a4b09f;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  display: inline-flex;
}
.table-arrow {
  width: 20px;
}
.results-panel th,
.results-panel td {
  padding-left: 10px;
  padding-right: 10px;
}
.results-panel .star-cell {
  padding-left: 14px;
  padding-right: 0;
}
.results-panel .table-arrow {
  width: 16px;
}
.results-panel .flag {
  width: 26px;
  height: 26px;
  font-size: 22px;
}
.results-panel .lottery-cell {
  gap: 8px;
}
.results-panel td {
  height: 65px;
}
.table-footer {
  border-top: 1px solid var(--border);
  color: #9ba79a;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 15px 21px;
  font-size: 9px;
  display: flex;
}
.insight-column {
  flex-direction: column;
  gap: 16px;
  display: flex;
}
.insight-card {
  padding: 20px;
}
.insight-heading {
  align-items: center;
  gap: 9px;
  display: flex;
}
.insight-heading h3 {
  font-size: 13px;
}
.badge {
  white-space: nowrap;
  color: #58894c;
  background: #edf6eb;
  border-radius: 4px;
  align-items: center;
  padding: 4px 7px;
  font-size: 9px;
  display: inline-flex;
}
.insight-heading .badge {
  margin-left: auto;
  font-size: 8px;
}
.badge.neutral {
  color: #9a9f93;
  background: #f2f3ef;
}
.badge.amber {
  color: #ad803a;
  background: #fff5e7;
}
.insight-card > p {
  color: #9aa591;
  margin: 9px 0 20px;
  font-size: 10px;
}
select,
input:not([type="file"]) {
  color: #50634b;
  background: #fff;
  border: 1px solid #dfe7db;
  border-radius: 6px;
  width: 100%;
  min-height: 40px;
  padding: 10px 11px;
  font-size: 12px;
}
select {
  cursor: pointer;
}
.insight-card select {
  background: #fcfdfb;
  font-size: 11px;
}
.prediction-label {
  color: #94a087;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 15px;
  font-size: 9px;
  display: flex;
}
.quick-numbers {
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  display: flex;
}
.quick-numbers > div {
  text-align: center;
  flex: 1;
  max-width: 66px;
}
.quick-numbers > div > span {
  color: #698559;
  letter-spacing: 1px;
  background: #f4f6ef;
  border: 1px solid #e5ebdc;
  border-radius: 8px;
  place-items: center;
  height: 62px;
  font: 700 28px Manrope;
  display: grid;
}
.quick-numbers > div.leading > span {
  color: #456b2e;
  background: #eaf3de;
  border-color: #d4e4bb;
}
.quick-numbers small {
  color: #9ca68b;
  margin-top: 8px;
  font-size: 8px;
  display: block;
}
.sample-row {
  color: #97a283;
  border-top: 1px dashed #e4eadb;
  align-items: center;
  gap: 7px;
  padding-top: 17px;
  font-size: 9px;
  display: flex;
}
.insight-cta {
  color: #607f43;
  background: #f1f6e9;
  border: 1px solid #e5edd8;
  justify-content: space-between;
  width: 100%;
  margin-top: 19px;
  font-size: 10px;
}
.micro-note {
  text-align: center;
  color: #a8ae97;
  margin-top: 12px;
  font-size: 8px;
}
.note-card {
  color: #829769;
  background: #f0f4ed;
  border: 1px solid #e6eddf;
  border-radius: 9px;
  gap: 12px;
  padding: 18px;
  display: flex;
}
.note-card > svg {
  flex-shrink: 0;
}
.note-card strong {
  color: #758766;
  font-size: 11px;
  font-weight: 500;
}
.note-card p {
  color: #97a18b;
  margin-top: 5px;
  font-size: 9px;
  line-height: 1.9;
}
.bottom-strip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  align-items: center;
  gap: 15px;
  margin-top: 23px;
  padding: 19px 23px;
  display: flex;
}
.strip-icon {
  color: #859c6c;
  background: #f0f5eb;
  border-radius: 8px;
  padding: 11px;
}
.bottom-strip strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
}
.bottom-strip span {
  color: #a0aa95;
  margin-top: 4px;
  font-size: 9px;
  display: block;
}
.bottom-strip button {
  margin-left: auto;
  font-size: 10px;
}
footer {
  color: #a5ada0;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 25px 0;
  font-size: 8px;
  display: flex;
}
.footer-logo {
  color: #87987e;
  margin-right: 8px;
  font: 700 10px Manrope;
}
.notice {
  color: #759564;
  background: #f0f6ee;
  border: 1px solid #e0ebd9;
  border-radius: 8px;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  padding: 15px 19px;
  font-size: 11px;
  line-height: 1.9;
  display: flex;
}
.notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.notice.compact {
  margin: 0 22px 10px;
  font-size: 10px;
}
.notice button {
  margin-left: auto;
  text-decoration: underline;
}
.empty {
  color: #8fa180;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 55px 20px;
  display: flex;
}
.empty strong {
  font-size: 13px;
  font-weight: 500;
}
.empty span {
  color: #a2af95;
  font-size: 10px;
}
.loading {
  color: #7c9670;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 60px;
  font-size: 12px;
  display: flex;
}
.spin {
  animation: 1s linear infinite rotate;
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
.history-filters,
.analysis-filters {
  align-items: end;
  gap: 17px;
  padding: 5px 25px 24px;
  display: flex;
}
.history-filters label,
.analysis-filters label {
  flex: 1;
  min-width: 0;
}
label {
  color: #7e9171;
  font-size: 11px;
  font-weight: 500;
  display: block;
}
label input,
label select {
  margin-top: 8px;
  display: block;
}
.pagination {
  gap: 8px;
  display: flex;
}
.pagination .button {
  padding: 6px 9px;
}
.source-link {
  color: #6a9460;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  display: inline-flex;
}
.analysis-filters {
  margin-bottom: 20px;
  padding: 23px 25px;
}
.analysis-filters .badge {
  margin-bottom: 10px;
  margin-left: auto;
}
.analysis-grid {
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
  display: grid;
}
.forecast-numbers {
  justify-content: space-evenly;
  gap: 12px;
  padding: 10px 25px 20px;
  display: flex;
}
.forecast-numbers > div {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
  display: flex;
}
.rank-caption {
  color: #92a680;
  font-size: 9px;
}
.forecast-numbers strong {
  letter-spacing: 1px;
  text-align: center;
  color: #5b7c3e;
  background: #edf4e4;
  border: 1px solid #dee9d0;
  border-radius: 9px;
  width: 100%;
  padding: 17px 8px;
  font: 700 27px Manrope;
}
.forecast-numbers > div:first-child strong {
  color: #426128;
  background: #dfeac9;
}
.forecast-numbers > div > span:last-child {
  color: #8a9f73;
  font-size: 9px;
}
.method-caption {
  color: #9caa89;
  text-align: center;
  padding: 0 20px 24px;
  font-size: 10px;
}
.bet-slip {
  background: #fbfcf8;
  border: 1px solid #e5ecdb;
  border-radius: 9px;
  margin: 0 25px 24px;
  padding: 18px;
}
.bet-slip-heading {
  align-items: end;
  gap: 14px;
  margin-bottom: 14px;
  display: flex;
}
.bet-slip-heading label {
  flex: 0 0 150px;
}
.bet-slip-heading input {
  font: 700 15px Manrope;
}
.bet-slip-heading .button {
  flex-shrink: 0;
}
.bet-slip-preview {
  background: #fff;
  border: 1px solid #e9eedf;
  border-radius: 7px;
  max-height: 260px;
  padding: 14px;
  overflow-y: auto;
}
.bet-slip-preview-head {
  color: #456128;
  border-bottom: 1px dashed #e0e8d4;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font: 700 12px Manrope;
}
.bet-slip-row {
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  display: grid;
}
.bet-slip-row span {
  color: #4c6142;
  text-align: center;
  background: #f1f6ea;
  border-radius: 5px;
  padding: 6px 2px;
  font-size: 11px;
}
.bet-slip-total {
  color: #7f9068;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 11px;
  display: flex;
}
.bet-slip-total strong {
  color: #456128;
  font: 700 15px Manrope;
}
.method-box {
  background: #fbfcf8;
  border-top: 1px solid #e9eddc;
  padding: 20px 25px;
}
.method-box h4 {
  color: #758a5b;
  margin-bottom: 8px;
  font-size: 11px;
}
.method-box p {
  color: #91a17a;
  font-size: 10px;
  line-height: 1.95;
}
.method-box > span {
  color: #a1af8b;
  margin-top: 9px;
  font-size: 9px;
  display: block;
}
.backtest-value {
  color: #668843;
  padding: 10px 25px 20px;
  font: 700 45px Manrope;
}
.backtest-value span {
  color: #94a67d;
  margin-top: 8px;
  font: 10px IBM Plex Sans Thai;
  display: block;
}
.backtest-comparison {
  padding: 0 25px;
}
.backtest-comparison > div {
  color: #92a47b;
  border-bottom: 1px solid #edf0e4;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  font-size: 10px;
  display: flex;
}
.backtest-comparison b {
  color: #6c8550;
  white-space: nowrap;
  font-family: Manrope;
  font-size: 11px;
}
.backtest-note {
  color: #9dac85;
  padding: 20px 25px;
  font-size: 10px;
  line-height: 1.95;
}
.frequency-panel {
  margin-top: 22px;
}
.chart-legend {
  color: #92a779;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  display: flex;
}
.chart-legend i {
  background: #83ad60;
  border-radius: 2px;
  width: 7px;
  height: 7px;
}
.bar-chart {
  background: repeating-linear-gradient(0deg, #0000 0 48px, #f1f4e8 49px 50px)
    padding-box content-box;
  align-items: end;
  gap: 4%;
  height: 255px;
  padding: 10px 40px 27px;
  display: flex;
}
.bar-column {
  color: #9caa85;
  flex-direction: column;
  flex: 1;
  justify-content: end;
  align-items: center;
  gap: 10px;
  height: 100%;
  font: 10px Manrope;
  display: flex;
}
.bar-track {
  align-items: end;
  width: 100%;
  max-width: 55px;
  height: 170px;
  display: flex;
}
.bar-track > div {
  background: linear-gradient(#8aaa6c, #d5e2bd);
  border-radius: 5px 5px 0 0;
  width: 100%;
  min-height: 0;
  transition: height 0.3s;
}
.bar-column b {
  color: #7d965d;
  font-size: 12px;
}
.data-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 23px;
  display: grid;
}
.provider {
  background: #f9fbf5;
  border: 1px solid #e8eddf;
  border-radius: 9px;
  align-items: center;
  gap: 14px;
  margin: 0 25px;
  padding: 17px;
  display: flex;
}
.provider-logo {
  color: #678549;
  background: #ebf2e2;
  border-radius: 10px;
  place-items: center;
  width: 40px;
  height: 40px;
  font: 700 20px Manrope;
  display: grid;
}
.provider strong {
  color: #68824e;
  font: 700 14px Manrope;
}
.provider a {
  color: #99ab7d;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font: 10px Manrope;
  display: flex;
}
.provider > .badge {
  margin-left: auto;
}
.provider-note {
  color: #91a07e;
  padding: 20px 25px;
  font-size: 11px;
  line-height: 1.95;
}
.source-panel > .button {
  margin-bottom: 17px;
  margin-left: 25px;
}
.sync-time {
  color: #9aaa86;
  margin: 0 25px 24px;
  font-size: 9px;
  display: block;
}
.upload-area {
  cursor: pointer;
  color: #91a673;
  background: #fcfdf9;
  border: 1px dashed #cfdcbe;
  border-radius: 9px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 0 25px;
  padding: 23px 12px;
  display: flex;
}
.upload-area strong {
  font-size: 12px;
  font-weight: 500;
}
.upload-area > span {
  color: #a4b18e;
  font-size: 9px;
}
.upload-area input {
  max-width: 100%;
  margin-top: 5px;
  font-size: 10px;
}
.import-actions {
  justify-content: space-between;
  align-items: center;
  padding: 16px 25px;
  display: flex;
}
.csv-help {
  color: #9daa86;
  padding: 0 25px 20px;
  font-size: 9px;
  line-height: 1.9;
}
.import-panel .notice {
  margin: 15px 25px;
}
.log-panel {
  margin-top: 23px;
}
.log-row {
  border-top: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 25px;
  display: flex;
}
.log-row strong {
  font-size: 11px;
  font-weight: 500;
}
.log-row p {
  color: #92a57d;
  margin-top: 5px;
  font-size: 10px;
}
.modal {
  width: 470px;
  max-width: calc(100% - 30px);
  max-height: 90vh;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dde7d0;
  border-radius: 15px;
  padding: 28px;
  box-shadow: 0 25px 100px #18330830;
}
.modal::backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #18332480;
}
.modal-heading {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.modal-heading h2 {
  margin-top: 7px;
  font-size: 22px;
}
.modal form > p {
  margin: 10px 0 23px;
}
.modal label {
  margin-top: 16px;
}
.form-row {
  gap: 15px;
  display: flex;
}
.form-row > label {
  flex: 1;
  min-width: 0;
}
.form-row input {
  letter-spacing: 4px;
  font-family: Manrope;
  font-size: 22px;
}
.modal .notice {
  margin: 18px 0;
}
.modal-footer {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
}
.toast {
  z-index: 60;
  color: #fff;
  background: #24482b;
  border: 1px solid #648453;
  border-radius: 10px;
  align-items: center;
  gap: 11px;
  min-width: 250px;
  max-width: calc(100% - 30px);
  padding: 15px 20px;
  font-size: 12px;
  display: flex;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%);
  box-shadow: 0 10px 40px #1f431d25;
}
.toast > svg {
  flex-shrink: 0;
}
.toast button {
  color: #d3e1c2;
  margin-left: auto;
  padding: 3px;
}
@media (width>=1500px) {
  main {
    padding: 38px 48px 0;
  }
  .hero {
    height: 290px;
  }
  .hero-copy {
    padding: 31px 37px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .hero-art {
    transform-origin: 50%;
    right: 8%;
    transform: scale(1.1);
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 315px;
  }
  .metric {
    padding: 21px 24px;
  }
  .results-panel td {
    height: 70px;
  }
}
@media (width<=1250px) {
  .sidebar {
    width: 210px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .main-shell {
    width: calc(100% - 210px);
    margin-left: 210px;
  }
  main {
    padding: 27px 25px 0;
  }
  .topbar {
    padding: 0 25px;
  }
  .brand {
    font-size: 23px;
  }
  .nav-link {
    gap: 10px;
    font-size: 12px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 255px;
    gap: 15px;
  }
  .results-panel .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .results-panel .search-field {
    max-width: none;
  }
  .results-panel .search-field input {
    min-height: 20px;
    padding: 0;
  }
  .hero-art {
    transform-origin: 100%;
    right: 0;
    transform: scale(0.88);
  }
  .hero-date {
    font-size: 8px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    padding-top: 30px;
  }
  .metric {
    padding: 15px 13px;
  }
  .metric-detail {
    font-size: 8px;
  }
  .insight-card {
    padding: 17px;
  }
  .analysis-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .forecast-numbers {
    gap: 7px;
    padding: 10px 18px 20px;
  }
  .forecast-numbers strong {
    font-size: 22px;
  }
  .tabs button {
    padding: 7px 9px;
  }
  .hero-copy {
    padding-left: 27px;
  }
}
@media (width<=1050px) {
  .hero-art {
    opacity: 0.8;
    right: -35px;
    transform: scale(0.8);
  }
  .hero-copy {
    max-width: 60%;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .insight-column {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    display: grid;
  }
  .insight-card {
    padding: 21px;
  }
  .results-panel .filter-bar {
    flex-direction: row;
  }
  .results-panel .search-field {
    max-width: 170px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .metric {
    padding: 18px 20px;
  }
  .metric-detail {
    font-size: 10px;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 13px;
  }
  .heading-actions {
    padding: 0;
  }
  .analysis-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }
  .analysis-filters {
    flex-wrap: wrap;
  }
  .analysis-filters label {
    flex-basis: 25%;
  }
  .history-filters {
    flex-wrap: wrap;
  }
  .history-filters label {
    flex-basis: 40%;
  }
  .forecast-numbers strong {
    font-size: 32px;
  }
  .hero-date,
  .timezone {
    display: none;
  }
  .note-card {
    padding: 22px;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
}
@media (width<=760px) {
  .sidebar {
    width: 240px;
    transition: transform 0.2s;
    transform: translate(-100%);
  }
  .sidebar.is-open {
    transform: translate(0);
  }
  .sidebar-scrim {
    z-index: 25;
    background: #213b3277;
    position: fixed;
    inset: 0;
  }
  .main-shell {
    width: 100%;
    margin: 0;
  }
  .mobile-menu {
    display: inline-flex !important;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .breadcrumb {
    gap: 9px;
  }
  .top-right {
    gap: 10px;
  }
  .top-divider {
    display: none;
  }
  main {
    padding: 24px 18px 0;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.8;
  }
  .hero {
    height: 270px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .hero-copy {
    max-width: 80%;
    padding: 25px;
  }
  .hero-art {
    opacity: 0.5;
    top: 37px;
    right: -67px;
    transform: scale(0.64);
  }
  .hero p {
    font-size: 10px;
  }
  .hero-kicker {
    font-size: 7px;
  }
  .hero-art .floating-label {
    display: none;
  }
  .metric-value {
    font-size: 27px;
  }
  .metric-top {
    font-size: 10px;
  }
  .metric-detail {
    font-size: 8px;
  }
  .metric {
    padding: 14px;
  }
  .section-title {
    align-items: flex-start;
  }
  .section-title h2 {
    font-size: 15px;
  }
  .section-title > .text-button {
    max-width: 112px;
    font-size: 9px;
    line-height: 1.7;
  }
  .count-tag {
    font-size: 8px;
  }
  .insight-column {
    grid-template-columns: 1fr;
  }
  .results-panel .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .results-panel .search-field {
    max-width: none;
  }
  .results-panel .tabs {
    justify-content: space-between;
  }
  .results-panel table {
    min-width: 590px;
  }
  .panel-heading {
    padding: 20px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .panel-heading p {
    font-size: 10px;
    line-height: 1.8;
  }
  .bottom-strip {
    flex-wrap: wrap;
    padding: 16px;
  }
  .bottom-strip > div:nth-child(2) {
    flex: 1;
  }
  .bottom-strip span {
    font-size: 9px;
    line-height: 1.8;
  }
  .bottom-strip button {
    margin-left: 0;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .filter-bar {
    padding: 15px;
  }
  .analysis-filters {
    gap: 13px;
    padding: 20px;
  }
  .analysis-filters label {
    flex-basis: 40%;
  }
  .analysis-filters label:first-child {
    flex-basis: 100%;
  }
  .analysis-filters > .badge {
    margin: 0;
  }
  .forecast-numbers {
    gap: 6px;
    padding: 12px 16px;
  }
  .forecast-numbers strong {
    padding: 13px 5px;
    font-size: 24px;
  }
  .forecast-numbers > div > span:last-child {
    font-size: 8px;
  }
  .bet-slip {
    margin: 0 16px 20px;
    padding: 14px;
  }
  .bet-slip-heading {
    flex-wrap: wrap;
  }
  .bet-slip-heading label {
    flex: 100%;
  }
  .bet-slip-heading .button {
    width: 100%;
  }
  .bet-slip-row {
    grid-template-columns: repeat(5, 1fr);
  }
  .forecast-panel .panel-heading {
    flex-wrap: wrap;
  }
  .method-caption {
    padding: 10px 18px 20px;
    font-size: 9px;
    line-height: 1.8;
  }
  .chart-legend {
    display: none;
  }
  .bar-chart {
    gap: 4%;
    padding: 10px 20px 23px;
  }
  .history-filters {
    gap: 12px;
    padding: 0 20px 20px;
  }
  .history-panel .panel-heading {
    flex-wrap: wrap;
  }
  .log-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .provider {
    gap: 10px;
    margin: 0 20px;
    padding: 13px;
  }
  .provider > .badge {
    font-size: 8px;
  }
  .modal {
    padding: 22px;
  }
  .heading-actions .button,
  .notice {
    font-size: 10px;
  }
  .history-panel table {
    min-width: 660px;
  }
  .data-grid table {
    min-width: 550px;
  }
  .toast {
    font-size: 11px;
  }
  .quick-numbers > div {
    max-width: 85px;
  }
  .quick-numbers {
    gap: 20px;
  }
  .hero .ball-two {
    opacity: 0.8;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  :before,
  :after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.search-field input:not([type="file"]) {
  background: 0 0;
  border: 0;
  outline: none;
  min-height: 20px;
  padding: 0;
  font-size: 10px;
}
.collection-progress {
  margin-bottom: 22px;
}
.progress-content {
  padding: 0 25px 23px;
}
.progress-content progress {
  appearance: none;
  background: #e8eedf;
  border: none;
  border-radius: 8px;
  width: 100%;
  height: 8px;
  display: block;
  overflow: hidden;
}
.progress-content progress::-webkit-progress-bar {
  background: #e8eedf;
  border-radius: 8px;
}
.progress-content progress::-webkit-progress-value {
  background: #638f49;
  border-radius: 8px;
}
.progress-content progress::-moz-progress-bar {
  background: #638f49;
}
.progress-content > span {
  color: #91a57c;
  margin-top: 9px;
  font-size: 10px;
  display: block;
}
.progress-content details {
  color: #849b6a;
  margin-top: 15px;
  font-size: 11px;
  line-height: 1.9;
}
.progress-content summary {
  cursor: pointer;
}
.progress-content ul {
  padding-left: 20px;
}
.import-preview {
  padding: 15px 25px 0;
}
.import-preview > strong {
  color: #81966a;
  font-size: 10px;
}
.import-preview table {
  margin-top: 8px;
}
.import-preview td,
.import-preview th {
  height: auto;
  padding: 7px;
  font-size: 9px;
}
.live-status {
  color: #20614d;
  background: #f0faf5;
  border: 1px solid #b4d9c8;
  border-radius: 12px;
  margin: 0 0 20px;
  padding: 16px 20px;
  font-size: 12px;
}
.live-status.has-issue {
  color: #8d5f24;
  background: #fff8eb;
  border-color: #ecd2a3;
}
.live-status-heading {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  display: flex;
}
.live-status strong {
  font-size: 13px;
}
.live-status p {
  margin: 6px 0;
  line-height: 1.7;
}
.live-status details {
  margin-top: 8px;
}
.live-status summary {
  cursor: pointer;
}
.live-status ul {
  max-height: 260px;
  padding-left: 20px;
  line-height: 1.9;
  overflow: auto;
}
.live-status [role="alert"] {
  color: #b42336;
}
@media (width<=600px) {
  .live-status-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .live-status {
    padding: 14px;
  }
}
.automatic-settings {
  background: #eff8f2;
  border: 1px solid #d1e7d8;
  border-radius: 8px;
  flex-direction: column;
  flex: 2;
  gap: 6px;
  min-width: 240px;
  padding: 14px 16px;
  display: flex;
}
.automatic-settings strong {
  color: #2c6749;
  font-size: 12px;
}
.automatic-settings span {
  color: #234b37;
  font-size: 14px;
}
.automatic-settings small {
  color: #648270;
  font-size: 10px;
  line-height: 1.6;
}
.forecast-numbers.running-forecast-numbers {
  grid-template-columns: minmax(0, 180px);
  justify-content: center;
}
.running-forecast-numbers > div strong {
  font-size: 52px;
}
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --green: #167b64;
  --muted: #87918e;
  --border: #e6ece8;
  --ink: #243b34;
  --up: #1f9d6f;
  --down: #d9534f;
  color: #253a35;
  background: #f7f9f8;
}
body {
  background: radial-gradient(at 70% -10%, #eef6f1 0, #0000 44%), #f7f9f8;
}
.sidebar {
  border-color: var(--border);
  background: #fff;
}
.brand {
  color: #213c33;
}
.brand-icon {
  background: linear-gradient(150deg, #1f9d6f, #167b64);
  border-radius: 10px;
  box-shadow: 0 4px 12px #167b6420;
}
.brand small {
  color: #8c9791;
}
.nav-caption {
  color: #9da69f;
  font-size: 9px;
}
.nav-link {
  color: #737f79;
  border: 1px solid #0000;
  font-size: 12px;
}
.nav-link:hover {
  color: #243b34;
  background: #f4f7f5;
}
.nav-link.active {
  color: #167b64;
  background: linear-gradient(90deg, #eaf5ef, #eef7f1);
  border-color: #cfe6da;
  box-shadow: inset 3px 0 #1f9d6f;
}
.nav-link b {
  color: #737f79;
  border-color: #e0e6e1;
}
.new-label {
  color: #167b64;
  background: #eaf5ef;
}
.archive-card {
  background: linear-gradient(145deg, #f0f7f3, #f7f9f6);
  border: 1px solid #e6ede8;
}
.archive-card strong {
  color: #243b34;
}
.archive-card p {
  color: #84918a;
}
.archive-icon,
.archive-card button {
  color: #167b64;
}
.profile {
  border-color: var(--border);
}
.avatar,
.tiny-avatar {
  color: #537561;
  background: #eef3ee;
  border-color: #e5ece7;
}
.profile strong {
  color: #243b34;
}
.profile span:not(.online-dot) {
  color: #99a29d;
}
.online-dot {
  background: #1f9d6f;
  box-shadow: 0 0 7px #1f9d6f60;
}
.topbar {
  border-color: var(--border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #fffc;
  height: 66px;
}
.breadcrumb {
  color: #9aa29e;
}
.breadcrumb strong {
  color: #56665e;
}
.timezone {
  color: #839188;
}
.top-divider {
  background: #e9eee9;
}
.market-tape {
  border-bottom: 1px solid var(--border);
  color: #7d8a82;
  background: #fbfdfb;
  align-items: center;
  height: 43px;
  font: 10px Manrope;
  display: flex;
  overflow: hidden;
}
.tape-label {
  white-space: nowrap;
  color: #167b64;
  letter-spacing: 1px;
  border-right: 1px solid var(--border);
  z-index: 1;
  background: #eef6f1;
  align-items: center;
  gap: 7px;
  height: 100%;
  padding: 0 17px;
  font-size: 8px;
  display: flex;
}
.tape-items {
  scrollbar-width: none;
  flex: 1;
  align-items: center;
  display: flex;
  overflow-x: auto;
}
.tape-items button {
  white-space: nowrap;
  border-right: 1px solid #edf1ec;
  align-items: center;
  gap: 10px;
  height: 23px;
  padding: 0 20px;
  display: flex;
  position: relative;
}
.tape-items button:hover {
  color: #243b34;
  background: #f4f9f5;
}
.tape-items button > span {
  color: #7d8a82;
  font: 10px IBM Plex Sans Thai;
}
.tape-items strong {
  color: #167b64;
  border-radius: 3px;
  padding: 1px 3px;
  font-size: 12px;
  transition:
    color 0.3s,
    background 0.3s;
}
.tape-items strong.flash-up {
  color: var(--up);
  background: #e3f6ec;
}
.tape-items strong.flash-down {
  color: var(--down);
  background: #fdecec;
}
.tape-items i {
  color: #8b968f;
  font-size: 10px;
  font-style: normal;
}
.tape-end {
  white-space: nowrap;
  color: #9aa69f;
  padding: 0 15px;
  font: 9px IBM Plex Sans Thai;
}
.tape-countdown {
  color: #ad803a;
  letter-spacing: 0.3px;
  background: #fff5e7;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 8px;
  font-weight: 600;
}
.tape-countdown.urgent {
  color: #c0392b;
  background: #fdecec;
  animation: 1.4s ease-in-out infinite pulse-badge;
}
.page-heading {
  align-items: center;
  margin-bottom: 24px;
}
.eyebrow {
  color: #7c9186;
  letter-spacing: 2px;
  font-size: 8px;
}
.eyebrow > span {
  background: #1f9d6f;
  box-shadow: 0 0 6px #1f9d6f60;
}
h1 {
  letter-spacing: -0.7px;
  color: #213c33;
  margin: 12px 0 10px;
  font:
    700 26px Manrope,
    IBM Plex Sans Thai;
}
.page-heading p {
  color: #8b968f;
  font-size: 11px;
}
.heading-actions {
  padding: 0;
}
.button {
  color: #4a5c53;
  background: #fff;
  border-color: #dfe7e1;
  border-radius: 6px;
}
.button:hover {
  background: #f0f5f1;
  border-color: #cfe0d6;
}
.button.primary {
  color: #fff;
  background: #167b64;
  border-color: #167b64;
  font-weight: 600;
  box-shadow: 0 3px 10px #167b6420;
}
.button.primary:hover {
  background: #116b55;
}
.demo-banner {
  color: #4a7690;
  background: #eef6fa;
  border: 1px solid #d7e9f2;
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 15px;
  font-size: 10px;
  display: flex;
}
.demo-banner strong {
  letter-spacing: 1px;
  color: #2f7f96;
  font: 700 9px Manrope;
}
.terminal-stage {
  grid-template-columns: minmax(0, 1fr) 278px;
  gap: 18px;
  margin-bottom: 20px;
  display: grid;
}
.terminal-chart-panel {
  border: 1px solid var(--border);
  background: radial-gradient(at 45% 100%, #eaf6f0, #0000 80%), #fff;
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.terminal-heading {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 24px 25px 0;
  display: flex;
}
.terminal-symbol {
  align-items: center;
  gap: 13px;
  display: flex;
}
.terminal-symbol > span {
  background: #f0f5f1;
  border: 1px solid #e2ebe4;
  border-radius: 12px;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 29px;
  display: grid;
}
.terminal-symbol h2 {
  color: #213c33;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  display: flex;
}
.badge.hot {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}
.sparkline {
  flex-shrink: 0;
  display: block;
}
.terminal-symbol h2 span {
  color: #96a49c;
  letter-spacing: 1px;
  margin-left: 5px;
  font: 600 9px Manrope;
}
.terminal-symbol small {
  color: #8b978f;
  margin-top: 4px;
  font-size: 9px;
  display: block;
}
.terminal-heading select {
  color: #50634b;
  background: #fbfdfb;
  border-color: #dfe7e1;
  max-width: 150px;
  min-height: 32px;
  padding: 7px 10px;
  font-size: 10px;
}
.terminal-heading .tape-countdown {
  margin-left: auto;
}
.terminal-quote {
  align-items: center;
  gap: 17px;
  padding: 22px 25px 8px;
  display: flex;
}
.terminal-quote > strong {
  letter-spacing: 2px;
  color: #213c33;
  font: 700 44px/1 Manrope;
  transition: color 0.3s;
}
.terminal-quote > strong.flash-up {
  color: var(--up);
}
.terminal-quote > strong.flash-down {
  color: var(--down);
}
.terminal-quote > div:nth-child(2) {
  flex-direction: column;
  gap: 6px;
  display: flex;
}
.terminal-quote > div:nth-child(2) > span {
  color: #8b968f;
  font-size: 9px;
}
.terminal-quote > div:nth-child(2) > b {
  color: #167b64;
  font-size: 10px;
  font-weight: 500;
}
.terminal-bottom-number {
  border-left: 1px solid var(--border);
  flex-direction: column;
  gap: 5px;
  margin-left: 5px;
  padding-left: 18px;
  display: flex;
}
.terminal-bottom-number small {
  color: #8b968f;
  font-size: 9px;
}
.terminal-bottom-number b {
  color: #3f5e51;
  font: 600 20px Manrope;
}
.chart-periods {
  border: 1px solid var(--border);
  background: #f4f7f5;
  border-radius: 6px;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  display: flex;
}
.chart-periods button {
  color: #7d8a82;
  white-space: nowrap;
  border-radius: 3px;
  padding: 6px 9px;
  font-size: 9px;
}
.chart-periods button.active {
  color: #167b64;
  background: #fff;
  box-shadow: 0 1px 3px #0000000f;
}
.result-chart {
  padding: 4px 22px 0;
}
.result-chart svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.chart-hover {
  color: #8b968f;
  align-items: center;
  gap: 12px;
  height: 25px;
  padding-left: 4px;
  font-size: 9px;
  display: flex;
}
.chart-hover b {
  color: #167b64;
  font: 600 10px Manrope;
}
.chart-live-dot {
  background: #1f9d6f;
  border-radius: 50%;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  animation: 1.6s ease-in-out infinite pulse-dot;
  display: inline-block;
  box-shadow: 0 0 7px #1f9d6f60;
}
.chart-foot {
  border-top: 1px solid var(--border);
  color: #99a49c;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 13px 23px;
  font-size: 8px;
  display: flex;
}
.chart-foot > span:first-child {
  letter-spacing: 1px;
  color: #4a7c68;
  align-items: center;
  gap: 6px;
  font: 600 7px Manrope;
  display: flex;
}
.chart-foot > span:last-child {
  letter-spacing: 1px;
  font: 7px Manrope;
}
.chart-empty {
  color: #8fa392;
  place-items: center;
  height: 240px;
  font-size: 12px;
  display: grid;
}
.terminal-side {
  border: 1px solid var(--border);
  text-align: center;
  background:
    radial-gradient(at 60% 0, #eaf6f0 0, #0000 70%),
    linear-gradient(145deg, #fbfdfb, #f3f8f4);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  padding: 22px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.terminal-side:before {
  content: "";
  pointer-events: none;
  background-image: radial-gradient(#16766e14 1px, #0000 1px);
  background-size: 14px 14px;
  position: absolute;
  inset: 0;
}
.desk-label {
  color: #4a5c53;
  letter-spacing: 1px;
  align-items: center;
  gap: 7px;
  width: 100%;
  font: 700 8px Manrope;
  display: flex;
  position: relative;
}
.desk-label > span {
  color: #167b64;
  border: 1px solid #cfe6da;
  border-radius: 4px;
  margin-left: auto;
  padding: 4px 6px;
  font-size: 7px;
}
.engine-orb {
  color: #167b64;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 22px 0 10px;
  display: grid;
  position: relative;
}
.engine-orb:before {
  content: "";
  border: 1px solid #1f9d6f4d;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  box-shadow:
    0 0 35px #1f9d6f12,
    inset 0 0 30px #1f9d6f0c;
}
.engine-orb:after {
  content: "";
  border: 1px dashed #1f9d6f4d;
  border-radius: 50%;
  animation: 50s linear infinite rotate;
  position: absolute;
  inset: 12px;
}
.engine-orb > div {
  background: linear-gradient(135deg, #eaf6f0, #dcefe4);
  border: 1px solid #bfe0cd;
  border-radius: 19px;
  position: absolute;
  inset: 23px;
  transform: rotate(12deg);
  box-shadow: 0 0 25px #1f9d6f25;
}
.engine-orb > svg {
  filter: drop-shadow(0 0 6px #1f9d6f45);
  position: relative;
}
.orb-dot {
  background: #1f9d6f;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 11px;
  right: 11px;
  box-shadow: 0 0 13px #1f9d6f80;
}
.terminal-side h3 {
  color: #213c33;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
}
.terminal-side h3 span {
  color: #167b64;
}
.terminal-side > p {
  color: #8b968f;
  margin: 11px 0 19px;
  font-size: 10px;
  line-height: 1.9;
  position: relative;
}
.engine-status {
  border-top: 1px solid var(--border);
  color: #8b968f;
  letter-spacing: 1px;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 14px;
  font: 7px Manrope;
  display: flex;
  position: relative;
}
.engine-status > b {
  color: #167b64;
  align-items: center;
  gap: 5px;
  font: 9px IBM Plex Sans Thai;
  display: flex;
}
.engine-status i {
  background: #1f9d6f;
  border-radius: 50%;
  width: 4px;
  height: 4px;
}
.terminal-side > button {
  color: #fff;
  background: #167b64;
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 17px;
  padding: 11px 13px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  position: relative;
}
.terminal-side > button:hover {
  background: #116b55;
  box-shadow: 0 4px 14px #167b6425;
}
.terminal-side > small {
  color: #99a49c;
  margin-top: 10px;
  font-size: 8px;
}
.metrics {
  gap: 15px;
  margin: 0 0 28px;
}
.metric {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  padding: 19px 22px;
  position: relative;
}
.metric:after {
  content: "";
  clip-path: polygon(
    0 100%,
    20% 60%,
    35% 78%,
    55% 26%,
    70% 40%,
    100% 0,
    100% 100%
  );
  background: linear-gradient(135deg, #0000, #167b6408);
  width: 90px;
  height: 55px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.metric-top {
  color: #7d8a82;
  font-size: 10px;
}
.metric-value {
  color: #213c33;
  font-size: 30px;
}
.metric-value > span {
  color: #939f97;
}
.metric-detail {
  color: #99a39c;
  font-size: 9px;
}
.metric-icon.green {
  color: #559376;
  background: #edf6ef;
}
.metric-icon.blue {
  color: #7595bf;
  background: #edf3fc;
}
.metric-icon.orange {
  color: #bc9766;
  background: #fcf3e9;
}
.metric-icon.purple {
  color: #a18ab9;
  background: #f3eefb;
}
.metric-dot {
  background: #78a58a;
}
.section-title h2,
.panel-heading h2 {
  color: #213c33;
}
.section-title p,
.panel-heading p {
  color: #919c94;
  font-size: 10px;
}
.count-tag {
  color: #86988a;
  background: #ebf0ec;
  border: 1px solid #e0e6e1;
}
.panel {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
}
.filter-bar {
  border-color: var(--border);
  background: #fff;
}
.tabs button {
  color: #929c95;
  font-size: 10px;
}
.tabs button.selected {
  color: #167b64;
  background: #eef5ef;
}
.search-field {
  color: #a3ada4;
  background: #fff;
  border-color: #e6eae6;
}
.search-field input:not([type="file"]) {
  color: #526459;
}
.search-field input::placeholder {
  color: #a8b0a9;
}
thead {
  background: #fafcf9;
}
th {
  color: #919e93;
  border-color: var(--border);
  font-size: 10px;
}
td {
  color: #4a5c53;
  border-color: #eef1ed;
  font-size: 12px;
}
tbody tr:hover {
  background: #fbfdfb;
}
.lottery-cell strong {
  color: #243b34;
  font-size: 12px;
}
.lottery-cell small {
  color: #a3aca3;
  font-size: 9px;
}
.flag {
  background: #f5f7f3;
}
.star-button {
  color: #cad2c9;
}
.star-button.starred {
  color: #bbad76;
}
.star-button.starred svg {
  fill: #ecdfaf;
}
.time-cell {
  color: #8d9c90;
  font-size: 11px;
}
.number,
.number.small {
  color: #285a41;
  background: #eff6ed;
  border-color: #e4eddf;
  border-radius: 4px;
  font-size: 14px;
}
.number {
  font-size: 18px;
}
.number.hot {
  color: #c0392b;
  background: #fdecec;
  border-color: #f5c9c6;
}
.date-cell {
  color: #84977e;
  font-size: 10px;
}
.table-arrow {
  color: #a4b09f;
}
.icon-button:hover {
  color: #337654;
  background: #edf4e9;
}
.table-footer {
  border-color: var(--border);
  color: #9ba79a;
}
.text-button {
  color: #167b64;
  font-size: 10px;
}
.text-button:hover {
  color: #0f5443;
}
.badge {
  color: #58894c;
  background: #edf6eb;
  border: 1px solid #dfeed8;
  font-size: 9px;
}
.badge.neutral {
  color: #9a9f93;
  background: #f2f3ef;
  border-color: #e6e8e2;
}
.badge.amber {
  color: #ad803a;
  background: #fff5e7;
  border-color: #f5e6c8;
}
.badge.hot {
  color: #c0392b;
  background: linear-gradient(120deg, #fdecec, #fff2e6);
  border-color: #f5c9c6;
  font-weight: 700;
  animation: 2s ease-in-out infinite pulse-badge;
}
.insight-card {
  background: radial-gradient(at 100% 0, #eaf6f0, #0000 70%), #fff;
}
.insight-heading h3 {
  color: #213c33;
  font: 600 13px Manrope;
}
.spark-icon {
  color: #167b64;
}
.insight-card > p {
  color: #8fa085;
}
.insight-card select,
select,
input:not([type="file"]) {
  color: #50634b;
  background: #fff;
  border-color: #dfe7db;
}
.insight-card select {
  background: #fcfdfb;
}
.prediction-label {
  color: #94a087;
}
.quick-numbers > div > span {
  color: #698559;
  background: #f4f6ef;
  border-color: #e5ebdc;
}
.quick-numbers > div.leading > span {
  color: #3f6b2c;
  background: linear-gradient(130deg, #eaf3de, #f0f7e6);
  border-color: #d4e4bb;
  box-shadow: 0 0 0 3px #d4e4bb33;
}
.quick-numbers small {
  color: #9ca68b;
}
.sample-row {
  color: #97a283;
  border-color: #e4eadb;
}
.insight-cta {
  color: #607f43;
  background: #f1f6e9;
  border-color: #e5edd8;
}
.micro-note {
  color: #a8ae97;
}
.note-card {
  color: #829769;
  background: #f0f4ed;
  border-color: #e6eddf;
}
.note-card strong {
  color: #758766;
}
.note-card p {
  color: #97a18b;
}
.bottom-strip {
  border-color: var(--border);
  background: linear-gradient(90deg, #fff, #fbfdfb);
}
.strip-icon {
  color: #859c6c;
  background: #f0f5eb;
}
.bottom-strip strong {
  color: #243b34;
}
.bottom-strip span {
  color: #a0aa95;
}
.bottom-strip .button {
  background: #fff;
  border-color: #dfe7e1;
}
.footer-logo {
  color: #87987e;
}
footer {
  color: #a5ada0;
}
.notice {
  color: #759564;
  background: #f0f6ee;
  border-color: #e0ebd9;
}
.notice.error {
  color: #b75b4b;
  background: #fff0ee;
  border-color: #f1d8d4;
}
.muted {
  color: #919d93;
}
.empty {
  color: #8fa180;
}
.empty span {
  color: #a2af95;
}
.loading {
  color: #7c9670;
}
label {
  color: #7e9171;
  font-size: 11px;
}
.source-link {
  color: #6a9460;
}
.analysis-filters {
  align-items: end;
  gap: 18px;
}
.analysis-filters label {
  flex: 1;
  min-width: 0;
}
.forecast-numbers strong {
  color: #5b7c3e;
  background: linear-gradient(135deg, #edf4e4, #eaf3df);
  border-color: #dee9d0;
  border-radius: 7px;
  font-size: 30px;
  box-shadow: inset 0 1px #fff8;
}
.forecast-numbers > div:first-child strong {
  color: #426128;
  background: linear-gradient(140deg, #dfeac9, #e5f0d4);
  border-color: #c9dda8;
}
.rank-caption {
  color: #92a680;
  font: 9px Manrope;
}
.forecast-numbers > div > span:last-child {
  color: #8a9f73;
}
.method-caption {
  color: #9caa89;
}
.method-box {
  background: #fbfcf8;
  border-color: #e9eddc;
}
.method-box h4 {
  color: #758a5b;
}
.method-box p {
  color: #91a17a;
}
.method-box > span {
  color: #a1af8b;
}
.backtest-value {
  color: #668843;
}
.backtest-value span {
  color: #94a67d;
}
.backtest-comparison > div {
  color: #92a47b;
  border-color: #edf0e4;
}
.backtest-comparison b {
  color: #6c8550;
}
.backtest-note {
  color: #9dac85;
}
.bar-chart {
  background: repeating-linear-gradient(0deg, #0000 0 48px, #f1f4e8 49px 50px)
    padding-box content-box;
}
.bar-track > div {
  background: linear-gradient(#8aaa6c, #d5e2bd);
  border: 1px solid #7f9c6433;
}
.bar-column {
  color: #9caa85;
}
.bar-column b {
  color: #7d965d;
}
.chart-legend {
  color: #92a779;
}
.chart-legend i {
  background: #83ad60;
}
.provider {
  background: #f9fbf5;
  border-color: #e8eddf;
}
.provider-logo {
  color: #678549;
  background: #ebf2e2;
}
.provider strong {
  color: #68824e;
}
.provider a {
  color: #99ab7d;
}
.provider-note {
  color: #91a07e;
}
.sync-time {
  color: #9aaa86;
}
.upload-area {
  color: #91a673;
  background: #fcfdf9;
  border-color: #cfdcbe;
}
.upload-area strong {
  color: #4a5c43;
}
.upload-area > span {
  color: #a4b18e;
}
.csv-help {
  color: #9daa86;
}
.log-row {
  border-color: var(--border);
}
.log-row p {
  color: #92a57d;
}
.progress-content progress {
  background: #e8eedf;
}
.progress-content progress::-webkit-progress-bar {
  background: #e8eedf;
}
.progress-content progress::-webkit-progress-value {
  background: linear-gradient(90deg, #4a9d7f, #1f9d6f);
}
.progress-content > span,
.progress-content details {
  color: #91a57c;
}
.modal {
  color: #243b34;
  background: #fff;
  border-color: #dde7d0;
  box-shadow: 0 25px 100px #18330830;
}
.modal::backdrop {
  background: #18332480;
}
.modal-heading h2 {
  color: #213c33;
}
.modal-footer {
  border-color: var(--border);
}
.toast {
  color: #fff;
  background: #24482b;
  border-color: #648453;
  box-shadow: 0 10px 40px #1f431d25;
}
.toast button {
  color: #d3e1c2;
}
.model-lab {
  margin-top: 22px;
}
.lab-tag {
  letter-spacing: 1px;
  color: #7e9171;
  border: 1px solid #dfe7db;
  border-radius: 4px;
  padding: 5px 7px;
  font: 600 8px Manrope;
}
.model-split {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 25px 25px;
  display: grid;
}
.model-split > div {
  background: #fbfdfb;
  border: 1px solid #e6ede8;
  border-radius: 7px;
  flex-direction: column;
  gap: 10px;
  padding: 17px;
  display: flex;
}
.model-split > div:nth-child(2) {
  background: #f8f6fc;
  border-color: #e5e1f2;
}
.model-split > div:nth-child(3) {
  background: #f2faf6;
  border-color: #cfe8dd;
}
.model-split span {
  letter-spacing: 1.4px;
  color: #8b968f;
  font: 700 8px Manrope;
}
.model-split strong {
  color: #243b34;
  font-size: 16px;
}
.model-split small {
  color: #99a49c;
  font-size: 9px;
}
.model-split > div:nth-child(2) span,
.model-split > div:nth-child(2) strong {
  color: #7d68a8;
}
.model-split > div:nth-child(3) span,
.model-split > div:nth-child(3) strong {
  color: #3f8a6d;
}
.evidence-note {
  color: #3f8a6d;
  background: #f2faf6;
  border-top: 1px solid #dcede4;
  align-items: flex-start;
  gap: 13px;
  padding: 22px 25px;
  display: flex;
}
.evidence-note > svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.evidence-note strong {
  color: #2d6b53;
  font-size: 11px;
  font-weight: 500;
}
.evidence-note p {
  color: #5c9179;
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.9;
}
.import-preview > strong {
  color: #7fa9c7;
}
@keyframes pulse-dot {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@keyframes pulse-badge {
  0%,
  to {
    box-shadow: 0 0 #d9534f30;
  }
  50% {
    box-shadow: 0 0 0 5px #d9534f00;
  }
}
@media (width>=1500px) {
  .terminal-stage {
    grid-template-columns: minmax(0, 1fr) 305px;
  }
  .terminal-side h3 {
    font-size: 23px;
  }
  .terminal-side > p {
    font-size: 11px;
  }
  .engine-orb {
    margin-top: 32px;
    margin-bottom: 17px;
  }
  .terminal-side {
    padding: 25px;
  }
  .terminal-quote > strong {
    font-size: 50px;
  }
  .terminal-symbol h2 {
    font-size: 18px;
  }
  .terminal-chart-panel .result-chart {
    padding-top: 12px;
  }
}
@media (width<=1200px) {
  .terminal-stage {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .terminal-heading {
    padding: 19px 19px 0;
  }
  .terminal-quote {
    gap: 11px;
    padding: 20px 19px 6px;
  }
  .terminal-symbol h2 span {
    display: none;
  }
  .terminal-heading select {
    max-width: 120px;
  }
  .terminal-quote > strong {
    font-size: 37px;
  }
  .terminal-bottom-number {
    display: none;
  }
  .terminal-side {
    padding: 19px;
  }
  .terminal-side h3 {
    font-size: 18px;
  }
  .engine-orb {
    width: 85px;
    height: 85px;
    margin: 14px 0 7px;
  }
  .engine-orb > div {
    inset: 17px;
  }
  .engine-orb > svg {
    width: 30px;
  }
  .terminal-side > p {
    margin: 8px 0 14px;
    font-size: 9px;
  }
  .terminal-chart-panel .result-chart {
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
    display: flex;
  }
  .chart-foot {
    padding: 11px 18px;
  }
  .chart-foot > span:last-child {
    display: none;
  }
  .terminal-side > button {
    padding: 10px;
    font-size: 10px;
  }
  .terminal-side > small,
  .desk-label {
    font-size: 7px;
  }
  .tape-label {
    display: none;
  }
  .metric {
    padding: 17px;
  }
  .metric-value {
    font-size: 27px;
  }
  .analysis-filters {
    flex-wrap: wrap;
  }
  .analysis-filters label {
    flex-basis: 40%;
  }
}
@media (width<=980px) {
  .terminal-stage {
    grid-template-columns: 1fr;
  }
  .terminal-side {
    display: none;
  }
  .terminal-quote > strong {
    font-size: 46px;
  }
  .terminal-bottom-number {
    display: flex;
  }
  .terminal-heading select {
    max-width: 170px;
  }
  .terminal-chart-panel .result-chart {
    min-height: auto;
  }
  .terminal-quote {
    padding-top: 25px;
  }
  .chart-foot > span:last-child {
    display: block;
  }
  .model-split {
    gap: 8px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .model-split > div {
    padding: 13px;
  }
  .model-split small {
    font-size: 8px;
  }
}
@media (width<=760px) {
  .topbar {
    height: 60px;
  }
  .market-tape {
    height: 37px;
  }
  .tape-end {
    display: none;
  }
  .tape-items button {
    padding: 0 15px;
  }
  .terminal-heading {
    flex-wrap: wrap;
    gap: 13px;
    padding: 20px 17px 0;
  }
  .terminal-heading select {
    max-width: 110px;
    font-size: 9px;
  }
  .terminal-symbol {
    gap: 8px;
  }
  .terminal-symbol > span {
    border-radius: 9px;
    width: 32px;
    height: 32px;
    font-size: 23px;
  }
  .terminal-symbol h2 {
    font-size: 14px;
  }
  .terminal-symbol small {
    font-size: 7px;
  }
  .terminal-quote {
    flex-wrap: wrap;
    gap: 11px;
    padding: 22px 17px 3px;
  }
  .terminal-quote > strong {
    font-size: 40px;
  }
  .terminal-bottom-number {
    margin-left: auto;
    padding-left: 12px;
  }
  .chart-periods {
    background: 0 0;
    border: 0;
    justify-content: flex-end;
    width: 100%;
    margin-top: 7px;
    padding: 0;
  }
  .chart-periods button {
    padding: 5px 9px;
    font-size: 8px;
  }
  .result-chart {
    padding: 7px 13px 0;
  }
  .result-chart svg {
    min-height: 180px;
  }
  .chart-hover {
    gap: 7px;
    padding: 0;
    font-size: 8px;
    line-height: 1.7;
  }
  .chart-foot {
    padding: 11px 14px;
  }
  .chart-foot > span:last-child {
    display: none;
  }
  h1 {
    max-width: 330px;
    font-size: 23px;
    line-height: 1.3;
  }
  .page-heading p {
    font-size: 10px;
  }
  .metric-value {
    font-size: 27px;
  }
  .metric {
    padding: 16px 14px;
  }
  .metrics {
    gap: 12px;
  }
  .metric-detail {
    font-size: 8px;
  }
  .demo-banner {
    align-items: flex-start;
    gap: 8px;
    font-size: 9px;
    line-height: 1.8;
  }
  .demo-banner > strong {
    white-space: nowrap;
    padding-top: 2px;
    font-size: 8px;
  }
  .demo-banner > svg {
    flex-shrink: 0;
    margin-top: 3px;
  }
  .section-title h2 {
    font-size: 14px;
  }
  .analysis-filters label:first-child {
    flex-basis: 40%;
  }
  .forecast-numbers strong {
    font-size: 23px;
  }
  .model-split {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .model-split > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  .model-split > div > span {
    font-size: 7px;
  }
  .model-split strong {
    font-size: 12px;
  }
  .model-split small {
    text-align: right;
    max-width: 100px;
    font-size: 7px;
  }
  .model-lab .panel-heading {
    flex-wrap: wrap;
  }
  .model-lab h2 {
    font-size: 13px;
  }
  .lab-tag {
    font-size: 6px;
  }
  .model-lab table {
    min-width: 580px;
  }
  .evidence-note {
    padding: 18px 20px;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
  .history-panel table {
    min-width: 660px;
  }
  .sidebar-scrim {
    background: #020710ae;
  }
  .engine-orb:after {
    animation: none;
  }
}
.analysis-grid {
  align-items: start;
}
.forecast-numbers {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  row-gap: 18px;
  display: grid;
}
.forecast-numbers > div {
  gap: 6px;
}
.forecast-numbers strong {
  padding: 12px 4px;
  font-size: 24px;
}
@media (width<=480px) {
  .forecast-numbers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 8px;
  }
  .forecast-numbers strong {
    font-size: 22px;
  }
}
.market-tape {
  height: 58px;
}
.tape-items button {
  height: 46px;
}
.tape-items .tape-identity {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  display: flex;
}
.tape-identity small {
  color: #687e73;
  font-size: 9px;
}
.tape-items .tape-result {
  align-items: center;
  gap: 4px;
  display: flex;
}
.tape-result > small {
  color: #687e73;
  font-size: 9px;
}
.terminal-history-link {
  margin: 4px 25px 8px;
  font-size: 11px;
}
@media (width<=760px) {
  .market-tape {
    height: 55px;
  }
  .tape-items button {
    padding: 0 12px;
  }
  .terminal-history-link {
    margin-left: 17px;
  }
}
.page-motion {
  animation: 0.46s cubic-bezier(0.2, 0.7, 0.2, 1) both lens-page-in;
}
.loading-feedback {
  pointer-events: none;
  z-index: 70;
  visibility: hidden;
  position: fixed;
  inset: 0;
}
.loading-feedback.is-active {
  visibility: visible;
}
.loading-top-track {
  background: #d4eae450;
  width: 100%;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}
.loading-top-track > span {
  background: linear-gradient(90deg, #0000, #1dba98, #137b65, #85e5bc, #0000);
  animation: 1.35s ease-in-out infinite lens-progress;
  position: absolute;
  inset: 0;
  transform: translate(-100%);
  box-shadow: 0 0 12px #25b89770;
}
.loading-status-pill {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #277660;
  background: #fffffff2;
  border: 1px solid #c5e3d6;
  border-radius: 30px;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  font-size: 10px;
  animation: 0.25s both lens-pill-in;
  display: flex;
  position: absolute;
  top: 14px;
  right: 86px;
  box-shadow: 0 6px 24px #14544214;
}
.loading-status-dot {
  background: #22ad80;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: 1.2s ease-in-out infinite lens-dot;
}
.loading-mini-bars {
  align-items: center;
  gap: 3px;
  height: 15px;
  display: flex;
}
.loading-mini-bars i {
  transform-origin: 50%;
  background: #23a184;
  border-radius: 3px;
  width: 3px;
  height: 12px;
  animation: 0.85s ease-in-out infinite lens-bars;
}
.loading-mini-bars i:nth-child(2) {
  animation-delay: 0.12s;
}
.loading-mini-bars i:nth-child(3) {
  animation-delay: 0.24s;
}
.loading-mini-bars i:nth-child(4) {
  animation-delay: 0.36s;
}
.lens-loading {
  isolation: isolate;
  color: #237c63;
  background: radial-gradient(at 50% 45%, #e5f6ee88, #0000 65%);
  border-radius: 9px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 19px;
  min-height: 260px;
  padding: 35px 20px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.loading-emblem {
  background: linear-gradient(145deg, #fff, #eaf6ef);
  border: 1px solid #dceee5;
  border-radius: 23px;
  place-items: center;
  width: 72px;
  height: 72px;
  display: grid;
  position: relative;
  box-shadow:
    0 8px 28px #25846210,
    inset 0 1px #fff;
}
.loading-orbit {
  border: 1px solid #65bc9a;
  border-color: #65bc9a #b4dfcc #0000 #0000;
  border-radius: 50%;
  animation: 2s linear infinite lens-orbit;
  position: absolute;
  inset: -9px;
}
.loading-bars {
  align-items: center;
  gap: 4px;
  height: 32px;
  display: flex;
}
.loading-bars i {
  width: 5px;
  height: 28px;
  animation: 1.1s ease-in-out infinite lens-bars;
  animation-delay: calc(var(--bar) * 0.12s);
  background: linear-gradient(#54c598, #16836a);
  border-radius: 4px;
}
.loading-spark {
  background: #37bd90;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 1.2s ease-in-out infinite lens-dot;
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: 0 0 0 4px #43bf9014;
}
.loading-copy {
  z-index: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  display: flex;
  position: relative;
}
.loading-copy strong {
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}
.loading-copy small {
  color: #92a79b;
  font-size: 9px;
}
.loading-dots {
  gap: 3px;
  display: inline-flex;
}
.loading-dots i {
  background: #56a38a;
  border-radius: 50%;
  width: 3px;
  height: 3px;
  animation: 1.1s ease-in-out infinite lens-dot;
}
.loading-dots i:nth-child(2) {
  animation-delay: 0.16s;
}
.loading-dots i:nth-child(3) {
  animation-delay: 0.32s;
}
.lens-loading.is-chart {
  min-height: 260px;
  margin: 14px 15px 0;
}
.loading-chart-grid {
  z-index: -1;
  background: repeating-linear-gradient(
    0deg,
    #0000,
    #0000 43px,
    #80b69e13 44px 45px
  );
  position: absolute;
  inset: 0;
}
.loading-chart-grid svg {
  opacity: 0.19;
  width: 100%;
  height: 65%;
  position: absolute;
  bottom: 10%;
  overflow: visible;
}
.loading-chart-grid path {
  fill: none;
  stroke: #2a997b;
  stroke-width: 2px;
  stroke-dasharray: 900;
  stroke-dashoffset: 900px;
  animation: 3s ease-in-out infinite lens-chart;
}
.lens-loading.is-compact {
  background: 0 0;
  border-radius: 0;
  gap: 7px;
  min-height: 0;
  padding: 7px 0;
  overflow: visible;
}
.is-compact .loading-copy strong {
  color: #82a08e;
  gap: 4px;
  font-size: 8px;
}
.is-compact .loading-dots {
  gap: 2px;
}
.is-compact .loading-dots i {
  width: 2px;
  height: 2px;
}
.loading-number-slots {
  justify-content: center;
  gap: 5px;
  display: flex;
}
.loading-number-slots i {
  background: linear-gradient(100deg, #edf4ef 25%, #d9eddf 48%, #edf4ef 72%) 0
    0/250% 100%;
  border-radius: 4px;
  width: 19px;
  height: 20px;
  animation: 1.35s ease-in-out infinite lens-shimmer;
  display: block;
}
.loading-number-slots i:nth-child(2) {
  animation-delay: 0.1s;
}
.loading-number-slots i:nth-child(3) {
  animation-delay: 0.2s;
}
.upcoming-picks {
  animation: 0.35s both lens-reveal;
}
.button,
.upcoming-tabs button,
.nav-link,
.chart-periods button {
  transition:
    background 0.18s,
    box-shadow 0.18s,
    transform 0.12s;
}
.button:active,
.upcoming-tabs button:active,
.nav-link:active,
.chart-periods button:active {
  transform: scale(0.975);
}
.button:disabled {
  cursor: wait;
}
@keyframes lens-page-in {
  0% {
    opacity: 0.35;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes lens-progress {
  0% {
    transform: translate(-100%);
  }
  to {
    transform: translate(100%);
  }
}
@keyframes lens-pill-in {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes lens-bars {
  0%,
  to {
    opacity: 0.55;
    transform: scaleY(0.35);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes lens-dot {
  0%,
  to {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}
@keyframes lens-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes lens-chart {
  0% {
    stroke-dashoffset: 900px;
    opacity: 0;
  }
  30%,
  65% {
    opacity: 1;
  }
  80%,
  to {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@keyframes lens-shimmer {
  0% {
    background-position: 150% 0;
  }
  to {
    background-position: -100% 0;
  }
}
@keyframes lens-reveal {
  0% {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (width<=760px) {
  .loading-status-pill {
    padding: 10px 13px;
    font-size: 9px;
    top: auto;
    bottom: 20px;
    right: 18px;
  }
  .lens-loading {
    min-height: 230px;
  }
  .lens-loading.is-chart {
    min-height: 200px;
  }
  .loading-copy strong {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-motion,
  .loading-feedback *,
  .lens-loading *,
  .upcoming-picks {
    transition: none !important;
    animation: none !important;
  }
  .loading-top-track > span {
    opacity: 0.65;
    transform: none;
  }
  .loading-chart-grid path {
    stroke-dashoffset: 0;
  }
  .loading-bars i:nth-child(2n) {
    height: 18px;
  }
  .loading-mini-bars i:nth-child(2n) {
    height: 8px;
  }
}
.upcoming-board {
  color: #273c36;
  margin: 0 0 32px;
}
.upcoming-title {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 28px 0 20px;
  display: flex;
}
.upcoming-kicker {
  letter-spacing: 1.7px;
  color: #16826a;
  align-items: center;
  gap: 7px;
  font:
    700 9px Manrope,
    sans-serif;
  display: flex;
}
.upcoming-title h2 {
  letter-spacing: -0.5px;
  align-items: center;
  gap: 13px;
  margin: 8px 0 6px;
  font-size: 23px;
  display: flex;
}
.upcoming-title p {
  color: #73877e;
  margin: 0;
  font-size: 11px;
}
.upcoming-live {
  color: #16826a;
  letter-spacing: 0.7px;
  background: #e8f6ef;
  border: 1px solid #ccebdd;
  border-radius: 4px;
  padding: 5px 7px;
  font:
    700 8px Manrope,
    sans-serif;
}
.upcoming-clock {
  text-align: right;
  flex-shrink: 0;
}
.upcoming-clock span {
  color: #81968c;
  font-size: 9px;
  display: block;
}
.upcoming-clock strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  font:
    600 25px/1.7 Manrope,
    sans-serif;
}
.upcoming-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  display: flex;
}
.upcoming-tabs {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}
.upcoming-tabs button {
  color: #6f7e79;
  background: 0 0;
  border: 1px solid #0000;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 11px;
}
.upcoming-tabs button[aria-pressed="true"] {
  color: #fff;
  background: #16826a;
  border-color: #16826a;
  box-shadow: 0 3px 8px #16826a18;
}
.upcoming-tabs b {
  color: #d23848;
  background: #ffe7e8;
  border-radius: 4px;
  margin-left: 4px;
  padding: 2px 5px;
  font: 600 10px Manrope;
}
.upcoming-tabs .urgent-tab[aria-pressed="true"] {
  background: #c93545;
  border-color: #c93545;
}
.upcoming-toolbar > label {
  color: #16826a;
  align-items: center;
  gap: 8px;
  display: flex;
}
.upcoming-toolbar select {
  border: 1px solid #dfe8e3;
  border-radius: 6px;
  height: 34px;
  padding: 5px 24px 5px 10px;
  font-size: 11px;
}
.upcoming-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  display: grid;
}
.upcoming-card {
  background: #fff;
  border: 1px solid #e0e7e3;
  border-radius: 9px;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 3px 10px #163f2c03;
}
.upcoming-card > header {
  justify-content: space-between;
  align-items: center;
  padding: 20px 17px 17px;
  display: flex;
}
.upcoming-group-code {
  letter-spacing: 1.6px;
  color: #9aa8a1;
  font: 700 8px Manrope;
}
.upcoming-card h3 {
  color: #293e36;
  margin: 6px 0 0;
  font-size: 17px;
}
.upcoming-card h3 > span {
  color: #83978d;
  vertical-align: middle;
  background: #f1f5f3;
  border-radius: 4px;
  margin-left: 5px;
  padding: 3px 6px;
  font: 600 10px Manrope;
}
.upcoming-card-icon {
  color: #16826a;
  background: #eaf7f0;
  border-radius: 10px;
  place-items: center;
  width: 35px;
  height: 35px;
  display: grid;
}
.upcoming-card.blue .upcoming-card-icon {
  color: #528cdb;
  background: #edf4ff;
}
.upcoming-card.purple .upcoming-card-icon {
  color: #9572bc;
  background: #f3effb;
}
.upcoming-table-wrap {
  padding: 0 10px;
}
.upcoming-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  min-width: 0;
}
.upcoming-table th {
  color: #87958f;
  white-space: normal;
  background: #f7f9f8;
  border: 0;
  padding: 10px 5px;
  font-size: 9px;
  font-weight: 500;
}
.upcoming-table th:first-child {
  text-align: left;
  border-radius: 4px 0 0 4px;
  width: 44%;
}
.upcoming-table th:nth-child(2) {
  text-align: center;
  width: 29%;
}
.upcoming-table th:last-child {
  text-align: right;
  border-radius: 0 4px 4px 0;
  width: 27%;
}
.upcoming-table td {
  vertical-align: middle;
  white-space: normal;
  border-bottom: 1px solid #eff3f0;
  padding: 18px 5px;
}
.upcoming-table tbody tr:last-child td {
  border-bottom: 0;
}
.upcoming-table tbody tr:hover {
  background: #f7fbf9;
}
.upcoming-name {
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}
.upcoming-rank {
  color: #a0ada6;
  flex-shrink: 0;
  width: 9px;
  font: 600 9px Manrope;
}
.upcoming-flag {
  flex-shrink: 0;
  font-size: 20px;
}
.upcoming-name > div {
  min-width: 0;
}
.upcoming-name button {
  color: #31463e;
  text-align: left;
  overflow-wrap: anywhere;
  background: 0 0;
  border: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  display: block;
}
.upcoming-name button:hover {
  color: #16826a;
  text-decoration: underline;
}
.upcoming-name small {
  color: #95a198;
  font-size: 8px;
  line-height: 1.9;
  display: block;
}
.upcoming-name small strong {
  color: #718a7d;
  font-weight: 500;
}
.upcoming-picks {
  cursor: pointer;
  background: 0 0;
  border: 0;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0;
  display: flex;
}
.upcoming-picks > span {
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  display: flex;
}
.upcoming-picks b {
  font-variant-numeric: tabular-nums;
  color: #718479;
  font:
    600 11px Manrope,
    sans-serif;
}
.upcoming-picks b.first {
  color: #148365;
}
.upcoming-picks small {
  color: #9aa69f;
  white-space: nowrap;
  font-size: 7px;
}
.upcoming-timer {
  text-align: right;
}
.upcoming-timer time {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1px;
  color: #16826a;
  white-space: nowrap;
  font:
    700 13px Manrope,
    sans-serif;
  display: block;
}
.upcoming-timer > span {
  color: #98a49c;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 8px;
  display: flex;
}
.upcoming-table .draw-urgent,
.upcoming-table .draw-urgent:hover {
  background: #fff2f3;
}
.upcoming-table .draw-urgent td {
  border-bottom-color: #f9dfe2;
}
.upcoming-table .draw-urgent td:first-child {
  box-shadow: inset 3px 0 #e64a5b;
}
.draw-urgent .upcoming-timer time,
.draw-urgent .upcoming-timer > span {
  color: #d53246;
}
.upcoming-timer i,
.upcoming-foot i {
  background: #df3d51;
  border-radius: 50%;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  display: inline-block;
}
.upcoming-more {
  color: #738d80;
  background: #fcfdfc;
  border: 0;
  border-top: 1px solid #edf2ee;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  font-size: 10px;
  display: flex;
}
.upcoming-more:hover {
  color: #16826a;
  background: #eef7f2;
}
.upcoming-unavailable,
.upcoming-calculating {
  text-align: center;
  color: #9aa59e;
  font-size: 9px;
  display: block;
}
.upcoming-retry {
  color: #c93545;
  background: 0 0;
  border: 0;
  margin: auto;
  font-size: 10px;
  display: block;
}
.upcoming-empty {
  text-align: center;
  color: #97a79e;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 12px;
  display: flex;
}
.upcoming-empty p {
  margin: 0;
  font-size: 11px;
}
.upcoming-empty small {
  font-size: 9px;
}
.upcoming-foot {
  color: #8a9b91;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  font-size: 9px;
  display: flex;
}
.upcoming-foot > span:first-child {
  color: #c34653;
  align-items: center;
  gap: 6px;
  display: flex;
}
.upcoming-disclaimer {
  color: #8c9b93;
  margin: 9px 0 0;
  font-size: 9px;
  line-height: 1.8;
}
@media (width>=1650px) {
  .upcoming-table td {
    padding: 20px 8px;
  }
  .upcoming-picks b {
    font-size: 13px;
  }
  .upcoming-picks > span {
    gap: 6px;
  }
  .upcoming-name button {
    font-size: 12px;
  }
  .upcoming-timer time {
    font-size: 15px;
  }
}
@media (width<=1200px) {
  .upcoming-grid {
    grid-template-columns: 1fr;
  }
  .upcoming-card > header {
    padding: 17px;
  }
  .upcoming-table td {
    padding: 15px 12px;
  }
  .upcoming-table th {
    padding: 10px 12px;
  }
  .upcoming-name button {
    font-size: 13px;
  }
  .upcoming-name small {
    font-size: 10px;
  }
  .upcoming-name {
    gap: 10px;
  }
  .upcoming-picks b {
    font-size: 15px;
  }
  .upcoming-picks > span {
    gap: 10px;
  }
  .upcoming-picks small {
    font-size: 9px;
  }
  .upcoming-timer time {
    font-size: 16px;
  }
  .upcoming-timer > span {
    font-size: 9px;
  }
}
@media (width<=600px) {
  .upcoming-title {
    align-items: flex-start;
    gap: 8px;
  }
  .upcoming-title h2 {
    font-size: 20px;
    display: block;
  }
  .upcoming-live {
    display: none;
  }
  .upcoming-kicker {
    letter-spacing: 1px;
    font-size: 7px;
  }
  .upcoming-title p {
    max-width: 210px;
    font-size: 9px;
    line-height: 1.7;
  }
  .upcoming-clock {
    padding-top: 15px;
  }
  .upcoming-clock strong {
    font-size: 17px;
  }
  .upcoming-clock span {
    font-size: 7px;
  }
  .upcoming-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .upcoming-tabs {
    gap: 0;
  }
  .upcoming-tabs button {
    padding: 8px;
    font-size: 10px;
  }
  .upcoming-toolbar > label {
    margin-left: auto;
  }
  .upcoming-grid {
    gap: 15px;
  }
  .upcoming-card > header {
    padding: 15px 13px;
  }
  .upcoming-card h3 {
    font-size: 16px;
  }
  .upcoming-table-wrap {
    padding: 0 7px;
  }
  .upcoming-table th {
    padding: 9px 4px;
    font-size: 8px;
  }
  .upcoming-table td {
    padding: 16px 4px;
  }
  .upcoming-name {
    gap: 5px;
  }
  .upcoming-flag {
    font-size: 17px;
  }
  .upcoming-rank {
    width: 7px;
    font-size: 8px;
  }
  .upcoming-name button {
    font-size: 10px;
  }
  .upcoming-name small {
    font-size: 8px;
  }
  .upcoming-picks b {
    font-size: 11px;
  }
  .upcoming-picks > span {
    gap: 4px;
  }
  .upcoming-picks small {
    font-size: 7px;
  }
  .upcoming-timer time {
    font-size: 12px;
  }
  .upcoming-timer > span {
    font-size: 7px;
  }
  .upcoming-foot,
  .upcoming-disclaimer {
    font-size: 8px;
  }
}
.schedule-reference {
  margin-bottom: 24px;
}
.schedule-reference .panel-heading {
  flex-wrap: wrap;
  gap: 18px;
}
.schedule-reference .panel-heading h2 {
  align-items: center;
  gap: 8px;
  display: flex;
}
.schedule-reference .panel-heading label {
  min-width: 210px;
}
.schedule-reference-note {
  color: #77877d;
  padding: 0 24px 15px;
  font-size: 11px;
  line-height: 1.9;
}
.schedule-reference .table-scroll table {
  min-width: 940px;
}
.schedule-reference .tape-countdown {
  width: max-content;
  margin-top: 6px;
  display: block;
}
.schedule-reference-empty {
  text-align: center;
  color: #77877d;
  padding: 25px;
  font-size: 12px;
}
.upcoming-session-type {
  color: #8a968e !important;
  margin-top: 3px !important;
  font-size: 9px !important;
  display: block !important;
}
@media (width<=760px) {
  .schedule-reference .panel-heading label {
    width: 100%;
  }
  .schedule-reference-note {
    padding: 0 20px 15px;
  }
}
.daily-forecast {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 13px;
  margin-bottom: 24px;
  padding: 24px;
}
.daily-forecast-heading {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  display: flex;
}
.daily-forecast-heading h2 {
  color: var(--ink);
  align-items: center;
  gap: 9px;
  font-size: 19px;
  display: flex;
}
.daily-forecast-heading h2 svg {
  color: var(--green);
}
.daily-forecast-heading p {
  color: #748078;
  margin-top: 6px;
  font-size: 11px;
}
.daily-forecast-tag {
  color: #426651;
  background: #edf5ef;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 10px;
}
.daily-forecast-totals {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}
.daily-forecast-stat {
  color: #58685f;
  background: #f5f7f5;
  border: 1px solid #e7ece8;
  border-radius: 10px;
  flex-direction: column;
  gap: 8px;
  padding: 17px;
  display: flex;
}
.daily-forecast-stat > span {
  align-items: center;
  gap: 5px;
  font-size: 11px;
  display: flex;
}
.daily-forecast-stat > span:last-child {
  font-size: 10px;
}
.daily-forecast-stat > strong {
  font-variant-numeric: tabular-nums;
  font:
    700 34px/1.4 Manrope,
    sans-serif;
}
.daily-forecast-stat small {
  font:
    400 12px IBM Plex Sans Thai,
    sans-serif;
}
.daily-forecast .is-hit {
  color: #167044;
}
.daily-forecast .is-miss {
  color: #ae333d;
}
.daily-forecast-stat.is-hit {
  background: #edf8f0;
  border-color: #cde9d6;
}
.daily-forecast-stat.is-miss {
  background: #fff2f2;
  border-color: #f0d4d7;
}
.daily-forecast-targets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  display: grid;
}
.daily-forecast-targets > div {
  color: #758078;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
  font-size: 11px;
  display: flex;
}
.daily-forecast-note {
  border-top: 1px solid var(--border);
  color: #77837b;
  margin-top: 17px;
  padding-top: 14px;
  font-size: 10px;
  line-height: 1.9;
}
.daily-forecast-empty {
  color: #6d7c71;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.8;
}
.daily-forecast-loading,
.daily-forecast-error {
  color: #758078;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-size: 12px;
  display: flex;
}
.daily-forecast-error {
  color: #ae333d;
}
@media (width<=1050px) {
  .daily-forecast-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .daily-forecast-targets {
    grid-template-columns: 1fr;
  }
}
@media (width<=760px) {
  .daily-forecast {
    padding: 18px;
  }
  .daily-forecast-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .daily-forecast-heading h2 {
    font-size: 18px;
  }
  .daily-forecast-stat {
    gap: 6px;
    padding: 13px;
  }
  .daily-forecast-stat > strong {
    font-size: 30px;
  }
  .daily-forecast-stat > span {
    font-size: 10px;
  }
  .daily-forecast-stat > span:last-child {
    font-size: 9px;
  }
  .daily-forecast-totals {
    gap: 9px;
  }
}
.daily-forecast .is-reserve {
  color: #936416;
}
.daily-forecast-stat.is-reserve {
  background: #fffae9;
  border-color: #ebd6a7;
}
.daily-forecast-total-line {
  color: #748078;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  font-size: 12px;
  display: flex;
}
.daily-forecast-total-line > span:first-child {
  color: #365348;
}
.daily-forecast-total-line strong {
  color: #274a3c;
  margin: 0 5px;
  font:
    700 28px Manrope,
    sans-serif;
}
.daily-target-card {
  background: #fff;
  border: 1px solid #dce8e0;
  border-radius: 11px;
  overflow: hidden;
}
.daily-target-card h3 {
  color: #284d3b;
  background: #f5f9f6;
  border-bottom: 1px solid #e6eee8;
  margin: 0;
  padding: 14px 16px;
  font-size: 15px;
}
.daily-target-hits {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  display: grid;
}
.daily-target-hits > div {
  background: #edf8f0;
  border-radius: 8px;
  padding: 12px;
}
.daily-target-hits > div.is-reserve {
  background: #fffae9;
}
.daily-target-hits span {
  white-space: nowrap;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  display: flex;
}
.daily-target-hits strong {
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
  font:
    700 32px/1.3 Manrope,
    sans-serif;
  display: block;
}
.daily-target-hits small {
  font:
    400 11px IBM Plex Sans Thai,
    sans-serif;
}
.daily-target-other {
  color: #77867c;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0 14px 15px;
  font-size: 11px;
  display: flex;
}
.daily-target-other span {
  align-items: center;
  gap: 4px;
  display: flex;
}
.daily-combined-summary {
  color: #77867c;
  border-top: 1px solid #e6eee8;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  margin-top: 18px;
  padding-top: 14px;
  font-size: 11px;
  display: flex;
}
.daily-combined-summary > strong {
  color: #405d4d;
}
@media (width<=1200px) and (width>=1051px) {
  .daily-target-hits {
    gap: 6px;
    padding: 10px;
  }
  .daily-target-hits > div {
    padding: 10px;
  }
  .daily-target-hits span {
    font-size: 10px;
  }
}
.gov-summary {
  background: linear-gradient(115deg, #fff, #f2f8f5);
  border: 1px solid #d7e8df;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 22px 0;
  padding: 24px;
  display: flex;
}
.gov-summary-heading {
  align-items: center;
  gap: 13px;
  display: flex;
}
.gov-mark {
  background: #fff;
  border: 1px solid #e3eae6;
  border-radius: 12px;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 27px;
  display: grid;
}
.gov-kicker {
  letter-spacing: 1.2px;
  color: #809b8a;
  font: 700 8px Manrope;
}
.gov-summary h2 {
  color: #28483a;
  margin: 6px 0;
  font-size: 17px;
}
.gov-summary p {
  color: #91a096;
  margin: 0;
  font-size: 9px;
  line-height: 1.8;
}
.gov-summary-prizes {
  align-items: center;
  gap: 28px;
  display: flex;
}
.gov-summary-prizes span {
  color: #8b9d90;
  font-size: 9px;
  display: block;
}
.gov-summary-prizes strong {
  color: #147a5d;
  letter-spacing: 2px;
  margin-top: 6px;
  font: 700 28px Manrope;
  display: block;
}
.gov-summary-prizes > div + div {
  border-left: 1px solid #dfebe3;
  padding-left: 26px;
}
.gov-summary-actions {
  flex-direction: column;
  align-items: center;
  gap: 13px;
  display: flex;
}
.gov-page-intro {
  color: #7c9485;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 11px;
  display: flex;
}
.gov-source {
  color: #2a8768;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  line-height: 1.6;
  display: inline-flex;
}
.gov-prize-grid {
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 15px;
  padding: 0 25px 25px;
  display: grid;
}
.gov-prize {
  text-align: center;
  background: #f7faf8;
  border: 1px solid #e3ece5;
  border-radius: 8px;
  padding: 22px 12px;
}
.gov-prize > span {
  color: #7b9584;
  font-size: 10px;
}
.gov-prize > div {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 15px;
  display: flex;
}
.gov-prize b {
  color: #376c50;
  letter-spacing: 2px;
  font: 700 24px Manrope;
}
.gov-prize small {
  color: #9bad9c;
  font-size: 10px;
  line-height: 1.8;
}
.gov-prize.first-prize {
  background: linear-gradient(125deg, #eaf7ee, #f6faf3);
  border-color: #cee5d5;
}
.gov-prize.first-prize b {
  color: #167958;
  font-size: 35px;
}
.gov-other-prizes {
  border: 1px solid #e3ebe5;
  border-radius: 7px;
  margin: 0 25px 20px;
  padding: 14px 17px;
}
.gov-other-prizes summary {
  cursor: pointer;
  color: #588b6e;
  font-size: 11px;
}
.gov-other-prizes h3 {
  color: #385945;
  margin: 22px 0 12px;
  font-size: 12px;
}
.gov-other-prizes h3 > span {
  color: #8ca590;
  margin-left: 8px;
  font-size: 9px;
  font-weight: 400;
}
.gov-prize-list {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}
.gov-prize-list > span {
  letter-spacing: 1px;
  color: #5d8066;
  background: #f3f8f4;
  border-radius: 4px;
  padding: 6px 9px;
  font: 500 12px Manrope;
}
.gov-semantic-note {
  color: #8b9d8c;
  margin: 0;
  padding: 0 25px 22px;
  font-size: 10px;
  line-height: 1.9;
}
.gov-history {
  margin-top: 24px;
}
.gov-history-filter {
  align-items: center;
  gap: 24px;
  padding: 0 25px 20px;
  display: flex;
}
.gov-history-filter > label {
  min-width: 220px;
}
.gov-history-filter p {
  color: #8da08d;
  font-size: 9px;
  line-height: 1.9;
}
.gov-date-link {
  color: #337f5e;
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 5px;
  padding: 0;
  font-size: 11px;
  display: flex;
}
.gov-first-cell {
  color: #207a53;
  letter-spacing: 1px;
  font: 700 15px Manrope;
}
.gov-selected-row {
  background: #eef8f1;
}
.gov-history table {
  min-width: 810px;
}
#gov-selected-result {
  outline: none;
  scroll-margin-top: 25px;
}
#gov-selected-result:focus .gov-detail {
  box-shadow: 0 0 0 3px #16826a25;
}
.gov-detail {
  animation: 0.35s both lens-reveal;
}
.market-tape .tape-items button {
  position: relative;
}
.market-tape .tape-items button[aria-pressed="true"] {
  background: #e5f4ec;
  box-shadow: inset 0 -3px #16856b;
}
.market-tape .tape-items button:hover {
  background: #eef8f2;
}
.market-tape .tape-end {
  color: #418b70;
  font-size: 9px;
}
.market-tape .tape-items button:focus-visible {
  outline-offset: -3px;
  outline: 2px solid #16856b;
}
.terminal-stage#selected-lottery-chart {
  outline: none;
  scroll-margin-top: 24px;
}
.chart-spotlight .terminal-chart-panel {
  animation: 1.6s ease-out chart-selected;
}
.chart-selection-note {
  color: #247b60;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 10px;
  display: flex;
}
.chart-selection-note strong {
  font-weight: 600;
}
.government-schedule-note {
  color: #8d9f8d;
  margin: 6px 0;
  font-size: 9px;
  line-height: 1.8;
}
@keyframes chart-selected {
  0%,
  35% {
    border-color: #27aa80;
    box-shadow: 0 0 0 4px #18987338;
  }
  to {
    box-shadow: 0 0 #18987300;
  }
}
@media (width<=1200px) {
  .gov-summary {
    flex-wrap: wrap;
  }
  .gov-summary-actions {
    flex-flow: wrap;
  }
  .gov-prize-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width<=760px) {
  .gov-summary {
    gap: 20px;
    padding: 18px;
  }
  .gov-summary h2 {
    font-size: 15px;
  }
  .gov-summary-prizes {
    justify-content: space-between;
    gap: 20px;
    width: 100%;
  }
  .gov-summary-prizes strong {
    font-size: 28px;
  }
  .gov-summary-actions {
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }
  .gov-summary-actions .button {
    font-size: 10px;
  }
  .gov-page-intro {
    flex-direction: column;
    align-items: flex-start;
    font-size: 10px;
  }
  .gov-prize-grid {
    gap: 9px;
    padding: 0 15px 20px;
  }
  .gov-prize {
    padding: 18px 8px;
  }
  .gov-prize b {
    font-size: 20px;
  }
  .gov-prize.first-prize b {
    font-size: 23px;
  }
  .gov-prize > span {
    font-size: 9px;
  }
  .gov-other-prizes {
    margin: 0 15px 18px;
  }
  .gov-semantic-note {
    padding: 0 16px 20px;
    font-size: 9px;
  }
  .gov-detail > .panel-heading,
  .gov-history > .panel-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  .gov-history-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 20px 20px;
  }
  .gov-history-filter > label {
    min-width: 0;
  }
  .chart-selection-note {
    font-size: 9px;
    line-height: 1.8;
  }
  .upcoming-grid .government {
    grid-column: 1/-1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chart-spotlight .terminal-chart-panel {
    animation: none;
    box-shadow: 0 0 0 3px #16826a25;
  }
}
.upcoming-card.government {
  grid-column: 1/-1;
}
.upcoming-card.government .upcoming-card-icon {
  color: #4c7db5;
  background: #edf5ff;
}
.holy-page {
  gap: 20px;
  display: grid;
}
.holy-intro {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px;
  display: flex;
}
.holy-intro h2 {
  margin: 12px 0 8px;
  font-size: 24px;
}
.holy-intro p,
.holy-section-label > span {
  color: #829489;
  font-size: 11px;
}
.holy-counts {
  gap: 25px;
  display: flex;
}
.holy-counts > span {
  color: #81958b;
  white-space: nowrap;
  font-size: 10px;
}
.holy-counts strong {
  color: #227c65;
  margin-bottom: 6px;
  font: 700 26px Manrope;
  display: block;
}
.holy-controls {
  grid-template-columns: 1fr 1.6fr 1.3fr;
  gap: 18px;
  padding: 20px;
  display: grid;
}
.holy-controls label,
.holy-page .panel-heading label {
  color: #6b8478;
  gap: 7px;
  font-size: 11px;
  display: grid;
}
.holy-page select,
.holy-page input {
  color: #405d4e;
  min-width: 0;
  font: inherit;
  background: #fff;
  border: 1px solid #dfe7e1;
  border-radius: 6px;
  padding: 10px 12px;
}
.holy-page .notice {
  margin: 0;
  font-size: 11px;
  line-height: 1.9;
}
.holy-section-label {
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  display: flex;
}
.holy-section-label h2 {
  font-size: 19px;
}
.holy-section-label button {
  margin-left: auto;
}
.holy-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}
.holy-metric {
  padding: 20px;
}
.holy-metric h3 {
  margin-bottom: 18px;
  font-size: 13px;
}
.holy-metric > div {
  color: #7a8c81;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  font-size: 11px;
  display: grid;
}
.holy-metric > p {
  color: #7c8f82;
  border-top: 1px solid #edf1ec;
  margin-top: 18px;
  padding-top: 13px;
  font-size: 10px;
}
.holy-rate {
  display: block;
}
.holy-rate strong {
  color: #487758;
  margin: 6px 0;
  font: 700 22px Manrope;
  display: block;
}
.holy-rate small,
.holy-evidence small,
.holy-row-meta {
  color: #8c9b92;
  font-size: 9px;
  line-height: 1.8;
  display: block;
}
.holy-market-table .holy-rate strong {
  font-size: 14px;
}
.holy-market-table td,
.holy-evidence {
  font-size: 10px;
}
.holy-conclusion {
  background: #f3f8f3;
  padding: 22px 25px;
}
.holy-conclusion h3 {
  color: #3f7152;
  margin-bottom: 8px;
  font-size: 14px;
}
.holy-conclusion p {
  color: #748b7a;
  font-size: 11px;
  line-height: 1.9;
}
.holy-conclusion p + p {
  margin-top: 7px;
}
.holy-table-search {
  align-items: center;
  gap: 18px;
  padding: 0 25px 18px;
  display: flex;
}
.holy-table-search input {
  font-size: 11px;
}
.holy-table-search > span {
  color: #819589;
  font-size: 10px;
}
.holy-selected {
  background: #edf6ee;
}
.holy-tag {
  color: #82918a;
  background: #f0f3f0;
  border-radius: 5px;
  margin: 3px 4px;
  padding: 2px 7px;
  font-size: 9px;
  line-height: 1.6;
  display: inline-block;
}
.holy-tag.holy {
  color: #956c24;
  background: #f7efdb;
  border: 1px solid #eddebc;
}
.holy-tag.unknown {
  color: #aa6b56;
  background: #fbe8e4;
}
.holy-source {
  margin-top: 5px;
  font-size: 9px;
  display: block;
}
.holy-method {
  color: #728577;
  padding: 20px 25px;
  font-size: 11px;
  line-height: 1.9;
}
.holy-method summary {
  cursor: pointer;
  color: #466751;
  font-weight: 600;
}
.holy-method ul {
  margin: 15px 0;
  padding-left: 18px;
}
.holy-method li + li {
  margin-top: 8px;
}
.holy-source-years {
  flex-wrap: wrap;
  gap: 7px 15px;
  margin: 15px 0;
  display: flex;
}
.holy-empty {
  text-align: center;
  color: #84968a;
  padding: 30px;
  font-size: 12px;
}
.holy-legend {
  color: #788f82;
  gap: 16px;
  font-size: 10px;
  display: flex;
}
.holy-legend span:before {
  content: "";
  background: #83aecc;
  border-radius: 2px;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  display: inline-block;
}
.holy-legend span.holy:before {
  background: #c5a557;
}
.holy-digit-panels {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  padding: 0 25px 10px;
  display: grid;
}
.holy-digit-panels h3 {
  color: #6b8475;
  margin-bottom: 12px;
  font-size: 11px;
}
.holy-digit-chart {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 5px;
  display: grid;
}
.holy-digit > div {
  background: repeating-linear-gradient(0deg, #0000 0 41px, #edf2ed 42px 43px);
  border-bottom: 1px solid #dce5dc;
  justify-content: center;
  align-items: flex-end;
  gap: 2px;
  height: 170px;
  display: flex;
}
.holy-digit > div > span {
  background: #83aecc;
  border-radius: 2px 2px 0 0;
  width: 35%;
  min-height: 0;
}
.holy-digit > div > span.holy {
  background: #c5a557;
}
.holy-digit > b {
  text-align: center;
  color: #7c9284;
  margin-top: 8px;
  font: 600 11px Manrope;
  display: block;
}
.holy-chart-note {
  color: #8a9b8d;
  padding: 10px 25px 20px;
  font-size: 10px;
}
.holy-top-numbers {
  border-top: 1px solid #edf1ec;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 20px 25px;
  display: grid;
}
.holy-top-numbers h3 {
  margin-bottom: 14px;
  font-size: 12px;
}
.holy-top-numbers > div > div {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}
.holy-top-numbers > div > div > span {
  text-align: center;
  background: #f5f8f2;
  border: 1px solid #e5ecdf;
  border-radius: 6px;
  min-width: 72px;
  padding: 10px;
}
.holy-top-numbers strong {
  color: #607f45;
  font: 700 18px Manrope;
  display: block;
}
.holy-top-numbers small {
  color: #8b9d78;
  font-size: 8px;
}
.holy-top-numbers p {
  color: #82918a;
  font-size: 11px;
}
.holy-forecast {
  gap: 14px;
  margin: 20px 0;
  padding: 24px;
  display: grid;
}
.holy-forecast > div:first-child {
  color: #42715c;
  align-items: center;
  gap: 12px;
  display: flex;
}
.holy-forecast h3 {
  font-size: 15px;
}
.holy-forecast p {
  color: #859789;
  font-size: 10px;
  line-height: 1.8;
}
.holy-forecast-rates {
  gap: 35px;
  display: flex;
}
.holy-forecast-rates > div {
  color: #819487;
  gap: 5px;
  font-size: 11px;
  display: grid;
}
.holy-forecast-rates strong {
  color: #5b7d46;
  font: 700 22px Manrope;
}
.holy-forecast-rates small {
  font-size: 10px;
}
@media (width<=1050px) {
  .holy-intro {
    flex-direction: column;
    align-items: flex-start;
  }
  .holy-controls {
    grid-template-columns: 1fr 1fr;
  }
  .holy-controls label:last-child {
    grid-column: 1/-1;
  }
  .holy-metrics {
    gap: 10px;
  }
  .holy-metric {
    padding: 16px;
  }
  .holy-rate strong {
    font-size: 20px;
  }
}
@media (width<=600px) {
  .holy-intro {
    gap: 20px;
    padding: 20px;
  }
  .holy-intro h2 {
    font-size: 20px;
  }
  .holy-counts {
    gap: 20px;
  }
  .holy-counts strong {
    font-size: 23px;
  }
  .holy-counts > span {
    font-size: 9px;
  }
  .holy-controls {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .holy-controls label:last-child {
    grid-column: auto;
  }
  .holy-metrics {
    grid-template-columns: 1fr;
  }
  .holy-metric > div {
    gap: 25px;
  }
  .holy-metric h3 {
    margin-bottom: 8px;
  }
  .holy-rate strong {
    font-size: 23px;
  }
  .holy-market-table .panel-heading,
  .holy-history .panel-heading {
    flex-wrap: wrap;
    padding: 20px;
  }
  .holy-table-search {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 20px 18px;
  }
  .holy-page .panel-heading h2 {
    font-size: 15px;
  }
  .holy-page table {
    min-width: 760px;
  }
  .holy-top-numbers {
    grid-template-columns: 1fr;
  }
  .holy-conclusion {
    padding: 20px;
  }
  .holy-page {
    gap: 16px;
  }
  .holy-section-label button {
    margin-left: 0;
  }
  .holy-forecast {
    padding: 20px;
  }
  .holy-legend {
    gap: 10px;
  }
  .holy-digit-panels {
    grid-template-columns: 1fr;
  }
}
.holy-page > *,
.holy-digits,
.holy-history,
.holy-market-table {
  min-width: 0;
}
.holy-section-label {
  scroll-margin-top: 20px;
}
.holy-metric-note {
  color: #819589;
  margin: -8px 0 12px;
  font-size: 9px;
  line-height: 1.8;
  display: block;
}
.history-number {
  flex-direction: column;
  align-items: center;
  gap: 5px;
  display: inline-flex;
}
.history-number .number {
  font-variant-numeric: tabular-nums;
}
.history-number small {
  align-items: center;
  gap: 3px;
  font-size: 9px;
  line-height: 1.4;
  display: flex;
}
.history-number.hit small {
  color: #1a7a3c;
}
.history-number.miss small {
  color: #a63a2a;
}
.history-number.unavailable small {
  color: #84908a;
}
.history-number .number.hit {
  color: #1a7a3c;
  background: #dcf3e2;
  border: 1px solid #8fd4a5;
}
.history-number .number.miss {
  color: #a63a2a;
  background: #fbe4e1;
  border: 1px solid #eaa79c;
}
.history-number .number.unavailable {
  color: #7b8980;
  background: #f0f2f0;
  border: 1px solid #dce2dd;
}
.history-forecast-legend {
  background: #fafcf9;
  border-bottom: 1px solid #e6ece8;
  padding: 15px 24px;
}
.history-forecast-legend > div {
  flex-wrap: wrap;
  gap: 18px;
  display: flex;
}
.history-forecast-legend > div > span {
  align-items: center;
  gap: 5px;
  font-size: 11px;
  display: inline-flex;
}
.history-forecast-legend .hit {
  color: #1a7a3c;
}
.history-forecast-legend .miss {
  color: #a63a2a;
}
.history-forecast-legend .unavailable {
  color: #84908a;
}
.history-forecast-legend p {
  color: #809085;
  margin: 9px 0 0;
  font-size: 10px;
  line-height: 1.9;
}
@media (width<=600px) {
  .history-forecast-legend {
    padding: 14px 18px;
  }
  .history-number .number {
    font-size: 16px;
  }
  .history-number small {
    font-size: 8px;
  }
}
.history-number.reserve small,
.history-forecast-legend .reserve {
  color: #936416;
}
.history-number .number.reserve {
  color: #936416;
  background: #fff1c9;
  border: 1px solid #ddbd6b;
}
.history-time-note {
  color: #718577;
  margin: 0;
  padding: 0 25px 16px;
  font-size: 11px;
  line-height: 1.8;
}
.history-draw-time {
  white-space: nowrap;
}
.history-draw-time time {
  color: #304c40;
  font:
    600 14px Manrope,
    monospace;
}
.history-draw-time small {
  color: #829187;
  margin-top: 4px;
  font-size: 10px;
  display: block;
}
.history-inline-time {
  white-space: nowrap;
  color: #365748;
  font-weight: 600;
}
.reserve-picks {
  background: #fffaee;
  border: 1px solid #ebd6a7;
  border-radius: 9px;
  margin: 0 25px 20px;
  padding: 18px;
}
.reserve-picks h3 {
  color: #916514;
  font-size: 14px;
}
.reserve-picks p,
.repeat-evidence p,
.policy-performance p {
  color: #758078;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.9;
}
.reserve-picks > div {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
  display: flex;
}
.reserve-picks > div > span {
  flex-direction: column;
  align-items: center;
  gap: 5px;
  display: flex;
}
.reserve-picks b {
  color: #986916;
  background: #fff3d2;
  border: 1px solid #e8cf91;
  border-radius: 7px;
  padding: 10px 13px;
  font: 700 23px Manrope;
}
.reserve-picks small {
  color: #946f2d;
  font-size: 9px;
}
.bet-slip-reserve-toggle {
  color: #916514;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  display: flex;
  flex: 100% !important;
}
.bet-slip-reserve-toggle input[type="checkbox"] {
  accent-color: #aa7c23;
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
}
.bet-slip-heading {
  flex-wrap: wrap;
}
.bet-slip-group-label {
  color: #986916;
  margin: 12px 0 7px;
  font-size: 10px;
}
.repeat-evidence,
.policy-performance {
  border-top: 1px solid var(--border);
  padding: 22px 25px;
}
.repeat-evidence h3,
.policy-performance h3 {
  color: var(--ink);
  margin-bottom: 13px;
  font-size: 14px;
}
.repeat-evidence > div {
  color: #758078;
  gap: 30px;
  font-size: 11px;
  display: flex;
}
.repeat-evidence strong {
  color: #55765d;
  margin: 6px 0;
  font: 700 23px Manrope;
  display: block;
}
.repeat-evidence small {
  font-size: 10px;
}
.policy-performance table {
  min-width: 450px;
}
.policy-performance td,
.policy-performance th {
  height: auto;
  padding: 12px 10px;
  font-size: 10px;
}
.policy-performance tbody tr:last-child {
  background: #fffaee;
}
.holy-policy {
  margin-bottom: 22px;
}
.holy-policy .policy-performance {
  border-top: 0;
}
@media (width<=760px) {
  .reserve-picks {
    margin: 0 16px 20px;
    padding: 14px;
  }
  .repeat-evidence,
  .policy-performance {
    padding: 18px;
  }
  .bet-slip-reserve-toggle {
    align-items: flex-start;
  }
}
.profit-loss-note {
  color: #759564;
  background: #f0f6ee;
  border: 1px solid #e0ebd9;
  border-radius: 8px;
  gap: 10px;
  margin: 0 0 20px;
  padding: 15px 19px;
  font-size: 11px;
  line-height: 1.9;
  display: flex;
}
.profit-loss-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.profit-loss-filters {
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 20px;
  display: flex;
}
.profit-loss-filters .button {
  min-width: 96px;
}
.profit-loss-filters .button.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 5px 14px #137c6630;
}
.profit-loss-filters .button.active:hover {
  color: #fff;
  background: #0f6c59;
}
.profit-loss-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
  display: grid;
}
.profit-loss-stat {
  border: 1px solid var(--border);
  color: #58685f;
  background: #fff;
  border-radius: 10px;
  padding: 18px 19px;
}
.profit-loss-stat span {
  margin-bottom: 8px;
  font-size: 11px;
  display: block;
}
.profit-loss-stat strong {
  font-variant-numeric: tabular-nums;
  font:
    700 30px/1.3 Manrope,
    sans-serif;
  display: block;
}
.profit-loss-stat.is-profit strong {
  color: #167044;
}
.profit-loss-stat.is-loss strong {
  color: #ae333d;
}
.profit-loss-table-wrap {
  overflow-x: auto;
}
.profit-loss-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.profit-loss-table th {
  text-align: left;
  color: #748078;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  padding: 11px 14px;
  font-weight: 500;
}
.profit-loss-table td {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid #eef1ee;
  padding: 11px 14px;
}
.profit-loss-table td.num {
  text-align: right;
}
.profit-loss-table tr:last-child td {
  border-bottom: 0;
}
.profit-loss-net.is-profit {
  color: #167044;
  font-weight: 700;
}
.profit-loss-net.is-loss {
  color: #ae333d;
  font-weight: 700;
}
.profit-loss-empty {
  text-align: center;
  color: #748078;
  padding: 30px;
  font-size: 12px;
}
@media (width<=1050px) {
  .profit-loss-summary {
    grid-template-columns: 1fr;
  }
}
.profit-loss-note p {
  margin: 4px 0;
}
.profit-loss-note strong {
  color: #486d45;
}
.profit-loss-note small {
  font-size: 11px;
}
.profit-loss-hits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
  display: grid;
}
.profit-loss-hit-card {
  color: #365f49;
  background: #f1f8f4;
  border: 1px solid #dcebe2;
  border-radius: 10px;
  min-width: 0;
  padding: 17px 19px;
}
.profit-loss-hit-card > span {
  font-size: 13px;
}
.profit-loss-hit-card > strong {
  color: #167044;
  margin: 7px 0;
  font:
    700 30px Manrope,
    sans-serif;
  display: block;
}
.profit-loss-hit-card strong small {
  font-size: 13px;
  font-weight: 500;
}
.profit-loss-hit-card p {
  margin: 5px 0;
  font-size: 12px;
}
.profit-loss-hit-card > small,
.profit-loss-stat > small {
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.7;
  display: block;
}
.profit-loss-stat > small {
  color: #748078;
  margin-top: 8px;
}
.profit-loss-stat {
  min-width: 0;
}
.profit-loss-stat strong {
  overflow-wrap: anywhere;
  font-size: clamp(20px, 2.1vw, 30px);
}
.profit-loss-table td > small {
  color: #7c8981;
  margin-top: 4px;
  font-size: 10px;
  display: block;
}
.profit-loss-hit-count b {
  color: #167044;
  font-size: 16px;
}
.profit-loss-day {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  display: flex;
}
.profit-loss-day[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.profit-loss-detail td {
  background: #f7faf8;
}
.profit-loss-calculations {
  color: #527460;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 10px 0;
  display: grid;
}
.profit-loss-calculations p {
  margin: 7px 0;
  font-size: 11px;
}
.profit-loss-equation {
  margin: 4px 0 10px;
  font-weight: 700;
}
@media (width<=650px) {
  .profit-loss-filters .button {
    flex: 1 1 calc(50% - 8px);
  }
  .profit-loss-hits {
    grid-template-columns: 1fr;
  }
  .profit-loss-hit-card > strong,
  .profit-loss-stat strong {
    font-size: 26px;
  }
}
.profit-loss-pagination {
  color: #748078;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px;
  font-size: 12px;
  display: flex;
}
.profit-loss-pagination > div {
  gap: 8px;
  display: flex;
}
@media (width<=650px) {
  .profit-loss-pagination {
    flex-direction: column;
    align-items: flex-start;
  }
}
