/* aichatexporter.com — same tokens as the extension's sidebar (design handoff). */
@font-face { font-family: "Geist"; font-weight: 100 900; src: url("/static/Geist-Variable.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; src: url("/static/GeistMono-Variable.woff2") format("woff2"); font-display: swap; }
:root { --bg: #fff; --surface: #F6F6F8; --line: #EAEAEE; --ink: #18181B; --muted: #66666F; --code: #18181B; --codeInk: #EDEDF0; --bubble: #F6F6F8; }
@media (prefers-color-scheme: dark) { :root { --bg: #18181B; --surface: #222226; --line: #2E2E34; --ink: #EDEDF0; --muted: #9C9CA5; --code: #0F0F11; --bubble: #222226; } }
.p-gemini { --accent: #6D5DF5; --accentText: #5242D6; --tint: #F1EFFE; --grad: linear-gradient(135deg,#9B6BFF 0%,#4F7CFF 100%); }
.p-chatgpt { --accent: #10A37F; --accentText: #0A7D61; --tint: #E7F6F1; --grad: #10A37F; }
.p-claude { --accent: #D97757; --accentText: #B04F2C; --tint: #FBEEE8; --grad: #D97757; }
.p-deepseek { --accent: #4D6BFE; --accentText: #3350E6; --tint: #ECEFFF; --grad: #4D6BFE; }
@media (prefers-color-scheme: dark) { body { --accentText: color-mix(in oklch, var(--accent) 62%, white); --tint: color-mix(in oklch, var(--accent) 20%, #18181B); } }
.sw-gemini { background: linear-gradient(135deg,#9B6BFF 0%,#4F7CFF 100%); } .sw-chatgpt { background: #10A37F; } .sw-claude { background: #D97757; } .sw-deepseek { background: #4D6BFE; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accentText); }
.muted { color: var(--muted); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wrap760 { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap560 { max-width: 560px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* buttons */
.btn-grad, .btn-dark, .btn-line, .btn-acc { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 10px; font: 600 14px "Geist", sans-serif; text-decoration: none; cursor: pointer; border: 0; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark.small { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-line { height: 34px; padding: 0 14px; font-size: 13px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn-acc { height: 34px; padding: 0 14px; font-size: 13px; background: var(--accent); color: #fff; }
.btn-line:hover { border-color: var(--accent); }

/* site header / footer */
.site-hd { border-bottom: 1px solid var(--line); }
.site-hd .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.site-ft { border-top: 1px solid var(--line); margin-top: 72px; font-size: 13px; color: var(--muted); }
.site-ft .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-ft nav { display: flex; gap: 18px; }
.site-ft a { color: var(--muted); text-decoration: none; }
.site-ft a:hover { color: var(--ink); }

/* landing */
.hero { padding: 88px 24px 56px; text-align: center; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; margin: 20px 0 18px; font-weight: 650; }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto 28px; text-wrap: pretty; }
.lead b { color: var(--ink); font-weight: 600; }
.chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pchip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 500; }
.pchip i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.feat { border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.feat h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.01em; }
.feat p { margin: 0; color: var(--muted); font-size: 14px; }
.formats { margin-top: 56px; }
.formats h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 16px; }
.formats ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.formats li { display: flex; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.formats li:first-child { border-top: 0; }
.formats li b { min-width: 130px; }
.formats li span { color: var(--muted); }
@media (max-width: 720px) { .grid3 { grid-template-columns: 1fr; } .formats li { flex-direction: column; gap: 2px; } .hero { padding-top: 56px; } }

/* shared chat page */
.banner { height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; background: var(--tint); font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; }
.banner .dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.banner a { font-weight: 600; }
.share { padding-top: 40px; }
.meta-top { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 7px; border-radius: 999px; background: var(--tint); color: var(--accentText); font-weight: 600; font-size: 12.5px; }
.badge i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.share h1 { font-size: clamp(28px, 4.5vw, 36px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin: 14px 0 12px; overflow-wrap: anywhere; }
.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 13px; }
.actions { display: flex; gap: 8px; }
.thread { display: flex; flex-direction: column; gap: 22px; padding: 28px 0 8px; }
.msg.you { display: flex; justify-content: flex-end; }
.bubble { max-width: 520px; background: var(--bubble); border-radius: 16px 16px 4px 16px; padding: 10px 16px; overflow-wrap: anywhere; }
.bubble > :first-child, .md > :first-child { margin-top: 0; }
.bubble > :last-child, .md > :last-child { margin-bottom: 0; }
.msg.ai .who { font-size: 13px; font-weight: 600; color: var(--accentText); margin-bottom: 6px; }
.md { overflow-wrap: anywhere; }
.md pre { background: var(--code); color: var(--codeInk); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font: 13px/1.6 "Geist Mono", ui-monospace, monospace; }
.md :not(pre) > code { font-family: "Geist Mono", ui-monospace, monospace; font-size: .9em; background: var(--surface); padding: 1px 5px; border-radius: 5px; }
.md table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; }
.md th, .md td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.md th { background: var(--surface); }
.md blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--line); color: var(--muted); }
.cta-strip { margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); }
.cta-strip .wrap760 { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; font-size: 14px; }

/* prose pages */
.prose { padding-top: 48px; }
.prose h1 { font-size: 34px; letter-spacing: -0.025em; margin: 0 0 6px; }
.prose h2 { font-size: 18px; margin: 28px 0 6px; letter-spacing: -0.01em; }
.prose p { margin: 0 0 12px; }
.center { text-align: center; }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 14px; }
.form textarea, .form input { font: 15px "Geist", sans-serif; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.form button { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }
.error { color: #C8402F; }

@media print {
  .banner, .actions, .cta-strip, .site-hd, .site-ft { display: none !important; }
  body { background: #fff; color: #18181B; }
  .md pre { white-space: pre-wrap; }
}
