/* Match the production Hydro theme without depending on the test site's theme addon. */
.tc-page{
  --tc-ink:#444;
  --tc-muted:#777;
  --tc-surface:#fff;
  --tc-surface-soft:#f5f5f5;
  --tc-surface-warm:#fff9ec;
  --tc-line:#e1e4e8;
  --tc-line-strong:#bdc5ce;
  --tc-accent:#337ab7;
  --tc-accent-hover:#286090;
  --tc-accent-soft:#edf5fc;
  --tc-primary:#5f9fd6;
  --tc-primary-hover:#4b8cc4;
  --tc-on-accent:#fff;
  --tc-success:#269b48;
  --tc-danger:#d9534f;
  --tc-focus:rgba(95,159,214,.3);
  --tc-shadow-panel:0 5px 16px rgba(35,50,65,.08);
  --tc-radius-control:4px;
  --tc-radius-panel:8px;
}
:root.theme--dark .tc-page,:root[data-mantine-color-scheme="dark"] .tc-page{
  --tc-ink:#dedede;
  --tc-muted:#b4b4b4;
  --tc-surface:#262626;
  --tc-surface-soft:#303030;
  --tc-surface-warm:#332d23;
  --tc-line:#424242;
  --tc-line-strong:#606060;
  --tc-accent:#8bbce5;
  --tc-accent-hover:#b1d3ef;
  --tc-accent-soft:#243647;
  --tc-primary:#5f9fd6;
  --tc-primary-hover:#4b8cc4;
  --tc-success:#6bc980;
  --tc-danger:#ed8582;
  --tc-shadow-panel:0 5px 16px rgba(0,0,0,.24);
}

.tc-page{max-width:1160px;margin:0 auto;padding:24px 24px 48px;color:var(--tc-ink);font-size:14px;line-height:1.65}

.tc-page *{box-sizing:border-box}
.tc-page [hidden]{display:none!important}
.tc-page a{color:var(--tc-accent);text-decoration:none}
.tc-page a:hover{text-decoration:none}
.tc-page h1,.tc-page h2,.tc-page h3,.tc-page p{margin:0}
.tc-page h1,.tc-page h2,.tc-page h3{color:var(--tc-ink)}
.tc-page h1{font-size:26px;font-weight:600;line-height:1.35;letter-spacing:normal;overflow-wrap:anywhere}
.tc-page h2{font-size:20px;font-weight:600;line-height:1.45}
.tc-page h3{font-size:18px;font-weight:600;line-height:1.55}
.tc-page button,.tc-page input,.tc-page select,.tc-page textarea{font:inherit}
.tc-page button{cursor:pointer}
.tc-page :focus-visible{outline:3px solid var(--tc-focus);outline-offset:3px}
.tc-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;margin-bottom:18px;background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:var(--tc-radius-panel)}
.tc-heading>div:not(.tc-actions){min-width:0;flex:1}
.tc-heading-with-breadcrumb{flex-wrap:wrap;row-gap:16px}
.tc-heading-with-breadcrumb>.tc-breadcrumb{flex-basis:100%;padding-bottom:12px;margin:0;border-bottom:1px solid var(--tc-line)}
.tc-heading p{color:var(--tc-muted);margin-top:6px;overflow-wrap:anywhere}
.tc-eyebrow{font-size:11px;letter-spacing:.14em;color:var(--tc-muted);font-weight:600;margin-bottom:8px}
.tc-heading-dot{display:inline-block;width:7px;height:7px;background:var(--tc-accent);margin-left:12px;vertical-align:middle}
.tc-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tc-actions form{margin:0}
.tc-button{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:7px 14px;border:1px solid var(--tc-line);border-radius:20px;background:var(--tc-surface);color:var(--tc-ink)!important;text-decoration:none;white-space:nowrap;line-height:1.4;transition:background 150ms,border-color 150ms}
.tc-button:hover{background:var(--tc-surface-soft);border-color:var(--tc-line-strong)}
.tc-button:disabled{cursor:wait;opacity:.6}
.tc-button.tc-primary{background:var(--tc-primary);border-color:var(--tc-primary);color:var(--tc-on-accent)!important}
.tc-button.tc-primary:hover{background:var(--tc-primary-hover);border-color:var(--tc-primary-hover)}
.tc-button.is-active{color:var(--tc-accent)!important;background:var(--tc-accent-soft);border-color:transparent}
.tc-button.tc-danger{color:var(--tc-danger)!important}
.tc-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.tc-category{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;column-gap:9px;padding:16px;min-width:0;min-height:66px;background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:var(--tc-radius-panel);color:var(--tc-ink)!important;font-weight:600;transition:background 160ms,border-color 160ms}
.tc-category-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;font-size:11px;font-variant-numeric:tabular-nums;background:var(--tc-surface-soft);color:var(--tc-muted);border-radius:var(--tc-radius-control)}
.tc-category-name{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.tc-category-count{min-width:24px;padding:1px 6px;font-size:11px;font-weight:500;text-align:center;color:var(--tc-muted);background:var(--tc-surface-soft);border-radius:var(--tc-radius-control);font-variant-numeric:tabular-nums}
.tc-category.is-active{color:var(--tc-accent)!important;border-color:var(--tc-accent);background:var(--tc-accent-soft)}
.tc-category.is-active .tc-category-number,.tc-category.is-active .tc-category-count{color:var(--tc-accent);background:var(--tc-surface)}
.tc-category:hover{border-color:var(--tc-line-strong);background:var(--tc-surface-soft)}
.tc-category.is-active:hover{border-color:var(--tc-accent);background:var(--tc-accent-soft)}
.tc-catalog-tools{padding:20px 22px;margin-bottom:18px}
.tc-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}
.tc-catalog-heading p,.tc-section-top p{color:var(--tc-muted);margin-top:6px}
.tc-search{display:flex;gap:8px;align-items:center;max-width:100%;margin:0}
.tc-search input{background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:var(--tc-radius-control);color:var(--tc-ink);min-width:0;width:240px;max-width:100%;padding:8px 12px;min-height:38px}
.tc-search .tc-input{width:auto;margin:0;max-width:170px}
.tc-series{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.tc-series a{padding:5px 12px;color:var(--tc-muted);border-radius:var(--tc-radius-control)}
.tc-series a.is-active{color:var(--tc-accent);background:var(--tc-accent-soft);font-weight:500}
.tc-series a:hover{background:var(--tc-surface-soft)}
.tc-result-line{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--tc-muted);font-size:12px;margin-top:16px;padding-top:12px;border-top:1px solid var(--tc-line)}
.tc-result-line>span{min-width:0;overflow-wrap:anywhere}
.tc-result-line>a{padding:4px 10px;border-radius:var(--tc-radius-control);background:var(--tc-surface-soft);white-space:nowrap}
.tc-result-line a{margin-left:8px}
.tc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tc-card{display:flex;flex-direction:column;min-width:0;padding:18px;background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:var(--tc-radius-panel);color:var(--tc-ink)!important;transition:border-color 160ms,box-shadow 160ms,transform 160ms}
.tc-card:hover{border-color:var(--tc-line-strong);box-shadow:var(--tc-shadow-panel);transform:translateY(-2px)}
.tc-card-kicker{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--tc-muted);font-size:13px;margin-bottom:8px}
.tc-saved{color:var(--tc-accent);white-space:nowrap}
.tc-card h3{font-size:17px;line-height:1.5;overflow-wrap:anywhere;margin-bottom:6px}
.tc-card-summary{color:var(--tc-muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.tc-card-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;margin-top:12px;padding-top:10px;border-top:1px solid var(--tc-line)}
.tc-card-count{color:var(--tc-muted);font-size:13px}
.tc-card-arrow{color:var(--tc-accent);font-size:18px;line-height:1}
.tc-progress-label{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-variant-numeric:tabular-nums;margin-bottom:6px}
.tc-progress-label>span:last-child{font-size:14px;font-weight:500}
.tc-progress{height:4px;background:var(--tc-line);border-radius:4px;overflow:hidden}
.tc-progress>span{display:block;height:100%;background:var(--tc-success);border-radius:4px}
.tc-muted,.tc-guest-note{color:var(--tc-muted)}
.tc-guest-note,.tc-unavailable{font-size:12px}
.tc-unavailable{display:block;margin-top:8px;color:var(--tc-muted)}
.tc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.tc-tags span{font-size:11px;line-height:1.5;background:var(--tc-surface-soft);color:var(--tc-muted);border-radius:4px;padding:3px 7px}
.tc-empty{grid-column:1/-1;min-height:240px;padding:36px 24px;text-align:center;background:var(--tc-surface);border:1px dashed var(--tc-line-strong);border-radius:var(--tc-radius-panel)}
.tc-empty-mark{font-size:28px;color:var(--tc-muted);margin-bottom:16px}
.tc-empty p{color:var(--tc-muted);margin:10px 0 20px}
.tc-empty .tc-actions{justify-content:center}
.tc-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--tc-muted);font-size:12px;margin-top:24px}
.tc-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:12px;margin-bottom:26px;color:var(--tc-muted)}
.tc-breadcrumb a{color:var(--tc-muted)}
.tc-breadcrumb a:hover{color:var(--tc-accent)}
.tc-detail-heading{align-items:flex-start;margin-bottom:20px}
.tc-detail-heading .tc-actions{flex-shrink:0;max-width:40%;justify-content:flex-end}
.tc-detail-layout{display:grid;grid-template-columns:244px minmax(0,1fr);gap:20px;align-items:start}
.tc-outline{position:static;padding:20px;background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:var(--tc-radius-panel)}
.tc-outline-progress{padding:0 0 18px;border-bottom:1px solid var(--tc-line)}
.tc-progress-number{font-size:32px;line-height:1.5;letter-spacing:-.03em;margin:6px 0 10px;font-variant-numeric:tabular-nums}
.tc-progress-number small{font-size:14px;color:var(--tc-muted);letter-spacing:0}
.tc-outline-progress p{font-size:14px;color:var(--tc-muted);margin-top:12px}
.tc-continue{width:100%;margin-top:14px}
.tc-outline-directory{margin-top:14px}
.tc-outline-directory>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;list-style:none;cursor:pointer;font-size:14px;color:var(--tc-ink)}
.tc-outline-directory>summary::-webkit-details-marker{display:none}
.tc-outline-directory>summary:focus-visible{border-radius:var(--tc-radius-control)}
.tc-directory-toggle{font-size:12px;color:var(--tc-accent);white-space:nowrap}
.tc-outline-directory:not([open]) .tc-when-open,.tc-outline-directory[open] .tc-when-closed{display:none}
.tc-outline-directory nav{margin-top:8px}
.tc-outline nav a{display:flex;align-items:baseline;gap:8px;justify-content:space-between;padding:9px 10px;border-radius:6px;color:var(--tc-muted);margin:3px 0;overflow-wrap:anywhere}
.tc-outline nav a:hover,.tc-outline nav a.is-active{background:var(--tc-accent-soft);color:var(--tc-accent)}
.tc-outline nav a small{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.tc-source{display:block;margin:18px 10px 0;font-size:12px}
.tc-panel{background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:var(--tc-radius-panel)}
.tc-detail-content{min-width:0}
.tc-detail-content>.tc-panel{margin-bottom:20px}
.tc-intro{padding:24px 26px;overflow-wrap:anywhere}
.tc-intro>:first-child{margin-top:0}
.tc-intro>:last-child{margin-bottom:0}
.tc-intro img{max-width:100%}
.tc-intro pre{overflow:auto}
.tc-chapter{scroll-margin-top:24px;overflow:hidden}
.tc-chapter-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 16px;margin-bottom:16px;background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:var(--tc-radius-panel)}
.tc-chapter>summary{list-style:none;cursor:pointer}
.tc-chapter>summary::-webkit-details-marker{display:none}
.tc-chapter>summary:focus-visible{outline-offset:-4px}
.tc-chapter>summary:hover{background:var(--tc-surface-soft)}
.tc-chapter-toggle{flex-shrink:0;font-size:13px;color:var(--tc-accent);white-space:nowrap}
.tc-chapter:not([open]) .tc-when-open,.tc-chapter[open] .tc-when-closed{display:none}
.tc-chapter-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px}
.tc-chapter-heading>div:first-child{min-width:0;flex:1}
.tc-chapter-heading h2{font-size:18px;overflow-wrap:anywhere}
.tc-chapter-heading p{color:var(--tc-muted);font-size:14px;margin-top:5px}
.tc-chapter-count{font-size:14px;white-space:nowrap;color:var(--tc-success);font-variant-numeric:tabular-nums}
.tc-prerequisite{margin:0!important;padding:0 22px 16px;color:var(--tc-muted);font-size:14px}
.tc-node-description{padding:0 26px 20px}
/* Keep native-style columns aligned; long titles wrap without clipping. */
.tc-problems{border-top:1px solid var(--tc-line)}
.tc-problem-table{width:100%;table-layout:fixed;border-collapse:collapse;border-top:1px solid var(--tc-line);font-size:14px;line-height:1.5}
.tc-problem-table th,.tc-problem-table td{padding:12px 14px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--tc-line)}
.tc-problem-table th{padding-top:10px;padding-bottom:10px;background:var(--tc-surface-soft);color:var(--tc-muted);font-size:14px;font-weight:500}
.tc-problem-table tbody tr:last-child td{border-bottom:0}
.tc-problem-table tbody tr:hover{background:var(--tc-surface-soft)}
.tc-problem-table .tc-col-state{width:84px;text-align:center}
.tc-problem-table .tc-col-id{width:108px;overflow-wrap:anywhere}
.tc-problem-table .tc-col-title{overflow-wrap:anywhere}
.tc-problem-table .tc-col-difficulty{width:130px;text-align:center}
.tc-problem-table .tc-col-submit,.tc-problem-table .tc-col-accept{width:66px;text-align:right;font-variant-numeric:tabular-nums}
.tc-problem-state{font-size:13px;color:var(--tc-muted);white-space:nowrap}
.tc-problem-state.is-done{color:var(--tc-success)}
.tc-problem-table .is-unavailable .tc-problem-state{display:inline-block;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.tc-problem-name{min-width:0;font-size:16px;line-height:1.5}
.tc-problem-name a{display:block;color:var(--tc-ink);overflow-wrap:anywhere}
.tc-problem-name a:hover{color:var(--tc-accent)}
.tc-problem-id{font-size:14px;color:var(--tc-muted);overflow-wrap:anywhere}
.tc-mobile-pid{display:none}
.tc-problem-table .oi33-difficulty{max-width:100%;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.tc-notice{background:var(--tc-accent-soft);color:var(--tc-ink);padding:12px 16px;border-radius:var(--tc-radius-control);margin-bottom:20px;overflow-wrap:anywhere}
.tc-warning{background:var(--tc-surface-warm);border:1px solid var(--tc-line)}
.tc-form-section{padding:26px;margin-bottom:22px}
.tc-form-section>h2{margin-bottom:22px}
.tc-form-section label{display:block;font-size:13px;font-weight:500}
.tc-form-section>label{margin-bottom:20px}
.tc-form-section small{display:block;font-size:12px;font-weight:400;color:var(--tc-muted);margin-top:6px}
.tc-input{display:block;width:100%;min-height:40px;padding:9px 12px;border:1px solid var(--tc-line);border-radius:var(--tc-radius-control);color:var(--tc-ink);background:var(--tc-surface);margin-top:8px;line-height:1.5}
.tc-input::placeholder{color:var(--tc-muted);opacity:.85}
.tc-page textarea{resize:vertical}
.tc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}
.tc-span-all{grid-column:1/-1}
.tc-section-top{display:flex;gap:24px;justify-content:space-between;align-items:center;margin-bottom:22px}
.tc-section-top p{font-size:12px}
.tc-node{border-top:1px solid var(--tc-line);padding:22px 0}
.tc-node-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.tc-node-head .tc-input{margin:0;flex:1;min-width:0}
.tc-node-number{color:var(--tc-muted);font-size:12px;white-space:nowrap}
.tc-node-head .tc-actions{flex-wrap:nowrap}
.tc-node-head button{padding:6px 10px;min-height:34px}
.tc-node textarea{font-family:var(--code-font-family,monospace);font-size:13px}
.tc-node-hint{color:var(--tc-muted);font-size:12px;margin-top:8px}
.tc-node-preview{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.tc-node-preview span{padding:3px 8px;border-radius:4px;background:var(--tc-surface-soft);font-size:12px;color:var(--tc-muted);overflow-wrap:anywhere}
.tc-editor-tools{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 0}
.tc-editor-tools>span{font-size:12px}
.tc-advanced{border-top:1px solid var(--tc-line);padding-top:18px;margin-top:18px}
.tc-advanced summary,.tc-series-edit summary{cursor:pointer;font-size:13px;color:var(--tc-muted);padding:4px 0}
.tc-advanced summary:hover,.tc-series-edit summary:hover{color:var(--tc-accent)}
.tc-advanced>p{font-size:12px;margin-top:12px}
.tc-advanced>.tc-actions{margin-top:12px}
.tc-code{font-family:var(--code-font-family,monospace)!important;font-size:13px!important}
.tc-file-label{display:inline-flex!important;margin:0;font-weight:400!important;cursor:pointer}
.tc-file-label input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.tc-form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:var(--tc-radius-panel)}
.tc-form-footer>div:first-child{font-size:12px;color:var(--tc-muted)}
.tc-draft-notice{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;background:var(--tc-surface-warm);border-radius:7px;margin-bottom:16px}
.tc-series-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px}
.tc-series-form label:first-of-type{flex:1;min-width:160px}
.tc-series-form label:nth-of-type(3){width:85px}
.tc-series-edit{padding:14px 0;border-bottom:1px solid var(--tc-line)}
.tc-series-edit summary>span{font-size:12px;margin-left:12px}
.tc-batch-bar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:18px;background:var(--tc-surface-soft);border-radius:8px;margin-bottom:18px}
.tc-batch-bar label{flex:1;min-width:140px}
.tc-table-wrap{overflow-x:auto}
.tc-manage-table{width:100%;border-collapse:collapse;font-size:13px}
.tc-manage-table th{text-align:left;font-size:12px;color:var(--tc-muted);font-weight:400;padding:12px 10px;border-bottom:1px solid var(--tc-line)}
.tc-manage-table td{padding:14px 10px;border-bottom:1px solid var(--tc-line);vertical-align:middle}
.tc-manage-table td:nth-child(2){min-width:170px;overflow-wrap:anywhere}
.tc-manage-table td:last-child{white-space:nowrap}
.tc-manage-table input[type=checkbox]{width:16px;height:16px;accent-color:var(--tc-accent);cursor:pointer}
.tc-order-input{width:80px;margin:0;min-height:34px;padding:6px 8px}
.tc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media(min-width:1400px){.tc-grid{gap:22px}
}

@media(max-width:980px){.tc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.tc-heading{align-items:flex-start}
.tc-heading .tc-actions{max-width:45%;justify-content:flex-end}
.tc-category-number{display:none}
.tc-categories{gap:10px}
.tc-category{grid-template-columns:minmax(0,1fr) auto;column-gap:6px;padding:14px}
.tc-category-name{font-size:13px}
.tc-detail-layout{grid-template-columns:208px minmax(0,1fr);gap:18px}
.tc-problem-table th,.tc-problem-table td{padding-left:10px;padding-right:10px}
.tc-problem-table .tc-col-submit,.tc-problem-table .tc-col-accept{display:none}
.tc-problem-table .tc-col-state{width:72px}
.tc-problem-table .tc-col-id{width:78px}
.tc-problem-table .tc-col-difficulty{width:112px}
.tc-section-top{flex-wrap:wrap}
}

@media(max-width:820px){
.tc-detail-layout{display:block}
.tc-outline{margin-bottom:16px;padding:18px}
.tc-outline-progress{padding-bottom:16px}
.tc-progress-number{font-size:27px}
.tc-continue{width:auto;min-width:144px}
.tc-outline-directory nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}
.tc-outline nav a{padding:8px 10px;font-size:14px;border:1px solid var(--tc-line);gap:10px;margin:0}
.tc-source{margin:14px 0 0}
}

@media(max-width:640px){.tc-page{padding:16px 12px 32px}
.tc-page h1{font-size:26px}
.tc-heading{display:block;padding:20px 18px;margin-bottom:14px}
.tc-heading-with-breadcrumb>.tc-breadcrumb{margin-bottom:16px;padding-bottom:12px}
.tc-heading .tc-actions{max-width:none;justify-content:flex-start;margin-top:16px;gap:8px}
.tc-heading p{font-size:13px}
.tc-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
.tc-category{padding:14px 12px;min-height:64px}
.tc-catalog-tools{padding:18px 16px;margin-bottom:14px}
.tc-catalog-heading{display:block}
.tc-catalog-heading h2{font-size:18px}
.tc-catalog-heading p{font-size:12px}
.tc-search{margin-top:14px;width:100%;flex-wrap:wrap}
.tc-search input{width:auto;flex:1;min-width:120px}
.tc-search .tc-input{flex:1;max-width:none;min-width:130px}
.tc-grid{grid-template-columns:minmax(0,1fr);gap:14px}
.tc-card{padding:16px}
.tc-card-bottom{margin-top:12px;padding-top:10px}
.tc-result-line{align-items:center;flex-wrap:wrap;margin-top:14px;padding-top:12px}
.tc-result-line>a{flex-shrink:0}
.tc-outline-directory nav{grid-template-columns:minmax(0,1fr)}
.tc-chapter-heading,.tc-intro{padding:16px}
.tc-chapter-heading{gap:10px}
.tc-chapter-count{font-size:13px}
.tc-chapter-tools{padding:10px 12px}
.tc-prerequisite,.tc-node-description{padding:0 16px 14px}
.tc-problem-table th,.tc-problem-table td{padding:10px 8px}
.tc-problem-table .tc-col-state{width:60px}
.tc-problem-table .tc-col-id{display:none}
.tc-problem-table .tc-col-difficulty{width:92px}
.tc-mobile-pid{display:block;font-size:12px;line-height:1.5;color:var(--tc-muted);margin-bottom:2px;overflow-wrap:anywhere}
.tc-form-section{padding:20px 16px}
.tc-form-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.tc-node-head{flex-wrap:wrap;gap:8px}
.tc-node-head .tc-input{flex-basis:calc(100% - 60px)}
.tc-node-head .tc-actions{width:100%;justify-content:flex-end}
.tc-form-footer{align-items:flex-start;flex-direction:column;padding:16px;gap:12px}
.tc-form-footer>.tc-actions{width:100%;justify-content:flex-end}
.tc-section-top{gap:14px}
.tc-page input:not([type=checkbox]):not([type=hidden]),.tc-page select,.tc-page textarea{font-size:16px}
.tc-batch-bar{padding:12px}
.tc-manage-table .tc-order-input{font-size:13px}
.tc-pagination{flex-wrap:wrap}
.tc-series-form{gap:10px}
.tc-series-form label{min-width:120px;flex:1}
.tc-series-form label:nth-of-type(3){min-width:70px;flex:0}
.tc-button{min-height:42px}
.tc-empty{padding:32px 20px}
.tc-eyebrow{font-size:10px}
}

@media(prefers-reduced-motion:reduce){.tc-card,.tc-button,.tc-category{transition:none}
.tc-card:hover{transform:none}
}


.tc-card-bottom .tc-progress-label{gap:8px;margin:0;font-size:13px}.tc-card-bottom .tc-progress{grid-column:1/-1}.tc-card-bottom .tc-guest-note,.tc-card-bottom .tc-unavailable{grid-column:1/-1}.tc-card-bottom .tc-card-count{margin-bottom:0}

.tc-page.tc-practice-context{max-width:none;padding:16px 0 0;margin-bottom:18px}
@media(min-width:1000px){.tc-page.tc-practice-context{max-width:980px}}
@media(min-width:1280px){.tc-page.tc-practice-context{max-width:1200px}}
.tc-practice-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px}.tc-practice-bar strong,.tc-practice-bar span{display:block;overflow-wrap:anywhere}.tc-practice-bar strong{font-size:16px;color:var(--tc-ink)}.tc-practice-bar span{font-size:14px;color:var(--tc-muted);margin-top:4px}.tc-practice-bar>.tc-actions{flex-shrink:0}
@media(max-width:640px){.tc-practice-bar{align-items:flex-start;flex-direction:column;padding:16px}.tc-practice-bar .tc-actions{flex-wrap:wrap;width:100%}.tc-practice-bar .tc-button{font-size:13px}}
