.coach-profile-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin:20px 0 28px}.coach-profile-card{background:#fff;border:1px solid #d4e5eb;border-radius:18px;padding:24px;box-shadow:0 5px 18px #153e4c08}.coach-profile-card h3{margin:14px 0 5px;font-size:1.4rem}.coach-profile-card .coach-club{color:#087781;font-size:.88rem;font-weight:600;margin:0 0 14px}.coach-profile-card p{white-space:pre-wrap;overflow-wrap:anywhere}.coach-profile-card dl{margin:18px 0}.coach-profile-card dt{font-size:.76rem;font-weight:700;color:#617782;text-transform:uppercase;letter-spacing:.05em;margin-top:12px}.coach-profile-card dd{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.coach-portrait{width:104px;height:104px;flex:0 0 auto;border-radius:22px;background:#e0eff2;color:#176374;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;overflow:hidden;position:relative}.coach-portrait img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.coach-profile-photo-row{display:flex;align-items:flex-start;gap:24px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #dce7ed}.coach-profile-photo-row form{flex:1;min-width:0}.coach-profile-editor textarea,.message-workspace textarea{width:100%;box-sizing:border-box;font:inherit;border:1px solid #b9cdd7;border-radius:9px;padding:12px;resize:vertical}.coach-profile-editor input[type=file]{max-width:100%;box-sizing:border-box}.message-workspace{background:#fff;border:1px solid #d4e5eb;border-radius:18px;padding:24px}.message-toolbar{display:flex;align-items:flex-end;gap:16px}.message-toolbar .field{flex:1;margin:0}.message-toolbar label,.message-workspace form>label{display:block;font-weight:600;margin-bottom:8px}.message-toolbar select{width:100%;padding:12px;border:1px solid #b9cdd7;border-radius:8px;font:inherit;background:#fff}.message-thread-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #dce7ed}.message-thread-heading h3{font-size:1.1rem;margin:0}.message-thread-heading span{font-size:.76rem;color:#49717b;background:#edf6f6;border-radius:20px;padding:6px 10px;white-space:nowrap}.message-list{height:350px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;background:#f4f8fa;border-radius:12px;margin:16px 0;padding:16px}.message-bubble{max-width:85%;align-self:flex-start;background:#fff;border:1px solid #dce7ed;border-radius:12px 12px 12px 3px;padding:12px 15px}.message-bubble.mine{align-self:flex-end;background:#dff1f0;border-color:#c1dfdf;border-radius:12px 12px 3px 12px}.message-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 8px;line-height:1.5}.message-bubble small{display:block;color:#536e7b;font-size:.72rem}.message-bubble strong{font-size:.76rem;color:#295a66}.message-compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.message-compose-bottom small{color:#627985}.message-workspace button:disabled{opacity:.55;cursor:wait}.message-workspace [hidden],.coach-profile-editor [hidden]{display:none!important}.coach-profile-editor textarea:focus,.message-workspace textarea:focus,.message-toolbar select:focus{outline:3px solid #c1e9ec;border-color:#147d86}.message-empty{color:#617782;text-align:center;padding:24px}.coach-profile-editor .actions{flex-wrap:wrap}.coach-profile-card .btn{margin-top:10px}
@media(max-width:600px){.message-workspace{padding:16px}.message-toolbar{align-items:stretch;flex-direction:column;gap:10px}.message-bubble{max-width:92%}.message-list{height:320px;padding:10px}.message-compose-bottom{align-items:flex-start;flex-direction:column}.message-compose-bottom button{align-self:flex-end}.coach-profile-photo-row{flex-direction:column}.coach-profile-cards{grid-template-columns:1fr}}
@media print{#view-coach{display:none!important}}
