        :root {
            --text-title: #1e293b;
            --text-body: #475569;
            --text-soft: #64748b;
            --color-navy: #1e3a8a;
            --color-teal: #0f7385;
            --bg-teal: #e2f1f4;
            --radius-ipad: 32px;
            --radius-inner: 16px;
            --glass-card-bg: rgba(255, 255, 255, 0.55);
            --glass-card-border: rgba(255, 255, 255, 0.8);
            --glass-inner-bg: rgba(255, 255, 255, 0.75);
            --shadow-glass: 0 8px 32px rgba(30, 41, 59, 0.04);
            --shadow-inner: 0 4px 16px rgba(30, 41, 59, 0.03);
        }

        * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

        body {
            font-family: 'Anuphan', sans-serif;
            margin: 0;
            color: var(--text-body);
            padding-bottom: 80px;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            background-color: #f8fafc;
            background-image:
                radial-gradient(at 10% 10%, rgba(224, 231, 255, 0.6) 0px, transparent 50%),
                radial-gradient(at 90% 10%, rgba(255, 237, 213, 0.6) 0px, transparent 50%),
                radial-gradient(at 50% 90%, rgba(224, 231, 255, 0.5) 0px, transparent 50%);
            background-attachment: fixed;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
        }

        .section-header {
            text-align: center;
            padding: 24px 0 32px 0;
        }

        .section-header h1 {
            font-family: 'Anuphan', sans-serif;
            font-size: 1.96rem;
            color: var(--text-title);
            margin: 0 0 10px 0;
            font-weight: 490;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }

        .badge-header {
            font-family: 'Anuphan', sans-serif;
            display: inline-block;
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
            color: #0369a1;
            padding: 6px 18px;
            border-radius: 22px;
            font-weight: 600;
            font-size: 0.8rem;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
            margin-top: 2px;
        }

        .bento-card {
            border-radius: var(--radius-ipad);
            padding: 26px;
            box-shadow: var(--shadow-glass);
            position: relative;
            margin-bottom: 40px;
            width: 100%;
            background: var(--glass-card-bg);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid var(--glass-card-border);
        }

        .academic-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 14px;
        }

        .academic-summary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.78);
            border: 1px solid rgba(255,255,255,0.88);
            box-shadow: 0 4px 16px rgba(30, 41, 59, 0.04);
            color: var(--text-body);
            font-size: 0.88rem;
            font-weight: 500;
        }

        .academic-search {
            position: relative;
            width: min(100%, 360px);
        }

        .academic-search input {
            width: 100%;
            height: 48px;
            padding: 0 44px 0 46px;
            border: 1px solid rgba(255,255,255,0.92);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.84);
            box-shadow: 0 6px 20px rgba(30, 41, 59, 0.04);
            color: var(--text-title);
            font-family: 'Anuphan', sans-serif;
            font-size: 0.95rem;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .academic-search input:focus {
            background: rgba(255, 255, 255, 0.96);
            border-color: rgba(15, 115, 133, 0.2);
            box-shadow: 0 10px 24px rgba(15, 115, 133, 0.08);
        }

        .academic-search input::placeholder { color: #94a3b8; }

        .academic-search-icon,
        .academic-search-clear {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
        }

        .academic-search-icon {
            left: 16px;
            pointer-events: none;
        }

        .academic-search-clear {
            right: 12px;
            width: 24px;
            height: 24px;
            border: 0;
            padding: 0;
            border-radius: 999px;
            background: transparent;
            cursor: pointer;
            display: none;
        }

        .academic-search-clear:hover {
            color: var(--text-title);
            background: rgba(148, 163, 184, 0.12);
        }

        .academic-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            width: 100%;
        }

        .academic-item {
            background: var(--glass-inner-bg);
            border-radius: var(--radius-inner);
            padding: 10px 14px;
            border: 1px solid rgba(255,255,255,0.9);
            box-shadow: var(--shadow-inner);
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
            text-decoration: none;
            width: 100%;
            min-width: 0;
            overflow: hidden;
        }

        .academic-item:hover {
            background: rgba(255, 255, 255, 0.95);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(15, 115, 133, 0.08);
            border-color: rgba(255,255,255,1);
        }

        .academic-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: #aaeaf5;
            color: var(--color-teal);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .academic-item:hover .academic-icon {
            transform: scale(1.08) rotate(-6deg);
            background: var(--color-teal);
            color: #ffffff;
        }

        .academic-content {
            flex: 1;
            min-width: 0;
            overflow: hidden;
        }

        .academic-title {
            font-size: 0.86rem;
            color: var(--text-title);
            line-height: 1.34;
            margin: 0;
            font-weight: 420;
            transition: color 0.3s ease;
            white-space: normal;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
        }

        .academic-item:hover .academic-title { color: var(--color-teal); }

        .academic-meta {
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
            min-width: 0;
        }

        .academic-link-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            max-width: 100%;
            min-width: 0;
            padding: 4px 9px;
            border-radius: 999px;
            background: rgba(241, 245, 249, 0.92);
            color: var(--text-soft);
            font-size: 0.74rem;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .academic-year-wrap {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            margin-left: auto;
            padding-left: 10px;
        }

        .academic-year {
            background: #f1f5f9;
            color: #64748b;
            padding: 4px 11px;
            border-radius: 16px;
            font-size: 0.8rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .academic-item:hover .academic-year {
            background: var(--color-teal);
            color: #ffffff;
            box-shadow: 0 4px 10px rgba(15, 115, 133, 0.25);
        }

        .academic-year-arrow {
            color: #7a94a3;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.25s ease, color 0.25s ease;
        }

        .academic-item:hover .academic-year-arrow {
            color: var(--color-teal);
            transform: translateX(3px);
        }

        .academic-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 54px 20px;
            text-align: center;
            color: var(--text-soft);
        }

        .academic-empty-icon {
            width: 58px;
            height: 58px;
            border-radius: 18px;
            background: rgba(255,255,255,0.72);
            border: 1px solid rgba(255,255,255,0.9);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--color-teal);
            box-shadow: var(--shadow-inner);
        }

        .academic-empty-title {
            margin: 0;
            color: var(--text-title);
            font-size: 1rem;
            font-weight: 600;
        }

        .academic-empty-subtitle {
            margin: 0;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        @media (max-width: 1024px) {
            .bento-card { padding: 24px; }
            .section-header h1 { font-size: 1.7rem; }
        }

        @media (max-width: 768px) {
            .academic-toolbar { align-items: stretch; }
            .academic-search { width: 100%; }
            .academic-item { padding: 10px 12px; gap: 12px; }
            .academic-title { font-size: 0.82rem; }
            .academic-year-wrap { gap: 6px; padding-left: 6px; }
            .academic-year { font-size: 0.76rem; padding: 4px 10px; }
        }

        @media (max-width: 620px) {
            .bento-card { padding: 20px; }
            .academic-item {
                align-items: flex-start;
            }
            .academic-year-wrap {
                align-self: center;
            }
        }