.tl-page{max-width:980px;margin:auto;color:#183f39}.tl-page h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1}.tl-page h2,.tl-page h3{overflow-wrap:anywhere}.tl-page p{line-height:1.5;max-width:76ch}.tl-page button,.tl-page a,.tl-page summary,.tl-option,.tl-entry a{min-height:44px;min-width:44px;font-size:16px}.tl-page button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.tl-page a,.tl-entry a{display:inline-flex;align-items:center;padding:.4rem}.tl-page :focus-visible,.tl-entry :focus-visible{outline:3px solid #9b651e;outline-offset:3px}.tl-page [hidden]{display:none!important}.tl-page fieldset{border:0;padding:0;margin:1rem 0;min-width:0}.tl-page legend{font-weight:700;line-height:1.5;margin-bottom:.75rem}.tl-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem;align-items:start}.tl-workspace>*{min-width:0}.tl-reader{padding:.7rem 1rem;border-left:5px solid #486783;background:#e5edf7;line-height:1.5}.tl-reader.friend{border-color:#47785b;background:#dfeee4}.tl-brief{font-size:16px;color:#52645b}.tl-letter,.tl-choice-panel,.tl-helper,.tl-review{padding:1rem;background:#fffdf5;border:1px solid #b8cbbf;border-radius:6px}.tl-letter-text{white-space:pre-wrap;line-height:1.65;overflow-wrap:anywhere}.tl-letter-text mark{background:#f4e1b1;color:#183f39;border-bottom:2px solid #9b651e;padding:.1em}.tl-line{white-space:pre-wrap;font-size:1.15rem;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.tl-option{display:flex;align-items:center;gap:.65rem;border:1px solid #9bb4a6;border-radius:5px;background:#fff;padding:.7rem;margin:.6rem 0;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}.tl-option input{flex:0 0 auto;width:22px;height:22px;accent-color:#183f39}.tl-option:has(input:checked){outline:2px solid #47785b;background:#edf5ef}.tl-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:1rem 0}.tl-actions button{flex:0 1 auto}.tl-page summary{padding:.65rem .2rem;cursor:pointer;line-height:1.5}.tl-page details{margin:.8rem 0}.tl-status,.tl-feedback{padding:.8rem 1rem;border-left:4px solid #69466b;background:#f2edf4;line-height:1.5;overflow-wrap:anywhere}.tl-status:empty{padding:0;border:0}.tl-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.tl-comparison-letter{min-width:0;padding:1rem;background:#fffdf5;border:1px solid #b8cbbf;border-radius:5px}.tl-shelf{display:grid;gap:.7rem}.tl-shelf button{text-align:left;padding:.8rem;line-height:1.5}.tl-page footer{border-top:1px solid #b8cbbf;padding-top:1rem;margin-top:1.5rem}.tl-page pre,.tl-notes pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:450px;overflow:auto}.tl-page svg{max-width:100%;height:auto}.tl-entry{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;padding:1rem;border-left:5px solid #47785b;background:#edf5ef}.tl-entry p{margin:.4rem 0}.tl-entry a{flex-shrink:0}.tl-review article{border-bottom:1px solid #b8cbbf;padding:.8rem 0}.tl-page .sr-only{padding:0;border:0}
@media(max-width:700px){.tl-workspace,.tl-comparison-grid{grid-template-columns:minmax(0,1fr)}.tl-letter,.tl-choice-panel,.tl-helper,.tl-review{padding:.75rem}.tl-entry{display:block}.tl-actions button{flex:1 1 auto}.tl-reader{padding:.6rem .75rem}}
@media(prefers-reduced-motion:reduce){.tl-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* The writing desk is a bounded touch-first play surface. */
body:has(.tl-stage) .header nav,body:has(.tl-stage)>footer{display:none}
body:has(.tl-stage) .header{margin-bottom:.25rem;padding-bottom:.5rem}
.tl-stage{background:#f2eee2;border:1px solid #d5c8ad;border-radius:16px;padding:clamp(.75rem,2vw,1.4rem);box-shadow:0 6px 0 #ded8c8;margin-bottom:1rem;min-width:0}
.tl-topline{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap;font-size:16px}.tl-topline p{margin:.3rem 0}.tl-news{font-size:16px}.tl-envelope-switch{display:flex;gap:.75rem;margin:.8rem 0}.tl-envelope-switch button{display:flex;align-items:center;gap:.7rem;flex:1 1 0;text-align:left;padding:.75rem;border:2px solid #b8cbbf;background:#fffdf5;border-radius:10px;min-height:72px}.tl-envelope-switch button[aria-pressed=true]{border-color:#183f39;background:#dfeee4;box-shadow:0 3px 0 #96b0a0}.tl-envelope-switch svg{width:52px;min-width:38px;max-height:52px;flex:0 0 auto}.tl-desk{min-width:0}.tl-stage .tl-letter,.tl-stage .tl-choice-panel{border:0;background:#fffdf5;box-shadow:0 2px 6px #183f3910}.tl-live-line{background:#f7efd9;padding:1rem;border-left:4px solid #9b651e;border-radius:4px;line-height:1.6}.tl-pending-word{background:#fffdf5;border-bottom:3px solid #9b651e;padding:.15rem .3rem;box-shadow:0 2px 2px #183f3914}.tl-stage .tl-option{position:relative;justify-content:center;text-align:center;min-height:54px;font-size:19px;font-weight:700;border:2px solid #9bb4a6;border-radius:9px;box-shadow:0 4px 0 #c6d1c9;padding:.85rem;margin:.75rem 0}.tl-stage .tl-option input{position:absolute;opacity:0;width:1px;height:1px}.tl-stage .tl-option:has(input:focus-visible){outline:3px solid #9b651e;outline-offset:4px}.tl-stage .tl-option:has(input:checked){border-color:#183f39;outline:0;background:#dfeee4;transform:translateY(2px);box-shadow:0 2px 0 #96b0a0}.tl-stage .tl-option:has(input:checked:focus-visible){outline:3px solid #9b651e;outline-offset:4px}.tl-reader-reply{background:#e5edf7;border:1px solid #b3c6d9;border-radius:14px 14px 14px 3px;padding:1rem;margin:1rem 0;line-height:1.5;overflow-wrap:anywhere}.tl-reader-reply p{margin:.35rem 0}.tl-bottom-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;padding:.75rem .5rem calc(.75rem + env(safe-area-inset-bottom,0px));background:#fffdf5f5;border-top:2px solid #c9bfa6;box-shadow:0 -4px 12px #183f3910;margin-top:1rem}.tl-bottom-bar button{min-height:48px}.tl-bottom-bar [data-tl-action="use"]{border-radius:24px;background:#69466b;box-shadow:0 4px 0 #49314b}.tl-tools{flex:1 1 100%;margin:.3rem 0!important}.tl-tools summary{font-weight:700}.tl-tools .tl-actions{margin:.5rem 0}.tl-stage .tl-source-column{min-width:0}.tl-stage h1{margin:.35rem 0;font-size:clamp(1.8rem,4vw,2.5rem)}
@media(max-width:700px){.tl-workspace{display:flex;flex-direction:column}.tl-source-column{display:contents}.tl-source-column>.tl-brief{order:1}.tl-choice-panel{order:2;width:100%;box-sizing:border-box}.tl-letter-disclosure{order:3;width:100%}.tl-envelope-switch{gap:.5rem}.tl-envelope-switch button{flex-direction:column;align-items:flex-start;font-size:16px;padding:.6rem}.tl-envelope-switch svg{width:40px}.tl-stage{padding:.65rem}.tl-bottom-bar{gap:.5rem}.tl-bottom-bar button{flex:1 1 auto;font-size:16px}.tl-bottom-bar [data-tl-action="use"]{flex-basis:100%}.tl-stage .tl-option{font-size:18px}.tl-topline{font-size:16px}}
body:has(.tl-stage) .tl-header h1{font-size:1.3rem;line-height:1.25;margin:.4rem 0}.tl-stage h2#tl-question{font-size:1.2rem;line-height:1.3;margin:.25rem 0 .5rem}.tl-progress{font-size:16px;white-space:nowrap}.tl-stage .tl-reader{margin:.3rem 0}.tl-stage .tl-brief>p{margin:.3rem 0}.tl-stage .tl-source-badge{font-size:16px;margin:.15rem 0}.tl-stage .tl-news{margin:.15rem 0}.tl-stage .tl-topline{gap:.25rem}.tl-stage .tl-live-line{margin:.4rem 0;padding:.7rem}.tl-stage .tl-preview-label{margin:.4rem 0;font-size:16px}.tl-navigation{display:flex;flex-wrap:wrap;gap:.5rem}.tl-navigation button{flex:1 1 auto}.tl-bottom-bar>.tl-tools{flex-basis:100%}.tl-bottom-bar{justify-content:space-between}.tl-page:has(.tl-stage)>footer{display:none}.tl-stage .tl-option{margin:.5rem 0}.tl-stage .tl-envelope-switch{margin:.5rem 0}.tl-stage .tl-choice-panel{padding:.75rem}
@media(max-width:700px){.tl-bottom-bar>.tl-navigation{display:flex;width:100%}.tl-bottom-bar>.tl-navigation button{flex:1 1 0}.tl-bottom-bar{padding:.5rem .35rem calc(.5rem + env(safe-area-inset-bottom,0px))}.tl-stage .tl-choice-panel fieldset{margin:.65rem 0}.tl-envelope-switch button{flex-direction:row;align-items:center;gap:.4rem;min-height:54px}.tl-envelope-switch svg{min-width:28px;width:30px}.tl-stage .tl-brief{font-size:16px}}
/* Keep the control strip in flow: an opened tool menu must never cover tiles. */
.tl-bottom-bar{position:static;box-shadow:0 -2px 8px #183f3908}.tl-topline .tl-source{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.tl-stage .tl-news summary{padding:.35rem .2rem}.tl-envelope-switch button{min-height:54px;padding:.5rem .75rem}.tl-envelope-switch svg{width:38px;max-height:38px}body:has(.tl-stage) .header{padding:.5rem 0;max-width:calc(100% - 40px);margin:0 auto}.tl-stage .tl-bottom-bar{margin-top:.65rem}.tl-stage .tl-choice-panel fieldset{margin:.5rem 0}.tl-stage .tl-option{padding:.65rem;min-height:48px}.tl-stage .tl-line{margin:.35rem 0}.tl-stage .tl-preview-label{margin:.3rem 0}.tl-stage .tl-navigation{gap:.5rem}.tl-stage .tl-bottom-bar .tl-tools{margin:0!important}.tl-stage .tl-tools summary{padding:.4rem .1rem}
.tl-reader.tl-friend{border-color:#47785b;background:#dfeee4}

.tl-gap{border-bottom:2px solid #47785b;background:#edf5ef;padding:0 .12em}.tl-gap[data-tl-answered="false"]{font-style:italic;border:1px dashed #52645b;border-radius:3px;background:#f2eee2}.tl-current-gap{outline:2px dashed #69466b;outline-offset:3px}.tl-selected-line{display:block;margin-top:.65rem}.tl-stage .tl-option-selected{border-color:#183f39;background:#dfeee4;box-shadow:0 2px 0 #96b0a0}.tl-stage .tl-option:focus-within{outline:3px solid #9b651e;outline-offset:3px}.tl-choice-panel .tl-bottom-bar{padding-left:0;padding-right:0}.tl-choice-panel .tl-seal-action{flex-basis:100%}.tl-choice-panel .tl-navigation{width:100%}.tl-choice-panel .tl-navigation button{flex:1 1 0}
