File size: 68,280 Bytes
fa0970b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ecf16e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
/* Norhard War — Board Console app styles. Built on tokens from colors_and_type.css. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin:0; padding:0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; }
body { background-image:
  radial-gradient(rgba(14,17,22,0.015) 1px, transparent 1px),
  radial-gradient(rgba(14,17,22,0.012) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px; background-position: 0 0, 1px 2px; }

button { font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 12px; text-wrap: pretty; }
input, textarea, select { font: inherit; color: inherit; }

/* ------------ Typography roles ------------ */
.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }
.body-sm { font-size: var(--fs-body-sm); line-height: 1.5; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.fg-1 { color: var(--ink); } .fg-2 { color: var(--graphite); } .fg-3 { color: var(--slate); }

/* ------------ Topbar ------------ */
.nh-topbar { position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,240,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--vellum);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 32px; height: 64px; }
.nh-topbar__l { display: flex; align-items: center; gap: 40px; }
.nh-brand { background: none; border: 0; padding: 0;
  font-family: var(--font-serif); font-size: 22px; font-weight: 500;
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.nh-brand em { color: var(--oxblood); font-style: normal; font-weight: 400; }
.nh-brand__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate); padding: 2px 6px; border: 1px solid var(--vellum);
  border-radius: 2px; margin-left: 4px; }
.nh-nav { display: flex; gap: 4px; }
.nh-nav button { background: none; border: 0; padding: 6px 10px;
  font-size: 14px; color: var(--graphite); border-radius: 2px; }
.nh-nav button:hover { color: var(--ink); background: var(--vellum); }
.nh-nav button.on { color: var(--ink); background: var(--dossier); }
.nh-status { display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; color: var(--graphite); }
.nh-status b { color: var(--ink); font-weight: 500; }
.nh-sep { width: 1px; height: 12px; background: var(--vellum); }

/* ------------ App container ------------ */
.nh-app { max-width: 1440px; margin: 0 auto; padding: 32px 32px 96px; }

/* ------------ Hero ------------ */
.nh-hero { padding: 48px 0 32px; border-bottom: 1px solid var(--vellum); margin-bottom: 32px; }
.nh-eyebrow { display: flex; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }
.nh-eyebrow b { color: var(--ink); font-weight: 500; }
.nh-hero h1 { font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(38px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.015em;
  text-wrap: balance; max-width: 22ch; }
.nh-dek { margin-top: 20px; max-width: 68ch; font-size: 17px; line-height: 1.55; color: var(--graphite); }
.nh-byline { margin-top: 20px; color: var(--slate); font-size: 12px; letter-spacing: 0.04em; }

/* ------------ Phase rail ------------ */
.nh-rail { display: flex; gap: 0; border: 1px solid var(--vellum); border-radius: 2px;
  background: var(--dossier); margin-bottom: 24px; overflow: hidden; }
.nh-rail__p { flex: 1; display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-right: 1px solid var(--vellum); position: relative; }
.nh-rail__p:last-child { border-right: 0; }
.nh-rail__p .n { font-size: 11px; color: var(--slate); }
.nh-rail__p .t { font-size: 13px; font-weight: 500; color: var(--graphite); }
.nh-rail__p.done .n, .nh-rail__p.done .t { color: var(--graphite); }
.nh-rail__p.done::after { content: "✓"; position: absolute; right: 18px;
  font-family: var(--font-mono); color: var(--moss); font-size: 13px; }
.nh-rail__p.active { background: var(--paper); box-shadow: inset 0 -2px 0 var(--ink); }
.nh-rail__p.active .n { color: var(--oxblood); }
.nh-rail__p.active .t { color: var(--ink); }

/* ------------ Metric strip ------------ */
.nh-metrics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border: 1px solid var(--vellum); border-radius: 2px; background: var(--dossier);
  margin-bottom: 24px; overflow: hidden; }
.nh-metric { padding: 14px 16px; border-right: 1px solid var(--vellum); }
.nh-metric:last-child { border-right: 0; }
.nh-metric .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.nh-metric .v { font-family: var(--font-serif); font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ink); line-height: 1.1; }
.nh-metric .d { font-family: var(--font-mono); font-size: 11px; margin-top: 6px; color: var(--slate); }
.nh-metric .d.good { color: var(--moss); }
.nh-metric .d.bad { color: var(--oxblood); }
.nh-metric .d.flat { color: var(--slate); }

/* ------------ Affordances strip ------------ */
.nh-affordances { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 0; border-bottom: 1px solid var(--vellum); margin-bottom: 32px; }
.nh-affordances__note { margin-left: auto; color: var(--slate); font-size: 11px; }

/* ------------ Buttons ------------ */
.btn { border: 1px solid var(--ink); background: var(--ink); color: var(--dossier);
  padding: 10px 16px; border-radius: 2px; font-size: 14px; font-weight: 500;
  transition: background-color 160ms cubic-bezier(.2,.6,.2,1), transform 80ms, box-shadow 160ms;
  box-shadow: var(--shadow-sheet); }
.btn.primary { }
.btn.primary:hover { background: #1B1F27; }
.btn.primary:active { transform: translateY(1px); box-shadow: none; }
.btn.secondary { background: var(--dossier); color: var(--ink); }
.btn.secondary:hover { background: var(--vellum); }
.btn.ghost { background: transparent; color: var(--graphite); border-color: var(--vellum); box-shadow: none; }
.btn.ghost:hover { color: var(--ink); border-color: var(--graphite); }
.btn.sm { padding: 6px 10px; font-size: 12.5px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ------------ Dossier card ------------ */
.nh-dossier { position: relative; background: var(--dossier); border: 1px solid var(--vellum);
  border-radius: 2px; padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sheet); }
.nh-dossier::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px; background: var(--ink); }
.nh-dossier.fog { background: var(--paper); overflow: hidden; }
.nh-dossier.fog::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  backdrop-filter: blur(0px); background: linear-gradient(180deg, rgba(232,225,210,0.0) 40%, rgba(232,225,210,0.22) 100%); }
.nh-dossier__fog { position: absolute; top: 10px; right: 16px; font-family: var(--font-mono);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate); }
.nh-dossier.inverse { background: var(--ink); color: var(--dossier); border-color: var(--ink); }
.nh-dossier.inverse::before { background: var(--oxblood); }
.nh-dossier.inverse h3, .nh-dossier.inverse p { color: var(--dossier); }
.nh-dossier__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 6px; }
.nh-dossier.inverse .nh-dossier__tag { color: #B8A88B; }
.nh-dossier__h { font-family: var(--font-serif); font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.2; }
.nh-serif-h { font-family: var(--font-serif); font-weight: 500; font-size: 22px;
  line-height: 1.25; letter-spacing: -0.008em; margin: 0 0 10px; text-wrap: pretty; }
.nh-dossier__fn { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--vellum);
  display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px;
  color: var(--slate); letter-spacing: 0.02em; }
.nh-dossier p { color: var(--graphite); font-size: 15px; line-height: 1.6; max-width: 68ch; }
.nh-redacted { background: var(--ink); color: var(--ink); user-select: none;
  border-radius: 1px; padding: 0 2px; position: relative; }
.nh-redacted::before { content: ""; position: absolute; inset: 0; background: var(--ink); }
.nh-dossier.fog .nh-redacted { filter: blur(2px); background: transparent; color: var(--slate); }
.nh-dossier.fog .nh-redacted::before { display: none; }

/* ------------ Main grid ------------ */
.nh-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 32px; }
@media (max-width: 1100px) { .nh-grid { grid-template-columns: 1fr; } }

/* ------------ Decision points ------------ */
.nh-decisions { margin-top: 12px; }
.nh-decision { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--vellum); align-items: center; }
.nh-decision:first-child { border-top: 1px solid var(--ink); }
.nh-decision .n { font-size: 18px; color: var(--slate); padding-top: 2px; }
.nh-decision .t { font-family: var(--font-serif); font-size: 18px; font-weight: 500; line-height: 1.25; }
.nh-decision .c { color: var(--graphite); font-size: 13.5px; margin-top: 4px; line-height: 1.5; max-width: 60ch; }
.nh-decision .k { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.nh-decision .k span { font-family: var(--font-mono); font-size: 11px; color: var(--slate);
  padding: 3px 8px; border: 1px solid var(--vellum); border-radius: 2px; }

/* ------------ Aside panels ------------ */
.nh-aside { display: flex; flex-direction: column; gap: 20px; }
.nh-panel { background: var(--dossier); border: 1px solid var(--vellum); border-radius: 2px;
  padding: 20px; box-shadow: var(--shadow-sheet); position: relative; }
.nh-panel::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px; background: var(--ink); }
.nh-panel__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 4px; }
.nh-panel h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 500; line-height: 1.25; }
.nh-recon { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.nh-recon li { padding-top: 12px; border-top: 1px dashed var(--vellum); display: block; }
.nh-recon li:first-child { border-top: 1px solid var(--ink); padding-top: 12px; }
.nh-recon .who { font-size: 11px; color: var(--amber); display: block; margin-bottom: 4px; }
.nh-recon .who.done { color: var(--moss); }
.nh-recon .q { font-style: italic; color: var(--graphite); font-size: 13px; display: block; margin-bottom: 4px; }
.nh-recon .a { font-size: 13.5px; color: var(--ink); display: block; line-height: 1.5; }
.nh-recon__in { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--vellum); }
.nh-recon__in label { font-family: var(--font-mono); font-size: 11px; color: var(--slate);
  letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.nh-recon__in .sel { display: grid; grid-template-columns: 1fr; gap: 6px; }
.nh-recon__in select, .nh-recon__in input { background: var(--paper); border: 1px solid var(--vellum);
  padding: 8px 10px; font-size: 13px; border-radius: 2px; width: 100%; }
.nh-recon__in select:focus, .nh-recon__in input:focus { outline: none; border-color: var(--ink); }
.nh-recon__in .help { font-size: 10.5px; color: var(--slate); letter-spacing: 0.04em; }

/* ------------ Agent roster ------------ */
.nh-agents { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 0; }
.nh-agents li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center;
  padding: 8px 0; border-top: 1px dashed var(--vellum); }
.nh-agents li:first-child { border-top: 1px solid var(--ink); }
.nh-agents .code { font-size: 11px; color: var(--slate); letter-spacing: 0; }
.nh-agents .nm { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.nh-agents .rl { font-size: 11.5px; color: var(--slate); margin-top: 2px; }
.nh-agents .rt { display: flex; gap: 6px; align-items: center; }
.nh-agents .kind { font-size: 10px; color: var(--slate); padding: 2px 5px;
  border: 1px solid var(--vellum); border-radius: 2px; text-transform: lowercase; }
.nh-agents .kind.rival { color: var(--oxblood); border-color: var(--oxblood); }
.nh-peek { background: none; border: 0; font-size: 10.5px; color: var(--ice);
  padding: 2px 6px; letter-spacing: 0.04em; }
.nh-peek:hover { color: var(--ink); }

/* ------------ Action composer ------------ */
.nh-composer { background: var(--paper); border: 1px solid var(--ink); border-radius: 2px;
  padding: 32px; margin-bottom: 32px; position: relative;
  box-shadow: 0 0 0 6px var(--dossier), var(--shadow-sheet); }
.nh-composer.submitted { background: var(--dossier); }
.nh-composer__hd { display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--vellum); }
.nh-composer__hd h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 500;
  letter-spacing: -0.012em; }
.nh-composer__hd .hint { font-size: 11px; color: var(--slate); letter-spacing: 0.05em; text-transform: uppercase; }
.nh-formrow { margin-bottom: 16px; }
.nh-formrow label { display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.nh-formrow .ct { font-size: 10.5px; }
.nh-formrow input, .nh-formrow textarea { width: 100%; padding: 12px 14px;
  background: var(--dossier); border: 1px solid var(--vellum); border-radius: 2px;
  font-size: 15px; line-height: 1.5; resize: vertical; }
.nh-formrow input:focus, .nh-formrow textarea:focus { outline: none; border-color: var(--ink); background: #FFFCF4; }
.nh-formrow textarea { min-height: 110px; font-family: var(--font-sans); }

.nh-anchors { margin-top: 20px; }
.nh-anchors .legend { display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.nh-anchors .legend .count { color: var(--amber); font-size: 12px; }
.nh-anchors .legend .count.ok { color: var(--moss); }
.nh-anchor { display: grid; grid-template-columns: 200px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 0; border-top: 1px dashed var(--vellum); }
.nh-anchor:first-of-type { border-top: 1px solid var(--ink); }
.nh-anchor.editable input { background: transparent; border: 0; font-size: 14px;
  color: var(--ink); padding: 8px 0; border-bottom: 1px solid transparent; }
.nh-anchor.editable input:focus { outline: none; border-bottom-color: var(--ink); }
.nh-anchor .k { font-size: 12px; font-weight: 600; color: var(--ink); text-transform: uppercase;
  letter-spacing: 0.04em; display: block; }
.nh-anchor .hint { font-size: 11px; color: var(--slate); margin-top: 3px; letter-spacing: 0.02em; }
.nh-anchor .v { font-size: 13.5px; color: var(--graphite); line-height: 1.5; }
.nh-anchor .rm { background: none; border: 0; font-size: 11px; color: var(--slate); letter-spacing: 0.04em; }
.nh-anchor .rm:hover { color: var(--oxblood); }

.nh-submit { display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--vellum); flex-wrap: wrap; }
.nh-submit .hint { font-size: 12px; }

/* ------------ Advance terminal ------------ */
.nh-terminal { background: var(--ink); color: var(--dossier); border-radius: 2px;
  margin-bottom: 32px; overflow: hidden; border: 1px solid var(--ink);
  box-shadow: 0 2px 12px rgba(14,17,22,0.24); }
.nh-terminal__hd { display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; border-bottom: 1px solid #22262E; background: #14181F; }
.nh-terminal__hd .tag { font-size: 11.5px; color: var(--oxblood); letter-spacing: 0.04em; }
.nh-terminal__hd .fg-3 { color: #787166; font-size: 11px; }
.nh-terminal__body { padding: 20px 20px 24px; max-height: 340px; overflow-y: auto; }
.nh-terminal .line { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7;
  color: #C9C2B1; animation: nh-fade 200ms cubic-bezier(.2,.6,.2,1) both; }
.nh-terminal .line:nth-child(4n+1) { color: #8EB38A; }
@keyframes nh-fade { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }

/* ------------ Verdicts ------------ */
.nh-verdicts { margin-top: 32px; padding-top: 24px; border-top: 3px double var(--ink); }
.nh-verdicts h2 { font-family: var(--font-serif); font-size: 36px; font-weight: 500;
  letter-spacing: -0.015em; margin-bottom: 20px; }
.nh-vturn { margin-bottom: 32px; }
.nh-vturn__hd { display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--ink); margin-bottom: 16px; }
.nh-v { background: var(--dossier); border: 1px solid var(--vellum); border-radius: 2px;
  padding: 24px; margin-bottom: 14px; position: relative; box-shadow: var(--shadow-sheet); }
.nh-v::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px; background: var(--ink); }
.nh-v.rival { background: var(--ink); color: var(--dossier); border-color: var(--ink); }
.nh-v.rival::before { background: var(--oxblood); }
.nh-v.rival h4, .nh-v.rival p, .nh-v.rival .nh-v__hd .actor { color: var(--dossier); }
.nh-v__rival { position: absolute; top: 14px; right: 18px; color: var(--oxblood) !important;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.nh-v__hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.nh-v__hd .actor { font-family: var(--font-mono); font-size: 13px; color: var(--ink); font-weight: 500; }
.nh-v__hd .meta { font-size: 11px; color: var(--slate); letter-spacing: 0.04em; }
.nh-v.rival .nh-v__hd .meta { color: #B8A88B; }
.nh-v p { color: var(--graphite); margin-top: 10px; font-size: 14px; line-height: 1.6; }
.nh-v.rival p { color: #C9C2B1; }
.nh-v__anchors { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.nh-v__anchors .ac { font-size: 10.5px; color: var(--moss); padding: 3px 7px;
  border: 1px solid currentColor; border-radius: 2px; letter-spacing: 0.04em; }
.nh-v__anchors .rj { font-size: 10.5px; color: var(--oxblood); padding: 3px 7px;
  border: 1px solid currentColor; border-radius: 2px; letter-spacing: 0.04em; }
.nh-v__so { margin-top: 16px; padding: 12px 14px; background: var(--paper);
  border-left: 1px solid var(--vellum); }
.nh-v.rival .nh-v__so { background: #1B1F27; border-left-color: var(--oxblood); }
.nh-v__so ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--graphite); line-height: 1.6; }
.nh-v.rival .nh-v__so ul { color: #C9C2B1; }
.nh-v__actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--vellum); }

/* ------------ Outcome pill ------------ */
.nh-outcome { display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 2px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.03em; }
.nh-outcome.major { background: rgba(63,91,59,0.1); color: var(--moss); border: 1px solid currentColor; }
.nh-outcome.minor { background: rgba(58,90,122,0.08); color: var(--ice); border: 1px solid currentColor; }
.nh-outcome.no-effect { background: transparent; color: var(--slate); border: 1px solid var(--vellum); }
.nh-outcome.backfire { background: rgba(122,31,31,0.08); color: var(--oxblood); border: 1px solid currentColor; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--major { background: var(--moss); }
.dot--minor { background: var(--ice); }
.dot--noeffect { background: var(--slate); }
.dot--backfire { background: var(--oxblood); }

/* ------------ Games list ------------ */
.nh-tablehd { display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0 14px; border-bottom: 1px solid var(--ink); }
.nh-tablehd > span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate); }
.nh-tablehd__r { display: flex; gap: 8px; }
.nh-games { width: 100%; border-collapse: collapse; margin-top: 0; }
.nh-games thead th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate); padding: 10px 12px; text-align: left;
  border-bottom: 1px solid var(--vellum); }
.nh-games tbody td { padding: 16px 12px; border-bottom: 1px solid var(--vellum);
  font-size: 14px; color: var(--graphite); vertical-align: middle; }
.nh-games tbody tr:hover { background: var(--dossier); }
.nh-games .nm { color: var(--ink); font-weight: 500; font-size: 15px; }
.nh-games .sub { color: var(--slate); font-size: 12.5px; margin-top: 2px; }
.nh-games .rt { text-align: right; }
.nh-chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 2px; border: 1px solid; }
.nh-chip.active { color: var(--amber); border-color: var(--amber); }
.nh-chip.complete { color: var(--moss); border-color: var(--moss); }

/* ------------ Scenario picker ------------ */
.nh-scenarios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 900px) { .nh-scenarios { grid-template-columns: 1fr; } }
.nh-sc { background: var(--dossier); border: 1px solid var(--vellum); border-radius: 2px;
  padding: 24px; text-align: left; position: relative;
  transition: box-shadow 200ms cubic-bezier(.2,.6,.2,1), transform 200ms; }
.nh-sc::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px; background: var(--vellum); }
.nh-sc:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.nh-sc.sel::before { background: var(--ink); }
.nh-sc.sel { border-color: var(--ink); background: var(--paper); }
.nh-sc .eyebrow { color: var(--slate); margin-bottom: 10px; display: block; font-size: 10.5px; }
.nh-sc h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500;
  letter-spacing: -0.01em; margin-bottom: 6px; }
.nh-sc__meta { font-size: 13px; color: var(--graphite); display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.nh-sc__meta .sep { width: 4px; height: 4px; background: var(--slate); border-radius: 50%; display: inline-block; }
.nh-sc p { font-size: 13px; color: var(--slate); margin-bottom: 0; }
.nh-sc__fn { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--vellum);
  font-size: 11px; color: var(--slate); letter-spacing: 0.04em; }

.nh-create { background: var(--ink); color: var(--dossier); border-radius: 2px; padding: 28px 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  border: 1px solid var(--ink); box-shadow: var(--shadow-lift); }
.nh-create .eyebrow { color: #B8A88B; }
.nh-create .hd { font-family: var(--font-serif); font-size: 26px; font-weight: 500;
  color: var(--dossier); margin-top: 4px; letter-spacing: -0.01em; }
.nh-create .fg-3 { color: #B8A88B; margin-top: 6px; }
.nh-create .btn.primary { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }
.nh-create .btn.primary:hover { background: #932525; border-color: #932525; }

.nh-progress { min-width: 420px; }
.nh-progress .row { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px;
  padding: 8px 0; font-size: 13px; color: #B8A88B; border-top: 1px dashed #2B2F37;
  align-items: center; }
.nh-progress .row:first-child { border-top: 1px solid #2B2F37; }
.nh-progress .row .n { color: #787166; font-size: 11px; }
.nh-progress .row .s { font-size: 10.5px; color: #787166; letter-spacing: 0.06em; text-transform: uppercase; }
.nh-progress .row.done { color: var(--dossier); }
.nh-progress .row.done .s { color: var(--moss); }
.nh-progress .row.run { color: var(--paper); }
.nh-progress .row.run .s { color: var(--amber); }
.nh-progress .row.run::after { content: ""; }

/* ------------ Modal ------------ */
.nh-modal { position: fixed; inset: 0; z-index: 100; background: rgba(14,17,22,0.55);
  display: flex; justify-content: center; align-items: flex-start; padding: 60px 24px;
  overflow-y: auto; animation: nh-modal-in 200ms cubic-bezier(.2,.6,.2,1); }
@keyframes nh-modal-in { from { opacity: 0; } to { opacity: 1; } }
.nh-modal__body { width: 100%; max-width: 760px; background: var(--paper);
  border: 1px solid var(--ink); border-radius: 2px; padding: 28px 32px;
  box-shadow: var(--shadow-lift); position: relative;
  animation: nh-modal-slide 280ms cubic-bezier(.2,.6,.2,1); }
.nh-modal__body.wide { max-width: 960px; }
.nh-modal__body.narrow { max-width: 620px; }
@keyframes nh-modal-slide { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.nh-modal__body::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 3px; background: var(--oxblood); }
.nh-modal__body header { display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 16px; border-bottom: 1px solid var(--vellum); margin-bottom: 20px; }
.nh-modal__body header h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 500;
  letter-spacing: -0.012em; margin-top: 4px; }

.nh-peek__bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--vellum); }
.nh-peek__bar .chip { background: var(--dossier); border: 1px solid var(--vellum);
  padding: 5px 10px; font-size: 11.5px; color: var(--graphite); border-radius: 2px; letter-spacing: 0; }
.nh-peek__bar .chip.on { background: var(--ink); color: var(--dossier); border-color: var(--ink); }
.nh-peek__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .nh-peek__grid { grid-template-columns: 1fr; } }
.nh-peek__grid .nh-dossier { margin-bottom: 0; }
.nh-peek__fn { margin-top: 20px; padding-top: 12px; border-top: 1px dashed var(--vellum);
  color: var(--slate); font-size: 11px; letter-spacing: 0.04em; }

/* Orchestrator */
.nh-orch__run { padding: 20px 0; }
.nh-orch__vectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.nh-orch__vec { background: var(--dossier); border: 1px solid var(--vellum); padding: 14px;
  text-align: left; border-radius: 2px; position: relative; }
.nh-orch__vec.sel { background: var(--ink); color: var(--dossier); border-color: var(--ink); }
.nh-orch__vec.sel .eyebrow { color: #B8A88B; }
.nh-orch__vec .t { font-family: var(--font-serif); font-size: 16px; font-weight: 500;
  letter-spacing: -0.005em; margin-top: 6px; line-height: 1.25; }
.nh-orch__detail .nh-dossier { margin-bottom: 0; }
.nh-orch__stumbles { margin: 6px 0 0; padding-left: 18px; color: var(--graphite);
  font-size: 13px; line-height: 1.55; }

/* Rival playbook detail */
.nh-rival__moves { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.nh-rival__moves .mv { display: grid; grid-template-columns: 72px 1fr; gap: 14px;
  padding-top: 14px; border-top: 1px dashed #2B2F37; }
.nh-rival__moves .mv:first-child { border-top: 1px solid var(--oxblood); }
.nh-rival__moves .n { font-family: var(--font-mono); font-size: 11.5px; color: var(--oxblood);
  letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.nh-rival__moves p { color: #C9C2B1; font-size: 14px; line-height: 1.55; margin: 0; }

/* Debrief tabs */
.nh-debrief__tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ink);
  margin-bottom: 32px; align-items: flex-end; padding-bottom: 0; flex-wrap: wrap; }
.nh-debrief__tabs button { background: none; border: 0; padding: 12px 18px; font-size: 14px;
  color: var(--graphite); border-bottom: 2px solid transparent; letter-spacing: -0.005em; }
.nh-debrief__tabs button:hover { color: var(--ink); }
.nh-debrief__tabs button.on { color: var(--ink); border-bottom-color: var(--oxblood); font-weight: 500; }
.nh-debrief__tabs .sp { flex: 1; }
.nh-debrief__section { }
.nh-debrief__section .nh-dossier { margin-bottom: 20px; }

/* Debrief timeline */
.nh-timeline { width: 100%; border-collapse: collapse; }
.nh-timeline thead th { font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate);
  padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--ink); }
.nh-timeline tbody td { padding: 16px 12px; border-bottom: 1px solid var(--vellum);
  font-size: 14px; color: var(--graphite); vertical-align: top; }
.nh-timeline tbody td:first-child { color: var(--slate); font-weight: 500; }

/* Agendas grid */
.nh-agendas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 14px; }
@media (max-width: 900px) { .nh-agendas { grid-template-columns: 1fr; } }
.nh-agendas .nh-dossier { margin-bottom: 0; }

.nh-list { padding-left: 18px; color: var(--graphite); font-size: 14px; line-height: 1.6; }
.nh-list li { margin-bottom: 6px; }

.nh-footer { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--vellum);
  display: flex; justify-content: space-between; font-size: 11px; color: var(--slate); letter-spacing: 0.04em; }

/* ------------ Chat setup ------------ */
.nh-chat-app .nh-hero { border-bottom: 1px solid var(--vellum); margin-bottom: 24px; }
.nh-chat { max-width: 860px; margin: 0 auto; }
.nh-chat__thread { display: flex; flex-direction: column; gap: 24px; padding: 8px 0 24px; }
.nh-msg { display: flex; flex-direction: column; gap: 6px; max-width: 680px;
  animation: nh-fade 240ms cubic-bezier(.2,.6,.2,1); }
.nh-msg.user { align-self: flex-end; align-items: flex-end; }
.nh-msg.control { align-self: flex-start; }
.nh-msg__meta { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate); display: flex; gap: 10px; align-items: baseline; }
.nh-msg__meta span { color: var(--amber); }
.nh-msg.user .nh-msg__meta { flex-direction: row-reverse; }
.nh-msg.user .nh-msg__meta span { color: var(--moss); }
.nh-msg__body { font-size: 15.5px; line-height: 1.55; color: var(--ink);
  padding: 16px 20px; border-radius: 2px; position: relative; white-space: pre-wrap;
  text-wrap: pretty; }
.nh-msg.control .nh-msg__body { background: var(--dossier); border: 1px solid var(--vellum);
  box-shadow: var(--shadow-sheet); }
.nh-msg.control .nh-msg__body::before { content:""; position: absolute; top:-1px; left:-1px; right:-1px;
  height:2px; background: var(--ink); }
.nh-msg.user .nh-msg__body { background: var(--ink); color: var(--dossier); border: 1px solid var(--ink); }
.nh-msg.user .nh-msg__body::before { content:""; position:absolute; top:-1px; left:-1px; right:-1px;
  height:2px; background: var(--oxblood); }
.nh-typing { display: inline-flex; gap: 4px; align-items: center; }
.nh-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--slate);
  animation: nh-blink 1.2s infinite; }
.nh-typing i:nth-child(2) { animation-delay: 0.2s; }
.nh-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes nh-blink { 0%,60%,100% { opacity: 0.25; } 30% { opacity: 1; } }

.nh-chat__quick { margin-bottom: 10px; padding: 12px 14px; background: var(--dossier);
  border: 1px dashed var(--vellum); border-radius: 2px; }
.nh-chat__quick .eyebrow { display: block; margin-bottom: 8px; }
.nh-chat__quick > div { display: flex; flex-wrap: wrap; gap: 6px; }
.nh-chat__input form { display: block; background: var(--paper); border: 1px solid var(--ink);
  border-radius: 2px; padding: 14px; position: relative; box-shadow: 0 0 0 6px var(--dossier); }
.nh-chat__input form::before { content:""; position:absolute; top:-1px; left:-1px; right:-1px;
  height:2px; background: var(--ink); }
.nh-chat__input textarea { width: 100%; border: 0; padding: 4px 0; font-size: 15px;
  line-height: 1.55; background: transparent; resize: vertical; min-height: 56px; font-family: var(--font-sans); }
.nh-chat__input textarea:focus { outline: none; }
.nh-chat__submit { display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--vellum); }
.nh-chat__submit .hint { font-size: 10.5px; letter-spacing: 0.04em; color: var(--slate); text-transform: uppercase; }

.nh-chat__approve, .nh-chat__creating { display: flex; justify-content: space-between;
  align-items: center; padding: 16px 20px; background: var(--dossier);
  border: 1px solid var(--vellum); border-radius: 2px; position: relative; flex-wrap: wrap; gap: 12px; }
.nh-chat__approve::before, .nh-chat__creating::before { content:""; position:absolute; top:-1px; left:-1px; right:-1px;
  height:2px; background: var(--oxblood); }
.nh-chat__creating { display: block; }

.nh-spec { margin-top: 12px; background: var(--paper); border: 1px solid var(--ink);
  border-radius: 2px; padding: 16px 20px; }
.nh-spec .eyebrow { display: block; margin-bottom: 10px; }
.nh-spec table { width: 100%; border-collapse: collapse; }
.nh-spec th { text-align: left; vertical-align: top; width: 140px; padding: 10px 8px 10px 0;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate); font-weight: 500;
  border-top: 1px dashed var(--vellum); }
.nh-spec tr:first-child th, .nh-spec tr:first-child td { border-top: 1px solid var(--ink); }
.nh-spec td { padding: 8px 0; border-top: 1px dashed var(--vellum); }
.nh-spec textarea { width: 100%; background: transparent; border: 0; padding: 4px 8px;
  font-size: 13.5px; line-height: 1.55; resize: vertical; color: var(--ink); font-family: var(--font-sans); }
.nh-spec textarea:focus { outline: none; background: var(--dossier); }
.nh-spec__fn { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--vellum);
  display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--slate);
  letter-spacing: 0.04em; flex-wrap: wrap; }

/* Setup agent — questions & brief card */
.nh-questions { margin: 14px 0 4px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.nh-questions li { font-size: 14.5px; line-height: 1.55; color: var(--graphite); }
.nh-questions li::marker { color: var(--oxblood); font-family: var(--font-mono); font-weight: 600; }

.nh-brief { margin-top: 16px; background: var(--paper); border: 1px solid var(--ink);
  border-radius: 2px; padding: 18px 20px; position: relative; }
.nh-brief::before { content:""; position:absolute; top:-1px; left:-1px; right:-1px;
  height:2px; background: var(--moss); }
.nh-brief__hd { display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 10px; border-bottom: 1px solid var(--vellum); }
.nh-brief__paras { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.nh-brief__p { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 8px 0;
  border-top: 1px dashed var(--vellum); align-items: flex-start; }
.nh-brief__p:first-child { border-top: 1px solid var(--ink); }
.nh-brief__p .n { font-size: 10.5px; color: var(--oxblood); letter-spacing: 0.06em;
  text-transform: uppercase; padding-top: 8px; }
.nh-brief__p textarea { width: 100%; background: transparent; border: 0; padding: 6px 8px;
  font-size: 14px; line-height: 1.6; resize: vertical; color: var(--ink);
  font-family: var(--font-sans); }
.nh-brief__p textarea:focus { outline: none; background: var(--dossier); }
.nh-brief__fn { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--vellum);
  display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--moss);
  letter-spacing: 0.04em; }

/* Post-commit & orchestrate screens */
.nh-choice { background: var(--dossier); border: 1px solid var(--vellum); border-radius: 4px;
  padding: 22px 24px; border-top: 2px solid var(--ink); }
.nh-choice.accent { border-top: 2px solid var(--moss); background: var(--paper); }
.nh-scorecard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nh-vcard { background: var(--dossier); border: 1px solid var(--vellum); border-top: 2px solid var(--ink);
  border-radius: 2px; padding: 18px 18px 16px; }
.nh-vkpis { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.nh-vkpis > div { display: flex; justify-content: space-between; border-top: 1px dashed var(--vellum);
  padding: 6px 0 0; font-size: 12px; }
.nh-vkpis .k { color: var(--slate); text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; }
.nh-vkpis .v { color: var(--ink); font-weight: 600; }
.nh-vexpand { margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--vellum);
  background: var(--paper); border-radius: 2px; }
@media (max-width: 1000px) { .nh-scorecard { grid-template-columns: 1fr; } }

/* Tweaks panel */
.nh-tweaks { position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 2px;
  padding: 20px; width: 280px; box-shadow: var(--shadow-lift); font-size: 13px; }
.nh-tweaks::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px; background: var(--oxblood); }
.nh-tweaks h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.nh-tweaks label { display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-top: 1px dashed var(--vellum); }
.nh-tweaks label:first-of-type { border-top: 1px solid var(--ink); }
.nh-tweaks label input[type="checkbox"] { accent-color: var(--ink); }
.nh-tweaks label select { background: var(--dossier); border: 1px solid var(--vellum); padding: 2px 6px; }


/* ============================================================
   HELP SYSTEM — InfoTip, CoachMark, DemoMode
   ============================================================ */

/* ---- TopBar right side ---- */
.nh-topbar { position: relative; }
.nh-topbar__r { display: flex; align-items: center; gap: 12px; margin-left: 16px; }
.nh-demo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 11px;
  background: var(--dossier); color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer;
  transition: background 160ms cubic-bezier(0.2,0.6,0.2,1), transform 160ms cubic-bezier(0.2,0.6,0.2,1);
}
.nh-demo-btn:hover { background: var(--paper); }
.nh-demo-btn:active { transform: translateY(1px); }
.nh-demo-btn__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--oxblood);
  box-shadow: 0 0 0 2px rgba(122,31,31,0.18);
  animation: nh-demo-pulse 2.4s cubic-bezier(0.2,0.6,0.2,1) infinite;
}
@keyframes nh-demo-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(122,31,31,0.18); }
  50%     { box-shadow: 0 0 0 5px rgba(122,31,31,0.05); }
}

/* ---- InfoTip: a term with a small ⓘ and a popover ---- */
.nh-infotip { position: relative; display: inline; white-space: normal; }
.nh-infotip__term { color: inherit; border-bottom: 1px dotted var(--slate); padding-bottom: 0; }
.nh-infotip__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; margin-left: 3px; padding: 0;
  border: 0; background: transparent; color: var(--slate);
  font-family: var(--font-sans); font-size: 12px; line-height: 1;
  cursor: help; vertical-align: baseline; transform: translateY(-1px);
  transition: color 160ms;
}
.nh-infotip__btn:hover { color: var(--oxblood); }
.nh-infotip__pop {
  position: absolute; z-index: 70; top: calc(100% + 6px); left: 0;
  width: 320px; max-width: 80vw;
  background: var(--dossier); color: var(--ink);
  border: 1px solid var(--ink); border-top-width: 2px;
  padding: 12px 14px 14px; border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
  display: block;
  font-family: var(--font-sans); font-size: 13px; line-height: 1.5;
  text-align: left; white-space: normal;
  animation: nh-tip-in 160ms cubic-bezier(0.2,0.6,0.2,1);
}
@keyframes nh-tip-in { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: translateY(0); } }
.nh-infotip__head { display: block; margin-bottom: 6px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.nh-infotip__aka { color: var(--slate); font-weight: 500; letter-spacing: 0.04em; text-transform: none; font-size: 11.5px; margin-left: 2px; }
.nh-infotip__def { display: block; color: var(--graphite); font-weight: 400; }

/* ---- Coach mark: inline dismissible card at the top of a screen ---- */
.nh-coach {
  position: relative;
  margin: 0 0 24px;
  background: var(--paper);
  border: 1px solid var(--vellum); border-top: 2px solid var(--ink);
  padding: 16px 20px 18px 20px;
  border-radius: var(--r-sm);
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 6px;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-sheet);
}
.nh-coach__head {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.nh-coach__badge {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--oxblood);
  background: var(--dossier); padding: 3px 8px; border-radius: 2px;
}
.nh-coach__x {
  width: 26px; height: 26px; padding: 0;
  border: 1px solid var(--vellum); background: var(--dossier);
  color: var(--slate); font-size: 16px; line-height: 1; cursor: pointer;
  border-radius: var(--r-sm);
}
.nh-coach__x:hover { color: var(--oxblood); border-color: var(--ink); }
.nh-coach__title {
  grid-column: 1; margin: 0;
  font-family: var(--font-serif); font-size: 20px; font-weight: 500;
  color: var(--ink); line-height: 1.2;
}
.nh-coach__body {
  grid-column: 1 / -1; margin: 0;
  font-size: 14px; line-height: 1.55; color: var(--graphite);
  max-width: 72ch;
}
.nh-coach__cta { grid-column: 1 / -1; margin-top: 6px; }
.nh-coach__ok {
  grid-column: 1 / -1; justify-self: start; margin-top: 8px;
  background: transparent; border: 0; padding: 0;
  color: var(--slate); font-size: 12px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 2px;
  cursor: pointer;
}
.nh-coach__ok:hover { color: var(--oxblood); }

/* ---- DemoMode: scripted walkthrough ---- */
.nh-demo { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.nh-demo__scrim {
  position: absolute; inset: 0;
  background: rgba(14, 17, 22, 0.22);
  backdrop-filter: blur(1px);
  pointer-events: auto;
  animation: nh-demo-scrim-in 240ms cubic-bezier(0.2,0.6,0.2,1);
}
@keyframes nh-demo-scrim-in { from { opacity: 0; } to { opacity: 1; } }
.nh-demo__panel {
  position: absolute; right: 24px; bottom: 24px;
  width: 420px; max-width: calc(100vw - 48px);
  background: var(--dossier);
  border: 1px solid var(--ink); border-top: 3px solid var(--ink);
  border-radius: var(--r-sm);
  padding: 22px 24px 20px;
  pointer-events: auto;
  box-shadow: var(--shadow-lift);
  animation: nh-demo-panel-in 280ms cubic-bezier(0.2,0.6,0.2,1);
  font-family: var(--font-sans);
}
@keyframes nh-demo-panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nh-demo__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.nh-demo__badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--slate);
  text-transform: uppercase;
}
.nh-demo__x {
  background: transparent; border: 0; padding: 4px 0;
  color: var(--slate); font-size: 11.5px; letter-spacing: 0.04em;
  cursor: pointer; text-transform: uppercase; font-weight: 600;
}
.nh-demo__x:hover { color: var(--oxblood); }
.nh-demo__title {
  margin: 0 0 10px;
  font-family: var(--font-serif); font-size: 26px; font-weight: 500;
  line-height: 1.15; color: var(--ink);
  text-wrap: balance;
}
.nh-demo__body {
  margin: 0 0 16px;
  font-size: 14.5px; line-height: 1.55; color: var(--graphite);
  text-wrap: pretty;
}
.nh-demo__progress {
  display: flex; gap: 6px; margin: 14px 0 16px;
  padding: 12px 0 14px;
  border-top: 1px solid var(--vellum);
  border-bottom: 1px solid var(--vellum);
}
.nh-demo__dot {
  flex: 1; height: 4px; background: var(--vellum);
  border-radius: 2px;
  transition: background 280ms cubic-bezier(0.2,0.6,0.2,1);
}
.nh-demo__dot.on { background: var(--ink); }
.nh-demo__controls { display: flex; justify-content: space-between; gap: 8px; }


/* ---- Turn 1 calm banner ---- */
.nh-turn1-calm {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 18px; padding: 12px 16px;
  border: 1px dashed var(--vellum); border-left: 2px solid var(--moss);
  background: rgba(63, 91, 59, 0.04);
  border-radius: var(--r-sm);
  max-width: 72ch;
}
.nh-turn1-calm__tag {
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss);
  flex-shrink: 0;
}
.nh-turn1-calm > span:last-child {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.5;
  color: var(--graphite); text-wrap: pretty;
}

/* ---- More tools dropdown ---- */
.nh-moretools { position: relative; display: inline-block; margin: 16px 0 24px; }
.nh-moretools__trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--dossier); color: var(--graphite);
  border: 1px solid var(--vellum);
  border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.02em; cursor: pointer;
  transition: background 160ms cubic-bezier(0.2,0.6,0.2,1), border-color 160ms;
}
.nh-moretools__trigger:hover { border-color: var(--ink); color: var(--ink); }
.nh-moretools__caret { color: var(--slate); font-size: 11px; }
.nh-moretools__menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  width: 360px; max-width: calc(100vw - 48px);
  background: var(--dossier);
  border: 1px solid var(--ink); border-top-width: 2px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lift);
  z-index: 40; padding: 6px;
  animation: nh-tip-in 160ms cubic-bezier(0.2,0.6,0.2,1);
}
.nh-moretools__item {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px;
  background: transparent; border: 0; border-radius: var(--r-sm);
  cursor: pointer; font-family: var(--font-sans);
  border-bottom: 1px solid var(--vellum);
}
.nh-moretools__item:last-of-type { border-bottom: 0; }
.nh-moretools__item:hover:not(:disabled) { background: var(--paper); }
.nh-moretools__item:disabled { opacity: 0.5; cursor: not-allowed; }
.nh-moretools__item .t {
  font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px;
}
.nh-moretools__item .c {
  font-size: 12.5px; color: var(--slate); line-height: 1.4;
}
.nh-moretools__note {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--slate); padding: 8px 12px 4px;
  border-top: 1px dashed var(--vellum); margin-top: 4px;
}


/* ---- Suggest opening move button ---- */
.nh-suggest-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  background: var(--dossier); color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer;
  transition: background 160ms, transform 160ms;
}
.nh-suggest-btn:hover:not(:disabled) { background: var(--paper); }
.nh-suggest-btn:active:not(:disabled) { transform: translateY(1px); }
.nh-suggest-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.nh-suggest-btn__sparkle {
  color: var(--oxblood); font-size: 11px;
  transform: translateY(-0.5px);
}

/* Composer header needs to be a flex row now */
.nh-composer__hd { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ------------ Debrief markdown ------------ */
.debrief-md { font-family: var(--font-sans); color: var(--graphite); font-size: 15px; line-height: 1.65; }
.debrief-md h1, .debrief-md h2, .debrief-md h3 { font-family: var(--font-serif); font-weight: 500;
  color: var(--ink); letter-spacing: -0.01em; margin: 28px 0 12px; text-wrap: balance; }
.debrief-md h1 { font-size: 32px; }
.debrief-md h2 { font-size: 24px; border-bottom: 1px solid var(--vellum); padding-bottom: 6px; }
.debrief-md h3 { font-size: 18px; font-family: var(--font-sans); font-weight: 600; color: var(--ink); }
.debrief-md p { margin: 0 0 14px; max-width: 68ch; }
.debrief-md ul, .debrief-md ol { padding-left: 22px; margin: 0 0 14px; }
.debrief-md li { margin-bottom: 6px; }
.debrief-md code { background: var(--dossier); border: 1px solid var(--vellum); border-radius: 2px;
  padding: 1px 5px; font-family: var(--font-mono); font-size: 12.5px; }
.debrief-md pre { background: var(--dossier); border: 1px solid var(--vellum); border-radius: 2px;
  padding: 14px 16px; overflow-x: auto; font-size: 12.5px; }
.debrief-md pre code { background: none; border: 0; padding: 0; }
.debrief-md blockquote { border-left: 2px solid var(--oxblood); padding: 4px 16px; margin: 0 0 14px;
  color: var(--graphite); font-style: italic; background: var(--dossier); }
.debrief-md table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 13.5px; }
.debrief-md th, .debrief-md td { padding: 8px 10px; border-bottom: 1px solid var(--vellum);
  text-align: left; vertical-align: top; }
.debrief-md th { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--ink); }
.debrief-md hr { border: 0; border-top: 1px dashed var(--vellum); margin: 22px 0; }
.debrief-md strong { color: var(--ink); font-weight: 600; }

/* Setup-agent chat message markdown — tight spacing to match nh-msg body */
.setup-md p { margin: 0 0 10px 0; }
.setup-md p:last-child { margin-bottom: 0; }
.setup-md ol, .setup-md ul { margin: 6px 0 10px 0; padding-left: 20px; }
.setup-md li { margin: 2px 0; }
.setup-md strong { font-weight: 600; color: var(--ink); }
.setup-md em { font-style: italic; }
.setup-md code { font-family: var(--font-mono); font-size: 0.9em;
  background: var(--vellum); padding: 1px 4px; border-radius: 2px; }

/* ─── Scenario orchestrator (full-width pre-play landscape) ────────────── */
.nh-orch { margin: 28px 0; padding: 22px 24px; background: var(--paper);
  border: 1px solid var(--ink); border-radius: 2px; position: relative;
  box-shadow: 0 0 0 8px var(--dossier); }
.nh-orch::before { content:""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 3px; background: var(--oxblood); }
.nh-orch__hd { display: flex; justify-content: space-between; align-items: flex-end;
  gap: 12px; margin-bottom: 4px; }

.nh-orch__idle { display: flex; justify-content: space-between; align-items: center;
  gap: 20px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--vellum); }
.nh-orch__idle p { flex: 1; }

.nh-orch__progress { display: flex; align-items: center; gap: 12px;
  margin: 14px 0 10px; padding: 12px 14px;
  background: var(--dossier); border: 1px dashed var(--vellum); border-radius: 2px; }
.nh-orch__vectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px; margin-top: 8px; }
.nh-orch__vcard { padding: 10px 12px; border: 1px solid var(--vellum); border-radius: 2px;
  background: var(--dossier); transition: border-color 200ms, background 200ms; }
.nh-orch__vcard.done { background: var(--paper); border-color: var(--moss); }
.nh-orch__vhd { display: flex; justify-content: space-between; align-items: baseline; }
.nh-orch__vhd .code { padding: 2px 6px; background: var(--ink); color: var(--paper); }
.nh-orch__vcard.done .nh-orch__vhd .code { background: var(--moss); }
.nh-orch__vlabel { font-size: 12.5px; margin-top: 6px; line-height: 1.35; }

.nh-orch__failed { margin-top: 14px; }

.nh-orch__headline { font-family: var(--font-serif); font-size: 19px; line-height: 1.4;
  margin: 16px 0 18px; color: var(--ink); font-weight: 500;
  padding: 14px 18px; background: var(--dossier); border-left: 3px solid var(--oxblood);
  border-radius: 2px; }

.nh-orch__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px; }
.nh-orch__card { display: flex; flex-direction: column; padding: 14px 16px;
  background: var(--dossier); border: 1px solid var(--vellum); border-radius: 2px;
  position: relative; }
.nh-orch__card::before { content:""; position:absolute; top:-1px; left:-1px; right:-1px;
  height: 2px; background: var(--ink); }
.nh-orch__chd { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.nh-orch__chd .code { padding: 2px 6px; background: var(--ink); color: var(--paper);
  font-size: 10.5px; }
.nh-orch__ctag { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.nh-orch__cdesc { font-size: 12.5px; line-height: 1.5; color: var(--slate); margin: 0 0 10px; }
.nh-orch__cskip { padding: 8px 10px; background: var(--paper); border: 1px dashed var(--oxblood);
  border-radius: 2px; color: var(--oxblood); margin-top: auto; }
.nh-orch__cdeltas { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px;
  padding: 8px 10px; background: var(--paper); border-radius: 2px; }
.nh-orch__cdelta { display: flex; justify-content: space-between; font-size: 11px; }
.nh-orch__cdelta .k { color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; }
.nh-orch__cdelta .v.good { color: var(--moss); font-weight: 600; }
.nh-orch__cdelta .v.bad { color: var(--oxblood); font-weight: 600; }
.nh-orch__cplay { margin: 0 0 10px; padding: 8px 10px; background: var(--paper);
  border-radius: 2px; font-size: 12.5px; line-height: 1.45; }
.nh-orch__cplay .eyebrow { display: block; margin-bottom: 4px; }

.nh-orch__full { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--vellum); }
.nh-orch__full summary { cursor: pointer; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); list-style: none; }
.nh-orch__full summary::-webkit-details-marker { display: none; }
.nh-orch__full summary::before { content: "▸ "; }
.nh-orch__full[open] summary::before { content: "▾ "; }

.nh-orch__ft { margin-top: 16px; padding-top: 10px; border-top: 1px dashed var(--vellum);
  display: flex; justify-content: flex-end; }

/* ============================================================
   LiveProgress (5b) — SSE-driven in-turn UX
   ============================================================ */
.nh-live { background: var(--paper); border: 1px solid var(--ink); border-radius: 2px;
  padding: 24px; margin-bottom: 32px; position: relative;
  box-shadow: 0 0 0 6px var(--dossier), var(--shadow-sheet); }
.nh-live::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px; background: var(--oxblood); }
.nh-live__hd { display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--vellum); }
.nh-live__hd .eyebrow { display: block; }
.nh-live__cost { font-size: 13px; color: var(--ink); white-space: nowrap;
  font-variant-numeric: tabular-nums; }
.nh-live__cost .fg-3 { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }

.nh-live__paused { display: flex; gap: 12px; align-items: baseline;
  background: var(--dossier); border: 1px solid var(--amber); border-radius: 2px;
  padding: 10px 14px; margin-bottom: 16px; }
.nh-live__paused .eyebrow { color: var(--amber); }

.nh-live__err { padding: 10px 14px; background: rgba(122,31,31,0.06);
  border: 1px dashed var(--oxblood); border-radius: 2px; color: var(--oxblood);
  font-size: 12px; margin-bottom: 14px; }

.nh-live__rail { list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; gap: 0; border: 1px solid var(--vellum); border-radius: 2px;
  background: var(--dossier); overflow: hidden; flex-wrap: wrap; }
.nh-live__pill { flex: 1 1 140px; min-width: 120px;
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  border-right: 1px solid var(--vellum); position: relative;
  font-size: 12.5px; color: var(--slate); }
.nh-live__pill:last-child { border-right: 0; }
.nh-live__pill .dot { width: 7px; height: 7px; border-radius: 50%;
  background: var(--vellum); flex: 0 0 auto; }
.nh-live__pill .t { font-weight: 500; }
.nh-live__pill .st { font-size: 11px; margin-left: auto; color: var(--slate); }
.nh-live__pill.running { background: var(--paper); color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--oxblood); }
.nh-live__pill.running .dot { background: var(--oxblood);
  box-shadow: 0 0 0 3px rgba(122,31,31,0.18); animation: nh-live-pulse 1.6s ease-in-out infinite; }
.nh-live__pill.running .st { color: var(--oxblood); }
.nh-live__pill.done { color: var(--graphite); }
.nh-live__pill.done .dot { background: var(--moss); }
.nh-live__pill.done .st { color: var(--moss); }
.nh-live__pill.failed { color: var(--oxblood); }
.nh-live__pill.failed .dot { background: var(--oxblood); }
.nh-live__pill.failed .st { color: var(--oxblood); }
@keyframes nh-live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(122,31,31,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(122,31,31,0.05); }
}

.nh-live__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
@media (max-width: 900px) { .nh-live__grid { grid-template-columns: 1fr; } }
.nh-live__panel { background: var(--dossier); border: 1px solid var(--vellum);
  border-radius: 2px; padding: 16px 18px; min-height: 120px; position: relative; }
.nh-live__panel::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 2px; background: var(--ink); }

.nh-live__delibs { list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0; max-height: 360px; overflow-y: auto; }
.nh-live__delibs li { padding: 10px 0; border-top: 1px dashed var(--vellum);
  animation: nh-fade 240ms cubic-bezier(.2,.6,.2,1); }
.nh-live__delibs li:first-child { border-top: 1px solid var(--ink); }
.nh-live__delibs .who { font-size: 11.5px; color: var(--ink); font-weight: 500;
  letter-spacing: 0; margin-bottom: 4px; }
.nh-live__delibs .ex, .nh-live__delibs .fe { font-size: 13px; line-height: 1.5;
  color: var(--graphite); margin-top: 4px; }
.nh-live__delibs .k { font-size: 10.5px; color: var(--slate); margin-right: 6px;
  letter-spacing: 0.06em; text-transform: uppercase; }
.nh-live__delibs .fe .k { color: var(--oxblood); }

.nh-live__verdicts { list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px; max-height: 360px; overflow-y: auto; }
.nh-live__verdict { padding: 10px 12px; border: 1px solid var(--vellum);
  border-left: 3px solid var(--slate); border-radius: 2px; background: var(--paper);
  animation: nh-fade 240ms cubic-bezier(.2,.6,.2,1); }
.nh-live__verdict .hd { display: flex; justify-content: space-between; align-items: baseline; }
.nh-live__verdict .actor { font-size: 12.5px; color: var(--ink); font-weight: 500; }
.nh-live__verdict .pl { font-size: 11px; color: var(--slate); letter-spacing: 0.04em; }
.nh-live__verdict .oc { font-size: 11px; margin-top: 4px; letter-spacing: 0.04em;
  text-transform: uppercase; }
.nh-live__verdict.outcome-major    { border-left-color: var(--moss); }
.nh-live__verdict.outcome-major    .oc { color: var(--moss); }
.nh-live__verdict.outcome-minor    { border-left-color: var(--ice); }
.nh-live__verdict.outcome-minor    .oc { color: var(--ice); }
.nh-live__verdict.outcome-noeffect { border-left-color: var(--amber); }
.nh-live__verdict.outcome-noeffect .oc { color: var(--amber); }
.nh-live__verdict.outcome-backfire { border-left-color: var(--oxblood); }
.nh-live__verdict.outcome-backfire .oc { color: var(--oxblood); }

/* ============================================================
   Forms (5b) — role overrides, doc upload, constraint manager,
   violations banner. Paper/ink dossier, vellum dashed rules,
   oxblood for blocking states.
   ============================================================ */

/* Per-role overrides (NewGame) */
.nh-role-overrides { background: var(--dossier); border: 1px solid var(--vellum);
  border-radius: 2px; margin-top: 14px; padding: 0; overflow: hidden; }
.nh-role-overrides__hd { width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 14px 18px;
  background: transparent; border: 0; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); }
.nh-role-overrides__hd:hover { background: var(--paper); }
.nh-role-overrides__hd .eyebrow { display: block; margin-bottom: 4px; }
.nh-role-overrides__hd .hd { font-size: 14px; font-weight: 500; }
.nh-role-overrides__body { border-top: 1px solid var(--vellum);
  padding: 14px 18px 16px; }
.nh-role-overrides__rows { display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--ink); }
.nh-role-row { display: grid; grid-template-columns: 1fr auto; gap: 12px;
  align-items: center; padding: 10px 0;
  border-bottom: 1px dashed var(--vellum); }
.nh-role-row:last-child { border-bottom: 0; }
.nh-role-row__name .code { font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); }
.nh-role-row__name .hint { display: block; font-size: 11.5px;
  color: var(--slate); margin-top: 2px; }
.nh-role-row select { font: inherit; padding: 6px 8px; min-width: 220px;
  border: 1px solid var(--vellum); background: var(--paper); }
.nh-role-overrides__ft { margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--vellum);
  display: flex; justify-content: flex-end; }

/* Document upload (SetupCase) */
.nh-doc-upload { background: var(--dossier); border: 1px solid var(--vellum);
  border-radius: 2px; padding: 16px 18px; margin-bottom: 16px; }
.nh-doc-upload__hd { display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.nh-doc-upload__hd .eyebrow { display: block; margin-bottom: 4px; }
.nh-doc-upload__hd .hd { font-size: 14px; color: var(--graphite); line-height: 1.5; }
.nh-doc-drop { border: 2px dashed var(--vellum); border-radius: 2px;
  padding: 28px 16px; text-align: center; cursor: pointer;
  background: var(--paper); transition: all 120ms ease; }
.nh-doc-drop:hover, .nh-doc-drop:focus { border-color: var(--ink);
  outline: none; }
.nh-doc-drop.over { border-color: var(--ink); background: #FFFCF4; }
.nh-doc-drop.disabled { cursor: not-allowed; opacity: 0.55; }
.nh-doc-drop__cta { font-size: 13.5px; color: var(--graphite); }
.nh-doc-drop__cta strong { color: var(--ink); font-weight: 600; }
.nh-doc-upload__err { color: var(--oxblood); font-size: 12.5px;
  margin: 10px 0 0; padding: 8px 10px;
  background: rgba(122,31,31,0.04); border-left: 2px solid var(--oxblood); }
.nh-doc-list { list-style: none; margin: 12px 0 0; padding: 0;
  border-top: 1px solid var(--ink); }
.nh-doc-list li { display: grid; grid-template-columns: 1fr auto auto;
  gap: 12px; align-items: center; padding: 8px 0;
  border-bottom: 1px dashed var(--vellum); }
.nh-doc-list li:last-child { border-bottom: 0; }
.nh-doc-list .nm { font-size: 13px; color: var(--ink); word-break: break-all; }
.nh-doc-list .sz { font-size: 11.5px; }
.nh-doc-list .rm { background: none; border: 0; cursor: pointer;
  font-size: 11px; color: var(--slate); letter-spacing: 0.04em;
  text-transform: uppercase; padding: 2px 4px; }
.nh-doc-list .rm:hover { color: var(--oxblood); }
.nh-doc-list .rm:disabled { opacity: 0.4; cursor: not-allowed; }

/* Hard-constraint manager (GameView) */
.nh-constraints { background: var(--dossier); border: 1px solid var(--vellum);
  border-radius: 2px; margin: 14px 0; overflow: hidden; }
.nh-constraints__hd { width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; padding: 14px 18px;
  background: transparent; border: 0; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); }
.nh-constraints__hd:hover { background: var(--paper); }
.nh-constraints__hd .eyebrow { display: block; margin-bottom: 4px; }
.nh-constraints__hd .hd { font-size: 14px; font-weight: 500; }
.nh-constraints__body { border-top: 1px solid var(--vellum);
  padding: 14px 18px 16px; }
.nh-constraints__err { color: var(--oxblood); font-size: 12.5px;
  margin: 0 0 10px; padding: 8px 10px;
  background: rgba(122,31,31,0.04); border-left: 2px solid var(--oxblood); }
.nh-constraints__addbar { display: flex; justify-content: space-between;
  align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed var(--vellum); }
.nh-constraint-list { list-style: none; margin: 0 0 12px; padding: 0;
  border-top: 1px solid var(--ink); }
.nh-constraint { padding: 10px 0; border-bottom: 1px dashed var(--vellum); }
.nh-constraint:last-child { border-bottom: 0; }
.nh-constraint__row { display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; }
.nh-constraint__desc { flex: 1; min-width: 220px; text-align: left;
  background: none; border: 0; cursor: text; font: inherit;
  font-size: 13.5px; color: var(--ink); padding: 0; line-height: 1.5; }
.nh-constraint__desc:hover { color: var(--oxblood); }
.nh-constraint__rm { background: none; border: 0; cursor: pointer;
  font-size: 11px; color: var(--slate); letter-spacing: 0.04em;
  text-transform: uppercase; padding: 2px 4px; }
.nh-constraint__rm:hover { color: var(--oxblood); }
.nh-constraint__detail { margin-top: 8px; padding: 8px 10px;
  background: var(--paper); border: 1px solid var(--vellum);
  font-size: 12.5px; color: var(--graphite); display: grid; gap: 6px; }
.nh-constraint__detail .eyebrow { margin-right: 6px; }
.nh-constraint-add { margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed var(--vellum); }
.nh-constraint-add__ft { display: flex; justify-content: flex-end;
  gap: 10px; margin-top: 6px; }

/* Severity / source badges */
.nh-badge { display: inline-block; font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 2px 6px; border-radius: 2px;
  border: 1px solid currentColor; line-height: 1.4; white-space: nowrap; }
.nh-badge.sev-hard { color: var(--oxblood); }
.nh-badge.sev-soft { color: var(--amber); }
.nh-badge.src-scenario { color: var(--ink); }
.nh-badge.src-document { color: var(--graphite); }
.nh-badge.src-manual   { color: var(--slate); }

/* Violations banner */
.nh-violations { margin: 12px 0; padding: 12px 14px;
  background: rgba(122,31,31,0.05); border: 1px solid var(--oxblood);
  border-radius: 2px; }
.nh-violations__hd { display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 8px; }
.nh-violations__hd .eyebrow { color: var(--oxblood); }
.nh-violations__rm { background: none; border: 0; cursor: pointer;
  font-size: 11px; color: var(--slate); letter-spacing: 0.04em;
  text-transform: uppercase; padding: 2px 4px; }
.nh-violations__rm:hover { color: var(--oxblood); }
.nh-violations ul { list-style: none; margin: 0; padding: 0; }
.nh-violations li { padding: 6px 0; border-top: 1px dashed var(--oxblood-weak); }
.nh-violations li:first-child { border-top: 1px solid var(--oxblood); }
.nh-violations__cd { font-size: 13px; color: var(--ink); font-weight: 500; }
.nh-violations__rs { font-size: 12.5px; color: var(--graphite);
  margin-top: 2px; line-height: 1.5; }