:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#17342d;background:#f4f8f5;font-size:16px}*{box-sizing:border-box}body{margin:0;min-height:100vh}.hidden{display:none!important}.top{background:#126b58;color:white;padding:18px max(18px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;gap:12px}.top h1{font-size:1.45rem;line-height:1.15;margin:4px 0 0}.eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.18em;opacity:.78}main{max-width:920px;margin:auto;padding:18px 14px 88px}.card,.item{background:white;border:1px solid #d7e6dc;border-radius:17px;box-shadow:0 5px 19px #154e3420}.card{padding:24px;max-width:510px;margin:32px auto}.card h2{margin:0 0 8px}.card p{line-height:1.5;color:#4b6257}label{display:block;font-size:.88rem;font-weight:700}input,select{font:inherit;color:inherit;max-width:100%}label>input,label>select{display:block;width:100%;margin-top:6px}input:not([type=checkbox]),select{background:#fff;border:1px solid #b9cec2;border-radius:10px;padding:11px 12px;min-height:43px}.card form{display:grid;gap:16px;margin-top:18px}button{font:inherit;font-weight:700;cursor:pointer;min-height:42px;padding:8px 14px;background:white;color:#126b58;border:1px solid #9fc9b8;border-radius:10px}button:hover{background:#e8f6ef}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:#126b58;color:white;border-color:#126b58}button.primary:hover{background:#0e5949}button.danger{color:#a82d31;border-color:#e1b2b3}button.danger:hover{background:#fff0f0}button.text{background:transparent;color:white;border-color:#ffffff80}.actions,.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.toolbar{margin:14px 0}.toolbar>label{min-width:160px;flex:1}.toolbar>input[type=search]{flex:1;min-width:180px}.toolbar .inline{display:flex;align-items:center;gap:6px;flex:none;font-size:.82rem}.status{border-radius:11px;background:#e5f3e9;color:#155d4b;padding:10px 12px;font-size:.82rem;line-height:1.4}.status.warn{background:#fff0d8;color:#74511c}.status.error{background:#ffe7e7;color:#952f35}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:15px;background:#e4eee7;padding:5px;border-radius:12px}.tabs button{border:0;background:transparent;color:#456257}.tabs button.selected{background:#fff;color:#126b58;box-shadow:0 2px 8px #173e3022}.items{display:grid;gap:10px}.item{padding:15px;display:grid;gap:10px}.item-head{display:flex;justify-content:space-between;align-items:start;gap:8px}.item h3{font-size:1.04rem;line-height:1.25;margin:0}.item small{color:#657d70}.item strong{font-size:1.12rem;white-space:nowrap}.item .actions{justify-content:flex-end}.item .actions button{font-size:.82rem;min-height:36px;padding:6px 9px}.empty{color:#607569;text-align:center;padding:34px 12px;background:#fff;border:1px dashed #b8cbbb;border-radius:14px}.refresh{display:block;margin:26px auto;background:transparent}dialog{border:0;border-radius:18px;width:min(95vw,520px);max-height:88vh;padding:22px;box-shadow:0 22px 80px #112d2890}dialog::backdrop{background:#0a2725a8}dialog h2{font-size:1.2rem;margin:0 0 15px}#editor-fields{display:grid;gap:14px;max-height:60vh;overflow:auto;padding:2px}dialog .actions{justify-content:flex-end;margin-top:20px}#toast{position:fixed;z-index:20;bottom:max(15px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),560px);pointer-events:none}#toast:not(:empty){background:#17342d;color:white;border-radius:12px;padding:13px 16px;box-shadow:0 6px 20px #0003}@media(max-width:600px){.toolbar>label{min-width:100%}.toolbar>button{flex:1}.item-head{align-items:start}.item .actions{justify-content:start}.top h1{font-size:1.25rem}}
