[hidden]{display:none!important}
.hub-body{background:#f7f8fc;color:#1b2a47}.hub-body .nav-wrap{background:#111e37}.hub-body .nav-links a[aria-current=page]{color:#f2c886;font-weight:850}
.hub-main{padding-top:38px;padding-bottom:80px}.hub-eyebrow{font-size:11px;font-weight:900;letter-spacing:.15em;color:#ac7639;margin:0 0 12px}
.hub-hero{background:linear-gradient(116deg,#15233e,#2a4565);border-radius:25px;padding:44px 43px;display:grid;grid-template-columns:1.35fr .65fr;gap:35px;align-items:center;color:white;overflow:hidden}
.hub-hero .hub-eyebrow{color:#f1c489}.hub-hero h1{font-size:clamp(37px,4.7vw,58px);letter-spacing:-.05em;line-height:1.09;margin:0 0 16px}.hub-hero h1 em{font-style:normal;color:#f2c989}.hub-hero p{color:#c5d3e5;font-size:15px;line-height:1.65;max-width:570px}.hub-small-link{font-size:13px;color:#eed19c;font-weight:800;text-decoration:none}
.hub-goal{background:rgba(255,255,255,.08);border:1px solid #64748c;padding:23px;border-radius:18px}.hub-goal-header{display:flex;justify-content:space-between;gap:10px;font-size:15px}.hub-goal-header span{font-weight:900;color:#f3d09a}.hub-meter{background:#4c607b;height:10px;border-radius:999px;margin:14px 0;overflow:hidden}.hub-meter div{width:0;height:100%;background:#f3ca83;border-radius:999px}.hub-goal p{font-size:12px;margin:9px 0}.hub-goal small{font-size:11px;color:#aebfd6}
.hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.hub-stat{border:1px solid #e0e5ed;border-radius:19px;background:#fff;padding:22px}.hub-stat span,.hub-stat small{display:block;color:#697a90;font-size:12px}.hub-stat strong{display:block;font-size:36px;line-height:1.5;color:#213a5c;font-weight:900}.hub-stat small{font-size:11px}
.hub-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.72fr);gap:22px;margin-top:32px;align-items:start}
.hub-workspace,.hub-panel{background:white;border:1px solid #dfe6f0;border-radius:21px;padding:27px;box-shadow:0 15px 40px #182c4511}.hub-section-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:25px}.hub-section-top h2,.hub-panel h2{font-size:27px;letter-spacing:-.045em;margin:0}
.hub-status{font-size:11px;color:#7d683d;background:#f9ecd6;padding:7px 11px;border-radius:999px;font-weight:800;white-space:nowrap}
.hub-review{min-height:290px}.hub-empty{border:2px dashed #dae3ec;border-radius:18px;padding:39px 20px;text-align:center;background:#fafbfc;color:#384c67}.hub-empty strong{font-size:19px}.hub-empty p{font-size:13px;color:#6b7a91;line-height:1.6;max-width:500px;margin:13px auto}
.hub-review-word{text-align:center;background:linear-gradient(140deg,#f9fafc,#f2f5fa);padding:28px;border-radius:18px;border:1px solid #dbe4ee}.hub-review-word .hanzi{font-size:clamp(46px,6vw,76px);font-weight:900;line-height:1.3;color:#183354}.hub-review-word .pinyin{font-size:19px;color:#a27b46;margin:7px}.hub-review-word .meaning{font-size:16px;font-weight:750;margin:9px}.hub-review-label{font-weight:850;font-size:11px;letter-spacing:.12em;color:#7b8a9d;margin-bottom:10px}
.hub-review-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:20px 0}.hub-button{padding:12px 18px;border:1px solid #a9bfd5;border-radius:12px;background:#fff;color:#254363;font:inherit;font-weight:850;font-size:13px;cursor:pointer;min-height:45px}.hub-button:hover{filter:brightness(.95)}.hub-button.primary{background:#233b5c;color:#fff;border-color:#233b5c}.hub-button.good{background:#d5f0e4;color:#1c6e50;border-color:#a5d5bd}.hub-button.warn{background:#fff0dc;color:#96662a;border-color:#efd3ac}.hub-button.danger{background:#fde8e6;color:#a34f40;border-color:#f0c4c0}
.hub-answer-feedback{text-align:center;font-size:13px;color:#556981;min-height:24px}
.hub-side{display:grid;gap:18px}.hub-panel h2{font-size:22px}.hub-panel p:not(.hub-eyebrow){color:#6c798a;font-size:13px;line-height:1.6}.hub-panel strong{font-size:14px}.hub-panel small{display:block;font-size:12px;color:#7e8a98;margin-top:8px}.hub-link-button{display:block;text-align:center;text-decoration:none;padding:13px 14px;border-radius:11px;background:#263b5d;color:white;font-size:13px;font-weight:800;margin-top:15px}.hub-side-tint{background:#f3eadb;border-color:#e6d5be}
.hub-library{margin-top:48px;padding:36px;background:#eae3d6;border-radius:21px;display:flex;justify-content:space-between;align-items:center;gap:25px}.hub-library h2{font-size:clamp(27px,3.1vw,35px);margin:0;letter-spacing:-.045em}.hub-library p:not(.hub-eyebrow){color:#67748a;font-size:14px}.hub-library-links{display:grid;gap:10px}.hub-library-links a{padding:12px 15px;border-radius:12px;text-decoration:none;background:white;color:#243d60;white-space:nowrap;font-weight:800;font-size:12px}
.hub-note{margin:23px 6px;color:#6a7a8e;font-size:12px;line-height:1.75}.hub-body footer{background:#111e37}
@media(max-width:900px){.hub-layout{grid-template-columns:1fr}.hub-side{grid-template-columns:1fr 1fr}.hub-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.hub-main{padding-top:18px}.hub-hero{grid-template-columns:1fr;padding:28px;gap:22px}.hub-stats{gap:8px}.hub-stat{padding:16px}.hub-stat strong{font-size:29px}.hub-side{grid-template-columns:1fr}.hub-library{flex-direction:column;align-items:start;padding:26px}.hub-library-links{width:100%}.hub-section-top{flex-direction:column;align-items:start}.hub-workspace{padding:19px}.hub-review-word{padding:20px}}
/* Personalization and portable progress */
.hub-goal-select{display:flex;gap:10px;align-items:center;color:#d9e3f2;font-size:12px;font-weight:800;margin:14px 0}
.hub-goal-select select{background:#203756;color:white;border:1px solid #7489a4;border-radius:10px;padding:7px 11px;font:inherit;max-width:100%}
.hub-streak{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#fff;border:1px solid #dee6ee;border-radius:19px;padding:24px 28px;margin:3px 0 26px}
.hub-streak>div:first-child{flex:1}.hub-streak strong{font-size:25px;letter-spacing:-.035em}
.hub-streak p:not(.hub-eyebrow){font-size:12px;color:#718095;line-height:1.5;margin:8px 0 0}
.hub-week{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.hub-week-day{display:grid;justify-items:center;gap:5px;min-width:35px;font-size:10px;color:#8693a4}
.hub-week-day strong{display:grid;place-items:center;width:33px;height:33px;border-radius:11px;background:#edf1f5;border:1px solid #dce3ee;font-size:18px;color:#9aa7b8}
.hub-week-day[data-active=true] strong{background:#d8f0e5;border-color:#b0dfc6;color:#27724f}
.hub-session-tools{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 22px}
.hub-session-tools .hub-button{padding:10px 12px;font-size:12px;min-height:40px}
.hub-session-tools .hub-button[aria-pressed=true]{box-shadow:0 0 0 2px #abbdce}
.hub-saved-panel,.hub-backup{background:white;border:1px solid #dfe6f0;border-radius:20px;padding:28px;margin-top:30px}
.hub-saved-panel .hub-section-top{margin-bottom:18px}
.hub-saved-panel .hub-section-top h2,.hub-backup h2{font-size:27px;letter-spacing:-.04em;margin:0 0 9px}
.hub-saved-help{font-size:13px;color:#6e7c90;margin:4px 0}
.hub-saved-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hub-saved-word{display:flex;align-items:center;justify-content:space-between;gap:9px;background:#f7f9fc;border:1px solid #e1e7f0;padding:13px;border-radius:13px;min-width:0}
.hub-saved-word div{min-width:0}.hub-saved-word strong{font-size:19px;display:block;color:#243d5f;overflow-wrap:anywhere}.hub-saved-word small{font-size:11px;display:block;color:#748196;line-height:1.45;overflow-wrap:anywhere}
.hub-saved-word button{font-size:11px;padding:6px 8px;min-height:33px;flex-shrink:0}
.hub-empty-saved,.hub-saved-more{color:#6c788b;font-size:13px;grid-column:1/-1;padding:6px}
.hub-backup{display:grid;grid-template-columns:1.3fr 1fr;gap:25px;align-items:center}
.hub-backup p:not(.hub-eyebrow){font-size:13px;color:#728098;line-height:1.7}
.hub-backup-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.hub-file-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-weight:850;font-size:13px;border-radius:12px;background:#e9eff8;color:#294565;padding:12px 18px;min-height:45px}
.hub-file-label input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.hub-file-label:focus-within{outline:2px solid #294565;outline-offset:3px}
#hub-backup-status{flex:1 1 100%;font-size:12px;color:#647590}
@media(max-width:960px){.hub-saved-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-backup{grid-template-columns:1fr}}
@media(max-width:650px){.hub-streak{flex-direction:column;align-items:start;padding:20px}.hub-week{width:100%;justify-content:space-between;gap:3px}.hub-week-day{min-width:32px}.hub-saved-list{grid-template-columns:1fr}.hub-saved-panel,.hub-backup{padding:20px}.hub-saved-panel .hub-section-top{align-items:start}.hub-saved-panel .hub-section-top .hub-button{width:100%}}

/* Optional website-to-website Apple cloud sync */
.hub-cloud{display:grid;grid-template-columns:1.35fr .65fr;gap:26px;align-items:center;margin-top:30px;padding:28px;border:1px solid #dbe3ee;background:#eef4fc;border-radius:20px}
.hub-cloud h2{font-size:27px;letter-spacing:-.04em;margin:0 0 10px;color:#243a59}
.hub-cloud p:not(.hub-eyebrow){font-size:13px;color:#65768e;line-height:1.65}
#hub-cloud-status{font-weight:750;color:#385f85;font-size:12px;margin-top:12px}
.hub-cloud-controls{display:grid;gap:10px}
.hub-cloud-controls .hub-link-button{margin-top:0}
.hub-cloud-controls .hub-button{width:100%}
.hub-cloud-controls .hub-button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:750px){.hub-cloud{grid-template-columns:1fr;padding:22px}}
