/* Kalin — Danh bạ (Đợt 52) */
.ct-page{display:flex;flex-direction:column;height:100%;min-height:0;background:var(--panel,#fff);color:var(--ink,#0f172a);position:relative}
.ct-bar{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line,#e2e8f0)}
.ct-bar h2{flex:1;margin:0;font-size:19px;font-weight:800}
.ct-back,.ct-add{border:0;background:var(--panel2,#f1f5f9);color:inherit;border-radius:12px;min-width:40px;height:40px;font-size:20px;cursor:pointer;padding:0 10px}
.ct-add{font-size:15px}
.ct-search{display:flex;align-items:center;gap:8px;margin:10px 14px 4px;padding:0 12px;height:42px;background:var(--panel2,#f1f5f9);border-radius:21px;color:var(--ink3,#64748b)}
.ct-search input{flex:1;border:0;background:transparent;outline:0;font:inherit;font-size:15px;color:var(--ink,#0f172a);min-width:0}
.ct-tabs{display:flex;gap:6px;padding:8px 14px 6px;border-bottom:1px solid var(--line,#e2e8f0)}
.ct-tabs button{border:0;background:transparent;color:var(--ink2,#475569);font:inherit;font-weight:700;font-size:14px;padding:8px 14px;border-radius:18px;cursor:pointer}
.ct-tabs button i{font-style:normal;font-weight:600;opacity:.7}
.ct-tabs button.on{background:var(--brand,#4f46e5);color:#fff}
.ct-body{flex:1;min-height:0;position:relative}
.ct-scroll{height:100%;overflow-y:auto;padding:4px 0 24px;-webkit-overflow-scrolling:touch}
.ct-idx{position:absolute;right:2px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;max-height:92%;overflow:hidden;z-index:2}
.ct-idx button{border:0;background:transparent;color:var(--brand,#4f46e5);font:700 10px/1.25 inherit;padding:0 5px;cursor:pointer}
.ct-short{padding:4px 0}
.ct-short button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:inherit;font:inherit;padding:9px 16px;cursor:pointer;text-align:left}
.ct-short button:hover,.ct-row:hover{background:var(--panel2,#f1f5f9)}
.ct-short b{flex:1;font-size:15px}
.ct-short i{font-style:normal;color:var(--ink3,#64748b);font-size:20px}
.ct-short em{background:#ef4444;color:#fff;border-radius:10px;font-style:normal;font-size:12px;font-weight:700;padding:1px 7px}
.ct-si{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:20px}
.ct-qh{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 4px;font-weight:800;font-size:14px}
.ct-qh small{font-weight:600;color:var(--ink3,#64748b)}
.ct-qh button{border:0;background:transparent;color:var(--brand,#4f46e5);font:inherit;font-weight:700;font-size:14px;cursor:pointer}
.ct-hint,.ct-empty{padding:14px 18px;color:var(--ink3,#64748b);font-size:14px;line-height:1.5}
.ct-empty{text-align:center;padding:36px 18px}
.ct-let{padding:6px 16px;margin-top:6px;font-weight:800;font-size:13px;color:var(--ink3,#64748b);background:var(--panel2,#f1f5f9)}
.ct-row{display:flex;align-items:center;gap:12px;padding:8px 26px 8px 16px;cursor:pointer}
.ct-n{flex:1;min-width:0;display:flex;flex-direction:column}
.ct-n b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-n small{color:var(--ink3,#64748b);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-on{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22c55e;margin-right:5px}
.ct-ic{border:0;background:transparent;color:var(--ink2,#475569);width:38px;height:38px;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex:none;font-size:18px;padding:0}
.ct-ic:hover{background:var(--line,#e2e8f0)}
.ct-star.on{color:#f59e0b}
.ct-ov{position:absolute;inset:0;background:rgba(15,23,42,.5);z-index:30;display:flex;align-items:flex-end;justify-content:center}
.ct-sheet{background:var(--panel,#fff);width:100%;max-width:520px;max-height:88%;border-radius:20px 20px 0 0;display:flex;flex-direction:column;overflow:hidden}
.ct-sh{display:flex;align-items:center;gap:8px;padding:14px 16px}
.ct-sh b{flex:1;font-size:17px}.ct-sh small{color:var(--ink3,#64748b);font-weight:700}
.ct-x{border:0;background:var(--panel2,#f1f5f9);width:34px;height:34px;border-radius:50%;cursor:pointer;color:inherit}
.ct-pl{flex:1;overflow-y:auto;min-height:120px}
.ct-pk{display:flex;align-items:center;gap:12px;padding:8px 16px;cursor:pointer}
.ct-pk input{width:20px;height:20px;accent-color:var(--brand,#4f46e5)}
.ct-sf{padding:10px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line,#e2e8f0)}
.ct-done{width:100%;border:0;background:var(--brand,#4f46e5);color:#fff;font:inherit;font-weight:800;padding:12px;border-radius:14px;cursor:pointer}
@media (min-width:760px){.ct-ov{align-items:center}.ct-sheet{border-radius:20px}}
