.timeframe-screens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.timeframe-screens .lesson-screen{margin:0;align-self:start}.timeframe-screen-title{padding:13px 15px;background:#edf7f1;color:#075d31;font-size:1.15rem;font-weight:900}.timeframe-screen-title span{display:block;margin-top:3px;font-size:.85rem;font-weight:700}.timeframe-lesson .timeframe-image-tip{font-size:.85rem;color:#52645a}.timeframe-reading-order li{padding-left:5px;margin-top:18px}.timeframe-reading-order li::marker{font-weight:900;color:#087c40}.timeframe-reading-order strong{font-size:1.08rem}.timeframe-reading-order p{margin-top:4px}.timeframe-calculation{margin-top:18px;border:1px solid #c7ddcf;border-radius:12px;background:#f7fbf8;padding:15px 18px}.timeframe-calculation summary{min-height:28px;cursor:pointer;color:#075d31;font-weight:850;line-height:1.8}.timeframe-calculation p{overflow-wrap:anywhere}.timeframe-misreading{padding:16px 18px;margin-top:16px;border-left:4px solid #f39800;background:#fff9ee;border-radius:0 12px 12px 0}.timeframe-misreading h3{margin:0 0 8px;line-height:1.65}.timeframe-lesson .timeframe-source-note{font-size:.85rem;line-height:1.85;color:#52645a;margin-top:18px}.timeframe-lesson a:focus-visible,.timeframe-calculation summary:focus-visible{outline:3px solid #ed9200;outline-offset:4px}.timeframe-lesson .article-example-table td{white-space:nowrap}html[data-theme="dark"] .timeframe-screen-title{background:#193627;color:#b0edc4}html[data-theme="dark"] .timeframe-calculation{background:#17251e;border-color:#344a3d}html[data-theme="dark"] .timeframe-calculation summary{color:#b0edc4}html[data-theme="dark"] .timeframe-misreading{background:#2a2112}html[data-theme="dark"] .timeframe-lesson :is(.timeframe-source-note,.timeframe-image-tip){color:#c3d2c9}@media(max-width:640px){.timeframe-screens{grid-template-columns:1fr;gap:22px}.timeframe-screens .lesson-screen{max-width:520px;width:100%;margin-inline:auto}.timeframe-misreading{padding:14px}.timeframe-lesson .article-example-table{font-size:.8rem}.timeframe-lesson .article-example-table :is(th,td){padding:8px 6px}}

/* Keep portrait screenshots intact and the close control visible while panning. */
.timeframe-screens .howto-enlarge img{aspect-ratio:auto}.timeframe-image-dialog[open]{display:flex;flex-direction:column;overflow:hidden;height:min(94dvh,1000px);max-height:94dvh}.timeframe-image-dialog .howto-lightbox-close{flex-shrink:0;align-self:flex-end;min-height:44px}.timeframe-image-dialog .howto-lightbox-caption{flex-shrink:0;font-size:.9rem;line-height:1.6}.timeframe-image-dialog .howto-lightbox-scroll{flex:1;min-height:0;max-height:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}

.timeframe-image-dialog .timeframe-image-close-form{position:relative;z-index:2;flex-shrink:0;align-self:flex-end;margin:0;pointer-events:auto}.timeframe-image-dialog .howto-lightbox-close{position:relative;margin:0 0 10px;min-width:112px;min-height:48px;pointer-events:auto;touch-action:manipulation;scale:none!important;transform:none!important;filter:none!important}
