/* pchat.css — lane 21, Patient chat (02-Nov-2026). Taps 44 px (56 on a phone), 8 px gaps, no text cut at 360 px. Also the Patient app code card on the patient screen and the one-line print footer. */
.pcapp h1 { font-size: 20px; margin: 4px 0 12px; }
.pcbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.pcwho { display: flex; flex-wrap: wrap; gap: 8px; }
.pcbtn { min-height: 44px; min-width: 44px; padding: 8px 16px; overflow-wrap: anywhere; }
.pcbtn.on { background: var(--accent); color: #fff; }
.pcbadge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #c2185b; color: #fff; font-size: 12px; text-align: center; }
.pcapp input[type=search] { min-height: 44px; flex: 1 1 200px; min-width: 0; padding: 8px 12px; border: 1px solid var(--field); border-radius: 8px; font: inherit; }
.pclist { display: flex; flex-direction: column; gap: 8px; }
.pcrow { display: block; text-align: left; background: #fff; color: var(--ink); border: 1px solid var(--line); min-height: 56px; padding: 8px 12px; width: 100%; }
.pcrow.unread { border-left: 4px solid #c2185b; font-weight: 600; }
.pctop { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pctop small, .pcmsg small { color: var(--muted); font-weight: 400; }
.pcsub { display: block; color: var(--muted); font-weight: 400; overflow-wrap: anywhere; }
.pcthead { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; } .pcthead small { display: block; color: var(--muted); }
.pclink, .pcothers { margin: 6px 0; overflow-wrap: anywhere; }
.pcmsgs { display: flex; flex-direction: column; gap: 8px; max-height: 55vh; overflow-y: auto; padding: 8px; background: var(--card); border: 1px solid var(--line2); border-radius: var(--radius); }
.pcmsg { max-width: 85%; padding: 8px 12px; border-radius: 12px; background: var(--line2); overflow-wrap: anywhere; } .pcmsg p { margin: 2px 0; white-space: pre-wrap; }
.pcmsg.staff { align-self: flex-end; background: var(--accent-2); } .pcmsg.auto { align-self: center; background: var(--warn); font-size: 13px; }
.pcimg { max-width: 100%; max-height: 240px; border-radius: 8px; display: block; margin-top: 4px; } .pcfile { display: block; min-height: 44px; padding: 10px 0; }
.pcform { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; } .pcform textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--field); border-radius: 8px; font: inherit; }
.pcacts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.pcnote { margin: 8px 0; padding: 8px 12px; border-radius: 8px; background: var(--ok-bg); overflow-wrap: anywhere; } .pcnote.err { background: var(--err-bg); color: var(--err); }
.pcacc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; } .pcacc.off { opacity: .7; }
.pcprof { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 4px 0; } .pcfind { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; }
.pcmatch { text-align: left; } .pcmatch small { display: block; color: var(--muted); font-weight: 400; } .pcsearch { display: flex; gap: 8px; }
.pcok { color: var(--ok); } .pcun { color: var(--err); }
.pccode { font-size: 28px; font-weight: 700; letter-spacing: 3px; margin: 4px 0; }
.pcpt { padding: 8px 12px; margin: 8px 0; } .pcpt h2 { font-size: 15px; margin: 0 0 4px; } .pclang, .pcsend { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; } .pcmsgp { white-space: pre-wrap; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 600px) { .pcbtn, .pcapp input[type=search] { min-height: 56px; } .pcrow { min-height: 64px; } .pcmsg { max-width: 95%; } }
/* the Patient app line at the foot of Dr Harsh Shah's prescription: one small line */
.content .pxapp { margin: 3mm 0 0; font-size: 7pt; line-height: 1.3; color: #333; text-align: center; break-inside: avoid; }

.pcaud{display:block;width:100%;min-height:48px;margin-top:6px}
.pcvid{display:block;width:100%;max-height:320px;margin-top:6px;border-radius:8px;background:#000}
.pccall{margin:8px 0;padding:8px;border:1px solid currentColor;border-radius:8px}
.pccall a.pcbtn{display:inline-flex;align-items:center;min-height:56px;padding:0 16px;text-decoration:none}
.pcrec{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.pcrec.on{background:#b3261e;color:#fff}

/* Chat component (piece C, 02-Nov-2026): taps 48 px, 8 px gaps; the thread is a flex column so the composer is always on screen */
.chatroot .chh,.pcapp .chh{font-size:20px;margin:4px 0 8px}.chbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.chatroot .pcbtn{min-height:48px;min-width:48px}.chatroot input[type=search]{min-height:48px}
.chthread{display:flex;flex-direction:column;gap:8px;min-height:calc(100dvh - 190px)}.chthread .pcmsgs{flex:1 1 auto;max-height:none;min-height:240px}
.chform{display:flex;flex-direction:column;gap:8px;flex:0 0 auto;padding-bottom:env(safe-area-inset-bottom)}.chrow{display:flex;gap:8px;align-items:flex-end}
.chrow textarea{flex:1 1 auto;min-width:0;min-height:48px;max-height:120px;padding:10px 12px;border:1px solid var(--field);border-radius:8px;font:inherit}
.chsend{flex:0 0 auto;min-width:88px}.chmenu,.chquick,.chtools{display:flex;flex-wrap:wrap;gap:8px}.chmenu[hidden],.chquick[hidden]{display:none}
.chq{opacity:.85}.chq small button{min-height:48px}
.chview{position:fixed;inset:0;z-index:99;background:#000;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px;overflow:auto}
.chview .chclose{align-self:flex-start;background:#fff;color:#000}.chview img{max-width:100%;max-height:calc(100dvh - 80px);object-fit:contain}.chview iframe{width:100%;flex:1;border:0;background:#fff}

/* Support desk (02-Nov-2026): ticket chips, filters, sheets, internal notes. Taps 48 px. */
.chfilters{margin-bottom:8px}.chneeds{width:100%;margin-bottom:8px;background:#c2185b;color:#fff;text-align:left;font-weight:700}
.pctag{display:inline-block;padding:2px 8px;margin:0 4px 4px 0;border-radius:10px;background:var(--line2);color:var(--ink);font-size:12px;font-weight:600}
.pctag.urg{background:#b3261e;color:#fff}.pctag.esc{background:#6a1b9a;color:#fff}.pctag.age-amber{background:#f9a825;color:#000}.pctag.age-red{background:#b3261e;color:#fff}.pctag.st-pending{background:#f9a825;color:#000}.pctag.st-closed{background:var(--ok-bg);color:var(--ok)}
.pcchips{display:flex;flex-wrap:wrap;margin:4px 0}.pcdot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px;background:#f9a825}.pcdot.red{background:#b3261e}
.chsr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.pcchip{display:inline-block;padding:10px 0;font-weight:600}
.pcmsg.note{align-self:stretch;max-width:100%;background:#fff8c5;border:1px dashed #b58900;border-radius:4px;color:#000}.pcmsg.note small{color:#6b5300}
.chtabs{display:flex;gap:8px}.chtabs .pcbtn{flex:1 1 0}.chnotelabel{margin:0;padding:6px 12px;background:#fff8c5;color:#6b5300;font-weight:600;border-radius:4px}.chnotelabel[hidden]{display:none}
.chform.chnoteon{background:#fff8c5;padding:8px;border-radius:8px}.chform.chnoteon textarea{background:#fffbe0}
.chsheetbg{position:fixed;inset:0;z-index:120;background:rgba(0,0,0,.45);display:flex;align-items:flex-end}
.chsheet{background:var(--card,#fff);color:var(--ink);width:100%;max-height:85dvh;overflow-y:auto;border-radius:16px 16px 0 0;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}
.chsheethd{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.chsheetbd{display:flex;flex-direction:column;gap:8px}.chsheetbd .chpres,.chreasons{display:flex;flex-direction:column;gap:8px}.chreasons{flex-direction:row;flex-wrap:wrap}
.chsheet .pcbtn,.chnew,#chnew{min-height:48px;min-width:48px}.chsheet .chin,.chsheet input[type=search],.chsheet textarea{min-height:48px;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--field);border-radius:8px;font:inherit;font-size:16px}
.chsheet .pcmatch{text-align:left}.chsheet .pcmatch small{display:block;color:var(--muted);font-weight:400}
button.ghost.pcbtn.on,button.ghost.pcbtn.on:hover{background:var(--accent);color:#fff}
.pctl .pctag.open{background:#e3f2fd}.chthread a.pcbtn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

/* ===== WhatsApp Web layout (03-Nov-2026, Dr Shah: "the chat UI & UX is such that nobody would use it"). Computer >= 1024 px: list left, thread right.
   Phone / tablet: the list, then the thread (Back). Taps 48 px on touch; 40 px icon buttons on a computer. ===== */
main.chatroot.home, main.chatroot.saapp { max-width: 1600px; padding-top: 8px; }
.chwa { display: grid; grid-template-columns: 1fr; height: 78dvh; min-height: 360px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.chlistp, .chthreadp { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.chthreadp { background: #efeae2; }
.chatroot:not(.inthread) .chthreadp { display: none; } .chatroot.inthread .chlistp { display: none; }
.chlh { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; background: #f0f2f5; border-bottom: 1px solid var(--line2); flex: 0 0 auto; } .chlh .chh { font-size: 20px; margin: 0; }
.chib { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 48px; min-height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #54656f; cursor: pointer; }
.chib:hover { background: rgba(0,0,0,.07); } .chib[aria-pressed="true"], .chib[data-on] { color: #b3261e; background: #fdecea; } .chib:focus-visible, .chpill:focus-visible, .pcrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chic { display: block; }
.chsrch { padding: 8px 12px 4px; } .chsrch input[type=search] { width: 100%; box-sizing: border-box; min-height: 48px; padding: 8px 14px; border: 0; border-radius: 10px; background: #f0f2f5; font: inherit; font-size: 16px; }
.chfil { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 12px 8px; } .chfmore { padding: 0 12px 8px; display: flex; flex-direction: column; gap: 8px; } .chfmore[hidden] { display: none; }
.chpill { min-height: 44px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #f0f2f5; color: #54656f; font: inherit; font-size: 15px; cursor: pointer; }
.chpill:hover { background: #e4e7ea; } .chpill.on { background: #d9fdd3; color: #0a5c36; font-weight: 600; }
.chneeds { width: calc(100% - 24px); margin: 4px 12px; min-height: 44px; border: 0; border-radius: 8px; background: #c2185b; color: #fff; text-align: left; font: inherit; font-weight: 700; padding: 0 12px; }
.chatroot #chlist.pclist { flex: 1 1 auto; min-height: 0; overflow-y: auto; gap: 0; border-top: 1px solid var(--line2); }
.chatroot .pcrow { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 72px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line2); border-left: 0; border-radius: 0; background: var(--card); color: var(--ink); text-align: left; font-weight: 400; cursor: pointer; }
.chatroot .pcrow:hover { background: #f5f6f6; } .chatroot .pcrow.sel { background: #f0f2f5; } .chatroot .pcrow.unread .chnm { font-weight: 700; }
.chav { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: hsl(var(--h, 200) 38% 42%); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: .5px; }
.chrb { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chatroot .pctop { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: baseline; gap: 8px; } .chnm { min-width: 0; overflow-wrap: anywhere; font-size: 16px; font-weight: 500; }
.chtm { flex: 0 0 auto; color: var(--muted); font-size: 12px; } .pcrow.unread .chtm { color: #1fa855; font-weight: 600; }
.chatroot .pcsub { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 14px; }
.chprev { min-width: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; } .chprev .pctag { font-size: 11px; padding: 0 6px; margin: 0 2px 0 0; }
.chatroot .pcbadge.chub { background: #1fa855; color: #fff; min-width: 22px; height: 22px; line-height: 22px; padding: 0 6px; border-radius: 11px; font-weight: 600; flex: 0 0 auto; }
.chempty { margin: auto; text-align: center; padding: 24px; color: #54656f; } .chempty .chemb { width: 72px; height: 72px; margin: 0 auto 12px; color: #aab4bb; } .chempty .chemb svg { width: 72px; height: 72px; } .chempty b { font-size: 22px; font-weight: 400; color: #41525d; }
.chload { padding: 16px; }
/* thread */
.chtp { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.chth { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: #f0f2f5; border-bottom: 1px solid var(--line2); flex: 0 0 auto; }
.chtn { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; } .chtn b { overflow-wrap: anywhere; font-size: 16px; } .chtn small { color: var(--muted); overflow-wrap: anywhere; }
.chtacts { display: flex; align-items: center; gap: 0; margin: 0; flex: 0 0 auto; } .chmorew { position: relative; }
.chpop { position: absolute; z-index: 30; min-width: 220px; max-width: calc(100vw - 24px); background: var(--card); border-radius: 8px; box-shadow: 0 4px 18px rgba(0,0,0,.25); padding: 6px 0; } .chpop[hidden] { display: none; }
.chmenu2 { right: 0; top: 100%; } .chmenu2 button, .chmenu2 a, .chmi { display: flex; align-items: center; width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; } .chmenu2 button:hover, .chmenu2 a:hover, .chmi:hover { background: #f0f2f5; }
.chinfo { flex: 0 0 auto; padding: 4px 12px; background: #f7f8f8; border-bottom: 1px solid var(--line2); font-size: 13px; max-height: 84px; overflow-y: auto; } .chinfo .pcchips { margin: 2px 0; } .chinfo .pctag { font-size: 11px; margin: 0 4px 2px 0; } .chinfo .pclink { margin: 2px 0; } .chinfo .pcchip { padding: 6px 0; }
.chatroot .chmsgs { flex: 1 1 auto; min-height: 0; max-height: none; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 12px 6%; border: 0; border-radius: 0; background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Ccircle cx='6' cy='6' r='1.2' fill='%23d9d2c5'/%3E%3Ccircle cx='30' cy='30' r='1.2' fill='%23d9d2c5'/%3E%3C/svg%3E"); }
.wad { align-self: center; margin: 10px 0 6px; } .wad span { display: inline-block; padding: 4px 12px; border-radius: 8px; background: #fff; color: #54656f; font-size: 12.5px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.chatroot .pcmsg { position: relative; max-width: min(75%, 560px); padding: 6px 9px 4px; border-radius: 8px; background: #fff; color: #111b21; box-shadow: 0 1px 0 rgba(0,0,0,.1); overflow-wrap: anywhere; font-size: 15px; line-height: 1.35; }
.chatroot .pcmsg p { margin: 0; white-space: pre-wrap; } .chatroot .pcmsg.patient { align-self: flex-start; } .chatroot .pcmsg.staff { align-self: flex-end; background: var(--accent-2); }
.chatroot .pcmsg.tail { margin-top: 6px; } .chatroot .pcmsg.patient.tail { border-top-left-radius: 0; } .chatroot .pcmsg.staff.tail { border-top-right-radius: 0; }
.chatroot .pcmsg.patient.tail::before { content: ""; position: absolute; top: 0; left: -7px; border: 7px solid transparent; border-top-color: #fff; border-right-color: #fff; border-width: 0 8px 8px 0; border-style: solid; border-color: transparent #fff transparent transparent; }
.chatroot .pcmsg.staff.tail::before { content: ""; position: absolute; top: 0; right: -7px; border-style: solid; border-width: 0 0 8px 8px; border-color: transparent transparent transparent var(--accent-2); }
.wanm { display: block; font-size: 12.5px; color: var(--accent-d); font-weight: 600; } .wam { float: right; margin: 6px 0 0 10px; font-size: 11px; color: #667781; line-height: 1; white-space: nowrap; } .watick { font-style: normal; color: #667781; margin-left: 2px; } .pcmsg.chq { opacity: .8; }
.chatroot .pcmsg.auto, .chatroot .pcmsg.wasys { align-self: center; max-width: 90%; margin: 6px 0; padding: 3px 12px; border-radius: 8px; background: #fff4c4; color: #54656f; font-size: 12.5px; text-align: center; box-shadow: none; }
.chatroot .pcmsg.note { align-self: flex-end; max-width: min(75%, 560px); background: #fff8c5; border: 1px dashed #b58900; border-radius: 8px; color: #111b21; margin-top: 6px; } .wanl { display: block; font-size: 12px; color: #6b5300; margin-bottom: 2px; }
.chatroot .pcimg { display: block; width: auto; max-width: 100%; max-height: 300px; border-radius: 6px; margin: 2px 0 4px; cursor: zoom-in; }
.wadoc { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 2px 0 4px; padding: 8px 10px; border-radius: 6px; background: rgba(0,0,0,.05); color: inherit; text-decoration: none; }
.wadi { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 44px; border-radius: 4px; background: #e5483b; color: #fff; font-size: 11px; font-weight: 700; } .wadn { min-width: 0; overflow-wrap: anywhere; } .wadn small { display: block; color: #667781; }
.chatroot .pcaud { width: min(280px, 100%); height: 44px; margin: 2px 0 4px; border-radius: 22px; } .chatroot .pcvid { max-width: 100%; }
/* composer */
.wacomp { position: relative; flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #f0f2f5; }
.wacomp .chrow { display: flex; align-items: flex-end; gap: 6px; } .chatw { position: relative; flex: 0 0 auto; } .chatw .chpop { bottom: 100%; left: 0; margin-bottom: 4px; }
.wacomp textarea { flex: 1 1 auto; min-width: 0; min-height: 48px; max-height: 140px; box-sizing: border-box; padding: 12px 14px; border: 0; border-radius: 24px; background: #fff; font: inherit; font-size: 16px; line-height: 1.3; resize: none; overflow-y: auto; }
.chsend { background: var(--accent); color: #fff; } .chsend:hover { background: var(--accent-d); }
.chnrow { display: flex; } .chnt { min-height: 44px; padding: 0 14px; border: 1px solid #b58900; border-radius: 999px; background: #fff; color: #6b5300; font: inherit; font-size: 14px; cursor: pointer; } .chnt.on, .chnt[aria-pressed="true"] { background: #fff8c5; font-weight: 600; }
.wacomp.chnoteon { background: #fff8c5; } .wacomp .chnotelabel { background: transparent; padding: 0 4px; font-size: 13px; } .wacomp.chnoteon textarea { background: #fffbe0; }
.chpicked { font-size: 13px; padding: 0 6px; } .chpicked:empty { display: none; }
.chqpop { bottom: 100%; left: 8px; right: 8px; max-width: none; max-height: 260px; overflow-y: auto; } .chqi { display: flex; gap: 10px; align-items: baseline; width: 100%; box-sizing: border-box; min-height: 48px; padding: 8px 14px; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; } .chqi.on, .chqi:hover { background: #f0f2f5; } .chql { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: #fff; background: #667781; border-radius: 4px; padding: 1px 5px; } .chqe { margin: 0; padding: 12px 14px; }
@media (min-width: 1025px) {
  .chwa { grid-template-columns: minmax(300px, 380px) 1fr; }
  .chatroot:not(.inthread) .chthreadp { display: flex; } .chatroot.inthread .chlistp { display: flex; }
  .chbk { display: none; } .chlistp { border-right: 1px solid var(--line); }
  .chib { min-width: 40px; min-height: 40px; } .chsrch input[type=search] { min-height: 40px; } .chpill { min-height: 32px; padding: 0 12px; font-size: 13px; } .chatroot .pcrow { min-height: 68px; }
  .chnt { min-height: 32px; } .chmenu2 button, .chmenu2 a, .chmi { min-height: 40px; }
  .chtp .chtn { margin-left: 4px; }
}
@media (max-width: 600px) { .chatroot .chmsgs { padding: 10px 8px; } .chatroot .pcmsg { max-width: 88%; } .chth { padding: 4px 4px; } .chtacts .chib { min-width: 44px; } .chav { width: 40px; height: 40px; } }
@media (max-width: 600px) { .chth .chav { display: none; } }
.chproxy { display: none !important; }
@media (max-width: 600px) { .chproxy { display: flex !important; } #chassign, #chpend, #churg, #chmatch { display: none; } .chtacts { gap: 8px; } }
@media (min-width: 601px) { .chtacts { gap: 2px; } }
@media (min-width: 601px) { .chmorew.proxyonly { display: none; } }
@media (max-width: 600px) { .chinfo { max-height: none; overflow: visible; padding: 4px 8px; } .chinfo .pcchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .chinfo .pctag { flex: 0 0 auto; } .chinfo .pclink { font-size: 13px; } }
.chatroot .pcaud { min-width: 240px; }

.watick.read { color: #53bdeb; }

/* India first (04-Nov-2026): "Update family" on today's OT-list rows (surgstat.js) */
.svfam { margin-top: 8px; padding-top: 6px; border-top: 1px dashed var(--line, #ccc); }
.svfam .svbtns { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.svfam .svb { min-height: 44px; padding: 6px 10px; font-size: 13px; }
.svfam .svb.on { background: var(--accent-2, #e6f0ff); border-color: var(--accent, #1a5fb4); font-weight: 600; }
.svfam .svline { display: block; }
