:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#18322d;background:#f3f7f5}*{box-sizing:border-box}body{margin:0}.page{max-width:680px;margin:auto;padding:20px}.card{background:#fff;border-radius:18px;padding:22px;margin-bottom:16px;box-shadow:0 8px 28px rgba(19,74,64,.08)}.hero{background:linear-gradient(145deg,#176b5b,#248a75);color:#fff}.eyebrow{font-size:12px;letter-spacing:4px;opacity:.75}h1{font-size:30px;margin:10px 0}h2{font-size:21px;margin:0 0 16px}p{line-height:1.6;margin:6px 0;color:#667b76}.hero p{color:#d8f2eb}.hidden{display:none!important}button,input,select{width:100%;font:inherit;border-radius:12px;padding:14px;margin-top:10px}input,select{border:1px solid #d4e0dc;background:#f7faf9}button{border:0;font-weight:650;cursor:pointer}.primary{background:#176b5b;color:#fff}.secondary{background:#e5f2ee;color:#176b5b}.link{background:transparent;color:#176b5b}.role-row{display:flex;gap:10px;margin-top:18px}.role{background:#edf3f1;color:#526b65}.role.active{background:#176b5b;color:#fff}label{display:block;margin-top:14px;font-weight:600}.check{font-weight:500;display:flex;gap:9px;align-items:flex-start}.check input{width:auto;margin:4px 0}.note{font-size:13px;background:#fff8e7;padding:10px;border-radius:10px}.summary strong{font-size:38px;color:#176b5b;display:block;margin:14px 0}.item,.bed-card{padding:14px 0;border-bottom:1px solid #e7eeeb}.item{display:flex;justify-content:space-between}.muted{font-size:13px;color:#758782}.void{text-decoration:line-through;opacity:.5}.bed-card h3{margin:0 0 8px}.amount{font-size:26px;color:#176b5b;font-weight:700}#message{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);max-width:90%;background:#18322d;color:#fff;padding:12px 18px;border-radius:10px;display:none}#message.error{background:#a73428}

.item{gap:12px;align-items:center}.edit-button{width:auto;flex-shrink:0}dialog{width:min(92vw,480px);border:0;max-height:90vh;overflow:auto}dialog::backdrop{background:rgba(15,40,33,.4)}#editError{color:#a73428}button:disabled{opacity:.55;cursor:wait}

#assistPanel{border:1px solid #dce8e2;border-radius:12px;padding:14px;margin-bottom:18px} summary{cursor:pointer;font-weight:600} textarea{width:100%;box-sizing:border-box;min-height:80px;border:1px solid #dce8e2;border-radius:8px;padding:12px;font:inherit} #assistStatus{color:#805821} #assistPreview{background:#f0f7f3;padding:12px;border-radius:10px}
