/* KetoanExcel front-end styles ported from TrangEdu */
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-callout{box-sizing:border-box;max-width:100%;margin:20px 0;padding:3px 0 3px 18px;border-left:4px solid #d1d5db;background:transparent;color:inherit}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-callout p{margin:0 0 10px}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-callout p:last-child{margin-bottom:0}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-codeBox{box-sizing:border-box;max-width:100%;margin:18px 0;padding:14px 16px;overflow-x:auto;border:1px solid rgba(15,23,42,.12);border-radius:8px;background:#f8fafc;color:#111827;font:13px/1.6 Consolas,Monaco,monospace;white-space:pre;tab-size:2}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-codeBox code{display:block;padding:0;border:0;background:transparent;color:inherit;font:inherit;white-space:pre}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-codeShell{max-width:100%;margin:18px 0;overflow:hidden;border:1px solid rgba(15,23,42,.12);border-radius:8px;background:#f8fafc}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-codeShell .te-codeBox{margin:0;border:0;border-radius:0}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-codeShell__header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;background:#eef2f7;border-bottom:1px solid #d8dee8;color:#475569;font-size:13px}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-codeShell__language{font-weight:700}
:is(.td-post-content,.entry-content,.tdb-block-inner) .te-codeShell__copy{border:0;background:transparent;color:#2563eb;font:inherit;font-weight:700;cursor:pointer}
:is(.td-post-content,.entry-content,.tdb-block-inner) .trangedu-citation-group{display:inline-flex;align-items:center;max-width:142px;margin:0 2px;vertical-align:baseline;white-space:nowrap}
:is(.td-post-content,.entry-content,.tdb-block-inner) .trangedu-citation{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:132px;padding:1px 6px;border:1px solid #d9dee7;border-radius:999px;background:#f3f4f6;color:#475569;font-size:11px;font-weight:600;line-height:1.45;text-decoration:none}
:is(.td-post-content,.entry-content,.tdb-block-inner) .trangedu-citation:not(:first-child){display:none}
:is(.td-post-content,.entry-content,.tdb-block-inner) .trangedu-citation__favicon{width:12px;height:12px;flex:0 0 12px;border-radius:2px;background:#d1d5db}
:is(.td-post-content,.entry-content,.tdb-block-inner) img.trangedu-citation__favicon{display:block;margin:0;border:0;object-fit:contain;background:transparent}
:is(.td-post-content,.entry-content,.tdb-block-inner) .trangedu-citation__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.td-post-content,.entry-content,.tdb-block-inner) .trangedu-citation__count{color:#64748b;font-weight:700}
.trangedu-citation-popover{position:fixed;z-index:9999;width:min(320px,calc(100vw - 16px));padding:12px;border:1px solid #d8dee8;border-radius:12px;background:#fff;box-shadow:0 14px 35px #0002;color:#0f172a;font-size:13px;opacity:0;pointer-events:none}
.trangedu-citation-popover.is-visible{opacity:1;pointer-events:auto}
.trangedu-citation-popover__pager{display:flex;gap:6px;align-items:center;margin-bottom:12px}
.trangedu-citation-popover__pager span{margin-left:auto}
.trangedu-citation-popover__pager button{border:1px solid #d8dee8;border-radius:6px;background:#f8fafc;cursor:pointer}
.trangedu-citation-popover__pager button:disabled{opacity:.35}
.trangedu-citation-popover__source{display:flex;gap:8px;align-items:center;margin-bottom:8px;font-weight:700}
.trangedu-citation-popover__favicon{width:16px;height:16px;object-fit:contain;border-radius:3px}
.trangedu-citation-popover a{color:#0f172a;text-decoration:none}
.trangedu-citation-popover a:hover{text-decoration:underline}
.trangedu-citation-popover__title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}