:root{font:15px/1.45 system-ui,sans-serif;color:#182d49;background:#f2f5fa;color-scheme:light}
body{margin:0}
main{max-width:540px;margin:auto;padding:0 12px 18px}
header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #dde5ef}
header button{justify-self:end}
h1{font-size:20px;margin:0}
a{color:#254e86}
button,select{font:inherit;min-height:44px;padding:4px 8px;border:1px solid #c9d6e7;border-radius:7px;background:#fff;color:inherit}
.filters{display:flex;gap:8px;margin-top:8px}
.filters label{display:grid;gap:3px;flex:1;min-width:0;font-size:13px;color:#4d627f}
.filters select{width:100%;font-size:16px}
article{background:#fff;border:1px solid #d8e2ef;border-radius:10px;padding:8px 10px;margin-bottom:7px}
article header{display:flex;justify-content:space-between;border:0;padding:0}
.badge{font-size:12px;border-radius:5px;padding:3px 6px;background:#e8effa;color:#254e86;white-space:nowrap}
.badge[data-state=replied]{background:#e1f2e9;color:#1f593e}
small,#notice{color:#4d627f}
#notice{margin:7px 0;font-size:13px}
.actions{display:flex;justify-content:space-between;align-items:center;gap:8px}
.actions button:last-child{background:#254e86;color:#fff;border-color:#254e86}
ul{margin:5px 0;padding-left:20px;overflow-wrap:anywhere}
li{margin:4px 0}
.error{color:#9a253a;margin:4px 0}

[hidden]{display:none!important}
#pending{font-size:23px;margin:10px 0 4px}
nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:6px 0}
nav button{white-space:nowrap;padding:4px}
button[aria-pressed=true]{color:#fff;background:#254e86;border-color:#254e86}
#replies button{font-size:13px}
article .offer-preview{margin:3px 0;font-weight:550}
article .actions{margin-top:6px}
#voucher-page{padding-top:8px}
#voucher-switch{justify-content:flex-start;flex-wrap:wrap;margin-top:8px}
.voucher{border:1px solid #c9d6e7;border-top:4px solid #254e86;border-radius:12px;background:#fff;margin:9px 0;padding:18px;overflow-wrap:anywhere}
.voucher h2{font-size:16px;margin:0}
.voucher .offer{font-size:26px;color:#254e86;font-weight:700;margin:8px 0}
.voucher .terms{margin:10px 0 0;padding-left:20px}
#rules{padding:7px 3px}
#rules li{white-space:pre-wrap}

main > header{grid-template-columns:1fr auto}
