*{box-sizing:border-box}
:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173426;background:#f4f7f5}
body{margin:0;background:#f4f7f5}
button,input,textarea{font:inherit}
.app{max-width:720px;margin:0 auto;padding:16px 13px 50px}
.app-header{display:flex;align-items:center;gap:12px;margin:5px 2px 15px}
.logo{font-size:2.2rem}
h1{font-size:1.55rem;margin:0}h2{margin:4px 0 8px;font-size:1.28rem}
.app-header p{margin:2px 0;color:#718075}
.card{background:#fff;border:1px solid #dfe8e2;border-radius:18px;padding:18px;margin-bottom:13px;box-shadow:0 6px 20px rgba(26,65,40,.05)}
.hidden{display:none!important}.muted{color:#718075}.center{text-align:center}
.eyebrow{font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:#4a765a}
.btn{border:0;border-radius:12px;padding:11px 14px;font-weight:850;cursor:pointer}
.btn.primary{background:#1f6f43;color:#fff}.btn.secondary{background:#edf2ef;color:#274c38}.btn.mini{background:#edf2ef;color:#274c38;padding:8px 11px}.full{width:100%;margin-top:8px}
.status{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:13px}
.status div{background:#fff;border:1px solid #dfe8e2;border-radius:13px;padding:10px}.status span{display:block;font-size:.72rem;color:#78877d}.status strong{font-size:.9rem}
.checkin-card{border:2px solid #bcdac6;background:#fbfefc}.btn.scan{background:#1f6f43;color:#fff;font-size:1.05rem;padding:15px}
.booking-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}
.arrival,.departure{border:0;border-radius:15px;padding:17px 10px;font-size:1.6rem;font-weight:900;cursor:pointer}.arrival{background:#def2e5;color:#17653a}.departure{background:#fff0cf;color:#815e0c}.arrival strong,.departure strong{display:block;font-size:.95rem;margin-top:3px}
.success-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;background:#def2e5;color:#17653a;font-size:1.7rem;font-weight:900}
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.task-group{border-top:1px solid #edf1ee;padding-top:13px;margin-top:13px}.task-group:first-child{border-top:0;padding-top:0;margin-top:11px}.task-group-title{font-weight:900;font-size:1rem;margin-bottom:4px}
.task-item{display:grid;grid-template-columns:1fr auto;gap:10px;padding:11px 0;border-top:1px solid #f0f3f1}.task-item:first-of-type{border-top:0}
.task-title{font-weight:850}.task-notes{font-size:.85rem;color:#718075;margin-top:3px}
.task-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.chip{display:inline-block;border-radius:999px;padding:5px 8px;font-size:.72rem;font-weight:900}
.chip.low{background:#dff3e5;color:#17653a}.chip.normal{background:#fff0bd;color:#7e5e0b}.chip.high{background:#f8dede;color:#982f2f}
.chip.due{background:#edf1f3;color:#53616a}.chip.overdue{background:#f7d7d7;color:#952b2b}
.task-complete{align-self:center;border:1px solid #bcdac6;background:#f4fbf6;color:#17653a;border-radius:11px;padding:9px 11px;font-weight:900;cursor:pointer}
.task-complete:hover{background:#e5f4e9}
.reminder{margin-top:13px;padding:13px;border:1px solid #d6e7db;background:#f7fcf8;border-radius:14px}.reminder-head{margin-bottom:6px}
.reminder-item{padding:8px 0;border-top:1px solid #e5ece7}.reminder-item:first-child{border-top:0}
.history-item{padding:10px 0;border-top:1px solid #edf1ee}.history-item:first-child{border-top:0}.history-top{display:flex;justify-content:space-between;font-weight:850}.history-meta{font-size:.84rem;color:#718075;margin:3px 0}
.sync-pill{display:inline-block;border-radius:999px;padding:4px 7px;font-size:.7rem;font-weight:850}.sync-pill.ok{background:#def2e5;color:#17653a}.sync-pill.wait{background:#fff0bd;color:#7e5e0b}
.dialog-backdrop{position:fixed;inset:0;background:rgba(19,35,25,.48);display:grid;place-items:center;padding:15px;z-index:100}
.dialog{width:min(520px,100%);background:#fff;border-radius:19px;padding:20px;box-shadow:0 22px 70px rgba(0,0,0,.22)}
.dialog label{display:block;font-weight:800;margin:14px 0 7px}.optional{font-weight:500;color:#718075}
textarea,input{width:100%;border:1px solid #cbd8cf;border-radius:12px;padding:11px;background:#fff}
.dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
@media(max-width:520px){.status{grid-template-columns:1fr}.task-item{grid-template-columns:1fr}.task-complete{justify-self:start}}
