/* Moduły skopiowane z panelu mojeKRC (panel.css): komunikator, DMS, skrzynka — wygląd 1:1 */
/* ===== CHAT / COMMUNICATOR ===== */
.chat-layout{display:grid;grid-template-columns:260px 1fr;gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;height:min(620px,calc(100vh - 160px));background:var(--bg);min-height:420px;align-items:stretch}
.chat-sidebar{border-right:1px solid var(--line);overflow-y:auto;background:#fafbfc;display:flex;flex-direction:column;min-height:0;max-height:100%}
.chat-sidebar__head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line);font-size:13px;position:sticky;top:0;background:#fafbfc;z-index:1}
.chat-sidebar__hint{font-size:10px;font-weight:700;letter-spacing:.04em;color:var(--brand);background:var(--brand-l);padding:2px 7px;border-radius:999px}
.chat-contact{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;border-bottom:1px solid var(--line);transition:.15s}
.chat-contact:hover{background:var(--soft)}
.chat-contact.active{background:var(--brand-l)}
.chat-contact__info{flex:1;min-width:0}
.chat-contact__name{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-contact__last{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.chat-contact__meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}
.chat-contact__time{font-size:10px;color:var(--muted)}
.chat-contact__unread{width:18px;height:18px;border-radius:50%;background:var(--brand);color:#fff;font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:700}
.chat-online{color:#2e7d32;font-size:10px}
.chat-main{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;max-height:100%;overflow:hidden;position:relative;background:#f0f2f5}
.chat-header{padding:10px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;background:#fff;flex-shrink:0}
.chat-header__info{flex:1;min-width:0}
.chat-header__name{font-size:14px;font-weight:700}
.chat-header__status{font-size:11px;color:var(--muted)}
.chat-header__actions{display:flex;gap:2px;margin-left:auto}
.chat-messages{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:14px 16px;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth}
.chat-msg{max-width:72%;display:flex;flex-direction:column;gap:2px}
.chat-msg--in{align-self:flex-start}
.chat-msg--out{align-self:flex-end;align-items:flex-end}
.chat-msg__bubble{padding:8px 12px;border-radius:16px;font-size:13px;line-height:1.45;word-break:break-word}
.chat-msg--in .chat-msg__bubble{background:#fff;border-bottom-left-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.04)}
.chat-msg--out .chat-msg__bubble{background:var(--brand);color:#fff;border-bottom-right-radius:4px}
.chat-msg__time{font-size:10px;color:var(--muted);padding:0 4px}
.chat-msg--out .chat-msg__time{opacity:.85}
.chat-msg__date{text-align:center;font-size:11px;color:var(--muted);padding:8px 0;align-self:center}
.chat-msg__file{display:inline-block;margin-top:2px;font-size:12px;opacity:.95}
.chat-attach-bar{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 0;background:#fff;border-top:1px solid var(--line)}
.chat-attach-bar[hidden]{display:none!important}
.chat-attach-chip{display:inline-flex;align-items:center;gap:6px;background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:4px 8px 4px 10px;font-size:11px;max-width:220px}
.chat-attach-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-attach-chip__x{border:0;background:transparent;cursor:pointer;font-size:14px;line-height:1;color:var(--muted);padding:0 2px}
.chat-composer{display:flex;align-items:flex-end;gap:6px;padding:8px 10px 10px;border-top:1px solid var(--line);background:#fff;flex-shrink:0}
.chat-composer__field{flex:1;min-width:0;background:var(--soft);border:1px solid transparent;border-radius:20px;padding:2px 4px;transition:.15s}
.chat-composer__field:focus-within{border-color:#bcd6f5;background:#fff;box-shadow:0 0 0 3px rgba(11,78,162,.08)}
.chat-composer__field textarea{display:block;width:100%;border:0;background:transparent;resize:none;outline:none;font:inherit;font-size:13.5px;line-height:1.4;padding:8px 12px;max-height:96px;min-height:36px;overflow-y:auto}
.chat-icon-btn{width:36px;height:36px;flex:none;border:0;border-radius:50%;background:transparent;color:#5b6b82;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.15s;padding:0}
.chat-icon-btn svg{width:20px;height:20px;display:block}
.chat-icon-btn:hover{background:var(--soft);color:var(--brand)}
.chat-icon-btn--accent{color:var(--brand)}
.chat-send{width:36px;height:36px;flex:none;border:0;border-radius:50%;background:var(--brand);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;transition:.15s;box-shadow:0 2px 8px rgba(11,78,162,.25)}
.chat-send svg{width:18px;height:18px;display:block;margin-left:1px}
.chat-send:hover{background:var(--brand-d);transform:scale(1.04)}
.chat-emoji-panel{position:absolute;bottom:58px;left:12px;right:12px;max-width:320px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.12);padding:8px;display:flex;flex-wrap:wrap;gap:2px;z-index:5}
.chat-emoji-panel[hidden]{display:none!important}
.chat-emoji{border:0;background:transparent;width:34px;height:34px;border-radius:8px;cursor:pointer;font-size:18px;line-height:1}
.chat-emoji:hover{background:var(--soft)}
/* legacy chat-input (nie używany) */
.chat-input{display:none}


/* ===== DMS — eksplorator (dysk w stylu Windows) ===== */
.dx{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-height:calc(100vh - 120px)}
.dx-bar{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--line);background:#f8fafc;flex-wrap:wrap}
.dx-ib{width:30px;height:30px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#334155;padding:0}
.dx-ib:disabled{opacity:.4;cursor:default}
.dx-ib svg{width:16px;height:16px}
.dx-crumbs{flex:1;min-width:200px;display:flex;align-items:center;gap:2px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:6px;padding:2px 6px;min-height:30px}
.dx-crumb{display:inline-flex;align-items:center;gap:5px;border:0;background:none;padding:3px 6px;border-radius:5px;font:600 12px Inter,system-ui,sans-serif;color:#334155;cursor:pointer;white-space:nowrap}
.dx-crumb:hover{background:#eef4fc;color:var(--brand)}
.dx-crumb svg{width:14px;height:14px}
.dx-crumb--on{color:var(--brand)}
.dx-sep{color:#94a3b8;font-size:12px}
.dx-search{display:flex;align-items:center;gap:6px;height:30px;border:1px solid var(--line);border-radius:6px;background:#fff;padding:0 8px;min-width:230px;color:#64748b}
.dx-search svg{width:14px;height:14px}
.dx-search input{border:0;outline:0;font:inherit;font-size:12.5px;width:100%}
.dx-views button svg{width:14px;height:14px}
.dx-main{flex:1;display:grid;grid-template-columns:270px 1fr;min-height:0}
.dx-tree{border-right:1px solid var(--line);overflow:auto;padding:6px 0;background:#fbfcfe;max-height:calc(100vh - 190px)}
.dx-tn{display:flex;align-items:center;gap:5px;padding:3px 8px;font-size:12.5px;cursor:pointer;color:#1e293b;white-space:nowrap;border-left:3px solid transparent}
.dx-tn:hover{background:#eef4fc}
.dx-tn.on{background:#dde9f9;border-left-color:var(--brand);font-weight:600}
.dx-tn svg{width:16px;height:16px;flex:none}
.dx-tn__n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.dx-tn em{font-style:normal;font-size:10.5px;color:#64748b}
.dx-tw{width:14px;text-align:center;color:#64748b;font-size:11px;flex:none}
.dx-tw--none{visibility:hidden}
.dx-tsep{height:1px;background:var(--line);margin:8px 10px}
.dx-folder{width:18px;height:18px;flex:none}
.dx-folder--sm{width:15px;height:15px}
.dx-pane{position:relative;overflow:auto;padding:12px;max-height:calc(100vh - 190px)}
.dx-dropmsg{display:none;position:absolute;inset:8px;z-index:5;border:2px dashed var(--brand);border-radius:10px;background:rgba(227,237,251,.92);align-items:center;justify-content:center;gap:8px;font-size:13px;color:#0b4ea2}
.dx-dropmsg svg{width:20px;height:20px}
.dx-pane.over .dx-dropmsg{display:flex}
.dx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:6px}
.dx-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border:1px solid transparent;border-radius:6px;background:none;cursor:pointer;text-align:center;font:inherit;min-width:0}
.dx-item:hover{background:#e8f1fc;border-color:#c8dcf4}
.dx-item .dx-folder{width:52px;height:52px}
.dx-item b{font-size:12px;font-weight:500;color:#1e293b;line-height:1.25;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}
.dx-item span{font-size:10.5px;color:#64748b}
.dx-file{position:relative;display:inline-flex;align-items:flex-end;justify-content:center;width:40px;height:50px;background:#fff;border:1px solid #cbd5e1;border-radius:3px 12px 3px 3px;box-shadow:0 1px 2px rgba(0,0,0,.06);flex:none}
.dx-file span{font:800 9px/1 ui-monospace,Menlo,Consolas,monospace;color:#fff;background:#64748b;padding:3px 4px;border-radius:2px;margin-bottom:7px}
.dx-file--pdf span{background:#c2413b}.dx-file--docx span{background:#1d5fbf}.dx-file--xlsx span{background:#1f7a45}.dx-file--zip span{background:#8a6414}.dx-file--jpg span{background:#7c3aed}
.dx-li{display:inline-flex;align-items:center;gap:8px;vertical-align:middle}
.dx-li .dx-file{width:20px;height:25px;border-radius:2px 6px 2px 2px}
.dx-li .dx-file span{font-size:6.5px;padding:2px;margin-bottom:3px}
.dx-li b{font-weight:600}
.dx-treeview{font-size:12.5px}
.dx-td{margin:0}
.dx-td>summary{list-style:none;display:flex;align-items:center;gap:6px;padding:3px 6px 3px calc(6px + var(--d)*18px);cursor:pointer;border-radius:5px}
.dx-td>summary::-webkit-details-marker{display:none}
.dx-td>summary::before{content:'▸';width:12px;color:#64748b;font-size:11px}
.dx-td[open]>summary::before{content:'▾'}
.dx-td>summary:hover{background:#eef4fc}
.dx-td>summary em,.dx-tf em{font-style:normal;margin-left:auto;font-size:11px;color:#64748b;white-space:nowrap}
.dx-tf{display:flex;align-items:center;gap:8px;padding:2px 6px 2px calc(24px + var(--d,0)*18px);cursor:pointer;border-radius:5px}
.dx-tf:hover{background:#eef4fc}
.dx-tf .dx-file{width:16px;height:20px;border-radius:2px 5px 2px 2px}
.dx-tf .dx-file span{font-size:5.5px;padding:1px 2px;margin-bottom:3px}
.dx-tf>span:not(.dx-file){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dx-hint{font-size:12px;color:#64748b;margin-bottom:8px}
.dx-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:60px 20px;color:#64748b;font-size:12.5px}
.dx-empty .dx-folder{width:64px;height:64px;opacity:.6}
.dx-empty b{color:#1e293b;font-size:14px}
.dx-status{display:flex;justify-content:space-between;gap:10px;padding:5px 12px;border-top:1px solid var(--line);background:#f8fafc;font-size:11px;color:#64748b}
@media(max-width:900px){.dx-main{grid-template-columns:1fr}.dx-tree{max-height:200px;border-right:0;border-bottom:1px solid var(--line)}}
.chat-emoji-panel .chat-emoji--txt{width:auto;padding:4px 10px;font-size:12px;border:1px solid var(--line);border-radius:14px;background:#fff}

/* DMS — ikony Windows 11 i drzewo szczegółów */
.dx-fi{width:22px;height:22px;flex:none}
.dx-item .dx-fi,.dx-item .dx-folder{width:58px;height:58px}
.dx-li .dx-fi,.dx-li .dx-folder{width:22px;height:22px}
.dx-li b{max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:middle}
.dx-tn .dx-folder{width:18px;height:18px}
.dx-empty .dx-folder{width:72px;height:72px}
.dx-caret{display:inline-block;width:14px;color:#64748b;font-size:11px;vertical-align:middle}
.dx-ttbl{border-radius:8px}
.dx-ttbl .kt-scroll{max-height:none}
.dx-tr{cursor:pointer}
.dx-tr--f td:first-child b{font-weight:600}
.dx-tr td{font-size:12px}
.dx-tr--f td{background:#fbfcfe}

/* ===== Skrzynka — poczta i zgłoszenia (Outlook / Zammad) ===== */
.ib{display:grid;grid-template-columns:230px 380px minmax(0,1fr);height:calc(100vh - 78px);min-height:520px;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:12.5px}
.ib-nav{border-right:1px solid var(--line);background:#f8fafc;overflow:auto;padding:10px 8px}
.ib-new{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:36px;border:1px solid #bcd0ec;border-radius:8px;background:#e8f0fb;color:#0b4ea2;font:700 12.5px Inter,system-ui,sans-serif;cursor:pointer;margin-bottom:6px}
.ib-new:hover{background:#dce8f8}
.ib-new svg{width:16px;height:16px}
.ib-h{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#7a8ba0;padding:12px 8px 4px}
.ib-hadd{border:0;background:none;cursor:pointer;color:#0b4ea2;display:inline-flex;padding:0}
.ib-hadd svg{width:14px;height:14px}
.ib-nv{position:relative;display:flex;align-items:center;gap:8px;width:100%;border:0;background:none;padding:6px 8px;border-radius:7px;font:500 12.5px Inter,system-ui,sans-serif;color:#1e293b;cursor:pointer;text-align:left}
.ib-nv:hover{background:#eef3f9}
.ib-nv.on{background:#dbe7f8;color:#0b4ea2;font-weight:700}
.ib-nv svg{width:15px;height:15px;flex:none;color:#64748b}
.ib-nv--g svg{color:#e0a82e}
.ib-nv span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ib-nv em{font-style:normal;font-size:10.5px;background:#e6ebf2;border-radius:9px;padding:0 6px;color:#475569}
.ib-nv em:empty{display:none}
.ib-nv i{display:none;position:absolute;right:4px;top:6px;width:18px;height:18px;border-radius:4px;background:#fff;color:#b42335;align-items:center;justify-content:center}
.ib-nv i svg{width:11px;height:11px;color:#b42335}
.ib-nv:hover i{display:inline-flex}
.ib-list{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}
.ib-tabs{display:flex;gap:4px;padding:8px 10px 0}
.ib-tabs button{border:0;background:none;padding:7px 12px;border-radius:7px 7px 0 0;font:600 12px Inter,system-ui,sans-serif;color:#64748b;cursor:pointer}
.ib-tabs button.on{background:#e3edfb;color:#0b4ea2}
.ib-search{display:flex;gap:6px;padding:8px 10px;border-top:1px solid var(--line)}
.ib-search label{flex:1;display:flex;align-items:center;gap:6px;height:32px;border:1px solid var(--line);border-radius:16px;padding:0 10px;color:#64748b}
.ib-search svg{width:14px;height:14px}
.ib-search input{border:0;outline:0;font:inherit;width:100%}
.ib-refresh{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#475569}
.ib-refresh svg{width:15px;height:15px}
.ib-count{font-size:11px;color:#64748b;padding:0 12px 6px}
.ib-items{flex:1;overflow:auto}
.ib-day{font-size:11px;font-weight:700;color:#475569;padding:8px 12px 4px;background:#fbfcfe;border-bottom:1px solid #eef1f5}
.ib-it{position:relative;display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;border:0;border-bottom:1px solid #eef1f5;background:#fff;padding:9px 12px 9px 20px;cursor:pointer;font:inherit}
.ib-it:hover{background:#f5f8fc}
.ib-it.on{background:#e8f0fb;box-shadow:inset 3px 0 0 #0b4ea2}
.ib-it.un::before{content:'';position:absolute;left:8px;top:14px;width:7px;height:7px;border-radius:50%;background:#0b4ea2}
.ib-it__top{display:flex;align-items:center;gap:6px}
.ib-it__top b{flex:1;min-width:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ib-it.un .ib-it__top b,.ib-it.un .ib-it__s{font-weight:800}
.ib-it__top em{font-style:normal;font-size:10.5px;color:#64748b;white-space:nowrap}
.ib-it__s{font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ib-it__m{font-size:11px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ib-detail{display:flex;flex-direction:column;min-height:0;min-width:0}
.ib-bar{display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.ib-bar select{height:30px;border:1px solid var(--line);border-radius:7px;padding:0 6px;font:inherit;font-size:12px;background:#fff}
.ib-btn{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border:1px solid #c9d8ee;border-radius:7px;background:#eef4fc;color:#0b4ea2;font:600 12px Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.ib-btn:hover{background:#e0ebf9}
.ib-btn svg{width:14px;height:14px}
.ib-btn--teal{background:#e6f6f4;border-color:#bfe5df;color:#0f766e}
.ib-btn--sand{background:#fbf3dc;border-color:#ead9a4;color:#7a5d12}
.ib-btn--primary{background:#0b4ea2;border-color:#0b4ea2;color:#fff}
.ib-btn--primary:hover{background:#083a7a}
.ib-sp{flex:1}
.ib-head{padding:12px 16px 8px;border-bottom:1px solid #eef1f5}
.ib-head h3{margin:0 0 8px;font-size:15px;font-weight:700}
.ib-head h3 span{font-weight:500;color:#64748b;font-size:12px}
.ib-head__from{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.ib-head__from b{display:block}
.ib-head__from span{font-size:11.5px;color:#64748b}
.ib-tags{display:flex;gap:4px;flex-wrap:wrap}
.ib-av{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;color:#fff;font:700 10.5px Inter,sans-serif;flex:none}
.ib-arts{flex:1;overflow:auto;padding:12px 16px;display:flex;flex-direction:column;gap:10px;background:#fbfcfe}
.ib-art{background:#fff;border:1px solid #e3e9f1;border-radius:8px;padding:10px 12px}
.ib-art--out{background:#f2f7fe;border-color:#d3e2f7;margin-left:40px}
.ib-art--note{background:#fbf6ea;border-color:#eadfc4}
.ib-art__h{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.ib-art__h b{display:block;font-size:12.5px}
.ib-art__h span{display:block;font-size:11px;color:#64748b}
.ib-art__h em{margin-left:auto;font-style:normal;font-size:11px;color:#64748b;white-space:nowrap}
.ib-art--note .ib-art__h{gap:6px;color:#7a5d12}
.ib-art--note .ib-art__h svg{width:14px;height:14px}
.ib-art--note .ib-art__h span{display:inline}
.ib-art__b{font-size:12.5px;line-height:1.55;color:#1e293b}
.ib-quick{display:flex;align-items:center;gap:8px;margin:8px 12px 0;padding:6px 10px;border:1px solid #d3e2f7;border-radius:20px;background:#fff;cursor:text;font:inherit;color:#64748b;text-align:left}
.ib-quick:hover{border-color:#9dbbe6}
.ib-quick .ib-av{width:24px;height:24px;font-size:9px}
.ib-quick--note{margin:8px 12px 10px;background:#fbf6ea;border-color:#eadfc4;color:#8a7a55}
.ib-quick--note svg{width:16px;height:16px;color:#a07d24}
.ib-compose{margin:8px 12px 10px;border:1px solid #c9d8ee;border-radius:10px;padding:10px;background:#fff}
.ib-compose--note{background:#fbf6ea;border-color:#eadfc4}
.ib-compose__to{font-size:12px;color:#475569;margin-bottom:6px}
.ib-compose__to em{font-style:normal;color:#a15c00}
.ib-compose textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:8px 10px;font:inherit;resize:vertical;box-sizing:border-box}
.ib-compose__row{display:flex;gap:6px;margin-top:8px}
.ib-empty{margin:auto;display:flex;flex-direction:column;align-items:center;gap:8px;color:#64748b}
.ib-empty svg{width:42px;height:42px;color:#94a3b8}
@media(max-width:1200px){.ib{grid-template-columns:200px 320px minmax(0,1fr)}}
@media(max-width:900px){.ib{grid-template-columns:1fr;height:auto}.ib-nav{max-height:220px}.ib-items{max-height:420px}.ib-detail{min-height:520px}}
.dx-ttbl .kt-table{table-layout:fixed;width:100%}
.dx-ttbl .kt-table th,.dx-ttbl .kt-table td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dx-ttbl .dx-li{display:inline-flex;vertical-align:middle;max-width:calc(100% - 16px);overflow:hidden}
.dx-ttbl .dx-li svg{flex:none}
.dx-ttbl .dx-li b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ===== okna szczegółów — szerokie, kolumny sekcji zamiast przewijania ===== */
.panel-modal--xl{width:min(1560px,97vw);max-height:94vh}
.panel-modal--xl .panel-modal__body{padding:12px 14px;background:#fff}
.panel-modal__head strong{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.km-title-sub{font-size:12px;font-weight:500;color:var(--muted);margin-left:8px}
.km-link{margin-top:6px;border:0;background:none;color:var(--brand);font:600 12px Inter,system-ui,sans-serif;cursor:pointer;padding:2px 0}
.km-link:hover{text-decoration:underline}
.km-survey{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;gap:5px 8px;align-items:center;font-size:12px}
.km-survey span{color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.km-survey b{font-weight:600;font-variant-numeric:tabular-nums;font-size:11.5px}
.km-survey__bars{display:flex;flex-direction:column;gap:2px}
.km-survey__bars i{display:block;height:4px;border-radius:2px;background:#cbd5e1}
.km-survey__bars i.post{background:#0b4ea2}
.km-legend{font-size:11px;color:#64748b;margin-top:8px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.km-legend i{display:inline-block;width:14px;height:4px;border-radius:2px;background:#cbd5e1}
.km-legend i.post{background:#0b4ea2}
.km-thumb{display:block;width:100%;border:1px solid #e3e9f1;border-radius:8px;background:#f1f5f9;padding:14px;cursor:pointer;text-align:center}
.km-thumb:hover{border-color:#b8cbe6}
.km-thumb__page{display:block;width:150px;height:190px;margin:0 auto 10px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.12);padding:18px 16px;filter:blur(1.2px)}
.km-thumb__page i{display:block;height:6px;background:#d5dde8;border-radius:3px;margin:9px 0}
.km-thumb__page i:nth-child(1){width:60%;margin:0 auto 16px;height:8px}
.km-thumb__page i:nth-child(3){width:80%}.km-thumb__page i:nth-child(5){width:70%}
.km-thumb__lbl{display:inline-flex;align-items:center;gap:6px;font:600 12px Inter,system-ui,sans-serif;color:#b42335}
.km-thumb__lbl svg{width:16px;height:16px}
.km-ocr{margin-top:10px;font-size:12px;line-height:1.5;color:#475569}
.km-ocr b{display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin-bottom:2px}

