:root {
  --ink: #171916;
  --paper: #f3f0e9;
  --panel: #fffdf8;
  --line: #ded9cf;
  --muted: #797b74;
  --orange: #f05a36;
  --orange-dark: #d94624;
  --mint: #cfe7d9;
  --sand: #ead8b8;
  --violet: #d9d2ea;
  --shadow: 0 18px 50px rgba(25, 27, 23, 0.08);
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.eyebrow { font-size: 11px; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; color: var(--orange); }
.pill { display: inline-flex; padding: 7px 11px; border-radius: 99px; background: #efece4; font-size: 12px; font-weight: 700; }
.primary { border: 0; border-radius: 12px; background: var(--orange); color: white; padding: 13px 20px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(240,90,54,.22); transition: .18s ease; }
.primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.secondary { border: 1px solid #cbc6bb; border-radius: 11px; background: white; color: var(--ink); padding: 11px 16px; font-weight: 800; cursor: pointer; }
.secondary:hover { border-color: var(--orange); color: var(--orange-dark); }
.form-message { min-height: 20px; color: var(--orange-dark); font-size: 13px; }

.login-page { background: var(--ink); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.25fr .75fr; }
.login-brand { position: relative; overflow: hidden; padding: clamp(50px, 8vw, 120px); display: flex; flex-direction: column; justify-content: center; background: #1c1e1a; color: white; }
.login-brand::before { content:""; position:absolute; width:460px; height:460px; border:90px solid var(--orange); border-radius:50%; top:-230px; right:-170px; opacity:.9; }
.login-brand::after { content:""; position:absolute; width:250px; height:250px; border:1px solid rgba(255,255,255,.12); border-radius:50%; bottom:-80px; left:34%; }
.login-brand h1 { position: relative; margin: 24px 0; max-width: 720px; font-size: clamp(42px, 6.2vw, 84px); line-height: 1.08; letter-spacing: -.055em; }
.login-brand p { max-width: 520px; color: #aeb2a8; font-size: 18px; line-height: 1.8; }
.brand-mark { position: absolute; left: clamp(50px,8vw,120px); bottom: 46px; font-size: 24px; font-weight: 900; letter-spacing: -.05em; }
.brand-mark span, .logo span { color: var(--orange); margin-left: 3px; }
.login-card { background: var(--panel); padding: clamp(36px,7vw,90px); display: flex; flex-direction: column; justify-content: center; gap: 42px; }
.login-card h2 { margin: 20px 0 8px; font-size: 36px; letter-spacing: -.04em; }
.stack { display: grid; gap: 20px; }
label { display: grid; gap: 8px; font-size: 13px; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 12px 13px; outline: none; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,90,54,.1); }

.topbar { height: 72px; padding: 0 4vw; display: grid; grid-template-columns: 210px 1fr auto; align-items: center; background: #191b18; color: white; }
.logo { font-size: 22px; font-weight: 950; letter-spacing: -.05em; display: inline-flex; align-items: center; }
.logo .sys-tag { font-size: 11px; font-weight: 800; font-style: normal; letter-spacing: 0; margin-left: 9px; padding: 3px 8px; border-radius: 6px; background: var(--orange); color: white; }
.parent-contact { font-size: 12px; margin-top: 4px; }
.parent-contact a { color: var(--orange); font-weight: 800; text-decoration: none; }
.parent-contact.muted { color: #9a9d94; }
.topbar nav { height: 100%; display: flex; align-items: stretch; gap: 30px; }
.topbar nav a { display: flex; align-items: center; color: #a7aaa2; font-size: 13px; font-weight: 700; border-bottom: 2px solid transparent; }
.topbar nav a.active { color: white; border-color: var(--orange); }
.topbar nav a.disabled { opacity: .5; cursor: default; }
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-menu div { display: grid; gap: 2px; }
.user-menu small { color: #8f928b; font-size: 11px; }
.user-menu button { border: 0; background: transparent; color: #bbbdb7; cursor: pointer; font-size: 20px; margin-left: 6px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); font-weight: 900; }

.workspace { width: min(1440px, 92vw); margin: 0 auto; padding: 46px 0 80px; }
.welcome { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.welcome h1, .coach-hero h1, .session-header h1 { margin: 8px 0 8px; font-size: clamp(36px,4vw,58px); line-height:1; letter-spacing: -.055em; }
.welcome p, .coach-hero p, .session-header p { margin: 0; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.metric { min-height: 150px; padding: 22px; border-radius: 16px; display: grid; align-content: space-between; border: 1px solid rgba(0,0,0,.03); }
.metric.coral { background: #f7cabb; } .metric.mint { background: var(--mint); } .metric.sand { background: var(--sand); } .metric.violet { background: var(--violet); }
.metric span { font-size: 13px; font-weight: 800; }
.metric strong { font-size: 42px; letter-spacing: -.05em; }
.metric small { color: rgba(20,20,20,.62); }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; }
.panel-head h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.035em; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 12px 24px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
td { padding: 17px 24px; border-bottom: 1px solid #ebe7df; font-size: 13px; }
td strong, td small { display: block; } td small { margin-top: 4px; color: var(--muted); }
.status { display: inline-flex; padding: 6px 9px; border-radius: 99px; background: #eceae4; font-size: 11px; font-weight: 800; }
.status-new, .status-scheduled { background: #f9d4c9; color: #a43a20; }
.status-matching { background: #eee0bd; color: #765b19; }
.status-trial_scheduled { background: #d4e8dd; color: #266646; }
.status-converted, .status-completed { background: #d7e7d0; color: #315f28; }
.timeline { padding: 0 20px 24px; display: grid; }
.timeline-item { display: grid; grid-template-columns: 56px 1fr 16px; gap: 14px; align-items: center; padding: 18px 4px; border-top: 1px solid var(--line); }
.timeline-item time { font-size: 13px; font-weight: 900; color: var(--orange); }
.timeline-item div { display: grid; gap: 4px; }
.timeline-item span { color: var(--muted); font-size: 12px; }
.empty { padding: 30px; text-align: center; color: var(--muted); }
.text-link { color: var(--orange-dark); font-size: 13px; font-weight: 850; }
.student-link:hover { color: var(--orange-dark); }
.danger-link { border: 0; background: transparent; color: #a33b25; cursor: pointer; font-size: 12px; font-weight: 800; }

.board-section { margin: 34px 0 18px; }
.kanban { display: grid; grid-template-columns: repeat(8, minmax(185px, 1fr)); gap: 12px; overflow-x: auto; padding: 2px 2px 16px; }
.kanban-column { min-height: 230px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,253,248,.65); }
.kanban-column > header { padding: 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 850; }
.kanban-column > header b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e9e5dc; }
.kanban-column > div { padding: 10px; display: grid; gap: 9px; }
.kanban-empty { color: var(--muted); font-size: 11px; text-align: center; margin: 28px 0; }
.pipeline-card { padding: 13px; border-radius: 11px; background: white; border: 1px solid #e6e1d7; box-shadow: 0 5px 16px rgba(25,27,23,.04); display: grid; gap: 5px; }
.pipeline-card > span, .pipeline-card small { color: var(--muted); font-size: 11px; }
.pipeline-card footer { border-top: 1px solid #eeeae2; margin-top: 5px; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.pipeline-card footer b { font-size: 12px; }.pipeline-card footer em { font-size: 10px; font-style: normal; color: var(--muted); }
.urgent { color: var(--orange-dark) !important; font-weight: 850; }
.change-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.notice-list,.change-list { padding: 0 20px 20px; display: grid; gap: 9px; }
.notice-card,.change-card { border-top: 1px solid var(--line); padding: 14px 4px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.notice-card > div,.change-card > div { display: grid; gap: 4px; }.notice-card span,.change-card span { font-size: 10px; font-weight: 900; color: var(--orange); letter-spacing: .06em; }.notice-card small,.change-card small { font-size: 11px; color: var(--muted); }
.notice-card button { border: 0; background: #eeebe4; padding: 7px 9px; border-radius: 8px; font-size: 10px; cursor: pointer; white-space: nowrap; }
.notice-card.risk,.change-card.risk { background: #fff0eb; border: 1px solid #f2b9a8; border-radius: 10px; padding: 13px; }.change-card > b { color: #a5361d; font-size: 10px; text-align: right; }

dialog { width: min(680px,92vw); border: 0; border-radius: 18px; padding: 0; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(18,20,17,.7); backdrop-filter: blur(5px); }
.dialog-form { padding: 8px 26px 28px; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #efede7; cursor:pointer; font-size: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 22px; }
.form-grid .full { grid-column: 1 / -1; }

.coach-page { background: #eeece6; }
.coach-workspace, .session-workspace { width: min(960px,92vw); margin: 0 auto; padding: 48px 0 90px; }
.coach-hero { padding: 20px 0 42px; }
.schedule-tabs{display:flex;gap:8px;margin-bottom:18px}.schedule-tabs a{padding:10px 14px;border:1px solid var(--line);border-radius:99px;background:var(--panel);color:var(--muted);font-size:12px;font-weight:850}.schedule-tabs a.active{background:var(--ink);border-color:var(--ink);color:white}
.section-title { display:flex; justify-content:space-between; align-items:center; margin-bottom: 14px; }
.section-title h2 { margin:0; font-size: 22px; }
.section-title span { color:var(--muted); font-size:13px; }
.coach-list { display:grid; gap:12px; }
.coach-session-card { background: var(--panel); border:1px solid var(--line); border-radius:16px; padding:18px; display:grid; grid-template-columns:84px 1fr auto; align-items:center; gap:18px; box-shadow: 0 8px 30px rgba(25,27,23,.05); transition:.18s; }
.coach-session-card:hover { transform:translateY(-2px); border-color:#c8c2b6; }
.date-block { height:70px; border-right:1px solid var(--line); display:grid; align-content:center; }
.date-block strong { font-size:22px; } .date-block span { color:var(--muted); font-size:12px; }
.session-main h3 { margin:8px 0 5px; font-size:19px; }.session-main p{margin:0;color:var(--muted);font-size:13px}
.history-attendance{display:grid;gap:4px;margin-top:11px}.history-attendance span{font-size:11px;color:#555851}.history-attendance strong{color:var(--ink)}.history-attendance small{margin-left:4px;color:var(--muted)}
.time-chip { color:var(--orange);font-size:12px;font-weight:850;letter-spacing:.08em}
.card-action { font-size:12px;font-weight:800;color:var(--orange); }.card-action b{font-size:18px;margin-left:5px}
.sop-note { margin-top:20px; background:#1c1e1a;color:white;border-radius:14px;padding:18px 20px;display:flex;gap:18px;align-items:center; }
.sop-note strong{color:#ff8a68;white-space:nowrap}.sop-note span{font-size:13px;color:#bdc0b8;line-height:1.6}
.empty-card{background:var(--panel);border:1px dashed var(--line);padding:40px;text-align:center;color:var(--muted);border-radius:16px}

.back-link { display:inline-block;margin-bottom:24px;color:var(--muted);font-size:13px;font-weight:700 }
.session-header { display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:20px}
.navigation-link{display:inline-flex;margin-left:8px;color:var(--orange-dark);font-size:12px;font-weight:850}
.session-price { min-width:160px;text-align:right;display:grid;gap:4px}.session-price span,.session-price small{color:var(--muted);font-size:12px}.session-price strong{font-size:24px}
.attendance-list{display:grid;gap:10px}
.attendance-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;grid-template-columns:42px minmax(150px,1fr) auto;align-items:center;gap:16px}
.student-index{font-family:monospace;color:#a4a69f;font-weight:800}.student-info h3{margin:0 0 5px;font-size:17px}.student-info p{margin:0;color:var(--muted);font-size:12px}
.segmented{display:flex;background:#eeece6;border-radius:10px;padding:4px}.segmented label{display:block}.segmented input{position:absolute;opacity:0;width:1px;height:1px}.segmented span{display:block;padding:9px 12px;border-radius:7px;font-size:12px;cursor:pointer;font-weight:750;color:#666961}.segmented input:checked+span{background:var(--ink);color:white;box-shadow:0 4px 10px rgba(0,0,0,.14)}
.leave-field{grid-column:3;margin-top:8px}.leave-field input{padding:8px}
.protocol-box{margin-top:14px;background:#fff1eb;border:1px solid #f5c7b8;border-radius:14px;padding:18px}.check{display:flex;grid-template-columns:auto 1fr;align-items:center;margin-bottom:16px}.check input{width:18px}
.handoff-strip{margin-bottom:18px;background:#dce9e2;border:1px solid #c3d8cc;border-radius:14px;padding:17px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.handoff-strip>div:first-child{display:grid;gap:4px}.handoff-strip small{color:#5f6f66}.handoff-actions{display:flex;gap:9px;white-space:nowrap}.mode-tabs{display:flex;gap:9px;margin-bottom:18px}.mode-tabs label{display:flex;grid-template-columns:auto 1fr;align-items:center;background:#efede7;padding:10px 13px;border-radius:9px}.mode-tabs input{width:16px}.risk-note{background:#fff0eb;border:1px solid #f2b9a8;padding:12px;border-radius:9px;color:#96331c;font-size:12px}.dialog-reason{margin:18px 0}.dialog-reason textarea{min-height:85px}
.admin-reason{margin:14px 0}.admin-reason textarea{min-height:80px}
.submit-bar{margin-top:18px;background:#1c1e1a;color:white;border-radius:14px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center}.submit-bar div{display:grid;gap:5px}.submit-bar span{font-size:12px;color:#aeb1aa}
.receipt{margin-top:20px}.receipt-row{display:grid;grid-template-columns:1fr 90px 90px 1.4fr;align-items:center;gap:12px;padding:16px 24px;border-top:1px solid var(--line);font-size:13px}.receipt-row small{color:var(--muted)}.deduct{color:#b83c22}.no-deduct{color:#2f6a46}
.checkin-receipt{margin-top:16px}.checkin-row{display:flex;justify-content:space-between;gap:18px;padding:16px 24px;border-top:1px solid var(--line);font-size:12px}.checkin-row>div{display:grid;gap:4px}.checkin-row span,.checkin-row small{color:var(--muted)}.checkin-row a{color:var(--orange-dark);font-weight:850}

.print-page{background:#e7e4dd;padding:40px}.invoice{width:min(900px,100%);margin:auto;background:white;padding:54px;box-shadow:var(--shadow)}.invoice header{display:flex;justify-content:space-between;align-items:start;border-bottom:3px solid var(--ink);padding-bottom:24px}.invoice h1{font-size:34px;margin:10px 0 0}.invoice-no{font-family:monospace;font-weight:800}.invoice-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);margin:24px 0}.invoice-meta div{background:white;padding:16px;display:grid;gap:6px}.invoice-meta span{font-size:11px;color:var(--muted)}.invoice-total{margin-left:auto;width:320px;padding:18px 0}.invoice-total div{display:flex;justify-content:space-between;padding:9px}.invoice-total .grand{border-top:2px solid var(--ink);font-size:20px}.bank-box{background:#f1eee7;padding:20px;border-radius:10px;display:grid;gap:8px}.bank-box span{font-size:11px;color:var(--muted)}.bank-box p{margin:0;font-size:13px}.policy{margin-top:30px;border-top:1px solid var(--line);padding-top:20px}.policy pre{white-space:pre-wrap;font-family:inherit;font-size:11px;line-height:1.7;color:#5f625c}

.ledger-workspace{max-width:1220px}.ledger-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}.ledger-list{display:grid;gap:12px}.ledger-card{background:var(--panel);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.ledger-card summary{list-style:none;cursor:pointer;padding:18px 22px;display:grid;grid-template-columns:minmax(240px,1.6fr) 130px 180px auto;gap:18px;align-items:center}.ledger-card summary::-webkit-details-marker{display:none}.ledger-person{display:flex;align-items:center;gap:12px}.ledger-person>div{display:grid;gap:4px}.ledger-person small,.ledger-expiry span,.ledger-expiry small{color:var(--muted);font-size:11px}.ledger-balance strong{font-size:28px}.ledger-balance span{color:var(--muted);font-size:12px}.ledger-expiry{display:grid;gap:3px}.ledger-detail{border-top:1px solid var(--line);padding:22px;display:grid;grid-template-columns:1.5fr .7fr;gap:28px;background:#f8f5ef}.ledger-detail h3{margin:0 0 14px;font-size:15px}.ledger-history{display:grid}.ledger-entry{display:grid;grid-template-columns:100px 55px 65px 1fr;gap:10px;padding:11px 0;border-top:1px solid var(--line);font-size:12px}.ledger-entry span{color:var(--muted)}.extension-form{display:grid;gap:12px;background:white;padding:17px;border:1px solid var(--line);border-radius:12px}.extension-form textarea{min-height:70px}.overdue-panel{margin-top:18px}

.settings-workspace{max-width:1320px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.template-panel{grid-column:1/-1}.template-panel textarea{min-height:230px;line-height:1.65}.template-help{color:var(--muted);font-size:12px;line-height:1.7}.master-create-form{padding:0 24px 22px;border-bottom:1px solid var(--line)}.master-list{padding:10px 20px 22px;display:grid;gap:10px}.master-row{display:grid;grid-template-columns:70px 1fr 1fr;gap:10px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:12px;background:#faf8f3}.master-row.venue-edit-form{grid-template-columns:70px 1fr 1.2fr}.master-row .wide{grid-column:2/-1}.master-row .master-meta{grid-column:2/-1;color:var(--muted);font-size:11px}.master-row .form-message{grid-column:1/-1;margin:0}.master-row.is-inactive{opacity:.62}.map-link{align-self:center;color:var(--orange-dark);font-size:11px;font-weight:850}

.student-workspace{max-width:1180px}.student-hero,.workflow-hero{background:#1b1d19;color:white;border-radius:18px;padding:30px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;margin-bottom:18px}.student-hero{grid-template-columns:auto 1fr}.student-avatar{width:68px;height:68px;font-size:28px}.student-hero h1,.workflow-hero h1{font-size:44px;margin:5px 0}.student-hero p,.workflow-hero p{margin:0;color:#afb3aa}.contact-card{min-width:220px;background:#f5f1e8;color:var(--ink);padding:16px;border-radius:12px;display:grid;gap:5px}.contact-card span,.contact-card small{color:var(--muted);font-size:11px}.contact-card a{color:var(--orange-dark);font-weight:850}.contact-card.compact{min-width:240px}.student-profile{margin-bottom:18px}.student-profile-table{table-layout:fixed}.student-profile-table th:first-child{width:190px}.student-profile-table tbody th{color:var(--muted);font-size:12px}.student-profile-table td{font-weight:700;white-space:normal;line-height:1.6}.student-profile-table td a{color:var(--orange-dark)}.missing-value{color:#a1a39d;font-weight:600}.student-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:18px;margin-bottom:18px}.contract-list{padding:0 20px 22px;display:grid;gap:10px}.contract-card{border-top:1px solid var(--line);padding:16px 4px;display:grid;grid-template-columns:1fr 100px 150px;align-items:center;gap:16px}.contract-card h3{margin:6px 0}.contract-card p,.contract-card span,.contract-card small{color:var(--muted);font-size:11px}.contract-balance strong{font-size:30px}.student-history{margin-bottom:30px}

.workflow-workspace{max-width:1060px}.workflow-hero{grid-template-columns:1fr auto}.inquiry-needs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.inquiry-needs span{font-size:10px;padding:6px 8px;border-radius:99px;background:#32352f;color:#d7dacf}.workflow-hero .map-link{display:inline-block;margin-top:3px;color:#ff8a68}.flow-steps{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.flow-steps li{border-radius:11px;background:#e7e3da;color:#777a73;transition:transform .15s ease,box-shadow .15s ease}.flow-steps button{width:100%;min-height:58px;border:0;border-radius:inherit;background:transparent;color:inherit;padding:11px;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer;font:inherit}.flow-steps button:hover{transform:translateY(-1px)}.flow-steps button:focus-visible{outline:3px solid rgba(236,99,68,.3);outline-offset:2px}.flow-steps li span{width:27px;height:27px;flex:0 0 27px;border-radius:50%;display:grid;place-items:center;background:#d6d1c7;font-size:11px;font-weight:900}.flow-steps li strong{font-size:12px}.flow-steps li.completed{background:#d7e8de;color:#285e40}.flow-steps li.completed span{background:#2f6a46;color:white}.flow-steps li.locked{color:#92958e}.flow-steps li.active{box-shadow:0 0 0 2px var(--orange),0 8px 18px rgba(66,43,32,.12)}.flow-steps li.active:not(.completed){background:#fff0ea;color:#8d3a26}.flow-steps li.active:not(.completed) span{background:var(--orange);color:white}.workflow-panel{padding-bottom:24px}.workflow-step-panel[hidden]{display:none}.workflow-form{padding:5px 24px}.workflow-locked{min-height:250px;padding:42px;display:flex;align-items:center;justify-content:center;gap:18px;text-align:left}.workflow-locked>span{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#ece8df;font-size:20px}.workflow-locked h2{margin:0 0 6px}.workflow-locked p{margin:0;color:var(--muted);font-weight:750}.inquiry-received dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.inquiry-received dl>div{padding:14px;border:1px solid var(--line);border-radius:11px;background:#faf8f3}.inquiry-received dt{color:var(--muted);font-size:10px}.inquiry-received dd{margin:5px 0 0;font-weight:800}.direct-trial-callout{margin:4px 24px 20px;padding:14px 16px;border:1px dashed #c9c2b6;border-radius:11px;background:#f8f5ee;display:flex;align-items:center;justify-content:space-between;gap:14px}.direct-trial-callout>div{display:grid;gap:3px}.direct-trial-callout small{color:var(--muted)}.compact-success{padding:18px 0}.compact-success>span{width:42px;height:42px;font-size:18px}.panel-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.match-compose{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px;padding-bottom:22px}.match-compose>section{display:grid;gap:14px;align-content:start}.picker-add-row{display:grid;grid-template-columns:1fr auto;gap:8px}.selected-coaches{min-height:54px;padding:10px;border-radius:10px;background:#f2efe8;display:flex;gap:7px;flex-wrap:wrap;align-items:center}.selected-coaches small{color:var(--muted)}.selected-coach-chip{border:1px solid #d3cec3;border-radius:99px;background:white;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer}.selected-coach-chip span{color:var(--orange)}.message-preview textarea{font-family:inherit;line-height:1.55;resize:vertical}.match-actions{display:flex;justify-content:flex-end;gap:9px}.match-history{border-top:1px solid var(--line);padding:22px 0}.match-history h3{margin:0 0 12px}.match-card{display:grid;grid-template-columns:190px 1fr auto;gap:14px;align-items:center;border-top:1px solid var(--line);padding:14px 0}.match-card>div:first-child{display:grid;gap:5px}.match-card small{color:var(--muted);font-size:10px}.match-card details summary{cursor:pointer;color:var(--orange-dark);font-size:11px;font-weight:800}.match-card pre{white-space:pre-wrap;font-family:inherit;font-size:11px;color:#5e615b;background:#f3f0e9;padding:12px;border-radius:9px}.match-response{display:flex;gap:7px;justify-content:flex-end}.status-accepted{background:#d7e8de;color:#285e40}.status-declined{background:#eeeae4;color:#777a73}.trial-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);margin:0 0 22px}.trial-summary>div{background:#faf8f3;padding:14px;display:grid;gap:4px}.trial-summary span{font-size:10px;color:var(--muted)}.soft-warning{margin:-10px 0 22px;padding:12px 14px;border:1px solid #e5c36f;border-radius:10px;background:#fff6da;color:#6d5112;font-size:13px;font-weight:750}.price-confirm{background:#edf4ef;border:1px solid #c9ded0;color:#315f45;padding:13px;border-radius:10px;margin-bottom:18px;font-size:12px}.workflow-success{padding:28px;display:flex;align-items:center;gap:18px}.workflow-success>span{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#2f6a46;color:white;font-size:24px}.workflow-success>div{flex:1}.workflow-success h2{margin:0 0 5px}.workflow-success p{margin:0;color:var(--muted)}.workflow-success.muted-result>span{background:#8d8f88}

.match-actions{flex-wrap:wrap}.line-share{display:inline-flex;align-items:center;border-radius:11px;background:#06c755;color:white;padding:11px 16px;font-size:12px;font-weight:850}.line-share:hover{background:#05b54d}.line-share.compact{width:max-content;padding:8px 11px}

.apply-page{background:#ece8df}.apply-shell{width:min(1120px,calc(100% - 40px));margin:auto;padding:50px 0 70px;display:grid;grid-template-columns:minmax(300px,.72fr) minmax(480px,1.28fr);gap:28px;align-items:start}.apply-intro{position:sticky;top:32px;min-height:560px;border-radius:24px;background:#1b1d19;color:white;padding:38px;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.apply-intro::after{content:"";position:absolute;width:260px;height:260px;border:58px solid var(--orange);border-radius:50%;right:-125px;bottom:-115px;opacity:.95}.apply-logo{position:absolute;top:30px;left:38px;font-size:22px;font-weight:950;letter-spacing:-.05em}.apply-logo span{color:var(--orange);margin-left:4px}.apply-kicker{position:relative;color:#f37b5e;font-size:10px;font-weight:850;letter-spacing:.17em}.apply-intro h1{position:relative;margin:18px 0;font-size:clamp(38px,4.3vw,58px);line-height:1.08;letter-spacing:-.055em}.apply-intro>p{position:relative;margin:0;max-width:420px;color:#b6bab1;font-size:15px;line-height:1.8}.apply-progress{position:relative;list-style:none;margin:34px 0 0;padding:0;display:grid;gap:12px}.apply-progress li{display:flex;align-items:center;gap:10px;color:#8f948a;font-size:12px;font-weight:750}.apply-progress li span{width:26px;height:26px;border:1px solid #565b51;border-radius:50%;display:grid;place-items:center}.apply-progress li.active{color:white}.apply-progress li.active span{border-color:var(--orange);background:var(--orange)}.apply-card{border:1px solid var(--line);border-radius:24px;background:var(--panel);padding:34px;box-shadow:var(--shadow)}.apply-card>header{padding:4px 4px 22px}.apply-card h2{margin:9px 0;font-size:30px;letter-spacing:-.04em}.apply-card header p{margin:0;color:var(--muted);font-size:12px}.apply-card b{color:var(--orange)}.apply-form{display:grid;gap:12px}.apply-field{padding:18px;border:1px solid #e2ddd3;border-radius:14px;background:#fcfaf5}.apply-field label{font-size:14px}.apply-field input,.apply-field select,.apply-field textarea{margin-top:4px;background:white}.apply-field textarea{min-height:92px;resize:vertical}.choice-field{margin:0;min-width:0}.choice-field legend{font-size:14px;font-weight:750;padding:0 5px}.grade-options,.goal-options{display:grid;gap:8px;margin-top:10px}.grade-options{grid-template-columns:1fr 1fr}.choice-card,.check-card{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:white;padding:11px;cursor:pointer}.choice-card input,.check-card input{width:17px;margin:0;accent-color:var(--orange);flex:0 0 auto}.choice-card span{display:grid;gap:2px}.choice-card small{font-size:10px;color:var(--muted);font-weight:500}.check-card span{font-size:12px;line-height:1.45}.choice-card:has(input:checked),.check-card:has(input:checked){border-color:var(--orange);background:#fff3ef}.field-hint{display:block;margin-top:8px;color:var(--muted)}.time-other-field{margin-top:12px;padding:12px;border:1px solid #e3c38b;border-radius:10px;background:#fff8e8}.location-control{display:grid;grid-template-columns:1fr auto;gap:8px}.location-button{border:1px solid #cbc6bb;border-radius:10px;background:white;padding:0 14px;font-weight:800;cursor:pointer}.location-field>[data-location-status]{color:#2f6a46}.location-note{margin:10px 0 0;padding:11px;border-radius:9px;background:#f0eee7;color:#656860;font-size:11px;line-height:1.65}.apply-submit{margin-top:8px;width:100%;padding:15px}.honeypot-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.apply-confirmation{min-height:430px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:22px}.confirmation-check{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#d7e8de;color:#285e40;font-size:28px;font-weight:900}.apply-confirmation h2{margin:8px 0}.apply-confirmation p{margin:0;max-width:520px;color:var(--muted);line-height:1.8}.line-button{display:inline-flex;border-radius:12px;background:#06c755;color:white;padding:14px 18px;font-weight:850}.line-button:hover{background:#05b54d}

.flow-steps{grid-template-columns:repeat(6,1fr)}
.master-row.venue-edit-form{grid-template-columns:70px repeat(3,1fr)}.venue-completeness{grid-column:2/-1;display:flex;gap:7px;flex-wrap:wrap}.venue-completeness span{padding:5px 8px;border-radius:99px;background:#ece8df;color:var(--muted);font-size:10px;font-weight:800}
.venue-match-workflow{border-bottom:1px solid var(--line);padding-bottom:26px;margin-bottom:22px}.chosen-venue-banner{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:13px 15px;border-radius:11px;background:#d7e8de;color:#285e40}.chosen-venue-banner span{font-size:10px;font-weight:900}.chosen-venue-banner small{margin-left:auto}.venue-recommend-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.venue-recommend-card{display:flex;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#faf8f3;cursor:pointer}.venue-recommend-card:has(input:checked){border-color:var(--orange);background:#fff1eb}.venue-recommend-card>input{width:17px;margin-top:2px;accent-color:var(--orange)}.venue-recommend-content{display:grid;gap:5px;min-width:0}.venue-recommend-content small,.venue-recommend-content p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}.venue-recommend-content b{font-size:11px;color:var(--orange-dark)}.venue-message-preview{margin-top:16px;display:grid;gap:10px}.venue-message-preview textarea{line-height:1.6;resize:vertical}.venue-match-history{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.venue-match-card{display:grid;grid-template-columns:170px 1fr 1.2fr;gap:14px;align-items:start;padding:15px 0;border-top:1px solid #ebe7df}.venue-match-title,.venue-decision-result{display:grid;gap:5px}.venue-match-title small,.venue-decision-result small{color:var(--muted);font-size:10px}.venue-match-card details summary{cursor:pointer;color:var(--orange-dark);font-size:11px;font-weight:850}.venue-match-card pre{white-space:pre-wrap;font-family:inherit;font-size:10px;background:#f3f0e9;padding:10px;border-radius:8px}.venue-decision-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.venue-decision-form>label:last-of-type{grid-column:1/-1}.venue-decision-form>div,.venue-decision-form>.form-message{grid-column:1/-1}.status-chosen{background:#d7e8de;color:#285e40}.status-rejected{background:#eeeae4;color:#777a73}.status-proposed{background:#eee0bd;color:#765b19}

.line-share.is-disabled{pointer-events:none;opacity:.48}.venue-choice-page{background:#ece8df}.venue-choice-shell{width:min(1060px,calc(100% - 40px));margin:auto;padding:46px 0 70px;display:grid;grid-template-columns:minmax(280px,.72fr) minmax(520px,1.28fr);gap:26px;align-items:start}.venue-choice-header{position:sticky;top:28px;min-height:500px;border-radius:24px;background:#1b1d19;color:#fff;padding:38px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.venue-choice-header::after{content:"";position:absolute;width:230px;height:230px;border:52px solid var(--orange);border-radius:50%;right:-120px;bottom:-105px}.venue-choice-header .apply-logo{z-index:1}.venue-choice-header h1{position:relative;margin:18px 0;font-size:clamp(36px,4vw,54px);line-height:1.08;letter-spacing:-.055em}.venue-choice-header>p{position:relative;color:#b6bab1;line-height:1.75}.venue-choice-card{min-height:500px;border:1px solid var(--line);border-radius:24px;background:var(--panel);padding:32px;box-shadow:var(--shadow)}.venue-choice-card header{margin-bottom:22px}.venue-choice-card header h2{margin:8px 0;font-size:30px}.venue-choice-card header p{margin:0;color:var(--muted)}.public-venue-grid{display:grid;gap:12px}.public-venue-option{position:relative;display:grid;grid-template-columns:auto 1fr;gap:12px;padding:18px;border:1px solid #ddd8ce;border-radius:15px;background:#fcfaf5;cursor:pointer}.public-venue-option>input{position:absolute;opacity:0;pointer-events:none}.public-venue-check{width:24px;height:24px;border:1px solid #c8c2b7;border-radius:50%;display:grid;place-items:center;color:transparent;font-weight:900}.public-venue-option:has(input:checked){border-color:var(--orange);background:#fff2ed;box-shadow:0 0 0 2px rgba(239,84,45,.1)}.public-venue-option:has(input:checked) .public-venue-check{border-color:var(--orange);background:var(--orange);color:#fff}.public-venue-details{display:grid;gap:6px}.public-venue-details strong{font-size:18px}.public-venue-details small,.public-venue-details p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.public-venue-details b{color:var(--orange-dark);font-size:12px}.public-venue-details .map-link{justify-self:start;margin-top:2px}.venue-choice-confirm{margin-top:18px;padding:18px;border-radius:14px;background:#1b1d19;color:#fff;display:grid;gap:8px}.venue-choice-confirm>span{color:#f37b5e;font-size:10px;font-weight:900;letter-spacing:.1em}.venue-choice-confirm>strong{font-size:21px}.venue-choice-confirm>p{margin:0 0 5px;color:#b6bab1;font-size:11px;line-height:1.6}.venue-choice-confirm .primary{justify-self:start}.venue-choice-success,.venue-choice-status{min-height:430px;display:flex;align-items:center;justify-content:center;gap:18px}.venue-choice-success>span,.venue-choice-status>span{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#d7e8de;color:#285e40;font-size:28px;font-weight:900}.venue-choice-success small{color:var(--orange);font-weight:900;letter-spacing:.12em}.venue-choice-success h2,.venue-choice-status h2{margin:7px 0;font-size:30px}.venue-choice-success p,.venue-choice-status p{margin:0;color:var(--muted)}.invalid-choice-page .venue-choice-status{min-height:500px;border:1px solid var(--line);border-radius:24px;background:var(--panel);padding:32px;box-shadow:var(--shadow)}.invalid-choice-page .venue-choice-status>span{background:#f3dfd8;color:#a33c25}

@media (max-width: 900px) {
  .login-shell{grid-template-columns:1fr}.login-brand{min-height:38vh;padding:42px}.login-brand h1{font-size:44px}.brand-mark{display:none}.login-card{padding:42px}
  .topbar{grid-template-columns:1fr auto;padding:0 20px}.topbar nav{display:none}.metric-grid{grid-template-columns:1fr 1fr}.content-grid{grid-template-columns:1fr}
  .attendance-card{grid-template-columns:36px 1fr}.segmented{grid-column:1/-1}.leave-field{grid-column:1/-1}.session-header{align-items:start}.session-price{display:none}
  .change-grid,.ledger-detail{grid-template-columns:1fr}.ledger-card summary{grid-template-columns:1fr 90px}.ledger-expiry{display:none}.ledger-summary{grid-template-columns:1fr 1fr 1fr}
  .settings-grid,.student-grid{grid-template-columns:1fr}.master-row{grid-template-columns:70px 1fr}.master-row.venue-edit-form{grid-template-columns:70px 1fr}.master-row .wide,.master-row .master-meta{grid-column:2}.student-hero,.workflow-hero{grid-template-columns:1fr}.contact-card{width:100%}
  .apply-shell,.venue-choice-shell{grid-template-columns:1fr;width:min(680px,calc(100% - 32px));padding-top:24px}.apply-intro,.venue-choice-header{position:relative;top:auto;min-height:400px}.apply-progress{grid-template-columns:repeat(3,1fr)}.apply-progress li{align-items:flex-start}
  .match-compose{grid-template-columns:1fr}.match-card,.venue-match-card{grid-template-columns:1fr}.match-response{justify-content:flex-start}.venue-recommend-grid{grid-template-columns:1fr}.flow-steps{grid-template-columns:repeat(3,1fr)}
}

@media (max-width: 560px) {
  .workspace,.coach-workspace,.session-workspace{width:92vw;padding-top:28px}.welcome{align-items:start;gap:18px}.welcome h1,.coach-hero h1,.session-header h1{font-size:36px}.welcome .primary{white-space:nowrap;padding:11px}
  .metric-grid{grid-template-columns:1fr 1fr}.metric{min-height:122px;padding:16px}.metric strong{font-size:34px}.metric small{font-size:10px}
  .coach-session-card{grid-template-columns:60px 1fr}.card-action{grid-column:2}.date-block{height:64px}.sop-note{align-items:start;flex-direction:column;gap:6px}
  .segmented{display:grid;grid-template-columns:1fr 1fr;width:100%}.segmented span{text-align:center}.submit-bar{align-items:stretch;flex-direction:column;gap:16px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}
  .receipt-row{grid-template-columns:1fr auto}.receipt-row small{grid-column:1/-1}.checkin-row{align-items:flex-start;flex-direction:column}.print-page{padding:0}.invoice{padding:24px}.invoice-meta{grid-template-columns:1fr 1fr}
  .handoff-strip{align-items:stretch;flex-direction:column}.handoff-actions{display:grid;grid-template-columns:1fr 1fr}.ledger-summary{grid-template-columns:1fr}.ledger-card summary{grid-template-columns:1fr auto}.ledger-entry{grid-template-columns:1fr auto}.ledger-entry span{grid-column:1/-1}
  .flow-steps{grid-template-columns:1fr 1fr}.trial-summary{grid-template-columns:1fr 1fr}.contract-card{grid-template-columns:1fr auto}.contract-card>div:last-child{grid-column:1/-1}.master-row,.master-row.venue-edit-form{grid-template-columns:1fr}.master-row .wide,.master-row .master-meta,.venue-completeness{grid-column:auto}.grade-options{grid-template-columns:1fr}.location-control{grid-template-columns:1fr}.location-button{padding:11px}.venue-decision-form{grid-template-columns:1fr}.venue-decision-form>label:last-of-type{grid-column:auto}
  .apply-shell,.venue-choice-shell{width:100%;padding:0;gap:0}.apply-intro,.venue-choice-header{min-height:380px;border-radius:0;padding:30px 24px}.apply-logo{left:24px}.apply-intro h1,.venue-choice-header h1{font-size:40px}.apply-card,.venue-choice-card{border-radius:22px 22px 0 0;margin-top:-18px;padding:24px 18px;position:relative}.apply-progress{display:none}.apply-field{padding:16px}.apply-confirmation{min-height:460px}.venue-choice-success,.venue-choice-status{align-items:flex-start;flex-direction:column}.invalid-choice-page .venue-choice-status{border-radius:22px 22px 0 0;margin-top:-18px}
}

@media print {
  .print-page{padding:0;background:white}.invoice{box-shadow:none;width:100%;padding:20px}.no-print{display:none}
}

.reports-workspace{display:grid;gap:24px}.reports-hero{align-items:end}.period-form{display:flex;gap:10px;align-items:end;padding:12px 14px;background:rgba(255,255,255,.75);border:1px solid var(--line);border-radius:18px}.period-form label{display:grid;gap:5px;font-size:12px;color:var(--muted)}.period-form input{min-width:145px}.reports-metrics{margin:0}.report-section{padding:22px}.payroll-totals{display:flex;gap:12px;overflow:auto;margin:16px 0}.payroll-totals article{min-width:190px;padding:16px;border-radius:16px;background:var(--paper);border:1px solid var(--line);display:grid;gap:4px}.payroll-totals strong{font-size:22px}.payroll-totals small{color:var(--muted)}.risk-row{background:#fff2ec}.status-risk{color:#9d3e20;background:#ffe0d4}.reports-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-bars,.reason-list,.margin-list,.asset-list{display:grid;gap:10px}.report-bar{display:grid;gap:5px}.report-bar>div:first-child{display:flex;justify-content:space-between}.report-bar>div:nth-child(2){height:7px;background:#ecebe5;border-radius:99px;overflow:hidden}.report-bar i{display:block;height:100%;background:var(--mint);border-radius:inherit}.report-bar small,.report-caption{color:var(--muted)}.reason-list>div,.margin-list article,.asset-list article{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}.margin-list article>div,.asset-list article>div{display:grid;gap:4px}.margin-list small,.asset-list small{color:var(--muted)}.margin-list b{white-space:nowrap}.negative{color:#a73f29}.reminder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}.automatic-reminder{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);background:var(--paper);border-radius:16px}.automatic-reminder>div{display:grid;gap:3px}.automatic-reminder small{color:var(--muted);line-height:1.4}.automatic-reminder button{border:0;background:transparent;color:var(--ink);text-decoration:underline;cursor:pointer}.automatic-reminder.is-read{opacity:.58}.reminder-type{padding:5px 8px;border-radius:99px;background:#ffe6d8;color:#8d442b;font-size:12px;font-weight:700}.reminder-preview{margin-bottom:24px}.coach-reminders{display:grid;gap:12px}

@media (max-width:800px){.reports-grid{grid-template-columns:1fr}.reports-hero{align-items:stretch}.period-form{flex-wrap:wrap}.period-form label{flex:1}.period-form input{min-width:0;width:100%}.automatic-reminder{grid-template-columns:auto 1fr}.automatic-reminder button{grid-column:2;justify-self:start}}

.coach-reply-page{min-height:100vh;background:radial-gradient(circle at 85% 10%,#f9d8c7 0,transparent 28%),#f4f1ea}.coach-reply-shell{width:min(760px,calc(100% - 28px));margin:0 auto;padding:42px 0 70px}.coach-reply-brand{display:grid;gap:12px;margin-bottom:24px}.coach-reply-brand h1{font-size:clamp(34px,7vw,58px);line-height:1.08;margin:8px 0}.coach-reply-brand p{color:var(--muted);max-width:600px}.coach-reply-card{padding:26px;background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:26px;box-shadow:0 24px 60px rgba(41,37,30,.1)}.coach-reply-details{display:grid;gap:0;margin:18px 0 26px}.coach-reply-details>div{display:grid;grid-template-columns:100px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.coach-reply-details dt{color:var(--muted);font-size:13px}.coach-reply-details dd{margin:0;font-weight:700}.coach-reply-details a{font-weight:600;font-size:13px}.coach-reply-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.coach-reply-actions button{min-height:58px;border-radius:16px;font-size:17px;font-weight:800;cursor:pointer}.accept-reply{border:0;background:#1d6b4f;color:#fff}.decline-reply,.decline-confirm{border:1px solid #b8523b;background:#fff;color:#9b3f2c}.decline-reason{display:grid;gap:7px}.coach-reply-success{min-height:260px;display:flex;align-items:center;justify-content:center;gap:18px;text-align:left}.coach-reply-success>span{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#d7eee2;color:#176344;font-size:28px}.coach-reply-success small{color:var(--muted);letter-spacing:.15em}.wait-yellow{border-color:#e5b64e;background:#fffaf0}.wait-red{border-color:#d87057;background:#fff3ef}.waiting-badge,.self-reply-badge,.admin-reply-badge{display:inline-flex;width:max-content;padding:4px 8px;border-radius:99px;font-size:11px;font-weight:800}.waiting-badge{background:#eeeae0}.wait-yellow .waiting-badge{background:#ffe7a8;color:#805d0d}.wait-red .waiting-badge{background:#ffd4c9;color:#963c27}.self-reply-badge{background:#d7eee2;color:#176344}.admin-reply-badge{background:#e8e3f4;color:#5b4984}.row-share-actions{display:flex;gap:8px;align-items:center;margin-top:10px}

@media (max-width:600px){.coach-reply-shell{padding-top:24px}.coach-reply-card{padding:20px}.coach-reply-details>div{grid-template-columns:1fr;gap:5px}.coach-reply-actions{grid-template-columns:1fr}.coach-reply-success{flex-direction:column;text-align:center}}
