:root{font-family:Inter,system-ui,sans-serif;color:#19384b;background:#f3f6f8;font-size:14px;--border:#dbe5eb;--accent:#24617f}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--border);padding:22px 5vw}a{color:var(--accent)}header a{font-size:19px;text-decoration:none;font-weight:750}header span{font-size:13px;font-weight:400;margin-left:14px}.local{background:#eaf2ee;color:#34634b;padding:5px 10px;border-radius:20px}main{max-width:1280px;margin:36px auto;padding:0 24px}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}h1{font-size:28px;margin:0}p{line-height:1.6;color:#586a79}button,.actions a{font:inherit;border:1px solid var(--accent);border-radius:9px;background:var(--accent);color:white;padding:11px 16px;cursor:pointer;min-height:42px;text-decoration:none}button:disabled{opacity:.5;cursor:wait}.secondary{background:white;color:var(--accent);border-color:var(--border)}input,select,textarea{font:inherit;width:100%;min-width:0;padding:10px;border:1px solid var(--border);border-radius:8px;background:white;color:inherit}input:focus-visible,button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #9ec6da;outline-offset:2px}label{display:grid;gap:7px;margin:14px 0}.card{background:white;border:1px solid var(--border);border-radius:16px;overflow:hidden}.toolbar{display:flex;align-items:end;gap:20px;padding:10px 24px}.toolbar label:first-child{flex:1}.toolbar label{max-width:480px}.toolbar>span{margin-bottom:24px;color:#657887}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:650px;text-align:left}th,td{padding:16px 24px;border-top:1px solid var(--border)}th{font-size:12px;color:#657887;background:#f8fafb}td small{display:block;margin-top:6px;color:#657887}dialog{width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:24px;border:1px solid var(--border);border-radius:16px;color:inherit;overflow:auto}dialog::backdrop{background:#18314688}h2{margin:0 0 18px;font-size:22px}h3{margin:28px 0 10px}.actions,.dialog-heading{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.dialog-heading{justify-content:space-between;margin-bottom:20px}.dialog-heading h2{margin:0}.domain{display:flex;align-items:center;gap:8px}.error{color:#b42318}textarea{resize:vertical;font-size:13px}@media(max-width:650px){main{padding:0 12px;margin-top:22px}.heading{align-items:start;flex-direction:column}.toolbar{flex-wrap:wrap;gap:8px;padding:10px 14px}.toolbar label{flex:1 1 180px;margin:4px 0}.toolbar>span{margin:8px 0}th,td{padding:12px}.actions>*{flex:1}.dialog-heading{align-items:start}h1{font-size:24px}}

.usage{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:0}
.usage>div{padding:12px;border:1px solid var(--border);border-radius:10px;background:#f8fafb}
.usage dt{font-weight:650}
.usage dd{margin:4px 0 0;font-size:22px;font-weight:750}
.usage small{display:block;color:#586a79;font-size:12px;font-weight:400;line-height:1.45}

:root{background:#f1f5f7;--accent:#255d77;--border:#dbe5eb}
header{background:#193749;color:#fff}
header a{display:inline-flex;align-items:center;gap:9px;color:#fff}
header a>span{margin:0;color:#dce9ef}
header a>.brand-mark{display:grid;place-items:center;width:33px;height:33px;border-radius:9px;background:#e5bd70;color:#273d40}
.brand-mark svg{width:18px;height:18px}
.with-icon,#create-open,.offer-badge,.camping-identity{display:inline-flex;align-items:center;gap:8px}
.with-icon svg,#create-open svg,.offer-badge svg{flex:none;width:16px;height:16px}
.with-icon [data-icon],#create-open [data-icon]{display:inline-flex}
.camping-identity{gap:10px}
.camping-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:#e6f3ed;color:#216347}
.camping-icon svg{width:20px;height:20px}
.card{box-shadow:0 6px 22px #1937490b}
th{background:#e9f2f7;color:#274e63}
tbody tr:nth-child(even){background:#f7fafc}
tbody tr:hover{background:#edf6fa}
.offer-badge{padding:5px 8px;border-radius:8px;font-size:12px;font-weight:650;white-space:nowrap}
.offer-badge.green{background:#e3f3e8;color:#205d3a}
.offer-badge.blue{background:#e1f0fb;color:#234f73}
.offer-badge.amber{background:#fff0ce;color:#704600}
.offer-badge.red{background:#fce8e6;color:#982b23}
.offer-badge.neutral{background:#eaf0f3;color:#405968}
.usage>div:nth-child(1){background:#edf7f1;color:#215b42}
.usage>div:nth-child(2){background:#ebf4fb;color:#244d72}
.usage>div:nth-child(3){background:#f7effb;color:#603e76}

.camping-state{display:flex;margin:0 0 12px}
.camping-open{display:inline-block;margin-bottom:4px}

#operator-enrollment{padding:12px;border:1px solid var(--border);border-radius:10px;background:#f4f8fa}
#operator-enrollment p{margin-top:0}
#operator-enrollment-qr{display:block;max-width:100%;height:auto;margin:0 auto;background:white}

#operator-password-row[hidden],#operator-logout[hidden]{display:none}
