:root{--rfx-bg:#f3f6fb;--rfx-surface:#fff;--rfx-surface-2:#f8fafc;--rfx-text:#0f172a;--rfx-muted:#64748b;--rfx-line:#dbe4ef;--rfx-primary:#1d4ed8;--rfx-primary-2:#2563eb;--rfx-success:#15803d;--rfx-warning:#b45309;--rfx-danger:#b91c1c;--rfx-radius:18px;--rfx-shadow:0 14px 40px rgba(15,23,42,.09)}
html{color-scheme:light;scroll-behavior:smooth}body{background:var(--rfx-bg);color:var(--rfx-text);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body.rfx-dark{--rfx-bg:#07101f;--rfx-surface:#0f1b2d;--rfx-surface-2:#132238;--rfx-text:#ecf3ff;--rfx-muted:#9fb0c6;--rfx-line:#283a52;--rfx-shadow:0 16px 48px rgba(0,0,0,.3);color-scheme:dark}
body.rfx-dark .card,body.rfx-dark .box,body.rfx-dark .service,body.rfx-dark .reason,body.rfx-dark .hero-card,body.rfx-dark .top,body.rfx-dark table,body.rfx-dark input,body.rfx-dark select,body.rfx-dark textarea{background:var(--rfx-surface)!important;color:var(--rfx-text)!important;border-color:var(--rfx-line)!important}body.rfx-dark th{background:var(--rfx-surface-2)!important;color:var(--rfx-muted)!important}
.rfx-skip{position:fixed;left:16px;top:-70px;z-index:9999;padding:12px 16px;background:#fff;color:#111827;border-radius:12px;font-weight:900;box-shadow:var(--rfx-shadow)}.rfx-skip:focus{top:16px}.rfx-focus-visible :focus-visible{outline:3px solid rgba(37,99,235,.3)!important;outline-offset:3px!important}
.card,.service,.reason,.hero-card,.box{border-radius:var(--rfx-radius)!important;box-shadow:var(--rfx-shadow)!important}.card,.service,.reason,.hero-card{transition:transform .2s ease,box-shadow .2s ease}.card:hover,.service:hover,.reason:hover{transform:translateY(-2px);box-shadow:0 20px 50px rgba(15,23,42,.13)!important}.btn,button{min-height:42px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{filter:brightness(1.03)}
.rfx-tools{position:fixed;right:18px;bottom:18px;z-index:800;display:flex;gap:9px}.rfx-tool{width:46px;height:46px;border:1px solid var(--rfx-line);border-radius:15px;background:var(--rfx-surface);color:var(--rfx-text);box-shadow:var(--rfx-shadow);cursor:pointer;font-size:18px}.rfx-tool:hover{transform:translateY(-2px)}
.rfx-command{position:fixed;inset:0;z-index:1200;display:none;place-items:start center;padding-top:8vh;background:rgba(2,6,23,.64);backdrop-filter:blur(10px)}.rfx-command.on{display:grid}.rfx-command-card{width:min(680px,calc(100% - 24px));overflow:hidden;border-radius:24px;background:var(--rfx-surface);border:1px solid var(--rfx-line);box-shadow:0 32px 100px rgba(2,6,23,.4)}.rfx-command input{width:100%;padding:20px;border:0;border-bottom:1px solid var(--rfx-line);font:inherit;font-size:17px;background:transparent;color:var(--rfx-text)}.rfx-command-list{max-height:58vh;overflow:auto;padding:10px}.rfx-command-item{display:flex;gap:12px;align-items:center;padding:13px 14px;border-radius:14px;text-decoration:none;color:var(--rfx-text);font-weight:800}.rfx-command-item:hover,.rfx-command-item.active{background:rgba(37,99,235,.1)}.rfx-command-item small{display:block;color:var(--rfx-muted);font-weight:600}.rfx-command-key{margin-left:auto;color:var(--rfx-muted);font-size:11px;border:1px solid var(--rfx-line);border-radius:7px;padding:3px 6px}
.rfx-toast-stack{position:fixed;right:18px;top:90px;z-index:1300;display:grid;gap:10px}.rfx-toast{width:min(370px,calc(100vw - 28px));padding:14px 16px;border-radius:15px;background:var(--rfx-surface);color:var(--rfx-text);border:1px solid var(--rfx-line);box-shadow:var(--rfx-shadow);animation:rfxIn .22s ease}.rfx-toast strong{display:block}.rfx-toast span{display:block;color:var(--rfx-muted);font-size:13px;margin-top:3px}.rfx-offline{background:#7f1d1d;color:#fff;padding:9px 14px;text-align:center;font-weight:800;position:sticky;top:0;z-index:999}
.rfx-loading{position:relative;pointer-events:none;opacity:.75}.rfx-loading:after{content:"";position:absolute;width:20px;height:20px;right:12px;top:50%;margin-top:-10px;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:rfxSpin .7s linear infinite}.rfx-skeleton{border-radius:10px;background:linear-gradient(90deg,#e8edf4 25%,#f7f9fc 40%,#e8edf4 60%);background-size:300% 100%;animation:rfxShimmer 1.25s infinite}
.wrap,main,.content{contain:layout style}.wrap{width:min(1180px,calc(100% - 32px))}.content{content-visibility:auto;contain-intrinsic-size:900px}.side{will-change:transform}.wrap table{font-variant-numeric:tabular-nums}.search,input,select,textarea{min-height:44px}.actions .btn{min-height:36px}.badge{white-space:nowrap}
@keyframes rfxSpin{to{transform:rotate(360deg)}}@keyframes rfxShimmer{to{background-position:-300% 0}}@keyframes rfxIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(max-width:1000px){.rfx-tools{bottom:92px}.content{padding:16px!important}.top{height:68px!important}.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.form{grid-template-columns:1fr!important}.full{grid-column:1!important}}
@media(max-width:640px){.stats{grid-template-columns:1fr!important}.rfx-toast-stack{left:14px;right:14px;top:76px}.rfx-toast{width:auto}.rfx-tools{right:12px}.toolbar{align-items:stretch!important}.toolbar .btn,.toolbar .search{width:100%}.hero h2{font-size:clamp(2rem,11vw,3rem)!important}.cta{display:grid!important}.cta .btn{width:100%}.wrap{width:min(100% - 24px,1180px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
