/* Tag input (tp-tags.js), both looks. Classic uses the old variables; the new design uses kit tokens. */
.tp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; padding: 5px 8px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface, #fff); cursor: text; box-sizing: border-box; width: 100%; }
.tp-tags.focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.tp-tags-chips { display: contents; list-style: none; margin: 0; padding: 0; }
.tp-tag { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; height: 30px; padding: 0 2px 0 10px; border-radius: 8px; background: var(--brand-tint); color: var(--ink); font-size: 14px; line-height: 1; }
.tp-tag-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-tag-x { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: 0; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.tp-tag-x:hover { color: var(--ink); background: rgba(0, 0, 0, .06); }
.tp-tag-x:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
input.tp-tags-in { flex: 1 1 120px; min-width: 120px; width: auto !important; height: 32px; margin: 0 !important; padding: 0 4px !important; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; font-size: 16px; color: var(--ink); }
.tp-tags-sug { list-style: none; margin: 4px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, #fff); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); max-height: 264px; overflow-y: auto; position: relative; z-index: 10; }
.tp-tags-sug[hidden] { display: none; }
.tp-sug { padding: 0 10px; min-height: 40px; display: flex; align-items: center; border-radius: 7px; font-size: 15px; color: var(--ink); cursor: pointer; }
.tp-sug:hover, .tp-sug[aria-selected="true"] { background: var(--brand-tint); }
.tp-tags-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skillsugs .tp-quick-l { font-size: 13px; color: var(--muted); align-self: center; margin-right: 2px; }
.skillsugs .tp-quick { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface, #fff); color: var(--ink); font-size: 13.5px; cursor: pointer; }
.skillsugs .tp-quick:hover { border-color: var(--brand); }
.skillsugs[hidden] { display: none; }

/* new design (DO Suite kit) */
html.do-ui .tp-tags { border: 1px solid var(--do-control); border-radius: var(--do-r-input); background: var(--do-surface); padding: 4px 6px; }
html.do-ui .tp-tags.focus { border-color: var(--do-ink-2); box-shadow: 0 0 0 3px color-mix(in oklab, var(--do-accent) 25%, transparent); }
html.do-ui .tp-tag { background: var(--do-sunken); color: var(--do-ink); box-shadow: inset 0 0 0 1px var(--do-line-2); border-radius: var(--do-r-chip); font: 500 14px var(--do-font); }
html.do-ui .tp-tag-x { color: var(--do-muted); border-radius: var(--do-r-chip); }
html.do-ui .tp-tag-x:hover { color: var(--do-ink); background: var(--do-line); }
html.do-ui .tp-tag-x:focus-visible { outline: 2px solid var(--do-accent); }
html.do-ui input.tp-tags-in { color: var(--do-ink); font-family: var(--do-font); }
html.do-ui .tp-tags-sug { border: 1px solid var(--do-line-2); border-radius: var(--do-r-card); background: var(--do-raised); box-shadow: var(--do-shadow-over); }
html.do-ui .tp-sug { color: var(--do-ink); font-family: var(--do-font); }
html.do-ui .tp-sug:hover, html.do-ui .tp-sug[aria-selected="true"] { background: var(--do-sunken); }
html.do-ui .skillsugs .tp-quick-l { color: var(--do-muted); }
html.do-ui .skillsugs .tp-quick { height: 32px; padding: 0 12px; border: 1px solid var(--do-control); border-radius: var(--do-r-btn); background: var(--do-surface); color: var(--do-ink); font: 500 14px var(--do-font); }
@media (hover: hover) { html.do-ui .skillsugs .tp-quick:hover { border-color: var(--do-muted); } }
