/* VOR Core: semantic display states. Data-vor-tone is visual only, never authorization. */
:root {
    --vor-tone-positive: #167953;
    --vor-tone-negative: #b53d4a;
    --vor-tone-warning: #9c6515;
    --vor-tone-info: #316ca8;
    --vor-tone-neutral: #687481;
}
:is(.gj-ticket-status,.ygg-status,.idun-chip,.mimir-chip,.rat-chip,.mun-status-chip,.vor-ui-chip,.crm-status-chip,.status-chip,.status-badge,.badge,.pill)[data-vor-tone] {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 3px 8px;
    font-weight: 650;
    line-height: 1.45;
    background: color-mix(in srgb, var(--vor-tone-color) 13%, var(--vor-surface, #fff));
    color: var(--vor-tone-color);
    border: 1px solid color-mix(in srgb, var(--vor-tone-color) 16%, transparent);
}
[data-vor-tone="positive"] { --vor-tone-color: var(--vor-tone-positive); }
[data-vor-tone="negative"] { --vor-tone-color: var(--vor-tone-negative); }
[data-vor-tone="warning"] { --vor-tone-color: var(--vor-tone-warning); }
[data-vor-tone="info"] { --vor-tone-color: var(--vor-tone-info); }
[data-vor-tone="neutral"] { --vor-tone-color: var(--vor-tone-neutral); }
html[data-theme="dark"] {
    --vor-tone-positive: #8ce0ae;
    --vor-tone-negative: #ff9cab;
    --vor-tone-warning: #f0ca83;
    --vor-tone-info: #a1caff;
    --vor-tone-neutral: #c0c9d5;
}
html[data-theme="dark"] :is(.gj-ticket-status,.ygg-status,.idun-chip,.mimir-chip,.rat-chip,.mun-status-chip,.vor-ui-chip,.crm-status-chip,.status-chip,.status-badge,.badge,.pill)[data-vor-tone] {
    background: color-mix(in srgb, var(--vor-tone-color) 13%, #282f39);
    border-color: color-mix(in srgb, var(--vor-tone-color) 22%, transparent);
}
/* Ensure hover covers every cell, including legacy table skins with per-cell backgrounds. */
:is(.gj-ticket-table,.ygg-table,.crm-table,.mun-table,.rat-table,.idun-table,.mimir-table) {width:100%;}
:is(.gj-ticket-table,.ygg-table,.crm-table,.mun-table,.rat-table,.idun-table,.mimir-table) tbody tr[data-row-url],
:is(.gj-ticket-table,.ygg-table,.crm-table,.mun-table,.rat-table,.idun-table,.mimir-table) tbody tr[tabindex] {cursor:pointer;}
:is(.gj-ticket-table,.ygg-table,.crm-table,.mun-table,.rat-table,.idun-table,.mimir-table) tbody tr:hover > td {
    background: var(--vor-table-hover, color-mix(in srgb, var(--vor-shell-accent) 8%, transparent));
}
:is(.gj-ticket-table,.ygg-table,.crm-table,.mun-table,.rat-table,.idun-table,.mimir-table) tbody tr:focus-visible > td {
    outline: 1px solid var(--vor-shell-accent);
    outline-offset: -1px;
}

.vor-core-switch-item.is-locked {
    width:100%;border:0;text-align:left;font:inherit;cursor:pointer;
    background:transparent;opacity:.82;
}
.vor-core-switch-item.is-locked:hover,.vor-core-switch-item.is-locked[aria-expanded="true"] {
    background:color-mix(in srgb,var(--vor-shell-accent) 9%,transparent);
}
.vor-core-switch-lock {font-size:12px;line-height:1;filter:grayscale(1);opacity:.72;}
.vor-core-switch-explanation {font-size:11.5px;line-height:1.5;margin:0 8px 8px 44px;color:var(--vor-text-soft,#788391);}
.vor-core-switch-explanation[hidden] {display:none;}
html[data-theme="dark"] .vor-core-switch-explanation {color:#c6cbd5;}
