/* node_modules/tailwindcss/index.css */
@layer theme, base, components, utilities;
@layer theme {
  @theme default { --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --color-red-50: oklch(97.1% 0.013 17.38); --color-red-100: oklch(93.6% 0.032 17.717); --color-red-200: oklch(88.5% 0.062 18.334); --color-red-300: oklch(80.8% 0.114 19.571); --color-red-400: oklch(70.4% 0.191 22.216); --color-red-500: oklch(63.7% 0.237 25.331); --color-red-600: oklch(57.7% 0.245 27.325); --color-red-700: oklch(50.5% 0.213 27.518); --color-red-800: oklch(44.4% 0.177 26.899); --color-red-900: oklch(39.6% 0.141 25.723); --color-red-950: oklch(25.8% 0.092 26.042); --color-orange-50: oklch(98% 0.016 73.684); --color-orange-100: oklch(95.4% 0.038 75.164); --color-orange-200: oklch(90.1% 0.076 70.697); --color-orange-300: oklch(83.7% 0.128 66.29); --color-orange-400: oklch(75% 0.183 55.934); --color-orange-500: oklch(70.5% 0.213 47.604); --color-orange-600: oklch(64.6% 0.222 41.116); --color-orange-700: oklch(55.3% 0.195 38.402); --color-orange-800: oklch(47% 0.157 37.304); --color-orange-900: oklch(40.8% 0.123 38.172); --color-orange-950: oklch(26.6% 0.079 36.259); --color-amber-50: oklch(98.7% 0.022 95.277); --color-amber-100: oklch(96.2% 0.059 95.617); --color-amber-200: oklch(92.4% 0.12 95.746); --color-amber-300: oklch(87.9% 0.169 91.605); --color-amber-400: oklch(82.8% 0.189 84.429); --color-amber-500: oklch(76.9% 0.188 70.08); --color-amber-600: oklch(66.6% 0.179 58.318); --color-amber-700: oklch(55.5% 0.163 48.998); --color-amber-800: oklch(47.3% 0.137 46.201); --color-amber-900: oklch(41.4% 0.112 45.904); --color-amber-950: oklch(27.9% 0.077 45.635); --color-yellow-50: oklch(98.7% 0.026 102.212); --color-yellow-100: oklch(97.3% 0.071 103.193); --color-yellow-200: oklch(94.5% 0.129 101.54); --color-yellow-300: oklch(90.5% 0.182 98.111); --color-yellow-400: oklch(85.2% 0.199 91.936); --color-yellow-500: oklch(79.5% 0.184 86.047); --color-yellow-600: oklch(68.1% 0.162 75.834); --color-yellow-700: oklch(55.4% 0.135 66.442); --color-yellow-800: oklch(47.6% 0.114 61.907); --color-yellow-900: oklch(42.1% 0.095 57.708); --color-yellow-950: oklch(28.6% 0.066 53.813); --color-lime-50: oklch(98.6% 0.031 120.757); --color-lime-100: oklch(96.7% 0.067 122.328); --color-lime-200: oklch(93.8% 0.127 124.321); --color-lime-300: oklch(89.7% 0.196 126.665); --color-lime-400: oklch(84.1% 0.238 128.85); --color-lime-500: oklch(76.8% 0.233 130.85); --color-lime-600: oklch(64.8% 0.2 131.684); --color-lime-700: oklch(53.2% 0.157 131.589); --color-lime-800: oklch(45.3% 0.124 130.933); --color-lime-900: oklch(40.5% 0.101 131.063); --color-lime-950: oklch(27.4% 0.072 132.109); --color-green-50: oklch(98.2% 0.018 155.826); --color-green-100: oklch(96.2% 0.044 156.743); --color-green-200: oklch(92.5% 0.084 155.995); --color-green-300: oklch(87.1% 0.15 154.449); --color-green-400: oklch(79.2% 0.209 151.711); --color-green-500: oklch(72.3% 0.219 149.579); --color-green-600: oklch(62.7% 0.194 149.214); --color-green-700: oklch(52.7% 0.154 150.069); --color-green-800: oklch(44.8% 0.119 151.328); --color-green-900: oklch(39.3% 0.095 152.535); --color-green-950: oklch(26.6% 0.065 152.934); --color-emerald-50: oklch(97.9% 0.021 166.113); --color-emerald-100: oklch(95% 0.052 163.051); --color-emerald-200: oklch(90.5% 0.093 164.15); --color-emerald-300: oklch(84.5% 0.143 164.978); --color-emerald-400: oklch(76.5% 0.177 163.223); --color-emerald-500: oklch(69.6% 0.17 162.48); --color-emerald-600: oklch(59.6% 0.145 163.225); --color-emerald-700: oklch(50.8% 0.118 165.612); --color-emerald-800: oklch(43.2% 0.095 166.913); --color-emerald-900: oklch(37.8% 0.077 168.94); --color-emerald-950: oklch(26.2% 0.051 172.552); --color-teal-50: oklch(98.4% 0.014 180.72); --color-teal-100: oklch(95.3% 0.051 180.801); --color-teal-200: oklch(91% 0.096 180.426); --color-teal-300: oklch(85.5% 0.138 181.071); --color-teal-400: oklch(77.7% 0.152 181.912); --color-teal-500: oklch(70.4% 0.14 182.503); --color-teal-600: oklch(60% 0.118 184.704); --color-teal-700: oklch(51.1% 0.096 186.391); --color-teal-800: oklch(43.7% 0.078 188.216); --color-teal-900: oklch(38.6% 0.063 188.416); --color-teal-950: oklch(27.7% 0.046 192.524); --color-cyan-50: oklch(98.4% 0.019 200.873); --color-cyan-100: oklch(95.6% 0.045 203.388); --color-cyan-200: oklch(91.7% 0.08 205.041); --color-cyan-300: oklch(86.5% 0.127 207.078); --color-cyan-400: oklch(78.9% 0.154 211.53); --color-cyan-500: oklch(71.5% 0.143 215.221); --color-cyan-600: oklch(60.9% 0.126 221.723); --color-cyan-700: oklch(52% 0.105 223.128); --color-cyan-800: oklch(45% 0.085 224.283); --color-cyan-900: oklch(39.8% 0.07 227.392); --color-cyan-950: oklch(30.2% 0.056 229.695); --color-sky-50: oklch(97.7% 0.013 236.62); --color-sky-100: oklch(95.1% 0.026 236.824); --color-sky-200: oklch(90.1% 0.058 230.902); --color-sky-300: oklch(82.8% 0.111 230.318); --color-sky-400: oklch(74.6% 0.16 232.661); --color-sky-500: oklch(68.5% 0.169 237.323); --color-sky-600: oklch(58.8% 0.158 241.966); --color-sky-700: oklch(50% 0.134 242.749); --color-sky-800: oklch(44.3% 0.11 240.79); --color-sky-900: oklch(39.1% 0.09 240.876); --color-sky-950: oklch(29.3% 0.066 243.157); --color-blue-50: oklch(97% 0.014 254.604); --color-blue-100: oklch(93.2% 0.032 255.585); --color-blue-200: oklch(88.2% 0.059 254.128); --color-blue-300: oklch(80.9% 0.105 251.813); --color-blue-400: oklch(70.7% 0.165 254.624); --color-blue-500: oklch(62.3% 0.214 259.815); --color-blue-600: oklch(54.6% 0.245 262.881); --color-blue-700: oklch(48.8% 0.243 264.376); --color-blue-800: oklch(42.4% 0.199 265.638); --color-blue-900: oklch(37.9% 0.146 265.522); --color-blue-950: oklch(28.2% 0.091 267.935); --color-indigo-50: oklch(96.2% 0.018 272.314); --color-indigo-100: oklch(93% 0.034 272.788); --color-indigo-200: oklch(87% 0.065 274.039); --color-indigo-300: oklch(78.5% 0.115 274.713); --color-indigo-400: oklch(67.3% 0.182 276.935); --color-indigo-500: oklch(58.5% 0.233 277.117); --color-indigo-600: oklch(51.1% 0.262 276.966); --color-indigo-700: oklch(45.7% 0.24 277.023); --color-indigo-800: oklch(39.8% 0.195 277.366); --color-indigo-900: oklch(35.9% 0.144 278.697); --color-indigo-950: oklch(25.7% 0.09 281.288); --color-violet-50: oklch(96.9% 0.016 293.756); --color-violet-100: oklch(94.3% 0.029 294.588); --color-violet-200: oklch(89.4% 0.057 293.283); --color-violet-300: oklch(81.1% 0.111 293.571); --color-violet-400: oklch(70.2% 0.183 293.541); --color-violet-500: oklch(60.6% 0.25 292.717); --color-violet-600: oklch(54.1% 0.281 293.009); --color-violet-700: oklch(49.1% 0.27 292.581); --color-violet-800: oklch(43.2% 0.232 292.759); --color-violet-900: oklch(38% 0.189 293.745); --color-violet-950: oklch(28.3% 0.141 291.089); --color-purple-50: oklch(97.7% 0.014 308.299); --color-purple-100: oklch(94.6% 0.033 307.174); --color-purple-200: oklch(90.2% 0.063 306.703); --color-purple-300: oklch(82.7% 0.119 306.383); --color-purple-400: oklch(71.4% 0.203 305.504); --color-purple-500: oklch(62.7% 0.265 303.9); --color-purple-600: oklch(55.8% 0.288 302.321); --color-purple-700: oklch(49.6% 0.265 301.924); --color-purple-800: oklch(43.8% 0.218 303.724); --color-purple-900: oklch(38.1% 0.176 304.987); --color-purple-950: oklch(29.1% 0.149 302.717); --color-fuchsia-50: oklch(97.7% 0.017 320.058); --color-fuchsia-100: oklch(95.2% 0.037 318.852); --color-fuchsia-200: oklch(90.3% 0.076 319.62); --color-fuchsia-300: oklch(83.3% 0.145 321.434); --color-fuchsia-400: oklch(74% 0.238 322.16); --color-fuchsia-500: oklch(66.7% 0.295 322.15); --color-fuchsia-600: oklch(59.1% 0.293 322.896); --color-fuchsia-700: oklch(51.8% 0.253 323.949); --color-fuchsia-800: oklch(45.2% 0.211 324.591); --color-fuchsia-900: oklch(40.1% 0.17 325.612); --color-fuchsia-950: oklch(29.3% 0.136 325.661); --color-pink-50: oklch(97.1% 0.014 343.198); --color-pink-100: oklch(94.8% 0.028 342.258); --color-pink-200: oklch(89.9% 0.061 343.231); --color-pink-300: oklch(82.3% 0.12 346.018); --color-pink-400: oklch(71.8% 0.202 349.761); --color-pink-500: oklch(65.6% 0.241 354.308); --color-pink-600: oklch(59.2% 0.249 0.584); --color-pink-700: oklch(52.5% 0.223 3.958); --color-pink-800: oklch(45.9% 0.187 3.815); --color-pink-900: oklch(40.8% 0.153 2.432); --color-pink-950: oklch(28.4% 0.109 3.907); --color-rose-50: oklch(96.9% 0.015 12.422); --color-rose-100: oklch(94.1% 0.03 12.58); --color-rose-200: oklch(89.2% 0.058 10.001); --color-rose-300: oklch(81% 0.117 11.638); --color-rose-400: oklch(71.2% 0.194 13.428); --color-rose-500: oklch(64.5% 0.246 16.439); --color-rose-600: oklch(58.6% 0.253 17.585); --color-rose-700: oklch(51.4% 0.222 16.935); --color-rose-800: oklch(45.5% 0.188 13.697); --color-rose-900: oklch(41% 0.159 10.272); --color-rose-950: oklch(27.1% 0.105 12.094); --color-slate-50: oklch(98.4% 0.003 247.858); --color-slate-100: oklch(96.8% 0.007 247.896); --color-slate-200: oklch(92.9% 0.013 255.508); --color-slate-300: oklch(86.9% 0.022 252.894); --color-slate-400: oklch(70.4% 0.04 256.788); --color-slate-500: oklch(55.4% 0.046 257.417); --color-slate-600: oklch(44.6% 0.043 257.281); --color-slate-700: oklch(37.2% 0.044 257.287); --color-slate-800: oklch(27.9% 0.041 260.031); --color-slate-900: oklch(20.8% 0.042 265.755); --color-slate-950: oklch(12.9% 0.042 264.695); --color-gray-50: oklch(98.5% 0.002 247.839); --color-gray-100: oklch(96.7% 0.003 264.542); --color-gray-200: oklch(92.8% 0.006 264.531); --color-gray-300: oklch(87.2% 0.01 258.338); --color-gray-400: oklch(70.7% 0.022 261.325); --color-gray-500: oklch(55.1% 0.027 264.364); --color-gray-600: oklch(44.6% 0.03 256.802); --color-gray-700: oklch(37.3% 0.034 259.733); --color-gray-800: oklch(27.8% 0.033 256.848); --color-gray-900: oklch(21% 0.034 264.665); --color-gray-950: oklch(13% 0.028 261.692); --color-zinc-50: oklch(98.5% 0 0); --color-zinc-100: oklch(96.7% 0.001 286.375); --color-zinc-200: oklch(92% 0.004 286.32); --color-zinc-300: oklch(87.1% 0.006 286.286); --color-zinc-400: oklch(70.5% 0.015 286.067); --color-zinc-500: oklch(55.2% 0.016 285.938); --color-zinc-600: oklch(44.2% 0.017 285.786); --color-zinc-700: oklch(37% 0.013 285.805); --color-zinc-800: oklch(27.4% 0.006 286.033); --color-zinc-900: oklch(21% 0.006 285.885); --color-zinc-950: oklch(14.1% 0.005 285.823); --color-neutral-50: oklch(98.5% 0 0); --color-neutral-100: oklch(97% 0 0); --color-neutral-200: oklch(92.2% 0 0); --color-neutral-300: oklch(87% 0 0); --color-neutral-400: oklch(70.8% 0 0); --color-neutral-500: oklch(55.6% 0 0); --color-neutral-600: oklch(43.9% 0 0); --color-neutral-700: oklch(37.1% 0 0); --color-neutral-800: oklch(26.9% 0 0); --color-neutral-900: oklch(20.5% 0 0); --color-neutral-950: oklch(14.5% 0 0); --color-stone-50: oklch(98.5% 0.001 106.423); --color-stone-100: oklch(97% 0.001 106.424); --color-stone-200: oklch(92.3% 0.003 48.717); --color-stone-300: oklch(86.9% 0.005 56.366); --color-stone-400: oklch(70.9% 0.01 56.259); --color-stone-500: oklch(55.3% 0.013 58.071); --color-stone-600: oklch(44.4% 0.011 73.639); --color-stone-700: oklch(37.4% 0.01 67.558); --color-stone-800: oklch(26.8% 0.007 34.298); --color-stone-900: oklch(21.6% 0.006 56.043); --color-stone-950: oklch(14.7% 0.004 49.25); --color-mauve-50: oklch(98.5% 0 0); --color-mauve-100: oklch(96% 0.003 325.6); --color-mauve-200: oklch(92.2% 0.005 325.62); --color-mauve-300: oklch(86.5% 0.012 325.68); --color-mauve-400: oklch(71.1% 0.019 323.02); --color-mauve-500: oklch(54.2% 0.034 322.5); --color-mauve-600: oklch(43.5% 0.029 321.78); --color-mauve-700: oklch(36.4% 0.029 323.89); --color-mauve-800: oklch(26.3% 0.024 320.12); --color-mauve-900: oklch(21.2% 0.019 322.12); --color-mauve-950: oklch(14.5% 0.008 326); --color-olive-50: oklch(98.8% 0.003 106.5); --color-olive-100: oklch(96.6% 0.005 106.5); --color-olive-200: oklch(93% 0.007 106.5); --color-olive-300: oklch(88% 0.011 106.6); --color-olive-400: oklch(73.7% 0.021 106.9); --color-olive-500: oklch(58% 0.031 107.3); --color-olive-600: oklch(46.6% 0.025 107.3); --color-olive-700: oklch(39.4% 0.023 107.4); --color-olive-800: oklch(28.6% 0.016 107.4); --color-olive-900: oklch(22.8% 0.013 107.4); --color-olive-950: oklch(15.3% 0.006 107.1); --color-mist-50: oklch(98.7% 0.002 197.1); --color-mist-100: oklch(96.3% 0.002 197.1); --color-mist-200: oklch(92.5% 0.005 214.3); --color-mist-300: oklch(87.2% 0.007 219.6); --color-mist-400: oklch(72.3% 0.014 214.4); --color-mist-500: oklch(56% 0.021 213.5); --color-mist-600: oklch(45% 0.017 213.2); --color-mist-700: oklch(37.8% 0.015 216); --color-mist-800: oklch(27.5% 0.011 216.9); --color-mist-900: oklch(21.8% 0.008 223.9); --color-mist-950: oklch(14.8% 0.004 228.8); --color-taupe-50: oklch(98.6% 0.002 67.8); --color-taupe-100: oklch(96% 0.002 17.2); --color-taupe-200: oklch(92.2% 0.005 34.3); --color-taupe-300: oklch(86.8% 0.007 39.5); --color-taupe-400: oklch(71.4% 0.014 41.2); --color-taupe-500: oklch(54.7% 0.021 43.1); --color-taupe-600: oklch(43.8% 0.017 39.3); --color-taupe-700: oklch(36.7% 0.016 35.7); --color-taupe-800: oklch(26.8% 0.011 36.5); --color-taupe-900: oklch(21.4% 0.009 43.1); --color-taupe-950: oklch(14.7% 0.004 49.3); --color-black: #000; --color-white: #fff; --spacing: 0.25rem; --breakpoint-sm: 40rem; --breakpoint-md: 48rem; --breakpoint-lg: 64rem; --breakpoint-xl: 80rem; --breakpoint-2xl: 96rem; --container-3xs: 16rem; --container-2xs: 18rem; --container-xs: 20rem; --container-sm: 24rem; --container-md: 28rem; --container-lg: 32rem; --container-xl: 36rem; --container-2xl: 42rem; --container-3xl: 48rem; --container-4xl: 56rem; --container-5xl: 64rem; --container-6xl: 72rem; --container-7xl: 80rem; --text-xs: 0.75rem; --text-xs--line-height: calc(1 / 0.75); --text-sm: 0.875rem; --text-sm--line-height: calc(1.25 / 0.875); --text-base: 1rem; --text-base--line-height: calc(1.5 / 1); --text-lg: 1.125rem; --text-lg--line-height: calc(1.75 / 1.125); --text-xl: 1.25rem; --text-xl--line-height: calc(1.75 / 1.25); --text-2xl: 1.5rem; --text-2xl--line-height: calc(2 / 1.5); --text-3xl: 1.875rem; --text-3xl--line-height: calc(2.25 / 1.875); --text-4xl: 2.25rem; --text-4xl--line-height: calc(2.5 / 2.25); --text-5xl: 3rem; --text-5xl--line-height: 1; --text-6xl: 3.75rem; --text-6xl--line-height: 1; --text-7xl: 4.5rem; --text-7xl--line-height: 1; --text-8xl: 6rem; --text-8xl--line-height: 1; --text-9xl: 8rem; --text-9xl--line-height: 1; --font-weight-thin: 100; --font-weight-extralight: 200; --font-weight-light: 300; --font-weight-normal: 400; --font-weight-medium: 500; --font-weight-semibold: 600; --font-weight-bold: 700; --font-weight-extrabold: 800; --font-weight-black: 900; --tracking-tighter: -0.05em; --tracking-tight: -0.025em; --tracking-normal: 0em; --tracking-wide: 0.025em; --tracking-wider: 0.05em; --tracking-widest: 0.1em; --leading-tight: 1.25; --leading-snug: 1.375; --leading-normal: 1.5; --leading-relaxed: 1.625; --leading-loose: 2; --radius-xs: 0.125rem; --radius-sm: 0.25rem; --radius-md: 0.375rem; --radius-lg: 0.5rem; --radius-xl: 0.75rem; --radius-2xl: 1rem; --radius-3xl: 1.5rem; --radius-4xl: 2rem; --shadow-2xs: 0 1px rgb(0 0 0 / 0.05); --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25); --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05); --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05); --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05); --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05); --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15); --drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12); --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15); --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1); --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15); --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15); --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2); --text-shadow-sm: 0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075); --text-shadow-md: 0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1); --text-shadow-lg: 0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1); --ease-in: cubic-bezier(0.4, 0, 1, 1); --ease-out: cubic-bezier(0, 0, 0.2, 1); --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1); --animate-spin: spin 1s linear infinite; --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; --animate-bounce: bounce 1s infinite; @keyframes spin { to { transform: rotate(360deg); } } @keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } } @keyframes pulse { 50% { opacity: 0.5; } } @keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); } 50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } } --blur-xs: 4px; --blur-sm: 8px; --blur-md: 12px; --blur-lg: 16px; --blur-xl: 24px; --blur-2xl: 40px; --blur-3xl: 64px; --perspective-dramatic: 100px; --perspective-near: 300px; --perspective-normal: 500px; --perspective-midrange: 800px; --perspective-distant: 1200px; --aspect-video: 16 / 9; --default-transition-duration: 150ms; --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); --default-font-family: --theme(--font-sans, initial); --default-font-feature-settings: --theme( --font-sans--font-feature-settings, initial ); --default-font-variation-settings: --theme( --font-sans--font-variation-settings, initial ); --default-mono-font-family: --theme(--font-mono, initial); --default-mono-font-feature-settings: --theme( --font-mono--font-feature-settings, initial ); --default-mono-font-variation-settings: --theme( --font-mono--font-variation-settings, initial ); }
  @theme default inline reference { --blur: 8px; --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06); --radius: 0.25rem; --max-width-prose: 65ch; }
}
@layer base {
  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html,
  :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: --theme(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: --theme(--default-font-feature-settings, normal);
    font-variation-settings: --theme(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: --theme(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: --theme(--default-mono-font-feature-settings, normal);
    font-variation-settings: --theme(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block;
    vertical-align: middle;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit,
  ::-webkit-datetime-edit-year-field,
  ::-webkit-datetime-edit-month-field,
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field,
  ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field,
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type=button], [type=reset], [type=submit]),
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden=until-found])) {
    display: none !important;
  }
}
@layer utilities {
  @tailwind utilities;
}

/* app/globals.css */
:root {
  --blue:#1769e8;
  --blue-dark:#0d49a7;
  --ink:#162033;
  --muted:#758096;
  --line:#e8edf5;
  --bg:#f4f7fb;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: .58;
}
.app-shell {
  min-height: 100vh;
  display: flex;
}
.site-filing {
  z-index: 18;
  text-align: center;
  font-size: 11px;
  color: #7d8797;
}
.site-filing a {
  color: inherit;
  text-decoration: none;
}
.site-filing a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.login-filing {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
}
.app-filing {
  position: fixed;
  left: 232px;
  right: 0;
  bottom: 8px;
  pointer-events: none;
}
.app-filing a {
  pointer-events: auto;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background:
    linear-gradient(
      180deg,
      #0d54be 0%,
      #0c429c 100%);
  color: #fff;
  padding: 25px 16px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 9px 29px;
}
.brand-mark,
.mobile-brand {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 6px 18px #062b6a44;
}
.brand div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand strong {
  font-size: 17px;
  letter-spacing: .5px;
}
.brand small {
  font-size: 11px;
  color: #c5dbff;
}
.sidebar nav {
  display: grid;
  gap: 10px;
}
.nav-item {
  border: 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: transparent;
  color: #cfddf4;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 14px;
}
.nav-item span {
  width: 18px;
  text-align: center;
  font-weight: 700;
}
.nav-item:hover,
.nav-item.active {
  background: #ffffff18;
  color: #fff;
}
.nav-item.active {
  box-shadow: inset 3px 0 #fff;
}
.sidebar-note {
  margin-top: auto;
  border: 1px solid #ffffff21;
  background: #ffffff10;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar-note span,
.sidebar-note small {
  font-size: 11px;
  color: #c9dcfb;
}
.sidebar-note strong {
  font-size: 14px;
}
.content {
  margin-left: 232px;
  width: calc(100% - 232px);
  padding: 0 30px 38px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar h1 {
  font-size: 23px;
  margin: 0 0 5px;
}
.topbar p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.mobile-brand {
  display: none;
  border: 0;
}
.user-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 4px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}
.profile-trigger:hover {
  background: #edf4ff;
}
.avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dceaff;
  color: var(--blue);
  font-weight: 700;
}
.user-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.user-copy strong {
  font-size: 13px;
}
.user-copy small {
  font-size: 11px;
  color: var(--muted);
}
.demo-role {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  margin-right: 12px;
}
.demo-role select {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 7px;
  color: var(--ink);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.metric {
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 14px;
  min-height: 125px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 4px 16px #20365b0a;
}
.metric.featured {
  background:
    linear-gradient(
      135deg,
      #1b73eb,
      #155cc7);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 25px #1769e837;
}
.metric div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.metric span {
  font-size: 12px;
  color: var(--muted);
}
.metric.featured span,
.metric.featured small {
  color: #d8e8ff;
}
.metric strong {
  font-size: 26px;
  letter-spacing: -1px;
}
.metric strong em {
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}
.metric small {
  font-size: 11px;
  color: var(--muted);
}
.metric b {
  font-size: 26px;
}
.metric .pale {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e7f6f1;
  color: #28a777;
}
.metric .gold {
  background: #fff4de;
  color: #e59a17;
}
.metric .purple {
  background: #eeeaff;
  color: #7665e9;
}
.metric .good {
  color: #20a573;
}
.metric .warn {
  color: #e68c16;
}
.panel {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 15px;
  box-shadow: 0 6px 24px #263a5c0b;
  overflow: hidden;
}
.panel-head {
  padding: 20px 22px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel h2 {
  margin: 0 0 5px;
  font-size: 17px;
}
.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.primary {
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 5px 12px #1769e82c;
}
.primary:hover {
  background: var(--blue-dark);
}
.toolbar {
  padding: 0 22px 15px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex;
  gap: 4px;
  background: #f4f6fa;
  padding: 3px;
  border-radius: 8px;
}
.filters button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 11px;
}
.filters button.selected {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 2px 8px #223a6020;
  font-weight: 600;
}
.search {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #8a94a6;
}
.search input {
  width: 185px;
  border: 0;
  outline: 0;
  padding: 8px 0;
  font-size: 11px;
  color: var(--ink);
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 940px;
}
th {
  text-align: left;
  background: #fbfcfe;
  padding: 10px 14px;
  color: #8a93a4;
  font-size: 10px;
  font-weight: 500;
}
td {
  border-top: 1px solid #edf1f6;
  padding: 14px;
  font-size: 11px;
  vertical-align: middle;
}
tbody tr:hover {
  background: #fafcff;
}
.project-name {
  display: flex;
  align-items: center;
  gap: 9px;
}
.project-name strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  white-space: nowrap;
}
.project-name small,
.money-sub {
  display: block;
  color: #8a94a6;
  font-size: 9px;
  white-space: nowrap;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fa87d;
  box-shadow: 0 0 0 4px #e0f4ed;
}
.dot.orange {
  background: #ed9b24;
  box-shadow: 0 0 0 4px #fff0d9;
}
.dot.gray {
  background: #8c97a8;
  box-shadow: 0 0 0 4px #eef0f3;
}
.stage {
  display: flex;
  justify-content: space-between;
  min-width: 135px;
  margin-bottom: 7px;
}
.stage span {
  color: #657084;
}
.stage b {
  font-size: 10px;
  color: var(--blue);
}
.progress {
  height: 5px;
  background: #edf1f7;
  border-radius: 9px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #4a96fa,
      #1769e8);
  border-radius: 9px;
}
td a {
  display: block;
  color: var(--blue);
  font-size: 9px;
  text-decoration: none;
  margin-top: 4px;
}
.owner {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8f1ff;
  color: var(--blue);
  font-size: 10px;
  margin-right: 6px;
}
.more {
  border: 0;
  background: transparent;
  color: #8992a2;
  letter-spacing: 2px;
}
.empty {
  text-align: center;
  padding: 45px;
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #0c1a3073;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal {
  width: min(860px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 30px 34px;
  box-shadow: 0 28px 80px #06122455;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.modal-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
}
.modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.modal-head button {
  border: 0;
  background: #f1f4f8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: #6c7687;
  flex: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}
.modal label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.modal input,
.modal select,
.modal textarea {
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  padding: 12px 14px;
  outline: 0;
  font-size: 13px;
  background: #fff;
}
.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1769e812;
}
.modal textarea {
  min-height: 96px;
  resize: vertical;
  margin-top: 14px;
  line-height: 1.6;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.modal-actions button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 13px;
  min-height: 42px;
}
.modal-actions .primary {
  background: var(--blue);
  border-color: var(--blue);
}
.modal .modal-head,
.modal .modal-actions {
  padding-left: 0;
  padding-right: 0;
}
.modal .modal-head > div:first-child {
  flex: 1;
  min-width: 0;
}
@media (max-width: 1050px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .sidebar {
    display: none;
  }
  .content {
    margin: 0;
    width: 100%;
    padding: 0 14px 84px;
  }
  .topbar {
    height: 78px;
    justify-content: flex-start;
    gap: 11px;
  }
  .topbar > div:first-of-type {
    flex: 1;
  }
  .topbar h1 {
    font-size: 18px;
  }
  .topbar p {
    font-size: 10px;
  }
  .mobile-brand {
    display: grid;
    flex: none;
  }
  .user-area {
    margin-left: auto;
  }
  .demo-role,
  .user-copy {
    display: none;
  }
  .avatar {
    width: 34px;
    height: 34px;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .metric {
    padding: 15px;
    min-height: 110px;
  }
  .metric strong {
    font-size: 21px;
  }
  .metric b {
    display: none;
  }
  .panel-head {
    padding: 16px;
  }
  .panel-head p {
    display: none;
  }
  .toolbar {
    padding: 0 16px 13px;
    display: block;
  }
  .filters {
    overflow: auto;
    margin-bottom: 10px;
  }
  .filters button {
    white-space: nowrap;
    flex: 1;
  }
  .search {
    height: 38px;
  }
  .search input {
    width: 100%;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    min-width: 0;
  }
  thead {
    display: none;
  }
  tbody {
    display: grid;
    padding: 0 14px 12px;
    gap: 10px;
  }
  tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px;
    gap: 13px;
  }
  td {
    border: 0;
    padding: 0;
  }
  td:first-child {
    grid-column: 1/-1;
  }
  td:nth-child(2) {
    grid-column: 1/-1;
  }
  td:nth-child(6),
  td:nth-child(7) {
    display: none;
  }
  .money-sub {
    white-space: normal;
    line-height: 1.6;
  }
  .mobile-nav {
    position: fixed;
    display: flex;
    justify-content: space-around;
    inset: auto 0 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 9px 8px calc(8px + env(safe-area-inset-bottom));
    z-index: 30;
    box-shadow: 0 -5px 20px #1328490d;
  }
  .mobile-nav button {
    border: 0;
    background: transparent;
    color: #8c96a8;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    font-size: 17px;
  }
  .mobile-nav span {
    font-size: 9px;
  }
  .mobile-nav .active {
    color: var(--blue);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .modal {
    max-height: 90vh;
    overflow: auto;
  }
  .toast {
    left: 18px;
    right: 18px;
    bottom: 82px;
    text-align: center;
  }
}
.screen-center {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--muted);
  gap: 12px;
  padding: 24px;
}
.screen-center small {
  max-width: 420px;
  font-size: 11px;
  line-height: 1.7;
  color: #9a6a1b;
}
.loader {
  width: 34px;
  height: 34px;
  border: 3px solid #dbe8fa;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.login-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px 20px 58px;
  background:
    radial-gradient(
      circle at 20% 20%,
      #dcecff 0,
      transparent 35%),
    linear-gradient(
      135deg,
      #f8fbff,
      #edf4ff);
}
.login-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #e3ebf6;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 24px 70px #164b9622;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
}
.login-brand .brand-mark {
  background: var(--blue);
  color: #fff;
}
.login-brand div {
  display: flex;
  flex-direction: column;
}
.login-brand strong {
  font-size: 18px;
}
.login-brand small {
  color: var(--muted);
  font-size: 11px;
}
.login-card h1 {
  margin: 0 0 8px;
  font-size: 27px;
}
.login-card > p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 13px;
}
.login-card form,
.login-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.login-card form {
  gap: 17px;
}
.login-card label {
  font-size: 12px;
  font-weight: 600;
}
.login-card input {
  border: 1px solid #dfe6f0;
  border-radius: 10px;
  padding: 12px;
  outline: none;
}
.login-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1769e815;
}
.login-button {
  width: 100%;
  padding: 13px;
  margin-top: 5px;
}
.login-tip {
  margin-top: 20px;
  padding: 12px;
  background: #f5f8fc;
  border-radius: 9px;
  color: #7c8799;
  font-size: 11px;
  line-height: 1.7;
}
.form-error {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff0f0;
  color: #d34141;
  font-size: 11px;
}
.logout {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  color: var(--muted);
  font-size: 10px;
  padding: 6px 9px;
  margin-left: 6px;
}
.head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.head-actions > button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 11px;
  color: #4b5668;
}
.head-actions > .primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.month-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  color: #566174;
}
.due-alert {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid #ffd9a3;
  background: #fff8e9;
  color: #8e5a0a;
  border-radius: 11px;
  font-size: 11px;
}
.due-alert b {
  white-space: nowrap;
  color: #dd8210;
}
.project-cards {
  padding: 16px 20px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.project-cards > article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  transition: .2s;
  content-visibility: auto;
  contain-intrinsic-size: auto 210px;
}
.project-cards > article:hover {
  border-color: #bad4f7;
  box-shadow: 0 7px 22px #183e7510;
}
.project-cards .pending-card {
  background: #fafbfe;
  border-style: dashed;
}
.project-cards .due-card {
  border-color: #f5bf71;
  background: #fffaf2;
}
.project-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.project-card-head > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 8px;
  align-items: center;
}
.project-card-head .dot {
  grid-row: 1/3;
}
.project-card-head strong {
  font-size: 13px;
}
.project-card-head small {
  font-size: 9px;
  color: var(--muted);
}
.stage-chip {
  background: #eaf2ff;
  color: var(--blue);
  border-radius: 14px;
  padding: 5px 9px;
  font-size: 9px;
}
.card-progress > span {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 7px;
}
.card-progress b {
  color: var(--blue);
}
.card-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 13px 0;
}
.card-data > div {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-data small,
.people small {
  font-size: 9px;
  color: var(--muted);
}
.card-data strong {
  font-size: 11px;
}
.red-text {
  color: #e24b42;
}
.stage-chip.gray {
  background: #e5e7eb;
  color: #6b7280;
}
.cancel-reason {
  color: #8a94a6;
  font-size: 9px;
  display: block;
  margin-top: 2px;
}
.people {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.card-actions button,
.card-actions a {
  border: 1px solid #dbe4f1;
  background: #fff;
  color: #4f5d70;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 9px;
  text-decoration: none;
}
.card-actions button:hover,
.card-actions a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.review-list {
  padding: 0 20px 20px;
  display: grid;
  gap: 10px;
}
.review-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px;
}
.review-list article > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 9px;
}
.review-list strong {
  font-size: 12px;
}
.review-list small {
  grid-column: 2;
  color: var(--muted);
  font-size: 9px;
}
.review-tag {
  grid-row: 1/3;
  background: #eaf2ff;
  color: var(--blue);
  border-radius: 7px;
  padding: 7px;
  font-size: 9px;
}
.review-list button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 10px;
  margin-left: 6px;
}
.review-list .primary {
  background: var(--blue);
  color: #fff;
}
.account-grid {
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.account-grid article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px;
}
.account-grid article > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.account-grid strong {
  font-size: 12px;
}
.account-grid small {
  font-size: 9px;
  color: var(--muted);
}
.account-grid i {
  font-style: normal;
  font-size: 9px;
  border-radius: 12px;
  padding: 4px 8px;
}
.active-status {
  background: #e8f7f1;
  color: #268b67;
}
.disabled-status {
  background: #f0f1f3;
  color: #7f8792;
}
.account-actions {
  grid-column: 2/4;
}
.account-actions button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 9px;
  padding: 3px 8px 3px 0;
}
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 8px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
}
.check-group label {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 400;
  font-size: 10px;
}
.check-group input {
  width: auto;
}
.modal input[type=file] {
  padding: 7px;
}
.feedback-summary {
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.feedback-summary.has-new {
  background: #fff1df;
  color: #b86b00;
}
.feedback-list {
  padding: 0 20px 20px;
  display: grid;
  gap: 12px;
}
.feedback-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 55, 90, .04);
}
.feedback-card.status-new {
  border-left: 4px solid #f0a62e;
}
.feedback-card.status-processing {
  border-left: 4px solid var(--blue);
}
.feedback-card.status-resolved {
  border-left: 4px solid #39a87b;
}
.feedback-card.status-closed {
  opacity: .72;
}
.feedback-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.feedback-card-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feedback-card-head strong {
  font-size: 13px;
}
.feedback-card-head span,
.feedback-handler {
  font-size: 10px;
  color: var(--muted);
}
.feedback-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
.feedback-meta i,
.feedback-meta b {
  font-style: normal;
  font-size: 9px;
  border-radius: 999px;
  padding: 4px 8px;
}
.feedback-meta i {
  background: #eef4ff;
  color: var(--blue);
}
.feedback-meta b {
  background: #f3f5f8;
  color: #5d6878;
}
.feedback-meta time {
  font-size: 9px;
  color: var(--muted);
}
.feedback-content {
  margin: 14px 0;
  padding: 13px;
  border-radius: 9px;
  background: #f7f9fc;
  color: #1b2636;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.feedback-note {
  display: grid;
  gap: 6px;
}
.feedback-note span {
  font-size: 10px;
  font-weight: 700;
}
.feedback-note textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  font-size: 11px;
}
.feedback-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.feedback-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 10px;
}
.feedback-actions button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.feedback-handler {
  display: block;
  margin-top: 9px;
}
.profile-form {
  grid-template-columns: 1fr;
}
.register-switch {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  padding: 5px;
}
.register-success {
  padding: 10px 12px;
  border-radius: 8px;
  background: #e8f7f1;
  color: #268b67;
  font-size: 11px;
}
.file-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  grid-column: 1/-1;
}
.file-link-list .file-preview {
  margin-top: 0;
}
.form-hint {
  display: block;
  color: #b45309;
  line-height: 1.6;
  padding: 8px 10px;
  background: #fff7ed;
  border-radius: 8px;
}
.modal-backdrop {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal.detail-modal {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 80px #06122455;
}
.modal.detail-modal .modal-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px 34px;
  scrollbar-gutter: stable;
}
.list-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}
.list-controls select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #4b5668;
  padding: 0 28px 0 9px;
  font-size: 10px;
}
.list-controls span {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.project-cards {
  grid-template-columns: 1fr;
  gap: 8px;
}
.project-cards > article {
  display: grid;
  grid-template-columns: minmax(250px, 2fr) 125px minmax(230px, 1.4fr) minmax(160px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}
.project-cards .project-card-head {
  grid-column: 1;
  margin: 0;
}
.project-cards .card-progress {
  grid-column: 2;
}
.project-cards .card-data {
  grid-column: 3;
  margin: 0;
  gap: 5px;
}
.project-cards .card-data > div {
  padding: 7px;
}
.project-cards .people {
  grid-column: 4;
  border: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}
.project-cards .card-actions {
  grid-column: 5;
  margin: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.project-cards .card-actions button {
  white-space: nowrap;
}
.project-cards .empty {
  grid-column: 1/-1;
}
@media (max-width: 900px) {
  .project-cards,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .head-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media (max-width: 1400px) {
  .toolbar {
    flex-wrap: wrap;
    gap: 9px;
  }
  .list-controls {
    order: 3;
    margin-left: 0;
    width: 100%;
  }
  .project-cards > article {
    grid-template-columns: minmax(220px, 2fr) 110px minmax(210px, 1.5fr) auto;
  }
  .project-cards .people {
    display: none;
  }
  .project-cards .card-actions {
    grid-column: 4;
  }
}
@media (max-width: 720px) {
  .list-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .list-controls select {
    width: 100%;
  }
  .list-controls span {
    grid-column: 1/-1;
  }
  .project-cards > article {
    display: block;
    padding: 13px;
  }
  .project-cards .project-card-head {
    margin-bottom: 12px;
  }
  .project-cards .card-data {
    margin: 12px 0;
  }
  .project-cards .people {
    display: grid;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
  .project-cards .card-actions {
    margin-top: 11px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .project-cards {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .head-actions {
    gap: 5px;
  }
  .head-actions .month-input {
    display: none;
  }
  .panel-head {
    align-items: flex-start;
  }
  .people {
    display: grid;
  }
  .review-list {
    padding: 0 12px 12px;
  }
  .review-list article {
    align-items: flex-start;
  }
  .user-area .logout {
    display: block;
  }
  .due-alert {
    align-items: flex-start;
  }
  .summary-grid .metric:nth-child(4) {
    display: flex;
  }
}
@media (max-width: 720px) {
  .app-filing {
    left: 0;
    bottom: 72px;
    font-size: 9px;
  }
  .login-filing {
    bottom: 12px;
  }
}
.stage-chip.pending,
.status.pending {
  background: #fff4d6;
  color: #b36a00;
}
.stage-chip.rejected,
.status.rejected {
  background: #ffe9e9;
  color: #c63c3c;
}
.stage-chip.approved,
.status.approved {
  background: #eaf2ff;
  color: var(--blue);
}
.rejected-card {
  border-color: #efb1b1;
  background: #fffafa;
}
.reject-note {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff0f0;
  color: #b53030;
  font-size: 10px;
}
.primary-soft {
  background: #eaf2ff !important;
  color: var(--blue) !important;
}
.danger,
.danger-text {
  color: #c63737 !important;
}
.danger {
  border-color: #efc4c4 !important;
  background: #fff6f6 !important;
}
.detail-modal {
  width: min(820px, 100%);
  max-height: 92vh;
  overflow: auto;
}
.detail-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.detail-summary > div {
  padding: 12px;
  border-radius: 10px;
  background: #f6f9fd;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-summary small {
  color: var(--muted);
  font-size: 9px;
}
.detail-summary strong {
  font-size: 14px;
}
.stage-flow {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin: 16px 0;
}
.stage-flow span {
  font-size: 9px;
  text-align: center;
  padding: 8px 3px;
  border-radius: 7px;
  background: #f1f3f6;
  color: #8b94a3;
}
.stage-flow .done {
  background: #e6f0ff;
  color: var(--blue);
  font-weight: 700;
}
.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}
.detail-list > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  font-size: 11px;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
}
.detail-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.detail-actions button,
.section-title button,
.record-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 10px;
}
.detail-actions button.primary,
.section-title button.primary,
.record-actions button.primary {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}
.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-title h3 {
  font-size: 14px;
}
.record-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 11px 0;
  border-top: 1px solid #edf0f4;
}
.record-row > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.record-row strong {
  font-size: 11px;
}
.record-row small {
  font-size: 9px;
  color: var(--muted);
}
.record-row em {
  font-size: 9px;
  color: #bd3434;
  font-style: normal;
}
.record-actions {
  grid-column: 1/-1;
  display: flex;
  gap: 9px;
  align-items: center;
}
.record-actions a,
.file-preview {
  font-size: 10px;
  color: var(--blue);
  text-decoration: none;
}
.status {
  align-self: start;
  padding: 4px 7px;
  border-radius: 12px;
  font-size: 9px;
}
.mini-empty {
  padding: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}
.review-list.detailed article > div:first-child {
  flex: 1;
}
.review-list.detailed p {
  grid-column: 2;
  margin: 3px 0 0;
  color: #4d5a6e;
  font-size: 10px;
}
.review-list.detailed > article > button {
  flex: none;
}
.review-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 16px;
}
.review-detail > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: #f6f9fd;
  border-radius: 8px;
}
.review-detail span {
  font-size: 9px;
  color: var(--muted);
}
.review-detail strong {
  font-size: 11px;
}
.file-preview {
  display: block;
  padding: 11px;
  background: #eaf2ff;
  border-radius: 8px;
}
.profile-form {
  grid-template-columns: 1fr;
}
@media (max-width: 720px) {
  .detail-summary {
    grid-template-columns: 1fr 1fr;
  }
  .stage-flow {
    grid-template-columns: repeat(4, 1fr);
  }
  .review-detail {
    grid-template-columns: 1fr;
  }
  .detail-modal {
    padding: 16px;
  }
  .record-row {
    grid-template-columns: 1fr auto;
  }
  .mobile-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .mobile-nav button {
    min-width: 64px;
    flex: 1;
  }
  .review-list.detailed article {
    display: grid;
    gap: 10px;
  }
  .review-list.detailed > article > button {
    justify-self: end;
  }
}
.due-alert span {
  flex: 1;
}
.due-alert button {
  border: 1px solid #efbd70;
  background: #fff;
  color: #9b6109;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 10px;
  white-space: nowrap;
}
.new-order-alert {
  border-color: #f39b93;
  background: #fff3f2;
  color: #9f2921;
}
.new-order-alert b {
  color: #d83c31;
}
.reminder-alert {
  border-color: #f0bd65;
  background: #fff9e9;
}
.project-cards > article.new-order-card {
  border-color: #ef8e86;
  background: #fff7f6;
}
.project-reminder {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff8e8;
  color: #7f5310;
  font-size: 10px;
}
.project-reminder b {
  white-space: nowrap;
  color: #d47a08;
}
.project-reminder span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-reminder small {
  margin-left: auto;
  white-space: nowrap;
  color: #a3630b;
}
.project-reminder.urgent {
  background: #fff0ee;
  color: #a12b22;
}
.claim-button {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
}
.sla-overdue-alert {
  border: 2px solid #e5483f;
  background: #fff0ef;
  color: #8f1e18;
  box-shadow: 0 8px 24px #d9382d20;
}
.sla-overdue-alert b {
  color: #d52f27;
}
.sla-expiring-alert {
  border-color: #f0a94a;
  background: #fff7e8;
  color: #8b5708;
}
.sla-expiring-alert b {
  color: #c97205;
}
.project-cards > article.sla-overdue-card {
  border: 2px solid #e85a50;
  background: #fff7f6;
}
.project-cards > article.sla-expiring-card {
  border-color: #efb04f;
  background: #fffbf1;
}
.sla-card-warning {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}
.sla-card-warning.overdue {
  background: #ffe5e2;
  color: #c52d25;
}
.sla-card-warning.expiring {
  background: #fff1cf;
  color: #a96400;
}
.inline-worker-box {
  padding: 12px;
  border: 1px dashed #9cb8df;
  border-radius: 10px;
  background: #f8fbff;
}
.inline-worker-box .form-hint {
  margin-bottom: 11px;
}
.detail-reminder {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #f1c675;
  border-radius: 10px;
  background: #fff8e8;
  color: #6e4b13;
  font-size: 11px;
}
.detail-reminder b {
  color: #ce7506;
}
.detail-reminder small {
  color: #94600f;
}
.detail-reminder.urgent {
  border-color: #ec9d96;
  background: #fff1ef;
  color: #942c24;
}
.client-safe-flow {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 720px) {
  .project-reminder {
    display: grid;
    gap: 4px;
    margin: 9px 0;
  }
  .project-reminder span {
    white-space: normal;
  }
  .project-reminder small {
    margin-left: 0;
  }
  .new-order-alert {
    display: grid;
  }
  .client-safe-flow {
    grid-template-columns: repeat(4, 1fr);
  }
  .sla-card-warning {
    display: grid;
    margin: 9px 0;
    font-size: 11px;
  }
  .sla-overdue-alert,
  .sla-expiring-alert {
    display: grid;
  }
}
.stage-chip.stage-contact {
  background: #eaf2ff;
  color: #1769e8;
}
.stage-chip.stage-work {
  background: #fff1d8;
  color: #b96a00;
}
.stage-chip.stage-accept {
  background: #eee9ff;
  color: #7551d6;
}
.stage-chip.stage-payment {
  background: #dff6eb;
  color: #16805b;
}
.card-progress.stage-contact b {
  color: #1769e8;
}
.card-progress.stage-work b {
  color: #c37400;
}
.card-progress.stage-accept b {
  color: #7551d6;
}
.card-progress.stage-payment b {
  color: #16805b;
}
.card-progress.stage-contact .progress i {
  background: #2f80ed;
}
.card-progress.stage-work .progress i {
  background: #f59e0b;
}
.card-progress.stage-accept .progress i {
  background: #8b5cf6;
}
.card-progress.stage-payment .progress i {
  background: #24a876;
}
.type-filters {
  display: flex;
  gap: 7px;
  padding: 0 20px 12px;
}
.type-filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 7px 18px;
  color: #5b6677;
}
.type-filters button.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.type-choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 13px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #f3f7fd;
}
.type-choice > span {
  font-weight: 700;
}
.type-choice label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.project-select {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.project-cards > article {
  position: relative;
}
.project-cards > article:has(.project-select) {
  padding-left: 34px;
}
.reminder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.reminder-project-link {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 2px 0;
  cursor: pointer;
}
.reminder-project-link:hover {
  font-weight: 700;
}
.sidebar {
  overflow-y: auto;
}
.directory-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.simple-list,
.log-list {
  padding: 0 20px 20px;
  display: grid;
  gap: 8px;
}
.simple-list article {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.simple-list article > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.simple-list strong {
  font-size: 11px;
}
.simple-list small {
  font-size: 9px;
  color: var(--muted);
}
.simple-list button,
.download-button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 9px;
  text-decoration: none;
  color: var(--blue);
}
.trash-list article > span {
  display: flex;
  gap: 6px;
}
.log-list article {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.log-list article > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.log-list strong {
  font-size: 11px;
}
.log-list small {
  font-size: 9px;
  color: var(--muted);
}
.stage-form-title {
  margin: 4px 0 13px;
  padding: 9px 11px;
  border-left: 3px solid var(--blue);
  background: #f2f7ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.wide-field {
  grid-column: 1/-1;
}
.privacy-note {
  padding: 11px;
  border-radius: 9px;
  background: #f5f8fc;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.stage-record {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin-top: 9px;
}
.stage-record > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stage-record > div:first-child strong {
  font-size: 11px;
}
.stage-record > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}
.stage-record .file-preview {
  margin-top: 9px;
}
.stage-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 9px;
}
.stage-detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #f7f9fc;
  border-radius: 7px;
  padding: 8px;
}
.stage-detail-grid span {
  font-size: 8px;
  color: var(--muted);
}
.stage-detail-grid strong {
  font-size: 10px;
}
.modal .wide-field .check-group {
  margin-top: 0;
}
.client-error-panel {
  grid-column: 1/-1;
}
.client-error-panel .simple-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.client-error-panel .simple-list article {
  align-items: flex-start;
}
.client-error-message {
  color: #c43b35 !important;
  word-break: break-word;
}
.import-progress {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef5ff;
  color: #285c9f;
  font-size: 11px;
  line-height: 1.6;
}
@media (max-width: 1050px) {
  .directory-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .client-error-panel .simple-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .stage-detail-grid {
    grid-template-columns: 1fr;
  }
  .simple-list,
  .log-list {
    padding: 0 12px 12px;
  }
  .trash-list article {
    align-items: flex-start;
  }
  .directory-columns {
    gap: 10px;
  }
}
@media (max-width: 720px) {
  .feedback-list {
    padding: 0 12px 12px;
  }
  .feedback-card {
    padding: 12px;
  }
  .feedback-card-head {
    flex-direction: column;
  }
  .feedback-meta {
    justify-content: flex-start;
  }
}
.user-stage-status {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}
.user-stage-status > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
}
.user-stage-status strong {
  font-size: 10px;
}
.user-stage-status small {
  grid-column: 1/-1;
  color: #ba3737;
  font-size: 9px;
}
.field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
}
.upload-picker-wrap {
  width: 100%;
}
.upload-picker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.upload-picker {
  position: relative;
  min-height: 82px;
  border: 1px dashed #9cb8df !important;
  border-radius: 10px;
  padding: 12px !important;
  background: #f6faff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}
.upload-picker > span {
  font-size: 20px;
  color: var(--blue);
}
.upload-picker > strong {
  font-size: 11px;
}
.upload-picker > small {
  font-size: 9px;
  color: var(--muted);
}
.upload-picker input[type=file] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  padding: 0;
}
.upload-help {
  margin: 8px 0 0 !important;
  color: #7b8798;
  font-size: 9px;
  line-height: 1.6;
}
.worklog-alert {
  border-color: #f1c678;
  background: #fff8e8;
}
.historical-record {
  background: #f5f6f8;
  border-style: dashed;
  opacity: .82;
}
.cost-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.cost-summary span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: #f6f9fd;
  border-radius: 8px;
  font-size: 9px;
  color: var(--muted);
}
.cost-summary b {
  font-size: 11px;
  color: var(--ink);
}
@media (max-width: 720px) {
  .upload-picker-grid {
    grid-template-columns: 1fr;
  }
  .upload-picker {
    min-height: 70px;
  }
  .cost-summary {
    grid-template-columns: 1fr 1fr;
  }
  .modal-backdrop {
    padding: 8px;
  }
  .modal {
    max-height: 96vh;
    overflow: auto;
  }
}
.stage-flow {
  grid-template-columns: repeat(4, 1fr);
}
.project-cards > article {
  grid-template-columns: minmax(250px, 2fr) 125px minmax(230px, 1.4fr) minmax(160px, 1fr) 300px;
}
.project-cards > article.batch-selectable {
  cursor: pointer;
}
.project-cards > article.batch-selected {
  border: 2px solid var(--blue) !important;
  background: #eef5ff !important;
  box-shadow: 0 0 0 3px #1769e817;
}
.project-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.card-actions .flow-button {
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-actions {
  min-width: 300px;
}
@media (max-width: 1400px) {
  .project-cards > article {
    grid-template-columns: minmax(220px, 2fr) 110px minmax(210px, 1.5fr) 300px;
  }
  .card-actions {
    min-width: 300px;
  }
}
@media (max-width: 720px) {
  .project-cards > article {
    display: block;
  }
  .project-cards > article:has(.project-select) {
    padding-left: 42px;
  }
  .card-actions {
    min-width: 0;
  }
  .project-select {
    left: 13px;
    top: 24px;
    transform: none;
  }
}
.formula-note {
  margin: 10px 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f7ff;
  color: #47617f;
  font-size: 13px;
}
.completion-choice .check-group {
  border-color: #9cc5ff;
  background: #f2f7ff;
}
.completion-choice .check-group label {
  font-size: 11px;
  color: #174f9c;
}
.completion-choice .form-hint {
  margin-top: 7px;
}
.field-help {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
}
.import-modal {
  width: min(1080px, calc(100vw - 28px));
}
.import-tip,
.import-summary {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f7ff;
  color: #47617f;
}
.import-preview {
  max-height: 46vh;
  overflow: auto;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
}
.import-preview table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.import-preview th {
  position: sticky;
  top: 0;
  background: #eaf2ff;
  color: #24456b;
  text-align: left;
}
.import-preview th,
.import-preview td {
  padding: 9px 10px;
  border-bottom: 1px solid #e7edf5;
  white-space: nowrap;
}
.import-preview td:nth-child(2),
.import-preview td:nth-child(4) {
  white-space: normal;
  min-width: 160px;
}
:root {
  --blue:#1769e8;
  --blue-dark:#0d49a7;
  --ink:#172033;
  --muted:#69758a;
  --line:#e1e8f2;
  --bg:#f3f6fb;
  --shadow:0 10px 32px rgba(26,55,96,.08);
}
html {
  font-size: 15px;
}
body {
  background:
    linear-gradient(
      180deg,
      #f8fbff 0,
      #f3f6fb 260px);
  line-height: 1.55;
}
button,
a,
input,
select,
textarea {
  transition:
    border-color .16s,
    box-shadow .16s,
    background .16s,
    transform .16s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(23, 105, 232, .18);
  outline-offset: 2px;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(2, 35, 88, .28);
}
.login-brand .brand-logo {
  width: 54px;
  height: 54px;
  box-shadow: 0 10px 28px rgba(23, 105, 232, .2);
}
.mobile-brand {
  overflow: hidden;
  padding: 0;
}
.mobile-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar {
  width: 244px;
  padding: 24px 15px;
  background:
    linear-gradient(
      180deg,
      #1264d9,
      #0a3d91);
  box-shadow: 8px 0 32px rgba(17, 65, 133, .12);
}
.content {
  margin-left: 244px;
  width: calc(100% - 244px);
  padding: 0 34px 44px;
}
.brand {
  padding: 2px 10px 25px;
}
.brand strong {
  font-size: 18px;
}
.brand small {
  font-size: 12px;
}
.nav-item {
  min-height: 44px;
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 14px;
}
.nav-item span {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
}
.nav-item.active {
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 3px 0 #fff, 0 6px 18px rgba(0, 27, 74, .13);
}
.topbar {
  min-height: 96px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f8fbff;
  box-shadow: 0 6px 18px rgba(17, 65, 133, .06);
  border-bottom: 1px solid rgba(225, 232, 242, .7);
  margin: 0 -34px 18px;
  padding: 0 34px;
}
.topbar h1 {
  font-size: 25px;
  letter-spacing: -.4px;
}
.panel {
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.panel-head {
  padding: 22px 24px 17px;
}
.panel h2 {
  font-size: 18px;
}
.panel p {
  font-size: 12px;
  line-height: 1.6;
}
.summary-grid {
  gap: 16px;
}
.metric {
  border-radius: 17px;
  min-height: 132px;
  padding: 21px;
  box-shadow: var(--shadow);
}
.metric strong {
  font-size: 28px;
}
.metric span {
  font-size: 13px;
}
.primary {
  min-height: 38px;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 13px;
}
.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(23, 105, 232, .25);
}
.head-actions > button,
.toolbar button,
.detail-actions button,
.section-title button,
.record-actions button,
.simple-list button,
.download-button {
  min-height: 34px;
  border-radius: 9px;
  font-size: 12px;
  padding: 7px 11px;
}
.toolbar {
  padding: 0 24px 17px;
  align-items: center;
}
.filters {
  padding: 4px;
  border-radius: 10px;
}
.filters button {
  font-size: 12px;
  min-height: 34px;
}
.search {
  min-height: 38px;
  background: #fff;
}
.search input {
  font-size: 12px;
  width: 220px;
}
.project-cards {
  padding: 17px 22px 24px;
  gap: 10px;
}
.project-cards > article {
  border-radius: 14px;
  padding: 13px 14px;
  grid-template-columns: minmax(240px, 2fr) 130px minmax(220px, 1.4fr) minmax(150px, 1fr) 280px;
}
.project-cards > article:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(24, 62, 117, .09);
}
.project-card-head strong {
  font-size: 14px;
}
.project-card-head small,
.card-data small,
.people small {
  font-size: 10px;
}
.card-data strong {
  font-size: 12px;
}
.stage-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 6px 10px;
}
.card-actions {
  min-width: 280px;
}
.card-actions button,
.card-actions a {
  min-height: 32px;
  font-size: 10px;
  border-radius: 8px;
  padding: 7px 9px;
}
.directory-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.simple-list,
.log-list {
  padding: 0 22px 22px;
  gap: 10px;
}
.simple-list article {
  border-radius: 12px;
  padding: 13px 14px;
  align-items: flex-start;
}
.simple-list article:hover {
  border-color: #bfd5f5;
  background: #fbfdff;
}
.simple-list strong {
  font-size: 13px;
}
.simple-list small {
  font-size: 11px;
  line-height: 1.55;
}
.simple-list article > div {
  min-width: 0;
}
.simple-list article > .record-actions {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}
.simple-list select {
  max-width: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  background: #fff;
  font-size: 11px;
}
.account-grid {
  gap: 13px;
  padding: 0 22px 22px;
}
.account-grid article {
  border-radius: 13px;
  padding: 15px;
}
.account-grid strong {
  font-size: 13px;
}
.account-grid small {
  font-size: 10px;
}
.modal-backdrop {
  background: rgba(10, 24, 48, .62);
}
.modal {
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 34px 100px rgba(3, 18, 43, .34);
}
.modal-head h2 {
  font-size: 21px;
}
.modal-head p {
  font-size: 12px;
}
.modal label {
  font-size: 13px;
}
.modal input,
.modal select,
.modal textarea {
  min-height: 42px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.modal textarea {
  min-height: 96px;
}
.modal-actions button {
  min-height: 40px;
  font-size: 13px;
  border-radius: 10px;
}
.detail-modal {
  width: min(920px, 100%);
}
.detail-summary > div {
  border: 1px solid #e8eef7;
  padding: 14px;
  border-radius: 12px;
}
.detail-summary small {
  font-size: 10px;
}
.detail-summary strong {
  font-size: 16px;
}
.detail-list {
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
}
.detail-list > div {
  grid-template-columns: 90px 1fr;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #e7edf5;
}
.detail-section {
  padding-top: 18px;
  margin-top: 18px;
}
.section-title h3 {
  font-size: 15px;
}
.record-row {
  padding: 14px 0;
}
.record-row strong {
  font-size: 12px;
}
.record-row small {
  font-size: 10px;
}
.stage-flow {
  gap: 8px;
}
.stage-flow span {
  padding: 9px 6px;
  border-radius: 9px;
  font-size: 11px;
}
.progress {
  height: 7px;
}
.privacy-note,
.formula-note,
.import-tip,
.import-summary {
  font-size: 12px;
  line-height: 1.65;
}
.empty:before {
  content: "\25c7";
  display: block;
  color: #b3c4dc;
  font-size: 28px;
  margin-bottom: 7px;
}
.toast {
  font-size: 13px;
  border-radius: 12px;
  padding: 13px 18px;
  box-shadow: 0 16px 40px rgba(11, 35, 73, .25);
}
.login-card {
  width: min(440px, 100%);
  padding: 38px;
  border-radius: 25px;
  box-shadow: 0 30px 90px rgba(22, 75, 150, .16);
}
.login-card h1 {
  font-size: 29px;
}
.login-card input {
  min-height: 46px;
  font-size: 14px;
}
.login-button {
  min-height: 48px;
  font-size: 14px;
}
@media (max-width: 1400px) {
  .project-cards > article {
    grid-template-columns: minmax(220px, 2fr) 120px minmax(200px, 1.4fr) 260px;
  }
  .project-cards .people {
    display: none;
  }
  .project-cards .card-actions {
    grid-column: 4;
  }
  .card-actions {
    min-width: 260px;
  }
}
@media (max-width: 900px) {
  .content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .directory-columns {
    grid-template-columns: 1fr;
  }
  .detail-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  html {
    font-size: 16px;
  }
  .content {
    margin: 0;
    width: 100%;
    padding: 0 12px 88px;
  }
  .topbar {
    height: 72px;
    margin: 0 -12px 14px;
    padding: 0 12px;
  }
  .topbar h1 {
    font-size: 20px;
  }
  .summary-grid {
    gap: 9px;
  }
  .metric {
    min-height: 112px;
    padding: 15px;
    border-radius: 15px;
  }
  .metric strong {
    font-size: 22px;
  }
  .panel {
    border-radius: 15px;
  }
  .panel-head {
    padding: 17px;
  }
  .panel h2 {
    font-size: 17px;
  }
  .project-cards {
    padding: 12px;
  }
  .project-cards > article {
    padding: 14px;
  }
  .card-actions button,
  .card-actions a,
  .detail-actions button,
  .section-title button,
  .record-actions button {
    min-height: 40px;
    font-size: 12px;
  }
  .mobile-nav button {
    min-width: 72px;
    min-height: 52px;
  }
  .modal-backdrop {
    padding: 6px;
  }
  .modal {
    border-radius: 17px;
    padding: 18px;
    max-height: 97vh;
  }
  .detail-summary,
  .detail-list {
    grid-template-columns: 1fr;
  }
  .simple-list,
  .log-list {
    padding: 0 12px 14px;
  }
  .simple-list article {
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .simple-list article > .record-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
  .head-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .head-actions input {
    min-width: 0;
    width: 100%;
  }
  .upload-picker {
    min-height: 86px;
  }
}
.dashboard-home {
  display: grid;
  gap: 16px;
}
.dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 25px 28px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(
      120deg,
      #1769e8,
      #0e4fae);
  box-shadow: 0 14px 36px rgba(23, 105, 232, .18);
}
.dashboard-hero small {
  opacity: .78;
  font-size: 11px;
}
.dashboard-hero h2 {
  margin: 6px 0 7px;
  font-size: 24px;
  letter-spacing: -.5px;
}
.dashboard-hero p {
  margin: 0;
  opacity: .84;
  font-size: 12px;
}
.dashboard-hero-actions {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.dashboard-hero-actions button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.dashboard-hero-actions .primary {
  border-color: #fff;
  background: #fff;
  color: #1769e8;
  font-weight: 700;
}
.workflow-overview {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.workflow-step {
  position: relative;
  display: grid;
  gap: 3px;
  text-align: left;
  min-height: 92px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #4c586b;
  transition: .18s;
}
.workflow-step:hover {
  transform: translateY(-2px);
  border-color: #a9c8f4;
  box-shadow: 0 9px 24px rgba(24, 62, 117, .08);
}
.workflow-step:before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: #2f80ed;
}
.workflow-step strong {
  font-size: 24px;
  color: #17243a;
}
.workflow-step small {
  font-size: 9px;
  color: var(--muted);
}
.workflow-step.stage-work:before {
  background: #f59e0b;
}
.workflow-step.stage-accept:before {
  background: #8b5cf6;
}
.workflow-step.stage-payment:before {
  background: #24a876;
}
.workflow-step.urgent:before {
  background: #ef5b52;
}
.workflow-step.archived:before {
  background: #94a1b5;
}
.dashboard-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #f1c473;
  border-radius: 12px;
  background: #fff9ec;
  color: #80540e;
  text-align: left;
}
.dashboard-notice > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5a623;
  color: #fff;
  font-weight: 800;
}
.dashboard-notice div {
  display: grid;
  gap: 2px;
}
.dashboard-notice small {
  color: #9b702b;
}
.dashboard-notice em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}
.dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, .9fr);
  gap: 16px;
}
.dashboard-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
}
.dashboard-section-head h2 {
  margin: 0;
  font-size: 16px;
}
.dashboard-section-head p {
  margin: 4px 0 0;
  font-size: 10px;
  color: var(--muted);
}
.dashboard-section-head > button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 11px;
}
.recent-order-list {
  padding: 0 19px 9px;
}
.recent-order {
  display: grid;
  grid-template-columns: 10px minmax(220px, 1.8fr) 90px minmax(100px, .8fr) 14px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  background: transparent;
  text-align: left;
}
.recent-order:hover {
  background: #f8fbff;
}
.recent-order-name {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.recent-order-name b,
.recent-order-name small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-order-name b {
  font-size: 12px;
  color: #1f2b3e;
}
.recent-order-name small,
.recent-order-owner {
  font-size: 9px;
  color: var(--muted);
}
.recent-order-arrow {
  font-size: 22px;
  color: #9aa7b9;
}
.dashboard-shortcuts {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.shortcut-grid {
  display: grid;
  gap: 8px;
  padding: 12px;
}
.shortcut-grid button {
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 12px;
  border: 1px solid #edf1f7;
  border-radius: 10px;
  background: #fafcff;
  text-align: left;
}
.shortcut-grid button:hover {
  border-color: #b8d1f4;
  background: #f5f9ff;
}
.shortcut-grid span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #eaf2ff;
  color: #1769e8;
  font-size: 16px;
}
.shortcut-grid b {
  font-size: 11px;
  color: #253248;
}
.shortcut-grid small {
  font-size: 9px;
  color: var(--muted);
}
.action-menu {
  position: relative;
}
.action-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 11px;
  color: #4b5668;
}
.action-menu summary::-webkit-details-marker {
  display: none;
}
.action-menu-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  gap: 7px;
  width: 230px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 42, 78, .16);
}
.action-menu-popover label {
  display: grid;
  gap: 5px;
  font-size: 9px;
  color: var(--muted);
}
.action-menu-popover .month-input {
  width: 100%;
}
.action-menu-popover button {
  width: 100%;
  min-height: 34px;
  text-align: left;
  border: 1px solid #e4eaf3;
  background: #fff;
  border-radius: 7px;
  color: #3f4b5e;
}
.project-cards.compact-workorder-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 20px 18px;
}
.compact-workorder-list > article {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) 125px minmax(210px, 1.25fr) minmax(135px, .8fr) 72px;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 9px 8px;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  box-shadow: none;
}
.compact-workorder-list > article:hover {
  transform: none;
  background: #f8fbff;
  box-shadow: none;
}
.compact-workorder-list .project-card-head {
  grid-column: 1;
  margin: 0;
}
.compact-workorder-list .project-card-head > div {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.compact-workorder-list .project-card-head strong,
.compact-workorder-list .project-card-head small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compact-workorder-list .project-card-head .stage-chip {
  display: none;
}
.compact-workorder-list .compact-alert {
  grid-column: 3;
  grid-row: 1/3;
  justify-self: end;
  padding: 3px 6px;
  border-radius: 5px;
  background: #fff2d8;
  color: #a86800;
  font-size: 8px;
  white-space: nowrap;
}
.compact-workorder-list .compact-alert.overdue {
  background: #ffe8e6;
  color: #c83a32;
}
.compact-workorder-list .card-progress {
  grid-column: 2;
}
.compact-workorder-list .card-data {
  grid-column: 3;
  margin: 0;
  display: flex;
  gap: 14px;
  background: transparent;
}
.compact-workorder-list .card-data > div {
  min-width: 0;
  flex: 1;
  padding: 0;
  background: transparent;
}
.compact-workorder-list .people {
  grid-column: 4;
  display: grid;
  gap: 4px;
  border: 0;
  padding: 0;
}
.compact-workorder-list .people small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compact-workorder-list .card-actions {
  grid-column: 5;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
}
.compact-workorder-list .card-actions button {
  min-height: 32px;
  white-space: nowrap;
}
.compact-workorder-list .project-reminder,
.compact-workorder-list .sla-card-warning {
  display: none;
}
.compact-workorder-list > article.sla-overdue-card,
.compact-workorder-list > article.sla-expiring-card,
.compact-workorder-list > article.new-order-card,
.compact-workorder-list > article.due-card {
  border-width: 0 0 1px;
  background: #fff;
}
.compact-workorder-list > article.sla-overdue-card:hover,
.compact-workorder-list > article.sla-expiring-card:hover,
.compact-workorder-list > article.new-order-card:hover,
.compact-workorder-list > article.due-card:hover {
  background: #f8fbff;
}
@media (max-width: 1200px) {
  .workflow-overview {
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard-main-grid {
    grid-template-columns: 1fr;
  }
  .compact-workorder-list > article {
    grid-template-columns: minmax(260px, 2fr) 115px minmax(190px, 1.2fr) 72px;
  }
  .compact-workorder-list .people {
    display: none;
  }
  .compact-workorder-list .card-actions {
    grid-column: 4;
  }
}
@media (max-width: 720px) {
  .dashboard-home {
    gap: 12px;
  }
  .dashboard-hero {
    display: grid;
    padding: 20px;
    border-radius: 15px;
  }
  .dashboard-hero h2 {
    font-size: 20px;
  }
  .dashboard-hero-actions {
    width: 100%;
  }
  .dashboard-hero-actions button {
    flex: 1;
  }
  .workflow-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .workflow-step {
    min-height: 80px;
    padding: 12px 14px;
  }
  .workflow-step strong {
    font-size: 21px;
  }
  .period-reports {
    grid-template-columns: 1fr;
  }
  .dashboard-notice em {
    display: none;
  }
  .recent-order-list {
    padding: 0 12px 8px;
  }
  .recent-order {
    grid-template-columns: 9px minmax(0, 1fr) auto 12px;
    gap: 8px;
  }
  .recent-order-owner {
    display: none;
  }
  .dashboard-section-head {
    padding: 15px;
  }
  .project-cards.compact-workorder-list {
    padding: 0 12px 14px;
  }
  .compact-workorder-list > article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 88px;
    padding: 11px 3px;
  }
  .compact-workorder-list .project-card-head {
    grid-column: 1;
  }
  .compact-workorder-list .project-card-head > div {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .compact-workorder-list .compact-alert {
    display: none;
  }
  .compact-workorder-list .card-progress {
    grid-column: 2;
    grid-row: 1;
    width: 82px;
  }
  .compact-workorder-list .card-progress > span {
    justify-content: flex-end;
  }
  .compact-workorder-list .card-progress > span:not(b) {
    font-size: 0;
  }
  .compact-workorder-list .card-progress b {
    font-size: 10px;
  }
  .compact-workorder-list .card-data {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    margin: 0;
  }
  .compact-workorder-list .card-data > div:nth-child(2) {
    display: none;
  }
  .compact-workorder-list .people {
    display: none;
  }
  .compact-workorder-list .card-actions {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin: 0;
  }
  .compact-workorder-list .card-actions button {
    min-height: 34px;
  }
  .action-menu-popover {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    width: auto;
  }
}
.compact-workorder-list .compact-alert {
  background: #fff0d9;
  color: #a45b00;
  font-weight: 700;
}
.compact-workorder-list .compact-alert.overdue {
  background: #ffe6e3;
  color: #c63129;
}
.client-error-panel article.client-error-auth {
  border-color: #f2cc82;
  background: #fffaf0;
}
.client-error-panel article.client-error-auth strong {
  color: #94600b;
}
.client-error-panel article.client-error-network {
  border-color: #efb365;
  background: #fff8ec;
}
.client-error-panel article.client-error-notification {
  border-color: #cbd9ec;
  background: #f8fbff;
}
.client-error-panel article.client-error-business {
  border-color: #ee9d96;
  background: #fff7f6;
}
.client-error-panel article.client-error-business strong {
  color: #c9352d;
}
.workorder-primary-title {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  vertical-align: middle;
}
.workorder-store-name {
  flex: 0 1 auto;
  color: #162033;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workorder-repair-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #364156;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workorder-kind-label {
  color: #8792a5;
  font-size: 10px;
  font-weight: 500;
}
.detail-workorder-heading {
  display: grid;
  gap: 4px;
}
.detail-workorder-heading > strong {
  color: #1769e8;
  font-size: 13px;
  font-weight: 800;
}
.detail-workorder-heading h2 {
  margin: 0;
}
.detail-workorder-heading h2:before {
  content: "\7ef4\4fee\4e3b\9898  \b7  ";
  color: #7b8798;
  font-size: .72em;
  font-weight: 600;
}
@media (max-width: 720px) {
  .workorder-primary-title {
    display: grid;
    gap: 2px;
  }
  .workorder-store-name {
    font-size: 13px;
  }
  .workorder-repair-title {
    font-size: 11px;
  }
  .detail-workorder-heading > strong {
    font-size: 14px;
  }
}
.worker-directory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafcff;
}
.worker-directory-toolbar .search {
  width: min(430px, 100%);
}
.worker-directory-toolbar > span {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.worker-merge-box {
  display: grid;
  gap: 14px;
}
.merge-source-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #f0c9c6;
  border-radius: 10px;
  background: #fff7f6;
}
.merge-source-card small {
  color: #a85a54;
}
.merge-source-card strong {
  font-size: 16px;
}
.merge-source-card span,
.merge-warning {
  color: var(--muted);
  font-size: 11px;
}
.worker-merge-box label {
  display: grid;
  gap: 6px;
}
.worker-merge-box select {
  min-height: 220px;
  padding: 5px;
}
.worker-merge-box select option {
  padding: 7px;
}
.merge-warning {
  margin: 0;
  padding: 11px;
  border-radius: 8px;
  background: #fff8e8;
  color: #805b18;
}
@media (max-width: 720px) {
  .worker-directory-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .worker-directory-toolbar > span {
    align-self: flex-end;
  }
}
.import-draft-panel {
  overflow: visible;
}
.draft-count {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1769e8;
  font-size: 10px;
  font-weight: 700;
}
.draft-action-bar {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafcff;
}
.draft-action-bar > button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #465267;
  white-space: nowrap;
}
.draft-action-bar > button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.draft-selection-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  padding-bottom: 8px;
  color: #344055;
  font-size: 11px;
}
.draft-selection-summary button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 10px;
}
.brand-combobox {
  position: relative;
  display: grid;
  gap: 5px;
  width: min(330px, 34vw);
}
.brand-combobox > label {
  font-size: 9px;
  color: var(--muted);
}
.brand-combobox-control {
  display: grid;
  grid-template-columns: 1fr 38px;
  overflow: hidden;
  height: 38px;
  border: 1px solid #cfd9e7;
  border-radius: 8px;
  background: #fff;
}
.brand-combobox-control:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 232, .1);
}
.brand-combobox-control input {
  min-width: 0;
  border: 0;
  padding: 0 11px;
  outline: 0;
  background: transparent;
  color: #263349;
}
.brand-combobox-control button {
  border: 0;
  border-left: 1px solid #e6ebf2;
  background: #f8faff;
  color: #526078;
  font-size: 14px;
}
.brand-combobox-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  overflow-y: auto;
  max-height: 310px;
  padding: 6px;
  border: 1px solid #dbe3ee;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20, 42, 78, .18);
}
.brand-combobox-menu-head {
  position: sticky;
  top: -6px;
  z-index: 1;
  padding: 8px 9px;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
  color: #8995a7;
  font-size: 9px;
}
.brand-combobox-menu > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #344055;
  text-align: left;
}
.brand-combobox-menu > button:hover,
.brand-combobox-menu > button.selected {
  background: #eef5ff;
  color: #1769e8;
}
.brand-combobox-menu > button b {
  color: #1769e8;
}
.brand-combobox-menu > button.create-brand-option {
  position: sticky;
  bottom: -6px;
  margin-top: 5px;
  border-top: 1px solid #e7edf5;
  border-radius: 7px;
  background: #f3f8ff;
  color: #1769e8;
  font-weight: 700;
}
.brand-combobox-empty {
  padding: 18px 9px;
  text-align: center;
  color: #9aa5b5;
  font-size: 10px;
}
.import-draft-panel > .simple-list {
  padding-top: 6px;
}
.import-draft-panel > .simple-list > article {
  grid-template-columns: 24px minmax(260px, 1fr) auto;
  transition: .15s;
}
.import-draft-panel > .simple-list > article:has(input:checked) {
  border-color: #9fc1f2;
  background: #f5f9ff;
}
.import-draft-panel > .simple-list > article > input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}
@media (max-width: 900px) {
  .draft-action-bar {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .draft-selection-summary {
    width: 100%;
    padding: 0;
  }
  .brand-combobox {
    order: 2;
    width: 100%;
  }
  .new-brand-button {
    order: 3;
  }
  .draft-action-bar > button.primary {
    margin-left: auto;
  }
  .import-draft-panel > .simple-list > article {
    grid-template-columns: 24px 1fr;
  }
  .import-draft-panel > .simple-list > article .record-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .draft-action-bar {
    padding: 12px;
  }
  .draft-action-bar > button {
    flex: 1;
  }
  .draft-action-bar > button.primary {
    flex-basis: 100%;
  }
  .brand-combobox-menu {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 25vh;
    max-height: 55vh;
  }
  .import-draft-panel > .simple-list {
    padding: 4px 12px 14px;
  }
}
.stage-chip.pin {
  background: #fff1d6;
  color: #b7791f;
  border: 1px solid #f3d79a;
}
.pin-active {
  background: #fff1d6 !important;
  color: #b7791f !important;
  border-color: #f3d79a !important;
}
.project-quick-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 9px 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f6f9ff;
  border: 1px solid #e6eefb;
}
.project-quick-note b {
  color: #1769e8;
  font-size: 10px;
  white-space: nowrap;
}
.project-quick-note span {
  font-size: 11px;
  color: #33425a;
  white-space: pre-wrap;
  word-break: break-word;
}
.project-quick-note-edit {
  margin: 9px 0;
  padding: 10px 11px;
  border-radius: 9px;
  background: #f6f9ff;
  border: 1px solid #e6eefb;
}
.project-quick-note-edit textarea {
  width: 100%;
  border: 1px solid #d6e0ee;
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  resize: vertical;
  outline: none;
  font-family: inherit;
}
.project-quick-note-edit textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 232, .1);
}
.note-edit-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}
.note-edit-actions button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 10px;
}
.note-edit-actions .primary-soft {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.finance-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.finance-card {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.finance-card span {
  font-size: 10px;
  color: #667286;
}
.finance-card strong {
  font-size: 22px;
  letter-spacing: -.5px;
  color: #18253a;
}
.finance-card small {
  font-size: 9px;
  color: #98a3b3;
}
.finance-card.primary {
  border-color: #bdd5f7;
  background:
    linear-gradient(
      145deg,
      #f4f8ff,
      #fff);
}
.finance-card.primary strong {
  color: #1769e8;
}
.finance-card.attention {
  border-color: #f2d29b;
  background: #fffaf1;
}
.finance-card.attention strong {
  color: #c77700;
}
@media (max-width: 1100px) {
  .finance-overview {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .finance-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .finance-card {
    min-height: 92px;
    padding: 14px;
  }
  .finance-card strong {
    font-size: 19px;
  }
  .finance-card:first-child {
    grid-column: 1/-1;
  }
}
.selected-file-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #d8e5f7;
  border-radius: 11px;
  background: #f8fbff;
}
.selected-file-list > strong {
  font-size: 11px;
  color: #36516f;
}
.selected-file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7edf5;
}
.selected-file-preview {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.selected-file-list img,
.selected-file-list .file-kind {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
}
.selected-file-list .file-kind {
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}
.selected-file-preview > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.selected-file-list b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.selected-file-list small {
  font-size: 9px;
  color: var(--muted);
}
.selected-file-remove {
  min-height: 34px;
  padding: 0 10px;
  border-color: #fecaca !important;
  background: #fff7f7 !important;
  color: #c62828 !important;
  font-size: 10px;
}
.attachment-visibility-hint {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #f3f7fc;
  color: #536a82;
  font-size: 11px;
  line-height: 1.65;
}
.visibility-badge {
  display: inline-flex;
  width: max-content;
  margin-top: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
}
.visibility-badge.customer {
  background: #e8f7ef;
  color: #17804b;
}
.visibility-badge.internal {
  background: #edf1f6;
  color: #5f6f82;
}
.period-reports {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}
.period-report-card {
  display: grid;
  grid-template-columns: minmax(140px, 1.2fr) repeat(4, 1fr);
  gap: 8px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid #e2eaf5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 24px #263a5c0b;
}
.period-report-card > div,
.period-report-card > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.period-report-card > div strong {
  font-size: 14px;
}
.period-report-card small {
  font-size: 9px;
  color: var(--muted);
}
.period-report-card b {
  font-size: 13px;
}
@media (max-width: 1050px) {
  .period-reports {
    grid-template-columns: 1fr;
  }
  .period-report-card {
    grid-template-columns: minmax(130px, 1.2fr) repeat(4, 1fr);
  }
}
@media (max-width: 720px) {
  .period-report-card {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }
  .period-report-card > div {
    grid-column: 1/-1;
    border-bottom: 1px solid #edf1f6;
    padding-bottom: 8px;
  }
  .selected-file-list b {
    white-space: normal;
  }
  .period-reports {
    margin-bottom: 12px;
  }
}
.dispatch-section .section-title {
  align-items: flex-start;
}
.dispatch-section .section-title > div {
  display: grid;
  gap: 4px;
}
.dispatch-section .section-title small {
  color: var(--muted);
  font-weight: 400;
}
.dispatch-list {
  display: grid;
  gap: 10px;
}
.dispatch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid #dce7f6;
  border-radius: 12px;
  background: #fbfdff;
}
.dispatch-card > div:first-child {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.dispatch-card strong,
.dispatch-card small {
  overflow-wrap: anywhere;
}
.dispatch-card small {
  color: var(--muted);
}
.dispatch-card .status {
  width: fit-content;
  margin-top: 3px;
}
.dispatch-pending_confirmation {
  color: #9a6700;
  background: #fff7da;
}
.dispatch-accepted,
.dispatch-scheduled {
  color: #075ccf;
  background: #eaf3ff;
}
.dispatch-in_progress {
  color: #087443;
  background: #e4f8ee;
}
.dispatch-paused,
.dispatch-no_show,
.dispatch-rejected {
  color: #b54708;
  background: #fff0e5;
}
.dispatch-completed {
  color: #137333;
  background: #e7f5eb;
}
.dispatch-cancelled {
  color: #667085;
  background: #eef1f5;
}
.dispatch-technician-list {
  max-height: 220px;
  overflow: auto;
  padding: 10px;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
}
.technician-dashboard .panel {
  min-height: 0;
}
@media (max-width: 720px) {
  .dispatch-card {
    align-items: stretch;
    flex-direction: column;
  }
  .dispatch-card .record-actions {
    justify-content: flex-start;
  }
}
.dispatch-complete-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--blue);
  border-radius: 9px;
  padding: 7px 11px;
  background: var(--blue) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.dispatch-complete-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.technician-dashboard .record-actions .primary,
.technician-dashboard .dispatch-complete-button {
  border-color: #1769e8 !important;
  background: #1769e8 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.technician-dashboard .record-actions .primary:hover,
.technician-dashboard .record-actions .primary:active,
.technician-dashboard .dispatch-complete-button:hover,
.technician-dashboard .dispatch-complete-button:active {
  background: #0e56c7 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
@media (max-width: 720px) {
  .technician-dashboard .record-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .technician-dashboard .record-actions button,
  .technician-dashboard .dispatch-complete-button {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
  }
  .technician-dashboard .dispatch-complete-button {
    grid-column: 1/-1;
  }
}
.client-store-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.client-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  padding: 4px 19px 12px;
}
.client-store-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 58px 58px 12px;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
  text-align: left;
}
.client-store-card:hover {
  background: #f8fbff;
}
.store-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #eaf2ff;
  color: #1769e8;
  font-size: 12px;
  font-weight: 800;
}
.store-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.store-copy b,
.store-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-copy b {
  font-size: 12px;
  color: #1d2a3d;
}
.store-copy small {
  font-size: 9px;
  color: var(--muted);
}
.store-count {
  display: grid;
  justify-items: center;
  gap: 2px;
}
.store-count strong {
  font-size: 16px;
  color: #1769e8;
}
.store-count small {
  font-size: 8px;
  color: var(--muted);
}
.store-count.completed strong {
  color: #16805b;
}
.quick-edit-panel {
  overflow: visible;
}
.quick-edit-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
  color: #5a6678;
  font-size: 10px;
}
.quick-edit-summary b {
  color: #1769e8;
  font-size: 13px;
}
.quick-edit-summary button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid #c9daf2;
  border-radius: 6px;
  background: #fff;
  color: #1769e8;
  font-size: 9px;
}
.quick-edit-summary button:disabled {
  opacity: .45;
}
.quick-edit-summary small {
  margin-left: auto;
  color: #7b8798;
}
.quick-edit-result {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 20px 0;
  padding: 12px 14px;
  border: 1px solid #b9e5cc;
  border-radius: 8px;
  background: #f1fbf5;
  color: #24724a;
  font-size: 10px;
  line-height: 1.6;
}
.quick-edit-result.has-failures {
  border-color: #f0c4bb;
  background: #fff6f4;
  color: #a74333;
}
.quick-edit-result ul {
  max-height: 140px;
  margin: 7px 0 0;
  padding-left: 18px;
  overflow: auto;
}
.quick-edit-result button {
  border: 0;
  background: transparent;
  color: inherit;
}
.quick-edit-filters {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
}
.quick-edit-filters .type-filters {
  padding: 0;
}
.quick-edit-filters .search {
  margin-left: auto;
}
.quick-batch-toolbar {
  display: grid;
  grid-template-columns: auto repeat(6, minmax(115px, 1fr)) auto;
  align-items: end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #dfe7f2;
  background: #fafcff;
}
.quick-batch-toolbar > b {
  align-self: center;
  color: #344055;
  font-size: 11px;
}
.quick-batch-toolbar label {
  display: grid;
  gap: 4px;
  color: #7b8798;
  font-size: 8px;
}
.quick-batch-toolbar input,
.quick-batch-toolbar select,
.quick-edit-row > input,
.quick-edit-row > select {
  min-width: 0;
  height: 34px;
  border: 1px solid #d7e0eb;
  border-radius: 7px;
  background: #fff;
  padding: 0 8px;
  color: #2f3c50;
  font-size: 10px;
}
.quick-batch-toolbar button,
.quick-row-save,
.quick-pagination button {
  height: 34px;
  border: 1px solid #bed4f3;
  border-radius: 7px;
  background: #eef5ff;
  color: #1769e8;
  font-size: 10px;
  font-weight: 700;
}
.quick-edit-table-wrap {
  overflow-x: auto;
}
.quick-edit-row {
  display: grid;
  grid-template-columns: 88px minmax(190px, 1.5fr) 132px 92px 90px 90px 112px 112px 58px;
  align-items: center;
  gap: 7px;
  min-width: 1070px;
  min-height: 49px;
  padding: 6px 18px;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
}
.quick-edit-row:hover {
  background: #fafcff;
}
.quick-edit-row.selected {
  background: #f1f7ff;
}
.quick-edit-header {
  position: sticky;
  top: 0;
  z-index: 4;
  min-height: 39px;
  background: #f5f8fc;
  color: #758195;
  font-size: 9px;
  font-weight: 700;
}
.quick-edit-header:hover {
  background: #f5f8fc;
}
.quick-edit-header label,
.quick-row-check {
  display: flex;
  align-items: center;
  gap: 6px;
}
.quick-edit-row input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: #1769e8;
}
.quick-row-check span {
  padding: 3px 6px;
  border-radius: 6px;
  background: #eaf2ff;
  color: #1769e8;
  font-size: 8px;
}
.quick-project-link {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.quick-project-link b,
.quick-project-link small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quick-project-link b {
  color: #213047;
  font-size: 11px;
}
.quick-project-link small {
  color: #8995a7;
  font-size: 8px;
}
.quick-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px;
}
.quick-pagination span {
  color: #7b8798;
  font-size: 10px;
}
.quick-pagination button {
  padding: 0 14px;
}
.quick-pagination button:disabled,
.quick-row-save:disabled {
  opacity: .45;
}
@media (max-width: 1200px) {
  .client-store-grid {
    grid-template-columns: 1fr;
  }
  .quick-batch-toolbar {
    grid-template-columns: repeat(4, minmax(125px, 1fr));
  }
  .quick-batch-toolbar > b {
    grid-column: 1/-1;
  }
}
@media (max-width: 720px) {
  .client-store-grid {
    grid-template-columns: 1fr;
    padding: 2px 12px 10px;
  }
  .client-store-card {
    grid-template-columns: 34px minmax(0, 1fr) 48px 10px;
  }
  .store-count.completed {
    display: none;
  }
  .quick-edit-summary {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 8px 14px;
  }
  .quick-edit-summary small {
    width: 100%;
    margin: 0;
    line-height: 1.6;
  }
  .quick-edit-filters {
    display: grid;
    padding: 11px 12px;
  }
  .quick-edit-filters .search {
    width: 100%;
    margin: 0;
  }
  .quick-batch-toolbar {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }
  .quick-batch-toolbar > b {
    grid-column: 1/-1;
  }
  .quick-batch-toolbar button {
    grid-column: 1/-1;
    height: 40px;
  }
  .quick-edit-row {
    padding-left: 12px;
    padding-right: 12px;
  }
  .quick-pagination {
    position: sticky;
    bottom: 70px;
    background: #fff;
    border-top: 1px solid var(--line);
  }
}
.region-cascader {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}
.list-controls .region-cascader select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  flex: 0 0 122px;
  width: 122px;
  min-width: 122px;
  height: 38px;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  padding: 0 34px 0 13px;
  outline: 0;
  font:
    500 11px/normal "Microsoft YaHei",
    "PingFang SC",
    Arial,
    sans-serif;
  background-color: #fff;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      #657187 50%),
    linear-gradient(
      135deg,
      #657187 50%,
      transparent 50%);
  background-position: calc(100% - 16px) 16px, calc(100% - 12px) 16px;
  background-size: 4px 4px;
  background-repeat: no-repeat;
  color: #2f3c50;
  white-space: nowrap;
}
.list-controls .region-cascader select:first-child {
  flex-basis: 138px;
  width: 138px;
  min-width: 138px;
}
.region-cascader select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1769e812;
}
.region-cascader select:disabled {
  opacity: .55;
  background-color: #f5f7fa;
}
.required {
  color: #dc3545;
  margin-left: 3px;
  font-weight: 600;
}
.label-text {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}
.required {
  color: #dc3545;
  margin-left: 3px;
  font-weight: 600;
}
.end-file-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.end-file-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}
.end-file-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: #eef2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
}
.end-file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.end-file-thumb span {
  font-size: 24px;
  color: #758096;
}
.end-file-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.end-file-meta strong {
  font-size: 12px;
  color: #162033;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.end-file-meta small {
  font-size: 10px;
  color: #7b8798;
}
.end-file-remove {
  background: #fff;
  border: 1px solid #fde2e0;
  color: #dc3545;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10px;
  cursor: pointer;
}
.end-file-remove:hover {
  background: #fff5f5;
}
.file-preview-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 300px;
  max-width: 80vw;
  box-shadow: 0 0 30px rgba(0, 0, 0, .4);
}
.file-preview-icon {
  font-size: 64px;
  color: #758096;
}
.file-preview-name {
  font-size: 14px;
  color: #162033;
  word-break: break-all;
  max-width: 60ch;
}
.file-preview-size {
  font-size: 11px;
  color: #7b8798;
}
.attachment-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.attachment-preview-tile,
.attachment-video-tile {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f6f9fd;
}
.attachment-preview-tile {
  padding: 0;
  cursor: pointer;
}
.attachment-preview-tile img,
.attachment-video-tile video {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: #0f172a;
}
.attachment-preview-tile span,
.attachment-video-tile span {
  display: block;
  padding: 8px 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-align: left;
}
.file-input {
  display: block;
  width: 100%;
  font-size: 12px;
  color: #566174;
  padding: 6px 0;
  cursor: pointer;
}
.dispatch-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.dispatch-photo-thumb {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f8;
  cursor: zoom-in;
}
.dispatch-photo-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dispatch-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dispatch-file-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dispatch-file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  color: #2f3c50;
}
.dispatch-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dispatch-file-remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: #f4f5f8;
  color: #8895a8;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dispatch-file-remove:hover {
  background: #fde2e0;
  color: #dc3545;
}
.photo-preview-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.photo-preview-mask > img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
}
.photo-preview-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: .15s;
}
.photo-preview-arrow:hover {
  background: rgba(255, 255, 255, .32);
}
.photo-preview-prev {
  left: 24px;
}
.photo-preview-next {
  right: 24px;
}
.photo-preview-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0, 0, 0, .5);
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 13px;
}
.card-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.card-date {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.quick-edit-result-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(10, 24, 48, .42);
  padding: 18px;
  backdrop-filter: blur(2px);
}
.quick-edit-result-modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #ffffff;
  color: #1d2a3d;
  border: 1px solid #e3eaf3;
  box-shadow: 0 24px 60px rgba(20, 42, 78, .18);
}
.quick-edit-result-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid #eef1f7;
}
.quick-edit-result-modal-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.quick-edit-result-modal-head b {
  font-size: 14px;
  color: #0e1726;
  font-weight: 700;
}
.quick-edit-result-modal-head small {
  font-size: 11px;
  color: #7b8798;
}
.quick-edit-result-modal-head > button {
  background: #eef1f7;
  color: #465267;
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.quick-edit-result-modal-head > button:hover {
  background: #dde6f3;
}
.quick-edit-result-modal.has-failures {
  border-color: #f0c4bb;
  box-shadow: 0 24px 60px rgba(184, 90, 75, .18);
}
.quick-edit-result-modal.has-failures .quick-edit-result-modal-head {
  border-bottom-color: #f7d7cf;
}
.quick-edit-result-modal.success {
  border-color: #b9e5cc;
  box-shadow: 0 24px 60px rgba(38, 140, 80, .18);
}
.quick-edit-result-modal.success .quick-edit-result-modal-head {
  border-bottom-color: #cdebd7;
}
.quick-edit-failure-list {
  list-style: none;
  padding: 12px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  flex: 1;
  background: #f8fbff;
  border-top: 1px solid #eef1f7;
}
.quick-edit-failure-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff7f5;
  border: 1px solid #f0c4bb;
  font-size: 12px;
  line-height: 1.55;
  color: #a74333;
}
.quick-edit-failure-list li .quick-edit-failure-target {
  font-weight: 700;
  color: #1769e8;
  font-family:
    ui-monospace,
    Menlo,
    Consolas,
    monospace;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quick-edit-failure-list li .quick-edit-failure-reason {
  word-break: break-word;
  color: #7a2d22;
}
.quick-edit-failure-list li:hover {
  background: #ffeae6;
  border-color: #ecb6ad;
}
.quick-edit-result-modal-foot {
  display: flex;
  justify-content: flex-end;
  padding: 12px 20px 14px;
  border-top: 1px solid #eef1f7;
  background: #ffffff;
}
.quick-edit-result-modal-foot button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  background: #1769e8;
  color: #ffffff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.quick-edit-result-modal-foot button:hover {
  background: #0e56c7;
}
@media (max-width: 640px) {
  .quick-edit-result-modal {
    width: 100%;
    border-radius: 12px;
  }
  .quick-edit-failure-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .quick-edit-failure-list li .quick-edit-failure-target {
    font-size: 10px;
  }
}
.eng-project-center,
.eng-project-detail {
  overflow: hidden;
  border: 1px solid #e5e9f0;
  background: #fff;
  box-shadow: 0 12px 38px rgba(31, 50, 81, .055);
}
.eng-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #2f6feb;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}
.eng-center-head {
  padding: 25px 26px 20px;
  border-bottom: 0;
}
.eng-center-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eng-type-manager {
  width: min(760px, calc(100vw - 32px));
}
.eng-type-manager-list {
  display: grid;
  gap: 10px;
  max-height: 55vh;
  overflow: auto;
  padding: 4px 2px;
}
.eng-type-manager-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.eng-type-manager-list article.inactive {
  background: #f8fafc;
  opacity: .72;
}
.eng-type-manager-list article > div {
  display: grid;
  gap: 5px;
}
.eng-type-manager-list input {
  width: 100%;
}
.eng-type-manager-list small {
  color: #64748b;
}
.eng-center-head h2,
.eng-detail-head h2 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  letter-spacing: -.025em;
}
.eng-center-head p,
.eng-detail-head p {
  margin: 6px 0 0;
  color: #7d8999;
  font-size: 11px;
}
.eng-create-project {
  min-height: 39px;
  padding: 0 17px;
  border-radius: 9px;
  box-shadow: 0 7px 16px rgba(47, 111, 235, .18);
}
.eng-center-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 26px 22px;
}
.eng-center-metrics article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 16px 17px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fafbfd;
}
.eng-center-metrics span {
  color: #697589;
  font-size: 10px;
  font-weight: 700;
}
.eng-center-metrics strong {
  grid-row: 1/3;
  grid-column: 2;
  color: #19263a;
  font-size: 25px;
  letter-spacing: -.04em;
}
.eng-center-metrics small {
  color: #9aa3af;
  font-size: 9px;
}
.eng-center-metrics article.warning {
  border-color: #eed6a8;
  background: #fffaf0;
}
.eng-center-metrics article.warning strong {
  color: #a76114;
}
.eng-project-subline em {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff0e1;
  color: #a95718;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
}
.eng-project-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 160px auto;
  gap: 10px;
  align-items: center;
  margin: 0 26px 12px;
}
.eng-project-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #dfe5ed;
  border-radius: 9px;
  background: #fff;
}
.eng-project-search span {
  color: #8793a4;
  font-size: 15px;
}
.eng-project-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 10px;
}
.eng-project-toolbar > select {
  height: 38px;
  border: 1px solid #dfe5ed;
  border-radius: 9px;
  background: #fff;
  padding: 0 10px;
  color: #435167;
  font-size: 10px;
}
.eng-project-toolbar > small {
  color: #8b96a5;
  font-size: 9px;
  white-space: nowrap;
}
.eng-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 22px 12px;
  font-size: 11px;
  color: #5b6577;
}
.eng-legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block;
  margin-right: 5px;
}
.eng-merge {
  background: #e1f5ee;
  color: #085041;
}
.eng-gate {
  background: #fcebeb;
  color: #501313;
}
.eng-inline {
  background: #e6f1fb;
  color: #0c447c;
}
.eng-workspace {
  display: grid;
  grid-template-columns: 205px minmax(520px, 1fr) 252px;
  align-items: start;
  border-top: 1px solid #e8ecf2;
  border-bottom: 1px solid #e8ecf2;
  background: #f7f9fc;
}
.eng-flow-sidebar {
  min-width: 0;
  padding: 18px 14px 20px;
  border-right: 1px solid #e5eaf1;
  background: #fff;
}
.eng-flow-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px 12px;
  color: #263448;
  font-size: 11px;
  font-weight: 800;
}
.eng-flow-title small {
  color: #929dab;
  font-size: 9px;
  font-weight: 600;
}
.eng-stepper {
  display: grid;
  gap: 3px;
  padding: 0;
}
.eng-stepper .st {
  position: relative;
  display: grid;
  grid-template-columns: 27px 1fr;
  grid-template-rows: auto auto;
  column-gap: 9px;
  min-width: 0;
  min-height: 47px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #788496;
  text-align: left;
  cursor: pointer;
}
.eng-stepper .st::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 36px;
  width: 1px;
  height: 17px;
  background: #dfe5ec;
}
.eng-stepper .st:last-child::after {
  display: none;
}
.eng-stepper .st b {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  align-self: center;
  width: 25px;
  height: 25px;
  border: 1px solid #dce3eb;
  border-radius: 50%;
  background: #fff;
  color: #7c8797;
  font-size: 9px;
}
.eng-stepper .st span {
  align-self: end;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.eng-stepper .st i {
  align-self: start;
  color: #a1a9b5;
  font-size: 8px;
  font-style: normal;
}
.eng-stepper .st.complete {
  color: #3f6f5b;
}
.eng-stepper .st.complete b {
  border-color: #c8e5d7;
  background: #eaf7f0;
  color: #25825a;
}
.eng-stepper .st.now {
  border-color: #ccdcf7;
  background: #eef4ff;
  color: #245fb8;
  box-shadow: none;
}
.eng-stepper .st.now b {
  border-color: #2f6feb;
  background: #2f6feb;
  color: #fff;
}
.eng-stepper .st.now i {
  color: #5782c4;
}
.eng-stepper .st.future {
  cursor: not-allowed;
  opacity: .52;
}
.eng-correction-button {
  width: 100%;
  margin-top: 15px;
  padding: 9px;
  border: 1px solid #dce2ea;
  border-radius: 8px;
  background: #fff;
  color: #677487;
  font-size: 9px;
  font-weight: 700;
}
.eng-correction-button:not(:disabled):hover {
  border-color: #e0b6aa;
  background: #fff8f5;
  color: #aa4f37;
}
.eng-stage-workarea {
  min-width: 0;
  padding: 20px 18px 28px;
  background: #f7f9fc;
}
.eng-stage-workarea-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 3px 14px;
}
.eng-stage-workarea-head span {
  color: #909aaa;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}
.eng-stage-workarea-head h3 {
  margin: 3px 0 0;
  color: #19263a;
  font-size: 17px;
}
.eng-stage-workarea-head > small {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eaf1fd;
  color: #376ebd;
  font-size: 8px;
  font-weight: 700;
}
.eng-task-sidebar {
  display: grid;
  gap: 12px;
  padding: 18px 14px;
  border-left: 1px solid #e5eaf1;
  background: #fff;
}
.eng-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #e1e8f2;
  margin: 8px 22px 14px;
  flex-wrap: wrap;
}
.eng-tabs button {
  padding: 8px 12px;
  cursor: pointer;
  border: 1px solid #e1e8f2;
  border-bottom: none;
  border-radius: 9px 9px 0 0;
  color: #5b6577;
  font-size: 12px;
  background: #fafcff;
}
.eng-tabs button.active {
  background: #fff;
  color: #1769e8;
  font-weight: 600;
  box-shadow: 0 -2px 0 #1769e8 inset;
}
.eng-tabs .tg {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 6px;
}
.eng-block,
.eng-gate-block,
.eng-inline-block {
  border: 1px solid #e2e7ee;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  margin: 0 0 14px;
  box-shadow: 0 4px 14px rgba(36, 53, 79, .035);
}
.eng-block h4,
.eng-gate-block h4,
.eng-inline-block h4 {
  margin: 0 0 10px;
  font-size: 13px;
}
.eng-f {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.eng-f label {
  display: block;
  color: #69758a;
  font-size: 11px;
  margin-bottom: 4px;
}
.eng-f input,
.eng-f textarea,
.eng-f select {
  padding: 8px 10px;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  font-size: 12px;
  min-width: 200px;
  background: #fff;
}
.eng-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.eng-note {
  margin: 10px 22px;
  padding: 12px 16px;
  border: 1px dashed #b9c9e6;
  background: #f5f9ff;
  border-radius: 11px;
  font-size: 11px;
  color: #3b557d;
}
.eng-val {
  padding: 8px 10px;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  font-size: 12px;
  background: #fafbfc;
}
.eng-table-wrap {
  overflow-x: auto;
  margin: 0 26px 25px;
  padding: 0;
  border: 1px solid #e5e9ef;
  border-radius: 12px;
}
.eng-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.eng-table th {
  text-align: left;
  background: #f7f9fc;
  padding: 11px 15px;
  color: #8590a0;
  font-size: 9px;
  font-weight: 700;
  border-bottom: 1px solid #e7ebf1;
  white-space: nowrap;
}
.eng-table td {
  border-top: 1px solid #edf0f4;
  padding: 15px;
  vertical-align: middle;
  color: #1c293c;
}
.eng-table tbody tr {
  cursor: pointer;
  transition: background .15s ease;
}
.eng-table tbody tr:hover {
  background: #f7faff;
}
.eng-table td strong {
  display: block;
  font-size: 12px;
}
.eng-project-subline {
  display: block;
  margin-top: 4px;
  color: #8e98a6;
  font-size: 9px;
}
.eng-project-code {
  color: #5d6a7c;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-size: 9px;
}
.eng-table td .status {
  display: inline-block;
  font-size: 10px;
  padding: 5px 9px;
  border-radius: 14px;
  font-weight: 700;
}
.status.done {
  background: #e7f7ee;
  color: #17804b;
}
.status.inline {
  background: #e6f1fb;
  color: #185fa5;
}
.eng-table button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 6px 11px;
  font-size: 11px;
  color: var(--blue);
  cursor: pointer;
}
.eng-table button:hover {
  background: #eaf2ff;
}
.eng-split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}
.eng-split-2 .eng-block {
  margin: 0;
}
.eng-archive {
  margin: 20px 26px 26px;
  border: 1px solid #dfe5ec;
  border-radius: 12px;
  background: #fafbfd;
  padding: 17px 18px;
}
.eng-archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}
.eng-archive-head::-webkit-details-marker {
  display: none;
}
.eng-archive-head h4 {
  margin: 0 0 4px;
}
.eng-archive-head p {
  margin: 0;
}
.eng-archive-head > b {
  color: #1769e8;
  font-size: 12px;
}
.eng-archive[open] .eng-archive-head > b {
  font-size: 0;
}
.eng-archive[open] .eng-archive-head > b::after {
  content: "\6536\8d77\6863\6848";
  font-size: 12px;
}
.eng-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.eng-archive-grid section {
  min-width: 0;
  border: 1px solid #e1e6eb;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}
.eng-archive-grid h5 {
  margin: 0 0 9px;
  color: #293645;
  font-size: 13px;
}
.eng-archive-grid article {
  display: grid;
  gap: 3px;
  padding: 8px 0;
  border-top: 1px solid #edf0f2;
}
.eng-archive-grid article:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.eng-archive-grid article b,
.eng-archive-grid article span {
  overflow-wrap: anywhere;
}
.eng-archive-grid article b {
  font-size: 13px;
}
.eng-archive-grid article span {
  font-size: 12px;
  color: #475569;
  white-space: pre-wrap;
}
.eng-archive-grid article small {
  font-size: 11px;
  color: #8793a1;
}
.eng-save-notice {
  margin: 0 22px 14px;
  padding: 10px 14px;
  border: 1px solid #9ad7c2;
  border-radius: 9px;
  background: #edf9f4;
  color: #17634d;
  font-size: 13px;
}
.eng-save-notice.error {
  border-color: #efb4b4;
  background: #fff2f2;
  color: #9c2f2f;
}
.eng-version-hint {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f1f5f8;
  color: #5d6b79;
  font-size: 12px;
  line-height: 1.5;
}
.eng-stage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px 12px;
}
.eng-next-button {
  margin-left: 8px;
}
.eng-ready {
  color: #17634d;
}
.eng-missing {
  color: #9c4a17;
}
.eng-field-column {
  flex-direction: column;
}
.eng-list-error {
  margin: 0 22px 14px;
  padding: 12px 16px;
  border: 1px solid #ffd9a3;
  background: #fff8e9;
  color: #8e5a0a;
  border-radius: 11px;
  font-size: 12px;
}
.eng-empty {
  padding: 40px 0;
}
.eng-create-grid {
  min-width: 520px;
}
.eng-quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 8px;
}
.eng-quote-items {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.eng-quote-item {
  display: grid;
  grid-template-columns: 76px minmax(135px, 1fr) 60px 58px 82px 82px 48px;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border: 1px solid #dfe5ea;
  border-radius: 9px;
  background: #fff;
}
.eng-quote-item input,
.eng-quote-item select {
  min-width: 0;
}
.eng-quote-item b {
  text-align: right;
  font-size: 12px;
}
.eng-quote-item .danger {
  min-width: 48px;
  padding: 7px 5px;
  white-space: nowrap;
}
.eng-review-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.eng-review-quote-card {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #dde5ef;
  border-radius: 12px;
  background: #fff;
  color: #26364b;
  text-align: left;
  cursor: pointer;
}
.eng-review-quote-card:hover {
  border-color: #a9c4ed;
}
.eng-review-quote-card.selected {
  border-color: #4d83da;
  background: #f4f8ff;
  box-shadow: 0 0 0 3px rgba(47, 111, 235, .08);
}
.eng-review-quote-card span {
  color: #6f7d90;
  font-size: 9px;
  font-weight: 700;
}
.eng-review-quote-card strong {
  font-size: 11px;
}
.eng-review-quote-card b {
  color: #17243a;
  font-size: 18px;
}
.eng-review-quote-card small {
  color: #8793a3;
  font-size: 9px;
}
.eng-review-quote-card em {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff5df;
  color: #8b641b;
  font-size: 8px;
  font-style: normal;
  font-weight: 750;
}
.eng-review-quote-card.approved em {
  background: #eaf7ef;
  color: #23734d;
}
.eng-review-quote-card.rejected em {
  background: #fff0f0;
  color: #b44141;
}
.eng-selected-quote {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #eef4ff;
  color: #607086;
  font-size: 9px;
}
.eng-selected-quote strong {
  color: #274a7c;
}
.eng-selected-quote b {
  margin-left: auto;
  color: #1d3558;
  font-size: 13px;
}
.eng-contract-requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 16px;
}
.eng-contract-requirements article {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
  background: #f8fafc;
}
.eng-contract-requirements span {
  color: #68768a;
  font-size: 9px;
}
.eng-contract-requirements strong {
  font-size: 11px;
}
.eng-contract-requirements .done {
  border-color: #cce6d8;
  background: #eff9f3;
  color: #24704d;
}
.eng-contract-requirements .pending {
  border-color: #ecdcb8;
  background: #fffaf0;
  color: #8a641e;
}
.required-mark {
  color: #dc2626;
  font-size: 14px;
  font-weight: 800;
}
.eng-lock-note {
  margin: 8px 0 12px;
  padding: 9px 11px;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
}
.eng-quote-total {
  margin: 10px 0;
  text-align: right;
  color: #172033;
  font-size: 15px;
  font-weight: 800;
}
.eng-detail-head {
  align-items: flex-start;
  padding: 22px 26px 18px;
  border-bottom: 0;
}
.eng-back-link {
  display: block;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c7889;
  font-size: 9px;
  cursor: pointer;
}
.eng-back-link:hover {
  color: #2f6feb;
}
.eng-detail-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eng-stage-badge {
  padding: 7px 11px;
  border: 1px solid #d8e2f2;
  border-radius: 999px;
  background: #f3f7fd;
  color: #416da9;
  font-size: 9px;
  font-weight: 750;
}
.eng-stage-badge.ready {
  border-color: #c6e4d5;
  background: #eef9f3;
  color: #277253;
}
.eng-stage-badge.waiting {
  border-color: #efdbb3;
  background: #fffaf0;
  color: #8a641e;
}
.eng-project-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 26px 20px;
  border: 1px solid #e4e9ef;
  border-radius: 11px;
  background: #fff;
  overflow: hidden;
}
.eng-project-overview > div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 13px 15px;
  border-right: 1px solid #e8ecf1;
  background: #fff;
}
.eng-project-overview > div:last-child {
  border-right: 0;
}
.eng-project-overview small {
  color: #7b8798;
  font-size: 10px;
}
.eng-project-overview strong {
  overflow: hidden;
  color: #233147;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.eng-current-task {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 15px;
  border: 1px solid;
  border-radius: 11px;
}
.eng-current-task > div {
  display: grid;
  gap: 4px;
}
.eng-current-task small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.eng-current-task strong {
  font-size: 14px;
}
.eng-current-task p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}
.eng-current-task.ready {
  border-color: #a8dcc5;
  background: #f0faf5;
  color: #176348;
}
.eng-current-task.waiting {
  border-color: #f1cf91;
  background: #fff9ed;
  color: #855912;
}
.eng-current-task button {
  flex: 0 0 auto;
}
.eng-current-task button {
  width: 100%;
  min-height: 36px;
  border-radius: 8px;
  font-size: 9px;
}
.eng-task-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  font-size: 13px;
  font-weight: 800;
}
.eng-project-completed {
  padding: 9px;
  border-radius: 8px;
  background: #eaf7f0;
  color: #247b55;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}
.eng-quick-facts {
  padding: 14px;
  border: 1px solid #e4e8ee;
  border-radius: 11px;
  background: #fafbfd;
}
.eng-quick-facts h4 {
  margin: 0 0 10px;
  color: #263448;
  font-size: 11px;
}
.eng-quick-facts dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.eng-quick-facts dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #e9edf2;
  font-size: 9px;
}
.eng-quick-facts dt {
  color: #8b95a3;
}
.eng-quick-facts dd {
  margin: 0;
  color: #334155;
  font-weight: 700;
  text-align: right;
}
.eng-pending-correction {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #edcf9c;
  border-radius: 11px;
  background: #fffaf0;
  color: #75531b;
}
.eng-pending-correction > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}
.eng-pending-correction strong {
  font-size: 11px;
}
.eng-pending-correction p {
  margin: 0;
  font-size: 9px;
  line-height: 1.6;
}
.eng-pending-correction small {
  color: #9a7b48;
  font-size: 8px;
}
.eng-pending-correction button {
  margin-top: 3px;
  padding: 8px;
  border: 1px solid #dfbd7c;
  border-radius: 7px;
  background: #fff;
  color: #8b5b0e;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}
.eng-active-change {
  display: grid;
  gap: 7px;
  padding: 15px;
  border: 1px solid #b9ccff;
  border-radius: 11px;
  background: #f3f7ff;
  color: #24447d;
}
.eng-active-change > span {
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eng-active-change strong {
  font-size: 12px;
}
.eng-active-change p {
  margin: 0;
  color: #4c6288;
  font-size: 9px;
  line-height: 1.6;
}
.eng-active-change small {
  color: #6b7fa3;
  font-size: 8px;
}
.eng-active-change button {
  padding: 8px;
  border: 1px solid #bbcaf0;
  border-radius: 7px;
  background: #fff;
  color: #315ea9;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}
.eng-active-change button.primary {
  border-color: #315ea9;
  background: #315ea9;
  color: #fff;
}
.eng-change-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.eng-change-fields label {
  display: grid;
  gap: 6px;
  color: #516075;
  font-size: 10px;
}
.eng-change-fields input,
.eng-change-fields select {
  width: 100%;
  min-height: 38px;
  padding: 8px;
  border: 1px solid #d7e0eb;
  border-radius: 9px;
  background: #fff;
}
.eng-review-summary {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid #e2e7ee;
  border-radius: 9px;
  background: #f8fafc;
}
.eng-review-summary b {
  color: #4c596c;
  font-size: 9px;
}
.eng-review-summary p {
  margin: 0 0 6px;
  color: #263448;
  font-size: 10px;
  line-height: 1.6;
}
.eng-rollback-modal > label select {
  width: 100%;
  min-height: 38px;
  padding: 8px;
  border: 1px solid #d7e0eb;
  border-radius: 9px;
  background: #fff;
}
.eng-type-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 35px;
  padding: 8px;
  border: 1px solid #dfe5ed;
  border-radius: 9px;
  background: #f8fafc;
}
.eng-type-picker button {
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #dce3ec;
  border-radius: 999px;
  background: #fff;
  color: #667386;
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
}
.eng-type-picker button.selected {
  border-color: #8fb4ef;
  background: #eaf2ff;
  color: #225fac;
}
.eng-type-picker button:disabled {
  cursor: not-allowed;
  opacity: .65;
}
.eng-type-create {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 7px;
}
.eng-type-create input {
  min-width: 0 !important;
}
.eng-type-create button {
  padding: 0 12px;
  border: 1px solid #c8d8f1;
  border-radius: 8px;
  background: #edf4ff;
  color: #2a64b5;
  font-size: 9px;
  font-weight: 700;
}
.eng-wide-control {
  flex: 1 1 100%;
}
.eng-rollback-modal {
  max-width: 520px;
}
.eng-rollback-modal > label {
  display: grid;
  gap: 7px;
  padding: 0 2px;
  color: #3f4c60;
  font-size: 12px;
}
.eng-rollback-modal textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #d7e0eb;
  border-radius: 9px;
  resize: vertical;
}
.eng-rollback-warning {
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid #f0ce90;
  border-radius: 9px;
  background: #fff9ed;
  color: #805811;
  font-size: 11px;
  line-height: 1.6;
}
.quote-approved-card {
  border-color: #86efac !important;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, .08);
}
.quote-approved-overdue-card {
  border-color: #ef4444 !important;
  background: #fff7f7 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, .12);
}
.quote-confirmed-badge {
  justify-self: start;
  width: max-content;
  padding: 3px 7px;
  border: 1px solid #a9dec0;
  border-radius: 999px;
  background: #eaf8f0;
  color: #167247;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.quote-confirmed-badge.overdue {
  border-color: #efb0ac;
  background: #fff0ef;
  color: #c5362e;
}
.quote-confirmation-panel {
  padding: 16px 18px;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  background: #f8fbff;
}
.quote-confirmation-panel .section-title h3 {
  margin: 0 0 5px;
  color: #24324a;
}
.quote-confirmation-panel .section-title small {
  color: #64748b;
}
.quote-confirmation-panel.approved {
  border-color: #b9e7ca;
  background: #f5fcf8;
}
.quote-confirmation-panel.changes {
  border-color: #f1d49d;
  background: #fffaf0;
}
.quote-confirmation-panel.rejected {
  border-color: #e1e6ed;
  background: #f8fafc;
}
.quote-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}
.quote-confirmation-actions button {
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
.quote-confirmation-actions button:nth-child(1) {
  border-color: #2f6feb;
  background: #2f6feb;
  color: #fff;
}
.quote-confirmation-actions button:nth-child(2) {
  border-color: #f0cf91;
  background: #fff4d8;
  color: #9a5c00;
}
.quote-confirmation-actions button:nth-child(3) {
  border-color: #efc3c3;
  background: #fff0f0;
  color: #b83232 !important;
}
.quote-confirmation-actions button:hover {
  filter: brightness(.97);
  transform: translateY(-1px);
}
.quote-decision-editor {
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid #ead39f;
  border-radius: 10px;
  background: #fffdf7;
}
.quote-decision-editor.rejected {
  border-color: #edcccc;
  background: #fff8f8;
}
.quote-decision-editor label {
  display: grid;
  gap: 7px;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
}
.quote-decision-editor textarea {
  width: 100%;
  min-height: 62px;
  resize: vertical;
  border: 1px solid #d8e1ed;
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  color: #24324a;
  font: inherit;
  font-weight: 400;
  outline: none;
}
.quote-decision-editor textarea:focus {
  border-color: #7aa7ed;
  box-shadow: 0 0 0 3px rgba(47, 111, 235, .1);
}
.quote-decision-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.quote-decision-editor-actions button {
  min-height: 33px;
  padding: 7px 13px;
  border: 1px solid #d8e1ed;
  border-radius: 8px;
  background: #fff;
  color: #526174;
  font-size: 10px;
  font-weight: 700;
}
.quote-decision-editor-actions .change-submit {
  border-color: #e7bd6a;
  background: #f8dfaa;
  color: #754600;
}
.quote-decision-editor-actions .reject-submit {
  border-color: #dc8f8f;
  background: #c94747;
  color: #fff;
}
.quote-decision-confirm-backdrop {
  z-index: 2200;
}
.quote-decision-confirm-modal {
  width: min(430px, calc(100vw - 32px));
  padding: 28px;
  text-align: center;
  border-radius: 16px;
}
.quote-decision-confirm-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #e8f1ff;
  color: #2f6feb;
  font-size: 22px;
  font-weight: 800;
}
.quote-decision-confirm-modal h2 {
  margin: 0 0 9px;
  color: #1f2d42;
  font-size: 18px;
}
.quote-decision-confirm-modal p {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.7;
}
.quote-decision-confirm-modal p strong {
  color: #1f2d42;
  font-size: 13px;
}
.quote-decision-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 9px;
  margin-top: 22px;
}
.quote-decision-confirm-actions button {
  min-height: 38px;
  border: 1px solid #d8e1ed;
  border-radius: 9px;
  background: #fff;
  color: #526174;
  font-size: 11px;
  font-weight: 700;
}
.quote-decision-confirm-actions button.primary {
  border-color: #2f6feb;
  background: #2f6feb;
  color: #fff;
}
@media (max-width: 1280px) {
  .eng-workspace {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .eng-task-sidebar {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e5eaf1;
    border-left: 0;
  }
}
@media (max-width: 900px) {
  .eng-center-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .eng-project-overview {
    grid-template-columns: 1fr 1fr;
  }
  .eng-project-overview > div:nth-child(2) {
    border-right: 0;
  }
  .eng-project-overview > div:nth-child(-n+2) {
    border-bottom: 1px solid #e8ecf1;
  }
  .eng-workspace {
    display: block;
  }
  .eng-flow-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e5eaf1;
  }
  .eng-flow-title {
    padding-bottom: 9px;
  }
  .eng-stepper {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .eng-stepper .st {
    flex: 0 0 112px;
  }
  .eng-stepper .st::after {
    display: none;
  }
  .eng-correction-button {
    width: auto;
    padding-inline: 14px;
  }
  .eng-task-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .eng-split-2 {
    grid-template-columns: 1fr;
  }
  .eng-archive-grid {
    grid-template-columns: 1fr;
  }
  .eng-stage-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .eng-quote-item {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .eng-center-head,
  .eng-detail-head {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }
  .eng-center-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .eng-create-project {
    width: 100%;
  }
  .eng-type-manager-list article {
    grid-template-columns: 1fr;
  }
  .eng-type-manager-list article button {
    width: 100%;
  }
  .eng-center-metrics {
    grid-template-columns: 1fr 1fr;
    padding: 0 18px 18px;
  }
  .eng-center-metrics article {
    padding: 13px 15px;
  }
  .eng-project-toolbar {
    grid-template-columns: 1fr;
    margin: 0 18px 12px;
  }
  .eng-project-toolbar > small {
    display: none;
  }
  .eng-table-wrap {
    overflow: visible;
    margin: 0 18px 18px;
    border: 0;
    background: transparent;
  }
  .eng-table {
    display: block;
    min-width: 0;
  }
  .eng-table thead {
    display: none;
  }
  .eng-table tbody {
    display: grid;
    gap: 10px;
  }
  .eng-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(38, 61, 95, .04);
  }
  .eng-table td {
    border: 0;
    padding: 3px 0;
  }
  .eng-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .eng-table td:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
    padding-top: 7px;
  }
  .eng-table td:nth-child(3) {
    grid-column: 1/-1;
    grid-row: 3;
    color: #68768a;
    font-size: 10px;
  }
  .eng-table td:nth-child(3)::before {
    content: "\7532\65b9  \b7  ";
    color: #9aa4b2;
  }
  .eng-table td:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
    color: #68768a;
    font-size: 10px;
  }
  .eng-table td:nth-child(4)::before {
    content: "\57ce\5e02  \b7  ";
    color: #9aa4b2;
  }
  .eng-table td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
  }
  .eng-table td:nth-child(6) {
    display: none;
  }
  .eng-project-overview {
    grid-template-columns: 1fr;
    margin: 0 18px 16px;
  }
  .eng-project-overview > div {
    border-right: 0;
    border-bottom: 1px solid #e8ecf1;
  }
  .eng-project-overview > div:last-child {
    border-bottom: 0;
  }
  .eng-stage-workarea {
    padding: 16px 12px 22px;
  }
  .eng-task-sidebar {
    grid-template-columns: 1fr;
    padding: 14px 12px;
  }
  .eng-archive {
    margin: 16px 18px 20px;
  }
  .eng-create-grid {
    min-width: 0;
  }
  .eng-f {
    display: grid;
    grid-template-columns: 1fr;
  }
  .eng-f input,
  .eng-f textarea,
  .eng-f select {
    min-width: 0;
    width: 100%;
  }
  .eng-change-fields {
    grid-template-columns: 1fr;
  }
  .eng-review-quote-grid,
  .eng-contract-requirements {
    grid-template-columns: 1fr;
  }
  .eng-selected-quote {
    align-items: flex-start;
    flex-direction: column;
  }
  .eng-selected-quote b {
    margin-left: 0;
  }
}
.nav-group-title {
  font-size: 11px;
  color: #9cc2ff;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 18px 10px 8px;
  font-weight: 600;
}
.nav-item {
  margin: 2px 0;
}
.nav-group-toggle {
  width: 100%;
  margin-top: 10px;
  padding: 12px 10px 7px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
  background: transparent;
  color: #b9d3ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  cursor: pointer;
}
.nav-group-toggle b {
  font-size: 14px;
  color: #fff;
}
.nav-collapsible-group .nav-item {
  padding-left: 18px;
}
.quote-tool-preview {
  padding: 18px 0 36px;
}
.quote-preview-banner {
  margin-bottom: 14px;
  padding: 13px 16px;
  border: 1px solid #bad3fb;
  border-radius: 12px;
  background: #edf5ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #214f90;
}
.quote-preview-banner > div {
  display: grid;
  gap: 3px;
}
.quote-preview-banner b {
  font-size: 13px;
}
.quote-preview-banner span {
  font-size: 10px;
}
.quote-preview-pill {
  padding: 5px 9px;
  border-radius: 999px;
  background: #d7e8ff;
  color: #195db9;
  font-weight: 800;
  white-space: nowrap;
}
.quote-preview-notice {
  position: fixed;
  z-index: 1500;
  right: 30px;
  top: 88px;
  padding: 11px 15px;
  border: 1px solid #a7d9bf;
  border-radius: 9px;
  background: #effaf4;
  color: #17633f;
  box-shadow: 0 8px 24px rgba(30, 90, 60, .14);
  font-size: 11px;
}
.quote-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: start;
}
.quote-editor-card,
.quote-summary-card {
  border: 1px solid #e0e7f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(38, 67, 112, .06);
}
.quote-editor-card {
  padding: 20px;
}
.quote-tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.quote-tool-head h2 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #1e2b40;
}
.quote-tool-head p {
  margin: 0;
  color: #7a8799;
  font-size: 10px;
}
.quote-tool-head > button,
.quote-lines-head button,
.quote-import-button {
  border: 1px solid #c9daf7;
  border-radius: 8px;
  background: #edf4ff;
  color: #2361ba;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.quote-type-switch {
  display: flex;
  padding: 3px;
  border-radius: 9px;
  background: #eef2f7;
}
.quote-type-switch button {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6f7c8d;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.quote-type-switch button.active {
  background: #fff;
  color: #2563c4;
  box-shadow: 0 2px 8px rgba(35, 74, 130, .12);
}
.quote-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.quote-meta-grid label {
  display: grid;
  gap: 6px;
  color: #566274;
  font-size: 10px;
  font-weight: 700;
}
.quote-meta-grid label em {
  color: #d92d2d;
  font-style: normal;
}
.quote-meta-grid input,
.quote-meta-grid select,
.quote-lines-table input,
.quote-lines-table select,
.quote-archive-toolbar input,
.quote-archive-toolbar select,
.quote-price-search input,
.quote-price-search select {
  min-width: 0;
  width: 100%;
  height: 36px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  color: #26364d;
  font: inherit;
  outline: none;
}
.quote-meta-grid input:focus,
.quote-meta-grid select:focus,
.quote-lines-table input:focus,
.quote-lines-table select:focus {
  border-color: #71a3eb;
  box-shadow: 0 0 0 3px rgba(47, 111, 235, .09);
}
.quote-meta-grid input[readonly] {
  background: #f6f8fb;
  color: #788596;
}
.quote-wide-field {
  grid-column: span 2;
}
.quote-lines-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 9px;
}
.quote-lines-head h3 {
  margin: 0;
  font-size: 13px;
}
.quote-lines-table {
  overflow: auto;
}
.quote-line {
  min-width: 890px;
  display: grid;
  grid-template-columns: 88px minmax(160px, 1.5fr) minmax(110px, 1fr) 62px 72px 110px 105px 44px;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
  border-bottom: 1px solid #edf1f5;
}
.quote-line-labels {
  padding: 7px 4px;
  background: #f7f9fc;
  border-radius: 7px;
  color: #788596;
  font-size: 9px;
  font-weight: 700;
}
.quote-line strong {
  text-align: right;
  color: #1e2b40;
  font-size: 10px;
}
.quote-line-delete {
  border: 0;
  background: transparent;
  color: #c34040;
  font-size: 9px;
  cursor: pointer;
}
.quote-line-delete:disabled {
  opacity: .3;
  cursor: not-allowed;
}
.quote-terms {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 9px;
  background: #f7f9fc;
  color: #647184;
  font-size: 10px;
  line-height: 1.65;
}
.quote-terms b {
  color: #37465b;
}
.quote-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.quote-editor-actions button {
  border: 1px solid #d6deea;
  border-radius: 8px;
  background: #fff;
  color: #536176;
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.quote-editor-actions button.primary {
  border-color: #2f6feb;
  background: #2f6feb;
  color: #fff;
}
.quote-summary-card {
  position: sticky;
  top: 94px;
  padding: 20px;
}
.quote-summary-card img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  margin-bottom: 12px;
}
.quote-summary-card h3 {
  margin: 0 0 14px;
  font-size: 14px;
}
.quote-summary-card > div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  color: #69778a;
  font-size: 10px;
}
.quote-summary-card > div b {
  color: #26364d;
}
.quote-summary-card .quote-total {
  margin-top: 5px;
  padding-top: 14px;
  border-top: 1px solid #e3e9f1;
  align-items: end;
}
.quote-summary-card .quote-total strong {
  color: #e0572d;
  font-size: 19px;
}
.quote-summary-card small {
  display: block;
  margin-top: 10px;
  padding: 8px;
  border-radius: 7px;
  background: #f4f7fb;
  color: #778497;
  text-align: center;
  font-size: 9px;
}
.quote-import-button {
  position: relative;
  overflow: hidden;
}
.quote-import-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.quote-archive-toolbar,
.quote-price-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px;
  gap: 10px;
  margin-bottom: 13px;
}
.quote-archive-list {
  display: grid;
  gap: 8px;
}
.quote-archive-list article {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 100px 120px 60px;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #e3e9f1;
  border-radius: 10px;
}
.quote-archive-list article > div {
  display: grid;
  gap: 4px;
}
.quote-archive-list b {
  font-size: 11px;
}
.quote-archive-list article > div span {
  color: #8390a2;
  font-size: 9px;
}
.quote-archive-list article > strong {
  font-size: 12px;
}
.quote-archive-list button {
  border: 1px solid #d5dfed;
  border-radius: 7px;
  background: #fff;
  color: #2f6feb;
  padding: 6px 9px;
  font-size: 9px;
}
.quote-status {
  width: max-content;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f3f6;
  color: #687588;
  font-size: 9px;
}
.quote-status.accepted {
  background: #e8f8ef;
  color: #18784a;
}
.quote-price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.quote-price-grid article {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #f9fbfd;
}
.quote-price-grid span {
  color: #778496;
  font-size: 9px;
}
.quote-price-grid strong {
  color: #1f2e43;
  font-size: 18px;
}
.quote-price-grid small {
  color: #8794a5;
  font-size: 9px;
}
.quote-price-detail {
  border: 1px solid #e1e7ef;
  border-radius: 11px;
  padding: 15px;
}
.quote-price-detail h3 {
  margin: 0 0 4px;
  font-size: 13px;
}
.quote-price-detail > p {
  margin: 0 0 12px;
  color: #8490a1;
  font-size: 9px;
}
.quote-price-detail > div {
  display: grid;
  grid-template-columns: 1fr 90px 100px;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #edf1f5;
  font-size: 10px;
}
.quote-price-detail em {
  width: max-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f3f6;
  color: #6d798a;
  font-style: normal;
  font-size: 8px;
}
.quote-price-detail em.accepted {
  background: #e8f8ef;
  color: #18784a;
}
.quote-settings-card {
  max-width: 980px;
}
@media (max-width: 1100px) {
  .quote-editor-layout {
    grid-template-columns: 1fr;
  }
  .quote-summary-card {
    position: static;
  }
  .quote-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-price-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-archive-list article {
    grid-template-columns: 1fr 90px;
  }
  .quote-archive-list article .quote-status {
    justify-self: start;
  }
}
@media (max-width: 720px) {
  .quote-tool-preview {
    padding-top: 10px;
  }
  .quote-editor-card {
    padding: 14px;
  }
  .quote-tool-head {
    flex-direction: column;
  }
  .quote-type-switch {
    width: 100%;
  }
  .quote-type-switch button {
    flex: 1;
  }
  .quote-meta-grid,
  .quote-archive-toolbar,
  .quote-price-search,
  .quote-price-grid {
    grid-template-columns: 1fr;
  }
  .quote-wide-field {
    grid-column: auto;
  }
  .quote-preview-banner {
    align-items: flex-start;
  }
  .quote-archive-list article {
    grid-template-columns: 1fr;
  }
  .quote-line {
    min-width: 820px;
  }
  .quote-preview-notice {
    left: 16px;
    right: 16px;
    top: 85px;
  }
}
.quote-price-list {
  display: grid;
  gap: 8px;
}
.quote-price-list article {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px minmax(220px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid #e3e9f1;
  border-radius: 10px;
}
.quote-price-list article > div {
  display: grid;
  gap: 4px;
}
.quote-price-list b {
  font-size: 11px;
}
.quote-price-list span {
  color: #788596;
  font-size: 9px;
}
.quote-price-list strong {
  color: #1f2e43;
  font-size: 12px;
}
.quote-archive-toolbar button {
  border: 1px solid #c9daf7;
  border-radius: 8px;
  background: #edf4ff;
  color: #2361ba;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 720px) {
  .quote-price-list article {
    grid-template-columns: 1fr;
  }
}
.technician-review-panel {
  border: 1px solid #e4e9f2;
}
.technician-review-panel.has-pending {
  border-color: #f1c56e;
  background:
    linear-gradient(
      180deg,
      #fffdf7 0,
      #fff 75%);
}
.review-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  border-radius: 11px;
  background: #edf1f7;
  color: #69758a;
  font-size: 11px;
}
.has-pending .review-count {
  background: #fff0cd;
  color: #a66500;
}
.technician-review-list {
  display: grid;
  gap: 10px;
  padding: 0 20px 20px;
}
.technician-review-list article {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #f0d79f;
  border-radius: 12px;
  background: #fff;
}
.review-applicant {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.review-applicant strong {
  font-size: 13px;
}
.review-applicant small,
.review-applicant p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.pending-status {
  padding: 5px 9px;
  border-radius: 12px;
  background: #fff2d6;
  color: #a66500;
  font-size: 10px;
}
.review-actions {
  display: flex;
  gap: 8px;
}
.review-actions button {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 10px;
}
.review-actions .reject-review {
  border: 1px solid #efc6c6;
  background: #fff;
  color: #c54444;
}
.review-empty {
  padding-top: 0;
}
.technician-review-panel + .panel {
  margin-top: 14px;
}
@media (max-width: 720px) {
  .technician-review-list article {
    grid-template-columns: auto 1fr;
  }
  .pending-status {
    justify-self: start;
  }
  .review-actions {
    grid-column: 1/3;
    width: 100%;
  }
  .review-actions button {
    flex: 1;
  }
}
.completion-review-box {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #f0d28e;
  border-radius: 9px;
  background: #fff9eb;
  color: #8a5a00;
}
.completion-review-box.approved {
  border-color: #b9e2cc;
  background: #edf9f2;
  color: #146b43;
}
.completion-review-box.rejected {
  border-color: #efc0c0;
  background: #fff2f2;
  color: #a73535;
}
.completion-review-box small {
  color: inherit !important;
}
.technician-quote-section {
  padding: 18px;
  border: 1px solid #dce8f8;
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      #fbfdff,
      #f5f9ff);
}
.technician-quote-section > .section-title {
  margin-bottom: 10px;
}
.technician-quote-section > .section-title > div {
  display: grid;
  gap: 4px;
}
.technician-quote-section > .section-title small {
  color: var(--muted);
  font-weight: 400;
}
.technician-quote-card {
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: #fff;
}
.technician-quote-card.quote-submitted {
  border-color: #f2d290;
  background: #fffdf8;
}
.technician-quote-card.quote-approved {
  border-color: #b9e2cc;
  background: #fbfffd;
}
.technician-quote-card.quote-rejected {
  border-color: #efc0c0;
  background: #fffafa;
}
.technician-quote-main {
  min-width: 0;
}
.technician-quote-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.technician-quote-details {
  margin: 8px 0 2px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #f4f7fb;
  color: #40506a;
  font-size: 11px;
  line-height: 1.6;
}
.technician-fee-lines {
  display: grid;
  gap: 6px;
  margin-top: 9px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #f6f9fd;
}
.technician-fee-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 90px;
  gap: 12px;
  align-items: center;
  font-size: 10px;
}
.technician-fee-line span:first-child {
  overflow-wrap: anywhere;
}
.technician-fee-line span:nth-child(2) {
  color: var(--muted);
}
.technician-fee-line strong {
  text-align: right;
}
.technician-quote-rejection {
  margin: 8px 0 0;
  color: #b53030;
  font-size: 10px;
}
.technician-quote-actions {
  justify-content: flex-end;
}
@media (max-width: 720px) {
  .technician-quote-section {
    padding: 13px;
  }
  .technician-quote-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .technician-fee-line {
    grid-template-columns: 1fr auto;
  }
  .technician-fee-line strong {
    grid-column: 2;
  }
  .technician-quote-actions {
    justify-content: flex-start;
  }
}
.technician-payment-summary {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #eef8f2;
  color: #526274;
  font-size: 10px;
}
.technician-payment-summary strong {
  margin-left: auto;
  color: #b87512;
}
.technician-payment-form {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 5px;
  padding: 13px;
  border-radius: 11px;
  background: #f5f8fc;
}
.technician-payment-form label {
  display: grid;
  gap: 5px;
  color: #556276;
  font-size: 10px;
}
.technician-payment-form input,
.technician-payment-form select {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}
.technician-payment-form .wide {
  grid-column: 1/-1;
}
.payment-form-actions {
  display: flex !important;
  justify-content: flex-end;
}
.payment-form-actions button {
  border: 0;
  border-radius: 8px;
  padding: 9px 15px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
@media (max-width: 720px) {
  .technician-payment-form {
    grid-template-columns: 1fr;
  }
  .technician-payment-form .wide {
    grid-column: 1;
  }
  .technician-payment-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .technician-payment-summary strong {
    margin-left: 0;
  }
}
.technician-payment-record {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
  padding: 8px 10px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: #fff;
  font-size: 10px;
}
.technician-payment-record span {
  color: var(--muted);
}
.technician-payment-record strong {
  margin-left: auto;
}
.technician-payment-record a {
  color: var(--blue);
  text-decoration: none;
}
.technician-payment-record button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 8px;
  background: #fff;
  font-size: 10px;
}
@media (max-width: 720px) {
  .technician-payment-record {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .technician-payment-record strong {
    margin-left: 0;
  }
}
.finance-reimbursement-desk {
  display: grid;
}
.finance-desk-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #fff;
}
.finance-desk-intro > span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  white-space: nowrap;
}
.finance-desk-grid {
  display: grid;
  gap: 14px;
}
.finance-order-search > form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}
.finance-order-results {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  overflow: auto;
}
.finance-order-results > button {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #dde5f2;
  background: #fff;
  text-align: left;
}
.finance-order-results > button > div:first-child {
  display: grid;
  gap: 3px;
}
.finance-order-results small {
  color: var(--muted);
}
.finance-quote-check {
  display: grid;
  justify-items: end;
  align-content: center;
  white-space: nowrap;
}
.finance-selected-order {
  display: grid;
  gap: 4px;
  border: 1px solid #bfd4ff;
  background: #f3f7ff;
}
.finance-reimbursement-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.finance-reimbursement-form label {
  display: grid;
}
.finance-reimbursement-form .wide {
  grid-column: 1/-1;
}
.finance-gate-message {
  padding: 28px 16px;
  border-radius: 10px;
  text-align: center;
  color: var(--muted);
}
.finance-gate-message.blocked {
  color: #b33b3b;
}
.finance-history-list {
  display: grid;
  gap: 7px;
}
.finance-history-list article {
  display: grid;
  align-items: center;
  gap: 14px;
  border: 1px solid #e1e7f0;
  background: #fff;
}
.finance-history-list article > div {
  display: grid;
  gap: 3px;
}
.finance-history-list small {
  color: var(--muted);
}
.finance-mobile-nav > button:not(.finance-mobile-button) {
  display: none;
}
.finance-mobile-button {
  display: flex !important;
}
.finance-reimbursement-desk {
  gap: 14px;
}
.finance-desk-intro {
  min-height: 112px;
  padding: 22px 26px;
  border-radius: 17px;
  background:
    linear-gradient(
      120deg,
      #1769e8,
      #0e4fae);
  box-shadow: 0 14px 34px rgba(23, 105, 232, .16);
}
.finance-desk-intro > div {
  display: grid;
  gap: 3px;
}
.finance-desk-intro > div > small {
  font-size: 10px;
  opacity: .72;
}
.finance-desk-intro h2 {
  margin: 0;
  font-size: 22px;
}
.finance-desk-intro p {
  max-width: 760px;
  margin: 3px 0 0;
  font-size: 11px;
  line-height: 1.65;
}
.finance-desk-intro > span {
  font-size: 11px;
  font-weight: 700;
}
.finance-desk-grid {
  grid-template-columns: minmax(500px, 1.08fr) minmax(500px, .92fr);
  align-items: start;
}
.finance-order-search,
.finance-reimbursement-form,
.finance-reimbursement-history {
  padding: 0 18px 18px;
}
.finance-section-head {
  margin: 0 -18px 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.finance-section-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.finance-section-head > div > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}
.finance-section-head h3 {
  margin: 0 0 3px !important;
  font-size: 14px;
}
.finance-section-head p {
  font-size: 10px;
}
.finance-order-search > form input,
.finance-reimbursement-form input,
.finance-reimbursement-form select,
.finance-reimbursement-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
  padding: 10px 11px;
  color: #26364d;
  outline: none;
}
.finance-order-search > form input:focus,
.finance-reimbursement-form input:focus,
.finance-reimbursement-form select:focus,
.finance-reimbursement-form textarea:focus {
  border-color: #75a5eb;
  box-shadow: 0 0 0 3px rgba(47, 111, 235, .09);
}
.finance-order-search > form button {
  min-width: 72px;
}
.finance-order-results {
  max-height: 510px;
  padding-right: 3px;
}
.finance-order-results > button {
  min-height: 78px;
  padding: 12px 13px;
  border-radius: 10px;
}
.finance-order-results > button.selected {
  border-color: #1769e8;
  background: #f7faff;
  box-shadow: inset 3px 0 #1769e8;
}
.finance-order-results > button.blocked {
  background: #fcfcfd;
}
.finance-quote-check strong {
  font-size: 13px;
}
.finance-quote-check .blocked-text {
  max-width: 170px;
  color: #9a6470;
  font-size: 10px;
  white-space: normal;
  text-align: right;
}
.finance-selected-order {
  margin-bottom: 10px;
  padding: 11px 13px;
  border-radius: 10px;
}
.finance-selected-order strong {
  font-size: 12px;
}
.finance-cost-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 13px;
}
.finance-cost-summary > div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e6ebf2;
  border-radius: 9px;
  background: #f8fafc;
}
.finance-cost-summary small {
  font-size: 9px;
  color: var(--muted);
}
.finance-cost-summary strong {
  font-size: 14px;
}
.finance-cost-summary .remaining {
  border-color: #bbd4fb;
  background: #edf5ff;
}
.finance-cost-summary .remaining strong {
  color: #1769e8;
}
.finance-reimbursement-form form {
  gap: 10px 12px;
}
.finance-reimbursement-form label {
  gap: 5px;
  color: #4d5a6e;
  font-size: 10px;
  font-weight: 700;
}
.finance-reimbursement-form textarea {
  min-height: 68px;
  resize: vertical;
}
.finance-reimbursement-form input[type=file] {
  padding: 7px;
}
.finance-no-duplicate {
  padding: 9px 11px;
  border-radius: 8px;
  background: #edf8f2;
  color: #24704f;
  font-size: 10px;
  line-height: 1.55;
}
.finance-reimbursement-form button.wide {
  min-height: 40px;
}
.finance-reimbursement-history {
  padding-bottom: 18px;
}
.finance-history-list article {
  grid-template-columns: minmax(250px, 1.3fr) 90px 120px 130px 90px auto;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 10px;
}
.finance-history-list article b {
  color: #1769e8;
  font-size: 13px;
}
.finance-history-list article a {
  color: #1769e8;
  text-decoration: none;
  font-weight: 700;
}
.finance-gate-message {
  margin-top: 6px;
  border: 1px dashed #d9e2ef;
  background: #f8fafc;
}
.finance-gate-message.blocked {
  border-color: #edc8c8;
  background: #fff7f7;
}
@media (max-width: 1250px) {
  .finance-desk-grid {
    grid-template-columns: 1fr;
  }
  .finance-order-results {
    max-height: 420px;
  }
  .finance-history-list article {
    grid-template-columns: minmax(220px, 1fr) auto auto auto;
  }
  .finance-history-list article > a {
    justify-self: end;
  }
}
@media (max-width: 720px) {
  .finance-desk-intro {
    padding: 19px;
  }
  .finance-desk-intro p {
    font-size: 10px;
  }
  .finance-order-search,
  .finance-reimbursement-form,
  .finance-reimbursement-history {
    padding: 0 13px 13px;
  }
  .finance-section-head {
    margin: 0 -13px 12px;
    padding: 14px 13px;
  }
  .finance-cost-summary {
    grid-template-columns: 1fr 1fr;
  }
  .finance-history-list article {
    grid-template-columns: 1fr auto;
  }
  .finance-history-list article > span,
  .finance-history-list article > small,
  .finance-history-list article > a {
    grid-column: 1/-1;
    justify-self: start;
  }
  .finance-quote-check .blocked-text {
    text-align: left;
  }
}
@media (max-width: 720px) {
  .finance-desk-intro {
    display: grid;
  }
  .finance-reimbursement-form form {
    grid-template-columns: 1fr;
  }
  .finance-reimbursement-form .wide {
    grid-column: 1;
  }
  .finance-order-results > button {
    display: grid;
  }
  .finance-quote-check {
    justify-items: start;
  }
  .finance-order-search > form {
    grid-template-columns: 1fr;
  }
  .finance-history-list article {
    grid-template-columns: 1fr;
  }
}
.quote-editor-actions .quote-export-button {
  display: inline-flex;
  align-items: center;
  border: 1px solid #8db6f2;
  border-radius: 8px;
  background: #edf5ff;
  color: #1769e8;
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.quote-editor-layout {
  grid-template-columns: minmax(620px, 1.15fr) minmax(470px, .85fr);
}
.quote-editor-actions .quote-pdf-button {
  border-color: #1769e8;
  background: #1769e8;
  color: #fff;
}
.quote-customer-preview {
  position: sticky;
  top: 88px;
  overflow: hidden;
  border: 1px solid #d8e1ee;
  border-radius: 14px;
  background: #fff;
  color: #172033;
  box-shadow: 0 12px 34px rgba(32, 61, 100, .11);
  font-size: 10px;
}
.quote-customer-preview header {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  min-height: 105px;
  padding: 15px 18px;
  border-bottom: 3px solid #1769e8;
}
.quote-customer-preview header img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}
.quote-customer-preview header > div {
  text-align: center;
}
.quote-customer-preview header h2 {
  margin: 0 0 7px;
  font-size: 24px;
  letter-spacing: 9px;
}
.quote-customer-preview header b {
  color: #155aa7;
  font-size: 11px;
}
.quote-customer-preview header time {
  align-self: start;
  white-space: nowrap;
  color: #536176;
  font-size: 9px;
}
.quote-preview-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #dce4ef;
}
.quote-preview-meta > div {
  display: grid;
  grid-template-columns: 75px 1fr;
  min-height: 31px;
  border-right: 1px solid #e4eaf2;
  border-bottom: 1px solid #e4eaf2;
}
.quote-preview-meta span,
.quote-preview-customer span {
  display: flex;
  align-items: center;
  padding: 7px 9px;
  background: #edf4fc;
  color: #42526a;
  font-weight: 700;
}
.quote-preview-meta b,
.quote-preview-customer b {
  display: flex;
  align-items: center;
  padding: 7px 9px;
  font-weight: 600;
}
.quote-preview-customer p {
  display: grid;
  grid-template-columns: 75px 1fr;
  min-height: 33px;
  margin: 0;
  border-bottom: 1px solid #e4eaf2;
}
.quote-customer-preview table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.quote-customer-preview th {
  padding: 8px 5px;
  background: #1769e8;
  color: #fff;
  font-size: 9px;
}
.quote-customer-preview th:first-child {
  width: 38px;
}
.quote-customer-preview th:nth-child(2) {
  width: 30%;
}
.quote-customer-preview th:nth-child(3) {
  width: 16%;
}
.quote-customer-preview td {
  padding: 8px 5px;
  border: 1px solid #dce4ef;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.quote-customer-preview td:nth-child(2) {
  text-align: left;
}
.quote-customer-preview td b,
.quote-customer-preview td small {
  display: block;
}
.quote-customer-preview td small {
  margin-top: 2px;
  color: #7a8799;
  font-size: 8px;
}
.quote-preview-totals {
  margin-left: auto;
  width: 58%;
  border-left: 1px solid #dce4ef;
}
.quote-preview-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-bottom: 1px solid #dce4ef;
  background: #f7faff;
}
.quote-preview-totals > div:last-child {
  background: #fff2e8;
}
.quote-preview-totals strong {
  font-size: 11px;
}
.quote-preview-totals em {
  color: #e95622;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}
.quote-preview-note {
  padding: 10px 13px;
  border-top: 1px solid #dce4ef;
  border-bottom: 1px solid #dce4ef;
}
.quote-preview-note b {
  color: #155aa7;
}
.quote-preview-note p {
  margin: 4px 0 0;
  color: #536176;
  line-height: 1.65;
}
.quote-preview-bank {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 13px;
  border-bottom: 1px solid #dce4ef;
  background: #fbfcfe;
}
.quote-preview-bank p {
  margin: 3px 0;
}
.quote-preview-bank span {
  display: inline-block;
  min-width: 74px;
  color: #617087;
  font-weight: 700;
}
.quote-customer-preview footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 82px;
}
.quote-customer-preview footer > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 11px 13px;
  border-right: 1px solid #dce4ef;
}
.quote-customer-preview footer span {
  color: #66758a;
}
@media (max-width: 1400px) {
  .quote-editor-layout {
    grid-template-columns: 1fr;
  }
  .quote-customer-preview {
    position: static;
    max-width: 760px;
    margin: 0 auto;
  }
}
@media print {
  @page {
    size: A4 portrait;
    margin: 7mm;
  }
  html,
  body {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }
  .sidebar,
  .topbar,
  .quote-preview-banner,
  .quote-editor-card,
  .app-filing,
  .mobile-nav {
    display: none !important;
  }
  .content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .quote-tool-preview,
  .quote-editor-layout {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .quote-customer-preview {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 1px solid #b8c5d6 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #172033 !important;
    font-size: 8pt !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .quote-customer-preview header {
    display: grid !important;
    grid-template-columns: 24mm 1fr 31mm !important;
    min-height: 24mm !important;
    padding: 3mm 4mm !important;
  }
  .quote-customer-preview header img {
    width: 20mm !important;
    height: 20mm !important;
  }
  .quote-customer-preview header h2 {
    font-size: 18pt !important;
    margin-bottom: 2mm !important;
  }
  .quote-customer-preview header b {
    font-size: 8pt !important;
  }
  .quote-customer-preview header time {
    font-size: 7pt !important;
  }
  .quote-preview-meta {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .quote-preview-meta > div {
    display: grid !important;
    grid-template-columns: 22mm 1fr !important;
    min-height: 7mm !important;
  }
  .quote-preview-meta span,
  .quote-preview-customer span,
  .quote-preview-meta b,
  .quote-preview-customer b {
    padding: 1.5mm 2mm !important;
  }
  .quote-preview-customer p {
    display: grid !important;
    grid-template-columns: 22mm 1fr !important;
    min-height: 7mm !important;
  }
  .quote-customer-preview table {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
  }
  .quote-customer-preview thead {
    display: table-header-group !important;
  }
  .quote-customer-preview tbody {
    display: table-row-group !important;
    padding: 0 !important;
  }
  .quote-customer-preview tr {
    display: table-row !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .quote-customer-preview th,
  .quote-customer-preview td {
    display: table-cell !important;
    padding: 1.7mm 1mm !important;
    border: 1px solid #dce4ef !important;
    font-size: 7.5pt !important;
  }
  .quote-customer-preview th:first-child {
    width: 10mm !important;
  }
  .quote-customer-preview th:nth-child(2) {
    width: 54mm !important;
  }
  .quote-customer-preview th:nth-child(3) {
    width: 31mm !important;
  }
  .quote-customer-preview td:first-child,
  .quote-customer-preview td:nth-child(2) {
    grid-column: auto !important;
  }
  .quote-customer-preview td:nth-child(6),
  .quote-customer-preview td:nth-child(7) {
    display: table-cell !important;
  }
  .quote-preview-totals > div {
    padding: 1.6mm 2.5mm !important;
  }
  .quote-preview-totals em {
    font-size: 12pt !important;
  }
  .quote-preview-note {
    padding: 2.5mm 3mm !important;
  }
  .quote-preview-bank {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    padding: 2mm 3mm !important;
  }
  .quote-preview-bank p {
    margin: 1mm 0 !important;
  }
  .quote-customer-preview footer {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    min-height: 20mm !important;
  }
  .quote-customer-preview footer > div {
    padding: 2.5mm 3mm !important;
  }
  .quote-preview-note,
  .quote-preview-bank,
  .quote-customer-preview footer {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
}
