:root{--forest:#173a2c;--forest-2:#21503d;--sand:#f3ecdf;--paper:#fbf8f2;--line:#e6dfd1;--ember:#e2672e;--ember-2:#c9531d;--ink:#18201c;--ink-2:#4a554f;--ink-3:#7b857f;--red:#b8322f;--head:'Bricolage Grotesque',system-ui,sans-serif;--body:'Figtree',system-ui,-apple-system,Segoe UI,sans-serif}
*{box-sizing:border-box}
body{margin:0;font-family:var(--body);background:var(--paper);color:var(--ink);font-size:16px;line-height:1.5}
h1,h2,h3{font-family:var(--head);color:var(--forest);margin:0 0 .4em;letter-spacing:-.01em}
h2{font-size:1.7rem}
.muted{color:var(--ink-2)}
[hidden]{display:none!important}
a{color:var(--forest-2)}
.bh-top{background:var(--forest);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:12px 24px;gap:16px}
.bh-brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none}
.bh-brand strong{display:block;font-family:var(--head);font-size:1.15rem;line-height:1.1}
.bh-brand small{color:#a9c6b6;font-weight:600}
.bh-logo{width:42px;height:42px;border-radius:12px;background:#fff;color:var(--forest);display:grid;place-items:center;font-family:var(--head);font-weight:800}
.bh-user{display:flex;gap:12px;align-items:center;font-size:.92rem}
.bh-user .pill{background:rgba(255,255,255,.14);padding:4px 10px;border-radius:999px;font-weight:700}
.bh-user button{background:none;border:1px solid rgba(255,255,255,.4);color:#fff;border-radius:10px;padding:6px 12px;cursor:pointer;font:inherit}
main{max-width:1100px;margin:0 auto;padding:28px 20px 80px}
.bh-login{display:grid;place-items:center;min-height:60vh}
.bh-card{background:#fff;border-radius:18px;padding:28px;box-shadow:0 1px 2px rgba(23,58,44,.06),0 8px 24px rgba(23,58,44,.08);width:100%;max-width:440px}
.bh-card.wide{max-width:none;margin-top:20px}
.bh-card label,.bh-grid label{display:block;font-weight:700;font-size:.92rem;margin-bottom:12px}
input,select,textarea{width:100%;padding:10px 12px;border:1.5px solid var(--line);border-radius:10px;font:inherit;background:#fff;color:var(--ink);margin-top:4px}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{outline:0;border-color:#3d7a5a;box-shadow:0 0 0 3px rgba(61,122,90,.15)}
.bh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ember);color:#fff;border:0;border-radius:999px;padding:11px 18px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;white-space:nowrap}
.bh-btn:hover{background:var(--ember-2);color:#fff}
.bh-btn.ghost{background:#fff;color:var(--forest);border:1.5px solid var(--line)}
.bh-btn.ghost:hover{border-color:var(--forest);color:var(--forest)}
.bh-btn.danger{background:#fff;color:var(--red);border:1.5px solid #e9c3c2}
.bh-btn.danger:hover{background:var(--red);color:#fff}
.bh-btn.small{padding:7px 12px;font-size:.88rem}
.bh-btn.ms{width:100%;background:#fff;color:#222;border:1.5px solid #c8c8c8;border-radius:10px;padding:12px}
.bh-btn.ms:hover{background:#f4f4f4;color:#222}
.bh-btn.ms svg{width:20px;height:20px}
.bh-btn:disabled{opacity:.6;cursor:wait}
.bh-sep{display:flex;align-items:center;gap:10px;color:var(--ink-3);font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;margin:20px 0 14px}
.bh-sep::before,.bh-sep::after{content:"";flex:1;height:1px;background:var(--line)}
.bh-alert{border-radius:12px;padding:12px 14px;margin:12px 0;font-size:.93rem}
.bh-alert.err{background:#fdecea;color:#8a2a22;border:1px solid #f3c6c1}
.bh-alert.info{background:#eef6f0;color:#24533c;border:1px solid #cfe5d6}
.bh-alert.warn{background:#fff6ec;color:#7a4413;border:1px solid #f6d3b4}
.bh-tabs{display:flex;gap:6px;border-bottom:2px solid var(--line);margin-bottom:20px;overflow-x:auto}
.bh-tabs button{background:none;border:0;padding:12px 16px;font:inherit;font-weight:700;color:var(--ink-2);cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;white-space:nowrap}
.bh-tabs button.on{color:var(--ember-2);border-color:var(--ember)}
.bh-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.bh-head p{margin:0}
.bh-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.bh-actions select{width:auto;margin:0}
.bh-check{display:inline-flex!important;align-items:center;gap:8px;font-weight:600!important;margin:0 0 12px!important;cursor:pointer}
.bh-check input{width:auto;margin:0}
.bh-table-wrap{overflow-x:auto;background:#fff;border-radius:14px;box-shadow:0 1px 2px rgba(23,58,44,.06),0 8px 24px rgba(23,58,44,.06);margin-bottom:16px}
.bh-table{width:100%;border-collapse:collapse;min-width:640px}
.bh-table th{text-align:left;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-3);padding:12px;background:var(--sand)}
.bh-table td{padding:8px 12px;border-top:1px solid var(--line);vertical-align:middle}
.bh-table td input{margin:0;padding:8px 10px}
.bh-table td input[type=checkbox]{width:20px;height:20px}
.bh-table tr.past{opacity:.5}
.bh-table tr.dirty td{background:#fffbe9}
.bh-table .rowbtns{display:flex;gap:6px;justify-content:flex-end}
.bh-list{display:flex;flex-direction:column;gap:10px}
.bh-item{background:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 1px 2px rgba(23,58,44,.06),0 6px 18px rgba(23,58,44,.05);display:flex;gap:14px;align-items:flex-start}
.bh-item .thumb{width:84px;height:60px;border-radius:8px;background:var(--sand) center/cover;flex-shrink:0}
.bh-item .grow{flex:1;min-width:0}
.bh-item b{display:block}
.bh-item small{color:var(--ink-3)}
.bh-item.done{opacity:.6}
.bh-item dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:10px 0 0;font-size:.93rem}
.bh-item dt{color:var(--ink-3)}
.bh-item dd{margin:0;white-space:pre-wrap;word-break:break-word}
.tag{display:inline-block;font-size:.75rem;font-weight:800;padding:2px 8px;border-radius:999px;background:var(--sand);color:var(--forest);margin-right:6px}
.tag.off{background:#eee;color:#777}
.bh-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.bh-grid .full{grid-column:1/-1}
.lbl{display:block;font-weight:700;font-size:.92rem;margin-bottom:6px}
.bh-photo{width:260px;aspect-ratio:16/10;border-radius:12px;background:var(--sand) center/cover;margin-bottom:8px;border:1.5px dashed var(--line)}
.bh-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.bh-thumbs div{width:100px;height:72px;border-radius:8px;background:var(--sand) center/cover;position:relative}
.bh-thumbs button{position:absolute;top:-6px;right:-6px;width:24px;height:24px;border-radius:50%;border:0;background:var(--red);color:#fff;cursor:pointer;font-weight:800;line-height:1}
.upl{margin-bottom:16px}
.bh-inline{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.bh-inline input,.bh-inline select{width:auto;flex:1;min-width:180px;margin:0}
.bh-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,120px);background:var(--forest);color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;transition:transform .25s;z-index:10}
.bh-toast.show{transform:translate(-50%,0)}
.bh-toast.err{background:var(--red)}
@media (max-width:700px){.bh-grid{grid-template-columns:1fr}.bh-top{padding:10px 14px}.bh-user .name{display:none}main{padding:20px 14px 60px}.bh-photo{width:100%}}
.bh-people{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}
.bh-person{display:grid;grid-template-columns:1fr 1fr 40px;gap:8px;align-items:center}
.bh-person input{margin:0}
.bh-person button{height:40px;border-radius:10px;border:1.5px solid #e9c3c2;background:#fff;color:var(--red);cursor:pointer;font-weight:800}
