@@ -309,7 +309,7 @@ input[type=range].vibe::-webkit-slider-thumb:hover {
309309textarea .draft {
310310 width : 100% ; min-height : 42vh ; resize : none; border : none; outline : none;
311311 background : var (--bg ); color : var (--text-1 );
312- font-family : inherit; font-size : 17 px ; line-height : 1.8 ; font-weight : 450 ;
312+ font-family : inherit; font-size : 14 px ; line-height : 1.8 ; font-weight : 450 ;
313313 padding : 20px 24px ; overflow-y : auto;
314314 /* fill parent flex container */
315315 flex : 1 ;
@@ -356,7 +356,7 @@ textarea.draft::placeholder { color: var(--text-3); line-height: 1.9; font-weigh
356356.heatmap-layer {
357357 display : none;
358358 width : 100% ; min-height : 42vh ;
359- padding : 20px 24px ; font-family : inherit; font-size : 17 px ; line-height : 1.8 ;
359+ padding : 20px 24px ; font-family : inherit; font-size : 14 px ; line-height : 1.8 ;
360360 color : var (--text-1 ); white-space : pre-wrap; word-wrap : break-word;
361361 background : var (--bg );
362362}
@@ -439,7 +439,7 @@ textarea.draft::placeholder { color: var(--text-3); line-height: 1.9; font-weigh
439439}
440440.var-card-name { font-size : 14px ; font-weight : 800 ; margin-bottom : 3px ; }
441441.var-card-tag { font-size : 11px ; color : var (--text-2 ); }
442- .var-text { font-size : 17 px ; line-height : 1.85 ; white-space : pre-wrap; word-break : break-word; font-weight : 420 ; }
442+ .var-text { font-size : 14 px ; line-height : 1.85 ; white-space : pre-wrap; word-break : break-word; font-weight : 420 ; }
443443
444444/* ── Empty State ─────────────────────────────────────────── */
445445.empty {
@@ -491,13 +491,32 @@ body.dark .loading-mask { background: rgba(12,14,20,0.85); }
491491 border-left : 1px solid var (--border );
492492}
493493
494- /* Collapsed: zero width, invisible */
494+ /* Collapsed: narrow 32px strip — button stays visible for re-expanding */
495495.pane-coaching .collapsed {
496- width : 0 !important ;
497- border-left : none;
496+ width : 32px !important ;
497+ border-left : 1px solid var (--border );
498+ }
499+
500+ /* When collapsed, hide everything except the toggle button */
501+ .pane-coaching .collapsed .pane-title ,
502+ .pane-coaching .collapsed # scorePreview ,
503+ .pane-coaching .collapsed .why-body {
504+ display : none !important ;
505+ }
506+ .pane-coaching .collapsed .pane-head {
507+ flex-direction : column;
508+ justify-content : flex-start;
509+ align-items : center;
510+ padding : 10px 0 ;
511+ border-bottom : none;
512+ height : 100% ;
513+ }
514+ .pane-coaching .collapsed .pane-actions {
515+ width : 100% ;
516+ justify-content : center;
498517}
499518
500- /* Collapse toggle button arrow direction */
519+ /* Collapse/expand toggle button */
501520.coach-collapse-btn { font-size : 11px ; }
502521
503522/* Why-panel body — always visible (no open/close toggle needed) */
@@ -723,6 +742,20 @@ select.form-sel option { background: var(--surface); color: var(--text-1); }
723742 .pane-coaching .collapsed {
724743 width : 100% !important ;
725744 height : 44px !important ; /* show header only */
745+ border-left : none;
746+ }
747+ /* On mobile, restore all header children when collapsed (height-based, not width-based) */
748+ .pane-coaching .collapsed .pane-title ,
749+ .pane-coaching .collapsed # scorePreview {
750+ display : flex !important ;
751+ }
752+ .pane-coaching .collapsed .pane-head {
753+ flex-direction : row;
754+ justify-content : space-between;
755+ align-items : center;
756+ padding : 10px 14px ;
757+ height : auto;
758+ border-bottom : 1px solid var (--border );
726759 }
727760
728761 /* Show expand icon pointing down on mobile (panel stacks below) */
@@ -784,8 +817,8 @@ select.form-sel option { background: var(--surface); color: var(--text-1); }
784817
785818 /* Input pane: min-height reduced for phone */
786819 .pane-input { min-height : 200px ; }
787- textarea .draft { font-size : 15 px ; min-height : 160px ; }
788- .heatmap-layer { font-size : 15 px ; min-height : 160px ; }
820+ textarea .draft { font-size : 13 px ; min-height : 160px ; }
821+ .heatmap-layer { font-size : 13 px ; min-height : 160px ; }
789822
790823 /* Pane head: tighter */
791824 .pane-head { padding : 8px 12px ; }
@@ -814,7 +847,7 @@ select.form-sel option { background: var(--surface); color: var(--text-1); }
814847 .var-tab { font-size : 9px ; white-space : nowrap; }
815848
816849 /* Output text: slightly smaller */
817- .var-text { font-size : 15 px ; }
850+ .var-text { font-size : 13 px ; }
818851
819852 /* Score cards: smaller */
820853 .score-card { min-width : 76px ; padding : 8px 10px ; }
0 commit comments