@import url("/assets/lot-fonts.css");

:root {
  scroll-behavior: smooth;
  --text-color: #666666;
  --text-alt-color: #9a9a9a;
  --text-color-contrast: #ffffff;
  --bg-color: #ffffff;
  --primary-color: #9a5fb4;
  --secondary-color: #173d7a;
  --accent-color: #543a93;
  --alt-color: #cb75dc;
  --nav-color: #ffffff;
  --nav-border: #efefef;
  --dashboard-bg-color: #f7f5fa;
  --dashboard-tint-color: #9a5fb412;
  --dashboard-tint-color-hover: #9a5fb426;
  --box-shadow-color: #00000014;
  --link-disabled: #b2b2b261;
  --green-color: #009d00;
  --red-color: #ff5252;
  --card-padding-height: 30px;
  --card-padding-width: 36px;
  --font-body: "Cabin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Poppins", "Cabin", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--text-color);
}

[data-theme="dark"] {
  --text-color: #ffffff;
  --text-alt-color: #9a9a9a;
  --text-color-contrast: #262626;
  --bg-color: #191919;
  --primary-color: #a3f4ff;
  --secondary-color: #ffffff;
  --accent-color: #00e1ff;
  --alt-color: #2c2c2c;
  --nav-color: #2c2c2c;
  --nav-border: #efefef24;
  --dashboard-bg-color: #191919;
  --dashboard-tint-color: #ffffff0d;
  --dashboard-tint-color-hover: #ffffff1a;
  --box-shadow-color: #00000042;
  --link-disabled: #666666;
  --green-color: #5fe55f;
  --red-color: #ff5252;
  color-scheme: dark;
  color: var(--text-color);
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--text-color-contrast);
  background-color: var(--primary-color);
  -webkit-text-fill-color: var(--text-color-contrast);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin-top: 0;
}

button, input, select, textarea {
  font-family: inherit;
}

.svg-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.svg-icon > svg, .ui-icon {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.ui-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.brand-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

:is(button, a).styled {
  appearance: none;
  cursor: pointer;
  border: none;
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-color-contrast) !important;
  border-radius: 0.55em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72em 1.3em;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.16s ease;
}

:is(button, a).styled:hover:not(:disabled) {
  background-color: var(--accent-color);
}

:is(button, a).styled:active:not(:disabled) {
  transform: translateY(2px) scale(0.99);
}

:is(button, a).styled.alt {
  background: transparent;
  color: var(--text-color) !important;
  border: 1px solid var(--text-alt-color);
}

:is(button, a).styled.alt:hover:not(:disabled) {
  background-color: var(--dashboard-tint-color-hover);
}

:is(button, a).styled.red:not(:disabled) {
  background-color: var(--red-color);
  color: #ffffff !important;
}

:is(button, a).styled:disabled {
  background: var(--dashboard-tint-color);
  color: var(--text-alt-color) !important;
  cursor: not-allowed;
}

input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
  appearance: none;
  min-width: 0;
  max-width: 100%;
  font-size: 15px;
  background: var(--dashboard-tint-color);
  border: 1px solid var(--text-alt-color);
  color: var(--text-color);
  border-radius: 0.55rem;
  padding: 0.7rem 0.95rem;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

select {
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-alt-color) 50%), linear-gradient(135deg, var(--text-alt-color) 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select option {
  background: var(--nav-color);
  color: var(--text-color);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary-color);
}

#lph-home {
  background: #ffffff;
  color: #666666;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
}

.lph-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.lph-header {
  width: 100%;
  background: linear-gradient(180deg, #543a93 0%, #9a5fb4 100%);
  clip-path: ellipse(118% 100% at 50% 0%);
  position: relative;
  color: #ffffff;
  overflow: hidden;
}

.lph-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  gap: 24px;
}

.lph-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.lph-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.lph-brand small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  opacity: 0.78;
  margin-left: 2px;
}

.lph-nav-items {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
}

.lph-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lph-nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  opacity: 0.92;
  transition: opacity 0.16s ease;
}

.lph-nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.lph-btn-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  color: #ffffff !important;
  background: transparent;
  border-radius: 10px;
  height: 44px;
  padding: 0 28px;
  min-width: 160px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.lph-btn-outlined:hover {
  background: #ffffff;
  color: #543a93 !important;
}

.lph-btn-outlined.purple {
  border-color: #9a5fb4;
  color: #9a5fb4 !important;
  height: 50px;
  min-width: 200px;
  font-size: 17px;
}

.lph-btn-outlined.purple:hover {
  background: #9a5fb4;
  color: #ffffff !important;
}

.lph-btn-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #9a5fb4;
  color: #ffffff !important;
  border: 0;
  border-radius: 10px;
  height: 50px;
  min-width: 200px;
  padding: 0 30px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 10px 24px #0000001f;
  transition: background 0.2s ease, transform 0.16s ease;
}

.lph-btn-filled:hover {
  background: #543a93;
  transform: translateY(-1px);
}

.lph-intro {
  position: relative;
  padding: 120px 0 195px;
  z-index: 1;
}

.lph-intro h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.18;
  margin: 0 0 20px;
  max-width: 720px;
}

.lph-intro p {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
}

.lph-intro-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.lph-intro-btns .lph-btn-outlined {
  height: 50px;
  min-width: 200px;
  font-size: 18px;
}

.lph-hero-orb {
  position: absolute;
  right: 20px;
  top: 40px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d4ecff33 0%, #543a9340 100%);
  box-shadow: 0 30px 80px #00000026;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lph-hero-orb::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 236, 255, 0.25);
}

.lph-hero-orb-inner {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(225deg, #d4ecff99 0%, #9a5fb499 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 16px rgba(255, 255, 255, 0.35);
}

.lph-hero-orb-inner img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: brightness(1.15);
}

.lph-what-do {
  width: 100%;
  background: #ffffff;
  padding: 110px 0 150px;
  position: relative;
  z-index: 2;
}

.lph-what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  gap: 56px;
  align-items: center;
}

.lph-section-icon {
  width: 50px;
  height: 50px;
  color: #9a5fb4;
  margin-bottom: 16px;
}

.lph-what-info h2,
.lph-showcase-info h2 {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.22;
  color: #173d7a;
  margin: 0 0 16px;
}

.lph-what-info p,
.lph-showcase-info p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: #666666;
  margin: 0 0 16px;
}

.slider-preview {
  aspect-ratio: 3 / 2.08;
  user-select: none;
  touch-action: none;
  border: 1px solid #0000001a;
  border-radius: 16px;
  width: 100%;
  max-width: 590px;
  display: flex;
  position: relative;
  box-shadow: 0 30px 70px #00000012;
  overflow: hidden;
  cursor: ew-resize;
}

.slider-preview .item {
  width: 100%;
  height: 100%;
  padding: 18px 20px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.2px;
  line-height: 1.62;
}

.slider-preview .item pre {
  margin: 0;
  font-family: inherit;
  white-space: pre-wrap;
  word-break: break-all;
}

.slider-preview .item.before {
  color: #383a42;
  background-color: #fafafa;
}

.slider-preview .item.before .hljs-keyword { color: #a626a4; font-weight: 600; }
.slider-preview .item.before .hljs-number { color: #986801; }
.slider-preview .item.before .hljs-built_in { color: #e06c75; }
.slider-preview .item.before .hljs-string { color: #50a14f; }

.slider-preview .item.after {
  position: absolute;
  inset: 0;
  color: #abb2bf;
  background-color: #282c34;
}

.slider-preview .item.after .hljs-keyword { color: #c678dd; font-weight: 600; }
.slider-preview .item.after .hljs-number { color: #d19a66; }
.slider-preview .item.after .hljs-literal { color: #98c379; }
.slider-preview .item.after .hljs-built_in { color: #61afef; }

.slider-preview .line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  margin-left: -2.5px;
  background: #ffffff;
  box-shadow: 0 0 12px #00000038;
  z-index: 3;
  pointer-events: none;
}

.slider-preview .slider-ball {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  margin-left: -17px;
  border-radius: 50%;
  background: #ffffff;
  padding: 6px;
  box-shadow: 0 4px 14px #00000033;
  z-index: 4;
  pointer-events: none;
}

.slider-preview .slider-ball .middle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #9a5fb4;
}

.lph-pricing {
  width: 100%;
  background: linear-gradient(180deg, #543a93 0%, #9a5fb4 490px, #faf7fb 490px);
  padding: 110px 0 80px;
  position: relative;
}

.lph-pricing h2 {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(36px, 4.4vw, 54px);
  color: #ffffff;
  margin: 0 0 64px;
}

.lph-plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.lph-plan-card {
  width: 315px;
  background: linear-gradient(to bottom left, #ffffff 36%, #9a5fb4 68%, #543a93 100%);
  background-position: 100% 0%;
  background-repeat: no-repeat;
  background-size: 300% 300%;
  border-radius: 14px;
  padding: 40px 28px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 18px 50px #00000012;
  transition: background-position 0.48s ease, box-shadow 0.35s ease, transform 0.25s ease;
}

.lph-plan-card:hover {
  background-position: 0% 100%;
  box-shadow: 0 30px 80px #00000029;
  transform: translateY(-4px);
}

.lph-plan-card .p-icon {
  width: 64px;
  height: 64px;
  color: #9a5fb4;
  transition: color 0.3s ease;
}

.lph-plan-card .p-title {
  color: #9a9a9a;
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.lph-plan-card .p-cost {
  color: #173d7a;
  margin: 10px 0 6px;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.lph-plan-card .p-sub {
  color: #777777;
  font-size: 14.5px;
  min-height: 44px;
  transition: color 0.3s ease;
}

.lph-plan-card .p-buy {
  text-transform: uppercase;
  width: 170px;
  height: 48px;
  color: #ffffff !important;
  background: #9a5fb4;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0 16px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.25s ease, color 0.25s ease;
}

.lph-plan-card .p-info {
  text-transform: uppercase;
  color: #9a5fb4;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.lph-plan-card:hover .p-icon,
.lph-plan-card:hover .p-title,
.lph-plan-card:hover .p-cost,
.lph-plan-card:hover .p-sub,
.lph-plan-card:hover .p-info {
  color: #ffffff;
}

.lph-plan-card:hover .p-buy {
  background: #ffffff;
  color: #543a93 !important;
  box-shadow: 0 6px 14px #00000029;
}

.lph-gift-note {
  text-align: center;
  margin: 34px auto 0;
  color: #666666;
  font-size: 16px;
}

.lph-gift-note a {
  color: #9a5fb4;
  font-weight: 700;
  text-decoration: none;
}

.lph-gift-note a:hover {
  text-decoration: underline;
}

.lph-why {
  width: 100%;
  background: #faf7fb;
  clip-path: ellipse(125% 100% at 50% 0%);
  padding: 80px 0 130px;
}

.lph-why h2 {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(34px, 4.2vw, 52px);
  color: #173d7a;
  margin: 0 0 48px;
}

.lph-why-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lph-why-card {
  border-radius: 14px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.lph-why-card:hover {
  background: #ffffff;
  box-shadow: 0 20px 60px #0000000d;
}

.lph-why-card .w-icon {
  width: 54px;
  height: 54px;
  color: #9a5fb4;
  margin-bottom: 18px;
}

.lph-why-card h3 {
  color: #173d7a;
  font-size: 23px;
  margin: 0 0 12px;
}

.lph-why-card p {
  color: #666666;
  font-size: 16px;
  line-height: 1.58;
  margin: 0;
  max-width: 330px;
}

.lph-showcase {
  width: 100%;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.lph-planet-edge {
  position: absolute;
  top: 70px;
  left: -250px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: linear-gradient(180deg, #543a93 0%, #9a5fb4 100%);
  opacity: 0.12;
  pointer-events: none;
}

.lph-planet-edge.right {
  left: auto;
  right: -250px;
}

.lph-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lph-showcase-grid.reversed {
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
}

.lph-showcase-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
}

.lph-showcase-cta span {
  text-transform: uppercase;
  color: #9a5fb4;
  font-weight: 700;
  font-size: 17px;
}

.lph-vm-window {
  background: #282c34;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 68px rgba(23, 61, 122, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.lph-vm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #21252b;
  color: #9da5b4;
  font-family: var(--font-mono);
  font-size: 12px;
}

.lph-vm-dots {
  display: flex;
  gap: 7px;
}

.lph-vm-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.lph-vm-dots i:nth-child(1) { background: #ff5f56; }
.lph-vm-dots i:nth-child(2) { background: #ffbd2e; }
.lph-vm-dots i:nth-child(3) { background: #27c93f; }

.fake-code-scroll {
  height: 270px;
  overflow: hidden;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #abb2bf;
}

.terminal-line {
  display: flex;
  gap: 14px;
  white-space: pre;
}

.line-number { color: #5c6370; user-select: none; }
.syn-keyword { color: #c678dd; font-weight: 600; }
.syn-string { color: #98c379; }
.syn-number { color: #d19a66; }
.syn-built { color: #61afef; }
.syn-comment { color: #7f848e; }

.lph-targets-card {
  background: #faf7fb;
  border: 1px solid #ece4f2;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 54px rgba(84, 58, 147, 0.08);
}

.lph-target-row {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.lph-target-row .t-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #9a5fb417;
  color: #543a93;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lph-target-row h3 {
  margin: 0 0 3px;
  font-size: 18px;
  color: #173d7a;
}

.lph-target-row p {
  margin: 0;
  font-size: 14.5px;
  color: #666666;
}

.lph-register {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f6f0fa 100%);
  padding: 85px 24px 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lph-register h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  color: #3e2a6d;
  margin: 0 0 32px;
}

.lph-home-footer {
  width: 100%;
  background: #3e2a6d;
  color: #ffffff;
  padding: 72px 0;
}

.lph-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.lph-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
}

.lph-footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
}

.lph-footer-links a:hover {
  text-decoration: underline;
}

.lph-footer-copy {
  color: #8b74bd;
  font-size: 15px;
}

.dashboard-layout {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 100vh;
  background: var(--dashboard-bg-color);
  color: var(--text-color);
}

.navbar-desktop {
  background: var(--nav-color);
  width: 112px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0.65rem 1.25rem;
  border-right: 1px solid var(--nav-border);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  transition: background 0.2s ease;
  z-index: 20;
}

.navbar-desktop .home {
  padding-bottom: 1.6rem;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.navbar-desktop .home img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.navbar-desktop .item {
  color: var(--text-alt-color);
  user-select: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.42rem;
  padding: 0.65rem 0.4rem;
  margin-block: 0.2rem;
  width: 100%;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  border: 0;
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar-desktop .item:hover {
  color: var(--primary-color);
  background: var(--dashboard-tint-color);
}

.navbar-desktop .item.selected,
.navbar-desktop .item.ref-active {
  color: var(--primary-color);
  background: var(--dashboard-tint-color);
}

.navbar-desktop .item.selected > span,
.navbar-desktop .item.ref-active > span {
  color: var(--secondary-color);
  font-weight: 700;
}

.navbar-desktop .item > .nav-img {
  width: 28px;
  height: 28px;
}

.navbar-desktop .item > span {
  font-family: var(--font-body);
  font-size: 13px;
  text-align: center;
  line-height: 1.15;
}

.navbar-desktop .nav-spacer {
  flex-grow: 1;
}

.navbar-desktop .item.sign-out,
.navbar-desktop .item.sign-out > span,
.navbar-desktop .item.sign-out .nav-img {
  color: #d02828 !important;
}

#dashboard-content {
  background: var(--dashboard-bg-color);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 2.6rem 3.5rem 1.75rem;
  transition: background 0.2s ease;
}

header.desktop {
  color: var(--secondary-color);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

header.desktop .header-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-grow: 1;
  flex-wrap: wrap;
}

header.desktop .title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

header.desktop h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  font-weight: 700;
  color: var(--secondary-color);
}

.lph-wave-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-color);
}

.header-quick-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.epic-text {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
}

.theme-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.theme-toggle > span {
  text-transform: uppercase;
  color: var(--text-alt-color);
  margin-right: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.theme-toggle > button {
  width: 46px;
  height: 46px;
  color: var(--text-alt-color);
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle > button:hover {
  color: var(--text-color);
}

.theme-toggle > button.selected {
  background: var(--nav-color);
  color: var(--primary-color);
  border-color: var(--nav-border);
  box-shadow: 0 4px 14px var(--box-shadow-color);
}

.theme-toggle > button .svg-icon {
  width: 20px;
  height: 20px;
}

#dashboard-content > main {
  flex-grow: 1;
}

.lph-dash-footer {
  color: var(--text-alt-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-family: var(--font-body);
  font-size: 13px;
  padding-top: 1rem;
}

.lph-dash-footer a {
  color: inherit;
  text-decoration: none;
}

.lph-dash-footer a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.lph-dash-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 440px));
  justify-content: center;
  gap: 32px;
  margin: 0 auto;
}

.lph-card {
  background: var(--nav-color);
  border-radius: 20px;
  padding: 30px 34px 34px;
  box-shadow: 0 12px 30px var(--box-shadow-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s ease;
}

.lph-card h3 {
  font-family: var(--font-head);
  font-size: 23px;
  color: var(--secondary-color);
  margin: 0 0 20px;
}

.lph-plan-box {
  background: var(--dashboard-tint-color);
  border-radius: 14px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
}

.lph-plan-box .plan-icon {
  width: 68px;
  height: 68px;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.lph-plan-box .plan-sub {
  color: var(--text-alt-color);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lph-plan-box h2 {
  color: var(--secondary-color);
  font-size: 32px;
  margin: 6px 0 10px;
}

.lph-plan-box p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-alt-color);
}

.lph-plan-box a {
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.lph-plan-box a:hover {
  text-decoration: underline;
}

.lph-redeem-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--nav-border);
}

.lph-redeem-box label {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-color);
}

.lph-redeem-row {
  display: flex;
  gap: 8px;
}

.lph-redeem-row input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.lot-redeem-msg {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-color);
  min-height: 18px;
}

.lot-redeem-msg[data-err="1"] {
  color: var(--red-color);
}

.lph-mini-telemetry {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.lph-mini-telemetry > div {
  background: var(--dashboard-tint-color);
  border-radius: 10px;
  padding: 10px 8px;
}

.lph-mini-telemetry small {
  display: block;
  font-size: 11px;
  color: var(--text-alt-color);
  text-transform: uppercase;
}

.lph-mini-telemetry b {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--secondary-color);
}

.lph-obf-centerpiece {
  background: linear-gradient(180deg, #9a5fb4 0%, #543a93 100%) !important;
  color: #ffffff !important;
  overflow: hidden;
  justify-content: space-between;
}

.lph-obf-centerpiece h3,
.lph-obf-centerpiece h4 {
  color: #ffffff !important;
}

.lph-obf-watermark {
  position: absolute;
  right: -40px;
  top: 70px;
  width: 280px;
  height: 280px;
  opacity: 0.12;
  transform: rotate(35deg);
  pointer-events: none;
}

.lph-obf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.lph-obf-head h3 {
  margin: 0;
}

.lph-obf-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}

.lph-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #77ffd0;
}

.lph-obf-mid {
  text-align: center;
  margin: 34px 0 24px;
  position: relative;
  z-index: 2;
}

.lph-obf-mid h3 {
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 6px;
}

.lph-obf-mid p {
  margin: 0;
  opacity: 0.85;
  font-size: 14.5px;
}

.lph-breakdown {
  position: relative;
  z-index: 2;
}

.lph-breakdown > h4 {
  font-size: 15px;
  margin: 0 0 10px;
}

.lph-breakdown-row {
  background: rgba(0, 0, 0, 0.16);
  border-radius: 10px;
  height: 64px;
  padding: 0 16px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lph-breakdown-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #543a93;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lph-breakdown-row span {
  flex: 1;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
}

.lph-bar-track {
  width: 32%;
  height: 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.lph-bar-track > i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 5px;
}

.lph-obf-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.lph-obf-cta a {
  background: #ffffff;
  color: #543a93 !important;
  border-radius: 10px;
  height: 46px;
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.16s ease;
}

.lph-obf-cta a:hover {
  transform: translateY(-2px);
}

.lph-stack-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lph-info-tile {
  background: var(--nav-color);
  border-radius: 20px;
  padding: 36px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 12px 30px var(--box-shadow-color);
}

.lph-info-tile .tile-icon {
  width: 78px;
  height: 78px;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.lph-info-tile h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin: 0 0 8px;
}

.lph-info-tile p {
  margin: 0 0 16px;
  color: var(--text-alt-color);
  font-size: 15px;
}

.lph-info-tile .tile-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.lph-info-tile a {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.lph-info-tile a:hover {
  text-decoration: underline;
}

.lot-credit-warning,
.lot-expiry-warning {
  max-width: 1380px;
  margin: 0 auto 20px;
  padding: 14px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  background: var(--nav-color);
  color: var(--text-color);
  font-weight: 600;
}

.lph-obf-page {
  max-width: 100ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lph-upload-banner {
  background: linear-gradient(270deg, #9a5fb4 0%, #543a93 100%);
  border-radius: 20px;
  min-height: 245px;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 38px var(--box-shadow-color);
}

.lph-upload-banner.drag-over {
  outline: 3px dashed #ffffff;
  outline-offset: -10px;
}

.lph-upload-banner h2 {
  font-family: var(--font-head);
  font-size: 26px;
  color: #ffffff;
  margin: 0 0 8px;
}

.lph-upload-banner p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
}

.lph-upload-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.lph-upload-btns .btn-upload-main {
  background: #ffffff;
  color: #543a93 !important;
  border: 0;
  border-radius: 10px;
  height: 54px;
  min-width: 230px;
  padding: 0 26px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.lph-upload-btns .btn-upload-paste {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 10px;
  height: 54px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.lph-recent-card {
  background: var(--nav-color);
  border-radius: 16px;
  padding: 26px 32px;
  box-shadow: 0 12px 30px var(--box-shadow-color);
}

.lph-recent-card h3 {
  text-align: center;
  font-size: 22px;
  color: var(--secondary-color);
  margin: 0 0 20px;
}

.rec-history-empty {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-alt-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rec-file-list, .rec-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rec-file-item, .rec-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--dashboard-tint-color);
}

.rec-file-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rec-file-title {
  font-weight: 700;
  color: var(--secondary-color);
}

.rec-file-meta {
  font-size: 13px;
  color: var(--text-alt-color);
}

.rec-file-actions {
  display: flex;
  gap: 8px;
}

.rec-file-build, .rec-file-remove {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  border: 0;
}

.rec-file-build {
  background: var(--primary-color);
  color: var(--text-color-contrast);
}

.rec-file-remove {
  background: transparent;
  border: 1px solid var(--text-alt-color);
  color: var(--text-color);
}

.rec-page-error {
  color: var(--red-color);
  font-weight: 700;
  text-align: center;
}

.rec-output-hint {
  background: var(--nav-color);
  border: 1px solid var(--primary-color);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}

.workspace-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.dash-panel {
  background: var(--nav-color);
  border-radius: 20px;
  box-shadow: 0 12px 30px var(--box-shadow-color);
  overflow: hidden;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--nav-border);
}

.panel-heading h2 {
  font-size: 19px;
  margin: 0;
  color: var(--secondary-color);
}

.file-flag, .result-status {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--dashboard-tint-color);
  color: var(--primary-color);
  font-weight: 700;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: var(--dashboard-tint-color);
  border-bottom: 1px solid var(--nav-border);
  font-size: 13px;
}

.editor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--nav-border);
  background: var(--nav-color);
  color: var(--text-color);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.text-action:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.code-editor-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 310px;
  max-height: 460px;
  background: #21252b;
  color: #abb2bf;
}

.editor-gutter {
  padding: 14px 10px 14px 0;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.62;
  color: #5c6370;
  background: #1b1e24;
  user-select: none;
  overflow: hidden;
}

.code-highlighting, .code-textarea {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.62;
  tab-size: 2;
  white-space: pre;
  overflow: auto;
  border: 0;
  width: 100%;
  height: 100%;
}

.code-highlighting { pointer-events: none; color: #abb2bf; }

.code-textarea {
  background: transparent !important;
  color: transparent !important;
  caret-color: #a3f4ff;
  resize: vertical;
  outline: none;
}

.drop-hint { display: none; }

.editor-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid var(--nav-border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-alt-color);
}

.result-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-alt-color);
}

.result-empty strong {
  display: block;
  color: var(--secondary-color);
  font-size: 17px;
  margin-bottom: 6px;
}

.result-code {
  margin: 0;
  padding: 16px 20px;
  max-height: 360px;
  overflow: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  background: #21252b;
  color: #abb2bf;
  white-space: pre-wrap;
  word-break: break-all;
}

.settings-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-top: 6px;
}

.field-help {
  margin: 0;
  font-size: 13px;
  color: var(--text-alt-color);
}

.field-help a { color: var(--primary-color); }

.lot-library-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--dashboard-tint-color);
  font-size: 14px;
  cursor: pointer;
}

.lot-library-opt input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--primary-color);
}

.build-estimate {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.build-estimate > div {
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--dashboard-tint-color);
  text-align: center;
}

.build-estimate span {
  display: block;
  font-size: 11px;
  color: var(--text-alt-color);
}

.build-estimate strong {
  font-size: 13px;
  color: var(--secondary-color);
}

.build-button {
  width: 100%;
  height: 48px;
}

.build-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-track, .lot-progress-track {
  height: 9px;
  border-radius: 999px;
  background: var(--dashboard-tint-color);
  overflow: hidden;
}

.progress-fill, .lot-progress-track > span {
  display: block;
  height: 100%;
  background: var(--primary-color);
  transition: width 0.22s ease;
}

.build-message {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.build-message.error { color: var(--red-color); }
.build-message.success { color: var(--green-color); }

.lph-purchase-grid {
  max-width: 115ch;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.lph-info-card {
  background: var(--nav-color);
  border: 1px solid var(--primary-color);
  border-radius: 16px;
  padding: 28px 30px;
}

.lph-info-card h2 {
  font-size: 22px;
  color: var(--secondary-color);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lph-plan-Option {
  background: linear-gradient(220deg, var(--dashboard-tint-color) 35%, var(--primary-color) 68%, var(--accent-color));
  background-position: 100% 0%;
  background-size: 300% 300%;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  transition: background-position 0.4s ease;
}

.lph-plan-Option:hover {
  background-position: 0% 100%;
}

.lph-plan-Option strong {
  display: block;
  color: var(--primary-color);
  font-size: 17px;
}

.lph-plan-Option span {
  font-size: 14px;
  color: var(--text-color);
}

.lph-plan-Option:hover strong,
.lph-plan-Option:hover span {
  color: var(--text-color-contrast);
}

.ops-panel {
  background: var(--nav-color);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 12px 30px var(--box-shadow-color);
  margin-bottom: 24px;
}

.ops-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.ops-heading h2 { margin: 0 0 4px; font-size: 21px; color: var(--secondary-color); }
.ops-heading p { margin: 0; color: var(--text-alt-color); font-size: 14.5px; }

.ops-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.ops-form label {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.ops-key-reveal {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  background: var(--dashboard-tint-color);
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ops-key-reveal code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-color);
  color: var(--primary-color);
  white-space: pre-wrap;
  word-break: break-all;
}

.ops-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ops-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--dashboard-tint-color);
}

.ops-row strong {
  display: block;
  color: var(--secondary-color);
  font-size: 15px;
}

.ops-row small {
  color: var(--text-alt-color);
  font-size: 13px;
}

.ops-row-actions, .ops-account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ops-row-actions button,
.ops-account-actions button,
#ops-accounts-refresh {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--nav-border);
  background: var(--nav-color);
  color: var(--text-color);
}

.ops-danger {
  background: var(--red-color) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.ops-tier-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--nav-color);
  color: var(--primary-color);
}

.ops-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.ops-metrics > div {
  background: var(--nav-color);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 10px 26px var(--box-shadow-color);
}

.ops-metrics span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-alt-color);
}

.ops-metrics strong {
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--secondary-color);
}

.ops-owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 24px;
}

.ops-account-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 140px;
  gap: 10px;
  margin-bottom: 14px;
}

.ops-block-form, .lot-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.ops-block-form label, .lot-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
}

.lph-account-wrap {
  max-width: 80ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lph-expand-row {
  background: var(--nav-color);
  box-shadow: inset 0 0 8px -4px var(--primary-color), 0 10px 26px var(--box-shadow-color);
  border-radius: 2rem;
  padding: 0.5rem 2rem 1.75rem;
}

.lph-expand-row.is-closed {
  padding-bottom: 0.5rem;
}

.lph-expand-row.is-closed .lph-expand-body {
  display: none;
}

.lph-expand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  margin: 0;
  font-size: 1.25rem;
  color: var(--secondary-color);
}

.lph-expand-head button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  padding: 0;
  flex: 1;
}

.lph-expand-state {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.4rem;
}

.lph-expand-body {
  display: grid;
  gap: 1rem;
  padding-top: 0.4rem;
}

.lph-region {
  background: var(--dashboard-tint-color);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lph-region b {
  font-family: var(--font-head);
  color: var(--secondary-color);
  display: block;
  margin-bottom: 2px;
}

.lph-docs-hub {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 40px;
  max-width: 1360px;
  margin: 0 auto;
  align-items: start;
}

.lph-docs-card {
  background: var(--nav-color);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 12px 30px var(--box-shadow-color);
}

.lph-docs-card h2 {
  font-size: 25px;
  color: var(--secondary-color);
  margin: 0 0 20px;
}

.lph-guide-feature {
  background: var(--dashboard-tint-color);
  border-radius: 14px;
  padding: 34px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.lph-guide-feature .g-icon {
  width: 82px;
  height: 82px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.lph-guide-feature h3 {
  font-size: 26px;
  color: var(--secondary-color);
  margin: 0 0 10px;
}

.lph-guide-feature p {
  margin: 0 0 18px;
  color: var(--text-alt-color);
}

.lph-guide-feature a {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.lph-extra-bar {
  background: var(--dashboard-tint-color);
  border-radius: 10px;
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.lph-extra-bar strong {
  font-family: var(--font-head);
  color: var(--secondary-color);
  font-size: 16px;
}

.lph-extra-bar a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.lph-version-notice {
  border-left: 4px solid var(--primary-color);
  background: var(--dashboard-tint-color);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 26px;
}

.lph-version-notice h3 {
  font-size: 18px;
  color: var(--secondary-color);
  margin: 0 0 6px;
}

.lph-version-notice p {
  margin: 0;
  color: var(--text-alt-color);
}

.lph-version-notice a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

.lph-doc-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.lph-doc-tile {
  background: var(--dashboard-tint-color);
  border-radius: 14px;
  min-height: 215px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.lph-doc-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px var(--box-shadow-color);
}

.lph-doc-tile .d-icon {
  width: 62px;
  height: 62px;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.lph-doc-tile strong {
  color: var(--secondary-color);
  font-size: 18px;
  margin-bottom: 10px;
}

.lph-doc-tile a {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.lph-doc-tile a:hover {
  text-decoration: underline;
}

.lph-reader-card {
  background: var(--nav-color);
  border-radius: 20px;
  padding: 36px 44px;
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: 0 12px 30px var(--box-shadow-color);
}

.lph-reader-card h2 {
  font-size: 24px;
  color: var(--secondary-color);
  margin: 30px 0 12px;
}

.lph-reader-card h2:first-child {
  margin-top: 0;
}

.lph-reader-card p, .lph-reader-card li {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-color);
}

.lph-reader-card a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}

.lph-reader-card a:hover { text-decoration: underline; }

.lph-reader-card pre {
  background: #21252b;
  color: #abb2bf;
  padding: 18px 22px;
  border-radius: 12px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
}

.lph-reader-card code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  color: var(--primary-color);
}

.lph-reader-card pre code {
  color: inherit;
}

.docs-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--nav-border);
  margin: 18px 0;
}

.docs-table > div {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 18px;
  border-top: 1px solid var(--nav-border);
  font-size: 14.5px;
}

.docs-table > div:first-child {
  border-top: 0;
  background: var(--dashboard-tint-color);
  font-weight: 700;
  color: var(--secondary-color);
}

.lph-login-body {
  background: var(--dashboard-bg-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.lph-login-top {
  width: 100%;
  max-width: 470px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.lph-login-card {
  width: 100%;
  max-width: 470px;
  background: var(--nav-color);
  border-radius: 22px;
  padding: 38px 36px;
  box-shadow: 0 20px 50px var(--box-shadow-color);
}

.lph-login-card h1 {
  font-size: 28px;
  color: var(--secondary-color);
  margin: 0 0 8px;
}

.lph-login-sub {
  color: var(--text-alt-color);
  margin: 0 0 24px;
  font-size: 15.5px;
}

.identity-stage {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--nav-border);
  background: var(--dashboard-tint-color);
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.oauth-btn:hover:not(:disabled) {
  background: var(--dashboard-tint-color-hover);
  border-color: var(--primary-color);
}

.oauth-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.signin-divider {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-alt-color);
  margin: 6px 0;
}

.legal-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--dashboard-tint-color);
  font-size: 13.5px;
  color: var(--text-color);
  cursor: pointer;
}

.legal-checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--primary-color);
}

.legal-checkbox a { color: var(--primary-color); font-weight: 700; }

.auth-qr {
  width: 176px;
  height: 176px;
  margin: 8px auto;
  padding: 10px;
  background: #ffffff;
  border-radius: 14px;
  display: block;
}

.manual-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--dashboard-tint-color);
  font-family: var(--font-mono);
  font-size: 13px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recovery-list {
  padding: 14px;
  border-radius: 12px;
  background: var(--dashboard-tint-color);
  font-family: var(--font-mono);
  text-align: center;
}

.login-error {
  color: var(--red-color);
  font-weight: 700;
  min-height: 20px;
  margin: 14px 0 0;
}

.rec-overlay, .lot-upgrade {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rec-backdrop, .lot-upgrade-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}

.rec-dialog, .lot-upgrade-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--nav-color);
  color: var(--text-color);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  padding: 28px 32px;
}

.lot-upgrade-dialog {
  max-width: 480px;
}

.rec-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rec-modal-head h2 { margin: 0; color: var(--secondary-color); }

.rec-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: var(--dashboard-tint-color);
  color: var(--text-color);
  font-size: 22px;
  cursor: pointer;
}

.rec-file-drop {
  width: 100%;
  padding: 30px 20px;
  border-radius: 16px;
  border: 2px dashed var(--primary-color);
  background: var(--dashboard-tint-color);
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.rec-choice-rule {
  text-align: center;
  margin: 16px 0;
  color: var(--text-alt-color);
  font-size: 12px;
  font-weight: 700;
}

.rec-step textarea {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13px;
}

.rec-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rec-project, .rec-global {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rec-project h3, .rec-global h3 {
  font-size: 16px;
  color: var(--secondary-color);
  margin: 0 0 4px;
}

.rec-source-label {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--dashboard-tint-color);
  font-family: var(--font-mono);
  font-size: 13px;
}

.rec-link-btn {
  background: none;
  border: 0;
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
}

.rec-code-preview {
  max-height: 220px;
  overflow: auto;
  padding: 14px;
  border-radius: 12px;
  background: #21252b;
  color: #abb2bf;
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-all;
}

.rec-dialog-message {
  color: var(--red-color);
  font-weight: 700;
  min-height: 18px;
}

.rec-modal-actions, .lot-upgrade-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 1180px) {
  .lph-dash-cards { grid-template-columns: 1fr; max-width: 560px; }
  .workspace-grid, .lph-purchase-grid, .lph-docs-hub, .ops-owner-grid { grid-template-columns: 1fr; }
  .lph-what-grid, .lph-showcase-grid, .lph-showcase-grid.reversed { grid-template-columns: 1fr; }
  .lph-hero-orb { display: none; }
}

@media (max-width: 960px) {
  .dashboard-layout { flex-direction: column; }
  .navbar-desktop {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--nav-border);
  }
  .navbar-desktop .home { padding-bottom: 0; margin-right: 8px; }
  .navbar-desktop .item { width: auto; padding: 0.45rem 0.7rem; }
  .navbar-desktop .nav-spacer { display: none; }
  #dashboard-content { padding: 1.75rem 1.25rem; }
  .lph-why-cards { grid-template-columns: 1fr; }
  .rec-settings-grid, .ops-metrics, .ops-account-filters { grid-template-columns: 1fr; }
  .docs-table > div { grid-template-columns: 1fr; }
}
