:root {
  --bg: #f4f5f7; --panel: #fff; --text: #1d2330; --muted: #667085; --line: #d9dde3; --soft: #eef0f3;
  --accent: #2557d6; --accent-soft: #e6edfc; --ok: #1f8a4c; --ok-soft: #e3f4ea; --warn: #b26a00; --warn-soft: #fdf1dc;
  --bad: #c62f2f; --bad-soft: #fbe6e6; --info: #6941c6; --info-soft: #efeafc; --edge: #b4bcc8; --grid: #e3e6eb;
  --radius: 10px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151b; --panel: #1b1f27; --text: #e6e8ec; --muted: #9aa3b2; --line: #2f3542; --soft: #232834;
    --accent: #7aa2ff; --accent-soft: #1f2b47; --ok: #4cc584; --ok-soft: #173326; --warn: #f0b24e; --warn-soft: #3a2c13;
    --bad: #f07272; --bad-soft: #3d1c1c; --info: #b49cff; --info-soft: #2a2245; --shadow: none; --edge: #4a5365; --grid: #232834;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h2 { font-size: 18px; } h3 { font-size: 15px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.hidden { display: none !important; }

/* thanh trên */
header.top { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-inner { max-width: 1280px; margin: 0 auto; padding: 10px 16px; display: flex; gap: 8px 16px; align-items: center; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.brand .logo { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; }
nav.tabs { display: flex; gap: 2px; flex-wrap: wrap; }
nav.tabs button { border: 0; background: none; padding: 7px 12px; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 500; }
nav.tabs button:hover { background: var(--soft); color: var(--text); }
nav.tabs button.active { background: var(--accent-soft); color: var(--accent); }
.who { text-align: right; line-height: 1.3; }
main { max-width: 1280px; margin: 0 auto; padding: 18px 16px 60px; }

/* khối */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.grid { display: grid; gap: 14px; }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.cols-2 { grid-template-columns: 1fr; } }
.stat .num { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat .lbl { color: var(--muted); font-size: 13px; }
.section-title { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; flex-wrap: wrap; }

/* nút & ô nhập */
.btn { border: 1px solid var(--line); background: var(--panel); padding: 7px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; white-space: nowrap; }
.btn:hover { background: var(--soft); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 3px 8px; font-size: 12.5px; }
.btn:disabled { opacity: .5; cursor: default; }
input[type=text], input[type=password], input[type=date], input[type=url], input[type=tel], input[type=search], select, textarea {
  width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel);
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
label.f { display: block; margin-bottom: 12px; }
label.f > span { display: block; font-weight: 500; margin-bottom: 4px; font-size: 13px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.seg button { border: 0; background: none; padding: 6px 12px; cursor: pointer; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* nhãn */
.pill { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.st-todo { background: var(--soft); color: var(--muted); }
.st-doing { background: var(--accent-soft); color: var(--accent); }
.st-submitted { background: var(--warn-soft); color: var(--warn); }
.st-done { background: var(--ok-soft); color: var(--ok); }
.st-rework { background: var(--bad-soft); color: var(--bad); }
.pill.overdue { background: var(--bad); color: #fff; }
.pill.prio-high { background: var(--bad-soft); color: var(--bad); }
.coh { display: inline-block; min-width: 34px; text-align: center; padding: 0 6px; border-radius: 6px; font-size: 11.5px; font-weight: 700; color: #fff; }

/* bảng */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12.5px; color: var(--muted); font-weight: 600; background: var(--soft); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; } tr.click:hover td { background: var(--soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { padding: 28px; text-align: center; color: var(--muted); }

/* thanh tiến độ */
.bar { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; min-width: 60px; }
.bar > i { display: block; height: 100%; background: var(--ok); border-radius: 99px; }

/* cây dạng danh sách */
.tree { padding: 6px 0; }
.tree ul { list-style: none; margin: 0; padding-left: 22px; border-left: 1px dashed var(--line); margin-left: 11px; }
.tree > ul { border: 0; padding-left: 0; margin-left: 0; }
.tnode { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; flex-wrap: wrap; }
.tnode:hover { background: var(--soft); }
.tnode .tog { width: 20px; height: 20px; border: 0; background: none; cursor: pointer; color: var(--muted); border-radius: 4px; padding: 0; }
.tnode .tog:hover { background: var(--line); }
.tnode .nm { font-weight: 600; cursor: pointer; }
.tnode .nm:hover { color: var(--accent); }
.tnode .prog { display: flex; align-items: center; gap: 6px; width: 170px; }
.tnode .prog .bar { flex: 1; }
li.collapsed > ul { display: none; }

.legend { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.flow { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.flow .arrow { color: var(--muted); }

/* hộp thoại */
.backdrop { position: fixed; inset: 0; background: rgba(15,20,30,.45); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; z-index: 20; }
.modal { background: var(--panel); border-radius: 14px; width: 100%; max-width: 720px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal.wide { max-width: 900px; }
.modal-h { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start; }
.modal-b { padding: 16px 18px; }
.modal-f { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.x { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin-bottom: 14px; }
.kv > div:nth-child(odd) { color: var(--muted); }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv > div:nth-child(odd) { margin-top: 6px; } }
.box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.box h3 { margin-bottom: 8px; }
.note { background: var(--soft); padding: 8px 10px; border-radius: 8px; white-space: pre-wrap; }
.note.bad { background: var(--bad-soft); }
.files { list-style: none; padding: 0; margin: 0; }
.files li { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.files li:last-child { border-bottom: 0; }
.files li a { flex: 1; word-break: break-all; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 6px 0 6px 14px; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.picker { max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.picker .grp { margin: 6px 0; }
.picker .grp-h { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 4px; }
.picker label { display: inline-flex; gap: 6px; align-items: center; margin: 2px 14px 2px 0; cursor: pointer; }
.drop { border: 2px dashed var(--line); border-radius: 10px; padding: 14px; text-align: center; color: var(--muted); }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }

/* đăng nhập */
.center { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login { width: 100%; max-width: 380px; }
.login .brand { justify-content: center; margin-bottom: 16px; font-size: 18px; }
.err { color: var(--bad); min-height: 20px; font-size: 13px; }

.bell { position: relative; }
.bell .badge { position: absolute; top: -6px; right: -6px; background: var(--bad); color: #fff; border-radius: 99px; font-size: 10.5px; min-width: 17px; height: 17px; line-height: 17px; padding: 0 4px; font-weight: 700; }
.warn-card { border-color: var(--bad); background: linear-gradient(var(--bad-soft), var(--bad-soft)) padding-box; }
.notif { list-style: none; margin: 0; padding: 0; }
.notif li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 6px; border-bottom: 1px solid var(--line); cursor: pointer; border-radius: 6px; }
.notif li:hover { background: var(--soft); }
.notif li.unread { font-weight: 600; }
details summary { cursor: pointer; }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; }
#toast .t { background: var(--text); color: var(--bg); padding: 9px 16px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
#toast .t.bad { background: var(--bad); color: #fff; }
code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; word-break: break-all; }

/* hồ sơ: ảnh đại diện, lĩnh vực đam mê, ảnh liên quan */
.av { display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; color: #fff; font-weight: 700; flex: none; background: var(--soft); line-height: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tag { display: inline-block; background: var(--info-soft); color: var(--info); border-radius: 99px; padding: 1px 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 0; }
.tag.more { background: var(--soft); color: var(--muted); }
button.tag { cursor: pointer; font-size: 12px; padding: 2px 10px; }
button.tag:hover { filter: brightness(1.1); outline: 1px solid var(--info); }
.note-card { border-color: var(--accent); background: linear-gradient(var(--accent-soft), var(--accent-soft)) padding-box; }
.profile-head { display: flex; gap: 16px; align-items: center; }
.bio { white-space: pre-wrap; overflow-wrap: anywhere; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--soft); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 5px 8px; font-size: 12.5px; }
.gallery figcaption input { padding: 3px 6px; font-size: 12.5px; }
.gallery .del { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }

/* sơ đồ phân cấp: ô đặt tuyệt đối, đường nối SVG */
.org-card { padding: 0; overflow: hidden; }
.org-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.org-bar .seg button { padding: 3px 10px; font-variant-numeric: tabular-nums; }
.org-bar #zLabel { min-width: 56px; }
.org-wrap { overflow: auto; position: relative; cursor: grab; min-height: 320px;
  background-color: var(--bg); background-image: radial-gradient(var(--grid) 1.2px, transparent 1.2px); background-size: 20px 20px; }
.org-wrap.drag { cursor: grabbing; user-select: none; }
.org-wrap.drag .onode { pointer-events: none; }
.org-sizer { position: relative; }
.org-canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.org-edges { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.org-edges path { fill: none; stroke: var(--edge); stroke-width: 1.6; stroke-linecap: round; }
.org-edges path.on { stroke: var(--accent); stroke-width: 2.4; }
.onode { position: absolute; width: 204px; height: 124px; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px;
  padding: 9px 11px 15px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--accent));
  border-radius: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 6px rgba(16,24,40,.06); cursor: pointer; text-align: left;
  transition: opacity .15s, box-shadow .15s, transform .15s, border-color .15s; }
.onode:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(16,24,40,.14); border-color: var(--accent); border-top-color: var(--c, var(--accent)); }
.onode .ohead { display: flex; gap: 9px; align-items: center; min-width: 0; }
.onode .oname { min-width: 0; flex: 1; }
.onode .otop { display: flex; gap: 5px; align-items: center; }
.onode .olabel { font-size: 11px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.onode .n { font-weight: 650; font-size: 13.5px; line-height: 1.25; margin-top: 2px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.onode .otags { display: flex; gap: 4px; overflow: hidden; height: 18px; flex: none; }
.onode .otags .tag { font-size: 10.5px; padding: 1px 7px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; flex: none; }
.onode .ofoot { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 16px; }
.onode .ofoot .bar { flex: 1; min-width: 40px; }
.onode .dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; font-size: 10.5px; font-weight: 700; display: inline-grid; place-items: center; color: #fff; }
.onode .dot.warn { background: var(--warn); } .onode .dot.bad { background: var(--bad); }
.onode .otog { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px;
  border: 1px solid var(--edge); background: var(--panel); color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; z-index: 2; }
.onode .otog:hover { border-color: var(--accent); color: var(--accent); }
.onode.path { border-color: var(--accent); }
.onode.me { box-shadow: 0 0 0 3px var(--accent-soft), 0 6px 18px rgba(16,24,40,.12); }
.onode.dim { opacity: .22; }
.onode.hl { box-shadow: 0 0 0 3px var(--accent), 0 6px 18px rgba(16,24,40,.14); }
@media (max-width: 700px) { .org-hint { display: none; } }

/* bình chọn */
.polls { display: flex; flex-direction: column; gap: 8px; }
.popt { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.popt.mine { border-color: var(--accent); background: linear-gradient(var(--accent-soft), var(--accent-soft)) padding-box; }
.popt.top .bar > i { background: var(--ok); }
.popt .bar > i { background: var(--accent); }
.popt-h { display: flex; gap: 10px; align-items: center; cursor: pointer; margin-bottom: 6px; }
.popt-h input { width: 17px; height: 17px; margin: 0; flex: none; }
.popt-l { flex: 1; font-weight: 600; }
.popt-n { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 24px; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.chip { display: inline-flex; gap: 5px; align-items: center; background: var(--soft); border-radius: 99px; padding: 1px 9px 1px 2px; font-size: 12px; }
.chip .av { font-size: 9px !important; }
.opt-edit { max-height: 290px; overflow-y: auto; padding-right: 4px; }

/* hoạt động của nhóm (bảng tin) */
nav.tabs button.has-new { position: relative; }
nav.tabs button.has-new::after { content: ""; position: absolute; top: 5px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
.feed { max-width: 720px; margin: 0 auto; }
.composer textarea { min-height: 64px; border: 0; background: var(--soft); border-radius: 12px; padding: 10px 12px; }
.composer textarea:focus { outline: 2px solid var(--accent-soft); }
.composer.over { outline: 2px dashed var(--accent); }
.pick-prev { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-prev:not(:empty) { margin-top: 10px; }
.pick-prev .pp { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; background: var(--soft); }
.pick-prev .pp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-prev .pp button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; line-height: 1; }
.feed-cats { margin: 14px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feed-cats button { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 99px; padding: 4px 12px; cursor: pointer; font-weight: 500; }
.feed-cats button:hover { color: var(--text); }
.feed-cats button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.post { margin-bottom: 14px; padding: 14px 16px 10px; }
.post.pinned { border-color: var(--warn); }
.phead { display: flex; gap: 10px; align-items: center; }
.pname { font-weight: 650; color: var(--text); text-decoration: none; }
.pname:hover { text-decoration: underline; }
.pmenu { display: flex; gap: 4px; }
.pbody { margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.55; }
.pimgs { display: grid; gap: 4px; margin: 10px -16px 0; }
.pimgs.n1 { grid-template-columns: 1fr; }
.pimgs.n2 { grid-template-columns: 1fr 1fr; }
.pimgs.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.pimgs.n3 .pimg:first-child { grid-row: span 2; }
.pimgs.n4 { grid-template-columns: 1fr 1fr; }
.pimgs.n5 { grid-template-columns: repeat(6, 1fr); }
.pimgs.n5 .pimg:nth-child(-n+2) { grid-column: span 3; }
.pimgs.n5 .pimg:nth-child(n+3) { grid-column: span 2; }
.pimg { position: relative; border: 0; padding: 0; background: var(--soft); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.pimgs.n1 .pimg { aspect-ratio: auto; max-height: 520px; }
.pimgs.n3 .pimg:first-child { aspect-ratio: auto; }
.pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pimgs.n1 .pimg img { max-height: 520px; object-fit: contain; background: #000; }
.pmore { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; font-size: 26px; font-weight: 700; }
.pstats { display: flex; gap: 8px; margin-top: 10px; min-height: 18px; }
.pacts { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 6px; }
.pact { flex: 1; border: 0; background: none; padding: 7px; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 600; }
.pact:hover { background: var(--soft); }
.pact.on { color: var(--bad); }
.pcomments { padding-top: 8px; }
.pc { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.pc-b { min-width: 0; }
.pc-bubble { background: var(--soft); border-radius: 14px; padding: 6px 11px; overflow-wrap: anywhere; }
.pc-t { white-space: pre-wrap; }
.pc-in { border-radius: 99px !important; background: var(--soft) !important; border-color: transparent !important; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.9); display: grid; place-items: center; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); } .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-x { top: 14px; right: 16px; }
.lb-n { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #ddd; font-size: 13px; }
@media (max-width: 560px) { .pmenu .btn { padding: 2px 6px; } .pimgs { margin: 10px -16px 0; } }

/* nhóm */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 18px; }
.gsec { margin: 6px 0 10px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.gcard { cursor: pointer; border-top: 5px solid var(--g); transition: transform .15s, box-shadow .15s; }
.gcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,24,40,.12); }
.gcard.off { opacity: .6; }
.gdesc { margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.avstack { display: inline-flex; margin-right: 4px; }
.avstack .av { border: 2px solid var(--panel); margin-left: -8px; }
.avstack .av:first-child { margin-left: 0; }
.avstack .av.more { width: 28px; height: 28px; font-size: 11px; background: var(--soft); color: var(--muted); }
.role { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 99px; white-space: nowrap; }
.role-leader { background: var(--warn-soft); color: var(--warn); }
.role-deputy { background: var(--info-soft); color: var(--info); }
.role-member { background: var(--soft); color: var(--muted); }
.ghead { border-left: 5px solid var(--g); padding-left: 10px; }
.gchip { display: inline-flex; gap: 6px; align-items: center; padding: 1px 10px 1px 8px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: 12.5px;
  color: var(--text); background: var(--soft); border-left: 4px solid var(--g); margin: 2px 4px 2px 0; }
.gchip span { color: var(--muted); font-weight: 500; font-size: 11.5px; }
.gchip.off { opacity: .55; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; padding: 0; }
.swatch.on { border-color: var(--text); }
.gm-picker { max-height: 340px; }
.gm-picker label.gm { display: flex; margin: 2px 0; padding: 3px 6px; border-radius: 8px; }
.gm-picker label.gm.on { background: var(--accent-soft); }
.gm-picker .gm-role { width: auto; margin-left: auto; padding: 2px 6px; font-size: 12.5px; }
.gmembers td:first-child { min-width: 220px; }
.gmembers td:first-child a { white-space: nowrap; }

/* ---------------------------------------------------------------- Nhóm: chat kiểu Zalo */
main.full { max-width: 1600px; padding-bottom: 0; }
.nbadge { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 2px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.btn.icon { padding: 5px 9px; }
.btn.danger-fill { background: var(--bad); border-color: var(--bad); color: #fff; }
.confirm-b p { margin: 0 0 8px; }
.gav { display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--g); color: #fff; font-weight: 700; letter-spacing: .5px; }

.zl { display: grid; grid-template-columns: 320px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); position: relative; }
.zl.has-info { grid-template-columns: 320px minmax(0, 1fr) 340px; }
.zl-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.zl-lhead { display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px; }
.zl-lhead h2 { margin: 0; font-size: 18px; }
.zl-items { overflow-y: auto; flex: 1; min-height: 0; }
.zl-item { display: flex; gap: 10px; align-items: center; padding: 9px 12px; cursor: pointer; }
.zl-item:hover { background: var(--soft); }
.zl-item.on { background: var(--accent-soft); }
.zl-item.off { opacity: .6; }
.zl-ib { flex: 1; min-width: 0; }
.zl-it { display: flex; gap: 6px; align-items: baseline; }
.zl-it b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zl-is { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zl-is.unread { color: var(--text); font-weight: 600; }
.zl-badge { flex: none; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 20px; text-align: center; }
.zl-sec { padding: 14px 12px 4px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.zl-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg); }
.zc-empty { margin: auto; text-align: center; padding: 30px; max-width: 420px; }
.zc-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.zc-title { font-weight: 700; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-back { display: none; font-size: 20px; line-height: 1; padding: 2px 10px; }
.zc-search { background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px 14px; }
.zc-sres { max-height: 240px; overflow-y: auto; }
.zc-sitem { padding: 6px 4px; border-bottom: 1px dashed var(--line); cursor: pointer; }
.zc-sitem:hover { background: var(--soft); }
.zc-pins { background: var(--panel); border-bottom: 1px solid var(--line); padding: 4px 14px; }
.zc-pin { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; }
.zc-pintext { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.zc-logwrap { flex: 1; min-height: 0; position: relative; }
.zc-log { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;padding: 12px 16px 6px; display: flex; flex-direction: column; }
.zc-hello { margin: auto; text-align: center; color: var(--muted); }
.zc-day { text-align: center; margin: 14px 0 6px; }
.zc-day span, .zc-sys span { font-size: 11.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: 2px 10px; border-radius: 99px; display: inline-block; }
.zc-sys { text-align: center; margin: 8px 0; }
.zc-sys span { border: 0; background: var(--soft); max-width: 90%; }
.zc-msg { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; max-width: 78%; }
.zc-msg.cont { margin-top: 2px; }
.zc-msg.me { align-self: flex-end; }
.zc-msg.flash .zc-bub { outline: 3px solid var(--warn); }
.zc-av { width: 34px; flex: none; }
.zc-av a { display: block; line-height: 0; }
.zc-col { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.zc-msg.me .zc-col { align-items: flex-end; }
.zc-name { font-size: 12px; color: var(--muted); margin: 0 0 3px 4px; font-weight: 600; }
.zc-name .role { font-size: 10px; padding: 0 6px; }
.zc-line { display: flex; align-items: center; gap: 4px; position: relative; max-width: 100%; }
.zc-msg.me .zc-line { flex-direction: row-reverse; }
.zc-bub { background: var(--panel); border: 1px solid var(--line); padding: 8px 12px; border-radius: 14px; white-space: pre-wrap; word-break: break-word; min-width: 0; max-width: 100%; }
.zc-msg.me .zc-bub { background: #dbe7ff; border-color: #c5d6fb; }
.zc-bub.emo { background: none !important; border: 0 !important; font-size: 34px; line-height: 1.15; padding: 0 4px; }
.zc-bub.recalled { font-style: italic; color: var(--muted); background: var(--soft) !important; border-style: dashed !important; }
.zc-bub.img { padding: 4px; }
.zc-bub.img img { display: block; max-width: min(300px, 100%); max-height: 320px; border-radius: 10px; cursor: zoom-in; }
.zc-bub.file { padding: 6px; }
.zc-file { display: flex; gap: 10px; align-items: center; padding: 6px 8px; text-decoration: none; color: inherit; min-width: 200px; }
.zc-file b { display: block; word-break: break-all; color: var(--accent); }
.zc-quote { border-left: 3px solid var(--accent); padding: 2px 8px; margin-bottom: 6px; font-size: 12.5px; background: rgba(127,127,127,.08); border-radius: 4px; cursor: pointer; white-space: normal; }
.zc-quote div { color: var(--muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mention { color: var(--accent); font-weight: 600; }
.zc-time { font-size: 11px; color: var(--muted); margin: 3px 6px 0; }
.zc-acts { display: flex; gap: 2px; opacity: 0; transition: opacity .1s; flex: none; }
.zc-msg:hover .zc-acts, .zc-msg.tap .zc-acts, .zc-line:focus-within .zc-acts { opacity: 1; }
.zc-acts button { border: 1px solid var(--line); background: var(--panel); border-radius: 99px; width: 28px; height: 28px; cursor: pointer; font-size: 13px; padding: 0; color: var(--muted); }
.zc-acts button:hover { background: var(--soft); color: var(--text); }
.zc-reacts { display: flex; gap: 4px; flex-wrap: wrap; margin-top: -6px; padding: 0 8px; position: relative; z-index: 1; }
.zc-reacts button { border: 1px solid var(--line); background: var(--panel); border-radius: 99px; padding: 0 7px; font-size: 12px; line-height: 20px; cursor: pointer; box-shadow: var(--shadow); }
.zc-reacts button.mine { border-color: var(--accent); background: var(--accent-soft); }
.zc-rbar, .zc-menu { position: absolute; bottom: calc(100% + 4px); z-index: 20; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.zc-msg:not(.me) .zc-rbar, .zc-msg:not(.me) .zc-menu { left: 0; }
.zc-msg.me .zc-rbar, .zc-msg.me .zc-menu { right: 0; }
.zc-rbar { display: flex; padding: 4px 6px; border-radius: 99px; }
.zc-rbar button { border: 0; background: none; font-size: 22px; cursor: pointer; padding: 2px 4px; transition: transform .1s; }
.zc-rbar button:hover { transform: scale(1.3); }
.zc-menu { display: flex; flex-direction: column; padding: 4px; min-width: 210px; }
.zc-menu button { border: 0; background: none; text-align: left; padding: 7px 10px; border-radius: 8px; cursor: pointer; color: var(--text); white-space: nowrap; }
.zc-menu button:hover { background: var(--soft); }
.zc-menu button.bad { color: var(--bad); }
.zc-seen { display: flex; gap: 4px; align-items: center; justify-content: flex-start; padding: 4px 0 2px 42px; min-height: 18px; }
.zc-seen.me { justify-content: flex-end; padding-left: 0; }
.zc-seen .avstack .av { border-width: 1px; margin-left: -4px; }
.zc-new { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); border: 0; border-radius: 99px; background: var(--accent); color: #fff; padding: 6px 14px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); font-weight: 600; }
.zc-dropov { position: absolute; inset: 8px; border: 3px dashed var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent-soft) 88%, transparent); display: none; place-items: center; font-weight: 700; color: var(--accent); font-size: 16px; z-index: 30; pointer-events: none; }
.zc-dropov.on { display: grid; }
.zc-typing { min-height: 22px; padding: 0 18px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.dots { display: inline-flex; gap: 3px; margin-left: 2px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: zdot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes zdot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.zc-compose { background: var(--panel); border-top: 1px solid var(--line); padding: 6px 12px 10px; position: relative; }
.zc-reply { display: flex; gap: 8px; align-items: center; border-left: 3px solid var(--accent); background: var(--soft); padding: 6px 10px; border-radius: 6px; margin-bottom: 6px; }
.zc-tools { display: flex; gap: 2px; align-items: center; margin-bottom: 4px; }
.zc-tool { border: 0; background: none; font-size: 19px; cursor: pointer; padding: 3px 7px; border-radius: 8px; line-height: 1.2; }
.zc-tool:hover { background: var(--soft); }
.zc-inrow { display: flex; gap: 8px; align-items: flex-end; }
.zc-inrow textarea { resize: none; min-height: 40px; max-height: 150px; line-height: 1.45; border-radius: 10px; }
.zc-pop { position: absolute; bottom: calc(100% - 4px); left: 12px; z-index: 25; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.zc-emopop { display: grid; grid-template-columns: repeat(10, 1fr); padding: 6px; width: min(380px, calc(100% - 24px)); }
.zc-emopop[hidden], .zc-men[hidden] { display: none; }
.zc-emopop button { border: 0; background: none; font-size: 21px; padding: 3px; cursor: pointer; border-radius: 6px; }
.zc-emopop button:hover { background: var(--soft); }
.zc-men { display: flex; flex-direction: column; padding: 4px; min-width: 260px; max-height: 280px; overflow-y: auto; }
.zc-men button { display: flex; gap: 8px; align-items: center; border: 0; background: none; padding: 6px 8px; border-radius: 8px; cursor: pointer; text-align: left; color: var(--text); }
.zc-men button.on, .zc-men button:hover { background: var(--accent-soft); }
.zc-ended { background: var(--panel); border-top: 1px solid var(--line); padding: 14px; text-align: center; color: var(--muted); font-size: 13px; }
.zc-zoom { max-width: 100%; max-height: 75vh; border-radius: 8px; }

.zl-info { border-left: 1px solid var(--line); overflow-y: auto; min-height: 0; display: none; }
.zl.has-info .zl-info { display: block; }
.zi-head { text-align: center; padding: 18px 14px 12px; border-bottom: 6px solid var(--soft); position: relative; }
.zi-head h3 { margin: 8px 0 4px; font-size: 17px; }
.zi-head .zc-back { position: absolute; left: 10px; top: 10px; }
.zi-desc { white-space: pre-wrap; margin-bottom: 6px; }
.zi-acts { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.zi-act { border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text); width: 70px; }
.zi-act span { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 16px; }
.zi-act:hover span { background: var(--accent-soft); }
.zi-sec { border-bottom: 6px solid var(--soft); }
.zi-sec > summary { padding: 12px 14px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.zi-sec > summary::after { content: "▾"; color: var(--muted); transition: transform .15s; }
.zi-sec:not([open]) > summary::after { transform: rotate(-90deg); }
.zi-sec > summary::-webkit-details-marker { display: none; }
.zi-body { padding: 0 14px 14px; }
.zi-mem { display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.zi-role { width: auto; padding: 2px 6px; font-size: 12px; margin-top: 2px; }
.zi-task { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.zi-task.click { cursor: pointer; } .zi-task.click:hover { background: var(--soft); }
.zi-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.zi-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; cursor: pointer; }
.zi-file { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: inherit; }
.zi-file b { word-break: break-all; color: var(--accent); }
.zi-danger { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.zl-info .grid.cols-2 { grid-template-columns: 1fr; }
.zl-info #gdQ { width: 100% !important; }
.zl-info .gdocs li { flex-wrap: wrap; }
.gdoc-add summary { cursor: pointer; }
.gdocs li { align-items: flex-start; padding: 8px 0; }
.gdocs li a { flex: none; }
.gdoc-ic { font-size: 20px; line-height: 1.2; width: 26px; text-align: center; flex: none; }

@media (prefers-color-scheme: dark) {
  .zc-msg.me .zc-bub { background: #233a6b; border-color: #2e4a85; }
}
@media (max-width: 1250px) {
  .zl.has-info { grid-template-columns: 300px minmax(0, 1fr); }
  .zl.has-info .zl-info { position: absolute; right: 0; top: 0; bottom: 0; width: 340px; background: var(--panel); z-index: 40; box-shadow: -10px 0 30px rgba(0,0,0,.18); }
}
@media (max-width: 899px) {
  main.full { padding: 0; }
  .zl, .zl.has-info { grid-template-columns: 1fr; border-radius: 0; border-left: 0; border-right: 0; }
  .zl-chat { display: none; }
  .zl:not(.m-info) .zl-info { display: none !important; }
  .zl.m-chat .zl-list { display: none; }
  .zl.m-chat .zl-chat { display: flex; }
  .zl.m-info .zl-chat { display: none; }
  .zl.m-info .zl-info { display: block; position: static; width: auto; box-shadow: none; }
  .zc-back { display: inline-block; }
  .zc-msg { max-width: 90%; }
  .zc-acts { opacity: 0; } .zc-msg.tap .zc-acts { opacity: 1; }
}

/* bình chọn trong khung chat nhóm */
.zc-bub.poll { background: var(--panel) !important; border-color: var(--line) !important; width: min(380px, 72vw); white-space: normal; padding: 10px 12px; }
.zp-h { display: flex; gap: 6px; align-items: flex-start; font-size: 15px; margin-bottom: 2px; }
.zp-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.zp-opts { display: flex; flex-direction: column; gap: 6px; }
.zp-opt { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 10px; padding: 8px 10px; cursor: pointer; font: inherit; }
.zp-opt:hover:not(:disabled) { border-color: var(--accent); }
.zp-opt:disabled { cursor: default; }
.zp-opt.mine { border-color: var(--accent); }
.zp-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent-soft); transition: width .3s; z-index: 0; }
.zp-opt.top .zp-fill { background: var(--ok-soft); }
.zp-opt > *:not(.zp-fill) { position: relative; z-index: 1; }
.zp-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--edge); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; color: #fff; }
.zp-check.multi { border-radius: 5px; }
.zp-opt.mine .zp-check { background: var(--accent); border-color: var(--accent); }
.zp-l { flex: 1; min-width: 0; word-break: break-word; }
.zp-n { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 18px; text-align: right; }
.zp-opt .avstack .av { width: 20px; height: 20px; font-size: 9px; border-width: 1px; margin-left: -6px; }
.zp-add { border: 1px dashed var(--line); background: none; color: var(--accent); border-radius: 10px; padding: 7px; width: 100%; margin-top: 6px; cursor: pointer; font: inherit; }
.zp-foot { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 12.5px; flex-wrap: wrap; }

/* phần tử có thuộc tính hidden trong trang Nhóm luôn ẩn (kể cả khi CSS đặt display) */
.zl [hidden] { display: none !important; }

/* bài không đạt yêu cầu */
.st-failed { background: var(--bad); color: #fff; }
.fail-box h3 { color: var(--bad); }

/* thông báo chung */
.st-announce { background: var(--info-soft); color: var(--info); }
.ann-card { border-color: var(--info); }
.ann-item { display: flex; gap: 12px; align-items: flex-start; padding: 8px; border-radius: 8px; cursor: pointer; }
.ann-item + .ann-item { border-top: 1px solid var(--line); border-top-left-radius: 0; border-top-right-radius: 0; }
.ann-item:hover { background: var(--soft); }
.ann-item.new { background: var(--info-soft); }
.ann-item.past { opacity: .65; }
.ann-date { flex: 0 0 auto; width: 56px; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 4px 2px; background: var(--panel); line-height: 1.2; }
.ann-date b { display: block; font-size: 15px; }
.ann-date span { font-size: 11px; color: var(--muted); }
.ann-date.today { border-color: var(--warn); background: var(--warn-soft); }
.ann-date.today b, .ann-date.today span { color: var(--warn); }
.ann-body { flex: 1; min-width: 0; }
.ann-text { white-space: pre-wrap; word-break: break-word; margin: 2px 0; }
.ann-text.clip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ann-list { display: flex; flex-direction: column; }
.ann-who { display: flex; flex-wrap: wrap; gap: 6px; }
.ann-chip { display: inline-flex; gap: 4px; align-items: center; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--muted); font-size: 12.5px; }
.ann-chip.seen { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 600px) { .ann-item { flex-wrap: wrap; } .ann-item > .btn { margin-left: 68px; } }

/* trợ lý AI: bong bóng chat góc dưới phải */
.ai-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(16,24,40,.25); transition: transform .15s; }
.ai-bubble:hover { transform: scale(1.06); }
body:has(#modal-root .backdrop) #aiBox { display: none; }  /* nằm trên ngăn thông tin nhóm (40) nhưng không che hộp thoại */
.ai-bubble.open { transform: rotate(-8deg); }
.ai-panel { position: fixed; right: 20px; bottom: 88px; z-index: 45; width: 380px; height: min(560px, calc(100vh - 120px));
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(16,24,40,.25);
  display: flex; flex-direction: column; overflow: hidden; }
.ai-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ai-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.ai-hint { white-space: pre-line; padding: 8px 4px; }
.ai-msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-msg.user { align-self: flex-end; background: var(--accent-soft); }
.ai-msg.assistant { align-self: flex-start; background: var(--soft); }
.ai-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); }
.ai-form textarea { flex: 1; resize: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
@media (max-width: 520px) {
  .ai-bubble { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .ai-panel { right: 8px; left: 8px; bottom: 76px; width: auto; height: calc(100vh - 100px); }
}
