/* The daily workspace stays readable at phone widths and large text sizes. */
.hub-toolbar,.hub-intro,.hub-card-heading,.hub-report-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.hub-toolbar{margin-bottom:24px}.hub-view{display:flex;gap:5px;padding:4px;background:var(--panel,#12161b);border:1px solid var(--line);border-radius:12px;flex-wrap:wrap}
.hub-view button{border:0;background:none;border-radius:8px;padding:11px 17px;color:var(--tx3);font:inherit;font-size:13px;cursor:pointer;min-height:44px}
.hub-view button.on{background:rgba(233,255,50,.12);color:var(--acc)}
.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hub-grid>*{min-width:0}
.hub-card{margin:0;display:flex;flex-direction:column;gap:20px;padding:25px}.hub-card-heading{align-items:flex-start}.hub-card-heading>div{min-width:0}
.hub-card h2,.hub-week-preview h2{font-size:22px;line-height:1.25;margin:7px 0 0;letter-spacing:-.5px}.hub-card h3{font-size:17px;margin:0}
.hub-card p{margin:0;color:var(--tx3);font-size:13px;line-height:1.7}.hub-icon{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;color:var(--acc);flex-shrink:0}.hub-icon svg{width:21px;height:21px}
.hub-card-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}.hub-card-actions .btn{min-height:44px;white-space:normal}
.hub-measures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.hub-measures>div{min-width:0}.hub-measures strong{display:block;font-size:25px;font-weight:600;letter-spacing:-.7px;overflow-wrap:anywhere}.hub-measures small{display:block;font-size:11px;color:var(--tx3);margin-top:6px;line-height:1.5}.hub-measures strong small{display:inline;font-size:12px;letter-spacing:0}
.hub-progress{height:5px;background:rgba(255,255,255,.065);border-radius:8px;overflow:hidden;margin-top:9px}.hub-progress i{display:block;background:var(--acc);height:100%;border-radius:inherit}
.hub-task,.hub-goal{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.hub-task:last-child,.hub-goal:last-child{border:0}
.hub-task>span,.hub-goal>span{flex:1;min-width:0}.hub-task b,.hub-goal b{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.hub-task small,.hub-goal small{color:var(--tx3);display:block;font-size:11px;margin-top:4px}
.hub-task button{min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:9px;background:none;color:var(--acc);cursor:pointer}.hub-task.done b{text-decoration:line-through;color:var(--tx3)}.hub-task.skipped{opacity:.65}
.hub-goal .btn{flex-shrink:0;min-height:44px;font-size:12px}.hub-goal-progress{width:100%;margin:8px 0}.hub-goal-progress i{max-width:100%}
.hub-start{padding:22px 25px;margin-bottom:20px;border-color:rgba(233,255,50,.35);background:linear-gradient(105deg,rgba(233,255,50,.09),transparent)}.hub-start strong{font-size:16px}.hub-start p{font-size:13px;color:var(--tx3);margin:7px 0 0;line-height:1.6}
.hub-week-preview{margin-top:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center}.hub-week-preview p{color:var(--tx3);font-size:13px;line-height:1.7;margin:10px 0 0}.hub-week-preview .btn{white-space:normal;min-height:44px}
.hub-note{color:var(--tx3);font-size:11px;line-height:1.8;margin:19px 0 0}
.hub-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hub-quick-option{display:flex;align-items:flex-start;gap:12px;min-width:0;text-align:left;border:1px solid var(--line);border-radius:14px;padding:20px 16px;background:var(--panel,#13171c);color:var(--tx);cursor:pointer}.hub-quick-option:hover{border-color:var(--acc)}.hub-quick-option svg{width:23px;height:23px;flex-shrink:0;color:var(--acc)}.hub-quick-option strong{display:block;font-size:14px}.hub-quick-option small{display:block;font-size:11px;color:var(--tx3);margin-top:7px;line-height:1.55}.hub-quick-option>span{min-width:0;overflow-wrap:anywhere}
.hub-setup-options{border:0;padding:0;margin:20px 0}.hub-setup-options legend{font-size:13px;color:var(--tx3);margin-bottom:12px}.hub-setup-choice{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid var(--line);border-radius:12px;margin-bottom:9px;cursor:pointer}.hub-setup-choice:has(input:checked){border-color:var(--acc);background:rgba(233,255,50,.06)}.hub-setup-choice input{width:18px;height:18px;accent-color:var(--acc);flex-shrink:0}.hub-setup-choice strong{display:block;font-size:14px}.hub-setup-choice small{display:block;font-size:12px;color:var(--tx3);margin-top:5px;line-height:1.5}
.hub-report-heading{margin:0 0 22px}.hub-report-heading p{font-size:13px;color:var(--tx3);margin:7px 0}.hub-report-heading h3{font-size:20px}.hub-report-nav{display:flex;gap:8px;flex-wrap:wrap}.hub-report-nav button{min-height:44px}
.hub-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:18px 0 25px}.hub-week-day{min-width:0;border:1px solid var(--line);border-radius:9px;padding:11px 2px;text-align:center;color:var(--tx3)}.hub-week-day.recorded{background:rgba(233,255,50,.09);border-color:rgba(233,255,50,.3);color:var(--acc)}.hub-week-day b{display:block;font-size:13px;margin:9px 0}.hub-week-day small{font-size:10px}.hub-week-day span{font-size:12px}
.hub-report-table,.hub-insight-table{width:100%;border-collapse:collapse;font-size:13px}.hub-report-table th,.hub-report-table td,.hub-insight-table th,.hub-insight-table td{padding:13px 9px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top;font-variant-numeric:tabular-nums}.hub-report-table th:first-child,.hub-insight-table th:first-child{text-align:left}.hub-report-table th,.hub-insight-table th{font-weight:500}.hub-report-table thead th,.hub-insight-table thead th{font-size:11px;color:var(--tx3)}.hub-table-scroll{overflow:auto;-webkit-overflow-scrolling:touch}
.hub-insight-table{min-width:430px}.hub-insight-table caption{text-align:left;font-size:12px;color:var(--tx3);padding-bottom:14px}.hub-insights{margin-top:22px}.hub-insights h3{font-size:18px;margin:0 0 10px}.hub-insights>.helper{margin-bottom:22px}.hub-insight-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.hub-insight-columns>div{min-width:0}
.hub-milestones{margin-top:22px}.hub-record{display:flex;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.hub-record svg{width:22px;height:22px;color:var(--acc);flex-shrink:0}.hub-record>div{min-width:0;flex:1}.hub-record strong,.hub-record small{display:block;overflow-wrap:anywhere}.hub-record strong{font-size:14px}.hub-record small{font-size:12px;color:var(--tx3);line-height:1.65;margin-top:5px}.hub-record .btn{align-self:center;min-height:44px}.hub-previous-bests{padding:15px;border:1px solid var(--line);border-radius:12px;margin:17px 0;background:rgba(233,255,50,.04)}.hub-previous-bests summary{cursor:pointer;font-size:13px;min-height:26px;color:var(--acc)}.hub-previous-bests p{font-size:12px;line-height:1.7;color:var(--tx3);margin:10px 0 0}
@media(max-width:1000px){.hub-insight-columns{grid-template-columns:1fr}}
@media(max-width:700px){.hub-grid{grid-template-columns:1fr;gap:15px}.hub-card{padding:21px}.hub-card h2{font-size:21px}.hub-toolbar{gap:12px}.hub-week-preview{grid-template-columns:1fr}.hub-week-preview .btn{justify-self:start}.hub-intro{align-items:flex-start}.hub-measures{gap:12px}.hub-measures strong{font-size:23px}.hub-record{flex-wrap:wrap}}
@media(max-width:380px){.hub-quick-grid{grid-template-columns:1fr}.hub-measures{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-view button{padding:10px 13px}.hub-report-table th,.hub-report-table td{padding:12px 5px;font-size:12px}.hub-week-day small{font-size:9px}.hub-goal{flex-wrap:wrap}}
