77}
88
99body .tools-platform-surface {
10+ --tools-space-1 : 6px ;
11+ --tools-space-2 : 10px ;
12+ --tools-space-3 : 12px ;
13+ --tools-space-4 : 16px ;
14+ --tools-type-body : 0.95rem ;
15+ --tools-type-meta : 0.82rem ;
16+ --tools-type-heading-1 : clamp (1.08rem , 1.6vw , 1.24rem );
17+ --tools-type-heading-2 : clamp (0.96rem , 1.2vw , 1.06rem );
1018 min-height : 100vh ;
1119 min-height : 100dvh ;
1220 color : var (--text , # f7f4ff );
1321 background : var (--bg-gradient , linear-gradient (180deg , # c4b5fd 0% , # a78bfa 18% , # 8b5cf6 36% , # 7c3aed 54% , # 6d28d9 74% , # 5b21b6 88% , # 4c1d95 100% ));
22+ font-size : var (--tools-type-body );
23+ line-height : 1.45 ;
24+ letter-spacing : 0.005em ;
1425}
1526
1627[data-tools-platform-header ],
@@ -556,15 +567,15 @@ body.tools-platform-workspace-context .tools-platform-frame__shared-status stron
556567
557568/* Shared tool polish contract: layout spacing, control grouping, docking/resizing affordances. */
558569body .tools-platform-surface .tools-platform-layout-grid {
559- gap : 12 px ;
570+ gap : 14 px ;
560571 align-items : stretch;
561572}
562573
563574body .tools-platform-surface .tools-platform-control-cluster {
564575 display : flex;
565576 flex-wrap : wrap;
566577 align-items : center;
567- gap : 8 px ;
578+ gap : var ( --tools-space-2 ) ;
568579}
569580
570581body .tools-platform-surface .tools-platform-control-cluster--primary {
@@ -584,7 +595,7 @@ body.tools-platform-surface .tools-platform-control-row {
584595 display : flex;
585596 flex-wrap : wrap;
586597 align-items : center;
587- gap : 8 px ;
598+ gap : var ( --tools-space-2 ) ;
588599}
589600
590601body .tools-platform-surface .tools-platform-control-row > button ,
@@ -670,6 +681,8 @@ body.tools-platform-surface .canvas-toolbar {
670681 border-color : var (--line , rgba (221 , 214 , 254 , 0.26 ));
671682 background : var (--tools-shell-glass );
672683 color : var (--text , # f7f4ff );
684+ gap : var (--tools-space-2 );
685+ padding : var (--tools-space-2 ) var (--tools-space-3 );
673686}
674687
675688/*
@@ -755,7 +768,7 @@ body.tools-platform-surface .panel-accordion {
755768body .tools-platform-surface .panel-accordion__summary {
756769 list-style : none;
757770 cursor : pointer;
758- padding : 10 px ;
771+ padding : var ( --tools-space-2 ) var ( --tools-space-3 ) ;
759772 border-bottom : 1px solid transparent;
760773}
761774
@@ -774,7 +787,7 @@ body.tools-platform-surface .panel-accordion[open] .panel-accordion__summary {
774787}
775788
776789body .tools-platform-surface .panel-accordion__body {
777- padding : 10 px ;
790+ padding : var ( --tools-space-3 ) ;
778791}
779792
780793body .tools-platform-surface .panel ,
@@ -786,6 +799,27 @@ body.tools-platform-surface .card {
786799 color : var (--text , # f7f4ff );
787800}
788801
802+ body .tools-platform-surface : is (h1 , h2 , h3 , h4 ) {
803+ margin : 0 0 var (--tools-space-2 );
804+ line-height : 1.25 ;
805+ letter-spacing : 0.01em ;
806+ color : var (--text , # f7f4ff );
807+ }
808+
809+ body .tools-platform-surface h1 {
810+ font-size : var (--tools-type-heading-1 );
811+ }
812+
813+ body .tools-platform-surface : is (h2 , h3 , h4 ) {
814+ font-size : var (--tools-type-heading-2 );
815+ }
816+
817+ body .tools-platform-surface label {
818+ font-size : var (--tools-type-meta );
819+ line-height : 1.3 ;
820+ color : var (--muted , # e9ddff );
821+ }
822+
789823body .tools-platform-surface section .panel .debug-tool-panel {
790824 padding : 16px ;
791825}
@@ -935,6 +969,8 @@ body.tools-platform-surface #statusLeft,
935969body .tools-platform-surface # statusCenter ,
936970body .tools-platform-surface # statusRight {
937971 color : var (--muted , # e9ddff );
972+ font-size : var (--tools-type-meta );
973+ line-height : 1.4 ;
938974}
939975
940976body .tools-platform-surface .app-shell > .toolbar : first-child ,
0 commit comments