:root{--bg:#f4f7fb;--bg-elev:#ffffff;--text:#0f172a;--muted:#64748b;--border:rgba(15,23,42,.08);--accent:#67b4ff;--shadow:0 18px 40px rgba(15,23,42,.08)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0;padding:0;width:100%;max-width:100%}body{margin:0;font-family:Inter,system-ui,Arial,sans-serif;background:var(--bg);color:var(--text);overflow-x:hidden}button,input,select,textarea{font:inherit}img,table,input,select,button,textarea{max-width:100%}button{cursor:pointer;border:0;border-radius:16px;padding:14px 18px;background:linear-gradient(180deg,#8ecfff,#66b8ff);color:#08111f;font-weight:800;transition:transform .15s ease,opacity .15s ease,box-shadow .15s ease}button:hover{transform:translateY(-1px)}button:disabled{opacity:.6;cursor:not-allowed;transform:none}button.secondary-btn,.icon-btn{background:var(--bg-elev);color:var(--text);border:1px solid var(--border)}input,select,textarea{width:100%;padding:14px 16px;border-radius:16px;border:1px solid var(--border);background:var(--bg-elev);color:var(--text)}textarea{min-height:110px;resize:vertical}label span{display:block;margin-bottom:8px;color:var(--muted);font-weight:700;font-size:14px}.glass-card,.glass-subcard{background:var(--bg-elev);border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.glass-card{border-radius:28px;padding:24px}.glass-subcard{border-radius:22px;padding:18px}.premium-card{overflow:hidden}.card-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.soft-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#67b4ff1f;border:1px solid rgba(103,180,255,.24);font-weight:700;color:var(--text)}.pill-success{background:#22c55e24;border-color:#22c55e38}.pill-warning{background:#f59e0b24;border-color:#f59e0b3d}.app-page,.login-page{position:relative;min-height:100vh;padding:20px}.ambient{position:absolute;border-radius:999px;filter:blur(60px);opacity:.35;pointer-events:none}.ambient-a{width:280px;height:280px;top:-80px;left:-70px;background:#77b9ff}.ambient-b{width:340px;height:340px;right:-80px;top:160px;background:#8a7bff}.workspace{position:relative;z-index:1;display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;max-width:1500px;margin:0 auto;align-items:start}.sidebar{display:flex;flex-direction:column;gap:18px;min-width:0}.sidebar-brand{display:flex;align-items:center;gap:14px}.sidebar-brand__logo{width:48px;height:48px;object-fit:contain;border-radius:14px}.brand-copy span{font-weight:800;line-height:1.3;display:block}.profile-card{display:flex;align-items:center;gap:14px}.avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#9cd5ff,#69b6ff);color:#08111f;font-weight:900;flex:0 0 auto}.avatar.large{width:54px;height:54px}.nav-list{display:flex;flex-direction:column;gap:8px}.nav-btn{width:100%;justify-content:flex-start;text-align:left;background:transparent;border:1px solid transparent;color:var(--text)}.nav-btn.active{background:#67b4ff1f;border-color:#67b4ff3d}.sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;gap:10px}.main-content{display:flex;flex-direction:column;gap:18px;min-width:0}.hero-panel{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;max-width:100%}.hero-panel h1{margin:0;font-size:36px;line-height:1.05}.hero-panel p{margin:10px 0 0;color:var(--muted)}.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat-topline{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.stat-topline h3{margin:0;font-size:18px}.stat-value{font-size:34px;font-weight:900;margin-top:14px;word-break:break-word}.stat-card p{color:var(--muted);margin:8px 0 0}.dashboard-grid,.analytics-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:18px}.left-column,.right-column,.admin-stack{display:flex;flex-direction:column;gap:18px;min-width:0}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.section-head h3{margin:0}.form-grid{display:grid;gap:14px}.form-grid.two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.compact-grid{margin-bottom:14px}.table-shell{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table{width:100%;border-collapse:collapse}th,td{padding:12px 10px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;word-break:break-word}th{font-size:13px;color:var(--muted)}.status-tag{display:inline-flex;padding:8px 12px;border-radius:999px;font-weight:700;font-size:12px}.status-tag.success{background:#22c55e24;color:#16a34a}.status-tag.info{background:#3b82f624;color:#2563eb}.status-tag.muted{background:#94a3b824;color:#64748b}.alert-banner{padding:16px 18px;border-radius:18px;font-weight:700}.alert-banner.warning{background:#f59e0b26}.alert-banner.success{background:#22c55e24}.alert-banner.danger{background:#ef444424}.ring-card{display:flex;align-items:center;gap:16px;padding:20px;border-radius:24px}.ring{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;padding:10px;flex:0 0 auto}.ring-inner{width:100%;height:100%;border-radius:50%;display:grid;place-items:center;background:var(--bg);text-align:center}.metric-title{font-size:20px;font-weight:800}.metric-sub,.muted-text{color:var(--muted)}.chart-bars{display:flex;align-items:flex-end;gap:14px;padding-top:10px;min-height:240px;overflow-x:auto}.chart-col{flex:1;min-width:72px;text-align:center}.chart-value{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:10px}.chart-bar-wrap{height:170px;display:flex;align-items:flex-end;justify-content:center}.chart-bar{width:100%;max-width:44px;border-radius:18px 18px 10px 10px;background:linear-gradient(180deg,#8fcfff,#5eb2ff)}.chart-label{font-weight:800;margin-top:10px;word-break:break-word}.chart-sub{font-size:12px;color:var(--muted);margin-top:6px}.list-stack{display:flex;flex-direction:column;gap:12px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--border)}.list-row:last-child{border-bottom:0}.amount{font-weight:800;white-space:nowrap}.summary-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.summary-item{padding:16px;border-radius:18px;background:#ffffff0d;border:1px solid var(--border);min-width:0}.summary-item span{display:block;color:var(--muted);font-size:13px;margin-bottom:8px}.summary-item strong{font-size:20px;word-break:break-word}.user-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.user-top{display:flex;align-items:center;gap:12px}.action-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.action-row-inline{display:flex;flex-wrap:wrap;gap:8px}.empty-state{color:var(--muted);padding:18px 0}.login-shell{position:relative;z-index:1;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:24px;align-items:center;min-height:calc(100vh - 40px)}.login-showcase h1{font-size:52px;line-height:1.02;margin:0 0 12px}.login-showcase p{max-width:520px;color:var(--muted);font-size:18px}.brand-block{display:flex;align-items:center;gap:22px}.brand-logo{width:96px;height:96px;object-fit:contain;border-radius:24px;padding:12px;background:#ffffff14;border:1px solid var(--border);flex:0 0 auto}.login-form{display:flex;flex-direction:column;gap:14px}.error-text{color:#ef4444;font-weight:700;margin:0}.hint-box{padding:14px 16px;border-radius:16px;background:#67b4ff1f;color:var(--muted);font-size:14px}.danger-btn{border-color:#ef444438;color:#b91c1c;background:#ef44441a}.danger-btn:hover{background:#ef444429}.password-form{display:flex;gap:10px;margin-top:14px}.password-form input{flex:1;min-width:0}@media (min-width: 1101px){.sidebar{position:sticky;top:20px;align-self:start;height:calc(100vh - 40px);overflow-y:auto;overflow-x:hidden}}@media (max-width: 1100px){.workspace{grid-template-columns:1fr}.sidebar{position:static;height:auto;overflow:visible}.login-shell,.stats-row,.dashboard-grid,.analytics-grid{grid-template-columns:1fr}}@media (max-width: 768px){.app-page,.login-page{padding:14px}.glass-card{padding:18px;border-radius:22px}.hero-panel{flex-direction:column;gap:12px}.hero-panel h1{font-size:28px;line-height:1.1}.login-showcase h1{font-size:34px;line-height:1.08}.login-showcase p{font-size:16px}.brand-block{flex-direction:column;align-items:flex-start;gap:14px}.brand-logo{width:76px;height:76px;border-radius:18px}.section-head{flex-direction:column;align-items:flex-start;gap:10px}.stats-row,.dashboard-grid,.analytics-grid,.form-grid.two-col,.summary-grid{grid-template-columns:1fr}.ring-card{flex-direction:column;align-items:flex-start}.action-row{display:grid;grid-template-columns:1fr;gap:10px}.action-row-inline{display:grid;grid-template-columns:1fr}.user-cards{grid-template-columns:1fr}.user-top{align-items:flex-start}.list-row{flex-direction:column;align-items:flex-start;gap:6px}.amount{white-space:normal}.password-form{flex-direction:column}.table-shell{overflow:visible}.table-shell table,.table-shell thead,.table-shell tbody,.table-shell tr,.table-shell td,.table-shell th{display:block;width:100%}.table-shell thead{display:none}.table-shell tbody{display:flex;flex-direction:column;gap:12px}.table-shell tr{padding:14px;border-radius:18px;background:#ffffff0a;border:1px solid var(--border)}.table-shell td{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:8px 0;border:0;text-align:right;word-break:break-word}.table-shell td:before{content:attr(data-label);font-weight:700;text-align:left;color:var(--muted);flex:0 0 42%;max-width:42%}.table-shell td>*{max-width:58%}.table-shell td input,.table-shell td button,.table-shell td select{width:auto;max-width:58%}.chart-bars{min-height:auto;padding-bottom:4px}.chart-col{min-width:84px}}html,body,#root,.app-page,.login-page,.workspace,.main-content,.left-column,.right-column,.glass-card,.glass-subcard,.premium-card{width:100%;max-width:100%;overflow-x:clip}@supports not (overflow: clip){html,body,#root,.app-page,.login-page,.workspace,.main-content,.left-column,.right-column,.glass-card,.glass-subcard,.premium-card{overflow-x:hidden}}
