:root { color-scheme: light; --dialog-backdrop: #001a16cc; }
.theme-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 9px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 30px; background: transparent; min-height: 44px; padding: 10px 14px; font-size: 12px; white-space: nowrap; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle:hover { background: #e0e8d8; }
.theme-sun { display: none; }
html[data-theme="dark"] { color-scheme: dark; --paper: #15171a; --ink: #eceee9; --muted: #a8afac; --line: #343a3d; --lime: #b5ce8f; --surface: #22272b; --raised: #292f33; --dialog-backdrop: #06090dcc; }
[data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] ::selection { background: #b5ce8f; color: #17201a; }
[data-theme="dark"] :focus-visible { outline-color: #b5ce8f; }
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); opacity: .94; }
[data-theme="dark"] .theme-toggle:hover,[data-theme="dark"] .header-contact { background: var(--raised); }
[data-theme="dark"] .header-contact:hover { background: #363f39; }
[data-theme="dark"] .button,[data-theme="dark"] .shipment-ticket .button,[data-theme="dark"] .telegram-block .button { background: #dce2d2; color: #19211c; }
[data-theme="dark"] .button:not(:disabled):hover,[data-theme="dark"] .shipment-ticket .button:hover { background: #c6d1ba; }
[data-theme="dark"] .button:disabled { background: #30383a; color: #959e97; }
[data-theme="dark"] .skip { background: #dce2d2; color: #19211c; }
[data-theme="dark"] .hero { background: #1b2125; }
[data-theme="dark"] .hero-shade { background: linear-gradient(180deg,#10151b75,#10151b59 30%,#10151b3b 70%,#10151be0); }
[data-theme="dark"] .shipment-ticket,[data-theme="dark"] .destination-list,[data-theme="dark"] .docket { background: var(--surface); box-shadow: none; }
[data-theme="dark"] .ticket-cell,[data-theme="dark"] .docket-route { border-color: #424a4a; }
[data-theme="dark"] .docket-volume { background: var(--raised); border-color: var(--line); }
[data-theme="dark"] .ticket-cell>span,[data-theme="dark"] .experience-note { color: var(--muted); }
[data-theme="dark"] .board-title,[data-theme="dark"] .experience,[data-theme="dark"] .contact,[data-theme="dark"] .page-cta,[data-theme="dark"] .telegram-block,[data-theme="dark"] .address-sheet,[data-theme="dark"] .presentation-art { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .board-title h2,[data-theme="dark"] .company-facts b,[data-theme="dark"] .presentation-art strong { color: var(--lime); }
[data-theme="dark"] .board-title>p { color: var(--muted); }
[data-theme="dark"] .board-symbol { color: #87968d; }
[data-theme="dark"] .destination { border-color: var(--line); }
[data-theme="dark"] .destination-other { background: var(--raised); }
[data-theme="dark"] .destination-other a,[data-theme="dark"] .customs>a { border-color: #65716a; }
[data-theme="dark"] .destination-other a:hover,[data-theme="dark"] .customs>a:hover,[data-theme="dark"] .service-siblings a:hover { background: #37413b; }
[data-theme="dark"] summary:hover h3 { color: var(--lime); }
[data-theme="dark"] .customs,[data-theme="dark"] .company-links>a,[data-theme="dark"] .article-card { background: var(--raised); }
[data-theme="dark"] .cases,[data-theme="dark"] .options-section { background: #1b1f22; }
[data-theme="dark"] .docket-route:before,[data-theme="dark"] .docket-route:after { background: #1b1f22; }
[data-theme="dark"] .experience:before { background-image: linear-gradient(#ecf0e909 1px,transparent 1px),linear-gradient(90deg,#ecf0e909 1px,transparent 1px); }
[data-theme="dark"] .process li:before { color: #b4c69d; }
[data-theme="dark"] .contact-options,[data-theme="dark"] .contact-options a+a { border-color: #424a4a; }
[data-theme="dark"] .service-hero figure { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .service-hero figcaption { background: linear-gradient(transparent,#11161de6); }
[data-theme="dark"] .option-grid>article { background: var(--surface); }
[data-theme="dark"] .route-process li>span { background: #303831; color: var(--lime); }
[data-theme="dark"] .route-process li:not(:last-child):before { border-color: #526059; }
[data-theme="dark"] .company-network { background: var(--surface); }
[data-theme="dark"] .company-network img { filter: grayscale(1) brightness(.85); }
[data-theme="dark"] .company-facts { color: var(--ink); }
[data-theme="dark"] .job-description>.button { color: #19211c; }
[data-theme="dark"] dialog::backdrop { background: #06090dcc; }
@media (prefers-reduced-motion: no-preference) {
  .theme-toggle,.brand img { transition: background-color 350ms ease,filter 400ms ease; }
  .theme-changing body,.theme-changing .header,.theme-changing main *,.theme-changing .site-footer *,.theme-changing .nav-panel {
    transition: background-color 450ms ease,color 450ms ease,border-color 450ms ease;
  }
}
@media (max-width:1100px) { .theme-toggle { width: 44px; padding: 10px; } .theme-toggle>span { display: none; } }
@media (max-width:850px) { .theme-toggle { margin: 0; } }
