/* Minification failed. Returning unminified contents.
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(18,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(24,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(25,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(29,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(30,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(34,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(35,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(36,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(37,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(38,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(39,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(40,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(41,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(42,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(43,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(44,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(45,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(46,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(50,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(51,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(52,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(53,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(54,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(55,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(56,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(57,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(58,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(59,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(60,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(61,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(62,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(63,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(64,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(65,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(66,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(67,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(68,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(69,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(70,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(71,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(72,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(73,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(74,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(75,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(76,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(77,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(78,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(79,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(80,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(81,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(82,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(83,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(84,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(85,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(86,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(87,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(88,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(89,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(90,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(91,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(92,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(93,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(94,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(110,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-header'
(111,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(173,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(174,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(178,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(179,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(210,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(212,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(213,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(221,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(222,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(223,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(266,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-backdrop'
(279,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(296,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(297,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(303,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(316,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(317,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar'
(318,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(340,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(350,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(363,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(385,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(386,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(390,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(396,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(397,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(401,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(426,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(448,39): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(453,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(468,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(478,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(497,39): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(599,1): run-time error CSS1019: Unexpected token, found '}'
(979,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(984,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(989,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1023,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(1024,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(1026,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1036,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(1172,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1272,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1278,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1287,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1288,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1293,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1297,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1303,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1312,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(1315,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1328,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1332,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1336,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1340,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1346,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1365,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1371,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1372,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1373,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1382,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1383,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1387,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1392,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1393,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1394,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1408,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(1409,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(1410,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1414,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1415,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1420,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1421,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1422,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1442,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(1447,30): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(1454,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(1455,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1464,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(1465,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1475,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1489,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1494,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(1498,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1512,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1533,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1540,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1554,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1559,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(1568,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1577,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(1580,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(1581,10): run-time error CSS1035: Expected colon, found '{'
(1592,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(1593,8): run-time error CSS1035: Expected colon, found '{'
(1605,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1628,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(1629,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1643,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1644,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1658,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1666,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1675,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1686,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(1687,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1699,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(1700,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1709,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1714,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1721,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1731,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1732,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-muted'
(1747,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1754,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1759,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1763,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1768,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1789,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1798,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1799,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1801,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1808,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1812,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1819,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1820,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1822,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1835,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(1836,24): 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'
(1854,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(1855,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1868,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1876,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1877,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(1879,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1886,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1904,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(1916,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(1917,10): run-time error CSS1035: Expected colon, found '{'
(1927,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(1931,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(1936,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(1946,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1965,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(1966,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(1967,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(1971,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(1972,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1973,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1977,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(1978,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(1979,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(1983,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(1984,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2002,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(2010,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2016,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2019,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2023,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2035,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2048,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2054,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2062,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2067,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(2082,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2093,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2094,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2095,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2097,44): run-time error CSS1039: Token not allowed after unary operator: '-color1'
(2097,59): run-time error CSS1039: Token not allowed after unary operator: '-color2'
(2100,29): run-time error CSS1039: Token not allowed after unary operator: '-height'
(2105,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2106,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2107,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2109,44): run-time error CSS1039: Token not allowed after unary operator: '-color1'
(2109,59): run-time error CSS1039: Token not allowed after unary operator: '-color2'
(2112,27): run-time error CSS1039: Token not allowed after unary operator: '-height'
(2126,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(2134,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2138,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2147,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2149,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(2158,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2162,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2171,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2173,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(2181,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2204,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2212,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2226,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2228,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2234,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2247,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(2255,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2266,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2270,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2271,31): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2295,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2305,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2306,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(2308,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2317,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2318,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2322,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(2328,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2329,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(2331,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2337,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2338,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2342,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(2347,29): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(2351,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2358,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2359,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(2363,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2364,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(2369,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(2374,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2381,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2388,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(2389,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2391,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2408,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2421,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2422,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(2429,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2439,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2449,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2459,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(2482,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2489,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2490,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(2492,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2499,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(2509,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(2510,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2516,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2517,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(2525,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2536,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2545,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2551,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2560,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2565,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2569,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning'
(2575,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2576,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(2585,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2599,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2626,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2639,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2645,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(2649,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(2650,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(2670,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(2671,10): run-time error CSS1035: Expected colon, found '{'
(2705,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2712,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(2734,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(2735,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(2742,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(2772,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2812,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2847,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2860,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2867,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2875,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2891,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(2912,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(2913,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2917,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(2922,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(2923,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(2927,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(2946,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(2947,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(2955,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(2965,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(2968,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2974,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(2975,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(2991,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(2998,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3003,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3023,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(3045,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3051,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(3057,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3087,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3096,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3102,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3110,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(3111,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3120,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3129,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(3130,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3146,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3155,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(3156,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-hover'
(3171,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(3172,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3187,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3188,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(3192,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3202,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3211,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(3212,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3219,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-bg'
(3220,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3222,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3251,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(3256,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar-hover'
(3281,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3292,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3301,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3324,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3327,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(3328,10): run-time error CSS1035: Expected colon, found '{'
(3359,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3366,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3386,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(3387,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3392,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3397,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3404,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3409,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(3414,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(3419,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(3420,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3425,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(3426,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3443,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(3457,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(3466,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3471,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(3472,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3481,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(3485,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(3492,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3493,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3499,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(3505,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(3509,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3519,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3530,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3548,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(3559,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3568,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(3581,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(3588,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3603,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3608,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(3609,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(3618,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(3631,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(3632,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3638,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3665,15): run-time error CSS1039: Token not allowed after unary operator: '-header-height'
(3667,17): run-time error CSS1039: Token not allowed after unary operator: '-panel-width'
(3668,21): run-time error CSS1039: Token not allowed after unary operator: '-panel-width'
(3670,30): run-time error CSS1039: Token not allowed after unary operator: '-header-height'
(3671,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(3675,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(3691,33): run-time error CSS1039: Token not allowed after unary operator: '-panel-width'
(3718,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(3730,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3740,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3752,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3759,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3768,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3773,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(3788,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3798,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3803,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3821,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(3822,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(3829,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3835,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3838,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(3842,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3855,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3862,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3869,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3870,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3880,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(3887,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(3888,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(3894,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(3895,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(3906,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(3907,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(3909,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3943,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(3944,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3960,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3963,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(3969,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3976,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(3992,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(4001,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(4006,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(4016,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(4021,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(4062,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-bg'
(4066,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(4081,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(4093,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(4115,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(4142,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(4144,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(4182,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(4183,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(4185,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(4195,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(4197,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(4207,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(4209,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(4224,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(4225,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(4245,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(4248,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(4269,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(4282,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(4283,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(4304,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(4319,39): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(4338,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(4347,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(4348,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(4405,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(4406,10): run-time error CSS1035: Expected colon, found '{'
(4415,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(4416,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(4485,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-placeholder'
(4504,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(4541,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(4575,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(4591,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(4592,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(4596,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(4597,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(4665,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(4666,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(4687,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(4796,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(4824,41): run-time error CSS1038: Expected hex color, found '#0004'
(4851,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(4852,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(4898,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(4903,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(4971,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5033,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5034,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5045,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5050,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5320,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5352,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(5353,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(5358,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(5363,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5370,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(5375,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(5380,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(5385,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(5386,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5391,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(5401,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(5409,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5433,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5476,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5493,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(5495,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(5572,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(5573,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5599,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(5600,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(5655,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5676,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5691,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(5700,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(5704,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(5705,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(5795,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(5797,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-shadow-lg'
(5798,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(5805,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(5806,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-shadow-lg'
(5807,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-shadow-focus'
(5808,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-shadow-accent'
(5833,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5834,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar'
(5835,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(5848,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5873,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar'
(5878,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar-hover'
(5887,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-placeholder'
(5891,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-placeholder'
(5895,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-placeholder'
(5905,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-placeholder'
(5909,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-placeholder'
(5913,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-placeholder'
(5960,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(5961,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(5973,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(5974,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(5979,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(5980,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(5990,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(5998,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-user-bubble-text'
(6005,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(6017,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-user-bubble-text'
(6046,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(6203,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(6314,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(6315,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6320,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(6321,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6327,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(6328,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6334,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(6349,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(6377,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6378,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(6379,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(6390,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(6397,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(6524,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(6586,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-user-bubble-bg'
(6588,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-user-bubble-text'
(6639,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(6646,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(6647,10): run-time error CSS1035: Expected colon, found '{'
(6693,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6739,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(6747,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(6749,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(6752,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(6761,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(6762,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(6763,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6771,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(6781,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(6788,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(6799,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(6800,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6810,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6819,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(6827,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(6834,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(6838,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(6842,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(6848,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6850,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(6866,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(6871,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(6872,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6881,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(6894,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(6895,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(6901,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(6905,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(6909,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(6916,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6917,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(6923,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(6929,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(6933,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(6943,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(6954,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(6972,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(6983,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(6992,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7005,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(7012,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7027,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7053,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(7056,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-border'
(7057,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-bg'
(7072,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-head-bg'
(7073,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(7074,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-border'
(7086,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-row-bg'
(7099,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-border'
(7120,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7127,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7133,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7138,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7149,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(7153,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(7160,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(7165,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7174,50): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(7177,55): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(7188,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(7190,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(7198,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7199,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7209,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(7221,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7230,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(7235,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(7245,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7269,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(7271,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7283,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7290,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7303,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(7336,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7337,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7356,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(7362,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7368,30): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7369,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7386,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7392,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-placeholder'
(7399,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7455,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(7462,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7475,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7541,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7542,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7543,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(7574,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7594,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(7654,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(7661,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7674,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7690,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7691,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7703,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7704,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7705,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(7724,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7736,36): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(7783,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(7786,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(7797,13): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7798,36): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(7799,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(7820,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(7842,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7843,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7850,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7851,34): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(7855,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(7856,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(7865,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(7866,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(8165,23): run-time error CSS1039: Token not allowed after unary operator: '-side-menu-width'
(8166,29): run-time error CSS1039: Token not allowed after unary operator: '-side-menu-width'
(8170,27): run-time error CSS1039: Token not allowed after unary operator: '-side-menu-expanded-width'
(8171,33): run-time error CSS1039: Token not allowed after unary operator: '-side-menu-expanded-width'
(8176,15): run-time error CSS1039: Token not allowed after unary operator: '-header-height'
(8178,30): run-time error CSS1039: Token not allowed after unary operator: '-header-height'
(8179,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(8180,34): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(8183,17): run-time error CSS1039: Token not allowed after unary operator: '-side-menu-width'
(8190,21): run-time error CSS1039: Token not allowed after unary operator: '-side-menu-expanded-width'
(8208,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(8215,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(8220,18): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(8222,42): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(8231,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8243,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8250,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8261,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(8266,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(8274,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(8289,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(8294,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(8295,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-user-bubble-text'
(8310,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-user-bubble-text'
(8313,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(8338,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(8339,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(8342,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(8348,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(8349,30): run-time error CSS1039: Token not allowed after unary operator: '-ai-shadow-focus'
(8375,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8376,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar'
(8377,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(8384,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(8397,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(8398,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(8414,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(8419,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8433,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(8434,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8438,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(8439,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(8468,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8476,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(8477,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8478,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8488,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8495,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(8496,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8498,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(8511,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-hover'
(8526,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8577,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(8578,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(8593,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(8594,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8603,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(8604,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8637,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(8646,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8650,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(8651,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8657,15): run-time error CSS1039: Token not allowed after unary operator: '-header-height'
(8659,17): run-time error CSS1039: Token not allowed after unary operator: '-panel-width'
(8660,21): run-time error CSS1039: Token not allowed after unary operator: '-panel-width'
(8662,30): run-time error CSS1039: Token not allowed after unary operator: '-header-height'
(8663,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-page'
(8667,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(8683,33): run-time error CSS1039: Token not allowed after unary operator: '-panel-width'
(8711,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(8723,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8733,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8745,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8752,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8761,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8766,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(8781,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8791,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8796,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8814,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8815,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(8816,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(8828,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8834,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8837,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(8841,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8855,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8862,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8869,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(8870,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8880,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(8887,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(8888,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(8894,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(8895,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(8907,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(8908,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(8910,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8939,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8952,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(8953,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8969,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8972,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(8978,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(8987,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(8996,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(8998,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9015,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(9029,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(9035,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(9040,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(9048,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(9064,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9073,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(9078,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(9088,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9093,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(9111,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9117,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(9135,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9142,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9151,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9157,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9166,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9174,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9185,36): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9219,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(9220,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9222,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9228,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9232,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9243,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9255,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(9256,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9261,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(9262,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9285,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9287,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(9288,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9296,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(9301,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(9302,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9303,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(9310,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(9313,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(9322,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9323,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(9324,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(9341,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9344,39): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(9356,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(9357,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9366,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(9371,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9382,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(9394,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9402,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9428,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9445,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9450,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9460,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9465,18): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9474,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9475,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-elevated'
(9480,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(9489,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9490,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-scrollbar'
(9491,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(9509,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9520,25): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(9546,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(9548,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9555,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(9566,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(9586,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9592,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9602,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9603,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(9609,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(9666,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9670,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9682,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9689,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9699,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9721,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(9724,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9737,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-hover'
(9756,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9764,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(9768,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9776,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(9787,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9797,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9803,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9821,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(9822,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9824,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9831,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(9832,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(9837,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9843,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9859,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft'
(9860,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(9864,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(9865,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(9869,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(9870,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9874,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning-soft'
(9875,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning'
(9879,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(9891,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(9892,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(9904,32): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-fill-hover'
(9909,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9931,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-bg'
(9935,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(9950,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9962,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(9984,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(10011,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(10013,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(10054,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(10055,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(10057,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10065,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(10067,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10072,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(10074,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10088,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(10089,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10109,26): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(10112,21): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10166,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10182,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10187,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10195,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(10212,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(10213,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-subtle'
(10215,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(10230,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-hover'
(10231,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-border-strong'
(10232,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10241,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(10242,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10243,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10248,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger-soft'
(10249,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(10250,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(10259,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent'
(10260,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-user-bubble-text'
(10261,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10281,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(10283,24): run-time error CSS1039: Token not allowed after unary operator: '-ai-danger'
(10305,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10314,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(10315,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(10327,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(10333,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10344,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift'
(10345,33): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10359,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10374,29): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(10375,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(10376,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-table-bg'
(10380,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(10385,29): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10386,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-soft'
(10388,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10392,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(10397,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10405,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(10406,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(10421,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-muted'
(10429,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning'
(10442,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(10447,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-soft'
(10460,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning'
(10474,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-success'
(10534,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning'
(10539,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-strong'
(10567,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-warning'
(10577,1): run-time error CSS1019: Unexpected token, found '@keyframes'
(10578,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '0%'
(10616,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-soft-strong'
(10616,59): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10620,47): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10631,22): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-surface'
(10631,62): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-lift-strong'
(10633,93): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(10647,46): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10662,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10662,67): run-time error CSS1039: Token not allowed after unary operator: '-ai-accent-strong'
(10668,28): run-time error CSS1039: Token not allowed after unary operator: '-ai-bg-header'
(10669,35): run-time error CSS1039: Token not allowed after unary operator: '-ai-tint-hairline'
(10677,17): run-time error CSS1039: Token not allowed after unary operator: '-ai-text-body'
(10683,16): run-time error CSS1039: Token not allowed after unary operator: '-ai-icon-muted'
 */
/* AI Chat Base Styles - Extracted from AiChatBase.cshtml */

body.ai-chat-theme-page {
    --ai-bg-page: #1a1a1a;
    --ai-bg-page-alt: #222222;
    --ai-bg-surface: #2a2a2a;
    --ai-bg-elevated: #333333;
    --ai-bg-hover: #3a3a3a;
    --ai-bg-soft: #252525;
    --ai-bg-input: #2a2a2a;
    --ai-bg-backdrop: rgba(0, 0, 0, 0.65);
    --ai-border-subtle: rgba(255,255,255,0.08);
    --ai-border-strong: rgba(255,255,255,0.12);
    --ai-text-strong: #ffffff;
    --ai-text-body: #e0e0e0;
    --ai-text-muted: #9c9c9c;
    --ai-text-soft: #6b6b6b;
    --ai-text-placeholder: #8b8e8f;
    --ai-accent: #3d8ac7;
    --ai-accent-strong: #51afea;
    --ai-accent-hover: #6bc0f5;
    --ai-accent-soft: rgba(81, 175, 234, 0.08);
    --ai-accent-soft-strong: rgba(81, 175, 234, 0.16);
    --ai-shadow-lg: 0 8px 35px rgba(0, 0, 0, 0.12);
    --ai-shadow-focus: 0 0 0 3px rgba(81, 175, 234, 0.08);
    --ai-shadow-accent: 0 0 20px rgba(81, 175, 234, 0.1);
    --ai-scrollbar: #4c4c4c;
    --ai-scrollbar-hover: #555555;
    --ai-user-bubble-bg: #52AFEA;
    --ai-user-bubble-text: #ffffff;
    --ai-table-bg: #1e1e1e;
    --ai-table-head-bg: #252525;
    --ai-table-row-bg: #2a2a2a;
    --ai-table-border: #3a3a3a;
    --ai-overlay: rgba(0, 0, 0, 0.5);
    --ai-bg-header: #1a1a1a;
    --ai-tint-lift: rgba(255, 255, 255, 0.07);
    --ai-tint-lift-strong: rgba(255, 255, 255, 0.10);
    --ai-tint-lift-max: rgba(255, 255, 255, 0.12);
    --ai-tint-hairline: rgba(255, 255, 255, 0.20);
    --ai-danger: #ff6b6b;
    --ai-danger-soft: rgba(255, 107, 107, 0.14);
    --ai-success: #4caf50;
    --ai-success-soft: rgba(76, 175, 80, 0.14);
    --ai-warning: #ffa726;
    --ai-warning-soft: rgba(255, 167, 38, 0.14);
}

body.ai-chat-theme-light {
    --ai-bg-page: #eef1f4;
    --ai-bg-page-alt: #e7ecf1;
    --ai-bg-surface: #ffffff;
    --ai-bg-elevated: #ffffff;
    --ai-bg-hover: #e7ecf1;
    --ai-bg-soft: #f4f7f9;
    --ai-bg-input: #f4f7f9;
    --ai-bg-header: #eef1f4;
    --ai-bg-backdrop: rgba(17, 27, 37, 0.42);
    --ai-border-subtle: #d5dde4;
    --ai-border-strong: #c2ccd6;
    --ai-text-strong: #111b25;
    --ai-text-body: #1f2a35;
    --ai-text-muted: #5a6b7a;
    --ai-text-soft: #5f6e7c;
    --ai-text-placeholder: #5f6f7e;
    --ai-accent: #52AFEA;
    --ai-accent-strong: #176da3;
    --ai-accent-hover: #145b89;
    --ai-accent-soft: rgba(82, 175, 234, 0.08);
    --ai-accent-soft-strong: rgba(82, 175, 234, 0.16);
    --ai-accent-fill-hover: #43A6E7;
    --ai-shadow-lg: 0 1px 2px rgba(20, 30, 40, 0.07), 0 4px 14px rgba(20, 30, 40, 0.05);
    --ai-shadow-focus: 0 0 0 3px rgba(82, 175, 234, 0.18);
    --ai-shadow-accent: none;
    --ai-scrollbar: #c2ccd6;
    --ai-scrollbar-hover: #adb9c6;
    --ai-user-bubble-bg: #52AFEA;
    --ai-user-bubble-text: #111b25;
    --ai-table-bg: #ffffff;
    --ai-table-head-bg: #eef1f4;
    --ai-table-row-bg: #ffffff;
    --ai-table-border: #d5dde4;
    --ai-overlay: rgba(17, 27, 37, 0.28);
    --ai-tint-lift: rgba(17, 27, 37, 0.10);
    --ai-tint-lift-strong: rgba(17, 27, 37, 0.14);
    --ai-tint-lift-max: rgba(17, 27, 37, 0.17);
    --ai-tint-hairline: rgba(17, 27, 37, 0.14);
    --ai-icon-muted: #46586a;
    --ai-danger: #c62828;
    --ai-danger-soft: rgba(198, 40, 40, 0.09);
    --ai-success: #2e7d32;
    --ai-success-soft: rgba(46, 125, 50, 0.10);
    --ai-warning: #9c5b00;
    --ai-warning-soft: rgba(156, 91, 0, 0.10);
}

/* Base Typography */
body, .body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .tutorial-tooltip h3, .playbook-header-content h2 {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.02em;
}

.header {
    background-color: var(--ai-bg-header, #1a1a1a);
    border-bottom: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
}

/* MOBILE AI HEADER FIX: burger + logo + avatar in one row */
body.body-mobile .header {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 50px !important;
    min-height: 48px !important;
    max-height: 50px !important;
}

body.body-mobile .header-left {
    width: auto !important;
    flex: 0 0 auto !important;
}

body.body-mobile .header-center {
    width: auto !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
}

body.body-mobile .header-right {
    width: auto !important;
    flex: 0 0 auto !important;
}

/* Burger menu - bigger */
body.body-mobile .mobile-nav-open,
body.body-mobile #aOpenMobileNav {
    width: 40px !important;
    height: 40px !important;
    background-size: 28px !important;
}

/* Logo - bigger */
body.body-mobile .header .logo {
    height: 28px !important;
    max-width: 120px !important;
    background-size: contain !important;
}

/* Avatar - smaller */
body.body-mobile .header .user-info .logout,
body.body-mobile .header .logout {
    width: 32px !important;
    height: 32px !important;
    background-size: 32px !important;
}

body.body-mobile .mobile-nav-open, body.body-mobile #aOpenMobileNav {
    padding: 0px !important;
}

body {
    overflow: hidden;
    scroll-behavior: smooth;
    overflow: hidden;
    width: 100%;
    background-color: var(--ai-bg-page, #1a1a1a);
    color: var(--ai-text-body, #e0e0e0);
}

.body {
    background-color: var(--ai-bg-page, #1a1a1a);
    color: var(--ai-text-body, #e0e0e0);
}

.subMenu {
    position: fixed;
    top: 70px;
    opacity: 1 !important;
    right: 0px;
    left: auto;
}

.login-container {
    float: right;
    overflow: hidden;
}

.header .content {
    width: calc(100% - 20px);
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
}

.ai-header-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 10px;
    padding: 0;
    border: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
    border-radius: 999px;
    background: var(--ai-bg-surface, #2a2a2a);
    color: var(--ai-text-muted, #9c9c9c);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.ai-header-theme-toggle:hover,
.ai-header-theme-toggle:focus-visible {
    background: var(--ai-bg-hover, #3a3a3a);
    border-color: var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.16));
    color: var(--ai-accent-strong, #51afea);
    outline: none;
    transform: translateY(-1px);
}

.ai-header-theme-toggle-icon {
    display: none;
    line-height: 0;
}

body.ai-chat-theme-dark .ai-header-theme-toggle-icon--sun,
body.ai-chat-theme-light .ai-header-theme-toggle-icon--moon {
    display: inline-flex;
}

.navigation,
.search-container,
.help-container,
.about-container,
.search-container-wrapper,
footer,
#help-dot-toggle {
    display: none !important;
}

.cls-1 {
    fill: none;
    stroke: #000000;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5px;
    fill-rule: evenodd;
    cursor: pointer;
}


/* Tutorial overlay styles */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ai-bg-backdrop, rgba(0, 0, 0, 0.65));
    z-index: 9999999999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .tutorial-overlay.show {
        opacity: 1;
    }

.tutorial-spotlight {
    position: absolute;
    border: 3px solid var(--ai-accent-strong, #51afea);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(82, 175, 234, 0.6);
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth easing */
    background: transparent;
    transform: scale(0.8);
    opacity: 0;
}

    .tutorial-spotlight.show {
        transform: scale(1);
        opacity: 1;
    }

.tutorial-tooltip {
    position: absolute;
    background: var(--ai-bg-surface, #1a1a1a);
    color: var(--ai-text-strong, #ffffff);
    padding: 24px;
    border-radius: 12px;
    max-width: 320px;
    min-width: 280px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
    z-index: 1000000;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px) scale(0.9);
    opacity: 0;
}

    .tutorial-tooltip::-webkit-scrollbar {
        height: 1rem;
        width: 0.5rem;
    }

    .tutorial-tooltip::-webkit-scrollbar-thumb {
        --tw-border-opacity: 1;
        background-color: var(--ai-scrollbar, #4c4c4c) !important;
        border-color: var(--ai-border-strong, rgba(255,255,255,0.12));
        border-radius: 9999px;
        border-width: 0px;
    }


    .tutorial-tooltip::-webkit-scrollbar-track {
        background-color: transparent;
        border-radius: 9999px;
    }

        .tutorial-tooltip::-webkit-scrollbar-track:hover {
            background-color: transparent !important;
        }

    .tutorial-tooltip.show {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    .tutorial-tooltip h3 {
        margin: 0 0 12px 0;
        color: var(--ai-text-strong, #ffffff);
        font-size: 20px;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .tutorial-tooltip p {
        margin: 0 0 20px 0;
        line-height: 1.6;
        font-size: 14px;
        color: var(--ai-text-body, #e0e0e0);
        transition: color 0.3s ease;
    }

.tutorial-controls {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
}

.tutorial-progress {
    font-size: 12px;
    color: var(--ai-text-muted, #a8a8a8);
    font-weight: 500;
    transition: color 0.3s ease;
}

.tutorial-buttons {
    display: flex;
    gap: 8px;
}

.tutorial-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.tutorial-btn-primary {
    background: var(--ai-accent, #3d8ac7);
    color: var(--ai-text-strong);
}

    .tutorial-btn-primary:hover {
        background: var(--ai-accent-fill-hover, #43A6E7);
        transform: translateY(-1px);
    }

.tutorial-btn-secondary {
    background: transparent;
    color: var(--ai-accent-strong, #51afea);
    border: 1px solid var(--ai-accent-strong, #51afea);
}

    .tutorial-btn-secondary:hover {
        background: var(--ai-accent-soft, rgba(82, 175, 234, 0.1));
        transform: translateY(-2px);
    }

/* Panel animacije za boljšo sinhronizacijo */
.ai-right-panel-container {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease !important;
}



@media screen and (max-width: 767px) {
    /* Skrij originalno mobilno navigacijo na AI strani */
    body.body-mobile .mobile-navigation-container {
        display: none !important;
    }
    /* AI side menu na mobilnih napravah */
    body.body-mobile .ai-side-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        height: 100vh;
        z-index: 99999;
        transition: left 0.3s ease;
        background-color: var(--ai-bg-page);
        display: flex;
        flex-direction: column;
    }

        /* Ko je aktiven, pokaži ga */
        body.body-mobile .ai-side-menu.mobile-active {
            left: 0;
        }

    /* Sidebar header - HIDDEN on desktop */
    body:not(.body-mobile) .ai-side-menu-header,
    body.body-desktop .ai-side-menu-header {
        display: none !important;
    }

    /* Sidebar header - VISIBLE only on mobile */
    body.body-mobile .ai-side-menu-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 60px 15px 15px 15px; /* Top padding for status bar */
        border-bottom: 1px solid var(--ai-border-strong);
        flex-shrink: 0;
    }

    body.body-mobile .ai-side-menu-header-title {
        color: var(--ai-text-strong);
        font-size: 18px;
        font-weight: 600;
    }

    /* Close button for mobile side menu - MOBILE ONLY */
    /* Matches .ai-advanced-panel-close style */
    .ai-side-menu-close-btn {
        display: none !important; /* Hidden by default (desktop) */
    }

    body.body-mobile .ai-side-menu-close-btn {
        display: flex !important; /* Show only on mobile */
        background: none;
        border: none;
        color: var(--ai-text-muted);
        cursor: pointer;
        padding: 0 5px;
        line-height: 1;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        body.body-mobile .ai-side-menu-close-btn:active {
            color: var(--ai-text-strong);
        }

        body.body-mobile .ai-side-menu-close-btn svg {
            stroke: currentColor;
        }

    /* Scrollable menu list */
    body.body-mobile .ai-side-menu-list {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 120px; /* Safe area for iPhone home indicator */
    }

    /* Povečaj menu items za touch */
    body.body-mobile .ai-side-menu-item {
        padding: 20px 20px;
        font-size: 18px;
        border-bottom: 1px solid var(--ai-border-strong);
    }

    body.body-mobile .ai-side-menu-icon {
        width: 32px;
        height: 32px;
    }

        body.body-mobile .ai-side-menu-icon svg {
            width: 28px;
            height: 28px;
        }
    /* Vedno pokaži label na mobilnih */
    body.body-mobile .ai-side-menu-label {
        opacity: 1 !important;
        font-size: 18px;
        margin-left: 20px;
    }
    /* Remove hover width effects na mobilnih */
    body.body-mobile .ai-side-menu:hover {
        width: 100vw !important;
    }
    /* Dodaj close button na vrh menija */
    /*  body.body-mobile .ai-side-menu::before {
        content: "✕";
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: var(--ai-text-strong);
        cursor: pointer;
        z-index: 100000;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: var(--ai-tint-lift-strong);
    }*/
    /* Adjustment za glavni content na mobilnih */
    body.body-mobile .ai-view-container {
        margin-left: 0 !important;
        width: 100% !important;
        padding-top: 0;
    }
    /* Fix za chat container */
    body.body-mobile .ai-chat-container {
        margin-left: 0;
        width: 100%;
    }
    /* Fix za ostale containerje */
    body.body-mobile #basic-chat-container,
    body.body-mobile #history-container,
    body.body-mobile #workspaces-container,
    body.body-mobile #ai-vault-documents-container,
    body.body-mobile #court-chat-container,
    body.body-mobile #helpdesk-container {
        margin-left: 0;
        width: 100%;
    }
    /* Ne prikazuj content-shifted efektov na mobilnih */
    body.body-mobile .ai-view-container.content-shifted {
        margin-left: 0 !important;
        width: 100% !important;
    }
    /* Overlay za zapiranje menija */
    body.body-mobile .ai-mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

        body.body-mobile .ai-mobile-overlay.active {
            opacity: 1;
            visibility: visible;
        }
}

/* NOTE: Mobile right panel styles moved to site-mobile-1.2.css */
    /* Chat sources mini panel za mobile */
    body.body-mobile .ai-chat-sources-mini {
        display: none;
        /*  position: fixed;
        bottom: 120px;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: 120px;
        font-size: 12px;*/
    }

        body.body-mobile .ai-chat-sources-mini h3 {
            font-size: 14px;
        }
}

/* ============================================================================
   HISTORY VIEW - MOBILE OPTIMIZATION
   ============================================================================ */

/* History Modern Container */
body.body-mobile .ai-history-modern {
    max-width: 90%;
    height: 100vh;
    height: 100dvh; /* iOS Safari address bar fix */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* History Header */
body.body-mobile .ai-history-header {
    flex-shrink: 0; /* Don't shrink when scrolling */
}

/* "Nov pogovor" Button - Touch target */
body.body-mobile .ai-history-new-chat-btn {
    min-height: 48px; /* Touch-friendly */
    min-width: 115px;
}

    body.body-mobile .ai-history-new-chat-btn:active {
        transform: scale(0.98); /* Touch feedback */
    }

/* History Search */
body.body-mobile .ai-history-search {
    flex-shrink: 0;
}

body.body-mobile .ai-history-search-input {
    position: relative;
    width: 100%;
}

    body.body-mobile .ai-history-search-input svg {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 1;
    }

    body.body-mobile .ai-history-search-input input {
        width: 100%;
        min-height: 44px; /* Touch-friendly */
        font-size: 16px !important; /* iOS zoom prevention */
        font-size: max(16px, 1rem) !important;
    }

        body.body-mobile .ai-history-search-input input:focus {
            outline: none;
        }

/* History List - Scrollable */
body.body-mobile .ai-history-list {
    flex: 1; /* Take remaining space */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
}

/* History Item - Touch-friendly */
body.body-mobile .ai-history-item {
    min-height: 80px; /* Tall enough for touch */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    body.body-mobile .ai-history-item:active {
        transform: scale(0.99); /* Touch feedback */
    }

/* History Item Content */
body.body-mobile .ai-history-item-content {
    flex: 1;
    min-width: 0; /* Allow text truncation */
    display: flex;
    flex-direction: column;
}

body.body-mobile .ai-history-item-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Max 2 lines */
    -webkit-box-orient: vertical;
}

/* History Item Actions - Touch targets */
body.body-mobile .ai-history-item-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

body.body-mobile .ai-history-action-btn {
    width: 44px; /* Touch-friendly square */
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    body.body-mobile .ai-history-action-btn:active {
        transform: scale(0.95); /* Touch feedback */
    }

/* Load More Button - Touch target */
body.body-mobile .ai-history-load-more {
    flex-shrink: 0;
}

    body.body-mobile .ai-history-load-more button {
        width: 100%;
        min-height: 48px; /* Touch-friendly */
    }

        body.body-mobile .ai-history-load-more button:active {
            transform: scale(0.98); /* Touch feedback */
        }

/* Documents View - Reuse History Styles */
body.body-mobile #ai-vault-documents-container .ai-documents-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

body.body-mobile #ai-vault-documents-container .ai-history-new-chat-btn {
    flex: 1;
    min-width: 115px;
    justify-content: center;
}

/* ========================================
   DOCUMENTS VIEW MOBILE OPTIMIZATION
   ======================================== */

/* Documents Container - Full viewport */
body.body-mobile #ai-vault-documents-container {
    height: 100vh;
    height: 100dvh; /* iOS Safari address bar fix */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



    /* Documents Header */
    body.body-mobile #ai-vault-documents-container .ai-history-header {
        flex-shrink: 0;
        display: flex;
    }

    /* Upload Button - Touch target */
    body.body-mobile #ai-vault-documents-container .ai-documents-header-actions .ai-history-new-chat-btn {
        width: 100%;
        min-height: 48px;
    }

        body.body-mobile #ai-vault-documents-container .ai-documents-header-actions .ai-history-new-chat-btn:active {
            transform: scale(0.98); /* Touch feedback */
        }

    /* Documents Search - iOS zoom prevention */
    body.body-mobile #ai-vault-documents-container .ai-history-search {
        flex-shrink: 0;
    }

    body.body-mobile #ai-vault-documents-container .ai-history-search-input {
        position: relative;
        width: 100%;
    }

        body.body-mobile #ai-vault-documents-container .ai-history-search-input svg {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1;
            pointer-events: none;
        }

        body.body-mobile #ai-vault-documents-container .ai-history-search-input input {
            width: 100%;
            min-height: 44px; /* Touch target */
            font-size: 16px !important; /* iOS zoom prevention */
            font-size: max(16px, 1rem) !important;
            -webkit-appearance: none;
            appearance: none;
        }

            body.body-mobile #ai-vault-documents-container .ai-history-search-input input:focus {
                outline: none;
            }

    /* Documents List - Scrollable */
    body.body-mobile #ai-vault-documents-container .ai-history-list {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
    }

    /* Document Item - Touch-friendly */
    body.body-mobile #ai-vault-documents-container .ai-user-doc-item {
        min-height: 80px; /* Touch-friendly height */
        display: flex;
        align-items: center;
    }

        body.body-mobile #ai-vault-documents-container .ai-user-doc-item:active {
            transform: scale(0.99); /* Touch feedback */
        }

        /* Document Item Content */
        body.body-mobile #ai-vault-documents-container .ai-user-doc-item .ai-history-item-content {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        body.body-mobile #ai-vault-documents-container .ai-user-doc-item .ai-history-item-title {
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            word-break: break-word;
        }

        body.body-mobile #ai-vault-documents-container .ai-user-doc-item .ai-history-item-time {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Document Item Actions */
        body.body-mobile #ai-vault-documents-container .ai-user-doc-item .ai-history-item-actions {
            display: flex;
            flex-shrink: 0;
        }

    /* Action Button - Touch target */
    body.body-mobile #ai-vault-documents-container .ai-history-action-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        body.body-mobile #ai-vault-documents-container .ai-history-action-btn:active {
            transform: scale(0.95); /* Touch feedback */
        }

    /* Load More Button - Touch target */
    body.body-mobile #ai-vault-documents-container .ai-history-load-more {
        flex-shrink: 0;
    }

        body.body-mobile #ai-vault-documents-container .ai-history-load-more button {
            width: 100%;
            min-height: 48px; /* Touch-friendly */
        }

            body.body-mobile #ai-vault-documents-container .ai-history-load-more button:active {
                transform: scale(0.99); /* Touch feedback */
            }

/* ========================================
   WORKSPACES VIEW - MINIMAL MOBILE FIXES
   ======================================== */

/* Workspaces - viewport height */
body.body-mobile #workspaces-container {
    height: 100vh;
    height: 100dvh; /* iOS Safari address bar fix */
    overflow: hidden;
}

/* Workspaces buttons - touch targets */
body.body-mobile .ai-vault-action-button,
body.body-mobile .ai-vault-header-btn {
    min-height: 48px;
    min-width: 48px;
}

    body.body-mobile .ai-vault-action-button:active,
    body.body-mobile .ai-vault-header-btn:active {
        transform: scale(0.98); /* Touch feedback */
    }

/* Workspaces search - iOS zoom prevention */
body.body-mobile .ai-vault-search-input {
    font-size: 16px !important;
    font-size: max(16px, 1rem) !important;
    min-height: 44px;
}

/* Workspaces tabs container - horizontal scroll */
body.body-mobile .ai-vault-content-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px; /* Reduce padding for mobile */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

    body.body-mobile .ai-vault-content-tabs::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

/* Workspaces tab button - layout only */
body.body-mobile .ai-vault-tab-button {
    min-height: 44px; /* Touch target */
    padding: 10px 16px; /* Reduce padding for mobile */
    display: flex;
    align-items: center;
    gap: 6px; /* Space between icon, label, counter */
    white-space: nowrap;
    flex-shrink: 0; /* Don't shrink */
}

    body.body-mobile .ai-vault-tab-button:active {
        transform: scale(0.98); /* Touch feedback */
    }

/* Tab counter badge - inline layout */
body.body-mobile .ai-vault-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1;
}

/* Workspaces sidebar overlay */
body.body-mobile .ai-vault-workspace-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85vw;
    max-width: 320px;
    height: 100%;
    height: 100dvh;
    z-index: 10000;
    transition: left 0.3s ease;
}

    body.body-mobile .ai-vault-workspace-sidebar.ai-vault-sidebar-visible {
        left: 0;
    }

/* Sidebar close button - ensure visible and touch-friendly */
body.body-mobile .ai-vault-sidebar-toggle {
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--ai-tint-lift) !important;
    border-radius: 6px !important;
}

    body.body-mobile .ai-vault-sidebar-toggle:active {
        background: var(--ai-tint-lift-strong) !important;
    }

    body.body-mobile .ai-vault-sidebar-toggle i {
        font-size: 20px !important;
        color: var(--ai-text-strong) !important;
    }

/* Sidebar header - ensure close button is visible */
body.body-mobile .ai-vault-sidebar-header {
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

/* Workspaces container - overlay layout (not flexbox) */
body.body-mobile .ai-vault-workspace-container {
    display: block !important; /* Override desktop flexbox */
    position: relative;
    height: 100% !important;
}

/* Workspaces main content - full screen (sidebar overlays on top) */
body.body-mobile .ai-vault-workspace-main {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    z-index: 1; /* Below sidebar */
    box-sizing: border-box !important;
}

/* Mobile hamburger menu button - opens sidebar */
.ai-vault-mobile-menu-btn {
    display: none; /* Hidden by default (desktop) */
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-tint-lift-strong);
    border-radius: 6px;
    color: var(--ai-text-muted);
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 12px;
    min-width: 40px;
    height: 40px;
}

.ai-vault-mobile-menu-btn:active {
    background: var(--ai-tint-lift-strong);
    transform: scale(0.95);
}

body.body-mobile .ai-vault-mobile-menu-btn {
    display: flex; /* Visible only on mobile */
    align-items: center;
    justify-content: center;
}

body.body-mobile .ai-vault-mobile-menu-btn svg {
    width: 20px;
    height: 20px;
}

/* Workspace header - adjust padding and spacing */
body.body-mobile .ai-vault-main-header {
    padding: 16px !important;
    min-height: auto !important;
    flex-wrap: wrap;
    gap: 12px;
}

body.body-mobile .ai-vault-header-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0; /* Allow text truncation */
}

body.body-mobile .ai-vault-current-workspace-details h1 {
    font-size: 18px !important;
    margin: 0 !important;
}

body.body-mobile .ai-vault-current-workspace-details p {
    font-size: 13px !important;
    margin: 4px 0 0 0 !important;
}

/* Header actions - icon only on mobile */
body.body-mobile .ai-vault-header-actions {
    gap: 8px !important;
}

/* When visible, display as flex */
body.body-mobile .ai-vault-header-actions:not([style*="display: none"]) {
    display: flex !important;
}

body.body-mobile .ai-vault-header-btn {
    padding: 10px !important; /* Square, icon-only */
    min-width: 44px !important;
    height: 44px !important;
    justify-content: center !important;
}

body.body-mobile .ai-vault-header-btn span {
    display: none !important; /* Hide text, show only icons */
}

body.body-mobile .ai-vault-header-btn svg {
    display: block !important; /* SHOW icons */
    margin: 0 !important; /* Center icon */
    width: 20px !important;
    height: 20px !important;
}

/* Workspace content scrolling */
body.body-mobile .ai-vault-workspace-content {
    height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
}

body.body-mobile .ai-vault-workspace-list,
body.body-mobile .ai-vault-tab-content {
    -webkit-overflow-scrolling: touch;
}

/* ========================================
   WORKSPACE OVERVIEW - MOBILE FIXES
   ======================================== */

/* Summary stats - smaller numbers to prevent overflow */
body.body-mobile .ai-vault-summary-stats {
    gap: 8px !important; /* Reduce gap between stats */
    padding: 0 8px !important;
}

body.body-mobile .ai-vault-summary-stat-number {
    font-size: 24px !important; /* Smaller than desktop 32px */
    font-weight: 600 !important;
}

body.body-mobile .ai-vault-summary-stat-label {
    font-size: 11px !important;
}

/* Overview sections - prevent horizontal overflow */
body.body-mobile .ai-vault-overview-section {
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
}

body.body-mobile .ai-vault-overview-grid {
    gap: 16px !important;
    padding: 0 !important;
}

/* Recent sessions - ensure text truncation works */
body.body-mobile .ai-vault-recent-session-item {
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 12px !important;
}

body.body-mobile .ai-vault-recent-session-content {
    max-width: 100% !important;
    overflow: hidden !important;
}

body.body-mobile .ai-vault-recent-session-title {
    max-width: 100% !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Recent items (documents/sources) - same fix */
body.body-mobile .ai-vault-item-card {
    max-width: 100% !important;
    overflow: hidden !important;
    border: 1px solid var(--ai-border-subtle) !important;
}

body.body-mobile .ai-vault-items-grid {
    grid-template-columns: 1fr !important; /* Single column on mobile */
    gap: 12px !important;
}

body.body-mobile .ai-vault-item-info {
    max-width: 100% !important;
    overflow: hidden !important;
}

body.body-mobile .ai-vault-item-title {
    max-width: 100% !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-wrap: normal !important; /* Override desktop word-wrap */
}

/* ========================================
   CHAT VIEWS - MINIMAL MOBILE FIXES
   ======================================== */

/* Chat containers - viewport height */
/* Note: #basic-chat-container excluded - uses .ai-view-container layout */
body.body-mobile .ai-chat-container {
    height: 100vh;
    height: 100dvh; /* iOS Safari address bar fix */
    overflow: hidden;
}

/* Chat textarea - iOS zoom prevention */
body.body-mobile .ai-search-input-textarea,
body.body-mobile #ai-search-textarea,
body.body-mobile #ai-chat-textarea {
    font-size: 16px !important; /* iOS zoom prevention */
    font-size: max(16px, 1rem) !important;
    min-height: 48px;
}

/* Chat buttons - touch targets */
body.body-mobile .ai-advanced-action-btn,
body.body-mobile .ai-search-input-textarea-btn {
    /* min-height: 44px; - removed, too big */
    /* min-width: 44px; - removed, too big */
}

    body.body-mobile .ai-advanced-action-btn:active,
    body.body-mobile .ai-search-input-textarea-btn:active {
        transform: scale(0.95); /* Touch feedback */
    }

/* Chat messages scrolling */
body.body-mobile .ai-chat-messages-box {
    -webkit-overflow-scrolling: touch;
    padding-bottom: 120px; /* ADD PADDING so input doesn't cover messages */
}

/* Chat messages container - ensure proper spacing */
body.body-mobile #chatMessages {
    padding-bottom: 100px !important; /* Extra padding for input area */
}


/* Ensure content doesn't overflow horizontally */
body.body-mobile body,
body.body-mobile #ai-application {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}



body.body-mobile .ai-title-wrapper h1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important; /* Space between TFL, icon, Chat */
    flex-wrap: nowrap !important; /* Keep on one line */
}

    body.body-mobile .ai-title-wrapper h1 img {
        max-width: 40px !important; /* Limit AI icon size */
        height: auto !important;
    }



/* Document Comparison UI - Unified List */
.playbook-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .playbook-header-content h2 {
        margin: 0;
        color: var(--ai-text-strong);
        font-size: 24px;
        font-weight: 600;
    }

.playbook-header-icon {
    color: var(--ai-accent-strong);
    flex-shrink: 0;
}

.playbook-comparison-instructions {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--ai-accent-soft);
    border-left: 3px solid var(--ai-accent-strong);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ai-text-muted);
}

    .playbook-comparison-instructions svg {
        color: var(--ai-accent-strong);
        flex-shrink: 0;
        margin-top: 2px;
    }

    .playbook-comparison-instructions strong {
        color: var(--ai-text-strong);
        font-weight: 600;
    }

.playbook-comparison-selection-status {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: var(--ai-bg-page);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--ai-border-subtle);
}

.selection-status-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

    .selection-status-item svg {
        flex-shrink: 0;
        color: var(--ai-accent-strong);
    }

    .selection-status-item strong {
        color: var(--ai-text-strong);
    }

.status-text {
    color: var(--ai-text-muted);
}

    .status-text.selected {
        color: var(--ai-accent-strong);
        font-weight: 500;
    }

.status-arrow {
    flex-shrink: 0;
    color: var(--ai-text-soft);
}

.playbook-comparison-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

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

.playbook-doc-search-unified {
    width: 100%;
    background: var(--ai-bg-surface);
    border: 2px solid var(--ai-border-subtle);
    color: var(--ai-text-strong);
    padding: 12px 16px 12px 44px;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .playbook-doc-search-unified:focus {
        outline: none;
        border-color: var(--ai-accent-strong);
        background: var(--ai-bg-surface);
    }

    .playbook-doc-search-unified::placeholder {
        color: var(--ai-text-soft);
    }

.playbook-btn-upload,
.playbook-btn-refresh {
    background: var(--ai-bg-surface);
    border: 2px solid var(--ai-border-subtle);
    color: var(--ai-text-strong);
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.playbook-btn-upload {
    background: var(--ai-accent);
    border-color: var(--ai-accent);
    color: var(--ai-text-strong);
}

    .playbook-btn-upload:hover {
        background: var(--ai-accent-strong);
        border-color: var(--ai-accent-strong);
        transform: translateY(-1px);
    }

.playbook-btn-refresh:hover {
    background: var(--ai-bg-surface);
    border-color: var(--ai-accent-strong);
    color: var(--ai-accent-strong);
}

.playbook-btn-upload:disabled,
.playbook-btn-refresh:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}


    .playbook-comparison-document-list::-webkit-scrollbar {
        width: 8px;
    }

    .playbook-comparison-document-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .playbook-comparison-document-list::-webkit-scrollbar-thumb {
        background: var(--ai-bg-hover);
        border-radius: 4px;
    }

        .playbook-comparison-document-list::-webkit-scrollbar-thumb:hover {
            background: var(--ai-bg-hover);
        }

/* Playbook document lists - minimalist style */
.playbook-doc-list-item {
    display: flex;
    align-items: center;
    background-color: var(--ai-bg-page);
    border: 1px solid var(--ai-border-strong);
    border-radius: 4px;
    transition: all 0.15s;
    margin-bottom: 6px;
    cursor: pointer;
    padding: 10px 12px;
}

    .playbook-doc-list-item:hover {
        background-color: var(--ai-bg-elevated);
        border-color: var(--ai-accent-strong);
    }

/* Content wrapper */
.playbook-doc-content {
    flex: 1;
    min-width: 0;
}

.playbook-doc-name {
    color: var(--ai-text-muted);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Checkmark - hidden by default, visible when selected */
.playbook-doc-checkmark {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    margin-left: 8px;
    flex-shrink: 0;
    color: var(--ai-text-strong);
}

/* Selected states */
.playbook-doc-list-item.selected {
    background-color: var(--ai-accent);
}

    .playbook-doc-list-item.selected .playbook-doc-name {
        color: var(--ai-text-strong);
        font-weight: 500;
    }

    .playbook-doc-list-item.selected .playbook-doc-checkmark {
        opacity: 1;
        transform: scale(1);
    }


/* Comparison dual-select - Document 1 and 2 (Both Blue, numbered) */
.playbook-doc-list-item.selected-doc1,
.playbook-doc-list-item.selected-doc2 {
    background: rgba(82, 175, 234, 0.9) !important;
    border-color: var(--ai-accent-strong) !important;
}

    .playbook-doc-list-item.selected-doc1 .playbook-doc-checkmark,
    .playbook-doc-list-item.selected-doc2 .playbook-doc-checkmark {
        background: #fff;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .playbook-doc-list-item.selected-doc1 .playbook-doc-checkmark svg,
        .playbook-doc-list-item.selected-doc2 .playbook-doc-checkmark svg {
            display: none;
        }

        .playbook-doc-list-item.selected-doc1 .playbook-doc-checkmark::after {
            content: '1';
            color: var(--ai-accent-strong);
            font-weight: 700;
            font-size: 14px;
        }

        .playbook-doc-list-item.selected-doc2 .playbook-doc-checkmark::after {
            content: '2';
            color: var(--ai-accent-strong);
            font-weight: 700;
            font-size: 14px;
        }

.playbook-doc-loading,
.playbook-doc-no-results,
.playbook-doc-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: var(--ai-text-soft);
    font-size: 14px;
}

.playbook-doc-error {
    color: var(--ai-danger);
}

/* Upload notification */
.playbook-upload-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: var(--ai-text-strong);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

    .playbook-upload-notification.error {
        background: var(--ai-danger);
    }

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

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

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

.playbook-btn-upload svg.spinning,
.playbook-btn-refresh svg.spinning,
.playbook-doc-loading svg.spinning {
    animation: spin 1s linear infinite;
}

.playbook-doc-loading svg {
    color: var(--ai-accent-strong);
}
/* ============================================================================
   UNIFIED PLAYBOOK DIALOG STYLES - MINIMALIST DARK DESIGN
   ============================================================================ */

/* Overlay (backdrop) */
.playbook-comparison-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

/* Container - Clean, minimal shadow */
.playbook-comparison-container {
    background: var(--ai-bg-soft);
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

/* Header - Simple, flat */
.playbook-comparison-header {
    padding: 14px 20px;
    background: var(--ai-bg-surface);
    border-bottom: 1px solid var(--ai-border-strong);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header content with icon */
.playbook-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.playbook-header-icon {
    color: var(--ai-accent-strong);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.playbook-comparison-header h2 {
    margin: 0;
    color: var(--ai-text-strong);
    font-size: 16px;
    font-weight: 500;
}

/* Close button - SIMPLE like workspace (no animation) */
.playbook-comparison-close {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    display: flex;
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
}

.playbook-comparison-close:hover {
    background: var(--ai-bg-elevated);
    color: var(--ai-text-strong);
}

/* Body */
.playbook-comparison-body {
    padding: 16px 20px;
    overflow-y: auto;
    max-height: calc(85vh - 60px);
}

/* Info box - Subtle */
.playbook-comparison-instructions {
    background: var(--ai-accent-soft);
    border-left: 2px solid var(--ai-accent-strong);
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ai-text-muted);
}

.playbook-comparison-instructions svg {
    flex-shrink: 0;
    color: var(--ai-accent-strong);
    margin-top: 1px;
    width: 16px;
    height: 16px;
}

.playbook-comparison-instructions strong {
    color: var(--ai-accent-strong);
    font-weight: 500;
}

/* Selection status bar */
.playbook-comparison-selection-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 12px;
}

.selection-status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    color: var(--ai-text-muted);
}

.selection-status-item svg {
    color: var(--ai-accent-strong);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.selection-status-item strong {
    color: var(--ai-text-muted);
    font-weight: 500;
}

.status-text {
    color: var(--ai-text-soft);
}

.status-text.selected {
    color: var(--ai-accent-strong);
    font-weight: 500;
}

.status-arrow {
    color: var(--ai-text-soft);
    flex-shrink: 0;
}

/* Search and controls */
.playbook-comparison-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 10px;
    color: var(--ai-text-soft);
    pointer-events: none;
    width: 16px;
    height: 16px;
}

.playbook-doc-search-unified {
    width: 100%;
    padding: 8px 10px 8px 34px;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 4px;
    color: var(--ai-text-strong);
    font-size: 13px;
    transition: border-color 0.15s;
}

.playbook-doc-search-unified:focus {
    outline: none;
    border-color: var(--ai-accent-strong);
}

.playbook-doc-search-unified::placeholder {
    color: var(--ai-text-soft);
}

/* Upload/Refresh buttons */
.playbook-btn-upload,
.playbook-btn-refresh {
    padding: 8px 12px;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 4px;
    color: var(--ai-text-muted);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
    white-space: nowrap;
}

.playbook-btn-upload:hover,
.playbook-btn-refresh:hover {
    background: var(--ai-bg-elevated);
    border-color: var(--ai-accent-strong);
    color: var(--ai-accent-strong);
}

.playbook-btn-upload svg,
.playbook-btn-refresh svg {
    flex-shrink: 0;
}

.playbook-comparison-selectors {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    margin-bottom: 32px;
    align-items: start;
}

.playbook-comparison-divider {
    background: var(--ai-accent);
    color: var(--ai-text-strong);
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-top: 60px;
}

.playbook-doc-selector h3 {
    color: var(--ai-text-strong);
    font-size: 16px;
    margin: 0 0 12px 0;
}

.playbook-doc-search {
    width: 100%;
    padding: 12px 16px;
    background: var(--ai-bg-surface);
    border: 2px solid var(--ai-border-subtle);
    border-radius: 8px;
    color: var(--ai-text-strong);
    font-size: 14px;
    transition: border-color 0.2s;
}

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

.playbook-doc-results {
    margin-top: 12px;
    max-height: 300px;
    overflow-y: auto;
}


/* Old playbook-doc-result-item styles removed - now using ai-advanced-item structure */

/* Loading, no results, error states */
.playbook-doc-loading,
.playbook-doc-no-results,
.playbook-doc-error {
    padding: 40px 16px;
    text-align: center;
    color: var(--ai-text-soft);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.playbook-doc-loading svg {
    animation: spin 1s linear infinite;
}

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

/* Scrollbar for document list */
.playbook-comparison-document-list::-webkit-scrollbar {
    width: 6px;
}

.playbook-comparison-document-list::-webkit-scrollbar-track {
    background: var(--ai-bg-page);
}

.playbook-comparison-document-list::-webkit-scrollbar-thumb {
    background: var(--ai-bg-elevated);
    border-radius: 3px;
}

.playbook-comparison-document-list::-webkit-scrollbar-thumb:hover {
    background: var(--ai-bg-hover);
}

/* Actions footer - COMPACT */
.playbook-comparison-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--ai-border-strong);
}

.playbook-btn-secondary,
.playbook-btn-primary {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

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

.playbook-btn-secondary:hover {
    background: var(--ai-bg-elevated);
    border-color: var(--ai-accent-strong);
    color: var(--ai-accent-strong);
}

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

.playbook-btn-primary:hover:not(:disabled) {
    background: var(--ai-accent-strong);
    border-color: var(--ai-accent-strong);
}

.playbook-btn-primary:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.playbook-btn-primary svg,
.playbook-btn-secondary svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.playbook-comparison-results {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--ai-border-subtle);
}

.playbook-comparison-result-section {
    margin-bottom: 32px;
}

    .playbook-comparison-result-section h3 {
        color: var(--ai-text-strong);
        font-size: 18px;
        margin: 0 0 16px 0;
    }

.ai-commentary {
    background: var(--ai-bg-surface);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--ai-accent-strong);
}

    .ai-commentary p {
        color: var(--ai-text-muted);
        line-height: 1.6;
        margin: 8px 0;
    }

.comparison-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--ai-bg-surface);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Diff Viewer Styles */
.diff-viewer {
    background: var(--ai-bg-surface);
    padding: 24px;
    border-radius: 8px;
    max-height: 600px;
    overflow-y: auto;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 13px;
    line-height: 1.8;
    color: var(--ai-text-muted);
}

    .diff-viewer ins {
        background-color: rgba(74, 222, 128, 0.2);
        color: var(--ai-success);
        text-decoration: none;
        padding: 2px 4px;
        border-radius: 3px;
    }

    .diff-viewer del {
        background-color: rgba(248, 113, 113, 0.2);
        color: #f87171;
        text-decoration: line-through;
        padding: 2px 4px;
        border-radius: 3px;
    }

    .diff-viewer h1, .diff-viewer h2, .diff-viewer h3 {
        color: var(--ai-text-strong);
        margin: 16px 0 8px 0;
    }

    .diff-viewer p {
        margin: 8px 0;
    }


insdiff {
    text-decoration: inherit;
    --color1: #c8f0da;
    --color2: #c8f0da;
    --height: 100%;
    all: unset;
    background-image: linear-gradient(var(--color1), var(--color2));
    background-position: 100%;
    background-repeat: no-repeat;
    background-size: 0 var(--height);
}

deldiff {
    text-decoration: none;
    --color1: #ffcbbd;
    --color2: #ffcbbd;
    --height: 100%;
    all: unset;
    background-image: linear-gradient(var(--color1), var(--color2));
    background-position: 100%;
    background-repeat: no-repeat;
    background-size: var(--height);

}

/* ============================================================================
   PLAYBOOK BULK ANALYSIS - CHECKBOX COUNTER STYLE
   ============================================================================ */

/* Checkbox counter bar */
.bulk-selection-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--ai-accent-soft);
    border: 1px solid rgba(82, 175, 234, 0.3);
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
}

.bulk-selection-counter svg {
    color: var(--ai-accent-strong);
}

.bulk-selection-counter strong {
    color: var(--ai-accent-strong);
    font-weight: 600;
}

/* Bulk analysis styles removed - now using ai-advanced-item with checkboxes */

.playbook-bulk-results {
    margin-top: 24px;
    padding: 20px;
    background: var(--ai-tint-lift);
    border-radius: 12px;
    border: 1px solid var(--ai-tint-lift-strong);
}

.bulk-results-summary h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--ai-text-strong);
}

.bulk-results-summary p {
    color: var(--ai-text-body);
    line-height: 1.6;
}

.bulk-results-stats,
.bulk-results-types,
.bulk-results-missing {
    margin-top: 20px;
    padding: 16px;
    background: var(--ai-tint-lift);
    border-radius: 8px;
    border: 1px solid var(--ai-border-subtle);
}

.bulk-results-stats h4,
.bulk-results-types h4,
.bulk-results-missing h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: var(--ai-text-body);
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

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

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

.bulk-results-types ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bulk-results-types li {
    padding: 8px 12px;
    background: var(--ai-tint-lift);
    border-radius: 6px;
    color: var(--ai-text-body);
    font-size: 14px;
}

.bulk-results-missing p.small {
    font-size: 13px;
    color: var(--ai-text-muted);
    margin: 0;
}

/* ============================================================================
   LEGAL FOLDER FROM CASE - Styling
   ============================================================================ */

/* Input tabs */
.legalfolder-input-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
}

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

.legalfolder-tab:hover {
    color: var(--ai-text-body);
}

.legalfolder-tab.active {
    color: var(--ai-accent-strong);
    border-bottom-color: var(--ai-accent-strong);
}

.legalfolder-tab svg {
    width: 18px;
    height: 18px;
}

/* Tab content */
.legalfolder-tab-content {
    display: none;
}

.legalfolder-tab-content.active {
    display: block;
}

/* Input group */
.legalfolder-input-group {
    margin-bottom: 20px;
}

.legalfolder-input-group label {
    display: block;
    color: var(--ai-text-body);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.legalfolder-textarea {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-tint-lift-strong);
    border-radius: 8px;
    color: var(--ai-text-body);
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit;
}

.legalfolder-textarea:focus {
    outline: none;
    border-color: var(--ai-accent-strong);
    background: var(--ai-tint-lift);
}

.legalfolder-textarea::placeholder {
    color: var(--ai-text-soft);
}

.legalfolder-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-tint-lift-strong);
    border-radius: 8px;
    color: var(--ai-text-body);
    font-size: 14px;
}

.legalfolder-input:focus {
    outline: none;
    border-color: var(--ai-accent-strong);
    background: var(--ai-tint-lift);
}

.legalfolder-input::placeholder {
    color: var(--ai-text-soft);
}

/* Upload zone */
.legalfolder-upload-zone {
    border: 2px dashed var(--ai-tint-hairline);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    background: var(--ai-tint-lift);
    transition: all 0.2s;
    cursor: pointer;
    margin-bottom: 20px;
}

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

.legalfolder-upload-zone.dragover {
    border-color: var(--ai-accent-strong);
    background: var(--ai-accent-soft);
    transform: scale(1.02);
}

.legalfolder-upload-zone svg {
    color: var(--ai-text-soft);
    margin-bottom: 12px;
}

.legalfolder-upload-zone h3 {
    color: var(--ai-text-body);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.legalfolder-upload-zone p {
    color: var(--ai-text-muted);
    font-size: 13px;
    margin: 0 0 16px 0;
}

.legalfolder-browse-btn {
    padding: 8px 16px;
    background: var(--ai-accent-soft-strong);
    border: 1px solid var(--ai-accent-strong);
    border-radius: 6px;
    color: var(--ai-accent-strong);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.legalfolder-browse-btn:hover {
    background: rgba(82, 175, 234, 0.25);
}

/* File list */
.legalfolder-file-list {
    margin-top: 16px;
}

.legalfolder-files-header {
    color: var(--ai-text-muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legalfolder-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-tint-lift-strong);
    border-radius: 8px;
    margin-bottom: 8px;
}

.legalfolder-file-item svg {
    flex-shrink: 0;
    color: var(--ai-accent-strong);
}

.legalfolder-file-info {
    flex: 1;
    min-width: 0;
}

.legalfolder-file-name {
    display: block;
    color: var(--ai-text-body);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.legalfolder-file-size {
    display: block;
    color: var(--ai-text-muted);
    font-size: 12px;
    margin-top: 2px;
}

.legalfolder-file-remove {
    flex-shrink: 0;
    padding: 6px;
    background: transparent;
    border: none;
    color: var(--ai-text-soft);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.legalfolder-file-remove:hover {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
}

/* ================================================
   CASE REPORT PLAYBOOK STYLES
   ================================================ */

.casereport-workspace-selector {
    margin-top: 16px;
}

.casereport-workspace-selector label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-text-muted);
    margin-bottom: 8px;
}

.casereport-dropdown {
    width: 100%;
    padding: 12px 16px;
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-tint-lift-strong);
    border-radius: 8px;
    color: var(--ai-text-strong);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.casereport-dropdown:hover {
    border-color: var(--ai-tint-hairline);
}

.casereport-dropdown:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.casereport-dropdown option {
    background: var(--ai-bg-page);
    color: var(--ai-text-strong);
}

.casereport-workspace-preview {
    margin-top: 20px;
    padding: 16px;
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-border-subtle);
    border-radius: 10px;
}

.casereport-workspace-preview h4 {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--ai-text-muted);
}

.casereport-counts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
}

.casereport-count-item {
    padding: 12px;
    background: var(--ai-tint-lift);
    border-radius: 8px;
    text-align: center;
}

.casereport-count-item .count-number {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: var(--ai-text-strong);
}

.casereport-count-item .count-label {
    display: block;
    font-size: 11px;
    color: var(--ai-text-muted);
    margin-top: 4px;
}

.casereport-loading,
.casereport-error,
.casereport-empty {
    text-align: center;
    padding: 16px;
    color: var(--ai-text-muted);
    font-size: 13px;
}

.casereport-error {
    color: var(--ai-danger);
}

.casereport-empty {
    color: var(--ai-warning);
}

.casereport-options {
    margin-top: 20px;
    padding: 16px;
    background: var(--ai-tint-lift);
    border: 1px solid var(--ai-tint-lift);
    border-radius: 8px;
}

.casereport-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--ai-text-body);
    font-size: 14px;
}

.casereport-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
    cursor: pointer;
}

/* Voice Control Styles - see main styles below */

#voice-status.recording {
    color: var(--ai-danger);
    font-weight: 500;
}

#voice-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#voice-message.show {
    opacity: 1;
}

#voice-message.success {
    background: #10b981;
    color: white;
}

#voice-message.error {
    background: var(--ai-danger);
    color: white;
}

#voice-message.info {
    background: #3b82f6;
    color: white;
}

/* Voice Recording - Minimal Indicator */
/* Textarea gets red glow border when recording */
.voice-recording-active .ai-search-textarea-container {
    box-shadow: 0 0 0 2px #ef4444, 0 0 12px rgba(239, 68, 68, 0.3);
    border-color: var(--ai-danger);
    transition: box-shadow 0.2s ease;
}

/* Mic button pulsing when recording */
#voice-input-btn.recording {
    color: var(--ai-danger);
    animation: mic-pulse 1.5s ease-in-out infinite;
}

@keyframes mic-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Interim text style (uncertain words) */
.voice-interim {
   
    user-select: none;
}

/* Microphone Permission Instructions */
.mic-permission-instructions {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    animation: mic-instructions-slide-in 0.3s ease-out;
}

@keyframes mic-instructions-slide-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mic-instructions-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    max-width: 360px;
    overflow: hidden;
}

.mic-instructions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fef2f2;
    border-bottom: 1px solid #fecaca;
    color: #dc2626;
    font-weight: 600;
    font-size: 14px;
}

.mic-instructions-icon {
    font-size: 18px;
}

.mic-instructions-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.mic-instructions-close:hover {
    color: var(--ai-text-soft);
}

.mic-instructions-body {
    padding: 16px;
}

.mic-instructions-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 8px;
}

.mic-arrow-icon {
    font-size: 24px;
    animation: mic-arrow-bounce 1s ease-in-out infinite;
}

@keyframes mic-arrow-bounce {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-4px, -4px); }
}

.mic-arrow-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: var(--ai-text-soft);
}

.mic-instructions-text {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.mic-instructions-note {
    margin: 12px 0 0 0;
    padding: 8px 12px;
    background: #fef9c3;
    border-radius: 6px;
    font-size: 13px;
    color: #854d0e;
    line-height: 1.4;
}

.mic-instructions-footer {
    padding: 12px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.mic-instructions-btn {
    width: 100%;
    padding: 10px 16px;
    background: #2563eb;
    color: var(--ai-text-strong);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.mic-instructions-btn:hover {
    background: #1d4ed8;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* Premium Upgrade Modal */
/* ═══════════════════════════════════════════════════════════════════════ */

/* Premium Upgrade Modal */
.ai-premium-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ai-premium-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ai-premium-modal {
    background: var(--ai-bg-surface);
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.ai-premium-modal-overlay.active .ai-premium-modal {
    transform: scale(1);
}

.ai-premium-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ai-premium-modal-icon svg {
    width: 32px;
    height: 32px;
    color: #1f2937;
}

.ai-premium-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ai-text-strong);
    margin-bottom: 12px;
}

.ai-premium-modal-feature {
    font-size: 16px;
    color: #fbbf24;
    margin-bottom: 16px;
    font-weight: 500;
}

.ai-premium-modal-description {
    font-size: 15px;
    color: var(--ai-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.ai-premium-modal-benefits {
    text-align: left;
    background: var(--ai-bg-surface);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.ai-premium-modal-benefits-title {
    font-size: 14px;
    color: var(--ai-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-premium-modal-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #e5e7eb;
    font-size: 14px;
}

.ai-premium-modal-benefit svg {
    color: var(--ai-success);
    flex-shrink: 0;
}

.ai-premium-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ai-premium-modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

.ai-premium-modal-btn-primary:hover {
    background: var(--ai-accent-strong);
    transform: translateY(-1px);
}

.ai-premium-modal-btn-secondary {
    background: var(--ai-bg-elevated);
    color: var(--ai-text-body);
}

.ai-premium-modal-btn-secondary:hover {
    background: var(--ai-bg-hover);
}

/* Mobile adjustments for premium modal */
body.body-mobile .ai-premium-modal {
    padding: 24px;
    margin: 16px;
}

body.body-mobile .ai-premium-modal-title {
    font-size: 20px;
}

body.body-mobile .ai-premium-modal-actions {
    flex-direction: column;
}

/* Playbook result card - dark mode compatible */
.ai-playbook-result {
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.ai-playbook-result-header {
    font-size: 0.9em;
    color: var(--ai-text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.ai-playbook-download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--ai-accent);
    border-radius: 6px;
    text-decoration: none;
    color: var(--ai-text-strong);
    font-weight: 500;
    transition: all 0.2s ease;
}

.ai-playbook-download-btn:hover {
    background: var(--ai-accent-fill-hover);
    color: var(--ai-text-strong);
    text-decoration: none;
    transform: translateY(-1px);
}

.ai-playbook-download-btn svg {
    flex-shrink: 0;
}

.ai-playbook-download-btn .ai-download-filename {
    word-break: break-all;
    line-height: 1.3;
}

.ai-playbook-result-meta {
    font-size: 0.8em;
    color: var(--ai-text-soft);
    margin-top: 10px;
    padding-left: 2px;
}

/* Playbook comparison title - light text for dark mode */
.ai-right-panel-comparison-title {
    color: var(--ai-text-body);
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ai-border-strong);
}

/* Diff content styling - ensure text readability */
.ai-right-panel-diff-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    position: relative;
}

/* Diff minimap — vertical scroll indicator strip */
.ai-diff-minimap {
    position: sticky;
    top: 0;
    float: left;
    width: 8px;
    height: 100vh;
    margin-left: -12px;
    margin-right: 4px;
    background: var(--ai-tint-lift);
    border-radius: 4px;
    z-index: 2;
}

.ai-diff-marker {
    display: block;
    position: absolute;
    left: 0;
    width: 8px;
    height: 3px;
    border-radius: 1px;
    cursor: pointer;
    transition: opacity 0.15s ease;
    opacity: 0.7;
}

.ai-diff-marker:hover {
    opacity: 1;
}

.ai-diff-marker-ins {
    background: var(--ai-accent-strong);
    width: 4px;
    left: 0;
}

.ai-diff-marker-del {
    background: var(--ai-bg-hover);
    width: 4px;
    left: 4px;
}

.ai-right-panel-diff-html {
    color: var(--ai-text-body);
    line-height: 1.6;
    font-size: 14px;
    padding: 16px;
}

/* Override Pelee document layout classes — designed for 1200px+, not 674px panel.
   Styled to match the standard law preview (ai-right-panel-block / ai-right-panel-paragraph). */
.ai-right-panel-diff-html .node .node-content,
.ai-right-panel-diff-html .node .block-content {
    margin-left: 0;
    margin-right: 0;
    border-color: transparent;
}

.ai-right-panel-diff-html .node {
    border-color: transparent;
    border-bottom: none;
    margin: 0;
    padding: 2px 0;
}

.ai-right-panel-diff-html .node:hover {
    background-color: transparent !important;
}

.ai-right-panel-diff-html .node .block-content {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-text-body);
    padding: 8px 0;
    margin-bottom: 4px;
}

.ai-right-panel-diff-html .node .node-content {
    text-align: left;
    font-size: 14px;
    padding: 4px 0;
    color: var(--ai-text-body);
}

/* Diff highlight colors — insdiff/deldiff custom tags from DiffChecker */
.ai-right-panel-diff-html insdiff {
    all: unset;
    background: var(--ai-accent-soft-strong);
    color: #9dd4f5;
    padding: 1px 2px;
    border-radius: 2px;
}

.ai-right-panel-diff-html deldiff {
    all: unset;
    background: var(--ai-tint-lift);
    color: var(--ai-text-muted);
    text-decoration: line-through;
    padding: 1px 2px;
    border-radius: 2px;
}

/* Fallback for standard ins/del tags */
.ai-right-panel-diff-html ins,
.ai-right-panel-diff-html .diff-ins {
    background: var(--ai-accent-soft-strong);
    color: #9dd4f5;
    text-decoration: none;
    padding: 1px 2px;
    border-radius: 2px;
}

.ai-right-panel-diff-html del,
.ai-right-panel-diff-html .diff-del {
    background: var(--ai-tint-lift);
    color: var(--ai-text-muted);
    text-decoration: line-through;
    padding: 1px 2px;
    border-radius: 2px;
}

/* ========================================
   WORKSPACE DIALOG STYLES
   ======================================== */

/* Workspace button in document preview */
.ai-right-panel-workspace-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--ai-text-muted);
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-right-panel-workspace-btn:hover {
    background: var(--ai-tint-lift-strong);
    color: var(--ai-accent-hover);
}

.ai-right-panel-workspace-btn:active {
    transform: scale(0.95);
}

.ai-right-panel-workspace-btn svg {
    width: 18px;
    height: 18px;
}

/* Workspace dialog popup */
.ai-workspace-dialog {
    position: absolute;
    background: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 0;
    width: 300px;
    max-width: calc(100vw - 20px);
    z-index: 99999999999;
    overflow: hidden;
}

.ai-workspace-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ai-border-strong);
    background: var(--ai-bg-elevated);
}

.ai-workspace-dialog-title {
    color: var(--ai-text-strong);
    font-size: 14px;
    font-weight: 600;
}

.ai-workspace-dialog-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--ai-text-muted);
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-workspace-dialog-close:hover {
    background: var(--ai-tint-lift-strong);
    color: var(--ai-text-strong);
}

.ai-workspace-search {
    width: calc(100% - 32px);
    margin: 12px 16px;
    padding: 10px 14px;
    background: var(--ai-table-bg);
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    color: var(--ai-text-strong);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.ai-workspace-search:focus {
    border-color: #4fc3f7;
}

.ai-workspace-search::placeholder {
    color: #757575;
}

.ai-workspace-list {
    max-height: 240px;
    overflow-y: auto;
    padding: 0 8px 8px 8px;
}

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

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

.ai-workspace-list::-webkit-scrollbar-thumb {
    background: var(--ai-bg-hover);
    border-radius: 3px;
}

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

.ai-workspace-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    margin: 4px 0;
    cursor: pointer;
    border-radius: 8px;
    background: transparent;
    transition: all 0.15s ease;
}

.ai-workspace-item:hover {
    background: rgba(79, 195, 247, 0.15);
}

.ai-workspace-item:active {
    background: rgba(79, 195, 247, 0.25);
    transform: scale(0.98);
}

.ai-workspace-item-name {
    color: var(--ai-text-strong);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
}

.ai-workspace-item-count {
    color: var(--ai-text-muted);
    font-size: 12px;
    flex-shrink: 0;
}

.ai-workspace-loading,
.ai-workspace-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--ai-text-muted);
    font-size: 14px;
}

/* Toast notification */
.ai-workspace-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #4fc3f7;
    color: #000000;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 999999999999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    animation: toastSlideUp 0.3s ease;
}

.ai-workspace-toast-error {
    background: #ef5350;
    color: var(--ai-text-strong);
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   AI MODAL STYLES
   Extracted from: site-desktop-1.5.css (lines 13903-13954)
   ============================================ */

.ai-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.ai-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--ai-border-strong);
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.ai-close-button {
    color: var(--ai-text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .ai-close-button:hover,
    .ai-close-button:focus {
        color: black;
        text-decoration: none;
    }

/* ============================================
   AI DARK MODE ALERT OVERRIDES
   Extracted from: site-desktop-1.5.css (lines 14503-14600)
   ============================================ */

.ialert-backdrop.ai-dark-alert .ialert-modal,
.ai-dark-alert.ialert-modal {
    background-color: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
}

.ialert-backdrop.ai-dark-alert .ialert-modal-header,
.ai-dark-alert .ialert-modal-header {
    border-bottom: 1px solid var(--ai-border-strong);
}

.ialert-backdrop.ai-dark-alert .ialert-modal-title,
.ai-dark-alert .ialert-modal-title {
    color: var(--ai-text-strong);
}

.ialert-backdrop.ai-dark-alert .ialert-modal-body,
.ai-dark-alert .ialert-modal-body,
.ialert-backdrop.ai-dark-alert .ialert-modal-body p,
.ai-dark-alert .ialert-modal-body p {
    color: var(--ai-text-muted);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-ok,
.ai-dark-alert .ialert-btn-ok {
    background-color: var(--ai-accent);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-ok:hover,
.ai-dark-alert .ialert-btn-ok:hover {
    background-color: var(--ai-accent-fill-hover);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-cancel,
.ai-dark-alert .ialert-btn-cancel {
    background-color: var(--ai-bg-elevated);
    color: var(--ai-text-muted);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-cancel:hover,
.ai-dark-alert .ialert-btn-cancel:hover {
    background-color: var(--ai-bg-hover);
    color: var(--ai-text-strong);
}

/* ============================================
   AI CONTENT CONTROLS
   Extracted from: site-desktop-1.5.css (lines 14672-14749)
   ============================================ */

#ai-content-close {
    cursor: pointer;
    background-color: transparent;
    border-radius: 50%;
    padding: 5px;
    transition: background-color 0.3s;
}

    #ai-content-close:hover {
        background-color: var(--ai-tint-lift);
    }

#ai-content-container {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 16px;
}

#ai-content-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
}

#ai-copy {
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    color: var(--ai-text-muted);
    transition: all 0.2s;
}

    #ai-copy:hover {
        background-color: var(--ai-tint-lift);
        color: var(--ai-text-strong);
    }

/* ============================================
   AI LEGAL MAP / RESEARCH STYLES
   Extracted from: site-desktop-1.5.css (lines 16031-16180)
   ============================================ */

.ai-raziskovanje-container {
    background-color: var(--ai-bg-surface);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    border-left: 4px solid var(--ai-accent);
}

.ai-raziskovanje-title {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--ai-text-strong);
    border-bottom: 1px solid var(--ai-border-strong);
    padding-bottom: 10px;
}

.ai-raziskovanje-section {
    margin-bottom: 20px;
    background-color: var(--ai-bg-elevated);
    border-radius: 6px;
    overflow: hidden;
}

    .ai-raziskovanje-section h3 {
        background-color: var(--ai-bg-hover);
        padding: 8px 12px;
        margin: 0;
        font-size: 1rem;
        color: var(--ai-text-strong);
    }

.ai-raziskovanje-content {
    padding: 12px 16px;
}

.ai-raziskovanje-zakon {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ai-border-strong);
}

    .ai-raziskovanje-zakon:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.ai-raziskovanje-zakon-title {
    font-weight: bold;
    color: var(--ai-accent-strong);
    margin-bottom: 4px;
}

.ai-raziskovanje-zakon-cleni {
    margin-left: 16px;
    font-style: italic;
    font-size: 0.9rem;
    color: #ccc;
}

.ai-raziskovanje-zakon-opis {
    margin-top: 4px;
}

.ai-raziskovanje-sodba {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ai-border-strong);
}

    .ai-raziskovanje-sodba:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.ai-raziskovanje-sodba-title {
    font-weight: bold;
    color: var(--ai-accent-strong);
    margin-bottom: 6px;
}

.ai-raziskovanje-sodba-opis {
    font-size: 0.95rem;
}

.ai-raziskovanje-izracun {
    background-color: var(--ai-bg-hover);
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
}

.ai-raziskovanje-izracun-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.ai-raziskovanje-izracun-formula {
    font-family: monospace;
    background-color: var(--ai-bg-surface);
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.ai-raziskovanje-izracun-primer {
    border-left: 2px solid var(--ai-accent-strong);
    padding-left: 8px;
    margin-top: 8px;
}

.ai-raziskovanje-izjema {
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

    .ai-raziskovanje-izjema::before {
        content: "\2022";
        position: absolute;
        left: 0;
        color: var(--ai-accent-strong);
    }

.ai-raziskovanje-concept-tag {
    display: inline-block;
    background-color: var(--ai-bg-elevated);
    color: var(--ai-text-strong);
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.ai-raziskovanje-main-concept-tag {
    background-color: var(--ai-accent);
    font-weight: bold;
}

.ai-raziskovanje-related-concepts-container,
.ai-raziskovanje-legal-basis-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ai-raziskovanje-legal-basis-tag {
    display: inline-block;
    background-color: var(--ai-bg-hover);
    color: var(--ai-text-body);
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    border-left: 3px solid var(--ai-accent-strong);
}

@media (max-width: 768px) {
    .ai-raziskovanje-container,
    .ai-raziskovanje-board {
        padding: 12px;
    }

    .ai-raziskovanje-section h3 {
        font-size: 0.9rem;
    }

    .ai-raziskovanje-concept-tag,
    .ai-raziskovanje-legal-basis-tag {
        font-size: 0.8rem;
    }
}

/* ============================================
   AI RIGHT PANEL STYLES
   Extracted from: site-desktop-1.5.css (lines 17927-18440)
   ============================================ */

.ai-right-panel-container,
#ai-advanced-sources-panel {
    position: fixed;
    top: var(--header-height);
    right: -100vw;
    width: var(--panel-width);
    max-width: var(--panel-width);
    min-width: 320px;
    height: calc(100% - var(--header-height));
    background: var(--ai-bg-page);
    z-index: 999;
    overflow: hidden;
    transition: right 0.5s ease;
    border: 1px solid var(--ai-border-subtle);
    display: flex;
    flex-direction: column;
}

    .ai-right-panel-container.active,
    #ai-advanced-sources-panel.active {
        right: 0;
    }

@media screen and (min-width: 900px) {
    .panel-active .ai-chat-container,
    .panel-active .ai-chat-bottom-wrapper,
    .panel-active .ai-chat-messages-box,
    .panel-active .ai-search-container,
    .panel-active #court-chat-container {
        width: calc(100% - var(--panel-width) - 100px);
        transition: width 0.3s ease;
        margin-left: 85px;
    }
}

@media screen and (max-width: 899px) {
    .ai-right-panel-container,
    #ai-advanced-sources-panel {
        width: 90vw;
        max-width: 450px;
    }

    .panel-active .ai-chat-container,
    .panel-active .ai-chat-bottom-wrapper,
    .panel-active .ai-chat-messages-box,
    .panel-active .ai-search-container,
    .panel-active #court-chat-container {
        width: 100% !important;
    }
}

.ai-right-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
    flex-shrink: 0;
}

.ai-right-panel-header-content {
    flex: 1;
    overflow: hidden;
    margin-left: 10px;
}

.ai-right-panel-question {
    font-size: 12px;
    color: var(--ai-text-muted);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-right-panel-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ai-text-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

    .ai-right-panel-title a {
        all: unset;
    }

    .ai-right-panel-title:hover {
        color: var(--ai-accent-strong);
        text-decoration: underline;
    }

.ai-right-panel-close {
    background: transparent;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ai-right-panel-close:hover {
        color: var(--ai-text-body);
    }

.ai-right-panel-controls {
    padding: 10px 16px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.ai-right-panel-controls-left {
    display: flex;
    align-items: center;
}

.ai-right-panel-copy {
    background: transparent;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ai-right-panel-copy:hover {
        color: var(--ai-text-body);
    }

.ai-right-panel-date {
    font-size: 12px;
    color: var(--ai-text-muted);
}

.ai-right-panel-content {
    flex-grow: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    line-height: 1.5;
}

    .ai-right-panel-content::-webkit-scrollbar {
        height: 1rem;
        width: 0.5rem;
    }

    .ai-right-panel-content::-webkit-scrollbar-thumb {
        background-color: var(--ai-bg-hover) !important;
        border-color: var(--ai-tint-hairline);
        border-radius: 9999px;
        border-width: 0px;
    }

.ai-right-panel-document-content {
    padding: 16px;
    color: var(--ai-text-body);
}

.ai-right-panel-document-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-text-body);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
}

.ai-right-panel-block-title {
    color: var(--ai-text-body);
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
}

    .ai-right-panel-block-title a {
        all: unset;
        cursor: pointer;
        color: inherit;
    }

    .ai-right-panel-block-title:hover {
        color: var(--ai-accent-strong);
        text-decoration: underline;
        cursor: pointer;
    }

.ai-right-panel-block-content {
    font-size: 14px;
    color: var(--ai-text-body);
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
}

.ai-right-panel-content-match {
    background: var(--ai-accent-soft-strong);
    border-left: 3px solid var(--ai-accent-strong);
    border-radius: 0 4px 4px 0;
}

.ai-right-panel-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--ai-text-muted);
    padding: 20px;
}

.ai-right-panel-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--ai-tint-lift-strong);
    border-top: 3px solid var(--ai-accent-strong);
    border-radius: 50%;
    animation: ai-right-panel-spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes ai-right-panel-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ai-right-panel-error {
    padding: 16px;
    margin: 16px;
    background: var(--ai-danger-soft);
    border-left: 3px solid var(--ai-danger);
    border-radius: 0 4px 4px 0;
    color: var(--ai-text-body);
}

.ai-right-panel-notification {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(81, 175, 234, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1010;
}

.ai-right-panel-document {
    padding: 4px;
    margin-bottom: 16px;
}

.ai-right-panel-document-header {
    margin-bottom: 16px;
}

.ai-right-panel-document-institutiTags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ai-right-panel-tag {
    background: var(--ai-accent-soft-strong);
    color: var(--ai-text-body);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.ai-right-panel-document-section {
    margin-bottom: 24px;
    border-radius: 6px;
    padding: 12px;
}

.ai-right-panel-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-text-body);
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
}

.ai-right-panel-section-content {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ai-text-body);
}

.ai-right-panel-paragraph-title {
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: var(--ai-text-body);
}

.ai-right-panel-paragraph {
    display: flex;
    font-size: 14px;
    padding: 8px 12px;
    margin: 2px 0px;
    border-radius: 4px;
    gap: 10px;
}

.ai-right-panel-paragraph-number {
    display: none;
    flex-shrink: 0;
    font-weight: 600;
    color: var(--ai-text-muted);
    margin-right: 8px;
    min-width: 24px;
}

.ai-right-panel-paragraph-content {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ai-text-body) !important;
    margin-bottom: 12px;
}

    .ai-right-panel-paragraph-content h3 {
        color: var(--ai-text-body) !important;
    }

.ai-right-panel-metadata-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
}

.ai-right-panel-metadata-name {
    color: var(--ai-text-muted);
    font-size: 13px;
}

.ai-right-panel-metadata-value {
    color: var(--ai-text-body);
    font-size: 13px;
}

.ai-right-panel-document-metadata {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-bottom: 12px;
    padding: 10px;
}

.ai-right-panel-metadata-item {
    display: flex;
    align-items: center;
}

/* ============================================
   AI DATE FILTER DIALOG
   Extracted from: site-desktop-1.5.css (lines 19417-19620)
   ============================================ */

.ai-date-filter-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-date-filter-container {
    border-radius: 8px;
    padding: 0;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    background: var(--ai-table-bg);
    z-index: 999;
    overflow: hidden;
    transition: right 0.5s ease;
    border: 1px solid var(--ai-border-subtle);
    display: flex;
    flex-direction: column;
}

.ai-date-filter-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

    .ai-date-filter-header h3 {
        margin: 0;
        color: var(--ai-text-muted);
        font-size: 18px;
    }

.ai-date-filter-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    color: var(--ai-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .ai-date-filter-close:hover {
        background-color: #f5f5f5;
    }

.ai-date-filter-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .ai-date-filter-content p {
        margin: 0 0 15px 0;
        color: var(--ai-text-muted);
    }

.ai-date-filter-actions {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

    .ai-date-filter-actions button {
        padding: 8px 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
        background: #f8f9fa;
        transition: background-color 0.2s;
        font-family: 'Open Sans';
        font-weight: bold;
        font-size: 12px;
    }

        .ai-date-filter-actions button:hover {
            background-color: #e9ecef;
        }

.ai-date-filter-clear {
    background-color: var(--ai-danger) !important;
    color: white !important;
    border-color: var(--ai-danger) !important;
}

    .ai-date-filter-clear:hover {
        background-color: #c82333 !important;
    }

#ai-date-filter-calendar .ui-datepicker {
    position: static !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    background: none;
    min-width: 300px;
}

#ai-date-filter-calendar .ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: .2em 0;
    background: none;
    border: none;
}

#ai-date-filter-picker {
    border: none !important;
    background: none;
    pointer-events: none;
    height: 0px !important;
    padding: 0px !important;
}

    #ai-date-filter-picker:active,
    #ai-date-filter-picker:focus {
        border: none !important;
        outline: none;
    }

.ai-date-filter-dialog .ui-widget-content {
    background: var(--ai-bg-hover);
    background-color: var(--ai-bg-hover);
    border: none;
    color: var(--ai-text-strong);
    border-radius: 1rem;
    padding: 0.1rem 0.4rem;
    font-family: 'Open Sans';
}

.ai-date-filter-dialog .ui-state-highlight,
.ai-date-filter-dialog .ui-widget-content .ui-state-highlight,
.ai-date-filter-dialog .ui-widget-header .ui-state-highlight {
    border: none;
    background: var(--ai-accent) !important;
    font-weight: normal;
    color: var(--ai-text-strong);
}

.ai-date-filter-dialog .ui-state-default,
.ai-date-filter-dialog .ui-widget-content .ui-state-default,
.ai-date-filter-dialog .ui-widget-header .ui-state-default,
.ai-date-filter-dialog .ui-button,
.ai-date-filter-dialog html .ui-button.ui-state-disabled:hover,
.ai-date-filter-dialog html .ui-button.ui-state-disabled:active {
    border: none;
    background: var(--ai-bg-hover);
    font-weight: normal;
    color: var(--ai-text-strong);
    font-family: 'Open Sans';
    padding: 10px;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
}

    .ai-date-filter-dialog .ui-state-default:hover,
    .ai-date-filter-dialog .ui-widget-content .ui-state-default:hover {
        background: rgb(57, 57, 60);
    }

.ai-date-filter-dialog .ui-widget-header {
    border: 1px solid #dddddd;
    background: var(--ai-bg-hover);
    color: var(--ai-text-strong);
    font-weight: bold;
    border: none;
    font-family: 'Open Sans';
}

.ai-date-filter-dialog .ui-datepicker-prev,
.ai-date-filter-dialog .ui-datepicker-next {
    display: none;
    font-family: 'Open Sans';
}

.ai-date-filter-dialog .ui-datepicker-title {
    display: flex !important;
    margin: 0px;
    font-family: 'Open Sans';
}

    .ai-date-filter-dialog .ui-datepicker-title select {
        margin: 1px 1rem;
        background: var(--ai-bg-hover);
        border: none;
        border-radius: 1rem;
        color: var(--ai-text-strong);
        font-family: 'Open Sans';
    }

/* ============================================
   AI COPY & TTS BUTTON FEEDBACK
   Extracted from: site-desktop-1.5.css (lines 20674-20776)
   ============================================ */

.ai-right-panel-copy {
    position: relative;
    overflow: visible;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-right-panel-copy.tfl-doc-ai-copy-success {
    box-shadow: 0 0 0 1px rgba(81, 175, 234, 0.5),
                0 0 8px rgba(81, 175, 234, 0.25);
}

    .ai-right-panel-copy.tfl-doc-ai-copy-success svg {
        stroke: var(--ai-accent-strong) !important;
    }

.ai-right-panel-copy.tfl-doc-ai-copy-error {
    box-shadow: 0 0 0 1px rgba(244, 67, 54, 0.5),
                0 0 8px rgba(244, 67, 54, 0.25);
}

.tfl-doc-ai-copy-notification {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(8px);
    background: var(--ai-bg-elevated);
    color: var(--ai-accent-strong);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(81, 175, 234, 0.3);
    letter-spacing: 0.3px;
    z-index: 10000;
}

    .tfl-doc-ai-copy-notification.show {
        opacity: 1;
        transform: translateX(-50%) translateY(12px);
    }

    .tfl-doc-ai-copy-notification.error {
        color: var(--ai-danger);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5),
                    0 0 0 1px rgba(244, 67, 54, 0.3);
    }

    .tfl-doc-ai-copy-notification::before {
        content: '';
        position: absolute;
        left: 50%;
        top: -4px;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid var(--ai-bg-elevated);
    }

/* Azure TTS Loading State */
.ai-tts-toggle-btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

    .ai-tts-toggle-btn.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid transparent;
        border-top-color: var(--ai-accent-strong);
        border-radius: 50%;
        animation: ttsLoadingSpin 0.8s linear infinite;
    }

    .ai-tts-toggle-btn.loading svg {
        visibility: hidden;
    }

@keyframes ttsLoadingSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}




/* ============================================
   AI STYLES EXTRACTED FROM site-desktop-1.5.css
   Extraction date: 2026-01-29
   ============================================ */

#ai-promo-slider {
    margin: 0px;
}

/*Ai*/

#ai-wrapper {
    float: right;
    overflow-y: hidden;
    position: relative;
    margin: 0px 5px 0px 15px;
    height: 32px;/*recimo*/
    z-index: 1001;
}

#ai-icon {
    width: 32px;
    display: inline-flex;
    height: 32px;
    border-radius: 50%;
    -ms-border-radius: 50%;
    /*  background-color: var(--ai-accent-strong);*/
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    overflow: hidden;
    /*   box-shadow: 0px 3px 6px 0px #00000044;*/
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

#ai-icon img {
        max-width: 32px;
        max-height: 32px;
    }

#ai-icon img:hover {
            animation: fullCircle 1s ease-in-out;
        }

@keyframes fullCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes aiReading {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(15deg);
    }
}

#ai-dialog {
    display: none;
    position: fixed;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 3px 6px 0px #00000044;
    -webkit-box-shadow: 0px 3px 6px 0px #00000044;
    -moz-box-shadow: 0px 3px 6px 0px #00000044;
    width: 250px;
    border-radius: 10px;
    -ms-border-radius: 10px;
    scroll-behavior: smooth;
    transition: right 0.5s ease;
    z-index: 5000;
}

#ai-dialog::-webkit-scrollbar {
        width: 10px;
        background: #fff;
        border-radius: 10px;
        -ms-border-radius: 10px;
    }

#ai-dialog::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -ms-border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px #00000044;
        background: #c7c7c7;
    }

.turn-right {
    right: 0px;
    width: 45vw !important;
    max-height: 45vh !important;
    overflow-y: scroll;
    overflow-x: hidden;
}

#ai-minimize {
    position: absolute;
    top: 10px;
    right: 30px;
    cursor: pointer;
    background-color: #c7c7c7;
    border-radius: 50%;
    -ms-border-radius: 50%;
    width: 15px;
    height: 15px;
    text-align: center;
    line-height: 15px;
    font-size: 8px;
    font-weight: bold;
    color: var(--ai-text-placeholder);
    transition: background-color 0.3s;
}

.ai-exit {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background-color: #c7c7c7;
    border-radius: 50%;
    -ms-border-radius: 50%;
    width: 15px;
    height: 15px;
    text-align: center;
    line-height: 15px;
    font-size: 8px;
    font-weight: bold;
    color: var(--ai-text-strong);
    transition: background-color 0.3s;
}

#ai-minimize:hover,
#ai-copy:hover,
#ai-exit:hover {
    -webkit-box-shadow: 0px 3px 6px 0px #00000044 inset;
    -moz-box-shadow: 0px 3px 6px 0px #00000044 inset;
    box-shadow: 0px 3px 6px 0px #00000044 inset;
}

#ai-dropdown ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

#ai-dropdown li {
    padding: 15px 20px 5px 20px;
    margin: 0px 0px;
    border-bottom: 1px solid #eee;
}

#ai-dropdown li:first-child {
        border-radius: 10px 10px 0 0;
        -ms-border-radius: 10px 10px 0 0;
    }

#ai-dropdown li:last-child {
        border-bottom: none;
        border-radius: 0 0 10px 10px;
        -ms-border-radius: 0 0 10px 10px;
        padding-bottom: 10px;
    }

.selected-data-action p {
    color: var(--ai-accent-strong);
    font-weight: 600;
    cursor: default !important;
}

.selected-data-action label {
        cursor: default !important;
    }

.selected-data-action:hover {
    background-color: transparent !important; /* Prevents hover effect */
    cursor: default !important;
}

.no-bottom-border {
    border-bottom: none !important;
}

#ai-dropdown li p {
    margin: 0px;
    font-size: 14px;    
    line-height: 0.8;
    width: 100%;
    cursor: pointer;
}

#ai-dropdown li label {
        margin: 0px 0px;
        font-size: 10px;
        line-height: 0.8;
        cursor: pointer;
    }

.ai-message-text {
    color: var(--ai-accent-strong);
}

#ai-dropdown li[data-action]:hover {
    background-color: #00000014;
    cursor: pointer;
}

.ai-loading-animation::after {
    content: '';
    display: inline-block;
    margin: 0px 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    -ms-border-radius: 50%;
    border: 2px solid var(--ai-accent-strong);
    border-color: var(--ai-accent-strong) #52AFEA transparent;
    animation: ai-loading-animation 1.2s linear infinite;
}

@keyframes ai-loading-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#ai-legend > label:first-of-type {
        margin: 0px 0px;
        font-size: 10px;
        line-height: 0.8;
        cursor: pointer;
    }

#ai-legend div ul li label {
    display: block;   
    width: fit-content;
    border-radius: 5px;
    -ms-border-radius: 5px;
    padding: 0 5px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s;
}

#ai-legend div ul li label:hover {
                filter: drop-shadow(0px 1px 3px #00000030);
                -webkit-text-stroke: 0.5px #00000030;
            }

#ai-legend .label-odlocitev {
    font-weight: bold;
}

#ai-legend .label-jedro_vir {
    border: 1px solid black;
}

#ai-legend .label-navedba_zakona {
    border-bottom: 1px solid black;
    border-radius: 0px !important;
}

#ai-legend .label-utemeljitev {
    background-color: #ffddaa;
    color: #404041;
}

#ai-legend .label-v_pravni_podlagi {
    background-color: #ffc39d;
    color: #404041;
}

#ai-legend .legend_label {
    display: inline-flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    align-content: center;
    align-items: flex-start;
}

#ai-legend .moreinfo-icon {
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
    background-color: var(--ai-bg-elevated);
    color: var(--ai-text-strong);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 10px;
    text-align: center;
    line-height: 15px;
    font-weight: bold;
}

#ai-legend .moreinfo-icon:hover {
        -webkit-box-shadow: 0px 3px 6px 0px #00000022 inset;
        -moz-box-shadow: 0px 3px 6px 0px #00000022 inset;
        box-shadow: 0px 3px 6px 0px #00000022 inset;
    }

#ai-legend .moreinfo-description {
    display: none;
    margin-bottom: 10px;
    padding: 2px 5px;
    font-size: 10px;
    background-color: var(--ai-bg-elevated);
    border-radius: 5px;
}

.povzetek-options-container .povzetek-option {
    display: block;
    margin: 8px 0;
    padding: 8px;
    background-color: rgb(43, 43, 44);
    border-radius: 4px;
    cursor: pointer;
    transition: 0.5s;
}

.povzetek-options-container .povzetek-option:hover {
        background: rgb(57, 57, 60);
        color: rgb(125, 125, 130);
    }

/*ai-review*/

#ai-review-containter {
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
    border: none;
}

#ai-review-containter.ai-message-sodba {
        display: inline-flex;
        border: none;
        padding-top: 5px;
        text-align: start;
        vertical-align: middle;
        justify-content: flex-start;
    }

#ai-review-containter span {
        font-size: 10px;
        width: 120px;
        padding-left: 15px;
        height: 20px;
    }

#ai-review-containter.ai-message-sodba span {
        font-size: 14px;
        padding-left: 0px;
        width: 180px;
    }

#ai-review-containter button {
        width: 25px;
        height: 25px;
        background: none;
        border: none;
        fill: #707070;
        color: #707070;
    }

#ai-review-containter.ai-message-sodba button {
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        fill: #707070;
        color: #707070;
    }

#ai-review-containter button:hover {
            color: black;
            fill: black;
            cursor: pointer;
        }

/*ai-notsub*/

#ai-testlimit,
#ai-notsub {
    padding: 0px 10px 20px 10px
}

#ai-testlimit,
    #ai-notsub h4 {
        font-weight: normal;
        color: #83C3EE
    }

#ai-testlimit,
    #ai-notsub p {
        font-size: 12px;
    }

#ai-notuser {
    padding: 0px 10px 20px 10px
}

#ai-notuser div {
        width: 100%;
        display: inline-grid;
        grid-gap: 8px;
        justify-items: center;
        align-items: start;
        justify-content: center;
    }

#ai-notuser em {
        font-style: normal;
        font-weight: bold;
        font-size: inherit;
        color: var(--ai-accent-strong);
    }

#ai-notuser h4 {
        font-weight: normal;
        color: #83C3EE
    }

#ai-notuser p {
        font-size: 12px;
    }

/*AiSodbe*/

ai.utemeljitev {
    padding: 2px;
    background-color: #ffddaa;
    border-radius: 5px;
    -ms-border-radius: 5px;
}

ai.navedba_zakona {
    padding: 2px;
    border-bottom: 1px solid black;
    cursor: pointer;
}

ai.navedba_zakona:hover {
        filter: drop-shadow(0px 0px 4px #0004);
    }

ai.jedro_vir {
    padding: 4px;
    display: block;
    border: 2px solid black;
    border-radius: 5px;
}

ai.v_pravni_podlagi {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0px 2px;
    background-color: #ffc39d;
    border-radius: 5px;
    -ms-border-radius: 5px;
}

ai.utemeljitev, ai.odlocitev, ai.navedba_zakona, ai.v_pravni_podlagi {
    transition: background-color 0.4s ease, padding 0.4s ease, border-radius 0.4s ease, border-bottom 0.4s ease, font-weight 0.4s ease;
    line-height: 1.8em !important;
}

@keyframes readingEffect {
    0% {
        box-shadow: 0 0 10px rgba(82, 175, 234, 0);
        background-color: transparent;
    }

    50% {
        box-shadow: 0 0 10px rgba(82, 175, 234, 0.7); 
        background-color: #e0f7ff; 
    }

    100% {
        box-shadow: 0 0 10px rgba(82, 175, 234, 0);
        background-color: transparent;
    }
}

.reading {
    animation-name: readingEffect;
    animation-duration: 1s; 
    animation-fill-mode: forwards;
    transition: box-shadow 1s; 
}

.ai-highlight {
    filter: drop-shadow(5px 10px 5px #00000044);
    -webkit-text-stroke: 0.5px #00000044;
}

/*TFL AI*/

.ai-modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}

.ai-modal-content {
    background-color: #fefefe;
    margin: 15% auto; 
    padding: 20px;
    border: 1px solid var(--ai-border-strong);
    width: 80%; 
}

.ai-close-button {
    color: var(--ai-text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.ai-close-button:hover,
    .ai-close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

@media (max-width: 1600px) {
    #ai-dialog {
        right: 4px;
    }
}

@media (max-width: 1350px) {
    #ai-wrapper {
        right: 20px;
        transform: none;
        left: unset;
    }
}

/*Landing Ai*/

.ainevron-banner {
    background-image: url("../../Content/Images/Ai/ai-main-backround-1900x1100.png");
    height: 270px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.ainevron-banner-head {
    background-image: url("../../Content/Images/Ai/ai-header-backround-1900.png");
    height: 100px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.ainevron-banner-btn {
    background-image: url("../../Content/Images/Ai/ai-chat-backround-small.png");
    height: 100px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.aitfl-banner {
    background-image: url(../../Content/Images/Ai/ai-landing-desk-new.png);
    height: 270px;
    width: calc(100vw - 35rem);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    border-radius: 1rem;
}

.aitfl-banner h1{
    font-size: 65px;
    color: var(--ai-text-strong);
    width: 100%;
    text-align: center;
}

.ai-landing-container {
    /*background: linear-gradient(to bottom, #115e8e 0%, #000000 100%);*/
    width: 100%;
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.ai-landing-container .description {
        font-size: 1.2em;
        font-weight: 300;
        margin-top: 0;
        margin-bottom: 1rem;
        color: #fff;
        max-width: 50vmax;
    }

.ai-landing-container .insight-box {
        text-align: center;
        display: grid;
        justify-items: center;
        margin-top: 1vmax;
        width: 100%;
        margin-left: 0;
        margin: 4vmax 0px 10px 0px;
        justify-content: center;
    }

.ai-landing-container .insight-box .header-title {
            font-size: 2.0rem;
            font-weight: 600;
            color: #fff;
            margin: 5px 0px 10px 0px;
        }

.ainevron-banner .ai-sodba-icon {
            width: 100px;
            height: 100px;
        }

.ai-landing-container h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin: 0px;
}

.ai-landing-container em {
           /* font-style: normal;*/
            font-weight: bold;
            font-size: inherit;
            color: #1485cc;
        }

.ai-landing-container .feature-image {
    max-width: 55vmax;
    --ms-flex-item-align: center;
    --ms-grid-row-align: center;
    align-self: center;
    margin: 1.2vmax 0;
    display: flex;
    margin-bottom: 4vmax;
    justify-content: center;
    align-items: stretch;
    border-radius: 10px;
}

.ai-landing-container .herocontent {
        --webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 0;
        --webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
         height: 100%; 
         display: -webkit-box; 
        display: -ms-flexbox;
         display: flex; 
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

.ai-content-section {
    height: 100vh;
    min-height: calc(100vw / 1.7777777778);
    padding: 8vmax 10vmax;
    padding-bottom: 18vmax;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    padding: 40px 0; /* Adjust spacing as needed */
}

.ai-content-section:nth-child(2n) {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }

.ai-content-section .ai-media {
            margin-right: 5rem;
        }

.ai-content-section:nth-child(2n) .ai-media {
        margin-right: 0rem;
        margin-left: 5rem;
    }

.ai-content-section:nth-child(2n) .ai-content {
            text-align: right;
            
        }

.ai-landing-section-soon {
    margin: 0 12rem;
    background-color: #516D7E;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: reverse !important;
    -ms-flex-direction: row-reverse !important;
    flex-direction: row !important;
    border-radius: 1rem;
    padding-bottom: 2rem !important;
}

.ai-landing-section-soon-2 {
    margin: 2rem 10rem;
    background-image: url("../../Content/Images/Ai/ai-new-banner-long.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: reverse !important;
    -ms-flex-direction: row-reverse !important;
    flex-direction: row !important;
    border-radius: 1rem;
    padding-bottom: 2rem !important;
}

.ai-landing-section-wrapper {
    position: relative;
    width: calc(100vw - 25rem);
    margin: 1rem auto 0rem auto;
/*    background-color: #404040;
    border-radius: 1rem;*/
    padding-top: 50px; /* Adjust to the height of your header if any */
}

.ai-landing-section-wrapper::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px; /* Width of the timeline */
        background-color: #fff; /* Color of the timeline */
        z-index: 5; /* Make sure it's behind the dots and content */
    }

.ai-content-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 70px;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #52AFEA; /* Dot background color */
    z-index: 10; /* Make sure it's above the timeline */
}

.ai-landing-sections {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin-top: 5rem;
}

.ai-content-undersection {
    height: 100%;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    width: calc(100vw - 25rem);
    border-top: 1px solid white;
    background-color: #404040;
    border-radius: 0 0 1rem 1rem;
    padding: 50px 0;
}

.ai-panel-povprasevanje {
    padding: 0.5rem 1.5rem;
    position: absolute;
    bottom: 1rem;
}

.ai-landing-container .ai-media img,
.ai-landing-container .ai-media video,
.ai-landing-container .ai-media iframe {
    max-width: 40rem;
    width: 30vw;
    height: 100%;
    border-radius: 10px;
}

.ai-content-section .ai-content {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 35%;
        flex: 0 0 35%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;        
    }

.ai-content .heading {
    font-size: 1.6rem;
    font-weight: bolder;
    color: #fff;
    margin-top: 0px;
}

.ai-teaser-section{    
    background-color: #fff;
    display: grid;
    justify-items: center;
    align-items: center;
    color: #000;
}

.ai-teaser-section p,
    .ai-teaser-section .description,
    .ai-teaser-section h1 {
        color: #000;
    }

.ai-naslov-mid {
    color: #52AFEA;
    font-size: 2rem;
    font-weight: bolder;
    text-align: center;
}

.ai-offer-section {
    margin: 50px 0px 35px 0px;
}

.ai-panel-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
    flex-wrap: wrap;
    flex-direction: row;
}

.ai-panel-container .ai-panel {
        flex: 1;
        color: white;
        /*height: 15vmax;*/
        width: 20vmax;
        padding: 0px 40px 40px;
        background: #000000c2;
        display: flex;
        flex-direction: column;
  
        align-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        font-size: 0.65rem;
    }

.ai-panel-container .ai-panel:nth-child(1n) {
            border-left: 2px solid #fff;
            border-top: 2px solid #fff;
            border-bottom: 2px solid #fff;
            border-radius: 10px 0px 0px 10px;
        }

.ai-panel-container .ai-panel:nth-child(2n) {
            border-right: 2px solid #fff;
            border-radius: 0px 10px 10px 0px
        }

.ai-panel p {
    margin-top: 0px;
    margin-bottom: 1em;
    font-size: 1.2em;
}

/*Dashboard Ai*/

.ai-dashboard {
    max-height: 480px !important;
    margin: 0 60px 20px !important;
}

.ai-dashboard-naslov {
    color: white;
    border-bottom: 1px solid white!important;
}

.ai-nevronbg {   
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.ai-kontakt-form {
    display: grid;
    margin: 10px 100px 10px;  
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    padding: 10px 20px;
    justify-content: center;
    min-height: 120px;
    color: var(--ai-text-strong);
}

.ai-kontakt-form div {
        display: grid;
        justify-content: center;
        text-align: center;
        align-items: stretch;
    }

.ai-kontakt-form .btn-action-blue {
        margin: 0px 0 10px 0;
    }

.ai-kontakt-form .ai-panel {
        max-height: 300px;
        padding: 0 20px;
    }

#ai-kontakt-submited {
    }

#ai-kontakt-narocnik {
    
}

#ai-kontakt-default{

}

.ialert-backdrop.ai-dark-alert .ialert-modal,
.ai-dark-alert.ialert-modal {
    background-color: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-strong);
}

.ialert-backdrop.ai-dark-alert .ialert-modal-header,
.ai-dark-alert .ialert-modal-header {
    border-bottom: 1px solid var(--ai-border-strong);
}

.ialert-backdrop.ai-dark-alert .ialert-modal-title,
.ai-dark-alert .ialert-modal-title {
    color: var(--ai-text-strong);
}

.ialert-backdrop.ai-dark-alert .ialert-modal-body,
.ai-dark-alert .ialert-modal-body,
.ialert-backdrop.ai-dark-alert .ialert-modal-body p,
.ai-dark-alert .ialert-modal-body p {
    color: var(--ai-text-muted);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-ok,
.ai-dark-alert .ialert-btn-ok {
    background-color: var(--ai-accent);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-ok:hover,
.ai-dark-alert .ialert-btn-ok:hover {
    background-color: var(--ai-accent-fill-hover);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-cancel,
.ai-dark-alert .ialert-btn-cancel {
    background-color: var(--ai-bg-elevated);
    color: var(--ai-text-strong);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-cancel:hover,
.ai-dark-alert .ialert-btn-cancel:hover {
    background-color: var(--ai-bg-hover);
}

.ialert-backdrop.ai-dark-alert .ialert-btn-delete,
.ai-dark-alert .ialert-btn-delete {
    background-color: #dc2626;
}

.ialert-backdrop.ai-dark-alert .ialert-btn-delete:hover,
.ai-dark-alert .ialert-btn-delete:hover {
    background-color: var(--ai-danger);
}

.ai-dashboard-text {
    overflow-y: hidden;
    margin-bottom: 0.25rem;   
    border-bottom: none;
    text-align: center;
    color: var(--ai-text-strong);
}

.ai-dashboard-text h4 {
        color: white;
        margin: 2px 0 0 0 !important;
        border: none !important;
        padding-bottom: 0 !important;
    }

.ai-dashboard-text p {
        margin-top: 2px;
        font-size: 12px;
    }

.ai-primeri-wrapper {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        border: none;
    }

.ai-primeri-wrapper li a {
            color: var(--ai-text-strong);
            font-weight: bold;
            -webkit-text-decoration: none;
            text-decoration: none;
            padding: 0.5rem 1rem;
        }

.ai-primeri-wrapper li a:hover {
                text-decoration: none;
                box-shadow: 0px 2px 4px 0px #00000022 inset;
            }

.ai-sodba-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 3px 6px 0px #00000044;
    -moz-box-shadow: 0px 3px 6px 0px #00000044;
    box-shadow: 0px 3px 6px 0px #00000044;
    transition: ease transform 0.6s;
    transform-style: preserve-3d;
}

.ai-sodba-icon:hover {
        transform: rotateY(180deg);
    }

/*Ai content*/

#ai-content-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    background-color: #c7c7c7;
    border-radius: 50%;
    -ms-border-radius: 50%;
    width: 15px;
    height: 15px;
    text-align: center;
    line-height: 15px;
    font-size: 8px;
    font-weight: bold;
    color: var(--ai-text-strong);
    transition: ease background-color 0.3s;
}

#ai-content-close:hover {
        -webkit-box-shadow: 0px 3px 6px 0px #00000044 inset;
        -moz-box-shadow: 0px 3px 6px 0px #00000044 inset;
        box-shadow: 0px 3px 6px 0px #00000044 inset;
        -webkit-text-decoration: inherit;
        text-decoration: inherit;
    }

#ai-content-container .node:hover:not(.version-type-2):not(.version-type-4):not(.version-type-5) {
    background-color: #f0f0f0;
}

#ai-content-container {
    background-color: var(--ai-bg-surface);
    /*    border: 1px solid #d4d4d4;*/
    color: var(--ai-text-body) !important;
    padding: 10px;
    z-index: 995;
    display: none;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    width: 620px;
}

#ai-content-container .node{
    border: none;
}

#ai-content-controls {
    height: 25px;
}

#ai-copy {
    position: absolute;
    top: 2px;
    right: 30px;
    cursor: pointer;
}

/*Ai chat*/

.open-aisearch {
    display: flex;
    position: fixed;
    width: 135px;
    height: 48px;
    text-align: center;
    margin-top: -2px;
    border-radius: 0 4px 4px 0px;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.open-aisearch a {
        color: white;
        font-size: 16px;
    }

.open-aisearch a:hover {
        text-decoration: none;
    }

.open-aisearch p {
        color: white;
        font-size: 16px;
        margin: 12px 25px;
        display: flex;
        gap: 5px;
        align-items: center;
        justify-content: space-evenly;
    }

.open-aisearch img{
        width: 20px;
        height: 20px;
    }

.ai-chat-message-ai-wrap .next-action {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 5px;
    padding: 0px;
    margin: 2rem 0 0 0;
}

.ai-chat-message-ai-wrap .next-action  a {
        cursor: pointer;
        width: fit-content;
        border-radius: 5px;
        -ms-border-radius: 5px;
        background-color: var(--ai-accent);
        color: var(--ai-text-strong);
        padding: 2px 8px;
        font-size: 0.92rem;
        word-break: keep-all;
        text-align: left;
        cursor: pointer;
        transition: background-color 0.3s;
    }

.ai-chat-message-ai-wrap .next-action a:hover {
                filter: drop-shadow(0px 1px 3px #00000030);
                -webkit-text-stroke: 0.5px #00000030;
                text-decoration: none;
            }

.ai-loader {
    height: 6px;
    width: 100%;
    border-radius: 5px;
    -ms-border-radius: 5px;
    margin: 10px;
    background: linear-gradient(to right, #ddd 25%, #52AFEA 50%, #ddd 75%);
    background-size: 200% 100%;
    animation: ai-loading 2s linear infinite;
}

@keyframes ai-loading {
    0% {
        background-position: 200% 0;
    }

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

#feedback-prompt {
        display: none;
    }

.feedback-btn {
    padding: 1rem 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.feedback-btn .icon-md {
        fill: currentColor;
    }

.thumbs-up:hover, .thumbs-down:hover {
    color: #0056b3; 
}

/*iskanje*/

#ai-application {
    min-height: 100%;
}

.ai-landing-section-flex {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    padding: 3rem;
    gap: 4rem;
}

.ai-search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: var(--ai-text-strong, #fff);
}

.ai-search-title {
    text-align: center;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    pointer-events: none;
}

.ai-title-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.ai-search-title h1 {
    font-size: 40px;
    font-weight: 600;
    color: var(--ai-text-strong, #fff);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2px;
}

.ai-search-title img {
    width: 35px;
    height: 35px;
    margin: 0 10px;
}

.ai-welcome-message {
    font-size: 18px;
    color: var(--ai-text-muted, #9c9c9c);
    height: 24px; /* Fixed height to prevent layout shift */
    margin-top: 5px;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    animation: premiumBlink 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    color: var(--ai-accent-strong, #51afea);
    font-weight: bold;
}

@keyframes premiumBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.ai-search-parent-wrapper {
    margin-top: 180px; /* Add space below the title */
}

#ai-chat-container .ai-search-title {
    top: 10px;
    transform: scale(0.7);
    transform-origin: top center;
    transition: all 0.3s ease;
}

#ai-chat-container .ai-welcome-message {
    display: none; /* Hide typing animation in chat view */
}

body.panel-active {
    overflow-x: hidden;
}

#ai-chat-container {
    display: none;
}

#ai-chat-container.visible {
        display: block;
    }

.ai-search-parent-wrapper {
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
}

.ai-search-child-wrapper {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex-direction: column;
}

.ai-search-parent-container {
    width: 42rem;
    max-width: 42rem;
    position: relative;
    margin-bottom: 0.75rem;
    border-radius: 1rem;
}

.ai-search-function-wrapper {
    display: flex;
    width: 100%;
    flex-direction: row;
    -webkit-box-pack: center;
    justify-content: center;
    height: 3.5rem;
    transition: padding-right 0.6s cubic-bezier(0.7, 0.3, 0.1, 1) 0s;
    scroll-margin-bottom: 0.75rem;
}

.ai-search-function-container {
    display: flex;
    width: 100%;
    max-width: 47rem;
}

.ai-search-main-wrapper {
    position: relative;
    flex: 1 1 0%;
}

.ai-search-input-wrapper {
    position: absolute;
    bottom: 65px;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    width: 100%;
    min-height: 3.5rem;
    border-width: 1px;
    border-style: solid;
    border-color: var(--ai-border-strong, rgba(255, 255, 255, 0.12));
    border-radius: 1rem;
    box-shadow: var(--ai-shadow-lg, rgba(0, 0, 0, 0.12) 0px 8px 35px 0px);
    background-color: var(--ai-bg-surface, #2a2a2a);
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
                background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-search-input-wrapper:focus-within {
    border-color: var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.4));
    box-shadow: var(--ai-shadow-lg, rgba(0, 0, 0, 0.12) 0px 8px 35px 0px),
                var(--ai-shadow-focus, 0 0 0 3px rgba(81, 175, 234, 0.08)),
                var(--ai-shadow-accent, 0 0 20px rgba(81, 175, 234, 0.1));
}

.ai-search-input-container {
    display: flex;
    position: relative;
    -webkit-box-align: center;
    align-items: flex-start;
    -webkit-box-pack: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.625rem;
    padding-bottom: 0.1rem;
}

#chatMessages {
    overflow-y: auto!important; 
}

#chatMessages::-webkit-scrollbar {
    height: 1rem;
    width: 0.5rem;
}

#chatMessages::-webkit-scrollbar-thumb {
        --tw-border-opacity: 1;
        background-color: var(--ai-scrollbar, #4c4c4c) !important;
        border-color: var(--ai-border-strong, rgba(255,255,255,0.12));
        border-radius: 9999px;
        border-width: 0px;
    }

#chatMessages::-webkit-scrollbar-track {
        background-color: transparent;
        border-radius: 9999px;
    }

.ai-search-input-textarea {
    margin: 0px;
    border: none;
    color: var(--ai-text-strong, rgb(248, 248, 248));
    resize: none;
    flex: 1 1 0%;
    background-color: transparent;
    overflow-y: hidden; /* Changed from scroll to hidden */
    line-height: 1.5rem;
    font-family: Open Sans;
    height: 36px;
    min-height: 28px; /* Minimum height (1 line) */
    max-height: 96px; /* Maximum height (4 lines at 1.5rem line height) */
    scrollbar-width: none;
    box-shadow: none;
    outline: none;
    transition: 0.1s ease-out; /* Smooth height transition */
}

textarea::-webkit-scrollbar {
    width: 10px;
}

textarea::-webkit-scrollbar-track {
    background: transparent;
}

textarea::-webkit-scrollbar-thumb {
    background: var(--ai-scrollbar, #4c4c4c);
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb:hover {
        background: var(--ai-scrollbar-hover, #555);
    }

.ai-search-input-textarea:focus {
    box-shadow: none;
    outline: none;
}

.ai-search-input-textarea::placeholder {
    color: var(--ai-text-placeholder, #8b8e8f)
}

.ai-search-input-textarea:-ms-input-placeholder {
    color: var(--ai-text-placeholder, #8b8e8f);
}

.ai-search-input-textarea::-moz-placeholder {
    color: var(--ai-text-placeholder, #8b8e8f);
    opacity: 1;
}

.ai-search-input-textarea:focus {
        box-shadow: none;
        outline: none;
    }

.ai-search-input-textarea::placeholder {
        color: var(--ai-text-placeholder, #8b8e8f)
    }

.ai-search-input-textarea:-ms-input-placeholder {
        color: var(--ai-text-placeholder, #8b8e8f);
    }

.ai-search-input-textarea::-moz-placeholder {
        color: var(--ai-text-placeholder, #8b8e8f);
        opacity: 1;
    }

#ai-application textarea {
    overflow: auto;
    box-shadow: none;
    outline: none;
}

#ai-waiting-messages-container {
    display: inline-block;
/*    height: 1rem;*/
/*    padding: 0 1rem;*/
    line-height: 1rem;
    vertical-align: text-top;
}

.ai-search-options-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0.75rem 0.75rem;
}

.ai-search-options-container {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 0.75rem;
    scrollbar-width: none;
    flex-grow: 1;
}

.ai-advanced-research-container {
    display: flex;
    justify-content: flex-end; 
    margin-left: auto; 
}

.ai-search-option-selected {
    border: none;
    border-radius: 3rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    user-select: none;
    color: var(--ai-text-strong);
    background-color: var(--ai-accent, #52AFEA);
    transition: 0.3s;
}

.ai-search-option-default {
    border: none;
    border-radius: 3rem;
    padding: 0.75rem;
    cursor: default; /*change to pointer adfter*/
    font-size: 0.875rem;
    font-weight: 600;
    user-select: none;
    background-color: var(--ai-bg-soft, rgb(43, 43, 44));
    color: var(--ai-text-muted, rgb(125, 125, 130));
    transition: 0.3s;
}

.ai-search-option-default:hover {
        background: var(--ai-bg-hover, rgb(57, 57, 60));
        color: var(--ai-text-muted, rgb(125, 125, 130));
    }

.ai-search-input-textarea-btn {
    display: flex;
    cursor: pointer;
    width: 16rem;
    height: 2.5rem;
    padding: 0.625rem;
    -webkit-box-pack: center;
    background-color: var(--ai-accent, #3d8ac7);
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 0.5rem;
    text-align: center;
    position: relative;
    user-select: none;
    color: var(--ai-user-bubble-text);
    box-shadow: 0 8px 20px rgba(23, 109, 163, 0.12);
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-search-input-textarea-btn:not(:disabled):hover {
        cursor: pointer;
        background-color: var(--ai-accent-fill-hover, #43A6E7);
        transform: scale(1.02);
    }

.ai-search-input-textarea-btn-fix {
    height: 1.5rem;
    width: 1.5rem;
    max-height: 1.5rem;
    max-width: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: 0.5s;
    color: var(--ai-user-bubble-text, #fff);
}

.ai-search-input-textarea-btn-fix svg g{
        -webkit-box-shadow: 0px 3px 6px 0px #00000044;
        -moz-box-shadow: 0px 3px 6px 0px #00000044;
        box-shadow: 0px 3px 6px 0px #00000044;
    }

.ai-search-disclamer-wrapper {
    transition: padding-right 0.6s cubic-bezier(0.7, 0.3, 0.1, 1) 0s;
    position: fixed;
    bottom: 10px;
    text-align: center;
    left: 0;
    right: 0;
    pointer-events: none;
    margin: 0 auto;
}

.ai-search-disclamer-container {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 0 0.63rem;
    font-size: 0.875rem;
    color: var(--ai-text-muted, rgb(125, 125, 130));
    text-align: center;
    white-space: normal;
}

.ai-action-buttons-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.ai-action-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 710px;
}

.ai-action-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    border: none;
    background-color: #546e7a; /* Siva z modrim odtenkom za akcijske gumbe */
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ai-action-button:hover {
        background-color: #455a64; /* Temnejša ob prehodu miške */
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

.ai-action-button.active {
        background-color: #37474f; /* Še temnejša ko je aktiven */
        box-shadow: 0 0 1px rgba(84, 110, 122, 0.5);
    }

.ai-action-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {

    .ai-advanced-research-container {
        margin-top: 0.5rem;
        margin-left: 0;
        width: 100%;
    }

    .ai-advanced-research-btn {
        width: 100%;
        justify-content: center;
    }
}

.ai-chat-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
}

.ai-chat-section-flex {
    display: flex;
    padding: 0px;
}

.ai-chat-history-wrapper {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex-direction: row;
    z-index: 252;
    margin-bottom: 6rem;
}

.ai-chat-history-container {
    display: flex;
    flex-direction: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
    flex: 1 1 0%;
    position: sticky;
    margin: 0px;
    padding: 0px;
    align-self: flex-start;
    width: fit-content;
}

.ai-chat-history-container-child {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0px 0.5rem;
}

.ai-chat-history-container-ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin: 0px;
    padding: 0px
}

.ai-chat-history-container-li {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    gap: 0.5rem;
    overflow: visible;
    padding: 0px 0.5rem;
    height: 38px;
    cursor: pointer !important;
    border-bottom: 1px solid transparent !important;
}

.ai-sidebar-btn {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-chat-history-closebtn {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    white-space: nowrap;
    z-index: 101;
    transition: opacity 0.8s ease-in;
    opacity: 1;
    cursor: pointer;
    margin: 12px 10px;
}

.ai-chat-history-closebtn:hover,
    .ai-sidebar-btn:hover {
        background-color: var(--ai-tint-lift);
    }

.ai-chat-side-container-label-fix {
    display: none;
    top: 14px;
    left: calc(100% + 15px);
    transform: translateY(-50%);
}

.ai-chat-history-container-label {
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    background: rgb(64, 64, 64);
    color: rgb(255, 255, 255);
    padding: 0.75rem;
    border-radius: 0.75rem;
    z-index: 2000;
}

.ai-chat-function-cicle-btn {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ai-session-history-list-wrapper {
    position: absolute;
    max-width: 300px;
    height: 100%;
    width: 300px;
    height: calc(100% - 70px);
    /*   left: 8px;*/
    transition: left 0.5s ease;
    z-index: 9999;
}

.ai-session-history-list-box {
    font-size: 1rem;
    font-weight: 500;
    overflow-wrap: break-word;
    position: relative;
    gap: 1rem;
    border-radius: 0 0.5625rem 0.5625rem 0;
/*    background-color: var(--ai-bg-hover);*/
    padding: 1.25rem 1rem;
    color: rgb(255, 255, 255);
    line-height: 1.5rem;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ai-session-history-list-box a,
    ai-chat-history-container-li  a{
        color: inherit;
        text-decoration: none;
        font-weight: normal;
        background-color: transparent;
        cursor: auto;
    }

.ai-session-history-list-box a:hover,
        ai-chat-history-container-li a:hover{
            text-shadow: none;
        }

.ai-session-sidelist-list-box-item {
        transition: background-color .1s ease-in-out,color .1s ease-in-out;
        padding: 1px 8px;
        margin: 4px 0px;
        display: flex;
        align-items: center;
        border-radius: 1rem;
        justify-content: space-between;
    }

.ai-session-sidelist-list-box-item .icon-wrapper {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.ai-session-sidelist-list-box-item p {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0 0.75rem;
    width: 100%;
    gap: 6px;
}

.ai-session-sidelist-list-box-item .session-title-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.ai-session-sidelist-list-box-item:hover {
        transition: background-color .1s ease-in-out,color .1s ease-in-out;
        background-color: var(--ai-bg-hover) !important;
        color: var(--ai-text-strong) !important;
    }

.ai-session-sidelist-list-box-item-selected {
    transition: background-color .1s ease-in-out,color .1s ease-in-out;
    background-color: var(--ai-bg-hover) !important;
    color: var(--ai-text-strong) !important;
}

.ai-session-history-input {
    padding: 5px;
    margin: 10px;
    background: var(--ai-bg-hover);
    color: var(--ai-text-strong);
    border-radius: 1rem;
    width: 100%;
}

.ai-session-history-input:focus-visible {
        border: 1px solid var(--ai-border-strong) ;
    }

.ai-sideconainer-ulwrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0px;
    overflow-y: hidden;

}

.ai-sideconainer-ulwrapper h3 {
        margin: 0.5rem 0;
        text-align: left;
        color: var(--ai-accent-strong);
        height: 40px;
        display: flex;
        align-items: center;
    }

.ai-side-container-ul-ullist {
    color: white;
    list-style: none;
    width: 95%;
    margin-top: -1rem;
    overflow-y: scroll;
    padding: 0.5rem 0.5rem 1.5rem 0rem;
    height: calc(100% - 2rem);
    max-height: calc(100% - 2rem);
}

.ai-side-container-ul-ullist::-webkit-scrollbar {
        width: 0.5rem; /* Width of the scrollbar */
        height: 1rem; /* Height of the scrollbar for horizontal scroll, if applicable */
    }

.ai-side-container-ul-ullist::-webkit-scrollbar-track {
        background-color: transparent;
        border-radius: 9999px;
    }

.ai-side-container-ul-ullist::-webkit-scrollbar-thumb {
        --tw-border-opacity: 1;
        background-color: var(--ai-bg-hover) !important;
        border-color: var(--ai-tint-hairline);
        border-radius: 9999px;
        border-width: 0px;
    }

.ai-session-history-topbtn {
    display: flex;
    align-items: center;
    width: calc(100% - 4rem);
    justify-content: center;
    margin: 0 auto;
    border: 1px solid var(--ai-accent-strong);
    border-radius: 1rem;
}

.ai-session-history-topbtn h3 {
        padding-left: 0.5rem;
        justify-content: center;
        color: var(--ai-accent-strong) !important;
    }

.ai-certainty-badge {
    float: right;
    background-color: #3776ab;
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: bold;
    margin-left: 8px;
    margin-top: 2px;
}

.ai-chat-main {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

.ai-chat-parent-wrapper {
    display: flex;
    flex-direction: row;
    -webkit-box-pack: center;
    justify-content: center;
    width: 100%;
    will-change: width;
    transition: width 0.6s cubic-bezier(0.7, 0.3, 0.1, 1) 0s;
}

.ai-chat-child-wrapper {
    flex: 1 1 0%;
    max-width: unset;
    width: 100%;
    margin-right: unset;
}

.ai-chat-parent-container {
    margin: 0px auto;
    max-width: 44vw; /*836px;*/
}

/* FIX 2026-02-02: Mobile override for chat structure */
@media only screen and (max-width: 767px) {
    .ai-chat-main {
        width: 100%;
        overflow-x: hidden;
    }
    .ai-chat-parent-wrapper {
        width: 100%;
        padding: 0;
    }
    .ai-chat-child-wrapper {
        width: 100%;
        max-width: 100vw;
    }
    .ai-chat-parent-container {
        max-width: 98vw;
        margin: 0 auto;
        padding: 0 0.5rem;
    }
    .ai-chat-messages-box {
        min-width: unset !important;
        width: 100% !important;
        padding: 0.75rem 0.5rem 100px 0.5rem !important;
    }
    /* Fix heading overflow inside AI messages */
    .ai-chat-message-ai-wrap,
    .ai-chat-message-ai-wrap * {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    .ai-chat-message-ai-wrap h1,
    .ai-chat-message-ai-wrap h2,
    .ai-chat-message-ai-wrap h3,
    .ai-chat-message-ai-wrap h4,
    .ai-chat-message-ai-wrap p {
        max-width: 100% !important;
        width: auto !important;
    }
}

.ai-chat-important-wrapper {
    position: relative;
}

.ai-chat-important-box-wrapper-add {
    border-radius: 0px;
    padding: 0px;
    border: none;
    z-index: 100;
    max-height: calc(-5.75rem + 100vh);
    width: 100%;
    box-shadow: none;
    cursor: auto;
}

.ai-chat-important-box-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
    height: auto;
    box-sizing: border-box;
    margin: 2px 0px;
}

.ai-chat-messages-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100vh;
    overflow: hidden scroll;
    overscroll-behavior: none;
    scroll-behavior: smooth;
    align-self: center;
    padding: 0.75rem 0px 0px;
    min-width: calc(100% - 1.5rem);
    margin-bottom: 14vh;
    padding-bottom: 4vh;
    outline: none;
}

.ai-chat-bottom-wrapper {
    width: 100%;
    background-color: var(--ai-bg-page, #1a1a1a);
    z-index: 998;
    position: fixed;
    bottom: 0px;
    left: 0px;
    padding-bottom: 10px;
}

.ai-search-child-container {
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    gap: 0.35rem;
}

.ai-chat-bottom-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    -webkit-box-pack: center;
    justify-content: center;
    height: 3.5rem;
    transition: padding-right 0.6s cubic-bezier(0.7, 0.3, 0.1, 1) 0s;
    scroll-margin-bottom: 0.75rem;
   /* margin-left: 2rem;*/
}

.ai-search-function-container {
    display: flex;
    width: 100%;
    max-width: 44vw;
}

/* FIX 2026-02-02: Mobile override - must come after 44vw to win specificity */
@media only screen and (max-width: 767px) {
    .ai-search-function-container {
        max-width: 95vw;
    }
    .ai-advanced-selected-sources {
        max-width: 85vw;
        margin: 0 auto;
    }
}

.ai-search-main-wrapper {
    position: relative;
    flex: 1 1 0%;
}

.ai-chat-message-user-wrap {
    font-size: 15px;
    max-width: 95%;
    font-weight: 500;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    position: relative;
    display: flex;
    gap: 1rem;
    width: fit-content;
    margin: 0.75rem 2rem 1rem 0rem;
    border-radius: 0.5625rem;
    background-color: var(--ai-user-bubble-bg, #52AFEA);
    padding: .625rem;
    color: var(--ai-user-bubble-text, rgb(255, 255, 255));
    line-height: 1.5rem;
    justify-content: end;
}

.ai-chat-message-img-wrap {
    margin-left: calc(-3.25rem);
    padding-right: 0.5rem;
    align-self: flex-start;
    margin-top: calc(-1rem);
}

.ai-chat-message-img {
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 50%;
    color: rgb(60, 60, 62);
    font-size: 1rem;
    font-weight: 400;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
}

.ai-chat-message-img img {
    border-radius: 100%;
    width: 2rem;
    height: 2rem;
}

.ai-chat-message-ai-wrap {
    font-size: 15px;
    max-width: calc(100% - 6rem);
    min-width: min(350px, 100%);
    font-weight: 500;
    /*    white-space: pre-wrap;*/
    overflow-wrap: break-word;
    position: relative;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    /*    margin: 6rem 0px 0px 2.5rem;*/
    /*    border-radius: 0.5625rem;*/
    /*    background-color: var(--ai-bg-hover);*/
    padding: .625rem;
    color: var(--ai-text-body, rgb(255, 255, 255));
    line-height: 1.5rem;
    /* SMOOTH STREAMING - message entrance animation */
    animation: messageSlideIn 0.25s ease-out;
}

/* SMOOTH STREAMING ANIMATION - 2026-02-05 */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* During streaming: disable transitions to prevent jank */
.ai-chat-message-ai-wrap.is-streaming > div > div {
    transition: none !important;
}

/* After streaming complete: smooth content settle */
.ai-chat-message-ai-wrap:not(.is-streaming) > div > div {
    transition: opacity 0.15s ease-out;
}

/* FIX 2026-02-02: Mobile override for ai-chat-message-ai-wrap */
@media only screen and (max-width: 767px) {
    .ai-chat-message-ai-wrap {
        font-size: 0.75rem;
        padding: 0.5rem 0.5rem;
        max-width: calc(100% - 2rem);
        min-width: unset;
        margin: 0px;
        margin-left: 0.5rem;
    }
    .ai-chat-message-user-wrap {
        font-size: 0.75rem;
        padding: 0.5rem 0.5rem;
        margin: 0.75rem 0.5rem 1rem 0.5rem;
        max-width: 72vw;
    }
    .ai-chat-message-img-wrap {
        display: none;
    }
    .ai-chat-history-container-child {
        margin: 0px;
        padding-left: 0.5rem;
    }
}

.ai-chat-message-ai-wrap h1, .ai-chat-message-ai-wrap h2, .ai-chat-message-ai-wrap h3, .ai-chat-message-ai-wrap h4, .ai-chat-message-ai-wrap h5, .ai-chat-message-ai-wrap h6 {
        color: var(--ai-text-strong, rgb(248, 248, 248));
        font-weight: 600;
        line-height: 1.35;
        display: -webkit-box;
      
        min-height: 1.35em;
    }

ai-chat-message-ai-wrap h1,
.ai-chat-message-ai-wrap h2 {
    font-size: 1.17em;
}

.ai-chat-message-ai-wrap ul {
        list-style: none;
        padding-left: 0px;
        margin: 0.75rem;
        white-space: normal;
        margin-bottom: 0;
        text-align: left;
        max-width: calc(52rem - 6rem);
    }

.ai-chat-message-ai-wrap p {
        white-space: normal;
        margin-bottom: 0;
        text-align: left;
        max-width: calc(52rem - 8rem);
    }

.ai-chat-message-ai-wrap ol {
        margin: 0.75rem;
        white-space: normal;
        margin-bottom: 0;
        text-align: left;
        max-width: calc(52rem - 6rem);
    }

.ai-chat-message-ai-wrap hr,
    .final-answer-header {
        max-width: calc(52rem - 10rem);
    }

.collapsible-thinking-wrapper {
    margin-bottom: 15px;
    padding: 0 0 0 12px;
    border-left: 2px solid var(--ai-border-strong, #ddd);
    max-width: calc(52rem - 10rem);
}

.show-thinking-span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ai-text-muted, #fff);
    margin-bottom: 8px;
    border: 1px solid var(--ai-border-subtle, transparent);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    background-color: var(--ai-bg-soft, transparent);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.show-thinking-span:hover {
    background-color: var(--ai-bg-hover, #333);
    border-color: var(--ai-border-strong, #333);
    color: var(--ai-text-strong, #fff);
}

.show-thinking-span::before {
    content: "▶";
    display: inline-block;
    margin-right: 0;
    font-size: 0.8em;
    color: var(--ai-accent-strong, #777);
}

.show-thinking-span[aria-expanded="true"]::before {
    content: "▼";
}

.thinking-content {
    font-style: italic;
    padding-left: 15px;
    color: var(--ai-text-muted, inherit);
}

.thinking-content h1,
.thinking-content h2,
.thinking-content h3,
.thinking-content h4 {
    color: var(--ai-text-body, inherit);
}

.ai-raziskovanje-output {
    position: relative;
}

.ai-raziskovanje-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--ai-accent);
    color: var(--ai-text-strong);
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
    width: fit-content;
}

.ai-raziskovanje-badge svg {
        color: var(--ai-text-strong);
    }

.ai-raziskovanje-progress {
    margin-bottom: 20px;
}

.ai-raziskovanje-progress-container {
    height: 6px;
    background-color: var(--ai-bg-surface);
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}

.ai-raziskovanje-progress-bar {
    height: 100%;
    background-color: var(--ai-accent);
    width: 0%;
    transition: width 0.3s ease-in-out;
}

.ai-raziskovanje-status {
    font-size: 0.8rem;
    color: var(--ai-text-muted);
}

.ai-raziskovanje-board {
    background-color: var(--ai-bg-surface);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    border-left: 4px solid var(--ai-accent);
}

.ai-raziskovanje-board-header h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--ai-text-strong);
    font-size: 1.2rem;
    border-bottom: 1px solid var(--ai-border-strong);
    padding-bottom: 10px;
}

.ai-raziskovanje-plan-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-raziskovanje-main-concept h4,
.ai-raziskovanje-related-concepts h4,
.ai-raziskovanje-legal-basis h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--ai-text-body);
}

.ai-raziskovanje-concept-tag {
    display: inline-block;
    background-color: var(--ai-bg-elevated);
    color: var(--ai-text-strong);
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.ai-raziskovanje-main-concept-tag {
    background-color: var(--ai-accent);
    font-weight: bold;
}

.ai-raziskovanje-related-concepts-container,
.ai-raziskovanje-legal-basis-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.ai-raziskovanje-legal-basis-tag {
    display: inline-block;
    background-color: var(--ai-bg-hover);
    color: var(--ai-text-body);
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    border-left: 3px solid var(--ai-accent-strong);
}

.ai-raziskovanje-container {
    background-color: var(--ai-bg-surface);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    border-left: 4px solid var(--ai-accent);
}

.ai-raziskovanje-title {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--ai-text-strong);
    border-bottom: 1px solid var(--ai-border-strong);
    padding-bottom: 10px;
}

.ai-raziskovanje-section {
    margin-bottom: 20px;
    background-color: var(--ai-bg-elevated);
    border-radius: 6px;
    overflow: hidden;
}

.ai-raziskovanje-section h3 {
        background-color: var(--ai-bg-hover);
        padding: 8px 12px;
        margin: 0;
        font-size: 1rem;
        color: var(--ai-text-strong);
    }

.ai-raziskovanje-content {
    padding: 12px 16px;
}

.ai-raziskovanje-zakon {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ai-border-strong);
}

.ai-raziskovanje-zakon:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.ai-raziskovanje-zakon-title {
    font-weight: bold;
    color: var(--ai-accent-strong);
    margin-bottom: 4px;
}

.ai-raziskovanje-zakon-cleni {
    margin-left: 16px;
    font-style: italic;
    font-size: 0.9rem;
    color: #ccc;
}

.ai-raziskovanje-zakon-opis {
    margin-top: 4px;
}

.ai-raziskovanje-sodba {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ai-border-strong);
}

.ai-raziskovanje-sodba:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.ai-raziskovanje-sodba-title {
    font-weight: bold;
    color: var(--ai-accent-strong);
    margin-bottom: 6px;
}

.ai-raziskovanje-sodba-opis {
    font-size: 0.95rem;
}

.ai-raziskovanje-izracun {
    background-color: var(--ai-bg-hover);
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
}

.ai-raziskovanje-izracun-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.ai-raziskovanje-izracun-formula {
    font-family: monospace;
    background-color: var(--ai-bg-surface);
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.ai-raziskovanje-izracun-primer {
    border-left: 2px solid var(--ai-accent-strong);
    padding-left: 8px;
    margin-top: 8px;
}

.ai-raziskovanje-izjema {
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.ai-raziskovanje-izjema::before {
        content: "•";
        position: absolute;
        left: 0;
        color: var(--ai-accent-strong);
    }

@media (max-width: 768px) {
    .ai-raziskovanje-container,
    .ai-raziskovanje-board {
        padding: 12px;
    }

    .ai-raziskovanje-section h3 {
        font-size: 0.9rem;
    }

    .ai-raziskovanje-concept-tag,
    .ai-raziskovanje-legal-basis-tag {
        font-size: 0.8rem;
    }
}

.ai-chat-message-ai-wrap table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin: 16px 0;
    color: var(--ai-text-body, #e0e0e0);
    font-family: Arial, sans-serif;
    border-radius: 8px;
    border: 1px solid var(--ai-table-border, #3a3a3a);
    background: var(--ai-table-bg, #1e1e1e);
}

.ai-chat-message-ai-wrap table td,
.ai-chat-message-ai-wrap table th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.ai-chat-message-ai-wrap thead th {
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
    background-color: var(--ai-table-head-bg, #252525);
    color: var(--ai-text-muted, #a8a8a8);
    border-bottom: 1px solid var(--ai-table-border, #3a3a3a);
}

.ai-chat-message-ai-wrap thead th:first-child {
        border-top-left-radius: 8px;
    }

.ai-chat-message-ai-wrap thead th:last-child {
        border-top-right-radius: 8px;
    }

.ai-chat-message-ai-wrap tbody tr {
    background-color: var(--ai-table-row-bg, #2a2a2a);
}

.ai-chat-message-ai-wrap tbody tr:last-child td:first-child {
        border-bottom-left-radius: 8px;
    }

.ai-chat-message-ai-wrap tbody tr:last-child td:last-child {
        border-bottom-right-radius: 8px;
    }

.ai-chat-message-ai-wrap tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--ai-table-border, #2a2a2a);
}

.ai-chat-message-ai-wrap tbody tr:last-child td {
    border-bottom: none;
}

/* ===========================================
   TABLE INTERACTIVE FEATURES
   Universal sortable headers, expandable rows
   =========================================== */

/* Sortable headers */
.ai-chat-message-ai-wrap thead th[data-sort] {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease;
    position: relative;
}

.ai-chat-message-ai-wrap thead th[data-sort]:hover {
    background-color: var(--ai-bg-hover, #2a2a2a);
}

/* Sort indicators */
.ai-chat-message-ai-wrap thead th[data-sort].sort-asc::after {
    content: ' \25B2';
    font-size: 10px;
    color: var(--ai-accent-strong, #51afea);
}

.ai-chat-message-ai-wrap thead th[data-sort].sort-desc::after {
    content: ' \25BC';
    font-size: 10px;
    color: var(--ai-accent-strong, #51afea);
}

/* Row hover (excludes detail rows) */
.ai-chat-message-ai-wrap tbody tr:not(.ai-detail-row):not(.detail-row):hover {
    background-color: var(--ai-bg-hover, #333333);
}

/* Expandable rows */
.ai-chat-message-ai-wrap tbody tr.ai-expandable,
.ai-chat-message-ai-wrap tbody tr.expandable {
    cursor: pointer;
}

.ai-chat-message-ai-wrap tbody tr.ai-expandable:hover,
.ai-chat-message-ai-wrap tbody tr.expandable:hover {
    background-color: var(--ai-accent-soft, rgba(81, 175, 234, 0.08));
}

.ai-chat-message-ai-wrap tbody tr.expanded {
    background-color: var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.12));
}

/* Detail rows (hidden by default) */
.ai-chat-message-ai-wrap tbody tr.ai-detail-row,
.ai-chat-message-ai-wrap tbody tr.detail-row {
    display: none;
    background-color: var(--ai-bg-page, #1a1a1a);
}

/* Links in tables */
.ai-chat-message-ai-wrap tbody td a {
    color: var(--ai-accent-strong, #51afea);
    text-decoration: none;
}

.ai-chat-message-ai-wrap tbody td a:hover {
    text-decoration: underline;
}

/* Risk colors (shared) */
.ai-chat-message-ai-wrap .risk-low { color: var(--ai-success); }
.ai-chat-message-ai-wrap .risk-medium { color: #fbbf24; }
.ai-chat-message-ai-wrap .risk-high { color: #f97316; }
.ai-chat-message-ai-wrap .risk-critical { color: var(--ai-danger); font-weight: 600; }

/* Expand all button */
.ai-expand-all,
.bulk-analysis-expand-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin-bottom: 10px;
    background: transparent;
    border: 1px solid var(--ai-border-strong);
    border-radius: 6px;
    color: var(--ai-text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ai-expand-all:hover,
.bulk-analysis-expand-all:hover {
    border-color: var(--ai-accent-strong);
    color: var(--ai-text-strong);
}

/* ===========================================
   END TABLE INTERACTIVE FEATURES
   =========================================== */

.ai-chat-message-ai-wrap pre {
    position: relative;
    margin: 0.75rem;
    background-color: var(--ai-bg-surface);
    border-radius: 6px;
    padding: 1rem;
    overflow-x: hidden;
    text-wrap: auto;
    max-width: calc(52rem - 6rem);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ai-chat-message-ai-wrap pre code {
        font-family: "Consolas", "Monaco", "Courier New", monospace;
        font-size: 0.9rem;
        color: var(--ai-text-strong);
        line-height: 1.5;
        display: block;
        width: 100%;
    }

.ai-chat-message-ai-wrap p code,
.ai-chat-message-ai-wrap li code,
.ai-chat-message-ai-wrap td code {
    background-color: var(--ai-bg-surface);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-family: "Consolas", "Monaco", "Courier New", monospace;
    font-size: 0.9em;
    color: var(--ai-text-body);
}

.ai-chat-message-ai-wrap .code-copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: rgba(80, 80, 80, 0.6);
    border: none;
    border-radius: 4px;
    color: var(--ai-text-strong);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.ai-chat-message-ai-wrap pre:hover .code-copy-button {
    opacity: 1;
}

.ai-chat-message-ai-wrap .code-copy-button:hover {
    background-color: rgba(100, 100, 100, 0.8);
}

.ai-chat-message-ai-wrap .code-copy-button:active {
    background-color: rgba(120, 120, 120, 0.9);
}

.ai-chat-loading-animation {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 3px solid var(--ai-border-strong);
    border-radius: 50%;
    border-top-color: var(--ai-accent-strong);
    animation: aspin 1s ease-in-out infinite;
}

.ai-side-chat-loading {
    font-size: 1.2rem;
    display: grid;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    color: var(--ai-accent-strong);
    justify-items: center;
    gap: 5px;
}

.ai-minified-doc-button {
        display: inline-block;
        color: var(--ai-text-strong);
        margin-bottom: 5px;
        border-radius: 3rem;
        padding: 0.4rem;
        background-color: transparent;
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition: 0.3s;
    }

.ai-minified-doc-buttonn:hover {
        background-color: var(--ai-bg-elevated); /* Temnejša barva na hover */
    }

.ai-chat-document-list {
    white-space: normal;
    overflow-wrap: break-word;
    max-width: calc(52rem - 3rem);
    margin-top: 1rem;
}

.ai-chat-document{

}

.ai-chat-document h3 a:hover {
    color: #1e90ff;
    text-decoration: underline;
}

.ai-chat-document ul{
        list-style: none;
    }

.ai-chat-document ul li {
            margin: 0.5rem;
        }

.ai-chat-document ul li label {
                margin: 0 1rem;
                cursor: pointer;
            }

.ai-chat-document ul li label svg:hover path {
                    color: var(--ai-text-strong) !important;
                    fill: var(--ai-text-strong);
                }

.ai-chat-document-list .tabs {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    border-bottom: 1px solid rgb(35, 35, 35);
}

.ai-chat-document-list .tabs button.tab-button {
        margin-bottom: -1px;
        background-color: transparent;
        border: 1px solid transparent;
        border-color: transparent;
        border-bottom: none;
        border-top-right-radius: 1rem;
        border-top-left-radius: 1rem;
        padding: 4px 16px;
        color: var(--ai-text-muted);
        font-size: 1.15rem;
        font-weight: bold;
    }

.ai-chat-document-list .tabs button.tab-button:hover {
            color: var(--ai-text-strong);
            cursor: pointer;
        }

.ai-chat-document-list .tabs button.tab-button.active {
            border-color: rgb(35, 35, 35);
            background: var(--ai-bg-hover);
            color: var(--ai-text-strong);
        }

.ai-chat-document-list .tab-content {
    display: none;
    padding: 20px;
    border: 1px solid rgb(35, 35, 35);
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-top: none;
}

.ai-chat-document-list .tab-content.active {
        display: block;
    }

.ai-chat-document a {
        color: var(--ai-text-strong);
        text-decoration: none;
        transition: color 0.1s ease-in-out, transform 0.1s ease;
    }

.ai-chat-document a:focus, .ai-chat-document a:hover {
            color: var(--ai-text-placeholder);
            text-decoration: underline;
            transform: translateY(-2px);
        }

.ai-chat-document p {
        padding: 0.25rem 0.5rem;
        background-color: var(--ai-bg-hover);
        border-radius: 5px;
        margin: 0.5rem;
    }

.ai-chat-message-timestamp {
    font-size: 0.75rem;
    max-width: calc(100% - 6rem);
    align-self: flex-end;
    font-weight: 500;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    position: relative;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    margin: 0rem 0px 0px 2rem;
    border-radius: 0.5625rem;
    padding: 0.25rem 1rem;
    color: #4c4c4c;
    line-height: 1.5rem;
    font-style: italic;
}

.ai-chat-suggestions-wrapper {
    height: unset;
    width: 100%;
    z-index: 997;
    padding-bottom: 2rem;
}

.ai-chat-suggestions-container {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    -webkit-box-pack: start;
    justify-content: flex-start;
    display: flex;
    gap: 0.625rem;
    margin: 1rem;
}

.ai-chat-suggestion {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 2.2rem;
    max-width: calc(100% - 12rem);
    overflow-wrap: anywhere;
    border-radius: 0.75rem;
    padding: 0.5rem;
    font-weight: 400;
    transition: background-color 0.1s ease-out 0s;
    overflow-y: hidden;
    border: 1px solid var(--ai-border-strong);
    font-size: 0.9rem;
    line-height: 1.5rem;
    text-wrap: balance;
    width: 100%;
    -webkit-box-pack: justify;
    justify-content: space-between;
    color: var(--ai-text-strong);
}

.ai-chat-suggestion svg {
        max-height: 2rem;
        max-width: 2rem;
        overflow: hidden;
        padding: 0.5rem;
        transition: fill 0.1s;
    }

.ai-chat-suggestion svg:hover g
        .ai-chat-suggestion svg:hover line {
            fill: var(--ai-text-strong)
        }

.ai-search-suggestions-wrapper {
    width: 100%;
    bottom: 100%;
    display: none;
    z-index: 999;
}

.ai-search-autocomplete-wrapper {
    width: 100%;
    bottom: 100%;
    z-index: 999;
    display: none;
}

.ai-search-date-wrapper {
    width: 100%;
    bottom: 100%;
    display: none;
    z-index: 999;
}

.ai-search-tagged-wrapper {
    width: 100%;
    bottom: 100%;
    display: none;
    z-index: 999;
}

.ai-search-tagged-container {
    padding: 0.5rem 2rem;
    border-bottom: 1px solid rgb(35, 35, 35);
    box-shadow: rgba(0, 0, 0, 0.1) 0px -1.5rem 1rem -1.5rem;
    display: flex;
    flex-direction: column;
    background-color: #8b8e8f;
    border-radius: 1rem 1rem 0 0;
}

.ai-search-suggestions-container {
    padding: 0.5rem;
    border-bottom: 1px solid rgb(35, 35, 35);
    box-shadow: rgba(0, 0, 0, 0.1) 0px -1.5rem 1rem -1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.ai-search-autocomplete-container {
    padding: 0.5rem;
    border-bottom: 1px solid rgb(35, 35, 35);
    box-shadow: rgba(0, 0, 0, 0.1) 0px -1.5rem 1rem -1.5rem;
    display: flex;
    flex-direction: column;
    max-height: 15rem;
    overflow-y: scroll;
}

.ai-search-autocomplete-container::-webkit-scrollbar {
    height: 1rem;
    width: 0.5rem;
}

.ai-search-autocomplete-container::-webkit-scrollbar-thumb {
    --tw-border-opacity: 1;
    background-color: var(--ai-bg-hover) !important;
    border-color: var(--ai-tint-hairline);
    border-radius: 9999px;
    border-width: 0px;
}

.ai-search-autocomplete-container::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 9999px;
}

.ai-search-autocomplete-container::-webkit-scrollbar-track:hover {
        background-color: transparent !important;
    }

.ai-search-date-container {
    padding: 0.5rem;
    border-bottom: 1px solid rgb(35, 35, 35);
    box-shadow: rgba(0, 0, 0, 0.1) 0px -1.5rem 1rem -1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 999;
    max-height: 15rem;
}

.ai-search-suggestion {
    font-size: 1rem;
    color: rgb(248, 248, 248);
    gap: 0.625rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--ai-bg-hover);
    padding: 0.5rem 0.25rem;
    border-radius: 0.5rem;
    cursor: pointer;
    z-index: 999;
}

.ai-chat-suggestions-title {
    color: white;
    margin-left: 1rem;
}

.ai-tagged-item {
    display: flex;
    justify-content: space-between;
    color: white;
}

.ai-tagged-item svg:hover {
    cursor: pointer;
    background-color: var(--ai-tint-lift);
    border-radius: 50%;
}

.ai-search-suggestion-icon {
    width: 18px;
    height: 18px;
}

.ai-search-suggestion-text {
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    line-height: 1.5rem;
}

.ai-chat-message-action-section {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1rem;
}

.ai-chat-message-action-box {
    padding-top: 0.25rem;
    margin-left: auto;
    height: 100%;
    white-space: normal;
}

.ai-chat-message-action-pair {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    align-items: flex-start;
    margin-left: auto;
    gap: 1rem;
}

.ai-chat-message-action-pair:not(:first-child) {
        margin-left: 0.25rem;
    }

.ai-chat-message-action-btn-wrapper {
    cursor: pointer;
    width: unset;
}

.ai-chat-message-action-btn {   
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    white-space: nowrap;
    cursor: pointer;
}

.ai-chat-message-action-btn:hover {
        background-color: var(--ai-tint-lift);
    }

.ai-chat-message-action-btn-wrapper > div:first-of-type {
    padding: 8px;
    border-radius: 0.75rem;
    font-weight: 600;
    background: var(--ai-bg-hover);
    font-size: 12px;
    color: rgb(255, 255, 255);
    right: -10px;
    z-index: 2000;
}

.ai-chat-message-action-tool-tip,
.ai-chat-message-action-tool-tip-copy {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    background: var(--ai-bg-hover);
    color: rgb(255, 255, 255);
    padding: 0.75rem;
    border-radius: 0.75rem;
    z-index: 2000;
    bottom: calc(100% + 10px);
    transition: all 0.3s ease;
}

.ai-sidecontent-wrapper {
    position: fixed;
    display: block;
    right: 5rem;
    max-height: calc(100vh - 12.75rem);
    max-width: calc(25% - 10rem);
    overflow-y: scroll;
    background-color: var(--ai-bg-hover) !important;
    color: var(--ai-text-strong);
    border-color: rgb(35, 35, 35) !important;
    overflow-x: hidden;
    top: 90px;
}

.ai-sidecontent-wrapper::-webkit-scrollbar {
        height: 1rem;
        width: 0.5rem;
    }

.ai-sidecontent-wrapper::-webkit-scrollbar-thumb {
        --tw-border-opacity: 1;
        background-color: var(--ai-bg-hover) !important;
        border-color: var(--ai-tint-hairline);
        border-radius: 9999px;
        border-width: 0px;
    }

.ai-sidecontent-wrapper::-webkit-scrollbar-track {
        background-color: transparent;
        border-radius: 9999px;
    }

.ai-sidecontent-wrapper::-webkit-scrollbar-track:hover {
            background-color: transparent !important;
        }

.ai-sidecontent-wrapper .node {
    border-radius: 1rem;
}

.ai-sidecontent-wrapper .node:hover:not(:first-child) {
        background-color: var(--ai-bg-hover) !important;
    }

.ai-sidecontent-wrapper .node:first-child:hover {
        background-color: transparent !important;
    }

.ai-sidecontent-wrapper #ai-content-close {
        background: none !important;
    }

.ai-sidecontent-wrapper #ai-content-close:hover {
            background-color: var(--ai-tint-lift);
        }

/*iskanje*/

.ai-landing-iskanje-section-fix {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0px !important;
    top: 100px;
}

.ai-iskanje-result-wrapper {
    position: relative;
    width: 100%;
    padding: 0 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.ai-iskanje-results-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    padding:  0 1rem; 
    display: flex;
    flex-direction: row; 
    gap: 1rem; 
}

.ai-iskanje-results-container .ai-chat-document-lists {
        display: flex;
        flex-direction: row; 
        gap: 1rem;
        align-items: flex-start;
        justify-content: space-around;
    }

.ai-iskanje-results-container .tab-content {
        width: 30%; 
        height: calc(100vh - 12rem); 
        overflow-y: auto; 
        padding: 1rem;
        background: var(--ai-tint-hairline); 
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border: 1px solid var(--ai-tint-hairline); 
        backdrop-filter: blur(10px); 
        margin-bottom: 1rem; 
    }

.ai-iskanje-results-container .tab-content::-webkit-scrollbar {
            height: 1rem;
            width: 0.5rem;
        }

.ai-iskanje-results-container .tab-content::-webkit-scrollbar-thumb {
            --tw-border-opacity: 1;
            background-color: var(--ai-bg-hover) !important;
            border-color: var(--ai-tint-hairline);
            border-radius: 9999px;
            border-width: 0px;
        }

.ai-iskanje-results-container .tab-content::-webkit-scrollbar-track {
            background-color: transparent;
            border-radius: 9999px;
        }

.ai-iskanje-results-container .tab-content::-webkit-scrollbar-track:hover {
                background-color: transparent !important;
            }

.ai-animation-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: var(--ai-text-strong);
    border-radius: 10px;
    padding: 20px;
}

.ai-animation-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 20px 0;
}

.ai-animation-circle1, .ai-animation-circle2 {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.ai-animation-circle1 {
    width: 100%;
    height: 100%;
    border-top: 3px solid var(--ai-accent-strong);
    border-bottom: 3px solid var(--ai-accent-strong);
    animation: ai-animation-spin1 1.5s linear infinite;
}

.ai-animation-circle2 {
    width: 80%;
    height: 80%;
    border-left: 3px solid var(--ai-accent-strong);
    border-right: 3px solid var(--ai-accent-strong);
    animation: ai-animation-spin2 1.5s linear infinite;
}

@keyframes ai-animation-spin1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes ai-animation-spin2 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

#ai-sidebar-tab-container {
    position: fixed; 
    top: calc((100% - 225px) / 2);
    right: 0;
    z-index: 999999;
    transition: 0.5s; 
}

@media (min-width: 768px) and (max-width: 1520px) {
    .ai-chat-document-list {
        max-width: calc(52rem - 10.5rem);
    }

}

@media (min-width: 768px) and (max-width: 1199px) {
    .ai-chat-parent-container {
        max-width: 75vw;
    }
    .ai-chat-document-list {
        max-width: calc(52rem - 10.5rem);
    }
    .ai-search-function-container {
        max-width: 75vw;
    }
    .ai-chat-sources-mini {
        display: none;
    }

    /* ========================================
       WORKSPACES - SPLIT SCREEN MINIMAL FIXES
       ======================================== */

    /* Header wrapping - actions fall to second row */
    #workspaces-container .ai-vault-main-header {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    #workspaces-container .ai-vault-header-info {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    #workspaces-container .ai-vault-header-actions {
        flex: 0 0 auto !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }

    /* Icon-only header buttons (hide text, show SVG) */
    #workspaces-container .ai-vault-header-btn {
        padding: 10px !important;
        min-width: 44px !important;
        height: 44px !important;
        justify-content: center !important;
    }

    #workspaces-container .ai-vault-header-btn span {
        display: none !important;
    }

    #workspaces-container .ai-vault-header-btn svg {
        display: block !important;
        margin: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }

    /* Sidebar width */
    #workspaces-container .ai-vault-workspace-sidebar {
        width: 260px !important;
    }

    /* Tabs - grid layout (1, 3, 3 pattern) */
    #workspaces-container .ai-vault-content-tabs {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-auto-rows: auto !important;
        gap: 8px !important;
        overflow: visible !important;
        max-width: 85% !important;
        width: auto !important;
        margin: 0 auto !important;
        padding: 0 16px !important;
        border-bottom: none !important;
    }

    /* All tab buttons default */
    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button {
        padding: 8px 12px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        width: auto !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button span {
        text-align: center !important;
    }

    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button i {
        flex-shrink: 0 !important;
    }

    /* First tab button (PREGLED) - spans all 3 columns (row 1) */
    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button:nth-child(1) {
        grid-column: 1 / 4 !important;
        grid-row: 1 !important;
    }

    /* Tab buttons 2-4 (row 2) */
    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button:nth-child(2),
    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button:nth-child(3),
    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button:nth-child(4) {
        grid-row: 2 !important;
    }

    /* Tab buttons 5-7 (row 3) */
    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button:nth-child(5),
    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button:nth-child(6),
    #workspaces-container .ai-vault-content-tabs .ai-vault-tab-button:nth-child(7) {
        grid-row: 3 !important;
    }

    /* Tab content - scrollable container */
    #workspaces-container .ai-vault-tab-content {
        max-height: 600px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Overview grid - width constraints */
    #workspaces-container .ai-vault-overview-grid {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Overview sections - compact */
    #workspaces-container .ai-vault-overview-section {
        padding: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Compact session cards */
    #workspaces-container .ai-vault-session-card {
        padding: 8px 10px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #workspaces-container .ai-vault-session-header {
        gap: 8px !important;
        margin-bottom: 6px !important;
    }

    #workspaces-container .ai-vault-session-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }

    #workspaces-container .ai-vault-session-title {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }

    #workspaces-container .ai-vault-session-meta {
        font-size: 11px !important;
        gap: 8px !important;
    }

    #workspaces-container .ai-vault-recent-sessions {
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Compact item cards - vertical list */
    #workspaces-container .ai-vault-items-grid {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #workspaces-container .ai-vault-item-card {
        padding: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #workspaces-container .ai-vault-item-header {
        gap: 8px !important;
    }

    #workspaces-container .ai-vault-item-title {
        font-size: 12px !important;
        margin-bottom: 2px !important;
    }

    #workspaces-container .ai-vault-item-type {
        font-size: 10px !important;
        margin-bottom: 2px !important;
    }

    #workspaces-container .ai-vault-item-date {
        font-size: 10px !important;
    }
}

.ai-right-panel-container .document-preview {
    width: 100%;
    height: 100%; /* Polna višina viewport-a */
    display: flex;
    flex-direction: column;
    border-radius: 0; /* Brez border radius za polno pokritost */
    overflow: hidden;
    box-shadow: none; /* Brez sence ker je v sidebar-u */
}

.ai-right-panel-container  .preview-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: calc(100vh - 50px); /* Polna višina minus header */
}

.ai-right-panel-container  .preview-content iframe {
        border: none;
        background: white;
        width: 100%;
        height: 100%;
    }

.ai-right-panel-container  .pdf-preview iframe {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 2px;
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
    margin: 5px;
}

.ai-right-panel-container  .text-preview .preview-content {
    background: white;
    padding: 0;
}

.ai-right-panel-container  .text-preview .preview-header h3::before {
    content: "📝";
}

.ai-right-panel-container  .text-content-wrapper {
    font-family: 'Open Sans';
    font-size: 12px;
    line-height: 1.4;
    overflow-y: auto;
    padding: 15px;
    background: white;
    margin: 5px;
    border-radius: 2px;
    height: calc(100% - 10px);
}

.ai-right-panel-container .document-content-wrapper {
    overflow-y: auto;
    background: white;
    margin: 5px;
    border-radius: 2px;
    height: calc(100% - 10px);
}

.ai-view-container {
    transition: margin-left 0.3s ease; /* Same transition as menu */
    margin-left: var(--side-menu-width);
    width: calc(100% - var(--side-menu-width));
}

.ai-view-container.content-shifted {
        margin-left: var(--side-menu-expanded-width);
        width: calc(100% - var(--side-menu-expanded-width));
    }

.ai-side-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    height: calc(100% - var(--header-height));
    background-color: var(--ai-bg-page, #1a1a1a);
    border-right: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
    z-index: 1000;
    transition: all 0.3s ease;
    width: var(--side-menu-width);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-side-menu:hover {
        width: var(--side-menu-expanded-width);
    }

.ai-side-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ai-side-menu-item {
    position: relative;
    padding: 15px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--ai-text-strong, #ffffff);
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px transparent;
}

.ai-side-menu-item:hover {
        background: var(--ai-accent-soft, rgba(255, 255, 255, 0.04));
    }

.ai-side-menu-item.active {
        background: linear-gradient(90deg,
            var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.12)) 0%,
            transparent 100%);
        box-shadow: inset 0 0 0 1px var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.16));
    }

.ai-side-menu-icon {
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-text-muted, #9c9c9c); /* Icon color */
    flex-shrink: 0;
    padding-left: 5px;
}

.ai-side-menu-icon svg {
        width: 22px;
        height: 22px;
    }

.ai-side-menu-item:hover .ai-side-menu-icon,
.ai-side-menu-item.active .ai-side-menu-icon {
    color: var(--ai-accent-strong, #51afea); /* Blue on hover/active */
}

.ai-side-menu-label {
    font-size: 16px;
    font-weight: 400;
    margin-left: 15px;
    color: var(--ai-text-muted, #9c9c9c);
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease;
}

.ai-side-menu:hover .ai-side-menu-label {
    opacity: 1; /* Visible when menu is hovered */
}

.ai-side-menu-item:hover .ai-side-menu-label,
.ai-side-menu-item.active .ai-side-menu-label {
    color: var(--ai-text-strong, #ffffff); /* Brighter text on hover/active */
}

.ai-side-menu-item[data-view="helpdesk"] {
    margin-top: auto; /* Push to bottom */
    border-top: 1px solid var(--ai-border-subtle, #3a3a3a);
}

.ai-history-modern {
    margin-left: 70px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px 40px 20px;
    color: var(--ai-text-strong, #fff);
    height: 100%;
    overflow-y: auto;
}

.ai-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ai-history-header h2 {
        font-size: 24px;
        font-weight: 500;
        color: var(--ai-text-strong, #fff);
    }

.ai-history-new-chat-btn {
    all: unset;
    background-color: var(--ai-accent, #52AFEA);
    color: var(--ai-user-bubble-text);
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-history-new-chat-btn label {
        cursor: pointer;
    }

.ai-history-new-chat-btn:hover {
        color: var(--ai-user-bubble-text);
        text-decoration: none;
        cursor: pointer;
        background-color: var(--ai-accent-fill-hover, #43A6E7);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(81, 175, 234, 0.2);
    }

.ai-history-search {
    margin-bottom: 30px;
}

.ai-history-search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.ai-history-search-input svg {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }

.ai-history-search-input input {
        width: 100%;
        background-color: var(--ai-bg-surface, #2a2a2a);
        border: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
        border-radius: 8px;
        padding: 12px 15px 12px 45px;
        color: var(--ai-text-strong, #fff);
        font-size: 16px;
    }

.ai-history-search-input input:focus {
            outline: none;
            border-color: var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.5));
            box-shadow: var(--ai-shadow-focus, 0 0 0 3px rgba(81, 175, 234, 0.08)),
                        0 0 20px rgba(81, 175, 234, 0.12);
        }

.ai-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 10px 30px 10px;
    min-height: 300px;
    overflow-y: scroll;
    height: 28vw;
}

.ai-history-list::-webkit-scrollbar {
        width: 0.5rem; /* Width of the scrollbar */
        height: 1rem; /* Height of the scrollbar for horizontal scroll, if applicable */
    }

.ai-history-list::-webkit-scrollbar-track {
        background-color: transparent;
        border-radius: 9999px;
    }

.ai-history-list::-webkit-scrollbar-thumb {
        --tw-border-opacity: 1;
        background-color: var(--ai-scrollbar, #333333) !important;
        border-color: var(--ai-border-strong, rgba(255, 255, 255, 0.12));
        border-radius: 9999px;
        border-width: 0px;
    }

.ai-history-item,
.ai-user-doc-item {
    background-color: var(--ai-bg-surface, #2a2a2a);
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid transparent;
}

.ai-history-item:hover,
    .ai-user-doc-item:hover {
        background-color: var(--ai-bg-hover, #333333);
        border-color: var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.2));
    }

.ai-history-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ai-history-item-title {
    font-size: 16px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 700px;
    color: var(--ai-text-strong, #fff);
}

.ai-history-item-time {
    font-size: 14px;
    color: var(--ai-text-muted, #9c9c9c);
}

.ai-session-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1;
}

.ai-chip-workspace {
    background: var(--ai-bg-hover, #333333);
    color: var(--ai-accent-strong, #51afea);
}

.ai-chip-court-search {
    background: var(--ai-accent, #52AFEA);
    color: var(--ai-text-strong);
}

.ai-session-chip i {
    font-size: 9px;
}

.ai-history-item-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.ai-history-item-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.ai-history-item:hover .ai-history-item-actions,
.ai-user-doc-item:hover .ai-history-item-actions {
    opacity: 1;
}

.ai-history-action-btn {
    background: none;
    border: none;
    color: var(--ai-text-muted, #9c9c9c);
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-history-action-btn:hover {
        background-color: var(--ai-bg-hover, #333333);
        color: var(--ai-accent-strong, #51afea);
        color: var(--ai-accent-strong, #51afea);
    }

.ai-history-load-more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.ai-history-empty {
    color: var(--ai-text-muted, #9c9c9c);
    text-align: center;
    padding: 40px 0;
    font-size: 16px;
}

.ai-history-edit-input {
    background-color: var(--ai-bg-hover, #363636);
    border: 1px solid var(--ai-accent-strong, #51afea);
    border-radius: 4px;
    color: var(--ai-text-strong, white);
    padding: 5px 10px;
    width: 100%;
    max-width: 500px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    z-index: 10;
    position: relative;
}

.ai-history-edit-input:focus {
    border-color: var(--ai-accent-hover, #7cc4f0);
    box-shadow: 0 0 0 2px rgba(81, 175, 234, 0.3);
}

.ai-history-edit-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.ai-history-edit-counter {
    font-size: 11px;
    color: var(--ai-text-muted);
    text-align: right;
    padding-right: 4px;
    transition: color 0.2s ease;
}

.ai-counter-warning {
    color: #f0ad4e;
}

.ai-counter-limit {
    color: #d9534f;
    font-weight: bold;
}

.ai-history-edit-input.ai-edit-warning {
    border-color: #f0ad4e;
}

.ai-history-edit-input.ai-edit-warning:focus {
    border-color: #f0ad4e;
    box-shadow: 0 0 0 2px rgba(240, 173, 78, 0.3);
}

.ai-history-edit-input.ai-edit-limit {
    border-color: #d9534f;
}

.ai-history-edit-input.ai-edit-limit:focus {
    border-color: #d9534f;
    box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.3);
}

.ai-edit-inline-warning {
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    background-color: rgba(217, 83, 79, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    z-index: 20;
    animation: fadeInWarning 0.3s ease;
}

.ai-minimal-doc-list {
    margin: 10px 0;
    font-family: 'Open Sans';
    border-top: 1px solid var(--ai-tint-lift-strong);
    border-bottom: 1px solid var(--ai-tint-lift-strong);
    padding-top: 8px;
    font-size: 1em;
}

.ai-minimal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    overflow-x: auto;
}

.ai-minimal-tab {
    padding: 5px 12px;
    border: none;
    background: var(--ai-tint-lift);
    color: var(--ai-text-muted);
    font-size: 1.17em;
    border-radius: 0.5625rem;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

.ai-minimal-tab.active {
        background: var(--ai-accent-soft-strong);
        color: var(--ai-accent-strong);
    }

.ai-minimal-panel {
    display: none;
}

.ai-minimal-panel.active {
        display: block;
    }

.ai-minimal-doc {
    margin-bottom: 10px;
}

.ai-minimal-doc-header {
    font-size: 1em;
    font-weight: 500;
    padding: 4px 8px;
    display: inline-block;
    margin-bottom: 4px;
    cursor: pointer;
    border-radius: 0.5625rem;
}

.ai-minimal-refs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ai-minimal-ref-item {
    padding: 4px 8px;
    background-color: var(--ai-bg-hover);
    border-radius: 0.5625rem;
    font-size: 0.95em;
    cursor: pointer;
    margin-left: 1em;
}

.ai-minimal-doc-header:hover,
.ai-minimal-ref-item:hover {
    color: var(--ai-accent-strong);
}

.ai-minimal-ref-item.active, .ai-minimal-doc-header.active {
        background: var(--ai-accent-soft-strong);
        color: var(--ai-accent-strong);
    }

.ai-right-panel-container,
#ai-advanced-sources-panel {
    position: fixed;
    top: var(--header-height);
    right: -100vw; /* Start off-screen */
    width: var(--panel-width);
    max-width: var(--panel-width);
    min-width: 320px;
    height: calc(100% - var(--header-height));
    background: var(--ai-bg-page);
    z-index: 999;
    overflow: hidden;
    transition: right 0.5s ease;
    border: 1px solid var(--ai-border-subtle);
    display: flex;
    flex-direction: column;
}

.ai-right-panel-container.active,
    #ai-advanced-sources-panel.active {
        right: 0;
    }

@media screen and (min-width: 900px) {
    .panel-active .ai-chat-container,
    .panel-active .ai-chat-bottom-wrapper,
    .panel-active .ai-chat-messages-box,
    .panel-active .ai-search-container,
    .panel-active #court-chat-container {
        width: calc(100% - var(--panel-width) - 100px);
        transition: width 0.3s ease;
        margin-left: 85px;
    }
}

@media screen and (max-width: 899px) {
    .ai-right-panel-container,
    #ai-advanced-sources-panel {
        width: 90vw;
        max-width: 450px;
    }

    /* Don't adjust content width on small screens */
    .panel-active .ai-chat-container,
    .panel-active .ai-chat-bottom-wrapper,
    .panel-active .ai-chat-messages-box,
    .panel-active .ai-search-container,
    .panel-active #court-chat-container {
        width: 100% !important;
    }
}

.ai-right-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
    flex-shrink: 0;
}

.ai-right-panel-header-content {
    flex: 1;
    overflow: hidden;
    margin-left: 10px
}

.ai-right-panel-question {
    font-size: 12px;
    color: var(--ai-text-muted);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-right-panel-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ai-text-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.ai-right-panel-title a{
    all: unset;
}

.ai-right-panel-title:hover {
        color: var(--ai-accent-strong);
        text-decoration: underline;
    }

.ai-right-panel-close {
    background: transparent;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-right-panel-close:hover {
        color: var(--ai-text-body);
    }

.ai-right-panel-controls {
    padding: 10px 16px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.ai-right-panel-controls-left {
    display: flex;
    align-items: center;
}

.ai-right-panel-copy {
    background: transparent;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    padding: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-right-panel-copy:hover {
        color: var(--ai-text-body);
    }

.ai-right-panel-date {
    font-size: 12px;
    color: var(--ai-text-muted);
}

.ai-right-panel-content {
    flex-grow: 1;
    min-height: 0; /* 🔑 Critical for flex scroll - allows overflow instead of growing */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    line-height: 1.5;
}

.ai-right-panel-content::-webkit-scrollbar {
    height: 1rem;
    width: 0.5rem;
}

.ai-right-panel-content::-webkit-scrollbar-thumb {
        --tw-border-opacity: 1;
        background-color: var(--ai-bg-hover) !important;
        border-color: var(--ai-tint-hairline);
        border-radius: 9999px;
        border-width: 0px;
    }

#chatMessages::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 9999px;
}

.ai-right-panel-document-content {
    padding: 16px;
    color: var(--ai-text-body);
}

.ai-right-panel-document-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-text-body);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
}

.ai-right-panel-block-title {
    color: var(--ai-text-body);
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
}

.ai-right-panel-block-title a{
    all: unset;
    cursor: pointer;
    color: inherit;
}

.ai-right-panel-block-title:hover {
        color: var(--ai-accent-strong);
        text-decoration: underline;
        cursor: pointer;
    }

.ai-right-panel-block-content {
    font-size: 14px;
    color: var(--ai-text-body);
    text-align: center;
    font-weight: 600;
    margin-bottom: 8px;
}

.ai-right-panel-content-match {
    background: var(--ai-accent-soft-strong);
    border-left: 3px solid var(--ai-accent-strong);
    border-radius: 0 4px 4px 0;
}

.ai-right-panel-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--ai-text-muted);
    padding: 20px;
}

.ai-right-panel-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--ai-tint-lift-strong);
    border-top: 3px solid var(--ai-accent-strong);
    border-radius: 50%;
    animation: ai-right-panel-spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes ai-right-panel-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ai-right-panel-error {
    padding: 16px;
    margin: 16px;
    background: var(--ai-danger-soft);
    border-left: 3px solid var(--ai-danger);
    border-radius: 0 4px 4px 0;
    color: var(--ai-text-body);
}

.ai-right-panel-notification {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(81, 175, 234, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1010;
}

.ai-right-panel-document {
    padding: 4px;
    margin-bottom: 16px;
}

.ai-right-panel-document-header {
    margin-bottom: 16px;
}

.ai-right-panel-document-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ai-text-body);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.ai-right-panel-document-institutiTags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ai-right-panel-tag {
    background: var(--ai-accent-soft-strong);
    color: var(--ai-text-body);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.ai-right-panel-document-section {
    margin-bottom: 24px;
    border-radius: 6px;
    padding: 12px;
}

.ai-right-panel-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ai-text-body);
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ai-tint-lift-strong);
}

.ai-right-panel-section-content {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ai-text-body);
}

.ai-copy-format-popup,
.ai-doc-copy-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--ai-bg-surface);
    border-radius: 8px;
    z-index: 1000;
    min-width: 300px;
    max-width: 400px;
}

.ai-copy-popup-header {
    padding: 16px;
    border-bottom: 1px solid var(--ai-border-strong);
    font-weight: 600;
    color: var(--ai-text-muted);
}

.ai-copy-options-container {
    padding: 8px;
}

.ai-copy-option {
    display: flex;
    align-items: center;
    padding: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.ai-copy-option:hover {
        background-color: var(--ai-bg-elevated);
    }

.ai-copy-icon {
    font-size: 20px;
    margin-right: 12px;
}

.ai-copy-details {
    flex: 1;
}

.ai-copy-name {
    font-weight: 500;
    color: var(--ai-text-body);
    margin-bottom: 2px;
}

.ai-copy-description {
    font-size: 0.875rem;
    color: var(--ai-text-soft);
}

.ai-copy-popup-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--ai-border-strong);
    text-align: right;
}

.ai-right-panel-paragraph-title {
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: var(--ai-text-body);
}

.ai-right-panel-paragraph {
    display: flex;
    font-size: 14px;
    padding: 8px 12px;
    margin: 2px 0px;
    border-radius: 4px;
    gap: 10px;
}

.ai-right-panel-paragraph-number {
    display: none;
    flex-shrink: 0;
    font-weight: 600;
    color: var(--ai-text-muted);
    margin-right: 8px;
    min-width: 24px;
}

.ai-right-panel-paragraph-content {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ai-text-body) !important;
    margin-bottom: 12px;
}

.ai-right-panel-paragraph-content h3{
    color: var(--ai-text-body) !important;
}

.ai-right-panel-metadata-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
}

.ai-right-panel-metadata-name {
    color: var(--ai-text-muted);
    font-size: 13px;
}

.ai-right-panel-metadata-value {
    color: var(--ai-text-body);
    font-size: 13px;
}

.ai-right-panel-document-metadata {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-bottom: 12px;
    padding: 10px;
}

.ai-right-panel-metadata-item {
    display: flex;
    align-items: center;
}

.ai-right-panel-metadata-name {
    color: var(--ai-text-muted);
    font-size: 12px;
    margin-right: 6px;
}

.ai-right-panel-metadata-value {
    color: var(--ai-text-body);
    font-size: 12px;
    font-weight: 500;
}

.ai-advanced-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 999;
    /*    border-bottom: 1px solid var(--ai-border-strong);*/
}

.ai-advanced-panel-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 500;
        color: var(--ai-text-strong);
        z-index: 999;
    }

.ai-advanced-panel-close {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
    z-index: 999;
}

.ai-advanced-panel-close:hover {
        color: var(--ai-text-strong);
    }

.ai-advanced-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--ai-border-subtle);
    overflow: hidden;
    z-index: 999;
}

.ai-advanced-tab {
    padding: 12px;
    background: none;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    position: relative;
    z-index: 999;
}

.ai-advanced-tab:hover,
    .ai-advanced-tab.active {
        color: var(--ai-accent-strong);
        font-weight: 500;
    }

.ai-advanced-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--ai-accent-strong);
        }

.ai-advanced-content {
    flex: 1;
    overflow: hidden;
    padding: 15px;
    z-index: 999;
}

.ai-advanced-tab-content {
    display: none;
}

.ai-advanced-tab-content.active {
        display: block;
    }

.ai-advanced-search-wrapper {
    margin-bottom: 15px;
    display: flex;
}

.ai-advanced-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s ease-in-out;
}

.ai-advanced-search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background-color: var(--ai-bg-surface);
    border: 1px solid var(--ai-border-subtle);
    border-radius: 6px;
    color: var(--ai-text-strong);
    font-size: 14px;
}

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

.ai-advanced-search-input::placeholder {
        color: var(--ai-text-muted);
    }

.ai-search-clear-btn {
    position: relative;
    margin-left: -35px; /* Porine button v input polje */
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    color: var(--ai-text-muted);
    transition: all 0.2s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0; /* Ne sme se skrčiti */
}

.ai-search-clear-btn:hover {
        background-color: var(--ai-bg-hover);
        color: var(--ai-text-strong);
    }

.ai-search-clear-btn:focus {
        outline: none;
        background-color: var(--ai-bg-hover);
        color: var(--ai-text-strong);
    }

.ai-search-clear-btn:active {
        background-color: #777;
    }

.ai-search-clear-btn svg {
        display: block;
        pointer-events: none;
        width: 16px;
        height: 16px;
    }

.ai-advanced-actions {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
}

.ai-advanced-all-btn,
.ai-advanced-specific-btn {
    padding: 8px 15px;
    border: 1px solid var(--ai-border-subtle);
    border-radius: 6px;
    background-color: var(--ai-bg-elevated);
    color: var(--ai-text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.ai-advanced-all-btn:hover,
    .ai-advanced-specific-btn:hover {
        background-color: var(--ai-bg-soft);
    }

.ai-advanced-all-btn.active,
    .ai-advanced-specific-btn.active {
        background-color: var(--ai-accent);
        color: var(--ai-text-strong);
        border-color: var(--ai-accent);
    }

.ai-advanced-specific {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--ai-border-strong);
    border-radius: 6px;
    padding: 10px;
    background-color: var(--ai-bg-elevated);
}

.ai-advanced-specific::-webkit-scrollbar {
        height: 1rem;
        width: 0.5rem;
    }

.ai-advanced-specific::-webkit-scrollbar-thumb {
        --tw-border-opacity: 1;
        background-color: var(--ai-bg-hover) !important;
        border-color: var(--ai-tint-hairline);
        border-radius: 9999px;
        border-width: 0px;
    }

.ai-advanced-specific::-webkit-scrollbar-track {
        background-color: transparent;
        border-radius: 9999px;
    }

.ai-advanced-specific::-webkit-scrollbar-track:hover {
        background-color: transparent !important;
    }

.ai-advanced-section-title {
        font-size: 15px;
        font-weight: 600;
        color: var(--ai-text-strong);
        margin: 15px 0 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--ai-border-strong);
    }

.ai-advanced-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.ai-advanced-item {
    display: flex;
    background-color: var(--ai-bg-surface, #2a2a2a);
    border: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
    border-radius: 4px;
    transition: all 0.2s;
    margin-bottom: 8px;
    cursor: pointer!important;
}

.ai-advanced-item.active,
    .ai-advanced-item:hover {
        background-color: var(--ai-accent, #52AFEA);
        cursor: pointer;
    }

.ai-advanced-item.active .ai-source-item-name {
            color: var(--ai-text-strong);
            font-weight: 500;
        }

/* Locked (not subscribed) e-komentar type: visible for upsell, but not selectable. */
.ai-advanced-item--locked {
    opacity: 0.45;
    cursor: not-allowed !important;
}

    .ai-advanced-item--locked:hover {
        background-color: var(--ai-bg-surface, #2a2a2a);
        cursor: not-allowed;
    }

    .ai-advanced-item--locked .ai-source-item-label {
        cursor: not-allowed;
    }

.ai-source-item-lock {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    color: var(--ai-text-muted);
}

.ai-source-item-label {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    width: 100%;
    color: var(--ai-text-strong, #fff);
    font-size: 14px;
}

.ai-advanced-item input[type="checkbox"] {
        display: none;
    }

.ai-source-item-checkmark {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.ai-advanced-item.active .ai-source-item-checkmark {
    opacity: 1;
    transform: scale(1);
}

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

.ai-checkmark-icon {
    color: var(--ai-text-strong);
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.ai-source-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 8px;
}

.ai-source-item-name {
    flex: 1;
    font-size: 13px;
    color: var(--ai-text-strong, #fff);
}

.ai-source-item-mark {
    font-size: 11px;
    color: var(--ai-accent-strong, #51afea);
    opacity: 0.6;
    margin-left: 8px;
    white-space: nowrap;
}

.ai-source-item-type {
    margin-left: 6px;
    display: flex;
    align-items: center;
    color: var(--ai-text-muted, #9c9c9c);
}

.ai-source-type-icon {
    display: inline-flex;
    stroke: var(--ai-text-muted, #9c9c9c);
}

.ai-advanced-selected-sources {
    margin-bottom: 15px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 6px;
    border: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
    background: var(--ai-bg-elevated, #333333);
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-advanced-selected-sources:hover {
    border-color: var(--ai-border-strong, rgba(255, 255, 255, 0.12));
}

.ai-advanced-selected-sources::-webkit-scrollbar {
        height: 1rem;
        width: 0.5rem;
    }

.ai-advanced-selected-sources::-webkit-scrollbar-thumb {
        --tw-border-opacity: 1;
        background-color: var(--ai-scrollbar, #4c4c4c) !important;
        border-color: var(--ai-border-strong, rgba(255,255,255,0.12));
        border-radius: 9999px;
        border-width: 0px;
    }

.ai-advanced-selected-sources::-webkit-scrollbar-track {
        background-color: transparent;
        border-radius: 9999px;
    }

.ai-advanced-selected-sources::-webkit-scrollbar-track:hover {
            background-color: transparent !important;
        }

.ai-advanced-selected-sources h3 {
        font-size: 16px;
        font-weight: 500;
        margin: 0 0 10px 0;
        color: var(--ai-text-strong, #fff);
        gap: 4px;
        display: flex;
        cursor: pointer;
        transition: all 0.3s ease;
        justify-content: space-evenly;
        align-items: center;
    }

.ai-advanced-selected-sources h3:hover,
        .ai-reset-sources-btn:hover {
            color: var(--ai-text-soft, #6b6b6b);
        }

.ai-reset-sources-btn {
    margin: 0 0 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-advanced-sources-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (max-width: 600px) {
    .ai-advanced-sources-list {
        grid-template-columns: 1fr;
    }
}

.ai-advanced-source-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: var(--ai-bg-surface, #2a2a2a);
    border-radius: 6px;
    border: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
    font-size: 12px;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-advanced-source-item:hover {
    transform: translateY(-2px);
    border-color: var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.3));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ai-chat-sources-mini {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 280px;
    max-width: 500px;
    padding: 0.75rem;
    border: 1px solid var(--ai-border-strong);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 99;
    transition: all 0.3s ease;
    transform: translateX(100%);
}

.ai-chat-sources-mini .ai-advanced-sources-list {
    display: flex;
    flex-direction: column;
}

.ai-chat-sources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--ai-border-subtle);
}

.ai-chat-sources-close {
    background: none;
    border: none;
    color: var(--ai-text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0.2rem;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.ai-chat-sources-close:hover {
        color: var(--ai-text-strong);
        background: var(--ai-tint-lift-strong);
    }

.ai-chat-sources-mini .ai-advanced-source-item {
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    background: var(--ai-tint-lift);
    border-radius: 4px;
}

.ai-chat-sources-mini .ai-advanced-source-category {
    font-size: 0.65rem;
}

.ai-chat-sources-mini .ai-advanced-source-name {
    font-size: 0.7rem;
}

.ai-chat-sources-mini .ai-advanced-source-remove {
    font-size: 0.9rem;
    opacity: 0.7;
}

.ai-chat-sources-mini .ai-advanced-source-remove:hover {
        opacity: 1;
    }

.ai-chat-sources-mini.visible {
        transform: translateX(0);
    }

@media (max-width: 768px) {
    .ai-chat-sources-mini {
        position: fixed;
        bottom: 90px;
        left: 10px;
        right: 10px;
        top: auto;
        width: auto;
        max-width: none;
        padding: 0.5rem;
        max-height: 80px;
    }

        .ai-chat-sources-mini h3 {
            font-size: 0.7rem;
        }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .ai-chat-sources-mini {
        width: 260px;
        right: 15px;
    }
}

.ai-advanced-source-info {
    display: flex;
    align-items: center;
}

.ai-advanced-source-category {
    font-weight: 500;
    color: var(--ai-text-strong, #fff);
}

.ai-advanced-source-name {
    color: var(--ai-text-muted, #9c9c9c);
    margin-left: 5px;
    max-width: 169px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-advanced-source-type {
    margin-left: 6px;
    display: flex;
    align-items: center;
    color: var(--ai-text-muted);

}

.ai-advanced-source-goto,
.ai-source-tag-goto {
    cursor: pointer;
    color: var(--ai-text-muted);
    font-size: 14px;
    line-height: 1;
    transition: color 0.2s;
    margin-right: 8px;
    padding: 2px;
}

.ai-advanced-source-goto:hover,
.ai-source-tag-goto:hover {
    color: var(--ai-accent-strong);
}

/* Workspace source row layout */
.ai-advanced-source-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
}

/* Prominent workspace navigation button */
.ai-workspace-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: calc(100% - 2px);
    max-width: 100%;
    margin-top: 6px;
    padding: 5px 10px;
    background: var(--ai-accent-soft-strong);
    border: 1px solid rgba(81, 175, 234, 0.3);
    border-radius: 4px;
    color: var(--ai-accent-strong);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
}

.ai-workspace-nav-btn:hover {
    background: rgba(81, 175, 234, 0.25);
    border-color: rgba(81, 175, 234, 0.5);
    color: var(--ai-accent-hover);
}

.ai-workspace-nav-btn svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

/* Workspace source item needs flex-direction column for button below */
.ai-advanced-source-item.ai-advanced-source-workspace {
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}

.ai-advanced-source-remove,
.ai-advanced-tag-remove {
    cursor: pointer;
    color: var(--ai-text-muted);
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
}

.ai-advanced-source-remove:hover,
    .ai-advanced-tag-remove:hover {
        color: var(--ai-danger);
    }

.ai-advanced-no-sources {
    color: var(--ai-text-muted);
    font-size: 14px;
    font-style: italic;
}

.ai-search-tagged-container .ai-source-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--ai-accent-soft-strong);
    border-radius: 4px;
    padding: 4px 8px;
    margin: 2px;
}

.ai-search-tagged-container .ai-source-tag.ai-source-tag-all {
        background-color: rgba(76, 175, 80, 0.2);
    }

.ai-search-tagged-container .ai-source-tag-text {
    color: var(--ai-accent-strong);
    font-size: 13px;
    display: flex;
    align-items: center;
}

.ai-search-tagged-container .ai-source-tag-type {
    margin-left: 5px;
    display: flex;
    align-items: center;
    color: var(--ai-text-muted);
}

.ai-search-tagged-container .ai-source-tag-remove {
    background: none;
    border: none;
    color: var(--ai-accent-strong);
    margin-left: 6px;
    cursor: pointer;
    font-size: 14px;
}

.ai-advanced-quick-actions {
    display: flex;
    gap: 10px;
/*    margin-bottom: 15px;*/
    flex-wrap: wrap;
}

.ai-advanced-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: var(--ai-bg-surface, #2a2a2a);
    border: 1px solid var(--ai-border-subtle, rgba(255,255,255,0.08));
    border-radius: 6px;
    color: var(--ai-text-strong, #fff);
    cursor: pointer;
    font-size: 14px;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-advanced-action-btn:hover {
        background-color: var(--ai-bg-hover, #3a3a3a);
        border-color: var(--ai-accent-soft-strong, rgba(81, 175, 234, 0.3));
        box-shadow: 0 0 20px rgba(81, 175, 234, 0.15);
    }

.ai-advanced-action-btn:hover svg {
        color: var(--ai-accent-strong, #51afea);
    }

.ai-advanced-action-btn svg {
        width: 20px;
        height: 20px;
        color: var(--ai-text-muted, #9c9c9c);
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

.ai-advanced-loading,
.ai-advanced-error,
.ai-advanced-empty,
.ai-advanced-info {
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 13px;
}

.ai-advanced-loading {
    background-color: var(--ai-accent-soft);
    color: var(--ai-accent-strong);
}

.ai-advanced-error {
    background-color: var(--ai-danger-soft);
    color: var(--ai-danger);
}

.ai-advanced-empty {
    background-color: var(--ai-bg-surface);
    color: var(--ai-text-muted);
}

.ai-advanced-info {
    background-color: var(--ai-warning-soft);
    color: var(--ai-warning);
}

.ai-advanced-upload-section {
    background-color: var(--ai-bg-surface);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.ai-advanced-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--ai-accent);
    color: var(--ai-text-strong);
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 auto 10px;
    transition: background-color 0.2s;
}

.ai-advanced-upload-btn:hover {
        background-color: var(--ai-accent-fill-hover);
    }

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

.ai-date-filter-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-date-filter-container {
    border-radius: 8px;
    padding: 0;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 320px;
    background: var(--ai-table-bg);
    z-index: 999;
    overflow: hidden;
    transition: right 0.5s ease;
    border: 1px solid var(--ai-border-subtle);
    display: flex;
    flex-direction: column;
}

.ai-date-filter-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ai-date-filter-header h3 {
        margin: 0;
        color: var(--ai-text-muted);
        font-size: 18px;
    }

.ai-date-filter-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    color: var(--ai-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.ai-date-filter-close:hover {
        background-color: #f5f5f5;
    }

.ai-date-filter-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-date-filter-content p {
        margin: 0 0 15px 0;
        color: var(--ai-text-muted);
    }

.ai-date-filter-actions {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.ai-date-filter-actions button {
        padding: 8px 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
        background: #f8f9fa;
        transition: background-color 0.2s;
        font-family: 'Open Sans';
        font-weight: bold;
        font-size: 12px;
    }

.ai-date-filter-actions button:hover {
            background-color: #e9ecef;
        }

.ai-date-filter-clear {
    background-color: var(--ai-danger) !important;
    color: white !important;
    border-color: var(--ai-danger) !important;
}

.ai-date-filter-clear:hover {
        background-color: #c82333 !important;
    }

#ai-date-filter-calendar .ui-datepicker {
    position: static !important;
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    background: none;
    min-width: 300px;
}

#ai-date-filter-calendar .ui-datepicker .ui-datepicker-header
{
    position: relative;
    padding: .2em 0;
    background: none;
    border: none;
}

#ai-date-filter-picker {
    border: none !important;
    background: none;
    border: none;
    background: none;
    pointer-events: none;
    height: 0px !important;
    padding: 0px !important;
}

#ai-date-filter-picker:active,
    #ai-date-filter-picker:focus{
        border: none !important;
        outline: none;
    }

.ai-date-filter-dialog .ui-widget-content {
    background: var(--ai-bg-hover);
    background-color: var(--ai-bg-hover);
    border: none;
    color: var(--ai-text-strong);
    border-radius: 1rem;
    padding: 0.1rem 0.4rem;
    font-family: 'Open Sans';
}

.ai-date-filter-dialog .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: none;
    background: var(--ai-accent) !important;
    font-weight: normal;
    color: var(--ai-text-strong);
}

.ai-date-filter-dialog .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: none;
    background: var(--ai-bg-hover);
    font-weight: normal;
    color: var(--ai-text-strong);
    font-family: 'Open Sans';
    padding: 10px;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
}

.ai-date-filter-dialog .ui-state-default:hover, .ui-widget-content .ui-state-default:hover {
        background: rgb(57, 57, 60);
    }

.ai-date-filter-dialog .ui-widget-header {
    border: 1px solid #dddddd;
    background: var(--ai-bg-hover);
    color: var(--ai-text-strong);
    font-weight: bold;
    border: none;
    font-family: 'Open Sans';
}

.ai-date-filter-dialog .ui-datepicker-prev,
.ai-date-filter-dialog .ui-datepicker-next {
    display: none;
    font-family: 'Open Sans';
}

.ai-date-filter-dialog .ui-datepicker-title {
    display: flex !important;
    margin: 0px;
    font-family: 'Open Sans';
}

.ai-date-filter-dialog .ui-datepicker-title select {
        margin: 1px 1rem;
        background: var(--ai-bg-hover);
        border: none;
        border-radius: 1rem;
        color: var(--ai-text-strong);
        font-family: 'Open Sans';
    }

#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;
    }

#ai-application .document-upload-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(82, 175, 234, 0.3);
    border-radius: 16px;
    padding: 48px 64px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(82, 175, 234, 0.15);
}

#ai-application .document-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ai-application .document-icon {
    width: 64px;
    height: 64px;
    color: var(--ai-accent-strong);
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(82, 175, 234, 0.5));
}

/*#ai-application .document-icon.spinning {
    animation: spin 1.5s linear infinite;
}*/

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

#ai-application .success-icon {
    width: 64px;
    height: 64px;
    color: var(--ai-accent-strong);
    filter: drop-shadow(0 0 8px rgba(82, 175, 234, 0.5));
}

#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;
}

/* court-search-history-item styles moved to ai-chat-court-research-1.0.css */

.ai-right-panel-copy {
    position: relative;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.4rem 0.75rem;
    margin-right: 10px;
    background: var(--ai-bg-soft);
    border: 1px solid var(--ai-border-subtle);
    border-radius: 999px;
    color: var(--ai-text-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ai-right-panel-copy svg {
    display: none;
}

.ai-right-panel-copy:hover {
    background: var(--ai-bg-hover);
    border-color: var(--ai-border-strong);
    color: var(--ai-text-strong);
    transform: translateY(-1px);
}

.ai-right-panel-copy:active {
    transform: translateY(0);
}

.ai-right-panel-copy.tfl-doc-ai-copy-success {
    background: var(--ai-accent-soft-strong);
    border-color: var(--ai-accent-strong);
    color: var(--ai-text-strong);
    box-shadow: 0 0 0 3px rgba(81, 175, 234, 0.12);
}

.ai-right-panel-copy.tfl-doc-ai-copy-error {
    background: var(--ai-danger-soft);
    border-color: var(--ai-danger);
    color: var(--ai-danger);
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.12);
}

.tfl-doc-ai-copy-notification {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px) scale(0.98);
    background: var(--ai-accent);
    color: var(--ai-user-bubble-text);
    border: 1px solid var(--ai-accent-strong);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    letter-spacing: 0.02em;
    z-index: 10000;
}

.tfl-doc-ai-copy-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.tfl-doc-ai-copy-notification.error {
    background: var(--ai-danger);
    color: #fff;
    border-color: var(--ai-danger);
}

.tfl-doc-ai-copy-notification::before {
    display: none;
}

.ai-tts-toggle-btn.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.ai-tts-toggle-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--ai-accent-strong);
    border-radius: 50%;
    animation: ttsLoadingSpin 0.8s linear infinite;
}

.ai-tts-toggle-btn.loading svg {
    visibility: hidden;
}

@keyframes ttsLoadingSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* === Agentic mode (Mode=AgenticMode) — toggle + tool activity cards === */

/* Toggle button active state — TFL blue glow when AgenticMode is on */
.agentic-mode-toggle-btn.active {
    background-color: var(--ai-accent-soft-strong);
    border-color: rgba(81, 175, 234, 0.6);
    box-shadow: 0 0 18px rgba(81, 175, 234, 0.35);
}

.agentic-mode-toggle-btn.active svg {
    color: var(--ai-accent-strong);
}

/* Tool activity card — inline progress feedback emitted between LLM tool iterations */
.ai-tool-activity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    padding: 8px 14px;
    background-color: #232323;
    border: 1px solid var(--ai-tint-lift);
    border-left: 3px solid var(--ai-accent-strong);
    border-radius: 6px;
    color: #cfcfcf;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    transition: background-color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-tool-activity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--ai-accent-strong);
    flex-shrink: 0;
}

/* In-progress state — soft pulse on left border + icon */
.ai-tool-activity:not(.ai-tool-activity-complete):not(.ai-tool-activity-doc-created) .ai-tool-activity-icon {
    animation: aiToolActivityPulse 1.4s ease-in-out infinite;
}

.ai-tool-activity:not(.ai-tool-activity-complete):not(.ai-tool-activity-doc-created) {
    animation: aiToolActivityBorderPulse 1.4s ease-in-out infinite;
}

/* Completed state — green accent, no animation */
.ai-tool-activity-complete {
    border-left-color: var(--ai-success);
    color: var(--ai-text-muted);
    background-color: var(--ai-table-bg);
}

.ai-tool-activity-complete .ai-tool-activity-icon {
    color: var(--ai-success);
}

/* Doc-created state — clickable, opens preview panel */
.ai-tool-activity-doc-created {
    border-left-color: var(--ai-accent-strong);
    background-color: var(--ai-bg-soft);
    cursor: pointer;
    color: var(--ai-text-strong);
}

.ai-tool-activity-doc-created:hover {
    background-color: var(--ai-bg-surface);
    border-color: rgba(81, 175, 234, 0.4);
}

.ai-tool-activity-doc-created a {
    color: var(--ai-accent-strong);
    text-decoration: none;
}

.ai-tool-activity-doc-created a:hover {
    text-decoration: underline;
}

@keyframes aiToolActivityPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* VSRS Locked Side Menu Items (Voice/Playbook/Workspaces) */
.ai-side-menu-item--vsrs-locked {
    position: relative;
    opacity: 0.65;
}

.ai-side-menu-item--vsrs-locked .ai-side-menu-icon {
    opacity: 0.8;
}

.ai-side-menu-item--vsrs-locked .ai-side-menu-label {
    color: var(--ai-text-muted);
}

.ai-side-menu-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    color: var(--ai-warning);
    opacity: 0.9;
    vertical-align: middle;
}

.ai-side-menu-item--vsrs-locked:hover {
    background-color: rgba(245, 158, 11, 0.05);
}

/* VSRS Locked Sources Tab (Moji dokumenti) */
.ai-advanced-tab--vsrs-locked {
    opacity: 0.6;
    cursor: not-allowed;
    color: var(--ai-text-soft);
}

.ai-advanced-tab--vsrs-locked:hover,
.ai-advanced-tab--vsrs-locked.active {
    color: var(--ai-text-soft);
    font-weight: normal;
}

.ai-advanced-tab--vsrs-locked.active::after {
    display: none;
}

.ai-advanced-tab-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    color: var(--ai-warning);
    opacity: 0.9;
    vertical-align: middle;
}

/* VSRS Zero-Retention Badge in search-settings-left */
.ai-vsrs-retention-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 999px;
    color: var(--ai-success);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    margin-right: 8px;
    cursor: help;
    user-select: none;
}

.ai-vsrs-retention-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.ai-vsrs-retention-badge:hover {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.5);
}

/* Inline variant — manj vpadljiv, desno od mikrofona med quick-actions */
.ai-vsrs-retention-badge.ai-vsrs-retention-badge--inline {
    padding: 3px 8px;
    background: rgba(148, 163, 184, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: rgba(148, 163, 184, 0.85);
    font-size: 10px;
    font-weight: 400;
    margin-left: 8px;
    margin-right: 0;
}

.ai-vsrs-retention-badge.ai-vsrs-retention-badge--inline svg {
    width: 11px;
    height: 11px;
}

.ai-vsrs-retention-badge.ai-vsrs-retention-badge--inline:hover {
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.4);
    color: rgba(203, 213, 225, 0.95);
}

/* VSRS Locked quick-action buttons (analyze-document, history, voice-input-btn) */
.ai-advanced-action-btn--vsrs-locked {
    position: relative;
    opacity: 0.55;
    cursor: not-allowed;
}

.ai-advanced-action-btn--vsrs-locked:hover {
    opacity: 0.7;
}

.ai-advanced-action-btn-lock-overlay {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 11px;
    height: 11px;
    background-color: var(--ai-warning);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ai-text-strong);
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ai-advanced-action-btn-lock-overlay svg {
    width: 7px;
    height: 7px;
}

/* VSRS Locked TTS button (Poslušanje) — v action container pod chat odgovorom */
.ai-tts-toggle-btn--vsrs-locked {
    position: relative;
    opacity: 0.55;
    cursor: not-allowed;
}

.ai-tts-toggle-btn--vsrs-locked:hover {
    opacity: 0.7;
}

.ai-tts-toggle-btn--vsrs-locked::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    background-color: var(--ai-warning);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><rect width='18' height='11' x='3' y='11' rx='2' ry='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>");
    background-size: 6px 6px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes aiToolActivityBorderPulse {
    0%, 100% { border-left-color: rgba(81, 175, 234, 0.4); }
    50% { border-left-color: rgba(81, 175, 234, 1); }
}

/* ============================================================================
   PORTAL5 — Nalaganje dokumentov: drag&drop cona + večdatotečni upload-status
   Dark-only (AI chat je namerno temen, #378). Accent = brand #52AFEA.
   ============================================================================ */

/* ---- Drop cona (ovije vnosno vrstico; overlay se pokaže ob .is-drop-active) ---- */
/* Pozicioniranje NE forsiramo tu — .ai-search-input-wrapper je že position:absolute;
   JS doda position:relative le če je element static (sicer bi povozili absolute → premik). */
.chat-drop-overlay {
    position: absolute;
    inset: -2px;
    z-index: 20;
    border-radius: 14px;
    border: 2px dashed rgba(82, 175, 234, 0.55);
    background:
        radial-gradient(120% 130% at 50% 0%, rgba(82, 175, 234, 0.16), transparent 70%),
        rgba(26, 28, 32, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease;
    font-family: "Open Sans", sans-serif;
}
.js-chat-drop.is-drop-active .chat-drop-overlay { opacity: 1; visibility: visible; }
.chat-drop-overlay .cdo-ring {
    width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center;
    background: var(--ai-accent-soft-strong); color: var(--ai-accent-strong);
}
.chat-drop-overlay .cdo-big { font-size: 14px; font-weight: 600; color: #f2f4f6; }
.chat-drop-overlay .cdo-small { font-size: 12px; color: #a6acb2; }
.chat-drop-overlay .cdo-small b { color: var(--ai-accent-strong); font-weight: 600; }

/* ---- Toast (window.TFLAI.toast) — ne-blokирajoč, chat-stil (#2a2a2a). Zloži se spodaj-desno. ---- */
#tflToasts {
    position: fixed; right: 18px; bottom: 18px; z-index: 4000;
    display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
    pointer-events: none;
}
.tfl-toast {
    display: flex; align-items: center; gap: 9px;
    max-width: 340px; padding: 10px 13px;
    background: var(--ai-bg-surface); border: 1px solid var(--ai-tint-lift-strong); border-radius: 9px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    font-family: "Open Sans", sans-serif; font-size: 12.5px; line-height: 1.35; color: var(--ai-text-body);
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto; cursor: pointer;
}
.tfl-toast.is-in { opacity: 1; transform: translateY(0); }
.tfl-toast.is-out { opacity: 0; transform: translateY(4px); }
.tfl-toast-ic { flex: none; width: 16px; height: 16px; display: grid; place-items: center; }
.tfl-toast-ic svg { width: 15px; height: 15px; }
.tfl-toast-msg {
    min-width: 0; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tfl-toast--success .tfl-toast-ic { color: #5fbf8f; }
.tfl-toast--info .tfl-toast-ic { color: var(--ai-accent-strong); }
.tfl-toast--warn .tfl-toast-ic { color: #e0a54a; }
.tfl-toast--error .tfl-toast-ic { color: #f0675c; }
@media (max-width: 560px) {
    #tflToasts { left: 12px; right: 12px; align-items: stretch; }
    .tfl-toast { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .tfl-toast, .chat-drop-overlay { transition: none; }
}

/* ---- Pending source-čip: dokument v nalaganju v "Izbrani viri" (inline feedback) ---- */
.ai-advanced-source-item.is-pending { opacity: 0.72; }
.ai-advanced-source-loading {
    width: 13px; height: 13px; flex: none; box-sizing: border-box; display: inline-block;
    border: 2px solid var(--ai-accent-strong); border-color: var(--ai-accent-strong) #52AFEA transparent; border-radius: 50%;
    animation: ai-loading-animation 1.2s linear infinite;
}

/* ===== SVETLA TEMA: bela glava nosi modri brand logo (gl. plan 3b/4c) ===== */
body.ai-chat-theme-light .header {
    background-color: var(--ai-bg-header);
    border-bottom: 1px solid var(--ai-tint-hairline);
}
body.ai-chat-theme-light .header .logo {
    background-image: url("../images/tfl-logo-blue-transparent-icon.png");
}

/* ===== SVETLA TEMA: header chrome berljivost (bela glava) ===== */
body.ai-chat-theme-light .header .username {
    color: var(--ai-text-body);
}
/* .logout je moder avatar (ico-user-settings_2.png = moder krog + bela oseba),
   bere se na beli glavi — NE filtriraj (filter bi pobil brand modro). */
body.ai-chat-theme-light .header a.modal-dialog svg,
body.ai-chat-theme-light .header a.modal-dialog svg path {
    fill: var(--ai-icon-muted);
}
/* KVOTA-1 (2026-08-18) — indikator porabljene mesecne kvote ob iskalnem gumbu.
   Strezniska stran ga izrise SELE od 75 % naprej (AiConfig.QuotaIndicatorThresholdPercent),
   zato tu ni logike o pragu — samo videz in skrivanje na mobilnem. */
.ai-quota-indicator-wrap {
    display: inline-flex;
    align-items: center;
    /* Stars .ai-search-options-wrapper ima justify-content: space-between in je doslej imel
       DVA otroka (.search-settings-left in #ai-search-btn). Znacka je tretji otrok, zato bi
       space-between prosti prostor razdelil med vse tri in bi znacka pristala sredi vrstice.
       margin-left: auto jo potisne k desnemu robu, margin-right pa jo drzi tik ob gumbu. */
    margin-left: auto;
    margin-right: 0.5rem;
}

.ai-quota-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 1.5rem;
    padding: 0 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    color: #b45309;
    background-color: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.38);
    user-select: none;
    cursor: default;
    white-space: nowrap;
}

.ai-quota-indicator--critical {
    color: #b91c1c;
    background-color: rgba(220, 38, 38, 0.16);
    border-color: rgba(220, 38, 38, 0.42);
}

/* Temna tema: enaka barvna druzina, svetlejsa pisava zaradi kontrasta. */
body.ai-chat-theme-dark .ai-quota-indicator {
    color: #fbbf24;
    background-color: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.45);
}

body.ai-chat-theme-dark .ai-quota-indicator--critical {
    color: #f87171;
    background-color: rgba(220, 38, 38, 0.20);
    border-color: rgba(220, 38, 38, 0.50);
}

/* SAMO DESKTOP — na mobilnem je vrstica z gumbi ze zasedena. */
body.body-mobile .ai-quota-indicator-wrap {
    display: none;
}

@media (max-width: 768px) {
    .ai-quota-indicator-wrap {
        display: none;
    }
}

