/* ==========================================================================
   Teams — blueprint workshop interface
   ========================================================================== */

:is(#teams-app, #orar-app) {
  color: var(--text-primary);
}

#teams-status {
  display: none;
}

#teams-status:not(:empty) {
  display: block;
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--color-laurel);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

.tm-sr-only,
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:is(#teams-app, #orar-app) :is(button, a, input, select, textarea, [tabindex]):focus-visible,
:is(#teams-app, #orar-app) .tm-error[tabindex]:focus,
.tm-dialog :is(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

/* Titluri focalizate programatic (tabindex="-1"): fără contur la focus din mouse */
:is(#teams-app, #orar-app) :is(h2, h3, h4)[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}

/* Header-ul site-ului este sticky: elementul focalizat nu trebuie să rămână sub el (2.4.11) */
:is(#teams-app, #orar-app) :is(h2, h3, h4, button, a, input, select, textarea, [tabindex]) {
  scroll-margin-top: calc(var(--header-height, 80px) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  :is(#teams-app, #orar-app) *,
  .tm-dialog * {
    scroll-behavior: auto !important;
    transition: none !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Buttons (style.css nu definește .btn-secondary)
   -------------------------------------------------------------------------- */

:is(#teams-app, #orar-app) .btn,
.tm-dialog .btn {
  min-height: 44px;
}

:is(#teams-app, #orar-app) .btn-secondary,
.tm-dialog .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--text-muted);
  border-radius: 0;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color var(--trans-smooth), background-color var(--trans-smooth);
}

:is(#teams-app, #orar-app) .btn-secondary:hover,
.tm-dialog .btn-secondary:hover {
  border-color: var(--color-yellow);
  background: var(--bg-highlight);
}

:is(#teams-app, #orar-app) .tm-userbar .btn-secondary {
  padding: 8px 14px;
}

:is(#teams-app, #orar-app) .btn[aria-disabled="true"],
.tm-dialog .btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.tm-lock-status {
  margin: 10px 0;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Structure and headings
   -------------------------------------------------------------------------- */

.tm-panel {
  padding: 24px 0 8px;
}

.tm-panel > h2,
.tm-form > h1,
.tm-form > h2,
.tm-section > h3,
.tm-leader-team > h3,
.tm-admin-panel > h3,
.tm-card h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.tm-panel > h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.tm-section > h3,
.tm-leader-team > h3,
.tm-admin-panel > h3 {
  font-size: 1.6rem;
}

.tm-section h4,
.tm-leader-team h4,
.tm-admin-panel h4 {
  margin: 20px 0 10px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tm-section {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.tm-section.blueprint,
.tm-leader-team.blueprint,
.tm-admin-panel.blueprint,
.tm-card.blueprint,
.tm-form.blueprint {
  border-radius: 0;
}

.tm-leader-team,
.tm-admin-panel {
  margin: 20px 0;
  padding: 20px;
  background: var(--bg-card);
}

.tm-membership {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.tm-membership h3,
.tm-membership p {
  margin: 0;
}

.tm-membership h3 {
  flex: 1 1 200px;
}

/* --------------------------------------------------------------------------
   User bar and tabs
   -------------------------------------------------------------------------- */

.tm-userbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.tm-userbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.tm-tabs {
  display: flex;
  max-width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
  scrollbar-width: thin;
}

.tm-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 16px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--trans-smooth), border-color var(--trans-smooth);
}

.tm-tab:hover {
  color: var(--text-primary);
}

.tm-tab[aria-selected="true"] {
  border-bottom-color: var(--color-yellow);
  color: var(--text-primary);
}

.tm-tab-count {
  color: var(--color-laurel);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Fields and forms
   -------------------------------------------------------------------------- */

.tm-form {
  display: grid;
  gap: 16px;
}

.tm-form.blueprint {
  width: min(100%, 520px);
  margin: 28px auto;
  padding: 24px;
  background: var(--bg-card);
}

.tm-form > h1,
.tm-form > h2 {
  margin-bottom: 4px;
  font-size: 2rem;
}

.tm-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.tm-field > label {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tm-field > .text-muted,
.tm-field > .tm-error,
.tm-form > .text-muted,
.tm-form > .text-muted {
  font-size: 0.82rem;
  line-height: 1.45;
}

.tm-input,
.tm-select,
.tm-textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--text-muted);
  border-radius: 0;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;
  transition: border-color var(--trans-smooth), background-color var(--trans-theme);
}

.tm-select {
  cursor: pointer;
}

.tm-textarea {
  min-height: 120px;
  resize: vertical;
}

.tm-input::placeholder,
.tm-textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.tm-input:hover,
.tm-select:hover,
.tm-textarea:hover {
  border-color: var(--border-focus);
}

.tm-input:focus,
.tm-select:focus,
.tm-textarea:focus {
  border-color: var(--border-focus);
}

.tm-input[aria-invalid="true"],
.tm-select[aria-invalid="true"],
.tm-textarea[aria-invalid="true"] {
  border-color: #ef4444;
}

.tm-input:disabled,
.tm-select:disabled,
.tm-textarea:disabled,
.tm-form[aria-busy="true"] :is(input, select, textarea, button) {
  cursor: not-allowed;
  opacity: 0.58;
}

.tm-form-actions,
.tm-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tm-form-actions {
  margin-top: 4px;
}

.tm-inline-actions .tm-select {
  flex: 1 1 150px;
  width: auto;
}

/* --------------------------------------------------------------------------
   Toolbar and cards
   -------------------------------------------------------------------------- */

.tm-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-highlight);
}

.tm-toolbar .tm-field {
  flex: 1 1 210px;
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tm-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.tm-card--mine {
  border-left: 4px solid var(--color-yellow);
  padding-left: 15px;
}

.tm-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tm-card .doc-tag {
  display: inline-block;
  margin-bottom: 7px;
}

.tm-card h3 {
  font-size: 1.65rem;
}

.tm-card > p {
  margin: 14px 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tm-card > p.text-muted {
  color: var(--text-muted);
  font-style: italic;
}

.tm-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.tm-card-actions .tm-select {
  flex: 1 1 145px;
  width: auto;
}

/* --------------------------------------------------------------------------
   Badges, capacity, member lists
   -------------------------------------------------------------------------- */

.tm-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.tm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid var(--color-yellow);
  border-radius: 0;
  color: var(--color-yellow);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.tm-badge--category,
.tm-badge--role {
  border-color: var(--border-focus);
  color: var(--text-secondary);
}

/* Insigne pline („Lider”, „Coordonator”): text grafit pe galben în ambele teme */
.tm-members .tm-badge:not(.tm-badge--role),
.tm-userbar > .tm-badge,
:is(#teams-app, #orar-app) .tm-badge.tm-badge--filled {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: #262220;
}

.tm-badge--locked {
  border-color: var(--border-color);
  background: var(--bg-primary);
  color: var(--color-yellow);
}

.tm-badge--locked svg {
  flex: 0 0 auto;
}

.tm-capacity {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.tm-meter {
  height: 4px;
  overflow: hidden;
  background: var(--border-subtle);
}

.tm-meter-fill {
  height: 100%;
  background: var(--color-yellow);
}

.tm-capacity:has(.tm-meter-fill[style*="100%"]) .tm-meter-fill {
  background: var(--color-orange);
}

.tm-members,
.tm-request-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-members {
  margin-bottom: 14px;
}

.tm-members li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.tm-members li > span:first-child {
  min-width: 0;
}

.tm-members li > .btn {
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Banners, empty and errors
   -------------------------------------------------------------------------- */

.tm-banner,
.tm-empty,
.tm-error {
  border: 1px solid var(--border-color);
  background: var(--bg-highlight);
}

.tm-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-left: 3px solid var(--color-yellow);
  color: var(--text-primary);
}

.tm-request-list .tm-banner {
  min-height: 44px;
}

.tm-empty {
  padding: 22px;
  border-left: 3px solid var(--border-focus);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.tm-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-color: #ef4444;
  border-left: 4px solid #ef4444;
  color: #fca5a5;
  font-size: 0.88rem;
  line-height: 1.4;
}

.tm-error-prefix {
  font-weight: 700;
}

.tm-field > .tm-error {
  margin: 0;
}

/* --text-muted pe --bg-highlight nu atinge 4.5:1 în nicio temă */
.tm-toolbar .text-muted,
.tm-banner .text-muted,
.tm-table .text-muted,
.tm-error .text-muted {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Table
   -------------------------------------------------------------------------- */

.tm-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}

.tm-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  text-align: left;
}

.tm-table caption {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-align: left;
  text-transform: uppercase;
}

.tm-table th,
.tm-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.tm-table th {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tm-table tbody tr:nth-child(even) {
  background: var(--bg-highlight);
}

.tm-table tbody tr:hover {
  background: var(--bg-secondary);
}

.tm-table td .tm-inline-actions {
  min-width: 190px;
}

/* --------------------------------------------------------------------------
   Dialog
   -------------------------------------------------------------------------- */

.tm-dialog {
  width: min(calc(100% - 32px), 480px);
  max-width: 480px;
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-focus);
  border-radius: 0;
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

.tm-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.tm-dialog .tm-form {
  padding: 24px;
}

.tm-dialog p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Theme-specific contrast
   -------------------------------------------------------------------------- */

:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-badge,
:root[data-theme="light"] .tm-dialog .tm-badge {
  color: #b45309;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-badge--category,
:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-badge--role {
  color: var(--text-secondary);
}

/* Insignele pline câștigă peste regula de mai sus (specificitate mai mare) */
:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-members .tm-badge:not(.tm-badge--role),
:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-userbar > .tm-badge,
:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-badge.tm-badge--filled {
  border-color: var(--color-yellow);
  background: var(--color-yellow);
  color: #262220;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-tab-count {
  color: #2e6b17;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-tab[aria-selected="true"] {
  border-bottom-color: #b45309;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-card--mine {
  border-left-color: #b45309;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) .btn-secondary:hover,
:root[data-theme="light"] .tm-dialog .btn-secondary:hover {
  border-color: #b45309;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-input[aria-invalid="true"],
:root[data-theme="light"] .tm-dialog .tm-input[aria-invalid="true"],
:root[data-theme="light"] :is(#teams-app, #orar-app) :is(.tm-select, .tm-textarea)[aria-invalid="true"] {
  border-color: #b91c1c;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-badge--locked,
:root[data-theme="light"] .tm-dialog .tm-badge--locked {
  color: #b45309;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) :is(button, a, input, select, textarea, [tabindex]):focus-visible,
:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-error[tabindex]:focus,
:root[data-theme="light"] .tm-dialog :is(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline-color: #b45309;
}

:root[data-theme="light"] :is(#teams-app, #orar-app) .tm-error,
:root[data-theme="light"] .tm-dialog .tm-error {
  border-color: #b91c1c;
  color: #b91c1c;
}

/* --------------------------------------------------------------------------
   Responsive behavior
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .tm-userbar-actions {
    width: 100%;
    margin-left: 0;
  }

  .tm-table-wrap .tm-table {
    min-width: 720px;
  }
}

@media (max-width: 480px) {
  .tm-panel {
    padding-top: 18px;
  }

  .tm-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tm-card,
  .tm-leader-team,
  .tm-admin-panel,
  .tm-section,
  .tm-form.blueprint {
    padding: 16px;
  }

  .tm-card-head {
    flex-direction: column;
  }

  .tm-badges {
    justify-content: flex-start;
  }

  .tm-toolbar {
    padding: 12px;
  }

  .tm-toolbar .tm-field {
    flex-basis: 100%;
  }

  .tm-tab {
    padding-inline: 13px;
  }
}

/* --------------------------------------------------------------------------
   Forced colors
   -------------------------------------------------------------------------- */

@media (forced-colors: active) {
  .tm-card,
  .tm-section,
  .tm-leader-team,
  .tm-admin-panel,
  .tm-toolbar,
  .tm-table,
  .tm-banner,
  .tm-empty,
  .tm-error,
  .tm-dialog,
  .tm-input,
  .tm-select,
  .tm-textarea {
    border-color: CanvasText;
  }

  .tm-badge,
  .tm-badge--locked,
  .tm-members .tm-badge:not(.tm-badge--role),
  .tm-userbar > .tm-badge {
    border-color: ButtonText;
    background: Canvas;
    color: ButtonText;
  }

  .tm-tab[aria-selected="true"],
  .tm-card--mine,
  .tm-banner,
  #teams-status:not(:empty) {
    border-color: Highlight;
  }

  .tm-meter-fill {
    background: Highlight;
  }

  :is(#teams-app, #orar-app) .btn-secondary,
  .tm-dialog .btn-secondary {
    border-color: ButtonText;
  }

  .tm-tab[aria-selected="true"] {
    border-bottom-color: Highlight;
  }
}

/* --------------------------------------------------------------------------
   Iconița echipei, descrierile membrilor, selectorul de iconițe
   -------------------------------------------------------------------------- */
.tm-card-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.tm-team-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  object-fit: cover;
}

.tm-team-icon--preset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow);
}

:root[data-theme="light"] .tm-team-icon--preset {
  color: #b45309;
}

/* „la ce se pricepe” — sub nume, în carduri și în tabel */
.tm-bio {
  display: block;
  flex-basis: 100%;
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.tm-members li {
  flex-wrap: wrap;
}

.tm-icon-picker {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.tm-icon-picker legend {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.tm-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}

.tm-icon-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 76px;
  padding: 10px 6px 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  cursor: pointer;
  text-align: center;
}

/* radio-ul rămâne real și focusabil, doar vizual ascuns; cardul arată starea */
.tm-icon-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.tm-icon-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--text-primary);
}

.tm-icon-swatch img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.tm-icon-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.25;
  color: var(--text-secondary);
}

.tm-icon-option:hover {
  border-color: var(--color-yellow);
}

/* selectat: chenar gros + bifă textuală, nu doar culoare */
.tm-icon-option:has(input:checked) {
  border: 2px solid var(--color-yellow);
  padding: 9px 5px 7px;
  background: var(--bg-highlight);
}

.tm-icon-option:has(input:checked) .tm-icon-label::before {
  content: "✓ ";
}

.tm-icon-option:has(input:focus-visible) {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

:root[data-theme="light"] .tm-icon-option:has(input:checked),
:root[data-theme="light"] .tm-icon-option:hover {
  border-color: #b45309;
}

:root[data-theme="light"] .tm-icon-option:has(input:focus-visible) {
  outline-color: #b45309;
}

.tm-upload {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
}

.tm-file {
  padding: 9px 10px;
}

@media (forced-colors: active) {
  .tm-icon-option:has(input:checked) {
    border-color: Highlight;
  }
  .tm-icon-option:has(input:focus-visible) {
    outline-color: Highlight;
  }
}
