.npc-avatar-frame{display:inline-grid;place-items:center;overflow:hidden;border-radius:999px;flex-shrink:0;vertical-align:middle;box-sizing:border-box}.npc-avatar-img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center;border-radius:999px}.npc-avatar-fallback{display:grid;place-items:center;width:100%;height:100%;border-radius:999px;line-height:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:800}.org-panel{display:flex;flex-direction:column;gap:.75rem;min-height:0;flex:1;height:100%}.org-panel__toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:.45rem .55rem;flex-shrink:0;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.1rem}.org-panel__title{display:inline-flex;align-items:center;gap:.4rem;flex-shrink:0;white-space:nowrap;font-size:.82rem;font-weight:800;color:#0f172a}.org-panel__title i{color:#0f766e}.org-panel__search{display:flex;align-items:center;gap:.5rem;flex:1 1 200px;min-width:180px;flex-shrink:0;padding:.45rem .75rem;border-radius:12px;border:1px solid #94a3b8;background:#fff;color:#334155;box-shadow:0 1px 2px rgba(15,23,42,.04);overflow:hidden}.org-panel__search>i{flex-shrink:0}.org-panel__search input{flex:1 1 auto;min-width:0;border:0;outline:0;background:transparent;font-size:.9rem;color:#0f172a;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-panel__search input::-moz-placeholder{text-overflow:ellipsis}.org-panel__search input::placeholder{text-overflow:ellipsis}.org-panel__filters{display:flex;flex-wrap:nowrap;gap:.35rem;flex-shrink:0}.org-panel__tree-actions{display:inline-flex;flex-wrap:nowrap;gap:.35rem;flex-shrink:0}.org-panel__tree-actions button{border:1px solid #94a3b8;background:#fff;color:#334155;border-radius:8px;padding:.28rem .65rem;font-size:.72rem;font-weight:700;cursor:pointer;white-space:nowrap}.org-panel__tree-actions button:hover{border-color:#0f766e;color:#0f766e}.org-panel__help{flex-shrink:0}.org-panel__filter{border:1px solid #94a3b8;background:#fff;color:#334155;border-radius:999px;padding:.35rem .75rem;font-size:.78rem;font-weight:700;cursor:pointer;white-space:nowrap;flex-shrink:0}.org-panel__filter.is-active{background:#0f766e;border-color:#0f766e;color:#fff}.org-panel__main{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem;min-height:0;flex:1}.org-panel__main--solo{grid-template-columns:1fr}.org-panel--wide .org-tree{min-height:420px}.org-tree{display:flex;flex-direction:column;min-width:0;min-height:360px;height:100%;border:1px solid #94a3b8;border-radius:14px;background:linear-gradient(180deg,#f8fafc,#eef2f6);overflow:hidden}.org-tree__bar,.org-tree__bar-actions,.org-tree__bar-hint,.org-tree__bar-label{display:none}.org-tree__scroll{flex:1;min-height:0;overflow:auto;padding:1rem .75rem 1.5rem;-webkit-overflow-scrolling:touch;container-type:inline-size;container-name:org-tree}.org-tree__empty{margin:2rem;text-align:center;color:#64748b}.org-tree__children,.org-tree__root{list-style:none;margin:0;padding:0}.org-tree__root{display:flex;flex-direction:column;align-items:center;width:100%;max-width:100%}.org-tree__item{padding-top:0}.org-tree__children--stack,.org-tree__item{display:flex;flex-direction:column;align-items:center;position:relative;max-width:100%}.org-tree__children--stack{gap:1.5rem;width:100%;padding-top:22px;margin-top:0}.org-tree__item>.org-tree__children--stack:before{content:"";position:absolute;top:0;left:50%;width:2px;height:22px;margin-left:-1px;background:#94a3b8}.org-tree__children--stack>.org-tree__item:not(:first-child):before{content:"";position:absolute;top:-1.5rem;left:50%;width:2px;height:1.5rem;margin-left:-1px;background:#94a3b8}.org-tree__children--wrap{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:.85rem .9rem;position:relative;width:100%;max-width:100%;margin-top:0;padding-top:22px;padding-inline:.15rem}.org-tree__item>.org-tree__children--wrap:before{content:"";position:absolute;top:0;left:50%;width:2px;height:22px;margin-left:-1px;background:#94a3b8}.org-tree__children--wrap:not(.is-wrapped):after{content:"";position:absolute;top:22px;left:8%;right:8%;height:2px;background:#94a3b8;pointer-events:none}.org-tree__children--wrap>.org-tree__item{padding-top:22px;flex:0 0 auto;min-width:300px;max-width:340px}.org-tree__children--wrap>.org-tree__item:before{content:"";position:absolute;top:0;left:50%;width:2px;height:22px;margin-left:-1px;background:#94a3b8}.org-tree__children--wrap:has(>.org-tree__item:only-child):after{display:none}.org-tree__children--wrap:has(>.org-tree__item:only-child){gap:0}.org-tree__children--wrap.is-wrapped:after{display:none}.org-tree__children--wrap.is-wrapped{padding-top:14px;gap:.75rem}.org-tree__children--wrap.is-wrapped>.org-tree__item{padding-top:14px}.org-tree__children--wrap.is-wrapped>.org-tree__item:before{height:14px}.org-card-wrap{position:relative;display:flex;flex-direction:column;align-items:center;gap:.35rem;z-index:1;width:300px;min-width:280px;max-width:340px;container-type:inline-size;container-name:org-card}.org-card{position:relative;box-sizing:border-box;width:100%;min-width:0;max-width:none;display:grid;grid-template-columns:50px minmax(0,1fr);grid-template-areas:"avatar body" "actions actions";gap:.55rem .75rem;align-items:start;padding:.9rem .95rem .85rem;border-radius:18px;border:1px solid rgba(148,163,184,.55);background:linear-gradient(180deg,#ffffff,#fbfdff);color:#0f172a;text-align:left;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(15,23,42,.04),0 10px 24px rgba(15,23,42,.07);-webkit-font-smoothing:antialiased;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.org-card.has-actions{padding-bottom:.75rem}.org-card__avatar,.org-card__initial{grid-area:avatar}.org-card__body{grid-area:body;flex-direction:column;gap:.2rem}.org-card__actions,.org-card__body{display:flex;min-width:0;width:100%}.org-card__actions{grid-area:actions;flex-wrap:nowrap;flex-direction:row;gap:.4rem;margin-top:.15rem;align-items:stretch;justify-content:stretch}.org-card:hover{border-color:#0f766e;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 4px 10px rgba(15,118,110,.1),0 16px 32px rgba(15,118,110,.12);transform:translateY(-2px)}.org-card--cv:hover .org-card__cv{background:#0f766e;color:#fff;border-color:#0f766e}.org-card-wrap.is-selected .org-card{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.18)}.org-card-wrap.is-dimmed{opacity:.38}.org-card--leader{border-color:rgba(20,184,166,.55);background:linear-gradient(155deg,#ecfdf5,#ffffff 42%,#f8fffc);padding:1rem 1.05rem .95rem;grid-template-columns:56px minmax(0,1fr)}.org-card-wrap:has(.org-card--leader){width:320px;min-width:300px;max-width:350px}.org-card--cofounder{border-color:rgba(56,189,248,.55);background:linear-gradient(155deg,#f0f9ff,#ffffff 42%,#f8fbff)}.org-card-wrap:has(.org-card--cofounder){width:310px;min-width:290px;max-width:330px}.org-card--department{border-style:dashed;border-color:#94a3b8;background:linear-gradient(180deg,#f8fafc,#ffffff)}.org-card-wrap:has(.org-card--department){width:300px;min-width:280px;max-width:320px}@container org-tree (max-width: 560px){.org-card-wrap{width:min(100%,300px);min-width:min(100%,260px)}.org-card{grid-template-columns:44px minmax(0,1fr);padding:.75rem .75rem .7rem;gap:.45rem .55rem}.org-card__avatar,.org-card__initial{width:44px!important;height:44px!important;font-size:1rem}.org-tree__children--wrap{gap:.65rem .55rem}.org-tree__children--wrap>.org-tree__item{min-width:min(100%,260px);max-width:100%}}@container org-tree (max-width: 380px){.org-tree__children--wrap>.org-tree__item{flex:1 1 100%;width:100%;min-width:0;max-width:none}.org-card-wrap{width:100%;min-width:0;max-width:none}}.org-card__avatar,.org-card__initial{width:50px;height:50px;border-radius:999px;overflow:hidden;display:grid;place-items:center;background:#e2e8f0;font-weight:800;font-size:1.05rem;color:#0f766e;flex-shrink:0;margin-top:.05rem;box-shadow:0 0 0 2px rgba(255,255,255,.95),0 0 0 3px rgba(15,118,110,.12)}.org-card--leader .org-card__avatar,.org-card--leader .org-card__initial{width:56px;height:56px;font-size:1.2rem;background:#ccfbf1;box-shadow:0 0 0 2px rgba(255,255,255,.95),0 0 0 3px rgba(15,118,110,.2)}.org-card--cofounder .org-card__avatar,.org-card--cofounder .org-card__initial{box-shadow:0 0 0 2px rgba(255,255,255,.95),0 0 0 3px rgba(2,132,199,.2)}.org-card__avatar .npc-avatar-frame,.org-card__avatar-img{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important}.org-card__avatar .npc-avatar-fallback,.org-card__avatar .npc-avatar-img{width:100%;height:100%;border-radius:999px}.org-card__avatar .npc-avatar-fallback{display:grid;place-items:center;font-weight:800;font-size:1.15rem;color:#0f766e;background:transparent}.org-card__topline{display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:space-between;gap:.35rem .5rem;min-width:0;width:100%}.org-card__name{flex:1 1 auto;min-width:0;font-size:.95rem;font-weight:800;line-height:1.35;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal;overflow-wrap:normal}.org-card--leader .org-card__name{font-size:1.05rem}.org-card__title{font-size:.78rem;font-weight:600;color:#475569;display:block}.org-card__sub,.org-card__title{line-height:1.4;overflow:visible;text-overflow:unset;white-space:normal;word-break:normal}.org-card__sub{font-size:.72rem;color:#64748b}.org-card__cv{display:inline-flex;align-items:center;justify-content:center;gap:0;margin-top:0;width:auto;max-width:none;flex:1 1 0;min-width:0;padding:.32rem .5rem;border-radius:999px;border:1px solid rgba(15,118,110,.28);background:rgba(15,118,110,.06);color:#0f766e;font-size:.7rem;font-weight:800;letter-spacing:.01em;white-space:nowrap;text-align:center;transition:background .15s ease,color .15s ease,border-color .15s ease}.org-card__actions .org-card__cv{margin-top:0}.org-card__chat{display:inline-flex;align-items:center;justify-content:center;gap:0;width:auto;max-width:none;flex:1 1 0;min-width:0;padding:.32rem .5rem;border-radius:999px;border:1px solid rgba(37,99,235,.35);background:rgba(37,99,235,.08);color:#1d4ed8;font-size:.7rem;font-weight:800;letter-spacing:.01em;cursor:pointer;white-space:nowrap;text-align:center;text-decoration:none;box-sizing:border-box}.org-card__chat:hover{border-color:#1d4ed8;background:rgba(37,99,235,.14)}.org-card__chat--zalo{border-color:rgba(0,104,255,.4);background:rgba(0,104,255,.08);color:#0068ff}.org-card__chat--zalo:hover{border-color:#0068ff;background:rgba(0,104,255,.14)}.org-card__label-full{display:inline}.org-card__label-short{display:none}@container org-card (max-width: 250px){.org-card__label-full{display:none}.org-card__label-short{display:inline}}.org-card__badge{position:static;flex:0 0 auto;font-size:.58rem;font-weight:800;letter-spacing:.02em;line-height:1.2;padding:.22rem .5rem;border-radius:999px;white-space:nowrap;pointer-events:none}.org-card__badge--lead{background:#0f766e;color:#fff}.org-card__badge--co{background:#2563eb;color:#fff}.org-card__badge--dept{background:#e2e8f0;color:#334155}.org-card__badge--pro{background:#f59e0b;color:#111}.org-card__badge--game{background:#0e7490;color:#ecfeff}.org-card__badge--free{background:#ccfbf1;color:#0f766e}.org-card__toggle{display:inline-flex;align-items:center;gap:.3rem;border:1px solid #94a3b8;background:#fff;color:#475569;border-radius:999px;padding:.15rem .55rem;font-size:.7rem;font-weight:700;cursor:pointer}.org-card__toggle:hover{border-color:#0f766e;color:#0f766e}.npc-store-modal__dialog.is-windowed{position:absolute;max-height:none;resize:none;margin:0;max-width:none}.npc-store-modal__dialog.is-fullscreen{inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;border-radius:0!important}.npc-store-modal__bar.is-drag{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.npc-store-modal__bar.is-drag:active{cursor:grabbing}.npc-store-modal__win-btn{border:1px solid #94a3b8;background:#fff;color:#334155;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;cursor:pointer}.npc-store-modal__win-btn:hover{border-color:#0f766e;color:#0f766e}.npc-store-modal__resize{position:absolute;z-index:3;background:transparent}.npc-store-modal__resize--e{top:12px;right:0;width:8px;bottom:12px;cursor:ew-resize}.npc-store-modal__resize--s{left:12px;right:12px;bottom:0;height:8px;cursor:ns-resize}.npc-store-modal__resize--se{right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize}.npc-store-modal__body--org{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.npc-store-modal__dialog.is-fullscreen .npc-store-modal__body,.npc-store-modal__dialog.is-windowed .npc-store-modal__body{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.npc-store{display:flex;flex-direction:column;min-height:0;flex:1;height:100%}.npc-store__scroll{flex:1;min-height:0;min-width:0;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-right:.15rem;scrollbar-gutter:stable;scrollbar-width:thin}.npc-store__scroll::-webkit-scrollbar{width:10px;height:10px}.npc-store__scroll::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:8px}.npc-store__scroll::-webkit-scrollbar-track{background:#e2e8f0;border-radius:8px}.npc-store__toolbar{flex-shrink:0}.npc-store__scroll .npc-store__grid{min-width:520px}.npc-store__scroll .npc-store__orders{min-width:980px}.npc-store__org{display:flex;flex-direction:column;gap:.45rem;min-height:0;flex:1;overflow:hidden}.npc-store__org-hint{margin:0;font-size:.78rem;color:#475569;flex-shrink:0}.npc-store__org-tools{display:none}.ui-help{position:relative;display:inline-flex;flex-shrink:0}.ui-help__btn{display:inline-flex;align-items:center;gap:.35rem;padding:.28rem .55rem;border-radius:999px;border:1px solid #94a3b8;background:#fff;color:#64748b;font-size:.72rem;font-weight:700;cursor:pointer;line-height:1}.ui-help.is-open .ui-help__btn,.ui-help__btn:hover{border-color:#0f766e;color:#0f766e}.ui-help__panel{position:fixed;z-index:30000;padding:.7rem .8rem .85rem;border-radius:12px;border:1px solid #cbd5e1;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.18);color:#334155;max-height:min(70vh,420px);overflow:auto;pointer-events:auto}.ui-help__head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.45rem}.ui-help__head strong{font-size:.82rem;color:#0f172a}.ui-help__close{border:0;background:transparent;color:#64748b;cursor:pointer;width:1.5rem;height:1.5rem;display:grid;place-items:center;border-radius:6px}.ui-help__body{margin:0;font-size:.78rem;line-height:1.45;color:#475569;white-space:pre-wrap}.npc-store__org .org-panel{min-height:380px}.app-modal-layer{z-index:var(--edulib-card-modal-z,21200)}.admin-modal-backdrop{position:fixed;inset:0;z-index:var(--edulib-card-modal-z,21200);display:flex;justify-content:center;box-sizing:border-box;background:rgba(15,23,42,.45);overflow-y:auto}.admin-modal-backdrop,.admin-modal-backdrop--hbc{align-items:center;padding:var(--modal-safe-top) var(--modal-safe-right) var(--modal-safe-bottom) var(--modal-safe-left)}.admin-modal-backdrop--hbc{background:rgba(15,23,42,.18);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}.card-admin-modal-backdrop{z-index:var(--edulib-card-modal-z,21200)}.admin-modal{width:100%;max-width:min(420px,calc(100vw - var(--modal-safe-left) - var(--modal-safe-right)));max-height:calc(100dvh - var(--modal-safe-top) - var(--modal-safe-bottom));margin:0;padding:1.25rem 1.35rem;background:var(--surface);border-radius:var(--radius);border:1px solid var(--border-strong);box-shadow:var(--shadow-card)}.admin-modal--hbc{margin-top:0;padding:0;max-width:440px;overflow:hidden;border-color:var(--border-strong);background:#fff}.admin-modal__hbc-header{position:relative;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.35rem .5rem;padding:.55rem 2.75rem .55rem 1rem;background:linear-gradient(90deg,#fef3c7,#fde68a);color:#dc2626;border-bottom:1px solid rgba(220,38,38,.12);box-shadow:0 2px 10px rgba(15,23,42,.06)}.card-admin-modal__head-row{display:flex;align-items:center;gap:.5rem;min-width:0;flex:1 1 auto}.card-admin-modal__head-extra{min-width:0}.admin-modal__hbc-close{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:999px;border:1px solid rgba(255,255,255,.65);background:rgba(255,255,255,.35);color:#b91c1c;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s,transform .15s}.admin-modal__hbc-close:hover{background:rgba(255,255,255,.55);transform:translateY(-50%) translateY(-1px)}.admin-modal__hbc-body{padding:1.1rem 1.25rem .25rem;background:#fff;color:var(--text)}.admin-modal__hbc-actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end;padding:.85rem 1.1rem 1.1rem;background:#f8fafc;border-top:1px solid var(--border)}.btn-hbc-cancel{display:inline-flex;align-items:center;gap:.4rem;background:#fff;color:var(--text);border:1px solid var(--border-strong);border-radius:8px;padding:.45rem .85rem;font:inherit;cursor:pointer}.btn-hbc-cancel:hover{background:#f1f5f9}.btn-hbc-confirm{display:inline-flex;align-items:center;gap:.4rem}.card-dropdown-menu__panel{z-index:var(--edulib-card-modal-popover-z,21250)}html.dark .admin-modal--hbc,html.dark .admin-modal__hbc-body{background:var(--surface);color:var(--text)}html.dark .admin-modal__hbc-actions{background:var(--surface-2)}