:root {
    --paper: #F1F0E6;
    --card: #FFFFFF;
    --ink: #1F2A24;
    --ink-soft: #5B665F;
    --line: #E4E1D2;
    --jol-green: #2F6B4F;
    --jol-green-dark: #234F3B;
    --nilkantha: #2C4A6E;
    --kadam-gold: #C98A2B;
    --sindoor: #B23A2E;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Hind Siliguri', sans-serif;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.wordmark {
    font-family: 'Tiro Bangla', serif;
    font-style: italic;
}

/* ---- Header ---- */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--jol-green);
    color: var(--paper);
    padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
header h1 { margin: 0; font-size: 1.4rem; font-weight: 400; }
header a { color: var(--paper); text-decoration: none; font-size: 1.1rem; }
.bell {
    position: relative;
    background: none;
    border: none;
    color: var(--paper);
    font-size: 1.2rem;
    padding: 6px;
    cursor: pointer;
}
.bell .dot {
    position: absolute;
    top: 2px; right: 2px;
    width: 8px; height: 8px;
    background: var(--kadam-gold);
    border-radius: 50%;
    display: none;
}
.bell.has-unread .dot { display: block; }

/* ---- Signature: alpona-dot motif, reused across pages ---- */
.alpona-strip {
    height: 14px;
    background-image: radial-gradient(circle, var(--kadam-gold) 2px, transparent 2.6px);
    background-size: 16px 14px;
    background-position: center;
    opacity: 0.5;
    margin: 14px 16px 10px;
}
.alpona-strip.pulse { animation: alpona-pulse 1.4s ease-in-out infinite; }
@keyframes alpona-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.6; } }

main { max-width: 560px; margin: 0 auto; padding: 0 12px; }

/* ---- Composer ---- */
.composer {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.composer textarea, .composer input[type=text] {
    width: 100%;
    border: none;
    resize: none;
    font-family: inherit;
    font-size: 0.95rem;
    min-height: 44px;
    outline: none;
    color: var(--ink);
    background: transparent;
}
.composer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.file-label { color: var(--ink-soft); font-size: 0.85rem; cursor: pointer; }
.btn-primary {
    background: var(--jol-green);
    color: var(--paper);
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}
.btn-primary:disabled { opacity: 0.5; }
.btn-secondary {
    background: none;
    border: 1px solid var(--jol-green);
    color: var(--jol-green-dark);
    border-radius: 20px;
    padding: 7px 16px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

/* ---- Post card ---- */
.post {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
}
.post-head { display: flex; align-items: center; gap: 10px; }
.avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--nilkantha);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { flex: 1; min-width: 0; }
.post-name { font-weight: 600; font-size: 0.92rem; display: flex; align-items: center; gap: 6px; }
.badge-business {
    font-size: 0.68rem;
    background: var(--kadam-gold);
    color: #fff;
    padding: 1px 7px;
    border-radius: 8px;
    font-weight: 600;
}
.post-time { font-size: 0.78rem; color: var(--ink-soft); }
.post-more { background: none; border: none; color: var(--ink-soft); font-size: 1.1rem; cursor: pointer; }

.post-body { margin: 10px 0; font-size: 0.95rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.post-image { width: 100%; border-radius: 10px; margin-top: 6px; display: block; }
.pending-note {
    font-size: 0.78rem;
    color: var(--sindoor);
    background: #FBEBEA;
    border-radius: 8px;
    padding: 4px 8px;
    margin-top: 6px;
    display: inline-block;
}

.post-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.action-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 0.85rem;
    padding: 8px 4px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
}
.action-btn.active { color: var(--jol-green); font-weight: 600; }

.report-panel {
    margin-top: 8px;
    padding: 10px;
    background: var(--paper);
    border-radius: 10px;
    display: none;
}
.report-panel.open { display: block; }
.report-panel label { display: block; font-size: 0.85rem; margin-bottom: 6px; cursor: pointer; }
.report-submit {
    background: var(--sindoor);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 0.8rem;
    margin-top: 6px;
    cursor: pointer;
}

.comments { margin-top: 8px; display: none; }
.comments.open { display: block; }
.comment { display: flex; gap: 8px; margin-top: 8px; }
.comment-body { background: var(--paper); border-radius: 12px; padding: 6px 10px; font-size: 0.85rem; flex: 1; }
.comment-name { font-weight: 600; margin-right: 4px; }
.comment-form { display: flex; gap: 6px; margin-top: 10px; }
.comment-form input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}
.comment-form button {
    background: var(--nilkantha);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 0 14px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* ---- Empty / loading states (reuse alpona motif) ---- */
.state-block { text-align: center; padding: 30px 20px; color: var(--ink-soft); }
.state-block .alpona-strip { margin-left: auto; margin-right: auto; width: 120px; }
.state-block p { font-size: 0.9rem; margin: 6px 0 0; }

.load-more {
    display: block;
    width: 100%;
    background: none;
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 10px;
    color: var(--jol-green-dark);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    margin: 4px 0 16px;
}

/* ---- Bottom nav ---- */
nav.bottom {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--card);
    border-top: 1px solid var(--line);
    display: flex;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 10;
}
nav.bottom a {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    color: var(--ink-soft);
    text-decoration: none;
}
nav.bottom a.current { color: var(--jol-green); font-weight: 600; }
nav.bottom .nav-icon { display: block; font-size: 1.15rem; margin-bottom: 2px; }

/* ---- Groups (Phase 7) ---- */
.chip {
    display: inline-block;
    font-size: 0.72rem;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 2px 10px;
    border-radius: 12px;
}
.district-filter {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 4px;
}
.district-filter button {
    flex-shrink: 0;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink-soft);
    border-radius: 16px;
    padding: 6px 14px;
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}
.district-filter button.active { background: var(--jol-green); color: var(--paper); border-color: var(--jol-green); }

.group-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.group-card .avatar { background: var(--jol-green); }
.group-card-meta { flex: 1; min-width: 0; }
.group-card-name { font-weight: 600; font-size: 0.95rem; }
.group-card-sub { font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }

.group-hero {
    background: var(--jol-green-dark);
    color: var(--paper);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
}
.group-hero h2 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 600; }
.group-hero .chip { background: rgba(255,255,255,0.15); border-color: transparent; color: var(--paper); }
.group-hero p { font-size: 0.85rem; opacity: 0.9; margin: 8px 0 0; }
.group-hero-actions { margin-top: 12px; display: flex; gap: 8px; }

/* ---- Profile (Phase 8) ---- */
.profile-hero {
    text-align: center;
    padding: 20px 14px;
    margin-bottom: 14px;
}
.profile-avatar {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: var(--nilkantha);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 600;
    margin: 0 auto 10px;
    overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 1.15rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.profile-bio { font-size: 0.88rem; color: var(--ink-soft); margin-top: 4px; }
.stat-row { display: flex; justify-content: center; gap: 24px; margin-top: 14px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 1.05rem; }
.stat span { font-size: 0.75rem; color: var(--ink-soft); }
.profile-actions { margin-top: 14px; display: flex; gap: 8px; justify-content: center; }
.business-info {
    background: #FBF3E6;
    border: 1px solid var(--kadam-gold);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 0.85rem;
}
.business-info b { color: var(--kadam-gold); }
.form-field {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* ---- Messages (Phase 11) ---- */
.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
}
.conversation-item.unread { border-color: var(--jol-green); background: #F5FAF7; }
.conv-meta { flex: 1; min-width: 0; }
.conv-name { font-weight: 600; font-size: 0.92rem; }
.conv-preview { font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-time { font-size: 0.72rem; color: var(--ink-soft); flex-shrink: 0; }

.request-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FBF3E6;
    border: 1px solid var(--kadam-gold);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.msg-thread { display: flex; flex-direction: column; gap: 8px; padding: 8px 0 90px; }
.msg-row { display: flex; }
.msg-row.mine { justify-content: flex-end; }
.msg-bubble {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.4;
    word-break: break-word;
}
.msg-row.mine .msg-bubble { background: var(--jol-green); color: var(--paper); border-bottom-right-radius: 4px; }
.msg-row.theirs .msg-bubble { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-pending { font-size: 0.72rem; opacity: 0.8; margin-top: 3px; }

.msg-composer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--card);
    border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    display: flex;
    gap: 8px;
    z-index: 10;
}
.msg-composer input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}
.msg-composer button {
    background: var(--jol-green);
    color: var(--paper);
    border: none;
    border-radius: 20px;
    padding: 0 18px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.accept-bar {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #FBF3E6;
    border-radius: 12px;
    margin-bottom: 10px;
    align-items: center;
    font-size: 0.85rem;
}
.accept-bar button { flex-shrink: 0; }

/* ---- Status page & creator dashboard (Phase 12) ---- */
.status-banner {
    text-align: center;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-weight: 600;
}
.status-banner.all-clear { background: #E9F5EE; color: var(--jol-green-dark); }
.status-banner.has-incidents { background: #FBEBEA; color: var(--sindoor); }

.incident-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
}
.incident-title { font-weight: 600; font-size: 0.92rem; }
.incident-badge {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}
.incident-badge.minor { background: #E4E1D2; color: var(--ink-soft); }
.incident-badge.major { background: #FBF3E6; color: var(--kadam-gold); }
.incident-badge.critical { background: #FBEBEA; color: var(--sindoor); }
.incident-update { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }

.criterion-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
}
.criterion-row:last-child { border-bottom: none; }
.criterion-check { font-size: 1rem; }
.criterion-check.met { color: var(--jol-green); }
.criterion-check.unmet { color: var(--sindoor); }
.criterion-numbers { font-size: 0.78rem; color: var(--ink-soft); }

.earnings-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
}
.earnings-row:last-child { border-bottom: none; }


/* Phase 23: owner edit / delete */
.owner-btn { display:block; width:100%; text-align:left; background:none; border:none; padding:10px 4px; font-size:0.9rem; cursor:pointer; color:inherit; }
.owner-btn-danger { color:var(--sindoor); }
.edit-caption { width:100%; box-sizing:border-box; padding:10px; font:inherit; border:1px solid #ccc; border-radius:8px; resize:vertical; }
.edit-expiry { display:block; margin:8px 0; font-size:0.8rem; }
.edit-expiry select { margin-left:6px; }
.edit-actions { display:flex; gap:8px; }
.edit-error { margin-top:8px; font-size:0.8rem; color:var(--sindoor); }

/* ---------- Share sheet ---------- */
.stat-shares { margin-left:auto; font-size:0.8rem; color:var(--ink-soft); }
.sheet-backdrop { position:fixed; inset:0; background:rgba(0,0,0,0); z-index:1000; display:flex; align-items:flex-end; justify-content:center; transition:background .2s; }
.sheet-backdrop.open { background:rgba(0,0,0,.45); }
.sheet { width:100%; max-width:520px; max-height:88vh; overflow-y:auto; background:var(--card); border-radius:20px 20px 0 0; padding:8px 16px calc(16px + env(safe-area-inset-bottom)); transform:translateY(100%); transition:transform .22s ease; box-sizing:border-box; }
.sheet-backdrop.open .sheet { transform:translateY(0); }
.sheet-grab { width:40px; height:4px; border-radius:2px; background:var(--line); margin:6px auto 12px; }
.sheet-title { font-weight:700; font-size:1.05rem; margin-bottom:10px; }
.sheet-preview { display:flex; gap:10px; align-items:center; background:var(--paper); border-radius:12px; padding:8px; font-size:0.85rem; }
.sheet-preview img { width:56px; height:56px; object-fit:cover; border-radius:8px; flex:none; }
.sheet-preview span { color:var(--ink-soft); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sheet-repost { margin:12px 0; }
.sheet-repost textarea { width:100%; box-sizing:border-box; padding:10px; font:inherit; border:1px solid var(--line); border-radius:10px; resize:none; }
.sheet-primary { width:100%; margin-top:8px; display:flex; gap:8px; align-items:center; justify-content:center; background:var(--jol-green); color:#fff; border:none; border-radius:10px; padding:11px; font:inherit; font-weight:600; cursor:pointer; }
.sheet-primary:disabled { opacity:.6; }
.sheet-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:6px 0 10px; }
.sheet-opt { display:flex; flex-direction:column; align-items:center; gap:6px; background:none; border:none; color:var(--ink); text-decoration:none; font:inherit; font-size:0.75rem; cursor:pointer; padding:4px 0; }
.sheet-opt i { width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-style:normal; font-weight:700; font-size:0.95rem; }
.sheet-cancel { width:100%; background:var(--paper); border:none; border-radius:10px; padding:11px; font:inherit; cursor:pointer; color:var(--ink); }
.toast { position:fixed; left:50%; bottom:90px; transform:translate(-50%,20px); background:#1F2A24; color:#fff; padding:10px 16px; border-radius:20px; font-size:0.85rem; opacity:0; pointer-events:none; transition:all .2s; z-index:1100; }
.toast.show { opacity:1; transform:translate(-50%,0); }

.del-reason { display:block; font-size:0.9rem; padding:8px 4px; border-bottom:1px solid var(--line); cursor:pointer; }
.del-reason input { margin-right:8px; }

/* VIP badge: a drawn image (not a text character), so nobody can type or paste it into a name */
.vip-badge { display:inline-block; width:1.1em; height:1.1em; margin-left:5px; vertical-align:-0.2em; font-size:0; line-height:0; color:transparent; background:center/contain no-repeat; cursor:default; user-select:none; -webkit-user-select:none; }
.vip-badge.vip-crown { background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2211%22 fill=%22%232e6b4e%22 stroke=%22%23e0b44a%22 stroke-width=%221.6%22/%3E%3Cpath fill=%22%23f7cf4a%22 d=%22M6 16.2 5 8.6l4 3 3-4.6 3 4.6 4-3-1 7.6z%22/%3E%3Crect x=%226%22 y=%2217.2%22 width=%2212%22 height=%221.8%22 rx=%22.6%22 fill=%22%23f7cf4a%22/%3E%3C/svg%3E"); }
.vip-badge.vip-star { background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2211%22 fill=%22%232e6b4e%22 stroke=%22%23e0b44a%22 stroke-width=%221.6%22/%3E%3Cpath fill=%22%23f7cf4a%22 d=%22M12 5.2l2.1 4.7 5.1.5-3.8 3.4 1.1 5-4.5-2.6-4.5 2.6 1.1-5-3.8-3.4 5.1-.5z%22/%3E%3C/svg%3E"); }
.vip-badge.vip-diamond { background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2211%22 fill=%22%232e6b4e%22 stroke=%22%23e0b44a%22 stroke-width=%221.6%22/%3E%3Cpath fill=%22%238fe3ff%22 d=%22M7 9.5 9.5 6.5h5L17 9.5 12 18z%22/%3E%3Cpath fill=%22none%22 stroke=%22%232e6b4e%22 stroke-width=%22.9%22 d=%22M7 9.5h10M10.2 9.5 12 18l1.8-8.5M9.5 6.5l.7 3M14.5 6.5l-.7 3%22/%3E%3C/svg%3E"); }
.vip-badge.vip-shield { background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2211%22 fill=%22%232e6b4e%22 stroke=%22%23e0b44a%22 stroke-width=%221.6%22/%3E%3Cpath fill=%22%23f7cf4a%22 d=%22M12 5.3 18 7.8v4.7c0 3-2.5 5.1-6 6.7-3.5-1.6-6-3.7-6-6.7V7.8z%22/%3E%3Cpath fill=%22%232e6b4e%22 d=%22M12 8.2 15.2 9.6v3c0 1.7-1.3 3-3.2 4-1.9-1-3.2-2.3-3.2-4v-3z%22/%3E%3C/svg%3E"); }
.vip-badge.vip-flame { background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2211%22 fill=%22%232e6b4e%22 stroke=%22%23e0b44a%22 stroke-width=%221.6%22/%3E%3Cpath fill=%22%23ff9f43%22 d=%22M12 4.8c.9 2.9 4.9 4.3 4.9 8.6a4.9 4.9 0 0 1-9.8 0c0-2.4 1.5-3.6 2.4-5 .5.9 1 1.4 1.5 1.5.6-1.9.5-3.8 1-5.1z%22/%3E%3Cpath fill=%22%23ffe08a%22 d=%22M12 12.4c.5 1.2 2 1.6 2 3.1a2 2 0 0 1-4 0c0-1.2 1.4-1.7 2-3.1z%22/%3E%3C/svg%3E"); }
.vip-until { font-size:0.75rem; color:var(--ink-soft); margin-top:2px; }

/* No image saving: images ignore touch so long-press never opens "Copy / Download / Share image" */
img { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; pointer-events: none; }
video { -webkit-touch-callout: none; -webkit-user-drag: none; }

/* "real, not AI" confirmation in the post composer */
.cm-ai { display:flex; gap:8px; align-items:flex-start; margin:10px 0 0; padding:10px 12px; border:1px solid var(--jol-green, #1f5f46); border-radius:10px; font-size:.85rem; line-height:1.35; }
.cm-ai[hidden] { display:none; }
.cm-ai input { margin-top:3px; flex:0 0 auto; width:18px; height:18px; }

/* Bolmic ID */
.bid-handle { font-size:.9rem; opacity:.75; margin-top:2px; }
.bid-card { margin:12px 0; padding:12px 14px; border:1px solid rgba(0,0,0,.12); border-radius:12px; font-size:.9rem; }
.bid-title { font-weight:600; margin-bottom:6px; }
.bid-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:4px 0; }
.bid-row[hidden] { display:none; }
.bid-id { font-weight:600; flex:1 1 auto; word-break:break-all; }
.bid-row input { flex:1 1 140px; padding:8px 10px; border:1px solid rgba(0,0,0,.25); border-radius:8px; font-size:1rem; }
.bid-btn { padding:7px 12px; border-radius:8px; border:1px solid rgba(0,0,0,.25); background:transparent; font-size:.85rem; }
.bid-msg { min-height:1.1em; font-size:.8rem; }
.bid-label { display:block; margin-top:8px; }
.bid-label select { display:block; width:100%; margin-top:4px; padding:8px; border-radius:8px; }
.bid-note { margin-top:8px; font-size:.75rem; opacity:.7; }

/* blocking */
.blk-note { font-size:.85rem; opacity:.75; }
