:root{--ink:#132d3d;--muted:#6c7d88;--line:#e3eaed;--paper:#f5f8f9;--white:#fff;--teal:#087f8c;--teal-dark:#066a75;--mint:#e5f5f2;--red:#bd4149;--shadow:0 12px 36px #1938490d}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',sans-serif}h1,h2,h3{font-family:Manrope,sans-serif;margin:0;color:var(--ink)}h1{font-size:30px;letter-spacing:-.8px}h2{font-size:19px}p{margin:8px 0}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{color:var(--teal);font-weight:700;font-size:10px;letter-spacing:1.6px}.topbar{height:72px;background:var(--white);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1120px)/2),28px)}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-weight:700;font-family:Manrope}.brand small{display:block;color:#84949c;font:600 9px 'DM Sans';letter-spacing:1px;margin-top:2px}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#10a5a1,#087280);color:#fff;display:grid;place-items:center;font:800 20px Manrope;box-shadow:0 6px 16px #087f8c33}.small-mark{width:34px;height:34px;border-radius:10px;font-size:16px}.top-actions{display:flex;align-items:center;gap:24px}.top-actions form{margin:0}.link{color:var(--teal);text-decoration:none;font-weight:600}.quiet{background:none;border:0;color:#526873;cursor:pointer;font:600 13px 'DM Sans'}.shell{max-width:1120px;margin:40px auto 80px;padding:0 24px}.welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.welcome h1{margin:5px 0}.status-pill{background:#e8f5ee;border-radius:20px;color:#347859;font-weight:600;padding:9px 13px;font-size:12px}.status-pill i{display:inline-block;background:#4eae78;border-radius:50%;width:7px;height:7px;margin-right:6px}.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:22px}.tab{border:0;background:transparent;color:#71818a;padding:14px 18px;font:600 13px 'DM Sans';cursor:pointer;border-bottom:2px solid transparent}.tab.active{color:var(--teal);border-color:var(--teal)}.panel{display:none;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:var(--shadow)}.panel.active{display:block}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.section-head p{font-size:12px;max-width:650px}.primary,.secondary{border:0;border-radius:8px;padding:10px 15px;font:600 13px 'DM Sans';cursor:pointer}.primary{color:white;background:var(--teal)}.primary:hover{background:var(--teal-dark)}.secondary{color:#315461;background:#edf3f4}.full{width:100%;margin-top:10px;padding:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{color:#809098;text-transform:uppercase;font-size:10px;letter-spacing:.7px;font-weight:700;padding:12px;border-bottom:1px solid var(--line)}td{padding:14px 12px;border-bottom:1px solid #edf1f2;color:#405862;font-size:13px}tbody tr:last-child td{border-bottom:0}.row-title{font-weight:600;color:var(--ink)}.badge{display:inline-block;padding:4px 8px;border-radius:12px;background:var(--mint);color:#16746f;font-size:10px;font-weight:700}.badge.off{background:#f2f4f5;color:#7a898f}.actions{display:flex;justify-content:flex-end;gap:6px}.text-button{background:none;border:0;padding:6px;color:var(--teal);font:600 12px 'DM Sans';cursor:pointer}.text-button.danger{color:var(--red)}.empty{text-align:center;color:#829198;padding:36px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid label,.login-card label,.curl-label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#526873}.span-2{grid-column:span 2}input,textarea,select{border:1px solid #d9e2e5;border-radius:7px;background:#fff;padding:10px 11px;color:#193746;font:13px 'DM Sans';outline:none;width:100%}input:focus,textarea:focus,select:focus{border-color:#53a9aa;box-shadow:0 0 0 3px #087f8c14}textarea{resize:vertical}.check-line{display:flex;align-items:center;gap:8px;color:#526873;font-size:12px}.check-line input{width:auto}.button-row{display:flex;gap:9px;margin:18px 0 22px}.curl-label{margin-top:18px}.result{background:#f3f7f8;padding:14px;border-radius:8px;white-space:pre-wrap;color:#38515d}.hidden{display:none!important}.key-once{border:1px solid #bbdfd1;background:#eff9f4;padding:16px;border-radius:10px;margin:0 0 18px;display:flex;gap:12px;align-items:center}.key-once div{flex:1}.key-once code{display:block;overflow-wrap:anywhere;background:white;padding:9px;border-radius:5px;margin-top:8px;color:#176859}.toast{position:fixed;bottom:24px;right:24px;background:#193b49;color:#fff;padding:12px 18px;border-radius:9px;box-shadow:var(--shadow);z-index:10}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top right,#e2f4f1,transparent 45%),var(--paper)}.login-card{width:min(420px,calc(100vw - 32px));background:white;border:1px solid var(--line);border-radius:16px;padding:36px;box-shadow:0 20px 55px #18374612}.login-card .brand-mark{margin-bottom:24px}.login-card h1{font-size:24px}.login-card form{display:grid;gap:16px;margin-top:26px}.alert{padding:10px;border-radius:7px;margin-top:16px}.error{background:#fff0f0;color:#a9353b}.success{background:#eaf8ef;color:#347859}.dialog-close{position:absolute;right:16px;top:12px}.dialog-close button,.icon-button{border:0;background:none;font-size:22px;color:#71818a;cursor:pointer}dialog{width:min(520px,calc(100vw - 28px));border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:0 20px 70px #18374633}dialog::backdrop{background:#102b3a66}dialog h2{margin:5px 0 18px}dialog form.editor-form{display:grid;gap:14px}dialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}@media(max-width:720px){.shell{margin-top:25px;padding:0 14px}.topbar{padding:0 14px}.welcome{align-items:flex-start;gap:12px;flex-direction:column}.welcome h1{font-size:24px}.tabs{overflow:auto}.tab{white-space:nowrap;padding:12px}.panel{padding:18px}.section-head{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.top-actions{gap:10px}.key-once{align-items:flex-start;flex-wrap:wrap}}

.topbar{position:relative}.topbar .header-brand{position:absolute;left:50%;transform:translateX(-50%);display:block;color:var(--teal);font:800 27px Manrope,sans-serif;letter-spacing:-1px;white-space:nowrap}@media(max-width:720px){.topbar .header-brand{font-size:22px}.top-actions{gap:8px}}

.shell{display:grid;grid-template-columns:220px minmax(0,1fr);gap:0;align-items:start;max-width:none;margin:0;padding:0}.sidebar{min-height:calc(100vh - 72px);background:var(--white);border-right:1px solid var(--line)}.sidebar .tabs{position:sticky;top:72px;display:flex;flex-direction:column;gap:4px;min-height:calc(100vh - 72px);margin:0;padding:16px 10px;background:var(--white);border:0;border-radius:0;box-shadow:none}.sidebar .tab{width:100%;padding:12px 14px;text-align:left;white-space:normal;border:0;border-left:3px solid transparent;border-radius:7px}.sidebar .tab.active{color:var(--teal);background:var(--mint);border-left-color:var(--teal)}.tab-content{min-width:0;max-width:1200px;width:100%;margin:0 auto;padding:32px 24px}@media(max-width:720px){.shell{display:block}.sidebar{min-height:0;margin-bottom:0;border-right:0}.sidebar .tabs{position:static;flex-direction:row;overflow-x:auto;min-height:0;padding:8px 14px;border-bottom:1px solid var(--line)}.sidebar .tab{width:auto;flex:0 0 auto;text-align:center;white-space:nowrap;border-left:0;border-bottom:2px solid transparent}.sidebar .tab.active{border-left-color:transparent;border-bottom-color:var(--teal)}.tab-content{padding:20px 14px}}

.tab-content{padding-bottom:282px}.live-logs{position:fixed;z-index:20;left:220px;right:0;bottom:0;height:260px;background:#102632;color:#e4eef2;box-shadow:0 -8px 28px #10263230;display:flex;flex-direction:column;border-top:1px solid #33515d}.live-logs.collapsed{height:44px}.live-logs-header{height:44px;min-height:44px;display:flex;align-items:center;gap:16px;padding:0 16px;background:#183845;border-bottom:1px solid #33515d}.logs-toggle{display:flex;align-items:center;gap:9px;border:0;background:none;color:#fff;font:600 12px 'DM Sans';cursor:pointer;padding:8px 0}.logs-chevron{display:inline-block;color:#8dc7c4;font-size:17px;transition:transform .15s}.live-logs.collapsed .logs-chevron{transform:rotate(-90deg)}.logs-connection{display:flex;align-items:center;gap:6px;color:#b7cbd1;font-size:11px}.logs-connection i{width:7px;height:7px;background:#e0ad4b;border-radius:50%}.logs-connection.connected i{background:#59c98a}.logs-connection.disconnected i{background:#e05d63}.logs-count{color:#819aa4;font-size:11px}.logs-filter{margin-left:auto;display:flex;align-items:center;gap:8px;color:#9eb3ba;font-size:11px}.logs-filter select{width:auto;min-width:120px;padding:5px 8px;border-color:#45616c;background:#203f4c;color:#e4eef2;font-size:11px}.live-logs-body{overflow:auto;flex:1;padding:8px 14px 12px;font:11px/1.55 Consolas,'Courier New',monospace}.logs-list{display:grid;gap:3px;margin:0;padding:0;list-style:none}.logs-row{display:grid;grid-template-columns:86px 58px minmax(0,1fr);gap:10px;white-space:pre-wrap;overflow-wrap:anywhere}.logs-time{color:#8199a3}.logs-level{font-weight:700}.logs-level.INFO{color:#73c8c3}.logs-level.WARN{color:#f2c164}.logs-level.ERROR{color:#ff7b80}.logs-message{color:#d4e0e4}.logs-empty{padding:18px 4px;color:#91a8b0}.live-logs.collapsed .live-logs-body{display:none}@media(max-width:720px){.live-logs{left:0;height:220px}.live-logs.collapsed{height:44px}.live-logs-header{gap:9px;padding:0 10px}.logs-toggle{font-size:11px;gap:5px}.logs-count{display:none}.logs-filter{gap:5px}.logs-filter select{min-width:92px}.live-logs-body{padding:7px 9px 10px}.logs-row{grid-template-columns:68px 48px minmax(0,1fr);gap:6px}.tab-content{padding-bottom:242px}}

/* Keep the brand at the left edge and the navigation actions grouped on the right. */
.topbar{padding:0 28px}
.topbar .header-brand{margin-right:auto;flex:0 0 auto}
.topbar .top-actions{margin-left:auto;justify-content:flex-end;flex:0 0 auto}
@media(max-width:720px){.topbar{padding:0 14px}}
.toast{bottom:282px}@media(max-width:720px){.toast{bottom:242px}}

/* Table actions and asynchronous request feedback */
.actions{align-items:center;flex-wrap:wrap;gap:6px}
.action-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:31px;border:1px solid #dce7e9;border-radius:7px;padding:6px 9px;background:#fff;color:var(--teal);font:600 12px 'DM Sans',sans-serif;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.action-button:hover:not(:disabled){background:#eef8f7;border-color:#b8dedd}
.action-button svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.action-button.danger{color:var(--red)}
.action-button.danger:hover:not(:disabled){background:#fff2f2;border-color:#f0cbcd}
.action-button:disabled{cursor:wait;opacity:.75}
.button-spinner{width:13px;height:13px;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:button-spin .7s linear infinite}
@keyframes button-spin{to{transform:rotate(360deg)}}
.api-progress{position:fixed;z-index:1000;inset:0 0 auto;height:3px;overflow:hidden;opacity:0;pointer-events:none;transition:opacity .15s ease}
.api-progress.active{opacity:1}
.api-progress::after{content:"";position:absolute;inset:0 auto 0 0;width:34%;background:linear-gradient(90deg,#10a5a1,var(--teal),#68c9bd);transform:translateX(-110%)}
.api-progress.active::after{animation:api-progress-slide 1.1s ease-in-out infinite}
@keyframes api-progress-slide{0%{transform:translateX(-110%)}100%{transform:translateX(310%)}}
@media(max-width:900px){.actions{justify-content:flex-start}}
.logs-clear-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;border:1px solid #ead1d2;border-radius:7px;padding:5px 9px;background:#fff;color:var(--red);font:600 12px 'DM Sans',sans-serif;white-space:nowrap;cursor:pointer}
.logs-clear-button:hover:not(:disabled){background:#fff3f3;border-color:#e5b7ba}
.logs-clear-button:disabled{cursor:wait;opacity:.75}
.logs-clear-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
