/* Shared shell, independent of Tailwind availability. */
#dg-header,#dg-menu{font-family:'JetBrains Mono',monospace;color:#1e293b;font-size:14px;line-height:1.5}
#dg-header *,#dg-menu *{box-sizing:border-box}
#dg-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid #e2e8f0;width:100%;flex-shrink:0}
#dg-header .dg-header-inner{max-width:1280px;margin:auto;padding:0 24px;height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.dg-logo img{height:36px;width:auto;max-width:190px;display:block}
.dg-clocks{display:flex;gap:20px;font-size:11px;color:#64748b}.dg-clocks b{color:#475569;font-weight:600}.dg-clocks>span{white-space:nowrap}
.dg-actions{display:flex;align-items:center;gap:12px}
#dg-header button,#dg-menu button{font:inherit;cursor:pointer;border:0;background:transparent;color:inherit}
#dg-header a,#dg-menu a{text-decoration:none;color:inherit;cursor:pointer}
#dg-header .dg-switch,#dg-menu .dg-switch{display:flex;gap:4px;padding:4px;border:1px solid #e2e8f0;background:#fff;border-radius:8px;font-size:12px;font-weight:700}
#dg-header .dg-switch button,#dg-menu .dg-switch button{padding:4px 10px;border-radius:4px}
#dg-header .dg-switch .dg-selected,#dg-menu .dg-switch .dg-selected{background:#0f172a;color:white}
#dg-menu-button{padding:8px 12px!important;border:1px solid #e2e8f0!important;border-radius:12px;font-size:12px!important;font-weight:700!important;white-space:nowrap}
#dg-header .dg-cta,#dg-menu .dg-cta{background:#00f59b;color:#020617;border-radius:999px;padding:14px 20px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;text-align:center;animation:dg-glow 3s ease-in-out infinite}
#dg-header .dg-header-cta{padding:10px 20px}
#dg-menu[hidden]{display:none!important}
#dg-menu{position:fixed;inset:0;z-index:1000}
.dg-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(4px)}
.dg-panel{position:absolute;right:0;top:0;bottom:0;width:min(100%,384px);background:#fff;padding:24px;box-shadow:-10px 0 40px #0002;display:flex;flex-direction:column;justify-content:space-between;overflow-y:auto;overscroll-behavior:contain}
.dg-panel-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:24px;border-bottom:1px solid #f1f5f9;color:#94a3b8;font-size:12px;font-weight:700}
.dg-panel-top i{display:inline-block;width:8px;height:8px;background:#10b981;border-radius:50%;margin-right:6px}
#dg-close{padding:8px!important;font-size:18px!important}
.dg-language{margin:24px 0;padding:16px;border-radius:12px;background:#f8fafc;border:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#64748b;font-weight:600}
#dg-menu nav{display:flex;flex-direction:column;gap:12px;font-size:14px;font-weight:600}
#dg-menu nav a{padding:8px 0;display:flex;align-items:center;justify-content:space-between}
#dg-menu nav a:hover,#dg-menu nav a[aria-current="page"]{color:#059669}
.dg-arrow{color:#94a3b8;font-size:12px}#dg-menu nav a[aria-current="page"] .dg-arrow{color:#10b981}
.dg-panel-bottom{margin-top:32px;padding-top:24px;border-top:1px solid #f1f5f9}
#dg-header button:focus-visible,#dg-menu button:focus-visible,#dg-menu a:focus-visible{outline:2px solid #059669;outline-offset:4px}
@keyframes dg-glow{0%,100%{box-shadow:0 0 15px #00f59b66}50%{box-shadow:0 0 25px #00f59bcc}}
@media(max-width:1100px){.dg-clocks{display:none}}
@media(max-width:640px){#dg-header .dg-header-inner{padding:0 16px;gap:8px;height:72px}.dg-logo img{height:28px;max-width:140px}.dg-actions{gap:8px}#dg-header .dg-header-cta{display:none}}
@media(prefers-reduced-motion:reduce){#dg-header .dg-cta,#dg-menu .dg-cta{animation:none}}
