:root{--orange: #f15a22;--orange-deep: #c4481a;--blue: #0a3d86;--blue-deep: #062456;--ink: #142033;--muted: #5d6b7c;--line: #e4e9f1;--paper: #f4f6fa;--card: #ffffff;--good: #176b45;--good-bg: #e7f6ee;--warn: #8a5a10;--warn-bg: #fff4dc;--bad: #9b2f2a;--bad-bg: #fdeceb;--info: #0a3d86;--info-bg: #e8f0fb;--shadow: 0 16px 40px rgba(6, 36, 86, .08);--sans: "Manrope", "Noto Sans Devanagari", "Nirmala UI", "Segoe UI", sans-serif;color:var(--ink);font-family:var(--sans);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:radial-gradient(900px 420px at 0% -10%,rgba(241,90,34,.08),transparent 55%),radial-gradient(800px 380px at 100% 0%,rgba(10,61,134,.06),transparent 50%),var(--paper);color:var(--ink)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}.boot{min-height:100vh;display:grid;place-items:center;align-content:center;gap:12px;text-align:center;padding:32px}.boot h1{margin:0}.logo{display:block;height:46px;width:auto}.auth-story .logo{height:84px;margin-bottom:18px}.auth-card .logo{height:58px;margin:14px 0 10px}.boot .logo,.empty .logo{height:72px;margin:0 auto 8px}.orange-bar{height:4px;background:linear-gradient(90deg,var(--orange),#ffb088 70%,var(--orange))}.orange-bar.thin{height:4px;border-radius:16px 16px 0 0}.auth{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-story{padding:64px 72px;color:#fff;background:radial-gradient(520px 280px at 12% 12%,rgba(241,90,34,.45),transparent 60%),radial-gradient(420px 240px at 90% 90%,rgba(255,255,255,.08),transparent 60%),var(--blue-deep);display:flex;flex-direction:column;justify-content:center}.auth-story h1{margin:8px 0 12px;font-size:64px;letter-spacing:-.04em;line-height:.95}.story-lead{max-width:460px;font-size:18px;line-height:1.6;color:#ffffffdb}.auth-story ol{margin:28px 0 0;padding:0;list-style:none;display:grid;gap:12px}.auth-story li{padding-left:42px;position:relative;color:#ffffffeb}.auth-story li:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:-2px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--orange);font-size:13px;font-weight:700}.auth-story ol{counter-reset:step}.auth-panel{display:grid;place-items:center;padding:32px}.auth-card{width:min(440px,100%);background:#fff;border-radius:22px;padding:28px 28px 24px;box-shadow:var(--shadow);border:1px solid var(--line);overflow:hidden}.auth-card h2{margin:4px 0 6px;font-size:32px;letter-spacing:-.03em;color:var(--blue-deep)}.eyebrow{margin:0;color:var(--orange-deep);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.eyebrow.light{color:#ffc7ad}.lede{margin:0 0 16px;color:var(--muted);line-height:1.5}.fine{color:var(--muted);font-size:13px;line-height:1.5}.full{width:100%}.top{position:sticky;top:0;z-index:20;background:#ffffffeb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.top-inner,.nav-inner,.content{width:min(1180px,calc(100% - 40px));margin:0 auto}.top-inner{display:flex;align-items:center;gap:22px;min-height:78px}.brand{display:flex;align-items:center;gap:12px;min-width:240px}.brand strong{display:block;font-size:18px;letter-spacing:-.03em;color:var(--blue-deep)}.brand em{display:block;margin-top:2px;font-style:normal;color:var(--muted);font-size:12px}.search{flex:1}.search input,.filters input,.panel input,.field input,.field select,.field textarea,.panel textarea{width:100%;border:1px solid #d5dde8;background:#fff;border-radius:12px;padding:12px 14px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.search input:focus,.filters input:focus,.field input:focus,.field select:focus,.field textarea:focus,.panel input:focus,.panel textarea:focus{border-color:var(--orange);box-shadow:0 0 0 4px #f15a2224}.top-tools{display:flex;align-items:center;gap:10px}.date-chip,.user-chip{color:var(--muted);font-size:13px;display:inline-flex;align-items:center;gap:8px}.avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--blue-deep);color:#fff;font-size:12px;font-weight:700}.nav-inner{display:flex;gap:8px;overflow-x:auto}.nav button{border:0;background:transparent;color:var(--muted);font-weight:700;padding:12px 12px 14px;border-bottom:2px solid transparent;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.nav button.on{color:var(--blue);border-bottom-color:var(--orange)}.nav button:hover{color:var(--blue-deep)}.count{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--orange);color:#fff;font-size:11px;display:inline-grid;place-items:center}.content{padding:28px 0 72px}.page{animation:rise .35s ease}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.page-head,.actions,.panel-head,.spread{display:flex;align-items:center;gap:12px}.page-head,.spread{justify-content:space-between;align-items:flex-end}.page-head h1,.auth-card h2{font-weight:800}.page-head h1{margin:2px 0 0;font-size:36px;letter-spacing:-.04em;color:var(--blue-deep)}.actions.wrap{flex-wrap:wrap}.spread{margin:8px 0 16px;align-items:center}.btn{border:1px solid transparent;border-radius:12px;padding:11px 16px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn.primary{background:var(--orange-deep);color:#fff;box-shadow:0 8px 18px #c4481a38}.btn.primary:hover{background:#a83b14}.btn.navy{background:var(--blue-deep);color:#fff}.btn.ghost{background:#fff;border-color:#d5dde8;color:var(--blue-deep)}.btn.danger{background:#fff;color:var(--bad);border-color:#f0c6c3}.btn.small{padding:8px 10px;border-radius:10px;font-size:13px}.icon-btn,.text-btn,.secret button,.month-switch button,.filters button,.chips button,.banner button{border:0;background:transparent;color:var(--blue);font-weight:700}.icon-btn{width:36px;height:36px;border-radius:10px;font-size:24px;line-height:1}.icon-btn:hover,.filters button:hover,.chips button:hover{background:var(--paper)}.text-btn{margin-left:8px}.stats{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:14px;margin:18px 0}.stat,.panel,.empty,.message-list article{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 30px #10243e0a}.stat{padding:18px 18px 16px;position:relative;overflow:hidden}.stat.hero:before,.stat:hover:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--orange)}.stat-value{margin:8px 0 4px;font-size:32px;font-weight:800;letter-spacing:-.04em;color:var(--blue-deep);font-variant-numeric:tabular-nums}.stat-foot{margin:0;color:var(--muted);font-size:13px}.panel{padding:18px}.panel h2,.quiet h2{margin:0 0 8px;font-size:18px;color:var(--blue-deep)}.panel-head{justify-content:space-between;margin-bottom:8px}.panel-head h2{margin:0}.progress-panel{margin-bottom:16px}.progress{height:10px;background:#eef2f7;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--orange),#ffb088);border-radius:inherit;transition:width .4s ease}.split{display:grid;grid-template-columns:1.4fr .8fr;gap:14px}.stack{display:grid;gap:14px}.quiet p{color:var(--muted);line-height:1.55}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse}.table th{text-align:left;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:10px 12px;border-bottom:1px solid var(--line)}.table td{padding:14px 12px;border-bottom:1px solid #eef2f6;vertical-align:middle}.table tr.click{cursor:pointer}.table tbody tr{transition:background .15s ease}.table tbody tr:hover{background:#f8fbff}.table tr.late{background:#fff8f3}.subline{display:block;color:var(--muted);font-size:12px;margin-top:2px}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.row-actions{display:flex;gap:6px;justify-content:flex-end;white-space:nowrap}.mini-stats{display:flex;gap:16px;color:var(--muted)}.mini-stats strong{color:var(--blue-deep)}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:700;background:#eef2f6;color:var(--muted)}.badge.good{background:var(--good-bg);color:var(--good)}.badge.warn{background:var(--warn-bg);color:var(--warn)}.badge.bad{background:var(--bad-bg);color:var(--bad)}.badge.info{background:var(--info-bg);color:var(--info)}.badge.muted{background:#eef2f6;color:var(--muted)}.banner,.form-error,.warn-box{border-radius:14px;padding:12px 14px;margin-bottom:14px;line-height:1.5}.banner{background:#fff4ec;color:#7a3412;display:flex;justify-content:space-between;gap:12px;align-items:center}.banner.warn{background:#fff8e8}.form-error{background:var(--bad-bg);color:var(--bad)}.warn-box{background:#fff;border:1px solid var(--line);color:var(--ink)}.filters{display:flex;gap:8px;align-items:center;margin-bottom:14px}.filters input{max-width:320px}.filters button,.month-switch button,.chips button{border-radius:999px;padding:8px 12px;color:var(--muted)}.filters button.on,.seg button.on{background:var(--blue-deep);color:#fff}.month-switch{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px}.month-switch strong{min-width:140px;text-align:center}.month-switch button{width:32px;height:32px;border-radius:50%}.field{display:grid;gap:6px;margin-bottom:12px}.field span{font-size:13px;font-weight:700;color:#31445c}.field small{color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-section{margin-bottom:8px}.form-section h3,.section-title{margin:8px 0 10px;color:var(--blue-deep);font-size:16px}.seg{display:inline-flex;padding:4px;background:#eef2f7;border-radius:12px;margin-bottom:12px}.seg button{border:0;background:transparent;border-radius:9px;padding:8px 12px;font-weight:700}.preview-box,.pay-who,.path{background:#f7f9fc;border-radius:14px;padding:12px 14px;margin:8px 0 14px;line-height:1.55}.pay-who{display:grid}.pay-who span,.path{color:var(--muted);font-size:13px;word-break:break-all}.check{display:flex;gap:8px;align-items:center;margin:8px 0 12px;font-weight:700}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0618306b;z-index:40;display:grid;place-items:center;padding:20px;animation:fade .2s ease}@keyframes fade{0%{opacity:0}to{opacity:1}}.modal,.drawer{background:#fff;border-radius:20px;width:min(560px,100%);max-height:min(860px,calc(100vh - 40px));display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 80px #06183040;animation:rise .25s ease}.modal>form{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.modal-head,.modal-foot{flex-shrink:0}.modal.wide{width:min(920px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px 0}.modal-head h2{margin:0;font-size:22px;color:var(--blue-deep)}.modal-body,.drawer-body{padding:14px 18px 8px;overflow:auto;flex:1;min-height:0}.modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px 16px}.drawer{position:fixed;top:12px;right:12px;bottom:12px;width:min(460px,calc(100vw - 24px));max-height:none;border-radius:20px}.overlay:has(.drawer){place-items:stretch;background:#06183047}.kvs{display:grid;grid-template-columns:110px 1fr;gap:8px 10px;margin:0}.kvs dt{color:var(--muted)}.kvs dd{margin:0}.history{list-style:none;padding:0;margin:0 0 12px}.history li{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.who{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.who h3{margin:0}.sms-phone{background:#f3f6fb;border-radius:16px;padding:12px;margin-top:8px}.sms-bubble{background:#fff;border-radius:16px 16px 16px 6px;padding:12px 14px;line-height:1.55;box-shadow:0 8px 18px #10243e0f}.sms-meta{margin:8px 4px 0;color:var(--muted);font-size:12px}.secret{display:flex;gap:8px;align-items:center}.secret input{flex:1}.choice{display:grid;gap:10px}.choice.providers{grid-template-columns:1fr 1fr}.choice label{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}.choice label.on{border-color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}.choice input{accent-color:var(--orange-deep)}.choice span{color:var(--muted);font-size:13px;line-height:1.45}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.feed{list-style:none;padding:0;margin:0;display:grid;gap:12px}.feed li div{display:flex;justify-content:space-between;gap:8px;align-items:center}.feed p{margin:6px 0 0;color:#31445c;font-size:14px;line-height:1.5}.message-list{display:grid;gap:10px}.message-row{width:100%;border:0;background:transparent;display:flex;justify-content:space-between;gap:12px;text-align:left;padding:4px}.message-list article{padding:12px 14px}.empty{padding:36px 20px;text-align:center;display:grid;justify-items:center;gap:8px}.empty h3{margin:0;color:var(--blue-deep)}.empty p{margin:0 0 8px;color:var(--muted);max-width:460px}.skeleton-block{height:180px;border-radius:18px;background:linear-gradient(90deg,#e8eef6 25%,#f8fbff 37%,#e8eef6 63%);background-size:400% 100%;animation:shimmer 1.2s ease infinite}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}.toaster{position:fixed;top:92px;right:18px;z-index:80;display:grid;gap:8px}.toast{background:#fff;border-radius:14px;padding:12px 14px;min-width:260px;max-width:380px;box-shadow:0 16px 40px #06245629;border-left:4px solid var(--good)}.toast.bad{border-left-color:var(--bad)}@media (max-width: 980px){.auth{grid-template-columns:1fr}.auth-story{display:none}.stats,.split,.form-grid,.choice.providers{grid-template-columns:1fr}.date-chip{display:none}.top-inner{flex-wrap:wrap;padding:10px 0}.page-head,.spread{flex-direction:column;align-items:stretch}.page-head h1{font-size:30px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
