/* Minification failed. Returning unminified contents.
(11,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(13,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(22,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(23,34): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(37,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(49,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(55,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(62,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(70,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(71,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(77,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(85,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(89,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(98,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(102,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(109,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(110,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(113,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(121,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(122,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(134,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(151,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(157,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(161,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(162,34): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(168,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(177,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(178,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(187,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(198,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(205,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(212,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(213,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(229,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(237,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(238,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(245,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(250,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(267,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(272,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(297,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(306,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(317,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(323,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(330,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(333,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(340,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(359,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(360,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(373,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(380,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(397,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(398,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(408,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(458,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(465,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(484,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(489,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(499,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(517,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(518,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(519,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(523,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(524,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(525,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(529,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-success-soft'
(530,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(531,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-success-soft'
(535,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(547,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(548,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(549,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(563,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(564,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(565,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(569,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(570,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(571,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(576,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(577,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(581,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(582,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(583,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(587,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(602,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(604,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(619,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(620,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(621,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(625,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(626,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(627,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(637,46): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(637,72): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(638,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(657,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(663,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(670,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(676,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(691,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(692,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(694,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(703,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(704,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(705,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(716,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(717,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(718,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(723,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(724,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(738,39): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(770,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(778,45): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(778,70): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(809,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(817,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(831,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(832,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(836,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(837,31): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(838,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(843,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(844,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(873,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar'
(878,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar-hover'
(908,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(909,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(919,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(920,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(927,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(932,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(943,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(950,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(964,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(965,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(974,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(979,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(983,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1000,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1008,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1016,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(1038,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1062,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1066,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1076,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-hover'
(1092,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(1093,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1104,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(1105,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(1115,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1129,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1137,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1143,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1151,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1172,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1185,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(1200,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1201,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1203,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1212,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(1213,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-success-soft'
(1218,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(1234,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1235,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1255,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1266,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1275,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1279,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1285,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1291,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1307,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1316,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1321,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(1327,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1328,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1336,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1337,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(1349,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1354,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1365,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1378,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1405,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1414,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1415,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1419,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(1420,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(1424,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1428,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1432,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1435,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1440,46): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1440,74): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1447,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(1454,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(1459,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1466,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1494,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(1496,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1509,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(1516,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1522,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1527,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1545,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1546,29): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1558,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1559,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1563,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(1564,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-success-soft'
(1580,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1585,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1592,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1602,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1613,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(1629,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1666,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1672,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1679,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1687,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1697,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1705,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1706,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1722,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(1731,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1740,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1741,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1743,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1753,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1762,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1774,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1785,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(1794,29): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(1800,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(1804,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1805,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1809,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1810,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1815,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(1816,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1824,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1828,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1837,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1842,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1850,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1855,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1861,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(1873,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1882,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(1883,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(1888,46): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1888,74): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(1902,46): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(1902,79): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1903,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(1922,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1928,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(1948,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1961,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(1969,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1980,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1984,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1985,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1991,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(2001,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(2002,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(2012,18): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2018,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2029,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2046,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2047,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2048,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(2052,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(2053,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2057,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(2058,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2062,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2088,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(2089,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(2091,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2100,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2108,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2113,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2128,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(2131,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2145,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(2158,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2169,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2192,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(2193,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(2213,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar'
(2218,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar-hover'
(2251,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2254,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2255,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(2305,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(2310,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2320,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2329,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2336,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2342,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(2351,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2353,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(2363,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2364,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(2368,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(2384,58): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(2424,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2428,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(2446,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2476,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2483,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2506,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2507,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(2520,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(2524,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2528,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning'
(2537,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(2541,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2545,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning'
(2550,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2558,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2576,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2577,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(2590,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2597,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(2601,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2605,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(2610,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(2739,29): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2748,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2752,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2753,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(2804,60): run-time error CSS1030: Expected identifier, found '.'
(2804,81): run-time error CSS1031: Expected selector, found ')'
(2804,81): run-time error CSS1025: Expected comma or open brace, found ')'
(2829,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2836,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2842,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2855,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2909,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar'
(2914,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar-hover'
(3033,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(3046,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(3047,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(3058,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3066,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3067,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3085,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3093,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3100,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3108,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(3109,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3122,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3124,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3137,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3167,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(3168,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3172,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(3173,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3178,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(3179,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3180,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3184,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(3185,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3226,46): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(3226,71): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(3227,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3231,31): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3248,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3251,38): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3259,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3260,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3273,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(3274,38): run-time error CSS1039: Token not allowed after unary operator: '-ai-success-soft'
(3304,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3312,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3337,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(3360,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3368,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3387,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(3397,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(3409,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3410,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3438,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(3440,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(3448,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(3463,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3469,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(3473,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3481,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(3489,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(3490,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(3496,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
 */
/* AI Chat Workspace Styles - Extracted from AiChatWorkspace.cshtml */

/* ==========================================
   AI VAULT - POSODOBLJENI STILI
   ========================================== */

/* AI Vault - Legal Document Management System */
.ai-vault-workspace-container {
    display: flex;
    height: 100vh;
    color: var(--ai-text-muted);
    overflow: hidden;
    background: var(--ai-bg-page);
}

/* ==========================================
   SIDEBAR STILI
   ========================================== */

.ai-vault-workspace-sidebar {
    width: 320px;
    background: var(--ai-bg-page);
    border-right: 1px solid var(--ai-border-strong);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.ai-vault-workspace-sidebar.ai-vault-collapsed {
    width: 60px;
}

.ai-vault-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--ai-border-strong);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    box-sizing: border-box;
}

.ai-vault-sidebar-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ai-text-strong);
    font-size: 18px;
    font-weight: 600;
}

.ai-vault-sidebar-title i {
    color: var(--ai-accent-strong);
    font-size: 20px;
}

.ai-vault-sidebar-toggle {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ai-vault-sidebar-toggle:hover {
    color: var(--ai-accent-strong);
    background: var(--ai-accent-soft);
}

/* Workspace Actions */
.ai-vault-workspace-search {
    padding: 20px;
    border-bottom: 1px solid var(--ai-border-strong);
}

.ai-vault-action-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ai-text-strong);
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    background: var(--ai-bg-surface);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.ai-vault-action-button.active {
    background: var(--ai-accent);
}

.ai-vault-action-button:hover {
    background: var(--ai-accent-fill-hover);
    transform: translateY(-1px);
}

/* Search Bar */
.ai-vault-search-input {
    width: 100%;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 6px;
    padding: 12px 16px 12px 40px;
    color: var(--ai-text-strong);
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.ai-vault-search-input:focus {
    outline: none;
    border-color: var(--ai-accent-strong);
    box-shadow: 0 0 0 2px var(--ai-accent-soft-strong);
}

.ai-vault-search-container {
    position: relative;
}

.ai-vault-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ai-text-muted);
    pointer-events: none;
}

/* Workspace List */
.ai-vault-workspace-list {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.ai-vault-workspace-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid var(--ai-border-strong);
    position: relative;
    gap: 12px;
}

.ai-vault-workspace-item:hover {
    background: var(--ai-bg-surface);
}

.ai-vault-workspace-item.ai-vault-active {
    background: var(--ai-accent-soft);
    border-right: 3px solid var(--ai-accent-strong);
}

.ai-vault-workspace-icon {
    width: 40px;
    height: 40px;
    background: var(--ai-bg-surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-vault-workspace-item.ai-vault-active .ai-vault-workspace-icon {
    background: var(--ai-accent);
    color: var(--ai-text-strong);
}

.ai-vault-workspace-info {
    flex: 1;
    min-width: 0;
}

.ai-vault-workspace-name {
    color: var(--ai-text-strong);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-vault-workspace-meta {
    font-size: 12px;
    color: var(--ai-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-vault-item-count {
    background: var(--ai-bg-elevated);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
}

.ai-vault-workspace-item.ai-vault-active .ai-vault-item-count {
    background: var(--ai-accent-soft-strong);
    color: var(--ai-accent-strong);
}

/* **WORKSPACE ACTIONS** */
.ai-vault-workspace-actions {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ai-vault-workspace-item:hover .ai-vault-workspace-actions {
    opacity: 1;
}

.ai-vault-workspace-action {
    background: none;
    border: none;
    color: var(--ai-danger);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ai-vault-workspace-action:hover {
    background: var(--ai-danger-soft);
    color: var(--ai-danger);
}

/* **EMPTY WORKSPACES** */
.ai-vault-empty-workspaces {
    text-align: center;
    padding: 40px 20px;
    color: var(--ai-text-muted);
}

.ai-vault-empty-icon {
    font-size: 36px;
    color: var(--ai-text-soft);
    margin-bottom: 16px;
}

.ai-vault-empty-workspaces p {
    margin: 0 0 20px 0;
    font-size: 14px;
}

.ai-vault-btn-sm {
    padding: 8px 16px !important;
    font-size: 12px !important;
}

/* Sidebar Footer */
.ai-vault-sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--ai-border-strong);
    margin-top: auto;
}

.ai-vault-sidebar-stats {
    color: var(--ai-text-muted);
    font-size: 12px;
    text-align: center;
}

/* ==========================================
   WELCOME SCREEN
   ========================================== */

/* ==========================================
   WELCOME SCREEN - Unified with Court Research
   ========================================== */

.ai-vault-welcome-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.ai-vault-welcome-content {
    text-align: center;
    padding: 60px 40px;
    color: var(--ai-text-strong);
    max-width: 900px;
}

.ai-vault-welcome-header {
    margin-bottom: 50px;
}

.ai-vault-welcome-icon {
    color: var(--ai-accent-strong);
    margin-bottom: 20px;
}

.ai-vault-welcome-icon svg {
    width: 48px;
    height: 48px;
}

.ai-vault-welcome-screen h2 {
    margin: 0 0 15px 0;
    color: var(--ai-text-strong);
    font-size: 28px;
    font-weight: 600;
}

.ai-vault-welcome-screen > .ai-vault-welcome-content > p {
    color: var(--ai-text-muted);
    margin: 0 0 32px 0;
    font-size: 16px;
    line-height: 1.6;
}

.ai-vault-welcome-info-box {
    background: var(--ai-bg-elevated);
    border-radius: 12px;
    padding: 30px 35px;
    border: 1px solid var(--ai-border-strong);
    text-align: left;
    max-width: 700px;
    margin: 0 auto 32px auto;
}

.ai-vault-welcome-info-box h3 {
    color: var(--ai-accent-strong);
    margin: 0 0 25px 0;
    font-size: 18px;
    font-weight: 600;
}

.ai-vault-welcome-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-vault-welcome-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.ai-vault-welcome-step-number {
    background: var(--ai-accent);
    color: var(--ai-text-strong);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 16px;
}

.ai-vault-welcome-step strong {
    color: var(--ai-text-strong);
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

.ai-vault-welcome-step p {
    color: var(--ai-text-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.ai-vault-welcome-actions {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.ai-vault-btn-large {
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    background: var(--ai-accent) !important;
    color: var(--ai-text-strong) !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ai-vault-btn-large:hover {
    background: var(--ai-accent-strong) !important;
}

/* Responsive for smaller screens */
@media (max-height: 1000px) {
    .ai-vault-welcome-content {
        padding: 30px 30px;
    }

    .ai-vault-welcome-header {
        margin-bottom: 25px;
    }

    .ai-vault-welcome-screen h2 {
        font-size: 24px;
    }

    .ai-vault-welcome-info-box {
        padding: 20px 25px;
    }

    .ai-vault-welcome-steps {
        gap: 12px;
    }

    .ai-vault-welcome-step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .ai-vault-welcome-step strong {
        font-size: 14px;
    }

    .ai-vault-welcome-step p {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.ai-vault-workspace-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--ai-bg-page);
}


/* Main Header */
.ai-vault-main-header {
    padding: 24px;
    border-bottom: 1px solid var(--ai-border-strong);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    box-sizing: border-box;
}

.ai-vault-header-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

.ai-vault-current-workspace-icon {
    width: 48px;
    height: 48px;
    background: var(--ai-accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-accent-strong);
    font-size: 20px;
    flex-shrink: 0;
}

.ai-vault-current-workspace-details {
    min-width: 0;
}

.ai-vault-current-workspace-details h1 {
    color: var(--ai-text-strong);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.ai-vault-sharing-chip {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.3px;
    vertical-align: middle;
    margin-bottom: 4px;
}

.ai-vault-sharing-chip--private {
    background: var(--ai-tint-hairline);
    color: var(--ai-text-muted);
    border: 1px solid var(--ai-tint-hairline);
}

.ai-vault-sharing-chip--shared-by-me {
    background: var(--ai-accent-soft-strong);
    color: var(--ai-accent-strong);
    border: 1px solid var(--ai-accent-soft-strong);
}

.ai-vault-sharing-chip--shared-with-me {
    background: var(--ai-success-soft);
    color: var(--ai-success);
    border: 1px solid var(--ai-success-soft);
}

.ai-vault-current-workspace-details p {
    color: var(--ai-text-muted);
    font-size: 14px;
    margin: 0;
}

.ai-vault-header-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.ai-vault-header-btn {
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    color: var(--ai-text-muted);
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ai-vault-header-btn:hover {
    background: var(--ai-bg-elevated);
    color: var(--ai-text-strong);
    border-color: var(--ai-border-strong);
}

.ai-vault-header-btn.ai-vault-primary {
    background: var(--ai-accent);
    border-color: var(--ai-accent);
    color: var(--ai-text-strong);
    font-weight: bold;
}

.ai-vault-header-btn.ai-vault-primary:hover {
    background: var(--ai-accent-fill-hover);
    border-color: var(--ai-accent-fill-hover);
}

.ai-vault-header-btn-danger {
    background: var(--ai-danger-soft) !important;
    color: var(--ai-danger) !important;
    border-color: var(--ai-danger-soft) !important;
}

.ai-vault-header-btn-danger:hover {
    background: var(--ai-danger-soft) !important;
}

/* Button Groups */
.ai-vault-btn-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Icon-only buttons for header (Edit, Delete) */
.ai-vault-header-btn-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--ai-border-strong);
    border-radius: 6px;
    color: var(--ai-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.ai-vault-header-btn-icon svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.ai-vault-header-btn-icon:hover {
    background: var(--ai-bg-hover);
    border-color: var(--ai-border-strong);
    color: var(--ai-text-muted);
}

.ai-vault-header-btn-icon-danger:hover {
    background: var(--ai-danger-soft);
    border-color: var(--ai-danger-soft);
    color: var(--ai-danger);
}

/* ==========================================
   COMMAND CENTER - Stats + AI Actions
   ========================================== */
.ai-vault-command-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--ai-accent-soft) 0%, var(--ai-accent-soft) 100%);
    border: 1px solid var(--ai-accent-soft-strong);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}

/* Stats section */
.ai-vault-cc-stats {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}

.ai-vault-cc-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ai-text-muted);
}

.ai-vault-cc-stat svg {
    width: 22px;
    height: 22px;
    color: var(--ai-accent-strong);
    opacity: 0.7;
}

.ai-vault-cc-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--ai-text-strong);
    min-width: 24px;
}

.ai-vault-cc-stat-label {
    font-size: 13px;
    color: var(--ai-text-muted);
}

/* AI Actions section */
.ai-vault-cc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ai-vault-cc-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    color: var(--ai-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.ai-vault-cc-btn:hover {
    background: var(--ai-bg-elevated);
    border-color: var(--ai-border-strong);
    color: var(--ai-text-strong);
    transform: translateY(-1px);
}

.ai-vault-cc-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.ai-vault-cc-btn-primary {
    background: var(--ai-accent);
    border-color: var(--ai-accent);
    color: var(--ai-text-strong);
    font-weight: 600;
}

.ai-vault-cc-btn-primary:hover {
    background: var(--ai-accent-fill-hover);
    border-color: var(--ai-accent-fill-hover);
}

/* Responsive: Stack on smaller screens */
@media (max-width: 768px) {
    .ai-vault-command-center {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .ai-vault-cc-stats {
        justify-content: center;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--ai-border-subtle);
    }

    .ai-vault-cc-actions {
        justify-content: center;
    }

    .ai-vault-cc-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
}

/* When sidebar is expanded (narrower content area) */
@media (max-width: 900px) {
    .ai-vault-cc-btn span {
        display: none;
    }

    .ai-vault-cc-btn {
        padding: 10px 12px;
    }

    .ai-vault-cc-stat-label {
        display: none;
    }
}

/* **PROGRESS BAR** */
.ai-vault-progress-bar {
    height: 4px;
    background: var(--ai-bg-hover);
    overflow: hidden;
    border-radius: 2px;
    margin: 0 24px 24px 24px;
}

.ai-vault-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ai-accent-strong), var(--ai-success));
    width: 0%;
    transition: width 0.3s ease;
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

/* Workspace Content */
.ai-vault-workspace-content {
    display: none;
    height: 100%;
    flex-direction: column;
    min-height: 0; /* Allow flex children to scroll */
}

.ai-vault-workspace-content.ai-vault-active {
    display: flex;
}

/* Content Tabs */
.ai-vault-content-tabs {
    display: flex;
    border-bottom: 1px solid var(--ai-border-strong);
    padding: 0 30px;
    overflow-x: auto;
}

.ai-vault-tab-button {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    padding: 16px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-vault-tab-button:hover {
    color: var(--ai-accent-strong);
    background: var(--ai-accent-soft);
}

.ai-vault-tab-button.ai-vault-active {
    color: var(--ai-accent-strong);
    border-bottom-color: var(--ai-accent-strong);
    background: var(--ai-accent-soft);
}

/* **TAB COUNTS** */
.ai-vault-tab-count {
    background: var(--ai-accent);
    color: var(--ai-text-strong);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 8px;
    font-weight: 500;
    min-width: 18px;
    text-align: center;
}

/* Tab Content */
.ai-vault-tab-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto; /* Enable vertical scrolling */
    min-height: 0; /* Critical for flex child scrolling */
    scroll-behavior: smooth; /* Smooth scrolling */
}

/* Custom scrollbar styling */
.ai-vault-tab-content::-webkit-scrollbar {
    width: 4px;
}

.ai-vault-tab-content::-webkit-scrollbar-track {
    background: transparent;
}

.ai-vault-tab-content::-webkit-scrollbar-thumb {
    background: var(--ai-scrollbar);
    border-radius: 2px;
}

.ai-vault-tab-content::-webkit-scrollbar-thumb:hover {
    background: var(--ai-scrollbar-hover);
}

.ai-vault-tab-pane {
    display: none;
    height: 100%; /* Fill parent container */
}

.ai-vault-tab-pane.ai-vault-active {
    display: block;
}

.ai-main-action-btn.ai-vault-disabled {
    opacity: 0.4 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/* ==========================================
   STATISTICS CARDS
   ========================================== */

.ai-vault-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ai-vault-stat-card {
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.ai-vault-stat-card:hover {
    border-color: var(--ai-accent-strong);
    box-shadow: 0 4px 12px var(--ai-accent-soft);
    transform: translateY(-2px);
}

.ai-vault-stat-icon {
    width: 48px;
    height: 48px;
    background: var(--ai-accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-accent-strong);
    font-size: 20px;
}

.ai-vault-stat-content {
    flex: 1;
}

.ai-vault-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--ai-text-strong);
    line-height: 1;
    margin-bottom: 4px;
}

.ai-vault-stat-label {
    font-size: 14px;
    color: var(--ai-text-muted);
    font-weight: 500;
}

/* ==========================================
   OVERVIEW SECTION
   ========================================== */

/* Compact Summary Card */
.ai-vault-overview-summary {
    margin-bottom: 24px;
}

.ai-vault-summary-card {
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-tint-lift-strong);
    border-radius: 12px;
    padding: 20px 24px;
}

.ai-vault-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ai-text-strong);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
}

.ai-vault-summary-header i {
    color: var(--ai-accent-strong);
    font-size: 18px;
}

.ai-vault-summary-stats {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
    gap: 20px;
}

.ai-vault-summary-stat {
    text-align: center;
    flex: 1;
}

.ai-vault-summary-stat-number {
    color: var(--ai-text-strong);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.ai-vault-summary-stat-label {
    color: var(--ai-text-muted);
    font-size: 13px;
    font-weight: 500;
}

.ai-vault-summary-divider {
    width: 1px;
    height: 40px;
    background: var(--ai-tint-lift-strong);
}

/* Two Column Grid */
.ai-vault-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 1200px) {
    .ai-vault-overview-grid {
        grid-template-columns: 1fr;
    }
}

.ai-vault-overview-section {
    min-height: 200px;
}

.ai-vault-overview-section h3 {
    color: var(--ai-text-strong);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    align-items: center;
    gap: 8px;
}

/* Section header with "View all" link */
.ai-vault-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ai-vault-section-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-vault-section-header h3 i {
    color: var(--ai-accent-strong);
}

.ai-vault-view-all-link {
    color: var(--ai-accent-strong);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.ai-vault-view-all-link:hover {
    color: var(--ai-accent-hover);
    gap: 8px;
}

.ai-vault-view-all-link i {
    font-size: 12px;
}

/* Recent sessions compact list */
.ai-vault-recent-sessions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-vault-recent-session-item {
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-border-subtle);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-vault-recent-session-item:hover {
    background: var(--ai-tint-lift);
    border-color: var(--ai-accent-soft-strong);
    transform: translateX(4px);
}

.ai-vault-recent-session-content {
    flex: 1;
    min-width: 0;
}

.ai-vault-recent-session-title {
    color: var(--ai-text-strong);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-vault-recent-session-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ai-text-muted);
}

.ai-vault-recent-session-meta i {
    font-size: 10px;
}

.ai-vault-recent-session-arrow {
    color: var(--ai-text-soft);
    font-size: 16px;
    transition: all 0.2s;
}

.ai-vault-recent-session-item:hover .ai-vault-recent-session-arrow {
    color: var(--ai-accent-strong);
    transform: translateX(4px);
}

/* Empty state for recent sessions */
.ai-vault-recent-sessions-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--ai-text-muted);
}

.ai-vault-recent-sessions-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.ai-vault-recent-sessions-empty p {
    margin: 0;
    font-size: 14px;
}


/* **QUICK ACTIONS** */
.ai-vault-quick-actions {
    margin-top: 32px;
}

.ai-vault-quick-actions h3 {
    color: var(--ai-text-strong);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-vault-quick-actions h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--ai-success);
    border-radius: 2px;
}

.ai-vault-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.ai-vault-quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    color: var(--ai-text-strong);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
}

.ai-vault-quick-action:hover {
    border-color: var(--ai-success);
    background: var(--ai-success-soft);
    transform: translateY(-1px);
}

.ai-vault-quick-action i {
    color: var(--ai-success);
    font-size: 18px;
}

/* ==========================================
   ITEMS GRID
   ========================================== */

.ai-vault-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.ai-vault-item-card {
    background-color: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-subtle);
    border-radius: 6px;
    padding: 8px 10px;
    transition: all 0.2s ease;
    position: relative;
}

.ai-vault-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.ai-vault-item-info {
    flex: 1;
    min-width: 0;
}

.ai-vault-item-title {
    color: var(--ai-text-strong);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.ai-vault-item-title:hover {
    color: var(--ai-accent-strong);
}

/* Non-openable items (entity types, taxonomies, groups) - no click interaction */
.ai-vault-item-filter .ai-vault-item-title {
    cursor: default;
}

.ai-vault-item-filter .ai-vault-item-title:hover {
    color: var(--ai-text-strong);
}

.ai-vault-item-title i {
    color: var(--ai-accent-strong);
    font-size: 16px;
    flex-shrink: 0;
}

.ai-vault-item-type {
    color: var(--ai-text-muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.ai-vault-item-date {
    color: var(--ai-text-soft);
    font-size: 11px;
}

.ai-vault-item-actions {
    display: flex;
    gap: 4px;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s ease;
}


.ai-vault-item-action {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.ai-vault-item-action:hover {
    color: var(--ai-accent-strong);
    opacity: 1;
}

.ai-vault-remove-action:hover {
    color: var(--ai-danger) !important;
    opacity: 1;
}

/* **SESSION CARDS** */
.ai-vault-session-card {
    background-color: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-subtle);
    border-radius: 6px;
    padding: 16px;
    transition: all 0.2s ease;
    position: relative;
}

.ai-vault-session-card:hover {
    border-color: var(--ai-accent-strong);
    background-color: var(--ai-bg-elevated);
}

.ai-vault-session-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.ai-vault-session-icon {
    width: 40px;
    height: 40px;
    background: var(--ai-accent-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-accent-strong);
    font-size: 18px;
    flex-shrink: 0;
}

.ai-vault-session-info {
    flex: 1;
    min-width: 0;
}

.ai-vault-session-title {
    color: var(--ai-text-strong);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-vault-session-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--ai-text-muted);
}

.ai-vault-session-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-vault-session-meta span i {
    font-size: 11px;
}

.ai-vault-session-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ai-vault-session-card:hover .ai-vault-session-actions {
    opacity: 1;
}

.ai-vault-session-action {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.ai-vault-session-action:hover {
    color: var(--ai-accent-strong);
    background: var(--ai-accent-soft);
}

.ai-vault-session-action[data-action="delete-session"]:hover {
    color: var(--ai-danger);
    background: var(--ai-danger-soft);
}

.ai-vault-session-preview {
    color: var(--ai-text-muted);
    font-size: 13px;
    line-height: 1.5;
    padding: 8px 0;
    border-top: 1px solid var(--ai-border-strong);
}

.ai-vault-session-footer {
    color: var(--ai-text-soft);
    font-size: 11px;
    padding-top: 8px;
    border-top: 1px solid var(--ai-border-strong);
}

/* **WORKSPACE CONTEXT BADGE** */
.workspace-context-badge {
    background: linear-gradient(135deg, var(--ai-accent-strong) 0%, var(--ai-accent-strong) 100%);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px var(--ai-accent-soft-strong);
    animation: slideInFromTop 0.3s ease-out;
}

.workspace-badge-icon {
    width: 32px;
    height: 32px;
    background: var(--ai-tint-hairline);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-text-strong);
    font-size: 16px;
    flex-shrink: 0;
}

.workspace-badge-content {
    flex: 1;
    color: var(--ai-text-strong);
    min-width: 0;
}

.workspace-badge-label {
    font-size: 11px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.workspace-badge-name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workspace-badge-meta {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

.workspace-badge-close {
    background: var(--ai-tint-hairline);
    border: none;
    color: var(--ai-text-strong);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.workspace-badge-close:hover {
    background: var(--ai-tint-hairline);
}

/* **EMPTY STATES** */
.ai-vault-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--ai-text-muted);
    grid-column: 1 / -1;
}

.ai-vault-empty-state .ai-vault-empty-icon {
    font-size: 48px;
    color: var(--ai-text-soft);
    margin-bottom: 16px;
}

.ai-vault-empty-state h3 {
    color: var(--ai-text-strong);
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
}

.ai-vault-empty-state p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* ==========================================
   UPLOAD ZONE
   ========================================== */

.ai-vault-upload-zone {
    position: relative;
    background: var(--ai-bg-surface);
    border: 2px dashed var(--ai-border-strong);
    border-radius: 12px;
    padding: 0px 20px 20px 20px;
    text-align: center;
    margin-bottom: 24px;
    margin-top: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.ai-vault-upload-zone:hover {
    border-color: var(--ai-accent-strong);
    background: var(--ai-accent-soft);
}

.ai-vault-upload-zone.drag-over {
    border-color: var(--ai-success);
    background: var(--ai-success-soft);
    transform: scale(1.02);
}

.ai-vault-upload-content {
    position: relative;
    display: flex;
    z-index: 2;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.ai-vault-upload-icon {
    font-size: 48px;
    color: var(--ai-accent-strong);
    margin-bottom: 16px;
}

.ai-vault-upload-zone h3 {
    color: var(--ai-text-strong);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ai-vault-upload-zone p {
    color: var(--ai-text-muted);
    margin-bottom: 20px;
    font-size: 14px;
}

.ai-vault-upload-btn {
    margin-bottom: 16px;
}

.ai-vault-upload-info {
    color: var(--ai-text-soft);
    font-size: 12px;
}

/* **DRAG OVERLAY** */
.ai-vault-drag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ai-success);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.ai-vault-upload-zone.drag-over .ai-vault-drag-overlay {
    opacity: 1;
}

.ai-vault-drag-content {
    text-align: center;
    color: var(--ai-text-strong);
}

.ai-vault-drag-content i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.ai-vault-drag-content p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* ==========================================
   MODAL STYLES
   ========================================== */

.ai-vault-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.ai-vault-modal-overlay.ai-vault-active {
    display: flex;
}

.ai-vault-modal {
    background: var(--ai-bg-surface);
    border-radius: 8px;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid var(--ai-border-strong);
    display: flex;
    flex-direction: column;
}

.ai-vault-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--ai-border-strong);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ai-vault-modal-title {
    color: var(--ai-text-strong);
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    margin: 0;
}

.ai-vault-modal-close {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.ai-vault-modal-close:hover {
    background: var(--ai-bg-surface);
    color: var(--ai-text-strong);
}

.ai-vault-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.ai-vault-form-group {
    margin-bottom: 20px;
}

.ai-vault-form-label {
    display: block;
    color: var(--ai-text-body);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.ai-vault-form-hint {
    display: block;
    font-size: 12px;
    color: var(--ai-text-muted);
    font-weight: normal;
    margin-top: 4px;
}

.ai-vault-form-input,
.ai-vault-form-textarea {
    width: 100%;
    padding: 12px;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 6px;
    color: var(--ai-text-strong);
    font-size: 14px;
    transition: border-color 0.2s ease;
    resize: vertical;
    box-sizing: border-box;
}

.ai-vault-form-input:focus,
.ai-vault-form-textarea:focus {
    outline: none;
    border-color: var(--ai-accent-strong);
}

.ai-vault-form-textarea {
    min-height: 80px;
}

.ai-vault-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--ai-border-strong);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Modal Form Divider */
.ai-vault-form-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--ai-text-soft);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-vault-form-divider::before,
.ai-vault-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ai-tint-lift-strong);
}

.ai-vault-form-divider span {
    padding: 0 16px;
}

/* Modal Upload Zone */
.ai-vault-modal-upload-zone {
    border: 2px dashed var(--ai-tint-hairline);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--ai-tint-lift);
}

.ai-vault-modal-upload-zone:hover {
    border-color: var(--ai-accent-strong);
    background: var(--ai-accent-soft);
}

.ai-vault-modal-upload-zone.drag-over {
    border-color: var(--ai-accent-strong);
    background: var(--ai-accent-soft);
}

.ai-vault-modal-upload-zone.has-file {
    border-style: solid;
    border-color: var(--ai-accent);
    background: var(--ai-accent-soft);
}

.ai-vault-modal-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--ai-text-muted);
}

.ai-vault-modal-upload-content svg {
    color: var(--ai-accent-strong);
    opacity: 0.7;
}

.ai-vault-modal-upload-text {
    font-size: 14px;
}

.ai-vault-modal-upload-text strong {
    color: var(--ai-accent-strong);
}

.ai-vault-modal-upload-hint {
    font-size: 12px;
    color: var(--ai-text-soft);
}

.ai-vault-modal-upload-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--ai-accent-soft);
    border-radius: 6px;
}

.ai-vault-modal-upload-selected svg {
    color: var(--ai-accent-strong);
    flex-shrink: 0;
}

.ai-vault-modal-upload-filename {
    flex: 1;
    color: var(--ai-text-body);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-vault-modal-upload-remove {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--ai-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.ai-vault-modal-upload-remove:hover {
    background: var(--ai-tint-lift-strong);
    color: var(--ai-danger);
}

/* Submit button with AI state */
#aiVaultSubmitBtn.ai-mode {
    background: linear-gradient(135deg, var(--ai-accent-strong) 0%, var(--ai-accent) 100%);
}

#aiVaultSubmitBtn.ai-mode .fa-save {
    display: none;
}


/* AI Info Box - shown when file is uploaded */
.ai-vault-modal-ai-info {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--ai-accent-soft-strong) 0%, var(--ai-accent-soft) 100%);
    border: 1px solid var(--ai-accent-soft-strong);
    border-radius: 8px;
    animation: aiInfoSlideIn 0.25s ease-out;
}

@keyframes aiInfoSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-vault-modal-ai-info-text {
    flex: 1;
    font-size: 13px;
    color: var(--ai-text-muted);
    line-height: 1.5;
}

.ai-vault-modal-ai-info-text strong {
    display: block;
    color: var(--ai-text-body);
    margin-bottom: 6px;
    font-size: 14px;
}

.ai-vault-modal-ai-info-text ul {
    margin: 0;
    padding-left: 18px;
    list-style-type: none;
}

.ai-vault-modal-ai-info-text ul li {
    position: relative;
    margin-bottom: 4px;
}

.ai-vault-modal-ai-info-text ul li::before {
    content: '✓';
    position: absolute;
    left: -18px;
    color: var(--ai-accent-strong);
    font-size: 12px;
}

/* AI mode - dim the manual input fields */
.ai-vault-modal.ai-mode-active .ai-vault-form-group:first-child,
.ai-vault-modal.ai-mode-active .ai-vault-form-group:nth-child(2) {
    opacity: 0.5;
    pointer-events: none;
}

.ai-vault-modal.ai-mode-active .ai-vault-form-group:first-child .ai-vault-form-input,
.ai-vault-modal.ai-mode-active .ai-vault-form-group:nth-child(2) .ai-vault-form-textarea {
    background: var(--ai-tint-lift);
}

/* Bulk Analysis Modal Document List */
.bulk-doc-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ai-border-subtle);
    cursor: pointer;
    transition: all 0.15s ease;
    gap: 12px;
}

.bulk-doc-item:last-child {
    border-bottom: none;
}

.bulk-doc-item:hover {
    background: var(--ai-bg-surface);
}

.bulk-doc-item.selected {
    background: var(--ai-accent-soft);
    border-left: 3px solid var(--ai-accent-strong);
}

.bulk-doc-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid var(--ai-border-strong);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.bulk-doc-item.selected .bulk-doc-checkbox {
    background: var(--ai-accent);
    border-color: var(--ai-accent);
}

.bulk-doc-item.selected .bulk-doc-checkbox svg {
    opacity: 1;
}

.bulk-doc-checkbox svg {
    width: 12px;
    height: 12px;
    stroke: var(--ai-text-strong);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.bulk-doc-name {
    color: var(--ai-text-body);
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-doc-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--ai-text-muted);
}

.ai-vault-btn {
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-vault-btn-secondary {
    background: var(--ai-bg-surface);
    color: var(--ai-text-muted);
    border: 1px solid var(--ai-border-strong);
}

.ai-vault-btn-secondary:hover {
    background: var(--ai-bg-elevated);
    color: var(--ai-text-strong);
}

.ai-vault-btn-primary {
    background: var(--ai-accent);
    color: var(--ai-text-strong);
}

.ai-vault-btn-primary:hover {
    background: var(--ai-accent-strong);
}

/* Hidden file input */
.ai-vault-file-input {
    display: none;
}

.ai-tab-search-input-container {
    width: 100%;
    max-width: 100%;
    display: flex;
}

/* ==========================================
   TAB SEARCH STYLES
   ========================================== */
.ai-tab-search-wrapper {
    position: relative !important;
    z-index: 100 !important;
    width: 100%;
}

.ai-tab-search-input {
    width: 100%;
    margin: 0 auto;
    background-color: var(--ai-bg-elevated);
    border: 1px solid var(--ai-border-subtle);
    border-radius: 6px;
    color: var(--ai-text-strong);
    font-size: 16px;
    padding: 12px 16px 12px 48px;
    transition: all 0.3s ease;
    outline: none;
}

.ai-tab-search-input:focus {
    outline: none;
    border-color: var(--ai-accent-strong);
}

.ai-tab-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ai-text-muted);
    z-index: 2;
}

.ai-tab-search-input:focus + .ai-tab-search-icon {
    color: var(--ai-accent-strong);
}

/* Main Actions Container */
.ai-tab-main-actions {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    margin-top: 24px;
    width: 100%;
}

/* Main Action Buttons */
.ai-main-action-btn {
    border: 1px solid var(--ai-border-subtle);
    border-radius: 6px;
    background-color: transparent;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 10px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.ai-main-action-btn:hover {
    background-color: var(--ai-bg-soft);
}


.ai-main-action-btn span {
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.ai-main-action-btn small {
    font-size: 13px;
    color: var(--ai-text-muted);
    display: block;
    opacity: 0.8;
}


.ai-tab-search-input-container .ai-tab-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ai-text-muted);
    z-index: 2;
}

.ai-search-back-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    display: flex;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
}


/* Search Results */
.ai-tab-search-results {
    position: relative !important;
    top: auto !important;
    margin-top: 8px !important;
    left: 0 !important;
    right: 0 !important;
    background-color: var(--ai-bg-page);
    border: 1px solid var(--ai-border-subtle);
    border-radius: 6px !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    z-index: 9999 !important;
    min-width: 300px !important;
    width: auto !important;
    animation: searchResultsSlideIn 0.2s ease-out !important;
    transform-origin: top !important;
}

.ai-tab-search-results::-webkit-scrollbar {
    width: 4px;
}

.ai-tab-search-results::-webkit-scrollbar-track {
    background: transparent;
}

.ai-tab-search-results::-webkit-scrollbar-thumb {
    background: var(--ai-scrollbar);
    border-radius: 2px;
}

.ai-tab-search-results::-webkit-scrollbar-thumb:hover {
    background: var(--ai-scrollbar-hover);
}

@keyframes searchResultsSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.8);
        max-height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        max-height: 400px;
    }
}

.ai-tab-search-results[style*="display: block"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ai-tab-search-results.force-visible {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}


.ai-search-result-item {
    padding: 4px;
    border-bottom: 1px solid var(--ai-tint-lift);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-subtle);
    min-height: 60px;
    display: flex;
    align-items: center;
    animation: searchItemFadeIn 0.1s ease-out;
}

@keyframes searchItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*
.ai-search-result-item:hover:not(.ai-search-result-disabled) {
    background: var(--ai-accent-soft-strong) !important;
    border-color: var(--ai-accent-strong) !important;
}

.ai-search-result-disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    background: var(--ai-success-soft) !important;
    pointer-events: none !important;
}*/

/*   .ai-search-result-disabled:hover {
        background: var(--ai-success-soft) !important;
        border-color: transparent !important;
    }*/

.ai-search-result-item:last-child {
    border-bottom: none;
}

.ai-search-result-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-search-result-icon {
    width: 32px;
    height: 32px;
    background: var(--ai-accent-soft);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-accent-strong);
    flex-shrink: 0;
}

.ai-search-result-info {
    flex: 1;
    min-width: 0;
}

.ai-search-result-name {
    color: var(--ai-text-strong);
    font-weight: 500;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-search-result-type {
    color: var(--ai-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-search-result-action {
    color: var(--ai-accent-strong);
    font-size: 16px;
    flex-shrink: 0;
}

.ai-search-result-disabled .ai-search-result-action {
    color: var(--ai-success);
}

/* Loading/Error states */
.ai-search-loading,
.ai-search-error,
.ai-search-no-results {
    padding: 20px !important;
    text-align: center !important;
    color: var(--ai-text-muted) !important;
    font-style: italic !important;
    background: var(--ai-bg-soft) !important;
    border-radius: 4px !important;
    margin: 8px !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ai-search-error {
    color: var(--ai-danger) !important;
    background: var(--ai-danger-soft) !important;
}

.ai-search-loading {
    background: var(--ai-accent-soft) !important;
}

/* Loading animation for buttons */
.ai-main-action-btn.adding {
    pointer-events: none !important;
    opacity: 0.7 !important;
}

.ai-main-action-btn.adding::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, var(--ai-tint-hairline), transparent) !important;
    animation: shimmer 1.5s infinite !important;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ==========================================
   UPLOAD PROGRESS OVERLAY
   ========================================== */

.ai-vault-upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ai-vault-upload-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.ai-vault-upload-modal {
    background: var(--ai-bg-surface);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--ai-border-strong);
    min-width: 300px;
}

.document-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.spinning-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-top-color: var(--ai-accent-strong);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/*   .document-icon {
    width: 48px;
    height: 48px;
    color: var(--ai-accent-strong);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/

/* .upload-success .document-icon {
    display: none;
}

.success-icon {
    width: 48px;
    height: 48px;
    color: var(--ai-success);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
*/
.upload-text {
    color: var(--ai-text-strong);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-subtext {
    color: var(--ai-text-muted);
    font-size: 14px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   NOTIFICATIONS
   ========================================== */

.ai-vault-notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.ai-vault-notification {
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    animation: slideInNotification 0.3s ease forwards;
}

.ai-vault-notification.success {
    border-left: 4px solid var(--ai-success);
}

.ai-vault-notification.error {
    border-left: 4px solid var(--ai-danger);
}

.ai-vault-notification.warning {
    border-left: 4px solid var(--ai-warning);
}

.ai-vault-notification-icon {
    font-size: 16px;
    margin-top: 2px;
}

.ai-vault-notification.success .ai-vault-notification-icon {
    color: var(--ai-success);
}

.ai-vault-notification.error .ai-vault-notification-icon {
    color: var(--ai-danger);
}

.ai-vault-notification.warning .ai-vault-notification-icon {
    color: var(--ai-warning);
}

.ai-vault-notification-content {
    flex: 1;
    color: var(--ai-text-body);
    font-size: 14px;
    line-height: 1.4;
}

.ai-vault-notification-close {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 2px;
    font-size: 12px;
}

@keyframes slideInNotification {
    to {
        transform: translateX(0);
    }
}

/* ==========================================
   CONTEXT MENU
   ========================================== */

.ai-vault-context-menu {
    position: fixed;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.ai-vault-context-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    color: var(--ai-text-body);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

.ai-vault-context-item:hover {
    background: var(--ai-accent-soft);
}

.ai-vault-context-danger {
    color: var(--ai-danger) !important;
}

.ai-vault-context-danger:hover {
    background: var(--ai-danger-soft) !important;
}

.ai-vault-context-divider {
    height: 1px;
    background: var(--ai-bg-hover);
    margin: 4px 0;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .ai-vault-workspace-sidebar {
        width: 280px;
        position: absolute;
        left: -280px;
        z-index: 100;
        transition: left 0.3s ease;
    }

    .ai-vault-workspace-sidebar.ai-vault-open {
        left: 0;
    }

    .ai-vault-main-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ai-vault-header-info {
        width: 100%;
    }

    .ai-vault-header-actions {
        width: 100%;
        justify-content: flex-end;
    }


    .ai-vault-items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ai-vault-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-vault-quick-actions-grid {
        grid-template-columns: 1fr;
    }


    .ai-vault-upload-icon {
        font-size: 36px;
    }

    .ai-vault-notifications {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }


    .ai-tab-search-input {
        font-size: 16px;
        padding: 10px 14px 10px 42px;
    }

    .ai-tab-main-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ai-main-action-btn {
        position: relative !important;
        z-index: 10 !important;
    }

    .ai-main-action-btn i {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .ai-main-action-btn span {
        font-size: 14px;
    }

    .ai-main-action-btn small {
        font-size: 12px;
    }

    .ai-tab-search-input-container .ai-tab-search-input {
        display: block !important;
        margin-bottom: 16px;
        position: relative !important;
        z-index: 51 !important;
    }

    .ai-vault-welcome-steps {
        gap: 12px;
    }

    .ai-vault-welcome-step {
        padding: 10px 12px;
    }

    .ai-vault-btn-large {
        width: 100%;
        min-width: auto !important;
    }

    .ai-vault-workspace-actions {
        opacity: 1;
    }

    .ai-vault-item-actions {
        opacity: 1;
    }
}

/* ==========================================
   ACCESSIBILITY & SPECIAL STATES
   ========================================== */

/* Focus states */
.ai-vault-workspace-item:focus,
.ai-main-action-btn:focus,
.ai-search-result-item:focus {
    outline: 2px solid var(--ai-accent-strong);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .ai-vault-item-card,
    .ai-vault-welcome-feature,
    .ai-search-result-item:hover:not(.ai-search-result-disabled) {
        border-color: var(--ai-text-strong);
    }

    .ai-vault-welcome-feature {
        border-color: var(--ai-accent-strong);
        background: var(--ai-accent-soft-strong);
    }
}

/* Animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-vault-welcome-screen {
    animation: fadeIn 0.5s ease-out;
}

.ai-vault-item-card {
    animation: slideInFromTop 0.3s ease-out;
}

.ai-search-result-item {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 8px;
}

.ai-search-item-label {
    display: block;
    cursor: pointer;
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.ai-search-item-label:hover:not(.ai-search-result-disabled .ai-search-item-label) {
    background: var(--ai-accent-strong);
}

.ai-search-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-search-item-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.ai-search-item-info {
    flex: 1;
    min-width: 0;
}

.ai-search-item-name {
    display: block;
    font-weight: 500;
    color: var(--ai-text-strong);
    margin-bottom: 2px;
}

.ai-search-item-type {
    display: block;
    font-size: 12px;
    color: var(--ai-text-body);
}

.ai-search-item-checkmark {
    width: 20px;
    height: 20px;
    color: var(--ai-text-strong);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.ai-search-result-item input[type="checkbox"]:checked ~ .ai-search-item-content .ai-search-item-checkmark {
    opacity: 1;
    transform: scale(1);
}

.ai-search-result-disabled {
    pointer-events: none;
    background: var(--ai-accent-strong);
}

.ai-search-result-disabled .ai-search-item-label {
    cursor: not-allowed;
}

.ai-adding {
    opacity: 0.7;
    pointer-events: none;
}

.ai-removing {
    opacity: 0.5;
    pointer-events: none;
}

/*.ai-added-success {
    background: #1e3a2e !important;
    border-color: #48bb78 !important;
}

.ai-removed-success {
    background: #3a1e1e !important;
    border-color: #dc3545 !important;
}*/

.ai-checkmark-animate {
    animation: checkmarkBounce 0.6s ease;
}

@keyframes checkmarkBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Scroll improvements */
.ai-vault-workspace-list {
    max-height: 100%;
    padding-bottom: 50px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ai-vault-workspace-list::-webkit-scrollbar {
    width: 4px;
}

.ai-vault-workspace-list::-webkit-scrollbar-track {
    background: transparent;
}

.ai-vault-workspace-list::-webkit-scrollbar-thumb {
    background: var(--ai-scrollbar);
    border-radius: 2px;
}

.ai-vault-workspace-list::-webkit-scrollbar-thumb:hover {
    background: var(--ai-scrollbar-hover);
}

/* Utility classes */
.ai-vault-loading {
    pointer-events: none;
    opacity: 0.6;
}

.ai-vault-hidden {
    display: none !important;
}

.ai-vault-disabled {
    pointer-events: none;
    opacity: 0.4;
}

/* ========================================
   MOBILE RESPONSIVE FIXES
   ======================================== */

@media (max-width: 767px) {
    /* Fix: Overview section width on mobile */
    .ai-vault-overview-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        box-sizing: border-box !important;
    }

    /* Fix: Grid layout on mobile */
    .ai-vault-overview-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 !important;
    }

    /* Fix: Tab content scrolling on mobile */
    .ai-vault-tab-content {
        padding: 16px !important; /* Reduce padding for mobile */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        height: auto !important;
        max-height: calc(100vh - 200px) !important; /* Limit height to enable scrolling */
    }

    /* Fix: Workspace container on mobile */
    .ai-vault-workspace-container {
        flex-direction: column !important;
        height: auto !important;
    }

    /* Fix: Main content area on mobile */
    .ai-vault-workspace-main {
        width: 100% !important;
        height: auto !important;
    }

    /* Fix: Sidebar on mobile */
    .ai-vault-workspace-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }

    /* Fix: Stats cards on mobile */
    .ai-vault-stats-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .ai-vault-stat-card {
        padding: 16px !important;
    }

    /* Fix: Header on mobile */
    .ai-vault-main-header {
        padding: 16px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .ai-vault-header-actions {
        width: 100% !important;
        justify-content: space-between !important;
    }

    /* Fix: Content tabs on mobile */
    .ai-vault-content-tabs {
        padding: 0 16px !important;
        overflow-x: auto !important;
    }

    /* Fix: Tab buttons on mobile */
    .ai-vault-tab-button {
        font-size: 13px !important;
        padding: 12px 16px !important;
    }

    /* Fix: Workspace content on mobile */
    .ai-vault-workspace-content {
        height: auto !important;
        min-height: 300px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* Premium Locked Sidebar Overlay                                          */
/* Matches TFL AI Dark Mode Design System                                  */
/* ═══════════════════════════════════════════════════════════════════════ */

.vault-sidebar-locked-overlay {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 0;
    bottom: 0;
    background: var(--ai-bg-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 28px 20px;
    text-align: center;
}

.vault-sidebar-locked-icon {
    width: 72px;
    height: 72px;
    background: var(--ai-bg-surface);
    border: 2px solid var(--ai-border-subtle);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.vault-sidebar-locked-icon svg {
    width: 36px;
    height: 36px;
    color: var(--ai-accent-strong);
}

.vault-sidebar-locked-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--ai-accent-strong);
    color: var(--ai-accent-strong);
    font-size: 10px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vault-sidebar-locked-badge svg {
    width: 12px;
    height: 12px;
}

.vault-sidebar-locked-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ai-text-strong);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.vault-sidebar-locked-subtitle {
    font-size: 14px;
    color: var(--ai-accent-strong);
    margin-bottom: 16px;
    font-weight: 500;
}

.vault-sidebar-locked-description {
    font-size: 13px;
    color: var(--ai-text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 280px;
}

.vault-sidebar-locked-benefits {
    text-align: left;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 280px;
}

.vault-sidebar-locked-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    color: var(--ai-text-muted);
    font-size: 12px;
    border-bottom: 1px solid var(--ai-border-strong);
}

.vault-sidebar-locked-benefit:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vault-sidebar-locked-benefit:first-child {
    padding-top: 0;
}

.vault-sidebar-locked-benefit svg {
    color: var(--ai-accent-strong);
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.vault-sidebar-locked-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 280px;
}

.vault-sidebar-locked-btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vault-sidebar-locked-btn-primary {
    background: var(--ai-accent);
    color: var(--ai-text-strong);
}

.vault-sidebar-locked-btn-primary:hover {
    background: var(--ai-accent-fill-hover);
    color: var(--ai-text-strong);
    text-decoration: none;
}

.vault-sidebar-locked-btn-secondary {
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    color: var(--ai-text-muted);
}

.vault-sidebar-locked-btn-secondary:hover {
    background: var(--ai-bg-elevated);
    color: var(--ai-text-strong);
    text-decoration: none;
}

/* ============================================
   DOCUMENT UPLOAD OVERLAY
   Extracted from: site-desktop-1.5.css (lines 19624-19750)
   Centered modal design for document upload progress
   ============================================ */

#ai-application .document-upload-overlay,
#ai-application .court-practice-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    #ai-application .document-upload-overlay.active,
    #ai-application .court-practice-loading-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Centered Card Modal */
#ai-application .document-upload-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: linear-gradient(145deg, var(--ai-bg-surface) 0%, var(--ai-bg-page) 100%);
    border: 1px solid var(--ai-accent-soft-strong);
    border-radius: 16px;
    padding: 48px 64px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px var(--ai-accent-soft-strong);
}

/* Animated Document Icon with Spinning Ring */
#ai-application .document-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Document Icon */
#ai-application .document-icon {
    width: 48px;
    height: 48px;
    color: var(--ai-accent-strong);
    z-index: 2;
    animation: documentPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px var(--ai-accent-soft-strong));
}

/* Spinning Ring */
#ai-application .spinning-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 3px solid var(--ai-accent-soft-strong);
    border-top: 3px solid var(--ai-accent-strong);
    border-radius: 50%;
    animation: aspin 1.2s linear infinite;
}

/* Success State */
#ai-application .upload-success {
    animation: successPop 0.5s ease-out;
}

#ai-application .success-icon {
    width: 48px;
    height: 48px;
    color: var(--ai-success);
    filter: drop-shadow(0 0 8px var(--ai-success-soft));
}

@keyframes successPop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes documentPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Loading Text */
#ai-application .upload-text {
    color: var(--ai-text-strong);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.02em;
}

#ai-application .upload-subtext {
    color: var(--ai-text-muted);
    font-size: 14px;
    text-align: center;
    margin-top: -12px;
}

/* ==========================================
   DUPLICATE DOCUMENT MODAL
   ========================================== */

.ai-duplicate-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.ai-duplicate-modal {
    background: var(--ai-bg-elevated);
    border-radius: 12px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.25s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Text */
#ai-application .upload-text {
    color: var(--ai-text-strong);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.02em;
}

#ai-application .upload-subtext {
    color: var(--ai-text-muted);
    font-size: 14px;
    text-align: center;
    margin-top: -12px;
}


/* ==================== WORKSPACE SHARING ==================== */

/* Workspace list divider (Deljeno z mano) */
#ai-application .ai-vault-list-divider {
    display: flex;
    align-items: center;
    margin: 12px 0 8px;
    padding: 0 12px;
}

#ai-application .ai-vault-list-divider span {
    font-size: 11px;
    color: var(--ai-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

#ai-application .ai-vault-list-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ai-tint-lift);
    margin-left: 8px;
}

/* Workspace badge (Deljeno / Urednik) */
#ai-application .ai-vault-workspace-badge {
    display: inline-block;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    background: var(--ai-accent-soft-strong);
    color: var(--ai-accent-strong);
    font-weight: 500;
}

#ai-application .ai-vault-workspace-badge.ai-vault-badge-shared {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

/* Share modal */
#ai-application .ai-share-add-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

#ai-application .ai-share-select {
    flex: 1;
}

#ai-application .ai-share-add-btn {
    padding: 8px 12px;
    flex-shrink: 0;
}

#ai-application .ai-share-members-list {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--ai-border-subtle);
    border-radius: 6px;
    background: var(--ai-tint-lift);
}

#ai-application .ai-share-member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--ai-tint-lift);
}

#ai-application .ai-share-member-item:last-child {
    border-bottom: none;
}

#ai-application .ai-share-member-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#ai-application .ai-share-member-name {
    font-size: 13px;
    color: var(--ai-text-body);
    font-weight: 500;
}

#ai-application .ai-share-member-role {
    font-size: 11px;
    color: var(--ai-text-soft);
}

#ai-application .ai-share-you {
    color: var(--ai-accent-strong);
    font-weight: 400;
    font-size: 12px;
}

#ai-application .ai-share-remove-btn {
    background: none;
    border: none;
    color: var(--ai-text-soft);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.15s;
}

#ai-application .ai-share-remove-btn:hover {
    color: var(--ai-danger);
    background: var(--ai-danger-soft);
}

#ai-application .ai-share-empty {
    padding: 20px;
    text-align: center;
    color: var(--ai-text-soft);
    font-size: 13px;
}

