/* Scoped to the Daylight time-tracking guide. */
main:has(.time-guide){max-width:1100px}
.time-guide{color:#20243b}.time-guide h1,.time-guide h2,.time-guide h3,.time-guide summary{color:#20243b}.time-guide h1{font-size:clamp(2.1rem,4vw,3.5rem);line-height:1.08;margin:16px 0 22px}.time-guide h2{font-size:clamp(1.6rem,3vw,2rem);line-height:1.2}.time-guide .tg-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:60px;align-items:center;padding:10px 0 50px;border:0}.time-guide .lede{font-size:1.15rem;line-height:1.6}.time-guide figure{margin:0;text-align:center}.time-guide figure img{display:block;width:auto;max-width:100%;height:440px;margin:auto;border:1px solid #dedbe9;border-radius:18px;box-shadow:0 18px 40px #20243b12}.time-guide figcaption,.time-guide .tg-note{font-size:.82rem;color:#53566a;line-height:1.5}.time-guide figcaption{margin-top:12px}.time-guide .tg-cta{display:inline-block;margin-top:12px;padding:14px 24px;border-radius:9px;background:#20243b;color:#fffdf9;text-decoration:none;font-weight:700}.time-guide .tg-cta:focus-visible{outline:3px solid #8175e8;outline-offset:4px}.time-guide section{padding:28px 0;border-top:1px solid #dedbe9}.time-guide section p{max-width:760px;line-height:1.75}.time-guide .tg-steps{padding-left:24px}.time-guide li{padding-left:10px;margin:22px 0}.time-guide h3{font-size:1.15rem;margin-bottom:6px}.time-guide li p{margin-top:0}.time-guide details{padding:18px 0;border-bottom:1px solid #dedbe9}.time-guide summary{cursor:pointer;font-weight:700}.time-guide details p{margin-bottom:0}@media(max-width:640px){.time-guide .tg-hero{grid-template-columns:1fr;gap:20px;padding-top:0;padding-bottom:28px}.time-guide h1{font-size:2.05rem;margin:12px 0 16px}.time-guide .lede{font-size:1rem;margin-bottom:8px}.time-guide figure img{height:250px;border-radius:12px}.time-guide figcaption{margin-top:8px}.time-guide .tg-note{margin-bottom:0}.time-guide section{padding:22px 0}}
/* SPQ-056: example day table on the time blocking guide. */
.time-guide .tg-table-wrap{max-width:760px;overflow-x:auto}.time-guide .tg-day{width:100%;border-collapse:collapse;font-size:.98rem}.time-guide .tg-day th,.time-guide .tg-day td{text-align:left;padding:10px 12px;border-bottom:1px solid #dedbe9}.time-guide .tg-day th{font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:#53566a}.time-guide .tg-day td:first-child{white-space:nowrap}.time-guide .tg-day td:last-child,.time-guide .tg-day th:last-child{text-align:right}@media(max-width:640px){.time-guide .tg-day{font-size:.9rem}.time-guide .tg-day th,.time-guide .tg-day td{padding:8px 6px}}

/* SPQ-082: timer controls in the shared guide shell. */
.pomodoro-guide .tg-timer{padding:20px;border:1px solid #dedbe9;border-radius:18px;background:#f4f1fc}.pomodoro-guide .tg-timer[hidden]{display:none}.pomodoro-guide .tg-clock{font-size:clamp(3rem,7vw,5rem);font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2}.pomodoro-guide .tg-controls{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.pomodoro-guide button{font:inherit;font-weight:700;border:1px solid #20243b;border-radius:9px;padding:10px 14px;background:#20243b;color:#fffdf9;cursor:pointer}.pomodoro-guide button:disabled{opacity:.5;cursor:default}.pomodoro-guide button:focus-visible{outline:3px solid #8175e8;outline-offset:3px}.pomodoro-guide [data-status]{font-size:.9rem;min-height:3.5em;margin-bottom:0}@media(max-width:640px){.pomodoro-guide .tg-timer{padding:16px}.pomodoro-guide .tg-day td:first-child{white-space:normal}.pomodoro-guide .tg-day{table-layout:fixed}.pomodoro-guide .tg-day th:last-child{width:24%}}
/* SPQ-072: wrap formulas inside the existing guide template on phones. */
.time-guide .tg-formula{max-width:760px;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f3f1fa;border-radius:9px;font-size:.9rem;line-height:1.65}.time-guide .tg-formula code{white-space:inherit;overflow-wrap:anywhere}

/* SPQ-183: the comparison uses the shared guide table, with wrapping columns. */
:is(.sunsama-guide,.tiimo-guide) .tg-day{table-layout:fixed}:is(.sunsama-guide,.tiimo-guide) .tg-day th:first-child{width:22%}:is(.sunsama-guide,.tiimo-guide) .tg-day td:last-child,:is(.sunsama-guide,.tiimo-guide) .tg-day th:last-child{text-align:left}:is(.sunsama-guide,.tiimo-guide) .tg-day td,:is(.sunsama-guide,.tiimo-guide) .tg-day th{overflow-wrap:anywhere;vertical-align:top}:is(.sunsama-guide,.tiimo-guide) .tg-day td:first-child{white-space:normal}
/* Keep comparison row labels whole in the existing phone table. */
@media(max-width:640px){.tiimo-guide .tg-day th:first-child{width:24%;font-size:.7rem;letter-spacing:0;overflow-wrap:normal}}
