:root{font:15px/1.55 "Inter",-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#182c2c;background:#f4f7f6}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:1.2rem;background:#102f32;color:white;padding:16px max(4vw,18px)}header strong{font-size:20px}header label{margin-left:auto}header span{opacity:.8}main{max-width:1250px;margin:28px auto;padding:0 20px 48px}h1{font-size:32px;margin:0}h2{font-size:17px;margin:0}p{margin:.35rem 0;color:#526969}button,input,select{font:inherit;border:1px solid #becdcb;border-radius:6px;padding:7px 11px;background:white;color:#193637}button{cursor:pointer}button:disabled{opacity:.48;cursor:default}label{font-size:14px}input[type=checkbox]{width:16px;height:16px;accent-color:#006d68}input[inputmode]{width:104px}.primary{background:#006c66;color:white;border-color:#006c66}.top,.toolbar,.batch,.actions,.sheetbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.top,.sheetbar,.actions{justify-content:space-between}.toolbar{margin:18px 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cards article,.sheet,dialog{background:white;border:1px solid #d9e3e1;border-radius:10px}.cards article{padding:17px}.cards h2{font-size:13px;color:#536968}.cards b{font-size:20px}.cards p,.sheetbar span,.actions span{font-size:13px}.sheet{margin-top:18px}.sheetbar,.batch,.actions,#notices{padding:12px 16px}.batch{background:#f1f6f5}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th,td{padding:8px 10px;border-bottom:1px solid #e4ecea}th{font-size:13px;color:#465e5f}.group{font-weight:600;background:#f7faf9}.group button{background:transparent;border:0;padding:0}#error{padding:12px;background:#fff1db;color:#784100;border-radius:6px}.notice{border-bottom:1px solid #e5ecea;padding:.4rem 0}dialog{max-width:min(620px,95vw);max-height:80vh}dialog::backdrop{background:#10232470}#previewRows{overflow:auto;max-height:50vh}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #007e77;outline-offset:2px}@media(max-width:760px){main{padding:0 10px}.cards{grid-template-columns:1fr}.top h1{font-size:25px}header{gap:8px;flex-wrap:wrap}header label{margin-left:0}}

nav{display:flex;gap:8px;margin:0 0 16px}nav [aria-pressed=true]{background:#d4ece8;color:#005a55;border-color:#8abdb3}.body{padding:3px 16px 16px}

.readonly #editSettings,.readonly .batch,.readonly #core .actions,.readonly #units input,.readonly #all,.readonly #todos button,.readonly #catalogIssues button{display:none}
.readonly #units input[type=text]{display:inline-block;pointer-events:none}
