/* Daily study desk: action first, a quieter settings column. */
.hero{grid-template-columns:1fr;padding-top:28px}.hero-art{display:none}.hero h1{font-weight:700;font-size:clamp(30px,3.2vw,42px);letter-spacing:-.03em}.workbench{grid-template-columns:450px minmax(0,1fr);gap:32px}.setup{background:#f7f9f7;border-color:var(--line);padding:20px}.brand{font-weight:700}.results-head{margin-top:24px}.summary strong{font-variant-numeric:tabular-nums;font-size:28px}.results h2{font-size:27px;font-weight:650}.daily-hub{background:#fff;border-top:4px solid var(--ink);border-bottom:1px solid var(--line);padding:22px 22px 24px}.daily-hub h2{margin:0 0 8px;font-size:26px}.daily-hub p{margin:8px 0 16px;color:var(--muted)}.daily-hub .eyebrow{font-size:12px;margin:0 0 12px}.hub-actions{display:flex;flex-wrap:wrap;gap:8px}.hub-start{display:inline-flex;align-items:center;min-height:48px;margin-top:16px;padding:10px 18px;background:var(--ink);color:#fff;text-decoration:none;border-radius:8px;font-weight:700}.overdue-note{border-left:3px solid var(--orange);padding-left:12px}.topic-editor{margin-bottom:16px}.topic-editor h3{font-size:16px;margin:0}.topic-row{display:grid;grid-template-columns:minmax(0,1fr) 70px 106px 30px;gap:7px;align-items:end;margin-bottom:10px}.topic-row label{font-size:12px;color:var(--muted);min-width:0}.topic-row input,.topic-row select{display:block;width:100%;min-width:0;height:44px;background:#fff;border:1px solid var(--field-line);border-radius:6px;font:inherit;font-size:15px;padding:6px}.topic-row button{padding:0;min-width:30px;height:44px;font-size:22px}.topic-row select{appearance:auto;background-image:none;padding-right:0}.bulk-topics{margin:12px 0 18px}.bulk-topics summary,.weekly-editor summary{cursor:pointer;font-weight:600;min-height:44px;padding-top:10px;font-size:14px}.weekly-editor{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:8px 0 18px;padding-bottom:10px}.week-budget{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.week-budget[hidden]{display:none}.week-budget label{font-size:13px}.week-budget input,.date-budget input{width:100%;min-width:0;height:44px;border:1px solid var(--field-line);border-radius:6px;padding:6px;font-size:15px;background:#fff}.weekly-editor h4{margin:16px 0 8px;font-size:14px}.date-budget{display:grid;grid-template-columns:minmax(0,1fr) 64px auto;gap:6px}.date-budget-list{padding:0;list-style:none;font-size:14px}.date-budget-list li{display:flex;align-items:center;justify-content:space-between;gap:8px}.date-budget-list button{padding:0;width:36px;min-height:36px}.session-start{display:flex;justify-content:flex-end;align-items:center;min-height:40px;font-size:13px;color:var(--ink);text-underline-offset:3px}.practice-receipt{padding:18px;background:#edf5ec;border:1px solid var(--line);margin-bottom:16px}.practice-receipt button{margin-right:8px}dialog{border:1px solid var(--line);border-radius:14px;max-width:620px;width:calc(100% - 28px);max-height:85vh;padding:24px;color:var(--ink);font:inherit;overflow-y:auto}dialog::backdrop{background:#152c285c}dialog h2{font-size:24px;margin-top:0}dialog input[type=date]{font:inherit;min-height:44px;margin-right:8px}dialog .catchup-preview{max-height:240px;overflow:auto;padding-left:22px}dialog .catchup-preview li{margin:8px 0}dialog .primary{margin-bottom:12px}
@media(max-width:1100px){.workbench{grid-template-columns:1fr}.setup{position:static;max-height:none;overflow:visible}.returning-plan .results{grid-row:1}.returning-plan .setup{grid-row:2}.returning-plan:not(.editing-plan) .setup{display:none}.topic-row{grid-template-columns:minmax(0,1fr) 80px 120px 36px}.daily-hub{padding:18px}.summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.topic-row{grid-template-columns:minmax(0,1fr) 70px 34px;gap:6px;border-bottom:1px solid var(--line);padding-bottom:12px}.topic-row label:first-child{grid-column:1/3}.topic-row label:nth-child(2){grid-column:1}.topic-row label:nth-child(3){grid-column:2/4}.topic-row button{grid-column:3;grid-row:1}.topic-row select{min-width:0}.week-budget{grid-template-columns:repeat(3,minmax(0,1fr))}.date-budget{grid-template-columns:minmax(0,1fr) 66px}.date-budget button{grid-column:1/-1;justify-content:center}.daily-hub h2{font-size:23px}.summary strong{font-size:26px}}
@media print{.daily-hub,.practice-receipt,.session-start,dialog{display:none!important}.results{display:block}}

/* Topic names get a full line. Time and priority stay readable at every width. */
.topic-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;gap:8px 10px;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--line)}
.topic-row label:first-child{grid-column:1/3;grid-row:1}
.topic-row label:nth-child(2){grid-column:1;grid-row:2}
.topic-row label:nth-child(3){grid-column:2/4;grid-row:2}
.topic-row label{font-size:12px;font-weight:600;line-height:1.4}
.topic-row input,.topic-row select{margin-top:5px;padding:9px 10px;color:var(--ink);font-size:15px;font-weight:400;line-height:1.4}
:root .topic-row select.topic-priority{appearance:none;background:#fff url('/select-chevron.svg?v=f946a7fda9') no-repeat right 12px center;background-size:14px;padding-inline-end:36px}
.topic-row button.topic-remove{grid-column:3;grid-row:1;align-self:end;justify-content:center;width:40px;min-width:40px;height:44px;min-height:44px;padding:0;border:1px solid transparent;background:transparent;color:var(--muted);font-size:23px;font-weight:400;border-radius:6px;line-height:1}
.topic-row button.topic-remove:hover{color:var(--err);background:#f9eae3;border-color:#edc8b8}
@media(max-width:480px){.topic-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px;gap:8px}.topic-row label:first-child{grid-column:1/3}.topic-row label:nth-child(2){grid-column:1}.topic-row label:nth-child(3){grid-column:2/4}.topic-row button.topic-remove{grid-column:3;grid-row:1}}
@media(forced-colors:active){:root .topic-row select.topic-priority{appearance:auto;background-image:none;padding-inline-end:8px}.topic-row button.topic-remove{border-color:ButtonText}}
