*{box-sizing:border-box}
:root{font:16px/1.5 system-ui,sans-serif;color:#17352e;background:#eef4ef}
[hidden]{display:none!important}
body{margin:0}
.wrap{width:min(1060px,calc(100% - 2rem));margin:auto}
header{background:#12372f;color:#fff}
header .wrap{min-height:68px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:.55rem;color:inherit;font-weight:750;text-decoration:none;font-size:1.2rem}
.brand img{width:38px;height:38px}
main{padding:2rem 0 3rem}
h1,h2,p{margin:0}
h1{font-size:clamp(2rem,7vw,3.5rem);line-height:1.08;letter-spacing:-.055em}
h2{font-size:1.25rem;margin-bottom:1rem}
.intro{margin:1rem 0 1.65rem}
.intro p{margin-top:.6rem;color:#49675e}
.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:1rem;align-items:start}
.card{background:#fff;border:1px solid #dbe7de;border-radius:18px;padding:clamp(1rem,3vw,1.65rem)}
#login{width:min(100%,420px);margin:3rem auto}
#login h1{font-size:2.2rem;margin-bottom:1.35rem}
form{display:grid;gap:.85rem}
label{display:grid;gap:.3rem;font-weight:650;min-width:0}
input,select,button{font:inherit}
input,select{width:100%;min-width:0;border:1px solid #a7bdb0;border-radius:8px;padding:.6rem;color:inherit;background:#fff}
button{background:#17634e;border:1px solid transparent;color:#fff;border-radius:9px;padding:.65rem 1rem;font-weight:700;cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
button.secondary{background:#e4f1e8;color:#154a39;width:100%}
button.quiet{background:transparent;border-color:#abcac0}
:focus-visible{outline:3px solid #a86724;outline-offset:2px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
#preview{max-width:100%;max-height:200px;border-radius:8px;justify-self:start}
#receipts{list-style:none;padding:0;margin:0}
li{padding:.85rem 0;border-bottom:1px solid #e1ebe4;overflow-wrap:anywhere}
li:last-child{border:0}
li p{color:#4b675e;margin:.25rem 0}
.row{display:flex;gap:.7rem;justify-content:space-between}
.row strong:last-child{white-space:nowrap}
a{color:#165a47}
[role=status]:empty{display:none}
@media(max-width:690px){.layout{grid-template-columns:1fr}main{padding-top:1rem}}