:root{font-family:"Noto Sans Thai",Arial,sans-serif;color:#063d3b;background:#dff9f7}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#0abab5 0,#9be7e3 28%,#effcfb 62%,#fff 100%);background-attachment:fixed}header{padding:28px max(20px,calc((100% - 1120px)/2));display:flex;justify-content:space-between;gap:20px;align-items:center}header h1{margin:4px 0;font-size:clamp(30px,5vw,48px)}header p{margin:0}header a,.secondary{background:#fff;color:#063d3b;border:1px solid #0abab5;border-radius:12px;padding:12px 16px;text-decoration:none;min-height:44px}main{width:min(1120px,calc(100% - 28px));margin:auto;padding-bottom:48px;display:grid;gap:16px}.panel,.notice{background:#fff;border:1px solid #89d8d3;border-radius:20px;padding:22px;box-shadow:0 12px 30px #064b4720}.notice{background:#fff8db;border-color:#e7c95c}.notice p,.help{margin-bottom:0;color:#456b69}.form-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}label{display:grid;gap:7px;font-weight:700}select,button{font:inherit;min-height:48px;border-radius:12px;border:1px solid #79cfc9;padding:10px 14px}button{background:#0abab5;color:#063d3b;font-weight:800;cursor:pointer}button:hover{background:#35c9c4}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #e1a500;outline-offset:3px}.head{display:flex;justify-content:space-between;align-items:center}.list{display:grid;gap:12px}.endpoint{border:1px solid #a9ddda;border-radius:16px;padding:16px;background:#f7fffe}.endpoint-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.badge{padding:5px 10px;border-radius:999px;background:#e3f8f6}.badge.paused,.badge.draft{background:#fff3cb}.badge.revoked{background:#ffe5e5}.url{display:flex;gap:8px;margin:12px 0}.url code{flex:1;overflow-wrap:anywhere;background:#eaf9f8;border-radius:10px;padding:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{background:#fff}.actions .danger{border-color:#e24b4b;color:#9e1d1d}.policy a{color:#076d68}#state.error{color:#a51f1f}#state.success{color:#08714c}@media(max-width:700px){header{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.endpoint-top,.url{align-items:flex-start;flex-direction:column}.url code,.url button,.actions button{width:100%}}
