.module{max-width:1450px;margin:auto;padding:45px 24px 90px}.back{color:#a9bcc8;text-decoration:none;font-size:12px;font-weight:700}.module-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:32px}.module-head h1{font-size:clamp(34px,4vw,54px);margin:7px 0 10px}.module-head p{color:var(--muted);max-width:850px}.primary,.ghost{border:0;border-radius:8px;padding:13px 17px;font-weight:800;cursor:pointer}.primary{background:var(--orange);color:#111}.ghost{background:#102b3a;border:1px solid #315064;color:white}.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.card{border:1px solid var(--line);background:#0a2130e8;border-radius:14px;padding:24px;margin-bottom:20px}.card h2{font-size:20px;margin:0 0 22px}.card h2>span{display:inline-grid;place-items:center;background:#173c51;color:#7ed0fa;width:30px;height:30px;border-radius:8px;margin-right:10px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.grid.two{grid-template-columns:repeat(2,1fr)}label{display:flex;flex-direction:column;gap:7px;color:#a9becb;font-size:12px;font-weight:700}input,select,textarea{width:100%;background:#061722;border:1px solid #315064;color:#fff;border-radius:7px;padding:11px;font:inherit;font-size:14px}textarea{min-height:90px}.mode-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.mode{padding:16px;text-align:left;border:1px solid #315064;background:#071923;color:white;border-radius:9px;cursor:pointer}.mode.active{border-color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}.mode b,.mode small{display:block}.mode small{color:#8fa7b5;margin-top:7px;line-height:1.4}.section-head{display:flex;justify-content:space-between;align-items:center}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:10px;border-bottom:1px solid #24475b}th{color:#8fcdea}td select{min-width:260px}.mini{padding:8px;border:1px solid #315064;background:#102b3a;color:white;border-radius:6px;cursor:pointer}.status{padding:5px 8px;border-radius:20px;font-size:10px;font-weight:900;white-space:nowrap}.ok{background:#123924;color:#77eda2}.bad{background:#4a191d;color:#ff9393}.info,.formula,.legal-warning{padding:15px;border-radius:8px;margin-top:16px;line-height:1.55}.info{background:#0e3346;color:#bde7fb}.formula{background:#061722;color:#d6e5ec;font:13px/1.8 Consolas,monospace;white-space:pre-wrap}.legal-warning{border:1px solid #66511c;background:#30250c;color:#ffe8a7;font-size:13px}.presets{display:flex;gap:8px;margin-top:14px}.presets button{background:#102b3a;color:white;border:1px solid #315064;border-radius:6px;padding:8px;cursor:pointer}.check{flex-direction:row;align-items:flex-start;font-size:14px;line-height:1.5}.check input{width:auto;margin-top:3px}.result-panel{position:sticky;top:100px;background:#071923;border:1px solid #315064;border-radius:14px;padding:24px;text-align:center}.result-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:18px auto;font-size:36px;background:#173442}.result-icon.ok{background:#15532e;color:#82f0a8}.result-icon.bad{background:#5b2025;color:#ff9b9b}.result-panel h2{font-size:23px}.result-panel p{color:#a9becb;line-height:1.5}.result-value{font-size:32px;color:var(--orange);font-weight:900}.full{width:100%;margin:18px 0}.audit{text-align:left;background:#061722;border-radius:8px;padding:13px;color:#a9becb;font:12px/1.7 Consolas,monospace;white-space:pre-wrap}.caption{font-size:11px;color:#859ba8}@media(max-width:1050px){.layout{grid-template-columns:1fr}.result-panel{position:relative;top:auto;order:-1}.mode-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.module{padding:28px 13px}.module-head{display:block}.module-head button{margin-top:15px}.grid,.grid.two,.mode-grid{grid-template-columns:1fr}.card{padding:17px}.back{display:none}.presets{flex-direction:column}}@media print{body{background:white;color:#111}.topbar,.module-head button,.mode-grid,#add-layer,.presets,.remove-layer,#show-calc{display:none!important}.module{padding:0}.layout{display:block}.card,.result-panel{break-inside:avoid;background:white;color:#111;border:1px solid #aaa}.result-panel{margin-bottom:15px}.formula,.audit{background:#eee;color:#111}input,select,textarea{background:white;color:#111;border:0;border-bottom:1px solid #aaa}}
