.ntt-flash-stack{position:fixed;right:18px;bottom:92px;z-index:2147483640;display:flex;flex-direction:column-reverse;gap:10px;align-items:flex-end;pointer-events:none;max-width:min(430px,calc(100vw - 24px))}.ntt-flash-card{width:min(410px,calc(100vw - 24px));background:#fff;color:#243142;border:1px solid #ccd7e4;border-left:5px solid #2f80ed;border-radius:12px;box-shadow:0 14px 38px rgba(15,32,55,.22);overflow:hidden;pointer-events:auto;animation:nttFlashIn .22s ease-out}.ntt-flash-card[data-tone="success"]{border-left-color:#27ae60}.ntt-flash-card[data-tone="warning"]{border-left-color:#f2c94c}.ntt-flash-card[data-tone="danger"]{border-left-color:#eb5757}.ntt-flash-card__head{display:flex;align-items:center;gap:9px;padding:11px 13px 9px;background:linear-gradient(180deg,#f9fbfe,#f3f7fb);border-bottom:1px solid #e2e9f1;user-select:none}.ntt-flash-card.is-draggable .ntt-flash-card__head{cursor:grab;touch-action:none}.ntt-flash-card.is-dragging .ntt-flash-card__head{cursor:grabbing}.ntt-flash-card__icon{font-size:18px;color:#2f80ed}.ntt-flash-card[data-tone="success"] .ntt-flash-card__icon{color:#27ae60}.ntt-flash-card[data-tone="warning"] .ntt-flash-card__icon{color:#c58a00}.ntt-flash-card[data-tone="danger"] .ntt-flash-card__icon{color:#eb5757}.ntt-flash-card__headcopy{min-width:0;flex:1}.ntt-flash-card__title{font-weight:800;font-size:15px;line-height:1.25;overflow-wrap:anywhere}.ntt-flash-card__scope{font-size:11px;color:#64748b;margin-top:2px}.ntt-flash-card__move{font-size:12px;color:#64748b;white-space:nowrap}.ntt-flash-card__close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;margin:-4px -4px -4px 0;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#526174;font:700 24px/1 Arial,sans-serif;cursor:pointer;touch-action:manipulation}.ntt-flash-card__close[hidden]{display:none!important}.ntt-flash-card__close:hover{background:#e8eef6;color:#172033}.ntt-flash-card__close:focus-visible{outline:2px solid #2f80ed;outline-offset:1px}.ntt-flash-card.is-draggable .ntt-flash-card__close{cursor:pointer}.ntt-flash-card__body{padding:12px 14px 14px;max-height:46vh;overflow:auto;font-size:14px;line-height:1.5}.ntt-flash-card__body img{max-width:100%;height:auto}.ntt-flash-card__body table{max-width:100%}.ntt-flash-card__body>:first-child{margin-top:0}.ntt-flash-card__body>:last-child{margin-bottom:0}.ntt-flash-card.is-free{position:fixed;margin:0;z-index:2147483641}.ntt-flash-card.is-free .ntt-flash-card__move:after{content:' · đã kéo'}.ntt-flash-card.is-dragging{opacity:.96;box-shadow:0 18px 46px rgba(15,32,55,.34)}body[data-site-theme="dark"] .ntt-flash-card,body.ntt-theme-dark .ntt-flash-card,body.dark-mode .ntt-flash-card{background:#17202b;color:#edf2f8;border-color:#465569}body[data-site-theme="dark"] .ntt-flash-card__head,body.ntt-theme-dark .ntt-flash-card__head,body.dark-mode .ntt-flash-card__head{background:#202b38;border-color:#3b495a}body[data-site-theme="dark"] .ntt-flash-card__scope,body.ntt-theme-dark .ntt-flash-card__scope,body.dark-mode .ntt-flash-card__scope{color:#aab6c5}body[data-site-theme="dark"] .ntt-flash-card__move,body.ntt-theme-dark .ntt-flash-card__move,body.dark-mode .ntt-flash-card__move{color:#aab6c5}body[data-site-theme="dark"] .ntt-flash-card__close,body.ntt-theme-dark .ntt-flash-card__close,body.dark-mode .ntt-flash-card__close{color:#c9d4e2}body[data-site-theme="dark"] .ntt-flash-card__close:hover,body.ntt-theme-dark .ntt-flash-card__close:hover,body.dark-mode .ntt-flash-card__close:hover{background:#314052;color:#fff}body[data-site-theme="dark"] .ntt-flash-card__body a,body.ntt-theme-dark .ntt-flash-card__body a,body.dark-mode .ntt-flash-card__body a{color:#77b7ff}@keyframes nttFlashIn{from{transform:translateY(12px);opacity:0}to{transform:none;opacity:1}}@media(max-width:700px){.ntt-flash-stack{right:12px;bottom:86px;max-width:calc(100vw - 24px)}.ntt-flash-card{width:calc(100vw - 24px);max-width:410px}.ntt-flash-card.is-free{max-width:calc(100vw - 24px)}}

/* v2863: bounded corner previews + full-width responsive accessible dialog. */
.ntt-flash-card__body{max-height:none;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;line-clamp:4;cursor:pointer;white-space:normal;overflow-wrap:anywhere;padding-bottom:3px}
.ntt-flash-card__body:focus-visible{outline:2px solid #2f80ed;outline-offset:-2px}
.ntt-flash-card__readmore{display:block;margin:0 12px 12px auto;padding:5px 9px;border:1px solid #b9cee8;border-radius:7px;background:#f0f6ff;color:#174779;font-weight:700;cursor:pointer}
.ntt-flash-show-all{pointer-events:auto;align-self:flex-end;border:1px solid #9bbce0;background:#f4f8ff;color:#174779;border-radius:8px;padding:7px 13px;font-weight:700;cursor:pointer}
.ntt-flash-show-all[hidden],.ntt-flash-full-overlay[hidden]{display:none!important}
.ntt-flash-modal-open{overflow:hidden!important}
.ntt-flash-full-overlay{position:fixed;inset:0;z-index:2147483646;background:rgba(10,17,31,.75);padding:clamp(8px,3vh,24px);display:flex;align-items:center;justify-content:center;pointer-events:auto}
.ntt-flash-full-dialog{width:min(780px,100%);max-height:min(90vh,850px);display:flex;flex-direction:column;overflow:hidden;border-radius:14px;background:#fff;color:#1d2939;box-shadow:0 20px 70px #0008;border:1px solid #bdc9d6}
.ntt-flash-full-header{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #d6dee8}
.ntt-flash-full-header h2{font-size:20px;line-height:1.25;font-weight:800;margin:0}
.ntt-flash-full-close{border:1px solid #a5b4c6;border-radius:8px;background:transparent;color:inherit;font-size:26px;width:40px;height:40px;cursor:pointer}
.ntt-flash-full-body{padding:16px 20px;overflow:auto;overscroll-behavior:contain;line-height:1.6;overflow-wrap:anywhere}
.ntt-flash-full-item+.ntt-flash-full-item{border-top:1px solid #d6dee8;margin-top:22px;padding-top:22px}
.ntt-flash-full-item h3{margin:0 0 3px;font-size:18px;font-weight:800}
.ntt-flash-full-scope{color:#64748b;font-size:12px;margin-bottom:12px}
.ntt-flash-full-content img{max-width:100%;height:auto}.ntt-flash-full-content table{display:block;max-width:100%;overflow-x:auto}
body[data-site-theme="dark"] .ntt-flash-full-dialog,body.ntt-theme-dark .ntt-flash-full-dialog,body.dark-mode .ntt-flash-full-dialog{background:#17202b;color:#eff5fc;border-color:#495c70}
body[data-site-theme="dark"] .ntt-flash-full-header,body.ntt-theme-dark .ntt-flash-full-header,body.dark-mode .ntt-flash-full-header{border-color:#465569}
body[data-site-theme="dark"] .ntt-flash-full-scope,body.ntt-theme-dark .ntt-flash-full-scope,body.dark-mode .ntt-flash-full-scope{color:#adbbca}
body[data-site-theme="dark"] .ntt-flash-card__readmore,body[data-site-theme="dark"] .ntt-flash-show-all,body.ntt-theme-dark .ntt-flash-card__readmore,body.ntt-theme-dark .ntt-flash-show-all{background:#23364b;color:#b6dcff;border-color:#4f6f91}
@media(max-width:600px){.ntt-flash-full-overlay{padding:6px}.ntt-flash-full-dialog{max-height:94vh}.ntt-flash-full-body{padding:12px}}

/* v2961: rich prefix keeps links, CKEditor colors and inline emphasis. The
   short corner card remains bounded regardless of nested block markup. */
.ntt-flash-card__body--rich{display:block;max-height:7.3em;overflow:hidden;overflow-wrap:anywhere;line-height:1.5}
.ntt-flash-card__body--rich p,.ntt-flash-card__body--rich div,.ntt-flash-card__body--rich ul,.ntt-flash-card__body--rich ol{margin-top:0;margin-bottom:.35em}
.ntt-flash-card__body--rich img{max-width:100%;max-height:72px;object-fit:contain}
.ntt-flash-card__body--rich a{cursor:pointer;text-decoration:underline}
.ntt-flash-card__body--rich table{max-width:100%;overflow:hidden}

/* v2964: readable default links in the Flash full modal on dark themes.
   Respect deliberate inline link colors from trusted CKEditor styling. */
body[data-site-theme="dark"] .ntt-flash-full-content a:not([style*="color"]),
body.ntt-theme-dark .ntt-flash-full-content a:not([style*="color"]),
body.dark-mode .ntt-flash-full-content a:not([style*="color"]){color:#91ccff}

/* H13 — same-row Flash actions, only server-authorized edit links. */
.ntt-flash-card__actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin:0 12px 12px}
.ntt-flash-card__actions .ntt-flash-card__readmore{margin:0}
.ntt-flash-card__edit,.ntt-flash-full-edit{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 11px;border:1px solid #a6c8aa;border-radius:7px;background:#edf8ee;color:#185e30;font-size:13px;font-weight:700;line-height:1.3;text-decoration:none;cursor:pointer;touch-action:manipulation}
.ntt-flash-card__edit:hover,.ntt-flash-full-edit:hover{background:#dff0e3;color:#124d27;text-decoration:none}
.ntt-flash-card__edit:focus-visible,.ntt-flash-full-edit:focus-visible{outline:3px solid #31844e;outline-offset:2px}
.ntt-flash-full-edit{align-self:flex-start;margin:0 0 12px;max-width:100%}
body[data-site-theme="dark"] .ntt-flash-card__edit,body[data-site-theme="dark"] .ntt-flash-full-edit,body.ntt-theme-dark .ntt-flash-card__edit,body.ntt-theme-dark .ntt-flash-full-edit,body.dark-mode .ntt-flash-card__edit,body.dark-mode .ntt-flash-full-edit{background:#254334;color:#dbffe5;border-color:#5e9771}
body[data-site-theme="dark"] .ntt-flash-card__edit:hover,body[data-site-theme="dark"] .ntt-flash-full-edit:hover,body.ntt-theme-dark .ntt-flash-card__edit:hover,body.ntt-theme-dark .ntt-flash-full-edit:hover,body.dark-mode .ntt-flash-card__edit:hover,body.dark-mode .ntt-flash-full-edit:hover{background:#336048;color:#fff}
@media(max-width:390px){.ntt-flash-card__actions{gap:6px;margin-inline:10px}.ntt-flash-card__edit,.ntt-flash-card__actions .ntt-flash-card__readmore{font-size:12px;padding:7px 9px}}
