* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #1c293e; --muted: #68758a; --line: #e0e6ef; --blue: #2456cf; }
body { margin: 0; background: #f5f7fb; color: var(--ink); font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { outline-offset: 4px; }
.topbar { min-height: 76px; display: flex; align-items: center; gap: 48px; padding: 12px 36px; background: white; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 700; white-space: nowrap; }
.brand span:last-child { color: var(--muted); font-size: 14px; font-weight: 400; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--blue); color: white; border-radius: 9px; }
nav { display: flex; gap: 8px; }
nav a { padding: 8px 14px; color: var(--muted); border-radius: 7px; }
nav a.active { background: #edf2ff; color: var(--blue); font-weight: 600; }
.account { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.account form { margin: 0; }
.container { max-width: 1440px; margin: 0 auto; padding: 36px; }
h1 { margin: 0; font-size: 30px; letter-spacing: -0.6px; line-height: 1.25; }
h2 { font-size: 20px; margin: 0 0 8px; }
.muted, .hint { color: var(--muted); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); margin: 0 0 10px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-heading p:last-child { margin: 10px 0 0; }
.panel { background: white; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th { background: #fafbfe; color: var(--muted); font-size: 12px; font-weight: 600; }
th, td { padding: 17px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: none; }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; font-size: 13px; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 10px 17px; border: 1px solid var(--blue); border-radius: 7px; background: var(--blue); color: white; font-weight: 600; cursor: pointer; white-space: nowrap; }
.button:hover { background: #1c45a7; text-decoration: none; }
.button-secondary { background: white; color: var(--ink); border-color: var(--line); }
.button-secondary:hover, .button-quiet:hover { background: #edf2ff; }
.button-quiet { background: transparent; color: var(--muted); border-color: transparent; }
.button-full { width: 100%; }
.form-panel { max-width: 720px; padding: 30px; }
.form-stack { display: grid; gap: 22px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
input, textarea, select { display: block; width: 100%; background: white; color: var(--ink); border: 1px solid #cbd5e3; border-radius: 7px; padding: 11px 12px; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid #b7cbff; border-color: var(--blue); }
[aria-invalid="true"] { border-color: #bd3434; }
.required, .field-error { color: #b42c2c; }
.hint, .field-error { font-size: 13px; margin: 7px 0 0; }
.form-actions { display: flex; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.login-card { max-width: 430px; margin: 64px auto; padding: 32px; }
.login-card h1 { font-size: 25px; }
.login-card > .muted { margin: 12px 0 27px; }
.notice { padding: 14px 18px; margin-bottom: 24px; border: 1px solid; border-radius: 8px; }
.notice-success { background: #effaf4; border-color: #c7e9d7; color: #256143; }
.notice-error { background: #fff2f2; border-color: #efcece; color: #922e2e; }
.back-link { display: inline-block; margin-bottom: 20px; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.empty h1, .empty h2 { color: var(--ink); }
.badge { display: inline-block; padding: 3px 9px; background: #f0f3f8; border-radius: 5px; font-size: 12px; }
.badge-test { background: #fff3d9; color: #866009; }
.destination { display: block; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; max-width: 280px; }
.public-link { display: block; font-size: 12px; overflow-wrap: anywhere; min-width: 180px; max-width: 280px; }
.copy-button { border: 0; padding: 5px 0; color: var(--blue); background: transparent; font-size: 12px; cursor: pointer; }
.created-link { padding: 20px; display: flex; align-items: center; gap: 20px; justify-content: space-between; margin-bottom: 24px; }
.created-link code { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.search-panel { padding: 22px; margin-bottom: 24px; }
.search-form { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.search-form .field { flex: 1 1 300px; }
.search-form > .button { margin-top: 29px; }
.click-table { min-width: 850px; }
.pagination { align-items: center; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.click-details { padding: 26px; margin-bottom: 30px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 36px; margin: 24px 0; }
.detail-grid dt { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.detail-grid dd { margin: 0; overflow-wrap: anywhere; }
.detail-grid code { font-size: 13px; }
.request-details { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 14px; }
.postback-table { min-width: 800px; }
.postback-table .json-data { min-width: 240px; max-width: 420px; }
summary { cursor: pointer; color: var(--blue); font-size: 14px; }
.json-data { margin: 12px 0 0; padding: 16px; border-radius: 7px; background: #f5f7fb; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 720px) {
    .topbar { padding: 14px 20px; gap: 16px; flex-wrap: wrap; }
    .brand { width: 100%; }
    nav { gap: 0; }
    .account { gap: 8px; font-size: 13px; }
    .container { padding: 24px 16px; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    h1 { font-size: 26px; }
    .login-card { margin: 24px auto; padding: 24px; }
    .form-panel { padding: 22px; }
    .created-link { align-items: flex-start; flex-direction: column; }
    .click-details { padding: 22px; }
    .search-form .field { flex-basis: 100%; }
    .search-form > .button { margin-top: 0; }
    .detail-grid { grid-template-columns: minmax(0, 1fr); }
}
