:root {
  color-scheme: light;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --blue: #183653;
  --blue-light: #e8f0f8;
  --ink: #243444;
  --muted: #617487;
  --line: #d9e2eb;
  --green: #19734a;
  --green-light: #e8f4ee;
  --amber: #986400;
  --amber-light: #fff5da;
  --red: #a53434;
  --red-light: #fceeee;
  --focus: #2174bd;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: #185f9b; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: 2rem; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 8px; color: var(--blue); }
h2 { font-size: 1.2rem; line-height: 1.35; font-weight: 650; margin-bottom: 6px; }
h3 { font-size: 1rem; font-weight: 650; margin-bottom: 12px; }
p { max-width: 76ch; }
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
button { touch-action: manipulation; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--blue); flex: 0 0 auto; }
input:not([type="checkbox"]):not([type="hidden"]):where(:not([type="radio"])), select, textarea {
  width: 100%; min-width: 0; border: 1px solid #b9c9d8; border-radius: 5px; background: var(--surface); color: var(--ink); padding: 9px 11px; min-height: 42px;
}
input:disabled, select:disabled, textarea:disabled { background: #edf1f5; }
input::placeholder { color: #748596; opacity: 1; }
input[readonly] { background: #f3f6fa; }
input[type="number"], input[type="time"] { font-variant-numeric: tabular-nums; }
fieldset { min-width: 0; margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 8px; transform: translateY(-180%); background: white; padding: 10px 16px; border-radius: 5px; }
.skip-link:focus { transform: translateY(0); }
.muted, .section-note { color: var(--muted); font-size: .86rem; }
.section-note { margin: 14px 0 0; line-height: 1.6; }
.small-label { display: block; color: var(--muted); font-size: .79rem; margin-bottom: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1px solid #b9c9d8; border-radius: 5px; background: var(--surface); color: var(--blue); font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.button:hover:not(:disabled) { background: #eef3f8; border-color: #8ca6bd; }
.button-primary { background: var(--blue); border-color: var(--blue); color: white; }
.button-primary:hover:not(:disabled) { background: #244e73; border-color: #244e73; }
.button-quiet { background: transparent; }
.button-small { min-height: 34px; padding: 6px 10px; font-size: .79rem; }
.button-danger { color: var(--red); }
.button-group { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { padding: 13px 16px; border: 1px solid var(--line); border-left-width: 3px; border-radius: 4px; margin-bottom: 20px; font-size: .9rem; overflow-wrap: anywhere; }
.notice-error { color: #812b2b; border-color: #e9bcbc; background: var(--red-light); }
.notice-warning { color: #765000; border-color: #e7cf8f; background: var(--amber-light); }
.app-shell { display: grid; grid-template-columns: 214px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--blue); color: #dfe9f3; padding: 32px 19px 22px; position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-size: 1.65rem; line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.brand-mark { width: 23px; height: 29px; display: block; flex-shrink: 0; border-left: 5px solid #a4c8e7; border-right: 5px solid white; position: relative; transform: skewY(-16deg); }
.brand-mark::after { content: ""; position: absolute; width: 5px; background: #a4c8e7; top: 6px; bottom: -6px; left: 4px; }
.brand-subtitle { display: block; color: #b4c9dc; font-size: .76rem; font-weight: 400; letter-spacing: 0; margin-top: 9px; }
.main-nav { display: flex; flex-direction: column; gap: 5px; margin-top: 54px; }
.main-nav a { display: flex; align-items: center; gap: 9px; color: #cbdbea; text-decoration: none; padding: 11px 12px; border-left: 3px solid transparent; border-radius: 0 4px 4px 0; font-size: .89rem; }
.main-nav a:hover { background: #244665; color: white; }
.main-nav a[aria-current="page"] { background: #2c4b68; color: white; border-left-color: #a4c8e7; font-weight: 600; }
.unsaved-dot { width: 7px; height: 7px; background: #f3ca74; border-radius: 50%; margin-left: auto; }
.sidebar-footer { margin-top: auto; border-top: 1px solid #3a5570; padding-top: 20px; display: flex; flex-direction: column; align-items: start; gap: 4px; min-width: 0; }
.account-label { color: #b4c9dc; font-size: .75rem; }
.account-name { font-size: .89rem; overflow-wrap: anywhere; max-width: 100%; }
.sidebar-signout { margin-top: 10px; border-color: #526c85; background: transparent; color: #e3edf6; min-height: 34px; padding: 6px 12px; font-size: .8rem; }
.sidebar-signout:hover:not(:disabled) { background: #2c4b68; border-color: #9db3c7; }
.main-content { width: 100%; min-width: 0; padding: 39px 42px 48px; max-width: 1600px; }
.page-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 29px; }
.page-header p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.refresh-control { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-top: 3px; }
.refresh-control .muted { font-size: .77rem; }
.revision-label { color: var(--muted); font-size: .83rem; padding-top: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.service-strip { display: grid; grid-template-columns: 1fr 1fr 1.5fr .75fr; gap: 20px; padding: 18px 22px; background: #eaf0f6; border-top: 2px solid #7592ad; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.service-strip strong { font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.strip-detail { display: block; margin-top: 3px; font-size: .79rem; overflow-wrap: anywhere; }
.strip-detail:empty { display: none; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.section-heading p { margin-bottom: 0; font-size: .86rem; color: var(--muted); }
.dispatch-section { margin-bottom: 33px; }
.dispatch-form { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.target-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; border: 0; }
.target-option { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 12px; padding: 21px 22px; cursor: pointer; }
.target-option + .target-option { border-left: 1px solid var(--line); }
.target-option:has(input:checked) { background: #f0f5fa; }
.target-option > input { margin: 3px 0 0; }
.target-option > span:not(.provider-latest) { font-size: 1.05rem; font-weight: 650; color: var(--blue); }
.provider-latest { grid-column: 2; color: var(--muted); font-size: .78rem; padding-top: 6px; min-width: 0; overflow-wrap: anywhere; }
.provider-latest .badge { font-size: .7rem; padding: 2px 7px; margin: 0 5px 4px 0; }
.dispatch-action { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); }
.dispatch-action .muted { font-size: .81rem; }
.action-message { margin: 10px 0 0; font-size: .86rem; min-height: 0; color: var(--green); }
.action-message:empty { display: none; }
.action-message.is-error { color: var(--red); }
.inline-field { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .8rem; }
.inline-field select { width: auto; min-height: 37px; padding: 6px 30px 6px 10px; font-size: .82rem; }
.count { font-size: .8rem; font-weight: 400; color: var(--muted); margin-left: 6px; }
.launch-list, .webhook-list { border-top: 1px solid var(--line); }
.run, .webhook-event { background: var(--surface); border-bottom: 1px solid var(--line); }
.run > summary, .webhook-event > summary { list-style: none; display: grid; align-items: center; gap: 16px; padding: 18px 18px 18px 14px; position: relative; }
.run > summary { grid-template-columns: 16px minmax(140px, 1.1fr) minmax(100px, .8fr) minmax(155px, 1fr) minmax(140px, .6fr); }
.run > summary::-webkit-details-marker, .webhook-event > summary::-webkit-details-marker { display: none; }
.run > summary::before, .webhook-event > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid #73879a; border-bottom: 2px solid #73879a; transform: rotate(-45deg); margin-left: 2px; }
.run[open] > summary::before, .webhook-event[open] > summary::before { transform: rotate(45deg); }
.run > summary:hover, .webhook-event > summary:hover { background: #f4f7fb; }
.run[open] > summary, .webhook-event[open] > summary { background: #edf3f9; border-bottom: 1px solid var(--line); }
.run-title { font-weight: 650; font-size: .91rem; display: block; }
.run-subtitle { display: block; color: var(--muted); font-size: .75rem; margin-top: 3px; font-weight: 400; }
.run-targets { font-size: .82rem; color: #4e6478; overflow-wrap: anywhere; }
.run-time { color: var(--muted); font-size: .79rem; font-variant-numeric: tabular-nums; }
.run-badge { justify-self: end; }
.badge { display: inline-block; width: fit-content; max-width: 100%; text-align: center; border-radius: 4px; padding: 3px 9px; font-weight: 600; font-size: .76rem; line-height: 1.5; }
.badge-completed { color: var(--green); background: var(--green-light); }
.badge-pending, .badge-queued { color: var(--amber); background: var(--amber-light); }
.badge-running { color: #175b96; background: #e4effa; }
.badge-failed, .badge-interrupted { color: var(--red); background: var(--red-light); }
.badge-neutral, .badge-skipped { color: #596d7f; background: #edf1f5; }
.run-body { padding: 18px 22px 22px 46px; }
.summary-counts { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; margin-bottom: 17px; }
.result-list { display: flex; flex-direction: column; gap: 12px; }
.result { border-left: 3px solid #b9c9d8; padding: 13px 16px; background: #f7f9fb; }
.result.is-failed { border-left-color: #c36363; }
.result.is-pending, .result.is-queued { border-left-color: #c49c3c; }
.result.is-completed { border-left-color: #6caa8c; }
.result-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 9px; }
.result-header h3 { margin: 0; font-size: .9rem; }
.result-meta { display: flex; flex-wrap: wrap; gap: 7px 22px; margin: 0; font-size: .79rem; }
.result-meta div { display: flex; gap: 6px; min-width: 0; }
.result-meta dt { color: var(--muted); }
.result-meta dd { margin: 0; overflow-wrap: anywhere; }
.result-error { color: #8b3030; font-size: .84rem; white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0 0; }
.result-data, .event-data { margin-top: 12px; font-size: .82rem; }
.result-data > summary, .event-data > summary { color: #255d8c; width: fit-content; padding: 3px 0; }
.payload { margin: 10px 0 0; font-family: Consolas, "Courier New", monospace; font-size: .75rem; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; padding: 13px; background: #edf1f6; border: 1px solid var(--line); border-radius: 4px; tab-size: 2; }
.feedback-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: .82rem; }
.empty-state { padding: 36px 24px; border: 1px dashed #c2d1de; border-top: 0; background: #f8fafc; color: var(--muted); text-align: center; font-size: .88rem; }
.empty-state strong { color: var(--ink); display: block; font-weight: 600; margin-bottom: 6px; }
.config-layout { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 25px; align-items: start; }
.config-nav { display: flex; flex-direction: column; position: sticky; top: 24px; border-left: 1px solid #cbd8e4; }
.config-nav a { padding: 9px 12px; text-decoration: none; color: #536b81; font-size: .82rem; }
.config-nav a:hover, .config-nav a:focus-visible { color: var(--blue); background: #e8eef5; }
.settings-form { min-width: 0; }
.settings-editor { border: 0; padding: 0; }
.config-section { background: white; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 23px; padding: 24px; scroll-margin-top: 20px; }
.config-section > header { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.config-section > header h2 { color: var(--blue); }
.config-section > header p { color: var(--muted); font-size: .85rem; margin-bottom: 0; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; }
.field-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
.field-label { font-weight: 600; font-size: .83rem; }
.field-hint { display: block; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.field-wide { grid-column: 1 / -1; }
.check-field { display: flex; align-items: start; gap: 10px; cursor: pointer; font-size: .84rem; min-height: 32px; }
.check-field > input { margin: 2px 0 0; }
.check-field .field-hint { margin-top: 3px; }
.check-group { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.check-group .check-field { min-height: auto; }
.setting-subsection { border: 0; padding: 0; margin: 24px 0 0; }
.setting-subsection > legend { padding: 0; margin-bottom: 12px; font-size: .93rem; font-weight: 650; }
.setting-subsection > p { font-size: .8rem; color: var(--muted); margin: -2px 0 14px; }
.secret-control { display: flex; gap: 6px; align-items: stretch; }
.secret-control input { flex: 1 1 auto; }
.secret-control .button { flex: 0 0 auto; padding: 7px 10px; font-size: .76rem; min-width: 71px; }
.secret-status { font-size: .75rem; color: var(--muted); min-height: 1.2em; }
.repeat-group { border-top: 1px solid var(--line); padding-top: 19px; margin-top: 24px; }
.repeat-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.repeat-heading h3 { margin-bottom: 4px; }
.repeat-heading p { font-size: .79rem; color: var(--muted); margin: 0; }
.repeat-list { display: flex; flex-direction: column; gap: 12px; }
.repeat-row { border: 1px solid var(--line); border-radius: 5px; padding: 16px; background: #fafbfd; min-width: 0; }
.repeat-row-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.repeat-row-title { font-size: .83rem; font-weight: 600; }
.row-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.row-actions .button { min-height: 31px; padding: 4px 9px; font-size: .73rem; }
.record-id { font-size: .72rem; color: var(--muted); margin: 10px 0 0; overflow-wrap: anywhere; }
.repeat-empty { color: var(--muted); font-size: .8rem; background: #f5f8fb; border: 1px dashed var(--line); padding: 13px; }
.repeat-row .repeat-group { margin-top: 19px; padding-top: 16px; }
.repeat-row .repeat-row { background: white; }
.repeat-row .field-grid { gap: 14px; }
.schedule-panel { margin: 16px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 5px; }
.schedule-panel[disabled] { background: #f7f9fb; opacity: .6; }
.schedule-panel[disabled] .check-field { cursor: not-allowed; }
.schedule-panel[disabled] .button:disabled { opacity: 1; }
.time-row { display: grid; grid-template-columns: minmax(150px, 200px) minmax(0, 1fr); gap: 14px 24px; align-items: start; }
.time-row .setting-subsection { margin: 0; }
.time-row .setting-subsection > legend { margin-bottom: 6px; font-size: .83rem; font-weight: 600; }
.time-row .check-group { min-height: 42px; align-items: center; }
.price-preview { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); gap: 10px 20px; align-items: end; margin-top: 17px; padding: 14px 16px; background: #f5f8fb; border: 1px solid var(--line); border-radius: 5px; }
.price-preview-result { display: flex; align-items: center; min-height: 42px; margin: 0; font-size: .86rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price-preview-result.is-error { color: var(--red); }
.settings-footer { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 17px 20px; background: #edf3f9; border: 1px solid #c8d7e5; border-top: 3px solid #7998b6; border-radius: 5px; margin-top: 24px; z-index: 2; }
.settings-footer strong { font-size: .84rem; font-weight: 600; }
.settings-footer p { margin: 3px 0 0; font-size: .76rem; }
.settings-footer .button-group { flex-shrink: 0; }
.endpoint-section { background: #eaf0f6; border-left: 3px solid #7592ad; padding: 22px; margin-bottom: 30px; }
.endpoint-section > p { color: var(--muted); font-size: .86rem; margin-bottom: 14px; }
.endpoint-input { max-width: 850px; font-size: .88rem; }
.endpoint-section .section-note { margin-bottom: 0; font-size: .78rem; }
.webhook-event > summary { grid-template-columns: 16px minmax(100px, .5fr) minmax(100px, 1.2fr) minmax(120px, .7fr) minmax(155px, 1fr); font-size: .86rem; }
.event-job { overflow-wrap: anywhere; font-size: .8rem; }
.event-body { padding: 18px 22px 22px 46px; }
.event-note { font-size: .86rem; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 12px; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, .95fr) minmax(420px, 1.05fr); }
.login-intro { background: var(--blue); color: white; display: flex; flex-direction: column; padding: 44px 58px; }
.login-description { margin: auto 0; padding: 70px 0; max-width: 460px; }
.login-description h1 { color: white; font-weight: 600; font-size: clamp(2.1rem, 3.4vw, 3.35rem); letter-spacing: -.045em; line-height: 1.17; margin-bottom: 24px; }
.login-description p { color: #b9cddd; font-size: 1rem; line-height: 1.7; max-width: 37ch; }
.login-provider-line { border-top: 1px solid #4b6680; display: flex; justify-content: space-between; gap: 24px; padding-top: 19px; margin-top: 36px; color: #dfeaf4; font-size: .92rem; }
.login-footnote { color: #b4c9dc; font-size: .77rem; margin-bottom: 0; }
.login-form-section { display: flex; align-items: center; justify-content: center; padding: 50px; }
.login-form { width: 100%; max-width: 365px; }
.login-form h2 { color: var(--blue); font-size: 1.9rem; letter-spacing: -.03em; margin-bottom: 10px; }
.login-form-description { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }
.login-form .field { margin-bottom: 20px; }
.login-form .field-label { font-size: .86rem; }
.login-form input:not([type="hidden"]) { min-height: 46px; }
.login-submit { width: 100%; min-height: 46px; margin-top: 7px; }
.login-security-note { color: var(--muted); font-size: .78rem; margin: 22px 0 0; }
@media (min-width: 1600px) { .main-content { padding-left: 55px; padding-right: 55px; } }
@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .sidebar { padding-inline: 15px; }
  .main-content { padding: 30px 27px 40px; }
  .page-header { flex-wrap: wrap; }
  .refresh-control { margin-top: 0; }
  .config-layout { grid-template-columns: 1fr; gap: 17px; }
  .config-nav { position: static; flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--line); }
  .config-nav a { padding: 8px 11px; }
  .run > summary { gap: 11px; grid-template-columns: 12px minmax(110px, 1fr) minmax(80px, .7fr) minmax(130px, 1fr) auto; }
  .service-strip { padding: 16px; gap: 14px; }
  .target-option { padding: 18px 16px; }
  .webhook-event > summary { grid-template-columns: 12px 100px minmax(80px, 1fr) 115px; gap: 12px; }
  .webhook-event > summary > .run-time { grid-column: 3 / -1; margin-top: -7px; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: static; height: auto; padding: 18px 20px 0; display: grid; grid-template-columns: 1fr auto; gap: 18px 14px; }
  .brand { font-size: 1.4rem; }
  .brand-subtitle { font-size: .7rem; margin-top: 7px; }
  .brand-mark { width: 21px; height: 25px; }
  .main-nav { grid-column: 1 / -1; flex-direction: row; margin-top: 0; gap: 2px; }
  .main-nav a { padding: 11px 12px 13px; border-left: 0; border-bottom: 3px solid transparent; border-radius: 3px 3px 0 0; font-size: .81rem; }
  .main-nav a[aria-current="page"] { border-bottom-color: #a4c8e7; }
  .sidebar-footer { grid-column: 2; grid-row: 1; border: 0; padding: 0; gap: 0; flex-direction: row; align-items: center; align-self: center; }
  .account-label { display: none; }
  .account-name { max-width: 100px; font-size: .77rem; margin-right: 9px; }
  .sidebar-signout { margin-top: 0; font-size: .72rem; padding: 5px 9px; }
  .main-content { padding: 26px 20px 35px; }
  h1 { font-size: 1.7rem; }
  .page-header { gap: 14px; margin-bottom: 24px; }
  .page-header p { font-size: .85rem; }
  .refresh-control { width: 100%; justify-content: space-between; }
  .refresh-control .button { min-height: 35px; padding: 6px 12px; font-size: .8rem; }
  .service-strip { grid-template-columns: 1fr 1fr; gap: 17px 20px; margin-bottom: 27px; }
  .service-strip strong { font-size: .84rem; }
  .small-label { font-size: .74rem; }
  .section-heading { align-items: start; gap: 12px; }
  .section-heading p { font-size: .8rem; }
  .target-picker { grid-template-columns: 1fr; }
  .target-option { grid-template-columns: 18px 65px minmax(0, 1fr); padding: 15px 17px; align-items: center; }
  .target-option > input { margin: 0; }
  .target-option > span:not(.provider-latest) { font-size: .96rem; }
  .target-option + .target-option { border-left: 0; border-top: 1px solid var(--line); }
  .provider-latest { grid-column: 3; padding-top: 0; text-align: right; font-size: .73rem; }
  .dispatch-action { padding: 13px 17px; gap: 13px; }
  .dispatch-action .muted { font-size: .74rem; }
  .history-heading { flex-wrap: wrap; }
  .run > summary { grid-template-columns: 12px minmax(90px, 1fr) auto; padding: 15px 12px; gap: 5px 10px; }
  .run-title { font-size: .85rem; }
  .run-targets { grid-column: 2; grid-row: 2; font-size: .76rem; }
  .run-time { grid-column: 2; grid-row: 3; font-size: .74rem; }
  .run-badge { grid-column: 3; grid-row: 1 / span 3; }
  .run-body, .event-body { padding: 15px; }
  .result { padding: 12px; }
  .result-header { flex-wrap: wrap; gap: 7px; }
  .result-meta { flex-direction: column; gap: 5px; }
  .summary-counts { gap: 7px 13px; font-size: .78rem; }
  .config-nav { gap: 0; }
  .config-nav a { font-size: .77rem; padding: 7px 10px; }
  .config-section { padding: 19px 16px; scroll-margin-top: 12px; }
  .field-grid, .field-grid-three { grid-template-columns: 1fr; gap: 17px; }
  .field-wide { grid-column: auto; }
  .repeat-row { padding: 13px; }
  .schedule-panel { padding: 14px; }
  .time-row { grid-template-columns: 1fr; }
  .price-preview { grid-template-columns: 1fr; padding: 12px; }
  .price-preview-result { min-height: 1.5em; }
  .repeat-heading { flex-wrap: wrap; gap: 9px; }
  .repeat-row-header { flex-wrap: wrap; gap: 9px; }
  .settings-footer { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .settings-footer .button-group { width: 100%; }
  .settings-footer .button-group .button { flex: 1; }
  .endpoint-section { padding: 18px; }
  .endpoint-input { font-size: .78rem; }
  .webhook-event > summary { grid-template-columns: 12px minmax(70px, 1fr) auto; gap: 6px 10px; }
  .webhook-event > summary > .event-job { grid-column: 2 / -1; grid-row: 2; }
  .webhook-event > summary > .badge { grid-column: 3; grid-row: 1; }
  .webhook-event > summary > .run-time { grid-column: 2 / -1; grid-row: 3; margin-top: 0; }
  .login-layout { display: block; }
  .login-intro { padding: 24px; }
  .login-description { padding: 32px 0 5px; max-width: 100%; }
  .login-description h1 { font-size: 2rem; margin-bottom: 14px; }
  .login-description p { font-size: .87rem; max-width: 52ch; margin-bottom: 8px; }
  .login-provider-line, .login-footnote { display: none; }
  .login-form-section { padding: 32px 24px 45px; }
  .login-form { max-width: 440px; }
  .login-form-description { margin-bottom: 24px; }
}
@media (max-width: 380px) {
  .main-content { padding-inline: 13px; }
  .sidebar { padding-inline: 13px; }
  .main-nav a { padding-inline: 9px; font-size: .76rem; }
  .account-name { display: none; }
  .target-option { grid-template-columns: 18px 53px minmax(0, 1fr); column-gap: 9px; }
  .dispatch-action { align-items: start; flex-direction: column; }
  .secret-control { flex-wrap: wrap; }
  .secret-control input { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
