select[data-theme-select] {
  min-width: 76px;
  min-height: 44px;
  padding: 5px 8px;
  border: 1px solid #76685a;
  border-radius: 0;
  background: var(--panel);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
}

select[data-theme-select]:hover {
  border-color: var(--accent);
}

:root[data-theme="light"] {
  color-scheme: light;
  --base: #f6f0e8;
  --panel: #fffbf6;
  --line: #cdbeb2;
  --ink: #261d19;
  --muted: #62534a;
  --accent: #9a3f26;
  --surface-tint: #eee2d6;
  --control-line: #8b796a;
  --lavender-ink: #48365f;
  --lavender-line: #ae9dbb;
  --mint-ink: #244d3a;
  --mint-line: #8ba99a;
}

:root[data-theme="light"] ::selection {
  color: #fffaf4;
}

:root[data-theme="light"] :is(select[data-theme-select], .nav-action, .button.outline, .card-arrow) {
  border-color: var(--control-line);
}

:root[data-theme="light"] :is(select[data-theme-select], .nav-action, .button.outline):hover {
  border-color: var(--accent);
}

:root[data-theme="light"] .button.primary {
  color: #fffaf4;
}

:root[data-theme="light"] .button.primary:hover {
  background: #76301e;
  border-color: #76301e;
}

:root[data-theme="light"] .top {
  background: #f9f3ec;
  box-shadow: 0 5px 24px #65493822;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root[data-theme="light"] .top {
    background: rgb(249 243 236 / 92%);
  }
}

:root[data-theme="light"] .top[data-at-top] {
  background: transparent;
  box-shadow: none;
}

@media (prefers-reduced-transparency: reduce) {
  :root[data-theme="light"] .top,
  :root[data-theme="light"] .top[data-at-top] {
    background: #f9f3ec;
  }
}

:root[data-theme="light"] .nav-mobile summary,
:root[data-theme="light"] .nav-popover {
  background: var(--panel);
  border-color: var(--control-line);
}

:root[data-theme="light"] .nav-popover {
  box-shadow: 0 16px 28px #65493830;
}

:root[data-theme="light"] .nav-mobile[open] summary {
  border-color: var(--accent);
}

:root[data-theme="light"] .nav-mobile nav a:is([aria-current="page"], [data-current-section]) {
  background: var(--surface-tint);
}

:root[data-theme="light"] .studio-page {
  --field-light: #d18a6440;
  --field-line: #89573923;
  --field-secondary: #a491c034;
}

:root[data-theme="light"] .studio-page.theme-rushtrack {
  --field-light: #a691cc55;
  --field-line: #7861962c;
  --field-secondary: #d5977731;
}

:root[data-theme="light"] .studio-page.theme-rein {
  --field-light: #8abfa04f;
  --field-line: #51826428;
  --field-secondary: #84a9a52e;
}

:root[data-theme="light"] .site-field {
  background-color: var(--base);
}

:root[data-theme="light"] .home-field-grid {
  background: repeating-linear-gradient(90deg, #8a543b23 0 1px, transparent 1px 76px),
    repeating-linear-gradient(0deg, #8a543b23 0 1px, transparent 1px 76px);
}

:root[data-theme="light"] .home-field-light {
  background: radial-gradient(ellipse at 82% 29%, #c9805d45, transparent 46%),
    radial-gradient(ellipse at 18% 73%, #a38abe37, transparent 48%);
}

:root[data-theme="light"] :is(.project-card, .hero-frame, .workflow, .footer-email, .product-modules a) {
  background: var(--panel);
  border-color: var(--line);
}

@media (hover: hover) and (pointer: fine) {
  :root[data-theme="light"] .project-card:hover {
    border-color: var(--accent);
  }
}

:root[data-theme="light"] .home-hero-frame {
  box-shadow: 0 18px 60px #6549382c, 0 0 54px #a9442518;
}

:root[data-theme="light"] .frame-top {
  color: var(--muted);
}

:root[data-theme="light"] :is(.signal-strip, .experience, .home-lab) {
  background: linear-gradient(112deg, #f0dfd1, #f5ece1 74%);
}

:root[data-theme="light"] .home-roll {
  background: linear-gradient(100deg, #ead6c5, #f3e8dc 78%);
  border-color: var(--line);
}

:root[data-theme="light"] :is(.home-roll-title, .home-platform) {
  color: var(--accent);
}

:root[data-theme="light"] :is(.home-motion-toggle, .home-platform) {
  border-color: var(--control-line);
}

:root[data-theme="light"] .home-platform[href]:hover {
  background: var(--surface-tint);
}

:root[data-theme="light"] .visual-rush {
  background: #e6dcef radial-gradient(ellipse at 52% 120%, #c9b8e3, transparent 70%);
}

:root[data-theme="light"] .visual-rein {
  background: #dcebe1 radial-gradient(ellipse at 50% 115%, #a6cdb2, transparent 75%);
}

:root[data-theme="light"] :is(.visual-rush, .visual-rein)::before {
  background: repeating-linear-gradient(90deg, transparent 0 32px, #4d3b5b1e 33px 34px),
    repeating-linear-gradient(0deg, transparent 0 32px, #4d3b5b1e 33px 34px);
}

:root[data-theme="light"] :is(.visual-rush > .cal-graphic, .visual-rein > .money-graphic) {
  box-shadow: 0 15px 29px #3f304b36;
}

:root[data-theme="light"] :is(.cal-graphic, .delivery-graphic) {
  color: var(--lavender-ink);
  border-color: var(--lavender-line);
  background: #f7f1fc;
}

:root[data-theme="light"] :is(.graphic-meta, .graphic-foot, .graphic-meta b, .cal-days, .cal-row b, .delivery-row i, .delivery-row small) {
  color: var(--lavender-ink);
}

:root[data-theme="light"] :is(.graphic-foot, .cal-row, .delivery-row) {
  border-color: var(--lavender-line);
}

:root[data-theme="light"] .cal-grid {
  background: repeating-linear-gradient(90deg, transparent 0 13%, #7b6a9535 13.2% 13.6%), #ebe1f4;
}

:root[data-theme="light"] .cal-row i {
  background: #7661b0;
}

:root[data-theme="light"] .cal-row i + i {
  background: #a4478f;
}

:root[data-theme="light"] .money-graphic,
:root[data-theme="light"] .money-detail > div {
  color: var(--mint-ink);
  background: #edf7ee;
  border-color: var(--mint-line);
}

:root[data-theme="light"] .money-graphic :is(.graphic-meta, .graphic-foot, .graphic-meta b, p),
:root[data-theme="light"] .money-detail :is(dt, dd) {
  color: var(--mint-ink);
}

:root[data-theme="light"] .money-graphic .graphic-foot {
  border-color: var(--mint-line);
}

:root[data-theme="light"] .money-chart i {
  background: linear-gradient(#4b966d, #31734f);
}

:root[data-theme="light"] .visual-archivo {
  background: #e4e3cb;
  color: #3a3926;
}

:root[data-theme="light"] .visual-jaque {
  background: #ecd5d9;
  color: #54323c;
}

:root[data-theme="light"] .visual-tigre {
  background: #d5e5e9;
  color: #294853;
}

:root[data-theme="light"] .demo-top {
  border-color: var(--line);
}

:root[data-theme="light"] :is(.demo-top span:first-child, .demo-tabs button span) {
  color: var(--accent);
}

:root[data-theme="light"] [data-tab-demo][data-ready] .demo-tabs {
  background: var(--line);
  border-color: var(--line);
}

:root[data-theme="light"] .demo-tabs button {
  background: #f3e9df;
  color: var(--ink);
}

:root[data-theme="light"] .demo-tabs button:hover {
  background: #eadbcc;
}

:root[data-theme="light"] .demo-tabs button[aria-selected="true"] {
  background: #eed8c8;
}

:root[data-theme="light"] .shot-overlay b {
  color: #ffc095;
}

:root[data-theme="light"] .status.fix,
:root[data-theme="light"] .lab-chip-warning {
  background: #f4ddcb;
  color: #70351e;
}

:root[data-theme="light"] .status.ok,
:root[data-theme="light"] .lab-chip-ok {
  background: #d6ead9;
  color: #254c32;
}

:root[data-theme="light"] .lab-screen {
  --screen-line: var(--lavender-line);
  --screen-ink: #3a2a4c;
  --screen-muted: var(--lavender-ink);
  background: #f7f1fc;
}

:root[data-theme="light"] :is(.lab-screen--plan, .lab-screen--editorial) {
  --screen-line: #bda28f;
  --screen-ink: #443126;
  --screen-muted: #654c3c;
  background: #fff6ed;
}

:root[data-theme="light"] .lab-screen--delivery {
  --screen-line: var(--mint-line);
  --screen-ink: #1e3d2d;
  --screen-muted: var(--mint-ink);
  background: #edf7ee;
}

:root[data-theme="light"] .lab-chip:not(.lab-chip-ok, .lab-chip-warning) {
  background: #e5d9f2;
  color: #49355d;
}

:root[data-theme="light"] .lab-plan > strong {
  color: var(--accent);
}

:root[data-theme="light"] .lab-schedule {
  border-color: var(--lavender-line);
  background: #ebe1f4;
}

:root[data-theme="light"] .lab-schedule-row {
  border-color: #ac98bc7d;
}

:root[data-theme="light"] .lab-schedule-row i:nth-of-type(1),
:root[data-theme="light"] .lab-schedule-key span:nth-child(1)::before {
  background: #7661b0;
}

:root[data-theme="light"] .lab-schedule-row i:nth-of-type(2),
:root[data-theme="light"] .lab-schedule-key span:nth-child(2)::before {
  background: #a4478f;
}

:root[data-theme="light"] .lab-schedule-row i:nth-of-type(3),
:root[data-theme="light"] .lab-schedule-key span:nth-child(3)::before {
  background: #9f5426;
}

:root[data-theme="light"] .lab-note {
  border-color: var(--accent);
  background: #a6774212;
}

:root[data-theme="light"] .lab-tracker tr:has(.lab-shot-input:checked) {
  background: #ead6e2;
  color: #4b283d;
}

:root[data-theme="light"] .lab-tracker label {
  text-decoration-color: var(--accent);
}

:root[data-theme="light"] :is(.callout, .studio-purpose) {
  background: linear-gradient(115deg, #f0d9c7, #fff6ed 74%);
  border-color: #b79681;
}

:root[data-theme="light"] .callout {
  border-inline-start-color: var(--accent);
}

:root[data-theme="light"] :is(.callout, .studio-purpose)::after {
  border-color: var(--accent);
}

:root[data-theme="light"] .experience-list li {
  color: var(--ink);
}

:root[data-theme="light"] .footer {
  background: linear-gradient(120deg, #ead9ca, #f6eee4 60%);
}

:root[data-theme="light"] .footer-email,
:root[data-theme="light"] :is(.project-search input, .contact-form input, .contact-form select, .contact-form textarea) {
  background: var(--panel);
  border-color: var(--control-line);
}

:root[data-theme="light"] .footer-email:hover,
:root[data-theme="light"] .filters button:is(:hover, :active) {
  border-color: var(--accent);
}

:root[data-theme="light"] .filters button {
  border-color: var(--control-line);
  background: var(--panel);
}

:root[data-theme="light"] .filters button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffaf4;
}
