:root{font:16px/1.5 system-ui,sans-serif;color:#172a26;background:#edf2ef;color-scheme:light}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem max(1rem,calc((100vw - 62rem)/2));color:white;background:#142d26}header strong{font-size:1.35rem;white-space:nowrap}header span{color:#96e4ba}header p{margin:0;color:#b8d4c7;font-size:.88rem}header button{background:#34554a}
main{max-width:64rem;margin:auto;padding:1rem 1rem 3rem}.toolbar{display:flex;align-items:end;justify-content:space-between;gap:1rem}.toolbar label{width:min(100%,20rem)}h1{font-size:clamp(1.8rem,5vw,2.8rem);line-height:1.12;margin:1.3rem 0 1rem;letter-spacing:-.035em}h2{font-size:1.2rem;margin:0 0 .65rem}h3{font-size:1rem;margin:0 0 .25rem}p{margin:.25rem 0 .7rem}.muted{color:#49615a}.panel{padding:1.1rem;background:white;border:1px solid #d8e3dd;border-radius:1rem;margin:0 0 .9rem}.panel h1{margin-top:0}#login{max-width:29rem;margin:2rem auto}.layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:1rem}.entry{padding:.8rem 0;border-top:1px solid #e0e9e3;overflow-wrap:anywhere}.entry:last-child{padding-bottom:0}.controls{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}.tag{font-size:.85rem;font-weight:650;color:#275941;background:#e0f1e6;padding:.2rem .6rem;border-radius:2rem;display:inline-block}
form,.fields{display:grid;gap:.65rem}.fields{grid-template-columns:repeat(2,minmax(0,1fr))}label{display:grid;gap:.25rem;font-weight:650;font-size:.9rem}input,select,textarea,button{font:inherit;border-radius:.5rem;min-width:0;min-height:2.75rem}input,select,textarea{border:1px solid #adbbb4;background:white;color:#172a26;padding:.5rem;width:100%}textarea{min-height:5rem}button{border:0;background:#226346;color:white;font-weight:700;padding:.55rem 1rem;cursor:pointer}button.secondary{background:#e1ebe5;color:#173d2e}button:disabled{opacity:.55;cursor:wait}summary{cursor:pointer;font-weight:650;padding:.55rem 0}#message{padding:.7rem 1rem;background:#d9eee2;border-radius:.6rem}#message.error{background:#ffebea;color:#842622}
@media(max-width:680px){.layout{display:block}}@media(max-width:370px){.fields{grid-template-columns:1fr}}
.closing-details{display:grid;gap:.3rem;margin:.65rem 0;font-size:.9rem}
.closing-details div{display:flex;justify-content:space-between;gap:1rem}
.closing-details dt{color:#49615a}.closing-details dd{margin:0;text-align:right;font-weight:650}

.sales-totals{width:100%;border-collapse:collapse;margin:.35rem 0 .7rem;font-size:.9rem;font-variant-numeric:tabular-nums}
.sales-totals th,.sales-totals td{padding:.45rem .25rem;border-bottom:1px solid #e0e9e3;text-align:right}
.sales-totals th:first-child{text-align:left}
.sales-totals tbody tr:first-child{font-weight:700}

.cash-confirmation{display:flex;align-items:center;gap:.55rem}
.cash-confirmation input{width:1.2rem;min-height:1.2rem}
.check{display:flex;align-items:center;gap:.6rem;padding:.35rem 0;font-weight:600}
.check input{width:1.3rem;min-height:1.3rem;margin:0}
.warning{padding:.6rem .8rem;background:#fff4d6;border-left:4px solid #c98a00;border-radius:.4rem;color:#4d3a00;font-weight:600}
.quick-close{margin:.8rem 0;padding:.8rem;border:2px solid #2f6b4f;border-radius:.6rem;background:#eef6f1}
.quick-close h4{margin:0 0 .3rem}
.quick-close button{width:100%;margin-top:.5rem}

header{padding-top:max(1.1rem,env(safe-area-inset-top))}
.header-actions{display:flex;gap:.5rem;align-items:center}
button.language{background:#34554a;min-width:3rem;padding:.4rem .7rem}
.closing-hero{border:2px solid #226346;background:#f3faf6;border-radius:1rem;padding:1rem;margin:.8rem 0}
.closing-hero h4{margin:0 0 .3rem;font-size:1.15rem}
button.hero-button{display:block;width:100%;min-height:4rem;font-size:1.15rem;border-radius:.8rem;margin:.4rem 0}
.closing-hero .gallery{font-size:.9rem}
.closing-hero p:empty{display:none}
.toolbar button{white-space:nowrap}
.toolbar button{flex-shrink:0}.toolbar label{flex:1 1 auto;min-width:0}
button.different-amount{display:block;width:100%}
.attention.all-good{border:2px solid #96e4ba;background:#f3faf6}
.attention.has-items{border:2px solid #d9a13b;background:#fff9ec}
.attention ul{margin:.3rem 0 0;padding-left:1.1rem}.attention li{margin:.3rem 0}
button.link{background:none;color:#173d2e;padding:0;min-height:0;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:3px}
button.link{display:inline;font:inherit;font-weight:600}
.attention ul{list-style:none;padding-left:0}.attention li::before{content:none}button.link::before{content:"→ "}
.receipt-box{border:1px solid #cfdcd5;border-radius:1rem;padding:1rem;margin:.8rem 0;background:#fafcfb}
.receipt-card{border:2px solid #d9a13b;background:#fff9ec;border-radius:.9rem;padding:.8rem;margin:.6rem 0}
.receipt-card h4{margin:0 0 .2rem}
.receipt-card .controls{display:flex;flex-wrap:wrap;gap:.4rem}
.choice-label{margin:.5rem 0 .3rem;font-weight:600}
.envelope-expected{font-size:1.05rem;margin:.6rem 0}
.envelope-nights{padding-left:1.1rem;margin:.4rem 0}
.envelope-nights li{margin:.3rem 0}
.price-list{padding-left:1.1rem}.price-list li{margin:.35rem 0}.price-list.up strong{color:#a5401b}
.bars{display:grid;gap:.35rem;margin:.4rem 0}
.bar-row{display:grid;grid-template-columns:7.5rem 1fr 5.5rem;gap:.5rem;align-items:center;font-size:.92rem}
.bar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar{background:#e3ebe7;border-radius:.4rem;height:.8rem;overflow:hidden}
.bar span{display:block;height:100%;background:#226346;border-radius:.4rem}
.bar-value{text-align:right;font-variant-numeric:tabular-nums}
.my-month{font-size:1.1rem;margin:.2rem 0}
