/* 그수다 트레이딩 웹사이트 스타일 */

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

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #0f3460;
    --highlight: #e94560;
    --text: #eee;
    --text-muted: #a7a7a7;
    --card-bg: #16213e;
}

body {
    font-family: 'Segoe UI', 'Noto Sans KR', sans-serif;
    line-height: 1.8;
    color: var(--text);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

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

/* 헤더 */
.site-header {
    background: rgba(12, 12, 28, 0.92);
    backdrop-filter: blur(18px);
    padding: 1.2rem 0;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(233, 69, 96, 0.15);
}

.nav-inner {
    display: grid;
    grid-template-columns: max-content 1fr max-content;
    align-items: center;
    gap: 2.5rem;
}

.brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
}

.brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.brand-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.6);
    margin-top: 0.4rem;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    list-style: none;
}

.nav-inline-cta {
    display: none;
}

.nav-inline-cta a {
    border: 1px solid rgba(233, 69, 96, 0.5);
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    letter-spacing: 0.2em;
    background: rgba(233, 69, 96, 0.12);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.25);
}

.primary-nav a {
    position: relative;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    padding: 0.6rem 0.9rem;
    transition: color 0.3s ease;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--highlight), transparent);
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
    color: #fff;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
    width: 80%;
}

.nav-cta {
    padding: 0.65rem 1.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    border-width: 1px;
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    width: 44px;
    height: 44px;
    background: rgba(233, 69, 96, 0.15);
    border: 1px solid rgba(233, 69, 96, 0.4);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle:hover {
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.3);
    border-color: var(--highlight);
}

/* 메인 콘텐츠 */
main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

/* Hero 섹션 */
.hero {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15) 0%, rgba(15, 52, 96, 0.15) 100%);
    border-radius: 20px;
    margin-bottom: 4rem;
    border: 2px solid var(--highlight);
    box-shadow: 0 10px 50px rgba(233, 69, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
    align-items: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(233, 69, 96, 0.2);
    border: 1px solid rgba(233, 69, 96, 0.6);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--highlight) 50%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 40px rgba(233, 69, 96, 0.5);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--highlight);
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(233, 69, 96, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(233, 69, 96, 1), 0 0 40px rgba(233, 69, 96, 0.8);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 2rem 0 0 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn.primary {
    background: linear-gradient(135deg, var(--highlight), #ff6b9d);
    color: #fff;
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(233, 69, 96, 0.6);
}

.btn.ghost {
    color: var(--text);
    border-color: rgba(233, 69, 96, 0.5);
    background: rgba(233, 69, 96, 0.08);
}

.btn.ghost:hover {
    border-color: var(--highlight);
    background: rgba(233, 69, 96, 0.15);
    transform: translateY(-3px);
}

.btn.large {
    padding: 1.1rem 2.6rem;
    font-size: 1rem;
}

.hero-highlights {
    list-style: none;
    margin-top: 2.5rem;
    display: grid;
    gap: 1rem;
    padding: 0;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.hero-highlights i {
    color: var(--highlight);
    font-size: 1.2rem;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbital {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(233, 69, 96, 0.4), rgba(15, 52, 96, 0.2), transparent 70%);
    border: 1px solid rgba(233, 69, 96, 0.3);
    box-shadow: 0 0 60px rgba(233, 69, 96, 0.25), inset 0 0 40px rgba(233, 69, 96, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(233, 69, 96, 0.3);
    animation: pulseRing 4s ease-out infinite;
}

.pulse.delayed {
    animation-delay: 1.5s;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.hero-stat-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    min-width: 160px;
    padding: 1.2rem 1.5rem;
    background: rgba(15, 52, 96, 0.85);
    border-radius: 16px;
    border: 1px solid rgba(233, 69, 96, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-stat-card.alt {
    top: -20px;
    right: -30px;
    left: auto;
    bottom: auto;
    background: rgba(233, 69, 96, 0.15);
}

.hero-stat-card strong {
    display: block;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
}

.stat-footnote {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 69, 96, 0.5);
    background: rgba(233, 69, 96, 0.12);
    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.lead {
    margin-top: 1.6rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(233, 235, 255, 0.78);
}

.about-hero {
    background: linear-gradient(135deg, rgba(33, 18, 54, 0.75) 0%, rgba(15, 52, 96, 0.45) 100%);
    border: 2px solid rgba(233, 69, 96, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: start;
}

.about-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.about-highlight {
    background: rgba(255,255,255,0.04);
    border-radius: 18px;
    padding: 1.6rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 20px rgba(233, 69, 96, 0.08);
}

.about-highlight .label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.8rem;
}

.about-highlight strong {
    display: block;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.about-hero-side {
    display: grid;
    gap: 2rem;
}

.signature-card {
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    border: 1px solid rgba(233, 69, 96, 0.25);
    padding: 2.2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    text-align: center;
}

.signature-card .quote {
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}

.signature-card .signature {
    margin-top: 1.5rem;
    color: var(--highlight);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.credential-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.credential-list li {
    background: rgba(8, 12, 30, 0.7);
    border-radius: 16px;
    padding: 1.4rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.cred-title {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.6rem;
}

.cred-desc {
    color: rgba(233, 235, 255, 0.75);
    font-size: 0.95rem;
}

.about-panels {
    background: linear-gradient(135deg, rgba(10, 12, 32, 0.7) 0%, rgba(26, 26, 46, 0.6) 100%);
    border: 2px solid rgba(233, 69, 96, 0.2);
}

.about-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.about-panel {
    background: rgba(12, 16, 42, 0.75);
    border-radius: 18px;
    padding: 2.2rem;
    border: 1px solid rgba(233, 69, 96, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.about-panel h4 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
}

.about-panel ul {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.8rem;
}

.about-panel ul li {
    color: var(--text-muted);
    position: relative;
    padding-left: 1.2rem;
}

.about-panel ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--highlight);
}

.contact-shell {
    background: linear-gradient(135deg, rgba(29, 18, 52, 0.75) 0%, rgba(15, 52, 96, 0.45) 100%);
    border: 2px solid rgba(233, 69, 96, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    display: grid;
    gap: 2rem;
}

.contact-meta {
    display: grid;
    gap: 1.2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(255,255,255,0.04);
    padding: 1.1rem 1.4rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
}

.meta-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.meta-value {
    font-size: 1rem;
    color: rgba(233, 235, 255, 0.85);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.channel-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.6rem;
    border: 1px solid rgba(233, 69, 96, 0.2);
    text-align: left;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.channel-card i {
    font-size: 1.8rem;
    color: var(--highlight);
    margin-bottom: 1rem;
}

.channel-card h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.6rem;
}

.channel-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-form-card {
    background: rgba(8, 10, 26, 0.85);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(233, 69, 96, 0.25);
    box-shadow: 0 20px 55px rgba(0,0,0,0.45);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.form-subtext {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn.full {
    width: 100%;
    justify-content: center;
}
.section-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: -1rem 0 2.5rem 0;
    font-size: 1.05rem;
}

.metrics {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.4) 0%, rgba(26, 26, 46, 0.6) 100%);
    border: 2px solid rgba(233, 69, 96, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: rgba(10, 15, 40, 0.6);
    border-radius: 18px;
    padding: 2.2rem;
    border: 1px solid rgba(233, 69, 96, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.metric-card::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -40%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.35), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-card:hover {
    transform: translateY(-12px);
    border-color: rgba(233, 69, 96, 0.5);
}

.metric-card:hover::after {
    opacity: 1;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.metric-label {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: var(--text);
    font-weight: 600;
}

.metric-footnote {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.edge {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(15, 52, 96, 0.4) 100%);
    border: 2px solid rgba(233, 69, 96, 0.2);
}

.edge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.edge-card {
    background: rgba(12, 18, 40, 0.7);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(233, 69, 96, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.edge-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.edge-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 25px 60px rgba(233, 69, 96, 0.35);
}

.edge-card:hover::before {
    opacity: 1;
}

.edge-icon {
    font-size: 2.3rem;
    color: var(--highlight);
    margin-bottom: 1.5rem;
}

.edge-footnote {
    display: block;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.workflow {
    background: rgba(10, 18, 45, 0.6);
    border: 2px solid rgba(233, 69, 96, 0.2);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.workflow-step {
    background: rgba(8, 12, 30, 0.7);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(233, 69, 96, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.workflow-step::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.25), transparent 70%);
    opacity: 0.5;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(233, 69, 96, 0.3);
    margin-bottom: 1.5rem;
}

.workflow-step h4 {
    font-size: 1.3rem;
    color: #fff;
}

.workflow-step p {
    margin-top: 0.8rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.cta-block {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15) 0%, rgba(15, 52, 96, 0.45) 100%);
    border: 2px solid rgba(233, 69, 96, 0.3);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-content h2 {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-muted);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}
/* Philosophy 섹션 */
.philosophy {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.3) 0%, rgba(26, 26, 46, 0.5) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    border: 2px solid rgba(233, 69, 96, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.philosophy-item {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.9) 0%, rgba(15, 52, 96, 0.9) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(233, 69, 96, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.philosophy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.1), transparent);
    transition: left 0.5s;
}

.philosophy-item:hover::before {
    left: 100%;
}

.philosophy-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.6), 0 0 40px rgba(233, 69, 96, 0.4);
    border-color: var(--highlight);
    border-width: 3px;
}

/* Icon Wrapper */
.icon-wrapper {
    font-size: 4.5rem;
    color: var(--highlight);
    margin-bottom: 2rem;
    text-align: center;
    transition: all 0.5s ease;
    display: block;
    background: rgba(233, 69, 96, 0.1);
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--highlight);
}

.philosophy-item:hover .icon-wrapper {
    transform: scale(1.3) rotate(360deg);
    filter: drop-shadow(0 0 30px rgba(233, 69, 96, 0.8));
    background: rgba(233, 69, 96, 0.2);
    border-color: #fff;
}

.number {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--highlight) 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1;
    text-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.philosophy-item h3 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.philosophy-item p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Mission 섹션 */
.mission {
    background: rgba(255,255,255,0.03);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.mission h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.mission-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--highlight);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.mission-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.detail-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

.detail-item p {
    color: var(--text-muted);
}

/* About 페이지 */
.about-intro {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--highlight);
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-detail,
.methodology,
.founders-note,
.technology {
    background: rgba(255,255,255,0.03);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.philosophy-detail h3,
.methodology h3,
.founders-note h3,
.technology h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text);
    border-bottom: 2px solid var(--highlight);
    padding-bottom: 1rem;
}

.philosophy-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flow-item {
    flex: 1;
    min-width: 200px;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border-top: 3px solid var(--highlight);
}

.flow-item h4 {
    color: var(--highlight);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.arrow {
    font-size: 2rem;
    color: var(--highlight);
    font-weight: bold;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.method-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--highlight);
}

.method-card h4 {
    color: var(--highlight);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Founder's Note */
.founders-note blockquote {
    border-left: 4px solid var(--highlight);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--highlight);
    font-size: 1.2rem;
}

.note-content {
    margin-bottom: 1.5rem;
    line-height: 2;
    color: var(--text-muted);
}

/* Technology */
.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
}

.tech-category h4 {
    color: var(--highlight);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-category ul {
    list-style: none;
}

.tech-category li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tech-category li:last-child {
    border-bottom: none;
}

/* Contact 페이지 */
.contact-form {
    max-width: none;
    margin: 0;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--card-bg);
    color: var(--text);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight);
}

button:not(.btn) {
    background: var(--highlight);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

button:not(.btn):hover {
    background: #d63851;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

/* 알림 */
.alert {
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.alert.success {
    background: rgba(46, 213, 115, 0.2);
    border: 2px solid #2ed573;
    color: #2ed573;
}

/* Section 공통 */
section {
    background: rgba(255,255,255,0.03);
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

section h2 {
    color: var(--text);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    border-bottom: 3px solid var(--highlight);
    padding-bottom: 1rem;
}

section h3 {
    color: var(--text);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

/* Dialogue page */
.dialogue-hero {
    background: linear-gradient(135deg, rgba(18, 16, 44, 0.8) 0%, rgba(15, 52, 96, 0.5) 100%);
    border: 2px solid rgba(233, 69, 96, 0.25);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.dialogue-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
    align-items: center;
}

.dialogue-hero-copy {
    display: grid;
    gap: 1.4rem;
}

.dialogue-title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #fff 0%, var(--highlight) 60%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dialogue-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.dialogue-meta {
    display: grid;
    gap: 1rem;
}

.dialogue-hero-panel {
    display: grid;
    gap: 1.4rem;
}

.dialogue-status-card {
    background: rgba(12, 16, 42, 0.82);
    border: 1px solid rgba(233, 69, 96, 0.35);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    display: grid;
    gap: 0.6rem;
}

.dialogue-status-card strong {
    font-size: 2.4rem;
    color: #fff;
}

.dialogue-status-card.alt {
    border-color: rgba(15, 52, 96, 0.6);
    background: rgba(15, 52, 96, 0.45);
}

.dialogue-stack {
    display: grid;
    gap: 0.9rem;
}

.stack-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stack-card .stack-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.stack-card p {
    margin-top: 0.4rem;
    color: var(--text);
}

.dialogue-shell {
    background: rgba(10, 12, 32, 0.88);
    border: 2px solid rgba(233, 69, 96, 0.25);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.dialogue-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: start;
}

.conversation-panel {
    display: grid;
    gap: 2rem;
    min-width: 0;
}

.conversation-header {
    display: grid;
    gap: 1rem;
}

.conversation-header .section-subtitle,
.adapter-panel-header .section-subtitle {
    margin: 0.6rem 0 0;
}

.active-adapters {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 1.4rem;
    border: 1px solid rgba(233, 69, 96, 0.2);
    display: grid;
    gap: 0.8rem;
}

.active-adapter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.adapter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(233, 69, 96, 0.15);
    border: 1px solid rgba(233, 69, 96, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.active-adapter-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.conversation-stream {
    display: grid;
    gap: 1.2rem;
    background: rgba(8, 10, 26, 0.85);
    border: 1px solid rgba(233, 69, 96, 0.25);
    border-radius: 20px;
    padding: 2rem;
    min-height: clamp(640px, 82vh, 980px);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.35);
    min-width: 0;
    max-width: 100%;
}

.chat-bubble {
    max-width: 85%;
    padding: 1rem 1.4rem;
    border-radius: 16px;
    background: rgba(15, 52, 96, 0.6);
    border: 1px solid rgba(233, 69, 96, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    min-width: 0;
    overflow-wrap: anywhere;
}

.chat-text {
    white-space: pre-wrap;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.chat-text a {
    word-break: break-all;
    overflow-wrap: anywhere;
}

.chat-text pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre;
    overflow-wrap: normal;
    word-break: normal;
}

.chat-text code {
    max-width: 100%;
}

.chat-bubble.is-error {
    border-color: rgba(255, 120, 141, 0.5);
    background: rgba(255, 120, 141, 0.12);
}

.chat-bubble.user {
    margin-left: auto;
    background: rgba(233, 69, 96, 0.18);
    border-color: rgba(233, 69, 96, 0.5);
}

.chat-bubble.system {
    background: rgba(12, 16, 42, 0.8);
    border-style: dashed;
}

.chat-meta {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.chat-models {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.chat-model-label {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.chat-model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.chat-model-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(120, 170, 255, 0.4);
    background: rgba(120, 170, 255, 0.15);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e4efff;
}

.chat-model-tag--primary {
    border-color: rgba(233, 69, 96, 0.55);
    background: rgba(233, 69, 96, 0.2);
    color: #ffe6ec;
}

.chat-model-tag--validator {
    border-color: rgba(255, 203, 73, 0.55);
    background: rgba(255, 203, 73, 0.2);
    color: #fff3c4;
}

.chat-model-tag--search {
    border-color: rgba(120, 255, 213, 0.55);
    background: rgba(120, 255, 213, 0.16);
    color: #d4fff2;
}

.chat-model-tag--summary {
    border-color: rgba(150, 255, 120, 0.55);
    background: rgba(150, 255, 120, 0.16);
    color: #e6ffd8;
}

.validation-panel {
    margin-top: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px dashed rgba(255, 203, 73, 0.45);
    background: rgba(255, 203, 73, 0.08);
    display: grid;
    gap: 0.65rem;
}

.validation-toggle {
    border: 0;
    background: rgba(255, 203, 73, 0.2);
    color: #ffecc0;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.validation-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 203, 73, 0.25);
}

.validation-body {
    display: none;
    white-space: pre-wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.validation-panel.is-open .validation-body {
    display: block;
}

.validation-panel.is-open .validation-toggle {
    background: rgba(255, 203, 73, 0.32);
    color: #fff2c9;
}

.composer {
    background: rgba(8, 10, 26, 0.9);
    border-radius: 18px;
    border: 1px solid rgba(233, 69, 96, 0.25);
    padding: 1.6rem;
    display: grid;
    gap: 1rem;
}

.composer-input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    resize: vertical;
}

.composer-input:focus {
    outline: none;
    border-color: rgba(233, 69, 96, 0.6);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.2);
}

.composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.adapter-dock {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dock-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px dashed rgba(233, 69, 96, 0.35);
    background: rgba(255, 255, 255, 0.02);
}

.dock-slot.filled {
    border-style: solid;
    background: rgba(233, 69, 96, 0.12);
}

.slot-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.slot-label {
    font-size: 0.95rem;
    color: #fff;
}

.adapter-panel {
    background: rgba(12, 16, 42, 0.9);
    border-radius: 22px;
    border: 1px solid rgba(233, 69, 96, 0.25);
    padding: 2rem;
    display: grid;
    gap: 1.6rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.adapter-panel-header {
    display: grid;
    gap: 0.8rem;
}

.adapter-panel-header h3 {
    margin: 0.4rem 0 0;
}

.adapter-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.adapter-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
    display: grid;
    gap: 0.4rem;
}

.adapter-stat .meta-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.adapter-list {
    display: grid;
    gap: 1.2rem;
}

.adapter-card {
    background: rgba(8, 10, 26, 0.9);
    border-radius: 18px;
    border: 1px solid rgba(233, 69, 96, 0.2);
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.adapter-card.is-active {
    border-color: rgba(233, 69, 96, 0.6);
    box-shadow: 0 18px 40px rgba(233, 69, 96, 0.2);
}

.adapter-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.adapter-card-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.adapter-subtitle {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.adapter-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid rgba(233, 69, 96, 0.4);
    color: rgba(255, 255, 255, 0.8);
}

.adapter-card.is-active .adapter-status {
    border-color: rgba(233, 69, 96, 0.7);
    color: #ffd1da;
}

.adapter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.adapter-tags span {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

button.adapter-toggle {
    align-self: start;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 69, 96, 0.5);
    background: rgba(233, 69, 96, 0.12);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

button.adapter-toggle[data-state="connected"] {
    background: linear-gradient(135deg, var(--highlight), #ff6b9d);
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(233, 69, 96, 0.3);
}

button.adapter-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.35);
}

.adapter-note {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 18px;
    padding: 1.4rem;
    display: grid;
    gap: 0.8rem;
}

.adapter-note h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.adapter-note ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.adapter-note li {
    color: var(--text-muted);
    position: relative;
    padding-left: 1rem;
}

.adapter-note li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--highlight);
}

/* 푸터 */
footer {
    background: rgba(26, 26, 46, 0.95);
    color: var(--text);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 2px solid rgba(255,255,255,0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in[data-delay="0"] {
    animation-delay: 0s;
}

.fade-in[data-delay="100"] {
    animation-delay: 0.1s;
}

.fade-in[data-delay="200"] {
    animation-delay: 0.2s;
}

.fade-in[data-delay="300"] {
    animation-delay: 0.3s;
}

.hero-title {
    animation: fadeInUp 1s ease-out, pulse 2s ease-in-out infinite;
}

.icon-wrapper i {
    animation: float 3s ease-in-out infinite;
}

.sheet-view {
    background: rgba(12, 14, 36, 0.92);
    border: 2px solid rgba(233, 69, 96, 0.2);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    padding: 3rem;
}

.sheet-header {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.sheet-meta {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(233, 69, 96, 0.12);
    border: 1px solid rgba(233, 69, 96, 0.35);
    width: max-content;
}

.sheet-meta .meta-label {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.sheet-meta .meta-value {
    font-weight: 600;
    color: #fff;
}

.sheet-meta .meta-value.error {
    color: #ff9aa2;
}

.sheet-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1rem;
}

.scroll-hint i {
    color: var(--highlight);
    font-size: 1rem;
}

.sheet-controls input[type="search"] {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(233, 69, 96, 0.25);
    border-radius: 14px;
    padding: 0.75rem 1.1rem;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sheet-controls input[type="search"]:focus {
    outline: none;
    border-color: rgba(233, 69, 96, 0.6);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.25);
}

.row-count {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.sheet-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 18px;
    border: 1px solid rgba(233, 69, 96, 0.2);
    background: rgba(20, 22, 48, 0.9);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.sheet-table-wrapper::after {
    content: '';
    position: sticky;
    right: 0;
    top: 0;
    bottom: 0;
    width: 18px;
    background: linear-gradient(90deg, rgba(20, 22, 48, 0), rgba(20, 22, 48, 0.85));
    pointer-events: none;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
    background: rgba(10, 12, 28, 0.92);
}

.data-table thead {
    position: sticky;
    top: 0;
    background: rgba(233, 69, 96, 0.2);
    backdrop-filter: blur(6px);
    z-index: 1;
    box-shadow: inset 0 -1px 0 rgba(233, 69, 96, 0.35);
}

.data-table th,
.data-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(233, 69, 96, 0.12);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    border-right: 1px solid rgba(233, 69, 96, 0.08);
    white-space: nowrap;
}

.data-table th {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
}

.data-table th:last-child,
.data-table td:last-child {
    border-right: none;
}

.data-table tbody tr:nth-child(even) {
    background: rgba(233, 69, 96, 0.06);
}

.data-table tbody tr:nth-child(odd) {
    background: rgba(255,255,255,0.02);
}

.data-table tbody tr:hover {
    background: rgba(233, 69, 96, 0.2);
    box-shadow: inset 0 0 0 1px rgba(233, 69, 96, 0.25);
}

.alert.error {
    background: rgba(255, 120, 141, 0.1);
    border: 1px solid rgba(255, 120, 141, 0.3);
    color: #ff9aa2;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 반응형 */
@media (max-width: 1024px) {
    .nav-inner {
        grid-template-columns: 1fr auto;
        position: relative;
    }

    .brand-tagline {
        display: none;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 16px);
        right: 20px;
        background: rgba(10, 12, 28, 0.95);
        border: 1px solid rgba(233, 69, 96, 0.25);
        border-radius: 20px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(14px);
        width: min(320px, calc(100% - 40px));
        padding: 1.8rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .primary-nav a {
        font-size: 0.95rem;
        letter-spacing: 0.18em;
        color: rgba(255,255,255,0.9);
    }

    .primary-nav a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-inline-cta {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-inline-cta a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .site-header.is-open .primary-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-header.is-open .nav-toggle span:first-child {
        transform: translateY(3px) rotate(45deg);
    }

    .site-header.is-open .nav-toggle span:last-child {
        transform: translateY(-3px) rotate(-45deg);
    }

    .site-header.is-open .nav-toggle {
        border-color: var(--highlight);
        box-shadow: 0 18px 40px rgba(233, 69, 96, 0.4);
    }

    .dialogue-hero-grid,
    .dialogue-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        margin: 1.5rem auto 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-highlights {
        justify-items: center;
    }

    .hero-highlights li {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }

    .orbital {
        width: 240px;
        height: 240px;
    }

    .hero-stat-card,
    .hero-stat-card.alt {
        position: static;
        margin: 1rem auto 0 auto;
        text-align: center;
    }

    .metrics-grid,
    .philosophy-grid,
    .mission-details,
    .edge-grid,
    .workflow-steps,
    .about-hero-grid,
    .about-highlight-grid,
    .about-panel-grid,
    .contact-grid,
    .channel-grid,
    .credential-list,
    .method-grid,
    .tech-list,
    .dialogue-hero-grid,
    .dialogue-grid,
    .adapter-stats {
        grid-template-columns: 1fr;
    }

    .philosophy-flow {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .signature-card .quote {
        font-size: 1.2rem;
    }

    .sheet-view {
        padding: 1.6rem;
    }

    .sheet-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .sheet-controls input[type="search"] {
        width: 100%;
    }

    .row-count {
        align-self: flex-start;
    }

    .sheet-table-wrapper {
        max-height: 60vh;
    }

    .conversation-stream {
        min-height: 65vh;
        max-height: 75vh;
    }

    .dialogue-title {
        font-size: 2.4rem;
    }

    .adapter-dock {
        grid-template-columns: 1fr;
    }

    .composer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .chat-bubble {
        max-width: 100%;
    }
}

/* ========================================
   대화 페이지 개선 스타일 (2025-12-26)
   ======================================== */

/* 대화 메인 섹션 - 클로드 대화창처럼 */
.dialogue-main {
    background: linear-gradient(135deg, rgba(10, 12, 32, 0.95) 0%, rgba(15, 52, 96, 0.7) 100%);
    border: 2px solid rgba(233, 69, 96, 0.3);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
    padding: 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.dialogue-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 대화 헤더 - 간소화 */
.dialogue-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem 3rem;
    background: rgba(12, 16, 42, 0.6);
    border-bottom: 1px solid rgba(233, 69, 96, 0.25);
}

.dialogue-header-content {
    display: grid;
    gap: 0.8rem;
}

.dialogue-header .dialogue-title {
    font-size: 2rem;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, var(--highlight) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dialogue-header .dialogue-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.active-adapters-compact {
    display: grid;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: rgba(233, 69, 96, 0.08);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 14px;
}

.active-adapters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.active-adapters-compact .meta-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.session-controls {
    display: grid;
    gap: 0.6rem;
}

.session-select {
    width: 100%;
    background: rgba(8, 10, 26, 0.7);
    border: 1px solid rgba(233, 69, 96, 0.25);
    border-radius: 12px;
    padding: 0.55rem 0.8rem;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.session-select:focus {
    outline: none;
    border-color: rgba(233, 69, 96, 0.6);
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}

.session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.adapter-panel-toggle {
    display: none;
    gap: 0.4rem;
    align-items: center;
    letter-spacing: 0.12em;
}

/* 대화 그리드 - 대화창 중심 */
.dialogue-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    align-items: start;
    min-height: auto;
}

/* 대화 패널 - 왼쪽 메인 */
.conversation-panel {
    display: grid;
    grid-template-rows: 1fr auto auto;
    gap: 0;
    padding: 2rem 3rem;
    min-height: 0;
    max-height: none;
}

/* 대화 스트림 - 메시지 영역 */
.conversation-stream {
    display: grid;
    gap: 1rem;
    background: rgba(8, 10, 26, 0.9);
    border: 1px solid rgba(233, 69, 96, 0.25);
    border-radius: 18px;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: clamp(420px, 55vh, 680px);
    max-height: 65vh;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
    scroll-behavior: smooth;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* 스크롤바 스타일 */
.conversation-stream::-webkit-scrollbar {
    width: 8px;
}

.conversation-stream::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.conversation-stream::-webkit-scrollbar-thumb {
    background: rgba(233, 69, 96, 0.5);
    border-radius: 10px;
}

.conversation-stream::-webkit-scrollbar-thumb:hover {
    background: rgba(233, 69, 96, 0.7);
}

/* 채팅 버블 */
.chat-bubble {
    max-width: 75%;
    padding: 1rem 1.4rem;
    border-radius: 18px;
    background: rgba(15, 52, 96, 0.6);
    border: 1px solid rgba(233, 69, 96, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

/* 데스크톱: 대형 화면에서 더 넓게 */
@media (min-width: 1440px) {
    .chat-bubble {
        max-width: 70%;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-bubble.user {
    margin-left: auto;
    background: rgba(233, 69, 96, 0.2);
    border-color: rgba(233, 69, 96, 0.5);
}

.chat-bubble.assistant {
    background: rgba(15, 52, 96, 0.7);
    border-color: rgba(15, 52, 96, 0.8);
}

.chat-bubble.system {
    background: rgba(12, 16, 42, 0.8);
    border-style: dashed;
    border-color: rgba(233, 69, 96, 0.15);
    max-width: 90%;
    margin: 0 auto;
}

.chat-meta {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* 작성 영역 - 입력창 */
.composer {
    background: rgba(8, 10, 26, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    padding: 1.6rem;
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.composer-input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.composer-input:focus {
    outline: none;
    border-color: rgba(233, 69, 96, 0.6);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.composer-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-end;
    align-items: center;
}

.btn.small {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

.btn.small i {
    font-size: 0.9rem;
}

/* 빠른 액션 토글 */
.quick-actions-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    background: rgba(233, 69, 96, 0.08);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-actions-toggle i {
    transition: transform 0.3s ease;
}

.quick-actions-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* 빠른 액션 */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    border: 1px solid rgba(233, 69, 96, 0.15);
}

.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: rgba(233, 69, 96, 0.25);
    border-color: rgba(233, 69, 96, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.adapter-panel-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 26, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1200;
}

.adapter-panel-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.dialogue-sheet-open {
    overflow: hidden;
}

.quick-action-btn i {
    font-size: 0.9rem;
    color: var(--highlight);
}

/* 어댑터 패널 - 오른쪽 사이드바 */
.adapter-panel {
    background: rgba(12, 16, 42, 0.95);
    border-left: 2px solid rgba(233, 69, 96, 0.25);
    padding: 2rem 1.8rem;
    display: grid;
    gap: 1.6rem;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    overflow-x: hidden;
}

.adapter-panel::-webkit-scrollbar {
    width: 6px;
}

.adapter-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.adapter-panel::-webkit-scrollbar-thumb {
    background: rgba(233, 69, 96, 0.4);
    border-radius: 10px;
}

.adapter-panel-header h3 {
    font-size: 1.3rem;
    margin: 0.4rem 0 0;
}

.adapter-panel .section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 어댑터 스탯 */
.adapter-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.adapter-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.9rem;
    text-align: center;
}

.adapter-stat .meta-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.adapter-stat .meta-value {
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--highlight);
    margin-top: 0.3rem;
}

/* 어댑터 카드 */
.adapter-card {
    background: rgba(8, 10, 26, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(233, 69, 96, 0.2);
    padding: 1.3rem;
    display: grid;
    gap: 0.9rem;
    transition: all 0.3s ease;
}

.adapter-card:hover {
    border-color: rgba(233, 69, 96, 0.4);
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.15);
    transform: translateX(-3px);
}

.adapter-card.is-active {
    border-color: rgba(233, 69, 96, 0.6);
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.2);
    background: rgba(233, 69, 96, 0.05);
}

.adapter-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.adapter-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.adapter-subtitle {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.adapter-status {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.adapter-status.active {
    background: rgba(233, 69, 96, 0.2);
    border-color: rgba(233, 69, 96, 0.5);
    color: #ffd1da;
}

.adapter-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* 어댑터 토글 버튼 */
button.adapter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 69, 96, 0.4);
    background: rgba(233, 69, 96, 0.1);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

button.adapter-toggle:hover {
    background: rgba(233, 69, 96, 0.2);
    border-color: rgba(233, 69, 96, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

button.adapter-toggle.active {
    background: linear-gradient(135deg, var(--highlight), #ff6b9d);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.35);
}

button.adapter-toggle i {
    font-size: 0.85rem;
}

/* 하단 정보 섹션 */
.dialogue-info {
    background: rgba(12, 16, 42, 0.6);
    border: 1px solid rgba(233, 69, 96, 0.2);
    padding: 3rem 2rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    display: grid;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(233, 69, 96, 0.2);
    border-radius: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(233, 69, 96, 0.5);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.2);
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 69, 96, 0.15);
    border: 2px solid rgba(233, 69, 96, 0.4);
    border-radius: 50%;
}

.info-icon i {
    font-size: 1.8rem;
    color: var(--highlight);
}

.info-card h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #fff;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 모바일 최적화 */
@media (max-width: 1024px) {
    .dialogue-header {
        grid-template-columns: 1fr;
        padding: 1.5rem 2rem;
    }

    .active-adapters-compact {
        padding: 0.8rem 1rem;
    }

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

    .conversation-panel {
        padding: 1.5rem 2rem;
        min-height: auto;
        max-height: none;
    }

    .adapter-panel {
        border-left: none;
        border-top: 2px solid rgba(233, 69, 96, 0.25);
        max-height: none;
        padding: 2rem;
    }

    .conversation-stream {
        min-height: 70vh;
        max-height: 80vh;
    }
}

@media (max-width: 768px) {
    .dialogue-header {
        padding: 0.8rem 1rem;
        gap: 1rem;
    }

    .dialogue-header .dialogue-title {
        font-size: 1.4rem;
    }

    .dialogue-header .dialogue-subtitle {
        font-size: 0.82rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .active-adapter-tags {
        gap: 0.4rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        -webkit-overflow-scrolling: touch;
    }

    .session-select {
        font-size: 0.78rem;
        padding: 0.5rem 0.7rem;
    }

    .session-actions {
        justify-content: space-between;
    }

    .adapter-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .conversation-panel {
        padding: 0.8rem 1rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        min-height: calc(100vh - 150px);
        min-height: calc(100svh - 150px);
    }

    .conversation-stream {
        padding: 1rem;
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
    }

    .chat-bubble {
        max-width: 90%;
        padding: 0.9rem 1.1rem;
    }

    .composer {
        padding: 0.9rem;
    }

    .composer-input {
        min-height: 70px;
        padding: 0.9rem;
        font-size: 0.9rem;
    }

    .composer-actions {
        flex-direction: row;
        justify-content: space-between;
    }

    .adapter-panel-toggle {
        display: inline-flex;
    }

    .quick-actions-toggle {
        display: inline-flex;
    }

    .quick-actions {
        display: none;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0.8rem;
    }

    .quick-actions.is-open {
        display: grid;
    }

    .quick-action-btn {
        justify-content: center;
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
    }

    .adapter-panel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 78vh;
        border-left: none;
        border-top: 2px solid rgba(233, 69, 96, 0.3);
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        z-index: 1300;
        padding: 1.5rem;
    }

    .adapter-panel.is-open {
        transform: translateY(0);
    }

    .adapter-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .info-card {
        padding: 1.5rem;
    }
}

/* ========================================
   대화 페이지 풀스크린 레이아웃 (2026-01)
   ======================================== */
body.dialogue-page {
    overflow: hidden;
}

body.dialogue-page main {
    padding: 0;
    min-height: 100vh;
}

body.dialogue-page main.container {
    max-width: 100%;
    padding: 0;
}

body.dialogue-page .site-header,
body.dialogue-page footer {
    display: none;
}

.dialogue-app {
    --dialogue-topbar-height: 64px;
    min-height: 100vh;
    display: grid;
    grid-template-rows: var(--dialogue-topbar-height) 1fr;
}

.dialogue-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0 1.6rem;
    background: rgba(12, 16, 42, 0.96);
    border-bottom: 1px solid rgba(233, 69, 96, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 0;
    z-index: 1500;
}

.dialogue-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.dialogue-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(233, 69, 96, 0.4);
    background: rgba(233, 69, 96, 0.15);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dialogue-menu-toggle i {
    font-size: 1rem;
}

.dialogue-menu-toggle:hover {
    border-color: var(--highlight);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

.dialogue-topbar-title {
    display: grid;
    gap: 0.2rem;
}

.dialogue-topbar-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.dialogue-topbar-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    background: rgba(233, 69, 96, 0.12);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.dialogue-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #43d9ad;
    box-shadow: 0 0 12px rgba(67, 217, 173, 0.6);
}

.dialogue-layout {
    position: relative;
    height: 100%;
}

.dialogue-stage {
    height: 100%;
    display: grid;
    padding: 1.5rem 1rem 2rem;
    min-height: 0;
}

/* 데스크톱: 대형 화면에서 더 많은 여백 활용 */
@media (min-width: 1024px) {
    .dialogue-stage {
        padding: 1.5rem 2rem 2rem;
    }
}

@media (min-width: 1440px) {
    .dialogue-stage {
        padding: 1.5rem 3rem 2rem;
    }
}

body.dialogue-page .conversation-panel {
    grid-template-rows: 1fr auto;
    gap: 1rem;
    padding: 0;
    height: 100%;
    min-height: 0;
}

body.dialogue-page .conversation-stream {
    min-height: 0;
    max-height: none;
    height: 100%;
    border-radius: 20px;
}

body.dialogue-page .composer {
    margin-top: 0;
}

.dialogue-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(380px, 88vw);
    background: rgba(8, 10, 26, 0.98);
    border-right: 1px solid rgba(233, 69, 96, 0.25);
    padding: calc(var(--dialogue-topbar-height) + 1.4rem) 1.6rem 2rem;
    display: grid;
    gap: 1.6rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1600;
    overflow-y: auto;
}

.dialogue-drawer.is-open {
    transform: translateX(0);
}

.dialogue-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 26, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1550;
}

.dialogue-drawer-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

body.dialogue-drawer-open {
    overflow: hidden;
}

.dialogue-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.dialogue-drawer-brand {
    display: grid;
    gap: 0.3rem;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.dialogue-drawer-brand .brand-logo {
    font-size: 1.2rem;
}

.dialogue-drawer-brand .brand-tagline {
    font-size: 0.7rem;
}

.dialogue-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(233, 69, 96, 0.4);
    background: rgba(233, 69, 96, 0.12);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dialogue-drawer-close:hover {
    border-color: var(--highlight);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.25);
}

.dialogue-drawer-nav {
    display: grid;
    gap: 0.4rem;
}

.dialogue-drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease;
}

.dialogue-drawer-nav a:hover,
.dialogue-drawer-nav a.active {
    background: rgba(233, 69, 96, 0.15);
    border-color: rgba(233, 69, 96, 0.4);
    color: #fff;
}

.dialogue-drawer-section {
    display: grid;
    gap: 0.9rem;
}

.dialogue-drawer-section + .dialogue-drawer-section {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-title {
    margin: 0;
    font-size: 1.4rem;
}

.drawer-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.drawer-section-header h3 {
    margin: 0;
    font-size: 1rem;
}

.drawer-section-meta {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

body.dialogue-page .dialogue-drawer .active-adapters-compact {
    background: rgba(255, 255, 255, 0.04);
}

body.dialogue-page .dialogue-drawer .quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin-top: 0;
}

body.dialogue-page .dialogue-drawer .quick-action-btn {
    justify-content: center;
}

body.dialogue-page .dialogue-drawer .adapter-panel {
    position: static;
    max-height: none;
    border-left: none;
    border-radius: 18px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.25);
}

body.dialogue-page .dialogue-drawer .adapter-panel.is-open {
    transform: none;
}

body.dialogue-page .dialogue-drawer .dialogue-info {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

body.dialogue-page .dialogue-drawer .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

body.dialogue-page .dialogue-drawer .info-card {
    text-align: left;
    padding: 1.4rem;
}

@media (max-width: 1024px) {
    .dialogue-stage {
        padding: 1.2rem 1.4rem 1.6rem;
    }
}

@media (max-width: 768px) {
    .dialogue-app {
        --dialogue-topbar-height: 56px;
    }

    .dialogue-topbar {
        padding: 0 1rem;
    }

    .dialogue-topbar-title .badge {
        display: none;
    }

    .dialogue-topbar-text {
        font-size: 0.95rem;
    }

    .dialogue-topbar-meta {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        padding: 0.3rem 0.6rem;
    }

    .dialogue-stage {
        padding: 1rem;
    }

    .dialogue-drawer {
        width: min(320px, 90vw);
        padding: calc(var(--dialogue-topbar-height) + 1rem) 1.2rem 1.6rem;
    }

    body.dialogue-page .conversation-stream {
        padding: 1.2rem;
    }

    body.dialogue-page .composer-actions {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Dialogue mobile width boost (2026-01) */
@media (max-width: 768px) {
    body.dialogue-page .dialogue-topbar {
        padding-left: calc(0.6rem + env(safe-area-inset-left));
        padding-right: calc(0.6rem + env(safe-area-inset-right));
    }

    body.dialogue-page .dialogue-stage {
        padding: 0.5rem calc(0.6rem + env(safe-area-inset-right)) 0.8rem calc(0.6rem + env(safe-area-inset-left));
    }

    body.dialogue-page .conversation-stream {
        padding: 0.8rem;
        border-radius: 14px;
    }

    body.dialogue-page .composer {
        padding: 0.75rem;
        border-radius: 14px;
    }

    body.dialogue-page .chat-bubble {
        max-width: 100%;
    }
}

/* Dialogue scroll fix (2026-01) */
body.dialogue-page {
    overscroll-behavior: none;
}

body.dialogue-page .dialogue-app {
    height: 100svh;
    height: 100dvh;
}

body.dialogue-page .dialogue-layout {
    height: calc(100svh - var(--dialogue-topbar-height));
    height: calc(100dvh - var(--dialogue-topbar-height));
    min-height: 0;
}

body.dialogue-page .dialogue-stage {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

body.dialogue-page .conversation-panel {
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    height: 100%;
}

body.dialogue-page .conversation-stream {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.dialogue-page .dialogue-drawer {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    body.dialogue-page .dialogue-stage {
        padding-bottom: calc(0.8rem + env(safe-area-inset-bottom));
    }
}

/* Dialogue scroll reliability (2026-01) */
body.dialogue-page .conversation-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

body.dialogue-page .conversation-stream {
    flex: 1 1 auto;
    height: auto;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

body.dialogue-page .composer {
    flex: 0 0 auto;
}

/* Dialogue home link tweaks (2026-01) */
.dialogue-topbar-title {
    text-decoration: none;
    color: inherit;
}

.dialogue-topbar-title:hover {
    color: #fff;
}

.dialogue-drawer-brand {
    text-decoration: none;
    color: inherit;
}

.dialogue-drawer-brand:hover {
    background: rgba(233, 69, 96, 0.15);
    border-color: rgba(233, 69, 96, 0.4);
    color: #fff;
}

/* Dialogue composer mobile height tweak (2026-01) */
@media (max-width: 768px) {
    body.dialogue-page .composer-input {
        min-height: 58px;
    }

    body.dialogue-page .composer-actions {
        padding-bottom: calc(0.25rem + env(safe-area-inset-bottom));
    }
}

/* Dialogue composer mobile height tweak v2 (2026-01) */
@media (max-width: 768px) {
    body.dialogue-page .composer {
        padding: 0.65rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
    }

    body.dialogue-page .composer-input {
        height: 52px;
        min-height: 52px;
    }

    body.dialogue-page .composer-actions {
        padding-bottom: 0;
    }
}

/* Dialogue mobile nav bar clearance (2026-01) */
@media (max-width: 768px) {
    body.dialogue-page .dialogue-stage {
        padding-bottom: calc(1.6rem + env(safe-area-inset-bottom));
    }

    body.dialogue-page .composer {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

/* 타이핑 인디케이터 (2026-01) */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e94560;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* 코드 블록 스타일 (2026-01) */
.code-block-wrapper {
    margin: 1rem 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(233, 69, 96, 0.2);
    max-width: 100%;
    min-width: 0;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(233, 69, 96, 0.1);
}

.code-lang {
    font-size: 0.75rem;
    color: #e94560;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.code-copy-btn {
    background: transparent;
    border: 1px solid rgba(233, 69, 96, 0.3);
    color: #e94560;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.code-copy-btn:hover {
    background: rgba(233, 69, 96, 0.1);
    border-color: #e94560;
}

.code-copy-btn i {
    font-size: 0.7rem;
}

.code-block-wrapper pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    background: transparent;
    max-width: 100%;
    white-space: pre;
}

.code-block-wrapper code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #f0f0f0;
}

.inline-code {
    background: rgba(233, 69, 96, 0.15);
    color: #ff6b9d;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

/* 예시 프롬프트 스타일 (2026-01) */
.starter-prompts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.starter-welcome {
    text-align: center;
    margin-bottom: 2rem;
}

.starter-welcome h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.starter-welcome p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.starter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    width: 100%;
    margin-bottom: 2rem;
}

.starter-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.starter-card:hover {
    background: rgba(233, 69, 96, 0.1);
    border-color: #e94560;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.starter-card i {
    font-size: 1.5rem;
    color: #e94560;
    margin-bottom: 0.5rem;
}

.starter-card span {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    display: block;
}

.starter-card small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.starter-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(26, 26, 46, 0.4);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.starter-hint i {
    color: #e94560;
}

.starter-hint kbd {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #e94560;
}

@media (max-width: 768px) {
    .starter-prompts {
        padding: 2rem 1rem;
    }

    .starter-welcome h2 {
        font-size: 1.5rem;
    }

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

    .starter-card {
        padding: 1.25rem;
    }
}

/* 채팅 버블 타이핑 상태 (2026-01) */
.chat-bubble.is-typing .chat-text {
    padding: 0.75rem 1rem;
}

/* 메시지 액션 버튼 (2026-01) */
.chat-bubble {
    position: relative;
}

.chat-actions {
    position: absolute;
    top: 0.5rem;
    right: -3rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chat-bubble:hover .chat-actions {
    opacity: 1;
}

.chat-action-btn {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(233, 69, 96, 0.3);
    color: #e94560;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.7rem;
}

.chat-action-btn:hover {
    background: rgba(233, 69, 96, 0.2);
    border-color: #e94560;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .chat-actions {
        position: static;
        flex-direction: row;
        opacity: 1;
        margin-top: 0.5rem;
        justify-content: flex-end;
    }

    .chat-action-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }
}

/* 빠른 응답 버튼 (2026-01) */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.quick-reply-btn {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid rgba(233, 69, 96, 0.3);
    color: #e94560;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.quick-reply-btn:hover {
    background: rgba(233, 69, 96, 0.2);
    border-color: #e94560;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(233, 69, 96, 0.2);
}

.quick-reply-btn i {
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .quick-reply-btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.65rem;
    }

    .quick-reply-btn i {
        font-size: 0.65rem;
    }
}

/* 전송 버튼 강조 (2026-01) */
.composer .btn.primary {
    transition: all 0.3s ease;
}

.composer .btn.primary.has-content {
    background: linear-gradient(135deg, #e94560 0%, #ff6b9d 100%);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
    transform: scale(1.05);
}

.composer .btn.primary.has-content:hover {
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
    transform: scale(1.08);
}

/* 입력창 자동 높이 조절 (2026-01) */
.composer-input {
    resize: none;
    overflow-y: auto;
    transition: height 0.2s ease;
    min-height: 58px;
    max-height: 200px;
}

/* 메시지 애니메이션 (2026-01) */
.chat-bubble {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dialogue session history list (2026-01) */
.session-history {
    display: grid;
    gap: 0.6rem;
    max-height: 36vh;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.session-history::-webkit-scrollbar {
    width: 6px;
}

.session-history::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.session-history::-webkit-scrollbar-thumb {
    background: rgba(233, 69, 96, 0.45);
    border-radius: 999px;
}

.session-item {
    display: grid;
    gap: 0.25rem;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.session-item:hover {
    border-color: rgba(233, 69, 96, 0.4);
    background: rgba(233, 69, 96, 0.12);
    color: #fff;
}

.session-item.is-active {
    border-color: rgba(233, 69, 96, 0.6);
    background: rgba(233, 69, 96, 0.18);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.2);
}

.session-item:focus-visible {
    outline: 2px solid rgba(233, 69, 96, 0.65);
    outline-offset: 2px;
}

.session-item-actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.session-item.is-delete-mode {
    border-color: rgba(233, 69, 96, 0.7);
    background: rgba(233, 69, 96, 0.2);
    box-shadow: 0 12px 30px rgba(233, 69, 96, 0.25);
}

.session-item.is-delete-mode .session-item-actions {
    display: flex;
}

.session-item-actions button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.session-item-actions button:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.session-item-delete {
    border-color: rgba(233, 69, 96, 0.6);
    background: rgba(233, 69, 96, 0.2);
}

.session-item-delete:hover {
    border-color: rgba(233, 69, 96, 0.8);
    background: rgba(233, 69, 96, 0.3);
}

.session-item-cancel {
    border-color: rgba(120, 170, 255, 0.4);
    background: rgba(120, 170, 255, 0.12);
}

.session-item-cancel:hover {
    border-color: rgba(120, 170, 255, 0.6);
    background: rgba(120, 170, 255, 0.2);
}

.session-title {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.session-meta {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.session-history-empty {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.session-history-empty.is-hidden {
    display: none;
}

.model-status {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.model-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(120, 170, 255, 0.45);
    background: rgba(120, 170, 255, 0.15);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e4efff;
}

.model-tag--primary {
    border-color: rgba(233, 69, 96, 0.55);
    background: rgba(233, 69, 96, 0.18);
    color: #ffe6ec;
}

.model-tag--validator {
    border-color: rgba(255, 203, 73, 0.55);
    background: rgba(255, 203, 73, 0.2);
    color: #fff3c4;
}

.model-tag--summary {
    border-color: rgba(120, 255, 213, 0.55);
    background: rgba(120, 255, 213, 0.16);
    color: #d8fff3;
}

.model-route {
    color: rgba(255, 255, 255, 0.7);
}

.model-tags-empty {
    margin: 0;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.model-tags-empty.is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .session-history {
        max-height: 32vh;
    }
}
