/* WebGo Bookkeeper Theme V1 — Light default, Dark optional */
:root[data-theme="light"]{--bg:#f5f7fb;--panel:#ffffff;--panel2:#eef3f8;--line:rgba(15,35,55,.14);--cyan:#087ea4;--gold:#9a6a00;--green:#177a3f;--red:#c43d4b;--orange:#b96500;--soft:#425466;--white:#122230;--muted:#66788a;color-scheme:light}
:root[data-theme="light"] body{background:linear-gradient(145deg,#f7f9fc,#edf3f8 52%,#f8fafc)!important;color:#122230!important}
:root[data-theme="light"] .top{background:rgba(255,255,255,.94)!important;border-bottom:1px solid var(--line)!important}
:root[data-theme="light"] .card,:root[data-theme="light"] .kpi,:root[data-theme="light"] .queueCard,:root[data-theme="light"] .ledger-card,:root[data-theme="light"] .profile-card,:root[data-theme="light"] .folder-card,:root[data-theme="light"] .split-box,:root[data-theme="light"] .people-group-box,:root[data-theme="light"] .people-mini,:root[data-theme="light"] .table-wrap,:root[data-theme="light"] .shift-cloud-scroll,:root[data-theme="light"] .archive-cloud-scroll,:root[data-theme="light"] .branch-detail-scroll,:root[data-theme="light"] .health-breakdown-scroll{background:#fff!important;border-color:rgba(15,35,55,.13)!important;box-shadow:0 10px 28px rgba(27,45,65,.08)!important}
:root[data-theme="light"] .cloud{background:rgba(26,39,52,.42)!important}:root[data-theme="light"] .cloud-panel{background:#fff!important;border-color:rgba(8,126,164,.28)!important}
:root[data-theme="light"] input,:root[data-theme="light"] select,:root[data-theme="light"] textarea{background:#fff!important;color:#172b3a!important;border-color:rgba(8,126,164,.28)!important}
:root[data-theme="light"] label,:root[data-theme="light"] h1,:root[data-theme="light"] h2,:root[data-theme="light"] h3,:root[data-theme="light"] h4,:root[data-theme="light"] b,:root[data-theme="light"] strong,:root[data-theme="light"] td strong,:root[data-theme="light"] a.vendorLink{color:#172b3a!important}
:root[data-theme="light"] p,:root[data-theme="light"] .small,:root[data-theme="light"] td,:root[data-theme="light"] .nav a,:root[data-theme="light"] .kpi small{color:#526577!important}
:root[data-theme="light"] th{background:#eef3f7!important;color:#6e5700!important}:root[data-theme="light"] td,:root[data-theme="light"] th{border-bottom-color:rgba(15,35,55,.10)!important}
:root[data-theme="light"] .table-wrap thead th,:root[data-theme="light"] .loan-schedule-scroll thead th,:root[data-theme="light"] .branch-detail-scroll thead th,:root[data-theme="light"] .health-breakdown-scroll thead th{background:#e8eef4!important}
:root[data-theme="light"] .btn{background:#e9f0f6!important;color:#173047!important;border-color:rgba(15,35,55,.14)!important}:root[data-theme="light"] .primary{background:linear-gradient(135deg,#f3c95a,#a9e7f1)!important;color:#102430!important}
:root[data-theme="light"] .cyan{background:#c8eef4!important;color:#12313c!important}:root[data-theme="light"] .green{background:#d7f3df!important;color:#143c20!important}:root[data-theme="light"] .red{background:#f9dadd!important;color:#6c2028!important}:root[data-theme="light"] .orange{background:#f8e1c7!important;color:#5a3300!important}
:root[data-theme="light"] .module b,:root[data-theme="light"] .queueCard b,:root[data-theme="light"] .profile-grid b,:root[data-theme="light"] .people-mini b,:root[data-theme="light"] .people-group-head h3{color:#172b3a!important}
:root[data-theme="light"] .pill,:root[data-theme="light"] .tag,:root[data-theme="light"] .status,:root[data-theme="light"] .wg-universal-code{color:#16455a!important;background:rgba(8,126,164,.07)!important}
:root[data-theme="light"] .note,:root[data-theme="light"] .pos-connector-advice,:root[data-theme="light"] .retention-panel,:root[data-theme="light"] .branch-subcloud-warning{color:#6a5200!important;background:#fff8df!important}
:root[data-theme="light"] .compact-note,:root[data-theme="light"] .premium-note,:root[data-theme="light"] .model-compact-note{color:#174457!important;background:#eef9fb!important}
:root[data-theme="light"] .shift-rule,:root[data-theme="light"] .branch-subcloud-note,:root[data-theme="light"] .review-ready-line{color:#20582f!important;background:#eef9f1!important}
:root[data-theme="light"] .close{background:#eef3f7!important;color:#173047!important}
.webgo-theme-control{position:fixed;right:16px;bottom:16px;z-index:90;display:flex;gap:5px;padding:5px;border:1px solid rgba(15,35,55,.16);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 8px 28px rgba(0,0,0,.16);backdrop-filter:blur(10px)}
.webgo-theme-control button{border:0;border-radius:999px;padding:8px 11px;font-weight:900;font-size:11px;cursor:pointer;background:transparent;color:#314a5e}.webgo-theme-control button[aria-pressed="true"]{background:#173047;color:#fff}
:root[data-theme="dark"] .webgo-theme-control{background:rgba(2,8,18,.92);border-color:rgba(255,255,255,.16)}:root[data-theme="dark"] .webgo-theme-control button{color:#c8d9e8}:root[data-theme="dark"] .webgo-theme-control button[aria-pressed="true"]{background:#f7fbff;color:#102030}
@media(max-width:640px){.webgo-theme-control{right:10px;bottom:10px}.webgo-theme-control button{padding:7px 9px;font-size:10px}}/* Light QA coverage V1 */
:root[data-theme="light"] .item,:root[data-theme="light"] .box,:root[data-theme="light"] .form,:root[data-theme="light"] .result,:root[data-theme="light"] .app{background:#fff!important;border-color:rgba(15,35,55,.14)!important;color:#172b3a!important;box-shadow:0 10px 28px rgba(27,45,65,.08)!important}
:root[data-theme="light"] .lock{background:#eef6fb!important;color:#24516a!important}
:root[data-theme="light"] .secondary{background:#e9f0f6!important;color:#173047!important}
:root[data-theme="light"] .auth-card p,:root[data-theme="light"] .auth-grid label,:root[data-theme="light"] .meta,:root[data-theme="light"] .row{color:#526577!important}
:root[data-theme="light"] .row{border-bottom-color:rgba(15,35,55,.12)!important}
:root[data-theme="light"] .start-language,:root[data-theme="light"] .start-carousel,:root[data-theme="light"] .start-existing-access{background:#fff!important;border-color:rgba(15,35,55,.14)!important;box-shadow:0 12px 32px rgba(27,45,65,.08)!important}
:root[data-theme="light"] .start-language-buttons button,:root[data-theme="light"] .start-carousel-arrow,:root[data-theme="light"] .start-existing-btn.secondary{background:#eef4f8!important;color:#173047!important;border-color:rgba(15,35,55,.14)!important}
:root[data-theme="light"] .start-language-buttons button span,:root[data-theme="light"] .start-icon{background:#e8f5f8!important;color:#087ea4!important}
:root[data-theme="light"] .start-language-buttons button.active{background:#dff3f7!important;color:#173047!important;border-color:#087ea4!important}
:root[data-theme="light"] .start-sofia-label{background:rgba(255,255,255,.94)!important;color:#173047!important;border-color:rgba(15,35,55,.14)!important}
:root[data-theme="light"] .start-price-summary b{background:#eef9fb!important;color:#174457!important}
:root[data-theme="light"] .start-carousel-dot{background:#9cafbd!important}
:root[data-theme="light"] .sofia-guide,:root[data-theme="light"] .next{background:#fff!important;color:#172b3a!important;border-color:rgba(15,35,55,.14)!important;box-shadow:0 12px 34px rgba(27,45,65,.12)!important}
:root[data-theme="light"] .quick button,:root[data-theme="light"] .ask input{background:#f5f8fb!important;color:#173047!important;border-color:rgba(15,35,55,.14)!important}
:root[data-theme="light"] .paste,:root[data-theme="light"] .demo{background:#eef9fb!important;color:#174457!important}
:root[data-theme="light"] .status{color:#6a5200!important;background:#fff8df!important}
:root[data-theme="light"] .status.error{color:#7a2932!important;background:#fff0f2!important}
:root[data-theme="light"] .status.success{color:#20582f!important;background:#eef9f1!important}
:root[data-theme="light"] .divider:before,:root[data-theme="light"] .divider:after{background:rgba(15,35,55,.12)!important}
:root[data-theme="light"] .sofia-guide button{color:#173047!important}
