/* THT 1.9.39 generated at package time. Do not edit. Preserve source order. */

/* Source: assets/seo-v1935.css */
/* Visible public HTML before hydration, and a useful readable page without JS. */
.tht-seo-content{box-sizing:border-box;max-width:1100px;margin:0 auto;padding:24px;color:#17324d;background:#fff;font:16px/1.65 system-ui,sans-serif;overflow-wrap:anywhere}
.tht-seo-content h1{font-size:28px;line-height:1.3}.tht-seo-content h2{font-size:20px}.tht-seo-content a{color:#155c9b}.tht-seo-content nav{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.tht-seo-question{border:1px solid #dce4ef;padding:16px;margin:16px 0}.tht-seo-content img{display:block;max-width:100%;max-height:300px;width:auto;height:auto;object-fit:contain}.tht-seo-options{display:flex;gap:24px;flex-wrap:wrap}.tht-seo-options li{padding-right:12px}
#tht-app .tht-contest-search{position:relative;width:100%;flex:0 0 auto;margin-bottom:8px}
#tht-app .tht-contest-search #tht-contest-find{padding-right:36px;width:100%;box-sizing:border-box;margin:0}
#tht-app .tht-contest-search>.tht-contest-clear{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;width:27px;min-width:27px;height:27px;min-height:27px;margin:0;padding:0;border:0;border-radius:3px;box-sizing:border-box;background:transparent;color:inherit;font:20px/1 system-ui;white-space:nowrap;cursor:pointer;box-shadow:none}
/* This control owns its single × glyph; theme/legacy decorators must not add icons. */
#tht-app .tht-contest-search>.tht-contest-clear::before,#tht-app .tht-contest-search>.tht-contest-clear::after{content:none!important;display:none!important}
#tht-app .tht-contest-search>.tht-contest-clear>.tht-color-icon{display:none!important}
#tht-app .tht-contest-search>.tht-contest-clear[hidden]{display:none!important}
#tht-app .tht-contest-search>.tht-contest-clear:focus-visible{outline:2px solid #1974b5;outline-offset:0}


/* Source: assets/contact.css */
.tht-contact-button,.tht-contact-dialog button{font:inherit;border:1px solid #dfe0ea;background:white;color:#292c44;border-radius:4px;padding:9px 14px;cursor:pointer;box-shadow:none}
.tht-contact-dialog{font:15px/1.5 system-ui,sans-serif;color:#1d2338;background:#fff;border:1px solid #dfe0ea;border-radius:4px;padding:0;width:min(560px,calc(100vw - 28px));max-height:90vh;overflow:auto;box-shadow:none}
.tht-contact-dialog::backdrop{background:#20203680;backdrop-filter:blur(3px)}
.tht-contact-dialog header{display:flex;align-items:center;justify-content:space-between;padding:20px 23px;border-bottom:1px solid #eeebf4}
.tht-contact-dialog h2{font:700 19px/1.4 system-ui,sans-serif;margin:0}
.tht-contact-dialog .tht-contact-fields{padding:23px;display:grid;gap:17px}
.tht-contact-dialog label{display:grid;gap:6px}
.tht-contact-dialog input,.tht-contact-dialog textarea{font:inherit;box-sizing:border-box;width:100%;border:1px solid #c9cad8;border-radius:4px;padding:10px;background:#fff;color:#000}
.tht-contact-dialog footer{padding:17px 23px;border-top:1px solid #eeebf4;display:flex;justify-content:flex-end;gap:9px}
.tht-contact-dialog button[type=submit]{background:#6255d9;color:white}
.tht-contact-dialog .tht-contact-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.tht-contact-dialog [role=status]{margin:0;color:#8d273d;white-space:pre-wrap}
.tht-contact-dialog button:disabled{opacity:.6;cursor:wait}
.tht-contact-button:focus-visible,.tht-contact-dialog :focus-visible{outline:2px solid #6255d9;outline-offset:2px}


/* Source: assets/search-select.css */
.tht-search-select{position:relative;display:inline-block;min-width:0;max-width:100%;vertical-align:middle}#tht-app label>.tht-search-select,.tht-admin .tht-field>.tht-search-select{display:block;width:100%}
.tht-search-select .tht-native-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;opacity:0;pointer-events:none;overflow:hidden;clip-path:inset(50%)}
.tht-search-select .tht-select-toggle{position:relative;display:block;width:100%;min-height:34px;text-align:left;background:#fff;border:1px solid #b9c2cf;border-radius:3px;padding:5px 26px 5px 8px;color:#243352;font:inherit;line-height:1.4;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none}
.tht-search-select .tht-select-toggle::after{content:'▾';position:absolute;right:8px;top:50%;transform:translateY(-50%);color:#59687b;font-size:12px;pointer-events:none}
.tht-search-select .tht-select-toggle:disabled{opacity:.5;cursor:not-allowed}.tht-search-select .tht-select-toggle:focus-visible,.tht-search-select .tht-select-search:focus{outline:2px solid #6366f1;outline-offset:1px}
.tht-search-select .tht-select-popup{position:fixed;z-index:1001000;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;padding:5px;background:white;color:#243352;border:1px solid #b9c2cf;border-radius:3px;box-shadow:none;text-align:left;font-size:14px;line-height:1.4}
.tht-search-select .tht-select-popup[hidden]{display:none}.tht-search-select .tht-select-search{display:block;box-sizing:border-box;width:100%;min-height:32px;margin:0;padding:5px 7px;border:1px solid #b9c2cf;border-radius:3px;background:white;color:#243352;font:inherit;line-height:1.4;box-shadow:none}
.tht-search-select .tht-select-options{display:block;overflow:auto;min-height:0;max-height:240px}.tht-search-select .tht-select-options>.tht-select-option{display:block;box-sizing:border-box;width:100%;min-height:28px;text-align:left;font:inherit;font-weight:400;line-height:1.4;color:inherit;background:transparent;border:0;cursor:pointer;padding:4px 7px;margin:0;border-radius:0!important;box-shadow:none;overflow-wrap:anywhere;white-space:normal}.tht-search-select .tht-select-options>[aria-selected=true]{color:#243352;background:#e9eff7}.tht-search-select .tht-select-options>[role=option]:hover,.tht-search-select .tht-select-options>.is-active{background:#e2eaf5}.tht-select-options>[aria-disabled=true]{opacity:.45;cursor:not-allowed}.tht-select-status{font-size:12px;color:#65708a}.tht-select-status:empty{display:none}
#tht-app .tht-search-select :is(.tht-select-toggle,.tht-select-popup,.tht-select-search),.tht-admin .tht-search-select :is(.tht-select-toggle,.tht-select-popup,.tht-select-search){border-radius:3px!important;box-shadow:none!important}
@media print{.tht-select-popup{display:none!important}}
.tht-search-select .tht-select-options{scrollbar-gutter:stable;outline:none}
.tht-search-select .tht-select-search-row{display:flex;align-items:center;gap:5px;min-width:0}
.tht-search-select .tht-select-search-row>.tht-select-search{flex:1;min-width:0}
.tht-search-select .tht-select-done-filter{display:inline-flex!important;align-items:center;gap:3px!important;flex:none;font-size:11px;white-space:nowrap;margin:0!important;padding:0!important;color:#536078}
.tht-search-select .tht-select-done-filter[hidden]{display:none!important}
.tht-search-select .tht-select-done-filter input{width:13px!important;height:13px!important;min-height:0!important;margin:0!important;padding:0!important;box-shadow:none!important;border-radius:3px}
.tht-search-select .tht-select-options>.tht-select-option{display:flex;align-items:baseline;gap:5px}
.tht-search-select .tht-select-option-name{flex:1;min-width:0;overflow-wrap:anywhere}
.tht-search-select .tht-select-match{color:#bd1717;background:transparent;font-weight:600;padding:0}
.tht-search-select .tht-select-exam-status{flex:none;white-space:nowrap;font-size:10px;line-height:1.3;color:#268148;font-weight:400}
.tht-search-select .tht-select-exam-status.active{color:#8b4513}


/* Source: assets/app.css */
/* Scoped application skin; no theme CSS or remote font dependency. */
body.tht-standalone{margin:0;background:#f6f7fb}body.tht-standalone .tht-skip{position:fixed;left:16px;top:-100px;padding:12px 18px;z-index:1000001;background:#fff;color:#4d44ad;border-radius:7px;font:600 15px system-ui,sans-serif}body.tht-standalone .tht-skip:focus{top:12px}
#tht-app{--ink:#1c2442;--muted:#73809d;--line:#e5e8f0;--surface:#fff;--bg:#f6f7fb;--primary:#6864ef;--purple:#7755e9;--sidebar:#202031;--shadow:0 8px 32px rgba(30,39,78,.055);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6;color:var(--ink);background:var(--bg);min-height:100vh;text-align:left;font-weight:400;letter-spacing:normal}
#tht-app *,#tht-app *::before,#tht-app *::after{box-sizing:border-box}#tht-app a{color:inherit;text-decoration:none}#tht-app button,#tht-app input,#tht-app select,#tht-app textarea{font:inherit;letter-spacing:inherit}#tht-app button{cursor:pointer}#tht-app button:disabled{cursor:not-allowed;opacity:.46}#tht-app button,#tht-app input,#tht-app select,#tht-app textarea{box-shadow:none;margin:0}#tht-app :focus-visible{outline:3px solid #aca8ff;outline-offset:3px}#tht-app h1,#tht-app h2,#tht-app h3,#tht-app h4,#tht-app p{font-family:inherit;line-height:1.5;letter-spacing:normal;margin:0 0 12px;color:inherit}#tht-app h1{font-size:29px;line-height:1.25;font-weight:750}#tht-app h2{font-size:20px;font-weight:700}#tht-app h3{font-size:18px;font-weight:650}#tht-app h4{font-size:17px}#tht-app ul,#tht-app ol{padding-left:24px}#tht-app img{max-width:100%;height:auto}#tht-app small{font-size:14px}#tht-app label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:15px}#tht-app input:not([type=checkbox]):not([type=radio]):not([type=file]),#tht-app select,#tht-app textarea{width:100%;min-height:42px;border:1px solid #dfe3ed;background:#fff;border-radius:9px;padding:9px 12px;color:var(--ink);outline-offset:1px;font-weight:400;line-height:1.5}#tht-app textarea{resize:vertical;min-height:80px}#tht-app input[type=checkbox],#tht-app input[type=radio]{accent-color:var(--primary);width:16px;height:16px;flex:none}#tht-app input[readonly]{background:#f7f8fb!important;color:var(--muted)!important}#tht-app fieldset{min-width:0;border:0;padding:0;margin:0}#tht-app input::placeholder,#tht-app textarea::placeholder{color:#939cb1;opacity:1}#tht-app .tht-icon{width:19px;height:19px;flex:none;vertical-align:middle}#tht-app .tht-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;line-height:1.4;border:1px solid #dfe2ec;border-radius:9px;background:white;color:#354160;font-size:15px;font-weight:600;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}#tht-app .tht-btn:hover{background:#f2f2ff;border-color:#bdbafb}#tht-app .tht-btn.primary{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 4px 9px #6864ef20}#tht-app .tht-btn.primary:hover{background:#5550dc;border-color:#5550dc}#tht-app .tht-btn.white{background:white;color:#3b3a70;border-color:white}#tht-app .tht-btn.glass{color:#fff;background:#ffffff16;border-color:#ffffff60}#tht-app .tht-btn.danger{background:#d94356;color:white;border-color:#d94356}#tht-app .tht-btn.text,#tht-app .tht-btn.subtle{background:transparent;border-color:transparent;color:var(--primary)}#tht-app .tht-btn.text:hover,#tht-app .tht-btn.subtle:hover{background:#eeeefe}#tht-app .tht-btn.icon-only{font-size:0;gap:0;padding:8px;min-width:34px;min-height:34px}#tht-app .wide{width:100%}#tht-app .tht-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#tht-app .tht-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:6px;background:transparent;border:0;border-radius:7px;color:inherit}#tht-app .tht-icon-btn:hover{background:#7773df16}#tht-app .tht-muted{color:var(--muted)}#tht-app .tht-small{font-size:14px}#tht-app .tht-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}#tht-app .tht-pill{display:inline-flex;border-radius:20px;background:#eeedff;color:#665ad3;padding:4px 10px;font-size:14px;font-weight:600}#tht-app .tht-pill.green{background:#e6f6ee;color:#25825b}#tht-app .tht-pill.red{background:#ffecef;color:#c74b63}#tht-app .tht-pill.amber{background:#fff3db;color:#9c6b15}#tht-app .tht-pill.gray{background:#edf0f5;color:#778199}
#tht-app .tht-sidebar{position:fixed;z-index:40;left:0;top:0;bottom:0;width:264px;background:var(--sidebar);color:#d6d9ee;display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#494861 transparent;padding:22px 16px 14px}body.admin-bar #tht-app .tht-sidebar{top:32px}#tht-app .tht-brand{display:flex;gap:10px;align-items:center;color:#fff;font-size:19px;font-weight:750;line-height:1.25;margin-bottom:24px}#tht-app .tht-brand small{display:block;font-size:10px;letter-spacing:1.4px;margin-top:6px;font-weight:500;color:#b0b1cd}#tht-app .tht-logo{width:38px;height:38px;background:linear-gradient(140deg,#9c94ff,#6662eb);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;flex:none}#tht-app .tht-logo .tht-icon{width:24px;height:24px;fill:#ffffff18}#tht-app .tht-language{display:flex;background:#2b2b3e;padding:3px;border-radius:9px;gap:3px;margin-bottom:17px}#tht-app .tht-language button{flex:1;padding:5px 12px;background:none;color:#a1a4bf;border:0;border-radius:7px;font-size:14px;font-weight:700}#tht-app .tht-language button.active{background:#484858;color:#fff;box-shadow:0 2px 4px #0001}#tht-app .tht-user{display:flex;align-items:center;gap:9px;padding:0 0 16px;border-bottom:1px solid #ffffff12;margin-bottom:9px;font-size:14px;min-width:0}#tht-app .tht-user>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#tht-app .tht-user small{display:block;font-size:12px;color:#9194b1;margin-top:2px}#tht-app .tht-user img{width:31px;height:31px;border-radius:50%;object-fit:cover;flex:none}#tht-app .tht-avatar{width:34px;height:34px;border-radius:50%;background:#eeedff;color:#8580dd;display:inline-flex;justify-content:center;align-items:center;flex:none;overflow:hidden}#tht-app .tht-avatar img{height:100%;width:100%;object-fit:cover}#tht-app .tht-sidebar-links{display:flex;gap:8px;margin-bottom:14px}#tht-app .tht-sidebar-links .tht-nav{font-size:12px;padding:5px 0;gap:5px}#tht-app .tht-sidebar-links .tht-icon{width:14px;height:14px}#tht-app .tht-sidebar-primary{display:grid;gap:9px}#tht-app .tht-sidebar-primary .tht-btn{justify-content:flex-start;color:#e0e2fa;background:#ffffff07;border-color:#ffffff25;min-height:40px;padding:10px 12px}#tht-app .tht-sidebar-primary .tht-btn.primary{background:linear-gradient(110deg,#8582ff,#6766eb);color:white;border-color:transparent;box-shadow:0 6px 20px #6766eb20}#tht-app .tht-sidebar-search{display:flex;align-items:center;margin:19px 0 14px;border:1px solid #ffffff21;border-radius:8px;background:#ffffff07}#tht-app .tht-sidebar-search input{border:0!important;min-height:38px!important;padding:8px 10px!important;background:transparent!important;color:white!important;font-size:13px!important;min-width:0}#tht-app .tht-sidebar-search button{background:transparent;color:#a2a5cb;border:0;padding:8px}#tht-app .tht-sidebar-search .tht-icon{width:17px;height:17px}#tht-app .tht-nav{display:flex;gap:10px;align-items:center;padding:9px 11px;color:#c2c6df;font-size:14px;border-radius:8px;transition:background .15s;margin:2px 0}#tht-app .tht-nav .tht-icon{width:17px;height:17px;color:#9093b9}#tht-app .tht-nav:hover,#tht-app .tht-nav.active{background:#7774f222;color:#edecff}#tht-app .tht-nav.active .tht-icon{color:#ada9ff}#tht-app .tht-sidebar-section{border-top:1px solid #ffffff10;margin-top:18px;padding:18px 10px}#tht-app .tht-sidebar-section>span{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:#8184a2;display:block;margin-bottom:9px}#tht-app .tht-sidebar-section a{display:flex;align-items:center;gap:9px;padding:7px 0;font-size:14px;color:#c4c7e2}#tht-app .tht-sidebar-section .tht-icon{width:16px;height:16px;color:#c6b675}#tht-app .tht-sidebar-section small{font-size:12px;color:#797e9d;margin-left:auto}#tht-app .tht-sidebar-footer{margin-top:auto;border-top:1px solid #ffffff12;padding-top:10px}#tht-app .tht-sidebar-footer>div{display:flex;align-items:center;gap:6px;font-size:11px;color:#898dac;padding:9px 11px}#tht-app .tht-sidebar-footer small{margin-left:auto;font-size:11px}#tht-app .tht-status-dot{width:5px;height:5px;background:#91c9ae;border-radius:50%}#tht-app .tht-main-wrap{margin-left:264px;min-height:100vh;display:flex;flex-direction:column}#tht-app #tht-content{max-width:1560px;width:100%;padding:36px 44px 28px;margin:0 auto;flex:1;min-width:0}#tht-app .tht-mobile-bar{display:none}#tht-app .tht-main-footer{padding:22px 44px 28px;color:#929bb1;font-size:13px;text-align:center;border-top:1px solid #eaedf3}#tht-app .tht-main-footer span{padding:0 8px}#tht-app .tht-scrim{display:none}#tht-app .tht-page-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}#tht-app .tht-page-head h1{margin-bottom:6px}#tht-app .tht-page-head p{color:var(--muted);margin:0;font-size:15px}#tht-app .tht-surface{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}#tht-app .tht-section{margin-top:30px}#tht-app .tht-section>h2{margin-bottom:18px}#tht-app .tht-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}#tht-app .tht-section-heading h2,#tht-app .tht-section-heading h3{margin:0}#tht-app .tht-section-heading>a{font-size:14px;color:var(--primary)}#tht-app .tht-section-heading select{width:auto;min-width:110px}#tht-app .tht-announcement{display:flex;align-items:center;gap:9px;padding:11px 16px;border:1px solid #dedcff;background:#eeedff;color:#6f65bd;border-radius:9px;margin-bottom:18px;font-size:14px}
#tht-app .tht-hero{position:relative;overflow:hidden;text-align:center;border-radius:23px;background:linear-gradient(118deg,#7943e9 0%,#6055dd 43%,#387ceb 100%);color:#fff;padding:38px 25px 37px;isolation:isolate;box-shadow:0 10px 35px #615ce51a}#tht-app .tht-hero-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:14px;letter-spacing:3px;font-weight:700;color:#eeebff;position:relative;z-index:1}#tht-app .tht-hero-eyebrow .tht-icon{width:34px;height:34px;background:#ffffff20;padding:7px;border-radius:10px}#tht-app .tht-hero h1{color:#fff;font-size:38px;line-height:1.35;letter-spacing:-.6px;margin:20px 0 13px;font-weight:750}#tht-app .tht-hero>p{color:#eeefff;font-size:15px;margin-bottom:26px}#tht-app .tht-hero-search{display:flex;gap:13px;align-items:center;margin:0 auto 23px;padding:7px 8px 7px 16px;border-radius:13px;background:#fff;width:min(100%,560px);box-shadow:0 8px 25px #29277816;text-align:left}#tht-app .tht-hero-search>.tht-icon{color:#9292b0}#tht-app .tht-hero-search input{background:transparent;border:0!important;min-height:35px!important;box-shadow:none;color:#555d79;padding:6px 0!important;min-width:0;font-size:15px}#tht-app .tht-hero-search .tht-btn{min-height:36px;padding:8px 17px;border-radius:8px;font-size:14px}#tht-app .tht-hero>.tht-actions{justify-content:center;gap:12px}#tht-app .tht-hero>.tht-actions .tht-btn{padding:11px 22px}#tht-app .tht-hero-orb{position:absolute;border-radius:50%;background:#ffffff0b;z-index:-1;pointer-events:none}#tht-app .tht-hero-orb.one{width:240px;height:240px;left:-110px;top:-120px}#tht-app .tht-hero-orb.two{width:230px;height:230px;right:-120px;bottom:-140px;background:#ffffff0b}#tht-app .tht-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:29px 15px 15px;text-align:center}#tht-app .tht-stats strong{font-size:30px;color:#847dfb;line-height:1.3;display:block;font-weight:800;letter-spacing:-1px}#tht-app .tht-stats span{font-size:13px;color:#7681a2;display:block;margin-top:4px}#tht-app .tht-start-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}#tht-app .tht-start-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px 15px;min-height:109px;transition:transform .18s,box-shadow .18s}#tht-app .tht-start-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #6864ef10;border-color:#d2d0fa}#tht-app .tht-tile-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:45px;border-radius:12px;background:#eceaff;color:#8981ff;flex:none}#tht-app .tht-tile-icon .tht-icon{width:23px;height:23px}#tht-app .tht-tile-icon.peach{background:#fff0e8;color:#df9a6a}#tht-app .tht-start-card strong{font-size:14px;line-height:1.3;display:block;margin-bottom:5px}#tht-app .tht-start-card small{font-size:12px;line-height:1.7;display:block;color:#7581a1}#tht-app .tht-start-card>.tht-icon{width:14px;color:#a9adc1;margin-left:auto}#tht-app .tht-contest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#tht-app .tht-contest-card{display:flex;align-items:center;gap:17px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px;transition:border-color .15s}#tht-app .tht-contest-card:hover{border-color:#bbb7f6}#tht-app .tht-contest-mark{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:750;background:#f0efff;color:#8b80e8}#tht-app .tht-contest-card h3{color:#7872ed;font-size:19px;margin:0 0 3px}#tht-app .tht-contest-card p{font-size:13px;color:var(--muted);margin:0}#tht-app .tht-contest-card>.tht-icon{margin-left:auto;color:#a4a9bf;width:17px}
#tht-app .tht-filter-panel{display:grid;grid-template-columns:1.25fr 1.5fr .8fr 1fr 1fr;gap:13px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px}#tht-app .tht-filter-search{grid-column:1/-1;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:8px;padding:0 11px}#tht-app .tht-filter-search input{border:0!important;padding:10px 0!important}#tht-app .tht-filter-search>.tht-icon{color:#949ab2}#tht-app .tht-filter-panel label{font-size:13px}#tht-app .tht-filter-panel select,#tht-app .tht-filter-panel input{font-size:14px}#tht-app .tht-filter-panel>.tht-actions{grid-column:1/-1;justify-content:flex-end}#tht-app .tht-range-pair{display:flex;gap:6px;align-items:center}#tht-app .tht-range-pair input{min-width:45px;padding:9px 8px!important}#tht-app .tht-result-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0;font-size:14px;color:var(--muted)}#tht-app .tht-result-toolbar label{flex-direction:row;align-items:center;font-weight:500;font-size:14px}#tht-app .tht-result-toolbar strong{color:var(--ink)}#tht-app .tht-question-list{display:grid;gap:17px}#tht-app .tht-question-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:20px 23px;box-shadow:var(--shadow);margin-bottom:17px;overflow:hidden}#tht-app .tht-question-list .tht-question-card{margin-bottom:0}#tht-app .tht-question-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}#tht-app .tht-q-meta{display:flex;align-items:center;gap:10px;color:#8b94a9;font-size:13px}#tht-app .tht-source-chip{background:#f0effc;color:#7970be;padding:4px 8px;border-radius:5px;font-size:12px;font-weight:650}#tht-app .tht-difficulty{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font-size:12px;color:#9198b0}#tht-app .tht-difficulty-dots{display:flex;gap:3px}#tht-app .tht-difficulty-dots i{width:5px;height:5px;border-radius:50%;background:#e9e7f7}#tht-app .tht-difficulty-dots i.filled{background:#a09bea}#tht-app .tht-prose{line-height:1.9;overflow-wrap:anywhere;word-break:normal;font-size:16px;color:#36405b}#tht-app .tht-prose>:last-child{margin-bottom:0}#tht-app .tht-prose p{line-height:1.9;margin:0 0 12px}#tht-app .tht-prose a{color:#6e62d0;text-decoration:underline;text-underline-offset:3px}#tht-app .tht-prose h1,#tht-app .tht-prose h2,#tht-app .tht-prose h3{font-size:18px;margin:15px 0 8px}#tht-app .tht-prose pre{white-space:pre-wrap;font-size:14px;background:#f6f5fa;padding:14px;border-radius:7px}#tht-app .tht-prose code{background:#f1f0f7;border-radius:4px;padding:2px 4px;font-size:.9em}#tht-app .tht-prose blockquote{border-left:3px solid #dad6ff;padding-left:14px;margin:16px 0;color:#68718a}#tht-app .tht-prose table{border-collapse:collapse;max-width:100%;font-size:15px}#tht-app .tht-prose td,#tht-app .tht-prose th{border:1px solid var(--line);padding:6px 10px}#tht-app .tht-prose .katex-display{overflow-x:auto;overflow-y:hidden;padding:4px 0;max-width:100%;margin:16px 0}#tht-app .tht-prose .katex{font-size:1.12em}#tht-app .tht-prose img{max-height:400px;object-fit:contain;border-radius:5px}#tht-app .tht-card-stem{max-height:340px;overflow:auto}#tht-app .tht-options-preview{display:flex;flex-wrap:wrap;gap:13px 27px;margin:16px 0}#tht-app .tht-options-preview>div{display:flex;gap:8px;align-items:baseline;font-size:15px;min-width:80px}#tht-app .tht-options-preview b{color:#7c78aa;font-size:14px}#tht-app .tht-options-preview .tht-prose{font-size:15px}#tht-app .tht-options-preview p{margin:0}#tht-app .tht-tags{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}#tht-app .tht-tag{border:1px solid #e8e5f6;border-radius:5px;padding:3px 8px;font-size:12px;color:#82759f;background:#fbfaff;line-height:1.5}#tht-app .tht-tag:hover{border-color:#bfb5e9;background:#f4f0ff}#tht-app .tht-question-card>footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f1f6;padding-top:12px;margin-top:14px;gap:10px}#tht-app .tht-question-card>footer .tht-btn{font-size:13px;padding:7px 9px;min-height:32px}#tht-app .tht-question-card>footer .tht-icon{width:15px;height:15px}#tht-app .tht-pagination{display:flex;align-items:center;justify-content:center;gap:26px;margin:25px 0;font-size:14px;color:var(--muted)}#tht-app .tht-breadcrumb{display:flex;align-items:center;gap:7px;font-size:13px;color:#8b92aa;margin-bottom:20px}#tht-app .tht-breadcrumb>.tht-icon{width:12px;height:12px}#tht-app .tht-breadcrumb a{color:var(--primary)}#tht-app .tht-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:24px}#tht-app .tht-question-detail{padding:27px}#tht-app .tht-detail-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;color:#8a8fa6;margin-bottom:23px}#tht-app .tht-main-stem{font-size:18px;margin-bottom:23px}#tht-app .tht-detail-options{display:grid;gap:9px;margin:20px 0}#tht-app .tht-option-static{display:flex;align-items:baseline;gap:12px;border:1px solid #eceef4;border-radius:9px;padding:11px 14px}#tht-app .tht-option-static>b{font-size:13px;color:#8b83c2;background:#f2efff;width:26px;height:26px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;flex:none}#tht-app .tht-option-static .tht-prose{min-width:0}#tht-app .tht-option-static p{margin:0}#tht-app .tht-question-tools{display:flex;gap:5px;flex-wrap:wrap;padding:13px 0;border-top:1px solid #f0f1f5}#tht-app .tht-question-tools .tht-btn{font-size:13px}#tht-app .tht-answer{margin-top:6px;background:#f5f4ff;border-radius:9px;border:1px solid #e7e3ff;overflow:hidden}#tht-app .tht-answer summary{padding:12px 15px;color:#8170cb;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;font-weight:600}#tht-app .tht-answer>.tht-prose{padding:0 15px 15px;display:flex;gap:7px;align-items:baseline}#tht-app .tht-answer .tht-prose p{display:inline}#tht-app .tht-solution{border:1px solid var(--line);border-radius:11px;background:#fff;margin-bottom:13px;overflow:hidden}#tht-app .tht-solution summary{padding:16px 19px;cursor:pointer;display:flex;align-items:center;gap:12px;font-weight:600;font-size:15px;list-style:none}#tht-app .tht-solution summary::-webkit-details-marker{display:none}#tht-app .tht-solution summary>.tht-icon{width:15px;height:15px;color:#a4a5bb;margin-left:auto;transition:transform .2s}#tht-app .tht-solution[open] summary>.tht-icon{transform:rotate(90deg)}#tht-app .tht-solution-number{display:inline-flex;width:25px;height:25px;border-radius:7px;background:#f0edff;color:#8d7bcc;align-items:center;justify-content:center;font-size:13px}#tht-app .tht-solution>.tht-prose{padding:3px 21px 20px}#tht-app .tht-solution>.tht-tags{padding:0 21px 16px;margin:0}#tht-app .tht-notes-panel,#tht-app .tht-source-panel{padding:19px;margin-bottom:18px}#tht-app .tht-notes-panel h2{font-size:16px}#tht-app .tht-note{border-top:1px solid #eeedf5;padding:15px 0}#tht-app .tht-note .tht-prose{font-size:14px}#tht-app .tht-note blockquote,#tht-app .tht-modal blockquote{margin:0 0 9px;padding:7px 10px;border-left:3px solid #d5c9f5;background:#f9f7fe;font-size:13px;font-weight:400;max-height:130px;overflow:auto}#tht-app .tht-note footer{display:flex;align-items:center;margin-top:7px}#tht-app .tht-note footer small{margin-right:auto;color:#9fa4b7;font-size:11px}#tht-app .tht-note footer .tht-btn{border:0;color:#9690ae}#tht-app .tht-source-panel h3{font-size:14px}#tht-app .tht-source-panel p{font-size:14px;color:#777f99}#tht-app .tht-source-panel small{display:block;color:#999fb0}#tht-app .tht-source-panel a{display:inline-flex;align-items:center;gap:5px;color:#8173cb;font-size:13px;margin-top:11px}#tht-app .tht-source-panel .tht-icon{width:12px;height:12px}#tht-app .tht-diagram{margin:18px 0;text-align:center}#tht-app .tht-diagram img{max-width:100%;cursor:zoom-in}#tht-app .tht-diagram figcaption{font-size:12px;color:#9a9eb1;font-style:italic;margin-top:5px}#tht-app .tht-comments{padding:23px;margin-top:27px}#tht-app .tht-comments .tht-section-heading small{color:#aca3cd;font-weight:500}#tht-app .tht-comment{display:flex;gap:12px;padding:19px 0;border-bottom:1px solid #f0eff6}#tht-app .tht-comment>div{min-width:0;flex:1}#tht-app .tht-comment header{display:flex;justify-content:space-between;gap:9px;margin-bottom:6px}#tht-app .tht-comment header strong{font-size:14px}#tht-app .tht-comment time{font-size:12px;color:#a1a4b7}#tht-app .tht-comment .tht-prose{font-size:15px}#tht-app .tht-comment footer{display:flex;gap:10px;margin-top:8px}#tht-app .tht-vote{display:flex;align-items:center;gap:4px;background:none;border:0;color:#a19caf;font-size:12px;padding:2px}#tht-app .tht-vote .tht-icon{width:13px;height:13px}#tht-app .tht-vote.active{color:var(--primary)}#tht-app .rotated{transform:rotate(180deg)}#tht-app #tht-comment-form{margin-top:21px}#tht-app #tht-comment-form .tht-actions{justify-content:flex-end;margin-top:10px}
#tht-app .tht-topic-surface{padding:18px 27px}#tht-app .tht-topic-tree{list-style:none;margin:0;padding-left:25px}#tht-app .tht-topic-tree.level-0{padding:0;display:grid;grid-template-columns:1fr 1fr;gap:13px 32px}#tht-app .tht-topic-tree li{margin:3px 0;min-width:0}#tht-app .tht-topic-tree summary{display:flex;align-items:center;gap:8px;cursor:pointer;padding:9px 0;font-size:15px;color:#5a5a86}#tht-app .tht-topic-tree summary>.tht-icon{width:13px;height:13px;color:#a6a1c0}#tht-app .tht-topic-tree details[open]>summary>.tht-icon{transform:rotate(90deg)}#tht-app .tht-topic-tree.level-0>li>details>summary{font-size:17px;font-weight:700;border-bottom:1px solid #efedf6}#tht-app .tht-topic-tree small{margin-left:auto;color:#a19bb1;font-size:12px}#tht-app .tht-topic-leaf{display:flex;gap:7px;align-items:center;font-size:14px;padding:7px 0;color:#85809c}#tht-app .tht-topic-leaf .tht-icon{width:12px;height:12px;color:#c1b7db}#tht-app .tht-topic-leaf:hover,#tht-app .tht-topic-tree summary a:hover{color:var(--primary)}#tht-app .tht-bank-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:23px}#tht-app .tht-folder-panel{align-self:start;padding:14px 12px;position:sticky;top:20px}#tht-app .tht-folder-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}#tht-app .tht-folder-panel h2{font-size:16px;margin:0}#tht-app .tht-folder-link{display:flex;align-items:center;gap:7px;padding:9px 8px;font-size:13px;border-radius:7px;color:#807a98}#tht-app .tht-folder-link .tht-icon{width:14px;height:14px;color:#bca779}#tht-app .tht-folder-link small{margin-left:auto;color:#aaa3b8;font-size:12px}#tht-app .tht-folder-link.active{background:#f0ecff;color:#8371c7}#tht-app .tht-bank-folder-title{display:flex;align-items:center;gap:8px;margin-top:18px}#tht-app .tht-bank-folder-title h2{margin:0 auto 0 0;font-size:18px}#tht-app .tht-bank-folder-title .tht-btn{font-size:13px}#tht-app .tht-bank-layout .tht-filter-panel{grid-template-columns:repeat(3,minmax(0,1fr))}#tht-app .tht-bank-layout .tht-result-toolbar{flex-wrap:wrap}#tht-app .tht-bank-layout .tht-result-toolbar .tht-btn{font-size:12px;min-height:32px;padding:6px 8px}#tht-app .tht-collection-action{display:flex;justify-content:flex-end;margin-top:-8px;margin-bottom:12px}
#tht-app .tht-practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}#tht-app .tht-practice-card{padding:28px}#tht-app .tht-practice-card>.tht-tile-icon{margin-bottom:15px}#tht-app .tht-practice-card>p{font-size:15px;color:var(--muted);min-height:43px}#tht-app .tht-practice-card form{display:grid;gap:17px}#tht-app .tht-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}#tht-app .tht-radio-cards{display:grid;gap:10px}#tht-app .tht-radio-cards>label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:9px;font-weight:400;cursor:pointer}#tht-app .tht-radio-cards input{margin-top:4px}#tht-app .tht-radio-cards small{display:block;font-size:13px;color:var(--muted);line-height:1.65;margin-top:3px}#tht-app .tht-radio-cards label:has(input:checked){background:#f9f7ff;border-color:#d7cdf6}#tht-app .tht-table-wrap{overflow:auto}#tht-app .tht-table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}#tht-app .tht-table th{font-weight:600;background:#faf9fe;color:#91889f;text-align:left;padding:13px 20px;font-size:13px}#tht-app .tht-table td{padding:16px 20px;border-top:1px solid #f0edf6}#tht-app .tht-table td small{display:block;color:#a29bac;font-size:12px;margin-top:3px}#tht-app .tht-attempt-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}#tht-app .tht-attempt-header h1{font-size:26px;margin:4px 0 0}#tht-app .tht-eyebrow{font-size:12px;color:#9a88c9;letter-spacing:2px;text-transform:uppercase;font-weight:700}#tht-app .tht-timer{display:flex;align-items:center;gap:12px;min-width:145px;border:1px solid #e1d9f3;background:#fff;border-radius:11px;padding:9px 16px;color:#8c74b9}#tht-app .tht-timer small{display:block;font-size:11px;color:#a89bbc}#tht-app .tht-timer strong{display:block;line-height:1.3;font-variant-numeric:tabular-nums;font-size:24px;font-weight:650}#tht-app .tht-timer.urgent{background:#fff3ee;border-color:#efcdbf;color:#c66b5b}#tht-app .tht-attempt-layout{display:grid;grid-template-columns:minmax(0,1fr) 244px;gap:22px}#tht-app .tht-attempt-question{padding:29px;min-height:460px}#tht-app .tht-attempt-question>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:27px}#tht-app .tht-save-status{font-size:12px;color:#a399b0}#tht-app .tht-attempt-options{display:grid;gap:11px;margin:27px 0}#tht-app .tht-attempt-option{flex-direction:row;align-items:center;font-weight:400;border:1px solid #e7e2ee;border-radius:11px;padding:15px;gap:13px;cursor:pointer;transition:background .15s,border-color .15s}#tht-app .tht-attempt-option>b{font-size:13px;color:#aa9ab5}#tht-app .tht-attempt-option p{margin:0}#tht-app .tht-attempt-option:hover{background:#fbf9ff;border-color:#c8b7e5}#tht-app .tht-attempt-option.selected{background:#f6f0ff;border-color:#b89cdf;box-shadow:0 0 0 1px #b89cdf}#tht-app .tht-attempt-option.selected>b{color:#9672c4}#tht-app .tht-attempt-bottom{border-top:1px solid #efeaf5;padding-top:18px;display:flex;justify-content:space-between;gap:10px;align-items:center}#tht-app .tht-attempt-nav{padding:20px;align-self:start;position:sticky;top:20px}#tht-app .tht-attempt-nav h2{font-size:15px;margin-bottom:18px}#tht-app .tht-attempt-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:15px}#tht-app .tht-attempt-grid button{padding:6px 0;border:1px solid #e7e1ee;background:#faf8fc;border-radius:7px;color:#a498b1;font-size:13px;font-weight:600;aspect-ratio:1;min-width:0}#tht-app .tht-attempt-grid button.answered{color:#9473ba;background:#efe4fb;border-color:#d6bce9}#tht-app .tht-attempt-grid button.current{border:2px solid #9c79c9;color:#855aab;background:#f9f2ff}#tht-app .tht-attempt-nav>p{font-size:13px;color:#aca0b8}#tht-app .tht-attempt-nav>.tht-btn{margin-top:8px}#tht-app .tht-attempt-nav>.tht-small{margin-top:16px;font-size:12px}#tht-app .tht-result-summary{display:flex;align-items:center;gap:50px;background:linear-gradient(110deg,#f0eafc,#edf2ff);padding:33px 40px;border-radius:18px;margin-bottom:24px;border:1px solid #e7dff5}#tht-app .tht-score-circle{width:128px;height:128px;border:7px solid #c0afe8;background:#fbfaff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}#tht-app .tht-score-circle strong{font-size:36px;font-weight:800;color:#9c7cc9;line-height:1.2}#tht-app .tht-score-circle span{font-size:12px;color:#ada0ba}#tht-app .tht-result-metrics{flex:1;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}#tht-app .tht-result-metrics>div{text-align:center}#tht-app .tht-result-metrics strong{display:block;font-size:28px;font-weight:700;color:#8d86ad}#tht-app .tht-result-metrics span{font-size:13px;color:#9b91ad}#tht-app .tht-result-metrics .green strong{color:#62ad91}#tht-app .tht-result-metrics .red strong{color:#ce869a}#tht-app .tht-report-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}#tht-app .tht-report{padding:24px}#tht-app .tht-report h2{font-size:17px}#tht-app .tht-topic-score{margin:15px 0}#tht-app .tht-topic-score>div{display:flex;justify-content:space-between;font-size:13px;color:#9486a6}#tht-app .tht-topic-score progress{width:100%;height:6px;appearance:none;border:0;border-radius:10px;overflow:hidden;background:#f1eafa}#tht-app .tht-topic-score progress::-webkit-progress-bar{background:#f1eafa;border-radius:10px}#tht-app .tht-topic-score progress::-webkit-progress-value{background:linear-gradient(90deg,#bb97de,#9695e7);border-radius:10px}#tht-app .tht-topic-score progress::-moz-progress-bar{background:#ac91d4;border-radius:10px}#tht-app .tht-report li{color:#958aa5;font-size:14px;margin-bottom:10px}#tht-app .tht-result-question{padding:24px;margin-bottom:18px}#tht-app .tht-result-question>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}#tht-app .tht-result-question>header h3{margin:0}#tht-app .tht-answer-comparison{display:flex;gap:25px;padding:15px;margin:18px 0;background:#f9f6fc;border-radius:8px;color:#9a87a7;font-size:14px}#tht-app .tht-answer-comparison b{color:#846c99}
#tht-app .tht-paper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}#tht-app .tht-paper-card{padding:23px}#tht-app .tht-paper-card h2{font-size:18px;margin:16px 0 5px}#tht-app .tht-paper-card p{color:#9b92a9;font-size:14px;margin:0 0 8px}#tht-app .tht-paper-card>small{color:#b6adbf;font-size:12px}#tht-app .tht-paper-card footer{display:flex;justify-content:space-between;margin-top:18px}#tht-app .tht-paper-settings{padding:21px;display:flex;align-items:flex-end;gap:23px;margin-bottom:22px}#tht-app .tht-paper-settings>label:first-child{flex:1}#tht-app .tht-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;font-weight:400!important;white-space:nowrap;padding-bottom:11px}#tht-app .tht-paper-items{display:grid;gap:15px}#tht-app .tht-paper-item{display:grid;grid-template-columns:45px minmax(0,1fr);gap:20px;padding:22px}#tht-app .tht-paper-order{display:flex;align-items:center;flex-direction:column;gap:6px;border-right:1px solid #efeaf6;padding-right:13px}#tht-app .tht-paper-order>strong{color:#b79ecd;font-size:22px;line-height:1.3;margin:0 0 8px}#tht-app .tht-paper-order .tht-btn{min-height:27px;min-width:27px;padding:4px;color:#ac9abd;background:#fcfaff;border-color:#eee5f6}#tht-app .tht-paper-order .tht-icon{height:15px;width:15px}#tht-app .tht-paper-item .tht-prose{margin-top:9px}#tht-app .tht-paper-item small{font-size:12px}#tht-app .tht-form-card{padding:27px;display:grid;gap:20px;max-width:670px}#tht-app .tht-form-card>.tht-btn{justify-self:start}#tht-app .tht-profile-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:23px}#tht-app .tht-profile-avatar{padding:27px;text-align:center}#tht-app .tht-profile-avatar>img,#tht-app .tht-avatar.large{width:84px;height:84px;border-radius:50%;object-fit:cover;display:inline-flex;margin-bottom:14px}#tht-app .tht-avatar.large .tht-icon{width:43px;height:43px}#tht-app .tht-profile-avatar h2{font-size:20px;margin-bottom:4px}#tht-app .tht-profile-avatar>p{color:#a197af;font-size:14px}#tht-app .tht-profile-avatar form{display:grid;gap:14px;text-align:left;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}#tht-app .tht-profile-avatar form small{font-size:12px;color:#ac9fba}#tht-app input[type=file]{width:100%;font-size:12px;font-weight:400}#tht-app input[type=file]::file-selector-button{border:1px solid #ddd2eb;background:#f8f4ff;color:#9f80ba;padding:6px 8px;border-radius:6px;margin-right:8px;font:inherit}#tht-app .tht-notification-list{padding:0 24px}#tht-app .tht-notification-list>article{display:flex;gap:14px;padding:23px 0;border-bottom:1px solid #efeaf6}#tht-app .tht-notification-list>article>.tht-icon{color:#bcb0cf;width:18px;margin-top:3px}#tht-app .tht-notification-list>article.unread>.tht-icon{color:#a181cf}#tht-app .tht-notification-list h3{font-size:16px;margin-bottom:6px}#tht-app .tht-notification-list .tht-prose{font-size:14px;color:#a090b3}#tht-app .tht-notification-list time{font-size:12px;color:#b8adbf;display:block;margin-top:9px}
#tht-app .tht-editor-toolbar{display:flex;align-items:center;gap:23px;margin-bottom:20px}#tht-app .tht-language.light{background:#eae5f5;padding:4px;margin:0;min-width:230px}#tht-app .tht-language.light button{color:#a493ba;padding:8px}#tht-app .tht-language.light button.active{background:#fff;color:#987bbb}#tht-app .tht-editor-toolbar p{font-size:13px;color:#a696b4;margin:0}#tht-app .tht-editor-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:23px;align-items:start}#tht-app .tht-editor-form{padding:23px;display:grid;gap:17px}#tht-app .tht-editor-form textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px!important;line-height:1.8!important}#tht-app .tht-editor-form h3{font-size:16px}#tht-app .tht-editor-form .tht-section-heading{margin:10px 0 0}#tht-app .tht-editor-option{flex-direction:row;align-items:center;gap:9px}#tht-app .tht-editor-option>b{color:#b19ac5;width:15px;font-size:13px}#tht-app .tht-editor-option textarea{min-height:53px;flex:1}#tht-app .tht-editor-option>.tht-btn{border:0;color:#b9a8c6}#tht-app .tht-editor-solution{display:grid;gap:13px;border:1px solid #e9dfef!important;padding:18px!important;border-radius:10px}#tht-app .tht-editor-solution legend{padding:0 7px;color:#b19bc4;font-size:13px}#tht-app .tht-editor-solution .tht-btn{justify-self:end;font-size:13px}#tht-app .tht-editor-preview{padding:23px;position:sticky;top:20px;max-height:calc(100vh - 50px);overflow:auto}#tht-app .tht-editor-preview>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee5f4;padding-bottom:15px;margin-bottom:18px}#tht-app .tht-editor-preview h2{font-size:17px;margin:0}#tht-app .tht-editor-preview .tht-prose{font-size:15px}#tht-app .tht-editor-preview .tht-solution{box-shadow:none}#tht-app .tht-editor-preview .tht-solution summary{font-size:14px;padding:11px}
#tht-app .tht-empty{padding:55px 25px;text-align:center;color:#9994ab;grid-column:1/-1}#tht-app .tht-empty>.tht-icon{width:43px;height:43px;color:#c0b5da;margin-bottom:15px}#tht-app .tht-empty p{font-size:15px;max-width:430px;margin:0 auto 20px}#tht-app .tht-empty h2{color:#8c7fa1}#tht-app .tht-error{border:1px solid #f0d1d6;color:#bb6d7e;border-radius:9px;background:#fff5f7;padding:17px;font-size:15px}#tht-app .tht-loading{padding:80px 20px;text-align:center;display:flex;align-items:center;justify-content:center;gap:13px;color:#aa9abd}#tht-app .tht-spinner{display:inline-block;width:23px;height:23px;border:2px solid #e8dff3;border-top-color:#aa87cd;border-radius:50%;animation:tht-spin .75s linear infinite}@keyframes tht-spin{to{transform:rotate(360deg)}}#tht-app .tht-modal-backdrop{position:fixed;inset:0;background:#20203680;backdrop-filter:blur(3px);z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}#tht-app .tht-modal{background:#fff;border-radius:17px;box-shadow:0 20px 100px #18132840;width:min(100%,560px);max-height:90vh;overflow:auto}#tht-app .tht-modal>header{display:flex;justify-content:space-between;align-items:center;padding:20px 23px;border-bottom:1px solid #eeebf4}#tht-app .tht-modal>header h2{font-size:19px;margin:0}#tht-app .tht-modal-body{padding:23px;display:grid;gap:17px}#tht-app .tht-modal form>footer{border-top:1px solid #eeebf4;padding:17px 23px;display:flex;align-items:center;justify-content:flex-end;gap:9px}#tht-app .tht-modal:has(.tht-zoom-image){width:min(95vw,1000px)}#tht-app .tht-zoom-image{text-align:center;overflow:auto}#tht-app .tht-zoom-image img{max-width:100%;max-height:70vh;object-fit:contain}#tht-app .tht-toasts{position:fixed;right:25px;bottom:25px;z-index:1000000;display:grid;gap:10px;max-width:calc(100vw - 50px);pointer-events:none}#tht-app .tht-toast{padding:13px 19px;border-radius:10px;background:#343147;color:#fff;box-shadow:0 7px 30px #19102624;font-size:14px;max-width:430px;border-left:4px solid #b09acd}#tht-app .tht-toast.error{background:#6f3447;border-left-color:#f1a6b5}#tht-app #tht-print-root{display:none}
@media(min-width:1600px){#tht-app #tht-content{padding:36px 60px}#tht-app .tht-hero{padding:42px 25px}#tht-app .tht-hero h1{font-size:42px}#tht-app .tht-start-card{padding:25px 18px}#tht-app .tht-start-card strong{font-size:15px}#tht-app .tht-start-card small{font-size:13px}}
@media(max-width:1280px){#tht-app .tht-sidebar{width:235px;padding:20px 13px}#tht-app .tht-main-wrap{margin-left:235px}#tht-app #tht-content{padding:28px}#tht-app .tht-start-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#tht-app .tht-start-card{min-height:100px}#tht-app .tht-detail-layout{grid-template-columns:minmax(0,1fr) 240px;gap:18px}#tht-app .tht-question-detail{padding:21px}#tht-app .tht-bank-layout{grid-template-columns:175px minmax(0,1fr);gap:18px}#tht-app .tht-paper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#tht-app .tht-profile-layout{grid-template-columns:250px minmax(0,1fr)}#tht-app .tht-filter-panel{grid-template-columns:repeat(3,minmax(0,1fr))}#tht-app .tht-practice-card{padding:23px}#tht-app .tht-paper-settings{flex-wrap:wrap;gap:14px}#tht-app .tht-paper-settings>label:first-child{flex-basis:100%}}
@media(max-width:1000px){#tht-app .tht-sidebar{width:215px}#tht-app .tht-main-wrap{margin-left:215px}#tht-app .tht-brand{font-size:17px}#tht-app .tht-brand small{font-size:9px}#tht-app #tht-content{padding:25px 22px}#tht-app .tht-hero h1{font-size:32px}#tht-app .tht-hero{padding:31px 22px}#tht-app .tht-hero>p{font-size:13px}#tht-app .tht-start-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#tht-app .tht-contest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#tht-app .tht-detail-layout{grid-template-columns:1fr}#tht-app .tht-detail-aside{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;align-items:start}#tht-app .tht-attempt-layout{grid-template-columns:1fr}#tht-app .tht-attempt-nav{position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}#tht-app .tht-attempt-nav>h2,#tht-app .tht-attempt-grid{grid-column:1/-1}#tht-app .tht-attempt-grid{grid-template-columns:repeat(10,1fr)}#tht-app .tht-attempt-grid button{aspect-ratio:auto;padding:9px 0}#tht-app .tht-attempt-nav>p{margin:0;grid-column:1/-1}#tht-app .tht-practice-grid{grid-template-columns:1fr}#tht-app .tht-practice-card>p{min-height:0}#tht-app .tht-editor-layout{grid-template-columns:1fr}#tht-app .tht-editor-preview{position:static;max-height:none}#tht-app .tht-bank-layout{grid-template-columns:1fr}#tht-app .tht-folder-panel{position:static;display:flex;flex-wrap:wrap;gap:4px;padding:12px}#tht-app .tht-folder-panel>header{width:100%;margin:0 0 4px}#tht-app .tht-folder-link{padding:7px 9px}#tht-app .tht-profile-layout{grid-template-columns:1fr}#tht-app .tht-profile-layout .tht-form-card{max-width:none}#tht-app .tht-profile-avatar form{max-width:350px;margin-left:auto;margin-right:auto}#tht-app .tht-report-grid{grid-template-columns:1fr}#tht-app .tht-result-summary{gap:25px;padding:25px}#tht-app .tht-result-metrics{gap:12px;grid-template-columns:repeat(2,1fr)}#tht-app .tht-page-head{flex-wrap:wrap}#tht-app .tht-page-head h1{font-size:26px}}
@media(max-width:760px){#tht-app .tht-sidebar{width:264px;transform:translateX(-100%);transition:transform .2s;z-index:1001;top:0}#tht-app .tht-sidebar.is-open{transform:translateX(0)}#tht-app .tht-main-wrap{margin-left:0}#tht-app .tht-mobile-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;height:59px;background:white;border-bottom:1px solid var(--line);padding:10px 16px;position:sticky;top:0;z-index:35}body.admin-bar #tht-app .tht-mobile-bar{top:46px}#tht-app .tht-mobile-bar>a{font-weight:750;font-size:17px;color:#5d5489}#tht-app .tht-lang-chip{background:#efebfc;border:0;padding:5px 10px;border-radius:7px;font-size:13px;color:#8c72b5;font-weight:700}#tht-app .tht-scrim.visible{display:block;position:fixed;inset:0;background:#201b3680;border:0;z-index:1000;backdrop-filter:blur(2px)}#tht-app #tht-content{padding:22px 18px 28px}#tht-app .tht-main-footer{padding:22px 18px;font-size:12px}#tht-app .tht-hero{border-radius:17px;padding:27px 17px}#tht-app .tht-hero h1{font-size:30px;margin-top:17px}#tht-app .tht-hero-eyebrow{font-size:11px;letter-spacing:2px}#tht-app .tht-hero>p{font-size:13px;max-width:310px;margin:0 auto 21px}#tht-app .tht-hero-search{padding:5px 6px 5px 12px;gap:8px;border-radius:10px}#tht-app .tht-hero-search input{font-size:13px}#tht-app .tht-hero-search .tht-btn{padding:8px 12px;font-size:12px}#tht-app .tht-hero>.tht-actions .tht-btn{font-size:12px;padding:9px 14px}#tht-app .tht-stats{padding:22px 0 6px;gap:7px}#tht-app .tht-stats strong{font-size:26px}#tht-app .tht-stats span{font-size:11px}#tht-app .tht-section{margin-top:27px}#tht-app h2{font-size:18px}#tht-app .tht-start-card{padding:17px 12px;gap:9px;min-height:102px}#tht-app .tht-start-card strong{font-size:13px}#tht-app .tht-start-card small{font-size:11px}#tht-app .tht-start-card>.tht-icon{display:none}#tht-app .tht-tile-icon{width:33px;height:37px;border-radius:10px}#tht-app .tht-tile-icon .tht-icon{width:20px;height:20px}#tht-app .tht-contest-card{padding:17px 13px;gap:11px}#tht-app .tht-contest-mark{width:36px;height:36px;font-size:11px}#tht-app .tht-contest-card h3{font-size:17px}#tht-app .tht-contest-card p{font-size:12px}#tht-app .tht-contest-card>.tht-icon{width:13px}#tht-app .tht-filter-panel,#tht-app .tht-bank-layout .tht-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;gap:12px}#tht-app .tht-question-card{padding:17px}#tht-app .tht-q-meta{gap:7px;flex-wrap:wrap;font-size:12px}#tht-app .tht-question-card>header{align-items:flex-start;gap:6px}#tht-app .tht-difficulty-dots{display:none}#tht-app .tht-source-chip{font-size:11px}#tht-app .tht-prose{font-size:15px}#tht-app .tht-options-preview{gap:9px 18px}#tht-app .tht-question-card>footer{flex-wrap:wrap;gap:2px}#tht-app .tht-question-card>footer>.tht-actions{margin-left:auto;gap:1px}#tht-app .tht-question-card>footer .tht-btn{font-size:12px;padding:6px 7px}#tht-app .tht-question-detail{padding:20px}#tht-app .tht-main-stem{font-size:17px}#tht-app .tht-detail-aside{grid-template-columns:1fr}#tht-app .tht-source-panel{margin-top:-15px}#tht-app .tht-comment header{flex-wrap:wrap;gap:3px}#tht-app .tht-comment time{font-size:11px}#tht-app .tht-comments{padding:19px}#tht-app .tht-comments .tht-section-heading{flex-wrap:wrap}#tht-app .tht-topic-tree.level-0{grid-template-columns:1fr}#tht-app .tht-topic-surface{padding:17px 19px}#tht-app .tht-topic-tree{padding-left:17px}#tht-app .tht-page-head{gap:14px;margin-bottom:21px}#tht-app .tht-page-head h1{font-size:26px}#tht-app .tht-page-head p{font-size:14px}#tht-app .tht-page-head .tht-btn{font-size:13px;min-height:35px;padding:8px 11px}#tht-app .tht-practice-card{padding:22px}#tht-app .tht-attempt-question{padding:21px;min-height:0}#tht-app .tht-attempt-header{gap:10px}#tht-app .tht-attempt-header h1{font-size:21px}#tht-app .tht-timer{min-width:111px;padding:9px 11px;gap:8px}#tht-app .tht-timer strong{font-size:22px}#tht-app .tht-timer small{font-size:10px}#tht-app .tht-attempt-grid{grid-template-columns:repeat(8,1fr)}#tht-app .tht-attempt-bottom{align-items:flex-start;flex-wrap:wrap}#tht-app .tht-attempt-bottom>.tht-actions{margin-left:auto}#tht-app .tht-attempt-bottom .tht-btn{font-size:13px;padding:8px 11px}#tht-app .tht-attempt-option{padding:13px;gap:11px}#tht-app .tht-result-summary{padding:23px;gap:22px}#tht-app .tht-score-circle{width:107px;height:107px;border-width:6px}#tht-app .tht-score-circle strong{font-size:30px}#tht-app .tht-result-metrics strong{font-size:24px}#tht-app .tht-result-metrics span{font-size:12px}#tht-app .tht-result-question{padding:20px}#tht-app .tht-answer-comparison{font-size:13px;gap:15px}#tht-app .tht-paper-grid{grid-template-columns:1fr 1fr;gap:13px}#tht-app .tht-paper-card{padding:18px}#tht-app .tht-paper-card h2{font-size:16px}#tht-app .tht-paper-settings{padding:18px}#tht-app .tht-paper-item{padding:17px;gap:14px;grid-template-columns:35px minmax(0,1fr)}#tht-app .tht-paper-order{padding-right:10px}#tht-app .tht-form-card{padding:23px}#tht-app .tht-editor-toolbar{align-items:stretch;flex-direction:column;gap:12px}#tht-app .tht-editor-toolbar .tht-language{align-self:flex-start}#tht-app .tht-editor-form,#tht-app .tht-editor-preview{padding:19px}#tht-app .tht-modal-backdrop{padding:14px}#tht-app .tht-modal>header{padding:17px 19px}#tht-app .tht-modal-body{padding:19px}#tht-app .tht-modal form>footer{padding:14px 19px}#tht-app .tht-toasts{right:15px;bottom:15px;max-width:calc(100vw - 30px)}}
@media(max-width:782px){body.admin-bar #tht-app .tht-sidebar{top:46px}body.tht-standalone.admin-bar #wpadminbar{position:fixed}body.admin-bar #tht-app .tht-scrim.visible{top:46px}}
@media(max-width:420px){#tht-app .tht-start-grid{grid-template-columns:1fr}#tht-app .tht-start-card{min-height:82px;padding:15px}#tht-app .tht-start-card>.tht-icon{display:block}#tht-app .tht-start-card strong{font-size:14px}#tht-app .tht-start-card small{font-size:12px}#tht-app .tht-contest-grid{grid-template-columns:1fr}#tht-app .tht-paper-grid{grid-template-columns:1fr}#tht-app .tht-hero h1{font-size:27px}#tht-app .tht-attempt-grid{grid-template-columns:repeat(5,1fr)}#tht-app .tht-result-summary{gap:17px;padding:20px 15px}#tht-app .tht-score-circle{width:95px;height:95px}#tht-app .tht-form-grid{gap:11px}#tht-app .tht-filter-panel .tht-actions{grid-column:1/-1}#tht-app .tht-bank-layout .tht-result-toolbar{gap:10px}#tht-app .tht-bank-layout .tht-result-toolbar>.tht-actions{width:100%}}
#tht-app .tht-practice-status{margin:0 0 8px;font-size:13px;color:var(--tht-muted)}
#tht-app .tht-practice-row-actions{justify-content:flex-end;gap:5px;flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){#tht-app *,#tht-app *::before,#tht-app *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{@page{size:A4;margin:18mm 16mm}body.tht-printing>*{display:none!important}body.tht-printing #tht-app,body.tht-printing #tht-app #tht-print-root{display:block!important}body.tht-printing #tht-app>.tht-shell,body.tht-printing #tht-app>#tht-modal-root,body.tht-printing #tht-app>#tht-toasts{display:none!important}body.tht-printing #tht-app{background:white!important;font-size:11pt;color:#000;min-height:0}#tht-app .tht-print-header{text-align:center;border-bottom:1px solid #ddd;margin-bottom:22px;padding-bottom:13px}#tht-app .tht-print-header small{font-size:8pt;letter-spacing:2px;color:#777}#tht-app .tht-print-header h1{font-size:19pt;margin:10px 0}#tht-app .tht-print-header p{text-align:left;font-size:10pt;margin-top:25px}#tht-app .tht-print-question{margin-bottom:20px;break-inside:avoid}#tht-app .tht-print-question h3{font-size:11pt;margin-bottom:6px}#tht-app .tht-print-question .tht-prose{font-size:11pt;line-height:1.65;color:#000}#tht-app .tht-print-options{display:flex;flex-wrap:wrap;gap:12px 23px;margin-top:10px}#tht-app .tht-print-options>div{display:flex;gap:5px;font-size:10.5pt;align-items:baseline}#tht-app .tht-print-options p{margin:0}#tht-app .tht-print-solutions{break-before:page}#tht-app .tht-print-solutions>article{margin-bottom:22px;break-inside:avoid}#tht-app .tht-print-solutions h2{font-size:15pt;text-align:center}#tht-app .tht-print-solutions h3,#tht-app .tht-print-solutions h4{font-size:11pt}#tht-app .tht-print-solutions .tht-prose{font-size:10.5pt;color:#000}#tht-app .tht-diagram img{max-height:75mm}#tht-app .tht-prose .katex-display{overflow:visible}#tht-app .tht-diagram figcaption{font-size:8pt}#tht-app a{color:#000;text-decoration:none}#tht-app .tht-prose img{max-width:100%}}


/* Source: assets/membership.css */
/* Compact v1.1 additions. Existing mathematics and print styles stay intact. */
#tht-app .tht-sidebar{padding:12px 14px}
#tht-app .tht-sidebar>*{flex-shrink:0}
#tht-app .tht-brand{padding-top:4px;padding-bottom:8px;margin-bottom:8px;gap:10px}
#tht-app .tht-language{margin-bottom:8px}
#tht-app .tht-sidebar-search{margin:8px 0}
#tht-app .tht-logo{width:38px;height:38px;background:#fff;border-radius:5px;overflow:hidden;flex-shrink:0;box-shadow:none}
#tht-app .tht-logo img{width:100%;height:100%;object-fit:contain;border-radius:5px}
#tht-app .tht-brand small{font-size:10px;letter-spacing:.08em}
#tht-app .tht-sidebar-primary{gap:6px;padding-top:8px;padding-bottom:8px}
#tht-app .tht-sidebar-primary .tht-btn{min-height:34px;padding:7px 10px;font-size:14px}
#tht-app .tht-nav{padding-top:8px;padding-bottom:8px}
#tht-app .tht-account-menu{position:relative;margin:0 14px}
#tht-app .tht-account-menu summary{list-style:none;cursor:pointer;margin:0;padding:10px 0}
#tht-app .tht-account-menu summary::-webkit-details-marker{display:none}
#tht-app .tht-account-menu>div{position:absolute;top:100%;left:0;right:0;z-index:30;background:#292b40;border:1px solid #555870;border-radius:9px;box-shadow:0 10px 25px #0004;padding:6px}
#tht-app .tht-account-menu>div a{display:block;color:#f1f2ff;padding:8px 10px;text-decoration:none;border-radius:5px;font-size:15px}
#tht-app .tht-account-menu>div a:hover{background:#424660}
#tht-app .tht-account-links{display:flex;gap:5px;padding:0 14px 8px}
#tht-app .tht-account-links .tht-btn{font-size:14px;padding:6px}
#tht-app .tht-sidebar-section{min-height:100px;flex:1 0 auto;padding:8px 0;margin-top:8px}
#tht-app #tht-contest-find{width:100%;min-height:32px;background:#ffffff0d;color:#fff;border:1px solid #ffffff30;border-radius:5px;padding:6px 9px;font-size:14px;margin-bottom:8px}
#tht-app .tht-contest-tree{max-height:32vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#tht-app .tht-contest-tree details[hidden]{display:none}
#tht-app .tht-contest-tree summary{cursor:pointer;padding:6px 2px;font-size:14px;color:#e0e2fa}
#tht-app .tht-contest-tree small{color:#9498b1;margin-left:6px}
#tht-app .tht-contest-tree a{padding:5px 6px 5px 18px;font-size:13px;display:block;overflow-wrap:anywhere}
#tht-app .tht-contest-year{margin-left:14px}
#tht-app .tht-sidebar-footer{display:flex;justify-content:space-between;gap:10px;padding:10px 16px;font-size:13px}
#tht-app .tht-quota{background:#fff9ec;color:#785020;border:1px solid #f4d39b;border-radius:7px;padding:8px 12px;margin:18px 32px 0;font-size:14px}
#tht-app .tht-quota small{display:block;margin-top:3px}
#tht-app .tht-auth-card{max-width:450px;margin:25px auto;padding:30px}
#tht-app .tht-auth-card h1{font-size:26px;margin:0 0 10px}
#tht-app .tht-auth-card form{display:grid;gap:14px}
#tht-app .tht-auth-card label,#tht-app .tht-class-actions label,#tht-app .tht-assignment-form label{display:grid;gap:6px;font-size:15px}
#tht-app .tht-auth-card input{width:100%;min-height:40px}
#tht-app .tht-auth-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}
#tht-app .tht-auth-links a{font-size:14px;padding:5px}
#tht-app .tht-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
#tht-app .tht-plan{padding:20px;display:flex;flex-direction:column;gap:10px}
#tht-app .tht-plan h2{font-size:20px;margin:0}
#tht-app .tht-plan>strong{font-size:27px;color:#696cff}
#tht-app .tht-plan>p{font-size:14px;flex:1}
#tht-app .tht-plan .tht-btn{font-size:14px;white-space:normal}
#tht-app .tht-payment-qr{display:block;max-width:280px;max-height:350px;width:100%;height:auto;margin:10px auto}
#tht-app .tht-order,#tht-app .tht-class{padding:20px;margin:12px 0}
#tht-app .tht-order h2,#tht-app .tht-class h2{font-size:20px}
#tht-app .tht-class-actions{display:flex;flex-wrap:wrap;gap:20px;margin:20px 0}
#tht-app .tht-class-actions form{display:flex;gap:8px;align-items:end}
#tht-app .tht-assignment-form{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:15px 0}
#tht-app .tht-assignment{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #e7e7ef}
#tht-app .tht-report-table{width:100%;border-collapse:collapse;text-align:left}
#tht-app .tht-report-table td,#tht-app .tht-report-table th{padding:9px;border-bottom:1px solid #e7e7ef}
#tht-app .tht-solution-unlock{padding:16px;background:#fff;border:1px solid #e4e4f0;border-radius:9px}
#tht-app .tht-solution-unlock>small{display:block;margin-top:8px}
@media(max-width:1150px){#tht-app .tht-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#tht-app .tht-quota{margin:12px 14px 0}#tht-app .tht-plan-grid{grid-template-columns:1fr}#tht-app .tht-auth-card{padding:20px;margin:10px 0}#tht-app .tht-class-actions form{flex-wrap:wrap}#tht-app .tht-contest-tree{max-height:30vh}}
@media(max-width:1000px){body.admin-bar #tht-app .tht-quota{margin-top:50px}}
@media(max-width:782px){body.admin-bar #tht-app .tht-quota{margin-top:64px}}
@media print{#tht-app .tht-quota{display:none!important}}
/* v1.5.7: the current exam remains visible in the compact tree. */
.tht-contest-tree a.tht-tree-current{background:rgba(120,110,255,.24);color:#fff;border-radius:5px;box-shadow:inset 3px 0 #9c91ff}
/* v1.7.3: simple promotion form, sharing the normal application sidebar. */
#tht-app .tht-freecode-card{max-width:520px;padding:16px;border-radius:3px;margin:0 auto}
#tht-app .tht-freecode-card h1{font-size:24px;line-height:1.3;margin:0 0 8px}
#tht-app .tht-freecode-card p{margin:6px 0 10px;line-height:1.4}
#tht-app .tht-freecode-card form{display:flex;flex-direction:column;gap:7px}
#tht-app #tht-content .tht-freecode-card textarea{box-sizing:border-box;width:100%;height:64px;min-height:64px;max-width:100%;padding:8px;border:1px solid var(--line);border-radius:3px!important;resize:vertical;font:inherit}
#tht-app .tht-freecode-card textarea:focus{outline:none;border-color:#3974a7;box-shadow:none}
#tht-app .tht-freecode-card .tht-btn{align-self:start;border-radius:3px}
#tht-app .tht-freecode-honeypot{display:none!important}
#tht-app .tht-freecode-card small{display:block;color:var(--muted);line-height:1.4}
.tht-freecode-admin .tht-freecode-settings{max-width:680px;background:#fff;border:1px solid #d5dfe9;border-radius:3px;padding:14px}
.tht-freecode-admin .tht-freecode-settings>label{display:flex;align-items:center;gap:8px;margin:10px 0}
#tht-app .tht-freecode-captcha{display:grid;gap:5px;margin:3px 0;padding:8px;border:1px solid var(--line);border-radius:3px;background:#f6f9fd}
#tht-app .tht-captcha-image-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:64px}
#tht-app .tht-captcha-image-row img{display:block;width:210px;height:64px;max-width:100%;border:1px solid #d5dfe9;border-radius:3px}
#tht-app .tht-captcha-image-row img[hidden]{display:none}
#tht-app .tht-freecode-captcha input:not([type=hidden]){height:34px;min-height:34px;padding:5px 8px;border-radius:3px!important;max-width:210px;letter-spacing:2px;text-transform:uppercase}
#tht-app .tht-captcha-image-row .tht-btn{align-self:center;min-height:32px;padding:5px 9px;font-size:13px}
.tht-freecode-admin .tht-freecode-budget{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end;margin:10px 0}
.tht-freecode-admin .tht-freecode-budget>label{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0}
.tht-freecode-admin .tht-freecode-budget select,.tht-freecode-admin .tht-freecode-budget input{min-height:34px;width:100%;border-radius:3px}
.tht-freecode-admin .tht-freecode-budget .tht-search-select{width:100%;min-width:0}
@media(max-width:480px){.tht-freecode-admin .tht-freecode-budget{grid-template-columns:1fr}}
.tht-freecode-admin .tht-freecode-settings input[type=text],.tht-freecode-admin .tht-freecode-settings input:not([type]),.tht-freecode-admin .tht-select-toggle{min-height:34px;flex:1;border-radius:3px}


/* Source: assets/math-editor.css */
/* Compact editor: canonical Markdown source and an isolated live preview. */
.tht-math-editor{border:1px solid #cbd3df;border-radius:3px;background:#fff;overflow:visible;color:#111;margin:5px 0 8px;min-width:0}
.tht-math-editor .tht-editor-tabs,.tht-math-editor .tht-editor-toolbar,#tht-app .tht-math-editor .tht-editor-tabs,#tht-app .tht-math-editor .tht-editor-toolbar{display:flex;flex-direction:row;gap:3px;flex-wrap:wrap;align-items:center;padding:4px 6px;margin:0;background:#f7f8fb;border-bottom:1px solid #e0e4ed}
.tht-math-editor .tht-editor-tabs button,.tht-math-editor .tht-editor-toolbar button,.tht-equation-dialog button{border:1px solid #d4dbe6;background:#fff;color:#1b2536;border-radius:3px;min-height:29px;padding:3px 8px;box-shadow:none;font:inherit;font-size:13px;line-height:1.3;cursor:pointer}
.tht-math-editor .tht-editor-tabs button[aria-selected=true]{background:#eaf0ff;border-color:#839bf4}
.tht-math-editor .tht-editor-toolbar button:hover,.tht-math-editor .tht-editor-toolbar button:focus-visible{border-color:#6076dc;background:#eef2ff}
.tht-math-editor textarea.tht-editor-source,#tht-app .tht-math-editor textarea.tht-editor-source{border:0;border-radius:0;box-shadow:none!important;display:block;width:100%;min-height:105px;resize:vertical;margin:0!important;padding:8px 10px!important;color:#111;font:inherit;line-height:1.45;box-sizing:border-box}
.tht-math-editor textarea.tht-editor-source[hidden],.tht-math-editor .tht-editor-preview[hidden],.tht-math-editor .tht-editor-toolbar[hidden]{display:none!important}
.tht-math-editor .tht-editor-preview,#tht-app .tht-math-editor .tht-editor-preview{position:static;top:auto;max-height:none;margin:0;padding:8px 10px;min-height:105px;overflow-wrap:anywhere;color:#111;line-height:1.45;max-width:100%}
.tht-editor-preview p{margin:4px 0}.tht-editor-preview .katex-display{margin:8px 0;overflow:auto}.tht-editor-preview img{max-width:100%;height:auto}
.tht-editor-status{display:block;font-size:12px;color:#536174;padding:3px 8px;margin:0;min-height:18px}.tht-editor-status:empty{display:none}
.tht-editor-upload{margin-left:auto!important}.tht-equation-backdrop{position:fixed;inset:0;z-index:100200;background:#0005;display:flex;align-items:center;justify-content:center;padding:16px}
body.tht-equation-open{--keyboard-zindex:100210;--suggestion-zindex:100220;--scrim-zindex:100215}
.tht-equation-dialog{background:white;border:1px solid #d3d9e4;border-radius:3px;padding:12px;width:620px;max-width:100%;color:#111;box-sizing:border-box}
.tht-equation-dialog h3{font-size:18px;margin:0 0 10px}.tht-equation-dialog math-field,.tht-equation-dialog input[type=text]{display:block;width:100%;min-height:58px;box-sizing:border-box;padding:8px;font-size:23px;border:1px solid #aebce9;border-radius:3px}
.tht-equation-dialog .tht-equation-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:10px}.tht-equation-dialog label{margin-right:auto;font-size:13px}.tht-equation-dialog .tht-editor-primary{background:#555bdd;color:white;border-color:#555bdd}
@media(max-width:600px){.tht-math-editor .tht-editor-toolbar{gap:2px}.tht-math-editor .tht-editor-toolbar button{padding:3px 6px}.tht-editor-upload{margin-left:0!important}.tht-equation-dialog{padding:9px}.tht-equation-backdrop{align-items:flex-start;padding-top:8vh}}


/* Source: assets/upgrade.css */
/* v1.2 compact layout and accessible colorful actions; loaded last. */
/* Number navigation: reserve room for the colored icon and up to three digits. */
#tht-app .tht-attempt-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,44px),1fr));gap:6px;align-items:start}
#tht-app .tht-attempt-grid>button{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:3px;white-space:nowrap;word-break:normal;overflow-wrap:normal;box-sizing:border-box;height:44px;min-height:44px;aspect-ratio:auto;padding:0 2px;line-height:1;font-variant-numeric:tabular-nums}
#tht-app .tht-attempt-grid>button>.tht-color-icon{margin:0;flex:0 0 auto;font-size:.65em;line-height:1}
#tht-app .tht-attempt-grid>button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
#tht-app #tht-content{padding-top:20px}
#tht-app .tht-page-head{margin-bottom:16px}
#tht-app .tht-account-links{padding-left:0;padding-right:0;display:flex;width:100%}
#tht-app .tht-account-links .tht-btn{flex:1;min-width:0;white-space:normal}
#tht-app .tht-account-menu{margin:0;width:100%}
#tht-app .tht-account-menu summary>span:last-child{margin-left:auto;flex:0 0 auto;color:#fcd34d}
#tht-app .tht-account-menu summary>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
#tht-app .tht-account-menu small{white-space:normal;line-height:1.45}
#tht-app .tht-account-menu>div a{display:flex;align-items:center;gap:8px}
#tht-app .tht-sidebar-primary .tht-btn.primary[href="#practice"]{background:linear-gradient(120deg,#6d28d9,#2563eb);border:1px solid #aaa2ff;min-height:48px;font-size:16px;font-weight:750;box-shadow:0 4px 16px #4545e655}
#tht-app .tht-sidebar-primary a[href="#practice"]:hover{filter:brightness(1.12)}
#tht-app .tht-color-icon{display:inline-block;flex:none;line-height:1.1;font-size:1em;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;margin-right:4px}
#tht-app .tht-colored-svg{stroke:#0ea5e9;fill:#fde68a55}
#tht-app .tht-colored-svg path:nth-child(even),#tht-app .tht-colored-svg circle{stroke:#f59e0b}
#tht-app .primary .tht-colored-svg,#tht-app .tht-sidebar .tht-colored-svg{stroke:#67e8f9;fill:#fde68a44}
#tht-app .tht-filter-panel.tht-filter-compact{grid-template-columns:minmax(180px,1.2fr) minmax(140px,1fr) minmax(180px,1.2fr) auto;gap:12px;padding:14px;align-items:end}
#tht-app .tht-filter-compact .tht-filter-search{grid-column:auto;margin:0;align-self:end}
#tht-app .tht-filter-compact .tht-actions{grid-column:auto;justify-content:flex-start}
#tht-app .tht-card-stem,#tht-app .tht-options-preview{max-height:none;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset;display:block}
#tht-app .tht-options-preview>div{margin:9px 0;display:flex;gap:9px}
#tht-app .tht-main-footer{margin-top:auto;padding:16px;text-align:center;border:0}
#tht-app .tht-contact-link{border:0;background:transparent;color:#526078;font-size:14px;font-weight:650;display:inline-flex;align-items:center;gap:5px}
#tht-app .tht-ai-panel{margin-top:24px}
#tht-app .tht-ai-report{padding:24px;margin:16px 0;overflow-wrap:anywhere}
#tht-app .tht-ai-report header{border-bottom:1px solid #e1e6f0;margin-bottom:20px;padding-bottom:12px}
#tht-app .tht-ai-report .tht-prose img{display:none} /* No remote tracking images in generated reports. */
#tht-app .tht-modal:has(.tht-ai-report){width:calc(100vw - 40px);max-width:none;max-height:calc(100dvh - 40px)}
#tht-app .tht-modal:has(.tht-ai-report) .tht-modal-body{min-width:0;overflow-x:hidden}
#tht-app .tht-ai-report{box-sizing:border-box;width:100%;min-width:0}
#tht-app .tht-ai-report .tht-prose table{width:100%;table-layout:fixed;overflow-wrap:anywhere}
#tht-app .tht-ai-report .tht-prose pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){#tht-app .tht-modal:has(.tht-ai-report){width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}#tht-app .tht-modal:has(.tht-ai-report) .tht-modal-body{padding:8px}}
#tht-app .tht-ai-consent{display:flex;flex-direction:row;align-items:flex-start;gap:9px;margin:12px 0;font-weight:400}
#tht-app .tht-ai-consent input{margin-top:3px}
#tht-app .tht-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#tht-app .tht-auth-card{margin-top:0}
@media(max-width:1150px){#tht-app .tht-filter-panel.tht-filter-compact{grid-template-columns:1fr 1fr}}
@media(max-width:600px){#tht-app .tht-filter-panel.tht-filter-compact{grid-template-columns:1fr}#tht-app .tht-ai-report{padding:16px}#tht-app .tht-ai-panel .tht-btn{white-space:normal}}
@media print{#tht-app .tht-main-footer{display:none}}
/* v1.5.1: compact contest tree first; utilities dock above membership. */
#tht-app .tht-sidebar-section{display:flex;flex-direction:column;flex:1 1 auto;min-height:110px;margin-top:4px;padding-top:4px}
#tht-app .tht-contest-tree{flex:1 1 auto;min-height:65px;max-height:none;overflow-y:auto;overscroll-behavior:contain}
#tht-app .tht-contest-tree>details{margin:0 0 5px}
#tht-app .tht-contest-tree summary{padding:2px 1px;line-height:1.35}
#tht-app .tht-sidebar-utilities{flex:0 0 auto;margin-top:auto;padding-top:8px}
#tht-app .tht-sidebar-utilities .tht-sidebar-search{margin:0 0 6px}
#tht-app .tht-sidebar-utilities nav{display:flex;flex-direction:column;gap:2px}
#tht-app .tht-sidebar-footer{flex:0 0 auto;margin-top:6px}
#tht-app .tht-help-fab{position:fixed;right:18px;bottom:18px;z-index:45;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#0891b2;color:#fff;text-decoration:none;box-shadow:0 3px 14px #082f4940;font-size:26px;font-weight:800;line-height:1}
#tht-app .tht-help-fab:hover{background:#0e7490;transform:translateY(-1px)}
#tht-app .tht-help-fab:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}
#tht-app .tht-help-fab .tht-color-icon{font:inherit;color:inherit;margin:0}
#tht-app .tht-main-wrap{padding-bottom:65px}
@media print{#tht-app .tht-help-fab{display:none}}


/* Source: assets/classroom.css */
.tht-class-header{display:flex;justify-content:space-between;align-items:start;gap:16px}.tht-class-header h2{margin:0}.tht-class-countdown{color:#d62839!important;font-weight:700;font-variant-numeric:tabular-nums}
.tht-class-create,.tht-class-assign form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.tht-class-create{width:100%;padding:18px}.tht-class-create label,.tht-class-assign label{display:flex;flex-direction:column;gap:7px}.tht-class-assign{margin:18px 0}.tht-class-assign summary{cursor:pointer;font-weight:650;margin-bottom:16px}.tht-class-assign [hidden]{display:none!important}
.tht-report-scroll{overflow-x:auto}.tht-check-badges{display:flex;flex-wrap:wrap;gap:6px;min-width:230px}.tht-check-badges span{border-radius:5px;padding:3px 6px;font-size:13px}.tht-check-correct{background:#e6f5eb;color:#176938}.tht-check-incorrect{background:#ffe8e8;color:#a71d2a}.tht-check-blank{background:#edf0f5;color:#46536a}
#tht-app .tht-modal:has(.tht-report-scroll){width:min(100%,960px)}
.tht-bank-picker{max-height:50vh;overflow:auto;margin-bottom:15px}.tht-bank-picker label{display:flex;gap:9px;padding:9px;border-bottom:1px solid #e6e8ed}.tht-bank-picker input{width:auto!important;flex:none}.tht-payment-success{color:#16733e;font-weight:700;text-align:center}.tht-contest-info{padding:20px;margin-bottom:16px}.tht-contest-info img{max-width:100%;height:auto}
@media(max-width:700px){.tht-class-header{flex-direction:column}.tht-class-create label,.tht-class-assign label{width:100%}}


/* Source: assets/my-bank.css */
/* Scoped to My Bank; the site's main sidebar, practice and admin styles are untouched. */
#tht-app .mb-editor-panel>summary{display:list-item;list-style:disclosure-closed inside;outline-offset:4px;padding:4px 0}#tht-app .mb-editor-panel[open]>summary{list-style:disclosure-open inside}#tht-app .mb-editor-panel:not([open])>.mb-panel-body{display:none}#tht-app .mb-editor .mb-editor-panel:first-child{margin-top:0}#tht-app .mb-panel-body{padding-top:8px}#tht-app .mb-editor-images{border-top:1px solid #e2e4ee;margin:18px 0;padding:12px 0}#tht-app .mb-editor-images h3{display:flex;gap:12px;align-items:center}#tht-app .mb-editor-images>.mb-button{margin-top:10px}#tht-app .mb-asset-code{max-width:220px;font-family:monospace!important;font-size:12px!important;padding:7px!important}#tht-app .mb-editor-help{line-height:1.7}#tht-app .mb-editor-help code{white-space:pre-wrap;overflow-wrap:anywhere}#tht-app .mb-editor-help dt{margin-top:12px}#tht-app .mb-editor-help dd{margin-left:0;color:#66708b}#tht-app .mb-image-error{border:1px dashed #b43530;color:#b43530;font-size:12px}
#tht-app .mb-selection label{flex-direction:row!important;margin:0!important;font-size:12px!important;font-weight:400!important;white-space:nowrap}
#tht-app .mb-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}#tht-app .mb-sidebar{background:#fff;border:1px solid #dfe0e6;border-radius:8px;padding:14px 12px;min-height:calc(100vh - 110px);font-size:12px}#tht-app .mb-sidebar h2{font-size:14px;margin:0 0 14px}#tht-app .mb-storage{display:flex;justify-content:space-between;font-size:11px;gap:8px}#tht-app .mb-sidebar progress{width:100%;height:7px;accent-color:#27ae60;display:block;margin:5px 0 22px}#tht-app .mb-folder{display:block;padding:8px;color:inherit;border-radius:4px;text-decoration:none}#tht-app .mb-folder-row{display:flex;align-items:center;gap:6px;border-radius:4px;margin:3px 0;min-height:30px}#tht-app .mb-folder-row a{flex:1;min-width:0;overflow-wrap:anywhere;text-decoration:none;color:inherit;padding:5px 0}#tht-app .mb-folder-row small{padding-right:5px}#tht-app .mb-folder-row.active,#tht-app .mb-folder.active{background:#777fff;color:#fff}#tht-app .mb-folder-tree{margin-bottom:10px;max-height:55vh;overflow:auto}#tht-app .mb-layout input[type=checkbox]{width:14px;height:14px;flex:none;accent-color:#7078ff;margin:0 4px}#tht-app .mb-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap}#tht-app .mb-button{border:1px solid #dbdce2!important;background:#fff;color:#18233e;font:inherit;font-size:12px!important;font-weight:400!important;border-radius:4px;padding:6px 9px!important;min-height:30px;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:none!important;gap:4px}#tht-app .mb-button:before,#tht-app .mb-button:after{display:none!important}#tht-app .mb-button:hover,#tht-app .mb-button.active,#tht-app .mb-button[aria-pressed=true]{border-color:#777fff!important;background:#eef0ff;color:#454cee}#tht-app .mb-button:disabled{opacity:.4;cursor:default}#tht-app .mb-button:focus-visible,#tht-app .mb-folder-row a:focus-visible{outline:2px solid #5753ff;outline-offset:2px}#tht-app .mb-sidebar>.mb-button{width:100%;border-style:dashed!important;margin-top:8px}#tht-app .mb-sidebar .mb-actions{gap:3px}#tht-app .mb-sidebar .mb-actions .mb-button{min-width:27px;padding:3px!important;min-height:25px}#tht-app .mb-main{min-width:0}#tht-app .mb-crumb{font-size:12px;margin-bottom:14px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}#tht-app .mb-crumb span{font-size:11px;color:#7482a5}#tht-app .mb-topbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}#tht-app .mb-search{display:flex;gap:5px;margin-left:auto}#tht-app .mb-search input{font-size:12px!important;min-height:30px!important;padding:5px 8px!important;width:185px!important;max-width:100%}#tht-app .mb-selection{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:12px 0;font-size:12px;color:#7781a0}#tht-app .mb-selection label{display:flex;align-items:center;gap:6px}#tht-app .mb-table-wrap{overflow-x:auto}#tht-app .mb-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}#tht-app .mb-table th{text-align:left;text-transform:uppercase;font-size:11px;font-weight:500;padding:10px 6px;border-bottom:2px solid #ddd}#tht-app .mb-table th:first-child{width:26px}#tht-app .mb-table th:nth-child(2){width:52px}#tht-app .mb-table th:nth-child(4){width:80px}#tht-app .mb-table th:nth-child(5){width:28%}#tht-app .mb-table th:last-child{width:130px}#tht-app .mb-table td{border-bottom:1px solid #dedfe4;padding:20px 6px;vertical-align:middle}#tht-app .mb-stem{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#tht-app .mb-tags{display:flex;gap:4px;flex-wrap:wrap}#tht-app .mb-tags span{border-radius:14px;background:#e1efff;color:#3875cf;padding:2px 9px;font-size:12px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}#tht-app .mb-tags span:nth-child(3n+1){background:#e2f8e7;color:#289954}#tht-app .mb-tags .mb-contest{background:#fff;color:#7481a1;border:1px solid #ccd2e3}#tht-app .mb-row-links{display:flex;flex-wrap:wrap;gap:3px}#tht-app .mb-row-links .mb-button{font-size:11px!important;padding:2px 4px!important;min-height:24px}#tht-app .mb-detail{background:#fff;border:1px solid #dedfe4;box-shadow:0 1px 2px #0001;border-radius:8px;padding:16px;margin-bottom:14px;overflow-wrap:anywhere}#tht-app .mb-detail header{display:flex;gap:10px;align-items:center;font-size:13px}#tht-app .mb-detail h3{font-size:16px;margin:16px 0 8px}#tht-app .mb-difficulty{background:#73b51b;color:#fff;border-radius:12px;padding:2px 7px;margin-left:auto;font-weight:600}#tht-app .mb-detail footer{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid #ddd;margin-top:18px;padding-top:10px}#tht-app .mb-detail .tht-prose{overflow-x:auto}#tht-app .mb-detail img{max-width:100%;height:auto}#tht-app .mb-private{font-size:11px;color:#8590a7;margin-top:16px;line-height:1.5}#tht-app .mb-warning{font-size:12px;color:#b43530}#tht-app .mb-pagination{display:flex;align-items:center;gap:10px;margin-top:20px}#tht-app .mb-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px}#tht-app .mb-editor-grid>form,#tht-app .mb-live{background:#fff;border:1px solid #dde1ec;border-radius:8px;padding:20px;min-width:0}#tht-app .mb-editor label{display:block;margin:12px 0;font-size:13px}#tht-app .mb-editor textarea,#tht-app .mb-editor input:not([type=checkbox]):not([type=range]),#tht-app .mb-editor select{width:100%;font-size:14px}#tht-app .mb-editor textarea{font-family:inherit}#tht-app .mb-editor details{border:1px solid #e2e4ee;padding:10px;border-radius:5px;margin:12px 0}#tht-app .mb-editor summary{cursor:pointer;font-size:14px;font-weight:600}#tht-app .mb-editor fieldset{border:1px solid #e2e4ee;margin:10px 0;padding:12px;min-width:0}#tht-app .mb-editor small{font-size:12px}#tht-app .mb-live{position:sticky;top:15px;max-height:90vh;overflow:auto}#tht-app .mb-live h2{font-size:18px}#tht-app .mb-image-list{display:flex;flex-wrap:wrap;gap:8px}#tht-app .mb-image-list>div{border:1px solid #ddd;padding:8px;max-width:100%;display:flex;flex-direction:column;gap:5px}#tht-app .mb-image-list img{width:130px;height:90px;object-fit:contain}#tht-app .mb-image-list code{font-size:11px;overflow-wrap:anywhere}#tht-app .mb-topic-tree{max-height:200px;overflow:auto;display:flex;flex-direction:column;align-items:flex-start;margin:10px 0;gap:4px}#tht-app .mb-topic-tree [hidden]{display:none}#tht-app .mb-live img{max-width:100%;height:auto}#tht-app .mb-live .tht-prose{overflow-x:auto}
@media(min-width:1500px){#tht-app .mb-table th:last-child{width:170px}#tht-app .mb-layout{gap:32px}}
@media(max-width:1100px){#tht-app .mb-layout{grid-template-columns:200px minmax(0,1fr);gap:16px}#tht-app .mb-table{min-width:650px}#tht-app .mb-editor-grid{grid-template-columns:1fr}#tht-app .mb-live{position:static;max-height:none}#tht-app .mb-search{margin-left:0}}
@media(max-width:700px){#tht-app .mb-layout{grid-template-columns:1fr}#tht-app .mb-sidebar{min-height:0}#tht-app .mb-folder-tree{max-height:190px}#tht-app .mb-sidebar .mb-private{margin-bottom:0}#tht-app .mb-editor-grid>form,#tht-app .mb-live{padding:12px}}
#tht-app .mb-button>.tht-color-icon{display:none!important}#tht-app .mb-sidebar progress{appearance:none;border:0;border-radius:5px;overflow:hidden;background:#ddd}#tht-app .mb-sidebar progress::-webkit-progress-bar{background:#ddd}#tht-app .mb-sidebar progress::-webkit-progress-value{background:#27ae60}#tht-app .mb-sidebar progress::-moz-progress-bar{background:#27ae60}


/* Source: assets/assessment.css */
.tht-essay-input textarea,.tht-grade-form textarea,.tht-rubric-editor textarea{width:100%;min-height:150px;resize:vertical;box-sizing:border-box}
.tht-student-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#f6f7fc;padding:16px;border-radius:8px}
.tht-student-images{display:flex;flex-wrap:wrap;gap:16px}.tht-student-images figure{margin:0;max-width:100%}.tht-student-images img{display:block;max-width:100%;max-height:80vh;object-fit:contain;margin:10px 0}
.tht-essay-summary,.tht-grade-form{padding:24px;margin-bottom:20px}.tht-grade-form label{display:block;margin:14px 0}.tht-grade-form input[type=number]{width:100px}.tht-grade-form [data-grade-saved]{margin:0 12px;color:#586688}
.tht-essay-input .tht-written-answer{font:inherit;line-height:1.65}.tht-rubric-editor{min-width:0}.tht-rubric-editor p{font-size:13px}.tht-check-pending_teacher{background:#fff3ce}.tht-check-published{background:#dcf6e7}
.tht-attempt-nav [data-action="submit-attempt"]{white-space:normal;overflow-wrap:anywhere;line-height:1.45;height:auto;min-height:44px;padding:10px 12px}


/* Source: assets/flat.css */
/* v1.6.6: scoped presentation only; math layout and print styles stay intact. */
#tht-app{--shadow:none}
#tht-app :is(section,article,aside,details,fieldset,button,.tht-hero-search,.tht-sidebar-search,.tht-option-static,.tht-help-fab,.tht-tile-icon,.tht-topic-surface,.tht-account-menu>div){border-radius:4px!important;box-shadow:none!important}
#tht-app :is(.tht-start-card,.tht-contest-card,.tht-question-card):hover{transform:none;box-shadow:none}
#tht-app :is(button,a,input,textarea,select):focus-visible{outline:2px solid #6255d9;outline-offset:2px}
#tht-app :is(.tht-surface,.tht-question-card,.tht-solution,.tht-answer,.tht-modal,.tht-filter-panel,.tht-hero,.tht-start-card,.tht-contest-card,.tht-paper-card,.tht-practice-card,.tht-result-question,.tht-notification-list,.mb-sidebar,.mb-simple,.mb-detail,.mb-live,.mb-editor-panel,.mb-editor-images,.mb-editor-grid>form,.tht-btn,.mb-button,.tht-language,.tht-source-chip,.tht-pill,input,textarea,select,fieldset){border-radius:4px!important;box-shadow:none!important}
#tht-app :is(.tht-btn.primary,.tht-sidebar-primary>.tht-btn.primary){background:#6255d9;box-shadow:none;transform:none}
#tht-app .tht-main-footer:empty{display:none}
#tht-app :is(.tht-select-popup,.tht-select-option,.tht-language.light,.tht-help-fab,.tht-logo,.tht-option-static>b,.tht-solution-number){border-radius:4px!important;box-shadow:none!important}
.tht-search-select .tht-select-popup{border-radius:4px;box-shadow:none}
#tht-app .tht-sidebar-toggle{position:fixed;z-index:1002;top:12px;left:244px;width:28px;height:32px;padding:0;border:1px solid #737189;border-radius:4px;background:#292839;color:white;font-size:24px;line-height:1;cursor:pointer}
body.admin-bar #tht-app .tht-sidebar-toggle{top:44px}
#tht-app .tht-sidebar-toggle:focus-visible{outline:3px solid #50bfff;outline-offset:2px}
@media(min-width:761px){
 #tht-app .tht-sidebar-collapsed .tht-sidebar{transform:translateX(-100%);visibility:hidden}
 #tht-app .tht-sidebar-collapsed .tht-main-wrap{margin-left:0}
 #tht-app .tht-sidebar-collapsed .tht-sidebar-toggle{left:6px}
 #tht-app .tht-sidebar-collapsed #tht-content{padding-left:40px}
}
#tht-app[data-view=browse] #tht-content,#tht-app[data-view=question] #tht-content{padding:10px 22px 14px}
#tht-app[data-view=browse] .tht-question-card{padding:10px 11.5px;margin-bottom:8.5px}
#tht-app[data-view=browse] .tht-question-card>header{margin-bottom:8.5px;gap:6px}
#tht-app[data-view=question] .tht-question-detail{padding:14px}
#tht-app[data-view=question] .tht-detail-layout{gap:12px}
#tht-app[data-view=question] .tht-main-stem{margin-bottom:11.5px}
#tht-app[data-view=question] .tht-option-static{padding:5.5px 7px;gap:6px}
#tht-app[data-view=question] :is(.tht-notes-panel,.tht-source-panel){padding:9.5px;margin-bottom:9px}
#tht-app[data-view=question] .tht-comments{padding:11.5px;margin-top:13.5px}
#tht-app[data-view=browse] .tht-filter-panel{padding:8px;gap:8px}
#tht-app[data-view=question] .tht-solution summary{padding:8px 9.5px}
#tht-app[data-view=question] .tht-solution>.tht-prose{padding:1.5px 10.5px 10px}
#tht-app[data-view=question] .tht-solution>.tht-tags{padding:0 10.5px 8px}
#tht-app[data-view=question] .tht-solution{margin-bottom:6.5px}
#tht-app:is([data-view=question],[data-view=browse]) .tht-diagram{margin:9px 0}
#tht-app[data-view=question] .tht-section{margin-top:16px}
#tht-app:is([data-view=question],[data-view=browse]) :is(.tht-prose,.tht-prose p,.tht-prose li){color:#000;line-height:1.5}
#tht-app:is([data-view=question],[data-view=browse]) .tht-prose p{margin-bottom:6px}
#tht-app:is([data-view=question],[data-view=browse]) .tht-prose .katex-display{margin:8px 0}
#tht-app:is([data-view=question],[data-view=browse]) :is(.tht-options-preview,.tht-detail-options){gap:6px 12px;margin:8px 0}
#tht-app:is([data-view=question],[data-view=browse]) .tht-page-head{margin-bottom:12px}
#tht-app .tht-question-tools{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;padding:10px 0;border-top:1px solid var(--line)}
@media(min-width:1600px){#tht-app:is([data-view=browse],[data-view=question]) #tht-content{padding:10px 30px}}
@media(min-width:1001px) and (max-width:1280px){#tht-app .tht-sidebar-toggle{left:215px}}
@media(min-width:761px) and (max-width:1000px){#tht-app .tht-sidebar-toggle{left:195px}}
@media(min-width:761px){#tht-app .tht-sidebar-collapsed .tht-sidebar-toggle{left:6px}#tht-app .tht-sidebar-collapsed #tht-content{padding-left:40px}}
@media(max-width:760px){#tht-app .tht-sidebar-toggle{display:none}#tht-app:is([data-view=browse],[data-view=question]) #tht-content{padding:11px 9px 14px}}
@media print{#tht-app .tht-sidebar-toggle{display:none!important}}
/* Compact, explicit five-point difficulty scale (v1.6.7). */
#tht-app :is(.tht-difficulty-badge,.mb-difficulty){display:inline-block;background:#548313;color:#fff;font-size:12px;font-weight:700;line-height:1.4;padding:3px 8px;border-radius:4px;white-space:nowrap;box-shadow:none}


/* Source: assets/compact-v168.css */
/* v1.6.8: compact practice, homepage samples and activity. Scoped to this app. */
#tht-app .tht-sidebar-utilities{display:grid;gap:10px;padding-top:8px}
#tht-app .tht-sidebar-utilities .tht-sidebar-search{margin:0}
#tht-app .tht-sidebar-utilities nav{gap:10px}
#tht-app .tht-sidebar-utilities .tht-nav{padding:3px 8px;margin:0;min-height:26px}
#tht-app .tht-account-menu>div{padding:3px 0}
#tht-app .tht-account-menu>div a{padding:5px 10px;margin:0;min-height:29px;line-height:1.3}
#tht-app .tht-guest-trial-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:10px 22px 0;padding:8px 11px;border:1px solid #e4c46f;border-radius:3px;background:#fffbeb;color:#66521d;font-size:12px;line-height:1.4}
#tht-app .tht-guest-trial-banner a{color:#5144ad;text-decoration:underline;white-space:nowrap;font-weight:600}
#tht-app .tht-trial-intro{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:10px;margin:12px 0;border:1px solid #d1d9eb;border-radius:3px;background:#f5f8ff}
#tht-app .tht-trial-intro p{flex:1;min-width:180px;margin:0;font-size:13px;line-height:1.4}
#tht-app .tht-trial-intro .tht-btn{min-height:34px;padding:6px 11px;background:#6255d9;color:white;border-color:#6255d9;font-size:14px}
#tht-app .tht-trial-intro .tht-btn:hover{background:#4f44b6;border-color:#4f44b6}
#tht-app .tht-browse-toolbar{justify-content:space-between;gap:8px;flex-wrap:wrap}
#tht-app .tht-browse-count{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#tht-app .tht-btn.tht-practice-now{background:#c52533;border-color:#c52533;color:white;font-weight:750;padding:7px 12px;min-height:34px;font-size:14px}
#tht-app .tht-btn.tht-practice-now:hover{background:#a41b28;border-color:#a41b28}
#tht-app .tht-browse-order{display:flex;gap:4px;margin-left:auto}
#tht-app .tht-browse-order .active{background:#e8e6ff;border-color:#6255d9;color:#493aba}
#tht-app .tht-highlight-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line);margin-bottom:12px}
#tht-app .tht-highlight-tabs button{padding:8px 12px;border:1px solid transparent;background:transparent;font-size:18px;font-weight:650;color:var(--muted);line-height:1.35;border-radius:3px 3px 0 0!important}
#tht-app .tht-highlight-tabs button[aria-selected=true]{color:var(--ink);background:white;border-color:var(--line);border-bottom-color:white;margin-bottom:-1px}
#tht-app .tht-home-highlights [hidden]{display:none!important}
#tht-app .tht-highlights-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#tht-app .tht-highlight-card{padding:14px;display:flex;flex-direction:column;min-width:0;border-radius:3px!important}
#tht-app .tht-highlight-card>header{font-size:12px;color:var(--muted);margin-bottom:8px}
#tht-app .tht-highlight-card>.tht-prose{font-size:15px;line-height:1.45;color:#000;flex:1}
#tht-app .tht-highlight-card>.tht-prose p{margin-bottom:6px}
#tht-app .tht-highlight-card>footer{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}
#tht-app .tht-highlight-card>footer .tht-btn{padding:4px 0;min-height:27px;font-size:13px}
#tht-app .tht-challenge-card>.tht-muted{display:block;margin-bottom:5px;font-size:12px}
#tht-app .tht-issue-notice{position:fixed;z-index:20;left:264px;right:0;bottom:0;margin:0!important;padding:4px 64px 4px 12px;text-align:center;background:#f6f7fb;font-size:11px;line-height:1.35;opacity:.5}
#tht-app .tht-issue-notice button{padding:0;border:0;background:none;color:inherit;text-decoration:underline;font:inherit;min-height:0}
#tht-app .tht-issue-notice:hover,#tht-app .tht-issue-notice:focus-within{opacity:1}
#tht-app .tht-sidebar-collapsed .tht-issue-notice{left:0}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result],[data-view=activity]) #tht-content{padding:14px 22px 28px}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result]) :is(.tht-surface,.tht-btn,.tht-timer,.tht-attempt-option,.tht-radio-cards label,.tht-result-metrics>div,.tht-score-circle,.tht-pill,input,textarea,select,fieldset){border-radius:3px!important}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result]) :is(.tht-prose,.tht-prose p,.tht-prose li){color:#000;line-height:1.45}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result]) .tht-prose p{margin:0 0 6px}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result]) .tht-prose .katex-display{margin:7px 0}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result]) :is(.tht-btn,input:not([type=radio]):not([type=checkbox]),select){min-height:34px;padding:6px 9px;font-size:14px}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result]) label{gap:4px;font-size:14px}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result]) .tht-section{margin-top:16px}
#tht-app:is([data-view=practice],[data-view=attempt],[data-view=result]) .tht-page-head{margin-bottom:12px;gap:10px}
#tht-app .tht-practice-grid{gap:12px}
#tht-app .tht-practice-card{padding:14px}
#tht-app .tht-practice-card>.tht-tile-icon{display:none}
#tht-app .tht-practice-card>h2{margin:0 0 5px;font-size:18px}
#tht-app .tht-practice-card>p{min-height:0;margin-bottom:10px;line-height:1.4;font-size:13px}
#tht-app .tht-practice-card form{gap:10px}
#tht-app .tht-practice-card .tht-form-grid{gap:8px}
#tht-app .tht-practice-card .tht-radio-cards{gap:7px;margin:10px 0}
#tht-app .tht-practice-card .tht-radio-cards label{padding:7px;gap:8px}
#tht-app .tht-practice-card .tht-radio-cards small{font-size:12px;line-height:1.3}
#tht-app .tht-practice-card .tht-muted{font-size:12px}
#tht-app .tht-attempt-header{margin-bottom:10px;gap:10px}
#tht-app .tht-attempt-header h1{font-size:23px;margin:2px 0}
#tht-app .tht-attempt-header .tht-eyebrow{font-size:12px}
#tht-app .tht-attempt-layout{gap:12px;align-items:start}
#tht-app .tht-attempt-question{padding:12px;min-height:0}
#tht-app .tht-attempt-question>header{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:9px}
#tht-app .tht-attempt-top-controls{margin-left:auto;gap:5px}
#tht-app .tht-attempt-question .tht-save-status{font-size:11px}
#tht-app .tht-attempt-question .tht-main-stem{font-size:16px;line-height:1.45;margin-bottom:9px;color:#000}
#tht-app .tht-attempt-options{margin:8px 0;gap:5px}
#tht-app .tht-attempt-option{padding:5px 8px;min-height:32px;gap:8px;font-size:15px}
#tht-app .tht-attempt-option .tht-prose{font-size:15px;line-height:1.4}
#tht-app .tht-attempt-option .tht-prose p{margin:0}
#tht-app .tht-attempt-option>b{min-width:16px;line-height:1.4}
#tht-app .tht-attempt-bottom{padding-top:6px;margin-top:8px;border-top:1px solid var(--line)}
#tht-app .tht-attempt-bottom .tht-btn{padding:3px 5px;min-height:27px;font-size:12px}
#tht-app .tht-attempt-nav{padding:12px}
#tht-app .tht-attempt-nav h2{font-size:16px;margin-bottom:8px}
#tht-app .tht-attempt-nav>p{margin:8px 0;font-size:12px;line-height:1.35}
#tht-app .tht-attempt-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,35px),1fr));gap:4px}
#tht-app .tht-attempt-grid>button{height:35px;min-height:35px;font-size:13px;padding:0 1px;border-radius:3px!important}
#tht-app .tht-timer{padding:6px 9px;min-width:108px}
#tht-app .tht-timer strong{font-size:23px}
#tht-app:is([data-view=attempt],[data-view=result]) .tht-diagram{margin-top:8px;margin-bottom:8px}
#tht-app[data-view=attempt] .tht-diagram figcaption{font-size:11px}
#tht-app[data-view=result] .tht-result-summary{padding:12px;gap:14px;margin-bottom:12px;border-radius:3px!important;box-shadow:none}
#tht-app[data-view=result] .tht-score-circle{height:74px;width:110px;border:1px solid var(--line);flex-shrink:0}
#tht-app[data-view=result] .tht-score-circle strong{font-size:30px;line-height:1.15}
#tht-app[data-view=result] .tht-score-circle span{font-size:12px}
#tht-app[data-view=result] .tht-result-metrics{gap:8px}
#tht-app[data-view=result] .tht-result-metrics>div{padding:7px 10px}
#tht-app[data-view=result] .tht-result-metrics strong{font-size:23px;line-height:1.25}
#tht-app[data-view=result] .tht-result-metrics span{font-size:12px}
#tht-app[data-view=result] .tht-report-grid{gap:12px;align-items:start}
#tht-app[data-view=result] .tht-report{padding:12px}
#tht-app[data-view=result] .tht-report h2{font-size:16px;margin-bottom:8px}
#tht-app[data-view=result] .tht-topic-score{margin:9px 0}
#tht-app[data-view=result] .tht-report li{margin-bottom:5px;line-height:1.4}
#tht-app[data-view=result] .tht-result-question{padding:12px;margin-bottom:9px}
#tht-app[data-view=result] .tht-result-question>header{margin-bottom:8px}
#tht-app[data-view=result] .tht-answer-comparison{gap:12px;padding:7px;margin:9px 0;font-size:13px;flex-wrap:wrap}
#tht-app[data-view=result] .tht-solution{margin-bottom:6px}
#tht-app[data-view=result] :is(.tht-answer-comparison,.tht-solution,.tht-essay-summary){border-radius:3px!important}
#tht-app[data-view=result] .tht-solution summary{padding:7px 9px}
#tht-app[data-view=result] .tht-solution>.tht-prose{padding:2px 10px 9px}
#tht-app[data-view=result] .tht-solution>.tht-tags{padding:0 10px 7px}
#tht-app[data-view=result] .tht-essay-summary{padding:12px;margin-bottom:12px}
#tht-app[data-view=result] .tht-essay-summary h2{font-size:18px;margin-bottom:6px}
#tht-app[data-view=result] .tht-essay-summary p{font-size:14px;margin-bottom:7px;line-height:1.4}
#tht-app[data-view=result] .tht-result-question>h2{font-size:18px;margin-bottom:7px}
#tht-app[data-view=result] .tht-result-question h3{font-size:15px;margin:8px 0 5px}
#tht-app[data-view=result] .tht-student-text{padding:8px;margin:7px 0;line-height:1.45;border-radius:3px}
#tht-app[data-view=attempt] .tht-essay-input>p{font-size:12px;margin:5px 0;line-height:1.4}
#tht-app[data-view=attempt] .tht-essay-input .tht-written-answer{min-height:100px;line-height:1.45}
#tht-app[data-view=attempt] .tht-essay-input label{margin:7px 0}
#tht-app[data-view=attempt] .tht-attempt-nav [data-action="submit-attempt"]{padding:7px 9px;min-height:36px;line-height:1.35}
#tht-app .tht-activity-calendar{padding:14px;margin-bottom:12px}
#tht-app .tht-activity-calendar .tht-section-heading{margin-bottom:8px;flex-wrap:wrap}
#tht-app .tht-activity-calendar h2{font-size:17px}
#tht-app .tht-activity-calendar small{font-size:12px;color:var(--muted)}
#tht-app .tht-activity-scroll{overflow-x:auto;padding:4px 0 7px;scrollbar-width:thin}
#tht-app .tht-activity-months{display:grid;grid-auto-flow:column;grid-auto-columns:12px;gap:3px;min-width:max-content;margin-bottom:3px;font-size:10px;line-height:1.2;color:var(--muted)}
#tht-app .tht-activity-months span{width:12px;white-space:nowrap}
#tht-app .tht-activity-heatmap{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,12px);grid-auto-columns:12px;gap:3px;width:max-content}
#tht-app .tht-activity-day{display:block;width:12px;height:12px;border:1px solid #00000010;border-radius:2px;background:#ebedf0}
#tht-app .tht-activity-day.level-1{background:#b8e4a7}
#tht-app .tht-activity-day.level-2{background:#75c960}
#tht-app .tht-activity-day.level-3{background:#37a546}
#tht-app .tht-activity-day.level-4{background:#167c31}
#tht-app .tht-activity-day.outside{visibility:hidden}
#tht-app .tht-activity-day:focus-visible{outline:2px solid #6255d9;outline-offset:1px}
#tht-app .tht-activity-legend{display:flex;justify-content:flex-end;align-items:center;gap:4px}
#tht-app .tht-activity-history .tht-table td,#tht-app .tht-activity-history .tht-table th{padding:8px 12px;font-size:13px}
#tht-app .tht-activity-history .tht-table td small{font-size:11px}
@media(max-width:1280px){#tht-app .tht-issue-notice{left:235px}}
@media(max-width:1000px){#tht-app .tht-issue-notice{left:215px}#tht-app .tht-attempt-nav{gap:8px 12px}}
@media(min-width:761px){#tht-app .tht-sidebar-collapsed .tht-issue-notice{left:0}}
@media(max-width:760px){
 #tht-app .tht-sidebar-utilities .tht-sidebar-search,#tht-app .tht-sidebar-utilities a[href="#browse"],#tht-app .tht-sidebar-utilities a[href="#topics"]{display:none!important}
 #tht-app .tht-sidebar-utilities:has(nav:empty){display:none}
 #tht-app .tht-issue-notice{left:0;padding:4px 57px 4px 8px;font-size:10px}
 #tht-app .tht-guest-trial-banner{margin:8px 9px 0;padding:7px 9px}
 #tht-app:is([data-view=practice],[data-view=attempt],[data-view=result],[data-view=activity]) #tht-content{padding:11px 9px 28px}
 #tht-app .tht-browse-count{gap:7px}
 #tht-app .tht-btn.tht-practice-now{font-size:12px;padding:6px 8px;min-height:32px}
 #tht-app .tht-highlight-tabs button{font-size:15px;padding:7px 8px}
 #tht-app .tht-highlights-grid{grid-template-columns:1fr;gap:9px}
 #tht-app .tht-highlight-card{padding:11px}
 #tht-app .tht-attempt-header h1{font-size:19px}
 #tht-app .tht-attempt-top-controls .tht-btn{padding:5px 7px;font-size:12px;min-height:30px}
 #tht-app .tht-attempt-question{padding:10px}
 #tht-app .tht-attempt-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,34px),1fr))}
 #tht-app[data-view=result] .tht-result-summary{flex-wrap:wrap;padding:10px;gap:10px}
 #tht-app[data-view=result] .tht-result-metrics{flex:1;min-width:185px}
}
@media print{#tht-app .tht-issue-notice{display:none!important}}


/* Source: assets/compact-v169.css */
/* v1.6.9: scoped compact browse, configurable sidebar and ordinary footer. */
#tht-app .tht-sidebar{background:var(--tht-sidebar-bg,#eff4fa);color:var(--tht-sidebar-ink,#17324d);border-right:1px solid color-mix(in srgb,var(--tht-sidebar-ink,#17324d) 18%,transparent)}
#tht-app .tht-sidebar :is(.tht-brand,.tht-brand small,.tht-user,.tht-user small,.tht-nav,.tht-sidebar-section,.tht-sidebar-section a,.tht-contest-tree summary,.tht-contest-tree small,.tht-sidebar-footer,.tht-sidebar-footer a,.tht-sidebar-footer small,.tht-account-links a){color:var(--tht-sidebar-ink,#17324d)}
#tht-app .tht-sidebar :is(.tht-language,.tht-account-menu>div){background:var(--tht-sidebar-bg,#eff4fa);color:var(--tht-sidebar-ink,#17324d);border:1px solid color-mix(in srgb,var(--tht-sidebar-ink,#17324d) 20%,transparent)}
#tht-app .tht-sidebar :is(.tht-language button,.tht-account-menu>div a){color:var(--tht-sidebar-ink,#17324d)}
#tht-app .tht-sidebar :is(.tht-language button.active,.tht-contest-tree a:hover,.tht-tree-current,.tht-account-menu>div a:hover){background:color-mix(in srgb,var(--tht-sidebar-ink,#17324d) 10%,var(--tht-sidebar-bg,#eff4fa));color:var(--tht-sidebar-ink,#17324d)}
#tht-app .tht-sidebar :is(.tht-sidebar-primary>.tht-btn:not(.primary),#tht-contest-find){background:transparent;color:var(--tht-sidebar-ink,#17324d);border-color:color-mix(in srgb,var(--tht-sidebar-ink,#17324d) 25%,transparent)}
#tht-app .tht-sidebar #tht-contest-find::placeholder{color:var(--tht-sidebar-ink,#17324d);opacity:.65}
#tht-app .tht-sidebar :is(.tht-user,.tht-sidebar-footer,.tht-sidebar-section){border-color:color-mix(in srgb,var(--tht-sidebar-ink,#17324d) 18%,transparent)}
#tht-app .tht-sidebar .tht-brand{font-size:18px;letter-spacing:-.3px}
#tht-app .tht-sidebar .tht-brand small{font-size:9px;letter-spacing:.07em}
#tht-app .tht-sidebar-toggle{background:var(--tht-sidebar-bg,#eff4fa);color:var(--tht-sidebar-ink,#17324d);border-color:var(--tht-sidebar-ink,#17324d)}
#tht-app .tht-main-wrap{min-height:100vh;display:flex;flex-direction:column;padding-bottom:0}
#tht-app #tht-content{flex:1;min-width:0}
#tht-app .tht-main-footer{padding:10px 16px;margin-top:auto}
#tht-app .tht-main-footer .tht-issue-notice{position:static;inset:auto;z-index:auto;padding:0;margin:0!important;background:none;font-size:11px;line-height:1.35;opacity:.5;text-align:center}
#tht-app .tht-main-footer .tht-issue-notice:hover,#tht-app .tht-main-footer .tht-issue-notice:focus-within{opacity:1}
/* v1.9.2: both home tabs show full statements, formulas and images. */
#tht-app .tht-home-highlights .tht-highlight-card>.tht-prose{display:block;-webkit-line-clamp:unset;line-clamp:unset;height:auto;min-height:0;max-height:none;overflow:visible;margin:0}
#tht-app #tht-panel-examples .tht-highlight-card>.tht-prose :is(p,ul,ol,figure){margin-top:0;margin-bottom:0}
#tht-app #tht-panel-examples .tht-highlight-card>header{height:2.6em;overflow:hidden;line-height:1.3;margin-bottom:5px}
#tht-app[data-view=browse] #tht-content,#tht-app[data-view=history] #tht-content{padding:10px 16px 14px}
#tht-app[data-view=browse] .tht-page-head{margin-bottom:8px}
#tht-app[data-view=browse] .tht-page-head h1{font-size:25px;line-height:1.25}
#tht-app .tht-filter-panel.tht-filter-compact{padding:7px 8px;gap:7px;align-items:center;grid-template-columns:minmax(180px,1.2fr) minmax(150px,1fr) minmax(150px,1fr) auto;margin-bottom:9px}
#tht-app .tht-filter-compact label{gap:0;margin:0;min-width:0}
#tht-app .tht-filter-compact :is(input,select,.tht-select-toggle,.tht-btn){min-height:34px;padding:5px 8px;font-size:13px}
#tht-app .tht-filter-compact .tht-filter-search{min-height:34px;align-self:center}
#tht-app .tht-filter-compact .tht-filter-search input{padding-left:0}
#tht-app .tht-filter-compact .tht-actions{gap:6px}
#tht-app .tht-browse-toolbar{margin:0 0 8px;min-height:34px}
#tht-app .tht-browse-order{align-items:center;gap:5px;font-size:12px;font-weight:400}
#tht-app .tht-browse-order select{width:auto;max-width:210px;min-height:32px;padding:4px 6px;font-size:12px;background:#fff}
#tht-app[data-view=browse] .tht-question-list,#tht-app[data-view=history] .tht-question-list{gap:8px}
#tht-app:is([data-view=browse],[data-view=history]) .tht-question-card{padding:10px;margin:0;border-radius:3px!important}
#tht-app:is([data-view=browse],[data-view=history]) .tht-question-card>header{margin-bottom:6px}
#tht-app:is([data-view=browse],[data-view=history]) :is(.tht-prose,.tht-prose p,.tht-prose li){color:#000;line-height:1.4}
#tht-app:is([data-view=browse],[data-view=history]) .tht-prose p{margin:0 0 5px}
#tht-app:is([data-view=browse],[data-view=history]) .tht-options-preview{display:grid;grid-template-columns:1fr;gap:3px;margin:6px 0}
#tht-app:is([data-view=browse],[data-view=history]) .tht-options-preview>div{padding:0;margin:0;gap:7px;align-items:baseline;min-height:0}
#tht-app:is([data-view=browse],[data-view=history]) .tht-options-preview p{margin:0}
#tht-app:is([data-view=browse],[data-view=history]) .tht-tags{margin:7px 0;gap:4px}
#tht-app:is([data-view=browse],[data-view=history]) .tht-question-card>footer{padding-top:6px;margin-top:6px}
#tht-app:is([data-view=browse],[data-view=history]) .tht-question-card>footer .tht-btn{min-height:29px;padding:4px 7px;font-size:12px}
#tht-app[data-view=browse] .tht-contest-info{padding:9px 12px;margin-bottom:9px}
#tht-app[data-view=browse] .tht-contest-info h2{font-size:18px;margin:0 0 5px}
#tht-app[data-view=browse] .tht-contest-info img{max-height:64px;max-width:180px;width:auto;object-fit:contain}
#tht-app[data-view=browse] .tht-contest-info p{margin:0;line-height:1.4}
#tht-app[data-view=browse] .tht-prose .katex-display{margin:6px 0}
@media(max-width:1000px){#tht-app .tht-filter-panel.tht-filter-compact{grid-template-columns:1fr 1fr}#tht-app .tht-filter-compact .tht-filter-search{grid-column:1/-1}#tht-app .tht-filter-compact .tht-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:760px){#tht-app[data-view=browse] #tht-content,#tht-app[data-view=history] #tht-content{padding:9px}#tht-app .tht-browse-toolbar{gap:6px}#tht-app .tht-browse-order select{max-width:170px}#tht-app .tht-main-footer{padding:10px 9px}}
@media print{#tht-app .tht-main-footer{display:none!important}}


/* Source: assets/compact-v170.css */
/* v1.7.0: equal-height filters and compact detail; do not shrink/crop diagrams. */
#tht-app .tht-filter-panel.tht-filter-compact{align-items:center}
#tht-app .tht-filter-compact .tht-filter-search{box-sizing:border-box;height:34px;min-height:34px;align-self:center;padding:0 8px;border-radius:3px}
#tht-app .tht-filter-compact .tht-filter-search input{box-sizing:border-box;height:32px;min-height:0;line-height:1.4;padding:0!important;margin:0;flex:1;min-width:0}
#tht-app .tht-filter-compact :is(.tht-select-toggle,.tht-actions>.tht-btn){box-sizing:border-box;height:34px;min-height:34px;line-height:1.4;margin:0;white-space:nowrap}
#tht-app .tht-filter-compact .tht-select-toggle{padding-right:26px}
#tht-app .tht-browse-order .tht-search-select{width:165px;max-width:100%;font-size:12px}
#tht-app .tht-browse-order .tht-select-toggle{height:32px;min-height:32px;padding:4px 25px 4px 7px;line-height:1.4}
#tht-app .tht-qr-country-note{font-size:13px;line-height:1.4;margin:6px 0 10px;color:var(--ink)}
#tht-app[data-view=question] #tht-content{padding:10px 16px 14px}
#tht-app[data-view=question] .tht-breadcrumb{margin-bottom:7px;line-height:1.35}
#tht-app[data-view=question] .tht-page-head{margin-bottom:8px;gap:8px}
#tht-app[data-view=question] .tht-page-head h1{font-size:25px;line-height:1.25;margin:0}
#tht-app[data-view=question] .tht-page-head p{margin:3px 0 0;line-height:1.35}
#tht-app[data-view=question] :is(.tht-btn,.tht-question-detail,.tht-option-static,.tht-answer,.tht-solution,.tht-comments,.tht-notes-panel){border-radius:3px!important}
#tht-app[data-view=question] .tht-detail-layout{gap:10px;align-items:start}
#tht-app[data-view=question] .tht-question-detail{padding:10px}
#tht-app[data-view=question] .tht-detail-meta{margin-bottom:8px;gap:8px;line-height:1.35}
#tht-app[data-view=question] :is(.tht-prose,.tht-prose p,.tht-prose li){color:#000;line-height:1.4}
#tht-app[data-view=question] .tht-main-stem{font-size:16px;margin-bottom:6px}
#tht-app[data-view=question] .tht-prose p{margin:0 0 5px}
#tht-app[data-view=question] .tht-prose :is(ul,ol){margin:5px 0;padding-left:22px}
#tht-app[data-view=question] .tht-prose .katex-display{margin:5px 0;padding:2px 0}
#tht-app[data-view=question] .tht-diagram{margin:6px 0}
#tht-app[data-view=question] .tht-diagram figcaption{margin-top:3px;line-height:1.3}
#tht-app[data-view=question] .tht-detail-options{gap:3px;margin:6px 0}
#tht-app[data-view=question] .tht-option-static{padding:3px 6px;gap:6px;align-items:baseline}
#tht-app[data-view=question] .tht-option-static>b{width:22px;height:22px;font-size:12px;line-height:1}
#tht-app[data-view=question] .tht-option-static .tht-prose p{margin:0}
#tht-app[data-view=question] .tht-answer{margin-top:6px}
#tht-app[data-view=question] .tht-answer summary{padding:6px 9px;gap:6px;line-height:1.4}
#tht-app[data-view=question] .tht-answer>.tht-prose{padding:0 9px 7px}
#tht-app[data-view=question] .tht-section{margin-top:10px}
#tht-app[data-view=question] .tht-section h2{font-size:18px;line-height:1.3;margin:0 0 6px}
#tht-app[data-view=question] .tht-solution{margin-bottom:4px}
#tht-app[data-view=question] .tht-solution summary{padding:6px 8px;gap:7px;line-height:1.4}
#tht-app[data-view=question] .tht-solution-number{width:22px;height:22px}
#tht-app[data-view=question] .tht-solution>.tht-prose{padding:1px 9px 7px}
#tht-app[data-view=question] .tht-solution>.tht-tags{padding:0 9px 6px}
#tht-app[data-view=question] .tht-question-topics{margin:7px 0;gap:4px}
#tht-app[data-view=question] .tht-question-tools{padding:6px 0;margin:7px 0;gap:5px}
#tht-app[data-view=question] .tht-btn{min-height:29px;padding:4px 7px;line-height:1.4}
#tht-app[data-view=question] .tht-comments{padding:9px;margin-top:8px}
#tht-app[data-view=question] .tht-section-heading{margin-bottom:6px;gap:6px}
#tht-app[data-view=question] .tht-comments>.tht-section-heading h2{font-size:17px;margin:0}
#tht-app[data-view=question] .tht-comments .tht-muted{margin:6px 0;line-height:1.4}
#tht-app[data-view=question] #tht-comment-form{margin-top:8px}
#tht-app[data-view=question] #tht-comment-form .tht-actions{margin-top:5px}
#tht-app[data-view=question] .tht-comment{padding:9px 0;gap:8px}
#tht-app[data-view=question] .tht-notes-panel{padding:8px;margin-bottom:8px}
#tht-app[data-view=question] .tht-notes-panel p{margin:6px 0;line-height:1.4}
#tht-app[data-view=question] .tht-note{padding:8px 0}
@media(max-width:760px){#tht-app[data-view=question] #tht-content{padding:9px}}


/* Source: assets/compact-v171.css */
/* v1.7.1: reserve the sidebar footer; let only the contest tree use spare space. */
#tht-app .tht-sidebar{padding-bottom:0}
#tht-app .tht-sidebar-section{flex:1 1 0;min-height:0;overflow:hidden;padding-bottom:0}
#tht-app .tht-sidebar-section>input{flex:0 0 auto}
#tht-app .tht-contest-tree{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto}
#tht-app .tht-sidebar-footer{flex:0 0 auto;margin-top:auto;padding:8px 2px max(8px,env(safe-area-inset-bottom));min-height:36px;align-items:center}
#tht-app .tht-sidebar-footer :is(a,small){line-height:1.35;margin:0}


/* Source: assets/compact-v172.css */
/* v1.7.2: scoped presentation; preserve content, permissions and print layout. */
#tht-app .tht-answer-value>p{display:inline;margin:0}
#tht-app .tht-answer-value .katex{font-size:1.08em}

/* Keep native disclosure markers and a fixed right column for counts. */
#tht-app .tht-contest-tree summary>.tht-tree-row{display:inline-flex;width:calc(100% - 18px);gap:6px;align-items:baseline;vertical-align:top}
#tht-app .tht-contest-tree .tht-tree-label{flex:1;min-width:0;overflow-wrap:anywhere}
#tht-app .tht-contest-tree small.tht-tree-count{flex:none;margin:0 0 0 auto;padding-right:2px;font-weight:400;font-size:12px;font-variant-numeric:tabular-nums;text-align:right}
#tht-app .tht-contest-tree a.tht-tree-paper{display:flex;gap:6px;align-items:baseline;padding-right:3px}

/* One complete outer border; no nested theme outline around the input. */
#tht-app .tht-filter-search{box-sizing:border-box;height:34px;min-height:34px;border:1px solid var(--line);background:#fff;overflow:visible;border-radius:3px!important;padding:0 8px;gap:7px}
#tht-app .tht-filter-search:focus-within{border-color:#3974a7}
#tht-app .tht-filter-search input,#tht-app .tht-filter-search input:focus,#tht-app .tht-filter-search input:focus-visible{box-sizing:border-box;height:32px!important;min-height:0!important;max-height:32px!important;width:100%;flex:1;min-width:0;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;outline:none!important;box-shadow:none!important;background:transparent;line-height:1.4}
#tht-app .tht-filter-search>.tht-icon{flex:none}

/* Native details is keyboard-operable and keeps the editor/draft in the DOM. */
#tht-app[data-view=question] .tht-question-extras{margin:6px 0 0;border:0;background:transparent}
#tht-app[data-view=question] .tht-question-extras>summary{display:flex;align-items:center;justify-content:center;gap:3px;list-style:none;width:38px;height:30px;box-sizing:border-box;border:1px solid var(--line);border-radius:3px;background:#fff;color:#48627c;cursor:pointer}
#tht-app .tht-question-extras>summary::-webkit-details-marker{display:none}
#tht-app .tht-question-extras>summary:focus-visible{outline:2px solid #3974a7;outline-offset:2px}
#tht-app .tht-question-extras>summary>.tht-icon:last-child{width:12px;transition:transform .15s}
#tht-app .tht-question-extras[open]>summary>.tht-icon:last-child{transform:rotate(90deg)}
#tht-app .tht-question-extras:not([open])>#tht-question-extra-content{display:none}
#tht-app[data-view=question] .tht-question-extras .tht-question-tools{margin:4px 0;padding:4px 0}
#tht-app[data-view=question] .tht-question-extras .tht-comments{margin-top:4px}

/* Composed papers: short cards and tighter, fully functional edit rows. */
#tht-app:is([data-view=papers],[data-view=paper],[data-view=classroom]) .tht-page-head{margin-bottom:10px;gap:8px}
#tht-app:is([data-view=papers],[data-view=paper],[data-view=classroom]) .tht-page-head h1{font-size:25px;margin:0;line-height:1.3}
#tht-app:is([data-view=papers],[data-view=paper],[data-view=classroom]) .tht-page-head p{margin:3px 0 0;line-height:1.4}
#tht-app:is([data-view=papers],[data-view=paper],[data-view=classroom]) :is(.tht-btn,input:not([type=checkbox]):not([type=radio]),select,.tht-select-toggle){box-sizing:border-box;height:32px;min-height:32px;padding:5px 8px;font-size:14px;line-height:1.4;border-radius:3px!important}
#tht-app .tht-paper-grid{gap:10px;align-items:start}
#tht-app .tht-paper-card{padding:11px;display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:9px;border-radius:3px!important}
#tht-app .tht-paper-card>.tht-tile-icon{grid-column:1;grid-row:1/4;width:30px;height:32px;border-radius:3px!important}
#tht-app .tht-paper-card h2{grid-column:2;margin:0 0 3px;font-size:16px;line-height:1.3;overflow-wrap:anywhere}
#tht-app .tht-paper-card p{grid-column:2;margin:0 0 3px;font-size:13px;line-height:1.35}
#tht-app .tht-paper-card>small{grid-column:2;line-height:1.35;color:#65748b}
#tht-app .tht-paper-card footer{grid-column:1/-1;margin-top:8px;padding-top:7px;border-top:1px solid var(--line);gap:6px}
#tht-app .tht-paper-settings{padding:10px;gap:10px;margin-bottom:10px;border-radius:3px!important}
#tht-app .tht-paper-settings label{gap:4px;margin:0;font-size:14px}
#tht-app .tht-paper-items{gap:8px}
#tht-app .tht-paper-item{padding:10px;gap:9px;grid-template-columns:34px minmax(0,1fr);border-radius:3px!important}
#tht-app .tht-paper-order{padding-right:7px;gap:4px}
#tht-app .tht-paper-order>strong{font-size:18px;margin:0 0 3px}
#tht-app .tht-paper-item .tht-prose{margin-top:5px;line-height:1.4}
#tht-app .tht-paper-item .tht-prose p{margin:0 0 5px}

/* Classroom: align form controls, reduce gaps; expiry/report rules unchanged. */
#tht-app[data-view=classroom] #tht-content>h1{font-size:25px;margin:0 0 10px;line-height:1.3}
#tht-app[data-view=classroom] #tht-content>h2{font-size:18px;margin:10px 0 7px}
#tht-app .tht-class-actions{gap:8px;margin:8px 0 10px}
#tht-app .tht-class-actions form{gap:8px;align-items:end;flex-wrap:wrap}
#tht-app .tht-class-create{padding:10px}
#tht-app .tht-class-actions label,#tht-app .tht-class-assign label{gap:4px;font-size:13px;min-width:0}
#tht-app .tht-class{padding:11px;margin-bottom:9px;border-radius:3px!important}
#tht-app .tht-class-header{gap:8px;align-items:start}
#tht-app .tht-class-header h2{font-size:17px;line-height:1.3}
#tht-app .tht-class-header p{font-size:13px;line-height:1.4;margin:4px 0}
#tht-app .tht-class-header .tht-actions{gap:5px;flex-wrap:wrap}
#tht-app .tht-class-assign{margin:7px 0;padding:8px;border:1px solid var(--line);background:#f5f8fc;border-radius:3px!important}
#tht-app .tht-class-assign summary{margin:0;font-size:14px}
#tht-app .tht-class-assign[open] summary{margin-bottom:8px}
#tht-app .tht-class-assign form{gap:8px}
#tht-app .tht-class-assign .tht-search-select{max-width:100%;min-width:0}
#tht-app .tht-assignment{padding:7px 0;gap:8px;font-size:14px}
#tht-app .tht-assignment>span{min-width:0;overflow-wrap:anywhere}

/* My Bank editor: pale blue panels, flat 3px corners and useful writing space. */
#tht-app .mb-editor .mb-topbar{gap:6px;margin-bottom:8px}
#tht-app .mb-editor .mb-private{margin:0;font-size:12px}
#tht-app .mb-editor-grid{gap:10px;align-items:start}
#tht-app .mb-editor-grid>form,#tht-app .mb-editor .mb-live{padding:10px;border-color:#cfdae6;border-radius:3px!important}
#tht-app .mb-editor .mb-editor-panel{margin:6px 0;padding:0;border-color:#d4dee9;border-radius:3px!important;overflow:visible}
#tht-app .mb-editor .mb-editor-panel>summary{padding:7px 9px;background:#eff4fa;color:#17324d;line-height:1.35;font-size:14px}
#tht-app .mb-editor .mb-panel-body{padding:6px 9px 8px}
#tht-app .mb-editor label{margin:6px 0;font-size:13px;line-height:1.4}
#tht-app .mb-editor input:not([type=checkbox]):not([type=range]),#tht-app .mb-editor select,#tht-app .mb-editor .tht-select-toggle{box-sizing:border-box;min-height:32px;padding:5px 8px;font-size:14px;border-radius:3px!important}
#tht-app .mb-editor fieldset{padding:8px;margin:6px 0;border-radius:3px!important}
#tht-app .mb-editor .tht-math-editor{margin:4px 0 6px}
#tht-app .mb-editor .tht-math-editor :is(.tht-editor-tabs,.tht-editor-toolbar){background:#f2f6fb;padding:3px 5px}
#tht-app .mb-editor .tht-math-editor textarea.tht-editor-source,#tht-app .mb-editor .tht-math-editor .tht-editor-preview{min-height:90px;padding:7px 8px!important}
#tht-app .mb-editor .tht-math-editor textarea.tht-editor-source{height:100px;resize:vertical}
#tht-app .mb-editor .mb-editor-images{padding:8px 0;margin:8px 0}
#tht-app .mb-editor .mb-editor-images h3{margin:0 0 6px;font-size:15px;gap:6px}
#tht-app .mb-editor .mb-live h2{margin:0 0 8px;padding:6px 8px;font-size:16px;line-height:1.35;background:#eff4fa;color:#17324d;border-radius:3px}
#tht-app .mb-editor .mb-live h3{font-size:16px;margin:6px 0}
#tht-app .mb-editor .mb-live .tht-prose{line-height:1.4}
#tht-app .mb-editor .mb-live .tht-prose p{margin:0 0 5px}
#tht-app .mb-editor .mb-live .tht-solution{margin:6px 0}
#tht-app .mb-editor .mb-live .tht-solution>summary{padding:6px 8px;gap:6px;line-height:1.4}
#tht-app .mb-editor .mb-live .tht-solution>.tht-prose{padding:4px 8px 8px}
#tht-app .mb-editor .mb-live .tht-solution-number{width:22px;height:22px}
#tht-app .mb-editor .mb-button{border-radius:3px!important}

@media(max-width:760px){
 #tht-app .tht-paper-grid{grid-template-columns:1fr}
 #tht-app .tht-class-header{flex-direction:column}
 #tht-app .tht-class-actions form{width:100%}
 #tht-app .tht-class-actions label,#tht-app .tht-class-assign label{width:100%}
 #tht-app .tht-class-actions input,#tht-app .tht-class-assign input{max-width:100%;min-width:0}
 #tht-app .tht-class-assign form>*{max-width:100%}
}


/* Source: assets/exam-catalog.css */
/* Compact lazy Contest > Season > Division > Round > actual Paper tree. */
#tht-app .tht-exam-catalog .tht-catalog-children{padding-left:9px}
#tht-app .tht-exam-catalog .tht-catalog-children:empty{display:none}
#tht-app .tht-exam-catalog .tht-catalog-branch{margin:0}
#tht-app .tht-exam-catalog summary{padding:3px 1px;line-height:1.3}
#tht-app .tht-exam-catalog summary{display:flex;align-items:center;gap:3px;list-style:none;cursor:default}
#tht-app .tht-exam-catalog summary::-webkit-details-marker{display:none}
#tht-app .tht-exam-catalog summary::before,#tht-app .tht-exam-catalog summary::after{content:none}
#tht-app .tht-exam-catalog summary>.tht-tree-row{display:flex;flex:1;min-width:0;color:inherit;padding:0;text-decoration:none}
#tht-app .tht-exam-catalog .tht-catalog-toggle{display:inline-flex;align-items:center;justify-content:center;width:17px;height:19px;min-width:17px;padding:0;border:0;border-radius:3px;color:inherit;background:transparent;font:inherit;font-size:17px;line-height:1;cursor:pointer;box-shadow:none}
#tht-app .tht-exam-catalog .tht-catalog-toggle:hover{background:rgba(128,128,128,.12)}
#tht-app .tht-exam-catalog .tht-catalog-toggle{flex:0 0 18px;margin-right:4px;border:1px solid rgba(128,128,128,.25);font-size:15px}
/* Theme button decorations must not add a second icon beside the explicit +/−. */
#tht-app .tht-exam-catalog .tht-catalog-toggle::before,#tht-app .tht-exam-catalog .tht-catalog-toggle::after,#tht-app .tht-year-papers button::before,#tht-app .tht-year-papers button::after{content:none!important;display:none!important}
#tht-app .tht-exam-catalog .tht-catalog-toggle>.tht-color-icon,#tht-app .tht-year-papers button>.tht-color-icon{display:none!important}
#tht-app .tht-exam-catalog .tht-tree-label{min-width:0;overflow-wrap:anywhere}
#tht-app .tht-exam-done{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:5px;border-radius:50%;background:#23834a;color:white;font:700 11px/1 Arial,sans-serif;vertical-align:middle;flex:none}
#tht-app .tht-exam-active .tht-tree-label,#tht-app .tht-year-paper-table .tht-exam-active td:first-child>a{color:#8b4513}
#tht-app .tht-exam-catalog .tht-tree-row{align-items:baseline;gap:4px}
#tht-app .tht-exam-catalog a.tht-tree-paper{padding:4px 2px 4px 12px;line-height:1.3;gap:4px}
#tht-app .tht-exam-catalog a.tht-catalog-view-all{font-size:12px;padding:3px 1px 3px 12px;opacity:.8}
#tht-app .tht-exam-catalog .tht-tree-count{font-weight:400;flex:none;white-space:nowrap;font-variant-numeric:tabular-nums}
#tht-app .tht-exam-catalog .tht-tree-paper-count{font-size:10px;opacity:.8}
#tht-app .tht-exam-context{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;margin:0 0 8px;border-radius:3px}
#tht-app .tht-exam-context h2,#tht-app .tht-exam-picker h2{font-size:16px;margin:0;line-height:1.35}
#tht-app .tht-exam-context p,#tht-app .tht-exam-picker p{font-size:12px;margin:3px 0 0;color:var(--muted);line-height:1.4}
#tht-app .tht-exam-context>small{flex:none;font-size:12px}
#tht-app .tht-exam-picker{padding:8px 10px;margin:0 0 8px;border-radius:3px}
#tht-app .tht-exam-picker-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:6px;max-height:240px;overflow-y:auto}
#tht-app .tht-exam-picker-list a{display:flex;align-items:baseline;gap:6px;padding:5px 7px;border:1px solid var(--line);border-radius:3px;font-size:13px}
#tht-app .tht-exam-picker-list a>span{flex:1;min-width:0;overflow-wrap:anywhere}
#tht-app .tht-exam-picker-list a>small{flex:none;font-size:11px;color:var(--muted)}
#tht-app .tht-exam-return{display:flex;align-items:center;gap:5px;margin:0 0 6px;font-size:12px;line-height:1.4}
@media(max-width:600px){#tht-app .tht-exam-picker-list{grid-template-columns:1fr}#tht-app .tht-exam-context{align-items:flex-start}#tht-app .tht-exam-context>small{font-size:11px}}
#tht-app .tht-contest-years{margin:0 0 8px}
#tht-app .tht-year-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(66px,1fr));gap:4px;max-width:800px}
#tht-app .tht-year-grid a{display:block;text-align:center;background:#147d8b;color:white;padding:5px 8px;border-radius:3px;line-height:1.35;font-size:13px;text-decoration:none}
#tht-app .tht-year-grid a:hover{background:#116773}
#tht-app .tht-year-grid .tht-unknown-year{grid-column:span 2}
#tht-app .tht-year-mobile{display:none}
#tht-app .tht-year-papers{padding:6px 8px;margin:0 0 8px;border-radius:3px}
#tht-app .tht-year-paper-wrap{overflow-x:auto}
#tht-app .tht-year-paper-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.35}
#tht-app .tht-year-paper-table th{color:#b91c1c;font-weight:600;text-align:left;white-space:nowrap;padding:5px 6px;border-bottom:1px solid var(--line)}
#tht-app .tht-year-paper-table td{padding:5px 6px;border-bottom:1px solid var(--line);vertical-align:middle}
#tht-app .tht-year-paper-table td:first-child{min-width:150px}
#tht-app .tht-year-paper-table td:first-child>a{display:block;color:var(--text,#243352);text-decoration:none;overflow-wrap:anywhere}
#tht-app .tht-year-paper-table td:first-child>a:hover{text-decoration:underline}
#tht-app .tht-year-paper-admin{white-space:nowrap}
#tht-app .tht-year-papers button{font:inherit;line-height:1.2;padding:4px 7px;background:white;color:#243352;border:1px solid var(--line);border-radius:3px;cursor:pointer;box-shadow:none}
#tht-app .tht-year-papers button:disabled{opacity:.5;cursor:wait}
#tht-app .tht-year-paper-admin button{padding:2px 5px;margin-right:2px}
#tht-app .tht-year-paper-admin .tht-year-drag{cursor:grab}
#tht-app .tht-year-dragging{opacity:.45}
#tht-app .tht-year-more{display:block;margin:6px auto 0;font-size:17px}
#tht-app .tht-year-more>span{font-size:12px}
#tht-app .tht-year-summary{font-size:11px;color:var(--muted);margin:4px 0 0;line-height:1.3;text-align:center}
#tht-app .tht-year-save-status{display:block;font-size:12px;margin-top:4px;color:#23834a}
#tht-app .tht-year-save-status:empty{display:none}
#tht-app .tht-year-papers .error{color:#b91c1c}
#tht-app .tht-year-edit-form{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;margin-top:6px;border:1px solid var(--line);border-radius:3px;background:#f5f8fc;font-size:12px}
#tht-app .tht-year-edit-form>label:first-child{grid-column:1/-1}
#tht-app .tht-year-edit-form label{display:grid;gap:3px}
#tht-app .tht-year-edit-form input{width:100%;min-height:30px;box-sizing:border-box;border:1px solid #bbc5d3;border-radius:3px;padding:4px 6px;color:#243352;background:white;box-shadow:none}
#tht-app .tht-year-edit-form input[readonly]{background:#edf1f5;color:#64748b}
@media(max-width:600px){#tht-app .tht-year-desktop{display:none}#tht-app .tht-year-mobile{display:block;border:1px solid var(--line);border-radius:3px;background:white;padding:5px 7px}#tht-app .tht-year-mobile>summary{cursor:pointer;font-size:13px}#tht-app .tht-year-mobile>summary>small{float:right;color:var(--muted)}#tht-app .tht-year-mobile .tht-year-grid{max-height:180px;overflow:auto;margin-top:5px}#tht-app .tht-year-paper-table th{font-size:11px}#tht-app .tht-year-paper-table td{padding:4px}#tht-app .tht-year-paper-table td:first-child{min-width:135px}#tht-app .tht-year-edit-form{grid-template-columns:1fr}}


/* Source: assets/enhancements-v179.css */
/* Compact, flat presentation; no interference with established exam widgets. */
#tht-app .tht179-home-hero{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px;background:#eef3fc;border:1px solid #dce5f3;border-radius:3px}
#tht-app .tht179-home-hero h1{font-size:23px;line-height:1.3;margin:0 0 9px;color:#182a45}
#tht-app .tht179-home-hero nav{display:flex;gap:14px;flex-wrap:wrap;font-size:13px}
#tht-app .tht179-home-hero .tht-hero-search{margin:0;max-width:430px;min-width:240px;box-shadow:none;border:1px solid #d5dfed;border-radius:3px;padding:4px}
#tht-app .tht179-home-stats{display:flex;justify-content:center;gap:28px;padding:12px 4px;font-size:13px;color:#687a94}
#tht-app .tht179-home-stats b{color:#273f64;font-size:17px;margin-right:5px}
#tht-app .tht179-home-group{margin:10px 0 18px}
#tht-app .tht179-group-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
#tht-app .tht179-group-header h2{font-size:17px;margin:0;line-height:1.35}
#tht-app .tht179-contest-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px;min-height:20px}
#tht-app [data-layout-editable] .tht179-contest-grid{min-height:60px;border:1px dashed #d5dfeb;padding:6px;border-radius:3px}
#tht-app .tht179-contest-tile{position:relative;background:#fff;border:1px solid #dfe5ee;border-radius:3px;overflow:hidden}
#tht-app .tht179-contest-tile>a{display:flex;flex-direction:column;gap:5px;align-items:center;padding:10px 8px;text-align:center;text-decoration:none;color:#213953}
#tht-app .tht179-contest-tile img{width:100%;height:65px;object-fit:contain;object-position:center;max-width:130px;border-radius:0}
#tht-app .tht179-contest-tile strong{font-size:13px;overflow-wrap:anywhere}
#tht-app .tht179-contest-tile small{font-size:11px;color:#75869d}
#tht-app .tht179-contest-fallback{height:65px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:25px;color:#437dba}
#tht-app .tht179-card-move{position:absolute;right:3px;top:3px;background:#eef3fb;border:1px solid #d5dfeb;border-radius:3px;color:#325c84;cursor:pointer;padding:0 4px}
#tht-app .tht179-layout-toolbar,#tht-app .tht179-edit-controls{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
#tht-app .tht179-layout-toolbar{margin:5px 0 10px}
#tht-app .tht179-layout-toolbar small{color:#74829a;font-size:11px}
#tht-app .tht179-edit-controls .tht-btn,#tht-app .tht179-layout-toolbar .tht-btn{padding:3px 7px;min-height:27px;border-radius:3px;font-size:11px}
#tht-app .tht179-bottom-highlights{margin-top:16px}
#tht-app .tht179-interest-link{text-align:right;margin:5px 0;font-size:12px}
#tht-app .tht179-interests{padding:12px;margin-top:12px;border-radius:3px}
#tht-app .tht179-interests h2{font-size:17px;margin:0 0 6px}
#tht-app .tht179-interests p{font-size:12px;margin:0 0 9px;color:#64748b}
#tht-app .tht179-interest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px;margin-bottom:12px}
#tht-app .tht179-interest-grid label{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:400;margin:0}
#tht-app .tht179-interest-grid input{width:14px;height:14px;margin:0;accent-color:#4b68c5}
#tht-app .tht179-interests [data-interest-message]{margin-left:9px}
#tht-app .tht179-topic-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
#tht-app .tht179-topic-columns>.tht-surface{padding:8px;border-radius:3px}
#tht-app .tht179-topic-list{list-style:none;padding:0;margin:0}
#tht-app .tht179-topic-list .tht179-topic-list{padding-left:12px;border-left:1px solid #e8edf4;margin-left:4px}
#tht-app .tht179-topic-list li{margin:0;padding:0}
#tht-app .tht179-topic-list summary,#tht-app .tht179-topic-leaf{display:flex;gap:6px;align-items:baseline;min-width:0;padding:5px 4px;font-size:12px;line-height:1.35;border-bottom:1px solid #eef1f6;list-style:none;color:#2b4867}
#tht-app .tht179-topic-list summary::-webkit-details-marker{display:none}
#tht-app .tht179-topic-list summary a,#tht-app .tht179-topic-leaf>span{min-width:0;overflow-wrap:anywhere;color:inherit}
#tht-app .tht179-topic-list small{margin-left:auto;padding-left:8px;font-size:11px;color:#6e829b;font-weight:400;flex-shrink:0}
#tht-app .tht179-topic-toggle{font-size:11px;width:8px;flex-shrink:0;transition:transform .15s}
#tht-app .tht179-topic-list details[open]>summary>.tht179-topic-toggle{transform:rotate(90deg)}
#tht-app .tht179-member-tools-label{font-size:var(--tht180-detail-label-size,15px);font-family:var(--tht180-detail-label-font,inherit);font-weight:700;color:#000;line-height:1.4;white-space:normal;word-break:normal;overflow-wrap:normal;min-width:0}
#tht-app[data-view=question] .tht-question-extras>summary{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;width:auto;height:auto;min-height:30px;max-width:100%;padding:4px 7px;box-sizing:border-box;white-space:normal}
#tht-app[data-view=question] .tht-question-extras>summary>.tht-icon{flex:none}
#tht-app .tht-solutions-section>h2{display:flex;justify-content:space-between;align-items:center;gap:8px}
#tht-app .tht179-pen-toggle{position:relative;z-index:18;margin-left:auto;border:0;background:transparent;color:#13b5e9;padding:2px 4px;min-height:25px;border-radius:3px}
#tht-app .tht179-pen-toggle::before,#tht-app .tht179-pen-toggle::after{content:none!important;display:none!important}
#tht-app .tht179-pen-toggle>.tht-color-icon{display:none!important}
#tht-app .tht179-related{margin-top:8px;border:1px solid #dfe5ee;border-radius:3px;background:#fff}
#tht-app .tht179-related>summary{display:flex;gap:6px;align-items:center;cursor:pointer;font-size:var(--tht180-detail-label-size,15px);font-family:var(--tht180-detail-label-font,inherit);font-weight:700;line-height:1.4;list-style:none;padding:8px 9px;color:#000}
#tht-app .tht179-related>summary::-webkit-details-marker{display:none}
#tht-app .tht179-related>summary>span:last-child{margin-left:auto}
#tht-app .tht179-related-body{padding:0 8px 8px}
#tht-app .tht179-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#tht-app .tht179-related-card{border:1px solid #e0e7f0;border-radius:3px;padding:8px;display:flex;flex-direction:column;min-width:0;color:#14253e;text-decoration:none}
#tht-app .tht179-related-card header{display:flex;align-items:flex-start;gap:6px;font-size:var(--tht180-detail-label-size,15px);font-family:var(--tht180-detail-label-font,inherit);color:#4d6b90;margin-bottom:6px;line-height:1.4}
#tht-app .tht179-related-card header>a{min-width:0;flex:1;color:inherit;text-decoration:none;overflow-wrap:anywhere}
#tht-app .tht181-related-body-link{display:block;color:inherit;text-decoration:none}
#tht-app .tht181-related-eye{flex:none;width:27px;min-width:27px;height:27px;min-height:27px;padding:4px;border-radius:3px;color:#16a6cf}
#tht-app .tht181-related-eye .tht-icon{width:18px;height:18px}
#tht-app .tht181-related-eye>.tht-color-icon{display:none!important}
#tht-app .tht-modal:has(.tht181-related-preview){width:min(94vw,880px);border-radius:3px}
#tht-app .tht181-related-preview{max-height:min(65vh,max(80px,calc(90vh - 200px)));overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;min-width:0}
#tht-app .tht181-related-preview>header{font-size:15px;line-height:1.4;margin-bottom:10px;color:#4d6b90;overflow-wrap:anywhere}
#tht-app .tht181-related-preview .tht-prose{font-size:var(--tht180-detail-label-size,15px)}
#tht-app .tht179-related-card header small{display:block;font-size:12px;color:#8292a8;margin-top:2px}
#tht-app .tht179-related-card .tht-prose{font-size:var(--tht180-detail-label-size,15px);font-family:var(--tht180-detail-label-font,inherit);line-height:1.4;height:auto;max-height:9.8em;overflow:auto;display:block;overscroll-behavior:contain;overflow-wrap:normal;word-break:normal;scrollbar-gutter:stable;box-sizing:content-box}
#tht-app .tht179-related-card .tht-prose :is(p,li){font-size:inherit;line-height:1.4}
#tht-app .tht179-related-card .tht-prose p{margin:0 0 5px}
#tht-app .tht179-related-card .tht-prose pre{white-space:pre;max-width:none}
#tht-app .tht179-related-card .tht-prose table{max-width:none;font-size:inherit}
#tht-app .tht179-related-card .tht-prose .katex-display{overflow:visible;max-width:none;width:max-content;min-width:100%}
#tht-app .tht179-related-card .tht-diagram{display:block;margin:6px 0}
#tht-app [data-related-status]{text-align:center;font-size:11px;color:#708199;margin:6px 0}
#tht-app .tht179-related-more{display:block;width:100%;margin-top:4px;padding:3px;min-height:26px;font-size:19px;border-radius:3px}
#tht-app .tht179-related-more[hidden]{display:none}
#tht-app .tht179-related-more>.tht-color-icon{display:none!important}
#tht-app .tht179-ink-host{position:relative}
#tht-app .tht179-ink-wrap{position:static;margin:6px 0;pointer-events:none}
#tht-app .tht179-ink-canvas{position:absolute;top:0;left:0;z-index:15;touch-action:none;pointer-events:auto;cursor:crosshair}
#tht-app .tht179-ink-canvas.tht180-ink-text-mode{cursor:text}
#tht-app .tht179-ink-bar{position:relative;z-index:17;display:flex;gap:4px;flex-wrap:wrap;align-items:center;pointer-events:auto;background:#f4f8fd;border:1px solid #b7cde7;border-radius:3px;padding:5px;box-shadow:none}
#tht-app .tht179-ink-bar .tht180-ink-choice{display:flex;flex-direction:row;align-items:center;gap:3px;font-size:11px;font-weight:400;margin:0}
#tht-app .tht179-ink-bar .tht180-ink-choice[hidden]{display:none}
#tht-app[data-view=question] .tht179-ink-bar input[type=color]{width:30px;height:27px;min-height:27px;max-height:27px;flex:none;padding:1px;border:1px solid #9ab6d5;border-radius:3px;background:#fff;box-sizing:border-box}
#tht-app .tht179-ink-bar input[type=color]::-webkit-color-swatch-wrapper{padding:1px}
#tht-app .tht179-ink-bar input[type=color]::-webkit-color-swatch,#tht-app .tht179-ink-bar input[type=color]::-moz-color-swatch{border:0;border-radius:1px}
#tht-app .tht179-ink-bar select{width:45px;min-height:27px;height:27px;padding:0 3px;border-radius:3px;font-size:12px}
#tht-app .tht179-ink-bar .tht-btn,#tht-app .tht180-ink-editor-actions .tht-btn{padding:3px;min-height:27px;width:29px;height:27px;font-size:12px;border-radius:3px;display:inline-flex;align-items:center;justify-content:center}
#tht-app .tht180-ink-icon{width:19px;height:19px;flex:none;color:inherit}
#tht-app :is(.tht179-ink-bar,.tht180-ink-editor-actions) .tht-color-icon{display:none!important}
#tht-app :is(.tht179-ink-bar,.tht180-ink-editor-actions) .tht-btn::before,#tht-app :is(.tht179-ink-bar,.tht180-ink-editor-actions) .tht-btn::after{content:none!important;display:none!important}
#tht-app .tht179-ink-bar .active{background:#daeafa;border-color:#79a4d6}
#tht-app .tht180-ink-editor{position:absolute;z-index:19;pointer-events:auto;max-width:100%;box-sizing:border-box;background:#fff;border:1px solid #92b1d5;border-radius:3px;padding:3px}
#tht-app[data-view=question] .tht180-ink-editor textarea{display:block;width:100%;min-height:58px;height:70px;resize:none;margin:0;padding:3px;border:0;box-sizing:border-box;line-height:1.35;font-family:inherit;box-shadow:none;outline-offset:0}
#tht-app .tht180-ink-editor-actions{display:flex;justify-content:flex-end;gap:3px;margin-top:3px}
#tht-app .tht-membership-freecode{margin-bottom:13px}
#tht-app .tht-membership-freecode .tht-freecode-card{margin:0;max-width:none;padding:12px;border-radius:3px}
#tht-app .tht-membership-freecode .tht-freecode-card h1{font-size:19px;margin:0 0 5px}
#tht-app .tht-membership-freecode .tht-freecode-card p{font-size:12px;margin:5px 0}
@media(max-width:1000px){#tht-app .tht179-home-hero{flex-direction:column;align-items:stretch}#tht-app .tht179-home-hero .tht-hero-search{max-width:none}#tht-app .tht179-interest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#tht-app .tht179-home-hero{padding:11px;gap:10px}#tht-app .tht179-home-hero h1{font-size:19px}#tht-app .tht179-home-stats{gap:11px;font-size:11px;flex-wrap:wrap}#tht-app .tht179-home-stats b{font-size:14px}#tht-app .tht179-contest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#tht-app .tht179-contest-tile img{height:55px}#tht-app .tht179-topic-columns{grid-template-columns:1fr}#tht-app .tht179-related-grid{grid-template-columns:1fr}#tht-app .tht179-group-header h2{font-size:15px}#tht-app .tht179-group-header{align-items:flex-start}#tht-app .tht179-edit-controls{justify-content:flex-end}#tht-app .tht179-ink-bar{top:3px}#tht-app .tht179-ink-bar small{display:none}}


/* Source: assets/vault-explorer.css */
#tht-app .tht-vault-explorer{padding:8px 10px;margin:0 0 8px;border-radius:3px}
#tht-app .tht-browse-last-done{display:block;font-size:11px;color:var(--muted);line-height:1.25;margin-top:2px}
#tht-app .tht-vault-tabs{display:flex;gap:4px;flex-wrap:wrap;align-items:center;margin-bottom:7px}
#tht-app .tht-vault-tabs a,#tht-app .tht-vault-tabs button{padding:5px 8px;border:1px solid var(--line);background:#fff;border-radius:3px;font:inherit;font-size:13px;color:var(--ink);cursor:pointer}
#tht-app .tht-vault-tabs .active{background:var(--primary);border-color:var(--primary);color:#fff}
#tht-app .tht-vault-explorer h3{font-size:14px;margin:6px 0}
#tht-app .tht-vault-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:5px 0;max-height:260px;overflow:auto}
#tht-app .tht-vault-tile{display:flex;align-items:center;gap:5px;padding:6px 7px;border:1px solid var(--line);border-radius:3px;font-size:13px;min-width:0}
#tht-app .tht-vault-tile>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
#tht-app .tht-vault-tile small,#tht-app .tht-vault-topic small{font-weight:400;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}
#tht-app .tht-vault-sources{padding:5px 0;font-size:13px}
#tht-app .tht-vault-active{font-size:13px;margin-bottom:6px;color:var(--primary)}
#tht-app .tht-vault-topics{columns:3;column-gap:12px;max-height:300px;overflow:auto}
#tht-app .tht-vault-topic{display:flex;gap:5px;padding:4px 0 4px calc(var(--topic-depth)*9px);font-size:13px;break-inside:avoid;line-height:1.35}
@media(max-width:800px){#tht-app .tht-vault-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#tht-app .tht-vault-topics{columns:2}}
@media(max-width:500px){#tht-app .tht-vault-tabs a,#tht-app .tht-vault-tabs button{font-size:12px;padding:5px 6px}#tht-app .tht-vault-topics{columns:1}#tht-app .tht-vault-grid{max-height:180px}}


/* Source: assets/paper-composer-v180.css */
/* Source picker is scoped to the paper draft; no global form/outline overrides. */
#tht-app .tht180-compose-sources{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
#tht-app .tht180-compose-sources .tht-btn{border-radius:3px;font-size:14px;min-height:34px}
#tht-app .tht180-compose-sources .active{background:#eeecff;border-color:#aaa2fa;color:#342c82}
#tht-app .tht180-compose-intro{font-size:14px;color:var(--tht-muted,#7c88a4);margin:8px 0}
#tht-app .tht180-compose-panels.has-source{display:grid;grid-template-columns:minmax(290px,2fr) minmax(0,3fr);gap:12px;align-items:start}
#tht-app .tht180-compose-left{padding:10px;min-width:0;border-radius:3px}
#tht-app .tht180-compose-left>header,#tht-app .tht180-compose-right>header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
#tht-app .tht180-compose-left>header{flex-wrap:wrap}
#tht-app .tht180-compose-left>header h2,#tht-app .tht180-compose-right>header h2{font-size:14px;line-height:1.5;margin:0}
#tht-app .tht180-compose-left>header small,#tht-app .tht180-compose-right>header small{font-size:11px;color:var(--tht-muted,#7c88a4);overflow-wrap:anywhere}
#tht-app .tht180-compose-search{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 7px}
#tht-app .tht180-compose-search>label:first-child{flex:1 1 180px;margin:0;min-width:0}
#tht-app .tht180-compose-search input{width:100%;height:34px;min-height:34px;box-sizing:border-box;border-radius:3px;padding:5px 8px;margin:0;font-size:13px}
#tht-app .tht180-compose-search .tht180-compose-random-count{flex:0 0 58px;margin:0}
#tht-app .tht180-compose-search .tht-btn{font-size:12px;padding:5px 8px;min-height:34px;white-space:nowrap;border-radius:3px}
#tht-app .tht180-compose-list{max-height:none;overflow:visible;min-height:75px}
#tht-app .tht180-compose-question{padding:7px 4px 8px;border-bottom:1px solid var(--tht-border,#e0e5f1);min-width:0}
#tht-app .tht180-compose-question>header{display:flex;justify-content:space-between;align-items:center;gap:5px;min-width:0}
#tht-app .tht180-compose-question>header small{font-size:11px;color:var(--tht-muted,#7c88a4);overflow-wrap:anywhere}
#tht-app .tht180-compose-question>header .tht-icon-btn{width:27px;height:27px;min-width:27px;border-radius:3px;flex-shrink:0;padding:4px}
#tht-app .tht180-compose-snippet{line-height:1.5;height:auto;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow-wrap:anywhere;padding:2px 0}
/* Inherit the same .tht-prose font as the draft on the right. Do not force an
   em height: fractions/accents may make a line taller than ordinary text. */
#tht-app .tht180-compose-snippet :is(p,li){line-height:inherit;margin:0}
#tht-app .tht180-compose-snippet p{display:inline}
#tht-app .tht180-compose-snippet p+p::before{content:" "}
#tht-app .tht180-compose-snippet img,#tht-app .tht180-compose-snippet figure{display:none}
#tht-app .tht180-compose-snippet .katex-display{display:inline;margin:0;padding:0;overflow:visible}
#tht-app .tht180-compose-question>footer{display:flex;justify-content:flex-end;margin-top:5px}
#tht-app .tht180-compose-question>footer .tht-btn{font-size:12px;min-height:28px;padding:3px 7px;border-radius:3px}
#tht-app .tht180-compose-question>footer .tht180-compose-added{background:#e4f5e9;color:#187646;border-color:#a4d7b8;opacity:1}
#tht-app .tht180-compose-pager{display:flex;align-items:center;justify-content:space-between;gap:5px;padding-top:7px;font-size:12px}
#tht-app .tht180-compose-pager>div{display:flex;align-items:center;gap:6px}
#tht-app .tht180-compose-pager .tht-icon-btn{width:28px;height:28px;min-width:28px;border-radius:3px}
#tht-app .tht180-compose-right{min-width:0}
#tht-app .tht180-compose-contest-chooser>div:first-child{display:flex;align-items:center;gap:8px;margin-bottom:8px}
#tht-app .tht180-compose-contest-chooser input[type=search]{height:34px;min-height:34px;border-radius:3px;margin:0;flex:1;min-width:0}
#tht-app .tht180-compose-contest-chooser [data-compose-contest-options]{max-height:360px;overflow:auto;scrollbar-gutter:stable}
#tht-app .tht180-compose-contest-chooser [data-compose-contest-options]>label{display:flex;flex-direction:row;align-items:center;gap:7px;padding:5px 3px;margin:0;font-size:14px;line-height:1.5;font-weight:400}
#tht-app .tht180-compose-contest-chooser [data-compose-contest-options]>label>input{width:15px;height:15px;min-height:0;margin:0;flex:none}
#tht-app .tht180-compose-contest-chooser [data-compose-contest-options]>label>small{margin-left:auto;color:var(--tht-muted,#7c88a4);font-size:11px}
#tht-app .tht180-compose-full-preview{font-size:14px;line-height:1.5;max-height:70vh;overflow:auto}
@media(max-width:850px){#tht-app .tht180-compose-panels.has-source{grid-template-columns:1fr}#tht-app .tht180-compose-sources{gap:5px}#tht-app .tht180-compose-sources .tht-btn{font-size:13px;padding:6px 9px}}
@media print{#tht-app .tht180-compose-sources,#tht-app .tht180-compose-left,#tht-app .tht180-compose-intro,#tht-app .tht180-compose-right>header{display:none!important}#tht-app .tht180-compose-panels.has-source{display:block}}


/* Source: assets/paper-v180.css */
/* Stable icon-only paper controls; their column cannot overlap question text. */
#tht-app[data-view=paper] .tht-paper-item{grid-template-columns:38px minmax(0,1fr);gap:10px;padding:10px;border-radius:3px}
#tht-app[data-view=paper] .tht-paper-order{min-width:0;width:38px;padding-right:6px;gap:4px;align-items:center}
#tht-app[data-view=paper] .tht-paper-order>strong{font-size:16px;line-height:1.4;margin-bottom:2px}
#tht-app[data-view=paper] .tht-paper-order .tht-paper-icon{width:28px;min-width:28px;height:28px;min-height:28px;padding:5px;flex:none;line-height:1;border:1px solid var(--line,#dfe3ed);background:#fff;border-radius:3px;color:#2089b5}
#tht-app[data-view=paper] .tht-paper-order .tht-paper-icon:hover{background:#edf7fc}
#tht-app[data-view=paper] .tht-paper-icon .tht-icon{width:16px;height:16px}
#tht-app[data-view=paper] .tht-paper-icon>.tht-color-icon{display:none!important}
#tht-app[data-view=paper] .tht-paper-item>div:last-child{min-width:0;overflow-wrap:anywhere}
#tht-app[data-view=paper] .tht-paper-item .katex-display{overflow-x:auto;overflow-y:hidden;max-width:100%}
#tht-app[data-view=paper] .tht-page-head>.tht-actions,#tht-app[data-view=paper] .tht-page-head>div>.tht-actions{gap:5px;flex-wrap:wrap}
#tht-app[data-view=paper] .tht-page-head .tht-btn{border-radius:3px;min-height:32px;padding:5px 8px;font-size:13px}
#tht-app[data-view=paper] .tht-paper-settings{padding:9px;gap:9px;margin-bottom:8px;border-radius:3px}
#tht-app[data-view=paper] .tht-paper-settings>label:first-child{min-width:150px}
@media(max-width:760px){#tht-app[data-view=paper] .tht-paper-settings{flex-wrap:wrap}#tht-app[data-view=paper] .tht-page-head{align-items:flex-start;gap:8px}#tht-app[data-view=paper] .tht-page-head .tht-actions{justify-content:flex-start}}


/* Source: assets/solo-practice-v183.css */
#tht-app .tht183-answer-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;align-items:start;margin-top:8px}
#tht-app .tht183-answer-row>.tht-answer{margin:0;min-width:0}
#tht-app .tht183-answer-row .tht-answer>summary{min-height:30px;box-sizing:border-box}
#tht-app .tht183-try{min-height:32px;padding:4px 9px;color:#fff;background:#6356cf;border:1px solid #6356cf;border-radius:3px;font-weight:600}
#tht-app .tht183-try-wrap{position:relative;display:inline-flex;border-radius:3px}
#tht-app .tht183-disabled{cursor:help}
#tht-app .tht183-disabled .tht183-try{pointer-events:none;opacity:.5;color:#45516a;background:#e4e7ee;border-color:#c9cfdb}
#tht-app .tht183-disabled:is(:hover,:focus-visible)::after{content:attr(data-tooltip);position:absolute;z-index:35;top:calc(100% + 5px);left:0;width:min(290px,75vw);padding:7px 9px;background:#1f2937;color:#fff;font-size:12px;line-height:1.45;font-weight:400;border-radius:3px;box-shadow:0 2px 8px #0002;white-space:normal}
#tht-app .tht183-solo-result,#tht-app .tht183-policy{font-size:12px;line-height:1.4;color:#61708b;margin:5px 0}
#tht-app .tht183-help{font-size:14px;margin:0 0 10px}
#tht-app .tht183-choices{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
#tht-app .tht183-choices label{display:flex;align-items:center;justify-content:center;gap:5px;min-width:48px;min-height:35px;padding:3px 8px;border:1px solid #ccd5e4;border-radius:3px;font-size:16px;font-weight:600;cursor:pointer}
#tht-app .tht183-choices input{width:15px;height:15px;margin:0;accent-color:#6356cf}
#tht-app .tht183-choices label:has(input:checked){background:#eef0ff;border-color:#6356cf}
#tht-app .tht183-xp{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #ddd9fa;border-radius:3px;background:#f5f3ff;color:#51409a;font-size:13px;font-weight:600}
#tht-app .tht183-wrong-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
#tht-app .tht183-wrong-card{padding:9px;border-radius:3px;min-width:0}
#tht-app .tht183-wrong-card header,#tht-app .tht183-wrong-card footer{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:12px}
#tht-app .tht183-wrong-card header>a{min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600}
#tht-app .tht183-wrong-card small{flex:none;color:#7788a2;font-size:11px}
#tht-app .tht183-wrong-stem{display:block;text-decoration:none;color:inherit;margin:6px 0}
#tht-app .tht183-wrong-stem .tht-prose{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#tht-app .tht183-wrong-stem .tht-prose p{margin:0;display:inline;line-height:inherit}
#tht-app .tht183-wrong-stem .tht-prose p+p::before{content:" "}
#tht-app .tht183-wrong-stem .tht-diagram{display:none}
#tht-app .tht183-wrong-card .tht-btn{padding:3px 6px;min-height:27px;font-size:12px;border-radius:3px}
#tht-app .tht183-activity{padding:0 10px;border-radius:3px}
#tht-app .tht183-activity article{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #e6ebf4;font-size:13px}
#tht-app .tht183-activity article:last-child{border:0}
#tht-app .tht183-activity article>div{min-width:0;flex:1}
#tht-app .tht183-activity small{display:block;margin-top:3px;color:#667b97;font-size:12px}
#tht-app .tht183-activity time{color:#8292a8;font-size:11px;flex:none}
#tht-app .tht183-event-icon{display:flex;width:24px;flex:none;color:#21a5c4}
@media(max-width:760px){#tht-app .tht183-wrong-grid{grid-template-columns:1fr}#tht-app .tht183-activity article{flex-wrap:wrap}#tht-app .tht183-activity time{margin-left:32px}#tht-app .tht183-wrong-card footer{flex-wrap:wrap}}


/* Source: assets/release-v184.css */
/* v184 narrow overrides: original module layouts and export types remain. */
#tht-app .tht184-user-name{display:inline!important;min-width:0;overflow-wrap:anywhere}
#tht-app sup.tht184-user-xp{display:inline!important;position:relative;top:-.4em;vertical-align:baseline;font-size:70%;line-height:0;font-weight:600;color:#6557b9;margin-left:4px;white-space:nowrap}
#tht-app .tht184-profile-xp{font-size:14px;font-weight:600;color:#6557b9;margin:7px 0}
#tht-app .tht184-word-locked{display:inline-flex;cursor:help}
#tht-app .tht184-word-locked>button{pointer-events:none;opacity:.45;cursor:not-allowed}
#tht-app .tht184-paper-policy{font-size:12px;color:#71809a;margin:5px 0 10px;line-height:1.5}
#tht-app #tht-settings-form{padding:12px;max-width:620px}
#tht-app #tht-settings-form label{margin-bottom:9px}
#tht-app .tht179-interest-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:10px 0}
#tht-app .tht179-interest-grid label.tht184-interest-card{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-width:0;gap:5px;padding:9px 6px;border:1px solid #dde4f0;border-radius:3px;background:#fff;cursor:pointer;box-sizing:border-box;text-align:center;line-height:1.15}
#tht-app .tht184-interest-card img{max-width:100%;width:80px;height:44px;object-fit:contain}
#tht-app .tht184-interest-card .tht179-contest-fallback{height:44px;min-width:60px;display:flex;align-items:center;justify-content:center;font-size:21px;background:#eef4ff;border-radius:3px;color:#5381b1}
#tht-app .tht184-interest-card strong{font-size:var(--tht184-interest-h1,28px);font-weight:700;color:#14243e;overflow-wrap:anywhere;max-width:100%}
#tht-app .tht184-interest-card input{position:absolute;right:6px;top:6px;flex:none;width:16px;height:16px;margin:0}
#tht-app .tht184-interest-card:has(input:checked){background:#f0edff;border-color:#7865da}
#tht-app .tht184-interest-card:has(input:focus-visible){outline:2px solid #7464d3;outline-offset:2px}
#tht-app .tht183-wrong-card header>a{font-size:14px}
#tht-app .tht179-related-card header>a{font-weight:700;color:#000}
#tht-app .tht179-related-card header,#tht-app .tht179-related-card header small{font-weight:700;color:#000}
#tht-app .tht179-related-card .tht-prose{max-height:14em}
@media(max-width:1100px){#tht-app .tht179-interest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#tht-app .tht179-interest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#tht-app .tht184-interest-card strong{font-size:var(--tht184-interest-h1,24px)}}


/* Source: assets/release-v185.css */
/* v1.8.5: scoped presentation changes; data and membership policy unchanged. */
#tht-app .tht184-interest-card strong,#tht-app .tht179-contest-tile strong{font-size:13px;font-weight:700;line-height:1.4}
#tht-app .tht179-interest-grid label.tht184-interest-card{line-height:1.4;padding:8px 6px}
#tht-app .tht179-interest-grid label[hidden],#tht-app [data-interest-empty][hidden]{display:none!important}
#tht-app .tht185-interest-search{display:flex;align-items:center;gap:8px;margin:9px 0;min-width:0}
#tht-app .tht185-interest-search input{flex:1;min-width:0;max-width:480px;box-sizing:border-box;height:34px;margin:0;padding:5px 9px;border:1px solid #bccadd;border-radius:3px;background:#fff;color:#14243e;font:inherit;font-size:13px;box-shadow:none}
#tht-app .tht185-interest-search input:focus-visible{outline:2px solid #7193ba;outline-offset:1px}
#tht-app .tht185-interest-search small{flex:none;color:#748399;font-size:12px}
#tht-app[data-view=history] .tht-question-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px}
#tht-app[data-view=history] .tht-question-card{min-width:0;margin:0}
#tht-app[data-view=history] .tht-question-card header,#tht-app[data-view=history] .tht-question-card footer{flex-wrap:wrap}
#tht-app[data-view=history] .tht-q-meta{min-width:0;flex-wrap:wrap}
#tht-app[data-view=history] .tht-source-chip{max-width:100%;overflow-wrap:anywhere}
#tht-app[data-view=history] .tht-prose{min-width:0;overflow:auto}
#tht-app .tht185-wrong-card header{align-items:flex-start;justify-content:flex-start}
#tht-app .tht185-wrong-card header>a{white-space:normal;overflow:visible;text-overflow:clip;min-width:0;flex:1;font-size:14px;font-weight:700;color:#000}
#tht-app .tht185-wrong-card header small{font-size:12px;font-weight:700;color:#000;white-space:normal}
#tht-app .tht185-wrong-card .tht183-wrong-stem{margin:0 0 8px}
#tht-app .tht185-wrong-card .tht183-wrong-stem .tht-prose{display:block;-webkit-line-clamp:unset;line-clamp:unset;height:auto;max-height:14em;overflow:auto;font-size:var(--tht180-detail-label-size,15px);font-family:var(--tht180-detail-label-font,inherit);line-height:1.4;overflow-wrap:normal;word-break:normal;scrollbar-gutter:stable}
#tht-app .tht185-wrong-card .tht183-wrong-stem .tht-prose p{display:block;margin:0 0 5px;line-height:1.4}
#tht-app .tht185-wrong-card .tht183-wrong-stem .tht-prose p+p::before{content:none}
#tht-app .tht185-wrong-card .tht183-wrong-stem .tht-diagram{display:block;margin:6px 0}
#tht-app .tht185-wrong-card footer{margin-top:auto;flex-wrap:wrap;gap:5px}
#tht-app .tht185-wrong-card footer small{flex:1;min-width:0;overflow-wrap:anywhere}
#tht-app .tht185-wrong-card footer .tht-btn{margin-left:auto;flex:none}
#tht-app .tht-year-grid{width:100%;max-width:none;box-sizing:border-box}
/* v1.8.6: only the year-paper table is tightened; normal text spacing. */
#tht-app .tht-year-paper-table{border-collapse:separate;border-spacing:0;font-size:16px;line-height:1.4}
#tht-app .tht-year-paper-table,#tht-app .tht-year-paper-table :is(th,td,a){letter-spacing:normal;word-spacing:normal;text-align:left}
#tht-app .tht-year-paper-table th{font-size:inherit;padding:5px 8px}
#tht-app .tht-year-paper-table td{padding:4px 8px;border-top:0;border-bottom:1px solid var(--line,#dfe5ee);background:#fff}
#tht-app .tht-year-paper-table tbody>tr:nth-child(even)>td{background:var(--tht-sidebar-bg,#eff4fa);color:var(--tht-sidebar-ink,#17324d)}
#tht-app .tht-year-paper-table td:first-child{border-left:1px solid var(--line,#dfe5ee);border-radius:3px 0 0 3px}
#tht-app .tht-year-paper-table td:last-child{border-right:1px solid var(--line,#dfe5ee);border-radius:0 3px 3px 0}
#tht-app .tht-year-paper-table td:first-child>a{position:relative;padding-left:18px;font-size:inherit;font-weight:600;color:inherit}
#tht-app .tht-year-paper-table td:first-child>a::before{content:"";position:absolute;left:0;top:.35em;width:12px;height:12px;background:#168de2;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);pointer-events:none}
#tht-app .tht179-pen-toggle .tht185-pencil{width:28px;height:28px;color:#09b8ef;display:block}
#tht-app .tht180-ink-button .tht185-pencil{width:20px;height:20px}
#tht-app .tht185-related-icon{width:21px;height:21px;flex:none;color:#0c97bc}
@media(max-width:760px){#tht-app[data-view=history] .tht-question-list{grid-template-columns:1fr}}
/* Match app.css problem text at both widths, including live viewport changes. */
@media(max-width:760px){#tht-app .tht-year-paper-table{font-size:15px}}
@media(max-width:600px){#tht-app .tht-year-paper-table{min-width:640px}#tht-app .tht-year-paper-table td{padding:4px 8px}#tht-app .tht-year-paper-wrap{max-width:100%;overscroll-behavior-x:contain}}


/* Source: assets/release-v187.css */
/* Full-screen temporary ink; profile/help styling only. */
#tht-app .tht179-ink-canvas{position:fixed;inset:0;z-index:2147483000;max-width:none;max-height:none;margin:0;pointer-events:auto;touch-action:none}
#tht-app .tht179-ink-canvas.tht187-ink-pass-through{pointer-events:none;touch-action:auto}
#tht-app .tht179-ink-wrap{position:relative;z-index:2147483001;min-height:42px}
#tht-app .tht179-ink-wrap .tht179-ink-bar{position:relative;top:auto;z-index:1;pointer-events:auto}
#tht-app .tht187-ink-docked .tht179-ink-bar{position:fixed;left:8px;right:8px;bottom:8px;top:auto;max-width:calc(100vw - 16px);box-sizing:border-box;flex-wrap:wrap}
#tht-app .tht180-ink-editor{position:fixed;z-index:2147483002;max-width:calc(100vw - 8px);box-sizing:border-box}
#tht-app .tht187-grade-help{font-size:12px;line-height:1.45;color:#71809a}
#tht-app .tht187-home-grade{font-size:12px;color:#617592;margin:6px 0}
#tht-app[data-view=help] [id^=tht-help-]{scroll-margin-top:48px}
#tht-app .tht187-help-table{max-width:100%;overflow:auto;overscroll-behavior:contain;margin:10px 0}
#tht-app .tht187-help-table table{min-width:640px;width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}
#tht-app .tht187-help-table :is(th,td){padding:6px 8px;border:1px solid #dbe3ee;text-align:left;vertical-align:top}
#tht-app .tht187-help-table th{background:#eff4fa;font-weight:600}
#tht-app .tht187-help-example{max-width:100%;overflow:auto;white-space:pre;box-sizing:border-box;padding:8px;background:#eff4fa;border-radius:3px}
@media(max-width:760px){#tht-app .tht187-ink-docked .tht179-ink-bar{left:4px;right:4px;bottom:4px;max-width:calc(100vw - 8px)}}


/* Source: assets/release-v188.css */
/* Site-wide question-bank columns only; other lists and paper tables stay intact. */
#tht-app[data-view=browse] .tht188-browse-list{grid-template-columns:minmax(0,1fr)}
#tht-app[data-view=browse] .tht188-browse-list[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
#tht-app[data-view=browse] .tht188-browse-list>.tht-question-card{min-width:0}
#tht-app[data-view=browse] .tht188-browse-list[data-columns="2"] .tht-question-card>header,
#tht-app[data-view=browse] .tht188-browse-list[data-columns="2"] .tht-question-card>footer{flex-wrap:wrap}
#tht-app[data-view=browse] .tht188-browse-list[data-columns="2"] .tht-q-meta{min-width:0;flex-wrap:wrap}
#tht-app[data-view=browse] .tht188-browse-list>.tht-empty{grid-column:1/-1}
@media(max-width:1000px){#tht-app[data-view=browse] .tht188-browse-list[data-columns="2"]{grid-template-columns:minmax(0,1fr)}}


/* Source: assets/release-v190.css */
/* Only home logo contents change. Keep v1.8.8 grid/card geometry and decoration. */
#tht-app .tht179-home-groups .tht179-contest-tile>a{padding:0 0 4px;gap:0}
#tht-app .tht179-home-groups .tht190-logo-region{position:relative;width:100%;display:flex;flex-direction:column;gap:26px}
#tht-app .tht179-home-groups .tht190-logo-height{display:block;height:65px;flex:none;visibility:hidden}
#tht-app .tht179-home-groups .tht190-count-height{display:block;visibility:hidden;flex:none;pointer-events:none}
#tht-app .tht179-home-groups .tht190-logo-region>img{position:absolute;left:-1px;top:0;width:calc(100% + 2px);max-width:none;height:100%;object-fit:contain;object-position:center;border-radius:0}
#tht-app .tht179-home-groups .tht190-logo-region>.tht179-contest-fallback{position:absolute;inset:0;width:100%;height:100%}
#tht-app .tht179-home-groups .tht179-contest-tile>a>strong{display:block;width:100%;padding:0 8px}
@media(max-width:760px){#tht-app .tht179-home-groups .tht190-logo-height{height:55px}#tht-app .tht179-home-groups .tht190-logo-region:has(>.tht179-contest-fallback)>.tht190-logo-height{height:65px}}


/* Source: assets/release-v191.css */
/* Read-only partial-paper availability; existing tree/table/card geometry is unchanged. */
#tht-app .tht191-partial-icon{display:inline-block;color:#a96708;font-size:14px;line-height:1;margin-left:4px;vertical-align:baseline}
#tht-app .tht191-partial-note{font-size:13px;color:#80520b;margin:4px 0 0}


/* Source: assets/question-images-v195.css */
/* Screen-only sizing: the original source and click-to-zoom remain unchanged.
   Auto width AND height preserve the natural ratio under both size constraints.
   The renderer marks statement/option images in all bank, preview and test views. */
@media screen {
  #tht-app .tht-prose img[data-tht-question-image] {
    width:auto;
    height:auto;
    min-width:0;
    min-height:0;
    max-width:100%;
    max-height:500px;
    object-fit:contain;
  }
  #tht-app .tht-prose img[data-tht-question-image="option"] {
    max-height:150px;
  }
}


/* Source: assets/classroom-v196.css */
/* Scoped to classrooms/reports. No question-bank, export or Tutorial rules. */
#tht-app .tht-class{border-radius:5px!important}
#tht-app .tht-class-header{display:block;margin-bottom:8px}
#tht-app .tht-class-title-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
#tht-app .tht-class-title-row h2{margin:0;min-width:0;overflow-wrap:anywhere}
#tht-app .tht-class-title-row .tht-class-countdown{margin:0;text-align:right;white-space:nowrap}
#tht-app .tht-class-meta-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:5px}
#tht-app .tht-class-meta-row p{margin:0}
#tht-app .tht-class-code{font-size:17px;font-weight:750;color:var(--text,#17344e);letter-spacing:normal;overflow-wrap:anywhere}
#tht-app .tht-class-tests{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
#tht-app .tht-class-tests th,#tht-app .tht-class-tests td{padding:8px 9px;border-bottom:1px solid var(--line,#dce4ef);vertical-align:middle;letter-spacing:normal;word-spacing:normal}
#tht-app .tht-class-tests th{font-weight:650;text-transform:uppercase;background:#f3f7fb}
#tht-app .tht-class-tests th:first-child{width:42%;text-align:left}
#tht-app .tht-class-tests th:nth-child(2){width:25%;text-align:left}
#tht-app .tht-class-tests th:last-child{width:33%;text-align:right}
#tht-app .tht-class-tests tbody tr:last-child td{border-bottom:0}
#tht-app .tht-class-test-name,#tht-app .tht-class-test-due{text-align:left;overflow-wrap:anywhere}
#tht-app .tht-class-test-name>span{display:flex;align-items:baseline;gap:7px;color:#087db6}
#tht-app .tht-class-test-name strong{font-weight:700;color:#087db6}
#tht-app .tht-class-star{height:13px;width:13px;flex:none;fill:#168fda;align-self:center}
#tht-app .tht-class-test-status{text-align:right}
#tht-app .tht-class-test-status>div{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
#tht-app .tht-class-completed{font-size:13px;line-height:1.35}
#tht-app .tht-class-completed time{font-weight:600}
#tht-app .tht-class-state{color:#54657b;font-size:13px}
#tht-app .tht-class-state.closed{color:#a64949}
#tht-app .tht-class-empty{color:#61748b;text-align:left}
#tht-app .tht-modal-backdrop:has(.tht-class-report-dialog){padding:0!important;align-items:stretch!important}
#tht-app .tht-modal.tht-class-report-dialog{width:100vw!important;max-width:none!important;height:100vh;height:100dvh;max-height:100vh!important;max-height:100dvh!important;border-radius:0!important;display:flex;flex-direction:column;margin:0!important}
#tht-app .tht-class-report-dialog>header{flex:none}
#tht-app .tht-class-report-dialog>#tht-modal-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#tht-app .tht-class-report-dialog .tht-modal-body{flex:1;overflow:auto;min-height:0;padding:14px 18px}
#tht-app .tht-class-report-dialog footer{flex:none}
#tht-app .tht-class-report-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px}
#tht-app .tht-class-report h3{margin:0 0 8px;font-size:17px}
#tht-app .tht-class-report p{margin:4px 0;font-size:14px}
#tht-app .tht-class-report .tht-actions{flex-wrap:wrap;gap:5px}
#tht-app .tht-class-report-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:10px}
#tht-app .tht-class-report-metric{border:1px solid #d9e6ef;background:#f0f7fc;border-radius:5px;padding:10px;display:flex;flex-direction:column;gap:2px}
#tht-app .tht-class-report-metric>span{font-size:13px;color:#546d83}
#tht-app .tht-class-report-metric>strong{font-size:24px;line-height:1.3}
#tht-app .tht-class-report-metric small{font-size:12px;color:#557286}
#tht-app .tht-class-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#tht-app .tht-class-report-panel{border:1px solid #dce5ef;border-radius:5px;background:#fff;padding:11px;margin-bottom:10px;min-width:0}
#tht-app .tht-class-report-panel dl{margin:0}
#tht-app .tht-class-report-panel dl>div{display:flex;justify-content:space-between;gap:10px;padding:3px 0;font-size:14px}
#tht-app .tht-class-report-panel dd{margin:0;font-weight:650;text-align:right}
#tht-app .tht-class-report-bar{display:grid;grid-template-columns:80px 1fr 35px;align-items:center;gap:8px;margin:7px 0;font-size:14px}
#tht-app .tht-class-report progress{width:100%;height:9px;accent-color:#3298c6}
#tht-app .tht-class-report-note{color:#617488;font-size:12px!important;line-height:1.45;margin:8px 0!important}
#tht-app .tht-class-report-ranking{margin:0;padding-left:22px}
#tht-app .tht-class-report-ranking li{padding:4px 0;font-size:14px}
#tht-app .tht-class-report-ranking li>span{float:right;color:#586f83}
#tht-app .tht-class-report small{display:block;font-size:12px;color:#627386;max-width:300px;overflow-wrap:anywhere}
#tht-app .tht-class-report-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:end}
#tht-app .tht-class-report-filters label{display:flex;flex-direction:column;gap:3px;font-size:13px}
#tht-app .tht-class-report-filters input{min-width:200px}
#tht-app .tht-class-report-table-wrap{overflow-x:auto}
#tht-app .tht-class-report-table{border-collapse:collapse;width:100%;font-size:13px}
#tht-app .tht-class-report-table th,#tht-app .tht-class-report-table td{border-bottom:1px solid #e1e7ef;text-align:left;padding:7px 8px;vertical-align:top}
#tht-app .tht-class-report-table th{background:#f0f5fa;font-weight:650;white-space:nowrap}
#tht-app .tht-class-report-table tbody tr:nth-child(even){background:#f9fbfd}
#tht-app .tht-class-report-table td:first-child{min-width:130px;overflow-wrap:anywhere}
#tht-app .tht-class-report-table .tht-btn{margin-top:5px;white-space:nowrap}
#tht-app .tht-class-report-table details summary{cursor:pointer;white-space:nowrap}
#tht-app .tht-class-report-responses{display:flex;flex-wrap:wrap;gap:4px}
#tht-app .tht-class-report-responses>span{background:#eef4fa;border-radius:5px;padding:2px 5px;overflow-wrap:anywhere}
#tht-app .tht-class-report-pagination{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin-top:9px;font-size:13px}
#tht-app .tht-class-report-topic{display:grid;grid-template-columns:minmax(0,1fr) 120px 160px;gap:8px;align-items:center;font-size:14px;padding:4px 0}
#tht-app .tht-check-pending{background:#fff4dc;color:#805c19}
#tht-app .tht-check-graded{background:#eaf1ff;color:#3a5f96}
#tht-app .tht-check-unknown{background:#edf0f5;color:#66717d}
@media(max-width:1000px){#tht-app .tht-class-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 #tht-app .tht-class-title-row,#tht-app .tht-class-meta-row{flex-direction:column;align-items:flex-start;gap:4px}
 #tht-app .tht-class-title-row .tht-class-countdown{text-align:left;white-space:normal}
 #tht-app .tht-class-tests{font-size:13px}
 #tht-app .tht-class-tests th,#tht-app .tht-class-tests td{padding:7px 5px}
 #tht-app .tht-class-tests th:first-child{width:36%}
 #tht-app .tht-class-tests th:nth-child(2){width:27%}
 #tht-app .tht-class-tests th:last-child{width:37%}
 #tht-app .tht-class-test-status .tht-btn{white-space:normal;min-width:0;max-width:100%;text-align:center}
 #tht-app .tht-class-completed time{display:block}
 #tht-app .tht-class-report-heading{flex-direction:column}
 #tht-app .tht-class-report-grid{grid-template-columns:1fr}
 #tht-app .tht-class-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 #tht-app .tht-class-report-dialog .tht-modal-body{padding:10px}
 #tht-app .tht-class-report-filters label{width:100%}
 #tht-app .tht-class-report-topic{grid-template-columns:1fr 110px}
 #tht-app .tht-class-report-topic progress{grid-column:1/-1}
 #tht-app .tht-class-report-ranking li>span{float:none;display:block}
}


/* Source: assets/shell-v197.css */
/* Established selectors remain available to Tutorials and IQ integrations. */
#tht-app .tht-sidebar{padding-top:46px}
#tht-app .tht-sidebar-top{position:absolute;top:10px;right:10px;display:flex;align-items:center;gap:5px;height:28px;z-index:4}
#tht-app .tht-sidebar-top>button{position:static!important;inset:auto!important;width:28px!important;height:28px!important;min-width:28px;padding:4px;display:flex!important;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;border-radius:5px;color:var(--tht-sidebar-ink,#17324d);box-shadow:none;transform:none!important}
#tht-app .tht-sidebar-top>button:hover{background:#dfe8f2;border-color:#b9c9db}
#tht-app .tht-sidebar-top>button svg{width:18px;height:18px}
#tht-app .tht-brand-row{display:flex;align-items:center;gap:5px;min-width:0;margin:0 0 10px}
#tht-app .tht-brand-row .tht-brand{flex:1;min-width:0;margin:0;padding:0;gap:6px}
#tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:29px;height:29px;min-width:29px}
#tht-app .tht-brand-row .tht-brand>span:last-child{font-size:13px;white-space:nowrap}
#tht-app .tht-brand-row .tht-brand small{font-size:7px;letter-spacing:.3px;white-space:nowrap;margin-top:2px}
#tht-app .tht-brand-row>.tht-language{width:auto;display:flex;flex:0 0 auto;gap:0;padding:1px;margin:0;border-radius:5px}
#tht-app .tht-brand-row>.tht-language button{min-width:0;width:25px;flex:0 0 25px;height:25px;font-size:10px;padding:0!important;border-radius:3px}
#tht-app .tht-brand-row>.tht-language button::before{display:none!important}
#tht-app .tht-sidebar-collapsed .tht-sidebar{transform:none!important;visibility:visible!important;opacity:1!important;width:48px!important;padding:44px 6px 6px!important;overflow:hidden}
#tht-app .tht-sidebar-collapsed .tht-sidebar>*:not(.tht-sidebar-top){display:none!important}
#tht-app .tht-sidebar-collapsed .tht-sidebar-top{right:10px}
#tht-app .tht-sidebar-collapsed .tht-global-search-button{display:none!important}
#tht-app .tht-sidebar-collapsed .tht-main-wrap{margin-left:48px}
#tht-app .tht-sidebar-collapsed.tht-shell{grid-template-columns:48px 1fr}
#tht-app .tht197-search{width:min(780px,100%);display:flex;flex-direction:column}
#tht-app .tht197-search-input{width:100%;font-size:16px}
#tht-app .tht197-search-results{max-height:65vh;overflow:auto}
#tht-app .tht197-search-result{display:block;padding:10px 0;border-bottom:1px solid #dce5ee;text-align:left}
#tht-app .tht197-search-result .tht-prose{margin:5px 0;max-height:150px;overflow:hidden}
#tht-app .tht197-search-result img{max-height:110px;width:auto;max-width:100%}
#tht-app .tht197-search-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
#tht-app .tht197-home-hidden{opacity:.65;border-style:dashed}
#tht-app .tht197-home-visibility{position:relative;display:block;margin:0 auto 5px;padding:3px 6px;font-size:11px;line-height:1.2;border:1px solid #ccd8e5;border-radius:5px;background:#fff;color:#17324d}
.tht-boot-error{margin:25px;max-width:600px;padding:18px;border:1px solid #d7e2ed;border-radius:5px;background:#fff;color:#17324d}
.tht-boot-error button{margin-top:12px;padding:8px 14px}
@media print{#tht-app .tht-sidebar-top{display:none!important}}
@media(min-width:761px) and (max-width:1100px){
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:11px}
 #tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:24px;height:24px;min-width:24px}
 #tht-app .tht-brand-row .tht-brand small{font-size:6px}
 #tht-app .tht-brand-row>.tht-language button{width:22px;flex-basis:22px;font-size:9px}
}
@media(max-width:760px){
 #tht-app .tht-sidebar-collapsed .tht-sidebar{width:min(280px,88vw)!important;transform:translateX(-100%)!important;padding:46px 14px 14px!important}
 #tht-app .tht-sidebar-collapsed .tht-sidebar.is-open{transform:none!important}
 #tht-app .tht-sidebar-collapsed .tht-sidebar>*:not(.tht-sidebar-top){display:revert!important}
 #tht-app .tht-sidebar-collapsed .tht-sidebar-top .tht-global-search-button{display:flex!important}
 #tht-app .tht-sidebar-collapsed .tht-main-wrap{margin-left:0}
 #tht-app .tht-sidebar-collapsed.tht-shell{grid-template-columns:1fr}
}


/* Source: assets/shell-v198.css */
/* 1.9.8: a quiet vertical utility rail preserves the full brand area. */
#tht-app .tht-sidebar{padding-top:12px}
#tht-app .tht-sidebar-tools{
 position:fixed;z-index:1002;top:10px;left:268px;right:auto;width:34px;height:auto;
 display:flex;flex-direction:column;align-items:stretch;gap:3px;padding:3px;
 border:1px solid color-mix(in srgb,var(--tht-sidebar-ink,#17324d) 16%,transparent);
 border-radius:7px;background:color-mix(in srgb,var(--tht-sidebar-bg,#eff4fa) 94%,white);
 box-shadow:0 4px 14px #17324d12;
}
body.admin-bar #tht-app .tht-sidebar-tools{top:42px}
#tht-app .tht-sidebar-tools>button,
#tht-app .tht-sidebar-tools .tht-sidebar-language>button{
 position:static!important;inset:auto!important;display:flex!important;align-items:center;justify-content:center;
 width:26px!important;min-width:26px!important;height:27px!important;min-height:27px;padding:0!important;margin:0!important;
 border:0!important;border-radius:4px!important;background:transparent!important;color:var(--tht-sidebar-ink,#17324d)!important;
 box-shadow:none!important;transform:none!important;font-size:10px!important;font-weight:700;line-height:1;
}
#tht-app .tht-sidebar-tools>button:hover,
#tht-app .tht-sidebar-tools .tht-sidebar-language>button:hover{background:color-mix(in srgb,var(--tht-sidebar-ink,#17324d) 8%,transparent)!important}
#tht-app .tht-sidebar-tools>button:focus-visible,
#tht-app .tht-sidebar-tools .tht-sidebar-language>button:focus-visible{outline:2px solid #2f6fff;outline-offset:1px}
#tht-app .tht-sidebar-tools>button .tht-icon{width:16px;height:16px}
#tht-app .tht-sidebar-tools .tht-sidebar-toggle{font-size:20px!important;font-weight:400}
#tht-app .tht-sidebar-tools .tht-sidebar-language{
 display:flex;flex-direction:column;gap:2px;width:26px;padding:0;margin:0;border:0!important;background:transparent!important;
}
#tht-app .tht-sidebar-tools .tht-sidebar-language>button::before,
#tht-app .tht-sidebar-tools .tht-sidebar-language>button::after{content:none!important;display:none!important}
#tht-app .tht-sidebar-tools .tht-sidebar-language>button.active{
 background:color-mix(in srgb,#2f6fff 11%,var(--tht-sidebar-bg,#eff4fa))!important;color:#174fbd!important;
}
#tht-app .tht-brand-row{display:block;margin:0 0 12px;padding:1px 0 4px}
#tht-app .tht-brand-row .tht-brand{width:100%;margin:0;padding:0;gap:9px}
#tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:38px;height:38px;min-width:38px}
#tht-app .tht-brand-row .tht-brand>span:last-child{font-size:17px;white-space:nowrap}
#tht-app .tht-brand-row .tht-brand small{font-size:8px;letter-spacing:.65px;white-space:nowrap;margin-top:4px}
#tht-app .tht-sidebar-collapsed .tht-sidebar-tools{left:52px;right:auto}
#tht-app .tht-sidebar-collapsed .tht-sidebar-tools .tht-global-search-button{display:flex!important}

@media(min-width:1001px) and (max-width:1280px){
 #tht-app .tht-sidebar-tools{left:239px}
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:15px}
 #tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:34px;height:34px;min-width:34px}
}
@media(min-width:761px) and (max-width:1000px){
 #tht-app .tht-sidebar-tools{left:219px}
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:14px}
 #tht-app .tht-brand-row .tht-brand small{font-size:7px}
 #tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:31px;height:31px;min-width:31px}
}
@media(max-width:760px){
 #tht-app .tht-sidebar{padding-top:12px!important}
 #tht-app .tht-sidebar-tools,#tht-app .tht-sidebar-collapsed .tht-sidebar-tools{
  position:absolute;top:8px;left:auto;right:7px;flex-direction:column;
 }
 body.admin-bar #tht-app .tht-sidebar-tools{top:8px}
 #tht-app .tht-brand-row{padding-right:38px}
 #tht-app .tht-sidebar-collapsed .tht-sidebar-tools .tht-global-search-button{display:flex!important}
}
@media print{#tht-app .tht-sidebar-tools{display:none!important}}


/* Source: assets/shell-v199.css */
/* 1.9.9: clean language controls and a stronger, full-width brand lockup. */
#tht-app .tht-sidebar-tools .tht-sidebar-language>button{
 font-size:13px!important;font-weight:750!important;letter-spacing:-.2px!important;
}
#tht-app .tht-sidebar-tools .tht-sidebar-language>button>.tht-color-icon,
#tht-app .tht-sidebar-tools .tht-sidebar-language>button>.tht-icon{display:none!important}
#tht-app .tht-brand-row .tht-brand{gap:8px;width:100%;max-width:none}
#tht-app .tht-brand-row .tht-brand>span:last-child{
 flex:1;min-width:0;font-size:21px;font-weight:800;letter-spacing:-.55px;line-height:1.1;
}
#tht-app .tht-brand-row .tht-brand small{
 font-size:10px;letter-spacing:.38px;line-height:1.15;margin-top:5px;
}
@media(min-width:1001px) and (max-width:1280px){
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:17px}
 #tht-app .tht-brand-row .tht-brand small{font-size:8px;letter-spacing:.3px}
}
@media(min-width:761px) and (max-width:1000px){
 #tht-app .tht-brand-row .tht-brand{gap:6px}
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:15px;letter-spacing:-.35px}
 #tht-app .tht-brand-row .tht-brand small{font-size:7.2px;letter-spacing:.15px}
}


/* Source: assets/shell-v1910.css */
/* 1.9.10: pin the four-item utility rail to the sidebar seam. */
#tht-app .tht-sidebar-tools{
 top:1px;left:265px;width:34px;gap:1px;padding:2px;
 border-radius:3px;box-shadow:0 2px 8px #17324d0d;
}
body.admin-bar #tht-app .tht-sidebar-tools{top:33px}
#tht-app .tht-sidebar-tools>button,
#tht-app .tht-sidebar-tools .tht-sidebar-language>button{border-radius:3px!important}
#tht-app .tht-sidebar-collapsed .tht-sidebar-tools{left:49px}

@media(min-width:1001px) and (max-width:1280px){
 #tht-app .tht-sidebar-tools{left:236px}
}
@media(min-width:761px) and (max-width:1000px){
 #tht-app .tht-sidebar-tools{left:216px}
}
@media(max-width:760px){
 #tht-app .tht-sidebar-tools,#tht-app .tht-sidebar-collapsed .tht-sidebar-tools{
  top:1px;right:1px;left:auto;border-radius:3px;
 }
 body.admin-bar #tht-app .tht-sidebar-tools{top:1px}
}


/* Source: assets/shell-v1911.css */
/* The logo/member divider is shared by the math and IQ shells. */
#tht-app .tht-brand-row{border-bottom:1px solid #17324d1a;padding-bottom:10px;margin-bottom:10px}
#tht-app .tht1911-home-hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(118deg,#7943e9 0%,#6055dd 43%,#387ceb 100%)!important;color:#fff!important;text-align:center;border:0!important;border-radius:12px!important;padding:22px 20px 24px!important}
#tht-app .tht1911-home-hero::before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:#ffffff0d;top:-85px;left:-42px;z-index:-1}
#tht-app .tht1911-hero-brand{display:flex;justify-content:center;align-items:center;gap:10px;font-size:21px;font-weight:750;line-height:1.25}
#tht-app .tht1911-home-hero h1{font-size:30px;line-height:1.22;margin:12px 0 8px!important;color:#fff!important;font-weight:800;letter-spacing:-.5px}
#tht-app .tht1911-home-hero>p{font-size:13px;line-height:1.5;margin:0 0 15px!important;color:#fff!important}
#tht-app .tht1911-home-hero .tht-hero-search{display:flex;align-items:center;gap:9px;width:100%;max-width:580px;min-width:0;margin:0 auto 14px!important;padding:6px 7px 6px 13px!important;background:#fff!important;border:0!important;border-radius:7px!important;color:#536078}
#tht-app .tht1911-home-hero .tht-hero-search input{flex:1;min-width:0;height:30px;background:transparent!important;border:0!important;color:#17324d!important;font-size:13px;padding:0!important}
#tht-app .tht1911-home-hero .tht-hero-search button{min-height:31px;padding:5px 14px!important;background:#6575f5!important;color:#fff!important;border:0!important;font-size:13px}
#tht-app .tht1911-home-hero nav{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
#tht-app .tht1911-home-hero nav a{font-size:13px;min-height:35px;padding:7px 16px!important;border-radius:6px!important}
#tht-app .tht1911-home-hero .tht1911-browse{background:#fff!important;border:1px solid #dce4ff!important;color:#18324d!important}
#tht-app .tht1911-home-hero .tht1911-topics{background:#ffffff14!important;border:1px solid #ffffff55!important;color:#fff!important}
#tht-app .tht1911-home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;text-align:center;padding:17px 0 12px!important;margin:0!important}
#tht-app .tht1911-home-stats strong{display:block;font-size:24px;font-weight:800;color:#7079fb;line-height:1.25}
#tht-app .tht1911-home-stats span{display:block;font-size:12px;color:#51617a;margin-top:2px}
#tht-app .tht179-home-group{margin-top:14px}
@media(max-width:760px){#tht-app .tht1911-home-hero{padding:18px 13px!important}#tht-app .tht1911-hero-brand{font-size:18px}#tht-app .tht1911-home-hero h1{font-size:25px}#tht-app .tht1911-home-hero>p{font-size:12px}#tht-app .tht1911-home-stats strong{font-size:21px}}


/* Source: assets/iq-test-v1913.css */
/* Keep the existing compact design; clear the seam rail on IQ desktop pages. */
@media (min-width:901px){#tht-app[data-tht-iq] #tht-content{padding-left:40px}}
#tht-app .tht-iq-papers{border-radius:3px}
#tht-app .tht-iq-papers .tht-actions{margin:5px 0;gap:6px;flex-wrap:wrap}
#tht-app .tht-iq-papers .tht-tags{margin:6px 0;gap:5px}
#tht-app[data-tht-iq] label[hidden]{display:none!important}
@media(max-width:767px){
 #tht-app .tht-iq-papers .tht-year-paper-table{min-width:0;width:100%;table-layout:fixed}
 #tht-app .tht-iq-papers .tht-year-paper-table td:first-child{min-width:0}
 #tht-app .tht-iq-papers .tht-year-paper-table th,
 #tht-app .tht-iq-papers .tht-year-paper-table td{display:table-cell!important;font-size:12px;padding:5px 3px;white-space:normal}
 #tht-app .tht-iq-papers .tht-year-paper-table th:nth-child(2),
 #tht-app .tht-iq-papers .tht-year-paper-table td:nth-child(2){width:34px}
 #tht-app .tht-iq-papers .tht-year-paper-table th:nth-child(3),
 #tht-app .tht-iq-papers .tht-year-paper-table td:nth-child(3){width:34px}
 #tht-app .tht-iq-papers .tht-year-paper-table th:nth-child(4),
 #tht-app .tht-iq-papers .tht-year-paper-table td:nth-child(4){width:64px}
}


/* Source: assets/iq-test-v1914.css */
/* A compact 10-row IQ table and the existing core detail/popup layout. */
#tht-app .tht-iq-table-tools{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(160px,1fr);align-items:center;gap:8px;margin-top:8px}
#tht-app .tht-iq-table-tools>input{width:100%;max-width:280px;min-width:0;border-radius:3px;height:30px!important;min-height:30px!important;padding:4px 7px!important;font-size:13px}
#tht-app .tht-iq-pagination{display:flex;align-items:center;justify-content:center;gap:3px}
#tht-app .tht-iq-page{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid var(--line,#dce3ed);border-radius:3px;background:#fff;color:#17324d;font-size:13px;line-height:1;text-decoration:none}
#tht-app .tht-iq-page:hover{border-color:#168de2;color:#168de2}#tht-app .tht-iq-page.is-current{background:#168de2;border-color:#168de2;color:#fff}#tht-app .tht-iq-page.is-disabled{color:#9daabd;background:#f7f9fc}
#tht-app .tht-iq-ellipsis{width:16px;text-align:center;font-size:13px}
#tht-app .tht-iq-total{text-align:right;font-size:12px;color:var(--muted,#637b95)}
#tht-app .tht-iq-sort{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:3px}#tht-app .tht-iq-sort:hover{text-decoration:underline}
#tht-app .tht-question-exam-links .tht-exam-picker-list a>span{position:relative;padding-left:18px;color:#168de2;font-size:16px;font-weight:600;line-height:1.35}
#tht-app .tht-question-exam-links .tht-exam-picker-list a>span::before{content:"";position:absolute;left:0;top:.35em;width:12px;height:12px;background:#168de2;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
#tht-app .tht-question-exam-links a[aria-current="true"]{border-color:#a9ccec;background:#f4f9ff}
#tht-app .tht197-search .tht197-search-paper-mode{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;text-align:left;gap:6px;margin:7px 0;font-size:14px}#tht-app .tht197-search-paper-mode input{width:15px;height:15px;flex:none;margin:0}
#tht-app .tht197-search [hidden]{display:none!important}
#tht-app .tht197-search-result-paper>strong{color:#168de2;font-size:15px}#tht-app .tht197-search-result-paper>small{display:block;margin-top:3px}
#tht-app .tht197-search .tht-select-match{color:#bd1717;background:transparent;font-weight:600;padding:0}
@media(max-width:1000px){#tht-app .tht-iq-table-tools{grid-template-columns:minmax(0,1fr) auto}#tht-app .tht-iq-pagination{grid-column:1/-1;grid-row:2}#tht-app .tht-iq-total{grid-column:2;grid-row:1}#tht-app .tht-iq-table-tools>input{max-width:none}}
@media(max-width:600px){#tht-app .tht-iq-page{width:26px;height:26px;font-size:12px}#tht-app .tht-iq-pagination{gap:2px}#tht-app .tht-question-exam-links .tht-exam-picker-list a>span{font-size:15px}}


/* Source: assets/iq-self-v1916.css */
/* Only new IQ self-review controls. Do not change the shared mathematics shell. */
#tht-app .tht-iq-self-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:7px 0;font-size:13px}
#tht-app .tht-iq-self-actions .tht-btn,#tht-app .tht-iq-self-result .tht-btn{border-radius:3px!important}
#tht-app .tht-iq-self-input textarea{min-height:76px;border-radius:3px;font:inherit;line-height:1.45}
#tht-app .tht-iq-self-input p{margin:6px 0;font-size:13px;line-height:1.45}
#tht-app .tht-iq-self-summary,#tht-app .tht-iq-self-result{padding:12px;margin-bottom:10px;border-radius:3px!important}
#tht-app .tht-iq-self-summary p{margin:4px 0 8px}
#tht-app .tht-iq-self-result h2{font-size:17px;margin:0 0 8px}
#tht-app .tht-iq-self-result h3{font-size:14px;margin:9px 0 5px}
#tht-app .tht-iq-self-result .tht-student-text{margin:5px 0;padding:8px;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}


/* Source: assets/ui-v1917.css */
/* The rail belongs to the sidebar, never to the question/content area. */
#tht-app .tht-sidebar-tools,
#tht-app .tht-sidebar-collapsed .tht-sidebar-tools{
 position:absolute;top:1px;right:1px;left:auto;width:34px;border-radius:3px;
}
body.admin-bar #tht-app .tht-sidebar-tools{top:1px}
#tht-app #tht-content{padding-left:16px}
#tht-app .tht-brand-row{padding-right:36px}
#tht-app .tht-sidebar>.tht-user{padding-right:36px;min-width:0}
#tht-app .tht-sidebar>.tht-user>span:last-child{min-width:0;overflow-wrap:anywhere}
#tht-app .tht-brand-row .tht-brand{gap:6px;min-width:0}
#tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:32px;height:32px;min-width:32px}
#tht-app .tht-brand-row .tht-brand>span:last-child{font-size:17px;letter-spacing:-.45px;white-space:normal;overflow-wrap:anywhere}
#tht-app .tht-brand-row .tht-brand small{font-size:8px;letter-spacing:.15px;white-space:normal}
#tht-app .tht-paper-name-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#tht-app .tht-paper-random{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:400;color:#54748c;white-space:nowrap;text-decoration:none;padding:2px 5px;border:1px solid #dce5ee;border-radius:3px;background:#fff}
#tht-app .tht-paper-random:hover{color:#168de2;border-color:#168de2}
#tht-app .tht-paper-random.is-active{background:#eaf5ff;color:#087bc4;border-color:#99cbee}
#tht-app .tht-year-paper-admin button:disabled{opacity:.35;cursor:default}
#tht-app .tht-year-save-status:empty{display:none}
@media(min-width:1001px) and (max-width:1280px){
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:14px;letter-spacing:-.35px}
 #tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:28px;height:28px;min-width:28px}
 #tht-app .tht-brand-row .tht-brand small{font-size:7px}
}
@media(min-width:761px) and (max-width:1000px){
 #tht-app .tht-brand-row .tht-brand{gap:4px}
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:12px;letter-spacing:-.25px}
 #tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:26px;height:26px;min-width:26px}
 #tht-app .tht-brand-row .tht-brand small{font-size:6.5px;letter-spacing:0}
}
@media(max-width:760px){
 #tht-app .tht-brand-row{padding-right:36px}
 #tht-app .tht-year-papers:not(.tht-iq-papers) .tht-year-paper-wrap{overflow-x:auto}
 #tht-app .tht-year-papers:not(.tht-iq-papers) .tht-year-paper-table{min-width:650px}
}


/* Source: assets/shell-v1918.css */
/* Reserve a real 34px column; it is not floating over the question area. */
#tht-app .tht-shell{--tht-sidebar-size:264px;--tht-utility-space:34px;display:block}
#tht-app .tht-shell>.tht-main-wrap{margin-left:calc(var(--tht-sidebar-size) + var(--tht-utility-space))}
#tht-app .tht-sidebar-utility-slot{position:fixed;top:0;bottom:0;left:var(--tht-sidebar-size);width:var(--tht-utility-space);z-index:1002;pointer-events:none}
#tht-app .tht-sidebar-utility-slot[hidden]{display:none!important}
body.admin-bar #tht-app .tht-sidebar-utility-slot{top:32px}
#tht-app .tht-sidebar-utility-slot>.tht-sidebar-tools{position:absolute;top:1px;left:0;right:auto;width:34px;border-radius:3px;pointer-events:auto}
body.admin-bar #tht-app .tht-sidebar-utility-slot>.tht-sidebar-tools{top:1px}

/* Same full-width parent and zero right reservation as Practice/Compose. */
#tht-app .tht-brand-row{width:100%;padding:1px 0 10px;margin:0 0 10px}
#tht-app .tht-brand-row .tht-brand{width:100%;padding:0;margin:0;gap:8px;min-width:0}
#tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:38px;height:38px;min-width:38px}
#tht-app .tht-brand-row .tht-brand>span:last-child{flex:1;min-width:0;font-size:21px;font-weight:800;letter-spacing:-.55px;line-height:1.1;text-align:right;white-space:normal;overflow-wrap:anywhere}
#tht-app .tht-brand-row .tht-brand small{display:block;font-size:10px;letter-spacing:.38px;line-height:1.15;margin-top:5px;text-align:right;white-space:normal}
#tht-app .tht-sidebar>.tht-user{padding-right:0}

@media(min-width:1001px) and (max-width:1280px){
 #tht-app .tht-shell{--tht-sidebar-size:235px}
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:18px;letter-spacing:-.4px}
 #tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:34px;height:34px;min-width:34px}
 #tht-app .tht-brand-row .tht-brand small{font-size:9px;letter-spacing:.25px}
}
@media(min-width:761px) and (max-width:1000px){
 #tht-app .tht-shell{--tht-sidebar-size:215px;--tht-utility-space:0px}
 #tht-app .tht-brand-row .tht-brand{gap:6px}
 #tht-app .tht-brand-row .tht-brand>span:last-child{font-size:17px;letter-spacing:-.35px}
 #tht-app .tht-brand-row .tht-logo,#tht-app .tht-brand-row .tht-logo img{width:32px;height:32px;min-width:32px}
 #tht-app .tht-brand-row .tht-brand small{font-size:8.5px;letter-spacing:.15px}
}

/* On narrower screens, use a normal-flow row above the full-width brand. */
#tht-app .tht-shell[data-tht-tools="row"]{--tht-utility-space:0px}
#tht-app .tht-shell[data-tht-tools="row"] .tht-sidebar{padding-top:1px!important}
#tht-app .tht-shell[data-tht-tools="row"] .tht-sidebar-tools{position:static;inset:auto;width:auto;height:auto;flex-direction:row;align-self:flex-end;align-items:center;margin:0 0 6px;padding:2px;gap:1px;border-radius:3px;flex:none}
#tht-app .tht-shell[data-tht-tools="row"] .tht-sidebar-language{flex-direction:row;width:auto;gap:1px}
#tht-app .tht-shell.tht-sidebar-collapsed{--tht-sidebar-size:48px;--tht-utility-space:0px}
#tht-app .tht-shell.tht-sidebar-collapsed .tht-sidebar>.tht-sidebar-tools{position:absolute;top:1px;right:1px;left:auto;width:34px;flex-direction:column;margin:0}
@media(max-width:760px){
 #tht-app .tht-shell,#tht-app .tht-shell.tht-sidebar-collapsed{--tht-sidebar-size:0px;--tht-utility-space:0px}
}
@media print{#tht-app .tht-shell{--tht-utility-space:0px}#tht-app .tht-sidebar-utility-slot{display:none!important}}


/* Source: assets/references-v1920.css */
#tht-app .tht-ref-subline{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
#tht-app .tht-ref-tools{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;white-space:nowrap;font-size:13px;font-weight:400}
#tht-app .tht-ref-label,#tht-app .tht-ref-divider{color:#8090a5}
#tht-app .tht-ref-action{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:2px 4px;min-height:24px;border:1px solid #dce7f0;border-radius:3px;background:#f8fbff;color:#1682c4;line-height:1.2;font-size:13px;font-weight:500}
#tht-app .tht-ref-code{font:500 14px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace}
#tht-app .tht-ref-action .tht-icon{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#tht-app .tht-ref-action:hover{background:#edf6ff;border-color:#adcfe5}
#tht-app .tht-ref-action:focus-visible{outline:2px solid #198adb;outline-offset:2px}
#tht-app .tht-ref-badge{display:inline-block;padding:0 4px;border:1px solid #dce7f0;border-radius:3px;color:#1682c4;font:500 12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}
#tht-app .tht-ref-result{display:flex;flex-direction:column;gap:2px;padding:7px 9px;border:1px solid #dce7f0;border-radius:3px;background:#f8fbff;color:#1682c4}
#tht-app .tht-ref-result small{font-size:12px;color:#657a91}
#tht-app .tht-ref-search-hit{flex-basis:100%;grid-column:1/-1;min-width:0;margin-top:5px}
#tht-app .tht-select-popup .tht-ref-search-hit{margin:3px 7px 7px}
#tht-app .tht-hero-search.tht-has-ref-hit{flex-wrap:wrap}
#tht-app .tht-ref-manual-copy{width:100%;font-family:ui-monospace,Consolas,monospace}
@media print{#tht-app .tht-ref-action{border:0;background:transparent;color:#000}#tht-app [data-ref-copy="link"],#tht-app .tht-ref-action .tht-icon{display:none}}


/* Source: assets/pdf-sales.css */
.tht-pdf-title-cell{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.tht-pdf-title-cell>a{min-width:0}.tht-pdf-buy{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #c5d8ed;border-radius:3px;background:#fff;color:#0784ad;font:inherit;font-size:13px;line-height:1.25;padding:6px 9px;cursor:pointer;flex-shrink:0}.tht-pdf-buy.is-icon:not(.is-ready){width:30px;height:29px;padding:4px}.tht-pdf-buy.is-ready{color:#236d48;border-color:#a5ceb4;background:#f1faf4;white-space:normal}.tht-pdf-buy:focus-visible,.tht-pdf-modal button:focus-visible{outline:2px solid #6657dc;outline-offset:2px}.tht-pdf-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.tht-pdf-overlay{position:fixed;inset:0;z-index:99998;background:rgba(18,31,53,.5);display:flex;align-items:center;justify-content:center;padding:14px;box-sizing:border-box}.tht-pdf-modal{width:min(560px,100%);max-height:calc(100dvh - 28px);overflow:auto;background:#fff;color:#17324d;border-radius:5px;box-shadow:0 12px 40px #15274340;font:15px/1.5 Arial,sans-serif}.tht-pdf-modal header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dce5ee;padding:15px 18px}.tht-pdf-modal h2{font-size:19px;line-height:1.35;margin:0}.tht-pdf-close{border:0;background:none;color:#0784ad;font-size:25px;cursor:pointer}.tht-pdf-modal-body{padding:14px 18px 18px}.tht-pdf-modal p{margin:8px 0 13px}.tht-pdf-modal label{display:block;font-size:14px;margin:8px 0}.tht-pdf-modal input,.tht-pdf-modal select{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:9px;border:1px solid #b9c7d7;border-radius:3px;background:#fff;color:#17324d;font:inherit}.tht-pdf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tht-pdf-primary,.tht-pdf-secondary{border:1px solid #6657dc;border-radius:3px;padding:8px 13px;font:inherit;cursor:pointer;margin:3px 5px 3px 0}.tht-pdf-primary{background:#5744cd;color:#fff}.tht-pdf-secondary{background:#fff;color:#5744cd}.tht-pdf-modal button:disabled{opacity:.55;cursor:wait}.tht-pdf-note{font-size:13px;color:#60738d}.tht-pdf-qr{display:block;width:min(270px,100%);height:auto;margin:10px auto}.tht-pdf-modal [data-pdf-message]{overflow-wrap:anywhere}.tht-pdf-modal .is-error{color:#a33331}.tt-card-bottom>.tht-pdf-buy{margin-left:auto}.tt-lesson-header .tht-pdf-buy{margin:8px 0}@media(max-width:480px){.tht-pdf-form-grid{grid-template-columns:1fr}.tht-pdf-modal-body{padding:12px}.tht-pdf-buy.is-ready{max-width:135px;font-size:12px}}
.tht-pdf-buy[hidden]{display:none!important}
.tht-pdf-buy.is-icon,#tht-app .tht-year-papers .tht-pdf-buy.is-icon{width:30px;height:29px;padding:4px}
.tht-pdf-modal button:disabled{cursor:default}
.tht-pdf-modal [data-pdf-download][data-pdf-complete="1"]{opacity:.65}
#tht-app .tht-year-paper-table .tht-pdf-title-cell>a{display:block;position:relative;padding-left:18px;font-size:inherit;font-weight:600;color:inherit;text-decoration:none;overflow-wrap:anywhere}
#tht-app .tht-year-paper-table .tht-pdf-title-cell>a:hover{text-decoration:underline}
#tht-app .tht-year-paper-table .tht-pdf-title-cell>a::before{content:"";position:absolute;left:0;top:.35em;width:12px;height:12px;background:#168de2;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);pointer-events:none}
#tht-app .tht-year-paper-table .tht-exam-active .tht-pdf-title-cell>a{color:#8b4513}
#tht-app .tht-year-papers .tht-pdf-buy{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#0784ad;box-sizing:border-box}
#tht-app .tht-year-papers .tht-pdf-buy.is-icon:not(.is-ready){width:30px;height:29px;padding:4px}
#tht-app .tht-year-papers .tht-pdf-buy.is-ready{color:#236d48;border-color:#a5ceb4;background:#f1faf4}

/* Align the exam-download icon to the actual practice CTA, not a fixed pixel height.
   Existing browse-count column gaps are 12px desktop / 7px small-screen: halve only paid rows. */
#tht-app .tht-browse-toolbar .tht-browse-count:has(>.tht-pdf-buy){align-items:stretch;column-gap:6px}
#tht-app .tht-browse-toolbar .tht-browse-count>.tht-pdf-buy{align-self:stretch;height:auto;min-height:0;box-sizing:border-box;margin-block:0}
#tht-app .tht-browse-toolbar .tht-browse-count:has(>.tht-pdf-buy)>span{align-self:center}
/* Course cards only: preserve unit-card/lesson layouts and the existing Explore CTA size.
   The parent flex line supplies both controls' height; the auto margin pushes PDF to the content edge. */
#thtt-root .tt-catalog-card>.tt-card-bottom{display:flex;flex-wrap:nowrap;align-items:stretch;column-gap:8px}
#thtt-root .tt-catalog-card>.tt-card-bottom>.tt-btn{min-width:0}
#thtt-root .tt-catalog-card>.tt-card-bottom>.tht-pdf-buy{align-self:stretch;height:auto;min-height:0;box-sizing:border-box;margin-block:0;margin-inline-start:auto;font-size:14px;line-height:inherit}
@media(max-width:760px){#tht-app .tht-browse-toolbar .tht-browse-count:has(>.tht-pdf-buy){column-gap:3.5px}}

