.bhd{--c1:var(--indigo,#3F5BF2);--c2:var(--violet,#6A11CB);max-width:920px;margin:0 auto;padding:clamp(24px,5vw,56px) 20px;color:#1d2842}
.bhd h2,.bhd h3,.bhd h4{color:#0B1730;margin:.2em 0 .5em}
.bhd-narrow{max-width:520px;margin-inline:auto}
.bhd-card{background:#fff;border:1px solid #c5d2ea;border-radius:18px;padding:clamp(18px,3vw,30px);margin-bottom:20px;box-shadow:0 8px 24px rgba(11,23,48,.06)}
.bhd-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:18px}
.bhd-link{color:var(--c1);font-weight:600;text-decoration:none}
.bhd label{display:grid;gap:6px;font-weight:600;margin:14px 0}
.bhd input,.bhd textarea{width:100%;padding:.8em 1em;border:2px solid #b4c3df;border-radius:12px;font:inherit;background:#f8faff}
.bhd input:focus,.bhd textarea:focus{outline:0;border-color:var(--c1);box-shadow:0 0 0 4px rgba(63,91,242,.15)}
.bhd-btn{display:inline-block;padding:.75em 1.4em;border:0;border-radius:10px;background:linear-gradient(135deg,var(--c1),var(--c2));color:#fff;font-weight:600;text-decoration:none;cursor:pointer}
.bhd-btn.ghost{background:#fff;color:var(--c1);box-shadow:inset 0 0 0 2px var(--c1)}
.bhd-note{padding:.8em 1em;border-radius:12px;margin:0 0 18px}.bhd-note.ok{background:#e6f6ec;color:#14532d}.bhd-note.err{background:#fdeaea;color:#7f1d1d}
.bhd-muted{color:#566280}
.bhd-proj{display:flex;justify-content:space-between;gap:20px;align-items:center}.bhd-proj>div{flex:1}
.bhd-badge{display:inline-block;padding:.2em .8em;border-radius:999px;background:#e8eefc;color:#1b2a8f;font-size:.85rem;font-weight:700}
.bhd-badge.s-progress{background:#fff3d6;color:#7a4b00}.bhd-badge.s-done{background:#e6f6ec;color:#14532d}.bhd-badge.s-paused{background:#fdeaea;color:#7f1d1d}.bhd-badge.s-report{background:#0B1730;color:#fff;margin-inline-start:8px}
.bhd-bar{height:10px;background:#e8eefc;border-radius:99px;overflow:hidden;margin:8px 0}.bhd-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--c1),var(--c2));border-radius:99px}
.bhd-dl{display:flex;flex-wrap:wrap;gap:12px 36px;margin:12px 0 20px}.bhd-dl dt{font-size:.85rem;color:#566280}.bhd-dl dd{margin:0;font-weight:700}
.bhd-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.bhd-steps li{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:12px;background:#f3f7ff}
.bhd-steps li::before{content:"";width:18px;height:18px;border-radius:50%;border:3px solid #b4c3df;flex:none}
.bhd-steps .st-doing{background:#fff3d6}.bhd-steps .st-doing::before{border-color:#d98a00;background:#ffd36b}
.bhd-steps .st-done::before{border-color:#1a9c55;background:#1a9c55;box-shadow:inset 0 0 0 3px #fff}
.bhd-steps small{margin-inline-start:auto;color:#566280}
.bhd-upd{padding:18px 0;border-top:1px solid #dde6f5}.bhd-upd:first-of-type{border-top:0}.bhd-upd time{color:#566280;font-size:.9rem}
.bhd-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:12px 0}.bhd-photos img{width:100%;height:150px;object-fit:cover;border-radius:12px;display:block}
.bhd-scroll{overflow-x:auto}.bhd-table{width:100%;border-collapse:collapse}.bhd-table th,.bhd-table td{padding:.6em .8em;border-bottom:1px solid #dde6f5;text-align:start}
.bhd-msgs{display:grid;gap:10px;margin-bottom:16px}.bhd-msg{padding:10px 14px;border-radius:14px;max-width:88%}.bhd-msg p{margin:.2em 0 0}.bhd-msg small{color:#566280}
.bhd-msg.me{background:#e8eefc;justify-self:end}.bhd-msg.team{background:#f3f7ff;border:1px solid #dde6f5}
.bhd-row{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:640px){.bhd-proj{flex-direction:column;align-items:stretch}}
