/* Responsive refinements retain the existing four-tab visual system. */
.section-intro{color:var(--muted);font-size:14px;margin-bottom:16px}
.coach-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.coach-card{text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-width:0}
.coach-person{display:flex;align-items:center;gap:12px;min-width:0}
.coach-placeholder{width:64px;height:72px;background:var(--mint);display:grid;place-items:center;flex-shrink:0;border-radius:6px;color:var(--green)}
.coach-placeholder svg{width:30px;height:30px}
.coach-card h3{font-size:19px}.coach-card p{font-size:14px;line-height:1.8}.coach-card .foot{margin-top:auto;color:var(--green);display:flex;gap:8px;align-items:center;font-size:14px}
.coach-tags{display:flex;gap:7px;flex-wrap:wrap}.coach-style{color:var(--soil)}
.coach-detail-block{padding:20px 0;border-bottom:1px solid var(--line)}
.coach-detail-block h3{margin-bottom:9px}.service-plan{padding:20px 0;border-top:1px solid var(--line)}
.service-plan h3{font-size:17px}.service-price{margin:8px 0;color:var(--green);font-size:18px;font-weight:600}
.service-plan .meta{display:block}.coach-maintenance{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.coach-maintenance select{max-width:180px}.coach-empty{padding:24px 0}.coach-empty h3{margin-bottom:8px}
.review-inner{flex-wrap:wrap}.review-tools{margin-left:auto;display:flex;align-items:center;gap:6px}
.membership .chip{align-self:flex-start;flex-shrink:0}.membership .meta{display:block}
#main:focus{outline:none}
dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.dialog-top{flex-shrink:0;position:relative}
#dialog-body{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.plan-fields{border:0;border-top:1px solid var(--line);padding:15px 0;margin:16px 0;min-width:0}
.plan-fields legend{font-weight:600;padding-right:10px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.group-empty{padding:24px 0 28px;border-top:1px solid var(--line)}.group-empty .row-symbol{margin-bottom:14px}.group-empty h3{margin-bottom:8px}.group-empty p{color:var(--muted)}.group-join{padding:16px 0}.group-qr{display:block;width:200px;max-width:100%;height:auto;margin:20px auto}
@media(max-width:760px){
  .app-shell{display:block}.workspace{width:100%;padding-bottom:calc(112px + env(safe-area-inset-bottom))}
  .review-inner{padding:8px 12px;gap:6px}.review-inner label{display:none}.review-inner select{margin-left:auto;min-height:44px;max-width:172px}.review-inner .icon-button{width:44px;height:44px}
  .page-head{align-items:flex-start}.page-head>div{min-width:0}.page-head h1{font-size:23px;line-height:1.5}.date-mark{display:none}
  .section-head{flex-wrap:wrap;gap:5px 12px}.section-head .text-button{flex-shrink:1}.section-head h2{font-size:19px}
  .learning-grid{grid-template-columns:1fr}.photo-resource{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:stretch}
  .resource-photo{height:100%;min-height:172px;aspect-ratio:auto}.resource-photo img{height:100%;object-fit:cover}.media-label{max-width:calc(100% - 14px)}
  .resource-body{padding:14px}.photo-resource h3{font-size:18px}.photo-resource p{font-size:14px}.photo-resource .foot{font-size:13px}
  .practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-grid .resource{padding:16px 12px}.practice-grid .resource h3{font-size:16px}
  .event-row{display:grid;grid-template-columns:46px minmax(0,1fr) 54px;gap:10px}.event-row>.small-action{margin-left:0;min-height:44px;padding:6px}.event-body h3{font-size:15px}
  .daily{grid-template-columns:minmax(0,1fr) 76px;padding:18px 14px;gap:12px}.daily img{width:76px;height:auto}.daily blockquote{font-size:18px}.daily .meta{flex-wrap:wrap}
  .row{gap:11px;min-height:64px}.row-copy h3{font-size:16px}.row-copy p{font-size:14px}.row-copy,.event-body,.membership{overflow-wrap:anywhere}
  .membership{gap:10px}.membership .row-symbol{width:34px;height:38px}.membership h3{font-size:16px}.membership .meta{font-size:12px}
  .coach-list{grid-template-columns:1fr}.coach-card{padding:18px}.coach-card p{font-size:15px}.coach-detail-block{padding:16px 0}
  .icon-button,.small-action,.text-button{min-height:44px}.icon-button{width:44px;height:44px}.bottom-nav .nav-item{min-height:54px}
  dialog{width:calc(100% - 16px);max-height:calc(100dvh - 32px);margin:auto;border-radius:8px}
  .dialog-top{padding:12px 16px}.dialog-top h2{font-size:19px;overflow-wrap:anywhere}#dialog-body{padding:18px 16px 24px}.details{grid-template-columns:52px minmax(0,1fr)}
  #dialog-body .actions{gap:8px}#dialog-body .actions>*{flex:1 1 130px}#dialog-body input,#dialog-body select,#dialog-body textarea{min-width:0;max-width:100%}
}
@media(max-width:350px){.practice-grid{grid-template-columns:1fr}.photo-resource{grid-template-columns:94px minmax(0,1fr)}.review-inner select{max-width:142px}.prototype-tag{padding:2px 5px}.daily{grid-template-columns:minmax(0,1fr) 60px}.daily img{width:60px}.event-row{grid-template-columns:40px minmax(0,1fr)}.event-row>.small-action{grid-column:2;justify-self:start}.membership{flex-wrap:wrap}.membership>.chip{margin-left:44px}}
