/* TASK 10:50 P1 — trang cá nhân HLV (dùng chung khách / chủ hồ sơ). Nút + màu theo TASK 10:40 (#14643e, 48px, bo 8px). */
.cp,.cp-sheet,.cp-editor{--cp-green:#14643e;--cp-line:#dbe6dc;--cp-muted:#53685a}
.cp{max-width:760px;margin:0 auto 40px;color:#123d30}
.cp *{box-sizing:border-box}
.cp-cover{position:relative;overflow:hidden;aspect-ratio:3/1;min-height:120px;max-height:250px;background:linear-gradient(135deg,#dcefe2,#c3e3cd);border-radius:0 0 14px 14px}
.cp-cover-btn{position:absolute;right:12px;bottom:12px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid #fff;background:rgba(255,255,255,.92);color:var(--cp-green);font:inherit;font-weight:600;cursor:pointer}
.cp-head{padding:0 16px;min-width:0}
.cp-avatar-row{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:-48px}
.cp-avatar{width:96px;height:96px;border-radius:50%;border:4px solid #fff;background:#e7eee8;object-fit:cover;display:grid;place-items:center;font-size:var(--fs-page);font-weight:800;color:var(--cp-green)}
.cp-name{font-size:var(--fs-page);font-weight:800;margin:10px 0 2px;display:flex;align-items:flex-start;gap:8px;line-height:1.25}
.cp-where{display:flex;align-items:center;gap:6px;color:var(--cp-muted);margin:2px 0 4px}
.cp-tagline{margin:6px 0;font-size:var(--fs-body)}
.cp-stats{display:flex;flex-wrap:nowrap;white-space:nowrap;overflow:hidden;gap:6px 18px;list-style:none;padding:0;margin:10px 0;color:var(--cp-muted)}.cp-stats strong{color:#123d30;font-size:var(--fs-section)}
.cp-cta{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;margin:12px 0 4px}
.cp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border-radius:8px;border:1px solid var(--cp-green);font:inherit;font-size:var(--fs-body);font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap;text-align:center}
.cp-primary{background:var(--cp-green);color:#fff}.cp-primary:hover{background:#0f5534}
.cp-secondary{background:#fff;color:var(--cp-green)}.cp-secondary:hover{background:#edf6f0}
.cp-edit-all{min-width:0}
.cp-tabs{display:flex;flex-wrap:wrap;margin-top:14px}
.cp-tabs{position:relative}.cp-tab-input{position:absolute;opacity:0;pointer-events:none;left:0!important;top:0!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden;clip:rect(0 0 0 0)} /* TASK 02/12 13:50 A: /to-chuc's generic input{width:100%;min-height:44px} made the 3 hidden radios a full column wide from where they stand → the Hồ sơ tab scrolled sideways (768px ≈ 993px). The tab LABELS stay the 44px targets. */
.cp-tabbar{display:flex;flex-basis:100%;position:sticky;top:0;z-index:2;background:#f4f8f5;padding-top:env(safe-area-inset-top,0px)} /* SỬA NHỎ 11:10: ONE opaque sticky bar; on an iPhone the top inset (clock / battery) is filled with the bar colour. env() = 0 on computers / Android → unchanged there */
.cp-tab{flex:1 1 0;text-align:center;min-height:48px;display:flex;align-items:center;justify-content:center;font-weight:600;color:var(--cp-muted);border-bottom:2px solid var(--cp-line);background:#f4f8f5;cursor:pointer}
.cp-tab-input:checked+.cp-tab,.cp-tab-input:nth-of-type(1):checked~.cp-tabbar .cp-tab:nth-of-type(1),.cp-tab-input:nth-of-type(2):checked~.cp-tabbar .cp-tab:nth-of-type(2),.cp-tab-input:nth-of-type(3):checked~.cp-tabbar .cp-tab:nth-of-type(3),.cp-tab-input:nth-of-type(4):checked~.cp-tabbar .cp-tab:nth-of-type(4){color:var(--cp-green);border-bottom:3px solid var(--cp-green)}
.cp-tab-input:focus-visible+.cp-tab,.cp-tab-input:nth-of-type(1):focus-visible~.cp-tabbar .cp-tab:nth-of-type(1),.cp-tab-input:nth-of-type(2):focus-visible~.cp-tabbar .cp-tab:nth-of-type(2),.cp-tab-input:nth-of-type(3):focus-visible~.cp-tabbar .cp-tab:nth-of-type(3),.cp-tab-input:nth-of-type(4):focus-visible~.cp-tabbar .cp-tab:nth-of-type(4){outline:3px solid #6c8620;outline-offset:-3px}
.cp-panel{display:none;flex-basis:100%;padding:12px 0}
.cp-tab-input:nth-of-type(1):checked~.cp-p1,.cp-tab-input:nth-of-type(2):checked~.cp-p2,.cp-tab-input:nth-of-type(3):checked~.cp-p3,.cp-tab-input:nth-of-type(4):checked~.cp-p4{display:block}
.cp-card{background:#fff;border:1px solid var(--cp-line);border-radius:14px;padding:16px;margin:0 0 12px;overflow-wrap:anywhere}
.cp-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.cp-card-head h2{font-size:var(--fs-section);margin:0}
.cp-pen{width:44px;height:44px;min-width:44px;display:inline-grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--cp-green);cursor:pointer}.cp-pen:hover,.cp-pen:focus-visible{background:#edf6f0}
.cp-text{white-space:pre-line}.cp-muted{color:var(--cp-muted);font-size:var(--fs-meta)}.cp-label{font-size:var(--fs-label);font-weight:600;color:var(--cp-muted);margin:10px 0 4px}
.cp-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0}.cp-tag{display:inline-block;background:#e7eee8;border-radius:999px;padding:3px 10px;font-size:var(--fs-label)}.cp-wait{background:#fff3d6;color:#6b4b00}
.cp-list{list-style:none;padding:0;margin:8px 0 0}.cp-list li{border-top:1px solid #edf2ee;padding:10px 0;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}.cp-list li .cp-muted{flex-basis:100%}
.cp-actions-row{margin:12px 0 0}
.cp-status{border-color:#c8dccf;background:#f6faf7}
/* hộp sửa tại chỗ: trượt từ dưới (điện thoại) / giữa màn (máy tính) */
.cp-sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:100%;max-height:90dvh;border-radius:16px 16px 0 0;background:#fff;color:#123d30}
.cp-sheet::backdrop{background:#071e19b3}
.cp-sheet form{padding:18px 16px 16px;display:grid;gap:12px}
.cp-sheet h2{margin:0;font-size:var(--fs-section)}
.cp-sheet label{display:grid;gap:6px;font-weight:600;font-size:var(--fs-meta)}
.cp-sheet input:not([type=checkbox]),.cp-sheet textarea,.cp-sheet select{--cm-sel-pad:10px;width:100%;min-height:44px;padding:10px;border:1px solid #8b9b91;border-radius:8px;font:inherit;font-weight:400}
.cp-sheet textarea{min-height:120px}
.cp-sheet .cp-check{display:flex;gap:10px;align-items:center;font-weight:400}
.cp-sheet .cp-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cp-sheet .cp-note{background:#eaf4ed;border-radius:8px;padding:8px 10px;font-size:var(--fs-meta);margin:0}
.cp-sheet .cp-error{color:#9a241c;margin:0}
@media (min-width:700px){.cp-sheet{margin:auto;max-width:560px;border-radius:16px}.cp-head{padding:0 24px}}
.cp-center{text-align:center}
/* TASK 17:50 */
.cp-cover-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.cp-cover-tag{position:absolute;left:12px;top:12px}
.cp-cover-btn{z-index:1}
.cp-sheet .cp-cover-preview{width:100%;aspect-ratio:3/1;object-fit:cover;border-radius:8px;background:#dcefe2}
.cp-sheet input[type=file]{padding:8px}
.cp-wait-line{color:#6b4b00;background:#fff3d6;border-radius:8px;padding:8px 10px;margin:12px 0 0;font-weight:600}
.cp-center a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
/* TASK 17:55 — đầu trang theo cách sắp xếp trang cá nhân X; nút + màu của Coachminton */
.cp-name-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;padding-top:4px}
.cp-nowrap{white-space:nowrap}
.cp-tick{display:inline-flex;vertical-align:-3px;margin-left:6px}
.cp-name .cp-pen{flex:none;margin-left:auto}
.cp-head-actions{display:flex;align-items:center;gap:8px;padding-bottom:2px;min-width:0}
.cp-share{flex:none;width:44px;height:44px;display:inline-grid;place-items:center;border-radius:50%;border:1px solid var(--cp-green);background:#fff;color:var(--cp-green);cursor:pointer}
.cp-share:hover,.cp-share:focus-visible{background:#edf6f0}
.cp-share-msg{margin:6px 0 0;text-align:right;font-size:var(--fs-meta);font-weight:600;color:var(--cp-green)}
.cp-stats li{flex:none}
@media (max-width:699.98px){
 /* phone: the whole profile runs edge to edge (cover with no side margin, no rounded corners); content keeps 16px sides */
 .cp{max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
 .cp-cover{border-radius:0;max-height:none}
 .cp-panel{padding:12px 16px}
 .cp-edit-all{padding-inline:14px}
}
.cp-cta{grid-auto-columns:minmax(0,1fr)}
.cp-cta .cp-btn{min-width:0}
@media (max-width:400px){.cp-cta{gap:6px}.cp-cta .cp-btn{padding-inline:4px;font-size:var(--fs-body)}}
/* TASK 19:55 F6 / F8 */
.cp-card-head + .cp-text,.cp-card-head + p,.cp-card-head + ul{margin-top:10px}
.cp-awards li.cp-award{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
.cp-award-text{flex:1 1 auto;min-width:0;display:grid;gap:2px}
.cp-award-text strong{overflow-wrap:anywhere}
.cp-award-text span{color:#123d30;font-size:var(--fs-body);overflow-wrap:anywhere}
.cp-award-side{flex:none;display:flex;align-items:center;gap:4px}
.cp-awards li .cp-muted{flex-basis:auto}
.cp-status-links{display:grid;gap:0;margin:8px 0 0}
.cp-status-links a{display:inline-flex;align-items:center;min-height:44px;color:var(--cp-green);font-weight:600}
.pp-notice{border-left:4px solid #9ebd38;padding:12px 16px;background:#eaf2d9;font-size:var(--fs-meta);margin:0 0 12px}
/* TASK 20:00 G4 — framing box for cover (3:1) and profile photo (round); buttons like the ask box */
.ic-dialog{border:0;padding:0;width:min(560px,calc(100vw - 24px));max-height:92dvh;border-radius:16px;background:#fff;color:#123d30}
.ic-dialog::backdrop{background:#071e19b3}
.ic-form{display:grid;gap:12px;padding:18px 16px 16px}
.ic-form h2{margin:0;font-size:var(--fs-section)}
.ic-frame{position:relative;width:100%;overflow:hidden;border-radius:8px;background:#dcefe2}
.ic-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:grab}
.ic-canvas:active{cursor:grabbing}
.ic-round{width:min(100%,320px);margin:auto;border-radius:50%}
.ic-hint{margin:0;font-size:var(--fs-meta);color:#53685a}
.ic-small{margin:0;padding:8px 10px;border-radius:8px;background:#fff3d6;color:#6b4b00;font-size:var(--fs-meta);font-weight:600}
.ic-error{margin:0;color:#9a241c}
.ic-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ic-actions button{min-height:48px;border-radius:8px;border:1px solid #14643e;font:inherit;font-size:var(--fs-body);font-weight:600;cursor:pointer}
.ic-cancel{background:#fff;color:#14643e}.ic-ok{background:#14643e;color:#fff}.ic-ok:disabled{opacity:.6;cursor:wait}
.cp-avatar-btn{position:relative;padding:0;border:0;background:none;border-radius:50%;cursor:pointer;min-width:44px;min-height:44px}
.cp-avatar-cam{position:absolute;right:2px;bottom:4px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--cp-green);border:1px solid var(--cp-line)}
/* TASK 20:30 H1 / H2 / H3 */
.cp-sub{margin:4px 0 8px;color:var(--cp-muted);font-size:var(--fs-meta)}
.cp-lines li.cp-line{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
.cp-line>span{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.cp-line .cp-pen{flex:none}
.cp-note-line{background:#fff3d6;color:#6b4b00;border-radius:8px;padding:8px 10px;font-size:var(--fs-meta);margin:4px 0 8px}
.cp-certs{display:grid;grid-template-columns:1fr;gap:12px}
.cp-cert{position:relative;margin:0}
.cp-cert-open{display:block;width:100%;padding:0;border:0;background:#f4f8f5;border-radius:8px;overflow:hidden;cursor:zoom-in}
.cp-cert-open img{display:block;width:100%;height:auto}
.cp-cert-tag{position:absolute;left:8px;top:8px}
.cp-reject{background:#fde7e4;color:#9a241c}
.cp-cert-remove{position:absolute;right:4px;top:4px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#123d30;font-size:var(--fs-page);line-height:1;cursor:pointer}
.cp-cert figcaption{margin-top:4px}
.cp-zoom{border:0;padding:0;max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;background:#000d;display:grid;place-items:center}
.cp-zoom[open]{display:grid}
.cp-zoom::backdrop{background:#000d}
.cp-zoom img{max-width:100vw;max-height:100dvh;object-fit:contain}
.cp-zoom-close{position:fixed;right:8px;top:8px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#123d30;font-size:var(--fs-page);cursor:pointer}
.cp-name{position:relative}
.cp-tick{display:inline-grid;place-items:center;width:44px;height:44px;margin:-12px -10px -12px -6px;padding:0;border:0;background:none;vertical-align:middle;cursor:pointer}
.cp-tick-tip{position:absolute;left:0;top:calc(100% + 4px);z-index:5;max-width:min(320px,90vw);padding:8px 10px;border-radius:8px;background:#123d30;color:#fff;font-size:var(--fs-meta);font-weight:400;line-height:1.4;box-shadow:0 4px 14px #0003}
.cp-hint-row{display:flex;justify-content:space-between;gap:8px;margin:-4px 0 0}
.cp-count{flex:none;font-variant-numeric:tabular-nums}
.cp-cert-preview{border-radius:8px;overflow:hidden;background:#f4f8f5;color:var(--cp-muted);font-size:var(--fs-meta)}
.cp-cert-preview canvas{display:block;width:100%;height:auto;max-height:50dvh;object-fit:contain}
.cp-visually-hidden{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.cp-pick-again{position:relative}
/* TASK 20:40 J3 / K */
.cp-line-text{flex:1 1 auto;min-width:0;display:grid;gap:2px;justify-items:start}
.cp-line-text>span{overflow-wrap:anywhere}
.cp-level{display:inline-block;font-size:var(--fs-label);font-weight:800;color:#fff;background:var(--cp-green);border-radius:999px;padding:1px 8px}
.cp-reject-line{font-size:var(--fs-label);color:#9a241c}
.cp-cover-zoom,.cp-avatar-zoom{display:block;padding:0;border:0;background:none;cursor:zoom-in}
.cp-cover-zoom{position:absolute;inset:0;width:100%;height:100%}
.cp-avatar-zoom{border-radius:50%;min-width:44px;min-height:44px}
html.cp-zoom-lock,html.cp-zoom-lock body{overflow:hidden}
.cp-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border:0;margin:0;padding:0}
.cp-levels legend{font-weight:600;font-size:var(--fs-meta);margin-bottom:6px;padding:0}
.cp-levels label{position:relative;display:flex !important;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--cp-green);border-radius:8px;color:var(--cp-green);font-weight:600;cursor:pointer;text-align:center}
.cp-levels input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.cp-levels label:has(input:checked){background:var(--cp-green);color:#fff}
.cp-levels label:has(input:focus-visible){outline:3px solid #6c8620;outline-offset:2px}
/* TASK 22:45 — whole cover is the tap area (owner); file inputs stay in the DOM (Safari iPhone) but are visually hidden */
.cp-pick-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cp-cover-pick{position:absolute;inset:0;display:block;cursor:pointer}
.cp-cover-pick:focus-within{outline:3px solid #6c8620;outline-offset:-3px}
.cp-cover-cam{position:absolute;right:10px;bottom:10px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--cp-green);border:1px solid var(--cp-line)}
.cp-cover-add{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:4px;color:var(--cp-green);font-size:var(--fs-meta);font-weight:600}
.cp-cover-add svg{width:28px;height:28px}
.cp-cover-tag{z-index:2;pointer-events:none}
.cp-avatar-btn{display:inline-block}
.cp-avatar-btn:focus-within{outline:3px solid #6c8620;outline-offset:2px;border-radius:50%}
/* TASK 23:50 — round buttons (owner): 38×38 visible, 44×44 tap area */
.cp-guest{flex:none;min-height:44px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid var(--cp-green);border-radius:22px;background:#fff;color:var(--cp-green);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap} /* 01/12 10:20 (3) */
.cp-guest:hover,.cp-guest:focus-visible{background:#edf6f0}.cp-guest:focus-visible{outline:3px solid #6c8620;outline-offset:0}
.cp-round{flex:none;width:44px;height:44px;padding:0;display:inline-grid;place-items:center;border:0;background:transparent;color:var(--cp-green);cursor:pointer;border-radius:50%}
.cp-round-face{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--cp-green);background:#fff}
.cp-round:hover .cp-round-face,.cp-round:focus-visible .cp-round-face{background:#edf6f0}
.cp-round:focus-visible{outline:3px solid #6c8620;outline-offset:0}
/* achievement line: the whole row opens its box (owner) */
.cp-line-btn{display:flex;align-items:center;width:100%;min-height:44px;padding:6px 8px;margin:0 -8px;box-sizing:content-box;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cp-lines li.cp-line:has(.cp-line-btn){display:block}
.cp-line-btn:hover,.cp-line-btn:focus-visible{background:#edf6f0}
/* "Sửa hồ sơ": full screen on phones, a box up to 640px on computers; the top bar sticks while scrolling */
html.cp-edit-lock,html.cp-edit-lock body{overflow:hidden}
.cp-editor{border:0;padding:0;margin:0;inset:0;width:100%;max-width:100%;height:100%;max-height:100%;background:#fff;color:#123d30;overflow:hidden;box-shadow:none}
/* TASK 10:35 S4: a column — the bar stays put, only the body scrolls INSIDE the box, so the bar never covers content */
.cp-editor[open]{display:flex;flex-direction:column}
.cp-editor-wrap{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;margin:0}
.cp-editor-wrap>.cp-editor-bar{flex:none}
.cp-editor-wrap>.cp-editor-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.cp-editor::backdrop{background:#071e19b3}
.cp-editor-bar{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:minmax(64px,auto) 1fr minmax(64px,auto);align-items:center;gap:8px;padding:calc(6px + env(safe-area-inset-top)) 12px 6px;background:#fff;border-bottom:1px solid var(--cp-line)}
.cp-editor-bar h2{margin:0;font-size:var(--fs-section);text-align:center}
.cp-editor-cancel{min-height:44px;padding:0 6px;border:0;background:transparent;color:var(--cp-green);font:inherit;font-weight:600;cursor:pointer;justify-self:start}
.cp-editor-save{min-height:44px;justify-self:end}
.cp-editor-body{padding:16px 16px calc(28px + env(safe-area-inset-bottom));display:grid;gap:16px;grid-auto-rows:max-content;align-content:start} /* TASK 21:07 (1): rows keep their full height (a list with overflow:hidden must not be squeezed); the body scrolls instead */
.cp-editor .cp-field{display:grid;gap:6px;border:0;margin:0;padding:0;min-width:0}
.cp-editor .cp-field>label,.cp-editor legend,.cp-editor .cp-other{font-weight:600;font-size:var(--fs-meta);padding:0}
.cp-editor input:not([type=checkbox]),.cp-editor textarea{width:100%;box-sizing:border-box;min-height:48px;padding:11px 12px;border:1px solid #8b9b91;border-radius:8px;font:inherit;font-size:var(--fs-body);font-weight:400;background:#fff;color:inherit}
.cp-editor textarea{min-height:150px;line-height:1.5}
.cp-field-foot{display:flex;justify-content:space-between;gap:8px;margin:0;font-size:var(--fs-label);min-height:0}
.cp-field-foot:empty{display:none}
.cp-editor .cp-count{margin-left:auto;color:var(--cp-muted)}
.cp-field-error{color:#9a241c;font-weight:600}
.cp-field.cp-invalid input:not([type=checkbox]),.cp-field.cp-invalid textarea{border-color:#c0392b;box-shadow:0 0 0 1px #c0392b}
.cp-field.cp-chips.cp-invalid .cp-chip-list{outline:2px solid #c0392b;outline-offset:4px;border-radius:8px}
.cp-chip-list{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 6px}
.cp-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #8b9b91;border-radius:22px;background:#fff;cursor:pointer;font-size:var(--fs-body)}
.cp-chip input{width:18px;height:18px;margin:0;accent-color:var(--cp-green)}
.cp-chip:has(input:checked){background:#e3f1e7;border-color:var(--cp-green);color:var(--cp-green);font-weight:600}
.cp-chip:focus-within{outline:3px solid #6c8620;outline-offset:1px}
.cp-editor .cp-note{background:#eaf4ed;border-radius:8px;padding:8px 10px;font-size:var(--fs-meta);margin:0}
.cp-editor .cp-error{color:#9a241c;margin:0;font-weight:600;background:#fbeaea;border-radius:8px;padding:8px 10px}
.cp-editor-more{display:grid;gap:8px}
.cp-editor-hint{font-size:var(--fs-meta);margin:0}
.cp-link-btn{border:0;background:transparent;padding:0;min-height:44px;color:#9a241c;text-decoration:underline;font:inherit;cursor:pointer}
/* TASK 10:35 S4: ≥700px — CENTRED (inset:0 + margin:auto; the old inset:auto pinned the box to the top-left corner), up to 640px wide,
   ≥24px from top / bottom, rounded on all four corners */
@media (min-width:700px){.cp-editor{inset:0;margin:auto;width:min(640px,calc(100% - 32px));height:fit-content;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);border-radius:16px;box-shadow:0 24px 80px #071e1933}.cp-editor-bar{padding-top:6px}}
/* TASK 00:50 — "Khu vực và sân dạy" + "Liên hệ" inside "Sửa hồ sơ" */
.cp-editor select{--cm-sel-pad:12px;width:100%;box-sizing:border-box;min-height:48px;padding:10px 12px;border:1px solid #8b9b91;border-radius:8px;font:inherit;font-size:var(--fs-body);background:#fff;color:inherit}
.cp-editor select:disabled{background:#f1f4f2;color:var(--cp-muted)}
.cp-field.cp-invalid select{border-color:#c0392b;box-shadow:0 0 0 1px #c0392b}
.cp-group{display:grid;gap:14px;padding-top:16px;border-top:1px solid var(--cp-line)}
.cp-group h3{margin:0;font-size:var(--fs-section)}
.cp-group-label{margin:0;font-weight:600;font-size:var(--fs-meta)}
.cp-req{color:#9a241c;font-weight:600;font-size:var(--fs-label)}
.cp-opt{color:var(--cp-muted);font-weight:400;font-size:var(--fs-label)}
.cp-venues{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.cp-venue{display:grid;gap:10px;padding:12px;border:1px solid var(--cp-line);border-radius:12px;background:#f8fbf9}
.cp-venue-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cp-venue-remove{width:44px;height:44px;flex:none;display:grid;place-items:center;border:1px solid var(--cp-line);border-radius:50%;background:#fff;color:#9a241c;font-size:var(--fs-page);line-height:1;cursor:pointer}
.cp-venue-remove:focus-visible{outline:3px solid #6c8620;outline-offset:1px}
.cp-venue-add{justify-self:start;margin-top:4px}
.cp-editor .cp-check{display:flex;gap:10px;align-items:center;min-height:44px;font-weight:400;font-size:var(--fs-body);cursor:pointer}
.cp-editor .cp-check input{width:20px;height:20px;flex:none;margin:0;accent-color:var(--cp-green)}
/* TASK 10:35 — "Sửa hồ sơ" list: 6 rows, each one button ≥64px */
.cp-editor-bar h2:focus{outline:none}
.cp-editor-done{min-height:44px;padding:0 8px;border:0;background:transparent;color:var(--cp-green);font:inherit;font-weight:800;cursor:pointer;justify-self:end}
.cp-editor-done:focus-visible,.cp-editor-cancel:focus-visible{outline:3px solid #6c8620;outline-offset:0;border-radius:8px}
.cp-saved{margin:0;padding:8px 12px;border-radius:8px;background:#e3f1e7;color:var(--cp-green);font-weight:600;font-size:var(--fs-meta)}
.cp-rows{list-style:none;margin:0;padding:0;border:1px solid var(--cp-line);border-radius:12px;overflow:hidden;background:#fff}
.cp-rows>li+li{border-top:1px solid var(--cp-line)}
.cp-row{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:64px;box-sizing:border-box;padding:10px 14px;border:0;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cp-row:hover{background:#f4f8f5}
.cp-row:focus-visible,.cp-row:focus-within{outline:3px solid #6c8620;outline-offset:-3px}
.cp-row-text{flex:1 1 auto;min-width:0;display:grid;gap:2px}
.cp-row-text strong{font-size:var(--fs-body)}
.cp-row-sum{color:var(--cp-muted);font-size:var(--fs-meta);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cp-row-sum.cp-row-warn{color:#9a4b00;font-weight:600}
.cp-row-go{flex:none;display:grid;place-items:center;align-self:center;color:#9aa9a0;line-height:0} /* 22:13 B: one light-grey chevron, vertically centred */
.cp-row-thumb{flex:none;width:44px;height:44px;border-radius:50%;object-fit:cover;background:#dcefe2}
.cp-row-thumb-cover{width:66px;height:22px;border-radius:4px}
.cp-row-extra{margin:0;padding:0 14px 8px}
.cp-link-add{justify-self:start;min-height:44px;padding:0;border:0;background:transparent;color:var(--cp-green);font:inherit;font-size:var(--fs-body);font-weight:600;text-decoration:underline;cursor:pointer}
/* TASK 11:10 X1: [hidden] always wins inside the profile boxes — rules like ".cp-editor .cp-field{display:grid}", ".cp-btn{display:inline-flex}"
   or ".cp-sheet label{display:grid}" used to beat the browser's own [hidden]{display:none} (map link box, "Số Zalo khác", "+ Thêm sân",
   "Chọn ảnh khác" in the certificate box showed while hidden) */
.cp-editor [hidden],.cp-sheet [hidden],.ic-dialog [hidden]{display:none !important}
/* TASK 11:00 W4: the owner-only hint under the name is light grey (guests never see it) */
.cp-owner-hint{color:#53685a;font-size:var(--fs-meta)}
/* TASK 11:15 → 12:21 — one coach card for every list. Grid: <600px 1 · 600–999px 2 · ≥1000px 3; cards of a row are equally tall.
   12:21 (OWNER): everything centred — round 104px photo (cover crop, centred: a full-body photo is not squashed), name 18px bold + tick
   (at most 2 lines), area 14px grey (one line, "…"), one achievement line 14px with a medal (at most 2 lines, then "…"). */
.cc-grid.cc-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:stretch}
@media (min-width:600px){.cc-grid.cc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.cc-grid.cc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cc{--cp-green:#14643e;--cp-muted:#53685a;position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;min-width:0;box-sizing:border-box;padding:18px 14px 16px;overflow:hidden;border:1px solid #e1e8e5;border-radius:14px;background:#fff;color:#123d30;text-decoration:none;text-align:center;box-shadow:0 1px 2px #164e3610}
.cc:hover{box-shadow:0 12px 30px #123d301c}
.cc:focus-visible{outline:3px solid #6c8620;outline-offset:2px}
.cc-avatar{display:grid;place-items:center;flex:none;width:104px;height:104px;margin-bottom:4px;border-radius:50%;overflow:hidden;background:#e7eee8}
.cc-avatar img{display:block;width:104px;height:104px;object-fit:cover;object-position:center}
.cc-initials{display:grid;place-items:center;width:100%;height:100%;background:#d8ecdf;color:#14643e;font-size:var(--fs-page);font-weight:800}
.cc-name{display:flex;align-items:flex-start;justify-content:center;gap:5px;max-width:100%;min-width:0;font-size:var(--fs-section);font-weight:800;line-height:1.3}
.cc-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.cc-tick{flex:none;display:inline-grid;width:18px;height:18px;margin-top:3px}
.cc-tick svg{width:18px;height:18px}
.cc-demo{flex:none;padding:1px 6px;border-radius:999px;background:#eef3ef;font-size:var(--fs-label);font-weight:800}
.cc-line{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-meta);line-height:1.4}
.cc-where{color:var(--cp-muted)}
.cc-achieve{display:flex;align-items:flex-start;justify-content:center;gap:5px;max-width:100%;min-width:0;font-size:var(--fs-meta);line-height:1.4;color:#123d30;font-weight:600}
.cc-achieve svg{flex:none;margin-top:2px}
.cc-achieve-text{min-width:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.cc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* TASK 13:37 (8) — owner only: a small label on a photo / cover waiting for review or refused. (9) the tagline hint: pale, a button to "Sửa hồ sơ" */
.cp-avatar-btn{position:relative}
.cp-photo-badge{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);white-space:nowrap;padding:2px 8px;border-radius:999px;background:#fff6d6;border:1px solid #ecd27a;color:#6b4e00;font-size:var(--fs-label);font-weight:800;line-height:1.4;pointer-events:none}
.cp-photo-badge.cp-badge-cover{left:10px;top:10px;bottom:auto;transform:none}
.cp-photo-badge.cp-badge-refused{background:#fdecea;border-color:#e8a59b;color:#8a2b1e}
.cp-owner-hint-row{margin:4px 0 0}
.cp-owner-hint{padding:0;border:0;background:none;color:#53685a;font:inherit;font-size:var(--fs-meta);text-align:left;cursor:pointer;text-decoration:underline dotted;text-underline-offset:3px}
.cp-owner-hint:hover,.cp-owner-hint:focus-visible{color:#53685a}
/* TASK 14:30 (7) the avatar's review state sits under the name (not on the photo / camera button); (8) cover locked until approval */
.cp-photo-state{margin:2px 0 4px;font-size:var(--fs-meta);font-weight:800;color:#6b4e00}
.cp-photo-state.cp-photo-refused{color:#8a2b1e}
.cp-cover.cp-cover-locked{display:grid;place-items:center}
.cp-cover-wait{margin:0;padding:0 16px;color:#7a8c82;font-size:var(--fs-meta);text-align:center}
.cp-cover-tag.cp-cover-refused{background:#fdecea;color:#8a2b1e;border-color:#e8a59b}
/* TASK 16:15: competition lines in the order they were made — one round choice per line (44px target); the picked line says
   "Hiện trên thẻ". (21:40 P3's drag handle is gone.) Verified mark next to the level label, "Khác" card line in plain grey. */
.cp-lines li.cp-line.cp-line-pick{display:flex;align-items:center;gap:2px}
.cp-line-pick .cp-line-btn{flex:1 1 auto;min-width:0;margin:0;box-sizing:border-box}
.cp-pick{flex:none;position:relative;width:44px;height:44px;display:grid;place-items:center;margin-left:-10px;cursor:pointer}
.cp-pick-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cp-pick-dot{width:20px;height:20px;border-radius:50%;border:2px solid #9aa9a0;box-sizing:border-box;background:#fff}
.cp-pick-input:checked+.cp-pick-dot{border-color:var(--cp-green);background:radial-gradient(circle,var(--cp-green) 0 5px,#fff 5.5px)}
.cp-pick-input:focus-visible+.cp-pick-dot{outline:3px solid #6c8620;outline-offset:3px}
.cp-picked-tag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;background:#e5f2ea;color:var(--cp-green);font-size:var(--fs-label);font-weight:800;white-space:nowrap;vertical-align:1px}
.cp-level-tick,.cc-level-tick{display:inline-flex;vertical-align:-2px;margin-left:4px}.cp-level-tick svg,.cc-level-tick svg{width:14px;height:14px}
.cc-level{color:var(--cp-green);font-weight:800;margin-right:2px}
.cc-achieve-other{color:var(--cp-muted);font-weight:400}
/* SỬA 11:17 A — the visitor buttons stack: "Đăng ký học" (full row) · Gọi điện | Zalo (two equal halves; one = full row) ·
   "Đăng nhập để xem số điện thoại" (full row, own line). No button text is cut at 320–1280px: text may wrap inside the button. */
.cp-cta{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.cp-cta>.cp-btn,.cp-cta-calls>.cp-btn{width:100%;box-sizing:border-box;min-width:0;white-space:normal;overflow-wrap:break-word;line-height:1.25}
.cp-cta-calls{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px}
@media (max-width:400px){.cp-cta{gap:6px}.cp-cta-calls{gap:6px}.cp-cta>.cp-btn,.cp-cta-calls>.cp-btn{padding-inline:8px}}
/* OWNER 15:48 — signed in: the coach's number is a plain text line (selectable, not a button / link); long text wraps, never cut */
.cp-phone-line,.profile-phone-line{margin:2px 0;font-size:var(--fs-body);line-height:1.4;color:var(--cp-ink,#172c28);overflow-wrap:anywhere;user-select:text;-webkit-user-select:text}
.cp-phone-num,.profile-phone-num{font-weight:800;white-space:nowrap}
/* OWNER 16:15 — "+ Thêm thành tích" and "+ Thêm ảnh chứng chỉ" have the same size: the whole row on phones; on wider screens one fixed
   width, left-aligned with the card content. Nothing else in the two cards changes. */
.cp-actions-row .cp-add-btn{box-sizing:border-box;width:100%;white-space:normal}
@media (min-width:700px){.cp-actions-row .cp-add-btn{width:15rem;max-width:100%}}
/* 16:35 + 16:41 — the phone button: secondary (outline, white), same width / height / radius as "Đăng ký học"; icon + number centred; the
   number never cut (it stays on one line, the button grows). */
.cp-cta>.cp-phone-btn{display:flex;align-items:center;justify-content:center;gap:8px}
.cp-phone-btn .cp-phone-ico{flex:none}
.cp-phone-btn .cp-phone-num{white-space:nowrap;font-weight:800;letter-spacing:.01em}
/* TASK 07:20 — centre page (same frame as the coach page) + "HLV | Trung tâm" on Tìm HLV */
.dir-kind{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) /* 18:50 A: Tất cả · HLV · Trung tâm */;gap:8px;margin:0 0 16px}
.dir-kind-btn{min-height:48px;border:1px solid #cedbd4;border-radius:8px;background:#fff;color:#123f2a;font:inherit;font-size:16px;font-weight:600;cursor:pointer}
.dir-kind-btn.dir-kind-on{background:#14643e;border-color:#14643e;color:#fff}
.ct .cp-list{list-style:none;margin:0;padding:0;display:grid}
.ct .cp-list>li{display:grid;gap:2px;padding:10px 0;border-top:1px solid var(--cp-line,#e3ebe6)}
.ct .cp-list>li:first-child{border-top:0}
.ct-teacher{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.ct-t-link{display:flex;align-items:center;gap:12px;min-height:56px;color:inherit;text-decoration:none;min-width:0}
a.ct-t-link:hover .ct-t-text strong{text-decoration:underline}
.ct-t-photo{flex:none;width:56px;height:56px;border-radius:50%;object-fit:cover;background:#e3f1e7}
.ct-t-init{display:flex;align-items:center;justify-content:center;font-weight:800;color:#14643e}
.ct-t-text{display:grid;gap:2px;min-width:0}
.ct-hidden .ct-t-link{opacity:.5}
.ct-seat{font-size:14px;font-weight:600;color:#14643e}
.ct-seat.ct-full{color:#b42318}
.ct-status{margin-top:12px;padding:12px 14px;border:1px solid #cedbd4;border-radius:10px;background:#f7faf8;display:grid;gap:8px}
.ct-status .ct-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ct-status .ct-two>*{min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-weight:600;text-decoration:none;box-sizing:border-box}
.ct-logo{object-fit:cover}

/* TASK 23:15 · 15b — centre "Lớp học" tab: same buttons / text / spacing as /coach */
.ct-cls{display:grid;gap:12px}
.ct-cls-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
.ct-cls-stats li{display:grid;gap:2px;padding:10px 12px;border:1px solid #dde5e0;border-radius:12px;background:#fff}
.ct-cls-stats strong{font-size:22px;line-height:1.1;color:#123d30}.ct-cls-stats span{font-size:var(--fs-meta);color:var(--cp-muted)}
.ct-vfilter{display:flex;flex-wrap:wrap;gap:8px}
.ct-vbtn{min-height:40px;padding:0 14px;border:1px solid #cfdcd4;border-radius:999px;background:#fff;color:#123d30;font:inherit;font-size:var(--fs-meta);font-weight:600;cursor:pointer}
.ct-vbtn[aria-pressed="true"]{background:var(--cp-green);border-color:var(--cp-green);color:#fff}
.ct-cls-view[hidden]{display:none}
.ct-venue-h{display:grid;gap:2px;margin:12px 0 4px;font-size:var(--fs-body);font-weight:800;color:#123d30}
.ct-venue-addr{font-size:var(--fs-meta);font-weight:400}
.ct-cls-list{list-style:none;margin:0;padding:0}
.ct-cls-row{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 0;border-top:1px solid #e6ece8}
.ct-cls-list>.ct-cls-row:first-child{border-top:0}
.ct-cls-main{display:grid;gap:2px;flex:1 1 auto;min-width:0}
.ct-cls-name{overflow-wrap:anywhere}.ct-cls-when{font-size:var(--fs-meta);color:var(--cp-muted);overflow-wrap:anywhere}
.ct-cls-row .ct-seat{flex:none;white-space:nowrap}.ct-seat.ct-full{color:#b42318}
.ct-cls-row .ct-reg{flex:none;min-height:40px;padding:0 14px;font-size:var(--fs-meta)}
.ct-more{margin-top:4px}.ct-more-s{display:flex;align-items:center;gap:6px;min-height:44px;color:var(--cp-green);font-weight:600;cursor:pointer;list-style:none}
.ct-more-s::-webkit-details-marker{display:none}.ct-more[open] .ct-more-s span{display:inline-block;transform:rotate(180deg)}
@media (max-width:400px){.ct-cls-stats li{padding:8px}.ct-cls-stats strong{font-size:18px}.ct-cls-row{gap:8px}.ct-cls-row .ct-reg{padding:0 10px}}

/* TASK 23:15 · 17 — centre HLV cards: one highlight line; tap → all achievements + certificate photos */
.ct-t-more>summary{list-style:none;cursor:pointer}.ct-t-more>summary::-webkit-details-marker{display:none}
.ct-t-link{display:flex;align-items:center;gap:12px;min-height:56px}.ct-t-chev{margin-left:auto;color:#53685a;font-size:18px}.ct-t-more[open] .ct-t-chev{transform:rotate(90deg)}
.ct-t-line{font-size:var(--fs-meta);color:#3f5248;overflow-wrap:anywhere}.ct-owner-tag{padding:1px 8px;border-radius:999px;background:#fff4d6;color:#6b4b00;font-size:13px;font-weight:600}
.ct-t-full{display:grid;gap:10px;padding:6px 0 12px 68px}
.ct-ach-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.ct-ach-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.ct-ach-lv{padding:1px 8px;border-radius:999px;background:#eef2ef;color:#425249;font-size:13px;font-weight:600}.ct-ach-text{flex:1 1 12rem;min-width:0;overflow-wrap:anywhere}
.ct-ach-ok{color:#14643e;font-weight:800;font-size:13px}
.ct-cert-list{display:grid;gap:8px}.ct-cert img{display:block;width:100%;max-width:420px;height:auto;border:1px solid #dde5e0;border-radius:10px}
@media (max-width:400px){.ct-t-full{padding-left:0}}
/* TASK 12:50 — the HLV card of a centre page (public + Hồ sơ → HLV, view only): photo 64 · name · tagline + "N năm kinh nghiệm" · ONE intro
   sentence · ≤ 3 labels · "Xem hồ sơ đầy đủ ›" (floating /coach profile). Hidden by the owner: faded + "Đang ẩn khỏi trang" (owner only). */
.ct-teacher.ct-t2{display:block;padding:12px 0;border-top:1px solid #edf2ee}
.ct-t2-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;align-items:start}
.ct-t2-photo{width:64px;height:64px;border-radius:50%;object-fit:cover}
.ct-t2-text{display:grid;gap:4px;min-width:0}.ct-t2-name{font-size:16px}.ct-t2-line{color:#5b6b62;font-size:14px}
.ct-t2-intro{margin:0;font-size:14px;line-height:1.45}
.ct-chips{display:flex;flex-wrap:wrap;gap:6px}.ct-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1px solid #dde5e0;border-radius:999px;font-size:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-pending{display:inline-block;padding:0 6px;border-radius:999px;background:#fff1cc;color:#7a5200;font-size:13px}
.ct-hidden-tag{justify-self:start;padding:0 8px;border-radius:999px;background:#eef1ef;color:#5b6b62;font-size:13px}
.ct-t2.ct-hidden .ct-t2-row{opacity:.55}
.ct-t2-more{justify-self:start;min-height:44px;padding:0;border:0;background:none;color:#14643e;font:inherit;font-size:14px;cursor:pointer}
.ct-t2-more:focus:not(:focus-visible){outline:none}
.ct-prof-dlg{width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:16px;border:1px solid #dde5e0;border-radius:14px;overflow:auto}
.ct-prof-dlg::backdrop{background:#0f241a66}
.ct-prof-close{position:sticky;top:0;float:right;min-width:44px;min-height:44px;border:0;background:#fff;border-radius:50%;font-size:18px;cursor:pointer}
.ct-cert-wait{position:relative;display:grid;gap:4px;justify-items:start}
/* TASK 18:50 A — centre card in the ONE list: cover (or a green panel with the name) in the photo place, same 104px height → same card height */
.cc-avatar.ct-cover{width:100%;max-width:320px;height:104px;border-radius:12px;background:#14643e}
.cc-avatar.ct-cover img{width:100%;height:104px;object-fit:cover}
.ct-cover-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:0 12px;color:#fff;font-size:18px;font-weight:800;line-height:1.3;text-align:center;overflow-wrap:normal}
.ct-kind{color:#14643e;font-weight:600}
/* TASK 21:45 A + B — ONE "Lớp đang mở" list (coach page + centre page): a row per class, a line per time frame, price, HLV, seats, "Đăng ký" right */
.oc-list{list-style:none;margin:0;padding:0}
.oc-row{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px 0;border-top:1px solid #e1e8e3}
.oc-row:first-child{border-top:0}
.oc-row[hidden]{display:none}
.oc-main{min-width:0;flex:1}
.oc-name{margin:0;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.oc-level{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:#eef5f0;color:#14643e;font-size:13px;font-weight:600;vertical-align:1px}
.oc-frames{list-style:none;margin:4px 0 0;padding:0;color:#24443a;font-size:14px;line-height:1.5}
.oc-more{min-height:44px;padding:0;border:0;background:none;color:#14643e;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.oc-price{margin:4px 0 0;font-size:14px;font-weight:600;color:#17392e}
.oc-hlv,.oc-seat{margin:2px 0 0;font-size:13px;color:#53685a}
.oc-seat.oc-full{color:#b42318}
.oc-act{flex:none}
.oc-reg{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;font-size:14px;white-space:nowrap;box-sizing:border-box}
.oc-reg[disabled]{color:#4a5a51;background:#eef2f0;border-color:#cfd9d3;cursor:default}/* TASK 04/12 10:28·1: "Đã đầy"/đóng tuyển — chữ xám đậm đọc được (≥4,5:1) thay vì opacity .5 (2,36:1); nút vẫn vô hiệu hoá */
.oc-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.oc-chip{min-height:44px;padding:0 14px;border:1px solid #cedbd4;border-radius:999px;background:#fff;color:#123d30;font:inherit;font-size:14px;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.oc-chip[aria-pressed="true"]{background:#14643e;border-color:#14643e;color:#fff}
.oc-count{margin:0 0 4px;font-size:13px;color:#53685a}
@media (max-width:480px){.oc-row{flex-wrap:wrap}.oc-act{width:100%}.oc-reg{width:100%}}
.oc-price s{font-weight:400;color:#6b7d73}
.oc-promo{display:inline-block;margin-left:6px;font-size:13px;font-weight:600;color:#b42318}

/* 01/12 10:20 (5): centre page — no round picture; the share / pen buttons sit right under the cover */
.ct .cp-avatar-row{justify-content:flex-end;margin-top:8px}

/* TASK 11:15 E — a centre's teacher opens in place: whole row = button, › turns ⌄ when open; the open part has the row's width */
.ct-t2 .ct-tx-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.ct-t2 .ct-tx-toggle .ct-t2-text{display:grid;gap:2px;min-width:0;flex:1}
.ct-tx-chev{flex:none;font-size:22px;line-height:1;color:var(--cp-green);transition:transform .15s}
.ct-tx-toggle[aria-expanded="true"] .ct-tx-chev{transform:rotate(90deg)}
.ct-tx-body{display:grid;gap:14px;padding:4px 0 14px;box-sizing:border-box;width:100%}
.ct-tx-h{margin:0 0 6px;font-size:16px}
.ct-tx-years{margin:0 0 4px;font-weight:600}
.ct-tx-bio{margin:0;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ct-tx-bio.ct-open-text{display:block;-webkit-line-clamp:unset}
.ct-tx-more{min-height:44px;font-size:14px;padding:0}
/* TASK 01/12 14:00 (LIVE): the teacher list item of the public centre page is a BLOCK — `.ct .cp-list>li{display:grid}` (0,2,1) beat
   `.ct-teacher.ct-t2{display:block}` (0,2,0), so `.ct-teacher`'s 2 columns put the row in a minmax(0,…) column (name squeezed to one letter
   per line, photo 0 wide → lazy image never loaded) and the open part on the right. Row = full width; open part = its own block UNDER it. */
.ct .cp-list>li.ct-teacher.ct-t2{display:block;grid-template-columns:none}
.ct-t2 .ct-tx-toggle{width:100%;box-sizing:border-box}
.ct-t2 .ct-tx-toggle .ct-t2-photo{flex:none;width:64px;height:64px}
.ct-t2 .ct-tx-toggle .ct-t2-text{min-width:9rem}
.ct-t2-name,.ct-t2-line{overflow-wrap:break-word;word-break:normal;hyphens:none}
.ct-t2 .ct-tx-chev{flex:none}
/* folded by default: `.ct-tx-body{display:grid}` beat the hidden attribute (every teacher showed open) */
.ct-tx-body[hidden]{display:none!important}
/* BỔ SUNG TASK 01/12 14:00 · 4: a coach profile shown inside a centre has no "Lớp mở" tab (the coach's own classes never show there) */
.cp-noclasses .cp-tabbar .cp-tab:nth-of-type(2),.cp-noclasses .cp-p2{display:none!important}
/* · 2: a teacher with nothing to open = a plain row */
.ct-t2 .ct-tx-static{cursor:default}
/* TASK 01/12 16:10 · 5 — "Liên hệ": the number as TEXT (grouped) on the left; two small 36px buttons "Gọi" · "Zalo" on the right */
.cp-contact{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;min-width:0}
.cp-contact-num{font-size:18px;font-weight:800;letter-spacing:.2px;white-space:nowrap}
.cp-contact-acts{display:flex;gap:8px;flex:none}
.cp-mini{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:64px;padding:0 14px;border:1px solid #cedbd4;border-radius:8px;background:#fff;color:#14643e;font-size:14px;font-weight:600;text-decoration:none;box-sizing:border-box}
.cp-mini:hover{background:#f2faf4}
/* · 6 — "Địa điểm": name; "address · Xem bản đồ" on one line (wraps by word when narrow) */
.ct-venues .ct-venue-line{display:block;flex-basis:100%;overflow-wrap:break-word}
.ct-venues .ct-venue-line .cp-link{display:inline;white-space:nowrap}
/* · 3 — "Ảnh nền" row in the pen's window */
.ct-dlg-cover{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.ct-dlg-cover-l{font-weight:600}
.ct-dlg-cover-btn{position:relative;overflow:hidden}
.ct-dlg-cover-btn .cp-pick-input{position:absolute;inset:0;opacity:0;cursor:pointer}

/* TASK 02/12 14:25 BẢN GỘP 15:12 · 4 — "Trạng thái hồ sơ" with "Gửi duyệt" (/to-chuc + /coach, same layout): wide screens = the state (and the
   centre's checklist) on the left, the button on the right of the same row, 44px, as wide as its words; phones = the button under, full width */
@media (min-width:768px){
 .cp-status.cp-status-act{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:center}
 .cp-status.cp-status-act>*{grid-column:1}
 .cp-status.cp-status-act>.cp-actions-row{grid-column:2;grid-row:1 / span 8;margin:0!important;align-self:center}
 .cp-status.cp-status-act>.cp-actions-row>.cp-btn{min-height:44px!important;height:auto!important;width:auto!important;padding:0 20px!important;white-space:nowrap}
}
@media (max-width:767px){.cp-status.cp-status-act>.cp-actions-row>.cp-btn{display:flex;justify-content:center;width:100%!important;min-height:44px!important;box-sizing:border-box}}

/* TASK 02/12 17:55 F — public coach page, wide screens (≥768): "Gọi" / "Zalo" (and "Đăng ký học") sized to the text in one row, like the centre page; phones unchanged */
@media (min-width:768px){
 .cp-cta{flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:flex-start}
 .cp-cta>.cp-btn{width:auto!important;flex:0 0 auto;min-height:44px;padding:0 18px;white-space:nowrap}
}

/* TASK 02/12 18:45 · 6: the specialties legend under the ONE "Chuyên môn" title — read by screen readers, not shown */
.cp-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* TASK 02/12 20:02 · 23 — nút "Thêm một dòng giới thiệu" vùng bấm 44px, màu đọc được */
.cp-owner-hint{min-height:44px;display:inline-flex;align-items:center}
