@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --cl-canvas: #faf9f6;
    --cl-parchment: #f6f1e8;
    --cl-card: #ffffff;
    --cl-text-primary: #2e2a26;
    --cl-text-secondary: #5f5a54;
    --cl-text-muted: #8c867f;
    --cl-blue: #1e6fdb;
    --cl-blue-hover: #295cb5;
    --cl-blue-soft: #e6effc;
    --cl-border: #d8d2c8;
    --cl-ink: #cfc7bc;
}

html, body {
    /* update-id: swb-2025-11-17-1 */
    height: 100%;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Layout stabilized for pinned chat  collapsible research workspace */
body {
    font-family: "Open Sans", "Inter", "Segoe UI", Arial, sans-serif;
    background: #f7f4ec;
    color: #3a2f23;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}
.landing-page,
body.tos-page {
    overflow-y: auto;
    display: block;
    height: auto;
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

body.landing-page {
    background: var(--cl-canvas);
    color: var(--cl-text-primary);
    font-family: "Open Sans", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    margin: 0;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4 {
    font-family: "Open Sans", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    color: var(--cl-text-primary);
    line-height: 1.2;
}

.landing-page p,
.landing-page li {
    color: var(--cl-text-secondary);
    line-height: 1.6;
}

.landing-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 72px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 100vh;
    box-sizing: border-box;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-brand h1 {
    margin: 0;
    font-size: 26px;
    white-space: nowrap;
    line-height: 1.1;
}

.landing-tagline {
    margin: 0;
    font-size: 14px;
    color: var(--cl-text-muted);
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.landing-brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: calc(100vw - 150px);
}

.brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    border: 1px solid var(--cl-border);
    background: var(--cl-parchment);
    color: var(--cl-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.landing-nav {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.landing-nav a {
    color: var(--cl-text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.landing-nav__link {
    text-decoration: underline;
    opacity: 0.8;
}

.landing-nav__cta {
    border: 1px solid var(--cl-border);
    border-radius: 999px;
    padding: 6px 16px;
    background: var(--cl-card);
    color: var(--cl-text-primary);
}

.about-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.landing-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    background: var(--cl-parchment);
    border-radius: 28px;
    border: 1px solid var(--cl-border);
    padding: 40px;
    box-shadow: 0 25px 60px rgba(46, 42, 38, 0.08);
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--cl-text-muted);
    font-size: 12px;
    margin: 0 0 6px;
}

.landing-hero__text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.landing-hero__text h2 {
    font-size: 36px;
    margin: 0;
}

.landing-hero__text p {
    margin: 0;
}

.hero-points {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    color: var(--cl-text-secondary);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.hero-micro {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--cl-text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 11px 24px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
    background: var(--cl-blue);
    color: #fff;
}

.btn--primary:hover {
    background: var(--cl-blue-hover);
}

.btn--ghost {
    border: 1px solid var(--cl-border);
    color: var(--cl-text-primary);
    background: var(--cl-card);
}

.btn--ghost:hover {
    border-color: var(--cl-blue);
    color: var(--cl-blue-hover);
}

.landing-hero__visual {
    border: 1px solid rgba(70, 50, 30, 0.25);
    border-radius: 20px;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(247,244,236,0.95), rgba(240,230,208,0.7));
    display: flex;
    align-items: stretch;
    min-height: 360px;
}

.landing-hero__visual::before,
.landing-hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.32;
    animation: grandManFade 16s ease-in-out infinite;
    z-index: 0;
    mix-blend-mode: multiply;
}

.landing-hero__visual::before {
    background-image: url('/pics/swedenbor_02.png');
    animation-delay: 0s;
}

.landing-hero__visual::after {
    background-image: url('/pics/swedenbor_03.png');
    animation-delay: 8s;
}

.correspondence-field {
    position: relative;
    width: 100%;
    min-height: 340px;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    z-index: 1;
    flex: 1 1 auto;
}

.correspondence-field::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(247,244,236,0) 50%, rgba(247,244,236,0.35) 100%);
    z-index: 0;
}

.correspondence-field__overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    z-index: 1;
}

.correspondence-field__figure {
    width: 100%;
    height: auto;
    opacity: 0.75;
}

.correspondence-field__labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
    font-size: 12px;
    color: rgba(58,47,35,0.65);
}

.correspondence-field__labels .label {
    position: absolute;
    background: rgba(255, 255, 255, 0.68);
    padding: 2px 7px;
    border-radius: 12px;
    border: 1px solid rgba(58,47,35,0.12);
    font-size: 12px;
    color: rgba(58,47,35,0.7);
}

.correspondence-field__watermark {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(58,47,35,0.35);
    text-transform: uppercase;
    z-index: 2;
}

.landing-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.landing-highlights > header {
    grid-column: 1 / -1;
}

.landing-note {
    font-size: 13px;
    color: var(--cl-text-muted);
    margin-top: 6px;
}

@media (min-width: 960px) {
    .landing-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .landing-highlights > header {
        grid-column: 1 / -1;
    }
}

.feature-card {
    background: var(--cl-card);
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--cl-border);
    box-shadow: 0 15px 25px rgba(46, 42, 38, 0.06);
}

.feature-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
}

.landing-panel {
    background: var(--cl-card);
    border: 1px solid var(--cl-border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(46, 42, 38, 0.05);
}

.landing-panel--split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.panel-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--cl-text-muted);
    font-size: 12px;
    margin: 0 0 8px;
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--cl-text-secondary);
}

.panel-list li {
    position: relative;
    padding-left: 18px;
}

.panel-list li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cl-blue);
}

.landing-panel--sources .sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.swedenborg-context {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--cl-border);
}

.swedenborg-context h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.landing-panel--sources h4 {
    margin: 0 0 6px;
}

.landing-panel--sources p {
    margin: 0;
}

.landing-panel--cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--cl-parchment);
}

.panel-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.landing-ai-notice {
    border-radius: 22px;
    border: 1px solid var(--cl-border);
    background: var(--cl-card);
    padding: 24px;
    box-shadow: 0 12px 30px rgba(46, 42, 38, 0.05);
}

.landing-footer {
    text-align: center;
    font-size: 13px;
    color: var(--cl-text-muted);
    line-height: 1.5;
}

.landing-footer a {
    color: var(--cl-blue);
}

.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    padding: 12px 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    color: #3a2f23;
}

.cookie-banner button {
    border: none;
    background: #2b63c2;
    color: #fff;
    border-radius: 999px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 13px;
}

.about-page {
    background: #f7f4ec;
    color: #3a2f23;
    font-family: "Open Sans", "Inter", "Segoe UI", Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-y: auto;
}

.about-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px clamp(12px, 4vw, 24px) 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-hero {
    position: relative;
    min-height: 420px;
    padding: 40px 24px;
    background-color: #f8f1df;
    background-image: url('/pics/swedenborg_web.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 50%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(70, 50, 30, 0.1);
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 244, 236, 0.98) 0%, rgba(247, 244, 236, 0.6) 55%, rgba(247, 244, 236, 0.1) 90%);
    pointer-events: none;
    z-index: 1;
}

.about-hero__tag {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8b7a68;
    margin: 0;
}

.about-hero__text {
    position: relative;
    z-index: 2;
    max-width: 620px;
    width: min(100%, 620px);
    overflow: hidden;
    background: rgba(247, 244, 236, 0.85);
    border: 1px solid rgba(70, 50, 30, 0.25);
    border-radius: 18px;
    padding: 24px;
    box-sizing: border-box;
}

.about-hero__text h1 {
    margin: 12px 0;
    font-size: 32px;
}

.about-section {
    border-top: 1px solid rgba(70, 50, 30, 0.2);
    padding-top: 22px;
}

.about-section h2 {
    margin-top: 0;
    font-size: 22px;
}

.about-section ul {
    padding-left: 20px;
    line-height: 1.6;
}

.about-footer {
    text-align: left;
}

.about-footer a {
    color: #2b63c2;
    text-decoration: none;
}
.app-shell {
    width: 100%;
    min-width: 360px;
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 12px 16px 8px;
    gap: 12px;
    box-sizing: border-box;
}
.site-footer {
    margin: 8px 16px 16px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: rgba(255, 255, 255, 0.35);
    color: #8b7a68;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
}
.site-header {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.app-layout {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    gap: 18px;
    min-height: 0;
}

.app-layout.workspace-collapsed .research-panel {
    display: none;
}

.app-layout.workspace-collapsed .chat-panel {
    flex: 1 1 100%;
}

.chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    gap: 10px;
    padding-bottom: 0;
}
.chat-disclaimer {
    font-size: 12px;
    color: #8b7a68;
    margin: 0 4px;
    line-height: 1.4;
}

.chat-messages {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 18px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    border: 1px solid rgba(70, 50, 30, 0.25);
    box-shadow: none;
    overflow: hidden;
    gap: 12px;
}

#chatbox {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
    border-radius: 0;
    scroll-behavior: smooth;
    overscroll-behavior-y: contain;
}

.site-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(70, 50, 30, 0.25);
    border-radius: 16px;
    flex-wrap: wrap;
    box-shadow: none;
    margin-bottom: 10px;
}

.session-new-chat {
    border: 1px solid rgba(70, 50, 30, 0.3);
    background: rgba(255, 255, 255, 0.6);
    color: #3a2f23;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
}

.brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.brand-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #3a2f23;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    border: 1px solid rgba(70, 50, 30, 0.25);
}

.brand-initials {
    pointer-events: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text h1 {
    font-size: 18px;
    margin: 0;
    color: #3a2f23;
    letter-spacing: 0.5px;
}

.brand-text p {
    margin: 0;
    font-size: 12px;
    color: #8b7a68;
}

.session-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    border: 1px solid rgba(70, 50, 30, 0.25);
}

.session-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #c5b9a3;
    color: #3a2f23;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.session-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.session-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.session-name {
    font-size: 13px;
    color: #3a2f23;
    font-weight: 600;
}

.session-email {
    font-size: 11px;
    color: #5c5c5c;
}

.session-logout {
    border: none;
    background: #3a2f23;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.session-logout:hover {
    background: #2b2016;
}

.toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translate(-50%, -20px);
    background: #3a2f23;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    box-shadow: none;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.toast.toast--visible {
    opacity: 0.97;
    transform: translate(-50%, 0);
}

.research-panel {
    width: 380px;
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: flex-start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(70, 50, 30, 0.25);
    border-radius: 18px;
    padding: 18px;
}

.research-collapse {
    margin-top: 8px;
    align-self: flex-start;
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: rgba(255, 255, 255, 0.6);
    color: #3a2f23;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.workspace-card {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workspace-card__actions {
    display: flex;
    gap: 6px;
}

.workspace-icon-btn {
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: rgba(255, 255, 255, 0.6);
    color: #3a2f23;
    border-radius: 999px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
}

.workspace-icon-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.workspace-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.workspace-tabs {
    gap: 12px;
}

.workspace-tab {
    margin: 0;
    font-size: 16px;
    color: rgba(58, 47, 35, 0.6);
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.workspace-tab--active {
    color: #3a2f23;
    border-color: rgba(58, 47, 35, 0.6);
}

.workspace-tabpanel {
    display: none;
    margin-top: 10px;
}

.workspace-tabpanel--active {
    display: block;
}

.workspace-card__header h2,
.workspace-card__header h3 {
    margin: 0;
    font-size: 18px;
    color: #3a2f23;
}

.workspace-desc {
    margin: 0;
    font-size: 14px;
    color: #8b7a68;
}

.workspace-muted {
    margin: 0;
    font-size: 13px;
    color: #8b7a68;
}

.workspace-pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(70, 50, 30, 0.1);
    color: #3a2f23;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workspace-pill--muted {
    background: rgba(70, 50, 30, 0.05);
    color: rgba(70, 50, 30, 0.7);
}

.workspace-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #4f4f4f;
}

.workspace-list--compact li {
    font-size: 12px;
}

.workspace-notes {
    gap: 12px;
}

.workspace-notes-editor {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.workspace-notes-editor label {
    font-size: 12px;
    color: #8b7a68;
}

.workspace-notes-select {
    border-radius: 8px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.4);
    color: #3a2f23;
    font-size: 13px;
}

.workspace-notes-editor textarea {
    border-radius: 10px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: rgba(255, 255, 255, 0.4);
    padding: 10px;
    font-size: 14px;
    color: #3a2f23;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
}

.workspace-notes-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.workspace-notes-actions button {
    border: none;
    background: #2b63c2;
    color: #fff;
    border-radius: 999px;
    padding: 6px 18px;
    cursor: pointer;
}

.workspace-notes-actions small {
    color: #8b7a68;
}

.workspace-notes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.workspace-note-item {
    border: 1px solid rgba(70, 50, 30, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.workspace-note-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #8b7a68;
}

.workspace-note-body {
    margin: 0;
    font-size: 13px;
    color: #3a2f23;
    line-height: 1.4;
}

.workspace-note-actions {
    display: flex;
    justify-content: flex-end;
}

.workspace-note-delete {
    border: none;
    background: rgba(199, 98, 74, 0.15);
    color: #7b2f1e;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    cursor: pointer;
}

.workspace-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.workspace-history-item {
    border: 1px solid rgba(70, 50, 30, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.workspace-history-item--active {
    border-color: rgba(43, 99, 194, 0.4);
    box-shadow: inset 0 0 0 1px rgba(43, 99, 194, 0.25);
    background: rgba(43, 99, 194, 0.06);
}

.workspace-history-item__badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    background: rgba(43, 99, 194, 0.2);
    color: #2b63c2;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}
.workspace-history-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.workspace-history-item__title {
    margin: 0;
    font-weight: 600;
    font-size: 13px;
}

.workspace-history-item__title-input {
    border: 1px solid rgba(70, 50, 30, 0.25);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 13px;
    color: #3a2f23;
}

.workspace-history-item__meta {
    font-size: 11px;
    color: #8b7a68;
}

.workspace-history-item__delete {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 1px solid rgba(199, 98, 74, 0.35);
    background: rgba(199, 98, 74, 0.08);
    color: #7b2f1e;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 10px;
    cursor: pointer;
}

.workspace-passages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.workspace-passages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.workspace-passages-card {
    border: 1px solid rgba(70, 50, 30, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.3);
}

.workspace-passages-card summary {
    cursor: pointer;
    list-style: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.workspace-passages-card summary::-webkit-details-marker {
    display: none;
}

.workspace-passages-card--active {
    border-color: rgba(43, 99, 194, 0.4);
    box-shadow: inset 0 0 0 1px rgba(43, 99, 194, 0.2);
}

.workspace-passages-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding-right: 12px;
    box-sizing: border-box;
}

.workspace-passages-title {
    font-weight: 600;
    font-size: 13px;
    color: #3a2f23;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workspace-passages-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.workspace-passages-open {
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid rgba(43, 99, 194, 0.35);
    background: rgba(255, 255, 255, 0.7);
    color: #2b63c2;
}

.workspace-passages-delete {
    border: none;
    background: rgba(199, 98, 74, 0.12);
    color: #7b2f1e;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.workspace-passages-body {
    padding: 0 12px 8px;
    font-size: 11px;
    color: #8b7a68;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.workspace-button {
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
}

.workspace-button--ghost {
    background: rgba(70, 50, 30, 0.08);
    color: #3a2f23;
}

.workspace-button--active {
    background: rgba(43, 99, 194, 0.18);
    color: #2b63c2;
}

.workspace-button--ghost:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.workspace-collapse-toggle {
    position: absolute;
    top: -40px;
    right: 0;
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: rgba(255, 255, 255, 0.4);
    color: #3a2f23;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    box-shadow: none;
}

.workspace-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: #0066cc;
    text-decoration: none;
}

.workspace-history-btn {
    width: 100%;
    border: none;
    background: rgba(70, 50, 30, 0.08);
    border-radius: 8px;
    padding: 6px 8px;
    text-align: left;
    font-size: 12px;
    cursor: pointer;
}

.workspace-history-btn:hover {
    background: rgba(70, 50, 30, 0.15);
}

.workspace-note {
    background: rgba(70, 50, 30, 0.05);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
    color: #3a2f23;
}


.citation-viewer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    border-radius: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.35);
}

.citation-viewer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.citation-viewer__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #3a2f23;
}

.citation-viewer__tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b7a68;
}

.citation-viewer__text {
    border: 1px solid rgba(70, 50, 30, 0.2);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(70, 50, 30, 0.05);
    font-size: 14px;
    line-height: 1.5;
    color: #3a2f23;
}

.citation-viewer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.citation-viewer__links a {
    font-size: 12px;
    color: #2b63c2;
    text-decoration: none;
}

.citation-viewer__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.citation-viewer__actions--top {
    margin-bottom: 10px;
    justify-content: space-between;
}

.citation-viewer__actions--primary {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.citation-viewer__actions--nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.citation-viewer__btn {
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: rgba(255, 255, 255, 0.6);
    color: #3a2f23;
    border-radius: 999px;
    font-size: 12px;
    padding: 3px 10px;
    cursor: pointer;
    line-height: 1.3;
}

.citation-viewer__btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.citation-viewer__btn--active {
    background: rgba(43, 99, 194, 0.2);
    border-color: rgba(43, 99, 194, 0.4);
    color: #2b63c2;
}

.workspace-writer textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: rgba(255, 255, 255, 0.4);
    padding: 10px;
    font-size: 14px;
    color: #3a2f23;
    resize: vertical;
    box-sizing: border-box;
    min-height: 80px;
}

.workspace-writer__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.workspace-writer__actions small {
    color: #8b7a68;
}

@media (min-width: 1024px) {
    .workspace-layout {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
    }

    .chat-panel {
        flex: 0 1 68%;
    }

    .research-panel {
        flex: 0 0 360px;
        width: 360px;
    }

    body {
        padding: 16px;
    }
}
.about-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.landing-tagline {
    margin: 0;
    font-size: 14px;
    color: #8b7a68;
}

.about-hero {
    position: relative;
    min-height: 420px;
    padding: 40px 24px;
    background-color: #f8f1df;
    background-image: url('/pics/swedenborg_web.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 50%;
    border-radius: 20px;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 244, 236, 0.98) 0%, rgba(247, 244, 236, 0.6) 55%, rgba(247, 244, 236, 0.1) 90%);
    pointer-events: none;
    z-index: 1;
}
.about-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.avatar-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    background: #8bbf72;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.avatar-dot.status-loading {
    border-top-color: transparent;
    background: #f0b45c;
    animation: spin 1s linear infinite;
    color: transparent;
}

.avatar-dot.status-error {
    background: #c7624a;
}

.avatar-dot.status-error::after {
    content: '!';
}

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

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

@keyframes wave {
    0%, 100% {
        transform: translateY(4px);
        opacity: 0.55;
    }
    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

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

.suggestion-strip {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 12px 2px;
    background: transparent;
    border: none;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    min-height: 36px;
    margin-bottom: 4px;
}

.suggestion-strip::-webkit-scrollbar {
    display: none;
}

.suggestion-pill {
    scroll-snap-align: start;
    border-radius: 999px;
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: #4a3b2d;
    padding: 9px 18px;
    font-size: 13px;
    line-height: 1;
    color: #f9f1e4;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 36px;
}

.suggestion-pill:hover {
    background: #5a4634;
    transform: translateY(-1px);
}

.suggestion-pill:active {
    transform: translateY(0);
}

.input-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(70, 50, 30, 0.25);
    box-shadow: none;
}

.control-button {
    border: 1px solid rgba(70, 50, 30, 0.25);
    background: rgba(255, 255, 255, 0.4);
    color: #8b7a68;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
}
.control-button.control-button--active {
    color: #2b63c2;
    border-color: rgba(43, 99, 194, 0.5);
}

.control-button:disabled {
    opacity: 0.4;
    cursor: default;
}

.control-button:hover {
    color: #c8b59b;
}

.input-bar #sendButton {
    padding: 10px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2b63c2, #295cb5);
    color: #fff;
    box-shadow: none;
}

.input-bar #sendButton:hover {
    background: linear-gradient(135deg, #295cb5, #2654a7);
}

.input-bar #sendButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.input-bar textarea {
    width: 100%;
    border: none;
    resize: none;
    font-size: 16px;
    line-height: 1.5;
    color: #3a2f23;
    min-height: 40px;
    background: transparent;
}

.input-bar textarea::placeholder {
    color: #8b7a68;
}

.input-bar textarea:focus {
    outline: none;
}

.input-bar.disabled {
    opacity: 0.6;
}

button {
    border: none;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .app-layout {
        flex-direction: column;
    }

    .research-panel {
        width: 100%;
        position: static;
    }

    .chat-input {
        padding: 0 12px 18px;
    }

    #ttsButton {
        display: none;
    }

    .suggestion-strip {
        padding: 10px 12px;
        padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
    }
}

/* Chat bubbles */
.message {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 16px;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.4;
}

.message-content {
    display: block;
}

.message-sources {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
}

.citation-pill-group {
    display: inline-flex;
    align-items: stretch;
    border-radius: 999px;
    overflow: hidden;
}

.citation-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    padding: 2px 9px;
    font-size: 11.5px;
    line-height: 1.2;
    cursor: pointer;
    font-weight: 400;
    transition: background 0.15s ease;
    box-shadow: none;
    background: transparent;
}
.citation-pill:active {
    transform: none;
}
.citation-pill--swedenborg {
    background: rgba(32, 33, 60, 0.08);
    color: #1f3fad;
}
.citation-pill--bible {
    background: rgba(255, 241, 205, 0.65);
    color: #a36100;
}
.citation-pill-group.citation-pill--swedenborg .citation-pill {
    color: #1f3fad;
}
.citation-pill-group.citation-pill--bible .citation-pill {
    color: #a36100;
}
.citation-pill__icon {
    font-size: 11px;
    opacity: 0.7;
    pointer-events: none;
}

.citation-pill__main {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.citation-pill__save {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 2px 8px;
    min-width: 28px;
    background: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}
.citation-pill__save.citation-pill__saved {
    background: rgba(43, 99, 194, 0.2);
    color: #2b63c2;
}
.citation-pill__save:disabled {
    cursor: default;
    opacity: 0.7;
}

.source-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
    z-index: 999;
}

.source-modal.hidden {
    display: none;
}

.source-modal__panel {
    width: min(640px, 100%);
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px 18px 0 0;
    border: 1px solid rgba(70, 50, 30, 0.25);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.source-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    gap: 12px;
}

.source-modal__header h3 {
    margin: 0;
    font-size: 15px;
    flex: 1;
}

.source-modal__actions {
    display: flex;
    gap: 8px;
}

.source-modal__actions button {
    border: none;
    background: rgba(70, 50, 30, 0.08);
    color: #3a2f23;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.source-modal__actions button:hover {
    background: rgba(70, 50, 30, 0.16);
}

.source-modal__body {
    padding: 16px;
    font-size: 14px;
    line-height: 1.5;
    overflow-y: auto;
    white-space: pre-wrap;
}

.bible-context-block {
    background: #fefcf3;
    border-left: 4px solid #efd889;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #3a2f23;
}
.bible-context {
    display: inline;
    font-weight: 400;
    color: #8b7a68;
}
.bible-context.main {
    font-weight: 600;
    color: #3a2f23;
    padding: 0 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(70, 50, 30, 0.25);
}

.swedenborg-context-block {
    background: rgba(255, 255, 255, 0.4);
    border-left: 4px solid rgba(70, 50, 30, 0.25);
    padding: 14px 16px;
    border-radius: 10px;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.55;
    color: #3a2f23;
}
.swedenborg-context-block p {
    margin: 0 0 10px;
}
.swedenborg-context-block p:last-child {
    margin-bottom: 0;
}

.citation-link {
    border: none;
    background: rgba(43, 99, 194, 0.1);
    color: #2b63c2;
    border-radius: 999px;
    padding: 4px 10px;
    margin: 0 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}
.user {
    align-self: flex-end;
    background-color: rgba(255, 255, 255, 0.5);
    border-bottom-right-radius: 4px;
}

.ai {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(70, 50, 30, 0.25);
    border-bottom-left-radius: 4px;
}

.message.system {
    align-self: center;
    background-color: #ffecec;
    border: 1px dashed #f28b82;
    color: #c62828;
}

@media (max-width: 768px) {
    html, body {
        overflow-y: auto;
        height: auto;
    }

    .app-shell {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .app-layout {
        flex-direction: column;
        min-height: 0;
        flex: 1 0 auto;
    }

    .chat-panel {
        min-height: calc(100vh - 220px);
    }

    .research-panel {
        width: auto;
        flex: 1 0 auto;
        position: static;
        max-height: none;
        margin-top: 12px;
        align-self: stretch;
    }
}
.control-row button {
    border: none;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}
.chat-input {
    padding: 0;
    margin-top: 0;
    flex-shrink: 0;
}

.chat-input-wrapper {
    flex: 0 0 auto;
    padding-bottom: clamp(10px, 2vh, 24px);
}

.input-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(70, 50, 30, 0.25);
    box-shadow: none;
}

.input-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    margin-top: 2px;
}

.input-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}
.topic-bar {
    margin: 4px 0 0;
}
.tos-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.tos-modal {
    background: #fffef7;
    border-radius: 18px;
    padding: 24px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.tos-modal h2 {
    margin: 0;
    font-size: 20px;
    color: #3a2f23;
}

.tos-link {
    margin: 0;
    font-size: 13px;
}

.tos-link a {
    color: #2b63c2;
    text-decoration: underline;
}

.tos-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #3a2f23;
}

.tos-modal button {
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    background: #2b63c2;
    color: #fff;
    cursor: pointer;
}

.tos-modal button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.about-hero__portrait-inline {
    display: none;
}

.about-hero__portrait-inline img {
    border: 1px solid rgba(70, 50, 30, 0.2);
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 1099px) {
    .about-hero {
        background-size: 42%;
        background-position: calc(100% - 20px) center;
        padding-right: 200px;
    }
    .about-hero__text {
        max-width: 440px;
    }
}

@media (max-width: 699px) {
    .about-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-hero {
        background: none;
        padding: 24px 12px;
    }
    .about-hero__portrait-inline {
        display: block;
        margin-bottom: 16px;
    }
    .about-hero__portrait-inline img {
        border-radius: 20px;
    }
    .about-hero__text {
        max-width: none;
        width: 100%;
    }
}
.correspondence-field {
    min-height: 340px;
}

@media (max-width: 1099px) {
    .correspondence-field {
        min-height: 300px;
    }
    .correspondence-field__figure {
        opacity: 0.55;
    }
    .correspondence-field__labels .label--optional {
        display: none;
    }
.landing-hero__visual::before,
.landing-hero__visual::after {
        background-size: cover;
        background-position: center;
        opacity: 0.28;
    }
}

@media (max-width: 699px) {
    .landing-hero__visual {
        padding: 18px;
    }
.landing-hero__visual::before,
.landing-hero__visual::after {
        background-size: cover;
        background-position: center 15%;
        opacity: 0.22;
    }
    .correspondence-field {
        min-height: 220px;
    }
    .correspondence-field__figure {
        opacity: 0.45;
    }
    .correspondence-field__labels .label:not(.label--core) {
        display: none;
    }
    .correspondence-field__watermark {
        opacity: 0.55;
        font-size: 15px;
    }
}
.hero-link {
    font-size: 14px;
    color: var(--cl-blue);
    text-decoration: none;
}

.hero-link:hover {
    text-decoration: underline;
}
.signup-page {
    background: #f7f4ec;
    color: #3a2f23;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 32px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup-shell {
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.signup-brand {
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.signup-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(70, 50, 30, 0.25);
    border-radius: 20px;
    padding: 32px;
    text-align: left;
}

.signup-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b7a68;
    margin: 0;
}

.signup-card h2 {
    margin: 6px 0 16px;
}

.signup-consent {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin: 16px 0;
    font-size: 14px;
}

.signup-card button {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #2b63c2, #295cb5);
    color: #fff;
    padding: 12px 18px;
    font-size: 15px;
}

.signup-card button:disabled {
    opacity: 0.6;
}

.signup-note {
    font-size: 12px;
    color: #8b7a68;
}

.signup-login a {
    color: #2b63c2;
}

.signup-footer {
    font-size: 12px;
    color: #8b7a68;
    text-align: center;
}
@keyframes grandManFade {
    0% { opacity: 0.85; }
    40% { opacity: 0.85; }
    50% { opacity: 0; }
    90% { opacity: 0; }
    100% { opacity: 0.85; }
}
