:root{color-scheme:dark;--bg-top:#05080d;--bg-bottom:#02050a;--text:#f3f4f6;--muted:#94a3b8;--border:#1f2937;--surface:#0b1018;--accent:#4ade80;--accent-weak:#122619;--error:#f87171;font-family:Segoe UI,Tahoma,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(160deg,var(--bg-top) 0,var(--bg-bottom) 100%);color:var(--text)}main{max-width:1100px;margin:0 auto;padding:1.5rem 1rem 3rem}h1,h2,h3,p{margin-top:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1rem;margin-bottom:1rem;box-shadow:0 8px 24px rgba(15,23,42,.05)}.hero{border-color:#99f6e4;background:linear-gradient(180deg,#fff,#f0fdfa)}.username-form label{display:block;margin-bottom:.35rem;font-weight:600}.row{display:flex;gap:.5rem;flex-wrap:wrap}button,input,select{font:inherit}input{border:1px solid var(--border);border-radius:10px;padding:.6rem .7rem;font-size:1rem}.username-form .row input{flex:1 1 280px;min-width:220px}button{border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:10px;padding:.55rem .9rem;cursor:pointer;font-weight:600}button:disabled{opacity:.5;cursor:not-allowed}.meta{color:var(--muted);margin-top:.75rem}.error{color:var(--error);font-weight:600;margin-top:.5rem}.stats-grid{display:grid;grid-gap:.7rem;gap:.7rem;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.stat{border:1px solid var(--border);border-radius:10px;padding:.75rem;background:#fafafa}.stat span{display:block;font-size:.85rem;color:var(--muted)}.stat strong{font-size:1.25rem}.trainer-layout{display:flex;flex-direction:column;gap:1rem}.board-panel{display:flex;justify-content:center}.board-panel--incorrect{animation:board-incorrect-shake .36s ease-in-out}.board-panel--incorrect>div{box-shadow:0 0 0 3px hsla(0,91%,71%,.35),0 14px 30px rgba(127,29,29,.2);border-radius:12px}.trainer-meta{display:flex;flex-direction:column;gap:.75rem}.trainer-stat-pills{display:flex;gap:.75rem;flex-wrap:wrap}.trainer-stat-pill{display:inline-flex;flex-direction:column;gap:.2rem;min-width:86px;padding:.6rem .75rem;border-radius:12px;border:1px solid var(--border);background:#fafafa}.trainer-stat-pill strong{display:block;font-size:1rem;line-height:1.2;color:var(--text);overflow-wrap:anywhere}.trainer-stat-pill span{display:block;font-size:.8rem;color:var(--muted)}.feedback{border-radius:8px;padding:.5rem .6rem;font-weight:600}.feedback.idle{background:#f3f4f6}.feedback.correct{background:#d1fae5;color:#065f46}.feedback.incorrect{background:#fee2e2;color:#991b1b}@keyframes board-incorrect-shake{0%{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(9px)}60%{transform:translateX(-7px)}80%{transform:translateX(5px)}to{transform:translateX(0)}}.trainer-actions{display:flex;gap:.5rem;flex-wrap:wrap}.trainer-reveal-panel{display:flex;flex-direction:column;gap:.45rem;padding:.75rem .85rem;border-radius:12px;border:1px solid var(--border);background:#fafafa}.trainer-reveal-panel p{margin:0}.trainer-icon-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:.75rem;gap:.75rem}.trainer-icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;border-radius:14px;font-size:1.2rem;padding:.55rem}.trainer-icon-button.active{background:rgba(74,222,128,.18);color:#86efac}.fen-inline{font-family:Consolas,Monaco,monospace;font-size:.85rem;color:var(--muted);word-break:break-all}.table-wrap{overflow-x:auto}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap td,.table-wrap th{text-align:left;padding:.55rem;border-bottom:1px solid #e5e7eb;vertical-align:top}.table-wrap th{font-size:.85rem;color:var(--muted)}.fen-cell{font-family:Consolas,Monaco,monospace;font-size:.8rem;min-width:250px}.selected-row{background:#ecfeff}.pagination{margin-top:.75rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem}code{background:var(--accent-weak);padding:.1rem .35rem;border-radius:5px}.split-grid{margin-top:1rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:1rem;gap:1rem}.hover-move{cursor:pointer;text-decoration:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted;text-underline-offset:3px}.landing-card{max-width:760px;margin:1.5rem auto}.link-button{border:1px solid var(--accent);color:var(--accent);border-radius:10px;padding:.45rem .75rem;font-weight:600}.link-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#fff}.secondary-button{border-color:#0f766e;color:#0f766e}.inline-button{margin-left:.5rem;padding:.3rem .6rem}.recurring-row{cursor:pointer}.recurring-row:hover{background:#f0fdfa}.recurring-row.active{background:#ccfbf1}.trend-panel{margin-bottom:.75rem}.trend-chart-wrap{width:100%;border:1px solid var(--border);border-radius:10px;background:#fff;padding:.35rem}.trend-chart-wrap svg{width:100%;height:auto;display:block}.trend-axis{stroke:#94a3b8;stroke-width:1}.trend-grid{stroke:#e5e7eb;stroke-width:1}.trend-line{stroke:#0f766e;stroke-width:3}.trend-dot{fill:#0f766e}.trend-label{font-size:10px;fill:#64748b}.trend-note{margin-top:.45rem}main.dashboard-shell{--bg-top:#05080d;--bg-bottom:#02050a;--text:#f3f4f6;--muted:#94a3b8;--border:#1f2937;--surface:#0b1018;--accent:#4ade80;--accent-weak:#122619;--error:#f87171;max-width:1520px;padding-top:1rem}.dashboard-shell .card{background:rgba(9,14,22,.96);border-color:rgba(42,53,68,.92);box-shadow:0 16px 40px rgba(0,0,0,.25)}.dashboard-shell .link-button,.dashboard-shell .secondary-button{background:#0f1724;color:#e5e7eb;border-color:rgba(74,222,128,.35)}.dashboard-shell .link-button:hover,.dashboard-shell .secondary-button:hover,.dashboard-shell button:hover:not(:disabled){background:#142030}.dashboard-shell button{border-color:rgba(74,222,128,.5)}.dashboard-shell input,.dashboard-shell select{background:#0c1320;color:#f3f4f6;border-color:rgba(42,53,68,.95)}.dashboard-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;grid-gap:1rem;gap:1rem;margin-bottom:1rem}.dashboard-brand{display:flex;align-items:center;gap:.9rem;min-width:0}.dashboard-brand-copy{min-width:0}.dashboard-brand h1{margin-bottom:.1rem;font-size:1.35rem}.dashboard-brand p{margin:0}.dashboard-brand-mark{width:2.75rem;height:2.75rem;border-radius:.85rem;display:grid;place-items:center;font-weight:800;background:linear-gradient(180deg,#4ade80,#22c55e);color:#03120b;flex:0 0 auto}.dashboard-profile-menu{justify-self:center;position:relative}.dashboard-profile-trigger{display:flex;flex-direction:column;align-items:center;gap:.1rem;min-width:0;padding:.45rem 1rem;border:1px solid rgba(42,53,68,.9);background:#08101a;border-radius:999px}.dashboard-profile-trigger strong{font-size:1rem;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:32ch}.dashboard-profile-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}.dashboard-profile-dropdown{position:absolute;top:calc(100% + .55rem);left:50%;transform:translateX(-50%);width:min(300px,calc(100vw - 2rem));padding:.8rem;border-radius:14px;border:1px solid rgba(42,53,68,.92);background:#0a1119;box-shadow:0 18px 40px rgba(0,0,0,.32);z-index:30}.dashboard-profile-switcher{display:flex;flex-direction:column;gap:.55rem}.dashboard-profile-switcher__label{color:#94a3b8;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.dashboard-profile-switcher__row{display:flex;gap:.55rem;align-items:stretch}.dashboard-profile-switcher__row input{flex:1 1 auto;min-width:0}.dashboard-profile-switcher__submit{min-width:78px;border-radius:12px;font-weight:700}.dashboard-userbar{justify-self:end;display:flex;align-items:center;gap:.9rem}.dashboard-account-menu{position:relative}.dashboard-account-trigger{display:inline-flex;align-items:center;gap:.45rem;padding:.3rem .35rem .3rem .3rem;border:1px solid rgba(42,53,68,.9);background:#08101a;border-radius:999px}.dashboard-account-chevron{width:.5rem;height:.5rem;border-right:1.5px solid #94a3b8;border-bottom:1.5px solid #94a3b8;transform:rotate(45deg) translateY(-1px);flex:0 0 auto}.dashboard-account-dropdown{position:absolute;top:calc(100% + .55rem);right:0;min-width:220px;padding:.5rem;border-radius:14px;border:1px solid rgba(42,53,68,.92);background:#0a1119;box-shadow:0 18px 40px rgba(0,0,0,.32);z-index:30}.dashboard-account-dropdown__identity{display:flex;flex-direction:column;gap:.15rem;padding:.4rem .45rem .65rem}.dashboard-account-dropdown__identity strong{color:#e5e7eb;font-size:.95rem}.dashboard-account-dropdown__identity span{color:#94a3b8;font-size:.82rem;overflow-wrap:anywhere}.dashboard-account-dropdown__action{display:inline-flex;align-items:center;width:100%;justify-content:flex-start;text-decoration:none;background:#0f1724;color:#fca5a5;border-color:hsla(0,91%,71%,.28)}.dashboard-account-dropdown__action:hover:not(:disabled){background:rgba(127,29,29,.2)}.dashboard-player-avatar{width:2rem;height:2rem;border-radius:999px;display:flex;align-items:center;justify-content:center;background:#17311f;color:#c7f9d7;font-size:.8rem;font-weight:700;line-height:1}.dashboard-topbar-actions{justify-content:flex-end;flex-wrap:nowrap}.dashboard-topbar-actions.row{flex-wrap:nowrap}.dashboard-topbar-actions .link-button,.dashboard-topbar-actions .secondary-button{white-space:nowrap}.dashboard-mobile-tabs{display:none}.dashboard-desktop-grid{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr) minmax(300px,360px);grid-gap:1rem;gap:1rem;align-items:start}.dashboard-center,.dashboard-rail,.dashboard-sidebar{min-width:0;margin-bottom:0}.dashboard-rail,.dashboard-sidebar{position:-webkit-sticky;position:sticky;top:1rem}.dashboard-center{display:flex;flex-direction:column;gap:1rem}.dashboard-mobile-content{display:none}.dashboard-insights-grid{margin-top:1rem}.active-puzzle-card{border:1px solid rgba(42,53,68,.92);border-radius:14px;background:#0a1119;padding:.85rem 1rem}.active-puzzle-card--empty p{margin:0}.active-puzzle-card__eval-row,.active-puzzle-card__header,.active-puzzle-card__meta-row,.active-puzzle-card__title-row{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.active-puzzle-card__header{justify-content:space-between;gap:1rem}.active-puzzle-card__eyebrow{margin:0 0 .4rem;color:#9fe6b7;font-size:.82rem;font-weight:700}.active-puzzle-card__link{color:#cbd5e1;text-decoration:none;font-size:.9rem}.active-puzzle-card__link:hover{color:#e5e7eb}.active-puzzle-card__eval-row,.active-puzzle-card__meta-row{margin-top:.65rem;font-size:.92rem}.active-puzzle-card__eval-drop{color:#f87171;font-weight:700}.active-puzzle-card__occurrences{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(42,53,68,.92)}.active-puzzle-card__occurrences-header{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start;margin-bottom:.75rem}.active-puzzle-card__occurrences-header p{margin-bottom:0}.active-puzzle-card__occurrence-table code{background:#102019;color:#c7f9d7}.puzzle-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.18rem .55rem;font-size:.75rem;line-height:1;text-transform:capitalize;border:1px solid transparent}.puzzle-chip--blunder{background:rgba(239,68,68,.16);color:#f87171;border-color:rgba(239,68,68,.35)}.puzzle-chip--mistake{background:rgba(245,158,11,.16);color:#fbbf24;border-color:rgba(245,158,11,.35)}.puzzle-chip--recurring{background:rgba(99,102,241,.16);color:#a5b4fc;border-color:rgba(99,102,241,.35)}.puzzle-rail-panel{display:flex;flex-direction:column;gap:.85rem}.puzzle-rail-panel__top{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.puzzle-rail-panel__top h2{margin-bottom:.25rem}.puzzle-rail-panel__top p,.puzzle-sort-select span{margin:0;font-size:.9rem}.puzzle-sort-select{display:flex;flex-direction:column;gap:.3rem}.puzzle-rail-stats{display:flex;gap:.75rem;flex-wrap:wrap;font-size:.88rem}.puzzle-rail-filters{display:flex;flex-wrap:wrap;gap:.5rem}.rail-filter-chip{background:#09111b;border:1px solid rgba(42,53,68,.92);color:#cbd5e1;border-radius:999px;padding:.35rem .7rem;font-size:.82rem;line-height:1}.rail-filter-chip.active{background:rgba(74,222,128,.14);border-color:rgba(74,222,128,.45);color:#9fe6b7}.rail-filter-chip:disabled{opacity:.45}.puzzle-list{display:flex;flex-direction:column;gap:.55rem;max-height:68vh;overflow:auto;padding-right:.15rem}.puzzle-list-item{display:flex;gap:.75rem;align-items:flex-start;width:100%;text-align:left;background:#09111b;border:1px solid rgba(42,53,68,.92);border-radius:14px;padding:.85rem}.puzzle-list-item.active{border-color:rgba(74,222,128,.55);box-shadow:inset 0 0 0 1px rgba(74,222,128,.2)}.puzzle-list-item:hover{border-color:rgba(74,222,128,.38);background:#0b1420}.puzzle-list-item__status{width:.75rem;height:.75rem;border-radius:999px;margin-top:.35rem;border:1px solid rgba(148,163,184,.4)}.puzzle-list-item__status--solved{background:#4ade80}.puzzle-list-item__status--failed{background:#ef4444}.puzzle-list-item__status--unsolved{background:transparent}.puzzle-list-item__content{min-width:0;flex:1 1}.puzzle-list-item__content strong{display:block;font-size:1rem;margin:.15rem 0 .25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.puzzle-list-item__content p{margin:0;font-size:.88rem}.puzzle-list-item__labels{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;font-size:.8rem}.puzzle-list-item__attempts{font-size:.8rem;background:rgba(30,41,59,.8);padding:.2rem .45rem;border-radius:999px}.sidebar-stack{gap:1.25rem}.sidebar-section,.sidebar-stack{display:flex;flex-direction:column}.sidebar-section{gap:.85rem}.insights-heading-row,.sidebar-section__title-row{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.sidebar-section--small{padding-top:.5rem;border-top:1px solid rgba(42,53,68,.92)}.generate-panel{display:flex;flex-direction:column;gap:1rem}.generate-field-group{display:flex;flex-direction:column;gap:.45rem}.generate-field-group label{font-size:.9rem;font-weight:600}.generate-date-grid,.generate-time-grid{display:grid;grid-gap:.65rem;gap:.65rem}.generate-date-grid{grid-template-columns:1fr}.generate-time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.time-pill{display:flex;flex-direction:column;gap:.35rem;align-items:center;justify-content:center;min-height:5.1rem;background:#0b1320;border-radius:14px;padding:.75rem .5rem}.time-pill.active{background:rgba(74,222,128,.12);color:#7ef2a4}.time-pill__icon{display:inline-flex;align-items:center;justify-content:center;width:1.3rem;height:1.3rem}.time-pill__svg{width:100%;height:100%}.time-pill__label{font-size:.88rem;font-weight:700;text-transform:capitalize}.time-pill__count{font-size:.8rem;color:var(--muted)}.generate-estimate-row{display:flex;justify-content:space-between;align-items:center;background:#0a1119;border:1px solid rgba(42,53,68,.92);border-radius:12px;padding:.8rem .9rem}.generate-estimate-row strong{color:#e5e7eb;font-size:1rem}.generate-submit-button{width:100%;min-height:3rem;border-radius:12px;font-size:1rem;background:linear-gradient(180deg,#4ade80,#22c55e);color:#04100a;border-color:#4ade80}.generate-status-line{margin:0}.summary-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.7rem;gap:.7rem}.summary-stat{border-radius:14px;border:1px solid rgba(42,53,68,.92);background:#0a1119;padding:.85rem}.summary-stat span,.summary-stat strong{display:block}.summary-stat strong{font-size:1.45rem;line-height:1.1}.summary-stat span{margin-top:.3rem;font-size:.85rem}.summary-stat--default strong{color:#e5e7eb}.summary-stat--danger strong{color:#f87171}.summary-stat--warning strong{color:#fbbf24}.summary-stat--success strong{color:#4ade80}.summary-stat--muted strong{color:#cbd5e1}.insights-stack{display:flex;flex-direction:column;gap:1.5rem}.dashboard-shell .trend-chart-wrap{background:#0a1119;border-color:rgba(42,53,68,.92)}.dashboard-shell .trend-axis{stroke:#475569}.dashboard-shell .trend-grid{stroke:rgba(71,85,105,.35)}.dashboard-shell .trend-label{fill:#94a3b8}.dashboard-shell .trend-note{color:var(--muted)}.dashboard-shell .trend-line{stroke:#4ade80}.dashboard-shell .trend-dot{fill:#4ade80;stroke:#4ade80}.dashboard-shell .table-wrap td,.dashboard-shell .table-wrap th{border-bottom-color:rgba(42,53,68,.92)}.dashboard-shell .active-puzzle-card,.dashboard-shell .active-puzzle-card strong,.dashboard-shell .compact-meta strong,.dashboard-shell .dashboard-brand h1,.dashboard-shell .dashboard-profile-trigger strong,.dashboard-shell .puzzle-list-item__content strong,.dashboard-shell .puzzle-rail-panel__top h2,.dashboard-shell .sidebar-section h2,.dashboard-shell .stat strong,.dashboard-shell .table-wrap td,.dashboard-shell .trainer-meta h3,.dashboard-shell .trainer-meta p{color:#e5e7eb}.dashboard-shell .active-puzzle-card__eval-row,.dashboard-shell .active-puzzle-card__meta-row,.dashboard-shell .compact-meta,.dashboard-shell .dashboard-brand p,.dashboard-shell .dashboard-profile-label,.dashboard-shell .generate-estimate-row,.dashboard-shell .generate-field-group label,.dashboard-shell .meta,.dashboard-shell .pagination span,.dashboard-shell .puzzle-list-item__attempts,.dashboard-shell .puzzle-list-item__content p,.dashboard-shell .puzzle-list-item__labels,.dashboard-shell .puzzle-rail-panel__top p,.dashboard-shell .puzzle-rail-stats,.dashboard-shell .puzzle-sort-select span,.dashboard-shell .stat span,.dashboard-shell .summary-stat span,.dashboard-shell .table-wrap th,.dashboard-shell .trainer-empty p{color:var(--muted)}.dashboard-shell .trainer-stat-pill{background:#0a1119;border-color:rgba(42,53,68,.92)}.dashboard-shell .trainer-stat-pill strong{color:#e5e7eb}.dashboard-shell .trainer-stat-pill span{color:var(--muted)}.dashboard-shell .trainer-reveal-panel{background:#0a1119;border-color:rgba(42,53,68,.92)}.dashboard-shell .trainer-icon-button{background:#0a1119;color:#e5e7eb;border-color:rgba(74,222,128,.35)}.dashboard-shell .trainer-icon-button:hover:not(:disabled){background:#142030}.dashboard-shell .feedback.idle{background:#0a1119;color:#e5e7eb}.dashboard-shell .feedback.correct{background:rgba(74,222,128,.16);color:#86efac}.dashboard-shell .feedback.incorrect{background:rgba(239,68,68,.16);color:#fca5a5}.dashboard-shell .fen-inline{color:var(--muted)}.dashboard-shell .hover-move{color:#9fe6b7}.dashboard-shell .hover-move--danger{color:#fda4af}.dashboard-shell .trainer-reveal-inline-label{color:var(--muted);font-weight:600}.dashboard-shell code{background:#102019;color:#c7f9d7}.dashboard-shell .stat{background:#0a1119;border-color:rgba(42,53,68,.92)}.dashboard-shell .dashboard-center .board-panel{min-width:0}.dashboard-shell .dashboard-center .trainer-meta p{margin-bottom:0}@media (min-width:1025px){.dashboard-shell .dashboard-center{gap:.85rem}.dashboard-shell .dashboard-center .trainer-layout{gap:.75rem}.dashboard-shell .dashboard-center .trainer-stat-pills{gap:.6rem}.dashboard-shell .dashboard-center .trainer-stat-pill{padding:.5rem .7rem}.dashboard-shell .dashboard-center .board-panel{width:min(100%,calc(100vh - 320px));margin-inline:auto}.dashboard-shell .dashboard-center .trainer-icon-actions,.dashboard-shell .dashboard-center .trainer-meta{gap:.6rem}.dashboard-shell .dashboard-center .trainer-icon-button{min-height:2.8rem}.dashboard-shell .dashboard-center .trainer-reveal-panel{padding:.65rem .8rem}}@media (max-width:1024px){.dashboard-desktop-grid,.dashboard-insights-grid{display:none}.dashboard-mobile-tabs{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:.5rem;gap:.5rem;margin-bottom:1rem}.dashboard-tab-button{position:relative;background:#09111b;border:1px solid rgba(42,53,68,.92);border-radius:14px;min-height:3.2rem;color:#cbd5e1}.dashboard-tab-button.active{border-color:rgba(74,222,128,.55);color:#86efac;box-shadow:inset 0 -2px 0 #4ade80}.dashboard-tab-badge{position:absolute;top:.35rem;right:.45rem;min-width:1.1rem;height:1.1rem;border-radius:999px;display:grid;place-items:center;background:#4ade80;color:#04100a;font-size:.7rem;font-weight:800}.dashboard-mobile-content{display:block}.dashboard-mobile-panel{display:flex;flex-direction:column;gap:1rem;padding:1rem;border:1px solid rgba(42,53,68,.92);border-radius:18px;background:rgba(9,14,22,.96);box-shadow:0 16px 40px rgba(0,0,0,.25)}.dashboard-mobile-panel--spaced{gap:1.25rem}.dashboard-topbar{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand profile userbar";align-items:center}.dashboard-brand{grid-area:brand}.dashboard-userbar{grid-area:userbar;display:flex;align-items:center;justify-self:end;gap:.75rem;width:auto}.dashboard-profile-menu{grid-area:profile;justify-self:center;min-width:0;width:100%;max-width:240px}.dashboard-profile-trigger{width:100%;align-items:center;border-radius:999px;padding:.5rem .8rem}.dashboard-profile-dropdown{left:50%;transform:translateX(-50%)}.dashboard-topbar-actions{width:100%;justify-content:stretch}.dashboard-topbar-actions .link-button,.dashboard-topbar-actions .secondary-button{flex:1 1 140px}.puzzle-list{max-height:none;overflow:visible}.dashboard-shell .trainer-layout{gap:1rem}.dashboard-shell .board-panel{width:100%;justify-content:center}.dashboard-shell .trainer-meta{gap:.85rem;padding-top:0}.dashboard-shell .trainer-meta h3,.dashboard-shell .trainer-meta p{margin-bottom:0}.dashboard-shell .trainer-icon-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}}@media (max-width:720px){main{padding:1rem .75rem 2rem}.pagination{flex-direction:column;align-items:flex-start}.pagination.pagination--rail{flex-direction:row;align-items:center;justify-content:space-between}.dashboard-topbar{gap:.85rem}.dashboard-brand-copy{display:none}.dashboard-brand{align-self:center}.dashboard-brand h1{font-size:1.1rem}.dashboard-profile-trigger strong{max-width:10ch;font-size:.95rem}.dashboard-topbar-actions{flex-wrap:nowrap}.dashboard-userbar{width:auto}.dashboard-profile-menu{max-width:170px}.dashboard-profile-trigger{gap:.05rem;padding:.45rem .7rem}.dashboard-profile-label{font-size:.66rem;letter-spacing:.04em}.dashboard-account-dropdown{min-width:210px}.generate-time-grid,.summary-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.active-puzzle-card__header{align-items:flex-start}.dashboard-shell .trainer-stat-pills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.dashboard-shell .trainer-stat-pill{min-width:0}.dashboard-shell .trainer-icon-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}main.landing-shell{--bg-top:#05080d;--bg-bottom:#02050a;--text:#f3f4f6;--muted:#94a3b8;--border:#1f2937;--surface:#0b1018;--accent:#4ade80;--accent-weak:#122619;--error:#f87171;max-width:1280px;padding-top:1rem}.landing-shell .card{background:rgba(9,14,22,.96);border-color:rgba(42,53,68,.92);box-shadow:0 16px 40px rgba(0,0,0,.25)}.landing-shell input,.landing-shell select{background:#0c1320;color:#f3f4f6;border-color:rgba(42,53,68,.95)}.landing-shell .link-button,.landing-shell .secondary-button,.landing-shell button{background:#0f1724;color:#e5e7eb;border-color:rgba(74,222,128,.35)}.landing-shell .link-button:hover,.landing-shell .secondary-button:hover,.landing-shell button:hover:not(:disabled){background:#142030}.landing-surface{max-width:1160px;margin:1.25rem auto;padding:1.5rem}.landing-hero{display:flex;justify-content:space-between;gap:1.5rem;align-items:flex-start;margin-bottom:1.5rem}.landing-brand-row{display:flex;align-items:center;gap:1rem}.landing-brand-copy h1{margin-bottom:.2rem;color:#f3f4f6;font-size:clamp(2rem,4vw,3rem)}.landing-auth-email,.landing-brand-copy p,.landing-hero-copy p,.landing-panel__header p,.landing-section-label,.landing-shell label span,.landing-step p{color:#94a3b8}.landing-hero-copy{max-width:420px}.landing-kicker{margin-bottom:.5rem;color:#9fe6b7;font-weight:700}.landing-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.9fr);grid-gap:1rem;gap:1rem;align-items:start}.landing-panel{border:1px solid rgba(42,53,68,.92);border-radius:18px;background:#0a1119;padding:1.25rem}.landing-auth-name,.landing-panel__header h2,.landing-shell .error,.landing-shell label,.landing-step strong{color:#f3f4f6}.landing-panel__header h2{margin-bottom:.35rem}.landing-form{display:flex;flex-direction:column;gap:1.25rem}.landing-auth-block,.landing-profile-block{display:flex;flex-direction:column;gap:.75rem}.landing-auth-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;border-radius:14px;border:1px solid rgba(42,53,68,.92);background:#08101a}.landing-auth-name{margin:0 0 .2rem;font-size:1rem;font-weight:700}.landing-auth-email{margin:0;font-size:.9rem}.landing-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.85rem;gap:.85rem}.landing-field-grid label,.landing-profile-block{display:flex;flex-direction:column;gap:.45rem}.landing-username-row{display:flex;gap:.75rem;align-items:stretch}.landing-username-row input{flex:1 1 auto}.landing-signin-button,.landing-submit-button{min-height:3rem;border-radius:12px}.landing-submit-button{min-width:180px;background:linear-gradient(180deg,#4ade80,#22c55e);color:#04100a;border-color:#4ade80}.landing-steps{display:flex;flex-direction:column;gap:1rem}.landing-step{display:flex;gap:.85rem;align-items:flex-start;padding:.9rem 1rem;border-radius:14px;border:1px solid rgba(42,53,68,.92);background:#08101a}.landing-step__index{width:1.9rem;height:1.9rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(74,222,128,.15);color:#86efac;font-weight:800;flex:0 0 auto}.landing-step p{margin:.25rem 0 0}.landing-error{margin-top:.5rem}@media (max-width:900px){.landing-grid,.landing-hero{grid-template-columns:1fr;display:grid}.landing-hero-copy{max-width:none}}@media (max-width:720px){.landing-surface{padding:1rem}.landing-brand-row{align-items:flex-start}.landing-field-grid{grid-template-columns:1fr}.landing-username-row{flex-direction:column}.landing-submit-button{width:100%;min-width:0}.landing-auth-card{flex-direction:column;align-items:flex-start}}.trend-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);grid-gap:1rem;gap:1rem;align-items:start}.trend-layout__chart,.trend-layout__table{min-width:0}.trend-table-card{border:1px solid rgba(42,53,68,.92);border-radius:14px;background:#0a1119;padding:.9rem}.trend-table-card__header{margin-bottom:.65rem}.trend-table-card__header h3{margin-bottom:.2rem}.trend-table-card__header p{margin:0;color:var(--muted);font-size:.88rem}@media (max-width:900px){.trend-layout{grid-template-columns:1fr}}.trend-layout{margin-top:1rem}.trend-layout__panel{height:100%}.trend-table-card{height:100%;display:flex;flex-direction:column;gap:.85rem}.trend-table-card .table-wrap{flex:1 1 auto}.trend-table-card .table-wrap table{height:100%}.dashboard-shell .insights-heading-row h2,.dashboard-shell .insights-heading-row span,.dashboard-shell .trend-table-card__header h3{color:#e5e7eb}.admin-shell{max-width:1280px}.admin-shell .link-button,.admin-shell .secondary-button,.admin-shell button{background:#0f1724;color:#e5e7eb;border-color:rgba(74,222,128,.35)}.admin-shell .link-button:hover,.admin-shell .secondary-button:hover,.admin-shell button:hover:not(:disabled){background:#142030}.admin-header-card,.admin-jobs-card,.admin-summary-card{margin-bottom:1rem}.admin-header-row,.admin-job-card__header,.admin-job-card__meta,.admin-job-card__timing,.admin-jobs-toolbar{display:flex;justify-content:space-between;gap:.85rem;flex-wrap:wrap}.admin-filter-group,.admin-header-actions{display:flex;gap:.65rem;flex-wrap:wrap}.admin-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:.75rem;gap:.75rem}.admin-jobs-list{display:flex;flex-direction:column;gap:.9rem}.admin-job-card{border-radius:14px;border:1px solid rgba(42,53,68,.92);background:#0a1119;padding:.95rem}.admin-job-card__title-row{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.admin-job-card__error,.admin-job-card__meta,.admin-job-card__timing,.admin-mini-stat span{color:var(--muted)}.admin-job-card__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));grid-gap:.65rem;gap:.65rem;margin-top:.85rem}.admin-mini-stat{border-radius:12px;border:1px solid rgba(42,53,68,.92);background:#081018;padding:.7rem .75rem}.admin-mini-stat span,.admin-mini-stat strong{display:block}.admin-mini-stat strong{font-size:1rem}.admin-job-chip--queued{color:#cbd5e1}.admin-job-chip--processing{color:#fbbf24}.admin-job-chip--completed{color:#4ade80}.admin-job-chip--failed{color:#f87171}.admin-job-chip--cancelled{color:#94a3b8}.admin-job-card__cancel{min-width:6.5rem}@media (max-width:720px){.admin-header-row,.admin-job-card__header,.admin-job-card__meta,.admin-job-card__timing,.admin-jobs-toolbar{flex-direction:column;align-items:flex-start}.admin-job-card__cancel{width:100%}}