/**
 * TradeSchool Manager  -  branded admin UI.
 * Scoped to .tsm-app so we never override WordPress global admin styles.
 */

/* ---------- Reset WP chrome on our pages ---------- */
.tsm-app-page #wpcontent { padding-left: 0; }
.tsm-app-page .wrap { margin: 0; }
.tsm-app-page .wrap > h1:first-child,
.tsm-app-page .tsm-tabs { display: none; }   /* sidebar replaces tabs */
.tsm-app-page #wpbody-content { padding-bottom: 0; }
.tsm-app-page #wpfooter { display: none; }

/* ---------- App shell ---------- */
.tsm-app {
	--brand:        #1f6feb;
	--brand-2:      #2f7dff;
	--navy:         #0b2545;
	--navy-2:       #0e2c54;
	--navy-3:       #14366a;
	--ink:          #1d2939;
	--ink-2:        #475467;
	--muted:        #667085;
	--line:         #e4e7ec;
	--surface:      #ffffff;
	--surface-2:    #f7f9fc;
	--ok:           #16a34a;
	--warn:         #d97706;
	--danger:       #dc2626;
	--radius:       12px;
	--shadow-sm:    0 1px 2px rgba(16,24,40,.06);
	--shadow-md:    0 6px 18px -6px rgba(16,24,40,.18);
	display: flex;
	min-height: calc(100vh - 32px);
	background: var(--surface-2);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
}

/* ---------- Sidebar ---------- */
.tsm-sidebar {
	width: 240px;
	flex: 0 0 240px;
	background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
	color: #cfd8e6;
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 32px;
	align-self: flex-start;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}
@media screen and (max-width: 782px) {
	.tsm-sidebar { position: static; max-height: none; top: 0; }
	.tsm-app { flex-direction: column; }
}
.tsm-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 18px 18px 16px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.tsm-brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.tsm-brand-text { line-height: 1.05; }
.tsm-brand-text .tsm-brand-1 {
	display: block; font-weight: 700; font-size: 13px; color: #fff; letter-spacing: .2px;
}
.tsm-brand-text .tsm-brand-2 {
	display: block; font-weight: 800; font-size: 13px; color: var(--brand-2); letter-spacing: 1.5px;
}
.tsm-nav { padding: 10px 8px; flex: 1; }
.tsm-nav-section {
	font-size: 10px; font-weight: 700; letter-spacing: 1.2px; color: #6f86a8;
	text-transform: uppercase; padding: 14px 12px 6px;
}
.tsm-nav a {
	display: flex; align-items: center; gap: 10px;
	padding: 9px 12px; border-radius: 8px;
	color: #cfd8e6; text-decoration: none; font-size: 13px; font-weight: 500;
	transition: background .15s, color .15s;
}
.tsm-nav a .dashicons { font-size: 17px; width: 17px; height: 17px; }
.tsm-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.tsm-nav a.is-active {
	background: var(--brand);
	color: #fff;
	box-shadow: 0 1px 0 rgba(0,0,0,.1) inset;
}
.tsm-nav a .tsm-pro-badge {
	margin-left: auto; padding: 1px 6px; font-size: 9px; background: #f6c000; color: #2a2a2a;
	border-radius: 999px; font-weight: 800; letter-spacing: .5px;
}
.tsm-sidebar-foot {
	padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.08);
	font-size: 11px; color: #93a4be;
}
.tsm-sidebar-foot a { color: var(--brand-2); text-decoration: none; }

/* ---------- Main / topbar ---------- */
.tsm-main { flex: 1; min-width: 0; }
.tsm-topbar {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 28px;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}
.tsm-topbar h1 {
	font-size: 20px; font-weight: 700; margin: 0; color: var(--ink); padding: 0;
}
.tsm-topbar-meta { color: var(--muted); font-size: 12px; }
.tsm-content { padding: 24px 28px 60px; }

.tsm-setup-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
	padding: 14px 16px;
	background: #eef4ff;
	border: 1px solid #cfe0ff;
	border-left: 4px solid var(--brand);
	border-radius: 10px;
	box-shadow: var(--shadow-sm);
}
.tsm-setup-banner-main {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	color: #1d2939;
	font-size: 13px;
}
.tsm-setup-banner-kicker {
	padding: 2px 8px;
	border-radius: 999px;
	background: #fff;
	color: var(--brand);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.tsm-setup-banner-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
@media screen and (max-width: 782px) {
	.tsm-setup-banner { align-items: flex-start; flex-direction: column; }
}

/* ---------- Stat cards ---------- */
.tsm-cards {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px;
	margin-bottom: 24px;
}
.tsm-card {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 18px 18px 16px; box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column; gap: 4px; position: relative;
}
.tsm-card-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.tsm-card-num { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.tsm-card-sub { font-size: 12px; color: var(--ink-2); }
.tsm-card-icon {
	position: absolute; top: 16px; right: 16px;
	width: 36px; height: 36px; border-radius: 10px;
	background: rgba(31,111,235,.1); color: var(--brand);
	display: flex; align-items: center; justify-content: center;
}
.tsm-card-icon .dashicons { font-size: 20px; width: 20px; height: 20px; }

/* ---------- Panels ---------- */
.tsm-panel {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.tsm-panel-h {
	display: flex; align-items: center; justify-content: space-between;
	margin: 0 0 14px;
}
.tsm-panel-h h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.tsm-panel form .form-table th { color: var(--ink-2); font-weight: 600; }

/* ---------- Tables ---------- */
.tsm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tsm-table thead th {
	text-align: left; padding: 10px 12px; background: var(--surface-2);
	color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
	border-bottom: 1px solid var(--line);
}
.tsm-table tbody td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.tsm-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Status pills ---------- */
.tsm-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.tsm-pill-pending { background: #fef3c7; color: #92400e; }
.tsm-pill-graded  { background: #dcfce7; color: #166534; }
.tsm-pill-late    { background: #fee2e2; color: #991b1b; }
.tsm-pill-info    { background: #dbeafe; color: #1e40af; }

/* ---------- Chart container ---------- */
.tsm-chart-wrap { position: relative; height: 240px; }

/* ---------- Promo / pro upgrade ---------- */
.tsm-promo {
	background: linear-gradient(135deg, #eef4ff 0%, #f9fbff 100%);
	border: 1px solid #cdd9f0; border-radius: var(--radius); padding: 22px;
}
.tsm-promo h2 { margin: 0 0 6px; color: var(--navy); font-size: 18px; }
.tsm-promo p  { margin: 6px 0; color: var(--ink-2); }

.tsm-pro-badge {
	display: inline-block; padding: 1px 8px; background: #f6c000; color: #2a2a2a;
	border-radius: 999px; font-size: 10px; font-weight: 800; margin-left: 6px;
	vertical-align: middle; letter-spacing: .5px; text-transform: uppercase;
}
.tsm-upgrade-notice {
	background: #fffaf0; border: 1px solid #f1d99c; padding: 18px;
	border-radius: var(--radius); margin: 0 0 16px;
}

/* ---------- Trust bar ---------- */
.tsm-trustbar {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
	gap: 16px; margin-top: 24px; padding: 18px;
	background: var(--navy); color: #cfd8e6; border-radius: var(--radius);
}
.tsm-trustbar div { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.tsm-trustbar .dashicons { color: var(--brand-2); font-size: 22px; width: 22px; height: 22px; }

/* ---------- Forms quality-of-life ---------- */
.tsm-panel input[type="text"],
.tsm-panel input[type="email"],
.tsm-panel input[type="number"],
.tsm-panel input[type="date"],
.tsm-panel select,
.tsm-panel textarea {
	border-radius: 8px;
}

.tsm-gradebook input { text-align: right; }

/* v1.9.6  -  Sub-tab nav spacing on tabbed admin pages (Students, etc.). */
.tsm-app-page .nav-tab-wrapper.tsm-subtabs { margin: 6px 0 18px; }
.tsm-app-page .nav-tab-wrapper.tsm-subtabs .nav-tab { font-size: 13px; padding: 6px 14px; }

/* v1.9.9  -  Attendance pill toggles */
.tsm-att-pills { display:inline-flex; gap:4px; flex-wrap:wrap; }
.tsm-att-pill { display:inline-flex; align-items:center; padding:4px 10px; border:1px solid #c3c4c7; border-radius:999px; cursor:pointer; background:#fff; font-size:12px; font-weight:500; color:#3c434a; transition:all .12s ease; }
.tsm-att-pill input { position:absolute; opacity:0; pointer-events:none; }
.tsm-att-pill:hover { background:#f0f0f1; }
.tsm-att-pill.is-active { color:#fff; border-color:transparent; }
.tsm-att-pill.att-present  { background:#1d854a; border-color:#1d854a; color:#fff; }
.tsm-att-pill.att-absent   { background:#b32d2d; border-color:#b32d2d; color:#fff; }
.tsm-att-pill.att-tardy    { background:#dba617; border-color:#dba617; color:#1d2327; }
.tsm-att-pill.att-excused  { background:#2271b1; border-color:#2271b1; color:#fff; }

/* v1.18.4  -  Gradebook polish: per-row striping (not per-column), brand-colored header */
.tsm-gradebook { --tsm-gb-brand: #1f6feb; border-collapse: separate; border-spacing: 0; width: 100%; }
.tsm-gradebook-scroll { background:#fff; }
.tsm-gradebook input[type=number] { padding:4px 6px; }
.tsm-gradebook th.tsm-gb-head { background: var(--tsm-gb-brand); color:#fff; text-align:center; white-space:nowrap; min-width:90px; padding:8px 10px; border-bottom:1px solid rgba(0,0,0,.08); font-weight:600; }
.tsm-gradebook th.tsm-gb-head small { color:#fff; opacity:.9; }
.tsm-gradebook th.tsm-gb-total { text-align:right; min-width:110px; }
.tsm-gradebook tbody tr td { background:#fff; padding:6px 8px; border-top:1px solid #f0f0f1; }
.tsm-gradebook tbody tr:nth-child(even) td { background:#f6f7f7; }
.tsm-gradebook td.tsm-gb-cell { text-align:center; }
.tsm-gradebook td.tsm-gb-name { font-weight:600; min-width:200px; }
.tsm-gradebook td.tsm-gb-total-cell { text-align:right; font-weight:600; }
.tsm-gradebook .tsm-gb-sticky { position:sticky; left:0; z-index:1; box-shadow:1px 0 0 #e0e0e0; }
.tsm-gradebook th.tsm-gb-sticky { z-index:2; }

/* v1.10.33  -  About page + dashboard polish */
.tsm-about-hero { display:flex; flex-wrap:wrap; gap:24px; align-items:center; padding:24px; }
.tsm-about-hero-text { flex:1 1 360px; }
.tsm-about-hero-text h2 { font-size:22px; margin:0 0 6px; }
.tsm-about-tag { color:#475467; font-size:14px; max-width:60ch; margin:0 0 12px; }
.tsm-about-hero-meta { display:grid; grid-template-columns:auto 1fr; gap:6px 16px; min-width:240px; padding:14px 16px; background:#f8fafc; border:1px solid #e5e7eb; border-radius:8px; font-size:13px; }
.tsm-about-hero-meta strong { color:#0f172a; font-weight:600; white-space:nowrap; }
.tsm-about-hero-meta span { color:#475467; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.tsm-about-hero-meta > div { display:contents; }
.tsm-about-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:980px){ .tsm-about-grid { grid-template-columns:1fr; } }
.tsm-feature-list { margin:0; padding:0 0 0 18px; line-height:1.7; }
.tsm-feature-list li { margin-bottom:6px; }
.tsm-steps { margin:0; padding:0 0 0 20px; line-height:1.9; }
.tsm-panel-body { padding:18px 20px; }

/* Status pills (replaces inline pill styles) */
.tsm-status-pill { display:inline-block; padding:2px 10px; border-radius:9999px; font-size:11px; font-weight:600; line-height:1.6; }
.tsm-status-new      { background:#dbeafe; color:#1e40af; }
.tsm-status-review   { background:#fef3c7; color:#92400e; }
.tsm-status-approved { background:#dcfce7; color:#166534; }
.tsm-status-denied   { background:#fee2e2; color:#991b1b; }
.tsm-status-default  { background:#e5e7eb; color:#374151; }

.tsm-panel-h-row { display:flex; justify-content:space-between; align-items:center; }
.tsm-muted { color:#6b7280; }
.tsm-empty { color:#667085; padding:8px 0; }

/* v1.17.4  -  Student edit two-column layout */
.tsm-student-edit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.tsm-student-edit-grid .tsm-student-edit-main { min-width: 0; }
.tsm-student-edit-grid .tsm-student-edit-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tsm-student-edit-grid .tsm-student-edit-side .tsm-panel,
.tsm-student-edit-grid .tsm-student-edit-side > .card,
.tsm-student-edit-grid .tsm-student-edit-side > div { margin: 0; }
@media (max-width: 1100px) { .tsm-student-edit-grid { grid-template-columns: 1fr; } }

/* v1.17.6  -  Student profile header + sidebar cards */
.tsm-student-header { display:flex; gap:18px; align-items:center; background:#fff; border:1px solid #e2e6ea; border-radius:8px; padding:16px 20px; box-shadow:0 1px 2px rgba(0,0,0,.03); margin-top:8px; }
.tsm-student-header__photo img { width:72px; height:72px; border-radius:50%; object-fit:cover; border:2px solid #e2e6ea; display:block; }
.tsm-student-header__initials { width:72px; height:72px; border-radius:50%; background:#1f6feb; color:#fff; font-size:26px; font-weight:600; display:flex; align-items:center; justify-content:center; }
.tsm-student-header__main { flex:1; min-width:0; }
.tsm-student-header__main h1 { margin:0 0 4px; font-size:22px; line-height:1.3; }
.tsm-student-header__meta { display:flex; flex-wrap:wrap; gap:14px; color:#4b5563; font-size:13px; margin-bottom:6px; }
.tsm-student-header__meta .dashicons { font-size:16px; width:16px; height:16px; vertical-align:text-bottom; color:#6b7280; }
.tsm-student-header__stats { display:flex; gap:18px; font-size:13px; color:#374151; }
.tsm-student-header__stats strong { font-size:16px; color:#111827; }

.tsm-side-card { background:#fff; border:1px solid #e2e6ea; border-radius:8px; box-shadow:0 1px 2px rgba(0,0,0,.03); overflow:hidden; }
.tsm-side-card__head { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; border-bottom:1px solid #eef0f2; background:#fafbfc; }
.tsm-side-card__head h3 { margin:0; font-size:13px; text-transform:uppercase; letter-spacing:.04em; color:#374151; }
.tsm-side-card__link { font-size:12px; text-decoration:none; }
.tsm-side-card__body { padding:6px 16px; }
.tsm-side-card--danger { border-color:#f0c2c2; }
.tsm-side-card--danger .tsm-side-card__head { background:#fff8f8; border-bottom-color:#f0c2c2; }
.tsm-side-card--danger .tsm-side-card__head h3 { color:#a02828; }

.tsm-side-row { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; padding:10px 0; border-bottom:1px solid #f1f3f5; }
.tsm-side-row:last-child { border-bottom:0; }
.tsm-side-row__main { min-width:0; flex:1; }
.tsm-side-row__main strong { font-size:13px; }
.tsm-side-row__sub { font-size:12px; color:#6b7280; margin-top:3px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.tsm-side-row__amount { text-align:right; font-size:13px; white-space:nowrap; }

/* ===== Polished entry-form layout (v1.19.30) =====
   Used by Add/Edit Student today; reuse on Add Class / Program / Teacher / Assignment
   by wrapping the form in .tsm-entry-form and using .tsm-form-section + .tsm-form-grid.
*/
.tsm-entry-form { max-width: 980px; }
.tsm-entry-form .tsm-form-section {
	background:#fff; border:1px solid #e5e7eb; border-radius:10px;
	padding:18px 22px 20px; margin:16px 0;
	box-shadow:0 1px 2px rgba(15,23,42,.04);
}
.tsm-entry-form .tsm-form-section-head {
	display:flex; gap:12px; align-items:flex-start;
	border-bottom:1px solid #f1f5f9; padding-bottom:12px; margin-bottom:16px;
}
.tsm-entry-form .tsm-form-section-head .dashicons {
	font-size:22px; width:22px; height:22px; color:#2271b1; margin-top:2px;
}
.tsm-entry-form .tsm-form-section-head h3 {
	margin:0 0 2px; font-size:15px; font-weight:600; color:#0f172a;
}
.tsm-entry-form .tsm-form-section-head p {
	margin:0; color:#64748b; font-size:13px;
}
.tsm-entry-form .tsm-form-grid {
	display:grid; grid-template-columns:repeat(2, minmax(0,1fr));
	gap:14px 22px;
}
.tsm-entry-form .tsm-field { display:flex; flex-direction:column; gap:5px; }
.tsm-entry-form .tsm-field-wide { grid-column:1 / -1; }
.tsm-entry-form .tsm-field label {
	font-size:12px; font-weight:600; color:#334155;
	text-transform:uppercase; letter-spacing:.02em;
}
.tsm-entry-form .tsm-field input[type=text],
.tsm-entry-form .tsm-field input[type=email],
.tsm-entry-form .tsm-field input[type=url],
.tsm-entry-form .tsm-field input[type=password],
.tsm-entry-form .tsm-field input:not([type]),
.tsm-entry-form .tsm-field select,
.tsm-entry-form .tsm-field textarea {
	width:100%; max-width:none;
}
.tsm-entry-form .tsm-req { color:#dc2626; font-weight:700; }
.tsm-entry-form .tsm-optional { color:#94a3b8; font-weight:400; font-size:12px; }
.tsm-entry-form .tsm-form-actions {
	display:flex; gap:10px; align-items:center; margin-top:18px;
	padding:14px 22px; background:#f8fafc;
	border:1px solid #e5e7eb; border-radius:10px;
}
.tsm-entry-form .tsm-extra-fields { margin:0; }
.tsm-entry-form .tsm-extra-fields th { padding-left:0; }
@media (max-width:782px) {
	.tsm-entry-form .tsm-form-grid { grid-template-columns:1fr; }
}

/* v1.19.43  -  per-assignment grade entry (admin) */
.tsm-grade-entry-scroll{overflow-x:auto;border:1px solid #ddd;border-radius:6px;background:#fff;}
.tsm-grade-entry{margin:0;min-width:1048px;}
.tsm-grade-entry th{background:#f3f4f6;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#555;}
.tsm-grade-entry td{vertical-align:middle;}
.tsm-grade-entry input[type=number]{width:96px;}
.tsm-grade-entry input[type=date].tsm-ge-submitted{width:126px !important;min-width:126px;box-sizing:border-box;}
.tsm-grade-entry input[type=text]{width:100%;min-width:160px;}
.tsm-grade-entry .tsm-ge-total,.tsm-grade-entry .tsm-ge-pct{font-weight:600;text-align:right;font-variant-numeric:tabular-nums;}
.tsm-grade-entry .tsm-ge-counts{text-align:center;color:#555;font-size:12px;}
.tsm-grade-row[data-status=ungraded]{--tsm-grade-row-bg:#ffffff;}
.tsm-grade-row[data-status=completed_ontime]{--tsm-grade-row-bg:#f1f8f3;}
.tsm-grade-row[data-status=completed_late]{--tsm-grade-row-bg:#fff8e6;}
.tsm-grade-row[data-status=incomplete],
.tsm-grade-row[data-status=missing]{--tsm-grade-row-bg:#fdf1f1;}
.tsm-grade-row[data-status=excused],
.tsm-grade-row[data-status=excluded]{--tsm-grade-row-bg:#f3f4f6;color:#777;}
.tsm-grade-row{background:var(--tsm-grade-row-bg, #ffffff) !important;}
.tsm-grade-row td{background:var(--tsm-grade-row-bg, transparent) !important;}
.tsm-grade-row select,
.tsm-grade-row input[type=date],
.tsm-grade-row input[type=number],
.tsm-grade-row input[type=text],
.tsm-grade-row textarea{
  background-color:var(--tsm-grade-row-bg, #ffffff) !important;
  box-shadow:inset 0 0 0 999px var(--tsm-grade-row-bg, #ffffff) !important;
}
.tsm-gradebook .tsm-gb-cell[data-status=excused],
.tsm-gradebook .tsm-gb-cell[data-status=excluded]{color:#888;font-style:italic;}
.tsm-gradebook .tsm-gb-cell[data-status=missing],
.tsm-gradebook .tsm-gb-cell[data-status=incomplete]{color:#b32d2d;}
@media (max-width:782px){
  .tsm-grade-entry{min-width:0;}
  .tsm-grade-entry thead{display:none;}
  .tsm-grade-entry,.tsm-grade-entry tbody,.tsm-grade-entry tr,.tsm-grade-entry td{display:block;width:100%;}
  .tsm-grade-entry tr{border:1px solid #ddd;border-radius:8px;margin:10px 0;padding:8px;background:#fff;}
  .tsm-grade-entry td{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 4px;border:0;}
  .tsm-grade-entry td:before{content:attr(data-label);font-weight:600;font-size:12px;text-transform:uppercase;color:#666;}
  .tsm-grade-entry input[type=number],.tsm-grade-entry input[type=date],.tsm-grade-entry input[type=text]{width:auto;max-width:60%;}
}

/* Row-action grouping + status pills for list tables (v1.19.40+) */
.tsm-row-actions{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;}
.tsm-status-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.6;}
.tsm-status-pill--active{background:#e0f2fe;color:#075985;}
.tsm-status-pill--done{background:#dcfce7;color:#166534;}
.tsm-pill{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:500;line-height:1.6;}
.tsm-pill--muted{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;}
.tsm-pill .dashicons{font-size:14px;width:14px;height:14px;line-height:14px;}
