:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#193b2c;background:#f4f3ec;font-size:16px;line-height:1.5;--green:#18563b;--line:#d7ddd3;--muted:#586a5e}*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:.2em}button,input,select,textarea{font:inherit}button,.button{min-height:48px;padding:11px 18px;border:1px solid #819586;border-radius:8px;background:#fff;color:#193b2c;cursor:pointer;font-weight:650;text-align:center;display:inline-block;text-decoration:none}button:hover,.button:hover{background:#eaf0e5}button:disabled{opacity:.5;cursor:default}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#10412c}.danger{color:#8c2925}input,select,textarea{display:block;width:100%;padding:11px;border:1px solid #8a9b8c;border-radius:6px;background:white;color:#193b2c;min-height:48px}textarea{min-height:96px;resize:vertical}input[type=checkbox]{width:22px;min-height:22px;display:inline-block;accent-color:var(--green)}label{display:block;font-weight:600;margin:17px 0 6px}.check{display:flex;gap:10px;align-items:flex-start}.check input{flex:0 0 22px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d59c20;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3.8vw,2.8rem);line-height:1.13;letter-spacing:-.035em;margin-bottom:16px}h2{font-size:1.3rem;line-height:1.3}p{color:var(--muted)}.brand{display:inline-block;font-size:25px;font-weight:800;text-decoration:none;letter-spacing:-.04em}.brand span{color:#719345}.account-page{max-width:1100px;margin:auto;padding:32px 24px}.account-card{max-width:480px;margin:50px auto 30px;background:white;border:1px solid var(--line);padding:32px;border-radius:12px}.account-card form button{margin:22px 8px 12px 0}.account-card form .primary{width:100%}.account-links{display:flex;justify-content:space-between;gap:16px;font-size:.92rem}.eyebrow{font-size:.72rem;font-weight:750;letter-spacing:.1em;color:var(--green);margin-bottom:13px}.hint{font-size:.87rem;margin:8px 0;color:var(--muted)}code,pre{overflow-wrap:anywhere;white-space:pre-wrap;font-size:.9rem}pre{background:#f3f5ef;border:1px solid var(--line);padding:16px}footer{color:var(--muted);font-size:.8rem;text-align:center;margin:30px 0}#account-status,.error-message{color:#8c2925;background:#fff2ed;border:1px solid #dcb1a6;border-radius:6px;padding:12px;margin-top:18px}.admin-shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.admin-nav{padding:28px 20px;background:#183e2d;color:#e4eadf}.admin-nav .brand{color:white;margin-bottom:42px}.admin-nav button{border:0;background:transparent;color:#e4eadf;display:block;width:100%;text-align:left;font-weight:500;margin-bottom:8px}.admin-nav button[aria-current=page]{background:#355743;color:white;font-weight:700}.admin-nav p{color:#c3d1c5;font-size:.85rem}.admin-main{padding:40px clamp(20px,4vw,64px);max-width:1500px;width:100%}.admin-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:30px}.admin-header p{max-width:650px;margin-bottom:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.toolbar p{margin:0}.table-wrap{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;text-align:left;width:100%;font-size:.9rem}th{background:#ebeee5;font-size:.73rem;text-transform:uppercase;letter-spacing:.05em}th,td{padding:18px 16px;border-bottom:1px solid var(--line);vertical-align:top}tr:last-child td{border-bottom:0}td small{display:block;color:var(--muted);margin-top:4px}.badge{display:inline-block;padding:3px 8px;background:#eaf0e5;border-radius:4px;font-size:.76rem;font-weight:650}.badge.warn{background:#fff0ce;color:#7d5400}.badge.off{background:#edf0ed;color:#586a5e}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{font-size:.82rem;padding:6px 12px;min-height:44px}.empty{padding:40px;max-width:700px}.notice{padding:14px 18px;background:#e9efe1;border:1px solid #bdcbb0;border-radius:8px;margin:0 0 24px}.notice p:last-child{margin-bottom:0}.notice.error{background:#fff2ed;border-color:#dcb1a6}.muted{color:var(--muted)}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;width:min(660px,calc(100% - 32px));max-height:90vh;overflow:auto;color:#193b2c}dialog::backdrop{background:#112c23aa}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.dialog-head h2{margin:0}.dialog-head button{border:0;font-size:1.4rem;padding:4px 12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.wide{grid-column:1/-1}.scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.scope-grid label{font-size:.85rem;font-weight:500;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.connection-dot{display:inline-block;width:8px;height:8px;background:#5b785d;border-radius:50%;margin-right:6px}.source-note{font-size:.8rem;margin-top:16px}.section-gap{margin-top:32px}details{margin:20px 0}summary{cursor:pointer;font-weight:600}dl{display:grid;grid-template-columns:140px 1fr;gap:8px}dt{font-weight:650}dd{margin:0;overflow-wrap:anywhere}@media(max-width:780px){.admin-shell{display:block}.admin-nav{padding:16px 20px}.admin-nav .brand{margin:0 0 10px}.admin-nav nav{display:flex;gap:8px;flex-wrap:wrap}.admin-nav button{width:auto;margin:0;padding:8px 12px}.admin-nav p{display:none}.admin-main{padding:24px 18px}.admin-header{display:block}.admin-header button{margin-top:16px}td,th{padding:12px}.form-grid,.scope-grid{grid-template-columns:1fr}.account-card{margin-top:30px;padding:24px}.account-page{padding:22px 16px}}
