:root {
            --royal: #1E3A8A;
            --royal-700: #1D4ED8;
            --blue-600: #2563EB;
            --blue-500: #3B82F6;
            --blue-400: #60A5FA;
            --blue-300: #93C5FD;
            --blue-200: #BFDBFE;
            --blue-100: #DBEAFE;
            --blue-50: #EFF6FF;
            --sky: #0EA5E9;
            --sky-light: #38BDF8;
            --cyan: #06B6D4;
            --gold: #F59E0B;
            --gold-light: #FBBF24;
            --emerald: #10B981;
            --purple: #7C3AED;
            --purple-light: #A78BFA;
            --rose: #F43F5E;
            --white: #FFFFFF;
            --gray-50: #F8FAFC;
            --gray-100: #F1F5F9;
            --gray-200: #E2E8F0;
            --gray-300: #CBD5E1;
            --gray-400: #94A3B8;
            --gray-500: #64748B;
            --gray-600: #475569;
            --gray-700: #334155;
            --gray-800: #1E293B;
            --gray-900: #0F172A;
            --glass: rgba(255, 255, 255, 0.65);
            --glass-border: rgba(255, 255, 255, 0.8);
            --glass-strong: rgba(255, 255, 255, 0.85);
            --glass-hover: rgba(255, 255, 255, 0.92);
            --glass-shadow: rgba(30, 58, 138, 0.08);
            --font-display: var(--tb1-font-display, 'Noto Sans Thai Looped', sans-serif);
            --font-body: var(--tb1-font-body, 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif);
            --font-num: var(--tb1-font-body, 'Sarabun', sans-serif);
            --max-w: 1400px;
            --content-w: 960px;
            --ease: cubic-bezier(.4, 0, .2, 1);
            --spring: cubic-bezier(.16, 1, .3, 1);
        }

        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            background: linear-gradient(180deg, var(--blue-50) 0%, #f0f9ff 30%, var(--white) 60%, var(--blue-50) 100%);
            color: var(--gray-800);
            min-height: 100vh;
            overflow-x: hidden;
            font-size: 15px;
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
        }

        /* ═══ ATMOSPHERE ═══ */
        .atmosphere {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .atmosphere .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            animation: orbFloat 20s ease-in-out infinite;
        }

        .atmosphere .orb-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(37, 99, 235, .12), transparent 70%);
            top: -200px;
            left: -100px;
        }

        .atmosphere .orb-2 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(14, 165, 233, .10), transparent 70%);
            top: 30%;
            right: -150px;
            animation-delay: -7s;
            animation-duration: 25s;
        }

        .atmosphere .orb-3 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(124, 58, 237, .08), transparent 70%);
            bottom: 10%;
            left: 20%;
            animation-delay: -14s;
            animation-duration: 22s;
        }

        @keyframes orbFloat {

            0%,
            100% {
                transform: translate(0, 0) scale(1)
            }

            25% {
                transform: translate(40px, -30px) scale(1.05)
            }

            50% {
                transform: translate(-20px, 20px) scale(.95)
            }

            75% {
                transform: translate(30px, 40px) scale(1.03)
            }
        }

        .grid-overlay {
            position: fixed;
            inset: 0;
            background-image: linear-gradient(rgba(37, 99, 235, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .03) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
            z-index: 0;
        }

        #particles-canvas {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
        }

        .cursor-glow {
            position: fixed;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(37, 99, 235, .04), transparent 70%);
            pointer-events: none;
            z-index: 0;
            transform: translate(-50%, -50%);
            transition: opacity .3s ease;
            opacity: 0;
        }

        .cursor-glow.active {
            opacity: 1;
        }

        /* ═══ PAGE WRAP ═══ */
        .page-wrap {
            position: relative;
            z-index: 1;
        }

        /* ═══ HERO ═══ */
        .hero {
            text-align: center;
            padding: 44px 24px 10px;
            position: relative;
        }

        .hero-ring {
            position: absolute;
            border-radius: 50%;
            border: 1px solid rgba(37, 99, 235, .06);
            animation: ringExpand 8s ease-in-out infinite;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        .hero-ring:nth-child(1) {
            width: 200px;
            height: 200px;
        }

        .hero-ring:nth-child(2) {
            width: 320px;
            height: 320px;
            animation-delay: -2s;
        }

        .hero-ring:nth-child(3) {
            width: 440px;
            height: 440px;
            animation-delay: -4s;
        }

        @keyframes ringExpand {

            0%,
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: .4
            }

            50% {
                transform: translate(-50%, -50%) scale(1.08);
                opacity: .1
            }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 9px 22px;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 18px;
            position: relative;
            background: linear-gradient(135deg, rgba(245, 158, 11, .08), rgba(251, 191, 36, .08));
            border: 1px solid rgba(245, 158, 11, .2);
            opacity: 0;
            animation: fadeSlideUp .8s var(--spring) .2s forwards;
        }

        .hero-badge i {
            color: var(--gold);
            font-size: 13px;
            animation: crownShine 3s ease-in-out infinite;
        }

        @keyframes crownShine {

            0%,
            100% {
                filter: drop-shadow(0 0 4px rgba(245, 158, 11, .3))
            }

            50% {
                filter: drop-shadow(0 0 12px rgba(245, 158, 11, .6))
            }
        }

        .hero-badge span {
            background: linear-gradient(135deg, var(--gold), #B45309);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 600;
        }

        .hero h1 {
            font-family: var(--font-display);
            font-size: clamp(1.4rem, 4vw, 2rem);
            font-weight: 700;
            line-height: 1.35;
            margin-bottom: 8px;
            opacity: 0;
            animation: fadeSlideUp .8s var(--spring) .4s forwards;
        }

        .hero h1 .line-1 {
            display: block;
            color: var(--gray-800);
        }

        .hero h1 .line-2 {
            display: block;
            background: linear-gradient(135deg, var(--royal), var(--blue-600), var(--sky));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            background-size: 200% auto;
            animation: gradientShift 4s ease-in-out infinite;
        }

        @keyframes gradientShift {

            0%,
            100% {
                background-position: 0% center
            }

            50% {
                background-position: 100% center
            }
        }

        .hero-sub {
            font-size: 14px;
            color: var(--gray-400);
            font-weight: 300;
            opacity: 0;
            animation: fadeSlideUp .8s var(--spring) .6s forwards;
        }

        .hero-sub strong {
            color: var(--blue-600);
            font-weight: 600;
        }

        @keyframes fadeSlideUp {
            from {
                opacity: 0;
                transform: translateY(24px)
            }

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

        /* ═══ MAIN ═══ */
        .main-area {
            max-width: var(--content-w);
            margin: 0 auto;
            padding: 28px 24px 60px;
        }

        /* ═══ GLASS CARDS ═══ */
        .gc {
            background: var(--glass-strong);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 4px 24px var(--glass-shadow);
            margin-bottom: 20px;
            overflow: hidden;
            transition: all .4s var(--spring);
        }

        .gc:hover {
            background: var(--glass-hover);
            box-shadow: 0 8px 40px rgba(30, 58, 138, .10);
            border-color: var(--blue-200);
        }

        .gc-head {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 18px 26px;
            border-bottom: 1px solid rgba(226, 232, 240, .6);
        }

        .gc-icon {
            width: 38px;
            height: 38px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            color: var(--white);
            flex-shrink: 0;
            transition: transform .4s ease;
        }

        .gc:hover .gc-icon {
            transform: scale(1.08) rotate(-3deg);
        }

        .gc-icon.blue {
            background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
            box-shadow: 0 4px 16px rgba(37, 99, 235, .2);
        }

        .gc-icon.teal {
            background: linear-gradient(135deg, var(--emerald), #34D399);
            box-shadow: 0 4px 16px rgba(16, 185, 129, .2);
        }

        .gc-icon.amber {
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            box-shadow: 0 4px 16px rgba(245, 158, 11, .2);
        }

        .gc-icon.purple {
            background: linear-gradient(135deg, var(--purple), var(--purple-light));
            box-shadow: 0 4px 16px rgba(124, 58, 237, .2);
        }

        .gc-icon.sky {
            background: linear-gradient(135deg, var(--sky), var(--sky-light));
            box-shadow: 0 4px 16px rgba(14, 165, 233, .2);
        }

        .gc-title {
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 600;
            color: var(--gray-700);
        }

        .gc-body {
            padding: 26px;
        }

        /* ═══ SEARCH FORM ═══ */
        .search-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr auto;
            gap: 16px;
            align-items: end;
        }

        .fl {
            display: block;
            font-size: 12.5px;
            font-weight: 600;
            color: var(--gray-600);
            margin-bottom: 6px;
        }

        .fl.req::after {
            content: ' *';
            color: var(--rose);
            font-weight: 700;
        }

        .fl i {
            color: var(--sky);
            margin-right: 4px;
            font-size: 11px;
        }

        .fi {
            width: 100%;
            padding: 11px 15px;
            font-size: 14.5px;
            font-family: var(--font-body);
            color: var(--gray-800);
            background: var(--white);
            border: 1.5px solid var(--gray-200);
            border-radius: 12px;
            transition: all .25s var(--spring);
            appearance: none;
        }

        .fi:hover {
            border-color: var(--gray-300);
        }

        .fi:focus {
            outline: none;
            border-color: var(--blue-400);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, .08);
        }

        .fi::placeholder {
            color: var(--gray-300);
        }

        .fhint {
            font-size: 11px;
            color: var(--gray-400);
            margin-top: 4px;
        }

        /* ═══ BUTTONS ═══ */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            border-radius: 14px;
            font-size: 14.5px;
            font-weight: 600;
            font-family: var(--font-body);
            cursor: pointer;
            border: none;
            transition: all .4s var(--spring);
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
            transition: left .6s ease;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn i {
            font-size: 13px;
            transition: transform .3s ease;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--blue-600), var(--royal));
            color: var(--white);
            box-shadow: 0 4px 20px rgba(37, 99, 235, .25);
        }

        .btn-primary:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 12px 40px rgba(37, 99, 235, .35);
        }

        .btn-secondary {
            background: var(--glass);
            color: var(--gray-600);
            border: 1.5px solid var(--gray-200);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: var(--white);
            color: var(--blue-600);
            border-color: var(--blue-300);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(37, 99, 235, .1);
        }

        .btn-sm {
            padding: 8px 18px;
            border-radius: 10px;
            font-size: 13px;
        }

        /* ═══ ALERTS ═══ */
        .alert {
            padding: 12px 18px;
            border-radius: 14px;
            margin-bottom: 16px;
            display: none;
            align-items: center;
            gap: 10px;
            font-size: 13.5px;
            backdrop-filter: blur(8px);
        }

        .alert.show {
            display: flex;
            animation: fadeSlideUp .4s var(--spring);
        }

        .alert-success {
            background: rgba(16, 185, 129, .06);
            color: #166534;
            border: 1px solid rgba(16, 185, 129, .2);
        }

        .alert-error {
            background: rgba(244, 63, 94, .06);
            color: #dc2626;
            border: 1px solid rgba(244, 63, 94, .2);
        }

        /* ═══ RESULT SECTION ═══ */
        .result-section {
            display: none;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid var(--gray-200);
        }

        .result-section.show {
            display: block;
            animation: stepIn .5s var(--spring);
        }

        @keyframes stepIn {
            from {
                opacity: 0;
                transform: translateY(16px)
            }

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

        .sect-head {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 16px;
        }

        .sect-head i {
            color: var(--blue-500);
            font-size: 14px;
        }

        /* ═══ INFO GRID ═══ */
        .info-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            margin-bottom: 18px;
        }

        .info-item {
            background: rgba(248, 250, 252, .6);
            padding: 14px 16px;
            border-radius: 14px;
            border: 1px solid var(--gray-200);
            transition: all .3s var(--ease);
        }

        .info-item:hover {
            background: rgba(239, 246, 255, .5);
            border-color: var(--blue-200);
        }

        .info-label {
            font-size: 10.5px;
            color: var(--gray-400);
            text-transform: uppercase;
            letter-spacing: .5px;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
            font-weight: 600;
        }

        .info-label i {
            font-size: 9px;
        }

        .info-value {
            font-weight: 700;
            font-size: 14px;
            color: var(--gray-800);
        }

        .info-value.mono {
            font-family: var(--font-num);
            color: var(--blue-600);
            letter-spacing: .5px;
        }

        /* Badge */
        .badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
        }

        .badge-success {
            background: rgba(16, 185, 129, .08);
            color: var(--emerald);
            border: 1px solid rgba(16, 185, 129, .15);
        }

        .badge-warning {
            background: rgba(245, 158, 11, .08);
            color: var(--gold);
            border: 1px solid rgba(245, 158, 11, .15);
        }

        .badge-error {
            background: rgba(244, 63, 94, .08);
            color: var(--rose);
            border: 1px solid rgba(244, 63, 94, .15);
        }

        /* ═══ PROGRAM SECTION ═══ */
        .prog-sec {
            background: linear-gradient(135deg, rgba(16, 185, 129, .04), rgba(14, 165, 233, .03));
            border: 1px solid rgba(16, 185, 129, .15);
            border-radius: 14px;
            padding: 16px 20px;
            margin-bottom: 18px;
            display: none;
        }

        .prog-sec.show {
            display: block;
        }

        .prog-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .prog-item {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .prog-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: white;
        }

        .prog-icon.green {
            background: linear-gradient(135deg, var(--emerald), #14b8a6);
            box-shadow: 0 4px 12px rgba(16, 185, 129, .2);
        }

        .prog-icon.pink {
            background: linear-gradient(135deg, #ec4899, #f472b6);
            box-shadow: 0 4px 12px rgba(236, 72, 153, .2);
        }

        .prog-label {
            font-size: 10px;
            color: var(--gray-400);
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: .5px;
        }

        .prog-value {
            font-size: 14px;
            font-weight: 700;
            color: var(--gray-800);
        }

        /* ═══ NOTE BOX ═══ */
        .note-box {
            background: linear-gradient(135deg, rgba(245, 158, 11, .04), rgba(251, 191, 36, .02));
            border: 1px solid rgba(245, 158, 11, .15);
            border-radius: 14px;
            padding: 14px 18px;
            margin-bottom: 18px;
            display: none;
            font-size: 13px;
        }

        .note-box.show {
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

        .note-box i {
            color: var(--gold);
            margin-top: 2px;
            font-size: 14px;
        }

        .note-box strong {
            color: #92400e;
        }

        .note-box span {
            color: #78350f;
        }

        /* ═══ TIMELINE ═══ */
        .timeline {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 14px;
            margin-bottom: 20px;
        }

        .tl-item {
            background: var(--glass);
            border: 1.5px solid var(--glass-border);
            border-radius: 16px;
            padding: 18px 14px;
            text-align: center;
            backdrop-filter: blur(8px);
            transition: all .3s var(--ease);
        }

        .tl-item:hover {
            background: var(--glass-hover);
        }

        .tl-item.done {
            border-color: rgba(16, 185, 129, .3);
            background: rgba(16, 185, 129, .03);
        }

        .tl-item.active {
            border-color: rgba(245, 158, 11, .3);
            background: rgba(245, 158, 11, .03);
        }

        .tl-item.error {
            border-color: rgba(244, 63, 94, .3);
            background: rgba(244, 63, 94, .03);
        }

        .tl-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            font-size: 14px;
            background: var(--gray-100);
            border: 2px solid var(--gray-200);
            color: var(--gray-400);
            transition: all .3s;
        }

        .tl-item.done .tl-icon {
            background: linear-gradient(135deg, var(--emerald), #34D399);
            border-color: transparent;
            color: white;
            box-shadow: 0 4px 12px rgba(16, 185, 129, .2);
        }

        .tl-item.active .tl-icon {
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            border-color: transparent;
            color: white;
            box-shadow: 0 4px 12px rgba(245, 158, 11, .2);
            animation: tlPulse 2s infinite;
        }

        .tl-item.error .tl-icon {
            background: linear-gradient(135deg, var(--rose), #FB7185);
            border-color: transparent;
            color: white;
            box-shadow: 0 4px 12px rgba(244, 63, 94, .2);
        }

        @keyframes tlPulse {

            0%,
            100% {
                box-shadow: 0 4px 12px rgba(245, 158, 11, .2)
            }

            50% {
                box-shadow: 0 0 0 8px rgba(245, 158, 11, 0)
            }
        }

        .tl-title {
            font-family: var(--font-display);
            font-size: 13px;
            font-weight: 600;
            color: var(--gray-700);
            margin-bottom: 3px;
        }

        .tl-desc {
            font-size: 11.5px;
            color: var(--gray-400);
        }

        .tl-date {
            font-family: var(--font-num);
            font-size: 11px;
            color: var(--gray-300);
            margin-top: 6px;
        }

        /* ═══ ACTION ROW ═══ */
        .action-row {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        /* ═══ UPLOAD SECTION ═══ */
        .upload-sec {
            display: none;
            margin-top: 24px;
            padding-top: 24px;
            border-top: 2px dashed rgba(251, 191, 36, .4);
        }

        .upload-sec.show {
            display: block;
            animation: stepIn .5s var(--spring);
        }

        .upload-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .upload-icon {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 17px;
            box-shadow: 0 4px 16px rgba(245, 158, 11, .2);
        }

        .upload-title {
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 700;
            color: #92400e;
        }

        .upload-subtitle {
            font-size: 12px;
            color: #b45309;
        }

        .upload-zone {
            border: 2px dashed var(--blue-200);
            border-radius: 16px;
            padding: 28px 20px;
            text-align: center;
            background: rgba(239, 246, 255, .3);
            cursor: pointer;
            transition: all .3s var(--ease);
            margin-bottom: 14px;
        }

        .upload-zone:hover {
            border-color: var(--blue-400);
            background: rgba(239, 246, 255, .5);
        }

        .upload-zone .uz-icon {
            font-size: 32px;
            color: var(--blue-300);
            margin-bottom: 8px;
            transition: all .3s;
        }

        .upload-zone:hover .uz-icon {
            color: var(--blue-500);
            transform: translateY(-3px);
        }

        .upload-zone p {
            font-size: 13.5px;
            color: var(--gray-600);
            font-weight: 500;
        }

        .upload-zone small {
            font-size: 12px;
            color: var(--gray-400);
        }

        .file-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 14px;
        }

        .file-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            background: rgba(248, 250, 252, .6);
            border: 1px solid var(--gray-200);
            border-radius: 10px;
            font-size: 13px;
        }

        .file-item i {
            color: var(--blue-500);
        }

        .file-item span {
            flex: 1;
            color: var(--gray-700);
            font-weight: 500;
        }

        .file-item button {
            background: none;
            border: none;
            color: var(--rose);
            cursor: pointer;
            padding: 4px;
            font-size: 13px;
        }

        .btn-upload {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            color: white;
            border: none;
            border-radius: 14px;
            font-size: 14px;
            font-weight: 600;
            font-family: var(--font-body);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 16px rgba(245, 158, 11, .2);
            transition: all .3s var(--spring);
        }

        .btn-upload:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(245, 158, 11, .3);
        }

        .btn-upload:disabled {
            opacity: .5;
            cursor: not-allowed;
            transform: none;
        }

        .upload-ok {
            display: none;
            padding: 24px;
            background: rgba(16, 185, 129, .04);
            border: 1px solid rgba(16, 185, 129, .15);
            border-radius: 16px;
            text-align: center;
        }

        .upload-ok.show {
            display: block;
            animation: stepIn .5s var(--spring);
        }

        .upload-ok i {
            font-size: 32px;
            color: var(--emerald);
            margin-bottom: 8px;
        }

        .upload-ok h4 {
            font-family: var(--font-display);
            color: #166534;
            font-size: 16px;
            margin-bottom: 4px;
        }

        .upload-ok p {
            color: #15803d;
            font-size: 13px;
        }

        /* ═══ CONTACT FOOTER ═══ */
        .contact-foot {
            text-align: center;
            padding: 20px 24px 30px;
            font-size: 13px;
            color: var(--gray-400);
        }

        .contact-foot a {
            color: var(--blue-500);
            text-decoration: none;
            font-weight: 600;
            transition: color .2s;
        }

        .contact-foot a:hover {
            color: var(--blue-600);
        }

        /* ═══ LOADING ═══ */
        .loading-overlay {
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, .85);
            backdrop-filter: blur(8px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .loading-overlay.show {
            display: flex;
        }

        .ld-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid var(--gray-200);
            border-top-color: var(--blue-500);
            border-radius: 50%;
            animation: spin .8s linear infinite;
        }

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

        /* ═══ RESPONSIVE ═══ */
        @media(max-width:1024px) {
            .info-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .timeline {
                grid-template-columns: 1fr;
            }
        }

        @media(max-width:768px) {
            .search-row {
                grid-template-columns: 1fr;
            }

            .info-grid {
                grid-template-columns: 1fr;
            }

            .prog-grid {
                grid-template-columns: 1fr;
            }

            .hero {
                padding: 30px 20px 10px;
            }

            .hero .hero-ring {
                display: none;
            }

            .main-area {
                padding: 20px 16px 50px;
            }

            .gc-body {
                padding: 20px 18px;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }
        }

        @media(prefers-reduced-motion:reduce) {

            *,
            *::before,
            *::after {
                animation-duration: 0s !important;
                transition-duration: 0s !important;
            }
        }

        @media print {

            .atmosphere,
            .grid-overlay,
            #particles-canvas,
            .cursor-glow,
            .hero,
            .search-row,
            .action-row,
            .upload-sec,
            .contact-foot {
                display: none !important;
            }

            .result-section {
                display: block !important;
                margin-top: 0;
                padding-top: 0;
                border: none;
            }
        }
