/* Trial revision page (/trials/<subject>), layered on mc.css + tk.css (same tokens and components). */

.tr-head { padding-bottom: 0; }
.tr-confirmed { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); background: var(--ok-bg); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); }
.tr-confirmed .ic { color: var(--ok); font-weight: 800; }
.tr-datenote { max-width: 62rem; margin-top: 14px; font-size: 14px; }

.tr-papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; max-width: 980px; }
.tr-paper { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); display: grid; gap: 6px; }
.tr-paper-top { display: flex; gap: 10px; align-items: baseline; }
.tr-paper-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--subj) 70%, white); }
.tr-paper-name { font-size: 17px; font-weight: 650; }
.tr-paper-mid { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.tr-count { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.tr-when { font-size: 14px; color: var(--text-2); }
.tr-paper-meta, .tr-paper-note, .tr-paper-last { margin: 0; font-size: 13px; color: var(--muted); }
.tr-paper-note { color: var(--text-2); }

.tr-tabs button { white-space: nowrap; }
.tr-body { margin-top: 6px; }
.tr-card { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); margin-bottom: 16px; min-width: 0; }
.tr-chip { display: inline-flex; align-items: center; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line-2); white-space: nowrap; }
.tr-chip.is-ess { color: #ffd60a; border-color: rgba(255, 214, 10, 0.35); background: rgba(255, 214, 10, 0.08); }
.tr-chip-micro, .tr-chip-macro { color: color-mix(in srgb, var(--subj) 70%, white); border-color: color-mix(in srgb, var(--subj) 40%, transparent); }
.tr-link { color: var(--text); font-size: 13.5px; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--subj) 55%, transparent); }
.tr-link:hover { border-bottom-color: var(--text); }

/* plan */
.tr-plan { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.tr-plan-side { position: sticky; top: 72px; max-height: calc(100vh - 90px); overflow: auto; scrollbar-width: thin; }
.tr-next { border-color: color-mix(in srgb, var(--subj) 45%, transparent); background: color-mix(in srgb, var(--subj) 6%, var(--surface)); }
.tr-next.is-late { border-color: rgba(255, 159, 10, 0.5); }
.tr-next-top { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.tr-when-tag { margin-left: auto; font-size: 13px; color: var(--muted); }
.tr-when-tag.is-late { color: #ffb340; }
.tr-next-title { margin: 12px 0 0; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.tr-next-why { margin: 8px 0 0; color: var(--text-2); font-size: 15px; max-width: 70ch; }
.tr-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.tr-step { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); }
.tr-step-k { font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--subj) 70%, white); padding-top: 3px; }
.tr-step-k::before { counter-increment: st; content: counter(st) '. '; color: var(--faint); }
.tr-step-t p { margin: 0; font-size: 15px; }
.tr-step-act { margin-top: 8px; }
.tr-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tr-links .mono { font-size: 11.5px; color: var(--faint); }
.tr-next-foot { margin-top: 14px; align-items: center; }
.tr-stage { margin-top: 12px; }
.tr-stage:empty { display: none; }
.tr-alldone p { margin: 6px 0 0; color: var(--text-2); }

.tr-strategy .tr-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 10px; }
.tr-bar { display: flex; height: 30px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); }
.tr-bar i { display: flex; align-items: center; padding: 0 10px; font-style: normal; font-size: 12.5px; font-weight: 600; background: color-mix(in srgb, var(--subj) 45%, var(--surface-2)); color: var(--text); white-space: nowrap; overflow: hidden; }
.tr-bar i.b { background: color-mix(in srgb, #ff9f0a 35%, var(--surface-2)); }
.tr-marks { margin-top: 10px; }
.tr-marks li { font-size: 14.5px; }
.tr-time { width: 100%; font-size: 14px; margin-top: 6px; }
.tr-time th { white-space: nowrap; color: var(--muted); font-weight: 500; vertical-align: top; }
.tr-ordertip { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }

.tr-run-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.tr-run-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.tr-run-row { width: 100%; display: grid; grid-template-columns: 14px 78px minmax(0, 1fr); gap: 8px; align-items: baseline; text-align: left; padding: 7px 8px; border-radius: 10px; border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px; cursor: pointer; }
.tr-run-row:hover { background: var(--surface-2); color: var(--text); }
.tr-run-row.is-current { background: color-mix(in srgb, var(--subj) 14%, var(--surface-2)); color: var(--text); }
.tr-run-row.is-today .tr-run-date { color: var(--text); font-weight: 600; }
.tr-run-row.is-late .tr-run-date { color: #ffb340; }
.tr-run-row.is-done { opacity: 0.6; }
.tr-run-row.is-done .tk-tick { background: var(--ok); border-color: var(--ok); }
.tr-run-date { font-size: 11.5px; color: var(--faint); }
.tr-run-t { display: grid; gap: 1px; }
.tr-run-sub { font-size: 11.5px; color: var(--faint); }
.tr-run-paper { padding: 8px 8px; font-size: 12.5px; font-weight: 650; color: #ff9f0a; }
.tr-run-note { margin-top: 10px; }

/* on the paper */
.tr-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tr-scope-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.tr-scope-head h2 { margin: 0; font-size: 21px; letter-spacing: -0.01em; }
.tr-spec { padding: 12px 0; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
.tr-spec-top { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.tr-spec-code { font-size: 12.5px; color: color-mix(in srgb, var(--subj) 70%, white); }
.tr-spec-name { font-weight: 600; font-size: 15px; }
.tr-spec-w { font-size: 12px; color: var(--faint); white-space: nowrap; }
.tr-spec-need { margin: 0; font-size: 13.5px; color: var(--muted); }
.tr-spec-bar { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.tr-spec-bar i { display: block; height: 100%; background: var(--line-3); }
.tr-spec-bar i.is-good { background: var(--ok); } .tr-spec-bar i.is-mid { background: #ffd60a; } .tr-spec-bar i.is-low { background: var(--bad); }
.tr-spec-foot { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.tr-spec-links { margin-left: auto; display: inline-flex; gap: 10px; align-items: center; }
.tr-lvl { font-size: 11.5px; padding: 2px 8px; }
.tr-noton-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.tr-noton-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px; font-size: 14px; color: var(--text-2); }
.tr-noton-list .mono { font-size: 12.5px; color: #ffd60a; }

/* practise */
.tr-modes { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.tr-modes .tk-mode { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.tr-modes .tk-mode-ctl { min-width: 0; }
.tr-modes .seg { max-width: 100%; flex-wrap: wrap; }
.tr-select { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; padding: 6px 10px; font: inherit; font-size: 13.5px; width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.tr-drlist { display: grid; gap: 6px; width: 100%; }
.tr-dr { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; }
.tr-dr:hover { border-color: color-mix(in srgb, var(--subj) 50%, transparent); }
.tr-paper-bar { position: sticky; top: 0; z-index: 7; }
.tr-info { margin-right: 8px; }
.tr-sec-h { margin: 26px 0 8px; font-size: 19px; }
.tr-secA { display: grid; gap: 10px; }
.tr-mcq { padding: 14px 16px; }
.tr-mcq-head { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.tr-mcq-n { font-size: 13px; color: var(--faint); }
.tr-flag { margin-left: auto; width: 30px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--faint); cursor: pointer; font-size: 14px; }
.tr-flag[aria-pressed="true"] { color: #ff9f0a; border-color: rgba(255, 159, 10, 0.6); background: rgba(255, 159, 10, 0.08); }
.tr-opts .q-opt[aria-pressed="true"] { border-color: color-mix(in srgb, var(--subj) 70%, white); background: color-mix(in srgb, var(--subj) 14%, var(--surface-2)); }
.tr-mcq.is-ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.tr-mcq.is-bad { border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.tr-sum { margin: 16px 0; }
.tr-next-step { margin: 12px 0 0; font-size: 14.5px; }
.tr-weak-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.tr-weak-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; font-size: 14px; }

/* know it cold */
.tr-formulas { margin: 8px 0 16px; }
.tr-diagrams { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 8px 0 14px; }
.tr-diagram { margin: 0; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; gap: 6px; align-content: start; }
.tr-diagram h4 { margin: 0; font-size: 15px; }
.tr-diagram .tk-fig { margin: 0; }
.tr-diagram figcaption { display: grid; gap: 4px; }
.tr-diag-use { margin: 0; font-size: 13px; color: var(--muted); }
.tr-diag-chain { margin: 0; font-size: 12px; color: var(--text-2); }
.tr-flashwrap { margin-top: 10px; }

/* how to answer */
.tr-how .tk-split { margin-top: 4px; }

/* record */
.tr-mocks { width: 100%; }
.tr-mist-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.tr-mist-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, 0.8fr); gap: 10px; font-size: 13.5px; color: var(--text-2); }
.tr-fix { color: var(--text); }

/* ---------- structured papers with a diagnostic first (trial-structured.js: Biology) ---------- */
.trs .tr-chip-p { color: color-mix(in srgb, var(--subj) 70%, white); border-color: color-mix(in srgb, var(--subj) 40%, transparent); }
.tr-chip.is-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: var(--ok-bg); }
.tr-st { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--line-2); color: var(--muted); background: var(--surface-2); }
.tr-st.st-gap { color: #ff8a80; border-color: rgba(255, 105, 97, 0.45); background: rgba(255, 105, 97, 0.1); }
.tr-st.st-misc { color: #ffb340; border-color: rgba(255, 159, 10, 0.5); background: rgba(255, 159, 10, 0.1); }
.tr-st.st-shaky { color: #ffd60a; border-color: rgba(255, 214, 10, 0.4); background: rgba(255, 214, 10, 0.08); }
.tr-st.st-secure, .tr-st.st-fixed { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: var(--ok-bg); }
/* diagnostic */
.tr-dx-title { margin: 8px 0 0; font-size: 24px; letter-spacing: -0.02em; }
.tr-dx-lede { margin: 8px 0 0; color: var(--text-2); max-width: 75ch; }
.tr-dx-rules { margin-top: 10px; }
.tr-dx-rules li { font-size: 14.5px; }
.tr-dx-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tr-dx-part.is-done { border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.tr-dx-ptitle { margin: 10px 0 4px; font-size: 20px; }
.tr-dx-stage { margin-bottom: 16px; }
.tr-sec-note { margin: -2px 0 10px; }
.tr-conf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line-2); }
.tr-conf-k { font-size: 12px; color: var(--muted); margin-right: 2px; }
.tr-conf-b { font: inherit; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; }
.tr-conf-b:hover { border-color: var(--line-3); color: var(--text); }
.tr-conf-b.is-sure[aria-pressed="true"] { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 55%, transparent); background: var(--ok-bg); }
.tr-conf-b.is-unsure[aria-pressed="true"] { color: #ffd60a; border-color: rgba(255, 214, 10, 0.5); background: rgba(255, 214, 10, 0.08); }
.tr-conf-b.is-none[aria-pressed="true"] { color: #ff8a80; border-color: rgba(255, 105, 97, 0.5); background: rgba(255, 105, 97, 0.1); }
.tr-conf-b:disabled { cursor: default; opacity: 0.75; }
/* profile and area rows */
.tr-prof { margin-top: 8px; }
.tr-prof-col h3 { margin: 0; font-size: 18px; }
.tr-prof-note { margin: 0 0 16px; }
.tr-arow-top { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; text-align: left; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.tr-arow-top .tr-spec-name { flex: 1 1 200px; }
.tr-arow-top:hover .tr-spec-name { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--subj) 55%, transparent); text-underline-offset: 3px; }
.tr-area-holder:empty { display: none; }
.tr-area { display: grid; gap: 12px; padding: 14px; margin-top: 6px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); min-width: 0; }
.tr-area-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tr-area-sec { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
.tr-area-sec > div > .q-meta { margin: 0 0 6px; }
.tr-area-tys { display: grid; gap: 10px; }
.tr-area-ty { padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); min-width: 0; }
.tr-area-ty-h { display: flex; gap: 8px; align-items: baseline; font-weight: 600; font-size: 14.5px; }
.tr-area-ty .q-meta { margin: 4px 0 0; }
.tr-area-ty .q-actions { margin-top: 8px; flex-wrap: wrap; align-items: center; }
.tr-area-foot { align-items: center; flex-wrap: wrap; }
.tr-step-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tr-area-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer; text-align: left; max-width: 100%; }
.tr-area-btn:hover { border-color: color-mix(in srgb, var(--subj) 55%, transparent); }
.tr-abar { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tr-rt-h { margin-top: 16px; }
.tr-rec-area { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
/* plan */
.tr-phases { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tr-phase { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.tr-phase.is-live { border-color: color-mix(in srgb, var(--subj) 55%, transparent); background: color-mix(in srgb, var(--subj) 7%, var(--surface)); }
.tr-phase.is-done { opacity: 0.7; }
.tr-phase-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--line-2); }
.tr-phase.is-live .tr-phase-n { background: color-mix(in srgb, var(--subj) 40%, var(--surface-2)); }
.tr-phase strong { display: block; font-size: 14.5px; }
.tr-phase .q-meta { display: block; font-size: 12px; }
.tr-phase-t { margin: 4px 0 0; font-size: 13px; color: var(--text-2); }
.tr-run-phase { padding: 10px 8px 2px; font-size: 11.5px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: color-mix(in srgb, var(--subj) 70%, white); }
.tr-run-areas { font-size: 11.5px; color: var(--text-2); }
.tr-why-list li { font-size: 14.5px; }
.tr-why-refs { margin: 10px 0 0; }
/* the papers */
.tr-fmt th[scope="row"] { white-space: nowrap; color: var(--muted); font-weight: 500; }
.tr-an-lede { margin: 0 0 12px; color: var(--text-2); max-width: 80ch; }
.tr-an-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.tr-an-stat { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); align-content: start; }
.tr-an-big { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: color-mix(in srgb, var(--subj) 70%, white); }
.tr-an-paper { margin-top: 10px; }
.tr-an-table td, .tr-an-table th { font-size: 13.5px; vertical-align: top; }
.tr-an-bars { margin-top: 10px; }
.tr-an-take li { font-size: 14.5px; }
/* how to answer */
.tr-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.tr-check { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); min-width: 0; }
.tr-check h3 { margin: 0 0 6px; font-size: 16px; }
.tr-check li { font-size: 14px; }
.tr-last h3 { margin: 0 0 6px; font-size: 17px; }
.tr-last li { font-size: 14.5px; }

@media (max-width: 1100px) {
  .tr-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-an-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .tr-dx-parts, .tr-phases { grid-template-columns: minmax(0, 1fr); }
  .tr-area-sec { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tr-an-big { font-size: 22px; }
}

@media (max-width: 1100px) {
  .tr-plan { grid-template-columns: minmax(0, 1fr); }
  .tr-plan-side { position: static; max-height: none; }
  .tr-scope { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .tr-papers { grid-template-columns: minmax(0, 1fr); }
  .tr-strategy .tr-split { grid-template-columns: minmax(0, 1fr); }
  .tr-step { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tr-noton-list li, .tr-mist-list li, .tr-weak-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tr-spec-top { grid-template-columns: 58px minmax(0, 1fr); }
  .tr-spec-w { grid-column: 2; }
  .tr-tabs { overflow-x: auto; max-width: 100%; }
  .tr-next-title { font-size: 22px; }
  .tr-when-tag { margin-left: 0; width: 100%; }
}

/* Physics (16 Nov 2026): the department's practice sets and the Learn by heart drill (trial-structured.js) */
.tr-set-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 10px; margin-top: 8px; }
.tr-set { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); min-width: 0; }
.tr-set-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.tr-set-id { color: var(--subj); font-weight: 650; }
.tr-set-what { margin: 6px 0 8px; font-size: 14px; color: var(--text-2, var(--text)); }
.tr-set-score { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tr-set-mark { display: inline-block; margin-top: 10px; }
.tr-set-in { width: 5.5em; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; padding: 5px 8px; font: inherit; font-size: 14px; }
.tr-heart-card { max-width: 760px; }
.tr-heart-term { margin: 8px 0 10px; font-size: 22px; }
.tr-heart-in { width: 100%; box-sizing: border-box; min-height: 74px; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; resize: vertical; }
.tr-heart-ans { margin-top: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); }
.tr-heart-def { margin: 0; font-size: 15.5px; line-height: 1.5; }
.tr-heart-table th[scope="row"] { white-space: nowrap; }
@media (max-width: 720px) { .tr-heart-table th[scope="row"] { white-space: normal; } .tr-set-rows { grid-template-columns: 1fr; } }
.tr-pattern .q-actions .btn, .tr-step-act .btn { white-space: normal; max-width: 100%; height: auto; text-align: left; }
