/* Light is the default; dark rules apply only after using the switch. */
.goliath-mode-bar{position:absolute;top:88px;left:22px;z-index:80;display:flex;align-items:center;justify-content:center;background:transparent;color:#28303c;font:11px Helvetica,Arial,sans-serif;gap:5px;width:150px;max-width:calc(100vw - 24px);height:24px}


.goliath-mode-switch{width:30px;height:18px;padding:2px;border:1px solid #8993a0;border-radius:20px;background:#d4d9df;cursor:pointer;display:flex;align-items:center}
.goliath-mode-switch::after{content:'';width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.goliath-mode-switch[aria-checked=true]{background:#a6192e;border-color:#e47786}
.goliath-mode-switch[aria-checked=true]::after{transform:translateX(12px)}
.goliath-mode-switch:focus-visible{outline:3px solid #368eea;outline-offset:3px}
html.goliath-dark{color-scheme:dark;--ink:#f1f1f1;--muted:#c0c4ca;--line:#555;--surface:#333;--red:#ff8797;--red-dark:#f6a0ac;background:#2a2a2a}
html.goliath-dark body{background:#2a2a2a!important;color:#f1f1f1!important}
html.goliath-dark :is(header,footer,dialog,section,article,thead,tbody,th,td,.topbar,.controls,.floating-menu,.floating-menu-items,.card,.agent-card,.name-row,.editor-panel,.dialog-shell,.notes-editor,.portal-doc,.hub-mention-panel,.hub-mention-suggestions,.gg-dialog,.gg-question,.gg-answer,.gg-tools,.gg-header,.gg-footer,[class$="-panel"],[class$="-card"],[class$="-modal"]){background-color:#333!important;color:#f1f1f1!important;border-color:#555!important}
html.goliath-dark :is(h1,h2,h3,h4,p,label,summary,strong,small,span,li,dt,dd){color:inherit}
html.goliath-dark :is(a,.gg-question summary){color:#ff9bab!important}
html.goliath-dark :is(input,textarea,select,option){background:#262626!important;color:#f5f5f5!important;border-color:#777!important}
html.goliath-dark input::placeholder,html.goliath-dark textarea::placeholder{color:#bcbcbc}
html.goliath-dark :is(button,.button-secondary,.floating-menu-item){background-color:#414141!important;color:#f5f5f5!important;border-color:#777!important}
html.goliath-dark :is(button:hover,.floating-menu-item:hover,.hub-mention-suggestions button[aria-selected=true]){background-color:#535353!important}
html.goliath-dark :is(.button-primary,.button-danger){background-color:#a6192e!important;color:#fff!important}
html.goliath-dark :is(.website-note,.update-row,.repeater-row,.gg-notice,[class$="-note"]){background-color:#393939!important;color:#e4e4e4!important}
html.goliath-dark .goliath-mode-bar{background:transparent;color:#f1f1f1;border-color:#555}
html.goliath-dark .goliath-mode-switch[aria-checked=true]{background:#a6192e!important}
@media(prefers-reduced-motion:reduce){.goliath-mode-switch::after{transition:none}}
@media print{.goliath-mode-bar{display:none}html.goliath-dark body{background:white!important;color:black!important}}
html.goliath-dark :is(.agent-name-row,.card-details,.card-top,.user-row,.mini-row,.compact-file-row,.portal-report-row,.cert-record-row,.chat-panel,.chat-messages,.chat-message,.chat-header,.gg-body,.gg-reminder){background-color:#333!important;color:#f1f1f1!important;border-color:#555!important}
html.goliath-dark :is(.agent-name-row.active-prospect,.record-card.active-prospect){background-color:#303e4e!important}
