.theme-control {
  display: inline-flex;
  align-items: center;
  margin-inline-start: auto;
  flex-shrink: 0;
}
.theme-control select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 0 4px 0 8px;
  font-size: 13px;
  cursor: pointer;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1b1a21;
  --white: #282630;
  --ink: #f3f0ea;
  --muted: #c0bdc6;
  --line: #55515e;
  --purple: #c2aafa;
  --lilac: #393047;
  --lime: #39402c;
}
[data-theme="dark"] .site-header { background: rgba(27, 26, 33, .96); }
[data-theme="dark"] .work-section { background: #221f29; }
[data-theme="dark"] .project-art { background: #313936; }
[data-theme="dark"] .button:hover { background: #d9c7ff; border-color: #d9c7ff; }
[data-theme="dark"] .project-open,
[data-theme="dark"] .skip-link { color: var(--paper); }
[data-theme="dark"] .contact-section { background: #151419; color: var(--ink); }
[data-theme="dark"] .contact-panel { background: var(--white); }
[data-theme="dark"] .contact-frame { color-scheme: light; }
[data-theme="dark"] .price-copy > p.price-detail,
[data-theme="dark"] .row-number { color: var(--muted); }
[data-theme="dark"] .privacy-notice,
[data-theme="dark"] .intro-offer-label,
[data-theme="dark"] .preview-badge { background: var(--lilac); color: #e6d7ff; }
[data-theme="dark"] .status-dot { box-shadow: 0 0 0 4px #453854; }
[data-theme="dark"] ::selection { color: #211b2b; background: #d4c8fa; }
@media (max-width: 600px) {
  .header-inner { gap: 8px; }
  .site-header .underlined-link { max-width: 95px; }
}
