:root{--color-blue-50:#fef2f2;--color-blue-100:#fee2e2;--color-blue-150:#fecaca;--color-blue-200:#fecaca;--color-blue-250:#fca5a5;--color-blue-300:#fca5a5;--color-blue-350:#f87171;--color-blue-400:#f87171;--color-blue-450:#ef4444;--color-blue-500:#ef4444;--color-blue-550:#dc2626;--color-blue-600:#dc2626;--color-blue-650:#b91c1c;--color-blue-700:#b91c1c;--color-blue-750:#991b1b;--color-blue-800:#991b1b;--color-blue-850:#7f1d1d;--color-blue-900:#7f1d1d;--color-blue-950:#450a0a;--color-success-50:#fef2f2;--color-success-100:#fee2e2;--color-success-150:#fecaca;--color-success-200:#fecaca;--color-success-250:#fca5a5;--color-success-300:#fca5a5;--color-success-350:#f87171;--color-success-400:#f87171;--color-success-450:#ef4444;--color-success-500:#ef4444;--color-success-550:#dc2626;--color-success-600:#dc2626;--color-success-650:#b91c1c;--color-success-700:#b91c1c;--color-success-750:#991b1b;--color-success-800:#991b1b;--color-success-850:#7f1d1d;--color-success-900:#7f1d1d;--color-success-950:#450a0a;--font-body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-mono:"SF Mono","JetBrains Mono",Menlo,Consolas,monospace;--base-body-size:14;--style-radius-s:6px;--style-radius-m:8px;--style-radius-l:12px;--accessibility-outline:2px solid #dc2626}[data-theme=light]{--theme-bg:#f2f2f7;--theme-elevation-0:#f2f2f7;--theme-elevation-50:#f5f5f5;--theme-elevation-100:#fafafa;--theme-elevation-150:#fff;--theme-elevation-200:#fff;--theme-elevation-250:#fff;--theme-elevation-300:#e5e5e5;--theme-elevation-350:#d4d4d4;--theme-elevation-400:#d4d4d4;--theme-elevation-450:#a3a3a3;--theme-elevation-500:#737373;--theme-elevation-550:#525252;--theme-elevation-600:#525252;--theme-elevation-650:#404040;--theme-elevation-700:#404040;--theme-elevation-750:#262626;--theme-elevation-800:#262626;--theme-elevation-850:#171717;--theme-elevation-900:#171717;--theme-elevation-950:#0a0a0a;--theme-elevation-1000:#000;--theme-input-bg:#fff;--theme-border-color:#e5e5e5;--theme-text:#171717;--theme-overlay:#17171780;--theme-success-50:#fef2f2;--theme-success-100:#fee2e2;--theme-success-150:#fecaca;--theme-success-200:#fecaca;--theme-success-250:#fca5a5;--theme-success-300:#fca5a5;--theme-success-350:#f87171;--theme-success-400:#f87171;--theme-success-450:#ef4444;--theme-success-500:#ef4444;--theme-success-550:#dc2626;--theme-success-600:#dc2626;--theme-success-650:#b91c1c;--theme-success-700:#b91c1c;--theme-success-750:#991b1b;--theme-success-800:#991b1b;--theme-success-850:#7f1d1d;--theme-success-900:#7f1d1d;--theme-success-950:#450a0a;--accessibility-outline:2px solid #dc2626}[data-theme=dark]{--theme-bg:#0a0a0a;--theme-elevation-0:#0a0a0a;--theme-elevation-50:#171717;--theme-elevation-100:#1a1a1a;--theme-elevation-150:#262626;--theme-elevation-200:#2a2a2a;--theme-elevation-250:#333;--theme-elevation-300:#404040;--theme-elevation-350:#4a4a4a;--theme-elevation-400:#525252;--theme-elevation-450:#666;--theme-elevation-500:#737373;--theme-elevation-550:#a3a3a3;--theme-elevation-600:#a3a3a3;--theme-elevation-650:#d4d4d4;--theme-elevation-700:#e5e5e5;--theme-elevation-750:#e5e5e5;--theme-elevation-800:#f5f5f5;--theme-elevation-850:#f5f5f5;--theme-elevation-900:#fafafa;--theme-elevation-950:#fff;--theme-elevation-1000:#fff;--theme-input-bg:#171717;--theme-border-color:#333;--theme-text:#fafafa;--theme-overlay:#000000b3;--theme-success-50:#450a0a;--theme-success-100:#7f1d1d;--theme-success-150:#991b1b;--theme-success-200:#991b1b;--theme-success-250:#b91c1c;--theme-success-300:#b91c1c;--theme-success-350:#dc2626;--theme-success-400:#dc2626;--theme-success-450:#ef4444;--theme-success-500:#ef4444;--theme-success-550:#f87171;--theme-success-600:#f87171;--theme-success-650:#fca5a5;--theme-success-700:#fca5a5;--theme-success-750:#fecaca;--theme-success-800:#fecaca;--theme-success-850:#fee2e2;--theme-success-900:#fee2e2;--theme-success-950:#fef2f2;--accessibility-outline:2px solid #f87171}.nav{border-right:1px solid var(--theme-border-color)}.nav__label{text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:600;color:#737373!important}[data-theme=dark] .nav__label{color:#a3a3a3!important}.nav-group__toggle{color:#737373!important}[data-theme=dark] .nav-group__toggle{color:#a3a3a3!important}.nav-group__link.active{color:#dc2626!important}[data-theme=dark] .nav-group__link.active{color:#f87171!important}.btn{border-radius:12px;font-weight:600;transition:all .15s}.btn--size-small{border-radius:8px}.card{border:1px solid var(--theme-border-color);border-radius:24px;box-shadow:3px 4px 4px #0000001f}[data-theme=dark] .card{box-shadow:0 2px 8px #0000004d}.table{border-radius:16px;overflow:hidden}.table .row-1{text-transform:none;font-weight:600}.collection-list{border-radius:16px;overflow:hidden}input,textarea,select,.react-select__control{transition:border-color .2s,box-shadow .2s;border-radius:12px!important}input:focus,textarea:focus,select:focus,.react-select__control--is-focused{box-shadow:0 1px 2px #00000026!important}.react-select__menu,.popup__content,.popup-button-list__content{overflow:hidden;border-radius:16px!important;box-shadow:0 4px 16px #0000001f!important}[data-theme=dark] .react-select__menu,[data-theme=dark] .popup__content,[data-theme=dark] .popup-button-list__content{box-shadow:0 4px 16px #00000059!important}.modal__content,.drawer__content,.edit-view__main{border-radius:24px}.pill{border-radius:9999px;font-weight:600;box-shadow:0 1px 2px #00000026}.tooltip-content,.tooltip{border-radius:8px;box-shadow:0 2px 8px #00000014}.collection-edit .doc-header{border-bottom:1px solid var(--theme-border-color)}.group-field,.field-type.array .array-field__row{border-radius:16px;overflow:hidden}.tabs-field__tabs{border-radius:12px;overflow:hidden}.upload-card,.thumbnail{border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #00000026}.doc-controls{border-radius:16px}.dashboard__card .widget,.dashboard__card .widget-content{height:100%}.db-widget{background:var(--theme-input-bg);border:1px solid var(--theme-border-color);box-sizing:border-box;border-radius:24px;height:100%;padding:24px;position:relative;overflow:hidden;box-shadow:3px 4px 4px #0000001f}[data-theme=dark] .db-widget{box-shadow:0 2px 8px #0000004d}.db-widget__header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;display:flex}.db-widget__title{color:var(--theme-text);letter-spacing:-.006em;align-items:center;gap:8px;font-size:14px;font-weight:600;line-height:1.4;display:flex}.db-widget__title-icon{width:16px;height:16px;color:var(--theme-elevation-500);flex-shrink:0}.db-widget__subtitle{color:var(--theme-elevation-500);margin-top:3px;font-size:12px;font-weight:400;line-height:1.4}.db-widget__badge{white-space:nowrap;background:var(--theme-elevation-50);color:var(--theme-elevation-600);border-radius:9999px;padding:2px 8px;font-size:11px;font-weight:500}.db-widget__badge--alert{color:#dc2626;background:#fee2e2}[data-theme=dark] .db-widget__badge--alert{color:#fca5a5;background:#dc262626}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;display:grid}.kpi-card{background:var(--theme-input-bg);flex-direction:column;gap:4px;padding:16px;display:flex}.kpi-card__label{color:var(--theme-elevation-500);align-items:center;gap:6px;font-size:12px;font-weight:500;line-height:1.4;display:flex}.kpi-card__value{color:var(--theme-text);letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:700;line-height:1.1}.kpi-card__value--primary{color:#dc2626}.kpi-card__value--muted{color:var(--theme-elevation-500)}.kpi-card__value--success{color:#16a34a}.kpi-card__value--warning{color:#d97706}.kpi-card__value--danger,.kpi-card__value--blue,.kpi-card__value--green,.kpi-card__value--amber,.kpi-card__value--red,.kpi-card__value--purple{color:#dc2626}.kpi-card__delta{align-items:center;gap:3px;margin-top:4px;font-size:12px;font-weight:500;display:inline-flex}.kpi-card__delta--up{color:#16a34a}.kpi-card__delta--down{color:#dc2626}.kpi-card__delta--neutral{color:var(--theme-elevation-500)}.pulse-dot{background:#dc2626;border-radius:50%;width:7px;height:7px;animation:2s cubic-bezier(.4,0,.6,1) infinite pulse-ring;display:inline-block}@keyframes pulse-ring{0%,to{opacity:1;box-shadow:0 0 #dc262666}50%{opacity:.7;box-shadow:0 0 0 4px #dc262600}}.bar-chart{flex-direction:column;gap:10px;display:flex}.bar-chart__row{align-items:center;gap:12px;display:flex}.bar-chart__rank{color:var(--theme-elevation-450);text-align:right;font-variant-numeric:tabular-nums;min-width:24px;font-size:12px;font-weight:500}.bar-chart__label{color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:150px;font-size:13px;font-weight:500;overflow:hidden}.bar-chart__track{background:var(--theme-elevation-50);border-radius:8px;flex:1;height:24px;position:relative;overflow:hidden}.bar-chart__fill{border-radius:8px;justify-content:flex-end;align-items:center;min-width:32px;height:100%;padding-right:8px;transition:width .5s cubic-bezier(.25,1,.5,1);display:flex}.bar-chart__fill--1{background:#dc2626}.bar-chart__fill--2{background:#b91c1c}.bar-chart__fill--3{background:#ef4444}.bar-chart__fill--4{background:#f87171}.bar-chart__fill--5{background:#fca5a5}.bar-chart__fill--6{background:#fecaca}.bar-chart__fill--7{background:#fee2e2}.bar-chart__fill--8{background:#fef2f2}.bar-chart__fill--blue{background:#dc2626}.bar-chart__fill--green{background:#b91c1c}.bar-chart__fill--amber{background:#ef4444}.bar-chart__fill--purple{background:#f87171}.bar-chart__fill--cyan{background:#fca5a5}.bar-chart__fill--pink{background:#991b1b}.bar-chart__fill--indigo{background:#7f1d1d}.bar-chart__fill--red,.bar-chart__fill--alert{background:#dc2626}.bar-chart__fill--warn{background:#d97706}.bar-chart__fill--5 .bar-chart__count,.bar-chart__fill--6 .bar-chart__count,.bar-chart__fill--7 .bar-chart__count,.bar-chart__fill--8 .bar-chart__count,.bar-chart__fill--cyan .bar-chart__count{color:var(--theme-text)}.bar-chart__count{color:#fff;font-variant-numeric:tabular-nums;font-size:11px;font-weight:600}.bar-chart__count--outside{color:var(--theme-elevation-500);text-align:right;min-width:30px;font-size:12px;font-weight:500}.leaderboard{flex-direction:column;gap:2px;display:flex}.leaderboard__item{border-radius:8px;align-items:center;gap:12px;padding:10px 12px;transition:background .1s;display:flex}.leaderboard__item:hover{background:var(--theme-elevation-50)}.leaderboard__position{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;min-width:22px;height:22px;font-size:12px;font-weight:700;display:flex}.leaderboard__position--1{color:#fff;background:#dc2626}.leaderboard__position--2{color:#7f1d1d;background:#fca5a5}.leaderboard__position--3{color:#991b1b;background:#fecaca}.leaderboard__position--other{background:var(--theme-elevation-100);color:var(--theme-elevation-500)}.leaderboard__position--status,.leaderboard__position--alert,.leaderboard__position--warn{background:0 0;font-size:18px;line-height:1}.leaderboard__count--red{color:#dc2626!important}.leaderboard__count--amber{color:#d97706!important}.leaderboard__count--green{color:#16a34a!important}.leaderboard__info{flex:1;min-width:0}.leaderboard__name{color:var(--theme-text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.leaderboard__meta{color:var(--theme-elevation-500);margin-top:1px;font-size:11px}.leaderboard__count{color:var(--theme-text);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:18px;font-weight:600}.leaderboard__suffix{color:var(--theme-elevation-500);margin-left:2px;font-size:11px;font-weight:400}.specialty-badge{background:var(--theme-elevation-100);color:var(--theme-elevation-600);letter-spacing:.01em;border-radius:4px;align-items:center;padding:1px 6px;font-size:10px;font-weight:500;display:inline-flex}.donut-wrapper{flex-wrap:wrap;justify-content:center;align-items:center;gap:32px;display:flex}.donut{border-radius:50%;flex-shrink:0;width:140px;height:140px;position:relative}.donut__center{text-align:center;background:var(--theme-input-bg);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:84px;height:84px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.donut__center-value{color:var(--theme-text);letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:24px;font-weight:700;line-height:1}.donut__center-label{color:var(--theme-elevation-500);margin-top:2px;font-size:11px}.donut-legend{flex-direction:column;gap:12px;display:flex}.donut-legend__item{align-items:center;gap:10px;display:flex}.donut-legend__dot{border-radius:3px;flex-shrink:0;width:10px;height:10px}.donut-legend__dot--green{background:#16a34a}.donut-legend__dot--amber{background:#d97706}.donut-legend__dot--red{background:#dc2626}.donut-legend__label{color:var(--theme-text);font-size:13px;font-weight:400}.donut-legend__value{color:var(--theme-text);font-variant-numeric:tabular-nums;margin-left:auto;font-size:13px;font-weight:600}.donut-legend__pct{color:var(--theme-elevation-500);font-variant-numeric:tabular-nums;margin-left:4px;font-size:11px}.vbar-chart{align-items:flex-end;gap:6px;height:160px;padding-top:12px;display:flex}.vbar-chart__col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:6px;height:100%;display:flex}.vbar-chart__bar-wrapper{flex:1;justify-content:center;align-items:flex-end;width:100%;display:flex}.vbar-chart__bar{border-radius:6px 6px 2px 2px;width:100%;max-width:44px;min-height:2px;transition:height .5s cubic-bezier(.25,1,.5,1);position:relative}.vbar-chart__bar--blue{background:#fca5a5}[data-theme=dark] .vbar-chart__bar--blue{background:#7f1d1d}.vbar-chart__bar--current{background:#dc2626}[data-theme=dark] .vbar-chart__bar--current{background:#f87171}.vbar-chart__value{color:var(--theme-text);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.vbar-chart__label{color:var(--theme-elevation-500);text-transform:uppercase;letter-spacing:.02em;font-size:11px;font-weight:500}.db-widget__empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:32px 16px;display:flex}.db-widget__empty-icon{color:var(--theme-elevation-400);opacity:.5}.db-widget__empty-text{color:var(--theme-elevation-500);font-size:13px}.db-widget--map{padding-bottom:16px}.specialist-map{border:1px solid var(--theme-border-color);z-index:0;border-radius:16px;height:420px;overflow:hidden}.specialist-pin{justify-content:center;align-items:center;display:flex;background:0 0!important;border:none!important}.specialist-map-popup .leaflet-popup-content-wrapper{background:var(--theme-input-bg)!important;color:var(--theme-text)!important;border:1px solid var(--theme-border-color)!important;border-radius:16px!important;padding:4px 8px!important;box-shadow:3px 4px 4px #0000001f!important}.specialist-map-popup .leaflet-popup-tip{background:var(--theme-input-bg)!important;border:1px solid var(--theme-border-color)!important;border-top:none!important;border-left:none!important}.specialist-map-popup .leaflet-popup-close-button{color:var(--theme-elevation-500)!important;width:24px!important;height:24px!important;font-size:18px!important;line-height:24px!important;top:8px!important;right:8px!important}.specialist-map-popup .leaflet-popup-close-button:hover{color:var(--theme-text)!important}.specialist-map .leaflet-control-zoom a{background:var(--theme-input-bg)!important;color:var(--theme-text)!important;border-color:var(--theme-border-color)!important;border-radius:8px!important}.specialist-map .leaflet-control-zoom{overflow:hidden;border:none!important;border-radius:8px!important;box-shadow:3px 4px 4px #0000001f!important}.specialist-map .leaflet-control-attribution{border-radius:4px 0 0;padding:2px 6px;font-size:10px;background:#ffffffb3!important}[data-theme=dark] .specialist-map .leaflet-control-attribution{color:#a3a3a3!important;background:#00000080!important}[data-theme=dark] .specialist-map .leaflet-control-attribution a{color:#a3a3a3!important}.specialist-map__actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.specialist-map__refresh-btn{border:1px solid var(--theme-border-color);background:var(--theme-input-bg);width:32px;height:32px;color:var(--theme-elevation-500);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:all .15s;display:flex}.specialist-map__refresh-btn:hover{color:var(--theme-text);border-color:var(--theme-elevation-300);background:var(--theme-elevation-50)}.specialist-map__refresh-btn:disabled{opacity:.5;cursor:not-allowed}@keyframes specialist-map-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.specialist-map__refresh-spin{animation:.8s linear infinite specialist-map-spin}[data-theme=dark] .db-widget--map{box-shadow:0 2px 8px #0000004d}.login__brand svg{height:auto;width:220px!important;max-width:220px!important}.login__brand{justify-content:center;margin-bottom:4px;display:flex}.template-minimal{min-height:100vh;position:relative;background:#fafafa!important}.template-minimal__wrap{z-index:1;position:relative}.login__form{-webkit-backdrop-filter:blur(12px);background:#ffffffd1;border:1px solid #ffffff80;border-radius:16px;margin-top:12px;margin-bottom:8px;padding:24px 24px 20px;box-shadow:3px 4px 4px #0000001f}.login__form__inputWrap{margin-bottom:4px}.login__form .field-type{margin-bottom:16px}.login__form .field-type input{background:#fff;border:1px solid #e5e5e5;border-radius:12px;padding:12px 16px;font-size:15px;transition:border-color .2s,box-shadow .2s}.login__form .field-type input:focus{border-color:#dc2626;outline:none;box-shadow:0 0 0 3px #dc262614}.login__form>a{text-align:right;color:#a3a3a3;margin-bottom:16px;font-size:13px;transition:color .15s;display:block}.login__form>a:hover{color:#dc2626}.login__form .form-submit{margin-top:4px}.login__form .form-submit .btn{letter-spacing:1.5px;text-transform:uppercase;color:#fff;cursor:pointer;border-radius:14px;width:100%;height:54px;font-size:16px;font-weight:700;transition:background .2s,box-shadow .2s,transform .15s;box-shadow:0 6px 12px #dc262640;background:#dc2626!important;border:none!important}.login__form .form-submit .btn:hover{transform:translateY(-1px);box-shadow:0 8px 16px #dc262659;background:#b91c1c!important}.login__form .form-submit .btn:active{transform:translateY(0);box-shadow:0 3px 8px #dc262633;background:#991b1b!important}.login__form .field-type label{color:#404040;margin-bottom:6px;font-size:14px;font-weight:500}[data-theme=dark] .template-minimal{background:#0a0a0a!important}[data-theme=dark] .login__form{-webkit-backdrop-filter:blur(12px);background:#262626cc;border-color:#ffffff14;box-shadow:3px 4px 4px #0000004d}[data-theme=dark] .login__form .field-type input{color:#fafafa;background:#1a1a1a;border-color:#404040}[data-theme=dark] .login__form .field-type input:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc262626}[data-theme=dark] .login__form .field-type label{color:#d4d4d4}[data-theme=dark] .login__form>a{color:#737373}[data-theme=dark] .login__form>a:hover{color:#f87171}
