.tkncmp-tray[hidden], .tkncmp-actions [hidden], .tkncmp-dialog:not([open]) { display:none !important; }
.tkncmp-tray, .tkncmp-single, .tkncmp-dialog, .tkncmp-actions { box-sizing:border-box; color:#142d47; }
.tkncmp-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:8px 12px; border-top:1px solid #e4ebf3; background:#fff; }
.tkncmp-single { margin:12px 0; max-width:100%; }
.tkncmp-single .tkncmp-actions { justify-content:flex-start; padding:4px 0; border:0; background:none; }
.tkncmp-actions button, .tkncmp-tray button, .tkncmp-dialog button { appearance:none; display:inline-flex; justify-content:center; align-items:center; box-sizing:border-box; width:auto; min-height:38px; margin:0; border:1px solid #c2d3e6; border-radius:7px; padding:7px 10px; background:#f0f5fb; color:#204b75; box-shadow:none; font:inherit; font-size:13px; font-weight:700; line-height:1.2; text-transform:none; letter-spacing:normal; cursor:pointer; }
.tkncmp-actions button:hover, .tkncmp-tray button:hover, .tkncmp-dialog button:hover { border-color:#204b75; }
.tkncmp-actions button:focus-visible, .tkncmp-tray button:focus-visible, .tkncmp-dialog button:focus-visible, .tkncmp-detail:focus-visible { outline:2px solid #204b75; outline-offset:2px; }
.tkncmp-actions .tkncmp-inline-open, .tkncmp-tray .tkncmp-primary, .tkncmp-actions .tkncmp-toggle[aria-pressed=true] { background:#204b75; border-color:#204b75; color:white; }
.tkncmp-tray button:disabled { opacity:.55; cursor:default; }
.tkncmp-tray { width:100%; margin:12px 0; padding:12px; border:1px solid #c9d8e8; border-radius:9px; background:#f7faff; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.tkncmp-count { font-size:13px; font-weight:700; }
.tkncmp-picked { display:flex; flex:1 1 190px; flex-wrap:wrap; gap:5px; list-style:none; margin:0; padding:0; }
.tkncmp-item { display:flex; align-items:center; gap:4px; min-width:0; margin:0; padding:0 0 0 7px; background:#eaf1f8; border-radius:6px; font-size:12px; overflow-wrap:anywhere; }
.tkncmp-item button { min-height:32px; min-width:32px; padding:3px; border-color:transparent; }
.tkncmp-dialog { position:fixed; inset:0; width:min(900px, calc(100% - 24px)); max-width:unset; max-height:82vh; margin:auto; padding:16px; border:1px solid #bcd0e2; border-radius:12px; overflow:auto; background:white; box-shadow:0 8px 30px #142d4740; z-index:99999; }
.tkncmp-dialog::backdrop { background:#142d4766; }
.tkncmp-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.tkncmp-dialog h2 { margin:0; font-size:clamp(19px,4vw,25px); color:#142d47; }
.tkncmp-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); align-items:start; gap:10px; }
.tkncmp-card { min-width:0; margin:0; padding:12px; border:1px solid #d9e5f3; border-radius:9px; background:#f8fbff; overflow-wrap:anywhere; }
.tkncmp-card h3 { margin:0 0 10px; font-size:16px; line-height:1.3; color:#142d47; }
.tkncmp-card dl { margin:0 0 12px; padding:0; }
.tkncmp-card dt { margin:8px 0 0; font-size:11px; font-weight:750; color:#405c78; }
.tkncmp-card dd { margin:0; font-size:13px; }
.tkncmp-detail { color:#204b75; font-weight:700; font-size:13px; text-decoration:underline; }
.tkncmp-source, .tkncmp-limit { margin:8px 0 0; font-size:12px; color:#405c78; }
.tkncmp-limit { flex:0 0 100%; }
.tkncmp-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.tkncmp-card .tkncmp-review-samples{list-style:none;margin:7px 0 2px;padding:0;display:grid;gap:5px}
.tkncmp-review-samples li{padding:6px 8px;background:#eef4fa;border-inline-start:2px solid #8ba7c4;border-radius:4px;font-size:12px;line-height:1.4}
