.sc-root{--g:#b51f2b;--g2:#fbe9ea;--ink:#1c2a23;--mut:#6b7a72;--bd:#d9e2dc;--bg:#f5f8f6;--red:#c0392b;--amb:#d68910}
.sc-root *{box-sizing:border-box}
.sc-root{margin:0;font-family:"Segoe UI",Tahoma,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.6}
.sc-root header{background:linear-gradient(110deg,#941925,#c52b35);color:#fff;padding:12px 16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;position:sticky;top:0;z-index:5}
.sc-root header h1{font-size:18px;margin:0;flex:1}
.sc-root nav a{color:#fff;text-decoration:none;padding:6px 12px;border-radius:8px;font-size:14px}
.sc-root nav a.on,.sc-root nav a:hover{background:rgba(255,255,255,.2)}
.sc-root header h1::before{content:"";}
.sc-root main{max-width:1000px;margin:0 auto;padding:16px}
.sc-root .card{background:#fff;border:1px solid var(--bd);border-radius:14px;padding:16px;margin-bottom:14px}
.sc-root .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.sc-root .stat{text-align:center}
.sc-root .stat b{display:block;font-size:28px;color:var(--g)}
.sc-root h2{margin:0 0 10px;font-size:18px}
.sc-root h3{margin:0 0 8px;font-size:16px}
.sc-root button,.sc-root .btn{background:var(--g);color:#fff;border:0;border-radius:10px;padding:9px 14px;font:inherit;font-size:14px;cursor:pointer;text-decoration:none;display:inline-block}
.sc-root button.sec{background:var(--g2);color:var(--g)}
.sc-root button.red{background:#fdecea;color:var(--red)}
.sc-root button.sm{padding:4px 10px;font-size:13px}
.sc-root input,.sc-root select,.sc-root textarea{font:inherit;padding:9px 10px;border:1px solid var(--bd);border-radius:10px;width:100%;background:#fff}
.sc-root label{display:block;font-size:13px;color:var(--mut);margin:8px 0 3px}
.sc-root .row{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end}
.sc-root .row>*{flex:1;min-width:140px}
.sc-root .row>button{flex:0 0 auto}
.sc-root table{width:100%;border-collapse:collapse;font-size:14px}
.sc-root th,.sc-root td{padding:8px;border-bottom:1px solid var(--bd);text-align:right}
.sc-root th{color:var(--mut);font-weight:600;font-size:13px}
.sc-root .tw{overflow-x:auto}
.sc-root a{color:var(--g)}
.sc-root .badge{display:inline-block;padding:2px 10px;border-radius:99px;font-size:12px;font-weight:600}
.sc-root .l1{background:#e6f6ec;color:#20683b}
.sc-root .l2{background:#e3f1d3;color:#456b14}
.sc-root .l3{background:#fdf0d0;color:#8a5b00}
.sc-root .l4{background:#fdecea;color:var(--red)}
.sc-root .l0{background:#eee;color:#666}
.sc-root .bar{height:8px;background:#e5ebe7;border-radius:9px;overflow:hidden}
.sc-root .bar i{display:block;height:100%;background:var(--g)}
.sc-root .mut{color:var(--mut);font-size:13px}
.sc-root .crumb{font-size:13px;margin-bottom:10px}
.sc-root .login{max-width:340px;margin:60px auto}
@media(max-width:600px){.sc-root main{padding:10px}
.sc-root th,.sc-root td{padding:6px 4px;font-size:13px}
}@media print{.sc-root header,.sc-root button,.sc-root .noprint{display:none!important}
}
.sc-root{min-height:100vh}.sc-toast{position:fixed;bottom:16px;inset-inline:16px;background:#20232b;color:#fff;padding:10px 14px;border-radius:10px;text-align:center;z-index:9}.sc-root header{position:static}
.sc-root{--y:#f4c542}
.sc-root header{border-bottom:4px solid var(--y)}
.sc-root nav a.on,.sc-root nav a:hover{background:var(--y);color:#292929}
.sc-root .card{border-top:3px solid var(--y)}
.sc-root .bar i{background:linear-gradient(90deg,var(--g),var(--y))}
.sc-root .stat b{color:var(--g)}
.sc-root button.sec{background:#fff4d4;color:#765500}
.sc-root input:focus,.sc-root select:focus,.sc-root textarea:focus{outline:2px solid #f4c54288;border-color:#d5a91c}
.sc-root .crumb{margin-bottom:10px}
.sc-root{--bg:#fbf5f3;background:#fbf5f3}
.sc-root .card{border-radius:20px;border:1px solid #f0e3df;border-top:3px solid var(--y);box-shadow:0 4px 18px #b51f2b0d;padding:18px}
.sc-root header{padding:14px 16px 10px;border-radius:0 0 22px 22px;margin-bottom:6px}
.sc-root header h1{font-size:19px}
.sc-root nav{display:flex;gap:6px;flex-wrap:wrap;width:100%;order:3}
.sc-root nav a{background:rgba(255,255,255,.14);border-radius:99px;padding:8px 14px;font-size:14px;min-height:38px;display:inline-flex;align-items:center}
.sc-root button{border-radius:14px;padding:11px 16px;min-height:44px;font-weight:700}
.sc-root button.sm{min-height:34px;padding:4px 12px}
.sc-root input,.sc-root select,.sc-root textarea{border-radius:14px;padding:12px;min-height:46px;background:#faf6f5;border-color:#eadcd8}
.sc-root .grid>.stat{border-radius:18px}
.sc-root .grid>.stat:nth-child(1) b{color:#b51f2b}
.sc-root .grid>.stat:nth-child(2) b{color:#c98a00}
.sc-root .grid>.stat:nth-child(3) b{color:#20683b}
.sc-root .grid>.stat:nth-child(4) b{color:#2b5db5}
.sc-root .stat b{font-size:30px}
.sc-root tbody tr:hover{background:#fff9ea}
.sc-root th{background:#fbf5f3}
@media(max-width:600px){.sc-root .grid{grid-template-columns:repeat(2,1fr)}.sc-root .stat{padding:12px}}

.sc-root table.xls{border-collapse:collapse;width:max-content;min-width:100%;font-size:14px;background:#fff}
.sc-root table.xls th,.sc-root table.xls td{border:1px solid #c9d3cc;padding:0;text-align:center}
.sc-root table.xls thead th{background:#f3e3b0;color:#5a1b1f;font-weight:700;padding:6px 4px;position:sticky;top:0;z-index:2}
.sc-root table.xls thead th.dh{background:#b51f2b;color:#fff;border-color:#8f1822;line-height:1.3;white-space:nowrap}
.sc-root table.xls thead th.ah{font-size:11px;min-width:58px;white-space:normal;background:#fbeeb8}
.sc-root table.xls .nm{position:sticky;inset-inline-start:0;background:#f8f4ec;z-index:3;min-width:92px;max-width:120px;text-align:right;padding:6px 8px;font-weight:600;white-space:normal}
.sc-root table.xls thead th.nm{z-index:4;background:#e9cf7a}
.sc-root table.xls .avg{background:#f8f4ec;min-width:62px;padding:6px 4px;font-weight:700;color:#8f1822}
.sc-root table.xls input.gcell{width:100%;min-width:56px;border:0;border-radius:0;background:#fff;text-align:center;padding:9px 2px;margin:0;font-size:15px}
.sc-root table.xls input.gcell:focus{outline:2px solid #c98a00;outline-offset:-2px;background:#fff8dc}
.sc-root table.xls tbody tr:nth-child(even) input.gcell{background:#fcfaf4}
.sc-root .xl{max-height:70vh;overflow:auto;border:1px solid #c9d3cc;border-radius:8px}

.sc-root .hero{text-align:center;background:linear-gradient(160deg,#941925,#b8202f);color:#fff;border-radius:16px;padding:18px 12px 16px;margin:0 0 12px;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.sc-root .hero h2{color:#fff;margin:8px 0 4px;font-size:21px}
.sc-root .hero .since{display:inline-block;background:#f4c430;color:#5a1010;font-weight:700;border-radius:20px;padding:3px 14px;font-size:13px}
.sc-root .gal{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.sc-root .gal figure{margin:0;border-radius:12px;overflow:hidden;background:#fafafa;border:1px solid #e3e3e3}
.sc-root .gal img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.sc-root .gal figcaption{font-size:12px;padding:4px 8px;color:#444}
.sc-root .gal figure .sm{margin:4px 8px 8px}
.sc-root .gal figure.ph{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;border:2px dashed #d9b84a;background:#fffaf0;color:#a58a2a;text-align:center;font-size:13px}
