.admin-topbar{position:sticky;z-index:5;top:0;display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:0 max(24px,calc((100vw - 1160px)/2));border-bottom:1px solid #d9e1dd;background:#fff}.admin-brand{display:flex;align-items:center;gap:10px;color:#19352d;font-size:15px;font-weight:800;text-decoration:none}.admin-brand .brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#ed1c24;color:#fff;font-weight:900}.back-link{color:#087861;font-size:13px;font-weight:750;text-decoration:none}.admin-page{width:min(1160px,calc(100% - 40px));margin:0 auto;padding:42px 0 72px}.admin-hero{padding:30px 34px;border-radius:20px;background:linear-gradient(116deg,#0c6b58,#087861);color:#fff;box-shadow:0 12px 30px #0a40351c}.admin-hero .eyebrow{margin:0 0 7px;color:#a5e4d4}.admin-hero h1{margin:0;font-size:clamp(28px,4vw,38px);letter-spacing:-.055em}.admin-hero p:last-child{max-width:560px;margin:9px 0 0;color:#e2f6ef;font-size:15px}.admin-section{padding:42px 0 0}.section-heading{display:flex;align-items:flex-start;gap:13px;margin:0 0 17px}.section-icon{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;border-radius:12px;background:#d9f2e9;color:#087861;font-size:17px;font-weight:900}.section-heading .eyebrow{margin:1px 0 3px;color:#0c8c72}.section-heading h2{margin:0;color:#19352d;font-size:22px;letter-spacing:-.035em}.section-heading p:last-child{margin:4px 0 0;color:#667872;font-size:13px}.admin-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:18px}.admin-card{padding:24px;border:1px solid #dbe4df;border-radius:16px;background:#fff;box-shadow:0 3px 12px #15362a0a}.admin-card h3{margin:0 0 19px;color:#213d35;font-size:16px;letter-spacing:-.02em}.admin-card label{display:grid;gap:7px;margin:0 0 14px;color:#496058;font-size:12px;font-weight:750}.admin-card input,.admin-card select{width:100%;min-height:44px;padding:0 12px;border:1px solid #cfdcd5;border-radius:9px;background:#fff;color:#19352d;font:inherit;font-size:14px;outline:none}.admin-card input:focus,.admin-card select:focus{border-color:#0c8c72;box-shadow:0 0 0 3px #0c8c7222}.admin-card button{width:100%;min-height:43px;border:0;border-radius:9px;background:#0c8c72;color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.admin-card button:hover{background:#087861}.field-help{display:block;margin:-8px 0 14px;color:#788982;font-size:11px}.user-list{display:grid;gap:9px}.user-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px;border:1px solid #e2e8e4;border-radius:10px;background:#fafcfb}.user-row div{display:grid;gap:3px;min-width:0}.user-row strong{color:#234137;font-size:13px}.user-row span{overflow:hidden;color:#70817a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.user-row button{width:auto;min-height:31px;padding:0 10px;background:#e8f3ee;color:#087861;font-size:11px}.user-row button:hover{background:#d7ece3}.form-error{min-height:18px;margin:10px 0 0;color:#bf2430;font-size:12px}.webhook-secret{display:grid;gap:8px;margin-top:16px;padding:13px;border:1px solid #a7d9c8;border-radius:10px;background:#edf9f3;color:#285d4d;font-size:12px}.webhook-secret code,.hint code{overflow-wrap:anywhere}.webhook-secret code{padding:8px;border-radius:6px;background:#fff;color:#0a4d3d}.webhook-secret small{color:#587369}.hint{margin:17px 0 0;color:#71827b;font-size:11px;line-height:1.6}.hint code{color:#356257}.admin-page+.theme-toggle{top:13px;right:max(22px,calc((100vw - 1260px)/2))}[data-theme="dark"] .admin-topbar,[data-theme="dark"] .admin-card{background:#10211d;border-color:#294038}[data-theme="dark"] .admin-brand,[data-theme="dark"] .section-heading h2,[data-theme="dark"] .admin-card h3{color:#e8f3ee}[data-theme="dark"] .back-link{color:#8ed8c3}[data-theme="dark"] .section-heading p:last-child,[data-theme="dark"] .admin-card label,[data-theme="dark"] .field-help,[data-theme="dark"] .user-row span,[data-theme="dark"] .hint{color:#b8cbc3}[data-theme="dark"] .section-icon{background:#1b4438;color:#8ed8c3}[data-theme="dark"] .admin-card input,[data-theme="dark"] .admin-card select,[data-theme="dark"] .user-row{background:#162b25;border-color:#355148;color:#e8f3ee}[data-theme="dark"] .user-row strong{color:#e8f3ee}[data-theme="dark"] .user-row button{background:#1e493d;color:#a5e4d4}[data-theme="dark"] .webhook-secret{background:#17352c;border-color:#31745f;color:#d7f0e7}[data-theme="dark"] .webhook-secret code{background:#0f211b;color:#a5e4d4}@media(max-width:760px){.admin-topbar{min-height:60px;padding:0 16px}.admin-brand{font-size:13px}.back-link{font-size:0}.back-link::after{content:"‹";font-size:27px}.admin-page{width:min(100% - 28px,600px);padding:25px 0 48px}.admin-hero{padding:25px 66px 25px 22px;border-radius:16px}.admin-section{padding-top:32px}.admin-grid{grid-template-columns:1fr}.admin-card{padding:19px}.admin-page+.theme-toggle{top:70px;right:16px}}
