/* Scoped schedule reading surfaces: Radix Blue / Slate. Existing chat and memory stay untouched. */
body[data-section-view=schedule] #hub .hub-header:has(>.schedule-compact-tools){display:grid;grid-template-columns:40px minmax(0,1fr);gap:4px;padding:4px 12px;min-height:56px;height:auto;background:var(--device-panel,#fff)}
body[data-section-view=schedule] #hub .hub-header:has(>.schedule-compact-tools)>div:not(.schedule-compact-tools){display:none}
body[data-section-view=schedule] #hub .hub-header>.schedule-compact-tools{display:flex!important;visibility:visible;align-items:center;gap:6px;min-width:0;width:100%;grid-column:2;grid-row:1}
.schedule-compact-tools button{background:transparent;border:0;box-shadow:none;min-height:44px;padding:0;color:var(--device-panel-ink,#1c2024)}
.schedule-compact-tools .schedule-owner-cycle{display:flex;gap:6px;align-items:center;font-size:14px;flex:none;max-width:43%}
.schedule-owner-cycle>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.schedule-compact-avatar{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;overflow:hidden;background:var(--device-soft,#e6f4fe);font-size:12px;color:var(--device-accent-text,#0d74ce)}
.schedule-compact-avatar img{width:100%;height:100%;object-fit:cover}
.schedule-together-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.schedule-compact-tools .schedule-date-trigger{font-size:14px;white-space:nowrap;margin-left:auto;line-height:1.5;min-width:0;overflow-wrap:anywhere}
.schedule-compact-tools .simple-calendar-star{width:38px;height:44px;flex:none;color:var(--device-accent-text,#0d74ce)}
.hub-content:has(>.schedule-reading){padding:0!important;overflow:hidden!important;display:flex}
.simple-schedule.schedule-reading{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;padding:0!important;margin:0;background:var(--device-panel,#fff)}
.schedule-reading-body{flex:1;min-height:0;overflow:auto;padding:12px 20px 22px;overscroll-behavior:contain}
.schedule-reading-body>input[type=month]{max-width:100%}
.schedule-reading>.schedule-reading-body:has(>.thought-sea){display:flex;flex-direction:column;overflow:hidden;padding:0}
.schedule-reading .schedule-owner-content{min-width:0}
.schedule-reading .schedule-timeline{display:block;margin:18px 0 0}
.activity-overview{min-height:100px;position:relative;overflow:hidden;border-radius:10px;background:#d5e7e1;color:#1c2024;display:flex;align-items:center;padding:18px 20px;isolation:isolate}
.activity-overview::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,#e2f1ed 2%,#e2f1ed80 70%,#e2f1ed10),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='240' viewBox='0 0 900 240'%3E%3Crect fill='%23c2d7d3' width='900' height='240'/%3E%3Ccircle cx='700' cy='60' r='38' fill='%23eaf1e8'/%3E%3Cpath d='M0 185 180 85 320 200 500 55 720 170 900 80V240H0' fill='%2397b8b1'/%3E%3Cpath d='m0 210 260-90 170 75 140-50 190 55 140-30v70H0' fill='%237e9f98'/%3E%3C/svg%3E") center/cover}
.activity-overview strong{font-size:16px;font-weight:600}.activity-overview small{display:block;font-size:12px;line-height:1.7;margin-top:4px}
.schedule-reading .schedule-item.activity-line{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:12px;position:relative;padding:0 0 20px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:14px}
.activity-line-time{font-size:12px;color:var(--device-muted,#60646c);line-height:24px;white-space:nowrap}
.activity-line-copy{position:relative;min-width:0;padding:0 0 0 14px;border-left:.5px solid var(--device-line,#d9d9e0)}
.activity-line-copy::before{content:'';position:absolute;width:5px;height:5px;left:-3px;top:9px;border-radius:50%;background:var(--device-muted,#8b8d98)}
.activity-line-meta{display:flex;gap:6px;align-items:center;color:var(--device-muted,#60646c);font-size:12px;line-height:24px}
.activity-line-avatar{width:18px;height:18px;border-radius:50%;overflow:hidden;display:grid;place-items:center;font-size:12px;flex:none}.activity-line-avatar img{width:100%;height:100%;object-fit:cover}
.activity-line h3{font-size:14px;font-weight:600;margin:4px 0;line-height:1.6}.activity-line-trail{margin:0;line-height:1.75;overflow-wrap:anywhere}
.activity-line-note{margin-top:4px;line-height:1.75;color:var(--device-muted,#60646c);overflow-wrap:anywhere}.activity-line-note-text{display:inline}.activity-line-note-text>:first-child{margin-top:0}.activity-line-note-text>:last-child{display:inline;margin-bottom:0}
.activity-line-expand{display:inline;background:transparent;border:0;color:var(--device-accent-text,#0d74ce);padding:0 3px;min-height:32px;font:inherit;white-space:nowrap;vertical-align:baseline}
.activity-line-description{line-height:1.75;overflow-wrap:anywhere}.activity-line-description[data-expanded=false]{max-height:5.25em;overflow:hidden}.activity-line-content{display:inline}.activity-line-content>.activity-line-trail:last-child{display:inline}.activity-line-content>.activity-line-note-text{color:var(--device-muted,#60646c)}
.schedule-reading .simple-quiet-times{font-size:12px;margin:0 0 12px;padding-left:68px}
.schedule-reading>.thought-sea-navigation{display:flex;flex:none;align-items:center;justify-content:space-around;border-top:.5px solid var(--device-line,#d9d9e0);background:var(--device-panel,#fff);padding:5px 10px max(5px,env(safe-area-inset-bottom));min-height:62px;gap:0;margin:0}
.schedule-reading .important-date{font-size:12px;margin:0 0 12px;color:var(--device-muted,#60646c)}
.outside-stream{min-width:0}.outside-categories{display:flex;gap:16px;overflow:auto;scrollbar-width:none;margin:0 0 16px}
.resident-workspace .outside-category{background:transparent;border:0;box-shadow:none;border-radius:0;padding:6px 0;min-height:40px;flex:none;font-size:12px;color:var(--device-muted,#60646c)}
.resident-workspace .outside-category[aria-pressed=true]{color:var(--device-accent-text,#0d74ce);box-shadow:inset 0 -2px currentColor;font-weight:600}
.outside-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
.outside-card{min-width:0;overflow-wrap:anywhere}.resident-workspace .outside-card-open{display:block;text-align:left;border:0;background:transparent;border-radius:0;padding:0;width:100%;box-shadow:none;color:var(--device-panel-ink,#1c2024)}
.resident-workspace .outside-card-open:hover,.resident-workspace .outside-card-open:active{background:transparent}
.outside-picture{height:92px;overflow:hidden;background:#e6f4fe;position:relative;border-radius:7px}.outside-picture img{width:100%;height:100%;object-fit:cover}
.outside-picture[data-fallback=true]{background:linear-gradient(150deg,#e6f4fe,#c2e5ff 55%,#8ec8f6)}
.outside-picture[data-fallback=true]::after{content:'';position:absolute;width:110px;height:110px;border:.5px solid #fff9;transform:rotate(40deg);left:55%;top:10%}
.outside-card-meta{display:flex;justify-content:space-between;gap:6px;font-size:12px;color:var(--device-muted,#60646c);margin:10px 0 4px;line-height:1.6;flex-wrap:nowrap;min-width:0}
.outside-source-name{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.outside-source-date{flex:none;white-space:nowrap}
.outside-full-source{white-space:normal;overflow-wrap:anywhere;font-size:12px;color:var(--device-muted,#60646c)}
.resident-workspace .outside-card h3{font-size:14px;line-height:1.65;font-weight:600;margin:0;color:inherit}
.outside-summary{font-size:12px;line-height:1.7;margin:6px 0 0;color:var(--device-muted,#60646c);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.outside-receipts{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin-top:10px;min-height:0}.outside-receipts:empty{display:none}
.outside-person{position:relative;display:inline-flex}.outside-person-avatar{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;overflow:hidden;font-size:12px;background:var(--device-soft,#e6f4fe)}.outside-person-avatar img{width:100%;height:100%;object-fit:cover}.outside-person-mark{position:absolute;right:-3px;bottom:-3px;font-size:12px;line-height:12px;border-radius:50%;background:var(--device-panel,#fff);color:var(--device-accent-text,#0d74ce)}
.outside-status{font-size:12px;line-height:1.6}.outside-detail .rw-text{font-size:14px;white-space:pre-wrap;line-height:1.85;overflow-wrap:anywhere}
.schedule-reading button:focus-visible{outline:2px solid var(--device-accent-text,#0d74ce);outline-offset:2px}
@media(max-width:350px){.schedule-reading-body{padding-inline:14px}.schedule-compact-tools{gap:3px}.schedule-compact-tools .schedule-owner-cycle{gap:4px}.schedule-compact-tools .schedule-date-trigger{font-size:12px}.outside-grid{gap:18px 10px}.outside-picture{height:80px}}
/* Only All changes to natural-height notes. Rain remains the initial view. */
.thought-sea .sea-library-items{columns:2;column-gap:12px}
.thought-sea .sea-library-item{display:inline-block;vertical-align:top;width:100%;break-inside:avoid;padding:14px 12px;margin:0 0 12px;border:.5px solid var(--device-line,#d9e2fc);border-radius:4px;min-height:0;background:var(--device-soft,#f4faff);overflow-wrap:anywhere}
.thought-sea .sea-library-item .sea-identity{font-size:12px;gap:5px;flex-wrap:wrap}.thought-sea .sea-library-item .sea-avatar{width:18px;height:18px;font-size:12px}.thought-sea .sea-library-item time{font-size:12px;margin-left:0;white-space:normal}
.thought-sea .sea-library-title{font-size:14px;font-weight:600;line-height:1.6;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.thought-sea .sea-library-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font-size:12px;line-height:1.8;white-space:pre-wrap;margin-top:8px}
