/* Original palette recovered from the pre-polish Guno stylesheet.
   Layout, responsive navigation, logos, award vectors and user content stay intact. */
:root[data-guno-theme="classic"] { color-scheme:light; --guno-theme-bg:#fafafa; --guno-theme-ink:#222; --guno-theme-link:#0000cc; }
html[data-guno-theme="classic"] body { background:#fafafa!important;color:#222!important;font-family:Arial,Helvetica,sans-serif!important; }
html[data-guno-theme="classic"] :is(h1,h2,h3,h4) { color:#0000cc!important;font-family:Georgia,"Times New Roman",serif!important; }
html[data-guno-theme="classic"] a { color:#0000cc; text-underline-offset:3px; }
html[data-guno-theme="classic"] :is(.panel,.gd-panel,.gd-card,.gr-panel,.gr-card,.requirements-box,.guno-header,.guno-submit-link,.search-box input,.search-box button,.guno-menu-toggle) { border-radius:0!important;box-shadow:none!important; }
html[data-guno-theme="classic"] :is(.panel,.gd-panel,.gd-card,.gr-panel,.gr-card) { border-color:#aaa!important;background:#fff!important; }
html[data-guno-theme="classic"] .guno-header { background:#fafafa!important;border-bottom:1px solid #ccc!important; }
html[data-guno-theme="classic"] :is(.newsletter-signup,.crawler-note,.info,.note) { background:#ffffdd!important;border-radius:0!important;color:#222!important; }
html[data-guno-theme="classic"] :is(button,input[type="submit"],.gd-button) { border-radius:0!important; }
:root[data-guno-theme="night"] { color-scheme:dark; --guno-theme-bg:#111724; --guno-theme-ink:#e6eaf2; --guno-theme-link:#a8bcff; }
html[data-guno-theme="night"] { background:#111724!important; }
html[data-guno-theme="night"] body { background:#111724!important;color:#e6eaf2!important; }
html[data-guno-theme="night"] body :is(div,section,article,aside,header,footer,blockquote,fieldset,details,summary) { background-color:#192234!important; }
html[data-guno-theme="night"] body :is(small,span,strong,em,legend,dt,dd) { color:#e6eaf2!important; }
html[data-guno-theme="night"] :is(.guno-header,.guno-mobile-menu,.guno-menu-top,.guno-menu-bottom,.panel,.gd-panel,.gd-card,.gr-panel,.gr-card,.requirements-box,.submit-form,.newsletter-signup,.crawler-note,.info,.note,.message,.site-item,.result-item,.footer,.ff-panel,.ff-table,.ff-table td,.ff-table th) { background:#192234!important;color:#e6eaf2!important;border-color:#53617c!important; }
html[data-guno-theme="night"] :is(h1,h2,h3,h4,h5,p,label,li,.intro,.help-text,.result-snippet,.site-description,.section-label,.footer-bottom,.gd-note) { color:#e6eaf2!important; }
html[data-guno-theme="night"] a { color:#a8bcff!important; }
html[data-guno-theme="night"] a:visited { color:#d0b3ff!important; }
html[data-guno-theme="night"] :is(input,textarea,select,button) { background:#111724!important;color:#f0f3fa!important;border-color:#7888aa!important; }
html[data-guno-theme="night"] :is(input,textarea)::placeholder { color:#adb7cc!important;opacity:1; }
html[data-guno-theme="night"] :is(.ff-wrap,.ff-box,.ff-header,.ff-status,.ff-nav,.ff-message,.ff-breadcrumb) { background:#192234!important;color:#e6eaf2!important;border-color:#53617c!important; }
html[data-guno-theme="night"] :is(.guno-submit-link,.gd-button,.gr-button,input[type="submit"],button[type="submit"]) { background:#263c7b!important;color:#fff!important; }
html[data-guno-theme="night"] :is(.result-url,.site-url) { color:#9adab4!important; }
html[data-guno-theme="night"] :is(.guno-header img,.guno-brand img) { background:#fff;border-radius:4px;padding:3px;box-sizing:content-box; }
.guno-theme-control { display:flex;gap:8px;align-items:center;flex-wrap:wrap;max-width:100%;margin:24px auto;padding:12px 16px;width:fit-content;border:1px solid #aaa;background:var(--guno-theme-bg,#fff);color:var(--guno-theme-ink,#222);font:14px/1.5 Arial,Helvetica,sans-serif; }
.guno-theme-control label { font-weight:bold; }
.guno-theme-control select { max-width:100%;padding:8px;font:inherit;min-height:42px; }
.guno-theme-control small { display:block;flex-basis:100%;font-size:12px; }
@media(prefers-reduced-motion:no-preference) { .guno-theme-control select { transition:border-color .15s; } }
@media print { .guno-theme-control { display:none; } html[data-guno-theme] body { background:#fff!important;color:#000!important; } }
