:root{--kc-surface:#fff;--kc-surface-soft:#f7f8f2;--kc-surface-raised:#fff;--kc-field:#fbfcf8;--kc-shadow:rgba(39,55,38,.05)}
html[data-theme="dark"]{--kc-ink:#eef4ee;--kc-muted:#a8b6ac;--kc-accent:#9cc9ad;--kc-paper:#0f1512;--kc-line:#2b3830;--kc-surface:#17201b;--kc-surface-soft:#1b2620;--kc-surface-raised:#202b25;--kc-field:#121a16;--kc-shadow:rgba(0,0,0,.3);--bs-body-color:#eef4ee;--bs-body-bg:#0f1512;--bs-primary:#9cc9ad;color-scheme:dark}
html[data-theme="dark"] body,html[data-theme="dark"] body.bg-dark{background:var(--kc-paper)!important;color:var(--kc-ink)!important}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4,html[data-theme="dark"] h5,html[data-theme="dark"] h6{color:var(--kc-ink)}
html[data-theme="dark"] p,html[data-theme="dark"] .text-secondary,html[data-theme="dark"] .text-muted,html[data-theme="dark"] .kc-field-hint{color:var(--kc-muted)!important}
html[data-theme="dark"] a{color:#a9d9b8}
html[data-theme="dark"] .kc-sidebar.sidebar,html[data-theme="dark"] .kc-topbar.navbar,html[data-theme="dark"] .kc-mobile-nav{background:var(--kc-surface)!important;border-color:var(--kc-line)}
html[data-theme="dark"] .kc-brand,html[data-theme="dark"] .kc-topbar.navbar a,html[data-theme="dark"] .kc-menu-button,html[data-theme="dark"] .kc-breadcrumb strong{color:var(--kc-ink)}
html[data-theme="dark"] .kc-business,html[data-theme="dark"] .kc-sidebar .menu a:hover{background:var(--kc-surface-soft);border-color:var(--kc-line)}
html[data-theme="dark"] .kc-sidebar .menu a{color:#aebbb1}
html[data-theme="dark"] .kc-sidebar .menu a.active{background:#477562;color:#fff}
html[data-theme="dark"] .kc-avatar{background:#294438;color:#c8ead2}
html[data-theme="dark"] .kc-sidebar-bottom a{border-color:var(--kc-line);color:var(--kc-muted)}
html[data-theme="dark"] .card,html[data-theme="dark"] .card.glass,html[data-theme="dark"] .glass,html[data-theme="dark"] .modal-content,html[data-theme="dark"] .kc-section,html[data-theme="dark"] .kc-package-choice,html[data-theme="dark"] .kc-calendar-day,html[data-theme="dark"] .kc-stat,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .chart-card,html[data-theme="dark"] .kc-date-card{background:var(--kc-surface)!important;color:var(--kc-ink)!important;border-color:var(--kc-line)!important;box-shadow:0 12px 35px var(--kc-shadow)!important}
html[data-theme="dark"] .kc-hero{background:linear-gradient(135deg,#213329,#17231d);border-color:#30473a}
html[data-theme="dark"] .kc-hero p{color:#b3c1b7!important}
html[data-theme="dark"] .kc-event,html[data-theme="dark"] .kc-share-card,html[data-theme="dark"] .kc-approved-list label,html[data-theme="dark"] .kc-order-row{border-color:var(--kc-line);color:var(--kc-ink)}
html[data-theme="dark"] .kc-event-date,html[data-theme="dark"] .kc-info-grid>div,html[data-theme="dark"] .kc-stat-icon,html[data-theme="dark"] .kc-progress span{background:var(--kc-surface-soft);border-color:var(--kc-line)}
html[data-theme="dark"] .form-control,html[data-theme="dark"] .form-select,html[data-theme="dark"] .input-group-text,html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:var(--kc-field)!important;border-color:#36463c!important;color:var(--kc-ink)!important;caret-color:var(--kc-ink)}
html[data-theme="dark"] .form-control::placeholder,html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#78877d!important}
html[data-theme="dark"] select option{background:#17201b;color:#eef4ee}
html[data-theme="dark"] .form-label,html[data-theme="dark"] .kc-field-label,html[data-theme="dark"] .kc-field-title{color:#dce7df}
html[data-theme="dark"] .btn-outline-primary,html[data-theme="dark"] .btn-outline-success,html[data-theme="dark"] .btn-outline-secondary,html[data-theme="dark"] .btn-outline-light{background:var(--kc-surface-raised)!important;border-color:#405247!important;color:#c5e3cf!important}
html[data-theme="dark"] .btn-primary,html[data-theme="dark"] .btn-success{background:#477562!important;border-color:#578972!important}
html[data-theme="dark"] .table{--bs-table-bg:transparent;--bs-table-color:#dce7df;--bs-table-striped-bg:#1a251f;--bs-table-hover-bg:#223028;color:#dce7df!important}
html[data-theme="dark"] .table thead th{background:#1d2922!important;color:#aebbb1!important}
html[data-theme="dark"] .table>:not(caption)>*>*{border-color:var(--kc-line);color:inherit!important}
html[data-theme="dark"] .table-responsive{border-color:var(--kc-line)}
html[data-theme="dark"] .kc-notice{background:#1c2b22;color:#b9cbbd;border-left-color:#75a486}
html[data-theme="dark"] .kc-order-list a,html[data-theme="dark"] .kc-order-list .kc-order-main,html[data-theme="dark"] .kc-order-row .kc-list-amount{color:#dce7df}
html[data-theme="dark"] .kc-order-list a:hover,html[data-theme="dark"] .kc-order-row:hover,html[data-theme="dark"] .kc-user-row:hover{background:#1b2821}
html[data-theme="dark"] .kc-team-calendar-grid .kc-calendar-day .kc-team-event-card,html[data-theme="dark"] .kc-calendar-day a{background:#2b4436;color:#d9eddf}
html[data-theme="dark"] .kc-team-calendar-grid .kc-team-event-time{background:rgba(9,15,11,.62)}
html[data-theme="dark"] .kc-quick-status,html[data-theme="dark"] .kc-user-switches{background:var(--kc-surface-soft);border-color:var(--kc-line)}
html[data-theme="dark"] .kc-invoice{box-shadow:0 14px 40px rgba(0,0,0,.18)}
html[data-theme="dark"] .kc-addon-offer aside{background:#213229}
html[data-theme="dark"] .alert-warning{background:#3b321d;border-color:#6d5a28;color:#f1dda6}
html[data-theme="dark"] .alert-danger{background:#3b2222;border-color:#774040;color:#f1b4b4}
html[data-theme="dark"] .alert-success{background:#203529;border-color:#3f6c50;color:#bfe5ca}
html[data-theme="dark"] .bg-secondary-subtle{background:#2c3831!important;color:#dce7df!important}
html[data-theme="dark"] .kc-auth-story{background:linear-gradient(145deg,#20372d,#121c17)}
html[data-theme="dark"] .kc-auth-story h1,html[data-theme="dark"] .kc-auth-story p{color:#f0f5ed!important}
html[data-theme="dark"] .kc-account-status{background:linear-gradient(135deg,#382322,#1a1f1b)!important;border-color:#613c39!important}

.kc-theme-control{position:relative;z-index:1085;color:var(--kc-ink,#253c33)}
.kc-theme-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 11px;border:1px solid var(--kc-line,#e4e8df);border-radius:10px;background:var(--kc-surface,#fff);color:inherit;font-size:11px;font-weight:700;box-shadow:0 6px 18px var(--kc-shadow,rgba(0,0,0,.05))}
.kc-theme-moon{display:none}html[data-theme="dark"] .kc-theme-sun{display:none}html[data-theme="dark"] .kc-theme-moon{display:inline}
.kc-theme-menu{position:absolute;top:calc(100% + 9px);right:0;width:245px;padding:8px;background:var(--kc-surface,#fff);border:1px solid var(--kc-line,#e4e8df);border-radius:14px;box-shadow:0 18px 50px rgba(20,35,27,.18)}
.kc-theme-menu[hidden]{display:none}.kc-theme-menu button{display:grid;grid-template-columns:25px 1fr;gap:9px;width:100%;padding:10px;border:0;border-radius:9px;background:transparent;color:inherit;text-align:left}.kc-theme-menu button:hover,.kc-theme-menu button.is-active{background:var(--kc-surface-soft,#f4f6ef)}.kc-theme-menu button.is-active{box-shadow:inset 3px 0 var(--kc-accent,#31594c)}.kc-theme-menu button>span:last-child{font-size:12px;font-weight:700}.kc-theme-menu small{display:block;margin-top:2px;color:var(--kc-muted,#738078);font-size:10px;font-weight:400}
body>.kc-theme-control{position:fixed;top:18px;right:18px}.vs-nav .kc-theme-control{margin-left:auto}.vs-nav .kc-theme-button-text{display:none}
html[data-theme="dark"][data-vendor-theme]{--ink:#f2f6f1;--muted:#adbbb1;--paper:#0f1612;--card:#18221c;--accent:#9fc9ae;--soft:#223128;--line:#304038}
html[data-theme="dark"] .vs-btn{color:#102017}.vs-nav .kc-theme-menu{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
@media(max-width:800px){.kc-theme-button-text{display:none}.kc-theme-button{width:38px;padding:7px}.kc-theme-menu{position:fixed;top:70px;right:14px;width:min(245px,calc(100vw - 28px))}.vs-nav .kc-theme-menu{top:72px}.vs-nav nav{gap:10px}}
@media print{.kc-theme-control{display:none!important}html[data-theme="dark"] body{background:#fff!important;color:#253c33!important}}
html[data-theme="dark"] .kc-invoice-note-block,html[data-theme="dark"] .kc-invoice-footer{border-color:var(--kc-line)}
