:root { color-scheme: light; font-family: "Segoe UI", system-ui, sans-serif; color: #1b322d; background: #f3f5f1; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
header { background: #173e34; color: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: inherit; font-size: 14px; font-weight: 750; letter-spacing: 1.3px; text-decoration: none; }
.brand span { color: #b5d3bc; padding: 0 9px; }
.badge { color: #d4e8d8; border: 1px solid #587469; padding: 7px 10px; border-radius: 5px; font-size: 10px; letter-spacing: 1.4px; }
main { padding: 44px 0 24px; }
.eyebrow { color: #53705f; font-size: 11px; font-weight: 700; letter-spacing: 2px; margin: 0 0 13px; }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -1.5px; margin: 0 0 14px; font-weight: 650; }
.intro > p:last-child { margin: 0; color: #66736c; line-height: 1.6; }
.routes { margin: 30px 0 26px; background: #e8eee6; border: 1px solid #d7e1d4; border-radius: 9px; padding: 17px 22px; }
.routes > div { display: flex; align-items: center; gap: 20px; font-size: 13px; line-height: 1.8; flex-wrap: wrap; }
.routes > div + div { margin-top: 8px; }
.route-label { font-size: 10px; letter-spacing: 1px; color: #64745f; width: 72px; font-weight: 700; }
.routes b { font-size: 12px; font-family: Consolas, monospace; font-weight: 500; margin-left: auto; color: #496049; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: #fff; border: 1px solid #dce2d9; border-radius: 10px; padding: 23px; min-width: 0; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
h2 { margin: 0; font-size: 16px; font-weight: 650; display: flex; align-items: center; gap: 11px; }
.number { color: #81917f; font: 11px Consolas, monospace; }
.status { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; background: #f0f2ef; color: #6c776d; border-radius: 20px; font-size: 11px; padding: 5px 9px; }
.status::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 100%; }
.status.ok { background: #e8f3e9; color: #337045; }
.status.error { background: #f9e9e5; color: #a4422d; }
.status.pending { background: #fff2d5; color: #95671a; }
dl { margin: 0 0 22px; }
.info-row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 0; font-size: 12px; border-bottom: 1px solid #eef0eb; }
dt { color: #778177; }
dd { margin: 0; overflow-wrap: anywhere; font-family: Consolas, monospace; }
.text-link { color: #2d674f; font-size: 12px; text-underline-offset: 4px; }
label { display: block; font-size: 12px; color: #536451; margin-bottom: 7px; }
input { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #ccd6c8; border-radius: 6px; color: #243e32; background: #fafbf8; font: 12px Consolas, monospace; }
.hint { color: #778073; font-size: 12px; line-height: 1.6; margin: 9px 0 18px; }
.card-heading > .hint { margin: 0; text-align: right; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
button { font: 600 12px "Segoe UI", system-ui, sans-serif; color: #315641; background: #f8faf6; border: 1px solid #ced9c9; border-radius: 6px; padding: 10px 13px; cursor: pointer; transition: background .15s; }
button:hover { background: #eaf0e5; }
button.primary { background: #295c45; border-color: #295c45; color: #fff; }
button.primary:hover { background: #1b4934; }
button:disabled { opacity: .5; cursor: wait; }
:focus-visible { outline: 3px solid #8cae72; outline-offset: 3px; }
.result-card { margin: 22px 0; }
.result-card .card-heading { margin-bottom: 15px; }
pre { margin: 0; font: 12px/1.65 Consolas, "Courier New", monospace; white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; background: #172b24; color: #cee2ce; border-radius: 7px; padding: 18px; min-height: 100px; max-height: 400px; tab-size: 2; }
.live-log { min-height: 130px; max-height: 210px; margin-top: 16px; font-size: 11px; }
.live-grid .card-heading { margin-bottom: 10px; }
footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; font-size: 11px; line-height: 1.6; color: #7c8579; flex-wrap: wrap; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } .container { width: calc(100% - 32px); } main { padding-top: 30px; } .routes { padding: 16px; } .routes > div { gap: 4px 10px; } .routes > div > span:nth-child(2) { overflow-wrap: anywhere; min-width: 0; } .routes b { margin-left: 0; width: 100%; } .routes > div + div { margin-top: 14px; } .card { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
