@@ -735,66 +735,175 @@ html[data-theme='dark'] .zcp-claim-card--deploy { background: rgba(76, 29, 149
735735html [data-theme = 'dark' ] .zcp-claim-card--stack { background : rgba (30 , 58 , 138 , 0.22 ); border-color : rgba (45 , 114 , 217 , 0.35 ); }
736736html [data-theme = 'dark' ] .zcp-claim-card--handover { background : rgba (120 , 53 , 15 , 0.2 ); border-color : rgba (196 , 127 , 23 , 0.35 ); }
737737
738- /* ZCP mermaid flowcharts (how-it-works classDef nodes) */
738+ /* Mermaid diagrams — theme-aware styling */
739739
740- html [data-theme = 'dark' ] .mermaid .node .user > rect ,
741- html [data-theme = 'dark' ] .mermaid .node .user > polygon ,
742- html [data-theme = 'dark' ] .mermaid .node .user > path {
743- fill : rgba (30 , 58 , 138 , 0.35 ) !important ;
740+ .docusaurus-mermaid-container {
741+ margin : 1.25rem 0 ;
742+ }
743+
744+ .docusaurus-mermaid-container svg {
745+ background : transparent !important ;
746+ }
747+
748+ /* Edges and arrowheads */
749+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .edgePath path ,
750+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .flowchart-link {
751+ stroke : # 94a3b8 !important ;
752+ }
753+
754+ html [data-theme = 'dark' ] .docusaurus-mermaid-container marker path {
755+ fill : # 94a3b8 !important ;
756+ stroke : # 94a3b8 !important ;
757+ }
758+
759+ /* Edge labels (yes / no / etc.) */
760+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .edgeLabel rect ,
761+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .edgeLabel .label-container {
762+ fill : # 1e293b !important ;
763+ }
764+
765+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .edgeLabel span ,
766+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .edgeLabel p ,
767+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .edgeLabel .label {
768+ color : # e2e8f0 !important ;
769+ fill : # e2e8f0 !important ;
770+ }
771+
772+ /* Default nodes (diagrams without classDef) */
773+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .default rect ,
774+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .default polygon ,
775+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .default circle {
776+ fill : # eceff3 !important ;
777+ stroke : # d1d5db !important ;
778+ }
779+
780+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .default rect ,
781+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .default polygon ,
782+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .default circle {
783+ fill : rgba (30 , 41 , 59 , 0.92 ) !important ;
784+ stroke : # 64748b !important ;
785+ }
786+
787+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .default foreignObject div ,
788+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .default .label ,
789+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .default .nodeLabel {
790+ color : # 030712 !important ;
791+ }
792+
793+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .default foreignObject div ,
794+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .default .label ,
795+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .default .nodeLabel {
796+ color : # f8fafc !important ;
797+ fill : # f8fafc !important ;
798+ }
799+
800+ /* classDef nodes — light mode fills */
801+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .user rect ,
802+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .user polygon {
803+ fill : # f7fbff !important ;
804+ stroke : # 2d72d9 !important ;
805+ }
806+
807+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .zcpbox rect ,
808+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .zcpbox polygon {
809+ fill : # eef7f1 !important ;
810+ stroke : # 32845a !important ;
811+ }
812+
813+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .work rect ,
814+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .work polygon {
815+ fill : # fffaf0 !important ;
816+ stroke : # c47f17 !important ;
817+ }
818+
819+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .done rect ,
820+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .done polygon {
821+ fill : # f5f3ff !important ;
822+ stroke : # 7157d9 !important ;
823+ }
824+
825+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .stop rect ,
826+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .stop polygon {
827+ fill : # fff1f2 !important ;
828+ stroke : # d33f49 !important ;
829+ }
830+
831+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .user foreignObject div ,
832+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .zcpbox foreignObject div ,
833+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .work foreignObject div ,
834+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .done foreignObject div ,
835+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .stop foreignObject div ,
836+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .user .label ,
837+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .zcpbox .label ,
838+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .work .label ,
839+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .done .label ,
840+ html [data-theme = 'light' ] .docusaurus-mermaid-container .node .stop .label {
841+ color : # 172033 !important ;
842+ }
843+
844+ /* classDef nodes — dark mode fills */
845+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .user rect ,
846+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .user polygon {
847+ fill : rgba (30 , 58 , 138 , 0.45 ) !important ;
744848 stroke : # 60a5fa !important ;
745849}
746850
747- html [data-theme = 'dark' ] .mermaid .node .zcpbox > rect ,
748- html [data-theme = 'dark' ] .mermaid .node .zcpbox > polygon ,
749- html [data-theme = 'dark' ] .mermaid .node .zcpbox > path {
750- fill : rgba (20 , 83 , 45 , 0.3 ) !important ;
851+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .zcpbox rect ,
852+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .zcpbox polygon {
853+ fill : rgba (20 , 83 , 45 , 0.4 ) !important ;
751854 stroke : # 4ade80 !important ;
752855}
753856
754- html [data-theme = 'dark' ] .mermaid .node .work > rect ,
755- html [data-theme = 'dark' ] .mermaid .node .work > polygon ,
756- html [data-theme = 'dark' ] .mermaid .node .work > path {
757- fill : rgba (120 , 53 , 15 , 0.28 ) !important ;
857+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .work rect ,
858+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .work polygon {
859+ fill : rgba (120 , 53 , 15 , 0.38 ) !important ;
758860 stroke : # fbbf24 !important ;
759861}
760862
761- html [data-theme = 'dark' ] .mermaid .node .done > rect ,
762- html [data-theme = 'dark' ] .mermaid .node .done > polygon ,
763- html [data-theme = 'dark' ] .mermaid .node .done > path {
764- fill : rgba (76 , 29 , 149 , 0.28 ) !important ;
863+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .done rect ,
864+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .done polygon {
865+ fill : rgba (76 , 29 , 149 , 0.38 ) !important ;
765866 stroke : # a78bfa !important ;
766867}
767868
768- html [data-theme = 'dark' ] .mermaid .node .stop > rect ,
769- html [data-theme = 'dark' ] .mermaid .node .stop > polygon ,
770- html [data-theme = 'dark' ] .mermaid .node .stop > path {
771- fill : rgba (127 , 29 , 29 , 0.28 ) !important ;
869+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .stop rect ,
870+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .stop polygon {
871+ fill : rgba (127 , 29 , 29 , 0.38 ) !important ;
772872 stroke : # f87171 !important ;
773873}
774874
775- html [data-theme = 'dark' ] .mermaid .node .user .label ,
776- html [data-theme = 'dark' ] .mermaid .node .zcpbox .label ,
777- html [data-theme = 'dark' ] .mermaid .node .work .label ,
778- html [data-theme = 'dark' ] .mermaid .node .done .label ,
779- html [data-theme = 'dark' ] .mermaid .node .stop .label {
875+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .user foreignObject div ,
876+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .zcpbox foreignObject div ,
877+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .work foreignObject div ,
878+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .done foreignObject div ,
879+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .stop foreignObject div ,
880+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .user .label ,
881+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .zcpbox .label ,
882+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .work .label ,
883+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .done .label ,
884+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .stop .label ,
885+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .user .nodeLabel ,
886+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .zcpbox .nodeLabel ,
887+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .work .nodeLabel ,
888+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .done .nodeLabel ,
889+ html [data-theme = 'dark' ] .docusaurus-mermaid-container .node .stop .nodeLabel {
780890 color : # f8fafc !important ;
891+ fill : # f8fafc !important ;
781892}
782893
783- html [ data-theme = 'dark' ] . mermaid . node . user . label span ,
784- html [data-theme = 'dark ' ] .mermaid . node . zcpbox . label span ,
785- html [ data-theme = 'dark' ] . mermaid . node . work . label span ,
786- html [ data-theme = 'dark' ] . mermaid . node . done . label span ,
787- html [ data-theme = 'dark' ] . mermaid . node . stop . label span {
788- color : # f8fafc !important ;
894+ /* Inline code inside diagram labels */
895+ html [data-theme = 'light ' ] .docusaurus- mermaid-container foreignObject code {
896+ background : rgba ( 3 , 7 , 18 , 0.06 ) !important ;
897+ color : # 172033 !important ;
898+ padding : 0.1 em 0.35 em ;
899+ border-radius : 4 px ;
789900}
790901
791- html [data-theme = 'dark' ] .mermaid .node .user .label code ,
792- html [data-theme = 'dark' ] .mermaid .node .zcpbox .label code ,
793- html [data-theme = 'dark' ] .mermaid .node .work .label code ,
794- html [data-theme = 'dark' ] .mermaid .node .done .label code ,
795- html [data-theme = 'dark' ] .mermaid .node .stop .label code {
796- background : rgba (15 , 23 , 42 , 0.55 );
797- color : # e2e8f0 ;
902+ html [data-theme = 'dark' ] .docusaurus-mermaid-container foreignObject code {
903+ background : rgba (15 , 23 , 42 , 0.75 ) !important ;
904+ color : # e2e8f0 !important ;
905+ padding : 0.1em 0.35em ;
906+ border-radius : 4px ;
798907}
799908
800909/* gap objection cards */
0 commit comments