.wt-action, .wt-link--header, .wt-link--menu {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-width: 0; font: inherit; line-height: 1.3; text-decoration: none;
    color: var(--hd-primary, #2e4a43); transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.wt-icon { display: block; flex: 0 0 22px; width: 22px; height: 22px; }
.wt-action, .wt-link--header {
    min-height: 40px; padding: 8px 11px; border: 1px solid var(--hd-border, #d7ddda); border-radius: 9px;
    background: var(--hd-surface, #fff); font-size: 13px; font-weight: 600; cursor: pointer;
}
.wt-action:hover, .wt-link--header:hover, .wt-action:focus, .wt-link--header:focus { color: var(--hd-primary-hover, #1f342f); background: var(--hd-primary-soft, #e7eeea); border-color: var(--hd-primary, #2e4a43); text-decoration: none; }
.wt-action:focus-visible, .wt-link:focus-visible { outline: 2px solid var(--hd-focus, #275ea8); outline-offset: 2px; }
.wt-action[disabled] { cursor: wait; opacity: .65; }
.wt-count { flex: 0 0 auto; white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.wt-action [data-wt-label] { min-width: 0; white-space: nowrap; word-break: normal; overflow-wrap: normal; }
.wt-action .wt-action-check { display: none; }
.wt-action.is-in-trainer > .wt-icon:not(.wt-action-check) { display: none; }
.wt-action.is-in-trainer > .wt-action-check { display: block; }
.wt-action--listing { min-height: 32px; padding: 5px 7px; gap: 5px; }
.wt-action--listing .wt-icon { width: 18px; height: 18px; flex-basis: 18px; }
.wt-link--header { flex: 0 0 auto; }
.hw-main-menu__list > .wt-menu-item > .wt-link { justify-content: flex-start; background: var(--hd-canvas, #f6f7f3); color: var(--hd-primary, #2e4a43); }
.wt-link--footer { color: inherit; font: inherit; }
.wt-word-actions { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.wt-word-actions--hanzi_page { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); width: 100%; }
.wt-word-actions--hanzi_page > .wt-action, .wt-word-actions--hanzi_page > .my-list-add-button { width: 100%; min-width: 0; margin: 0; }
.wt-word-actions--hanzi_page > .wt-action, .wt-progress-actions > .wt-action { gap: 4px; padding-left: 4px; padding-right: 4px; }
.my-progress-detail__actions.wt-progress-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wt-progress-actions > .wt-action, .wt-progress-actions > .my-list-add-button { width: 100%; min-width: 0; height: auto; min-height: 40px; }
.wt-progress-actions > .my-progress-detail__lists-link { width: auto; }
.wt-progress-actions > .wt-progress-link { color: var(--hd-primary, #2e4a43); font-size: 10px; line-height: 1.4; text-align: left; text-decoration: none; }
.wt-progress-actions > .wt-progress-link:hover { text-decoration: underline; }
@media (max-width: 1199px) { .wt-link--header > span:not(.wt-count) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; } }
@media (max-width: 767px) {
    .wt-word-actions--hanzi_page { grid-template-columns: minmax(0, 1fr); }
    .wt-link--header { min-height: 40px; padding: 6px; gap: 4px; }
    .wt-link--header .wt-icon { flex-basis: 18px; width: 18px; height: 18px; }
    .wt-count { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .wt-action, .wt-link { transition: none; } }
@media (max-width: 379px) {
    .wt-progress-actions > .wt-action { gap: 3px; padding-left: 4px; padding-right: 4px; }
    .wt-progress-actions > .wt-action .wt-icon { width: 18px; height: 18px; flex-basis: 18px; }
    .wt-progress-actions > .wt-action .wt-count { padding-left: 2px; padding-right: 2px; }
}
