﻿:root{color-scheme:light;font:16px system-ui,sans-serif;color:#172b44;background:#f0f5fa}
*{box-sizing:border-box}
main{max-width:1160px;padding:2rem 1rem 4rem;margin:auto}
nav{display:flex;gap:1.3rem;flex-wrap:wrap}
a{color:#075a9c;text-underline-offset:.2em}
header{padding:1.5rem 0}
h1{font-size:clamp(2rem,6vw,3rem);letter-spacing:-.05em;margin:.2rem 0}
p{line-height:1.5}
header p,#status{color:#3e5670}
.controls{display:flex;align-items:end;flex-wrap:wrap;gap:1rem}
label{font-size:.9rem;font-weight:650;display:grid;gap:.4rem}
input,button{font:inherit;padding:.65rem .9rem;border-radius:.4rem}
input{border:1px solid #71859a;background:#fff;min-width:min(20rem,85vw)}
button{border:1px solid #075a9c;background:#075a9c;color:#fff;font-weight:650;cursor:pointer}
button:disabled{opacity:.55;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #796024;outline-offset:3px}
progress{width:100%;height:1rem;accent-color:#08795c;margin:0 0 1rem}
.table-box{background:#fff;border:1px solid #cedbe8;border-radius:.65rem;overflow:auto}
table{border-collapse:collapse;width:100%;text-align:left}
th,td{padding:.85rem .9rem;border-bottom:1px solid #e1e9f1}
th{background:#e5eef8;font-size:.9rem}
tbody tr:last-child td{border-bottom:0}
td:first-child{font-weight:650;min-width:11rem}
td:last-child{white-space:nowrap}
tr.focused{background:#eaf5ff}
tr[data-state=success] td:nth-child(4){color:#046548}
tr[data-state=failed] td:nth-child(4){color:#a42036}
tr[data-state=sending] td:nth-child(4){color:#075a9c;font-weight:700}
