.week-workspace{overflow-wrap:anywhere}.week-path,.week-stats{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.week-path button{font-size:.9rem}.week-workspace>.personal-card,.week-workspace>details{margin:1.2rem 0}.week-next{background:#edf3ed}.week-stats span{padding:.5rem .8rem;background:#f0eee7;border-radius:10px;font-size:.9rem}.week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.6rem;margin-top:1.2rem}.week-days>section{min-width:0;border-top:2px solid #a4b8a7}.week-days h3{font-size:.9rem}.week-days p{font-size:.8rem;color:#5c6c61}.week-event{display:flex;flex-direction:column;gap:.4rem;text-align:left;width:100%;white-space:normal;padding:.6rem!important;margin:.6rem 0;background:#eef3ef!important}.week-event small,.week-event span{font-size:.8rem}.week-item{border-top:1px solid #d5dfd7;padding:1rem 0}.week-item p{white-space:pre-wrap}.week-item h3{font-size:1rem}.week-alert{padding:1rem;background:#fff3dc;border-left:4px solid #b17d34}.week-editor summary{font-weight:650;cursor:pointer}.week-editor form{margin-top:1rem}.week-check{display:flex;align-items:flex-start;gap:.7rem;margin:1rem 0;line-height:1.5}.week-check input{width:1.1rem;height:1.1rem;flex-shrink:0}.week-agenda-text{white-space:pre-wrap;font:inherit;line-height:1.65;overflow-wrap:anywhere}.week-preview label{display:grid;gap:.5rem;margin:1rem 0}.week-preview textarea{box-sizing:border-box;width:100%;font:inherit;padding:.7rem;border:1px solid #acbcaf;border-radius:8px}.week-workspace button{max-width:100%;white-space:normal}.week-workspace .support-form-grid input[type=hidden]{display:none}.week-workspace [data-week-status]{font-size:.9rem;color:#365944;min-height:1.4em}.week-chat-card{background:#eef3ec;border-radius:14px;padding:1.1rem;margin:1rem 0}.week-chat-card h2{font-size:1.2rem}.week-chat-card label{display:grid;gap:.4rem}.week-chat-card textarea,.week-chat-card input,.week-chat-card select{box-sizing:border-box;width:100%;padding:.6rem;font:inherit;border:1px solid #b9c7bb;border-radius:8px}.week-chat-card .personal-actions{margin-top:1rem}.week-chat-card [role=status]{min-height:1.4em}.week-workspace input:focus-visible,.week-workspace textarea:focus-visible,.week-workspace button:focus-visible{outline:3px solid #39765f;outline-offset:3px}
@media(max-width:1100px){.week-days{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.week-days{grid-template-columns:1fr}.week-days>section{display:grid;grid-template-columns:5.5rem minmax(0,1fr);gap:.5rem}.week-event{grid-column:2}.week-path button{flex:1 1 40%}.week-stats{display:grid;grid-template-columns:1fr 1fr}.week-workspace .personal-actions{align-items:stretch;flex-direction:column}}

/* The active weekly flow shares the personal cards and their quiet focus treatment. */
.week-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1.2rem 0;font-size:.9rem}.week-summary span{padding:.65rem .8rem;background:#f0eee7;border-radius:10px}.week-stage{display:flex;gap:.7rem;margin:1.5rem 0}.week-stage button{flex:1}.week-stage [aria-pressed=true],.week-path [aria-current=page]{background:#dfeadd;border-color:#77967e;font-weight:650}.week-reflection-fields>section{padding:1.2rem 0;border-bottom:1px solid #d5dfd7}.week-reflection-fields label{display:grid;gap:.5rem}.week-reflection-fields textarea{box-sizing:border-box;width:100%;font:inherit;line-height:1.5;padding:.8rem;border:1px solid #a8b9aa;border-radius:8px;resize:vertical}.week-example{margin:.7rem 0}.week-example summary{cursor:pointer}.week-example p{color:#465b4c}.week-count{font-weight:650}.week-agreement-extra{grid-column:1/-1}.week-agreement-extra[open]{display:grid;gap:.8rem}.week-agreement-extra summary{cursor:pointer}.week-due.is-overdue{color:#84471e;font-weight:650}.week-item h3{white-space:pre-wrap}.week-conversation-preview{box-sizing:border-box;max-width:min(46rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);overflow:auto;overflow-wrap:anywhere}.week-conversation-preview li{min-width:0;padding:.7rem 0}.week-conversation-preview li strong,.week-conversation-preview li p{white-space:pre-wrap;overflow-wrap:anywhere}.week-workspace [tabindex="-1"]:focus{outline:2px solid #39765f;outline-offset:5px;border-radius:3px}.week-picker [role=status]:empty{display:none}.week-picker input[type=date]{max-width:100%;min-width:0}.week-workspace [hidden]{display:none!important}
@media(max-width:700px){.week-stage{flex-direction:column}.week-summary{grid-template-columns:1fr}.week-picker{gap:.5rem}.week-picker>div{min-width:0}.week-picker label{flex-wrap:wrap}.week-workspace .personal-actions button{width:100%}}

/* Keep a long conversation readable from the beginning, with its exit in reach. */
.week-preview-header{position:sticky;top:-35px;z-index:1;display:flex;align-items:flex-start;gap:1rem;justify-content:space-between;padding:1rem 0;background:#fff}
.week-preview-header h2{min-width:0;font-size:1.6rem}
.week-preview-header button{flex-shrink:0;min-height:44px;padding:.65rem .8rem;font:inherit}
.week-conversation-preview h2:focus-visible{outline:2px solid #39765f;outline-offset:4px}
.week-conversation-preview{overscroll-behavior:contain}
@media(max-width:700px){
 body:is([data-space=week],[data-space=meeting]){padding-top:48px}
 body:is([data-space=week],[data-space=meeting]) #personal-shell::before{content:"";position:fixed;inset:0 0 auto;height:48px;background:#f8fbfc;border-bottom:1px solid #e3f4f1;z-index:43;pointer-events:none}
 body:is([data-space=week],[data-space=meeting]) #personal-menu-toggle{height:48px;width:calc(100% - 144px);left:auto;font-size:14px}
 body:is([data-space=week],[data-space=meeting]) #personal-menu-close{min-width:44px;min-height:44px}
 body:is([data-space=week],[data-space=meeting]) .personal-page{padding:12px 16px 32px;font-size:16px}
 body:is([data-space=week],[data-space=meeting]) .personal-page-top{margin-bottom:12px}
 body:is([data-space=week],[data-space=meeting]) .personal-heading{margin-bottom:16px}
 body:is([data-space=week],[data-space=meeting]) .personal-heading h1{font-size:30px;margin:8px 0}
 body:is([data-space=week],[data-space=meeting]) .personal-heading p{font-size:14px}
 body:is([data-space=week],[data-space=meeting]) .personal-page button{min-height:44px;font-size:14px;line-height:1.4}
 body:is([data-space=week],[data-space=meeting]) .personal-card{padding:16px}
 .week-picker{gap:6px;padding:10px 6px;margin-bottom:16px}
 body:is([data-space=week],[data-space=meeting]) .week-picker>button{flex:0 0 44px;min-width:44px;font-size:24px}
 .week-picker strong{font-size:13px;line-height:1.4}
 .week-picker label{display:grid;gap:2px;width:100%;font-size:13px}
 .week-picker input[type=date]{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:7px 4px;font-size:16px;border:1px solid #acbcaf;border-radius:6px}
 .week-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0;font-size:13px;line-height:1.4}
 .week-summary span{padding:8px}
 .week-workspace>.personal-card,.week-workspace>details{margin:12px 0}
 .week-workspace input,.week-workspace textarea,.week-workspace select{font-size:16px!important;min-width:0;min-height:44px;scroll-margin-block:64px 24px}
 .week-workspace summary{min-height:44px;padding:10px 0;box-sizing:border-box;cursor:pointer}
 .week-workspace button{scroll-margin-block:64px 24px}
 .week-path{margin:12px 0;gap:8px}
 .week-path button{padding:10px 8px}
 .week-stage{margin:12px 0;gap:8px}
 .week-preview-header{top:-23px;flex-wrap:wrap;gap:8px;padding:8px 0}
 .week-preview-header h2{font-size:23px;flex:1 1 150px}
 .week-preview-header button{font-size:14px}
 .week-conversation-preview{padding:16px;font-size:16px}
 .week-conversation-preview .week-preview-header{top:-16px}
 .week-conversation-preview ol{padding-left:24px}
 /* Reuse Nellie's existing button in the free left side of the mobile bar. */
 body:is([data-space=week],[data-space=meeting]) #nell-companion{top:0;bottom:auto;left:8px;right:auto;z-index:45;max-width:132px}
 body:is([data-space=week],[data-space=meeting]) #nell-companion>button{min-height:48px;padding:4px 8px;gap:8px;font-size:14px;border:0;border-radius:0;box-shadow:none;background:#f8fbfc}
 body:is([data-space=week],[data-space=meeting]) .companion-portrait{width:32px;height:32px}
 body:is([data-space=week],[data-space=meeting]) .companion-dot{left:32px;bottom:7px}
 body:is([data-space=week],[data-space=meeting]) .companion-hint{display:none}
}
/* A wide phone in landscape keeps the side navigation, with Nellie above it. */
@media(min-width:701px) and (max-width:1000px) and (max-height:500px) and (pointer:coarse){
 body:is([data-space=week],[data-space=meeting]) .personal-page{font-size:16px}
 body:is([data-space=week],[data-space=meeting]) .personal-page button{min-height:44px;font-size:14px}
 .week-workspace input,.week-workspace textarea,.week-workspace select,.week-picker input[type=date]{min-height:44px;font-size:16px!important}
 .week-workspace summary{min-height:44px;padding:10px 0;box-sizing:border-box}
 body:is([data-space=week],[data-space=meeting]) #personal-rail{padding-top:80px}
 body:is([data-space=week],[data-space=meeting]) #nell-companion{top:8px;bottom:auto;right:20px;max-width:160px;z-index:46}
 body:is([data-space=week],[data-space=meeting]) .companion-hint{display:none}
}
