/* Self-hosted Barlow Condensed font — no external CDN dependency */
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../assets/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow Condensed';
    src: url('../assets/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Tailwind CSS Reset and Utility Classes */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: ui-sans-serif,system-ui,-apple-system,sans-serif; }
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
h1,h2,h3,h4,h5,h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp, pre { font-family: ui-monospace,monospace; 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; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] { -webkit-appearance: button; appearance: button; background-color: transparent; background-image: none; }
:-moz-focusring { outline: auto; }
:-moz-ui-invalid { box-shadow: none; }
progress { vertical-align: baseline; }
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
[type='search'] { -webkit-appearance: textfield; appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
button, [role="button"] { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none; }

.-right-2 { right: -0.5rem; }
.-rotate-90 { transform: rotate(-90deg); }
.-top-2\.5 { top: -0.625rem; }
.absolute { position: absolute; }
.align-top { vertical-align: top; }
.animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.bg-\[\#004B8D\] { background-color: #004B8D; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-blue-900 { background-color: #1e3a8a; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-50\/50 { background-color: rgba(249,250,251,0.5); }
.bg-gray-800 { background-color: #1f2937; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-indigo-50 { background-color: #eef2ff; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-yellow-100 { background-color: #fef9c3; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-50\/50 { background-color: rgba(255,247,237,0.5); }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-50 { background-color: #fef2f2; }
.bg-red-600 { background-color: #dc2626; }
.bg-sky-100\/50 { background-color: rgba(224,242,254,0.5); }
.bg-sky-50 { background-color: #f0f9ff; }
.bg-sky-600 { background-color: #0284c7; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-800 { background-color: #1e293b; }
.bg-teal-100 { background-color: #ccfbf1; }
.bg-teal-50 { background-color: #f0fdfa; }
.bg-white { background-color: #ffffff; }
.block { display: block; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-\[\#004B8D\] { border-color: #004B8D; }
.border-\[\#E31837\] { border-color: #E31837; }
.border-amber-200 { border-color: #fde68a; }
.border-b { border-bottom-width: 1px; }
.border-blue-100 { border-color: #dbeafe; }
.border-blue-200 { border-color: #bfdbfe; }
.border-blue-400 { border-color: #60a5fa; }
.border-blue-500 { border-color: #3b82f6; }
.border-blue-600 { border-color: #2563eb; }
.border-collapse { border-collapse: collapse; }
.border-dashed { border-style: dashed; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-500 { border-color: #6b7280; }
.border-gray-700 { border-color: #374151; }
.border-green-100 { border-color: #dcfce7; }
.border-green-500 { border-color: #22c55e; }
.border-indigo-600 { border-color: #4f46e5; }
.border-l-2 { border-left-width: 2px; }
.border-l-4 { border-left-width: 4px; }
.border-l-blue-500 { border-left-color: #3b82f6; }
.border-l-green-500 { border-left-color: #22c55e; }
.border-l-orange-500 { border-left-color: #f97316; }
.border-l-yellow-500 { border-left-color: #eab308; }
.border-l-purple-500 { border-left-color: #a855f7; }
.border-l-teal-500 { border-left-color: #14b8a6; }
.border-orange-400 { border-color: #fb923c; }
.border-orange-500 { border-color: #f97316; }
.border-r { border-right-width: 1px; }
.border-red-100 { border-color: #fee2e2; }
.border-red-200 { border-color: #fecaca; }
.border-sky-100 { border-color: #e0f2fe; }
.border-sky-200 { border-color: #bae6fd; }
.border-sky-600 { border-color: #0284c7; }
.border-t { border-top-width: 1px; }
.border-t-2 { border-top-width: 2px; }
.border-t-4 { border-top-width: 4px; }
.border-t-8 { border-top-width: 8px; }
.border-t-\[\#004B8D\] { border-top-color: #004B8D; }
.border-teal-100 { border-color: #ccfbf1; }
.border-x { border-left-width: 1px; border-right-width: 1px; }
.cursor-pointer { cursor: pointer; }
.decoration-2 { text-decoration-thickness: 2px; }
.decoration-sky-500 { text-decoration-color: #0ea5e9; }

.flex { display: flex; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.font-semibold { font-weight: 600; }
.from-\[\#004B8D\] { --tw-gradient-from: #004B8D; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-4 { row-gap: 1rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.group:hover .group-hover\:bg-blue-200 { background-color: #bfdbfe; }
.group:hover .group-hover\:bg-green-200 { background-color: #bbf7d0; }
.group:hover .group-hover\:bg-orange-200 { background-color: #fed7aa; }
.group:hover .group-hover\:bg-yellow-200 { background-color: #fef08a; }
.group:hover .group-hover\:bg-purple-200 { background-color: #e9d5ff; }
.group:hover .group-hover\:bg-teal-200 { background-color: #99f6e4; }
.group:hover .group-hover\:opacity-20 { opacity: 0.2; }
.group:hover .group-hover\:text-blue-500 { color: #3b82f6; }
.group:hover .group-hover\:text-blue-600 { color: #2563eb; }
.group:hover .group-hover\:text-blue-700 { color: #1d4ed8; }
.group:hover .group-hover\:text-green-500 { color: #22c55e; }
.group:hover .group-hover\:text-green-700 { color: #15803d; }
.group:hover .group-hover\:text-orange-500 { color: #f97316; }
.group:hover .group-hover\:text-orange-600 { color: #ea580c; }
.group:hover .group-hover\:text-orange-700 { color: #c2410c; }
.group:hover .group-hover\:text-yellow-500 { color: #eab308; }
.group:hover .group-hover\:text-yellow-700 { color: #a16207; }
.group:hover .group-hover\:text-purple-500 { color: #a855f7; }
.group:hover .group-hover\:text-purple-700 { color: #7e22ce; }
.group:hover .group-hover\:text-teal-500 { color: #14b8a6; }
.group:hover .group-hover\:text-teal-700 { color: #0f766e; }
.group:hover .group-hover\:text-white { color: #ffffff; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-40 { height: 10rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-screen { height: 100vh; }
.hidden { display: none; }
.hover\:bg-blue-50:hover { background-color: #eff6ff; }
.hover\:bg-blue-800:hover { background-color: #1e40af; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-purple-50:hover { background-color: #faf5ff; }
.hover\:bg-red-50:hover { background-color: #fef2f2; }
.hover\:border-blue-300:hover { border-color: #93c5fd; }
.hover\:border-green-300:hover { border-color: #86efac; }
.hover\:border-orange-300:hover { border-color: #fdba74; }
.hover\:border-yellow-300:hover { border-color: #fde047; }
.hover\:border-purple-300:hover { border-color: #d8b4fe; }
.hover\:border-teal-300:hover { border-color: #5eead4; }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:text-blue-700:hover { color: #1d4ed8; }
.hover\:text-blue-800:hover { color: #1e40af; }
.hover\:text-teal-700:hover { color: #0f766e; }
.inline { display: inline; }
.italic { font-style: italic; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.leading-relaxed { line-height: 1.625; }
.list-disc { list-style-type: disc; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-lg { max-width: 32rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
@media (min-width: 768px) { .md\:flex-row { flex-direction: row; } }
@media (min-width: 768px) { .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.min-h-screen { min-height: 100vh; }
.min-w-\[200px\] { min-width: 200px; }
.ml-1 { margin-left: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-12 { margin-top: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.object-contain { object-fit: contain; }
.opacity-10 { opacity: 0.1; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.p-0 { padding: 0px; }
.p-10 { padding: 2.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pl-4 { padding-left: 1rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-6 { padding-left: 1.5rem; }
.pointer-events-none { pointer-events: none; }
.pt-4 { padding-top: 1rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.relative { position: relative; }
.right-0 { right: 0px; }
.right-4 { right: 1rem; }
.right-\[-20px\] { right: -20px; }
.rounded { border-radius: 0.25rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-bl-lg { border-bottom-left-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-r-md { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }
.rounded-r-xl { border-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }
.rounded-xl { border-radius: 0.75rem; }
.scroll-smooth { scroll-behavior: smooth; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shrink-0 { flex-shrink: 0; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.text-\[\#002e6d\] { color: #002e6d; }
.text-\[\#004B8D\] { color: #004B8D; }
.text-\[\#006064\] { color: #006064; }
.text-\[\#CC0000\] { color: #CC0000; }
.text-\[\#E31837\] { color: #E31837; }
.text-\[10px\] { font-size: 10px; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-blue-100 { color: #dbeafe; }
.text-blue-200 { color: #bfdbfe; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-800 { color: #1e40af; }
.text-blue-900 { color: #1e3a8a; }
.text-center { text-align: center; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-green-800 { color: #166534; }
.text-green-900 { color: #14532d; }
.text-indigo-700 { color: #4338ca; }
.text-indigo-800 { color: #3730a3; }
.text-left { text-align: left; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-orange-500 { color: #f97316; }
.text-orange-600 { color: #ea580c; }
.text-orange-700 { color: #c2410c; }
.text-yellow-600 { color: #ca8a04; }
.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7e22ce; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-red-800 { color: #991b1b; }
.text-right { text-align: right; }
.text-sky-700 { color: #0369a1; }
.text-sky-800 { color: #075985; }
.text-sky-900 { color: #0c4a6e; }
.text-slate-800 { color: #1e293b; }
.text-sm { font-size: 0.875rem; line-height: 1.rem; }
.text-teal-600 { color: #0d9488; }
.text-teal-700 { color: #0f766e; }
.text-teal-900 { color: #134e4a; }
.text-white { color: #ffffff; }
.text-xl { font-size: 1.25rem; line-height: 2rem; }
.text-xs { font-size: 0.75rem; line-height: 1.rem; }
.to-\[\#00386b\] { --tw-gradient-to: #00386b; }
.top-0 { top: 0px; }
.top-4 { top: 1rem; }
.top-\[-20px\] { top: -20px; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.transition { transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.underline { text-decoration-line: underline; }
.uppercase { text-transform: uppercase; }
.w-1\/2 { width: 50.0%; }
.w-1\/3 { width: 33.333333%; }
.w-1\/4 { width: 25.0%; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-3 { width: 0.75rem; }
.w-32 { width: 8rem; }
.w-4 { width: 1rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-64 { width: 16rem; }
.w-8 { width: 2rem; }
.w-80 { width: 20rem; }
.w-full { width: 100%; }
.whitespace-nowrap { white-space: nowrap; }
.z-10 { z-index: 10; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

.divide-y > * + * { border-top-width: 1px; }
.divide-sky-100 > * + * { border-color: #e0f2fe; }
.divide-gray-100 > * + * { border-color: #f3f4f6; }
.divide-gray-200 > * + * { border-color: #e5e7eb; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .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); } }

.routes-active-btn {
    background-color: #004B8D !important;
    color: white !important;
    border-color: #004B8D !important;
}
.routes-row { cursor: default; }

/* Custom Styles */
        :root {
            --ritchies-blue: #004B8D;
            --ritchies-red: #E31837;
            --slate-50: #f8fafc;
            --slate-900: #0f172a;
        }
        
        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            background-color: var(--slate-50);
        }

        .sidebar-link {
            transition: all 0.2s;
            border-left: 3px solid transparent;
        }
        .sidebar-link:hover, .sidebar-link.active {
            background-color: rgba(0, 75, 141, 0.1);
            border-left-color: var(--ritchies-blue);
            color: var(--ritchies-blue);
            font-weight: 600;
        }

        .pyramid-level {
            clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
            transition: transform 0.3s;
        }
        .pyramid-level:hover {
            transform: scale(1.02);
        }

        /* Animation Class */
        .section-enter {
            animation: fadeIn 0.4s ease-out forwards;
        }

        /* Print Button Styles */
        .print-button {
            position: absolute;
            top: 12px;
            right: 1rem;
            background-color: #004B8D;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            border: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: background-color 0.2s;
            z-index: 50;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .print-button:hover {
            background-color: #003a6d;
            box-shadow: 0 4px 6px rgba(0,0,0,0.15);
        }
        
        /* Add padding to sections to prevent overlap */
        section {
            padding-top: 0.5rem;
        }

        /* Print Styles */
        @media print {
            /* Hide sidebar and footer */
            aside, footer {
                display: none !important;
            }
            
            /* Make main content full width */
            main {
                width: 100% !important;
                padding: 0.5rem !important;
                margin: 0 !important;
                overflow: visible !important;
            }
            
            /* Hide print button when printing */
            .print-button {
                display: none !important;
            }
            
            /* Compact spacing for print */
            section {
                max-width: 100% !important;
                margin: 0 !important;
                padding: 0 !important;
            }
            
            h2 {
                font-size: 1.5rem !important;
                margin-bottom: 0.75rem !important;
            }
            
            h4 {
                font-size: 1.125rem !important;
                margin-bottom: 0.5rem !important;
            }
            
            .bg-white {
                padding: 0.75rem !important;
                margin-bottom: 0.5rem !important;
            }
            
            .mb-10 {
                margin-bottom: 0.75rem !important;
            }
            
            .mb-8 {
                margin-bottom: 0.5rem !important;
            }
            
            .mb-6 {
                margin-bottom: 0.5rem !important;
            }
            
            .p-10 {
                padding: 0.75rem !important;
            }
            
            .p-8 {
                padding: 0.5rem !important;
            }
            
            /* Ensure tables print properly */
            table {
                page-break-inside: auto;
            }
            
            tr {
                page-break-inside: avoid;
                page-break-after: auto;
            }
            
            /* Compact table spacing */
            table td, table th {
                padding: 0.25rem !important;
                font-size: 0.75rem !important;
            }
            
            /* Remove shadows and borders for cleaner print */
            .shadow-xl, .shadow-lg, .shadow-md, .shadow-sm {
                box-shadow: none !important;
            }
            
            /* Keep essential borders */
            .border {
                border: 1px solid #e5e7eb !important;
            }
            
            /* Ensure background colors print */
            * {
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
            }
        }

/* Additional utility classes for CC-Depot Protocol section */
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.flex-shrink-0 { flex-shrink: 0; }
.overflow-x-auto { overflow-x: auto; }
@media (min-width: 768px) { .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.mx-5 { margin-left: 1.25rem; margin-right: 1.25rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.pb-5 { padding-bottom: 1.25rem; }
.border-amber-400 { border-color: #fbbf24; }
.border-amber-500 { border-color: #f59e0b; }
.text-amber-800 { color: #92400e; }
.text-amber-900 { color: #78350f; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }
.bg-indigo-200 { background-color: #c7d2fe; }
.border-indigo-100 { border-color: #e0e7ff; }
.border-indigo-400 { border-color: #818cf8; }
.text-indigo-600 { color: #4f46e5; }
.text-indigo-800 { color: #3730a3; }
.bg-orange-200 { background-color: #fed7aa; }
.border-orange-100 { border-color: #ffedd5; }
.text-orange-800 { color: #9a3412; }
.bg-green-200 { background-color: #bbf7d0; }
.border-green-100 { border-color: #dcfce7; }
.bg-blue-200 { background-color: #bfdbfe; }
.bg-teal-50 { background-color: #f0fdfa; }
.border-teal-400 { border-color: #2dd4bf; }
.text-teal-800 { color: #115e59; }
.font-normal { font-weight: 400; }
.text-base { font-size: 1rem; line-height: 1.5rem; }

.mx-6 { margin-left: 1.5rem; margin-right: 1.5rem; }
.bg-orange-500 { background-color: #f97316; }
.bg-green-600 { background-color: #16a34a; }

/* Notification flow arrow between horizontal steps */
.flow-arrow { color: #9ca3af; display: flex; align-items: center; flex-shrink: 0; font-size: 1.25rem; }
.items-stretch { align-items: stretch; }
.self-stretch { align-self: stretch; }
.whitespace-normal { white-space: normal; }
.bg-amber-100 { background-color: #fef3c7; }
.text-amber-700 { color: #b45309; }
.border-amber-100 { border-color: #fef3c7; }

.border-transparent { border-color: transparent; }
.border-2 { border-width: 2px; }
.hover\:border-blue-400:hover { border-color: #60a5fa; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }

/* ── Collapsible Sidebar ── */
.sidebar {
    width: 16rem; /* w-64 */
    min-width: 16rem;
    transition: width 0.25s ease, min-width 0.25s ease;
    position: relative;
}

.sidebar.collapsed {
    width: 3.75rem;
    min-width: 3.75rem;
}

/* Header area */
.sidebar.collapsed .sidebar-header { display: none; }

/* Nav links: clip text, keep icons visible */
.sidebar-link { white-space: nowrap; }
.sidebar-link i,
.sidebar-link svg { flex-shrink: 0; }

.sidebar.collapsed .sidebar-link {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
    border-left-color: transparent;
}
.sidebar.collapsed .sidebar-link.active,
.sidebar.collapsed .sidebar-link:hover {
    border-left-color: transparent;
    background-color: rgba(0, 75, 141, 0.1);
    border-radius: 0.375rem;
    margin: 0 0.375rem;
}
.sidebar.collapsed .sidebar-link i,
.sidebar.collapsed .sidebar-link svg { margin-right: 0; }

/* Hide text labels inside links when collapsed */
.sidebar-link-text { transition: opacity 0.2s ease; }
.sidebar.collapsed .sidebar-link-text { display: none; }

/* Hide section group headings */
.sidebar.collapsed .sidebar-group-label { display: none; }

/* Hide footer */
.sidebar.collapsed .sidebar-footer { display: none; }

/* Collapsed nav gets some top padding since header is gone */
.sidebar.collapsed nav { padding-top: 3rem; }

/* ── Toggle Button ── */
.sidebar-toggle {
    position: absolute;
    top: 0.75rem;
    right: -16px;
    z-index: 20;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #004B8D;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}
.sidebar-toggle:hover {
    background: #003a6d;
}
.sidebar-toggle svg {
    transition: transform 0.25s ease;
}
.sidebar.collapsed .sidebar-toggle svg {
    transform: rotate(180deg);
}

@media print {
    .sidebar-toggle { display: none !important; }
}

/* ── DISRUPTION SOPs ──────────────────────────────────────────── */

/* Smooth expand/collapse transition */
.disruption-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.disruption-body.open {
    max-height: 9000px;
}

/* Expand chevron rotation */
.d-chevron { transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.disruption-body.open ~ * .d-chevron,
.d-chevron.open { transform: rotate(180deg); }

/* Interactive corridor status tiles */
.d-corridor-tile {
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    user-select: none;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #dbeafe;
    background: #f8faff;
}
.d-corridor-tile:hover { box-shadow: 0 4px 14px rgba(13,43,78,0.10); }
.d-corridor-tile.d-status-monitor  { background: #f8faff; border-color: #dbeafe; }
.d-corridor-tile.d-status-active   { background: #fff7ed; border-color: #fed7aa; }
.d-corridor-tile.d-status-cleared  { background: #f0fdf4; border-color: #86efac; }

/* Escalation levels */
.d-level {
    border-left: 4px solid transparent;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 10px;
}
.d-level-1  { background: #f8fafc; border-left-color: #94a3b8; }
.d-level-2  { background: #fffbeb; border-left-color: #d97706; }
.d-level-3  { background: #fff1f2; border-left-color: #e11d48; }
.d-level-sd { background: #f0fdf4; border-left-color: #16a34a; }

/* Radio/phone script blocks */
.d-script {
    border-radius: 8px;
    padding: 14px 16px;
    line-height: 1.75;
    margin-top: 10px;
    font-size: 0.8rem;
    font-style: italic;
    background: #0f172a;
    color: #e2e8f0;
    position: relative;
}
.d-script-label {
    display: block;
    font-style: normal;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
}

/* Exec plan section blocks */
.d-exec-section {
    padding: 22px 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
.d-exec-section:last-child { border-bottom: none; }
.d-exec-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.d-exec-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.d-exec-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

/* Role tags inside exec plan */
.d-role {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    color: white;
    display: inline-block;
}
.d-role-cc     { background: #1a3a5c; }
.d-role-depot  { background: #004B8D; }
.d-role-driver { background: #166534; }

/* Comm step rows */
.d-comm-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f8faff;
    border: 1px solid #e0eaff;
    margin-bottom: 10px;
}
.d-comm-step:last-child { margin-bottom: 0; }

/* Objective tiles */
.d-obj-tile {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.6;
}
