.rwl{--rwl-ink:#15252c;--rwl-muted:#50636b;--rwl-line:#dbe4e6;--rwl-lime:#d8f36a;--rwl-green:#0e493c;color:var(--rwl-ink);font-size:16px;line-height:1.55;min-width:0}
.rwl *{box-sizing:border-box}.rwl [hidden]{display:none!important}.rwl button,.rwl input,.rwl select{font:inherit}.rwl button,.rwl a{touch-action:manipulation}.rwl button{cursor:pointer}.rwl button:disabled{cursor:default;opacity:.45}.rwl button:focus-visible,.rwl a:focus-visible,.rwl summary:focus-visible,.rwl input:focus-visible,.rwl select:focus-visible{outline:3px solid #247f9c;outline-offset:3px}.rwl h2,.rwl h3{color:var(--rwl-ink);line-height:1.25}.rwl h2{font-size:1.35rem;margin:0}.rwl h3{font-size:1.15rem;margin:1.6rem 0 .5rem}.rwl p{margin:0 0 1rem}.rwl a{color:var(--rwl-green);text-decoration:underline;text-underline-offset:3px}.rwl-topbar{display:flex;gap:2rem;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.rwl-topbar>p{max-width:680px;margin:0}.rwl-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.rwl-button{display:inline-flex;justify-content:center;align-items:center;gap:.4rem;min-height:44px;padding:.65rem 1rem;border:1px solid var(--rwl-line);border-radius:9px;background:#fff;color:var(--rwl-ink);text-decoration:none!important;font-weight:650;line-height:1.3;text-align:center}.rwl-primary{background:var(--rwl-green);border-color:var(--rwl-green);color:#fff!important}.rwl-button:hover{background:#f0f5ef}.rwl-primary:hover{background:#163e34}.rwl-text-button{border:0;padding:.65rem .2rem;background:none;color:var(--rwl-green);text-decoration:underline;text-underline-offset:3px;min-height:44px}.rwl-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:1.5rem;align-items:start}.rwl-layout:has(.rwl-editor[hidden]){grid-template-columns:minmax(0,1fr)}.rwl-panel{min-width:0;padding:1.4rem;background:#fff;border:1px solid var(--rwl-line);border-radius:16px;box-shadow:0 5px 20px #15252c05}.rwl-heading{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:1.25rem;flex-wrap:wrap}.rwl-library{background:#f7f9f8}.rwl-help{color:var(--rwl-muted);font-size:.9rem}.rwl-empty,.rwl-notice{padding:1.25rem;background:#eef4ef;border:1px dashed #b6c9bb;border-radius:10px}.rwl-empty p:last-child{margin:0}.rwl-empty strong{display:block;margin-bottom:.5rem}.rwl-saved{background:#fff;border:1px solid var(--rwl-line);border-radius:11px;margin-bottom:.8rem;overflow:hidden}.rwl-saved-open{display:flex;flex-direction:column;gap:.25rem;width:100%;padding:1rem;text-align:left;color:var(--rwl-ink);border:0;background:none}.rwl-saved-open:hover{background:#f0f5ef}.rwl-saved-open strong{overflow-wrap:anywhere}.rwl-saved-open span,.rwl-saved-open small{font-size:.85rem;color:var(--rwl-muted)}.rwl-saved-open small{color:var(--rwl-green);text-decoration:underline}.rwl-saved-actions{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.2rem 1rem .65rem}.rwl-saved-actions a,.rwl-saved-actions button{font-size:.82rem;min-height:36px;display:flex;align-items:center}.rwl-saved-actions button{background:none;border:0;color:#98402f;text-decoration:underline;padding:.4rem}.rwl-editor{scroll-margin-top:110px}.rwl-editor label{display:block;font-weight:650;font-size:.9rem;margin:.8rem 0 .3rem}.rwl input,.rwl select{display:block;width:100%;min-width:0;min-height:44px;padding:.65rem .7rem;border:1px solid #b8c8cd;border-radius:7px;color:var(--rwl-ink);background:#fff;line-height:1.35}.rwl-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.rwl-settings{padding-bottom:.5rem}.rwl details>summary{cursor:pointer;min-height:44px;padding:.65rem 0;font-weight:650}.rwl-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:.6rem 0}.rwl-template{display:flex;flex-direction:column;gap:.25rem;min-width:0;padding:.8rem;text-align:left;border:1px solid var(--rwl-line);border-radius:9px;background:#f7f9f8;color:var(--rwl-ink)}.rwl-template:hover{border-color:var(--rwl-green);background:#eef4ef}.rwl-template small{font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;color:var(--rwl-muted)}.rwl-template span{font-size:.82rem;font-weight:400;color:var(--rwl-muted)}.rwl-route-note{padding:1rem;margin:.5rem 0;background:#eef6fa;border-radius:9px;font-size:.9rem}.rwl-route-note p{margin:.4rem 0}.rwl-overview{padding:1rem;background:#edf4e3;border-radius:9px;font-weight:650}.rwl-step{border:1px solid var(--rwl-line);border-left:5px solid var(--rwl-step-color);border-radius:9px;margin-bottom:.7rem;background:#fff;overflow:hidden}.rwl-step>summary{padding:.8rem;display:list-item;list-style-position:inside}.rwl-step>summary strong{font-size:.95rem;overflow-wrap:anywhere}.rwl-step>summary span{display:block;margin:.25rem 0 0 1rem;font-size:.84rem;font-weight:400;color:var(--rwl-muted)}.rwl-step-fields{padding:0 1rem .9rem;border-top:1px solid var(--rwl-line)}.rwl-step-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.8rem}.rwl-step-actions button{min-width:44px;min-height:44px;padding:.4rem .65rem;border:1px solid var(--rwl-line);border-radius:6px;background:#f7f9f8;color:var(--rwl-ink);font-size:.85rem}.rwl-repeat{padding:.8rem;background:#f1f4f5;border:1px solid #bfced2;border-radius:12px;margin-bottom:.8rem}.rwl-repeat-heading{display:flex;align-items:center;gap:.6rem;margin-bottom:.8rem}.rwl-repeat-heading label{margin:0}.rwl-repeat-heading input{width:80px}.rwl-savebar{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;margin:1.5rem 0 .75rem;padding-top:1rem;border-top:1px solid var(--rwl-line)}.rwl-error{background:#fff3ef;border:1px solid #e3ac99;border-radius:8px;padding:.8rem;color:#872f21;margin:1rem 0}.rwl-login h2{margin-bottom:.75rem}
@media(max-width:1000px){.rwl-topbar{display:block}.rwl-topbar>.rwl-actions{margin-top:1rem}.rwl-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:1rem}.rwl-panel{padding:1rem}.rwl-fields{gap:.65rem}}
@media(max-width:760px){.rwl-layout{display:flex;flex-direction:column}.rwl-library,.rwl-editor{width:100%}.rwl-editor{order:-1;scroll-margin-top:85px}.rwl-topbar{font-size:.95rem}.rwl h2{font-size:1.2rem}.rwl-template-grid{gap:.5rem}.rwl-template{padding:.7rem}.rwl-fields{grid-template-columns:1fr}.rwl-savebar>.rwl-button{flex:1 1 100%}.rwl-saved-actions a,.rwl-saved-actions button{min-height:44px}.rwl-editor input,.rwl-editor select{font-size:16px}.rwl-heading{gap:.4rem}.rwl-panel{border-radius:12px}.rwl-step-fields{padding:0 .7rem .8rem}}
@media(prefers-reduced-motion:reduce){.rwl *{scroll-behavior:auto!important}}

/* Same pointer/drop protocol as the planner, scoped to the account editor. */
.rwl-timeline{display:flex;gap:2px;min-height:44px;margin:-.35rem 0 1rem;overflow:hidden;border-radius:8px}.rwl-timeline:empty{display:none}.rwl-timeline button{min-width:4px;min-height:44px;padding:0;border:0;color:#fff;font-size:11px;font-weight:650;opacity:.88}.rwl-timeline button:hover,.rwl-timeline button[aria-pressed="true"]{opacity:1;box-shadow:inset 0 -4px #15252c}.rwl-timeline [data-workout-drag-key]{cursor:grab;touch-action:none;user-select:none}
.rwl .rwl-drag-handle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-height:44px;cursor:grab;touch-action:none;user-select:none;color:var(--rwl-muted);font-size:1.65rem;line-height:1}.rwl .rwl-drag-handle:hover{color:var(--rwl-green);background:#e8f0e9;border-radius:6px}.rwl .rwl-step>summary{position:relative;min-height:70px;padding-left:3rem}.rwl .rwl-step>summary>.rwl-drag-handle{position:absolute;left:3px;top:7px;margin:0}.rwl .rwl-repeat-heading>.rwl-drag-handle{margin-left:-.35rem}.rwl .rwl-step{margin-bottom:0}.rwl .rwl-repeat{margin-bottom:0}.rwl-drop-slot{height:8px;box-sizing:border-box;border-radius:5px}.rwl-drop-slot span{display:none}.rwl.workout-dragging{user-select:none;cursor:grabbing}.rwl.workout-dragging .rwl-drop-slot{min-height:24px;margin:3px 0;border:1px dashed #788b93}.rwl.workout-dragging .rwl-drop-slot span{display:block;text-align:center;font-size:11px;line-height:22px;color:var(--rwl-muted)}.rwl.workout-dragging .workout-drop-active{border:2px solid var(--rwl-green);background:#d8f36a66}.rwl.workout-dragging .rwl-drag-handle,.rwl.workout-dragging [data-workout-drag-key]{cursor:grabbing}
.workout-drag-ghost{position:fixed;z-index:10000;pointer-events:none;max-width:240px;padding:11px 15px;border:2px solid #9ca3af;border-radius:9px;background:#15252c;color:#fff;font:600 13px/1.4 Inter,sans-serif;box-shadow:0 8px 24px #0005;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workout-drag-ghost.valid{border-color:#d8f36a}

/* A read-only snapshot inside the existing open button, including on mobile. */
.rwl .rwl-saved-open{min-width:0}.rwl .rwl-saved-preview{display:flex;align-self:stretch;gap:var(--rwl-preview-gap,1px);width:100%;max-width:100%;min-width:0;height:14px;margin:.3rem 0 .15rem;overflow:hidden;border-radius:4px;background:#e6edeb}.rwl .rwl-preview-zone{display:block;min-width:0;height:100%;flex-basis:0;box-shadow:inset -1px 0 #ffffff33}.rwl .rwl-preview-summary,.rwl .rwl-preview-unavailable{font-size:.78rem;line-height:1.4;overflow-wrap:anywhere}.rwl .rwl-preview-unavailable{margin-top:.25rem;color:var(--rwl-muted)}

/* Whole saved cards can be planned; editor step gestures remain scoped above. */
.rwl .rwl-layout,.rwl .rwl-layout:has(.rwl-editor[hidden]){display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:1.5rem;align-items:start}
.rwl .rwl-editor{grid-column:1/-1;max-width:900px;width:100%;justify-self:center}
.rwl .rwl-calendar{scroll-margin-top:110px;padding:1.4rem;overflow:hidden}
.rwl-view-links{display:flex;gap:1.25rem;flex-wrap:wrap;margin:0 0 1rem}
.rwl-view-links a{display:inline-flex;align-items:center;min-height:44px;font-size:.9rem;font-weight:650}
.rwl #rwlListTitle{scroll-margin-top:110px}
.rwl-schedule-actions{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap;padding:.1rem .8rem .4rem}
.rwl-schedule-actions .rwl-button{font-size:.85rem;padding:.55rem .7rem;flex:1 1 auto;background:#eaf3e8;border-color:#c1d7c1;color:#0e493c}
.rwl-calendar-drag{display:inline-flex;flex:0 0 20px;justify-content:center;align-items:center;min-height:44px;font-size:1.2rem;color:var(--rwl-muted);user-select:none;pointer-events:none}
.rwl-calendar-drag span{font-size:.7rem;max-width:55px;line-height:1.25}
@media(hover:hover) and (pointer:fine){.rwl .rwl-saved[draggable="true"],.rwl .rwl-saved[draggable="true"] .rwl-saved-open,.rwl [data-calendar-route-drag]{cursor:grab;user-select:none}.rwl .rwl-saved[draggable="true"]:active,.rwl .rwl-saved[draggable="true"] .rwl-saved-open:active,.rwl [data-calendar-route-drag]:active{cursor:grabbing}.rwl .rwl-saved[draggable="true"]:hover{border-color:#72977c}}
.rwc-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem;margin-bottom:.7rem}
.rwl .rwc-header h2{margin:0}
.rwc-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .65rem;min-width:0}.rwl .rwc-subscription-trigger{flex:0 1 auto;max-width:100%;min-height:44px;padding:.45rem .7rem;font-size:.82rem;font-weight:600;color:var(--rwl-green);background:#f7faf7;border-color:#dbe5dd;gap:.45rem}.rwc-subscription-trigger svg{flex:0 0 auto}.rwl .rwc-subscription-trigger:hover{background:#edf4ec;border-color:#98b09e}
.rwc-calendar-exports{display:flex;align-items:center;gap:.4rem;min-width:0;max-width:100%}.rwl .rwc-print-trigger{flex:0 0 44px;width:44px;height:44px;padding:0;color:var(--rwl-green);background:#f7faf7;border-color:#dbe5dd}.rwc-print-trigger svg{flex:none}.rwl .rwc-print-trigger:hover{background:#edf4ec;border-color:#98b09e}.rwc-print-trigger[aria-busy="true"]{cursor:progress}
html.rwc-subscription-dialog-open{overflow:hidden;scrollbar-gutter:stable}
html.rwc-pdf-dialog-open{overflow:hidden;scrollbar-gutter:stable}
.rwc-pdf-dialog{width:calc(100% - 32px);max-width:460px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:1.4rem;border:1px solid var(--rwl-line);border-radius:16px;background:#fff;color:var(--rwl-ink);box-shadow:0 20px 70px #15252c33;overflow-y:auto;overscroll-behavior:contain}
.rwc-pdf-dialog::backdrop{background:#15252c88}.rwc-pdf-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.8rem}.rwl .rwc-pdf-header h2{font-size:1.2rem;margin:0;line-height:1.35}.rwc-pdf-header button{flex:none;min-width:44px}.rwl .rwc-pdf-dialog p{font-size:.88rem;line-height:1.6;margin:0 0 1rem}.rwc-pdf-dialog label{display:block;font-weight:650;font-size:.9rem;margin-bottom:.4rem}.rwl .rwc-pdf-period{font-weight:650;text-transform:capitalize;margin:.65rem 0}.rwl .rwc-pdf-help{color:var(--rwl-muted);font-size:.8rem}.rwc-pdf-download{width:100%}.rwc-pdf-status:empty{display:none}.rwl .rwc-pdf-status{color:var(--rwl-green);font-size:.85rem}.rwl .rwc-pdf-status.is-error{color:#98402f}.rwc-pdf-form[aria-busy="true"] .rwc-pdf-download{cursor:progress}
@media(max-width:400px){.rwc-pdf-dialog{padding:1rem;border-radius:12px}.rwl .rwc-pdf-header h2{font-size:1.05rem}}
.rwc-subscription-dialog{width:calc(100% - 32px);max-width:480px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:1.4rem;border:1px solid var(--rwl-line);border-radius:16px;background:#fff;color:var(--rwl-ink);box-shadow:0 20px 70px #15252c33;overflow-y:auto;overscroll-behavior:contain}
.rwc-subscription-dialog::backdrop{background:#15252c88}.rwc-subscription-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.8rem}.rwl .rwc-subscription-header h2{display:flex;align-items:center;gap:.55rem;margin:0;font-size:1.2rem;line-height:1.4}.rwc-subscription-header h2 svg{flex:0 0 auto;width:22px;height:22px;color:var(--rwl-green)}.rwc-subscription-header button{flex:0 0 auto;min-width:44px}
.rwl .rwc-subscription-dialog p{font-size:.88rem;line-height:1.6;margin:0 0 .8rem}.rwl .rwc-subscription-dialog .rwc-subscription-sync{color:var(--rwl-muted);font-size:.82rem}.rwl .rwc-subscription-dialog .rwc-subscription-label{font-weight:650;margin:1.1rem 0 .5rem}.rwc-subscription-actions{display:grid;gap:.5rem;margin:0 0 1rem}.rwl .rwc-subscription-actions .rwl-button{justify-content:space-between;min-height:48px;text-align:left;font-size:.9rem;padding:.65rem .85rem;background:#f7faf7}.rwl .rwc-subscription-actions .rwl-button:hover{background:#edf4ec;border-color:#98b09e}.rwc-subscription-actions a>span:last-child{font-size:1.25rem;color:var(--rwl-muted);line-height:1}
.rwc-subscription-manual{border-top:1px solid var(--rwl-line);font-size:.82rem}.rwc-subscription-manual summary{color:var(--rwl-green)}.rwl .rwc-subscription-manual p{font-size:.82rem}.rwc-subscription-manual label{display:block;font-size:.8rem;font-weight:650;margin-bottom:.35rem}.rwc-subscription-link{display:flex;gap:.5rem;flex-wrap:wrap}.rwc-subscription-link input{flex:1 1 160px;width:0!important;font-size:16px}.rwc-subscription-link .rwl-button{flex:1 1 auto;font-size:.82rem}.rwl .rwc-subscription-status{color:var(--rwl-green);font-size:.82rem;margin-top:.65rem}.rwc-subscription-status:empty{display:none}.rwl .rwc-subscription-dialog .rwc-subscription-privacy{font-size:.75rem;color:var(--rwl-muted);margin:.85rem 0 0}
@media(max-width:400px){.rwc-subscription-dialog{padding:1rem;border-radius:12px}.rwl .rwc-subscription-header h2{font-size:1.05rem}.rwc-subscription-header{gap:.4rem}.rwc-subscription-header h2 svg{width:18px;height:18px}.rwc-subscription-link .rwl-button{flex-basis:100%}}
.rwc-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.7rem;align-items:center;margin-bottom:.8rem}
.rwc-nav{display:flex;align-items:center;gap:.3rem}.rwc-nav button{min-width:44px;min-height:44px;border:1px solid var(--rwl-line);border-radius:8px;background:#fff;color:var(--rwl-ink);padding:.4rem .65rem;font-weight:650}
.rwc-nav button:hover{background:#eef4ef}.rwc-period{font-weight:700;text-transform:capitalize;font-size:1rem;margin:0}
.rwc-legend{display:flex;flex-wrap:wrap;gap:.45rem 1rem;font-size:.75rem;color:var(--rwl-muted);margin-bottom:.8rem}
.rwc-source{display:inline-flex;align-items:center;gap:.35rem}.rwc-source:before{content:'';width:8px;height:8px;flex-shrink:0;border-radius:50%;background:var(--rwc-source,#0e493c)}
.rwc-source[data-source="plan"],.rwc-event[data-source="plan"],.rwc-dot[data-source="plan"],.rwc-day-event[data-source="plan"]{--rwc-source:#7660a2;--rwc-tint:#f2eef9}
.rwc-source[data-source="run"],.rwc-event[data-source="run"],.rwc-dot[data-source="run"],.rwc-day-event[data-source="run"]{--rwc-source:#b66526;--rwc-tint:#fff3e7}
.rwc-month{margin-top:.8rem}.rwc-weekdays,.rwc-month-grid,.rwc-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.rwc-weekdays{margin-bottom:.35rem;text-align:center;font-size:.72rem;color:var(--rwl-muted);font-weight:650}
.rwl .rwc-day{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:88px;text-align:left;border:1px solid #e2e8e5;border-radius:7px;padding:6px;background:#fafcfb;color:var(--rwl-ink);line-height:1.3;overflow:hidden}
.rwc-day-number{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;width:26px;height:26px;border-radius:50%;font-weight:650;font-size:.82rem}
.rwc-day.is-today .rwc-day-number{background:#0e493c;color:#fff}.rwl .rwc-day.is-selected{background:#f0f6e7;border:2px solid #52753a;padding:5px;box-shadow:0 0 0 1px #52753a33}
.rwl .rwc-day.is-outside{background:#f5f6f5;color:#7a8982}.rwc-day.is-outside .rwc-day-items{opacity:.65}
.rwl .rwc-day:hover{border-color:#72977c}.rwl .rwc-day.is-drop-target{background:#d8f36a;border:2px dashed #0e493c;padding:5px}
.rwc-day-items{display:flex;flex-direction:column;gap:3px;margin-top:4px;min-width:0}
.rwc-day-event{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.65rem;line-height:1.6;border-left:3px solid var(--rwc-source,#0e493c);border-radius:2px;padding:1px 3px;background:var(--rwc-tint,#e7f0e7);color:#263b31}
.rwc-day-more{font-size:.65rem;color:var(--rwl-muted)}.rwc-week{display:none}
.rwc-compose{background:#eff5e5;border:1px solid #bad18c;border-radius:10px;padding:1rem;margin:.8rem 0;scroll-margin-top:110px}
.rwl .rwc-compose-title{display:block;font-size:.95rem;overflow-wrap:anywhere;margin:0 0 .4rem}.rwl .rwc-compose-help{font-size:.82rem;color:var(--rwl-muted);margin:0}.rwc-compose label{display:block;font-size:.82rem;font-weight:650;margin:.7rem 0 .3rem}.rwc-compose input{max-width:240px}
.rwc-compose-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}.rwc-compose-actions button{min-height:44px}
.rwl .rwc-feedback{font-size:.85rem;line-height:1.5;color:#344d40;margin:.6rem 0;overflow-wrap:anywhere}.rwc-feedback:empty{display:none}.rwc-feedback.is-error{padding:.8rem;border:1px solid #e3ac99;border-radius:8px;background:#fff3ef;color:#872f21}
.rwc-retry{margin-bottom:.8rem}.rwc-agenda{margin-top:1.25rem;border-top:1px solid var(--rwl-line);padding-top:1rem;scroll-margin-top:110px}
.rwc-agenda-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap;margin-bottom:.8rem}
.rwl .rwc-agenda h3{font-size:1.05rem;margin:0}.rwc-agenda-date{font-size:.83rem;color:var(--rwl-muted)}
.rwc-agenda-list{display:grid;gap:.65rem}.rwc-event{border:1px solid #dce6dc;border-left:4px solid var(--rwc-source,#0e493c);border-radius:9px;background:var(--rwc-tint,#f6f9f3);padding:.8rem;min-width:0}
.rwc-event-meta{display:flex;align-items:center;gap:.4rem;font-size:.7rem;font-weight:650;color:var(--rwc-source,#0e493c);margin-bottom:.2rem;flex-wrap:wrap}
.rwc-event-title{display:block;overflow-wrap:anywhere;font-size:.95rem;font-weight:700;line-height:1.4;margin:0}.rwl .rwc-event-description{font-size:.82rem;color:var(--rwl-muted);margin:.35rem 0 0;overflow-wrap:anywhere}
.rwc-event-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.rwc-event-actions button,.rwc-event-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #d1ddd1;border-radius:7px;background:#fff;padding:.4rem .65rem;font-size:.8rem;line-height:1.35;color:var(--rwl-green);text-decoration:none}
.rwc-event-actions button:hover,.rwc-event-actions a:hover{background:#edf4e7}.rwc-event-drag{cursor:grab;min-height:44px;display:inline-flex;align-items:center;color:var(--rwl-muted);font-size:.78rem;user-select:none;padding:.4rem}
.rwc-empty{padding:1rem;background:#f6f8f6;border:1px dashed #cad7cc;border-radius:9px;font-size:.88rem;color:var(--rwl-muted)}.rwc-empty strong{display:block;color:var(--rwl-ink);margin-bottom:.25rem}.rwl .rwc-empty p{margin:0 0 .5rem}
.rwl .rwc-footer{margin:1rem 0 0;font-size:.75rem;color:var(--rwl-muted);line-height:1.6}.rwc-loading .rwc-month-grid,.rwc-loading .rwc-week-grid{opacity:.55}.rwc-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--rwc-source,#0e493c)}
@media(min-width:1100px){.rwl-library #rwlList{max-height:890px;overflow-y:auto;scrollbar-gutter:stable;padding-right:4px}}
@media(max-width:1100px) and (min-width:761px){.rwl .rwl-layout,.rwl .rwl-layout:has(.rwl-editor[hidden]){grid-template-columns:minmax(230px,290px) minmax(0,1fr);gap:1rem}.rwl .rwl-calendar{padding:1rem}.rwc-day-event{font-size:.6rem}.rwl .rwc-day{min-height:72px;padding:4px}.rwl .rwc-day.is-selected,.rwl .rwc-day.is-drop-target{padding:3px}}
@media(max-width:760px){
 .rwl .rwl-layout,.rwl .rwl-layout:has(.rwl-editor[hidden]){display:flex;flex-direction:column;gap:1rem}.rwl .rwl-calendar{order:0;width:100%;padding:1rem;scroll-margin-top:85px}.rwl .rwl-library{order:1;width:100%}.rwl .rwl-editor{order:-1}.rwl #rwlListTitle{scroll-margin-top:85px}
 .rwl-calendar-drag,.rwc-event-drag{display:none!important}.rwl-schedule-actions .rwl-button{width:100%}.rwc-month{display:none}.rwc-week{display:block;margin-top:.8rem;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 0 6px;-webkit-overflow-scrolling:touch}.rwc-week-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:max(44px,calc((100% - 18px)/7));gap:3px;min-width:0}.rwl .rwc-week .rwc-day{min-width:44px}.rwl .rwc-day{min-height:72px;align-items:center;justify-content:flex-start;padding:5px 1px}.rwl .rwc-day.is-selected,.rwl .rwc-day.is-drop-target{padding:4px 0}
 .rwc-day-name{font-size:.65rem;color:var(--rwl-muted);margin-bottom:4px;text-transform:capitalize}.rwc-day-number{align-self:center;font-size:.9rem}.rwc-day-items{flex-direction:row;gap:2px;justify-content:center;flex-wrap:wrap;margin-top:5px;max-height:10px;overflow:hidden}.rwc-toolbar{align-items:center}.rwc-period{font-size:.88rem}.rwc-nav{gap:.25rem}.rwc-nav button{padding:.4rem .55rem}.rwc-legend{gap:.35rem .75rem;font-size:.7rem}.rwc-compose{scroll-margin-top:85px}.rwc-compose-actions .rwl-primary{flex:1}.rwc-event-actions{gap:.4rem}.rwc-event-actions button,.rwc-event-actions a{flex:1 1 auto}.rwc-agenda{scroll-margin-top:85px}.rwc-footer{font-size:.72rem}
}
@media(hover:none),(pointer:coarse){.rwl-calendar-drag,.rwc-event-drag{display:none!important}}

/* The planning workspace uses all available room, with the calendar central. */
.rwl .rwl-topbar{margin-bottom:.35rem;gap:1rem}.rwl .rwl-topbar>p{max-width:950px;font-size:.92rem;color:var(--rwl-muted)}
.rwl-layout-controls{display:flex;align-items:center;justify-content:flex-end;gap:.5rem 1rem;flex-wrap:wrap;margin-bottom:.5rem;color:var(--rwl-muted);font-size:.82rem}.rwl-layout-controls .rwl-text-button{font-size:inherit;white-space:nowrap}.rwl-layout-controls p{margin:0}
.rwl-layout-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rwl .rwl-view-links{gap:.35rem 1.25rem;margin-bottom:1rem}
.rwl .rwl-layout,.rwl .rwl-layout:has(.rwl-editor[hidden]){--rwl-calendar-min:520px;grid-template-columns:minmax(240px,var(--rwl-editor-width,30%)) 16px minmax(var(--rwl-calendar-min),1fr) 16px minmax(180px,var(--rwl-sidebar-width,240px));grid-template-areas:"editor editor-grip calendar sidebar-grip library";gap:0}
.rwl-resize-handle{display:block;position:relative;align-self:stretch;min-width:0;min-height:160px;padding:0;border:0;border-radius:8px;cursor:col-resize;touch-action:none;user-select:none;-webkit-user-select:none;outline-offset:-3px}
.rwl-resize-handle--editor{grid-area:editor-grip}.rwl-resize-handle--sidebar{grid-area:sidebar-grip}
.rwl-resize-handle>span{display:none}
.rwl-resize-handle::after{content:"";position:absolute;top:12px;bottom:12px;left:calc(50% - .5px);width:1px;background:#9bb1a5;opacity:0}
.rwl-resize-handle:hover::after,.rwl-resize-handle:focus-visible::after{opacity:1}
.rwl-resize-handle:focus-visible{outline:3px solid #247f9c}
.rwl .rwl-layout.is-resizing,.rwl .rwl-layout.is-resizing *,html.rwl-column-resizing,html.rwl-column-resizing *{cursor:col-resize!important;user-select:none!important;-webkit-user-select:none!important}
.rwl .rwl-editor{grid-area:editor;grid-column:auto;max-width:none;justify-self:stretch;padding:1.1rem;scroll-margin-top:110px;container-type:inline-size;container-name:workout-editor}
.rwl .rwl-calendar{grid-area:calendar;padding:1.25rem}
.rwl-sidebar{grid-area:library;display:grid;gap:1rem;min-width:0}
.rwl .rwl-sidebar>.rwl-library{order:0}.rwl .rwl-sidebar>.rwl-routes{order:1}
.rwl-sidebar .rwl-panel{padding:1.1rem;background:#f7f9f8}.rwl-sidebar .rwl-heading{gap:.25rem;margin-bottom:.7rem}
.rwl .rwc-header h2,.rwl-sidebar .rwl-heading h2,.rwl .rwl-editor>.rwl-heading h2{font-size:1.25rem}
.rwl .rwl-editor>.rwl-heading{gap:.35rem;margin-bottom:.7rem}.rwl .rwl-editor>.rwl-heading .rwl-actions{gap:.3rem}
.rwl .rwl-editor .rwl-fields{grid-template-columns:minmax(0,1fr);gap:.35rem}.rwl .rwl-template-grid{gap:.45rem}.rwl .rwl-template{padding:.6rem;font-size:.85rem}.rwl .rwl-template span{font-size:.75rem;line-height:1.45;overflow-wrap:anywhere}.rwl .rwl-template strong{overflow-wrap:anywhere}
.rwl .rwl-editor .rwl-repeat-heading{flex-wrap:wrap}.rwl .rwl-editor .rwl-repeat-heading input{max-width:80px}.rwl .rwl-saved-actions{flex-wrap:wrap}.rwl .rwl-saved-actions a{min-width:0;flex:0 1 auto;overflow-wrap:anywhere}
.rwl .rwl-savebar{gap:.4rem}.rwl .rwl-savebar>.rwl-button{flex:1 1 100%}.rwl .rwl-editor .rwl-help{font-size:.8rem}.rwl .rwl-editor .rwl-overview{padding:.75rem;font-size:.85rem}
.rwl-step-help{font-size:.82rem;margin-bottom:.6rem}.rwl-settings input+.rwl-help{margin-top:.35rem;margin-bottom:.35rem}
.rwl #rwlRoutesTitle{scroll-margin-top:110px}.rwl .rwl-library #rwlList{max-height:520px;overflow-y:auto;scrollbar-gutter:stable;padding-right:3px}.rwl #rwlRoutes{max-height:430px;overflow-y:auto;scrollbar-gutter:stable;padding-right:3px}
.rwl-route-summary{display:flex;flex-direction:column;gap:.15rem;padding:.8rem .8rem .45rem;min-width:0}.rwl-route-summary strong{overflow-wrap:anywhere;line-height:1.35}.rwl-route-summary span{font-size:.8rem;line-height:1.4;color:var(--rwl-muted)}
.rwl .rwl-route-open{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:.3rem .35rem;font-size:.8rem;line-height:1.4}.rwl .rwl-route-planner-link{display:inline-flex;align-items:center;font-size:.85rem;margin-top:.35rem}
.rwl .rwl-saved-route .rwl-route-actions{padding-top:0;padding-bottom:.65rem}.rwl .rwl-saved-route .rwl-schedule-actions .rwl-button{width:auto;flex:1 1 140px}
.rwl textarea{font:inherit;display:block;width:100%;min-width:0;min-height:90px;padding:.65rem .7rem;border:1px solid #b8c8cd;border-radius:7px;color:var(--rwl-ink);background:#fff;line-height:1.5;resize:vertical}.rwl textarea:focus-visible{outline:3px solid #247f9c;outline-offset:3px}
.rwc-note-fields label{display:block;font-size:.82rem;font-weight:650;margin:.7rem 0 .3rem}.rwc-note-fields textarea,.rwc-note-fields .rwc-note-title,.rwc-note-fields .rwc-note-time{max-width:none}.rwc-agenda-actions{display:flex;gap:.4rem;flex-wrap:wrap}.rwc-event-description{white-space:pre-line}
.rwc-source[data-source="note"],.rwc-event[data-source="note"],.rwc-dot[data-source="note"],.rwc-day-event[data-source="note"]{--rwc-source:#276b92;--rwc-tint:#edf5fb}
.rwc-source[data-source="route"],.rwc-event[data-source="route"],.rwc-dot[data-source="route"],.rwc-day-event[data-source="route"]{--rwc-source:#51783c;--rwc-tint:#eff5e8}
@media(min-width:761px){.rwc-month-grid{grid-auto-rows:minmax(104px,auto)}.rwl .rwc-month-grid .rwc-day{min-height:44px}}
@container workout-editor (min-width:390px){.rwl .rwl-editor .rwl-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.rwl .rwl-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rwl .rwl-template{padding:.8rem}.rwl .rwl-template span{font-size:.82rem}}
@media(min-width:1280px){.rwl-view-links{display:none}}
@media(max-width:1279px){.rwl-resize-handle,.rwl-layout-controls{display:none!important}}
@media(min-width:901px) and (max-width:1279px){
 .rwl .rwl-layout,.rwl .rwl-layout:has(.rwl-editor[hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"calendar calendar" "editor library";gap:1rem}
 .rwl .rwl-calendar{padding:1.25rem}.rwl .rwl-editor .rwl-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.65rem}
}
@media(max-width:900px){
 .rwl .rwl-layout,.rwl .rwl-layout:has(.rwl-editor[hidden]){display:flex;flex-direction:column;gap:1rem}
 .rwl .rwl-calendar{order:0;width:100%}.rwl .rwl-editor{order:1;width:100%;scroll-margin-top:85px}.rwl-sidebar{order:2;width:100%}
 .rwl .rwl-library,.rwl .rwl-routes{width:100%}.rwl .rwl-library #rwlList,.rwl #rwlRoutes{max-height:none;overflow:visible;padding-right:0;scrollbar-gutter:auto}
 .rwl #rwlRoutesTitle{scroll-margin-top:85px}.rwl .rwl-topbar>p{font-size:.87rem}
}
@media(max-width:400px){.rwl .rwl-panel{padding:.85rem}.rwl .rwl-view-links{gap:0 .85rem}.rwl .rwl-view-links a{font-size:.8rem}.rwl .rwl-template-grid{grid-template-columns:minmax(0,1fr)}}

/* Compact cards keep planning primary and all secondary actions together. */
.rwl .rwl-saved{margin-bottom:.6rem}
.rwl .rwl-saved-open{gap:.15rem;padding:.75rem .8rem .35rem;line-height:1.4}
.rwl .rwl-saved-open strong{font-size:1rem;line-height:1.35}
.rwl .rwl-saved-open>span:not(.rwl-saved-preview){font-size:.8rem;line-height:1.4}
.rwl .rwl-saved-open small{font-size:.75rem;line-height:1.4}
.rwl .rwl-saved-actions{justify-content:flex-start;gap:.15rem .6rem;padding:0 .8rem .5rem}
.rwl .rwl-saved-actions a,.rwl .rwl-saved-actions button{min-height:44px;min-width:44px;padding:.3rem .15rem;font-size:.8rem;line-height:1.4}
.rwl .rwl-saved-actions button[data-delete]{margin-left:auto}
.rwl-sidebar .rwl-help{margin-bottom:.6rem;font-size:.8rem;line-height:1.45}
/* One export chooser for saved workouts and the currently open draft. */
.rwl .rwl-saved-actions button[data-download-workout]{justify-content:center;min-width:44px;min-height:44px;padding:.3rem .15rem;border:0;border-radius:5px;background:none;color:var(--rwl-green);text-decoration:underline;line-height:1.4;flex:0 1 auto}
.rwl .rwl-saved-actions button[data-download-workout]:hover{background:#edf4ec}
.rwl-download-dialog{width:calc(100% - 32px);max-width:500px;max-height:calc(100vh - 32px);max-height:min(90dvh,calc(100dvh - 32px));margin:auto;padding:1.25rem;border:1px solid var(--rwl-line);border-radius:16px;background:#fff;color:var(--rwl-ink);box-shadow:0 20px 70px #15252c33;overflow-y:auto;overscroll-behavior:contain}
.rwl-download-dialog::backdrop{background:#15252c88}
.rwl-download-header{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-bottom:.65rem;min-width:0}
.rwl .rwl-download-header h2{font-size:1.3rem;margin:0;overflow-wrap:anywhere}
.rwl-download-header [data-download-close]{flex:0 0 auto;min-width:44px;min-height:44px}
.rwl .rwl-download-name{margin:0 0 1rem;font-size:1rem;font-weight:700;overflow-wrap:anywhere;line-height:1.45}
.rwl-download-dialog label{display:block;font-size:.9rem;font-weight:650;margin:1rem 0 .35rem}
.rwl-download-dialog select{width:100%;max-width:100%;min-width:0}
.rwl .rwl-download-help{font-size:.85rem;color:var(--rwl-muted);margin:.65rem 0 1rem;overflow-wrap:anywhere}
.rwl-download-status{margin:.75rem 0;font-size:.88rem;line-height:1.5;overflow-wrap:anywhere}
.rwl-download-status:empty{display:none}
.rwl-download-status.is-error{padding:.75rem;border:1px solid #e3ac99;border-radius:8px;background:#fff3ef;color:#872f21}
.rwl-download-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.rwl-download-actions button{min-width:0;min-height:44px;flex:1 1 auto}
@media(max-width:400px){.rwl-download-dialog{padding:1rem;border-radius:12px}.rwl .rwl-download-header h2{font-size:1.15rem}.rwl-download-dialog select{font-size:16px}.rwl-download-actions .rwl-primary{flex-basis:100%}}

/* The selected day opens above the calendar without adding a page-long agenda. */
html.rwc-day-dialog-open{overflow:hidden;scrollbar-gutter:stable}
.rwc-day-dialog{width:calc(100% - 32px);max-width:680px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:1.25rem;border:1px solid var(--rwl-line);border-radius:16px;background:#fff;color:var(--rwl-ink);box-shadow:0 20px 70px #15252c33;overflow-y:auto;overscroll-behavior:contain}
.rwc-day-dialog::backdrop{background:#15252c88}
.rwc-day-dialog-header{position:sticky;top:-1.25rem;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:-1.25rem -1.25rem .85rem;padding:.8rem 1.25rem;border-bottom:1px solid var(--rwl-line);background:#fff}
.rwl .rwc-day-dialog-title{margin:0;font-size:1.25rem;line-height:1.4;overflow-wrap:anywhere;text-transform:capitalize}
.rwc-day-dialog-header [data-calendar-action="close-day"]{flex:0 0 auto;min-width:44px;min-height:44px}
.rwc-day-dialog-nav{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;min-width:0}
.rwc-day-dialog-nav label{flex:1 1 auto;min-width:0;font-size:.82rem;font-weight:650}
.rwl .rwc-day-dialog-nav .rwc-day-date{width:100%;min-width:0;max-width:100%;font-size:1rem}
.rwc-day-dialog-nav button{flex:0 0 auto;min-width:44px;min-height:44px}
.rwc-day-dialog-content{min-width:0}
.rwc-day-dialog .rwc-compose{margin:0 0 1rem;scroll-margin-top:90px}
.rwc-day-dialog .rwc-agenda{margin-top:.75rem;padding-top:0;border-top:0;scroll-margin-top:90px}
.rwc-day-dialog .rwc-event-drag{display:none}
.rwl .rwc-day-loading{font-size:.85rem;color:var(--rwl-muted);margin:.5rem 0}
.rwl .rwc-global-feedback{font-size:.85rem;line-height:1.5;color:#344d40;margin:.6rem 0;overflow-wrap:anywhere}
.rwc-global-feedback:empty{display:none}
.rwc-global-feedback.is-error{padding:.8rem;border:1px solid #e3ac99;border-radius:8px;background:#fff3ef;color:#872f21}
.rwc-global-retry{margin-bottom:.8rem}
@media(max-width:760px){.rwc-day-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:1rem;border-radius:12px}.rwc-day-dialog-header{top:-1rem;margin:-1rem -1rem .75rem;padding:.65rem 1rem}.rwl .rwc-day-dialog-title{font-size:1.1rem}.rwc-day-dialog-nav{gap:.35rem}.rwl .rwc-day-dialog-nav .rwc-day-date{font-size:16px}.rwc-day-dialog .rwc-agenda-actions{width:100%;justify-content:space-between}}

/* ===== 1.6.0 — Phones plan in landscape only ===== */
/* View toggle exists for the landscape planner; the desktop month view is unchanged. */
.rwc-view-toggle{display:none}
.rwc-day-more-compact{display:none}
.rwc-day-event.is-pending{opacity:.6;background-image:repeating-linear-gradient(135deg,transparent 0 5px,#ffffff80 5px 10px)}
/* A narrow page that is not in strip mode (e.g. the planner suspended) keeps a month grid. */
@media(max-width:760px){
 .rwc:not(.rwc--strip) .rwc-month{display:block}.rwc:not(.rwc--strip) .rwc-week{display:none}
 html:not(.rwl-planner-mode) .rwl .rwc:not(.rwc--strip) .rwc-month .rwc-day{min-height:58px;align-items:stretch;padding:4px}
 html:not(.rwl-planner-mode) .rwc:not(.rwc--strip) .rwc-month .rwc-day-number{align-self:flex-start;font-size:.78rem;width:22px;height:22px}
 html:not(.rwl-planner-mode) .rwc:not(.rwc--strip) .rwc-month .rwc-day-items{flex-direction:column;max-height:none;justify-content:flex-start;margin-top:2px}
}
.rwp-rotate,.rwp-tray,.rwp-resume{display:none}
.rwp-toast[hidden],.rwp-resume[hidden]{display:none!important}

/* ---------- Portrait phones: rotate card and a denser page ---------- */
@keyframes rwp-rotate-phone{0%,18%{transform:rotate(0)}42%,72%{transform:rotate(-90deg)}92%,100%{transform:rotate(0)}}
@keyframes rwp-rotate-arrow{0%,18%{opacity:0}30%,60%{opacity:1}74%,100%{opacity:0}}
/* Only phones whose landscape view gets the planner (height <= 540px there)
   swap the calendar for the rotate card; tablets, foldables and narrow desktop
   windows keep their calendar. */
@media(max-width:540px) and (orientation:portrait) and (pointer:coarse){
 .rwl:not(.rwl-calendar-forced) .rwl-calendar{display:none!important}
 .rwl:not(.rwl-calendar-forced) .rwp-rotate{display:flex}
}
@media(max-width:760px) and (orientation:portrait){
 .rwp-rotate{order:0;align-items:center;gap:14px;width:100%;padding:14px 16px 16px;border-radius:14px;background:linear-gradient(135deg,var(--lb-dark-card,#192235) 0%,var(--lb-dark-surface,#0D1220) 100%);color:#fff;box-shadow:0 8px 24px rgba(7,9,15,.22);scroll-margin-top:85px;position:relative;overflow:hidden}
 .rwp-rotate:after{content:"";position:absolute;right:-30px;top:-40px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,var(--lb-orange-glow,rgba(255,77,0,.35)),transparent 70%);pointer-events:none}
 .rwp-rotate:before{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--lb-orange,#FF4D00),var(--lb-lime,#C8FF00));pointer-events:none}
 .rwp-rotate-icon{flex:0 0 56px;display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:var(--lb-orange,#FF4D00);color:#fff;box-shadow:0 6px 18px var(--lb-orange-glow,rgba(255,77,0,.35))}
 .rwp-rotate-phone{transform-origin:24px 23px;transform-box:view-box;animation:rwp-rotate-phone 3.6s cubic-bezier(.22,1,.36,1) infinite}
 .rwp-rotate-arrow{animation:rwp-rotate-arrow 3.6s ease infinite}
 .rwp-rotate-body{min-width:0;flex:1}
 .rwl .rwp-rotate h2{margin:0 0 2px;color:#fff;font-size:1.05rem;letter-spacing:.03em}
 .rwl .rwp-rotate p{margin:0;font-size:.82rem;line-height:1.45;color:#c9cfdb}
 .rwl .rwp-rotate .rwp-rotate-next{display:inline-block;margin-top:8px;max-width:100%;padding:3px 9px;border-radius:999px;background:var(--lb-lime,#C8FF00);color:var(--lb-dark-base,#07090F);font-size:.74rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .rwl .rwp-rotate .rwp-rotate-next[hidden]{display:none}
 .rwl .rwp-rotate-show{display:block;min-height:32px;margin-top:4px;padding:4px 0;border:0;background:none;color:#aab2c3;font-size:.74rem;text-decoration:underline;text-underline-offset:3px}
 .rwl .rwp-rotate-show:hover{color:#fff}
 .rwl .rwp-rotate-show:focus-visible{outline-color:var(--lb-lime,#C8FF00)}
 /* Jump links: one swipeable row of chips. */
 .rwl .rwl-view-links{flex-wrap:nowrap;gap:6px;margin:0 -16px .75rem;padding:0 16px 2px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
 .rwl .rwl-view-links::-webkit-scrollbar{display:none}
 .rwl .rwl-view-links a{flex:0 0 auto;min-height:40px;padding:0 13px;border:1px solid #c1d7c1;border-radius:999px;background:#eaf3e8;color:#0e493c;font-size:.78rem;font-weight:650;text-decoration:none;white-space:nowrap}
 .rwl .rwl-layout,.rwl .rwl-layout:has(.rwl-editor[hidden]){gap:.75rem}
 .rwl .rwl-panel,.rwl .rwl-calendar,.rwl .rwl-editor,.rwl-sidebar .rwl-panel{padding:.85rem}
 .rwl .rwc-header h2,.rwl-sidebar .rwl-heading h2,.rwl .rwl-editor>.rwl-heading h2{font-size:1.08rem}
 .rwl .rwl-heading,.rwl-sidebar .rwl-heading,.rwl .rwl-editor>.rwl-heading{margin-bottom:.5rem}
 .rwl .rwl-heading .rwl-text-button{font-size:.8rem;min-height:40px}
 .rwl .rwl-editor details>summary{min-height:40px;padding:.4rem 0;font-size:.9rem}
 /* Keep step titles clear of the absolute drag handle. The compact details
    rule above is for editor sections, not the draggable workout cards. */
 .rwl .rwl-editor .rwl-step>summary{min-height:64px;padding:.55rem .6rem .55rem 3rem}
 .rwl .rwl-editor .rwl-step>summary>.rwl-step-caption{margin-left:0;overflow-wrap:anywhere}
 /* Templates: two dense columns. */
 .rwl .rwl-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:.35rem 0}
 .rwl .rwl-template{gap:.1rem;padding:.5rem .55rem;border-radius:8px;font-size:.8rem;line-height:1.3}
 .rwl .rwl-template small{font-size:.6rem}
 .rwl .rwl-template strong{font-size:.82rem}
 .rwl .rwl-template span{font-size:.68rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 /* Saved workouts and routes: compact rows. */
 .rwl .rwl-saved{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:.45rem;border-radius:10px}
 .rwl .rwl-saved-open{flex:1 1 100%;gap:.05rem;padding:.55rem .7rem .15rem}
 .rwl .rwl-saved-open strong{font-size:.92rem}
 .rwl .rwl-saved-open>span:not(.rwl-saved-preview){font-size:.72rem}
 .rwl .rwl-saved-open small{display:none}
 .rwl .rwl-saved-preview{height:6px;margin:.2rem 0 .05rem}
 .rwl .rwl-saved .rwl-schedule-actions{flex:0 0 auto;padding:.1rem .2rem .4rem .7rem}
 .rwl .rwl-schedule-actions .rwl-button{width:auto;min-height:40px;padding:.3rem .7rem;font-size:.78rem}
 .rwl .rwl-saved .rwl-saved-actions{flex:1 1 0;justify-content:flex-end;gap:0 .55rem;padding:.1rem .65rem .4rem 0}
 .rwl .rwl-saved .rwl-saved-actions a,.rwl .rwl-saved .rwl-saved-actions button{min-height:40px;min-width:0;font-size:.74rem}
 .rwl .rwl-saved-actions button[data-delete]{margin-left:0}
 .rwl .rwl-route-summary{flex:1 1 100%;padding:.55rem .7rem .15rem}
 .rwl .rwl-route-summary strong{font-size:.92rem}
 .rwl .rwl-route-summary span{font-size:.72rem}
 .rwl .rwl-saved-route .rwl-route-actions{flex:1 1 100%;padding:.15rem .7rem .4rem}
 .rwl .rwl-saved-route .rwl-schedule-actions .rwl-button{flex:0 0 auto}
 .rwl .rwl-route-open{min-height:40px;font-size:.74rem}
 .rwl-sidebar .rwl-help{font-size:.74rem;margin-bottom:.4rem}
}
@media(max-width:760px) and (orientation:portrait) and (prefers-reduced-motion:reduce){.rwp-rotate-phone{animation:none;transform:rotate(-90deg)}.rwp-rotate-arrow{animation:none}}

/* ---------- Landscape phones: focus-mode planner (1.6.2) ----------
   The site header and bottom nav give way to one compact planner toolbar.
   The calendar section becomes display:contents, so its toolbar spans the
   whole width while the month/week grid and the tray share the row below. */
.rwp-brand,.rwp-menu-wrap,.rwc-day-wd,.rwc-day-dots,.rwp-sheet:not([open]){display:none}
html.rwl-planner-mode{--lb-header-height:0px;--rwp-bar:36px;--rwp-gap:4px;--rwp-navy:var(--lb-dark-card,#192235);--rwp-navy-2:var(--lb-dark-surface,#0D1220);--rwp-orange:var(--lb-orange,#FF4D00);--rwp-lime:var(--lb-lime,#C8FF00);--rwp-ink:#15252c;--rwp-line:#dfe6e3;margin-top:0!important;overflow:hidden;overscroll-behavior:none}
html.rwl-planner-mode body{padding:0!important;margin:0;overflow:hidden}
html.rwl-planner-mode #site-header,html.rwl-planner-mode .lb-header,html.rwl-planner-mode #wpadminbar,html.rwl-planner-mode .lb-mobile-tabs,html.rwl-planner-mode .lb-footer,html.rwl-planner-mode .lb-ad-slot,html.rwl-planner-mode .lb-account-intro,html.rwl-planner-mode .lb-account-nav,
html.rwl-planner-mode .rwl .rwl-view-links,html.rwl-planner-mode .rwl .rwl-editor,html.rwl-planner-mode .rwl .rwl-sidebar,html.rwl-planner-mode .rwl .rwl-resize-handle,html.rwl-planner-mode .rwl-layout-controls,
html.rwl-planner-mode .rwl .rwc-header,html.rwl-planner-mode .rwl .rwc-legend,html.rwl-planner-mode .rwl .rwc-warnings,html.rwl-planner-mode .rwl .rwc-week{display:none!important}
html.rwl-planner-mode .lb-main--workout-library{min-height:0;margin:0;padding:0}
html.rwl-planner-mode .lb-workout-library-section{max-width:none;margin:0;padding:0!important}
html.rwl-planner-mode .lb-account-view{margin:0!important}
html.rwl-planner-mode .lb-account-view:focus-visible{outline:none}
html.rwl-planner-mode .rwl .rwl-layout,html.rwl-planner-mode .rwl .rwl-layout:has(.rwl-editor[hidden]){position:relative;display:grid;grid-template-columns:minmax(0,1fr) clamp(210px,30%,280px);grid-template-rows:var(--rwp-bar) minmax(0,1fr);grid-template-areas:"bar bar" "calendar tray";gap:var(--rwp-gap);align-items:stretch;height:100vh;height:100dvh;padding:0 max(var(--rwp-gap),env(safe-area-inset-right)) max(var(--rwp-gap),env(safe-area-inset-bottom)) max(var(--rwp-gap),env(safe-area-inset-left))}
@media(max-width:699px){html.rwl-planner-mode .rwl .rwl-layout,html.rwl-planner-mode .rwl .rwl-layout:has(.rwl-editor[hidden]){grid-template-columns:minmax(0,1fr) clamp(176px,27%,260px)}}
html.rwl-planner-mode .rwl .rwl-calendar{display:contents}
html.rwl-planner-mode .rwl .rwl-calendar>p{grid-area:calendar;margin:0;padding:12px;font-size:13px}
html.rwl-planner-mode .rwl .rwc-load-note{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
html.rwl-planner-mode .rwc-period-year{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* Toolbar: brand, ‹ I dag ›, period, Uge/Måned and ⋯ on one dark row. */
html.rwl-planner-mode .rwl .rwc-toolbar{grid-area:bar;position:relative;z-index:5;display:flex;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;height:var(--rwp-bar);margin:0 calc(-1 * max(var(--rwp-gap),env(safe-area-inset-right))) 0 calc(-1 * max(var(--rwp-gap),env(safe-area-inset-left)));padding:0 max(8px,env(safe-area-inset-right)) 2px max(10px,env(safe-area-inset-left));background:linear-gradient(180deg,var(--rwp-navy),var(--rwp-navy-2));color:#fff}
html.rwl-planner-mode .rwl .rwc-toolbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,var(--rwp-orange),var(--rwp-lime));pointer-events:none}
html.rwl-planner-mode .rwp-brand{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;margin-right:2px;color:#fff;font-family:var(--lb-font-display,'Oswald',sans-serif);font-size:.8rem;font-weight:600;letter-spacing:.07em;line-height:1;text-transform:uppercase;white-space:nowrap}
.rwp-brand-mark{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:var(--rwp-orange);color:#fff;box-shadow:0 2px 8px rgba(255,77,0,.35)}
.rwp-brand-mark svg{width:16px;height:16px}
.rwp-brand-mark--logo{width:auto;height:26px;background:none;border-radius:0;box-shadow:none}
.rwp-brand-mark--logo img{display:block;width:auto;height:26px;max-width:72px;object-fit:contain}
html.rwl-planner-mode .rwl .rwc-nav{display:flex;flex:0 0 auto;gap:3px}
html.rwl-planner-mode .rwl .rwc-nav button,html.rwl-planner-mode .rwl .rwp-menu-button{position:relative;display:inline-grid;place-items:center;min-width:30px;min-height:28px;height:28px;padding:0 9px;border:0;border-radius:7px;background:rgba(255,255,255,.09);color:#fff;font-size:.78rem;font-weight:650;line-height:1}
html.rwl-planner-mode .rwl .rwc-nav [data-calendar-action="previous"],html.rwl-planner-mode .rwl .rwc-nav [data-calendar-action="next"]{padding:0;font-size:1.15rem;font-weight:500}
html.rwl-planner-mode .rwl .rwc-nav button::before,html.rwl-planner-mode .rwl .rwp-menu-button::before,html.rwl-planner-mode .rwl .rwc-view-toggle button::before{content:"";position:absolute;inset:-6px -1px}
html.rwl-planner-mode .rwl .rwc-nav button:hover,html.rwl-planner-mode .rwl .rwp-menu-button:hover{background:rgba(255,255,255,.17)}
html.rwl-planner-mode .rwl .rwc-nav button:disabled{opacity:.35}
html.rwl-planner-mode .rwl .rwc-nav button.is-drop-hover{background:var(--rwp-lime);color:var(--rwp-navy-2)}
html.rwl-planner-mode .rwl .rwc-toolbar button:focus-visible{outline:2px solid var(--rwp-lime);outline-offset:1px}
html.rwl-planner-mode .rwl .rwc-period{flex:1 0 auto;min-width:0;margin:0 0 0 3px;overflow:visible;color:#fff;font-family:var(--lb-font-display,'Oswald',sans-serif);font-size:clamp(.84rem,2.3vw,1rem);font-weight:600;letter-spacing:.05em;line-height:1;text-transform:uppercase;white-space:nowrap}
html.rwl-planner-mode .rwl .rwc-view-toggle{display:flex;flex:0 0 auto;padding:2px;border-radius:8px;background:rgba(255,255,255,.09)}
html.rwl-planner-mode .rwl .rwc-view-toggle button{position:relative;min-width:0;min-height:24px;height:24px;padding:0 10px;border:0;border-radius:6px;background:none;color:rgba(255,255,255,.72);font-size:.72rem;font-weight:700;line-height:1}
html.rwl-planner-mode .rwl .rwc-view-toggle button[aria-pressed="true"]{background:var(--rwp-orange);color:#fff;box-shadow:0 1px 6px rgba(255,77,0,.4)}
html.rwl-planner-mode .rwp-menu-wrap{position:relative;display:block;flex:0 0 auto}
html.rwl-planner-mode .rwl .rwp-menu-button{width:32px;padding:0;font-size:1.15rem;letter-spacing:.05em}
html.rwl-planner-mode .rwl .rwp-menu-button[aria-expanded="true"]{background:rgba(255,255,255,.22)}
.rwp-menu{position:absolute;top:calc(100% + 7px);right:0;z-index:30;min-width:210px;padding:4px;border:1px solid var(--rwl-line);border-radius:10px;background:#fff;color:var(--rwp-ink);box-shadow:0 14px 34px rgba(7,9,15,.35);animation:rwp-pop .14s ease-out}
.rwl .rwp-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:0 10px;border:0;border-radius:7px;background:none;color:var(--rwp-ink);font-size:.82rem;font-weight:600;line-height:1.2;text-align:left;white-space:nowrap}
.rwl .rwp-menu button span{width:16px;color:var(--rwp-orange);font-size:.95rem;text-align:center}
.rwl .rwp-menu button:hover,.rwl .rwp-menu button:focus-visible{background:#f0f4f2;outline:none}
.rwl .rwp-menu button:focus-visible{box-shadow:inset 0 0 0 2px #247f9c}
@keyframes rwp-pop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* Errors from the calendar float over its bottom edge. */
html.rwl-planner-mode .rwl .rwc-global-feedback,html.rwl-planner-mode .rwl .rwc-global-retry{grid-area:calendar;position:absolute;left:8px;right:8px;bottom:8px;z-index:6;margin:0;padding:.45rem .7rem;border-radius:9px;background:var(--rwp-navy-2);color:#fff;font-size:.74rem;box-shadow:0 6px 18px #15252c40}
html.rwl-planner-mode .rwl .rwc-global-feedback:not(.is-error){display:none}
html.rwl-planner-mode .rwl .rwc-global-feedback.is-error{background:#fff3ef;color:#872f21}
html.rwl-planner-mode .rwl .rwc-global-feedback p{margin:0}
html.rwl-planner-mode .rwl .rwc-global-retry{left:auto;right:14px;bottom:12px;min-height:30px;padding:.2rem .7rem;background:#fff;color:var(--rwl-ink)}

/* Calendar card */
html.rwl-planner-mode .rwc .rwc-month{grid-area:calendar;display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;padding:2px;border:1px solid var(--rwp-line);border-radius:10px;background:#fff;overflow:hidden}
html.rwl-planner-mode .rwl .rwc-weekdays{gap:2px;margin:0 0 1px;font-size:.55rem;font-weight:700;letter-spacing:.07em;line-height:10px;text-transform:uppercase;color:#71838a}
html.rwl-planner-mode .rwc .rwc-month-grid{flex:1 1 auto;min-height:0;grid-auto-rows:minmax(0,1fr);gap:1px}
html.rwl-planner-mode .rwl .rwc-month .rwc-day{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:1px;min-width:0;min-height:0;padding:1px 2px;border:1px solid #e7ece9;border-radius:6px;background:#fbfcfb;color:var(--rwp-ink);overflow:hidden;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
html.rwl-planner-mode .rwl .rwc-month .rwc-day.is-selected{padding:1px 2px;border:1px solid #e7ece9;background:#fbfcfb;box-shadow:none}
html.rwl-planner-mode .rwl .rwc-month .rwc-day.is-outside{background:#f4f6f5;color:#8b9a94}
html.rwl-planner-mode .rwl .rwc-month .rwc-day.is-today{border-color:rgba(255,77,0,.45);background:#fff8f3}
html.rwl-planner-mode .rwl .rwc-month .rwc-day:focus-visible{outline:2px solid #247f9c;outline-offset:-1px}
html.rwl-planner-mode .rwl .rwc-month .rwc-day.is-drop-target{padding:0 1px;border:2px dashed var(--rwl-green);background:#effcc2;transform:scale(1.02);transition:transform .12s}
html.rwl-planner-choosing .rwl .rwc-month .rwc-day:not(:disabled){border-style:dashed;border-color:#7da36a}
html.rwl-planner-choosing .rwl .rwc-month .rwc-day:not(:disabled):hover{background:#f3fbd3}
html.rwl-planner-mode .rwc-day-event{--rwc-ink:#1d2f36;color:var(--rwc-ink);font-family:var(--lb-font-display,'Oswald','Arial Narrow',sans-serif);letter-spacing:.015em}
html.rwl-planner-mode .rwc-month .rwc-day-event[data-rwc-occurrence]{cursor:grab;touch-action:pan-y}
html.rwl-planner-mode .rwc-month .rwc-day-event.is-pressed{box-shadow:0 0 0 2px var(--rwp-lime)}
html.rwl-planner-mode .rwc-month .rwc-day-event.is-drag-source{opacity:.35}
/* Month: small date, single-line chips that fit completely, then "+n";
   cells too short for one chip show colored bars and the count. */
html.rwl-planner-mode .rwc-month:not(.is-week) .rwc-day-number{flex:0 0 auto;align-self:flex-start;justify-content:flex-start;width:auto;min-width:15px;height:12px;padding:0 3px;border-radius:6px;font-size:.62rem;font-weight:700;line-height:12px}
html.rwl-planner-mode .rwc-month:not(.is-week) .rwc-day.is-today .rwc-day-number{justify-content:center;background:var(--rwp-orange);color:#fff}
html.rwl-planner-mode .rwc-month:not(.is-week) .rwc-day-items{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;gap:2px;min-height:0;max-height:none;margin:0;overflow:hidden}
html.rwl-planner-mode .rwc-month:not(.is-week) .rwc-day-event{flex:0 0 auto;min-width:0;height:14px;padding:0 2px 0 3px;border-left-width:2px;border-radius:3px;font-size:11px;font-weight:500;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.rwl-planner-mode .rwc-month:not(.is-week) .rwc-day-more,html.rwl-planner-mode .rwc-month .rwc-day-more-compact{position:absolute;top:2px;right:2px;padding:0 4px;border-radius:7px;background:#e6ece9;color:var(--rwp-ink);font-size:.58rem;font-weight:700;line-height:14px}
html.rwl-planner-mode .rwc-month .rwc-day.is-dots .rwc-day-fit{background:none;color:#50636b;padding:0 2px}
html.rwl-planner-mode .rwc-month .rwc-day.is-dots .rwc-day-items{display:none}
html.rwl-planner-mode .rwc-month .rwc-day.is-dots .rwc-day-dots{display:flex;gap:2px;margin-top:auto;padding:0 1px 1px}
html.rwl-planner-mode .rwc-day-dots .rwc-dot{flex:0 1 9px;width:auto;height:4px;border-radius:2px}
html.rwl-planner-mode .rwc-day-more-word{display:none}
/* Week: one tall column per day with a one-line "Man 26" head; full, never
   hyphenated titles (three lines at most), scrolling inside the column. */
html.rwl-planner-mode .rwc-month.is-week .rwc-weekdays{display:none}
html.rwl-planner-mode .rwc .rwc-month.is-week .rwc-month-grid{grid-template-rows:minmax(0,1fr);grid-auto-rows:minmax(0,1fr);gap:2px;overflow:hidden}
html.rwl-planner-mode .rwl .rwc-month.is-week .rwc-day,html.rwl-planner-mode .rwl .rwc-month.is-week .rwc-day.is-selected{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:22px minmax(0,1fr);align-items:center;gap:0;padding:0;overflow:hidden}
html.rwl-planner-mode .rwl .rwc-month.is-week .rwc-day.is-drop-target{padding:0;border-width:2px}
html.rwl-planner-mode .rwc-month.is-week .rwc-day-wd{display:block;grid-area:1/1;padding:0 0 0 5px;color:#5f7178;font-size:11px;font-weight:600;line-height:1;white-space:nowrap}
html.rwl-planner-mode .rwc-month.is-week .rwc-day-number{grid-area:1/2;display:block;align-self:center;justify-self:start;width:auto;height:auto;margin:0 0 0 4px;padding:0;border-radius:0;background:none!important;color:var(--rwp-ink);font-size:12px;font-weight:700;line-height:1}
html.rwl-planner-mode .rwc-month.is-week .rwc-day.is-today .rwc-day-wd,html.rwl-planner-mode .rwc-month.is-week .rwc-day.is-today .rwc-day-number{color:var(--rwp-orange)}
html.rwl-planner-mode .rwc-month.is-week .rwc-day.is-today::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--rwp-orange)}
html.rwl-planner-mode .rwc-month.is-week .rwc-day-items{grid-area:2/1/3/3;align-self:stretch;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;gap:3px;min-height:0;max-height:none;margin:0;padding:2px;border-top:1px solid #edf1ef;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
html.rwl-planner-mode .rwc-month.is-week .rwc-day-items::-webkit-scrollbar{display:none}
html.rwl-planner-mode .rwc-month.is-week .rwc-day-event{flex:0 0 auto;min-width:0;max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;padding:2px 1px 2px 3px;border-left-width:2px;border-radius:3px;font-size:11.5px;font-weight:500;letter-spacing:-.01em;line-height:1.25;white-space:normal;text-overflow:clip;-webkit-hyphens:auto;hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:6 3 3;word-break:normal;overflow-wrap:break-word}
html.rwl-planner-mode .rwc-month.is-week .rwc-day-event b{font-weight:600;color:var(--rwc-source,#0e493c)}
html.rwl-planner-mode .rwc-month.is-week .rwc-day-more{display:none}

/* Tray: Pas | Ruter, compact cards, one "＋ Nyt pas" at the bottom. */
html.rwl-planner-mode .rwp-tray{grid-area:tray;position:relative;display:flex;flex-direction:column;gap:3px;min-width:0;min-height:0;padding:3px;border:1px solid var(--rwp-line);border-radius:10px;background:#f6f8f7}
.rwp-tabs{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:2px;border-radius:8px;background:#e3e9e6}
.rwl .rwp-tabs button{position:relative;min-height:25px;height:25px;padding:0 6px;border:0;border-radius:6px;background:none;color:#50636b;font-family:var(--lb-font-display,'Oswald',sans-serif);font-size:.76rem;font-weight:600;letter-spacing:.06em;line-height:1;text-transform:uppercase}
.rwl .rwp-tabs button::before{content:"";position:absolute;inset:-6px 0 -3px}
.rwl .rwp-tabs button[aria-selected="true"]{background:#fff;color:var(--rwl-green);box-shadow:0 1px 3px rgba(21,37,44,.18)}
.rwp-count{display:inline-block;min-width:16px;margin-left:4px;padding:0 4px;border-radius:999px;background:#d3ddd8;color:var(--rwl-ink);font-family:var(--lb-font-body,Inter,sans-serif);font-size:.62rem;font-weight:700;line-height:15px;letter-spacing:0;vertical-align:1px}
.rwp-tabs button[aria-selected="true"] .rwp-count{background:var(--rwl-green);color:#fff}
.rwp-hint{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rwp-banner[hidden]{display:none!important}
.rwp-banner{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:3px;padding:4px 3px 3px 8px;border-radius:8px;background:var(--rwp-lime,#C8FF00);color:var(--rwp-navy-2,#0D1220);font-size:11px;line-height:1.25}
.rwp-banner-text{flex:1 1 100%;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.rwp-banner-text b{font-weight:800}
.rwl .rwp-banner button{flex:0 0 auto;min-height:26px;padding:0 7px;border:0;border-radius:6px;background:var(--rwp-navy-2,#0D1220);color:#fff;font-size:10.5px;font-weight:700}
.rwl .rwp-banner .rwp-banner-edit{background:rgba(13,18,32,.12);color:var(--rwp-navy-2,#0D1220)}
.rwp-list{flex:1 1 auto;min-height:0;margin:0;padding:0 1px 2px;list-style:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.rwp-list>li{margin:0 0 3px}
.rwl .rwp-card{--rwc-source:#0e493c;display:flex;align-items:stretch;width:100%;min-height:32px;padding:0;border:1px solid var(--rwp-line,#dfe6e3);border-left:3px solid var(--rwc-source);border-radius:8px;background:#fff;color:var(--rwl-ink);text-align:left;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-y;transition:box-shadow .15s,transform .15s,background .15s}
.rwl .rwp-card[data-source="route"]{--rwc-source:#51783c}
.rwl .rwp-card:hover{border-color:#a9c1b3;border-left-color:var(--rwc-source)}
.rwl .rwp-card.is-pressed{transform:scale(.98);box-shadow:0 0 0 2px var(--rwp-lime,#C8FF00)}
.rwl .rwp-card.is-drag-source{opacity:.4}
.rwl .rwp-card[aria-pressed="true"]{background:#f6ffd9;border-color:var(--rwl-green);box-shadow:0 0 0 2px var(--rwp-lime,#C8FF00)}
.rwl .rwp-card.is-new{animation:rwp-new 2.6s ease-out}
@keyframes rwp-new{0%,55%{background:#f2ffc9;box-shadow:0 0 0 2px var(--rwp-lime,#C8FF00)}100%{background:#fff;box-shadow:0 0 0 0 transparent}}
.rwp-card-body{display:flex;flex:1;flex-direction:column;justify-content:center;gap:3px;min-width:0;padding:4px 2px 4px 8px}
.rwp-card-line{display:flex;align-items:baseline;min-width:0;white-space:nowrap}
.rwp-card-body strong{flex:0 1 auto;min-width:0;overflow:hidden;font-size:13px;font-weight:600;line-height:17px;white-space:nowrap;text-overflow:ellipsis}
.rwp-meta{flex:0 0 auto;padding-left:1px;color:#62747b;font-size:11px;line-height:17px;white-space:nowrap}
.rwp-zones{display:flex;gap:1px;height:2px;margin-top:0;overflow:hidden;border-radius:2px;background:#e6edeb}
.rwp-zones i{display:block;min-width:0;flex-basis:0}
.rwp-grip{flex:0 0 24px;display:grid;place-items:center;border-left:1px solid #eef2f0;color:#9aaba3;font-size:.95rem;touch-action:none;cursor:grab}
.rwl .rwp-card:active .rwp-grip{cursor:grabbing}
.rwl .rwp-more{display:flex;align-items:center;justify-content:center;width:100%;min-height:32px;border:1px solid #d3ddd8;border-radius:8px;background:#fff;color:var(--rwl-green);font-size:11.5px;font-weight:700}
.rwp-empty{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px;border:1px dashed #c9d6cf;border-radius:8px;background:#fff;color:var(--rwl-muted);font-size:11.5px;line-height:1.35}
.rwp-empty strong{color:var(--rwl-ink);font-size:12.5px}
.rwl .rwp-empty-new{min-height:30px;margin-top:2px;padding:0 12px;border:0;border-radius:7px;background:var(--rwl-green);color:#fff;font-size:12px;font-weight:700}
.rwp-tray-footer{flex:0 0 auto;display:flex}
.rwl .rwp-new,.rwl .rwp-new-route{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;height:30px;border:0;border-radius:8px;background:var(--rwl-green);color:#fff!important;font-size:12px;font-weight:700;line-height:1;text-decoration:none!important}
.rwl .rwp-new:hover,.rwl .rwp-new-route:hover{background:#17624f}
.rwl .rwp-new::before,.rwl .rwp-new-route::before{content:"";position:absolute;inset:-4px 0}
.rwl .rwp-new span,.rwl .rwp-new-route span{font-size:13px}

/* Drag ghost and floating toast */
.rwp-ghost{--rwc-source:#0e493c;position:fixed;left:0;top:0;z-index:10050;display:flex;flex-direction:column;max-width:210px;padding:6px 11px 7px;border-left:4px solid var(--rwc-source);border-radius:10px;background:#15252c;color:#fff;font:600 .76rem/1.3 var(--lb-font-body,Inter,sans-serif);box-shadow:0 12px 28px #0006;pointer-events:none;will-change:transform}
.rwp-ghost[data-source="route"]{--rwc-source:#8fbf6a}.rwp-ghost[data-source="note"]{--rwc-source:#5aa7d3}.rwp-ghost[data-source="workout"]{--rwc-source:#d8f36a}
.rwp-ghost strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rwp-ghost span{font-size:.66rem;font-weight:500;color:#b9cbc3}
.rwp-ghost.is-valid{background:#0e493c;box-shadow:0 12px 28px #0006,0 0 0 2px #d8f36a}
.rwp-ghost.is-valid span{color:#d8f36a}
.rwp-ghost.is-cancelled{opacity:0;transition:transform .2s ease,opacity .2s ease}
html.rwl-planner-dragging,html.rwl-planner-dragging *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}
.rwp-toast{display:none}
html.rwl-planner-mode .rwp-toast{grid-area:calendar;position:absolute;left:8px;right:8px;bottom:8px;z-index:6;display:flex;align-items:center;gap:0;width:fit-content;max-width:calc(100% - 16px);min-height:36px;margin:0 auto;padding:0 2px 0 12px;border-radius:10px;background:var(--rwp-navy-2);color:#fff;font-size:12px;line-height:1.3;box-shadow:0 10px 28px rgba(7,9,15,.38);animation:rwp-toast-in .2s cubic-bezier(.22,1,.36,1)}
html.rwl-planner-dragging .rwp-toast{pointer-events:none;opacity:.35}
html.rwl-planner-mode .rwp-toast.is-error{background:#872f21}
.rwp-toast-text{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rwp-toast.is-error .rwp-toast-text{padding:4px 0;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.rwl .rwp-toast button{flex:0 0 auto;min-height:36px;padding:0 9px;border:0;border-radius:8px;background:none;color:var(--rwp-lime);font-size:12px;font-weight:700;white-space:nowrap}
.rwl .rwp-toast button:hover{background:#ffffff14}
.rwl .rwp-toast .rwp-toast-close{min-width:32px;padding:0;color:#aab3c2;font-size:1.05rem}
.rwp-toast[hidden],.rwp-resume[hidden]{display:none!important}
@keyframes rwp-toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Day panel: the existing day dialog as a compact side sheet. */
html.rwl-planner-mode .rwc-day-dialog{position:fixed;inset:0 0 0 auto;width:min(48%,440px);min-width:min(340px,100%);height:100%;max-width:none;max-height:none;margin:0 0 0 auto;padding:0;border:0;border-radius:14px 0 0 14px;background:linear-gradient(90deg,var(--rwp-orange),var(--rwp-lime)) 0 36px/100% 2px no-repeat,linear-gradient(180deg,var(--rwp-navy),var(--rwp-navy-2)) 0 0/100% 38px no-repeat,#fff;box-shadow:-14px 0 40px rgba(7,9,15,.3);overflow:hidden;overflow:clip}
html.rwl-planner-mode .rwc-day-dialog[open]{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-rows:38px minmax(0,1fr);align-items:center;animation:rwp-side-in .22s cubic-bezier(.22,1,.36,1)}
html.rwl-planner-mode .rwc-day-dialog::backdrop{background:rgba(13,18,32,.38)}
@keyframes rwp-side-in{from{transform:translateX(24px);opacity:.4}to{transform:none;opacity:1}}
html.rwl-planner-mode .rwc-day-dialog-header,html.rwl-planner-mode .rwc-day-dialog-nav{display:contents}
html.rwl-planner-mode .rwc-day-dialog-nav label{display:none}
html.rwl-planner-mode .rwc-day-dialog [data-calendar-action="previous-day"]{grid-area:1/1;margin-left:8px}
html.rwl-planner-mode .rwl .rwc-day-dialog-title{grid-area:1/2;min-width:0;margin:0 6px;overflow:hidden;color:#fff;font-family:var(--lb-font-display,'Oswald',sans-serif);font-size:.84rem;font-weight:600;letter-spacing:.03em;line-height:1.2;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
html.rwl-planner-mode .rwc-day-dialog [data-calendar-action="next-day"]{grid-area:1/3}
html.rwl-planner-mode .rwc-day-dialog [data-calendar-action="close-day"]{grid-area:1/4;margin:0 max(8px,env(safe-area-inset-right)) 0 4px}
html.rwl-planner-mode .rwl .rwc-day-dialog [data-calendar-action="previous-day"],html.rwl-planner-mode .rwl .rwc-day-dialog [data-calendar-action="next-day"],html.rwl-planner-mode .rwl .rwc-day-dialog [data-calendar-action="close-day"]{min-width:30px;min-height:28px;height:28px;padding:0 9px;border:0;border-radius:7px;background:rgba(255,255,255,.1);color:#fff;font-size:.78rem;font-weight:650;line-height:1;text-decoration:none}
html.rwl-planner-mode .rwl .rwc-day-dialog [data-calendar-action="previous-day"],html.rwl-planner-mode .rwl .rwc-day-dialog [data-calendar-action="next-day"]{padding:0;font-size:1.1rem}
html.rwl-planner-mode .rwc-day-dialog-content{grid-area:2/1/3/5;align-self:stretch;min-height:0;padding:8px max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) 10px;overflow-y:auto;overscroll-behavior:contain}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-footer{display:none}
html.rwl-planner-mode .rwc-day-dialog .rwc-agenda{margin:0;padding:0;border:0}
html.rwl-planner-mode .rwc-day-dialog .rwc-agenda-header{margin:0 0 6px;gap:4px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-agenda-date{color:#71838a;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
html.rwl-planner-mode .rwc-day-dialog .rwc-agenda-actions{width:auto;gap:4px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-agenda-actions .rwl-text-button{min-height:28px;padding:0 9px;border:1px solid #c9dccd;border-radius:7px;background:#eef5ef;color:var(--rwl-green);font-size:11.5px;font-weight:650;text-decoration:none}
html.rwl-planner-mode .rwc-day-dialog .rwc-agenda-list{gap:6px}
html.rwl-planner-mode .rwc-day-dialog .rwc-event{padding:6px 8px 7px;border-left-width:3px;border-radius:8px}
html.rwl-planner-mode .rwc-day-dialog .rwc-event-meta{gap:6px;margin:0 0 1px;font-size:10.5px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-event-title{font-family:var(--lb-font-body,Inter,sans-serif);font-size:13.5px;font-weight:700;letter-spacing:0;line-height:1.3;text-transform:none;-webkit-hyphens:none;hyphens:none;overflow-wrap:break-word}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-event-description{margin:2px 0 0;font-size:11.5px;line-height:1.4}
html.rwl-planner-mode .rwc-day-dialog .rwc-event-actions{gap:4px;margin-top:5px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-event-actions button,html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-event-actions a{flex:0 0 auto;min-height:28px;padding:0 8px;border:1px solid #d1ddd1;border-radius:7px;background:#fff;font-size:11px;font-weight:600;text-decoration:none}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-empty{padding:8px 10px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose{margin:0 0 8px;padding:8px 10px;border-radius:8px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose-title{font-size:13px;margin:0 0 2px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose-help,html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose .rwl-help{font-size:11px;line-height:1.35;margin:0}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose label{margin:6px 0 2px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose input,html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose textarea{min-height:34px;padding:4px 8px;font-size:16px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose textarea{min-height:56px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose-actions{gap:6px;margin-top:8px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-compose-actions button{min-height:32px;padding:0 12px;font-size:12px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-feedback{margin:4px 0;font-size:11.5px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-feedback.is-error{padding:6px 8px}
html.rwl-planner-mode .rwl .rwc-day-dialog .rwc-day-loading{margin:0 0 4px;font-size:11px}
/* Other dialogs stay readable on a 260px-tall screen. */
html.rwl-planner-mode .rwc-subscription-dialog,html.rwl-planner-mode .rwl-download-dialog{max-height:calc(100dvh - 16px);padding:12px 16px;border-radius:12px}
html.rwl-planner-mode .rwc-subscription-header{margin-bottom:.4rem}
html.rwl-planner-mode .rwl .rwc-subscription-header h2{font-size:1rem}
html.rwl-planner-mode .rwl .rwc-subscription-header button{min-height:32px}
html.rwl-planner-mode .rwl .rwc-subscription-dialog p{margin-bottom:.45rem;font-size:.78rem;line-height:1.45}
html.rwl-planner-mode .rwl .rwc-subscription-dialog .rwc-subscription-label{margin:.6rem 0 .35rem}
html.rwl-planner-mode .rwc-subscription-actions{gap:.35rem;margin-bottom:.6rem}
html.rwl-planner-mode .rwl .rwc-subscription-actions .rwl-button{min-height:38px;padding:.4rem .75rem;font-size:.82rem}

/* Editor sheet: the page's own editor, full screen, two columns where it fits. */
html.rwl-planner-mode .rwp-sheet[open]{position:fixed;inset:0;display:flex;flex-direction:column;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#f4f6f5;color:var(--rwp-ink);overflow:hidden;overflow:clip;animation:rwp-sheet-in .2s cubic-bezier(.22,1,.36,1)}
html.rwl-planner-mode .rwp-sheet::backdrop{background:var(--rwp-navy-2)}
@keyframes rwp-sheet-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.rwp-sheet-bar{position:relative;flex:0 0 36px;display:flex;align-items:center;gap:6px;padding:0 max(8px,env(safe-area-inset-right)) 2px max(10px,env(safe-area-inset-left));background:linear-gradient(180deg,var(--rwp-navy),var(--rwp-navy-2));color:#fff}
.rwp-sheet-bar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,var(--rwp-orange),var(--rwp-lime))}
.rwl .rwp-sheet-title{flex:1;min-width:0;margin:0;overflow:hidden;color:#fff;font-family:var(--lb-font-display,'Oswald',sans-serif);font-size:.95rem;font-weight:600;letter-spacing:.05em;line-height:1.2;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.rwl .rwp-sheet-title:focus{outline:none}
.rwl .rwp-sheet-title:focus-visible{outline:2px solid var(--rwp-lime);outline-offset:2px}
.rwl .rwp-sheet-cancel,.rwl .rwp-sheet-save{position:relative;flex:0 0 auto;min-height:28px;height:28px;padding:0 11px;border:0;border-radius:7px;background:rgba(255,255,255,.1);color:#fff;font-size:.78rem;font-weight:650;line-height:1}
.rwl .rwp-sheet-cancel{display:grid;place-items:center;width:30px;padding:0;margin-right:2px;font-size:.95rem}
.rwl .rwp-sheet-save{padding:0 15px;background:var(--rwp-orange);font-weight:700;box-shadow:0 2px 10px rgba(255,77,0,.35)}
.rwl .rwp-sheet-cancel::before,.rwl .rwp-sheet-save::before{content:"";position:absolute;inset:-6px -2px}
.rwl .rwp-sheet-bar button:focus-visible{outline:2px solid var(--rwp-lime);outline-offset:1px}
.rwp-sheet-bar .rwl-actions{display:flex;flex:0 0 auto;gap:4px;margin-right:4px}
.rwl .rwp-sheet-bar .rwl-actions button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;min-width:0;min-height:28px;height:28px;padding:0;border:0;border-radius:7px;background:rgba(255,255,255,.1);color:transparent;font-size:0;line-height:1;text-decoration:none;overflow:visible}
.rwl .rwp-sheet-bar #rwlUndo::after{content:"↶";color:#fff;font-size:1.05rem;font-weight:700;line-height:1}
.rwl .rwp-sheet-bar #rwlNew,html.rwl-planner-mode .rwl .rwp-sheet #rwlClose{display:none!important}
.rwp-sheet-alert{flex:0 0 auto;display:flex;align-items:flex-start;gap:4px;padding:6px 4px 6px max(12px,env(safe-area-inset-left));background:#fff1ec;border-bottom:1px solid #f1b9a6;color:#872f21;font-size:12px;font-weight:600;line-height:1.35}
.rwp-sheet-alert[hidden]{display:none}
.rwp-sheet-alert-text{flex:1;min-width:0;padding-top:4px}
.rwl .rwp-sheet-alert button{flex:0 0 auto;width:28px;height:26px;padding:0;border:0;border-radius:6px;background:none;color:#872f21;font-size:1.05rem;line-height:1}
.rwl .rwp-sheet-bar .rwl-actions button:hover{background:rgba(255,255,255,.1)}
.rwl .rwp-sheet-bar .rwl-actions button:disabled{opacity:.35}
.rwl .rwp-sheet-bar .rwl-actions button::before{content:"";position:absolute;inset:-6px -2px}
.rwp-sheet-body{flex:1 1 auto;min-height:0;padding:8px max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));overflow-y:auto;overscroll-behavior:contain}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor{display:flow-root!important;width:auto;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-size:13px;line-height:1.4}
html.rwl-planner-mode .rwp-sheet .rwl-editor>.rwl-heading{justify-content:flex-start;margin:0 0 4px;gap:4px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor>.rwl-heading h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
html.rwl-planner-mode .rwp-sheet .rwl-editor>.rwl-heading .rwl-actions{gap:4px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-heading .rwl-button,html.rwl-planner-mode .rwl .rwp-sheet .rwl-heading .rwl-text-button{min-height:28px;padding:0 10px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwp-sheet details>summary{min-height:28px;padding:3px 0;font-size:12.5px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:2px 0 4px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-template{gap:0;padding:5px 7px;border-radius:7px;font-size:12px;line-height:1.25}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-template small{font-size:9px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-template strong{font-size:12px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-template span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:10.5px;line-height:1.3}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor label{margin:6px 0 2px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor input,html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor select{min-height:34px;padding:4px 8px;border-radius:7px;font-size:16px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor .rwl-help{margin:2px 0 0;font-size:10.5px;line-height:1.35}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor .rwl-fields{gap:0 8px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-settings .rwl-fields{grid-template-columns:minmax(0,1fr) 92px}
html.rwl-planner-mode .rwl .rwp-sheet #rwlDateHint,html.rwl-planner-mode .rwl .rwp-sheet #rwlPaceHint{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-settings{padding:0}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor .rwl-overview{margin:8px 0 0;padding:6px 8px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-route-note{margin:6px 0 0;padding:6px 8px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-timeline{min-height:30px;margin:0 0 6px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-timeline button{min-height:30px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-editor h3{margin:2px 0 2px;font-size:13px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step-help{margin:0 0 2px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwp-sheet #rwlMoveStatus:empty{display:none}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step>summary{min-height:42px;padding:5px 8px 5px 34px;font-size:12.5px;list-style:none}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step>summary::-webkit-details-marker{display:none}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step>summary::marker{content:""}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step>summary>.rwl-drag-handle{left:0;top:1px;width:28px;flex-basis:28px;min-height:40px;font-size:1.2rem}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step>summary strong{font-size:12.5px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step>summary span{margin:1px 0 0;font-size:11px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step-fields{padding:0 8px 8px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step-actions{gap:4px;margin-top:6px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-step-actions button{min-width:36px;min-height:32px;padding:0 8px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-repeat{padding:6px;border-radius:9px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-repeat-heading{gap:6px;margin-bottom:4px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-repeat-heading input{width:64px}
html.rwl-planner-mode .rwl .rwp-sheet-body .rwl-actions .rwl-button{min-height:32px;padding:0 10px;font-size:12px}
html.rwl-planner-mode .rwl .rwp-sheet #rwlForm>.rwl-actions{margin-top:6px;gap:6px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-error{margin:6px 0;padding:6px 8px;font-size:11.5px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-savebar{margin:8px 0 2px;padding-top:6px;gap:6px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-savebar>.rwl-button{flex:0 1 auto;min-height:32px;padding:0 10px;font-size:12px}
html.rwl-planner-mode .rwl .rwp-sheet .rwl-savebar .rwl-text-button{min-height:32px;font-size:12px}
html.rwl-planner-mode .rwl .rwp-sheet #rwlSave{display:none}
html.rwl-planner-mode .rwl .rwp-sheet #rwlForm>.rwl-help:last-child{display:none}
@media(min-width:600px){
 html.rwl-planner-mode .rwp-sheet .rwl-editor{--rwp-left:clamp(230px,40%,340px)}
 html.rwl-planner-mode .rwp-sheet .rwl-editor>.rwl-heading,html.rwl-planner-mode .rwp-sheet .rwl-editor>#rwlTemplateDetails,html.rwl-planner-mode .rwp-sheet #rwlForm>.rwl-settings,html.rwl-planner-mode .rwp-sheet #rwlForm>#rwlRouteNote,html.rwl-planner-mode .rwp-sheet #rwlForm>#rwlSummary{float:left;clear:left;width:var(--rwp-left)}
 html.rwl-planner-mode .rwp-sheet #rwlForm>:not(.rwl-settings):not(#rwlRouteNote):not(#rwlSummary){margin-left:calc(var(--rwp-left) + 14px)}
}

/* The way back after "Vis hele siden". */
html.rwl-planner-suspended .rwp-resume{position:fixed;z-index:1250;right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:0;border-radius:999px;background:var(--rwl-green);color:#fff;font-size:.74rem;font-weight:700;line-height:1;box-shadow:0 6px 18px rgba(14,73,60,.35)}
html.rwl-planner-suspended .rwp-resume::before{content:"";position:absolute;inset:-3px}
@media(max-width:760px){body.has-lb-mobile-tabs:not(.lb-fullscreen-app-page) .rwp-resume{bottom:calc(var(--lb-mobile-tabs-height,72px) + 8px)}}
@media(prefers-reduced-motion:reduce){html.rwl-planner-mode .rwp-toast,html.rwl-planner-mode .rwp-sheet[open],html.rwl-planner-mode .rwc-day-dialog[open],.rwp-menu,.rwl .rwp-card.is-new{animation:none}.rwl .rwp-card,html.rwl-planner-mode .rwl .rwc-month .rwc-day.is-drop-target{transition:none;transform:none}}
/* Whole-calendar reset: deliberately separate from everyday calendar actions. */
.rwl .rwc-clear-trigger{flex:0 0 44px;width:44px;height:44px;padding:0;color:#98402f;background:#fff8f6;border-color:#ead3cc}.rwl .rwc-clear-trigger:hover{background:#fcece7;border-color:#b86650}.rwc-clear-trigger svg{flex:none}
html.rwc-clear-dialog-open{overflow:hidden;scrollbar-gutter:stable}
.rwc-clear-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:520px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #e0d8d4;border-radius:16px;background:#fff;color:#20332d;box-shadow:0 20px 70px #15252c44;overflow-y:auto;overscroll-behavior:contain}
.rwc-clear-dialog::backdrop{background:#15252c99}.rwl .rwc-clear-dialog h2{margin:0 0 14px;font-size:1.35rem;line-height:1.3}.rwl .rwc-clear-dialog p,.rwl .rwc-clear-dialog li{font-size:.9rem;line-height:1.6}.rwc-clear-dialog ul{margin:0 0 16px;padding-left:21px}.rwc-clear-dialog li+li{margin-top:6px}.rwc-clear-preserved{padding:12px;border-radius:10px;background:#edf5ee}.rwl .rwc-clear-external{color:#59665f;font-size:.8rem}.rwl .rwc-clear-confirm{display:flex;align-items:center;gap:10px;min-height:44px;margin:18px 0;font-size:.9rem;font-weight:600;line-height:1.5}.rwc-clear-confirm>span{min-width:0}.rwl .rwc-clear-checkbox{width:20px;height:20px;min-height:20px;max-height:20px;flex:0 0 20px;margin:0;padding:0;accent-color:#a93627}.rwc-clear-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.rwc-clear-actions .rwl-button{min-height:44px}.rwl .rwc-clear-submit{background:#a93627;border-color:#a93627;color:#fff}.rwl .rwc-clear-submit:hover:not(:disabled){background:#8b2c20}.rwc-clear-status:empty{display:none}.rwc-clear-status{color:#8b2c20}.rwc-clear-dialog[aria-busy="true"]{cursor:progress}@media(max-width:400px){.rwc-clear-dialog{padding:18px}.rwc-clear-actions{flex-direction:column-reverse}.rwc-clear-actions .rwl-button{width:100%}}
