/* Marketplace Tags: the approved exception register, scoped to this pane. */
#appShell.ui-workspace #paneMpTags { display:flex; flex-direction:column; gap:22px; min-width:0; container-type:inline-size; --table-stripe-odd:transparent; --table-stripe-even:transparent; --table-row-hover:var(--ui-surface-muted); --table-row-selected:var(--ui-blue-soft); --table-header-bg:var(--ui-surface-muted); }
#appShell.ui-workspace #paneMpTags:is(.u-hidden,[hidden]) { display:none; }
#appShell #paneMpTags [hidden] { display:none !important; }
#appShell #paneMpTags :is(h2,h3,p) { margin:0; }
#appShell #paneMpTags h2 { color:var(--ui-ink); font-size:14px; font-weight:650; }
#appShell #paneMpTags h3 { font-size:13px; }
#appShell #paneMpTags small { font-size:10px; color:var(--ui-ink-secondary); line-height:1.65; }
#appShell #paneMpTags .workspace-page-head { align-items:flex-end; }
#appShell #paneMpTags .workspace-page-copy { margin-top:10px; font-size:13px; line-height:1.6; }
#appShell #paneMpTags .tags-page-actions { display:flex; gap:9px; flex-wrap:wrap; margin-left:auto; }
#appShell #paneMpTags .tags-primary { background:var(--ui-blue); border-color:var(--ui-blue); color:#fff; box-shadow:none; }
#appShell #paneMpTags .tags-danger { color:var(--ui-red); }
#appShell #paneMpTags button:disabled { opacity:.5; cursor:default; }
#appShell #paneMpTags :is(button,input,select,summary):focus-visible { outline:3px solid var(--ui-blue); outline-offset:3px; }
#appShell #paneMpTags .tags-link { padding:4px 0; border:0; background:none; box-shadow:none; color:var(--ui-blue); font-size:11px; white-space:normal; cursor:pointer; text-align:left; }
#appShell #paneMpTags .tags-link:hover { text-decoration:underline; }
#appShell #paneMpTags .tags-link.tags-danger { color:var(--ui-red); }
#appShell #paneMpTags .tags-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--ui-line); border-radius:11px; background:var(--ui-surface); overflow:hidden; }
#appShell #paneMpTags .tags-metric { display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:23px; border-right:1px solid var(--ui-line); min-width:0; }
#appShell #paneMpTags .tags-metric:last-child { border:0; }
#appShell #paneMpTags .tags-metric > span { font-size:11px; color:var(--ui-ink-secondary); }
#appShell #paneMpTags .tags-metric strong { font-size:clamp(21px,2.1cqi,29px); color:var(--ui-ink); font-weight:650; letter-spacing:-.8px; line-height:1.4; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-metric small { overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-notice { display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid color-mix(in srgb,var(--ui-amber) 28%,var(--ui-line)); border-radius:9px; background:var(--ui-amber-soft); color:var(--ui-amber); padding:15px 18px; font-size:12px; line-height:1.65; }
#appShell #paneMpTags .tags-notice button { color:inherit; flex-shrink:0; }
#appShell #paneMpTags .tags-viewbar { display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap; border-bottom:1px solid var(--ui-line); padding-bottom:14px; }
#appShell #paneMpTags .tags-tabs { display:flex; gap:6px; flex-wrap:wrap; }
#appShell #paneMpTags .tags-tabs button { padding:9px 12px; border:1px solid transparent; border-radius:7px; background:none; box-shadow:none; color:var(--ui-ink-secondary); font-size:12px; }
#appShell #paneMpTags .tags-tabs button[aria-pressed="true"] { background:var(--ui-blue-soft); color:var(--ui-blue); border-color:color-mix(in srgb,var(--ui-blue) 30%,var(--ui-line)); }
#appShell #paneMpTags .tags-count { display:inline-block; margin-left:6px; padding:2px 5px; border:1px solid var(--ui-line); border-radius:5px; font-size:10px; color:var(--ui-ink-secondary); background:var(--ui-surface-muted); }
#appShell #paneMpTags #tagsSearch { width:250px; max-width:100%; min-height:37px; padding:9px 11px; border:1px solid var(--ui-line); border-radius:7px; background:var(--ui-surface); color:var(--ui-ink); box-shadow:none; font-size:11px; }
#appShell #paneMpTags .tags-layout { display:grid; grid-template-columns:minmax(0,1fr) 286px; gap:23px; align-items:start; }
#appShell #paneMpTags :is(.tags-main,.tags-side) { display:grid; gap:18px; min-width:0; }
#appShell #paneMpTags .tags-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
#appShell #paneMpTags .tags-filters { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
#appShell #paneMpTags :is(.tags-filters label,.tags-sort) { display:flex; align-items:center; gap:7px; font-size:10px; color:var(--ui-ink-secondary); }
#appShell #paneMpTags :is(.tags-filters select,.tags-sort select,.tags-filters input) { width:auto; max-width:180px; padding:7px; border:1px solid var(--ui-line); border-radius:6px; background:var(--ui-surface); color:var(--ui-ink); box-shadow:none; font-size:10px; }
#appShell #paneMpTags .tags-filters input { width:110px; }
#appShell #paneMpTags .tags-table-wrap { width:100%; max-width:100%; overflow:auto; }
#appShell #paneMpTags .tags-table { width:100%; min-width:600px; border-collapse:collapse; text-align:left; background:transparent; color:var(--ui-ink); }
#appShell #paneMpTags .tags-register { min-width:810px; }
#appShell #paneMpTags .tags-table th { padding:11px 15px; border-block:1px solid var(--ui-line); background:var(--ui-surface-muted); color:var(--ui-ink-secondary); font-size:8px; font-weight:650; text-transform:uppercase; letter-spacing:.8px; white-space:nowrap; }
#appShell #paneMpTags .tags-table td { padding:16px 15px; border:0; border-bottom:1px solid var(--ui-line); font-size:11px; vertical-align:middle; background:transparent; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-table :is(th,td):first-child { padding-left:22px; }
#appShell #paneMpTags .tags-table tbody tr { background:transparent; }
#appShell #paneMpTags .tags-table tbody tr:hover { background:var(--ui-surface-muted); }
#appShell #paneMpTags .tags-table tbody tr:last-child td { border-bottom:0; }
#appShell #paneMpTags .tags-table td small { display:block; margin-top:5px; font-size:9px; max-width:250px; }
#appShell #paneMpTags .tags-name { display:block; max-width:260px; min-height:24px; padding:0; border:0; background:none; box-shadow:none; font-size:11px; line-height:1.6; font-weight:600; color:var(--ui-ink); text-align:left; white-space:normal; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-name:hover { color:var(--ui-blue); text-decoration:underline; }
#appShell #paneMpTags .tags-right { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
#appShell #paneMpTags .tags-view { padding:7px; border:0; background:none; color:var(--ui-ink-secondary); box-shadow:none; }
#appShell #paneMpTags .tags-badge { display:inline-flex; padding:6px 8px; border-radius:5px; font-size:9px; font-weight:600; white-space:nowrap; color:var(--ui-amber); background:var(--ui-amber-soft); }
#appShell #paneMpTags .tags-badge.received { color:var(--ui-green); background:var(--ui-green-soft); }
#appShell #paneMpTags .tags-panel-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:21px; }
#appShell #paneMpTags .tags-pager { display:flex; align-items:center; gap:8px; font-size:10px; color:var(--ui-ink-secondary); }
#appShell #paneMpTags .tags-pager > span { margin-right:auto; }
#appShell #paneMpTags .tags-pager button { padding:6px 9px; font-size:10px; }
#appShell #paneMpTags .tags-side-panel { padding:21px; }
#appShell #paneMpTags .tags-panel { border:1px solid var(--ui-line); border-radius:11px; background:var(--ui-surface); min-width:0; overflow:hidden; }
#appShell.ui-workspace #paneMpTags #dashMpTagCard { margin:0; padding:0; border:1px solid var(--ui-line); border-radius:11px; box-shadow:none; background:var(--ui-surface); }
#appShell.ui-workspace #paneMpTags #dashMpTagCard:hover { transform:none; box-shadow:none; }
#appShell #paneMpTags .tags-panel-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:14px 21px; border-top:1px solid var(--ui-line); font-size:10px; color:var(--ui-ink-secondary); }
#appShell.ui-workspace #paneMpTags .tags-table tbody tr > td { background:transparent; }
#appShell.ui-workspace #paneMpTags .tags-table tbody tr:hover > td { background:var(--ui-surface-muted); }
#appShell.ui-workspace #paneMpTags .tags-table tbody tr:has(input:checked) > td { background:var(--ui-blue-soft); }
#appShell.ui-workspace #paneMpTags button.btn-outline { color:var(--ui-ink); background:var(--ui-surface); border:1px solid var(--ui-line); box-shadow:none; }
#appShell.ui-workspace #paneMpTags button.tags-primary { background:var(--ui-blue); border-color:var(--ui-blue); color:#fff; }
#appShell.ui-workspace #paneMpTags button.tags-danger { color:var(--ui-red); }
#appShell #paneMpTags .tags-side-panel > small { display:block; margin-top:7px; }
#appShell #paneMpTags .tags-side-link { margin-top:18px; }
#appShell #paneMpTags .tags-summary-amounts { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0 15px; }
#appShell #paneMpTags .tags-summary-amounts strong { display:block; font-size:21px; letter-spacing:-.6px; margin-top:5px; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-summary-amounts small { font-size:9px; }
#appShell #paneMpTags .tags-progress { display:block; width:100%; height:6px; margin:14px 0 10px; border:0; border-radius:5px; overflow:hidden; background:var(--ui-line); accent-color:var(--ui-green); }
#appShell #paneMpTags .tags-progress::-webkit-progress-bar { background:var(--ui-line); border-radius:5px; }
#appShell #paneMpTags .tags-progress::-webkit-progress-value { background:var(--ui-green); border-radius:5px; }
#appShell #paneMpTags .tags-progress::-moz-progress-bar { background:var(--ui-green); border-radius:5px; }
#appShell #paneMpTags .tags-fact { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 0; border-bottom:1px solid var(--ui-line); font-size:11px; color:var(--ui-ink-secondary); }
#appShell #paneMpTags .tags-fact:last-child { border:0; padding-bottom:0; }
#appShell #paneMpTags .tags-fact b { color:var(--ui-ink); font-weight:600; }
#appShell #paneMpTags .tags-tip { padding:0 3px; font-size:10px; color:var(--ui-ink-secondary); line-height:1.8; }
#appShell #paneMpTags .tags-tip strong { color:var(--ui-ink); font-weight:600; }
#appShell #paneMpTags .tags-insight-copy { padding:0 21px 18px; font-size:11px; line-height:1.7; color:var(--ui-ink-secondary); }
#appShell #paneMpTags .tags-empty { padding:28px 21px; font-size:12px; color:var(--ui-ink-secondary); text-align:center; white-space:normal; }
#appShell #paneMpTags .tags-empty p { margin:10px 0; line-height:1.7; }
#appShell #paneMpTags .tags-side-panel .tags-empty { padding:20px 0 0; text-align:left; }
#appShell #paneMpTags .tags-status-row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; padding-top:17px; border-top:1px solid var(--ui-line); }
#appShell #paneMpTags .tags-dialog { box-sizing:border-box; padding:0; color:var(--ui-ink); background:var(--ui-surface-solid); border:1px solid var(--ui-line); overflow:auto; box-shadow:0 20px 70px rgb(15 23 42 / 20%); }
#appShell #paneMpTags .tags-dialog::backdrop { background:rgb(15 23 42 / 40%); }
#appShell #paneMpTags .tags-drawer { position:fixed; inset:0 0 0 auto; margin:0; width:min(485px,100vw); max-width:100vw; height:100dvh; max-height:100dvh; border-radius:0; border-width:0 0 0 1px; }
#appShell #paneMpTags .tags-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:17px; padding:26px; border-bottom:1px solid var(--ui-line); }
#appShell #paneMpTags .tags-dialog-head > div { min-width:0; }
#appShell #paneMpTags .tags-dialog-head h2 { font-size:21px; line-height:1.5; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-dialog-head :is(small,p) { display:block; margin-top:8px; font-size:11px; color:var(--ui-ink-secondary); line-height:1.65; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-drawer-body { padding:26px; }
#appShell #paneMpTags .tags-payment-hero { padding:21px; background:var(--ui-surface-muted); border:1px solid var(--ui-line); border-radius:10px; }
#appShell #paneMpTags .tags-payment-hero > strong { display:block; font-size:28px; letter-spacing:-1px; font-weight:650; margin:10px 0; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-hero-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
#appShell #paneMpTags .tags-facts { display:grid; grid-template-columns:1fr 1fr; gap:22px 17px; margin:25px 0; }
#appShell #paneMpTags .tags-facts dt { font-size:9px; text-transform:uppercase; letter-spacing:.5px; color:var(--ui-ink-secondary); margin-bottom:7px; }
#appShell #paneMpTags .tags-facts dd { margin:0; font-size:11px; line-height:1.7; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-notes { padding:15px; border:1px solid var(--ui-line); border-radius:8px; background:var(--ui-surface-muted); font-size:11px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-context { list-style:none; padding:0; margin:22px 0; }
#appShell #paneMpTags .tags-context li { padding:0 0 20px 20px; position:relative; border-left:1px solid var(--ui-line); font-size:11px; line-height:1.7; }
#appShell #paneMpTags .tags-context li::before { content:""; position:absolute; left:-4px; top:4px; width:7px; height:7px; border-radius:50%; background:var(--ui-blue); box-shadow:0 0 0 4px var(--ui-surface-solid); }
#appShell #paneMpTags .tags-context li:last-child { border:0; padding-bottom:0; }
#appShell #paneMpTags .tags-context small { display:block; margin-top:5px; }
#appShell #paneMpTags .tags-drawer-actions { display:grid; gap:10px; margin:24px 0 16px; }
#appShell #paneMpTags .tags-editor { width:min(650px,calc(100vw - 32px)); max-height:calc(100dvh - 36px); border-radius:14px; }
#appShell #paneMpTags .tags-form { display:grid; gap:17px; padding:24px; }
#appShell #paneMpTags .tags-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
#appShell #paneMpTags .tags-form-grid label { display:grid; gap:7px; min-width:0; font-size:11px; color:var(--ui-ink-secondary); }
#appShell #paneMpTags .tags-form-grid :is(input,select) { min-width:0; width:100%; padding:10px 11px; border:1px solid var(--ui-line); border-radius:7px; background:var(--ui-surface-solid); color:var(--ui-ink); box-shadow:none; font-size:12px; }
#appShell #paneMpTags .tags-full { grid-column:1/-1; }
#appShell #paneMpTags .tags-form-actions { display:flex; justify-content:flex-end; align-items:center; gap:10px; flex-wrap:wrap; }
#appShell #paneMpTags .tags-message { font-size:12px; color:var(--ui-ink-secondary); line-height:1.65; overflow-wrap:anywhere; }
#appShell #paneMpTags .tags-message[data-state="error"] { color:var(--ui-red); }
#appShell #paneMpTags .tags-message[data-state="success"] { color:var(--ui-green); }
#appShell #paneMpTags .tags-message:empty { display:none; }
#appShell #paneMpTags .tags-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@container(max-width:1100px) {
  #appShell #paneMpTags .tags-layout { grid-template-columns:minmax(0,1fr); }
  #appShell #paneMpTags .tags-side { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #appShell #paneMpTags .tags-side > :is(section:nth-child(3),.tags-tip) { grid-column:1/-1; }
}
@container(max-width:650px) {
  #appShell #paneMpTags .tags-page-actions { margin-left:0; }
  #appShell #paneMpTags .tags-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #appShell #paneMpTags .tags-metric { padding:17px; }
  #appShell #paneMpTags .tags-metric:nth-child(2) { border-right:0; }
  #appShell #paneMpTags .tags-metric:nth-child(-n+2) { border-bottom:1px solid var(--ui-line); }
  #appShell #paneMpTags .tags-notice { flex-wrap:wrap; }
  #appShell #paneMpTags .tags-side { grid-template-columns:minmax(0,1fr); }
  #appShell #paneMpTags #tagsSearch { width:100%; }
}
@media(max-width:440px) {
  #appShell #paneMpTags .tags-form-grid { grid-template-columns:minmax(0,1fr); }
  #appShell #paneMpTags :is(.tags-form,.tags-dialog-head,.tags-drawer-body) { padding:20px; }
}
@media(pointer:coarse) {
  #appShell #paneMpTags :is(button,.tags-tabs button) { min-height:44px; }
}

#appShell #paneMpTags .tags-metric { border:0; border-right:1px solid var(--ui-line); border-radius:0; background:none; box-shadow:none; text-align:left; cursor:pointer; }
#appShell #paneMpTags .tags-metric[aria-pressed="true"] { background:var(--ui-blue-soft); box-shadow:inset 0 -3px var(--ui-blue); }
#appShell #paneMpTags .tags-metric:focus-visible { outline-offset:-4px; }
#appShell #paneMpTags .tags-metric span { display:flex; justify-content:space-between; width:100%; gap:12px; }
#appShell #paneMpTags .tags-metric em { font-style:normal; color:var(--ui-blue); }
#appShell #paneMpTags .tags-filters { padding:0 21px 19px; }
#appShell #paneMpTags .tags-bulk { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:13px 21px; border-block:1px solid var(--ui-line); background:var(--ui-blue-soft); font-size:11px; }
#appShell #paneMpTags .tags-bulk > span { margin-right:auto; }
#appShell #paneMpTags .tags-bulk button { font-size:10px; padding:7px 9px; }
#appShell #paneMpTags input[type="checkbox"] { width:15px; height:15px; accent-color:var(--ui-blue); cursor:pointer; }
#appShell #paneMpTags .tags-badge { background:color-mix(in srgb,#9273c6 13%,transparent); color:#8762bb; }
#appShell[data-ui-theme="dark"] #paneMpTags .tags-badge { color:#c3a4ed; }
#appShell #paneMpTags .tags-badge.event-canceled { background:var(--ui-amber-soft); color:var(--ui-amber); }
#appShell #paneMpTags .tags-badge.penalties { background:color-mix(in srgb,var(--ui-red) 10%,transparent); color:var(--ui-red); }
#appShell #paneMpTags .tags-status { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; font-size:10px; color:var(--ui-ink-secondary); }
#appShell #paneMpTags .tags-status::before { content:""; width:5px; height:5px; background:currentColor; border-radius:50%; }
#appShell #paneMpTags .tags-status.review { color:var(--ui-amber); }
#appShell #paneMpTags .tags-status.exact { color:var(--ui-green); }
#appShell #paneMpTags :is(.tags-status.no-invoice,.tags-negative) { color:var(--ui-red); }
#appShell #paneMpTags .tags-coverage-head { display:flex; gap:20px; align-items:center; margin:23px 0 14px; }
#appShell #paneMpTags .tags-coverage-head > strong { display:grid; place-items:center; border:6px solid var(--ui-blue-soft); border-radius:50%; width:78px; height:78px; font-size:19px; color:var(--ui-blue); flex:none; }
#appShell #paneMpTags .tags-coverage-head b { display:block; font-size:12px; line-height:1.7; }
#appShell #paneMpTags .tags-progress { accent-color:var(--ui-blue); }
#appShell #paneMpTags .tags-progress::-webkit-progress-value { background:var(--ui-blue); }
#appShell #paneMpTags .tags-progress::-moz-progress-bar { background:var(--ui-blue); }
#appShell #paneMpTags .tags-channel { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:17px 0; border-bottom:1px solid var(--ui-line); font-size:11px; }
#appShell #paneMpTags .tags-channel b { display:inline-grid; place-items:center; width:25px; height:25px; margin-right:8px; background:var(--ui-surface-muted); border:1px solid var(--ui-line); border-radius:6px; }
#appShell #paneMpTags .tags-channel small { font-size:9px; }
#appShell #paneMpTags .tags-insight-total td { font-weight:650; background:var(--ui-surface-muted); }
#appShell #paneMpTags .tags-source-list { display:grid; gap:8px; max-height:360px; overflow:auto; }
#appShell #paneMpTags .tags-source-row { display:flex; justify-content:space-between; gap:12px; padding:12px; border:1px solid var(--ui-line); border-radius:7px; color:var(--ui-ink); font-size:11px; }
#appShell #paneMpTags .tags-source-row small { display:block; margin-top:5px; }
#appShell #paneMpTags .tags-source-row input { flex:none; }
