:root{--bg:#0c1828;--surface:#102238;--surface-2:#0d1c2d;--surface-3:#0a1726;--line:#29465b;--line-2:#31536b;--text:#ededed;--muted:#aeb5bd;--muted-2:#6b7786;--blue:#30c0f8;--blue-dark:#1d6f99;--green:#19a046;--green-2:#137d38;--red:#d84b57;--shadow:0 24px 70px rgba(0,0,0,.28)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 10% -8%,rgba(48,192,248,.05),transparent 24%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}header{height:72px;border-bottom:1px solid #1a344b;background:#0c1828f5;backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}.header-inner{max-width:1220px;height:100%;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px}.brandmark{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#1a344b;border:1px solid #31536b;color:var(--blue);font-size:10px;font-weight:900}.brand b{display:block;font-size:14px}.brand small{display:block;color:#6b7786;font-size:9px;margin-top:2px;letter-spacing:.06em}.header-actions{display:flex;align-items:center;gap:8px}.badge{height:32px;padding:0 10px;border-radius:9px;border:1px solid #29465b;background:#102238;color:#8fa8b9;font-size:9px;font-weight:800;display:inline-flex;align-items:center;gap:7px}.badge i{width:6px;height:6px;border-radius:50%;background:var(--green)}main{max-width:1240px;margin:0 auto;padding:24px 24px 42px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:14px;padding:18px 20px;border:1px solid #2d4a60;border-radius:16px;overflow:hidden;box-shadow:0 12px 32px #030e1624}.page-head h1{margin:0;font-size:29px;letter-spacing:-.025em;line-height:1.15;font-weight:760}.page-head p{margin:6px 0 0;color:#96a6b3;font-size:11.5px;line-height:1.55}.page-chip{padding:6px 10px;border-radius:999px;border:1px solid #326d8c;background:#30c0f80b;color:#8fd8f2;font-size:8.5px;font-weight:850;white-space:nowrap}.settings-card{border:1px solid #2b4960;background:#0f2033;border-radius:13px;padding:11px 16px 10px;display:block;margin-bottom:14px;box-shadow:0 12px 34px #00000024}.settings-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:8px}.settings-title b{display:block;font-size:17px;color:#e5eef4;letter-spacing:.01em;font-weight:550}.settings-title small{display:block;margin-top:4px;color:#9aafbe;font-size:11px;line-height:1.45;font-weight:400}.settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}.setting{min-height:42px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:6px 11px;border:1px solid #31536b;background:#0d1c2d;border-radius:9px;color:#c3d0da;font-size:12px;font-weight:350;white-space:nowrap}.setting-label{font-size:12px;line-height:1.15;font-weight:350;color:#e1e9ef;letter-spacing:.002em}.setting-control{display:flex;align-items:center;gap:3px;min-height:24px;color:#bdcbd5;font-size:12px;font-weight:350}.setting input{width:42px;height:24px;border:1px solid #34566f;outline:0;background:#091827;border-radius:6px;color:#f2f8fb;text-align:center;font-weight:350;font-size:12px;padding:0 3px}.setting-unit{color:#acbeca;font-size:12px;font-weight:350}.floor-formula{color:#c1cfd8;font-size:12px;font-weight:350;letter-spacing:.005em}.prestige-card{border:1px solid #2b4960;background:#0f2033;border-radius:13px;padding:10px 12px;margin-bottom:14px;box-shadow:0 12px 34px #0000001f}.prestige-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.prestige-head b{font-size:14px;font-weight:450;color:#e4edf3}.prestige-head small{font-size:9px;font-weight:350;color:#8297a7}.prestige-rows{display:grid;gap:7px;max-height:230px;overflow:auto;scrollbar-width:thin;scrollbar-color:#31536b transparent}.prestige-empty{padding:8px 10px;border:1px dashed #29465b;border-radius:8px;color:#708697;font-size:9px;font-weight:350;text-align:center}.prestige-row{display:grid;grid-template-columns:90px minmax(150px,1fr) minmax(150px,1fr);gap:8px;align-items:center;padding:7px 9px;border:1px solid #29465b;background:#0d1c2d;border-radius:9px}.prestige-index{font-size:11px;font-weight:450;color:#dbe5ec}.prestige-sign{padding:4px 9px;min-width:30px;border:1px solid #397695;border-radius:6px;background:#102b3e;color:#fff;cursor:pointer}.prestige-sign[aria-pressed=true]{background:#237658;border-color:#60cda8}.prestige-field{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-width:0;color:#d9e3e9;font-size:11px;font-weight:350}.prestige-field span{font-weight:350;white-space:nowrap}.prestige-field .pct{color:#a9bcc8}.prestige-field input{width:48px;height:25px;border:1px solid #34566f;outline:0;background:#091827;border-radius:6px;color:#f2f8fb;text-align:center;font-weight:350;font-size:11px;padding:0 3px}input[type=number]{-moz-appearance:textfield;appearance:textfield}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}.panel{min-width:0;border:1px solid #243d53;background:#0d1c2d;border-radius:13px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}.panel-head{min-height:50px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #1f394f;background:#102238}.panel-title b{display:block;font-size:13px;line-height:1.25}.panel-title small{display:block;color:#72869a;font-size:8.5px;margin-top:3px;line-height:1.35}.panel-body{padding:9px;display:flex;flex:1}textarea{width:100%;min-height:245px;height:270px;max-height:430px;resize:vertical;border:1px solid #243d53;border-radius:9px;background:#0a1726;color:#dce6ee;outline:0;padding:13px 14px;font-size:11.5px;line-height:1.62}textarea:focus{border-color:#397695}textarea::placeholder{color:#52687a}.output-area{background:#091625}.action-row{margin-top:11px;padding-top:10px;border-top:1px solid #1d3447;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.btn{height:36px;padding:0 14px;border-radius:8px;border:1px solid #2e4558;background:#102238;color:#cbd6df;font-size:9.8px;font-weight:850}.btn:hover{border-color:#397695;filter:brightness(1.04)}.btn-green{background:linear-gradient(180deg,#22a852,#19853f);border-color:#2bb75e;color:#fff}.btn-blue{background:linear-gradient(180deg,#237da6,#1d6f99);border-color:#319dc9;color:#fff}.btn-danger{background:#291a24;border-color:#5e3341;color:#e8a8b1}.status{margin-right:auto;display:flex;align-items:center;gap:7px;color:#73879a;font-size:8.8px}.status-dot{width:7px;height:7px;border-radius:50%;background:#667888}.status-dot.ok{background:var(--green)}.status-dot.warn{background:#d4a63a}.analysis-strip{margin-top:11px;border:1px solid #243d53;background:#0d1c2d;border-radius:11px;overflow:hidden;display:grid;grid-template-columns:repeat(4,1fr)}.analysis-item{padding:9px 11px;border-right:1px solid #1f394f;min-width:0}.analysis-item:last-child{border-right:0}.analysis-item span{display:block;color:#74899a;font-size:8px;font-weight:800}.analysis-item b{display:block;margin-top:3px;color:#dce6ee;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notice{margin-top:10px;padding:9px 11px;border-radius:9px;border:1px solid #223c50;background:#0b1929;color:#73879a;font-size:8.5px;line-height:1.55}.notice strong{color:#9edff6}footer{margin-top:12px;text-align:right;color:#536779;font-size:8px}@media(max-width:900px){main{padding:20px 14px 38px}.header-inner{padding:0 14px}.workspace{grid-template-columns:1fr}.settings{grid-template-columns:repeat(3,minmax(135px,1fr));overflow-x:auto;padding-bottom:2px}.prestige-row{grid-template-columns:75px 1fr 1fr}.analysis-strip{grid-template-columns:1fr 1fr}.analysis-item:nth-child(2){border-right:0}.analysis-item:nth-child(-n+2){border-bottom:1px solid #1f394f}.status{margin-left:0;width:100%}.page-head{align-items:flex-start}.page-head h1{font-size:24px}}@media(max-width:560px){.header-actions .badge:first-child{display:none}.settings{grid-template-columns:repeat(3,minmax(135px,1fr));overflow-x:auto}.prestige-row{grid-template-columns:1fr}.prestige-field{justify-content:space-between}.settings-title{align-items:flex-start;flex-direction:column}.analysis-strip{grid-template-columns:1fr}.analysis-item{border-right:0;border-bottom:1px solid #1f394f}.analysis-item:last-child{border-bottom:0}}
