/* Lorraine's coach presentation: pale ground, small labels, shared bottom navigation. */
body.coach-app{background:#f5f5f3;padding:24px 0 calc(100px + env(safe-area-inset-bottom));color:#111}
body.coach-app::before{display:none}
.coach-app .layout{display:block;margin:0}
.coach-app main{max-width:760px;width:100%;padding:0 20px;margin:auto}
.coach-app .side,.coach-app .app-chrome,.coach-app #club-name,.coach-app .coach-mobile-nav,.coach-app .coach-summary{display:none!important}
.coach-app .cols{display:block}.coach-app .col-main,.coach-app .col-side{width:100%;max-width:none}
.coach-app [hidden]{display:none!important}
.coach-app .coach-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}
.coach-app .coach-header h1,.coach-app .overview-heading h2,.coach-app .session-detail h1,.coach-app .msg-top h1{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:8px 0 0}
.coach-app .coach-header .eyebrow{font-size:11px;line-height:1.6;letter-spacing:.1em;margin:0}
.coach-app .avatar-btn{flex:0 0 48px;width:48px;height:48px;background:white;border:1px solid #ddd;border-radius:50%}
.coach-app #sessions-view>.overview-heading h2{display:none}
.coach-app #sessions-view>.overview-heading{justify-content:flex-end;margin-top:-75px;margin-bottom:32px;min-height:44px;padding-right:64px}
.coach-app .coach-card,.coach-app .panel,.coach-app .session-choice{background:white;border:1px solid #e6e7e4;border-radius:22px;padding:20px;box-shadow:0 8px 25px #11111104;margin:0 0 20px}
.coach-app .coach-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px;flex-wrap:wrap}
.coach-app .coach-label{display:inline-block;width:fit-content;font-size:11px;font-weight:650;letter-spacing:.08em;line-height:1.4;text-transform:uppercase;border-radius:5px;padding:5px 9px;margin:0;color:#111}
.coach-app .sage{background:#b2dcd0}.coach-app .sky{background:#a5d2e8}.coach-app .sand{background:#dfd2b8}.coach-app .lime{background:#d0dfb4}.coach-app .blush{background:#dfbad1}.coach-app .grey{background:#ececea}
.coach-app .meta,.coach-app .small{font-size:14px;line-height:1.5;color:#626662}
.coach-app .checkin-number{margin:0;font-size:18px;font-weight:600;color:#606460}
.coach-app .checkin-number strong{font-size:40px;color:#111;line-height:1.2}
.coach-app .next-session-card h3{font-size:21px;letter-spacing:-.3px;margin:0 0 8px}
.coach-app .attendance-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}
.coach-app .attendance-tiles>div{background:#d0dfb4;border-radius:10px;padding:12px}
.coach-app .attendance-tiles strong{display:block;font-size:26px}.coach-app .attendance-tiles span{font-size:12px;font-weight:600}
.coach-app .coach-count,.coach-app .group>h3>b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:20px;background:#111;color:white;font:650 12px/1 var(--font-text);letter-spacing:0}
.coach-app .coach-count.zero{background:#ececea;color:#626662}
.coach-app .group>h3{background:white;padding:16px;align-items:center;border-bottom:1px solid #eee;gap:12px}
.coach-app .group>h3>span{padding:5px 9px;border-radius:5px;background:#b2dcd0;line-height:1.4;letter-spacing:.08em}
.coach-app .group[data-readiness="waiting"]>h3>span,.coach-app .group[data-readiness="word"]>h3>span,.coach-app .group--pending>h3>span{background:#dfd2b8}
.coach-app .group[data-readiness="out"]>h3>span{background:#ececea}
.coach-app .initials{display:inline-flex!important;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;border-radius:50%;background:#ececea;color:#626662;font-size:12px;font-weight:600;letter-spacing:0}
.coach-app .prow>.head{padding:16px;min-height:70px;gap:12px}.coach-app .prow .who b{font-size:16px}
.coach-app #squad-top>.overview-heading{display:none}.coach-app .foot{font-size:13px;line-height:1.6}
.coach-app .session-list{display:block}.coach-app .week-label{font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin:24px 0 12px}
.coach-app .session-choice{display:flex;width:100%;text-align:left;flex-direction:column;gap:8px;cursor:pointer;color:inherit;font:inherit}
.coach-app .session-choice strong{font-size:21px}.coach-app .session-choice .eyebrow{font-size:11px;margin:0}.coach-app .session-counts{font-size:13px;margin-top:4px}
.coach-app .session-detail{background:none;border:0;padding:0;box-shadow:none}
.coach-app .session-detail>.btn--text{margin-bottom:28px}.coach-app .session-detail>.eyebrow{font-size:12px;margin:0 0 10px}
.coach-app .session-detail>h1{margin:0 0 10px}.coach-app .session-detail>.meta{margin:0 0 18px}
.coach-app .attendance-group{padding:0;overflow:hidden}.coach-app .attendance-group h2{padding:16px;margin:0;border-bottom:1px solid #eee}
.coach-app .attendance-person{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #eee}.coach-app .attendance-person:last-child{border-bottom:0}.coach-app .attendance-person strong{font-size:16px}.coach-app .attendance-person p{margin:2px 0 0}.coach-app .attendance-group .empty{margin:0;padding:16px;font-size:14px;color:#626662}
.coach-app #panel-sessions{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:0!important}
.coach-app .new-session-heading{display:flex;align-items:center;gap:24px;margin:0 0 28px}.coach-app .new-session-heading h2{font-size:22px;margin:0}.coach-app .new-session-heading button{font-size:16px}
.coach-app .row-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.coach-app .row-2>*{min-width:0}.coach-app input,.coach-app select{min-width:0;max-width:100%;width:100%;box-sizing:border-box;font-size:16px}
.coach-app .label{font-size:13px;letter-spacing:0;text-transform:none}.coach-app .optional{font-size:12px}
.coach-app #s-kind,.coach-app #panel-invite>.row:first-of-type{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#ececea;border-radius:28px;padding:4px;gap:0}
.coach-app #s-kind{grid-template-columns:repeat(4,minmax(0,1fr))}
.coach-app #s-kind button,.coach-app #panel-invite [data-role]{border:0;min-width:0;background:transparent;font-size:14px;padding:10px 4px;color:#111;min-height:44px;white-space:nowrap;box-shadow:none}
.coach-app #s-kind button[aria-pressed="true"],.coach-app #panel-invite [data-role][aria-pressed="true"]{background:#fff;border-radius:24px;box-shadow:0 1px 5px #1111}
.coach-app #panel-invite,.coach-app #panel-squads{margin-top:0!important}
.coach-app #make-invite{width:100%}.coach-app #club-feedback{display:block;margin:28px auto;text-decoration:underline;font-size:15px}
.coach-app .form-help{font-size:12px;line-height:1.5;margin:0 0 20px}.coach-app #s-effort-help{margin-top:-12px}
.coach-app .player-sheet{background:#f5f5f3}.coach-app .player-sheet .profile-email{font-size:13px;color:#626662;overflow-wrap:anywhere;text-decoration:none}
.coach-app .install-banner{padding:16px;background:#dfd2b8;border-radius:16px;margin-bottom:20px;font-size:13px;display:flex;gap:12px;align-items:center}.coach-app .install-banner p{margin:0}
/* Coach messages use the same single-screen navigation at every width. */
.coach-app .msg-shell{max-width:760px;margin:auto;padding:0 20px;min-height:0;height:auto}
.coach-app .msg-top{display:flex;align-items:center;gap:12px;margin-bottom:24px}.coach-app .msg-top h1{flex:1}.coach-app .msg-top>.btn{min-height:44px;padding:10px 18px}
.coach-app .msg-panes{display:block;height:auto}.coach-app .pane-list{border:0;padding:0;overflow:visible}
.coach-app .msg-shell[data-view="list"] .pane-thread{display:none}.coach-app .msg-shell[data-view="thread"] .pane-list{display:none}.coach-app .msg-shell[data-view="thread"] .pane-thread{display:flex;flex:1;height:auto}
.coach-app .conv{padding:18px 16px 18px 64px;position:relative;background:white;border:1px solid #e6e7e4;border-radius:16px;margin-bottom:10px}.coach-app .conv>.initials{position:absolute;top:20px;left:16px}
.coach-app .contact{position:relative;padding:16px 16px 16px 64px;background:white;border:0;border-bottom:1px solid #eee}.coach-app .contact>.initials{position:absolute;top:18px;left:16px}
.coach-app .picker-sheet .sheet-heading h2{font-size:24px}.coach-app .picker-sheet ul{padding:0;list-style:none}.coach-app .picker-sheet .contact{width:100%;text-align:left}.coach-app .picker-sheet .contact span:not(.initials){display:block}.coach-app .picker-sheet .conv-sub,.coach-app .picker-sheet .conv-last{font-size:13px;color:#626662}.coach-app .picker-sheet .conv-name{font-weight:600}
@media(max-width:360px){.coach-app main,.coach-app .msg-shell{padding:0 14px}.coach-app .coach-label-row{gap:8px}.coach-app .coach-label-row>.meta{font-size:11px}.coach-app .attendance-tiles>div{padding:10px 8px}}

.coach-app .msg-top{padding:0}.coach-app .convs{padding:0}.coach-app .list-actions{padding:0}.coach-app .pane-thread .back{display:inline-grid}
.coach-app .msg-shell[data-view="thread"] .msg-top{display:none}.coach-app .pane-thread .composer{position:static}.coach-app .pane-thread .bubbles{min-height:80px}
.coach-app .picker-sheet #picker-title{font:700 24px/1.2 var(--font-display);text-transform:none;letter-spacing:-.5px;padding:0;margin:0}

.coach-app #sessions-view>.overview-heading{margin:0 0 24px;padding:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px}
.coach-app #sessions-view>.overview-heading h2{display:block;margin:0}
.coach-app .session-choice:focus:not(:focus-visible),.coach-app #sessions-view:focus,.coach-app #session-detail:focus,.coach-app #panel-sessions:focus,.coach-app #club-tools:focus,.coach-app #squad-top:focus{outline:none}
.coach-app .coach-date-input{position:relative;min-height:52px;border:1px solid var(--input-border);border-radius:14px;background:white;display:flex;align-items:center;padding:12px 14px;font-size:16px}
.coach-app .coach-date-input input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.coach-app .coach-date-input:focus-within{outline:2px solid #111;outline-offset:2px}
.coach-app .next-session-card>.btn{margin:0;width:100%}

.coach-app .shell{display:block}.coach-app .col-side{display:block;margin:0}.coach-app .group--pending .prow{display:block}.coach-app .session-detail{position:static}
.coach-app #groups>.group[data-readiness]{display:block;background:white;border:1px solid #e6e7e4;box-shadow:0 8px 25px #11111104;border-radius:22px;overflow:hidden;margin-bottom:20px}
.coach-app #groups>.group>h3{padding:16px;background:white;border-bottom:1px solid #eee}.coach-app #groups .prow{border-radius:0;border:0;border-bottom:1px solid #eee;box-shadow:none}

.coach-app #lead-sub:not([hidden]){display:block}


/* Short confirmation above the nav (round 2: "Session added", with Undo). */
.coach-toast{position:fixed;left:16px;right:16px;bottom:calc(86px + env(safe-area-inset-bottom));z-index:50;max-width:460px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#111;color:#fff;border-radius:14px;padding:14px 16px;font-size:14px;line-height:1.4;box-shadow:0 8px 25px #1111111f}
.coach-toast .btn--text{color:#fff;min-height:40px;padding:6px 4px;flex:0 0 auto}
@media(min-width:810px){.coach-toast{bottom:24px}}

/* Next session card (round 2): shorter tiles, the whole card opens the session. */
.coach-app .next-session-card{position:relative}
.coach-app .next-session-card .card-open{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.coach-app .next-session-card .card-open::after{content:"";position:absolute;inset:0;border-radius:22px}
.coach-app .next-session-card .card-open:focus-visible::after{outline:2px solid #111;outline-offset:2px}
.coach-app .next-session-card .card-open .chev{font-size:20px;color:var(--mist)}
.coach-app .next-session-card>.meta{margin:0}
.coach-app .next-session-card>.btn{width:auto;margin-top:16px}
.coach-app .attendance-tiles{margin:16px 0 0}
.coach-app .attendance-tiles>div{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:5px;padding:10px;min-width:0}
.coach-app .attendance-tiles strong{display:inline;font-size:20px;line-height:1}
.coach-app .attendance-tiles span{font-size:12.5px;white-space:nowrap}

/* Sessions list (round 2): a chevron says the row opens; empty weeks say so. */
.coach-app .session-choice{position:relative;padding-right:44px}
.coach-app .session-choice>.chev{position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--mist)}
.coach-app .session-empty{background:white;border:1px solid #e6e7e4;border-radius:22px;padding:18px 20px;margin:0 0 20px;color:var(--slate);font-size:15px}

/* Safeguarding and welfare (round 2): one block per role. */
.coach-app .role-block{padding:16px 0;border-top:1px solid #eee}
.coach-app .role-block:first-child{border-top:0;padding-top:0}
.coach-app .role-block>.label{margin:0 0 8px}
.coach-app .role-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px}
.coach-app .role-name{font-size:16px;color:var(--ink);min-width:0;overflow-wrap:anywhere}
.coach-app .role-empty{margin:0 0 12px}
.coach-app .role-help{margin:8px 0 0;font-size:13px}
.coach-app .role-form{margin-top:16px}
.coach-app .role-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}

/* A coach's open conversation is full screen at every width (round 2). */
.coach-app.thread-open .player-nav{display:none!important}
.coach-app.thread-open{padding-top:0;padding-bottom:0}
.coach-app .msg-shell[data-view="thread"]{padding:0;display:flex;flex-direction:column;height:100dvh;min-height:0}
.coach-app .msg-shell[data-view="thread"] .msg-panes{display:flex;flex:1;flex-direction:column}
.coach-app .msg-shell[data-view="thread"] #notice{margin:12px 16px}

/* Today on a tablet or desktop: the same single-column groups as the phone.
   The older two-column tablet rules in squad.html (4 October) made rows tall,
   put the initials above the name and gave flagged rows a green edge. */
@media(min-width:810px){
.coach-app #groups>.group>h3{font:500 11px/1 var(--font-text);letter-spacing:.12em;padding:16px}
.coach-app #groups>.group>h3 b{font:650 12px/1 var(--font-text);letter-spacing:0}
.coach-app #groups .prow,.coach-app #groups .prow[data-alert="true"]{border:0!important;border-bottom:1px solid #eee!important;border-radius:0;box-shadow:none}
.coach-app #groups .prow[data-open="true"]{outline:0}
.coach-app #groups .prow>button.head{min-height:70px;padding:16px;flex-wrap:nowrap;gap:12px}
.coach-app #groups .prow .who{flex-basis:auto}
.coach-app #groups .prow .who b{font-size:16px;font-weight:600}
.coach-app #groups .prow .who span{font-size:12px;margin-top:2px}
.coach-app #groups .prow .right{width:auto;flex-wrap:nowrap}
.coach-app #groups .prow .chev{font-size:inherit;margin-left:0}
}

/* An opened row (round 2): a white card per signal with a Sand strip, the
   suggested approach, two actions side by side, a note and Acknowledge. */
.coach-app .prow>.panel--signals{display:block;padding:4px 16px 20px;background:none;border:0;box-shadow:none;border-radius:0;margin:0}
.coach-app .signal-card{background:#fff;border:1px solid #e6e7e4;border-radius:14px;overflow:hidden;margin:0 0 12px}
.coach-app .signal-card-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f3eee2;padding:9px 14px;font-size:11px;font-weight:650;letter-spacing:.1em;color:#111}
.coach-app .signal-card-strip .meta{font-size:12px;font-weight:400;letter-spacing:0;margin:0}
.coach-app .signal-card-body{padding:14px}
.coach-app .signal-card-body strong{display:block;font:700 17px/1.3 var(--font-display);letter-spacing:-.2px}
.coach-app .signal-card-body p{margin:4px 0 0;font-size:14px}
.coach-app .approach{margin:16px 0}
.coach-app .approach-label{font:500 11px/1.4 var(--font-text);letter-spacing:.1em;text-transform:uppercase;color:var(--slate);margin:0 0 6px}
.coach-app .approach p{margin:0;font-size:15px}
.coach-app .panel-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 12px}
.coach-app .panel-actions .btn{min-width:0;padding-left:8px;padding-right:8px;overflow-wrap:anywhere}
.coach-app .prow .note-field{margin:0 0 12px}
.coach-app .prow .ack-controls .btn{margin:0}
.coach-app .ack-hint{text-align:center;margin:8px 0 0;font-size:13px}
@media(min-width:810px){.coach-app #groups .prow>.panel--signals{display:block;grid-template-columns:none}}
